/* DeepBot site: the app's "warm paper" look - Manrope for text, Bricolage Grotesque for headings,
   the yellow of the mascot as the one accent. */

@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap;
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 800; font-display: swap;
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 800; font-display: swap;
  src: url("/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: oklch(0.962 0.014 85);
  --bg2: oklch(0.977 0.01 87);
  --card: oklch(1 0 0);
  --fg: oklch(0.271 0.012 78);
  --muted: oklch(0.514 0.028 83);
  --line: oklch(0.271 0.012 78 / 10%);
  --soft: oklch(0.947 0.018 86);
  --ink: #14161c;
  --yolk: #ffd43b;
  --yolk-ink: #3b2f00;
  --ok: oklch(0.55 0.13 150);
  --warn: oklch(0.62 0.14 70);
  --bad: oklch(0.56 0.18 28);
  --r: 14px;
  --shadow: 0 1px 2px oklch(0 0 0 / 4%), 0 8px 24px oklch(0.3 0.03 80 / 8%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(0.188 0.004 286); --bg2: oklch(0.215 0.006 286); --card: oklch(0.232 0.008 286);
    --fg: oklch(0.939 0.007 97); --muted: oklch(0.699 0.013 92); --line: oklch(1 0 0 / 10%);
    --soft: oklch(0.258 0.007 286); --shadow: 0 1px 2px oklch(0 0 0 / 30%), 0 10px 30px oklch(0 0 0 / 30%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 "Manrope", system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: "Bricolage Grotesque", "Manrope", sans-serif; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: .9em; }
:focus-visible { outline: 2px solid var(--yolk); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.2rem "Bricolage Grotesque", sans-serif; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); background: var(--soft); }
.top .spacer { flex: 1; }
@media (max-width: 720px) { .nav a.opt { display: none; } .top .wrap { gap: 10px; } .top .btn.ghost { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font: 700 .95rem "Manrope", sans-serif; text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.yolk { background: var(--yolk); color: var(--yolk-ink); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost:hover { background: var(--soft); }
.btn.sm { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }
.btn.bad { background: var(--bad); }
.btn.ok { background: var(--ok); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.yolk):not(.ghost):not(.bad):not(.ok) { background: var(--fg); color: var(--bg); } }

/* hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--yolk); box-shadow: 0 0 0 3px oklch(0.88 0.17 95 / 35%); }
.hero mark { background: linear-gradient(transparent 58%, var(--yolk) 58% 92%, transparent 92%); color: inherit; padding: 0 .08em; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* the mock window in the hero */
.window { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.window .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.chat { padding: 18px; display: grid; gap: 12px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .93rem; }
.bubble.me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { background: var(--soft); border-bottom-left-radius: 4px; }
.mini-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; background: var(--bg2); }
.mini-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--yolk); display: grid; place-items: center; font-weight: 800; color: var(--yolk-ink); }
.steps-done { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.steps-done span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 56ch; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.feature .glyph { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--soft); margin-bottom: 14px; font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* app cards */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.app { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; transition: transform .14s ease, box-shadow .14s ease, border-color .14s; min-width: 0; }
.app:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in oklch, var(--fg) 18%, transparent); }
.app .head { display: flex; gap: 14px; align-items: center; min-width: 0; }
.app h3 { margin: 0; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app p { margin: 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.app .meta { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); }
.icon { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex: none; background: var(--soft); border: 1px solid var(--line); }
.icon.lg { width: 88px; height: 88px; border-radius: 22px; }
.icon.ph { display: grid; place-items: center; font: 800 1.3rem "Bricolage Grotesque"; color: var(--yolk-ink); background: var(--yolk); }

/* catalogue */
.searchbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 18px; }
.searchbar input[type="search"] { flex: 1 1 280px; min-width: 0; }
input, select, textarea { font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: color-mix(in oklch, var(--yolk) 70%, var(--fg)); box-shadow: 0 0 0 3px oklch(0.88 0.17 95 / 30%); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: .87rem; font-weight: 600; color: var(--muted); }
.chip:hover { color: var(--fg); }
.chip[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { opacity: .6; margin-left: 4px; font-weight: 500; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }

/* app page */
.banner { height: clamp(140px, 24vw, 280px); border-radius: 0 0 22px 22px; background: linear-gradient(135deg, var(--yolk), oklch(0.86 0.12 60)); background-size: cover; background-position: center; }
.app-hero { display: flex; gap: 22px; align-items: flex-end; margin-top: 14px; flex-wrap: wrap; }
.app-hero > .icon.lg { margin-top: -62px; }
.app-hero .icon.lg { box-shadow: var(--shadow); border: 4px solid var(--bg); background-color: var(--card); }
.app-hero .title { flex: 1; min-width: 220px; padding-bottom: 6px; }
.app-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 4px; }
.app-hero .actions { display: flex; gap: 10px; padding-bottom: 8px; flex-wrap: wrap; }
.byline { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .95rem; }
.byline img { width: 22px; height: 22px; border-radius: 50%; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 32px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
.prose { font-size: 1.02rem; }
.prose img { border-radius: 12px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: inherit; text-decoration-color: var(--yolk); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; margin: 6px 0 30px; }
.shots figure { margin: 0; flex: 0 0 min(78%, 560px); scroll-snap-align: start; }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); cursor: zoom-in; }
.shots figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 16px; }
.panel h3 { font-size: 1rem; margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.perm { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; padding: 6px 0; }
.perm b { font-weight: 700; }
.perm .dot { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--soft); display: grid; place-items: center; font-size: .85rem; }
details.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.faq summary::after { content: "+"; color: var(--muted); font-weight: 500; }
details.faq[open] summary::after { content: "−"; }
details.faq .prose { margin-top: 8px; font-size: .97rem; }
.log { border-left: 2px solid var(--line); padding-left: 16px; margin-bottom: 18px; }
.log h4 { font-size: 1rem; margin-bottom: 4px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--soft); font-size: .8rem; margin: 0 4px 6px 0; text-decoration: none; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-bottom: 26px; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: oklch(0 0 0 / 82%); display: none; place-items: center; z-index: 50; padding: 24px; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 90vh; border-radius: 12px; }

/* docs and forms */
pre { background: var(--ink); color: #f2efe6; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: .85rem; line-height: 1.55; }
:not(pre) > code { background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.notice { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); margin-bottom: 18px; }
.notice.bad { border-color: color-mix(in oklch, var(--bad) 40%, transparent); background: color-mix(in oklch, var(--bad) 8%, var(--card)); }
.notice.ok { border-color: color-mix(in oklch, var(--ok) 40%, transparent); background: color-mix(in oklch, var(--ok) 8%, var(--card)); }
table.list { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--soft); }
.badge.pending { background: color-mix(in oklch, var(--warn) 18%, var(--card)); }
.badge.approved, .badge.listed { background: color-mix(in oklch, var(--ok) 18%, var(--card)); }
.badge.rejected, .badge.delisted { background: color-mix(in oklch, var(--bad) 16%, var(--card)); }
.finding { padding: 8px 12px; border-radius: 10px; margin-bottom: 6px; font-size: .9rem; background: var(--soft); }
.finding.error { background: color-mix(in oklch, var(--bad) 14%, var(--card)); }
.finding.warning { background: color-mix(in oklch, var(--warn) 16%, var(--card)); }
.files { max-height: 320px; overflow: auto; font-size: .82rem; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 64px;
}
.section + .foot, main:has(> .section:last-child) + .foot { margin-top: 0; }
.foot { color: var(--muted); font-size: .9rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; margin-left: 16px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero mark { background: none; color: var(--yolk); }
  :root:not([data-theme="light"]) .bubble.me { background: oklch(0.32 0.01 286); }
  :root:not([data-theme="light"]) .chip[aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
}

/* ---------------------------------------------------------------- developer docs */
.docs { display: grid; grid-template-columns: 210px minmax(0, 1fr) 190px; gap: 40px; padding-top: 32px; align-items: start; }
.docs:not(:has(.doctoc)) { grid-template-columns: 210px minmax(0, 1fr); }
@media (max-width: 1100px) { .docs { grid-template-columns: 200px minmax(0, 1fr); } .doctoc { display: none; } }
@media (max-width: 820px) { .docs, .docs:not(:has(.doctoc)) { grid-template-columns: 1fr; } .docnav { position: static !important; display: flex !important; flex-wrap: wrap; gap: 4px; } .docnav .navlabel { width: 100%; } }
.docnav, .doctoc { position: sticky; top: 84px; display: grid; gap: 1px; font-size: .9rem; max-height: calc(100vh - 100px); overflow: auto; }
.docnav a, .doctoc a { text-decoration: none; color: var(--muted); padding: 5px 10px; border-radius: 8px; }
.docnav a:hover, .doctoc a:hover { background: var(--soft); color: var(--fg); }
.docnav a[aria-current] { background: var(--card); color: var(--fg); font-weight: 700; box-shadow: inset 3px 0 0 var(--yolk); }
.navlabel { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 14px 10px 4px; }
.docbody { min-width: 0; }
.docbody > h1, .docprose h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }
.docbody .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.docprose { font-size: 1rem; line-height: 1.7; }
.docprose h2 { margin-top: 2em; padding-top: .3em; border-top: 1px solid var(--line); font-size: 1.5rem; }
.docprose h3 { margin-top: 1.6em; }
.docprose h2, .docprose h3, .docprose h4 { position: relative; scroll-margin-top: 84px; }
.docprose .anchor { position: absolute; left: -1.1em; color: var(--muted); text-decoration: none; opacity: 0; font-weight: 400; }
.docprose h2:hover .anchor, .docprose h3:hover .anchor { opacity: 1; }
.docprose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .92rem; display: block; overflow-x: auto; }
.docprose th, .docprose td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.docprose th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.docprose td code { white-space: nowrap; }
.docprose blockquote { margin: 1em 0; padding: 4px 16px; border-left: 3px solid var(--yolk); color: var(--muted); }
.docprose li { margin: 4px 0; }
.code { position: relative; margin: 1em 0 1.4em; }
.code pre { margin: 0; max-height: 640px; }
.code .copy { position: absolute; top: 8px; right: 8px; z-index: 1; border: 1px solid rgb(255 255 255 / 15%); background: rgb(255 255 255 / 8%); color: #f2efe6; border-radius: 8px; padding: 4px 10px; font: 600 .78rem "Manrope", sans-serif; cursor: pointer; opacity: .7; }
.code:hover .copy { opacity: 1; }
figure.shot { margin: 1.4em 0 1.8em; }
figure.shot img { display: block; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; max-width: 100%; }
figure.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.aiblock { margin: 28px 0 36px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in oklch, var(--yolk) 22%, var(--card)), var(--card)); border: 1px solid color-mix(in oklch, var(--yolk) 50%, var(--line)); }
.aiblock h2 { margin: 0 0 4px; border: 0; padding: 0; font-size: 1.4rem; }
.aiblock p { margin: 8px 0; }
.tabs { margin-top: 12px; }
.tablist { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.tablist button { border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: 6px 14px; font: 600 .88rem "Manrope", sans-serif; cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tablist button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); } }
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 12px 0 30px; }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; } }
.where a { display: grid; gap: 6px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; transition: box-shadow .15s, transform .15s; }
.where a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.where img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; border: 1px solid var(--line); }
.where span, .doccard span { color: var(--muted); font-size: .9rem; }
.docgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 12px 0 30px; }
.doccard { display: grid; gap: 4px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: border-color .15s; }
.doccard:hover { border-color: color-mix(in oklch, var(--yolk) 70%, var(--line)); }
.pagenav { display: flex; justify-content: space-between; gap: 12px; margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.pagenav a { text-decoration: none; font-weight: 700; }
.filetree { font: .85rem ui-monospace, "JetBrains Mono", monospace; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 18px 0 8px; columns: 2; }
.filetree a { text-decoration: none; color: var(--muted); }
.filetree a:hover { color: var(--fg); }
.filehead { font: 700 1rem ui-monospace, "JetBrains Mono", monospace; margin: 32px 0 6px; scroll-margin-top: 84px; }
.aiblock pre { white-space: pre-wrap; word-break: break-word; padding-right: 76px; }
