/* Base for the white-canvas versions: the page is white, components carry the colour. */
body { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; --lang-r: var(--radius-sm); }
.top { flex: none; display: flex; align-items: center; gap: 8px; min-height: 68px; padding: 0 24px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: 16px; }
.brand-text strong { display: block; font-family: var(--font-heading); font-size: 15px; line-height: 20px; color: var(--heading); white-space: nowrap; }
.brand-text small { display: block; font-size: 12.5px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: var(--radius-sm); white-space: nowrap; }
.nav-btn:hover { background: var(--hover, var(--surface-hover)); }
.spacer { flex: 1; }
.login { height: 36px; padding: 0 16px; border-radius: var(--radius-sm); background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 700; white-space: nowrap; }
.login:hover { background: var(--primary-strong); }
.scroll { flex: 1; min-height: 0; overflow-y: auto; }
.stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 64px; align-items: center; width: min(1200px, 100% - 64px); min-height: 100%; margin: 0 auto; padding: 32px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.lead h2 { margin-top: 12px; font-family: var(--font-heading); font-size: clamp(36px, 3.7vw, 54px); line-height: 1.16; font-weight: 800; letter-spacing: -.02em; color: var(--heading); }
.lede { max-width: 54ch; margin-top: 14px; font-size: 17px; line-height: 27px; color: var(--text-2); }
[data-dock="welcome"] { margin-top: 24px; }
.mode { white-space: nowrap; }
.field { background: transparent; }
.guest { margin-top: 18px; font-size: 14px; line-height: 21px; color: var(--text-2); }
.guest-acts { margin-top: 12px; }
.thread { display: grid; gap: 24px; width: min(1000px, 100% - 64px); margin: 0 auto; padding: 28px 0; }
.bot-mark { display: none; }
.sources-toggle { display: none; }
.sources-title { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--heading); }
.source { display: flex; margin-top: 8px; font-size: 13.5px; }
.dock-chat { flex: none; padding: 10px 24px; border-top: 1px solid var(--rule); background: var(--bg); }
.dock-chat .composer { width: min(1000px, 100%); margin: 0 auto; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 20px; }
[data-view="welcome"] .dock-chat { display: none; }
[data-slot="notice"] { flex: none; padding: 7px 24px; background: var(--chat-notice-bg); color: var(--chat-notice-fg); font-size: 13px; line-height: 19px; --link-c: var(--chat-notice-fg); }
[data-slot="notice"] .notice-in { justify-content: center; }
@media (max-width: 1100px) { .brand-text small { display: none; } }
@media (max-width: 960px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; width: calc(100% - 48px); }
}
@media (max-width: 860px) { .brand-text { display: none; } .brand { margin-right: 8px; } }
@media (max-width: 760px) { .dock-chat .composer { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .top { padding: 0 8px 0 12px; min-height: 58px; gap: 4px; }
  .nav-text { display: none; }
  .stage { width: calc(100% - 32px); padding: 20px 0; gap: 22px; }
  .lead h2 { font-size: 31px; margin-top: 8px; }
  .lede { font-size: 15px; line-height: 23px; margin-top: 10px; }
  [data-dock="welcome"] { margin-top: 18px; }
  .thread { width: calc(100% - 24px); padding: 16px 0; }
  .send-text { display: none !important; }
  .send { padding: 0 !important; width: 46px; }
  .dock-chat { padding: 8px; }
  [data-slot="notice"] { padding: 6px 12px; font-size: 12.5px; }
}
@media (max-width: 400px) {
  .modes { gap: 2px !important; }
  .mode .ic { display: none; }
}
.composer { display: grid; gap: 6px; }
