@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --panel: #fff;
  --panel-soft: #f2f6f9;
  --panel-tint: #edf7f5;
  --fg: #192d43;
  --fg-strong: #142a3c;
  --mut: #708095;
  --mut-soft: #98a7b6;
  --bd: #e4ebf0;
  --bd-strong: #d6e0e7;
  --teal: #087e78;
  --teal-strong: #086e69;
  --teal-soft: #e0f2ef;
  --blue: #4d65d7;
  --purple: #7e73d7;
  --danger: #a74440;
  --warn: #7a4d1a;
  --warn-bg: #fff8e9;
  --warn-bd: #efddb1;
  --navy: #1d3a53;
  --shadow: 0 15px 45px rgba(28, 51, 73, .065);
  --shadow-sm: 0 5px 18px rgba(28, 51, 73, .045);
  --radius: 18px;
  --font: 'DM Sans', 'Segoe UI', sans-serif;
  --display: 'Manrope', 'DM Sans', sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1720;
  --panel: #15232d;
  --panel-soft: #1b2b35;
  --panel-tint: #173332;
  --fg: #d6e5ea;
  --fg-strong: #edf7f8;
  --mut: #9aafb7;
  --mut-soft: #789099;
  --bd: #2a3d47;
  --bd-strong: #36515d;
  --teal: #61c2b5;
  --teal-strong: #81d2c7;
  --teal-soft: #183c3b;
  --blue: #a4b1ff;
  --purple: #b7aaf1;
  --danger: #ff9e96;
  --warn: #f2d493;
  --warn-bg: #342b1d;
  --warn-bd: #685435;
  --navy: #183642;
  --shadow: 0 18px 48px rgba(0, 0, 0, .22);
  --shadow-sm: 0 5px 18px rgba(0, 0, 0, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--fg); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 3px; }
a { color: inherit; }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 80; left: 14px; top: 10px; padding: 10px 14px; transform: translateY(-150%); background: var(--panel); border: 1px solid var(--bd); border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 15; display: flex; width: 246px; flex-direction: column; padding: 26px 18px 16px; background: var(--panel); border-right: 1px solid var(--bd); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.brand img { flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { color: var(--fg-strong); font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.85px; }
.brand-copy strong span { color: var(--teal); }
.brand-copy small { margin-top: 4px; color: var(--mut-soft); font-size: 8px; font-weight: 700; letter-spacing: 1.25px; }
.side-label { margin: 48px 0 11px 12px; color: var(--mut-soft); font-size: 9px; font-weight: 700; letter-spacing: 1.45px; }
.side-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 12px; color: var(--mut); text-align: left; border: 1px solid transparent; border-radius: 11px; background: transparent; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.nav-item:hover { color: var(--fg); background: var(--panel-soft); }
.nav-item.active { color: var(--teal-strong); border-color: color-mix(in srgb, var(--teal) 13%, transparent); background: var(--teal-soft); font-weight: 700; }
.nav-icon { display: grid; width: 20px; height: 20px; place-items: center; }
.nav-icon svg { width: 19px; height: 19px; }
.nav-tag { margin-left: auto; padding: 2px 5px; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); border-radius: 4px; font-size: 8px; font-weight: 700; letter-spacing: .65px; }
.sidebar-spacer { flex: 1; }
.sidebar-safety { padding: 16px; background: var(--panel-soft); border: 1px solid var(--bd); border-radius: 13px; }
.safety-mark { display: grid; width: 30px; height: 30px; margin-bottom: 12px; place-items: center; color: var(--teal); border-radius: 9px; background: var(--teal-soft); }
.safety-mark svg { width: 17px; height: 17px; }
.sidebar-safety strong { color: var(--fg-strong); font-size: 12px; }
.sidebar-safety p { margin: 5px 0 12px; color: var(--mut); font-size: 11px; line-height: 1.55; }
.sidebar-safety a { color: var(--teal-strong); font-size: 10px; font-weight: 700; text-decoration: none; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 2px 0; border-top: 1px solid var(--bd); }
.profile-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: #875b73; background: #f4e6ed; border-radius: 50%; font-size: 12px; font-weight: 700; }
.profile-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.profile-copy strong { color: var(--fg-strong); font-size: 11px; }
.profile-copy small { color: var(--mut); font-size: 10px; }
.icon-btn { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--mut); transition: background .18s, color .18s, border .18s; }
.icon-btn:hover { color: var(--fg); border-color: var(--bd); background: var(--panel-soft); }
.icon-btn svg { width: 18px; height: 18px; }
.main-column { min-height: 100vh; margin-left: 246px; }
.topbar { position: sticky; top: 0; z-index: 12; display: flex; height: 66px; align-items: center; justify-content: space-between; padding: 0 clamp(25px, 4vw, 62px); border-bottom: 1px solid var(--bd); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); }
.mobile-brand { display: none; }
.topbar-context { display: flex; align-items: center; gap: 9px; color: var(--mut); font-size: 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #d3a353; box-shadow: 0 0 0 3px color-mix(in srgb, #d3a353 14%, transparent); }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.language-select { height: 31px; padding: 0 22px 0 9px; color: var(--mut); appearance: none; border: 1px solid var(--bd); border-radius: 8px; background-color: var(--panel); font-size: 10px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='none' viewBox='0 0 8 8'%3E%3Cpath d='m1.5 2.75 2.5 2.5 2.5-2.5' stroke='%238093a2' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
.top-avatar { width: 31px; height: 31px; flex-basis: 31px; font-size: 11px; }
main { width: 100%; max-width: 1270px; margin: 0 auto; padding: 38px clamp(24px, 4vw, 62px) 20px; }
.view { display: none; animation: reveal .3s ease both; }
.view.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: 1.6px; }
.eyebrow-line { width: 16px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 12px 0 10px; color: var(--fg-strong); font-family: var(--display); font-size: clamp(31px, 3.5vw, 43px); font-weight: 700; line-height: 1.2; letter-spacing: -1.75px; }
h1 span { color: var(--teal); }
.lead { max-width: 540px; margin: 0; color: var(--mut); font-size: 14px; line-height: 1.75; }
.date-chip { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; padding: 8px 11px; color: var(--mut); border: 1px solid var(--bd); border-radius: 9px; background: var(--panel); font-size: 10px; white-space: nowrap; }
.date-icon { color: #d0a760; font-size: 13px; }
.hero-panel { position: relative; display: flex; min-height: 275px; overflow: hidden; padding: 33px 39px; border-radius: 17px; background: linear-gradient(112deg, #193b50 0%, #205b64 53%, #307f78 100%); color: #fff; box-shadow: 0 18px 36px rgba(35, 82, 91, .15); }
.hero-panel::before, .hero-panel::after { position: absolute; content: ""; border: 1px solid rgba(222, 248, 243, .12); border-radius: 50%; pointer-events: none; }
.hero-panel::before { width: 490px; height: 490px; top: -260px; right: -50px; }
.hero-panel::after { width: 400px; height: 400px; right: -5px; bottom: -312px; }
.hero-copy { position: relative; z-index: 2; max-width: 48%; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: rgba(236, 255, 252, .73); font-size: 8px; font-weight: 700; letter-spacing: 1.45px; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #9adecd; box-shadow: 0 0 0 4px rgba(154, 222, 205, .15); }
.hero-copy h2 { margin: 14px 0 10px; font-family: var(--display); font-size: clamp(25px, 3vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -1.05px; }
.hero-copy h2 em { color: #b8e2d8; font-style: normal; }
.hero-copy > p { max-width: 355px; margin-bottom: 17px; color: rgba(255, 255, 255, .72); font-size: 11px; line-height: 1.65; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 700; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button-light { color: #1e5d5b; background: #f2fbf8; box-shadow: 0 5px 13px rgba(0, 0, 0, .08); }
.button-light:hover { background: #fff; }
.button-light span { font-size: 16px; }
.hero-disclaimer { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: rgba(239, 255, 252, .64); font-size: 8px; }
.hero-disclaimer svg { width: 12px; height: 12px; }
.hero-art { position: absolute; top: 0; right: 0; width: 48%; height: 100%; }
.orbit { position: absolute; border: 1px solid rgba(219, 252, 243, .15); border-radius: 50%; }
.orbit-a { width: 250px; height: 250px; right: 59px; top: 6px; }
.orbit-b { width: 178px; height: 178px; right: 95px; top: 42px; border-color: rgba(219, 252, 243, .18); }
.art-card { position: absolute; top: 61px; right: 94px; width: 230px; padding: 13px 15px 11px; border: 1px solid rgba(255, 255, 255, .52); border-radius: 13px; background: rgba(251, 255, 253, .93); color: #274a56; box-shadow: 0 20px 40px rgba(4, 29, 34, .22); transform: rotate(-4deg); }
.art-card-top, .art-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.mini-brand { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: -.3px; }
.mini-brand img { width: 23px; height: 23px; }
.mini-brand > span { margin-left: -6px; color: #188b81; }
.art-dots { color: #94a8ad; font-size: 19px; line-height: 1; }
.art-wave { display: flex; height: 79px; align-items: center; justify-content: space-between; gap: 3px; margin: 11px 0 9px; padding: 0 4px; }
.art-wave i { width: 4px; height: 18px; border-radius: 5px; background: linear-gradient(180deg, #94d6c7, #6baeb0); opacity: .86; }
.art-wave i:nth-child(5n + 1) { height: 24px; }.art-wave i:nth-child(5n + 2) { height: 39px; }.art-wave i:nth-child(5n + 3) { height: 57px; }.art-wave i:nth-child(5n + 4) { height: 34px; }.art-wave i:nth-child(7n + 3) { height: 67px; }
.art-card-bottom { padding-top: 8px; color: #647e82; border-top: 1px solid #e0edeb; font-size: 8px; }
.art-check { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #298a78; background: #e4f3ee; font-weight: 700; }
.float-pill { position: absolute; right: 41px; bottom: 48px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: #436267; border: 1px solid rgba(228, 248, 243, .8); border-radius: 9px; background: #f7fcf9; box-shadow: 0 7px 20px rgba(10, 36, 42, .15); font-size: 8px; transform: rotate(3deg); }
.float-icon { display: grid; width: 19px; height: 19px; place-items: center; color: #fff; border-radius: 6px; background: #419d8b; font-size: 10px; }
.art-spark { position: absolute; color: rgba(215, 249, 239, .74); }.spark-a { right: 38px; top: 55px; font-size: 18px; }.spark-b { right: 285px; top: 45px; font-size: 13px; }
.art-leaf { position: absolute; width: 23px; height: 48px; border: 1px solid rgba(204, 240, 226, .5); border-radius: 100% 0 100% 0; transform: rotate(-25deg); }.leaf-a { right: 31px; bottom: 41px; }.leaf-b { right: 65px; bottom: 25px; width: 16px; height: 34px; transform: rotate(29deg); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 31px 0 14px; }
.section-heading .eyebrow { font-size: 8px; }.section-heading h2 { margin: 7px 0 0; color: var(--fg-strong); font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.section-meta { margin-bottom: 2px; color: var(--mut-soft); font-size: 10px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-card { position: relative; display: flex; min-height: 206px; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 18px 20px 17px; text-align: left; border: 1px solid var(--bd); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tool-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--teal) 28%, var(--bd)); box-shadow: var(--shadow); }
.tool-icon { display: grid; width: 34px; height: 34px; margin-bottom: 12px; place-items: center; border-radius: 11px; }
.tool-icon svg { width: 18px; height: 18px; }
.assist-icon { color: #5966c9; background: #eef0fc; }.med-icon { color: #18847c; background: var(--teal-soft); }
.tool-overline { margin-bottom: 2px; color: var(--mut-soft); font-size: 8px; font-weight: 700; letter-spacing: 1.05px; }
.tool-card strong { color: var(--fg-strong); font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.tool-description { max-width: 360px; margin-top: 5px; color: var(--mut); font-size: 10px; line-height: 1.65; }
.tool-link { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 13px; color: var(--teal-strong); font-size: 10px; font-weight: 700; }
.tool-link span { font-size: 14px; transition: transform .18s; }.tool-card:hover .tool-link span { transform: translate(2px, -2px); }
.tool-corner { position: absolute; top: 13px; right: 15px; color: var(--mut-soft); opacity: .38; font-size: 22px; }
.safety-banner { display: flex; align-items: center; gap: 13px; margin-top: 16px; padding: 13px 16px; border: 1px solid var(--bd); border-radius: 12px; background: var(--panel); }
.safety-banner-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; color: #378d7d; border-radius: 9px; background: var(--teal-soft); }
.safety-banner-icon svg { width: 17px; height: 17px; }
.safety-banner > div { flex: 1; }
.safety-banner strong { color: var(--fg-strong); font-size: 10px; }
.safety-banner p { max-width: 670px; margin: 2px 0 0; color: var(--mut); font-size: 9px; line-height: 1.55; }
.text-link { flex-shrink: 0; padding: 5px; color: var(--teal-strong); border: 0; background: none; font-size: 9px; font-weight: 700; white-space: nowrap; }
.page-footer { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0 8px; color: var(--mut-soft); font-size: 9px; }
.footer-heart { color: #cf8e85; font-size: 9px; }
/* Conversation */
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.back-link { display: flex; align-items: center; gap: 6px; margin: -6px 0 16px; padding: 3px 0; color: var(--mut); border: 0; background: none; font-size: 10px; }
.back-link:hover { color: var(--teal-strong); }.back-link span { font-size: 15px; }
.page-intro h1 { margin: 10px 0 9px; font-size: clamp(29px, 3.1vw, 39px); }.page-intro .lead { max-width: 560px; font-size: 12px; }
.assistant-status, .scanner-badge { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--bd); border-radius: 11px; background: var(--panel); }
.status-ring { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--bd); border-radius: 11px; background: var(--panel-soft); }
.assistant-status > span:last-child, .scanner-badge > span:last-child { display: flex; flex-direction: column; }
.assistant-status strong, .scanner-badge strong { color: var(--fg-strong); font-size: 10px; }.assistant-status small, .scanner-badge small { margin-top: 2px; color: var(--mut); font-size: 9px; }
.demo-notice { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 14px; padding: 10px 12px; color: var(--mut); border: 1px solid var(--bd); border-radius: 10px; background: var(--panel-soft); font-size: 9px; line-height: 1.55; }
.demo-notice strong { color: var(--fg); }.notice-icon { display: grid; width: 16px; height: 16px; flex: 0 0 16px; place-items: center; color: var(--teal-strong); border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--bd)); border-radius: 50%; font-size: 10px; font-weight: 700; }
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 14px; align-items: stretch; }
.chat-panel { display: flex; min-height: 430px; flex-direction: column; border: 1px solid var(--bd); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-sm); }
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid var(--bd); }
.chat-title { display: flex; align-items: center; gap: 9px; }.chat-avatar { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--bd); border-radius: 10px; background: var(--panel-soft); }.chat-avatar img { width: 23px; height: 23px; }
.chat-title > span:last-child { display: flex; flex-direction: column; }.chat-title strong { color: var(--fg-strong); font-size: 10px; }.chat-title small { color: var(--mut); font-size: 8px; }
.clear-chat { padding: 5px 7px; color: var(--mut); border: 0; border-radius: 6px; background: transparent; font-size: 9px; }.clear-chat:hover { color: var(--danger); background: var(--panel-soft); }
.chat-feed { display: flex; min-height: 176px; flex: 1; flex-direction: column; gap: 11px; overflow-y: auto; padding: 16px; scroll-behavior: smooth; }
.message { max-width: min(86%, 480px); padding: 10px 12px; color: var(--fg); border: 1px solid var(--bd); border-radius: 12px 12px 12px 3px; background: var(--panel-soft); font-size: 10px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; animation: message-in .22s ease both; }
@keyframes message-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.message.user { align-self: flex-end; color: #fff; border-color: transparent; border-radius: 12px 12px 3px 12px; background: linear-gradient(135deg, #6676dd, #298d8a); }
.message small { display: block; margin-top: 5px; opacity: .72; font-size: 8px; }
.suggestion-wrap { padding: 2px 15px 12px; }.suggestion-label { color: var(--mut-soft); font-size: 8px; font-weight: 700; letter-spacing: 1px; }.suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.suggestion { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; padding: 4px 8px; color: var(--mut); border: 1px solid var(--bd); border-radius: 7px; background: var(--panel); font-size: 8px; text-align: left; transition: color .15s, border .15s; }.suggestion:hover { color: var(--teal-strong); border-color: color-mix(in srgb, var(--teal) 35%, var(--bd)); }.suggestion span { color: var(--teal); }
.composer { display: flex; align-items: center; gap: 8px; margin: 0 12px; padding: 5px; border: 1px solid var(--bd-strong); border-radius: 11px; background: var(--panel); }.composer:focus-within { border-color: color-mix(in srgb, var(--teal) 50%, var(--bd)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 10%, transparent); }.composer input { width: 100%; min-width: 0; height: 34px; color: var(--fg-strong); border: 0; outline: none; background: transparent; font-size: 10px; }.composer input::placeholder { color: var(--mut-soft); }.composer input:focus-visible { outline: 0; }
.mic-btn, .send-btn { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 0; border-radius: 9px; }.mic-btn { color: var(--mut); background: transparent; }.mic-btn:hover { color: var(--teal); background: var(--panel-soft); }.mic-btn.listening { color: white; background: #c05752; animation: soft-pulse 1s ease-in-out infinite alternate; }.mic-btn svg { width: 17px; height: 17px; }
@keyframes soft-pulse { to { box-shadow: 0 0 0 5px rgba(192, 87, 82, .15); } }
.send-btn { color: white; background: var(--teal); }.send-btn:hover { background: var(--teal-strong); }.send-btn svg { width: 16px; height: 16px; }
.composer-footer { display: flex; justify-content: space-between; gap: 12px; padding: 7px 17px 10px; color: var(--mut-soft); font-size: 8px; }.composer-footer kbd { padding: 1px 4px; border: 1px solid var(--bd); border-radius: 3px; background: var(--panel-soft); font: inherit; }
.conversation-aside { display: flex; flex-direction: column; gap: 10px; }.aside-card { flex: 1; padding: 15px; border: 1px solid var(--bd); border-radius: 13px; background: var(--panel); }.aside-icon { display: grid; width: 31px; height: 31px; margin-bottom: 13px; place-items: center; color: #6672c5; border-radius: 10px; background: #eff0fc; }.aside-icon svg { width: 16px; height: 16px; }.aside-kicker { color: var(--mut-soft); font-size: 7px; font-weight: 700; letter-spacing: 1px; }.aside-card h3 { margin: 7px 0 7px; color: var(--fg-strong); font-family: var(--display); font-size: 14px; letter-spacing: -.3px; }.aside-card p { margin: 0; color: var(--mut); font-size: 9px; line-height: 1.7; }.note-lines { display: grid; gap: 10px; margin-top: 22px; }.note-lines span { height: 1px; background: var(--bd); }.note-lines span:last-child { width: 70%; }
.emergency-card { display: flex; align-items: flex-start; gap: 9px; padding: 12px; color: var(--warn); border: 1px solid var(--warn-bd); border-radius: 12px; background: var(--warn-bg); }.emergency-symbol { display: grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 700; }.emergency-card strong { font-size: 9px; }.emergency-card p { margin: 3px 0 0; font-size: 8px; line-height: 1.55; }
.action-request { margin-top: 3px; padding: 11px; color: var(--warn); border: 1px solid var(--warn-bd); border-radius: 10px; background: var(--warn-bg); font-size: 9px; }.action-request strong { display: block; margin-bottom: 4px; font-size: 9px; }.action-request p { margin: 0; line-height: 1.55; }.action-actions { display: flex; gap: 7px; margin-top: 8px; }.action-actions button { min-height: 28px; padding: 3px 10px; color: var(--fg); border: 1px solid var(--warn-bd); border-radius: 6px; background: transparent; font-size: 8px; font-weight: 700; }.action-actions button:first-child { color: #fff; border-color: var(--teal); background: var(--teal); }
/* MedScan */
.medical-alert { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 18px; padding: 13px 15px; color: var(--warn); border: 1px solid var(--warn-bd); border-radius: 11px; background: var(--warn-bg); }.alert-icon { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; margin-top: 1px; }.alert-icon svg { width: 18px; height: 18px; }.medical-alert strong { font-size: 10px; }.medical-alert p { max-width: 850px; margin: 3px 0 0; font-size: 9px; line-height: 1.65; opacity: .88; }
.scan-workspace { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(185px, .8fr); gap: 14px; align-items: stretch; }
.scan-column { min-width: 0; }.dropzone { position: relative; display: flex; min-height: 286px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 22px; border: 1px dashed var(--bd-strong); border-radius: 14px; background: linear-gradient(165deg, var(--panel) 0%, var(--panel-soft) 100%); transition: background .18s, border .18s; }.dropzone.dragging { border-color: var(--teal); background: var(--panel-tint); }.dropzone.has-image { padding-bottom: 15px; }.drop-visual { position: relative; display: grid; width: 78px; height: 72px; place-items: center; margin-bottom: 11px; border-radius: 18px; background: var(--teal-soft); }.scan-cross { z-index: 1; color: var(--teal-strong); font-size: 20px; }.focus-corner { position: absolute; width: 12px; height: 12px; border-color: var(--teal); border-style: solid; }.corner-tl { top: 9px; left: 9px; border-width: 1.5px 0 0 1.5px; border-radius: 4px 0 0; }.corner-tr { top: 9px; right: 9px; border-width: 1.5px 1.5px 0 0; border-radius: 0 4px 0 0; }.corner-bl { bottom: 9px; left: 9px; border-width: 0 0 1.5px 1.5px; border-radius: 0 0 0 4px; }.corner-br { bottom: 9px; right: 9px; border-width: 0 1.5px 1.5px 0; border-radius: 0 0 4px; }.scan-orbit { position: absolute; width: 55px; height: 55px; border: 1px solid color-mix(in srgb, var(--teal) 14%, transparent); border-radius: 50%; }.orbit-left { left: -22px; top: 5px; }.orbit-right { right: -24px; bottom: -2px; }
.drop-copy { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }.drop-copy strong { color: var(--fg-strong); font-family: var(--display); font-size: 14px; }.drop-copy > span { color: var(--mut); font-size: 9px; }
.drop-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 15px; }.button-primary { color: white; background: var(--teal); }.button-primary:hover { background: var(--teal-strong); box-shadow: var(--shadow-sm); }.button-outline { color: var(--fg); border-color: var(--bd-strong); background: var(--panel); }.button-outline:hover { background: var(--panel-soft); }.drop-buttons svg { width: 15px; height: 15px; }.file-note { margin-top: 9px; color: var(--mut-soft); font-size: 8px; }.scan-preview { width: min(100%, 300px); margin-top: 15px; padding: 7px; border: 1px solid var(--bd); border-radius: 10px; background: var(--panel); }.scan-preview img { display: block; width: 100%; max-height: 180px; object-fit: contain; border-radius: 6px; background: var(--panel-soft); }.preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 2px 1px; color: var(--mut); font-size: 8px; }.preview-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.preview-meta button { color: var(--danger); border: 0; background: transparent; font-size: 8px; }
.name-search { margin-top: 13px; }.name-search label { display: block; margin-bottom: 6px; color: var(--fg-strong); font-size: 9px; font-weight: 700; }.search-input-wrap { display: flex; min-height: 40px; align-items: center; gap: 8px; padding: 4px 5px 4px 10px; border: 1px solid var(--bd-strong); border-radius: 9px; background: var(--panel); }.search-input-wrap:focus-within { border-color: color-mix(in srgb, var(--teal) 50%, var(--bd)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 10%, transparent); }.search-input-wrap > svg { width: 15px; height: 15px; color: var(--mut-soft); flex-shrink: 0; }.search-input-wrap input { min-width: 0; flex: 1; color: var(--fg); border: 0; outline: 0; background: transparent; font-size: 9px; }.search-input-wrap input:focus-visible { outline: 0; }.search-input-wrap input::placeholder { color: var(--mut-soft); }.search-input-wrap button { min-height: 30px; flex-shrink: 0; padding: 0 10px; color: white; border: 0; border-radius: 6px; background: var(--teal); font-size: 8px; font-weight: 700; }.search-input-wrap button:hover { background: var(--teal-strong); }.search-input-wrap button span { margin-left: 3px; font-size: 11px; }
.scan-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 11px; padding: 3px 0; }.scan-note { display: flex; align-items: flex-start; gap: 9px; }.scan-note-icon { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; color: var(--teal-strong); border: 1px solid var(--bd); border-radius: 9px; background: var(--panel); }.scan-note-icon svg { width: 16px; height: 16px; }.scan-note-icon.soft-icon { font-size: 13px; border-color: transparent; background: var(--teal-soft); }.scan-note strong { color: var(--fg-strong); font-size: 9px; }.scan-note p { margin: 3px 0 0; color: var(--mut); font-size: 8px; line-height: 1.65; }
.scan-result { display: flex; align-items: flex-start; gap: 11px; margin-top: 14px; padding: 14px; color: var(--warn); border: 1px solid var(--warn-bd); border-radius: 11px; background: var(--warn-bg); }.result-icon { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 700; }.scan-result h3 { margin: 1px 0 4px; font-family: var(--display); font-size: 11px; }.scan-result p { margin: 0; font-size: 9px; line-height: 1.65; }.scan-result small { display: block; margin-top: 6px; font-size: 8px; opacity: .78; }
.medicine-footnote { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 12px; color: var(--mut); border: 1px solid var(--bd); border-radius: 9px; background: var(--panel); font-size: 8px; }.footnote-mark { display: grid; width: 15px; height: 15px; flex: 0 0 15px; place-items: center; color: var(--mut); border: 1px solid var(--bd-strong); border-radius: 50%; font-size: 9px; font-weight: 700; }
.toast { position: fixed; right: 22px; bottom: 20px; z-index: 50; max-width: min(360px, calc(100vw - 40px)); padding: 11px 14px; color: var(--fg-strong); border: 1px solid var(--bd-strong); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }.toast.show { opacity: 1; transform: translateY(0); }
.mobile-nav { display: none; }
@media (min-width: 1450px) { main { padding-top: 46px; } .hero-panel { min-height: 300px; padding-top: 40px; }.art-card { top: 68px; right: 126px; }.orbit-a { right: 92px; }.orbit-b { right: 128px; }.float-pill { right: 63px; bottom: 55px; } }
@media (max-width: 1120px) { .sidebar { width: 220px; padding-right: 14px; padding-left: 14px; }.main-column { margin-left: 220px; }.topbar { padding-right: 30px; padding-left: 30px; } main { padding-right: 30px; padding-left: 30px; }.chat-layout { grid-template-columns: minmax(0, 1fr) 198px; gap: 10px; }.hero-panel { padding-left: 30px; }.hero-copy { max-width: 53%; }.hero-art { width: 43%; }.art-card { right: 45px; }.orbit-a { right: 5px; }.orbit-b { right: 41px; }.float-pill { right: 12px; }.scan-workspace { grid-template-columns: minmax(0, 1.25fr) minmax(165px, .8fr); gap: 12px; } }
@media (max-width: 850px) { .sidebar { display: none; }.main-column { margin-left: 0; }.topbar { height: 58px; padding: 0 21px; }.mobile-brand { display: inline-flex; gap: 7px; }.mobile-brand .brand-copy strong { font-size: 17px; }.topbar-context { margin-left: auto; margin-right: 12px; font-size: 9px; }.top-avatar { display: none; }.top-theme { display: none; }main { padding: 30px 24px 95px; }.mobile-nav { position: fixed; inset: auto 0 0; z-index: 20; display: flex; justify-content: space-around; padding: 7px max(12px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid var(--bd); background: color-mix(in srgb, var(--panel) 95%, transparent); backdrop-filter: blur(16px); }.mobile-nav-item { display: flex; min-width: 76px; min-height: 45px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--mut); border: 0; border-radius: 10px; background: transparent; font-size: 8px; }.mobile-nav-item svg { width: 18px; height: 18px; }.mobile-nav-item.active { color: var(--teal-strong); font-weight: 700; }.page-footer { padding-bottom: 14px; }.chat-layout { grid-template-columns: minmax(0, 1fr) 194px; gap: 12px; }.hero-panel { min-height: 266px; }.hero-art { width: 43%; }.art-card { right: 25px; }.float-pill { right: 3px; }.orbit-a { right: -10px; }.orbit-b { right: 26px; } }
@media (max-width: 650px) { .topbar { padding: 0 16px; }.topbar-context { font-size: 8px; }.language-select { height: 29px; padding-left: 7px; font-size: 9px; }main { padding: 26px 16px 92px; }.welcome-row { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 19px; }.date-chip { display: none; }h1 { font-size: 34px; }.lead { font-size: 12px; }.hero-panel { min-height: 300px; padding: 26px 22px; }.hero-copy { max-width: 74%; }.hero-copy h2 { font-size: 26px; }.hero-copy > p { max-width: 280px; font-size: 10px; }.hero-art { right: -12%; width: 54%; opacity: .74; }.art-card { top: 138px; right: 5px; width: 170px; padding: 9px; transform: rotate(-6deg) scale(.88); transform-origin: top right; }.art-wave { height: 48px; margin: 6px 0; }.orbit-a { top: 102px; right: -12px; width: 195px; height: 195px; }.orbit-b { top: 122px; right: 12px; width: 145px; height: 145px; }.float-pill { display: none; }.spark-b { right: 152px; top: 110px; }.spark-a { top: 113px; right: 4px; }.art-leaf { display: none; }.hero-disclaimer { max-width: 215px; font-size: 7px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin: 24px 0 12px; }.section-heading h2 { font-size: 18px; }.section-meta { display: none; }.tool-grid { grid-template-columns: 1fr; gap: 10px; }.tool-card { min-height: 188px; padding: 16px; }.tool-description { font-size: 10px; }.safety-banner { align-items: flex-start; padding: 12px; }.safety-banner > div { min-width: 0; }.safety-banner p { font-size: 8px; }.text-link { display: none; }.page-footer { flex-direction: column; gap: 4px; font-size: 8px; }.page-intro { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 17px; }.page-intro h1 { font-size: 30px; }.page-intro .lead { font-size: 11px; }.back-link { margin-bottom: 13px; }.assistant-status, .scanner-badge { padding: 8px 10px; }.status-ring { width: 31px; height: 31px; }.demo-notice { font-size: 8px; }.chat-layout { grid-template-columns: 1fr; }.chat-panel { min-height: 420px; }.conversation-aside { display: grid; grid-template-columns: 1fr 1fr; }.aside-card { padding: 12px; }.aside-card h3 { font-size: 12px; }.aside-card p { font-size: 8px; }.note-lines { margin-top: 14px; }.emergency-card { padding: 10px; }.emergency-card p { font-size: 7px; }.suggestions { gap: 5px; }.suggestion { font-size: 8px; }.composer-footer { font-size: 7px; }.medical-alert { padding: 11px; }.medical-alert strong { font-size: 9px; }.medical-alert p { font-size: 8px; }.scan-workspace { grid-template-columns: 1fr; }.dropzone { min-height: 255px; }.scan-aside { display: grid; grid-template-columns: 1fr; gap: 11px; padding: 2px 2px; }.scan-note p { max-width: 400px; }.medicine-footnote { align-items: flex-start; line-height: 1.5; }.toast { right: 12px; bottom: 76px; } }
@media (max-width: 390px) { .topbar-context { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.hero-panel { min-height: 320px; }.hero-copy { max-width: 82%; }.hero-copy > p { max-width: 230px; }.hero-art { right: -18%; width: 60%; }.art-card { top: 170px; }.conversation-aside { grid-template-columns: 1fr; }.note-lines { margin-top: 11px; }.assistant-status { align-self: flex-start; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Expandable, clearly ungenerated scan-result categories. */
.scan-result { flex-wrap: wrap; }
.scan-result > div:not(.result-sections) { min-width: 0; flex: 1 1 0; }
.result-sections { display: grid; flex: 0 0 100%; gap: 6px; margin-top: 8px; }
.result-section { overflow: hidden; color: var(--fg); border: 1px solid var(--warn-bd); border-radius: 8px; background: var(--panel); }
.result-section summary { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px; color: var(--fg-strong); font-size: 9px; font-weight: 700; list-style: none; cursor: pointer; }
.result-section summary::-webkit-details-marker { display: none; }
.result-section summary::after { content: "+"; color: var(--mut); font-size: 14px; font-weight: 500; }
.result-section[open] summary::after { content: "−"; }
.result-section p { margin: 0; padding: 8px 10px 10px; color: var(--mut); border-top: 1px solid var(--bd); font-size: 8px; line-height: 1.65; }
.dropzone { cursor: pointer; }
@media (max-width: 850px) { .top-theme { display: grid; } }

[hidden] { display: none !important; }

/* Explicit opt-in for AI processing of conversation text. */
.consent-panel { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 14px; padding: 13px 15px; border: 1px solid var(--bd); border-radius: 11px; background: var(--panel); box-shadow: var(--shadow-sm); }
.consent-shield { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; color: var(--teal-strong); border-radius: 9px; background: var(--teal-soft); }
.consent-shield svg { width: 16px; height: 16px; }
.consent-copy { min-width: 0; flex: 1; }
.consent-copy > strong { color: var(--fg-strong); font-size: 10px; }
.consent-copy > p { max-width: 900px; margin: 3px 0 9px; color: var(--mut); font-size: 9px; line-height: 1.65; }
.consent-check { display: flex; align-items: flex-start; gap: 8px; color: var(--fg); font-size: 9px; line-height: 1.5; cursor: pointer; }
.consent-check input { width: 15px; height: 15px; flex: 0 0 15px; margin: 1px 0 0; accent-color: var(--teal); cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .55; }
.retry-btn { display: block; min-height: 26px; margin-top: 8px; padding: 3px 9px; color: var(--teal-strong); border: 1px solid var(--bd-strong); border-radius: 7px; background: var(--panel); font-size: 9px; font-weight: 700; }
.retry-btn:hover { border-color: var(--teal); background: var(--teal-soft); }
@media (max-width: 650px) { .consent-panel { gap: 8px; padding: 11px; }.consent-copy > p, .consent-check { font-size: 8px; } }
