.elo-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: inherit;
}

.elo-float-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(15, 118, 110, 0.36);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #0f5f8f);
  box-shadow: 0 16px 38px rgba(6, 26, 50, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.elo-float-button:hover,
.elo-float-button:focus {
  filter: brightness(1.04);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.elo-float-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #0f5f8f;
  background: #ffffff;
  font-size: 0.95rem;
}

.elo-panel {
  position: fixed;
  right: 22px;
  bottom: 84px;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  width: min(420px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 112px));
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(6, 26, 50, 0.24);
}

.elo-panel.is-hidden {
  display: none;
}

.elo-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 18px 14px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(213, 166, 66, 0.24), transparent 10rem),
    linear-gradient(135deg, #061a32, #0f5f8f);
}

.elo-header h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.elo-header p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.4;
}

.elo-header .elo-context-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 9px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffe8b3;
  background: rgba(3, 17, 33, 0.28);
  font-size: 0.74rem;
  font-weight: 900;
}

.elo-close-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.elo-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  overflow: auto;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.06), transparent 14rem),
    #f8fbfd;
}

.elo-message {
  display: grid;
  gap: 8px;
  max-width: 92%;
}

.elo-message-bubble {
  padding: 12px 13px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  color: #334155;
  background: #ffffff;
  line-height: 1.48;
  white-space: pre-wrap;
}

.elo-message.user {
  justify-self: end;
}

.elo-message.user .elo-message-bubble {
  color: #ffffff;
  border-color: rgba(15, 95, 143, 0.24);
  background: linear-gradient(135deg, #0f766e, #0f5f8f);
}

.elo-message.system .elo-message-bubble {
  border-color: rgba(15, 118, 110, 0.18);
  background: #f3fbfa;
}

.elo-message.is-typing .elo-message-bubble {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
}

.elo-typing-label {
  white-space: nowrap;
}

.elo-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.elo-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  animation: eloTypingPulse 1s infinite ease-in-out;
}

.elo-typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.elo-typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes eloTypingPulse {
  0%,
  80%,
  100% {
    opacity: 0.36;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.elo-message-actions,
.elo-feedback-actions,
.elo-web-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.elo-inline-button,
.elo-chip-button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  color: #334155;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.elo-inline-button:hover,
.elo-chip-button:hover {
  color: #0f5f8f;
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.08);
}

.elo-copy-diagnostic-button {
  color: #0f5f8f;
  border-color: rgba(15, 118, 110, 0.28);
  background: #f3fbfa;
}

.elo-copy-diagnostic-button:hover {
  color: #0b4f73;
  border-color: rgba(15, 95, 143, 0.36);
  background: #e8f7f5;
}

.elo-footer {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.elo-context-suggestions {
  display: grid;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.elo-context-suggestions.is-hidden {
  display: none;
}

.elo-suggestions-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.elo-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.elo-suggestion-chip {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  color: #334155;
  background: #f8fbfd;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.elo-suggestion-chip:hover {
  color: #0f5f8f;
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.08);
}

.elo-quick-buttons,
.elo-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.elo-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.elo-input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  background: #ffffff;
  font: inherit;
}

.elo-send-button {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #0f5f8f);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.elo-privacy {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.elo-save-prompt,
.elo-save-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.92);
}

.elo-save-prompt .elo-privacy,
.elo-save-card .elo-privacy {
  width: 100%;
  font-weight: 800;
}

.elo-memory-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.elo-memory-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #ffffff;
}

.elo-memory-item strong {
  display: block;
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.35;
}

.elo-memory-item span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.elo-memory-delete {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 999px;
  color: #991b1b;
  background: #fff7f7;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.elo-memory-delete:hover,
.elo-memory-delete:focus {
  border-color: rgba(185, 28, 28, 0.34);
  background: #fee2e2;
  outline: none;
}

.elo-library-panel,
.elo-documents-panel,
.elo-real-questions-panel,
.elo-user-profile-panel,
.elo-timeline-panel,
.elo-philosophy-panel,
.elo-concepts-panel {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.elo-backup-panel {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 12px;
  background: #f8fbfd;
}

.elo-projects-panel {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.elo-library-controls,
.elo-timeline-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.elo-projects-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.elo-backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.elo-backup-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.elo-backup-note {
  margin: 0;
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.4;
}

.elo-library-search,
.elo-library-select,
.elo-library-field {
  min-height: 38px;
  width: 100%;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  background: #ffffff;
  font: inherit;
  font-size: 0.84rem;
}

.elo-library-form {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 12px;
  background: #f8fbfd;
}

.elo-project-form {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 12px;
  background: #f8fbfd;
}

.elo-library-form.is-hidden,
.elo-project-form.is-hidden,
.elo-timeline-form.is-hidden,
.elo-concept-form.is-hidden,
.elo-profile-import-result.is-hidden,
.elo-profile-import-chooser.is-hidden {
  display: none;
}

.elo-library-textarea {
  min-height: 88px;
  padding-top: 10px;
  resize: vertical;
  line-height: 1.4;
}

.elo-library-list,
.elo-documents-list,
.elo-real-question-list,
.elo-timeline-list,
.elo-concepts-list {
  display: grid;
  gap: 9px;
}

.elo-library-card,
.elo-document-card,
.elo-real-question-card,
.elo-timeline-card,
.elo-concept-card {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #ffffff;
}

.elo-project-card,
.elo-goal-card,
.elo-important-memory-card {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #ffffff;
}

.elo-library-card-header {
  display: grid;
  gap: 3px;
}

.elo-project-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.elo-library-card strong,
.elo-document-card strong,
.elo-real-question-card strong,
.elo-timeline-card strong,
.elo-concept-card strong {
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.35;
}

.elo-project-card strong,
.elo-goal-card strong {
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.35;
}

.elo-library-card p,
.elo-document-card p,
.elo-real-question-card p,
.elo-timeline-card p,
.elo-concept-card p {
  margin: 0;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.45;
}

.elo-project-card p,
.elo-goal-card p,
.elo-important-memory-card p {
  margin: 0;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.45;
}

.elo-library-meta,
.elo-library-tags {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.elo-timeline-badge,
.elo-timeline-importance {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.elo-timeline-badge {
  color: #0f5f8f;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.18);
}

.elo-timeline-importance {
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.elo-timeline-importance.is-alta {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.elo-timeline-importance.is-media {
  color: #155e75;
  background: #cffafe;
  border-color: #a5f3fc;
}

.elo-timeline-importance.is-baixa {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.elo-project-list,
.elo-goal-list,
.elo-important-memory-list {
  display: grid;
  gap: 9px;
}

.elo-important-memory-panel {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.elo-real-question-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.elo-real-question-stat {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #0f5f8f;
  background: rgba(15, 95, 143, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
}

.elo-profile-import-result,
.elo-profile-import-chooser {
  display: grid;
  gap: 10px;
}

.elo-profile-import-summary {
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 10px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  color: #0f172a;
  background: #ffffff;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.elo-profile-import-option {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.elo-projects-subtitle {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 0.94rem;
  line-height: 1.2;
}

.elo-project-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.elo-status-badge,
.elo-priority-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

.elo-status-badge {
  color: #0f5f8f;
  background: rgba(15, 95, 143, 0.1);
}

.elo-status-badge.is-ativo,
.elo-status-badge.is-em_andamento {
  color: #0f766e;
  background: rgba(15, 118, 110, 0.12);
}

.elo-status-badge.is-pausado,
.elo-status-badge.is-aberto {
  color: #6b4f0a;
  background: #fffbeb;
}

.elo-status-badge.is-concluido {
  color: #166534;
  background: #dcfce7;
}

.elo-priority-badge.is-alta {
  color: #991b1b;
  background: #fee2e2;
}

.elo-priority-badge.is-media {
  color: #6b4f0a;
  background: #fef3c7;
}

.elo-priority-badge.is-baixa {
  color: #475569;
  background: #e2e8f0;
}

.elo-project-next,
.elo-project-notes {
  color: #475569;
}

.elo-library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.elo-library-empty {
  margin: 0;
  padding: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
  background: #ffffff;
  font-size: 0.82rem;
  line-height: 1.4;
}

.elo-routine-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.elo-routine-card {
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 12px;
  color: #0f3f4a;
  background: linear-gradient(180deg, #ffffff, #f3fbfa);
  box-shadow: 0 8px 20px rgba(6, 26, 50, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
}

.elo-routine-card:hover,
.elo-routine-card:focus {
  color: #0f5f8f;
  border-color: rgba(15, 118, 110, 0.36);
  background: #ecfdf5;
  outline: 3px solid rgba(15, 118, 110, 0.12);
}

.elo-web-search-notice {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(213, 166, 66, 0.28);
  border-radius: 10px;
  color: #6b4f0a;
  background: #fffbeb;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .elo-widget {
    right: 14px;
    bottom: 14px;
  }

  .elo-panel {
    right: 12px;
    bottom: 72px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 92px);
    border-radius: 14px;
  }

  .elo-header {
    padding: 16px;
  }

  .elo-messages {
    padding: 14px;
  }

  .elo-message {
    max-width: 100%;
  }

  .elo-input-row {
    grid-template-columns: 1fr;
  }

  .elo-send-button {
    width: 100%;
  }

  .elo-memory-item {
    grid-template-columns: 1fr;
  }

  .elo-library-controls,
  .elo-timeline-controls {
    grid-template-columns: 1fr;
  }

  .elo-project-card-header {
    grid-template-columns: 1fr;
  }

  .elo-project-badges {
    justify-content: flex-start;
  }

  .elo-routine-actions {
    grid-template-columns: 1fr;
  }
}

/* Redesign premium: Elo discreto na primeira dobra */
.elo-widget {
  right: 18px;
  bottom: 18px;
  z-index: 90;
}

.elo-float-button {
  min-height: 42px;
  padding: 0 13px;
  gap: 7px;
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.24), transparent 1.6rem),
    linear-gradient(135deg, #061a32, #0f5f8f);
  box-shadow: 0 14px 34px rgba(3, 19, 38, 0.24);
  font-size: 0.86rem;
}

.elo-float-icon {
  width: 24px;
  height: 24px;
  color: #061a32;
  font-size: 0.82rem;
}

.elo-panel {
  right: 18px;
  bottom: 72px;
  grid-template-rows: auto minmax(180px, 1fr) auto;
  width: min(380px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 96px));
  border-radius: 18px;
  box-shadow: 0 28px 74px rgba(3, 19, 38, 0.28);
}

.elo-header {
  padding: 16px 16px 13px;
  background:
    radial-gradient(circle at top right, rgba(215, 161, 45, 0.26), transparent 9rem),
    linear-gradient(135deg, #04172e, #0f5f8f);
}

.elo-header h2 {
  font-size: 1rem;
}

.elo-header p {
  font-size: 0.8rem;
}

.elo-messages {
  padding: 14px;
}

.elo-footer {
  gap: 10px;
  padding: 12px;
}

.elo-chip-button,
.elo-inline-button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  body:has(.landing-page:not(.is-hidden)) .elo-widget {
    display: none;
  }

  .elo-widget {
    right: 12px;
    bottom: 12px;
  }

  .elo-float-button {
    min-height: 40px;
    padding: 0 12px;
  }

  .elo-panel {
    left: 10px;
    right: 10px;
    bottom: 64px;
    width: auto;
    max-height: min(78vh, calc(100vh - 82px));
    border-radius: 16px;
  }

  .elo-quick-buttons,
  .elo-tools {
    max-height: 112px;
    overflow: auto;
  }
}

/* Elo simples: conversa em primeiro plano, ferramentas recolhidas */
.elo-panel {
  grid-template-rows: auto minmax(320px, 1fr) auto;
  width: min(540px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 112px));
  border-color: rgba(148, 163, 184, 0.34);
  border-radius: 22px;
  background: #f8fbff;
  box-shadow: 0 30px 80px rgba(3, 19, 38, 0.22);
}

.elo-header {
  padding: 18px 20px 15px;
}

.elo-messages {
  gap: 16px;
  padding: 20px 22px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.045), transparent 15rem),
    linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%);
}

.elo-message {
  gap: 8px;
  max-width: min(86%, 430px);
}

.elo-message-bubble {
  padding: 14px 16px;
  border: 1px solid rgba(203, 213, 225, 0.62);
  border-radius: 18px;
  color: #172033;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
  line-height: 1.62;
}

.elo-message.assistant .elo-message-bubble {
  border-top-left-radius: 8px;
}

.elo-message.system .elo-message-bubble {
  border-color: rgba(15, 118, 110, 0.14);
  background: rgba(240, 253, 250, 0.72);
  box-shadow: none;
}

.elo-message.user .elo-message-bubble {
  border: 0;
  border-top-right-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.18), transparent 2.5rem),
    linear-gradient(135deg, #0f5f8f, #07385f);
  box-shadow: 0 12px 28px rgba(15, 95, 143, 0.18);
}

.elo-message-actions,
.elo-feedback-actions,
.elo-web-search-actions {
  gap: 7px;
}

.elo-secondary-response-action {
  display: none !important;
}

.elo-feedback-button {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.86);
}

.elo-footer {
  gap: 10px;
  padding: 14px 16px 16px;
  border-top-color: rgba(226, 232, 240, 0.84);
  background: rgba(255, 255, 255, 0.96);
}

.elo-tools-menu {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.elo-tools-menu summary {
  min-height: 36px;
  padding: 0 12px;
  color: #334155;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 36px;
  list-style: none;
}

.elo-tools-menu summary::-webkit-details-marker {
  display: none;
}

.elo-tools-menu[open] summary {
  border-bottom: 1px solid #e2e8f0;
}

.elo-tools-menu:not([open]) .elo-tools {
  display: none;
}

.elo-tools-menu .elo-tools {
  padding: 10px;
}

.elo-tools-menu .elo-quick-buttons {
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.elo-input-row {
  gap: 10px;
  align-items: center;
  padding: 7px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.elo-input {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.elo-input:focus {
  outline: none;
}

.elo-send-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 13px;
  background: linear-gradient(135deg, #0f5f8f, #0a4a78);
  box-shadow: 0 10px 22px rgba(15, 95, 143, 0.2);
}

@media (max-width: 760px) {
  .elo-panel {
    left: 10px;
    right: 10px;
    width: auto;
    max-height: min(78vh, calc(100vh - 82px));
  }

  .elo-messages {
    padding: 16px;
  }

  .elo-message {
    max-width: 100%;
  }

  .elo-input-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
