/* Website-only presentation polish; the official app component anatomy is preserved. */
.dt-panel {background:var(--color-bg-elevated);border:1px solid var(--color-border-subtle);box-shadow:var(--glass-shadow);backdrop-filter:none;}
.dt-panel__scroll {padding:24px;}
.dt-ask,.dt-open {min-height:48px;width:100%;}
.dt-tools4 {gap:10px;}
.dt-tools4 .btn-tile {aspect-ratio:16/9;min-width:0;padding:10px 8px;font-size:12px;}
.rdcol,.focus-reader .prose {font-size:16px;line-height:1.75;max-width:68ch;overflow-wrap:anywhere;}
.rdcol h1,.focus-reader .prose h1 {font-size:30px;line-height:1.2;letter-spacing:-.025em;margin-bottom:24px;}
.rdcol h2,.focus-reader .prose h2 {font-size:23px;line-height:1.3;margin-top:32px;margin-bottom:14px;}
.rdcol p,.focus-reader .prose p {margin-block:16px;}
.rdcol pre,.focus-reader .prose pre {padding:18px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);background:var(--color-bg-soft);overflow-x:auto;line-height:1.65;font-size:13px;}
.rdcol blockquote,.focus-reader .prose blockquote {border-left:3px solid var(--color-accent);padding:4px 18px;margin-block:24px;color:var(--color-text-secondary);}
.rdcol table,.focus-reader .prose table {width:100%;border-collapse:collapse;}
.rdcol th,.rdcol td,.focus-reader .prose th,.focus-reader .prose td {padding:12px;border-bottom:1px solid var(--color-border-subtle);text-align:left;}
@media(max-width:820px){.dt-panel__scroll{padding:20px;}.dt-panel{border-radius:var(--radius-lg);margin:16px;}.rdcol{font-size:15px;}}

@font-face {font-family: 'Geist';src:url('/fonts/geist/Geist-Variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;}
:root {--font-sans:'Geist',sans-serif;--font-body:'Geist',sans-serif;--font-mono:'Geist',sans-serif;--font-display:'But Head','Geist',sans-serif;}

/* Full official titlebar restored: theme, Chat AI, notifications and settings. */

/* ask-dock-surface.css — the compact Chat AI dock's NEUTRAL reading surface
   (founder 2026-10-09: the dock must read as a neutral dialog — white in
   light, deep neutral in dark — while the chosen theme accent stays on the
   controls and the orb).

   Mechanism: the GooeyFAB morph panel carries `.ask-dock-panel` (AskDock.tsx
   panelClassName). Inside that scope we re-bind the PRIMITIVE surface/text/
   border color tokens to a paired neutral set — the semantic layer
   (--surface-*, --content-*, --border-*) and every Tailwind utility
   (bg-bg-elevated, bg-field, border-border-subtle, …) resolve through them
   lazily, so the whole compact chat (header, thread, composer, cards) de-
   tints without touching any component. Scope is the panel ONLY: the page,
   the fullscreen /ai surface, and every other theme surface are untouched.

   Light pair reuses the pure-light neutral values byte-identical
   (packages/ds/src/themes/pure-light.css); the dark pair is a true neutral
   grey ramp (no warm tint). Accent, on-accent, status, and knob tokens are
   deliberately NOT overridden — controls keep the theme accent. */

.ask-dock-panel {
  /* ── light scheme (default) — pure-white surfaces, neutral greys ── */
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-soft: #f5f5f3;
  --color-bg-hover: #ededeb;
  --color-bg-cream: #fafaf8;
  --color-border: #e3e2df;
  --color-border-subtle: #efedea;
  --color-border-strong: #cfccc7;
  --color-text: #131312;
  --color-text-secondary: #545254;
  --color-text-muted: #6a686a;
  --color-text-inverse: #ffffff;
}

[data-scheme='dark'] .ask-dock-panel {
  /* ── dark scheme — deep neutral grey, zero warm/palette tint ── */
  --color-bg-elevated: #1c1c1e;
  --color-bg-card: #232325;
  --color-bg-soft: #2a2a2c;
  --color-bg-hover: #333335;
  --color-bg-cream: #262628;
  --color-border: #3a3a3c;
  --color-border-subtle: #2c2c2e;
  --color-border-strong: #48484a;
  --color-text: #f2f2f2;
  --color-text-secondary: #c7c7c9;
  --color-text-muted: #a8a8ac;
  --color-text-inverse: #111112;
}

/* Mobile drawer: the app's sidebar drawer is `glass` (translucent), so the
   page showed through it. Opaque elevated surface for the demo. */
.glass.w-64 { background-color: var(--color-bg-elevated) !important; }

/* The demo build is older than the app source: its icon-only `.btn.size-7` buttons (Chat AI dock header)
   keep .btn's 12px side padding, which squeezed the icons to 2px and made the buttons look missing.
   Current app source uses `btn-icon`; this brings the demo in line. */
.btn.size-6, .btn.size-7, .btn.size-8 { padding: 0; }

/* The titlebar cluster is 48px tall; the build's 40px bar clipped it (bell, settings, account). */
[role="banner"].h-10 { height: 3rem; }
[data-shell] { --shell-inset-top: calc(60px + env(safe-area-inset-top, 0px)); }

/* Phones: the titlebar cluster (bell, settings, account) shares the mobile header's row,
   so both sides of the top bar sit on the same centre line (y 56). */
@media (max-width: 767px) { [role="banner"].h-10 { top: 28px; } }

/* Collections strip: the New tile starts at the folders' top (the row centred it, 6px low),
   keeps the folders' label spacing, and the first folder clears it instead of sliding under it. */
.folder-strip-new { align-self: flex-start; margin-top: 4px; row-gap: 8px; }
.folder-strip { padding-left: 4.5rem !important; }

/* Touch screens: the app keeps each card's hover tools (select chip, star/move/more) always visible, which in this
   narrow demo covered the start and end of every title. The demo is a walkthrough, not a workspace: hide them there. */
@media (hover:none), (max-width:520px) {
  .ds-select-chip--overlay,
  .group\/item-action > .absolute.z-20 {display:none !important;}
}

/* Narrow demo: the folder strip is pulled 32px under the "New" tile (desktop bleed for its fade mask), so the first
   folder slid beneath it. Start the strip after the tile instead. */
@media (max-width:640px) {
  .folder-strip {margin-left:0 !important;padding-left:10px !important;}
}

/* The Home page's "Chat AI" suggestion card is out of the demo (founder 10-21): the ask section right above the demo
   already shows that flow, and the card only repeated it. */
[data-testid="home-ask-card"] { display: none !important; }

/* Phones: the mobile header is an opaque bar, and the sticky filter row sticks under it, not behind it (founder 10-21, "menu begado").
   The bar used to be translucent, so the cards and the filter row showed through it at the same height. */
@media (max-width: 767px) {
  header.fixed.glass {background: var(--color-bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;}
  main#main-content .glass-header {top: 80px; background: var(--color-bg);}
}
