/* Deep content surfaces: homepage and the two AI applications. Navigation lives in sidebar-deep.css. */
html:has(body.app-shell--deep) {color-scheme:dark;scrollbar-color:#39423e #080b0b;scrollbar-width:thin}
html:has(body.app-shell--deep)::-webkit-scrollbar {width:6px;height:6px;background:#080b0b}
html:has(body.app-shell--deep)::-webkit-scrollbar-thumb {background:#39423e;border-radius:6px}
body.app-shell--deep {
  --bg:#080b0b; --surface:#0e1312; --surface-muted:#18201d;
  --text-primary:#e7e8e1; --text-secondary:#a5afa9;
  --border:rgba(178,194,186,.16); --accent:#c1b5e5;
  --accent-soft:rgba(193,181,229,.09); --success:#9dcfc2;
  --warning:#d7bf89; --danger:#efa5a5; --radius-sm:8px; --radius-md:12px;
  --shadow-sm:none; color-scheme:dark;
  background:var(--bg); color:var(--text-primary); font-size:14px;
  scrollbar-color:#39423e var(--bg); scrollbar-width:thin;
}
.app-shell--deep *, .app-shell--deep *::before,.app-shell--deep *::after {box-sizing:border-box}
.app-shell--deep ::selection {background:#c1b5e53d;color:#fff}
.app-shell--deep ::-webkit-scrollbar {width:6px;height:6px}
.app-shell--deep ::-webkit-scrollbar-thumb {background:#39423e;border-radius:6px}
.app-shell--deep ::-webkit-scrollbar-track {background:transparent}
.app-shell--deep button,.app-shell--deep input,.app-shell--deep textarea {font:inherit}
.app-shell--deep input,.app-shell--deep textarea {caret-color:var(--accent)}
.app-shell--deep input::placeholder,.app-shell--deep textarea::placeholder {color:var(--text-secondary);opacity:1}
.app-shell--deep :focus-visible {outline:2px solid var(--accent);outline-offset:4px}
.app-shell--deep button {cursor:pointer}
.app-shell--deep button:disabled {cursor:wait;opacity:.55}
.app-shell--deep .app-shell-main {padding:28px clamp(24px,3.2vw,48px);overflow-x:visible}
.app-shell--deep .app-section-heading {margin:0 0 20px}
.app-shell--deep .app-section-heading h1 {font-size:27px;font-weight:500;letter-spacing:-.025em;margin:0}
.app-shell--deep .app-section-tabs {gap:24px;padding:0;margin:0 0 24px;border-bottom:1px solid var(--border)}
.app-shell--deep .app-section-tabs a {border-radius:0;padding:0 1px 11px;min-height:44px;font-weight:400}
.app-shell--deep .app-section-tabs a:hover {background:none;color:var(--text-primary)}
.app-shell--deep .app-section-tabs a[aria-current="page"] {background:none;color:var(--accent);box-shadow:0 1px 0 var(--accent)}
.app-shell--deep .text-muted {color:var(--text-secondary)}
.app-shell--deep .btn {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border-radius:8px;background:transparent;color:var(--text-primary);border:1px solid var(--border);text-decoration:none;white-space:nowrap}
.app-shell--deep .btn:hover {background:var(--surface-muted)}
.app-shell--deep .btn-primary {background:rgba(193,181,229,.11);color:#ddd4f5;border-color:rgba(193,181,229,.25)}
.app-shell--deep .btn-primary:hover {background:rgba(193,181,229,.18)}
.app-shell--deep .btn-outline-danger {color:var(--danger)}
.app-shell--deep .btn .app-icon {width:17px;height:17px}
@media(max-width:900px) {
 .app-shell--deep .app-shell-main {padding:22px 20px}
 .app-shell--deep .app-section-heading {display:none}
 .app-shell--deep .app-section-tabs {margin-bottom:18px;gap:22px}
}
@media(prefers-reduced-motion:reduce) {.app-shell--deep * {scroll-behavior:auto!important;transition:none!important;animation:none!important}}

