/* v18-pages.css · what the long-form leaves moved into the V18 article frame carry beyond a blog post
   (build_v18_pages.py, 30.11.2026). Loaded after v18.css, v18-std.css and v18-post.css.
   Scope: .st-art[class*="xp-"] for every moved page, .xp-reports for the four reports, whose V17 components
   (PDF gate, findings, chapters, key figures, cost estimator) keep their class names and are drawn here in
   V18 manner: navy and blue, rounded 16 px plates, mono kickers, no serif. */

/* Tables: the article frame keeps a short first column on one line; these pages have long first cells. */
.st-art[class*="xp-"] .st-prose td:first-child { white-space: normal; }
.st-art[class*="xp-"] .st-prose td.aiv-num, .st-art[class*="xp-"] .st-prose .n { font-variant-numeric: tabular-nums; }
.st-art[class*="xp-"] .st-prose td.aiv-num { white-space: nowrap; font-weight: 600; color: var(--navy); }
.st-art[class*="xp-"] .st-prose td.aiv-src { color: #4a5873; font-size: 15px; }

/* Small kickers above section heads (V17 eyebrows). */
.xp-reports .eyebrow, .xp-reports .xp-k, .xp-reports .lab, .xp-reports .k {
  display: block; margin: 0 0 10px; font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.xp-reports .sec-head { margin-top: 2.4em; }
.xp-reports .sec-head h2 { margin-top: 0; }
.xp-reports .sec-note, .xp-reports .note, .xp-reports .cnote, .xp-reports .hint, .xp-reports .src, .xp-reports .fine {
  font-size: 15px; line-height: 1.5; color: #4a5873;
}
.xp-reports img { max-width: 100%; height: auto; border-radius: 12px; }
.xp-reports figure { margin: 0 0 1.6em; }
.xp-reports .wrap, .xp-reports .band, .xp-reports .l, .xp-reports .in { padding: 0; margin: 0; background: none; }

/* Buttons the V17 body carried, as V18 buttons inside the column. */
.xp-reports .st-prose .lb-btn { height: 52px; padding: 0 28px; font-size: 17px; margin: 4px 12px 4px 0; border: 1.5px solid var(--navy); text-decoration: none; }
.xp-reports .st-prose .lb-btn:not(.dark) { background: #fff; }
.xp-reports .tlink { font-weight: 600; }

/* PDF for an email (the V17 gate script toggles .rai-done on the gate; a returning reader gets .is-done). */
.xp-reports .rai-gate { margin: 0 0 2em; padding: 28px; border-radius: 16px; background: #eef3fb; max-width: 680px; }
.xp-reports .rai-lab { margin-bottom: 10px; }
.xp-reports .rai-row { display: flex; gap: 10px; flex-wrap: wrap; }
.xp-reports .rai-row input[type=email] {
  flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #c9d3e6;
  background: #fff; font: 400 16px/1.4 var(--sans, system-ui, sans-serif); color: var(--navy);
}
.xp-reports .rai-row input[type=email]:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.xp-reports .rai-row input[aria-invalid=true] { border-color: #b3261e; }
.xp-reports .rai-row .lb-btn { margin: 0; border-color: var(--navy); }
.xp-reports .rai-row .lb-btn[disabled] { opacity: .65; cursor: progress; }
.xp-reports .rai-chk { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; font-size: 14.5px; line-height: 1.45; color: #4a5873; cursor: pointer; }
.xp-reports .rai-chk input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.xp-reports .rai-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #b3261e12; color: #8f1d17; font-size: 14.5px; }
.xp-reports .rai-ts:empty { display: none; }
.xp-reports .rai-ready { display: none; }
.xp-reports .rai-ready h2 { margin: 0 0 14px; font-size: 28px; }
.xp-reports .rai-ready .tick { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
.xp-reports .rai-gate.rai-done .rai-form, .is-done .xp-reports .rai-form { display: none; }
.xp-reports .rai-gate.rai-done .rai-ready, .is-done .xp-reports .rai-ready { display: block; }

/* Findings, readers, short answers: cards in a grid. */
.xp-reports .rai-find, .xp-reports .rai-who, .xp-reports .px-three, .xp-reports .rw-figs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 1.4em 0 2em;
}
.xp-reports .rai-find > *, .xp-reports .rai-who > *, .xp-reports .px-three > *, .xp-reports .rw-figs > * {
  display: flex; flex-direction: column; min-width: 0; padding: 22px; border-radius: 16px; background: #f3f6fb;
}
.xp-reports .rai-find h3, .xp-reports .rai-who h3, .xp-reports .px-three h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.xp-reports .rai-find p, .xp-reports .rai-who p, .xp-reports .px-three p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; }
.xp-reports .rai-find .n, .xp-reports .rw-figs .n, .xp-reports .rw-figs .v {
  display: block; margin: 6px 0 12px; font-size: clamp(32px, 3vw, 44px); line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--blue);
}
.xp-reports .rai-find .src { margin-top: auto; padding-top: 10px; font: 500 12.5px/1.5 var(--mono); color: #4a5873; }
.xp-reports .rai-find .more { background: var(--navy); color: #d3dcf3; }
.xp-reports .rai-find .more h3 { color: #fff; }
.xp-reports .rai-find .more p, .xp-reports .rai-find .more .k { color: #c5d2ee; }

/* Chapters: a numbered list with rules. */
.xp-reports .rai-chap { list-style: none; margin: 1.4em 0 2em; padding: 0; border-top: 2px solid var(--navy); }
.xp-reports .rai-chap li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid #dfe4ee; }
.xp-reports .rai-chap .no { font: 500 14px/1.7 var(--mono); color: var(--blue); }
.xp-reports .rai-chap h3 { margin: 0; font-size: 20px; }
.xp-reports .rai-chap p { grid-column: 2; margin: 0; font-size: 15.5px; color: #4a5873; }

/* Author block. */
.xp-reports .rai-by { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid #dfe4ee; border-bottom: 1px solid #dfe4ee; margin: 2em 0; }
.xp-reports .rai-by img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.xp-reports .rai-by p { margin: 0 0 8px; }
.xp-reports .rai-by .made { font-size: 14.5px; color: #4a5873; }

/* Key figures (state of RWA, cost index): a strip of numbers. */
.xp-reports .hero-plate, .xp-reports .cfig { margin: 0 0 2em; }
.xp-reports .cfig, .xp-reports .hero-plate .r3, .xp-reports .stb-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
}
.xp-reports .cfig > div, .xp-reports .hero-plate .r3 > div { padding: 18px; border-radius: 16px; background: #f3f6fb; }
.xp-reports .cfig .n, .xp-reports .hero-plate .n { display: block; font-size: 30px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; color: var(--blue); margin-bottom: 6px; }
.xp-reports .cfig .c, .xp-reports .hero-plate .c, .xp-reports .cfig span:not(.n) { font-size: 14.5px; line-height: 1.4; color: #4a5873; }

/* The cost estimator (tokenization-cost-index): options as pills, the result as a navy plate. */
.xp-reports .est { margin: 1.4em 0 2em; padding: 26px; border-radius: 16px; background: #eef3fb; }
.xp-reports .est-q { margin: 0 0 8px; font-weight: 600; }
.xp-reports .opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.xp-reports .opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #c9d3e6; background: #fff; font-size: 15.5px; cursor: pointer; }
.xp-reports .opt:has(input:checked), .xp-reports .opt.on, .xp-reports .opt[aria-pressed=true] { border-color: var(--navy); background: var(--navy); color: #fff; }
.xp-reports .opt input { accent-color: var(--blue); }
.xp-reports .opt:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.xp-reports .est-out { margin-top: 10px; padding: 22px; border-radius: 14px; background: var(--navy); color: #fff; }
.xp-reports .est-out * { color: inherit; }
.xp-reports .est-out .n, .xp-reports .est-out .v { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -.02em; }
.xp-reports .est-delta { font-size: 15px; opacity: .85; }

/* Report preview images (PDF reports) never wider than the column. */
.xp-reports .px-img, .xp-reports .rpg-prev { max-width: 560px; }

@media (max-width: 640px) {
  .xp-reports .rai-gate, .xp-reports .est { padding: 20px; }
  .xp-reports .rai-row .lb-btn { width: 100%; justify-content: center; }
}

/* Page previews of the PDF reports: a page, not a poster. */
.xp-reports img[src*="/page-"] { display: block; max-width: 380px; width: 100%; border-radius: 6px; box-shadow: 0 14px 40px -18px rgba(7, 16, 30, .45); }
/* The gate inside the navy findings card: stacked, on a lighter plate. */
.xp-reports .rai-find .more .rai-gate { margin: 14px 0 0; padding: 16px; background: rgba(255, 255, 255, .08); }
.xp-reports .rai-find .more .rai-lab, .xp-reports .rai-find .more .rai-chk { color: #dbe4f7; }
.xp-reports .rai-find .more .rai-row .lb-btn { width: 100%; justify-content: center; background: #fff; color: var(--navy) !important; }
/* The estimator's question groups. */
.xp-reports fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.xp-reports legend { padding: 0; margin: 0 0 8px; font-weight: 600; }

/* The Register Quarter's email overlay (V17 script adds .on to open it, html.rp-lock while open). */
.rp-ov.xp-reports { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 16px; background: rgba(2, 10, 34, .72); }
.rp-ov.xp-reports.on { display: grid; }
html.rp-lock, .rp-lock body { overflow: hidden; }
.rp-ov.xp-reports .rp { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 32px; border-radius: 20px; background: #fff; color: var(--navy); }
.rp-ov.xp-reports .rp-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef3fb; font-size: 24px; cursor: pointer; }
.rp-ov.xp-reports .rp-art img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 14px 40px -18px rgba(7, 16, 30, .45); }
.rp-ov.xp-reports h2 { margin: 6px 0 10px; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.rp-ov.xp-reports .rp-lead { margin: 0 0 12px; color: #4a5873; }
.rp-ov.xp-reports .rp-ticks { margin: 0 0 18px; padding-left: 18px; font-size: 15px; color: #4a5873; }
.rp-ov.xp-reports form > div { margin-bottom: 12px; }
.rp-ov.xp-reports .l { display: block; margin-bottom: 6px; font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.rp-ov.xp-reports input[type=email] { box-sizing: border-box; width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #c9d3e6; font: 400 16px/1.4 var(--sans, system-ui, sans-serif); }
.rp-ov.xp-reports input[type=email]:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.rp-ov.xp-reports .chk { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 14.5px; color: #4a5873; }
.rp-ov.xp-reports .chk input { width: 20px; height: 20px; flex: none; accent-color: var(--blue); }
.rp-ov.xp-reports .lb-btn { height: 52px; padding: 0 28px; font-size: 17px; }
.rp-ov.xp-reports .rp-fine { margin: 12px 0 0; font-size: 13.5px; color: #4a5873; }
.rp-ov.xp-reports .rp-done { display: none; }
.rp-ov.xp-reports .is-done .rp-ask, .rp-ov.xp-reports.is-done .rp-ask { display: none; }
.rp-ov.xp-reports .is-done .rp-done, .rp-ov.xp-reports.is-done .rp-done { display: block; }
@media (max-width: 640px) { .rp-ov.xp-reports .rp { grid-template-columns: 1fr; padding: 24px; } .rp-ov.xp-reports .rp-art { display: none; } }

/* The Register Quarter's "Get the report" row and its headline numbers. */
.xp-reports .xp-get { margin: 0 0 2em; padding: 24px; border-radius: 16px; background: #eef3fb; }
.xp-reports .xp-get .acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.xp-reports .proofbar { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.xp-reports .proofbar > * { padding: 18px; border-radius: 16px; background: #f3f6fb; font-size: 14.5px; line-height: 1.4; color: #4a5873; }
.xp-reports .proofbar b, .xp-reports .proofbar strong { display: block; margin-bottom: 6px; font-size: 28px; line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.xp-reports .creds { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 2em; padding: 0; list-style: none; font: 500 13px/1.4 var(--mono); color: #4a5873; }
.xp-reports .proofbar dd { margin: 0 0 6px; font-size: 28px; line-height: 1; font-weight: 600; letter-spacing: -.02em; color: var(--blue); }
.xp-reports .proofbar dt { font-size: 14.5px; line-height: 1.4; color: #4a5873; }
.xp-reports .creds i { font-style: normal; color: var(--blue); margin-right: 6px; }
/* Chapters of the Register Quarter: number, title and text, figures on the right. */
.xp-reports .px-steps { margin: 1.4em 0 2em; border-top: 2px solid var(--navy); }
.xp-reports .px-steps > div { display: grid; grid-template-columns: 52px minmax(0, 1fr) 150px; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid #dfe4ee; }
.xp-reports .px-steps .n { font: 500 14px/1.9 var(--mono); color: var(--blue); }
.xp-reports .px-steps h3 { margin: 0 0 4px; font-size: 20px; }
.xp-reports .px-steps p { margin: 0; font-size: 15.5px; color: #4a5873; }
.xp-reports .px-steps .r { font-size: 14px; }
.xp-reports .px-steps .r small { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 640px) { .xp-reports .px-steps > div { grid-template-columns: 40px minmax(0, 1fr); } .xp-reports .px-steps .r { grid-column: 2; } }

/* ---- Year-end State of RWA (build_v18_report_rwa.py): key figures, letter, findings, "Our view", charts ---- */
.xp-reports .xr-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 10px; }
.xp-reports .xr-figs > div { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: #f3f6fb; }
.xp-reports .xr-figs b { font-size: clamp(28px, 2.6vw, 38px); line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.xp-reports .xr-figs span { font-size: 14.5px; line-height: 1.4; color: #4a5873; }
.xp-reports .xr-src { margin: 0 0 2em; font-size: 13.5px; line-height: 1.5; color: #4a5873; }
.xp-reports .xr-letter { margin: 0 0 1em; padding: 26px 0 0; border-top: 2px solid var(--navy); }  /* a printed letter: a rule above, no side bar (impeccable side-tab, 30.11.2026) */
.xp-reports .xr-letter p { font-size: 19px; line-height: 1.6; }
.xp-reports .xr-sign { margin-top: 1.4em; font-weight: 600; }
.xp-reports .xr-sign small { font-weight: 400; color: #4a5873; font-size: 15px; }
.xp-reports .xr-find, .xp-reports .xr-pred { counter-reset: xr; list-style: none; margin: 1em 0 2em; padding: 0; border-top: 2px solid var(--navy); }
.xp-reports .xr-find li, .xp-reports .xr-pred li { counter-increment: xr; position: relative; padding: 16px 0 16px 52px; border-bottom: 1px solid #dfe4ee; line-height: 1.55; }
.xp-reports .xr-find li::before, .xp-reports .xr-pred li::before { content: counter(xr, decimal-leading-zero); position: absolute; left: 0; top: 18px; font: 500 14px/1.4 var(--mono); color: var(--blue); }
.xp-reports .xr-find b, .xp-reports .xr-pred b { color: var(--navy); }
.xp-reports .xr-view { margin: 1.8em 0 1em; padding: 24px 26px; border-radius: 16px; background: var(--navy); color: #e6ecf8; }
.xp-reports .xr-view .xr-k { margin: 0 0 10px; font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9db8ec; }
.xp-reports .xr-view p:last-child { margin: 0; font-size: 18px; line-height: 1.6; color: #fff; }
.xp-reports .xr-cite { padding: 16px 18px; border-radius: 12px; background: #f3f6fb; font: 400 14.5px/1.6 var(--mono); }
.xp-reports .faq h3 { font-size: 19px; }

/* Charts (build_v18_charts.py): one series, labels in text ink, the data table folded under each chart. */
.xp-reports .xc { margin: 1.6em 0 2em; padding: 22px 22px 16px; border: 1px solid #dfe4ee; border-radius: 16px; }
.xp-reports .xc-t { margin: 0 0 14px; font-weight: 600; font-size: 17px; color: var(--navy); }
.xp-reports .xc-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.xp-reports .xc-plot:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.xp-reports .xc svg text { font-family: var(--sans, system-ui, sans-serif); }
.xp-reports .xc-v { font-size: 13px; font-weight: 600; fill: #0b1b3a; font-variant-numeric: tabular-nums; }
.xp-reports .xc-l { font-size: 12.5px; fill: #4a5873; }
.xp-reports .xc-l2 { font-size: 13.5px; fill: #0b1b3a; }
.xp-reports .xc-bar:hover path, .xp-reports .xc-bar:hover rect { opacity: .8; }
.xp-reports .xc-n { margin: 12px 0 6px; font-size: 13px; line-height: 1.5; color: #4a5873; }
.xp-reports .xc-data summary { cursor: pointer; font: 500 12.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.xp-reports .xc-data table { font-size: 15px; margin-top: 8px; }
.xp-reports .xr-rules td:first-child { white-space: nowrap; }
@media (max-width: 760px) {
  .xp-reports .xr-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-reports .xc { padding: 16px 14px 12px; }
  .xp-reports .xc-plot { overflow-x: auto; }
  .xp-reports .xc-plot svg { min-width: 560px; }
  .xp-reports .xr-rules td:first-child { white-space: normal; }
}
.xp-reports .xc-t { font-family: var(--sans, system-ui, sans-serif); letter-spacing: -.01em; text-transform: none; }

/* Blog category pages /blog/tag/<slug> (build_v18_tags.py): the category row is links between pages, drawn
   exactly as the /blog filter buttons (.st-tabs button in v18-std.css); the current category is navy. */
.st-tabs a { all: unset; cursor: pointer; font-size: 17px; padding: 10px 16px; border-radius: 999px; background: var(--grey); color: #0b1430; transition: background-color .2s; white-space: nowrap; }
.st-tabs a sup { font: 500 11px/1 var(--mono); color: #5d6673; margin-left: 5px; vertical-align: top; position: relative; top: 2px; }
.st-tabs a[aria-current=page] { background: var(--navy); color: #fff; }
.st-tabs a[aria-current=page] sup { color: #cfe0ff; }
.st-tabs a:hover { background: #dfe5f0; }
.st-tabs a[aria-current=page]:hover { background: var(--navy); }
.st-tabs a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
