/* The shared CTRify sheet supplies the page frame, type scale, buttons and section rhythms. */
.auditor button { font-family: inherit; cursor: pointer; }
.auditor a { text-underline-offset: 3px; }
.auditor [hidden] { display: none !important; }
.audit-hero-media {
    display: grid;
    grid-template-columns: minmax(0,1.22fr) minmax(0,1fr);
    align-items: center;
    gap: clamp(16px,3vw,46px);
    padding-block: 5px 30px;
}
.audit-illustration { width: 100%; height: auto; }
.investigation {
    min-width: 0;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    padding: clamp(16px,2vw,24px);
    background: white;
    box-shadow: 0 8px 26px #1421240a;
}
.invest-title, .signal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.terminal-label { font-size: 12px; font-weight: 500; color: var(--home-green); }
.investigation .invest-title h2 { font: 600 20px/1.35 Poppins,Arial,sans-serif; margin-top: 3px; }
.invest-title h2 span { color: var(--home-muted); font-weight: 400; }
.run-mark { font-size: 11px; color: #345271; border: 1px solid #d7e5fa; border-radius: 4px; padding: 1px 7px; }
.check-nav { display: flex; gap: 5px; flex-wrap: wrap; margin: 12px 0; border-block: 1px solid var(--home-line); }
.check-nav button { font-size: 13px; font-weight: 500; line-height: 1.5; padding: 8px 7px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--home-muted); }
.check-nav button:first-child { padding-left: 3px; }
.check-nav button:hover, .check-nav button[aria-pressed=true] { color: var(--home-accent); border-bottom-color: var(--home-accent); }
.signal-head h3 { font-size: 16px; line-height: 1.4; }
.change { display: grid; grid-template-columns: auto auto auto; align-items: baseline; text-align: center; column-gap: 8px; flex-shrink: 0; }
.change b, .change strong { font-size: 25px; font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.change strong { color: var(--home-green); }
.change i { font-style: normal; color: var(--home-muted); }
.change span { grid-column: 1/-1; font-size: 10px; color: var(--home-muted); }
.cohort-label, .tile-key { font-size: 11px; color: var(--home-muted); }
.cohort-label { margin: 7px 0 4px; }
.tiles { display: grid; grid-template-columns: repeat(24,minmax(0,1fr)); gap: 3px; }
.tiles i, .tile-key i { display: block; height: 6px; border-radius: 1px; background: #e0e8e9; }
.tiles-canonical { grid-template-columns: repeat(6,minmax(0,1fr)); height: 24px; align-items: center; }
.tiles-canonical i { height: 8px; }
.tiles .resolved, .tile-key .resolved { background: #158269; }
.tiles .persistent, .tile-key .persistent { background: #a46513; }
.tiles .new, .tile-key .new { background: #cf554d; }
.tile-key, .tile-key span { display: flex; align-items: center; }
.tile-key { flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; }
.tile-key span { gap: 4px; }
.tile-key i { width: 7px; height: 7px; }
.sample-url { border-left: 2px solid #97bbee; padding-left: 9px; margin: 12px 0; line-height: 1.5; }
.sample-url code { font: 500 13px/1.5 ui-monospace,monospace; overflow-wrap: anywhere; }
.sample-url p { font-size: 12px; color: var(--home-muted); }
.investigation figcaption { padding-top: 8px; border-top: 1px solid var(--home-line); font-size: 12px; }
.investigation figcaption a, .ctrify-home .proof, .ctrify-home .read-report, .source-links a, .trust a, .more-cases a { color: var(--home-accent); font-weight: 500; }
.investigation figcaption a:hover, .proof:hover, .read-report:hover, .source-links a:hover { color: #104dbe; }
html:not(.interactive) .check-nav, html:not(.interactive) .job-nav { display: none; }
html:not(.interactive) .signal { padding-top: 14px; border-top: 1px solid var(--home-line); margin-top: 14px; }
html:not(.interactive) .workbench { display: block; }
html:not(.interactive) .job + .job { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--home-line); }

.market-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.65; }
.market-table th, .market-table td { vertical-align: top; padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--home-line); }
.market-table thead th { color: var(--home-muted); background: var(--home-soft); font-size: 13px; font-weight: 500; }
.market-table thead th:last-child { color: var(--home-accent); background: #e2edff; }
.market-table tbody th { width: 21%; font-size: 16px; font-weight: 600; }
.market-table .peer-cell { width: 32%; color: var(--home-muted); }
.market-table .ctr-cell { width: 47%; background: #f1f6ff; }
.market-table small { display: block; font-size: 12px; margin-top: 6px; }
.market-table .proof { display: inline-block; font-size: 13px; margin-top: 6px; }
.market-table tr:target > th, .market-table .linked-peer > th { background: #edf4ff; box-shadow: inset 3px 0 var(--home-accent); }
.ctrify-home .reviewed { color: var(--home-muted); font-size: 12px; margin-top: 16px; }

.shelf, .downloads { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.report, .os { min-width: 0; border: 1px solid var(--home-line); border-radius: 6px; background: white; }
.report { display: flex; flex-direction: column; overflow: hidden; }
.paper-preview { display: block; aspect-ratio: 1.82; overflow: hidden; padding: 14px 16px 0; background: #edf4f3; border-bottom: 1px solid var(--home-line); }
.cover-books { background: #f1f4fa; }
.cover-dawn { background: #eaf2fa; }
.paper-preview img { width: 100%; object-position: top; box-shadow: 0 4px 14px #14212412; }
.paper-preview:hover img { outline: 1px solid #97bbee; }
.report-copy { display: flex; flex-direction: column; flex: 1; align-items: start; padding: 22px; }
.report-copy .kind { font-size: 11px; font-weight: 500; color: var(--home-green); }
.report-copy h3 { font-size: 21px; margin: 10px 0 12px; }
.report-copy h3 a { text-decoration: none; }
.report-copy h3 a:hover { text-decoration: underline; }
.report-copy > p:not(.kind), .job > p { color: var(--home-muted); font-size: 14px; }
.formats, .source-links, .trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.formats { width: 100%; padding-top: 20px; margin-top: auto; font-size: 13px; }
.read-report { margin-right: auto; }
.format { font-size: 12px; text-decoration: none; border: 1px solid var(--home-line); padding: 3px 8px; border-radius: 4px; }
.format:hover { border-color: var(--home-accent); }
.more-cases { margin-top: 32px; border-block: 1px solid var(--home-line); }
.more-cases summary { cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 500; }
.more-cases p { font-size: 14px; padding: 0 0 14px; color: var(--home-muted); }

.workbench { display: grid; grid-template-columns: minmax(175px,.68fr) minmax(0,2fr); overflow: hidden; border: 1px solid var(--home-line); border-radius: 6px; }
.job-nav { display: flex; flex-direction: column; align-items: stretch; padding: 15px; gap: 8px; background: var(--home-soft); border-right: 1px solid var(--home-line); }
.job-nav button { font-size: 14px; text-align: left; border: 0; border-radius: 4px; background: transparent; padding: 12px; color: var(--home-muted); }
.job-nav button[aria-pressed=true], .job-nav button:hover { background: #e7effc; color: #104dbe; }
.jobs { min-width: 0; padding: clamp(20px,3vw,38px); }
.instruction { display: flex; align-items: baseline; gap: 10px; background: #edf4ff; border-left: 2px solid var(--home-accent); color: #164578; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.prompt-icon { font-weight: 600; }
.job h3 { margin-bottom: 8px; }
.job-metrics { display: flex; flex-wrap: wrap; gap: 18px 32px; margin: 18px 0; }
.job-metrics:empty { display: none; }
.job-metrics strong, .job-metrics span, .bench-plot span { display: block; }
.job-metrics strong { font-size: 23px; font-weight: 600; color: var(--home-green); }
.job-metrics span, .source-links, .trust { font-size: 13px; }
.source-links { margin-top: 18px; }

.bench-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 7%; align-items: center; }
.benchmark p:not(.home-eyebrow) { color: #b9c9cc; font-size: 15px; margin: 16px 0; }
.benchmark .report-link { font-size: 14px; }
.bench-plot > div + div { margin-top: 18px; }
.bench-plot span { color: #c4d6cc; font-size: 14px; }
.bench-plot strong { font-size: 32px; font-weight: 600; }
.bench-plot small { font-size: 15px; font-weight: 400; }
.meter { background: #39545c; height: 6px; }
.meter i { display: block; background: #9ac0ff; height: 100%; }
.meter.second i { background: #84ccb1; }
.os { padding: 18px 22px; }
.os-title, .package { display: flex; align-items: baseline; gap: 9px; justify-content: space-between; }
.os-title { margin-bottom: 8px; }
.os-title > span, .package small { font-size: 12px; color: var(--home-muted); }
.package { align-items: center; border-top: 1px solid var(--home-line); color: var(--home-accent) !important; padding: 10px 0; font-size: 14px; text-decoration: none; }
.package:hover span { text-decoration: underline; }
.package small { margin-left: auto; }
.download-icon { font-style: normal; }
.download-icon::after { content: "↓"; }
.trust { margin-top: 20px; }

@media (max-width: 900px) {
    .audit-hero-media { gap: 16px; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); }
    .report-copy { padding: 16px; }
    .shelf, .downloads { gap: 14px; }
}
@media (max-width: 760px) {
    .audit-hero-media, .shelf, .workbench, .bench-grid, .downloads { grid-template-columns: minmax(0,1fr); }
    .audit-hero-media { max-width: 540px !important; gap: 12px; }
    .audit-illustration { max-width: 430px !important; margin-inline: auto; }
    .investigation { margin-inline: 8px !important; }
    .signal-head h3 { font-size: 16px; }
    .market-table, .market-table tbody, .market-table tbody tr, .market-table tbody td, .market-table tbody th { display: block; width: 100%; }
    .market-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
    .market-table tbody tr { border: 1px solid var(--home-line); border-radius: 5px; overflow: hidden; margin-bottom: 14px; }
    .market-table tbody tr > * { border: 0; }
    .market-table tbody th { padding: 14px 16px 3px; }
    .market-table .peer-cell, .market-table .ctr-cell { width: 100%; padding: 7px 16px 14px; }
    .market-table .ctr-cell { border-top: 1px solid var(--home-line); padding-top: 12px; }
    .market-table .ctr-cell::before { content: "Con CTRify"; display: block; color: #104dbe; font-size: 12px; font-weight: 600; margin-bottom: 3px; }
    html[lang=en] .market-table .ctr-cell::before { content: "With CTRify"; }
    .shelf { gap: 20px; }
    .paper-preview { aspect-ratio: 2.15; }
    .job-nav { overflow-x: auto; flex-direction: row; gap: 5px; border: 0; border-bottom: 1px solid var(--home-line); padding: 8px; }
    .job-nav button { flex-shrink: 0; padding: 9px; }
    .bench-grid { gap: 28px; }
}
@media print {
    .home-actions, .home-engine-links, .job-nav, .check-nav { display: none; }
    .signal[hidden], .job[hidden] { display: block !important; }
    .home-band, .audit-hero-media { padding: 12px 0; }
    .report, .os, .market-table tr { break-inside: avoid; }
}
