/* Guides (/guides/, /ms/guides/, /zh/guides/). Loaded after site.css, which supplies the tokens and long-form type. */

/* the header and footer come from nav.css, shared with the homepages */

.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.prose .crumbs a { text-decoration: none; }
.prose .crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; }

/* article body */
.prose h2 { font-size: clamp(21px, 4.6vw, 25px); line-height: 1.25; margin-top: 44px; }
.prose h3 { font-size: 17px; line-height: 1.35; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose ol { margin: 10px 0 0 22px; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; background: var(--paper); padding: 1px 5px; border-radius: 5px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* tables scroll inside their own box so a 390 px screen never scrolls sideways */
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.table-wrap table { display: table; margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 100%; }
/* on phones a table keeps a readable width and scrolls inside its box, instead of squeezing every cell into a 3-character column */
@media (max-width: 640px) { .table-wrap table { min-width: 600px; } }
.table-wrap th, .table-wrap td { padding: 9px 12px; }
.table-wrap thead th { background: var(--paper); }
.table-wrap tr:last-child td, .table-wrap tbody tr:last-child th { border-bottom: 0; }
/* the note under a table needs the same breathing room as a paragraph */
.table-wrap + p { margin-top: 12px; }

/* Play CTA */
.cta { margin-top: 24px; }
.cta + p { margin-top: 20px; }
.cta .badge img { display: block; height: 56px; width: auto; }

/* Chinese pages: the Latin web fonts have no CJK glyphs; name the system CJK fonts so headings and body match */
html:lang(zh-Hans) body,
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2 { font-family: "Figtree", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; }
html:lang(zh-Hans) body { line-height: 1.8; }
html:lang(zh-Hans) h1 { letter-spacing: 0; line-height: 1.25; }

/* contrast: brand links on the paper wash and the muted grey on white fall just under 4.5:1 */
.cta a { color: var(--brand-dark); }
.prose .meta, .crumbs { color: var(--ink-soft); }
.table-wrap tbody th { font-weight: 600; white-space: normal; min-width: 7em; }

/* ═══════ Medium-style reading layout ═══════
   Articles: <main class="wrap story-wrap"><article class="prose story">. Hub: <main class="wrap story-wrap"><div class="story hub">.
   Overrides type, rhythm and width only; the header/footer and tokens stay as they are. Markup checklist: README.md, "Writing a guide". */

.story {
  --story-ink: #242424;          /* body text: near-black, ~15:1 on white */
  --story-soft: #6b6b6b;         /* dek, byline, captions: 5.3:1 */
  --story-serif: "Source Serif 4", Charter, "Bitstream Charter", Georgia, Cambria, "Times New Roman", serif;
  --story-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* one narrow column: ~65–75 characters a line at 20px */
main.wrap.story-wrap { max-width: calc(680px + 2 * var(--edge)); padding-top: 48px; padding-bottom: 112px; }

/* ── body text ── */
.story p, .story li {
  font-family: var(--story-serif);
  font-size: 20px; line-height: 1.6; letter-spacing: -0.003em;
  color: var(--story-ink);
}
.story p + p { margin-top: 1.5em; }           /* real breathing room between paragraphs */
.story strong { color: var(--story-ink); font-weight: 700; }
.story em { font-style: italic; }
.story a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.story a:hover { color: var(--brand-dark); }

/* ── title block ── */
.story .crumbs { font-family: var(--story-sans); font-size: 14px; margin-bottom: 20px; color: var(--story-soft); }
.story .crumbs a { text-decoration: none; color: var(--story-soft); }
.story .crumbs a:hover { color: var(--story-ink); text-decoration: underline; }
.story h1 { font-size: clamp(32px, 6.4vw, 44px); line-height: 1.16; letter-spacing: -0.025em; color: var(--story-ink); }
.story .dek {
  font-family: var(--story-sans); font-size: 21px; line-height: 1.45; font-weight: 400;
  color: var(--story-soft); margin-top: 14px;
}
.story .byline {
  display: flex; align-items: center; gap: 12px;
  margin: 32px 0 40px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--story-sans);
}
.story .byline img { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); flex: none; }
.story .byline p { font-family: var(--story-sans); font-size: 14px; line-height: 1.45; margin: 0; color: var(--story-soft); }
.story .byline .who { color: var(--story-ink); font-weight: 600; font-size: 15px; }
.story .byline p + p { margin-top: 2px; }

/* ── headings ── */
.story h2 {
  font-size: clamp(24px, 5vw, 28px); line-height: 1.25; letter-spacing: -0.015em;
  color: var(--story-ink); margin: 2.1em 0 0;
}
.story h3 {
  font-family: var(--story-sans); font-size: 20px; line-height: 1.35; font-weight: 700;
  color: var(--story-ink); margin: 1.9em 0 0;
}
.story h2 + p, .story h3 + p, .story h2 + h3 { margin-top: 0.55em; }
.story h2 + h3 { margin-top: 1em; }

/* ── lists ── */
.story ul, .story ol { margin: 1.2em 0 0; padding-left: 1.6em; }
.story li { margin: 0; padding-left: 0.3em; }
.story li + li { margin-top: 0.7em; }
.story ol li::marker { font-family: var(--story-sans); font-weight: 700; color: var(--story-ink); }

/* ── inline code (registration numbers, amounts) ── */
.story code { font-size: 0.82em; background: #f2f2f2; color: var(--story-ink); padding: 2px 6px; border-radius: 4px; }

/* ── example quotations: read like a document, numbers line up on the right ── */
.story .table-wrap { margin-top: 20px; border-radius: 8px; }
.story .table-wrap table { font-family: var(--story-sans); font-size: 15px; }
.story .table-wrap th, .story .table-wrap td { padding: 11px 14px; color: var(--story-ink); }
.story .table-wrap thead th { font-size: 13px; font-weight: 600; color: var(--story-soft); letter-spacing: 0.01em; }
.story .table-wrap tbody th { color: var(--story-ink); }
/* .doc = an example quotation/invoice (No. | Description | Qty | Unit price | Amount): numbers right, total row tinted */
.story .table-wrap.doc th:nth-child(n+3), .story .table-wrap.doc td:nth-child(n+3) { text-align: right; white-space: nowrap; }
.story .table-wrap.doc td:first-child, .story .table-wrap.doc th:first-child { color: var(--story-soft); width: 1%; }
.story .table-wrap.doc tr:last-child td { background: var(--paper); }
/* .money = a payment ledger (label | RM | RM | RM): amounts right */
.story .table-wrap.money th:nth-child(n+2), .story .table-wrap.money td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.story .table-wrap + p:not(.plain) { margin-top: 14px; font-size: 17px; color: var(--story-soft); }
.story .table-wrap + p.plain { margin-top: 1.2em; }
/* .kv = a short table that fits a phone (a receipt's fields, 3 columns): no min width, cells wrap */
.table-wrap.kv table { min-width: 0; }
.table-wrap.kv td:first-child { white-space: nowrap; }
.story .table-wrap.kv tbody th { width: 38%; color: var(--story-soft); font-weight: 500; }

/* ── section break (Medium's three dots) ── */
.story hr.dinkus { border: 0; margin: 56px 0 0; height: auto; text-align: center; }
.story hr.dinkus::before { content: "\00B7\00A0\00A0\00B7\00A0\00A0\00B7"; font-family: var(--story-serif); font-size: 32px; line-height: 1; letter-spacing: 0.4em; color: var(--story-ink); }
.story hr.dinkus + h2 { margin-top: 40px; }

/* ── the app section: set apart from the editorial so it never reads as part of the advice ── */
.story .promo { margin-top: 56px; padding: 32px 32px 28px; background: var(--paper); border-radius: 16px; }
.story .promo h2 { margin-top: 0; }
.story .promo p, .story .promo li { font-size: 18px; }
.story .promo .cta { margin-top: 24px; }

/* ── phones ── */
@media (max-width: 640px) {
  main.wrap.story-wrap { padding-top: 28px; padding-bottom: 80px; }
  .story p, .story li { font-size: 18px; line-height: 1.58; }
  .story .dek { font-size: 18px; }
  .story h3 { font-size: 18px; }
  .story .byline { margin: 24px 0 28px; }
  .story .table-wrap + p:not(.plain) { font-size: 16px; }
  .story .promo { margin-left: calc(-1 * var(--edge)); margin-right: calc(-1 * var(--edge)); padding: 28px var(--edge) 24px; border-radius: 0; }
  .story .promo p, .story .promo li { font-size: 17px; }
}

/* a paragraph after a list keeps the paragraph rhythm */
.story ul + p, .story ol + p { margin-top: 1.5em; }

/* the "all guides" line after the app card, and source lists */
.story .promo + p { margin-top: 32px; }
.story ul.sources li { font-family: var(--story-sans); font-size: 15px; line-height: 1.5; color: var(--story-soft); }
.story ul.sources li + li { margin-top: 0.6em; }
/* links stay dark so they read as links against the grey notes around them; a light underline keeps 14 links from turning into a wall of lines */
.story ul.sources a { color: var(--story-ink); text-decoration-color: #c4c4c4; }
.story ul.sources a:hover { color: var(--brand-dark); text-decoration-color: currentColor; }

/* figures (e.g. the 12-month timeline in the zh SST guide) keep their own small UI type, not the 20px body */
.story figure p { font-family: var(--story-sans); line-height: 1.5; letter-spacing: 0; color: var(--story-ink); }
.story figure p + p { margin-top: 0; }
.story .tl { margin: 1.6em 0 0; }
.story .tl-cap { font-size: 13px; color: var(--story-soft); }
.story .tl-lab, .story .tl-end { font-size: 14px; }
.story .tl-note { font-size: 13px; }
.story .tl + p { margin-top: 1.5em; }

/* ── Chinese: no CJK serif web font (multi-MB), so body stays sans; bigger size and looser leading do the work ── */
html:lang(zh-Hans) .story {
  --story-serif: "Figtree", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --story-sans: var(--story-serif);
}
html:lang(zh-Hans) .story p, html:lang(zh-Hans) .story li { font-size: 18px; line-height: 1.85; letter-spacing: 0.01em; }
html:lang(zh-Hans) .story p + p { margin-top: 1.25em; }
html:lang(zh-Hans) .story li + li { margin-top: 0.5em; }
html:lang(zh-Hans) .story h1 { font-size: clamp(28px, 5.6vw, 36px); line-height: 1.35; letter-spacing: 0; font-weight: 700; text-wrap: wrap; }   /* balance splits Chinese words mid-way ("尾/款"), so fill lines instead. CJK glyphs fill the whole em box, so the same px reads ~20% bigger than Latin */
html:lang(zh-Hans) .story h2 { font-size: clamp(22px, 4.6vw, 25px); letter-spacing: 0; line-height: 1.4; }
html:lang(zh-Hans) .story h3 { line-height: 1.5; }
html:lang(zh-Hans) .story .dek { font-size: 19px; line-height: 1.65; }
html:lang(zh-Hans) .story em { font-style: normal; }          /* CJK has no italic; faux-slanted Chinese is hard to read */
html:lang(zh-Hans) .story .promo p, html:lang(zh-Hans) .story .promo li { font-size: 17px; }
html:lang(zh-Hans) .story .table-wrap + p:not(.plain) { font-size: 16px; }
@media (max-width: 640px) {
  html:lang(zh-Hans) .story p, html:lang(zh-Hans) .story li { font-size: 17px; line-height: 1.8; }
  html:lang(zh-Hans) .story .dek { font-size: 17px; }
  html:lang(zh-Hans) .story .promo p, html:lang(zh-Hans) .story .promo li { font-size: 16px; }
  html:lang(zh-Hans) .story .table-wrap + p:not(.plain) { font-size: 15px; }
}
/* the zh body rule above outranks these smaller UI texts, so restate them for zh */
html:lang(zh-Hans) .story .byline p { font-size: 14px; line-height: 1.5; letter-spacing: 0; }
html:lang(zh-Hans) .story .byline .who { font-size: 15px; }
html:lang(zh-Hans) .story .byline p + p { margin-top: 2px; }
html:lang(zh-Hans) .story figure p { line-height: 1.5; letter-spacing: 0; }
html:lang(zh-Hans) .story .tl-cap, html:lang(zh-Hans) .story .tl-note { font-size: 13px; }
html:lang(zh-Hans) .story .tl-lab, html:lang(zh-Hans) .story .tl-end { font-size: 14px; }
html:lang(zh-Hans) .story ul.sources li { font-size: 15px; line-height: 1.6; letter-spacing: 0; }
html:lang(zh-Hans) .story p.refs { font-size: 14px; line-height: 1.6; letter-spacing: 0; }   /* "参考：" lines: the zh body rule above outranks .story p.refs, so they were full body size */

/* ── guide hub (/guides/, /ms/guides/, /zh/guides/): a Medium-style story list, no cards ──
   <main class="wrap story-wrap"><div class="story hub"> … <ul class="hub-list"><li><h2><a>…</a></h2><p class="hub-sum">…</p><p class="hub-meta">…</p></li> */
.story.hub h1 { font-size: clamp(36px, 7vw, 48px); }
.story.hub .dek { margin-top: 12px; }
.story.hub .hub-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.story.hub .hub-list li { position: relative; margin: 0; padding: 28px 0 26px; border-bottom: 1px solid var(--line); }
.story.hub .hub-list h2 { margin: 0; font-size: 23px; line-height: 1.3; letter-spacing: -0.012em; }
.story.hub .hub-list h2 a { color: var(--story-ink); text-decoration: none; }
/* the whole row is the link; the title stays the accessible name */
.story.hub .hub-list h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 4px; }
.story.hub .hub-list h2 a:focus-visible { outline: none; }
.story.hub .hub-list h2 a:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 4px; }
.story.hub .hub-list li:hover h2 a { color: var(--brand-dark); }
.story.hub .hub-sum {
  margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--story-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.story.hub .hub-meta { margin-top: 12px; font-family: var(--story-sans); font-size: 14px; line-height: 1.4; color: var(--story-soft); }
@media (max-width: 640px) {
  .story.hub .hub-list { margin-top: 28px; }
  .story.hub .hub-list li { padding: 22px 0 20px; }
  .story.hub .hub-list h2 { font-size: 20px; }
  .story.hub .hub-sum { font-size: 16px; }
}
html:lang(zh-Hans) .story.hub h1 { font-size: clamp(32px, 6vw, 40px); }
html:lang(zh-Hans) .story.hub .hub-list h2 { font-size: 21px; line-height: 1.45; letter-spacing: 0; }
html:lang(zh-Hans) .story.hub .hub-sum { font-size: 16px; line-height: 1.7; letter-spacing: 0; }
html:lang(zh-Hans) .story.hub .hub-meta { font-size: 13.5px; letter-spacing: 0; }
@media (max-width: 640px) { html:lang(zh-Hans) .story.hub .hub-list h2 { font-size: 19px; } html:lang(zh-Hans) .story.hub .hub-sum { font-size: 15px; } }
/* text-wrap: balance splits Chinese words ("马来西/亚"); zh headings fill lines instead (articles and hub) */
html:lang(zh-Hans) .story h1, html:lang(zh-Hans) .story h2, html:lang(zh-Hans) .story h3 { text-wrap: wrap; }

/* ── In short box, app note and collapsible FAQ (owner and designer, 2026-10-23; was inline on each guide page) ── */
.story p.refs { color: var(--ink-soft); font-size: .85em; }
/* "In short", app note and collapsible FAQ (pilot 2026-10-23; move to guide.css when rolled out).
   Editorial, not UI: hairline rules and type do the work; no cards, tinted boxes or round buttons. */

/* In short: a summary set between two rules, like a standfirst */
.story .keypoints { margin: 36px 0 0; padding: 22px 0 20px; border-top: 1px solid var(--story-ink); border-bottom: 1px solid #e5e5e5; }
.story .keypoints .kp-h { font-family: var(--story-sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--story-ink); }
.story .keypoints ul { list-style: none; margin: 14px 0 0; padding: 0; }
.story .keypoints li { position: relative; padding-left: 26px; font-family: var(--story-serif); font-size: 19px; line-height: 1.55; color: var(--story-ink); }
.story .keypoints li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 12px; height: 2px; background: var(--brand); }
.story .keypoints li + li { margin-top: .7em; }
.story .keypoints .kp-jump { margin-top: 18px; font-family: var(--story-sans); font-size: 14px; line-height: 1.8; color: var(--story-soft); }
.story .keypoints .kp-jump a { color: var(--story-soft); text-decoration-color: #c9c9c9; white-space: nowrap; }
.story .keypoints .kp-jump a:hover { color: var(--story-ink); text-decoration-color: currentColor; }
.story .keypoints + p { margin-top: 1.8em; }

.story p.app-note { padding: 14px 18px; background: var(--paper); border-radius: 10px; }
.story p.app-note a { color: var(--brand-dark); }

/* FAQ: questions as quiet rows; a thin chevron, the answer in body serif */
.story .faq-list { margin-top: 1em; border-top: 1px solid #e5e5e5; }
.story .faq-list details { border-bottom: 1px solid #e5e5e5; }
.story .faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 0; font-family: var(--story-sans); font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--story-ink); }
.story .faq-list summary::-webkit-details-marker { display: none; }
.story .faq-list summary h3 { margin: 0; font: inherit; color: inherit; text-wrap: pretty; }
.story .faq-list summary:hover h3 { color: var(--brand-dark); }
.story .faq-list summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.story .faq-list summary::after { content: ""; flex: none; width: 18px; height: 18px; margin-top: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s ease; }
.story .faq-list details[open] summary::after { transform: rotate(180deg); }
.story .faq-list details p { margin: 0; padding: 0 38px 24px 0; font-size: 19px; line-height: 1.6; color: #3d3d3d; }
/* browsers that can animate a <details> open/close get a short slide; others just open */
.story .faq-list { interpolate-size: allow-keywords; }
.story .faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .25s ease, content-visibility .25s allow-discrete; }
.story .faq-list details[open]::details-content { block-size: auto; }
@media (max-width: 520px) {
  .story .keypoints li, .story .faq-list details p { font-size: 18px; }
  .story .faq-list summary { font-size: 17px; padding: 18px 0; gap: 14px; }
  .story .faq-list details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .story .faq-list summary::after, .story .faq-list details::details-content { transition: none; }
}

/* Jump to (owner, 2026-10-23): the label in its own column; links wrap in the right column, aligned with the first
   link, separated by a dot that is clipped at line starts, so none hangs at a line end */
.story .keypoints .kp-jump { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.story .keypoints .kp-jump-links { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; overflow: hidden; }
/* a dot before each link, in the gap; the one before the first link of each line falls outside the box and is clipped */
.story .keypoints .kp-jump-links a { position: relative; }
.story .keypoints .kp-jump-links a::before { content: "\00B7"; position: absolute; left: -8px; transform: translateX(-50%); color: var(--story-soft); text-decoration: none; pointer-events: none; }

/* money worked out in the text (owner, 2026-10-29): a small ledger, label left, amount right, a rule above the result.
   <dl class="ledger"><div><dt>Invoice total</dt><dd>RM&nbsp;1,800.00</dd></div>…<div class="ledger-total">…</div></dl> */
.story .ledger { max-width: 400px; margin: 1.5em 0 0; font-family: var(--story-sans); font-size: 17px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.story .ledger > div { display: flex; justify-content: space-between; gap: 24px; padding: 6px 0; }
.story .ledger dt { color: var(--story-soft); }
.story .ledger dd { margin: 0; color: var(--story-ink); white-space: nowrap; }
.story .ledger .ledger-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--story-ink); }
.story .ledger .ledger-total dt { color: var(--story-ink); font-weight: 600; }
.story .ledger .ledger-total dd { font-weight: 700; }
.story .ledger + p { margin-top: 1.5em; }

/* step-by-step dates: a thin rail with a dot per step; the last step (the claim) is filled.
   Wide screens: date and step on one line; phones: date above the step.
   <ol class="timeline"><li><span class="tl-date">…</span><span class="tl-what">…</span></li>…<li class="tl-last">…</li></ol> */
.story .ledger + .timeline { margin-top: 2.2em; }
.story .timeline { list-style: none; margin: 1.8em 0 0; padding: 0; font-family: var(--story-sans); }
.story .timeline li { position: relative; margin: 0; padding: 0 0 18px 30px; font-family: var(--story-sans); display: grid; grid-template-columns: 128px 1fr; column-gap: 16px; align-items: baseline; }
.story .timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid var(--story-ink); box-sizing: border-box; }
.story .timeline li::after { content: ""; position: absolute; left: 8px; top: 19px; bottom: 1px; width: 1px; background: #d9d9d9; }
.story .timeline li:last-child { padding-bottom: 0; }
.story .timeline li:last-child::after { display: none; }
.story .timeline li.tl-last::before { background: var(--story-ink); }
.story .timeline .tl-date { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--story-soft); white-space: nowrap; }
.story .timeline .tl-what { font-size: 17px; line-height: 1.45; color: var(--story-ink); }
html:lang(ms) .story .timeline li { grid-template-columns: 156px 1fr; }   /* "SELEPAS 5 JANUARI" is wider than 128px */
@media (max-width: 560px) {
  .story .timeline li { display: block; padding-bottom: 16px; }
  .story .timeline .tl-date, .story .timeline .tl-what { display: block; }
  .story .timeline .tl-what { margin-top: 1px; }
  .story .timeline li::before { top: 4px; }
  .story .timeline li::after { top: 16px; }
}
.story .timeline + p { margin-top: 1.4em; font-size: 17px; color: var(--story-soft); }
html:lang(zh-Hans) .story .timeline li { line-height: 1.5; letter-spacing: 0; }   /* the zh li rules outrank the ones above and doubled the gaps */
html:lang(zh-Hans) .story .timeline li + li { margin-top: 0; }
html:lang(zh-Hans) .story .timeline .tl-what { word-break: keep-all; }   /* break at the space before a date, not inside "1月5日" */
html:lang(zh-Hans) .story .timeline + p { font-size: 16px; }

/* first-year walkthrough (business expenses guide; the owner's design agent, 2026-11-03): facts list for the example person,
   can / cannot lists, money tables with a total row, a ledger subtotal, a zh title that keeps its second half together */
.story h1 .keep { white-space: nowrap; }
.story .facts { margin: .9em 0 0; font-family: var(--story-sans); font-size: 16px; line-height: 1.5; border-top: 1px solid #e5e5e5; }
.story .facts > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.story .facts dt { color: var(--story-soft); }
.story .facts dd { margin: 0; color: var(--story-ink); }
.story .can-cant { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 1.4em; font-family: var(--story-sans); }
.story .cc-h { margin: 0; padding-bottom: 8px; font-family: var(--story-sans); font-size: 15px; line-height: 1.4; font-weight: 700; border-bottom: 2px solid currentColor; }
.story .cc-yes .cc-h { color: #1f7a4d; }
.story .cc-no .cc-h { color: #b3261e; }
.story .can-cant ul { list-style: none; margin: 0; padding: 0; }
.story .can-cant li { margin: 0; padding: 10px 0 10px 22px; position: relative; font-family: var(--story-sans); font-size: 16px; line-height: 1.45; color: var(--story-ink); border-bottom: 1px solid #ececec; }
.story .can-cant li + li { margin-top: 0; }
.story .can-cant li::before { position: absolute; left: 0; top: 10px; font-weight: 700; }
.story .cc-yes li::before { content: "✓"; color: #1f7a4d; }
.story .cc-no li::before { content: "✕"; color: #b3261e; }
.story .cc-note { display: block; margin-top: 2px; font-size: 14px; color: var(--story-soft); }
@media (max-width: 640px) { .story .can-cant { grid-template-columns: 1fr; gap: 28px; } }
html:lang(zh-Hans) .story .can-cant li { font-size: 16px; line-height: 1.45; letter-spacing: 0; }   /* the zh li rules outrank the ones above */
html:lang(zh-Hans) .story .can-cant li + li { margin-top: 0; }
html:lang(zh-Hans) .story .cc-h { font-size: 15px; line-height: 1.4; letter-spacing: 0; }
.story .table-wrap.money.steps tbody th { color: var(--story-ink); font-weight: 500; }
.story .table-wrap.money.steps tr.total th, .story .table-wrap.money.steps tr.total td { font-weight: 700; border-top: 1.5px solid var(--story-ink); }
.story .table-wrap.money.steps table { min-width: 0; }   /* all 3 columns stay on screen at 390 px (480 px hid the "Claim" column) */
@media (max-width: 560px) { .story .table-wrap.money.steps th, .story .table-wrap.money.steps td { padding: 10px 9px; font-size: 14px; } .story .table-wrap.money.steps tbody th { min-width: 6em; } }
.story .ledger .ledger-sub { margin-top: 6px; padding-top: 10px; border-top: 1px solid #bdbdbd; }
.story .ledger .ledger-sub dt { color: var(--story-ink); font-weight: 600; }
.story .ledger .ledger-sub dd { font-weight: 600; }
.story .ledger .ledger-sub + div { margin-top: 4px; }
/* tables drawn like the ledgers and lists around them (the owner's design agent, 2026-11-03; all guides from 2026-11-03, owner:
   "可以全站都换"): no box, no tinted header band, hairline rows, text on the article's left edge */
.story .table-wrap { border: 0; border-radius: 0; border-top: 1px solid var(--story-ink); }
.story .table-wrap thead th { background: transparent; color: var(--story-soft); border-bottom: 1px solid #d4d4d4; }
.story .table-wrap th, .story .table-wrap td { border-bottom-color: #e8e8e8; }
.story .table-wrap tr > :first-child { padding-left: 0; }
.story .table-wrap tr > :last-child { padding-right: 0; }
.story .table-wrap tbody tr:last-child > * { border-bottom: 1px solid #d4d4d4; }
/* two tables in a row: drop the first one's closing line (it doubled up with the next table's top rule) and give them air */
.story .table-wrap:has(+ .table-wrap) tbody tr:last-child > * { border-bottom: 0; }
.story .table-wrap + .table-wrap { margin-top: 32px; }

/* how-to-file-form-b pilot (design agent, 2026-11-04): scoped to <article class="... pilot-formb">, as flat-tables was */
.story.pilot-formb { --story-soft: #595959; }   /* dek, byline, captions, table labels: 7:1 (site default #6b6b6b, 5.3:1) */
.story.pilot-formb h1 .keep, .story.pilot-formb .keep { white-space: nowrap; }
.story.pilot-formb .timeline + p.plain { font-size: 20px; color: var(--story-ink); }
@media (max-width: 640px) { .story.pilot-formb .timeline + p.plain { font-size: 18px; } }
.story.pilot-formb .ledger { max-width: 520px; }
.story.pilot-formb .ledger .ledger-detail { padding-left: 16px; font-size: 15.5px; }
.story.pilot-formb .ledger .ledger-detail dt { color: var(--story-soft); }
.story.pilot-formb .ledger dt { color: #3d3d3d; }
.story.pilot-formb .ledger .ledger-sub dt, .story.pilot-formb .ledger .ledger-total dt { color: var(--story-ink); }
.story.pilot-formb .table-wrap thead th { color: #474747; }
.story.pilot-formb p.refs { color: var(--story-soft); }
.story.pilot-formb :is(h2, h3) + :is(p, .table-wrap, .ledger, .timeline, .faq-list) { margin-top: 12px; }
.story.pilot-formb :is(p, ul, ol) + :is(.table-wrap, .ledger, .timeline) { margin-top: 24px; }
.story.pilot-formb :is(.table-wrap, .ledger, .timeline) + .ledger { margin-top: 16px; }
.story.pilot-formb :is(.table-wrap, .ledger, .timeline) + p:not(.refs) { margin-top: 20px; }
.story.pilot-formb :is(.table-wrap, .ledger, .timeline, p, ol, ul) + p.refs { margin-top: 16px; }
.story.pilot-formb :is(.table-wrap, .ledger, p) + h3 { margin-top: 40px; }

/* click-to-open check under the balance sheet: same quiet row as the FAQ, chevron on the right */
.story.pilot-formb details.fold { margin-top: 28px; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.story.pilot-formb details.fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--story-sans); font-size: 17px; font-weight: 600; color: var(--story-ink); }
.story.pilot-formb details.fold summary::-webkit-details-marker { display: none; }
.story.pilot-formb details.fold summary:hover { color: var(--brand-dark); }
.story.pilot-formb details.fold summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.story.pilot-formb details.fold summary::after { content: ""; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s ease; }
.story.pilot-formb details.fold[open] summary::after { transform: rotate(180deg); }
.story.pilot-formb details.fold .fold-body { padding: 0 0 24px; }
.story.pilot-formb details.fold .fold-body > p:first-child { margin-top: 0; }
.story.pilot-formb details.fold + p { margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .story.pilot-formb details.fold summary::after { transition: none; } }

/* guide review (owner, 2026-11-05): a Play button right after the main example, and all References in 1 fold at the end */
.story .cta-mid { margin-top: 36px; padding: 24px 26px 26px; background: var(--paper); border-radius: 14px; }
.story .cta-mid p { margin: 0; font-family: var(--story-sans); font-size: 17px; line-height: 1.55; color: var(--story-ink); }
.story .cta-mid p + p { margin-top: 8px; }
.story .cta-mid .cta-mid-h { font-size: 19px; line-height: 1.35; font-weight: 700; }
.story .cta-mid .cta { margin-top: 18px; }
@media (max-width: 640px) { .story .cta-mid { padding: 20px 20px 22px; } .story .cta-mid p { font-size: 16px; } .story .cta-mid .cta-mid-h { font-size: 18px; } }
.story .cta-mid + h2 { margin-top: 48px; }
html:lang(zh-Hans) .story .cta-mid p { font-size: 17px; line-height: 1.6; letter-spacing: 0; }
html:lang(zh-Hans) .story .cta-mid .cta-mid-h { font-size: 19px; }
@media (max-width: 640px) { html:lang(zh-Hans) .story .cta-mid p { font-size: 16px; } html:lang(zh-Hans) .story .cta-mid .cta-mid-h { font-size: 18px; } }
.story details.sources { margin-top: 40px; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; font-family: var(--story-sans); }
.story details.sources summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--story-soft); }
.story details.sources summary::-webkit-details-marker { display: none; }
.story details.sources summary::after { content: ""; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s ease; }
.story details.sources[open] summary::after { transform: rotate(180deg); }
.story details.sources summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.story details.sources ul { margin: 0 0 16px; padding-left: 1.2em; }
.story details.sources li { font-size: 14px; line-height: 1.5; color: var(--story-soft); }
.story details.sources li + li { margin-top: 6px; }
html:lang(zh-Hans) .story details.sources li { font-size: 14px; line-height: 1.6; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .story details.sources summary::after { transition: none; } }
.story code { white-space: nowrap; }   /* invoice numbers such as INV-2611-003 never break at the hyphen */
.story .promo .promo-note { margin-top: 16px; font-family: var(--story-sans); font-size: 16px; line-height: 1.5; color: var(--story-soft); }
html:lang(zh-Hans) .story .promo .promo-note { font-size: 16px; line-height: 1.6; letter-spacing: 0; }

/* design agent, 2026-11-05 (second version, invoice guide pilot): mid box tint, closing app card, invoice example, open Sources */
/* Google Play placement (2026-11-05): one badge only, in the mid-article box right after the worked example,
   where the reader has just seen the invoice and wants to make one. The closing "Invoices in Invois" note is
   plain editorial text with a text link (same URL as the old end badge), so the page doesn't end on an ad. */
/* no rules here: the tables above already draw plenty of lines. A soft tint marks it as an aside instead */
.story .cta-mid { background: #f7f7f5; border: 0; border-radius: 12px; padding: 22px 24px 24px; }
.story .cta-mid .cta .badge img { height: 48px; }
@media (max-width: 640px) { .story .cta-mid { padding: 18px 18px 20px; } }
.story .promo.promo-quiet { margin: 56px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; font-family: var(--story-sans); }
/* closing app card: icon + one sans block, like a publication card at the end of an article */
.story .promo.promo-quiet .promo-icon { width: 48px; height: 48px; border-radius: 12px; display: block; }
.story .promo.promo-quiet h2 { margin: 2px 0 0; font-family: var(--story-sans); font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--story-ink); }
.story .promo.promo-quiet .promo-body p { margin: 4px 0 0; font-family: var(--story-sans); font-size: 16px; line-height: 1.55; color: #4a4a4a; }
.story .promo.promo-quiet .promo-body p a { color: inherit; text-decoration: none; }
.story .promo.promo-quiet .promo-body .promo-link { margin-top: 10px; }
.story .promo.promo-quiet .promo-body .promo-link a { font-size: 15px; font-weight: 600; color: var(--brand-dark); text-decoration: none; }
.story .promo.promo-quiet .promo-link a::after { content: "\00a0\2192"; }
.story .promo.promo-quiet .promo-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.story .promo.promo-quiet .promo-note { grid-column: 2; margin-top: 14px; font-family: var(--story-sans); font-size: 13.5px; line-height: 1.5; color: var(--story-soft); }
.story .promo.promo-quiet + p { margin-top: 36px; }
@media (max-width: 640px) {
  .story .promo.promo-quiet { margin: 48px 0 0; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .story .promo.promo-quiet .promo-icon { width: 40px; height: 40px; border-radius: 10px; }
  .story .promo.promo-quiet .promo-body p { font-size: 15.5px; }
}

/* Sources shown open (owner 2026-11-05): a small label and the list, no toggle, no box lines */
.story .sources-list { margin-top: 48px; font-family: var(--story-sans); }
.story .sources-list .src-h { margin: 0; font-family: var(--story-sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--story-ink); }
.story .sources-list ul { margin: 10px 0 0; padding-left: 1.2em; }
.story .sources-list li { font-family: var(--story-sans); font-size: 14px; line-height: 1.55; color: var(--story-soft); }
.story .sources-list li + li { margin-top: 6px; }
.story .sources-list a { color: var(--story-ink); text-decoration-color: #c4c4c4; }
.story .sources-list a:hover { color: var(--brand-dark); text-decoration-color: currentColor; }

/* invoice example, tidied: one rule on top for the whole invoice, compact details, tighter item rows, one line above the total */
.story .inv-example { margin-top: 24px; border-top: 1px solid var(--story-ink); }
.story .inv-example .table-wrap { border-top: 0; margin-top: 0; }
.story .inv-example .inv-meta table { width: auto; }
.story .inv-example .inv-meta th, .story .inv-example .inv-meta td { padding: 7px 0; border-bottom: 0 !important; font-size: 15px; }
.story .inv-example .inv-meta tbody th { width: auto; padding-right: 28px; white-space: nowrap; }
.story .inv-example .inv-meta tr:first-child > * { padding-top: 14px; }
.story .inv-example .inv-items { margin-top: 14px; }
.story .inv-example .inv-items thead th { padding-top: 10px; padding-bottom: 8px; font-size: 12.5px; border-top: 1px solid #d4d4d4; border-bottom: 1px solid #e8e8e8; }
.story .inv-example .inv-items tbody th, .story .inv-example .inv-items tbody td { padding-top: 10px; padding-bottom: 10px; }
.story .inv-example .inv-items tr.total th, .story .inv-example .inv-items tr.total td { border-top: 1px solid var(--story-ink); border-bottom: 0 !important; padding-top: 12px; }
.story .inv-example .inv-items tbody tr:nth-last-child(2) > * { border-bottom: 0; }
.story .inv-example + p { margin-top: 20px; }

/* phones: the qty × price moves under the item name, so names stop breaking into 3–4 lines */
@media (max-width: 560px) {
  .story .inv-example .inv-items table, .story .inv-example .inv-items thead, .story .inv-example .inv-items tbody { display: block; width: 100%; }
  .story .inv-example .inv-items tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; border-bottom: 1px solid #e8e8e8; }
  .story .inv-example .inv-items tr > * { padding: 10px 0 !important; border: 0 !important; font-size: 15px; }
  .story .inv-example .inv-items thead tr { border-top: 1px solid #d4d4d4; }
  .story .inv-example .inv-items thead th { padding: 8px 0 !important; font-size: 12.5px; }
  .story .inv-example .inv-items thead th:nth-child(2) { display: none; }
  .story .inv-example .inv-items tbody th { grid-column: 1; grid-row: 1; padding-bottom: 0 !important; min-width: 0 !important; }
  .story .inv-example .inv-items tbody td:nth-child(2) { grid-column: 1; grid-row: 2; padding-top: 2px !important; text-align: left; font-size: 13.5px; color: var(--story-soft); }
  .story .inv-example .inv-items tbody td:last-child { grid-column: 2; grid-row: 1; }
  .story .inv-example .inv-items tbody tr:nth-last-child(2) { border-bottom: 0; }
  .story .inv-example .inv-items tr.total { border-top: 1px solid var(--story-ink); border-bottom: 0; }
  .story .inv-example .inv-items tr.total td:nth-child(2) { display: none; }
  .story .inv-example .inv-items tr.total > * { padding-top: 12px !important; }
}

/* closing app card in a real card (owner 2026-11-05): hairline border, rounded, same corner radius as the mid box */
.story .promo.promo-quiet { padding: 20px 22px 18px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; }
@media (max-width: 640px) { .story .promo.promo-quiet { padding: 16px 16px 14px; } }

.story .promo.promo-quiet .promo-badge { margin-top: 14px; }
.story .promo.promo-quiet .promo-badge .badge img { height: 48px; width: auto; display: block; }
/* a list inside a list item sits close to its parent (owner, 2026-11-05: "子项的空太多了") */
.story li > ul, .story li > ol { margin-top: 0.4em; }
.story li li + li { margin-top: 0.2em; }
html:lang(zh-Hans) .story li li + li { margin-top: 0.2em; }

/* no app icon (owner 2026-11-05): with the badge in the card, the icon was one brand mark too many. Single column. */
.story .promo.promo-quiet { display: block; }
.story .promo.promo-quiet .promo-note { margin-top: 14px; }

/* closing card = same family as the mid box (owner: the white bordered card "jumped out"):
   same grey fill, no border, same radius, padding and type sizes as .cta-mid */
.story .promo.promo-quiet { background: #f7f7f5; border: 0; border-radius: 12px; padding: 22px 24px 24px; }
.story .promo.promo-quiet h2 { margin: 0; font-size: 19px; line-height: 1.35; }
.story .promo.promo-quiet .promo-body p { margin-top: 8px; font-size: 17px; color: var(--story-ink); }
.story .promo.promo-quiet .promo-badge { margin-top: 18px; }
@media (max-width: 640px) {
  .story .promo.promo-quiet { padding: 18px 18px 20px; }
  .story .promo.promo-quiet h2 { font-size: 18px; }
  .story .promo.promo-quiet .promo-body p { font-size: 16px; }
}
/* a 4-column comparison table that fits a phone (guide review, 2026-11-05): no min width, tighter cells at 390 px */
.story .table-wrap.vs-table tbody th { width: auto; min-width: 0; }
@media (max-width: 560px) { .story .table-wrap.vs-table th, .story .table-wrap.vs-table td { padding: 10px 6px; font-size: 13.5px; } .story .table-wrap.vs-table tr > :first-child { padding-left: 0; } .story .table-wrap.vs-table tr > :last-child { padding-right: 0; } }
/* 1 Play box per guide (owner, 2026-11-05: "每一篇都放一个就好"): the closing card is gone. Under the badge, as small
   print: "Free, with no sign-up needed to start." (owner, 2026-11-06) */
.story .cta-mid .cta-mid-note { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--story-soft); }
html:lang(zh-Hans) .story .cta-mid .cta-mid-note { font-size: 13.5px; line-height: 1.6; }
.story .cta-mid + p { margin-top: 36px; }
/* price list tables: side padding, so the text does not touch the edge of the tinted group rows (owner, 2026-11-06:
   "left right 要一点padding"); the other flat tables stay flush with the text column */
.story .table-wrap.plist tr > :first-child { padding-left: 12px; }
.story .table-wrap.plist tr > :last-child { padding-right: 12px; }
/* zh restatements for the guide review blocks (owner, 2026-11-06: "中文版的资料来源style 不一样"): the zh body rule
   (html:lang(zh-Hans) .story li) outranked .sources-list li, so the zh Sources list was body size; and the FAQ answers
   kept the en size and line height, larger and tighter than zh body text */
html:lang(zh-Hans) .story .sources-list li { font-size: 14px; line-height: 1.6; letter-spacing: 0; }
html:lang(zh-Hans) .story .faq-list details p { font-size: 17px; line-height: 1.8; }
/* ledgers readable (owner's design agent, 2026-11-07, "其他页面的也要帮我改"): labels were the light caption grey (#6b6b6b);
   now dark grey, still lighter than the amounts. Wider ledger so labels like "Air-conditioner, RM 3,000.00 × 34%" stay on one line. */
.story .ledger { max-width: 520px; }
.story .ledger dt { color: #3d3d3d; }
.story .ledger .ledger-sub dt, .story .ledger .ledger-total dt { color: var(--story-ink); }
/* money tables with fewer lines (owner's design agent, 2026-11-07, on the P&L preview): no rule between ordinary rows; a subtotal gets a light rule
   and semibold; only a real total keeps the dark rule. Rows sit tighter so the column still reads as one list. */
.story .table-wrap.money.steps tbody th, .story .table-wrap.money.steps tbody td { border-bottom: 0; padding-top: 8px; padding-bottom: 8px; }
.story .table-wrap.money.steps tbody tr:last-child > * { border-bottom: 1px solid #d4d4d4; padding-bottom: 12px; }
.story .table-wrap.money.steps tr.sub th, .story .table-wrap.money.steps tr.sub td { font-weight: 600; border-top: 1px solid #d4d4d4; padding-top: 10px; }
.story .table-wrap.money.steps tr.sub + tr:not(.sub):not(.total) > * { padding-top: 14px; }
.story .table-wrap.money.steps tr.total th, .story .table-wrap.money.steps tr.total td { border-top: 1px solid var(--story-ink); padding-top: 10px; }
.story .table-wrap.money.steps tr.total + tr.sub > * { border-top: 0; padding-top: 18px; }

/* click-to-open fold, same style as the Form B guide: this article lacks .pilot-formb, so it showed the browser default */
.story details.fold { margin-top: 28px; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.story details.fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--story-sans); font-size: 17px; font-weight: 600; color: var(--story-ink); }
.story details.fold summary::-webkit-details-marker { display: none; }
.story details.fold summary:hover { color: var(--brand-dark); }
.story details.fold summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.story details.fold summary::after { content: ""; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s ease; }
.story details.fold[open] summary::after { transform: rotate(180deg); }
.story details.fold .fold-body { padding: 0 0 24px; }
.story details.fold .fold-body > p:first-child { margin-top: 0; }
.story details.fold .fold-body > :first-child { margin-top: 4px; }   /* content starts right under the title: the ledger's own 1.5em top margin doubled the gap */
.story details.fold + p { margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .story details.fold summary::after { transition: none; } }

/* fold = a light inline aside, not an FAQ row (owner 2026-11-07): purple text toggle under the ledger it explains,
   no rules; opened content indented on a thin left rule so it reads as part of that ledger */
.story details.fold { margin-top: 14px; border: 0; }
.story details.fold summary { display: inline-flex; justify-content: flex-start; align-items: center; gap: 6px; padding: 4px 0; font-size: 15px; font-weight: 600; color: var(--brand-dark); }
.story details.fold summary:hover { color: var(--story-ink); text-decoration: underline; text-underline-offset: 3px; }
.story details.fold summary::after { width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234b45e0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat; }
.story details.fold .fold-body { margin-top: 10px; padding: 2px 0 4px 18px; border-left: 2px solid #e5e5e5; }
.story details.fold .fold-body > :first-child { margin-top: 0; }
.story details.fold + p { margin-top: 28px; }
