/* ==========================================================================
   report-page.css: one run as a short paper (2026-10-11)
   ==========================================================================
   The sheet, its type and its figures are research-reading.css's (`.research-paper`), so a report reads like a
   QuanterLab paper. This file adds what a paper has no use for: the bar above the sheet ("Open in the lab",
   "Download PDF"), the question the user asked, the verdict, the setup list, the deep-dive panel, the contents bar,
   the chart read-out, the lab's buttons and the print rules that drop the site around the sheet.

   SIZE (2026-10-11, evening). The founder first asked for "a little more compact", then, reading it in the lab: "the
   normal we set now is a bit small it can be 30% bigger for more comfortable reading". The compact values were
   scaled by 1.3: the sheet (860 -> 1120px), its measure (560 -> 760px), the type and the spacing. The figures follow
   the sheet's width, so they grew with it.

   A RESEARCH NOTEBOOK, NOT A GENERATED DASHBOARD (2026-10-11, track T2). The founder on this page: "looking like every
   other post in X promoting claude related things", "it is close to our papers styling yet it is still screaming
   claude", and on the lab's ribbon before it: "please make it monotone", "Not like glow effect or smoothened
   transitions as if it is 3d". So everything here is flat and one tone: paper #fbfaf6, ink #1a1a17, hairline rules,
   radius 0, no shadow, no tint, no transition. A note is plain text under a rule; an action is a square 1px ink
   outline, and the page's one main action ("Open the interactive view") a solid ink rectangle. A state shows by form:
   the pointer draws a hairline box or an underline, never a colour. The accent green belongs to one thing only, the
   line the answer is about in Figure 1 (report_figures.py). Inside the lab and the sidebar (?embed=1) the page is
   the sheet itself, paper to the edges.
   ========================================================================== */

.report-desk { padding: 28px 18px 72px; }
.report-embed.report-desk { padding: 18px 16px 48px; background: #fbfaf6; }

.report-bar {
    max-width: 1120px; margin: 0 auto 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end;
}
/* on paper the sheet has no edge, so the bar lines up with the text the way the sheet's padding sets it */
.report-embed .report-bar { padding-inline: 54px; }
.report-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 0;
    font: 500 16px/1.2 'DM Sans', 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    background: transparent; color: #1a1a17; border: 1px solid #1a1a17; text-decoration: none; cursor: pointer;
}
.report-btn:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.report-btn:focus-visible { outline: 2px solid #1a1a17; outline-offset: 2px; }
.report-btn.primary { background: #1a1a17; color: #fbfaf6; font-weight: 600; }
/* the full page keeps the research desk around the sheet: the bar's outlines are drawn in the paper's tone there */
.report-desk:not(.report-embed) .report-bar .report-btn { color: #f2efe8; border-color: #cfc9bd; }
/* where the report is kept, one quiet line at the bar's start (T7 round 11) */
.report-kept {
    margin: 0 auto 0 0; align-self: center; font: 400 15px/1.4 'DM Sans', 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    color: #1a1a17; opacity: 0.72;
}
.report-kept a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.report-desk:not(.report-embed) .report-kept { color: #cfc9bd; }
.report-desk:not(.report-embed) .report-bar .report-btn:focus-visible { outline-color: #f2efe8; }
/* A LAB RESULT TO SHARE (T7 round 39, add-on 8): under the bar once Share has made the page, the places by their
   marks (share-row.css) in the bar's own ink, square as its buttons are, and one quiet line on who can open it, in
   the kept line's tone */
.report-share, .report-share-note {
    max-width: 1120px; margin: -6px auto 16px; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: flex-end; gap: 4px 14px;
    --ink: #1a1a17; --muted: #1a1a17; --faint: #1a1a17; --rule: #1a1a17;
}
.report-share[hidden], .report-share-note[hidden] { display: none !important; }
.report-share .share-row { margin: 0; }
.report-share .share-row .share-mark, .report-share .share-row .share-native { border-radius: 0; }
.report-share-line {
    margin: 0; font: 400 14px/1.4 'DM Sans', 'Segoe UI', ui-sans-serif, system-ui, sans-serif; color: var(--faint);
    opacity: 0.72;
}
.report-desk:not(.report-embed) .report-share,
.report-desk:not(.report-embed) .report-share-note { --ink: #f2efe8; --muted: #cfc9bd; --faint: #cfc9bd; --rule: #cfc9bd; }
.report-desk:not(.report-embed) .report-share-line { opacity: 1; }
.report-embed .report-share, .report-embed .report-share-note { padding-inline: 54px; }

/* THE SHEET, COMFORTABLE, AND SQUARE: no radius, no lift */
.research-paper.report-paper {
    max-width: 1120px; padding: 44px 54px 46px; font-size: 19px; line-height: 1.58;
    border-radius: 0; box-shadow: none;
}
.research-paper.report-paper > p,
.research-paper.report-paper > ul,
.research-paper.report-paper > ol,
.research-paper.report-paper > .abstract,
.research-paper.report-paper > .byline { max-width: 760px; }
.research-paper.report-paper > h2,
.research-paper.report-paper > h3 { max-width: 820px; }
.research-paper.report-paper h1 { max-width: 920px; font-size: clamp(32px, 4.1vw, 46px); margin-bottom: 8px; }
.research-paper.report-paper h2 { font-size: 28px; margin: 34px 0 10px; padding-bottom: 6px; text-wrap: balance; }
.research-paper.report-paper p { margin: 0 0 11px; }
.research-paper.report-paper a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.research-paper.report-paper .eyebrow { font-size: 13px; letter-spacing: 0.12em; }
.research-paper.report-paper .byline { font-size: 15.5px; margin: 6px 0 4px; }
.research-paper.report-paper .report-question {
    font-family: var(--ql-display); font-style: italic; font-size: 24px; line-height: 1.35;
    color: var(--muted); margin: 14px 0 6px; max-width: 760px;
}
/* the line under the title (T7 round 20): what QuanterLab changed, or the version of its own that ran */
.research-paper.report-paper .report-changed { font-size: 16px; line-height: 1.5; margin: 10px 0 4px; max-width: 760px; }
.research-paper.report-paper .abstract { font-size: 19px; line-height: 1.58; padding-bottom: 14px; margin-bottom: 0; }
.research-paper.report-paper .abstract .lbl { margin: 12px 0 8px; font-size: 13px; }

/* THE ANSWER LEADS: the verdict in words, set as a label in ink, then the one sentence in a larger face. */
.research-paper .report-verdict {
    margin: 2px 0 8px; font: 600 14px/1.35 var(--ql-lab); letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink);
}
.research-paper.report-paper .abstract .report-lead { font-size: 22px; line-height: 1.5; color: var(--ink); }

/* THE RUN'S TIMELINE above its chart (T7 round 16): the lab's timeline in small, on its own dark plate. */
.research-paper .report-timeline { margin: 6px 0 18px; }
.research-paper .report-timeline svg { display: block; width: 100%; height: auto; }

/* A SCAN'S FUNNEL (T7 round 16): each step a ruled row, its plain words in ink and its own name small under them,
   the count at the right, and a bar under it as long as the share of the names scanned still in. */
.research-paper .report-funnel { list-style: none; margin: 4px 0 8px; padding: 0; max-width: 760px; }
.research-paper .report-funnel li {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 18px;
    padding: 10px 0 9px; border-top: 1px solid var(--rule); font-size: 19px; line-height: 1.35; color: var(--ink);
}
.research-paper .report-funnel .fw small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.research-paper .report-funnel .fc { font-size: 24px; font-variant-numeric: tabular-nums; }
.research-paper .report-funnel .fb { grid-column: 1 / -1; height: 4px; margin-top: 7px; background: var(--ink); }

/* THE FOUR NUMBERS: one ruled row under the answer's rule, each figure in ink; on a phone, a ledger (below). */
.research-paper.report-paper .headline {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; max-width: 760px;
    margin: 0 0 6px; border-bottom: 1px solid var(--rule);
}
.research-paper.report-paper .stat {
    min-width: 0; padding: 13px 18px 14px; border: 0; border-left: 1px solid var(--rule); border-radius: 0;
    background: none;
}
.research-paper.report-paper .stat:first-child { border-left: 0; padding-left: 0; }
.research-paper.report-paper .stat .k { font-size: 12.5px; }
.research-paper.report-paper .stat .v { font-size: 32px; color: var(--ink); }
.research-paper.report-paper .stat .s { font-size: 14.5px; }

/* GO DEEPER: the interactive view, offered right after the answer (inside the lab), as plain text and the page's
   one solid button. */
.research-paper .report-dive {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    margin: 24px 0 14px; padding: 0; max-width: 760px;
}
.research-paper .report-dive .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 320px; }
.research-paper .report-dive .txt b { font-family: var(--ql-display); font-size: 25px; font-weight: 600; color: var(--ink); }
.research-paper .report-dive .txt span { font-size: 16px; color: var(--muted); }
.research-paper .report-dive .report-btn { font-size: 17px; padding: 12px 22px; }
.research-paper .report-names { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; }
.research-paper .report-names .lbl {
    font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-right: 6px;
}
.research-paper .report-names .report-btn { font-size: 15.5px; padding: 7px 14px; }

/* THE CONTENTS: every section named, one click each (the founder: "we give so much yet hiding it"), as numbered
   words between two rules. In a modal or a chat window it stays at the top while the sheet scrolls. */
.research-paper .report-toc {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 18px 0 4px; padding: 9px 0;
    border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px;
}
.research-paper .report-toc .lbl {
    color: var(--faint); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 8px;
}
.research-paper .report-toc a {
    display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 7px; color: var(--ink); text-decoration: none;
    border: 1px solid transparent;
}
.research-paper .report-toc a .n { color: var(--faint); font-size: 13px; font-weight: 600; }
.research-paper .report-toc a:hover { border-color: var(--ink); }
.research-paper .report-toc a:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.report-embed .research-paper .report-toc {
    position: sticky; top: 0; z-index: 3; background: var(--paper); margin-inline: -8px; padding-inline: 8px;
}
.research-paper h2[id] { scroll-margin-top: 84px; }

/* What ran: a two-column list of settings, ruled like the papers' meta grid. */
.research-paper .report-setup {
    display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 8px 26px; margin: 8px 0 18px;
    padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    font-size: 17.5px; max-width: 920px;
}
/* straight under its heading the heading's own rule is the top rule: two lines ten pixels apart read as a box */
.research-paper h2 + .report-setup { border-top: 0; padding-top: 4px; }
.research-paper .report-setup dt { color: var(--faint); font-size: 15.5px; padding-top: 1px; }
.research-paper .report-setup dd { margin: 0; color: var(--ink); min-width: 0; }

/* Figures and tables, at the comfortable size. A figure sits on the sheet with its own axis: no plate, no edge. */
.research-paper.report-paper figure { margin: 14px 0 6px; }
.research-paper.report-paper .fig-svg { background: transparent; border: 0; border-radius: 0; }

/* A figure comes drawn at three widths (report_figures.WIDTHS: 760, 540 and 340 units) and its column shows the one
   that fits, so a 12-unit label sets at 11 to 17px from a 312px column up (a 390px phone's is 338px); the one wide
   drawing read at about 5px on a phone. Print takes the widest. */
.research-paper figure { container-type: inline-size; }
.research-paper .fig-svg.fig-m, .research-paper .fig-svg.fig-n { display: none; }
@container (max-width: 699px) {
    .research-paper .fig-svg.fig-w { display: none; }
    .research-paper .fig-svg.fig-m { display: block; }
}
@container (max-width: 499px) {
    .research-paper .fig-svg.fig-m { display: none; }
    .research-paper .fig-svg.fig-n { display: block; }
}
/* A desktop window draws every page at 80% (public-shell.css, under the same condition), so a label sets at 0.8 of
   its size there and the widest drawing needs a 875px column. */
@media (min-width: 769px) and (min-height: 501px) {
    @container (max-width: 874px) {
        .research-paper .fig-svg.fig-w { display: none; }
        .research-paper .fig-svg.fig-m { display: block; }
    }
}
/* A circuit comes drawn twice: the papers' layout drawn light, left to right, and stacked top to bottom
   (report_circuit.py), which a column under 700px shows. The wide drawing fits its column, so a wide circuit sets its
   labels small even on a desktop: its figure names the column that sets them at 11px (report_circuit.need) and the
   stack shows under it, the widest at every width. Print takes the wide one unless it needs more than 700px. */
.research-paper .fig-svg.fig-stack { display: none; }
@container (max-width: 699px) {
    .research-paper .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
    .research-paper .fig-svg.fig-stack { display: block; margin-inline: auto; }
}
@container (max-width: 749px) {
    .research-paper .circ-need-750 .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
    .research-paper .circ-need-750 .fig-svg.fig-stack { display: block; margin-inline: auto; }
}
@container (max-width: 799px) {
    .research-paper .circ-need-800 .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
    .research-paper .circ-need-800 .fig-svg.fig-stack { display: block; margin-inline: auto; }
}
.research-paper .circ-need-xl .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
.research-paper .circ-need-xl .fig-svg.fig-stack { display: block; margin-inline: auto; }
/* On a desktop window (80%, as above) a circuit needs a quarter more column than its class names. */
@media (min-width: 769px) and (min-height: 501px) {
    @container (max-width: 812px) {
        .research-paper .circ-need-650 .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
        .research-paper .circ-need-650 .fig-svg.fig-stack { display: block; margin-inline: auto; }
    }
    @container (max-width: 874px) {
        .research-paper .circ-need-700 .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
        .research-paper .circ-need-700 .fig-svg.fig-stack { display: block; margin-inline: auto; }
    }
    @container (max-width: 937px) {
        .research-paper .circ-need-750 .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
        .research-paper .circ-need-750 .fig-svg.fig-stack { display: block; margin-inline: auto; }
    }
    @container (max-width: 999px) {
        .research-paper .circ-need-800 .fig-svg.fig-circuit:not(.fig-stack) { display: none; }
        .research-paper .circ-need-800 .fig-svg.fig-stack { display: block; margin-inline: auto; }
    }
}
/* A RUN'S SURFACES (report_surface.py): the still heatmap on a phone and in print; in a column of 700px or more the
   box below it opens once the page's script has drawn the surface there (report_page.html), and the still view steps
   aside. The box takes no room until then, so a slow or missing library leaves the still view and no empty frame. */
.research-paper .surface-turn { display: none; }
@container (min-width: 700px) {
    .research-paper .surface-turn { display: block; height: 0; overflow: hidden; }
    .research-paper .surface-turn.is-drawn { height: 440px; }
    .research-paper .report-surface.is-live .surface-still { display: none; }
}
.research-paper.report-paper figcaption { font-size: 15.5px; margin-top: 6px; text-wrap: pretty; }
.research-paper.report-paper figcaption b,
.research-paper.report-paper .tbl-cap b { font-weight: 600; }
.research-paper.report-paper .tbl-cap { margin: 16px 0 6px; font-size: 15.5px; text-wrap: pretty; }
.research-paper.report-paper table { border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.research-paper.report-paper table.dense { font-size: 16.5px; }
.research-paper.report-paper table.dense th { font-size: 12.5px; }
.research-paper.report-paper table.dense th, .research-paper.report-paper table.dense td { padding: 7px 8px; }
.research-paper.report-paper td.num { font-size: 18px; }
.research-paper.report-paper ul { margin-bottom: 10px; }
.research-paper.report-paper li { margin-bottom: 4px; font-size: 18px; }
.research-paper.report-paper .report-foot { margin-top: 24px; font-size: 15px; }

/* The benchmark's row in a table reads as a reference, not as a competitor. */
.research-paper tr.report-ref td { color: var(--muted); font-style: italic; }

/* THE READ-OUT: a chart answers the pointer with the date and each line's value, on a square of paper. */
.research-paper figure.has-tip { position: relative; }
.research-paper figure.has-tip .fig-svg { cursor: crosshair; touch-action: pan-y; }
.research-paper .fig-tip {
    position: absolute; z-index: 4; pointer-events: none; min-width: 170px; max-width: 340px;
    padding: 9px 12px 10px; border-radius: 0; background: var(--paper); border: 1px solid var(--ink);
    box-shadow: none; font: 400 14.5px/1.4 var(--ql-lab); color: var(--ink);
}
.research-paper .fig-tip b { display: block; font-weight: 600; margin-bottom: 4px; }
.research-paper .fig-tip span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.research-paper .fig-tip i { width: 12px; height: 3px; border-radius: 0; flex: none; }
.research-paper .fig-tip em {
    margin-left: auto; padding-left: 14px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums;
}

/* Inside the lab: the lab's own next steps as outlined buttons, and a name in a table opens that name on the canvas
   (underlined words; the pointer boxes it). */
.research-paper .report-actions { display: grid; gap: 12px; margin: 10px 0 14px; }
.research-paper .report-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.research-paper .report-action span { color: var(--muted); font-size: 16px; flex: 1 1 300px; min-width: 0; }
.research-paper .report-name {
    font: inherit; font-weight: 600; color: var(--ink); background: none; border: 1px solid transparent;
    padding: 0 3px; margin: 0 -3px; cursor: pointer;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.research-paper .report-name:hover { border-color: var(--ink); text-decoration: none; }
.research-paper .report-name:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.report-in-lab .report-bar { margin-bottom: 12px; }

@media (max-width: 760px) {
    .report-desk, .report-embed.report-desk { padding: 12px 8px 40px; }
    .report-embed .report-bar, .report-embed .report-share, .report-embed .report-share-note { padding-inline: 18px; }
    .research-paper.report-paper { padding: 24px 18px 28px; font-size: 16.5px; }
    .research-paper.report-paper .abstract .report-lead { font-size: 18.5px; }
    .research-paper.report-paper h2 { font-size: 23px; }
    /* the four numbers as a ledger: the label left, the figure right, its note under it */
    .research-paper.report-paper .headline { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
    .research-paper.report-paper .stat {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px;
        padding: 9px 0; border-left: 0; border-top: 1px solid var(--rule);
    }
    .research-paper.report-paper .stat:first-child { border-top: 0; }
    .research-paper.report-paper .stat .v { grid-column: 2; grid-row: 1; margin-top: 0; font-size: 26px; text-align: right; }
    .research-paper.report-paper .stat .s { grid-column: 1 / -1; text-align: right; }
    .research-paper .report-setup { grid-template-columns: 1fr; gap: 2px 0; font-size: 16px; }
    .research-paper .report-setup dd { margin-bottom: 8px; }
    .research-paper .report-toc { font-size: 14px; }
}

/* the report in the chat's green (report-green.css, the screen's): what only the screen shows stays off the PDF, which
   prints the light sheet as before (T7, 7 November 2026) */
@media print {
    .screen-only { display: none !important; }
}
@media print {
    .site-nav, .pub-footer, .cookie-banner, .report-bar, .report-share, .report-share-note, .report-toc, .report-actions, .report-dive, .report-names, .fig-tip {
        display: none !important;
    }
    .report-desk { padding: 0; background: #fff !important; }
    body { background: #fff !important; }
    .research-paper.report-paper { max-width: none; padding: 0; font-size: 12.5pt; box-shadow: none; }
    .research-paper .fig-svg.fig-w { display: block !important; }
    .research-paper .fig-svg.fig-m, .research-paper .fig-svg.fig-n { display: none !important; }
    .research-paper .fig-svg.fig-circuit:not(.fig-stack) { display: block !important; }
    .research-paper .fig-svg.fig-stack { display: none !important; }
    .research-paper :is(.circ-need-750, .circ-need-800, .circ-need-xl) .fig-svg.fig-circuit:not(.fig-stack) {
        display: none !important;
    }
    .research-paper :is(.circ-need-750, .circ-need-800, .circ-need-xl) .fig-svg.fig-stack {
        display: block !important; margin-inline: auto;
    }
    .research-paper .surface-turn { display: none !important; }
    .research-paper .report-surface .surface-still { display: block !important; }
}

/* THE SHEET SHOWS IN ITS OWN TYPE (T7 round 10, report_page.html's head): its words wait, at most 900 ms, for the two
   type files asked for with the page, on the sheet itself, which stands meanwhile; if they come later the sheet keeps
   the fallback faces, so a line never moves once it shows. */
html.fonts-wait .research-paper.report-paper > * { visibility: hidden; }
html.fonts-fallback .research-paper {
    --ql-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --ql-display: Georgia, 'Times New Roman', serif;
    --ql-lab: 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    --ql-figures: Georgia, 'Times New Roman', serif;
}
