/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --ink: #17212b;
  --muted: #5b6875;
  --line: #d9e0e6;
  --surface: #f7fafc;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--surface);
  flex-direction: column;
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
}

a {
  color: var(--accent);
}

h1 {
  margin: 0 0 12px;
  font-size: 2rem;
}

p {
  line-height: 1.55;
}

.centered {
  flex: 1 0 auto;
  place-items: center;
  padding: 24px;
  display: grid;
}

.hero, .card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: min(100%, 480px);
  padding: 36px;
}

.hero {
  width: min(100%, 640px);
}

.eyebrow {
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 700;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.button, button {
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  min-height: 42px;
  font: inherit;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-flex;
}

.button.secondary {
  color: var(--accent);
  background: #fff;
}

.card, .form-stack {
  gap: 16px;
  display: grid;
}

label {
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  display: grid;
}

input {
  border: 1px solid var(--line);
  min-height: 42px;
  font: inherit;
  border-radius: 5px;
  padding: 8px 10px;
}

.field-link {
  font-size: .9rem;
}

.error {
  color: #b42318;
}

.success {
  color: #087443;
}

.page {
  flex: 1 0 auto;
  width: min(100% - 40px, 900px);
  margin: 60px auto;
}

.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  display: flex;
}

.document-list {
  gap: 10px;
  display: grid;
}

.document {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  display: flex;
}

.document small {
  color: var(--muted);
  margin-top: 5px;
  display: block;
}

.link-button {
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
}

.danger {
  color: #b42318;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.preferences-card, .cookie-explainer {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  margin-top: 24px;
  padding: 24px;
}

.preferences-card {
  gap: 18px;
  display: grid;
}

.preference-row {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  display: flex;
}

.preference-row p, .cookie-explainer p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: .92rem;
}

.preferences-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.switch {
  flex: none;
  width: 46px;
  height: 25px;
  display: inline-block;
  position: relative;
}

.switch input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.switch span {
  cursor: pointer;
  background: #a7b2bd;
  border-radius: 999px;
  transition: background .2s;
  position: absolute;
  inset: 0;
}

.switch span:before {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  transition: transform .2s;
  position: absolute;
  top: 3px;
  left: 3px;
}

.switch input:checked + span {
  background: var(--accent);
}

.switch input:checked + span:before {
  transform: translateX(21px);
}

.switch input:disabled + span {
  cursor: not-allowed;
  opacity: .65;
}

.cookie-banner {
  z-index: 100;
  color: #fff;
  background: var(--ink);
  border: 1px solid #34414c;
  border-radius: 8px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  max-width: 1050px;
  margin: auto;
  padding: 22px 24px;
  display: grid;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  box-shadow: 0 20px 60px #17212b4d;
}

.cookie-banner-copy p {
  color: #d7e0e7;
  margin: 5px 0;
  font-size: .9rem;
}

.cookie-banner-copy a {
  color: #9ee7dd;
}

.cookie-banner-toggle {
  color: #fff;
  white-space: nowrap;
  align-items: center;
  gap: 14px;
  display: flex;
}

.cookie-actions {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.cookie-banner .secondary {
  color: #fff;
  background: none;
  border-color: #92a2af;
}

.site-header {
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
}

.site-header-content {
  align-items: center;
  gap: 24px;
  width: min(100% - 40px, 900px);
  min-height: 64px;
  margin: auto;
  display: flex;
}

.site-brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  flex-wrap: wrap;
  gap: 4px 20px;
  display: flex;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-header-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.site-header .button {
  min-height: 36px;
  padding: 6px 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer-content {
  width: min(100% - 40px, 900px);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: auto;
  padding: 22px 0;
  font-size: .9rem;
  display: flex;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 16px;
  display: flex;
}

.legal-placeholder {
  background: #fff8e8;
  border: 1px solid #e4b96b;
  border-radius: 8px;
  margin: 28px 0;
  padding: 20px 24px;
}

.legal-placeholder h2 {
  margin: 0;
  font-size: 1rem;
}

.legal-placeholder p {
  margin: 8px 0 0;
}

.consultant-shell {
  --cm-canvas: #fff;
  --cm-sidebar: #f7f8f6;
  --cm-surface: #fff;
  --cm-soft: #f2f4f1;
  --cm-text: #17231d;
  --cm-muted: #66736b;
  --cm-border: #dce3dd;
  --cm-green: #276448;
  --cm-green-dark: #1e5038;
  --cm-green-soft: #eaf2ec;
  --cm-focus: #126044;
  width: 100%;
  min-width: 0;
  min-height: 100dvh;
  color: var(--cm-text);
  background: var(--cm-canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.5;
  display: flex;
}

.consultant-shell * {
  box-sizing: border-box;
}

.consultant-shell button, .consultant-shell textarea {
  font: inherit;
}

.consultant-shell button {
  color: inherit;
}

.consultant-shell button:focus-visible, .consultant-shell textarea:focus-visible, .consultant-shell summary:focus-visible, .consultant-shell input:focus-visible + span {
  outline: 3px solid var(--cm-focus);
  outline-offset: 3px;
}

.consultant-sidebar {
  background: var(--cm-sidebar);
  border-right: 1px solid var(--cm-border);
  flex-direction: column;
  flex: 0 0 278px;
  width: 278px;
  height: 100dvh;
  min-height: 620px;
  padding: 22px 16px 14px;
  display: flex;
  position: sticky;
  top: 0;
  overflow: auto;
}

.consultant-brand {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 12px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 50px;
  margin: 0 0 30px;
  padding: 2px 8px;
  display: flex;
}

.brand-mark, .assistant-mark {
  color: #fff;
  background: var(--cm-green);
  border-radius: 11px 11px 11px 4px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 17px;
  font-weight: 700;
  display: grid;
}

.brand-copy {
  gap: 0;
  display: grid;
}

.brand-copy strong {
  letter-spacing: -.025em;
  font-size: 16px;
}

.brand-copy small {
  color: var(--cm-muted);
  font-size: 12px;
}

.consultant-nav-label, .history-heading h2 {
  color: var(--cm-muted);
  letter-spacing: .105em;
  text-transform: uppercase;
  margin: 0 0 9px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
}

.consultant-sections {
  gap: 4px;
  display: grid;
}

.consultant-nav-link {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  font-weight: 500;
  transition: background-color .15s, color .15s;
  display: flex;
  color: #46554b !important;
  font-size: 13px !important;
}

.consultant-nav-link:hover {
  background: #edf0ec;
}

.consultant-nav-link.is-active {
  background: var(--cm-green-soft);
  font-weight: 650;
  color: var(--cm-green-dark) !important;
}

.nav-symbol {
  color: #6d7d71;
  place-items: center;
  width: 20px;
  font-size: 17px;
  display: inline-grid;
}

.consultant-nav-link.is-active .nav-symbol {
  color: var(--cm-green);
}

.consultant-history {
  border-top: 1px solid var(--cm-border);
  flex-direction: column;
  flex: auto;
  min-height: 140px;
  margin-top: 28px;
  padding-top: 17px;
  display: flex;
}

.history-heading {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.history-heading h2 {
  margin: 0 0 8px;
}

.icon-control {
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: -7px;
  display: grid;
  color: var(--cm-green) !important;
  font-size: 23px !important;
}

.icon-control:hover {
  background: var(--cm-green-soft);
}

.history-list {
  align-content: start;
  gap: 3px;
  min-height: 42px;
  display: grid;
}

.history-item {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 6px 9px;
  display: flex;
  overflow: hidden;
  font-size: 12px !important;
}

.history-item:hover, .history-item.is-selected {
  background: #e9eee9;
}

.history-item-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.history-item time {
  color: var(--cm-muted);
  flex: none;
  font-size: 10px;
}

.history-status, .history-empty {
  color: var(--cm-muted);
  margin: 7px 8px;
  font-size: 12px;
  line-height: 1.5;
}

.loading-dot {
  background: var(--cm-green);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  animation: 1s ease-in-out infinite alternate cm-pulse;
  display: inline-block;
}

@keyframes cm-pulse {
  to {
    opacity: .3;
  }
}

.error-panel {
  color: #762d22;
  background: #fff3f1;
  border: 1px solid #edc9c2;
  border-radius: 9px;
  padding: 10px;
}

.error-panel p {
  margin: 0 0 5px;
}

.text-action {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  color: #762d22 !important;
  font-size: 12px !important;
}

.demo-states {
  color: var(--cm-muted);
  border-top: 1px solid var(--cm-border);
  margin-top: auto;
  padding: 13px 8px 9px;
  font-size: 11px;
}

.demo-states summary {
  cursor: pointer;
  width: fit-content;
  font-weight: 650;
}

.demo-states p {
  margin: 8px 0 6px;
  font-size: 11px;
}

.demo-state-actions {
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  display: grid;
}

.demo-state-actions button {
  border: 1px solid var(--cm-border);
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  min-height: 32px;
  padding: 4px 6px;
  color: #47564c !important;
  font-size: 10px !important;
}

.demo-state-actions button:hover {
  border-color: #a8b8aa;
}

.consultant-profile {
  border-top: 1px solid var(--cm-border);
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-top: 12px;
  padding: 13px 6px 0;
  display: flex;
}

.profile-avatar {
  width: 35px;
  height: 35px;
  color: var(--cm-green-dark);
  background: #dce9df;
  border-radius: 50%;
  flex: 0 0 35px;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.consultant-profile > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.consultant-profile strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.consultant-profile small {
  color: var(--cm-muted);
  font-size: 10px;
}

.profile-demo-tag {
  color: var(--cm-muted);
  margin-left: auto;
  font-size: 9px;
}

.consultant-main {
  background: var(--cm-canvas);
  flex-direction: column;
  flex: auto;
  min-width: 0;
  min-height: 100dvh;
  display: flex;
}

.consultant-topbar {
  border-bottom: 1px solid #edf0ed;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-height: 59px;
  padding: 0 34px;
  display: flex;
}

.demo-badge {
  color: #42614c;
  background: #f3f7f3;
  border: 1px solid #e0e9e1;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.demo-badge span {
  color: #4b8b61;
  font-size: 8px;
}

.mobile-brand {
  display: none;
}

.chat-layout {
  flex-direction: column;
  flex: auto;
  width: 100%;
  min-height: 0;
  display: flex;
}

.chat-scroll-area {
  flex: auto;
  justify-content: center;
  min-height: 0;
  padding: 30px 28px 14px;
  display: flex;
  overflow: auto;
}

.is-welcome .chat-scroll-area {
  align-items: center;
}

.welcome-content {
  text-align: center;
  width: min(100%, 700px);
  margin: auto;
  padding: 4px 12px 20px;
}

.welcome-mark {
  width: 48px;
  height: 48px;
  color: var(--cm-green);
  background: var(--cm-green-soft);
  border-radius: 17px;
  place-items: center;
  margin: 0 auto 19px;
  font-size: 25px;
  display: grid;
}

.section-kicker {
  color: var(--cm-green);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 700;
}

.welcome-content h1 {
  letter-spacing: -.045em;
  max-width: 580px;
  margin: 0 auto 12px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 620;
  line-height: 1.17;
}

.welcome-description {
  max-width: 480px;
  color: var(--cm-muted);
  margin: 0 auto;
  font-size: 14px;
}

.suggestion-list {
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 700px;
  margin: 30px auto 0;
  display: flex;
}

.suggestion-list button {
  border: 1px solid var(--cm-border);
  cursor: pointer;
  text-align: left;
  background: #fff;
  border-radius: 11px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  transition: background .15s, border-color .15s;
  display: inline-flex;
  color: #425249 !important;
  font-size: 12px !important;
}

.suggestion-list button span {
  color: var(--cm-green);
  font-size: 15px;
}

.suggestion-list button:hover {
  background: #f7faf7;
  border-color: #a9bcad;
}

.message-thread {
  align-content: start;
  gap: 23px;
  width: min(100%, 760px);
  margin: 4px auto 0;
  padding: 0 0 28px;
  display: grid;
}

.thread-context {
  color: var(--cm-muted);
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
}

.message-row {
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.assistant-mark {
  border-radius: 9px 9px 9px 3px;
  width: 27px;
  height: 27px;
  margin-top: 2px;
  font-size: 13px;
}

.message-content {
  min-width: 0;
  max-width: 100%;
}

.message-content p {
  overflow-wrap: anywhere;
  color: #28372e;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.message-content strong {
  font-weight: 650;
}

.message-user {
  justify-content: flex-end;
}

.message-user .message-content {
  background: #f0f2ef;
  border-radius: 19px 19px 5px;
  max-width: min(78%, 570px);
  padding: 10px 15px;
}

.message-demo-note {
  color: #77847b;
  margin-top: 7px;
  font-size: 10px;
  display: block;
}

.composer-dock {
  width: min(100%, 820px);
  margin: auto auto 0;
  padding: 12px 24px 16px;
}

.composer-start-label {
  color: var(--cm-muted);
  margin: 0 0 8px 8px;
  font-size: 11px;
}

.chat-composer {
  background: var(--cm-surface);
  border: 1px solid #cfd9d1;
  border-radius: 21px;
  padding: 13px 14px 10px 17px;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: 0 5px 18px #172b1e0a;
}

.chat-composer:focus-within {
  border-color: #8aa894;
  box-shadow: 0 0 0 2px #2764481a;
}

.chat-composer textarea {
  resize: none;
  width: 100%;
  min-height: 27px;
  max-height: 160px;
  color: var(--cm-text);
  background: none;
  border: 0;
  outline: none;
  padding: 3px 3px 6px;
  font-size: 14px;
  line-height: 1.55;
  display: block;
}

.chat-composer textarea::placeholder {
  color: #89958d;
  opacity: 1;
}

.chat-composer textarea:focus-visible {
  outline: none;
}

.composer-controls {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  display: flex;
}

.composer-tools {
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}

.attach-button {
  cursor: pointer;
  flex: 0 0 35px;
  place-items: center;
  width: 35px;
  height: 35px;
  line-height: 1;
  display: grid;
  color: var(--cm-green) !important;
  background: var(--cm-green-soft) !important;
  border: 0 !important;
  border-radius: 50% !important;
  padding: 0 !important;
  font-size: 23px !important;
}

.attach-button:hover {
  background: #dfece2 !important;
}

.composer-file-note {
  color: #758078;
  max-width: 520px;
  font-size: 10px;
  line-height: 1.35;
}

.send-button {
  cursor: pointer;
  flex: 0 0 37px;
  place-items: center;
  width: 37px;
  line-height: 1;
  display: grid;
  color: #fff !important;
  background: var(--cm-green) !important;
  border: 0 !important;
  border-radius: 50% !important;
  min-height: 37px !important;
  padding: 0 !important;
  font-size: 21px !important;
}

.send-button:hover:not(:disabled) {
  background: var(--cm-green-dark) !important;
}

.send-button:disabled {
  cursor: not-allowed;
  color: #8d9990 !important;
  background: #e9ede9 !important;
}

.send-spinner {
  border: 2px solid #ffffff80;
  border-top-color: #fff;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  animation: .7s linear infinite cm-spin;
}

@keyframes cm-spin {
  to {
    transform: rotate(360deg);
  }
}

.attachment-list {
  flex-wrap: wrap;
  gap: 6px;
  padding: 3px 1px 9px;
  display: flex;
}

.attachment-chip {
  color: #3f5847;
  background: #edf4ee;
  border: 1px solid #dfeae0;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 30px;
  padding: 4px 7px 4px 9px;
  font-size: 11px;
  display: inline-flex;
}

.attachment-chip > span:first-child {
  flex: none;
}

.attachment-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.attachment-chip button {
  cursor: pointer;
  flex: 0 0 23px;
  place-items: center;
  width: 23px;
  height: 23px;
  display: grid;
  color: #4b6552 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  padding: 0 !important;
  font-size: 18px !important;
}

.attachment-chip button:hover {
  background: #dce9de !important;
}

.composer-footnote {
  color: #78847b;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 12px;
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.4;
  display: flex;
}

.composer-footnote span {
  color: #849087;
}

.composer-error, .workspace-notice {
  color: #742f23;
  background: #fff5f2;
  border: 1px solid #eccbc4;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 2px 0;
  padding: 9px 11px;
  font-size: 12px;
  display: flex;
}

.composer-error button {
  cursor: pointer;
  flex: none;
  min-height: 32px;
  color: #742f23 !important;
  background: #fff !important;
  border: 1px solid #dfb8ae !important;
  border-radius: 7px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
}

.section-preview {
  width: min(100% - 56px, 820px);
  margin: 0 auto;
  padding: clamp(38px, 8vh, 78px) 0 40px;
}

.section-preview h1 {
  letter-spacing: -.04em;
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
}

.section-intro {
  max-width: 580px;
  color: var(--cm-muted);
  margin: 0;
  font-size: 14px;
}

.section-empty {
  text-align: center;
  background: #fafbf9;
  border: 1px solid #e7ebe7;
  border-radius: 16px;
  justify-items: center;
  margin-top: 53px;
  padding: 45px 22px;
  display: grid;
}

.section-empty-mark {
  width: 43px;
  height: 43px;
  color: var(--cm-green);
  background: var(--cm-green-soft);
  border-radius: 14px;
  place-items: center;
  margin-bottom: 14px;
  font-size: 20px;
  display: grid;
}

.section-empty h2 {
  margin: 0 0 7px;
  font-size: 17px;
}

.section-empty p {
  max-width: 450px;
  color: var(--cm-muted);
  margin: 0;
  font-size: 13px;
}

.return-chat-button {
  cursor: pointer;
  margin-top: 19px;
  font-weight: 600;
  color: #fff !important;
  background: var(--cm-green) !important;
  border: 0 !important;
  border-radius: 9px !important;
  min-height: 42px !important;
  padding: 8px 15px !important;
  font-size: 13px !important;
}

.visually-hidden {
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .consultant-shell {
    flex-direction: column;
    min-height: 100dvh;
  }

  .consultant-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--cm-border);
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 8px 12px 10px;
    position: static;
  }

  .consultant-brand {
    min-height: 40px;
    margin: 0 0 8px;
    padding: 0 4px;
  }

  .brand-mark {
    border-radius: 9px 9px 9px 3px;
    width: 29px;
    height: 29px;
    font-size: 14px;
  }

  .brand-copy {
    align-items: baseline;
    gap: 7px;
    display: flex;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .consultant-nav-label {
    display: none;
  }

  .consultant-sections {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .consultant-nav-link {
    min-height: 34px;
    padding: 5px 7px;
    font-size: 12px !important;
  }

  .nav-symbol {
    width: 18px;
    font-size: 15px;
  }

  .consultant-history {
    flex: none;
    min-height: 0;
    max-height: 185px;
    margin-top: 7px;
    padding-top: 7px;
    display: flex;
    overflow: auto;
  }

  .history-heading h2 {
    font-size: 10px;
  }

  .history-item {
    min-height: 32px;
  }

  .history-item time {
    display: none;
  }

  .demo-states {
    margin-top: 6px;
    padding-top: 8px;
  }

  .consultant-profile {
    border: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 14px;
    right: 12px;
  }

  .consultant-profile > span:nth-child(2), .profile-demo-tag {
    display: none;
  }

  .profile-avatar {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    font-size: 9px;
  }

  .consultant-main {
    flex: auto;
    min-height: calc(100dvh - 172px);
  }

  .consultant-topbar {
    justify-content: space-between;
    min-height: 44px;
    padding: 0 15px;
  }

  .mobile-brand {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 4px 0;
    font-weight: 700;
    display: block;
    color: var(--cm-text) !important;
    font-size: 13px !important;
  }

  .mobile-brand span {
    color: var(--cm-muted);
    font-weight: 400;
  }

  .demo-badge {
    gap: 5px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .chat-scroll-area {
    padding: 20px 16px 8px;
  }

  .welcome-content {
    padding: 10px 0 18px;
  }

  .welcome-mark {
    border-radius: 14px;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
  }

  .welcome-content h1 {
    max-width: 430px;
    font-size: clamp(25px, 7vw, 31px);
  }

  .welcome-description {
    font-size: 13px;
  }

  .suggestion-list {
    justify-content: stretch;
    gap: 7px;
    margin-top: 21px;
    display: grid;
  }

  .suggestion-list button {
    width: 100%;
    min-height: 42px;
    font-size: 11px !important;
  }

  .message-thread {
    gap: 20px;
  }

  .message-content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .message-user .message-content {
    max-width: 88%;
  }

  .composer-dock {
    padding: 8px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .chat-composer {
    border-radius: 18px;
    padding: 11px 10px 9px 13px;
  }

  .chat-composer textarea {
    font-size: 14px;
  }

  .composer-controls {
    gap: 5px;
  }

  .composer-tools {
    gap: 7px;
  }

  .attach-button {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .composer-file-note {
    max-width: calc(100vw - 120px);
    font-size: 9px;
  }

  .send-button {
    flex-basis: 36px;
    width: 36px;
    min-height: 36px !important;
  }

  .composer-footnote {
    font-size: 9px;
  }

  .section-preview {
    width: min(100% - 32px, 820px);
    padding-top: 36px;
  }

  .section-empty {
    margin-top: 30px;
    padding: 33px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consultant-shell *, .consultant-shell :before, .consultant-shell :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 560px) {
  .hero, .card {
    padding: 26px;
  }

  .page-heading, .document {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-banner-toggle {
    justify-content: space-between;
  }

  .preference-row {
    align-items: flex-start;
  }

  .site-footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-content {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/