/* Streamline Help Center. Tokens from the Figma Design Token Library (see Streamline Brain 2.0/design/visual-identity.md). */
@font-face { font-family: "Cabrio"; src: url(fonts/Cabrio-Web-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabrio"; src: url(fonts/Cabrio-Web-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabrio"; src: url(fonts/Cabrio-Web-Extra-Bold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/Figtree-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/Figtree-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/Figtree-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/Figtree-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --lime-50: hsl(84 100% 94%); --lime-100: hsl(83 97% 87%); --lime-200: hsl(83 96% 80%); --lime-300: hsl(82 96% 73%); --lime-400: hsl(82 95% 66%); --lime-600: hsl(82 96% 46%); --lime-800: hsl(82 96% 38%); --lime-900: hsl(82 96% 26%);
  --indigo-50: hsl(216 100% 95%); --indigo-100: hsl(216 100% 89%); --indigo-700: hsl(214 74% 46%); --indigo-900: hsl(214 87% 30%);
  --guava-50: hsl(348 100% 97%); --guava-100: hsl(347 100% 91%); --guava-300: hsl(345 100% 76%); --guava-600: hsl(342 97% 51%); --guava-700: hsl(342 93% 42%);
  --amber-50: hsl(45 100% 94%); --amber-100: hsl(45 95% 85%); --amber-800: hsl(32 80% 32%);
  --charcoal-50: hsl(214 50% 97%); --charcoal-100: hsl(214 20% 90%); --charcoal-200: hsl(214 20% 84%); --charcoal-300: hsl(214 20% 78%);
  --charcoal-400: hsl(214 20% 72%); --charcoal-600: hsl(214 20% 52%); --charcoal-700: hsl(214 22% 44%); --charcoal-800: hsl(214 26% 36%); --charcoal-900: hsl(214 30% 28%); --charcoal-950: hsl(215 39% 20%);

  --ink: var(--charcoal-950); --ink-strong: var(--charcoal-800); --ink-subtle: var(--charcoal-600); --ink-minor: var(--charcoal-400);
  --info: var(--indigo-700); --bg: #fff; --bg-subtle: var(--charcoal-50); --bg-strong: var(--charcoal-100);
  --line: var(--charcoal-100); --line-soft: var(--charcoal-50); --brand: var(--lime-400);
  --duo-line: var(--charcoal-950); --duo-fill: var(--lime-400);
  --font-head: "Cabrio", "Figtree", system-ui, sans-serif; --font: "Figtree", system-ui, sans-serif; --font-note: "Kalam", cursive;
  --r: 14px; --r-sm: 10px; --side: 284px; --top: 64px;
  /* no drop shadows anywhere (Vincent, 2026-11-19): borders separate things */
  --shadow: none;
  --shadow-up: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top) + 20px); }
body { margin: 0; font: 400 16.5px/1.62 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd { font: 600 11px/1 var(--font); color: var(--ink-minor); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 6px; background: #fff; }

/* ---------- icons ---------- */
.ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 16px; }
.ic svg { width: 100%; height: 100%; display: block; }
.ic.duo { width: 20px; height: 20px; }
.ic.sm { width: 18px; height: 18px; }
.ic.tile, .ic.big, .ic.huge { background: var(--lime-50); border-radius: 12px; padding: 9px; width: 42px; height: 42px; box-shadow: inset 0 0 0 1px hsl(82 96% 46% / 0.18); }
.ic.big { width: 60px; height: 60px; padding: 14px; border-radius: 16px; }
.ic.huge { width: 76px; height: 76px; padding: 18px; border-radius: 20px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 20px; padding: 0 28px; background: hsl(0 0% 100% / 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); align-self: center; box-shadow: inset 0 -3px 0 var(--lime-600); }
.logo-word { font: 800 22px/1 var(--font-head); letter-spacing: -0.02em; }
.logo-sub { font: 400 18px/1 var(--font-note); color: var(--info); }
.search-open { display: flex; align-items: center; gap: 10px; flex: 0 1 380px; margin-left: 12px; border: 1px solid var(--line); background: var(--bg-subtle); border-radius: 11px; padding: 8px 12px; color: var(--ink-subtle); font-size: 14.5px; cursor: pointer; text-align: left; }
.search-open > span:not(.ic) { flex: 1; }
.search-open .ic { flex: none; }
.search-open:hover { border-color: var(--charcoal-300); background: #fff; }
.top-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 600; }
.top-links a { text-decoration: none; color: var(--ink-strong); }
.top-links a:hover { color: var(--ink); }
.menu-open { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.menu-open .ic { width: 20px; height: 20px; }

.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 10px 16px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; color: var(--ink); }
.btn:hover { border-color: var(--charcoal-300); }
.btn.primary { background: var(--brand); border-color: var(--lime-600); color: var(--charcoal-950) !important; }
.btn.primary:hover { background: var(--lime-300); }
.btn.dark { background: var(--charcoal-950); border-color: var(--charcoal-950); color: #fff !important; }
.btn.sm { padding: 7px 13px; font-size: 14px; border-radius: 10px; }

/* ---------- frame ---------- */
.frame { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100vh - var(--top)); }
.side { position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow: auto; border-right: 1px solid var(--line); background: var(--bg-subtle); padding: 18px 14px 14px; display: flex; flex-direction: column; }
.nav { flex: 1; }
.nav-topic { margin-bottom: 2px; }
.nav-home { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 2px; border-radius: 10px; text-decoration: none; color: inherit; font: 700 15.5px/1.2 var(--font-head); letter-spacing: -0.005em; }
.nav-home:hover, .nav-home.on { background: var(--bg-strong); }
.nav-topic summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font: 700 15.5px/1.2 var(--font-head); letter-spacing: -0.005em; }
.nav-topic summary::-webkit-details-marker { display: none; }
.nav-topic summary:hover { background: var(--bg-strong); }
.nav-topic summary .n { margin-left: auto; font: 600 11.5px/18px var(--font); color: var(--ink-minor); }
.nav-topic[open] summary { color: var(--ink); }
.nav-topic ul { list-style: none; margin: 2px 0 10px; padding: 0 0 0 18px; }
.nav-topic li a { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-strong); line-height: 1.3; }
.nav-topic li a .ic { --duo-fill: var(--charcoal-100); --duo-line: var(--charcoal-700); width: 16px; height: 16px; }
.nav-topic li a:hover { background: var(--bg-strong); color: var(--ink); }
.nav-topic li a.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--shadow); }
.nav-topic li a.on .ic { --duo-fill: var(--lime-400); --duo-line: var(--charcoal-950); }
.side-help { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px 14px 12px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.side-help .ic { width: 18px; height: 18px; color: var(--charcoal-950); flex: none; }
.side-help b { display: block; font-weight: 700; }
.side-help a { color: var(--lime-900); font-weight: 600; text-decoration: none; }
.side-help a:hover { text-decoration: underline; }
main { min-width: 0; display: flex; flex-direction: column; }
main > .foot { margin-top: auto; }
main > :not(.foot) { width: 100%; box-sizing: border-box; }
.home .frame { grid-template-columns: minmax(0, 1fr); }
.home .side { display: none; }

/* ---------- type system ---------- */
.kicker { font: 400 19px/1.1 var(--font-note); color: var(--info); margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.015em; color: var(--ink); }
h1 { font-weight: 800; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.04; margin: 0; letter-spacing: -0.025em; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-strong); margin: 0 0 28px; }
mark { background: linear-gradient(transparent 60%, var(--brand) 60% 90%, transparent 90%); color: inherit; padding: 0 3px; }

/* ---------- home ---------- */
.hero { max-width: 1120px; margin: 0 auto; padding: 72px 32px 40px; text-align: center; }
.hero .kicker { font-size: 24px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); max-width: 15ch; margin: 0 auto 18px; }
.hero-sub { color: var(--ink-subtle); font-size: 18.5px; margin: 0 auto 32px; max-width: 52ch; }
.hero-quick { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-quick a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; background: #fff; }
.hero-quick a:hover { border-color: var(--lime-600); background: var(--lime-50); }
.block { max-width: 1120px; margin: 0 auto; padding: 36px 32px; }
.block-head { margin-bottom: 22px; }
.block-head h2 { font-size: 32px; font-weight: 800; margin: 0; }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.topic { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: #fff; transition: box-shadow .15s, transform .15s, border-color .15s; }
.topic:hover { border-color: var(--charcoal-200); }
.topic-main { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.topic-main:hover b { color: var(--lime-900); }
.topic-asked { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.topic-asked a { color: var(--ink-subtle); font-size: 15px; line-height: 1.4; text-decoration: none; }
.topic-asked a:hover { color: var(--ink-strong); text-decoration: underline; }
.block-title { font-size: 32px; font-weight: 800; margin: 0 0 22px; }
a.topic-n { text-decoration: none; }
.topic .ic.big { margin-bottom: 14px; }
.topic-kicker { font: 400 16px/1.1 var(--font-note); color: var(--info); }
.topic b { font: 800 23px/1.15 var(--font-head); letter-spacing: -0.015em; }
.topic-desc { color: var(--ink-subtle); font-size: 15px; line-height: 1.5; }
.topic-n { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-strong); }
.topic:hover .topic-n { color: var(--lime-900); }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.guide-chip { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--bg-subtle); text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.guide-chip:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.guide-chip .num { width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; background: var(--charcoal-950); color: #fff; font: 700 13px/1 var(--font); flex: none; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.cards.list { grid-template-columns: 1fr; gap: 10px; }
.card { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: var(--charcoal-200); box-shadow: var(--shadow-up); }
.card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-minor); }
.card b { font: 700 18px/1.25 var(--font-head); letter-spacing: -0.01em; }
.card-text > span:last-child { color: var(--ink-subtle); font-size: 14.5px; line-height: 1.45; }
.cards.list .card-kicker { display: none; }

/* ---------- article ---------- */
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 40px 80px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.page-wrap.with-toc { grid-template-columns: minmax(0, 760px) 220px; justify-content: center; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-subtle); margin-bottom: 26px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 12px; height: 12px; color: var(--ink-minor); }
.article-head, .topic-head { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; }
.topic-head { align-items: flex-start; margin-bottom: 34px; }
.topic-head .lead { margin: 12px 0 0; }
.article-head .meta { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-minor); font-weight: 500; }

.prose { font-size: 17px; line-height: 1.68; }
.prose > .lead { font-size: 21px; line-height: 1.5; color: var(--ink); font-weight: 500; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.prose h2 { font-size: 29px; font-weight: 800; line-height: 1.15; margin: 48px 0 12px; }
.prose h3 { font-size: 21px; font-weight: 700; line-height: 1.25; margin: 32px 0 6px; }
.prose h4 { font: 700 16.5px/1.3 var(--font); margin: 24px 0 4px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--ink-minor); }
.prose strong { font-weight: 700; }
/* links in dark green (Vincent, 2026-11-19) */
.prose a { color: var(--lime-900); text-decoration: underline; text-decoration-color: hsl(82 96% 26% / .35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
.prose a:hover { text-decoration-color: currentColor; }
.prose a.ext::after { content: "↗"; font-size: .8em; margin-left: 2px; text-decoration: none; display: inline-block; }
.prose code { font: 500 .88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--bg-subtle); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.prose pre { background: var(--charcoal-950); color: var(--charcoal-50); border-radius: 12px; padding: 42px 18px 16px; overflow: auto; font-size: 14px; line-height: 1.55; position: relative; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.copy-btn { position: absolute; top: 8px; right: 8px; display: inline-flex; gap: 6px; align-items: center; border: 1px solid hsl(0 0% 100% / .2); background: hsl(0 0% 100% / .08); color: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { background: hsl(0 0% 100% / .16); }
.table-wrap { overflow-x: auto; margin: 8px 0 22px; border: 1px solid var(--line); border-radius: 12px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
.prose th { text-align: left; font-weight: 700; background: var(--bg-subtle); }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin: 0 0 18px; }
.prose details summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.prose details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.callout { margin: 22px 0; padding: 16px 18px 16px 52px; border-radius: 14px; position: relative; background: var(--bg-subtle); border: 1px solid var(--line); font-size: 16px; }
.callout p:last-child { margin-bottom: 0; }
.callout::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.callout-label { display: block; font: 700 13px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
/* Tip: a light post-it yellow, the same as the Brain’s notes (2026-11-19) */
.callout.tip { background: var(--indigo-50); border-color: var(--indigo-100); color: var(--charcoal-950); } /* blue since 2026-11-23 (Vincent) */
.callout.tip .callout-label { color: var(--indigo-900); }
.callout.know { background: var(--indigo-50); border-color: var(--indigo-100); }
.callout.know .callout-label { color: var(--indigo-900); }
.callout.confirm { background: var(--amber-50); border-color: var(--amber-100); border-style: dashed; }
.callout.confirm .callout-label { color: var(--amber-800); }
/* Change markers (2026-11-19): small boxes, not the internal "To confirm" treatment */
.callout.updated, .callout.new { padding: 9px 14px; font-size: 14px; border-radius: 10px; margin: 14px 0; }
.callout.updated::before, .callout.new::before { display: none; }
.callout.updated .callout-label, .callout.new .callout-label { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 99px; margin: 0 6px 0 0; vertical-align: 1px; }
.callout.updated { background: var(--amber-50); border-color: var(--amber-100); }
.callout.updated .callout-label { background: var(--amber-100); color: var(--amber-800); }
.callout.new { background: var(--lime-50); border-color: var(--lime-200); }
.callout.new .callout-label { background: var(--lime-200); color: var(--lime-900); }
/* Note for AI assistants, in the footer of every page (2026-11-19) */
.foot .ai-note { order: 3; flex-basis: 100%; max-width: 400px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-subtle); }
.foot .ai-note a { font-weight: 400; text-decoration: underline; }
.callout.tip::before { color: var(--indigo-700); } .callout.know::before { color: var(--indigo-700); } .callout.confirm::before { color: var(--amber-800); }

/* guides */
.guide { margin: 44px 0 28px; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 24px; background: linear-gradient(180deg, var(--bg-subtle), #fff 140px); }
.guide-head { margin-bottom: 18px; }
.guide-kicker { font: 400 17px/1 var(--font-note); color: var(--info); }
.guide h2 { margin: 6px 0 0; font-size: 26px; }
.guide ol { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.guide ol > li { counter-increment: step; position: relative; padding: 2px 0 18px 52px; margin: 0; }
.guide ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 99px; background: var(--charcoal-950); color: #fff; display: grid; place-items: center; font: 700 14.5px/1 var(--font); }
.guide ol > li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 38px; bottom: 4px; width: 1.5px; background: var(--line); }
.guide ol > li > strong:first-child { display: block; font-size: 17.5px; }
.guide figure { margin: 10px 0 0; }
.guide-done { display: flex; gap: 14px; align-items: flex-start; margin-top: 6px; padding: 14px 16px; background: var(--lime-50); border: 1px solid var(--lime-200); border-radius: 14px; }
.done-mark { width: 32px; height: 32px; border-radius: 99px; background: var(--brand); display: grid; place-items: center; flex: none; padding: 8px; box-shadow: inset 0 -2px 0 var(--lime-600); }
.done-mark svg { width: 100%; height: 100%; }

/* screenshots to take */
figure[data-screenshot] { margin: 18px 0 24px; border: 1.5px dashed var(--charcoal-200); border-radius: 14px; background: repeating-linear-gradient(135deg, var(--bg-subtle) 0 12px, #fff 12px 24px); min-height: 150px; display: grid; place-items: center; padding: 26px; text-align: center; }
figure[data-screenshot]::before { content: "Screenshot to add"; display: block; font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-minor); margin-bottom: 8px; }
figure[data-screenshot]::after { content: attr(data-screenshot); font: 400 18px/1.3 var(--font-note); color: var(--ink-subtle); max-width: 48ch; }
figure[data-screenshot] { grid-template-rows: auto auto; align-content: center; }

/* related, pager, helpful */
.helpful { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 56px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.helpful span { margin-right: 6px; }
.helpful button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.helpful button:hover { border-color: var(--charcoal-300); }
.helpful.done button { display: none; }
.related { margin-top: 44px; }
.related-title { font-size: 24px; font-weight: 800; margin: 0 0 16px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.pager a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 700; max-width: 48%; }
.pager a:hover { border-color: var(--charcoal-300); }
.pager small { display: block; font-size: 12.5px; color: var(--ink-minor); font-weight: 600; }
.pager .next { margin-left: auto; text-align: right; }

/* toc */
.toc { position: sticky; top: calc(var(--top) + 32px); align-self: start; max-height: calc(100vh - var(--top) - 64px); overflow: auto; padding-top: 112px; }
.toc p { font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-minor); margin: 0 0 12px; }
.toc a { display: block; padding: 5px 0 5px 14px; border-left: 2px solid var(--line); font-size: 14px; line-height: 1.35; color: var(--ink-subtle); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--lime-600); font-weight: 700; }
.toc a.g::before { content: "Guide · "; color: var(--info); font-weight: 600; }

/* footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 32px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-subtle); }
.foot div:last-child { display: flex; gap: 18px; }
.foot a { text-decoration: none; font-weight: 600; }

/* ---------- search ---------- */
.search-layer { position: fixed; inset: 0; z-index: 50; background: hsl(215 39% 20% / .35); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search-layer[hidden] { display: none; }
.search-box { width: 100%; max-width: 680px; background: #fff; border-radius: 18px; overflow: hidden; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-field .ic { width: 20px; height: 20px; color: var(--ink-subtle); }
.search-field input { flex: 1; border: 0; outline: 0; font: 500 18px var(--font); color: var(--ink); background: none; min-width: 0; }
.search-results { max-height: 60vh; overflow: auto; padding: 8px; }
.search-results .hit { display: flex; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; align-items: flex-start; }
.search-results .hit.sel, .search-results .hit:hover { background: var(--bg-subtle); }
.hit .hit-topic { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-minor); }
.hit b { display: block; font: 700 16.5px/1.3 var(--font-head); }
.hit .hit-snip { font-size: 14px; color: var(--ink-subtle); line-height: 1.45; }
.hit em { font-style: normal; background: var(--lime-100); border-radius: 3px; padding: 0 1px; }
.search-empty { padding: 28px 18px; color: var(--ink-subtle); text-align: center; }
.search-empty b { display: block; color: var(--ink); font: 700 18px var(--font-head); margin-bottom: 4px; }

/* ---------- widgets ---------- */
.w { margin: 26px 0 30px; }
.w-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }

/* checker (2026-11-19): a light step-by-step form; radio options, a step counter, chips to change past answers */
.ck { border: 1px solid var(--charcoal-200); border-radius: 18px; background: #fff; overflow: hidden; }
.ck-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: var(--bg-subtle); border-bottom: 1px solid var(--line); }
.ck-head b { display: block; font: 800 21px/1.15 var(--font-head); letter-spacing: -0.01em; }
.ck-head span { color: var(--ink-subtle); font-size: 14px; }
.ck-steps { text-align: right; min-width: 140px; }
.ck-steps > span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-subtle); }
.ck-bar { height: 6px; border-radius: 99px; background: var(--charcoal-100); margin-top: 6px; overflow: hidden; }
.ck-bar i { display: block; height: 100%; background: var(--charcoal-950); border-radius: 99px; transition: width .25s; }
.ck-body { padding: 22px; }
.ck-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.ck-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--bg-subtle); border: 1px solid var(--line); font: 600 13px/1.3 var(--font); color: var(--ink); cursor: pointer; }
.ck-chip em { font-style: normal; font-weight: 500; color: var(--ink-subtle); }
.ck-chip span { color: var(--ink-minor); }
.ck-chip:hover { border-color: var(--charcoal-950); }
.ck-q { font: 800 23px/1.2 var(--font-head); letter-spacing: -0.01em; margin: 0 0 4px; }
.ck-hint { color: var(--ink-subtle); font-size: 15px; margin: 0 0 6px; }
.ck-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 14px; }
.ck-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; padding: 13px 14px; border: 1.5px solid var(--charcoal-200); border-radius: 12px; background: #fff; font: 600 15px/1.35 var(--font); color: var(--ink); cursor: pointer; transition: border-color .12s, background .12s; }
.ck-opt small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-subtle); margin-top: 2px; }
.ck-opt:hover, .ck-opt:focus-visible { border-color: var(--charcoal-950); background: var(--bg-subtle); outline: none; }
.ck-opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .ck-opts.two { grid-template-columns: 1fr; } }
.ck-ic { width: 22px; height: 22px; flex: none; }
.ck-opt.on { border-color: var(--charcoal-950); background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--charcoal-950); position: relative; }
.ck-opt.on::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 18px; height: 18px; border-radius: 99px; background: var(--charcoal-950); color: #fff; font: 700 11px/18px var(--font); text-align: center; }
.ck-nav .btn { margin-left: auto; }
.ck-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--ink-minor); }
.ck-back { border: 0; background: none; font: 600 14px var(--font); color: var(--ink-subtle); cursor: pointer; padding: 6px 0; }
.ck-back:hover { color: var(--ink); }
.ck-foot { margin: 14px 0 0; font-size: 13px; color: var(--ink-subtle); }
.ck-foot a { color: var(--lime-900); font-weight: 600; }
.verdict { border-radius: 14px; padding: 20px 22px; border: 1px solid; color: var(--ink); }
.verdict.yes { background: var(--lime-50); border-color: var(--lime-200); }
.verdict.plan, .verdict.info { background: hsl(52 95% 96.5%); border-color: hsl(50 75% 86%); }
.verdict.no { background: var(--guava-50); border-color: var(--guava-100); }
.verdict-badge { display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px/1 var(--font); letter-spacing: .05em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: #fff; margin-bottom: 12px; }
.verdict-badge .ic { width: 15px; height: 15px; }
.verdict.yes .verdict-badge { color: var(--lime-900); }
.verdict.no .verdict-badge { color: var(--guava-700); }
.verdict.plan .verdict-badge, .verdict.info .verdict-badge { color: hsl(42 74% 28%); }
.verdict h3 { font: 800 23px/1.2 var(--font-head); margin: 0 0 6px; }
.verdict p { margin: 0 0 16px; color: var(--ink-strong); }
.verdict-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* plan comparison */
.plans { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.plans-scroll { overflow-x: auto; }
.plans table { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; font-size: 13.5px; line-height: 1.35; }
.plans th, .plans td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.plans thead th { vertical-align: bottom; padding-top: 16px; background: #fff; }
.plans thead th:first-child { width: 17%; }
.plans .col-head { display: flex; flex-direction: column; gap: 3px; }
.plans .col-head .ic { margin-bottom: 4px; width: 30px; height: 30px; }
.plans .col-head b { font: 800 17px/1.1 var(--font-head); letter-spacing: -0.01em; }
.plans .col-head span { font-weight: 500; color: var(--ink-subtle); font-size: 12.5px; }
.plans .hl { background: var(--lime-50); }
.plans thead .hl { box-shadow: inset 0 3px 0 var(--lime-600); }
.plans tbody th { font-weight: 700; color: var(--ink-strong); font-size: 13px; }
.plans .cell { display: flex; gap: 6px; align-items: flex-start; }
.plans .mark { width: 17px; height: 17px; flex: none; border-radius: 99px; display: grid; place-items: center; padding: 3px; margin-top: 1px; }
.plans .mark.yes { background: var(--lime-400); }
/* the same round mark as yes, in Julia’s orange (partly) and red (no), 2026-11-19 */
.plans .mark.no { background: hsl(342 97% 51%); color: #fff; }
.plans .mark.partial { background: hsl(30 90% 88%); color: hsl(24 75% 40%); }
.plans .mark svg { width: 100%; height: 100%; }
.plans .muted { color: var(--ink-minor); }
.plans tfoot td { border-bottom: 0; padding: 16px 14px 20px; }
.plans-note { padding: 8px 4px 0; font-size: 12px; line-height: 1.5; color: var(--ink-minor); }
.plans-note a { color: inherit; }

/* seat curve */
.seat-curve { border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 18px; background: #fff; box-shadow: var(--shadow); }
.seat-curve h4 { font: 800 21px/1.2 var(--font-head); margin: 0 0 4px; letter-spacing: -0.01em; }
.seat-curve p { margin: 0; color: var(--ink-subtle); font-size: 15px; }
.seat-curve svg { width: 100%; height: auto; display: block; margin: 16px 0 6px; }
.seat-curve .sc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* contact */
.contact { display: flex; gap: 22px; align-items: center; padding: 26px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); } /* white with a grey line, like the pager (Vincent, 2026-11-23) */
.contact b { display: block; font: 800 23px/1.15 var(--font-head); letter-spacing: -0.01em; }
.contact p { margin: 4px 0 0; color: var(--ink-strong); font-size: 15.5px; }
.contact .btn { margin-left: auto; }

/* visuals */
.vis { margin: 26px 0 30px; padding: 26px; border-radius: 20px; background: var(--bg-subtle); border: 1px solid var(--line); }
.vis figcaption { margin-top: 16px; font: 400 17px/1.35 var(--font-note); color: var(--ink-subtle); text-align: center; }
.vis-row { display: flex; gap: 12px; align-items: stretch; justify-content: center; flex-wrap: wrap; }
.vis-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; box-shadow: var(--shadow); }
.vis-box b { font: 700 16.5px/1.2 var(--font-head); }
.vis-box span { font-size: 13.5px; color: var(--ink-subtle); line-height: 1.4; }
.vis-box.dim { opacity: .55; box-shadow: none; border-style: dashed; }
.vis-box.accent { background: var(--charcoal-950); color: #fff; border-color: var(--charcoal-950); }
.vis-box.accent span { color: var(--charcoal-300); }
.vis-box.ok { border-color: var(--lime-600); box-shadow: inset 0 0 0 1px var(--lime-600); }
.vis-box.stop { border-color: var(--guava-100); background: var(--guava-50); }
.vis-arrow { display: grid; place-items: center; color: var(--ink-minor); flex: 0 0 auto; }
.vis-arrow .ic { width: 18px; height: 18px; }
.vis-hub { display: grid; grid-template-columns: 1fr minmax(150px, 190px) 1fr; gap: 14px; align-items: center; }
.vis-hub .core { background: var(--charcoal-950); color: #fff; border-radius: 20px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.vis-hub .core b { display: block; font: 800 22px/1.1 var(--font-head); }
.vis-hub .core span { font-size: 13px; color: var(--charcoal-300); }
.vis-hub .side-col { display: flex; flex-direction: column; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: var(--bg-strong); color: var(--ink-strong); }
.tag.lime { background: var(--lime-100); color: var(--lime-900); } .tag.indigo { background: var(--indigo-50); color: var(--indigo-900); } .tag.guava { background: var(--guava-100); color: var(--guava-700); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-grid { display: grid; grid-template-columns: repeat(6, 40px); gap: 8px; margin: 6px 0; }
.icon-grid i { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 9px; box-sizing: border-box; }
.icon-grid i.rep { background: var(--lime-100); border: 1.5px solid var(--lime-600); }
.zoom { width: 132px; height: 132px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.zoom.px svg { width: 96px; height: 96px; }
.zoom .px-img { width: 96px; height: 96px; image-rendering: pixelated; }
.zoom > svg { width: 96px; height: 96px; }
.timeline { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; position: relative; }
.timeline .step { position: relative; padding: 34px 10px 0; text-align: center; }
.timeline .step::before { content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 2px; background: var(--charcoal-200); }
.timeline .step:first-child::before { left: 50%; } .timeline .step:last-child::before { right: 50%; }
.timeline .dot { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 99px; background: #fff; border: 2px solid var(--charcoal-400); z-index: 1; }
.timeline .step.on .dot { background: var(--brand); border-color: var(--lime-600); }
.timeline .step.stop .dot { background: var(--guava-100); border-color: var(--guava-600); }
.timeline b { display: block; font: 700 15.5px/1.2 var(--font-head); }
.timeline span { font-size: 13px; color: var(--ink-subtle); line-height: 1.35; display: block; margin-top: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .page-wrap.with-toc { grid-template-columns: minmax(0, 760px); }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 40; top: var(--top); left: 0; width: min(320px, 88vw); transform: translateX(-102%); transition: transform .2s; border-right: 1px solid var(--line); }
  body.menu .side { transform: none; }
  .home .side { display: flex; }
  .menu-open { display: block; margin-left: auto; }
  .top { padding: 0 16px; gap: 10px; }
  .top-links { display: none; }
  .search-open { flex: 1; margin-left: 4px; }
  .search-open kbd, .logo-sub { display: none; }
  .page-wrap { padding: 22px 16px 60px; }
  .hero { padding: 44px 16px 24px; }
  .block { padding: 26px 16px; }
  .article-head { gap: 14px; align-items: flex-start; }
  .ic.huge { width: 56px; height: 56px; padding: 13px; border-radius: 16px; }
  .guide { padding: 20px 16px; }
  .ck-head { flex-direction: column; align-items: flex-start; } .ck-steps { text-align: left; width: 100%; } .ck-body { padding: 18px 16px; }
  .vis-hub { grid-template-columns: 1fr; }
  .contact { flex-direction: column; align-items: flex-start; }
  .contact .btn { margin-left: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline .step { padding: 0 0 16px 34px; text-align: left; }
  .timeline .step::before { top: 0; bottom: 0; left: 9px !important; right: auto !important; width: 2px; height: auto; }
  .timeline .dot { left: 0; transform: none; top: 0; }
  .pager { flex-direction: column; } .pager a { max-width: none; }
}

/* fixes */
.search-open > span:not(.ic) { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.top-links a, .logo-sub, .logo-word { white-space: nowrap; }
@media (max-width: 1020px) { .top-links a:not(.btn) { display: none; } .logo-sub { display: none; } }

/* header: the whole name on one line, small, no square (Vincent, 2026-11-17) */
.logo .logo-word { font: 700 16px/1 var(--font-head); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
/* footer: team sign-in, next to Privacy */
.foot .foot-signin { display: inline-flex; align-items: center; gap: 6px; }
.foot .foot-signin .ic { width: 14px; height: 14px; display: inline-grid; }
.foot .foot-signin .ic svg { width: 14px; height: 14px; }

/* logo (2026-11-17): the lime tile + the full name, like every team tool */
.logo { align-items: center; gap: 10px; }
.logo .logo-tile { width: 28px; height: 28px; display: block; flex: none; }

/* ---------- Edit mode (2026-11-17) ---------- */
.crumbs { display: flex; align-items: center; }
.ed-toggle { margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 14px; font: 600 13px/1 var(--font); color: var(--ink); cursor: pointer; }
.ed-toggle:hover { background: var(--bg-strong, #f2f4f7); }
body.editing .ed-toggle { background: #2346e8; border-color: #2346e8; color: #fff; }
body.editing .prose [data-b] { position: relative; cursor: text; border-radius: 10px; outline: 1.5px dashed transparent; outline-offset: 6px; transition: outline-color .1s; }
body.editing .prose [data-b]:hover { outline-color: #2346e8; }
body.editing .prose [data-b]:hover::before { content: attr(data-kind); position: absolute; top: -26px; left: -6px; z-index: 3; padding: 2px 8px; border-radius: 6px; background: #2346e8; color: #fff; font: 600 11px/1.6 var(--font); white-space: nowrap; }
body.editing .prose [data-b] [data-b]:hover { outline-color: #2346e8; }
body.editing .prose [data-b]:has([data-b]:hover) { outline-color: transparent; }
body.editing .prose [data-b]:has([data-b]:hover)::before { display: none; }
.ed-box { margin: 18px 0; padding: 14px; border: 1.5px solid #2346e8; border-radius: 14px; background: #fff; }
.ed-kind { font: 600 11px/1 var(--font); color: #2346e8; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.ed-box textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 14.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); resize: none; min-height: 60px; }
.ed-box textarea:focus { outline: 2px solid hsl(229 82% 52% / .3); border-color: #2346e8; }
.ed-q { margin: 0 0 12px; font-size: 15px; color: var(--ink-strong, #3c4a5e); }
.ed-answer { margin-bottom: 10px; }
.ed-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ed-bar .sp { flex: 1; }
.ed-hint { font-size: 12px; color: var(--ink-subtle, #8792a3); }
.ed-btn { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font: 600 13px/1 var(--font); color: var(--ink); cursor: pointer; }
.ed-btn.ok { background: #2346e8; border-color: #2346e8; color: #fff; }
.ed-btn.ghost { border-color: transparent; color: var(--ink-subtle, #5d6b80); }
.ed-btn:disabled { opacity: .5; cursor: default; }
.ed-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 90; padding: 10px 16px; border-radius: 12px; background: #1f3047; color: #fff; font: 600 13.5px/1.4 var(--font); transition: .2s; pointer-events: none; }
.ed-toast.show { opacity: 1; transform: translate(-50%, 0); }
body.ed-wait .prose { opacity: .55; }

/* Contact form (/contact, 2026-11-19) */
.contact-page .lead { margin-bottom: 26px; }
.contact-form { display: grid; gap: 16px; max-width: 640px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; }
.contact-form input, .contact-form select, .contact-form textarea { font: 400 16px/1.5 var(--font); color: var(--ink); border: 1px solid var(--charcoal-200); border-radius: 11px; padding: 10px 12px; background: #fff; width: 100%; box-sizing: border-box; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--lime-600); box-shadow: 0 0 0 3px var(--lime-100); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cf-msg { margin: 0; font-size: 14.5px; color: var(--ink-subtle); }
.cf-done { display: flex; gap: 14px; align-items: flex-start; max-width: 640px; padding: 20px; border-radius: 14px; background: var(--lime-50); border: 1px solid var(--lime-200); }
.cf-done[hidden] { display: none; }
.cf-done b { display: block; margin-bottom: 4px; }
.cf-done p { margin: 0 0 8px; }
.cf-alt { margin-top: 26px; font-size: 14.5px; color: var(--ink-subtle); }
.contact-form label small { font-weight: 400; font-size: 13px; color: var(--ink-subtle); }
.foot .foot-who { color: var(--ink-subtle); font-weight: 400; }

/* Search fields (home and header, 2026-11-19): type first, results drop down under the field */
.find { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--bg-subtle); border-radius: 11px; padding: 8px 12px; color: var(--ink-subtle); }
.find:focus-within { border-color: var(--charcoal-300); background: #fff; }
.find > .ic { flex: none; }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 14.5px var(--font); color: var(--ink); }
.top-find { flex: 0 1 380px; margin-left: 12px; }
.hero-find { margin: 0 auto; max-width: 640px; width: 100%; padding: 15px 18px; border-radius: 16px; background: #fff; border-color: var(--charcoal-200); text-align: left; }
.hero-find > .ic { width: 20px; height: 20px; }
.hero-find input { font-size: 17px; }
.find-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 14px; max-height: 60vh; overflow: auto; padding: 8px; }
.find-results[hidden] { display: none; }
@media (max-width: 760px) { .top-find { flex: 1; min-width: 0; margin-left: 4px; } .top-find input { min-width: 0; width: 100%; } .top-find kbd { display: none; } }
@media (max-width: 420px) { .logo .logo-word { display: none; } }
/* search results: icon, topic, title, and the matching sentence on two lines at most (2026-11-27) */
.find-results .hit { padding: 8px 10px; gap: 12px; align-items: flex-start; }
.find-results .hit .hit-snip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; margin-top: 2px; }
.find-results .hit .hit-topic { font-size: 11px; display: block; line-height: 1.2; }
.find-results .hit b { font-size: 15.5px; line-height: 1.25; }
.page-wrap > .article { width: 100%; max-width: 800px; margin: 0 auto; }
/* slim plan table (2026-11-19): no highlighted column, small buttons that wrap */
.plans tfoot .btn { padding: 6px 10px; font-size: 13px; white-space: normal; text-align: center; }
.plans .plans-scroll { overflow-x: auto; }
@media (max-width: 640px) { .plans table { table-layout: auto; min-width: 560px; } }
/* Edit in place (2026-11-19): the block itself becomes editable, a small format bar sits under it */
body.editing .prose .ed-live { outline: 2px solid #2346e8 !important; outline-offset: 6px; cursor: text; }
body.editing .prose .ed-live::before { display: none !important; }
.ed-live [contenteditable] , .ed-live[contenteditable] { outline: none; }
.ed-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 0 18px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; position: sticky; bottom: 12px; z-index: 5; }
.ed-tools .sp { flex: 1; }
.ed-tool { font: 600 13px/1 var(--font); color: var(--ink); background: var(--bg-subtle); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.ed-tool:hover { border-color: var(--charcoal-300); background: #fff; }
.ed-tool b, .ed-tool i { font-size: 14px; }
/* Edit mode bar (2026-11-19): green, fixed at the top while you scroll; one Save for the whole page */
.ed-bar-top { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 52px; box-sizing: border-box; display: flex; align-items: center; gap: 14px; padding: 0 20px; background: var(--lime-200); border-bottom: 1px solid var(--lime-600); color: var(--charcoal-950); font-size: 14px; }
.ed-bar-top .ed-state { display: flex; flex-direction: column; line-height: 1.2; min-width: 150px; }
.ed-bar-top .ed-count { font-size: 12.5px; color: var(--lime-900); }
.ed-bar-top.has-changes .ed-count { font-weight: 700; }
.ed-bar-top .ed-hint-top { font-size: 13px; color: var(--lime-900); }
.ed-fmt { position: absolute; z-index: 90; display: flex; padding: 5px; border: 1px solid var(--charcoal-950); border-radius: 10px; background: #fff; }
.ed-fmt[hidden] { display: none; }
.ed-fmt-tools, .ed-fmt-link { display: flex; align-items: center; gap: 4px; }
.ed-fmt-tools[hidden], .ed-fmt-link[hidden] { display: none; }
.ed-fmt .ed-tool { background: #fff; border-color: transparent; }
.ed-fmt .ed-tool:hover { background: var(--bg-subtle); border-color: var(--line); }
.ed-fmt .ed-tool[hidden] { display: none; }
.ed-fmt-sep { width: 1px; align-self: stretch; margin: 2px 3px; background: var(--line); }
.ed-fmt-link input { font: 14px/1.2 var(--font); width: 280px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; }
.ed-fmt-link input:focus { outline: 2px solid var(--lime-600); outline-offset: 0; border-color: var(--lime-600); }
.ed-bar-top .sp { flex: 1; }
.ed-bar-top .ed-btn.ok { background: var(--charcoal-950); border-color: var(--charcoal-950); }
.ed-bar-top .ed-btn.ghost { color: var(--charcoal-950); }
body.editing { padding-top: 52px; }
body.editing .top { top: 52px; }
body.editing .side { top: calc(var(--top) + 52px); height: calc(100vh - var(--top) - 52px); }
body.editing .prose .ed-rich:hover, body.editing .prose .ed-rich:focus-within { outline-color: var(--lime-600); }
body.editing .prose .ed-rich:focus-within { outline-style: solid; }
body.editing .prose .ed-rich:hover::before { display: none; }
body.editing .ed-rich-title { outline: 1.5px dashed var(--lime-600); outline-offset: 6px; border-radius: 8px; cursor: text; }
body.editing .ed-rich-title:focus { outline-style: solid; }
body.editing .prose [contenteditable] { outline: none; }
body.editing .prose .ed-removed { opacity: .35; text-decoration: line-through; }
@media (max-width: 760px) { .ed-bar-top { height: auto; min-height: 52px; flex-wrap: wrap; padding: 8px 12px; } .ed-bar-top .ed-hint-top { display: none; } }
body.editing .ed-toggle { display: none; }
/* Schematics of our tools (2026-11-19): light wireframes; black marks what is selected; green only for the marker arrow and the main action */
.vis .sk { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--charcoal-200); border-radius: 14px; background: #fff; overflow: hidden; font: 600 11px/1.25 var(--font); color: var(--charcoal-700); --duo-fill: transparent; --duo-line: var(--charcoal-950); }
.sk-ic { display: inline-grid; width: 14px; height: 14px; place-items: center; flex: none; } .sk-ic svg { width: 100%; height: 100%; }
.sk-row { display: flex; align-items: center; gap: 6px; }
.sk-strong { color: var(--charcoal-950); font-weight: 700; }
.sk-title { font: 800 16px/1.15 var(--font-head); color: var(--charcoal-950); }
.sk-bar { height: 6px; border-radius: 99px; background: var(--charcoal-100); }
.sk-field { height: 22px; border: 1px solid var(--charcoal-200); border-radius: 6px; background: #fff; display: flex; align-items: center; gap: 5px; padding: 0 7px; color: var(--charcoal-400); font-weight: 500; }
.sk-btn { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 6px; background: var(--charcoal-950); color: #fff; font-weight: 700; }
.sk-btn.lime { background: var(--lime-400); color: var(--charcoal-950); box-shadow: inset 0 0 0 1.5px var(--lime-600); }
.sk-tab { padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.sk-tab.on, .tag.sk-on { background: var(--charcoal-950); color: #fff; }
.sk-logo { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: var(--charcoal-950); color: #fff; font: 800 9px/1 var(--font-head); }
.sk-dark { background: var(--charcoal-950); color: #fff; }
.sk-panel { position: absolute; left: 0; top: 0; bottom: 0; border-right: 1px solid var(--charcoal-200); background: #fff; padding: 9px; display: flex; flex-direction: column; gap: 7px; }
.sk-grid { display: grid; gap: 4px; }
.sk-grid i { aspect-ratio: 1; border-radius: 5px; background: var(--charcoal-50); display: grid; place-items: center; }
.sk-grid i svg { width: 46%; height: 46%; }
.sk-grid i.on { background: var(--charcoal-950); --duo-line: #fff; }
.sk-badge { position: absolute; top: 3px; right: 3px; font: 700 8.5px/1 var(--font); padding: 2px 4px; border-radius: 99px; background: #fff; border: 1px solid var(--charcoal-300); color: var(--charcoal-950); }
.sk-badge.pro { background: var(--charcoal-950); border-color: var(--charcoal-950); color: #fff; }
.sk-sel { position: absolute; outline: 1.5px solid #3b82f6; }
.sk-size { position: absolute; background: #3b82f6; color: #fff; font: 700 9px/1 var(--font); padding: 2px 4px; border-radius: 3px; }
.sk-note { position: absolute; display: flex; align-items: center; gap: 6px; font: 700 11.5px/1.2 var(--font); color: var(--charcoal-950); }
.sk-note b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; background: var(--lime-400); box-shadow: inset 0 0 0 1.5px var(--lime-600); font-size: 11px; }
.sk-arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sk-arrow path { fill: none; stroke: var(--lime-600); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sk-cursor { position: absolute; width: 16px; height: 16px; } .sk-cursor path { fill: #fff; stroke: var(--charcoal-950); stroke-width: 1.1; stroke-linejoin: round; }
.sk-bells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff; border: 1px solid var(--charcoal-200); border-radius: 14px; padding: 28px 16px; }
.sk-bells div { display: flex; flex-direction: column; align-items: center; gap: 12px; font: 700 14px var(--font); color: var(--charcoal-950); }
.sk-bells img { width: 72px; height: 72px; }
.vis .sk { font-size: 12px; }
.vis .sk.fit { aspect-ratio: auto; }
.sk-drop { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; outline: 1.5px solid #3b82f6; border-radius: 2px; background: #fff; }
.sk-drop svg { width: 60%; height: 60%; }
.sk-drop em { position: absolute; top: calc(100% + 4px); left: 0; background: #3b82f6; color: #fff; font: 700 9px/1 var(--font); font-style: normal; padding: 2px 4px; border-radius: 3px; white-space: nowrap; }
.sk-pop { position: absolute; display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--charcoal-200); border-radius: 10px; background: #fff; }
.sk-slide { position: absolute; border: 1px solid var(--charcoal-200); border-radius: 8px; background: #fff; padding: 16px; }
.sk-app { position: absolute; left: 0; bottom: calc(100% + 6px); color: var(--charcoal-600); font-weight: 600; }
.sk-swatch { display: inline-block; width: 15px; height: 15px; border-radius: 4px; }
.sk-chat { display: grid; gap: 9px; align-content: start; border: 1px solid var(--charcoal-200); border-radius: 12px; padding: 12px; background: #fff; }
.sk-msg { background: var(--charcoal-50); border-radius: 10px; padding: 8px 10px; color: var(--charcoal-950); font-weight: 500; line-height: 1.4; }
.sk-msg.me { justify-self: end; max-width: 88%; background: var(--charcoal-950); color: #fff; }
.sk-step { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; background: var(--lime-400); box-shadow: inset 0 0 0 1.5px var(--lime-600); color: var(--charcoal-950); font: 800 10.5px/1 var(--font); flex: none; }
/* numbered marks: one green pill, number and words together (2026-11-19) */
.sk-pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px; border-radius: 99px; background: var(--lime-400); color: var(--charcoal-950); font: 700 13px/1.1 var(--font); white-space: nowrap; }
.sk-pill b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--charcoal-950); color: #fff; font: 800 13px/1 var(--font); box-shadow: none; }
.sk-note.sk-pill { gap: 7px; }
/* review fixes (2026-11-19) */
.cf-row { align-items: start; }
.contact-form label { align-content: start; }
.foot .foot-signin { align-items: center; line-height: 1; }
.foot div:last-child { align-items: center; }
h1, .ck-q, .sk-title { text-wrap: balance; }
.prose a.btn { text-decoration: none; color: var(--ink); font-weight: 700; }
.prose a.btn.primary { color: var(--charcoal-950); }
.prose a.btn.ext::after { content: none; }
.sk-win { position: absolute; display: flex; flex-direction: column; border: 1px solid var(--charcoal-200); border-radius: 10px; background: #fff; overflow: hidden; }
.sk-win-bar { display: flex; align-items: center; gap: 5px; padding: 7px 9px; border-bottom: 1px solid var(--charcoal-100); background: var(--charcoal-50); font-weight: 700; color: var(--charcoal-950); }
.sk-win-bar i { width: 8px; height: 8px; border-radius: 99px; background: var(--charcoal-200); }
.sk-win-bar span { margin-left: 6px; }
.sk-win-body { padding: 10px; flex: 1; }
.sk-drop em { background: var(--charcoal-950); }
.sk-msg { font-size: 13px; }

/* Allowed / not allowed blocks (rules:yes / rules:no in the Markdown, 2026-11-23) */
.rules { margin: 26px 0; padding: 6px 22px 10px; border-radius: 18px; border: 1px solid; }
.rules.yes { background: color-mix(in srgb, var(--lime-50) 60%, #fff); border-color: var(--lime-200); }
.rules.no { background: color-mix(in srgb, var(--guava-50) 60%, #fff); border-color: var(--guava-100); }
.rules.note { background: color-mix(in srgb, var(--amber-50) 60%, #fff); border-color: var(--amber-100); }
.rules.info { background: color-mix(in srgb, var(--indigo-50) 60%, #fff); border-color: var(--indigo-100); }
.rules.info ul, .rules.info ol { padding-left: 22px; }
.rules.info li { padding-left: 4px; }
.rules h2 { margin-top: 18px; }
.rules h3 { margin: 16px 0 4px; }
.rules > p { margin: 10px 0 6px; }
.rules.yes ul, .rules.no ul, .rules.note ul { list-style: none; padding: 0; margin: 10px 0 8px; }
.rules.yes li, .rules.no li, .rules.note li { position: relative; padding-left: 30px; margin: 10px 0; }
.rules li .rule-ic { position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; }
.rules.yes .rule-ic { color: var(--lime-800); }
.rules.no .rule-ic { color: var(--guava-300); }
.rules.note .rule-ic { color: var(--amber-800); width: 16px; height: 16px; top: 0.25em; }
.rules.yes li::marker, .rules.no li::marker, .rules.note li::marker { content: none; }

/* Topic names in the sidebar are links to the topic page (2026-11-23) */
.nav-topic summary { padding: 0; }
.nav-topic-link { display: flex; align-items: center; gap: 10px; flex: 1; padding: 8px 10px; border-radius: 10px; color: inherit; text-decoration: none; }
.nav-topic-link.on { background: var(--bg-strong); }
