
/* ==========================================
   KLS.IA - ESTILO COMPLETO RECONSTRUÍDO
   Chat + Histórico + Temas + Login
========================================== */

:root {
  color-scheme: dark;
  --bg: #0d1019;
  --sidebar: #111522;
  --surface: #171c2a;
  --surface-hover: #22283a;
  --border: #2b3244;
  --text: #f1f3fb;
  --muted: #9aa4bb;
  --accent: #7567ff;
  --accent-hover: #9185ff;
  --shadow: rgba(0, 0, 0, .35);
  --composer: #1b2130;
  --user-bubble: #39316c;
  --assistant-bubble: #171c2a;
}

html[data-theme="light"],
body.light {
  color-scheme: light;
  --bg: #f7f8fc;
  --sidebar: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f0f2f8;
  --border: #e1e5ef;
  --text: #20263a;
  --muted: #667187;
  --accent: #6455e9;
  --accent-hover: #796cf5;
  --shadow: rgba(27, 39, 75, .09);
  --composer: #ffffff;
  --user-bubble: #eae6ff;
  --assistant-bubble: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent-hover);
}

::selection {
  background: rgba(117, 103, 255, .35);
}

/* ==========================================
   LAYOUT PRINCIPAL
========================================== */

.main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  margin-left: 275px;
  background: var(--bg);
}

.overlay {
  display: none;
}

/* ==========================================
   MENU LATERAL
========================================== */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: 275px;
  padding: 20px 14px;
  border-right: 1px solid var(--border);
  background: var(--sidebar);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 10px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.6px;
}

.brand-logo-box {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(104, 92, 255, .08);
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 19px;
}

.icon-button:hover {
  background: var(--surface-hover);
}

.close-sidebar {
  display: none;
}

.new-chat-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-align: left;
}

.new-chat-button:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.new-chat-button span {
  font-size: 21px;
  line-height: 1;
}

.sidebar-label {
  margin: 25px 10px 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.history {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 2px;
}

.history-item,
.chat-history-item,
.history button {
  max-width: 100%;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  border-radius: 10px;
}

.history-item:hover {
  background: var(--surface-hover);
}

.history-item.active {
  background: rgba(117, 103, 255, .15);
}

.history-item button,
.history-item .history-title {
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item button:first-child,
.history-item .history-title {
  flex: 1;
  min-width: 0;
  padding: 11px;
  text-align: left;
}

.history-item button:last-child {
  flex-shrink: 0;
  padding: 7px;
}

.delete-all-button {
  width: 100%;
  padding: 11px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.delete-all-button:hover {
  background: var(--surface-hover);
  color: #ff929e;
}

.sidebar-footer {
  padding: 15px 10px 2px;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}

.sidebar-footer p {
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 700;
}

.sidebar-footer small {
  color: var(--muted);
  font-size: 11px;
}

/* ==========================================
   BARRA SUPERIOR
========================================== */

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 12px 27px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-right {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.topbar-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.menu-button {
  display: none;
}

.theme-toggle,
.clear-button,
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.theme-toggle:hover,
.clear-button:hover,
.account-button:hover {
  background: var(--surface-hover);
}

.account-button {
  border-color: rgba(117, 103, 255, .45);
  background: rgba(117, 103, 255, .13);
}

.theme-icon {
  font-size: 16px;
}

.status {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

/* ==========================================
   ÁREA DE CONVERSAS
========================================== */

.chat-area {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 24px;
}

.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  min-height: 55vh;
  margin: auto;
  padding: 28px 15px;
  text-align: center;
}

.welcome-logo-box {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin-bottom: 23px;
  border-radius: 30px;
  background: radial-gradient(
    circle,
    rgba(96, 86, 255, .13),
    transparent 75%
  );
}

.welcome-logo {
  display: block;
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(
    0 0 15px rgba(0, 229, 255, .22)
  );
}

.welcome h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.2;
}

.welcome > p {
  max-width: 520px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 690px;
}

.suggestion {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 105px;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: .2s ease;
}

.suggestion:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.suggestion strong {
  font-size: 14px;
  font-weight: 700;
}

.suggestion span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================
   MENSAGENS
========================================== */

.messages {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 10px 0 28px;
}

.message,
.chat-message {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.message.user,
.chat-message.user {
  align-self: flex-end;
  max-width: min(85%, 680px);
  padding: 13px 18px;
  border: 1px solid rgba(117, 103, 255, .18);
  border-radius: 18px 18px 5px 18px;
  background: var(--user-bubble);
  color: var(--text);
}

.message.assistant,
.chat-message.assistant {
  align-self: stretch;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--assistant-bubble);
  color: var(--text);
}

.message-content,
.message-text,
.markdown-body,
.assistant-content {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.75;
}

.messages p {
  margin-top: 0;
}

.messages p:last-child {
  margin-bottom: 0;
}

.messages pre {
  max-width: 100%;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0b1020;
  color: #e7eaff;
}

.messages code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.messages :not(pre) > code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-hover);
}

.messages table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.messages th,
.messages td {
  padding: 9px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.messages blockquote {
  padding-left: 14px;
  margin-left: 0;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

.messages img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.messages ul,
.messages ol {
  padding-left: 25px;
}

.messages h1,
.messages h2,
.messages h3 {
  line-height: 1.35;
}

/* ==========================================
   CAMPO DE DIGITAÇÃO
========================================== */

.composer-wrapper {
  position: sticky;
  bottom: 0;
  z-index: 15;
  width: 100%;
  padding: 12px 24px 17px;
  background: var(--bg);
}

.composer {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 11px;
  width: 100%;
  max-width: 850px;
  min-height: 62px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--composer);
  box-shadow: 0 8px 35px var(--shadow);
}

.composer:focus-within {
  border-color: rgba(117, 103, 255, .7);
}

.tools-toggle,
.send-button,
.stop-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
}

.tools-toggle {
  background: var(--surface-hover);
  color: var(--text);
  font-size: 25px;
  line-height: 1;
}

.tools-toggle:hover {
  background: rgba(117, 103, 255, .23);
}

.tools-mobile-icon {
  display: none;
}

#userInput {
  display: block;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  max-height: 190px;
  padding: 9px 2px;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

#userInput::placeholder {
  color: var(--muted);
}

.send-button {
  background: var(--accent);
  color: #fff;
  font-size: 19px;
}

.send-button:hover {
  background: var(--accent-hover);
}

.stop-button {
  background: #e45a6b;
  color: white;
  font-size: 16px;
}

/* ==========================================
   MENU DE FERRAMENTAS
========================================== */

.mode-selector {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 18px 50px var(--shadow);
}

.mode-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 43px;
  padding: 11px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 13px;
}

.mode-button:hover,
.mode-button.active {
  background: rgba(117, 103, 255, .15);
}

.mode-button.active {
  color: var(--accent-hover);
  font-weight: 700;
}

.disclaimer {
  max-width: 850px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* ==========================================
   TELA DE LOGIN E CADASTRO
========================================== */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(4, 7, 17, .78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(137, 125, 255, .28);
  border-radius: 24px;
  background: #151a29;
  color: #f4f5ff;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, .45),
    0 0 60px rgba(93, 69, 255, .12);
  text-align: center;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: inherit;
  cursor: pointer;
}

.auth-close:hover {
  background: rgba(255, 255, 255, .12);
}

.auth-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: rgba(111, 92, 255, .08);
  box-shadow: 0 0 35px rgba(109, 86, 255, .18);
}

.auth-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.auth-card h2 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.6px;
  line-height: 1.2;
}

.auth-description {
  margin: 0 0 24px;
  color: #aab1c6;
  font-size: 14px;
  line-height: 1.6;
}

.auth-limit-message {
  margin-bottom: 20px;
  padding: 13px 15px;
  border: 1px solid rgba(157, 132, 255, .35);
  border-radius: 12px;
  background: rgba(118, 92, 255, .12);
  color: #ded8ff;
  font-size: 13px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.auth-field label {
  color: #d7dbea;
  font-size: 13px;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  min-height: 47px;
  padding: 12px 14px;
  border: 1px solid #343b51;
  border-radius: 12px;
  background: #0e1320;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.auth-field input::placeholder {
  color: #7d859c;
}

.auth-field input:focus {
  border-color: #8a7cff;
}

.auth-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 112, 125, .35);
  border-radius: 10px;
  background: rgba(255, 88, 103, .1);
  color: #ffb2ba;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    #7868ff,
    #5446e8
  );
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.auth-submit:hover {
  filter: brightness(1.12);
}

.auth-submit:disabled {
  opacity: .6;
}

.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
  color: #929bb2;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #343b51;
}

.auth-divider span {
  padding: 0 14px;
}

.google-login-container {
  display: flex;
  justify-content: center;
  min-height: 42px;
}

#googleButton {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 40px;
}

.auth-switch-text {
  margin: 23px 0 0;
  color: #aab1c6;
  font-size: 13px;
}

.auth-switch-button {
  padding: 0 3px;
  border: 0;
  background: transparent;
  color: #a99cff;
  font-weight: 700;
  cursor: pointer;
}

.auth-switch-button:hover {
  text-decoration: underline;
}

.auth-footer {
  margin: 25px 0 0;
  color: #818ba5;
  font-size: 11px;
  letter-spacing: .5px;
}

/* ==========================================
   LOGIN NO TEMA CLARO
========================================== */

html[data-theme="light"] .auth-overlay,
body.light .auth-overlay {
  background: rgba(28, 34, 56, .55);
}

html[data-theme="light"] .auth-card,
body.light .auth-card {
  border-color: #e2e5f2;
  background: #fff;
  color: #20263b;
}

html[data-theme="light"] .auth-description,
html[data-theme="light"] .auth-switch-text,
body.light .auth-description,
body.light .auth-switch-text {
  color: #626c83;
}

html[data-theme="light"] .auth-field label,
body.light .auth-field label {
  color: #333c52;
}

html[data-theme="light"] .auth-field input,
body.light .auth-field input {
  border-color: #d8deeb;
  background: #f7f8fc;
  color: #1b2234;
}

html[data-theme="light"] .auth-limit-message,
body.light .auth-limit-message {
  background: #f1edff;
  color: #5543a5;
}

html[data-theme="light"] .auth-close,
body.light .auth-close {
  border-color: #e0e3ed;
  background: #f5f6fa;
}

html[data-theme="light"] .auth-divider::before,
html[data-theme="light"] .auth-divider::after,
body.light .auth-divider::before,
body.light .auth-divider::after {
  background: #e2e5ed;
}

html[data-theme="light"] .auth-error,
body.light .auth-error {
  color: #b42335;
  background: #fff0f1;
}

/* ==========================================
   RESPONSIVIDADE - TABLET
========================================== */

@media (max-width: 1000px) {
  .sidebar {
    width: 245px;
  }

  .main {
    margin-left: 245px;
  }

  .topbar {
    padding: 12px 18px;
  }

  .chat-area {
    padding: 18px;
  }

  .composer-wrapper {
    padding: 12px 18px 16px;
  }
}

/* ==========================================
   RESPONSIVIDADE - CELULAR
========================================== */

@media (max-width: 760px) {
  .sidebar {
    width: min(285px, 86vw);
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 15px 0 50px rgba(0, 0, 0, .2);
  }

  .sidebar.open,
  .sidebar.active,
  .sidebar.show {
    transform: translateX(0);
  }

  .overlay.active,
  .overlay.show,
  .overlay.open {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(0, 0, 0, .55);
  }

  .close-sidebar,
  .menu-button {
    display: grid;
  }

  .main {
    width: 100%;
    margin-left: 0;
  }

  .topbar {
    min-height: 60px;
    padding: 9px 12px;
  }

  .topbar-left,
  .topbar-right {
    gap: 7px;
  }

  .topbar-brand {
    font-size: 16px;
  }

  .theme-toggle,
  .clear-button,
  .account-button {
    min-height: 33px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .theme-text {
    display: none;
  }

  .status {
    display: none;
  }

  .chat-area {
    padding: 14px 12px;
  }

  .welcome {
    min-height: 55vh;
    padding: 20px 4px;
  }

  .welcome-logo-box {
    width: 95px;
    height: 95px;
  }

  .welcome-logo {
    width: 90px;
    height: 90px;
  }

  .welcome h1 {
    font-size: 25px;
  }

  .welcome > p {
    font-size: 13px;
  }

  .suggestions {
    gap: 9px;
  }

  .suggestion {
    min-height: 95px;
    padding: 13px;
  }

  .suggestion strong {
    font-size: 12px;
  }

  .suggestion span {
    font-size: 11px;
  }

  .messages {
    gap: 15px;
  }

  .message.user,
  .chat-message.user {
    max-width: 92%;
  }

  .message.assistant,
  .chat-message.assistant {
    padding: 13px;
  }

  .composer-wrapper {
    padding: 10px 10px 13px;
  }

  .composer {
    gap: 7px;
    padding: 8px;
  }

  .tools-toggle,
  .send-button,
  .stop-button {
    width: 36px;
    height: 36px;
  }

  .tools-desktop-icon {
    display: none;
  }

  .tools-mobile-icon {
    display: inline;
    font-size: 18px;
  }

  .mode-selector {
    width: min(260px, 85vw);
  }

  .auth-overlay {
    padding: 12px;
  }

  .auth-card {
    max-height: calc(100dvh - 24px);
    padding: 28px 20px;
    border-radius: 20px;
  }

  .auth-card h2 {
    font-size: 22px;
  }

  .auth-logo-box {
    width: 78px;
    height: 78px;
  }

  .auth-logo {
    width: 66px;
    height: 66px;
  }
}

/* ==========================================
   CELULARES MUITO PEQUENOS
========================================== */

@media (max-width: 380px) {
  .topbar {
    gap: 4px;
  }

  .topbar-brand {
    font-size: 14px;
  }

  .clear-button {
    display: none;
  }

  .suggestions {
    grid-template-columns: 1fr;
  }


/* ==========================================
   KLS.IA - STATUS DA INTERNET
========================================== */

/* Cor verde quando a internet está ativa */
#status.online,
#status.connected,
#status.web-online,
#connectionStatus.online,
#internetStatus.online,
#webStatus.online,
#serverStatus.online,
.status-online,
.web-online {
  color: #16a34a !important;
  font-weight: 700;
}

/* Bolinha verde */
#status.online::before,
#status.connected::before,
#status.web-online::before,
#connectionStatus.online::before,
#internetStatus.online::before,
#webStatus.online::before,
#serverStatus.online::before,
.status-online::before,
.web-online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, .55);
  vertical-align: middle;
}


/* ==========================================
   KLS.IA - SUGESTÕES MAIS COMPACTAS
========================================== */

/* Área dos quatro botões */
.suggestions,
.suggestion-grid,
.suggestions-grid,
.prompt-suggestions {
  gap: 10px !important;
}

/* Botões de sugestões */
.suggestion-card,
.suggestion-btn,
.suggestion-button,
.prompt-card {
  min-height: 72px !important;
  height: auto !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
}

/* Títulos das sugestões */
.suggestion-card strong,
.suggestion-btn strong,
.suggestion-button strong,
.prompt-card strong {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

/* Descrições das sugestões */
.suggestion-card p,
.suggestion-btn p,
.suggestion-button p,
.prompt-card p,
.suggestion-card small,
.suggestion-btn small {
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin-top: 4px !important;
}

/* Ajuste para celulares */
@media (max-width: 600px) {
  .suggestion-card,
  .suggestion-btn,
  .suggestion-button,
  .prompt-card {
    min-height: 64px !important;
    padding: 10px 12px !important;
  }
}



}
