:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --green: #0071e3;
  --green-light: #eaf3ff;
  --paper: #f5f5f7;
  --line: #e5e5e9;
  --sidebar: #f9f9fb;
  --white: #fff;
  --amber: #875b15;
  --red: #c43131;
  --shadow: 0 12px 40px rgba(20, 30, 60, .045);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { touch-action: manipulation; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #0071e3; outline-offset: 4px; }
a { color: var(--green); text-underline-offset: 3px; }
button { transition: background .18s, box-shadow .18s, transform .18s; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--sidebar); border-right: 1px solid var(--line); padding: 30px 20px 20px; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 10; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15px; line-height: 1.25; letter-spacing: -.5px; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.brandmark, .avatar { background: linear-gradient(145deg,#414144,#101012); color: white; border-radius: 12px; display: grid; place-items: center; width: 36px; height: 36px; font-size: 24px; font-weight: 600; flex-shrink: 0; letter-spacing: -2px; box-shadow: inset 0 1px 1px #ffffff44; }
.brandmark { display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.brandmark>span { color: #89c0ff; }
.brand small { display: block; font-size: 8px; font-weight: 550; letter-spacing: 1.5px; color: var(--muted); margin-top: 7px; }
.new-btn { margin: 30px 0 28px; border: 1px solid #ddddE2; background: white; width: 100%; padding: 11px 14px; border-radius: 12px; text-align: left; font-weight: 550; color: var(--ink); font-size: 12px; box-shadow: 0 2px 3px #00000003; }
.new-btn:hover { background: #f0f0f4; }
.eyebrow { font-size: 10px; letter-spacing: 1.4px; font-weight: 650; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; flex-direction: column; gap: 5px; margin: 12px 0 28px; }
.nav button { padding: 11px 12px; border: 0; background: none; text-align: left; border-radius: 10px; color: #606067; display: flex; gap: 11px; align-items: center; font-size: 12px; }
.nav button:hover { background: #eeeeF2; }
.nav button.active { background: #e7effc; color: #0066cc; font-weight: 600; }
.nav svg { width: 18px; height: 18px; }
.progress-label { display: flex; justify-content: space-between; margin: 9px 0 10px; font-size: 11px; color: var(--muted); }
.track { height: 4px; border-radius: 8px; background: #e5e5e9; overflow: hidden; }
.track>span { display: block; height: 100%; background: var(--green); transition: width .3s; border-radius: inherit; }
.steps { margin-top: 19px; display: grid; gap: 8px; }
.step { display: flex; gap: 10px; align-items: center; color: #74747c; font-size: 11px; background: none; border: 0; padding: 5px 0; text-align: left; }
.step.active { color: var(--ink); font-weight: 650; }
.step i { font-style: normal; display: grid; place-items: center; border: 1px solid #d6d6dd; border-radius: 50%; height: 23px; width: 23px; flex-shrink: 0; font-size: 10px; }
.step.active i { background: var(--ink); border-color: var(--ink); color: white; }
.step.done i { background: var(--green-light); border-color: #cbe0fa; color: var(--green); }
.sidebar-bottom { margin-top: auto; padding-top: 28px; }
.sidebar-bottom button { background: none; border: 0; color: var(--muted); padding: 6px 0; display: block; font-size: 11px; }
.sidebar-bottom button:hover { color: var(--green); }
.local-note { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 14px; font-size: 10px; color: var(--muted); }
.local-note span { color: #495467; }
.main { grid-column: 2; min-width: 0; }
.topbar { min-height: 86px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 18px 38px; gap: 16px; background: #ffffffb8; backdrop-filter: blur(20px); }
.topbar-title { font-weight: 600; font-size: 13px; letter-spacing: -.2px; }
.topbar small { font-size: 11px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 7px; background: #eaf3ff; color: #0066cc; border: 1px solid #daeaff; border-radius: 25px; font-size: 10px; letter-spacing: .1px; padding: 6px 11px; white-space: nowrap; }
.badge.amber { color: var(--amber); background: #fff7e8; border-color: #f1e4cb; }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; max-width: 1320px; margin: auto; padding: 38px 38px 64px; }
.conversation { min-width: 0; max-width: 820px; }
.message { display: flex; gap: 14px; margin: 9px 0 28px; }
.avatar { width: 32px; height: 32px; font-size: 20px; border-radius: 10px; letter-spacing: -1px; }
.message-body { min-width: 0; flex: 1; }
.message-name { font-size: 10px; font-weight: 600; margin: 3px 0 13px; }
.message-name span { font-weight: 400; color: var(--muted); margin-left: 8px; }
.bubble { font-size: 14px; line-height: 1.75; color: var(--muted); }
.bubble h2 { font-size: clamp(24px, 2.1vw, 31px); font-weight: 650; line-height: 1.18; margin: 2px 0 12px; letter-spacing: -1px; color: var(--ink); }
.bubble p { margin: 0 0 12px; }
.bubble ul { padding-left: 20px; }
.user-message { margin: 18px 0 18px 50px; background: #eaf3ff; padding: 14px 18px; border-radius: 18px 18px 4px 18px; font-size: 13px; }
.form-card { border: 1px solid var(--line); background: white; border-radius: 22px; padding: 28px; margin: 20px 0 0; box-shadow: var(--shadow); }
.form-title { font-size: 10px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); margin-bottom: 22px; font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 20px; }
.field { display: block; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label .label { display: block; font-size: 12px; font-weight: 550; margin-bottom: 8px; }
label small, .hint { font-size: 11px; color: var(--muted); line-height: 1.6; display: block; margin-top: 7px; }
input, textarea, select { width: 100%; border: 1px solid #d3d3db; border-radius: 11px; background: white; color: var(--ink); padding: 12px 13px; outline: none; min-height: 46px; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #888891; }
textarea { resize: vertical; min-height: 105px; line-height: 1.75; }
input:focus, textarea:focus, select:focus { border-color: #0071e3; box-shadow: 0 0 0 3px #0071e31a; }
input[type=checkbox] { min-height: 0; width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; margin: 17px 0; }
.check input { margin-top: 3px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #f0f0f3; }
.btn { border: 1px solid var(--green); color: white; background: var(--green); border-radius: 999px; padding: 11px 20px; font-size: 12px; font-weight: 550; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; line-height: 1.5; }
.btn:hover:not(:disabled) { background: #0077ed; box-shadow: 0 4px 14px #0071e31a; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn svg { height: 16px; width: 16px; }
.btn.secondary { background: #f5f5f7; color: var(--ink); border-color: #e4e4ea; }
.btn.secondary:hover:not(:disabled) { background: #eaeaf0; box-shadow: none; }
.btn.ghost { background: none; color: var(--muted); border: 0; padding-left: 0; }
.btn.ghost:hover:not(:disabled) { background: none; color: var(--green); box-shadow: none; }
.btn.small { padding: 7px 14px; font-size: 11px; }
.fine-print { font-size: 10px; color: var(--muted); text-align: center; margin: 16px 0; }
.snapshot { padding-top: 10px; }
.snapshot-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #ffffffb0; margin-bottom: 18px; }
.snapshot-card h3 { font-size: 12px; font-weight: 600; margin: 0 0 19px; display: flex; justify-content: space-between; align-items: center; }
.snapshot-card .big { font-size: 32px; font-weight: 600; letter-spacing: -1.3px; margin: 5px 0; }
.snapshot-card .metric { padding: 15px 0; border-bottom: 1px solid #ededf1; }
.snapshot-card .metric:last-child { border: 0; padding-bottom: 0; }
.metric-label { font-size: 10px; color: var(--muted); }
.metric-value { font-size: 19px; font-weight: 600; margin-top: 5px; letter-spacing: -.4px; }
.empty-snapshot { color: #c2c2ca; }
.mini-divider { border-top: 1px solid var(--line); margin: 18px 0; }
.snapshot-tip { font-size: 11px; color: var(--muted); line-height: 1.8; padding: 0 2px; }
.snapshot-tip strong { display: block; color: #51515b; font-size: 11px; margin-bottom: 6px; }
.mini-list { display: grid; gap: 14px; font-size: 11px; color: var(--muted); }
.mini-list div { display: flex; gap: 10px; align-items: center; }
.circle-small { height: 23px; width: 23px; display: grid; place-items: center; border-radius: 50%; background: #f0f0f5; font-size: 10px; flex-shrink: 0; }
.notice { background: #fff9ed; border: 1px solid #f0e5cf; border-radius: 12px; padding: 14px 17px; font-size: 11px; color: #7f642f; margin: 17px 0; line-height: 1.8; }
.notice.green { background: #eef6ff; border-color: #dce9fa; color: #375c88; }
.segment { border: 1px solid var(--line); background: white; border-radius: 14px; padding: 18px; margin: 12px 0; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.segment small { display: block; color: var(--muted); font-size: 10px; margin: 4px 0; }
.error { color: var(--red); font-size: 12px; margin: 12px 0; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 23px 0; }
.wide { max-width: 1300px; margin: auto; padding: 40px; }
.page-heading h1 { font-size: 38px; font-weight: 650; line-height: 1.14; margin: 10px 0 14px; letter-spacing: -1.4px; }
.page-heading p { color: var(--muted); font-size: 14px; max-width: 720px; }
.question-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; margin-top: 30px; align-items: start; }
.question-layout>aside { position: sticky; top: 24px; }
.question-list { max-height: 650px; overflow: auto; padding: 12px 5px 0 0; scrollbar-width: thin; }
.question-button { display: flex; text-align: left; gap: 9px; padding: 12px 10px; border: 0; background: none; border-radius: 10px; width: 100%; font-size: 11px; color: #64646c; margin-bottom: 3px; line-height: 1.55; }
.question-button:hover { background: #eeeeF2; }
.question-button.active { background: #e5eefb; color: #0066cc; font-weight: 600; }
.question-button span:first-child { font-size: 10px; min-width: 24px; }
.question-button[hidden] { display: none; }
.question-detail { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); min-width: 0; }
.question-detail h2 { font-size: 21px; line-height: 1.55; font-weight: 600; margin: 22px 0 12px; letter-spacing: -.5px; }
.source-link { font-size: 11px; color: var(--muted); }
.response-draft { background: #f8f9fc; border: 1px solid #e7eaf0; padding: 22px; border-radius: 16px; margin: 26px 0; }
.response-draft textarea { min-height: 320px; background: white; font-size: 14px; }
#draft-text[readonly] { background: transparent; border-color: transparent; min-height: 350px; color: #393942; cursor: default; padding: 0; }
.word-count { font-size: 11px; color: var(--muted); text-align: right; margin-top: 9px; }
.word-count:has(+.over-limit) { color: var(--red); }
.response-options { font-size: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.response-options summary { cursor: pointer; color: #4b5d77; }
.approval-progress .track { height: 5px; max-width: 500px; }
.question-detail .response-draft .toolbar { margin-bottom: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.stat-box { padding: 22px; border: 1px solid var(--line); background: white; border-radius: 17px; }
.stat-box .metric-value { font-size: 29px; letter-spacing: -1px; }
.report-section { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 30px; margin: 22px 0; break-inside: avoid; }
.report-section h2 { font-size: 24px; font-weight: 600; margin: 6px 0 20px; letter-spacing: -.6px; }
.report-section h3 { font-size: 15px; margin: 24px 0 12px; }
.report-section p, .report-section li { font-size: 13px; line-height: 1.85; color: #55555d; }
.report-section ul { padding-left: 19px; }
.table-wrap { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 10px; color: var(--muted); font-weight: 600; background: #f6f6f8; }
th, td { padding: 14px 11px; border-bottom: 1px solid var(--line); }
td:not(:first-child), th:not(:first-child) { text-align: right; }
td.wrap { white-space: normal; min-width: 145px; }
.negative { color: var(--red); }
.positive { color: var(--green); }
.chart { display: flex; gap: 24px; align-items: flex-end; height: 140px; margin: 20px 0 12px; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: end; height: 100%; gap: 6px; text-align: center; font-size: 10px; }
.bar { background: #a5cafa; min-height: 2px; border-radius: 6px 6px 0 0; }
.bar.dark { background: var(--green); }
.modal-backdrop { position: fixed; inset: 0; background: #10101c55; backdrop-filter: blur(10px); z-index: 30; display: grid; place-items: center; padding: 20px; }
.modal { max-width: 600px; background: white; border: 1px solid #ffffff80; border-radius: 25px; padding: 34px; max-height: 85vh; overflow: auto; box-shadow: 0 25px 80px #00000026; }
.modal h2 { font-size: 27px; font-weight: 600; letter-spacing: -.9px; line-height: 1.2; }
.modal p { color: var(--muted); font-size: 13px; }
.modal .btn { margin-top: 15px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1d1d1ff0; backdrop-filter: blur(20px); color: white; padding: 14px 23px; border-radius: 16px; z-index: 60; opacity: 0; pointer-events: none; font-size: 12px; transition: opacity .2s; max-width: min(560px, 90vw); box-shadow: 0 8px 25px #00000020; }
#toast.show { opacity: 1; }
.answer-card { white-space: pre-wrap; font-size: 12px; line-height: 1.9; }
.empty-state { padding: 50px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 22px; margin-top: 25px; }
.empty-state .btn { margin: 8px 4px; }
.chat-composer { border: 1px solid #e1e1e7; background: white; padding: 11px 12px 11px 18px; display: flex; gap: 10px; border-radius: 19px; margin-top: 30px; box-shadow: 0 4px 22px #20204005; }
.chat-composer input { padding: 3px; min-height: 30px; border: 0; box-shadow: none; background: none; font-size: 12px; }
.chat-composer button { border: 0; border-radius: 50%; background: var(--ink); color: white; width: 36px; height: 36px; flex-shrink: 0; font-size: 20px; }
.help-reply { padding: 17px 20px; background: #eaf3ff; border-radius: 16px; margin-top: 12px; font-size: 12px; }
.import-label { cursor: pointer; }
.scope { font-size: 10px; color: var(--muted); margin-top: 10px; }
.inline-group { display: flex; gap: 8px; align-items: center; }
.confirmation { padding: 20px; background: #f0f6ff; border-radius: 14px; border: 1px solid #dce8f7; }
.hidden { display: none !important; }
.mobile-options, .mobile-brand { display: none; }
/* The welcome page is a quiet introduction, separate from the working studio. */
.is-home { display: block; background: #fff; }
.is-home>.sidebar, .is-home .topbar { display: none; }
.home-header { height: 74px; padding: 0 44px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ededf1; background: #ffffffd9; position: relative; z-index: 2; }
.home-header .brand { font-size: 17px; }
.home-header .brandmark { width: 31px; height: 31px; font-size: 22px; border-radius: 10px; }
.home-header nav { display: flex; align-items: center; gap: 27px; }
.text-link { padding: 0; border: 0; background: none; color: var(--green); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.text-link:hover { color: #004e9d; }
.home-header .text-link { color: #55555e; font-size: 11px; }
.home-header .btn { padding: 7px 14px; }
.hero { padding: 66px 24px 28px; text-align: center; position: relative; z-index: 1; }
.hero-eyebrow { color: #6e6e79; font-size: 10px; letter-spacing: 2.4px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 9px; }
.hero-eyebrow .dot { color: #0071e3; }
.hero h1 { font-size: clamp(48px, 6.3vw, 84px); line-height: 1.035; font-weight: 650; letter-spacing: -.05em; margin: 24px 0 24px; }
.hero h1 span { background: linear-gradient(115deg, #0067bc 8%, #357cf4 42%, #775bcc 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { font-size: 18px; line-height: 1.55; color: var(--muted); letter-spacing: -.35px; margin: 0 auto; max-width: 630px; }
.hero-actions { display: flex; gap: 26px; align-items: center; justify-content: center; margin: 27px 0 12px; }
.hero-primary { padding: 13px 23px; font-size: 14px; font-weight: 500; box-shadow: 0 4px 12px #0071e319; }
.demo-link { font-size: 14px; }
.demo-link span { font-size: 19px; }
.hero-caption { font-size: 11px; color: #86868b; margin: 17px 0 0; }
.product-stage { position: relative; width: min(870px, calc(100% - 100px)); margin: 26px auto 0; padding-bottom: 72px; }
.preview-glow { position: absolute; inset: -15% -12% -8%; background: radial-gradient(ellipse at 23% 70%, #d9e9ff88, transparent 57%), radial-gradient(ellipse at 78% 50%, #ede1fa77, transparent 55%); filter: blur(24px); pointer-events: none; }
.product-window { position: relative; background: #ffffffde; border: 1px solid #d8dce780; border-radius: 20px; box-shadow: 0 25px 65px #2c3c6620, 0 2px 4px #00000004, inset 0 1px 1px #fff; overflow: hidden; transform: perspective(1800px) rotateX(3deg); }
.window-top { height: 43px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8eaf0; background: #fbfbfdd9; font-size: 8px; color: #7c7f8a; letter-spacing: 1.2px; }
.window-dots { display: flex; gap: 6px; min-width: 85px; }
.window-dots i { height: 7px; width: 7px; border-radius: 50%; background: #d9dbe2; }
.preview-label { font-size: 8px; letter-spacing: 0; }
.preview-body { display: grid; grid-template-columns: 205px 1fr; min-height: 320px; }
.preview-nav { padding: 27px 16px; background: #f7f8fbc7; border-right: 1px solid #e8eaf2; }
.preview-nav-title { font-size: 10px; font-weight: 600; display: block; padding: 0 10px 17px; }
.preview-nav-row { display: flex; align-items: center; gap: 8px; padding: 10px; font-size: 10px; color: #6e7582; border-radius: 7px; margin-bottom: 5px; }
.preview-nav-row svg { width: 14px; height: 14px; }
.preview-nav-row>span { margin-left: auto; color: #569072; }
.preview-nav-row.selected { color: #2469c7; background: #e9f0fd; }
.preview-progress { padding: 27px 10px 0; font-size: 11px; font-weight: 550; }
.preview-progress small { display: block; font-size: 9px; font-weight: 400; color: #858b98; margin: 4px 0 12px; }
.preview-progress .track { height: 3px; }
.preview-conversation { padding: 24px 33px 30px; }
.preview-user { width: fit-content; margin-left: auto; background: #edf3fd; padding: 9px 15px; font-size: 11px; color: #486288; border-radius: 14px 14px 4px 14px; }
.preview-assistant { display: flex; gap: 11px; margin: 20px 0 15px; }
.preview-assistant .avatar { width: 27px; height: 27px; font-size: 17px; border-radius: 8px; }
.preview-assistant strong { font-size: 12px; font-weight: 600; }
.preview-assistant p { font-size: 11px; line-height: 1.6; color: #7b808d; margin: 5px 0 0; max-width: 355px; }
.preview-answer { border: 1px solid #e3e7f2; border-radius: 13px; background: #fff; padding: 17px 20px; margin-left: 38px; box-shadow: 0 4px 18px #14387704; }
.preview-answer>div { display: flex; align-items: center; gap: 6px; color: #3977c8; font-size: 8px; letter-spacing: .85px; }
.preview-answer p { font-size: 12px; line-height: 1.7; color: #535d71; margin: 10px 0 13px; }
.preview-pill { display: inline-flex; background: #f0f7f3; color: #3b7956; border-radius: 20px; padding: 5px 10px; font-size: 9px; }
.floating-pdf { position: absolute; display: flex; align-items: center; gap: 12px; padding: 16px 20px; right: -30px; bottom: 48px; border: 1px solid #fff; border-radius: 17px; background: #ffffffe6; backdrop-filter: blur(20px); box-shadow: 0 15px 35px #4f63831f, 0 2px 4px #00000005; transform: rotate(-3deg); }
.floating-pdf>svg { width: 29px; height: 29px; color: #4988dd; }
.floating-pdf strong { display: block; font-size: 11px; font-weight: 600; }
.floating-pdf div>span { display: block; font-size: 10px; color: #818591; }
.pdf-check { color: #448367; background: #eef8f1; border-radius: 50%; width: 23px; height: 23px; display: grid; place-items: center; font-size: 10px; margin-left: 12px; }
.journey { padding: 72px 40px 80px; background: var(--paper); }
.journey-heading { max-width: 1050px; margin: auto auto 38px; }
.journey-heading h2 { font-size: 43px; line-height: 1.12; font-weight: 600; letter-spacing: -1.9px; margin: 15px 0; }
.journey-heading>p { color: var(--muted); font-size: 15px; margin: 0; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1050px; margin: auto; }
.journey-grid article { background: white; padding: 30px; border-radius: 24px; position: relative; }
.journey-number { position: absolute; right: 26px; top: 29px; color: #c3c3cb; font-size: 11px; }
.journey-icon { color: #3978cb; margin-bottom: 23px; }
.journey-icon svg { width: 28px; height: 28px; stroke-width: 1.3; }
.journey-grid h3 { font-size: 24px; letter-spacing: -.8px; font-weight: 600; margin: 0 0 10px; }
.journey-grid p { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0; }
.privacy-panel { display: flex; align-items: center; gap: 27px; max-width: 1130px; margin: auto; padding: 65px 40px; }
.privacy-symbol { width: 62px; height: 72px; display: grid; place-items: center; flex-shrink: 0; color: #858e9b; }
.privacy-symbol svg { width: 55px; height: 55px; stroke-width: 1; }
.privacy-panel h2 { font-size: 23px; font-weight: 600; letter-spacing: -.6px; margin: 0 0 8px; }
.privacy-panel p { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.75; }
.privacy-panel>.text-link { margin-left: auto; white-space: nowrap; }
.home-footer { padding: 26px 44px; border-top: 1px solid #ededf1; font-size: 10px; color: #86868b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-dot { margin: 0 8px; }
.home-footer>div { display: flex; gap: 23px; }
.home-footer a, .home-footer .text-link { font-size: 10px; color: #6e6e73; }
.home-footer p { width: 100%; margin: 0; font-size: 9px; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.hero, .product-stage, .conversation, .page-heading { animation: appear .6s ease-out both; }
.product-stage { animation-delay: .1s; }
@media (max-width: 1250px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); max-width: 850px; }
  .snapshot { display: none; }
  .shell { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { width: 220px; padding: 26px 16px 18px; }
  .brand { font-size: 13px; }
  .wide { padding: 30px; }
  .question-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 19px; }
  .question-detail { padding: 24px; }
  .is-home { display: block; }
}
@media (max-width: 960px) {
  .wide { padding: 28px 22px; }
  .question-layout { grid-template-columns: 1fr; }
  .question-layout>aside { position: static; }
  .question-list { display: flex; gap: 6px; max-height: none; padding: 10px 0; overflow-x: auto; }
  .question-button { min-width: 155px; width: 155px; margin: 0; background: #eeeeF2; }
  .question-detail h2 { font-size: 20px; }
  .stat-box { padding: 17px 12px; }
  .stat-box .metric-value { font-size: 24px; }
  .home-header { padding: 0 28px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: 65px; }
  .hero-description { font-size: 17px; }
  .journey-grid { gap: 14px; }
  .journey-grid article { padding: 24px; }
  .journey-grid h3 { font-size: 21px; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: static; width: auto; padding: 17px 20px 10px; border-right: 0; border-bottom: 1px solid var(--line); display: block; }
  .brand { font-size: 16px; }
  .brandmark { height: 32px; width: 32px; }
  .brand small { font-size: 8px; }
  .sidebar .new-btn, .sidebar .eyebrow, .sidebar .steps, .sidebar .sidebar-bottom, .sidebar .progress-label, .sidebar .track { display: none; }
  .nav { display: flex; flex-direction: row; gap: 6px; margin: 17px 0 0; }
  .nav button { flex: 1; justify-content: center; padding: 9px 5px; font-size: 10px; gap: 5px; }
  .nav svg { width: 15px; height: 15px; }
  .topbar { padding: 12px 20px; min-height: 60px; gap: 10px; }
  .topbar-title { font-size: 11px; max-width: 190px; }
  .topbar small { display: none; }
  .mobile-options { display: inline-flex; }
  .content-grid { padding: 29px 20px 35px; }
  .fields { grid-template-columns: 1fr; gap: 23px; }
  .field.full { grid-column: 1; }
  .form-card { padding: 23px; border-radius: 20px; }
  input, textarea, select { font-size: 16px; }
  .message { gap: 12px; }
  .avatar { width: 29px; height: 29px; font-size: 17px; }
  .bubble h2 { font-size: 28px; letter-spacing: -.9px; }
  .bubble p { font-size: 13px; }
  .question-detail { padding: 22px; border-radius: 20px; }
  .wide { padding: 30px 20px; }
  .page-heading h1 { font-size: 33px; }
  .stat-row { gap: 8px; }
  .stat-box { padding: 15px 11px; }
  .stat-box .metric-value { font-size: 22px; }
  .report-section { padding: 22px; }
  .report-section p { font-size: 12px; }
  .report-section h2 { font-size: 22px; }
  .form-actions { flex-wrap: wrap; }
  .user-message { margin-left: 40px; }
  .fine-print { font-size: 9px; }
  .badge { font-size: 9px; }
  .scope { font-size: 9px; }
  .segment { flex-wrap: wrap; }
  .segment .inline-group { margin-left: auto; }
  .home-header { height: 65px; padding: 0 22px; }
  .home-header .brand { font-size: 15px; }
  .home-header nav { gap: 15px; }
  .home-header .restore-link { display: none; }
  .hero { padding: 52px 22px 22px; }
  .hero h1 { font-size: clamp(43px, 8.4vw, 62px); margin-top: 23px; }
  .hero-description { font-size: 16px; max-width: 480px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 1.9px; }
  .hero-actions { gap: 20px; }
  .hero-primary { padding: 12px 20px; font-size: 13px; }
  .demo-link { font-size: 13px; }
  .product-stage { width: calc(100% - 60px); margin-top: 19px; padding-bottom: 55px; }
  .preview-body { grid-template-columns: 160px 1fr; }
  .preview-nav { padding: 22px 10px; }
  .preview-nav-row { font-size: 8px; padding: 9px 7px; }
  .preview-conversation { padding: 22px; }
  .preview-answer { margin-left: 0; padding: 15px; }
  .floating-pdf { right: -12px; bottom: 35px; padding: 13px 16px; }
  .journey { padding: 50px 24px; }
  .journey-heading h2 { font-size: 36px; }
  .journey-grid { grid-template-columns: 1fr; gap: 15px; }
  .journey-grid article { padding: 26px; }
  .journey-icon { margin-bottom: 16px; }
  .journey-grid h3 { font-size: 24px; }
  .journey-grid p { font-size: 14px; max-width: 480px; }
  .privacy-panel { padding: 44px 26px; gap: 18px; flex-wrap: wrap; }
  .privacy-symbol { width: 42px; }
  .privacy-symbol svg { width: 42px; }
  .privacy-panel>div:not(.privacy-symbol) { flex: 1; }
  .privacy-panel h2 { font-size: 22px; }
  .privacy-panel>.text-link { margin-left: 60px; }
  .home-footer { padding: 25px; }
}
@media (max-width: 480px) {
  .home-header { padding: 0 18px; }
  .home-header .brand { font-size: 13px; gap: 8px; }
  .home-header nav>.text-link { display: none; }
  .home-header .btn { font-size: 10px; padding: 7px 12px; }
  .home-header .btn svg { display: none; }
  .hero { padding: 44px 18px 20px; }
  .hero h1 { font-size: clamp(36px, 9.1vw, 43px); letter-spacing: -.055em; line-height: 1.08; }
  .hero-description { font-size: 14px; max-width: 330px; }
  .hero-description br { display: none; }
  .hero-actions { gap: 18px; margin-top: 23px; }
  .hero-primary { padding: 11px 15px; font-size: 11px; gap: 5px; }
  .demo-link { font-size: 11px; gap: 5px; }
  .hero-caption { font-size: 9px; }
  .product-stage { width: calc(100% - 38px); }
  .product-window { border-radius: 17px; }
  .window-top { padding: 0 13px; height: 36px; }
  .window-top>span:nth-child(2) { display: none; }
  .preview-body { display: block; min-height: 0; }
  .preview-nav { display: none; }
  .preview-conversation { padding: 18px 18px 30px; }
  .preview-user { font-size: 9px; padding: 7px 11px; }
  .preview-assistant { margin: 15px 0; gap: 9px; }
  .preview-assistant p { font-size: 10px; }
  .preview-answer p { font-size: 11px; }
  .floating-pdf { right: 5px; bottom: 31px; padding: 10px 14px; }
  .floating-pdf strong { font-size: 10px; }
  .floating-pdf div>span { font-size: 9px; }
  .floating-pdf>svg { height: 23px; width: 23px; }
  .journey-heading .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .journey-heading h2 { font-size: 32px; }
  .journey-heading p { font-size: 14px; }
  .journey { padding: 43px 20px; }
  .privacy-panel { padding: 38px 22px; }
  .privacy-panel h2 { font-size: 20px; }
  .privacy-panel p { font-size: 11px; }
  .topbar-title { max-width: 132px; }
  .topbar { padding: 10px 16px; gap: 7px; }
  .topbar .badge { padding: 5px 7px; font-size: 8px; }
  .topbar .btn { padding: 6px 9px; font-size: 10px; }
  .content-grid, .wide { padding-left: 16px; padding-right: 16px; }
  .form-card { padding: 20px 17px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-box { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .stat-box .metric-value { margin-top: 0; }
  .question-detail { padding: 19px 17px; }
  .question-detail h2 { font-size: 18px; }
  .response-draft { padding: 16px; }
  .response-draft .toolbar { align-items: stretch; }
  .response-draft .toolbar .btn { flex: 1 0 100%; }
  .response-draft textarea { font-size: 14px; }
  .empty-state { padding: 30px 20px; }
  .inline-group { flex-wrap: wrap; }
  .report-section { padding: 19px; }
  .home-footer>div { flex-wrap: wrap; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; color: #1d1d1f; font-size: 10pt; }
  .sidebar, .topbar, .toolbar, .no-print, #toast, .modal-backdrop, .fine-print { display: none !important; }
  .shell { display: block; }
  .main { display: block; }
  .wide { padding: 0; max-width: none; }
  .report-section { padding: 15px 0; border: 0; border-radius: 0; border-bottom: 1px solid #ddd; margin: 10px 0; box-shadow: none; }
  .stat-row { margin: 12px 0; }
  .stat-box { padding: 12px; }
  .table-wrap { overflow: visible; }
  table { font-size: 8pt; white-space: normal; }
  th, td { padding: 8px 5px; }
  .question-layout { display: block; }
  .question-layout>aside { display: none; }
  .question-detail { border: 0; box-shadow: none; }
  .badge { border: 1px solid #ccc; }
  .report-section h2 { font-size: 13pt; }
  .report-section p, .report-section li { font-size: 9pt; }
  a { color: #222; text-decoration: none; }
}
/* Contain decorative light without introducing horizontal scrolling. */
.landing { overflow: clip; }
.question-layout > aside { min-width: 0; }
.question-list { min-width: 0; }
.check-field { margin: 0; padding: 0; border: 0; }
.check-field legend { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-grid .check { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 11px; }
.choice-grid .check:has(input:checked) { background: #edf4ff; border-color: #b8d4fa; }
.position-note { padding: 16px 18px; background: #eef4ff; border-left: 3px solid #0071e3; border-radius: 0 12px 12px 0; margin: 20px 0 15px; }
.position-note strong { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #376190; }
.position-note p { font-size: 14px; line-height: 1.65; margin: 8px 0 0; }
.argument-picker { margin: 25px 0; border-top: 1px solid var(--line); padding-top: 22px; }
.argument-picker>summary { font-size: 16px; font-weight: 600; cursor: pointer; }
.argument-picker>summary span { font-size: 10px; color: var(--muted); float: right; font-weight: 400; }
.argument-options { display: grid; gap: 10px; margin: 18px 0 26px; }
.argument-option { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; }
.argument-option:has(input:checked) { border-color: #a6c9f2; background: #f5f9ff; }
.argument-option input { margin-top: 4px; }
.argument-option>span { min-width: 0; }
.argument-option strong { font-size: 13px; display: block; }
.argument-option span>span { display: block; font-size: 12px; line-height: 1.75; color: #686875; margin-top: 7px; }
.matched { display: inline-block; color: #356ca8; font-size: 9px; margin-top: 5px; }
.argument-picker h3 { font-size: 16px; font-weight: 600; margin: 22px 0 14px; }
.argument-picker .response-options { margin-top: 18px; }
.argument-picker .response-options .field { margin-top: 15px; }
.previous-draft { margin: 20px 0; font-size: 12px; color: var(--muted); }
.previous-draft summary { cursor: pointer; }
.previous-draft .answer-card { padding: 18px; margin: 15px 0; background: #f5f5f7; border-radius: 12px; }
.review-index { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 25px; }
.review-index button { display: grid; grid-template-columns: 36px 1fr; text-align: left; gap: 2px 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.review-index button>span { grid-row: 1 / 3; color: var(--green); font-size: 12px; }
.review-index strong { font-size: 12px; font-weight: 600; }
.review-index small { color: var(--muted); font-size: 10px; }
#draft-text[readonly] { min-height: 470px; }
@media(max-width:760px) { .nav { overflow-x: auto; } .nav button { min-width: 96px; flex-shrink: 0; } .choice-grid { grid-template-columns: 1fr; } .review-index { grid-template-columns: 1fr; } .argument-option { padding: 14px; } .argument-picker>summary { font-size: 14px; } .argument-picker>summary span { float: none; margin-left: 6px; } }

/* Broker HelpLine: four-step journey and contextual response choices. */
.hero h1 { font-size:clamp(42px,5.2vw,72px);line-height:1.08;max-width:1160px;margin-left:auto;margin-right:auto; }
.submit-steps { padding:56px 28px 64px; }
.submit-steps .journey-heading { margin-bottom:28px; }
.submit-steps .journey-heading h2 { font-size:clamp(28px,3.1vw,42px); }
.submit-steps .journey-grid { grid-template-columns:repeat(4,minmax(0,1fr));max-width:1200px;gap:18px; }
.submit-steps .journey-grid article { padding:28px 23px;border:1px solid #e5e7eb;box-shadow:0 8px 28px #17243d04; }
.submit-steps .journey-grid h3 { font-size:21px;line-height:1.2; }
.steps-note { text-align:center;color:var(--muted);font-size:12px;margin-top:24px; }
.route-picker { border:1px solid #dce7f7;background:#f5f9ff;padding:22px;border-radius:18px;margin:24px 0; }
.route-picker select { background:white;width:100%; }
.route-picker .hint { margin:12px 0 0; }
@media(max-width:1000px){.submit-steps .journey-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.hero h1{font-size:clamp(37px,5.6vw,60px);}}
@media(max-width:540px){.submit-steps{padding:35px 20px;}.submit-steps .journey-grid{grid-template-columns:1fr;}.hero h1{font-size:clamp(34px,8.5vw,43px);}.route-picker{padding:17px;}}
