.cir{--cir-line:var(--line,#24382d);--cir-muted:var(--muted,#8c9d91);--cir-accent:var(--accent,#39ff88);--cir-surface:var(--surface,#0d1510);color:var(--text,#e2e9e4);padding:28px!important;overflow:hidden}
.cir *{box-sizing:border-box}.cir [hidden]{display:none!important}.cir button,.cir input,.cir select{font:inherit;touch-action:manipulation}.cir button{cursor:pointer}.cir button:focus-visible,.cir a:focus-visible,.cir input:focus-visible,.cir select:focus-visible,.cir-table-scroll:focus-visible{outline:2px solid var(--cir-accent);outline-offset:3px}
.cir-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}.cir-heading h2{margin:4px 0 0;font-size:26px;letter-spacing:-.04em}.cir-eyebrow{margin:0;color:var(--cir-muted);font:10px/1.5 var(--font-mono,monospace);letter-spacing:.14em}.cir-meta{margin:0;color:var(--cir-muted);font:12px/1.5 var(--font-mono,monospace)}
.cir-tabbar{display:flex;gap:30px;border-bottom:1px solid var(--cir-line);margin-bottom:20px}.cir-tabbar button{position:relative;border:0;border-radius:0;background:none;color:var(--cir-muted);font-size:14px;padding:0 0 13px;min-width:38px}.cir-tabbar button[aria-selected=true]{color:var(--cir-accent);font-weight:700}.cir-tabbar button[aria-selected=true]::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--cir-accent)}
.cir-metric-legend{font-size:12px;line-height:1.65;color:var(--cir-muted);margin:0 0 14px}.cir-table-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--cir-line) transparent;isolation:isolate}.cir-table{border-collapse:separate;border-spacing:6px 8px;width:100%;min-width:1072px;table-layout:fixed;font-variant-numeric:tabular-nums}.cir-table th,.cir-table td{padding:0;text-align:center;border:0}.cir-table thead th{height:26px;color:var(--cir-muted);font:10px/1.4 var(--font-mono,monospace);letter-spacing:.08em}.cir-table tr>th:first-child{width:152px;position:sticky;left:0;z-index:2;background:var(--cir-surface);text-align:left;padding-right:12px}.cir-table tbody th{font-size:13px;font-weight:600}.cir-table td{height:86px}
.cir .cir-score{display:block;width:100%;border:1px solid transparent;border-radius:6px;background:none;padding:0;overflow:hidden;color:inherit;transition:border-color .12s,transform .12s}.cir .cir-score:hover{border-color:var(--text-2,#a2b8aa);transform:translateY(-1px)}
/* Selection is a solid ring in text colour (heat cells can be any ramp colour); keyboard focus is a separate dashed ring further out. */
.cir .cir-score[aria-pressed=true]{border-color:transparent;box-shadow:0 0 0 2px var(--cir-surface),0 0 0 4px var(--text,#e2e9e4)}.cir .cir-score:focus-visible{outline:2px dashed var(--focus,var(--cir-accent));outline-offset:6px}
/* Colours come from intelligence-heat.css (.ih-cell, fixed score scale). */
.cir-cell{display:grid;grid-template-columns:60% 40%;grid-template-rows:1fr 1fr;width:100%;height:82px;min-width:0;overflow:hidden;border-radius:4px}
.cir-cell>strong{grid-column:1;grid-row:1/3;display:flex;align-items:center;justify-content:center;min-width:0;font:700 26px/1 var(--font-mono,monospace);letter-spacing:-.04em;padding:0 2px;white-space:nowrap}.cir-money,.cir-time{display:flex;justify-content:center;align-items:center;min-width:0;white-space:nowrap;font:500 10px/1 var(--font-mono,monospace);font-variant-numeric:tabular-nums;background:rgba(0,0,0,.055);border-left:1px solid color-mix(in srgb,currentColor 22%,transparent);padding:0 2px}.cir-money{grid-column:2;grid-row:1}.cir-time{grid-column:2;grid-row:2;border-top:1px solid color-mix(in srgb,currentColor 22%,transparent)}
.cir-unavailable{color:var(--cir-muted)}.cir-table .ih-unsupported{height:82px}.cir-selection{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;color:var(--cir-muted);font-size:12px}.cir-selection>div{display:flex;gap:18px}.cir-selection button{border:0;background:none;color:var(--cir-accent);padding:6px 0;font-size:12px}
.cir-controls,.cir-dialog-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 20px}.cir-controls label,.cir-dialog-controls label,.cir-gallery-heading label{display:flex;align-items:center;gap:8px;color:var(--cir-muted);font-size:12px}.cir select,.cir input{border:1px solid var(--cir-line);border-radius:5px;background:var(--cir-surface);color:inherit;padding:9px 10px;min-height:38px}.cir-steppers{display:flex;gap:7px}.cir-steppers button{border:1px solid var(--cir-line);border-radius:4px;padding:9px 10px;background:transparent;color:var(--text);font-size:12px}.cir-dialog-controls a{margin-left:auto;color:var(--cir-accent);font-size:12px;text-decoration:none}
.cir-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.cir-gallery-heading p{font-size:12px;line-height:1.7;color:var(--cir-muted);margin:0}.cir-gallery-heading select{max-width:200px}.cir-gallery-group{margin-bottom:27px}.cir-gallery-group h3{font-size:14px;font-weight:600;margin:0 0 11px}.cir-gallery-group h3 small{font:10px var(--font-mono,monospace);margin-left:6px;color:var(--cir-muted);padding:2px 5px;border:1px solid var(--cir-line);border-radius:3px}.cir-gallery-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.cir .cir-art-card{padding:0;border:1px solid var(--cir-line);border-radius:6px;background:var(--cir-surface);color:var(--text);min-width:0;overflow:hidden;text-align:left;transition:border-color .12s,transform .12s}.cir .cir-art-card:hover{border-color:var(--cir-accent);transform:translateY(-2px)}.cir .cir-art-card[aria-pressed=true]{border-color:var(--cir-accent);box-shadow:0 0 0 1px var(--cir-accent)}.cir-thumb{display:block;aspect-ratio:8/5;background:#f5f4ed;overflow:hidden}.cir-thumb img{display:block;width:100%;height:100%;object-fit:contain}.cir-card-effort{display:block;font:10px var(--font-mono,monospace);color:var(--cir-muted);padding:7px 8px;letter-spacing:.06em}.cir-art-card .cir-cell{height:68px;border-radius:0}.cir-art-card .cir-cell>strong{font-size:23px}
.cir-art{margin-top:15px}.cir-art h3{margin:0;font-size:16px;font-weight:600}.cir-status{color:var(--cir-muted);font-size:11px;line-height:1.6;margin:7px 0 12px;overflow-wrap:anywhere}.cir-frame{position:relative;width:100%;height:min(56vh,620px);overflow:hidden;border:1px solid var(--cir-line);border-radius:6px;background:#fff}.cir-frame iframe{position:absolute;max-width:none;border:0;transform-origin:0 0}.cir-evaluation{margin-top:22px;font-size:13px;line-height:1.8}.cir-evaluation h4{margin:0 0 8px;font-size:13px;color:var(--cir-muted)}.cir-evaluation p{margin:0 0 15px}.cir-evaluation dl{display:grid;grid-template-columns:155px 1fr;gap:9px 20px}.cir-evaluation dt{color:var(--cir-muted)}.cir-evaluation dd{margin:0}.cir-evaluation ul{padding-left:18px;color:var(--cir-muted)}
.cir-dialog{width:min(96vw,1250px);max-height:94dvh;padding:22px;border:1px solid var(--cir-line);border-radius:9px;background:var(--cir-surface);color:var(--text,#e2e9e4);overflow:auto}.cir-dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}.cir-dialog-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:17px;font-size:15px;font-weight:600}.cir-dialog-top button{border:1px solid var(--cir-line);background:transparent;color:inherit;border-radius:4px;padding:7px 12px;white-space:nowrap}
.cir-candy-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr);gap:36px;margin-top:28px;line-height:1.85;font-size:13px}.cir-question{min-width:0}.cir-candy-layout h3{margin:0;font-size:16px}.cir-question table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.cir-question td,.cir-question th{padding:8px;border-bottom:1px solid var(--cir-line);text-align:center}.cir-answer{border-left:1px solid var(--cir-line);padding-left:28px}.cir-answer form{margin-top:16px}.cir-input-row{display:flex;gap:10px;margin-top:9px}.cir-input-row input{min-width:0;width:110px}.cir-input-row button{border:1px solid var(--cir-line);background:transparent;color:var(--cir-accent);border-radius:5px;padding:8px 17px}.cir-spoiler{border-top:1px solid var(--cir-line);padding-top:15px;margin-top:22px}.cir-spoiler summary,.cir-method summary{cursor:pointer;color:var(--cir-muted);font-size:12px}.cir-spoiler pre{font:14px/1.7 var(--font-mono,monospace);white-space:pre-wrap;overflow-wrap:anywhere}.cir-method{margin-top:24px;color:var(--cir-muted);font-size:11px;line-height:1.7}.cir-method p{margin:8px 0}.cir-method a{color:inherit}.cir-anchor{display:block;scroll-margin-top:84px}.cir-scroll-hint{display:none}.cir-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1000px){.cir-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cir{padding:20px 16px!important}.cir-heading{display:block;margin-bottom:22px}.cir-heading h2{font-size:24px}.cir-meta{margin-top:8px;font-size:11px}.cir-tabbar{gap:24px}.cir-table tr>th:first-child{width:140px}.cir-table tbody th{font-size:12px}.cir-cell>strong{font-size:25px}.cir-selection{align-items:flex-start;flex-direction:column;gap:5px}.cir-scroll-hint{display:block;margin:8px 0;color:var(--cir-muted);font-size:10px;text-align:right}.cir-gallery-heading{display:block}.cir-gallery-heading label{margin-top:12px}.cir-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cir-candy-layout{grid-template-columns:minmax(0,1fr);gap:24px}.cir-answer{border-left:0;border-top:1px solid var(--cir-line);padding:22px 0 0}.cir-dialog{width:98vw;padding:12px;max-height:96dvh}.cir-dialog-controls{gap:10px}.cir-dialog-controls label{display:block}.cir-dialog-controls select{display:block;max-width:180px;margin-top:4px}.cir-dialog-controls a{margin-left:0}.cir-frame{height:330px}.cir-evaluation dl{grid-template-columns:1fr;gap:3px}.cir-evaluation dd{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.cir *{transition:none!important}}

/* Phone layout keeps each model's effort scores together without a wide matrix. */
@media(max-width:640px){
 .cir-tabbar{gap:4px;overflow-x:auto;overscroll-behavior-inline:contain}
 .cir-tabbar button{flex:0 0 auto;min-height:44px;padding:0 3px 10px;font-size:12px}
 .cir[data-language=en] .cir-tabbar{flex-wrap:wrap;overflow:visible;column-gap:12px}
 .cir-table-scroll{overflow:visible}
 .cir-table,.cir-table tbody,.cir-table tr,.cir-table th,.cir-table td{display:block}
 .cir-table{min-width:0;width:100%;border-spacing:0}
 .cir-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .cir-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:20px}
 .cir-table tr>th:first-child{position:static;width:auto;grid-column:1/-1;padding:0 0 5px;background:none;font-size:13px}
 .cir-table td{height:auto;min-width:0;text-align:left}
 .cir-table td::before{content:attr(data-cir-column);display:block;color:var(--cir-muted);font:600 10px/1.5 var(--font-mono,monospace);letter-spacing:.04em;margin-bottom:4px}
 .cir-table .cir-cell{grid-template-columns:1fr;grid-template-rows:1fr auto auto;height:94px}
 .cir-table .cir-cell>strong{grid-column:1;grid-row:1;font-size:23px}
 .cir-table .cir-money,.cir-table .cir-time{grid-column:1;min-height:18px;border-left:0;font-size:11px}
 .cir-table .cir-money{grid-row:2;border-top:1px solid color-mix(in srgb,currentColor 22%,transparent)}
 .cir-table .cir-time{grid-row:3}
 .cir-table .ih-unsupported{height:94px}
 .cir-scroll-hint{display:none}
}

/* RP040 comparison: original imagery and a read-only edge view. */
.pm{min-width:0;font-size:13px;line-height:1.65}.pm-intro,.pm-graph-heading p{color:var(--cir-muted);font-size:12px;margin:0 0 14px}
.pm-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 24px}.pm-figure{margin:0;min-width:0}.pm-figure figcaption{font-size:13px;font-weight:600;margin-bottom:8px}.pm-figure button{display:block;width:100%;border:1px solid var(--cir-line);border-radius:6px;padding:8px;background:#fff;min-height:200px}.pm-figure img{display:block;width:100%;height:300px;object-fit:contain}
.pm-graph-heading h3{font-size:17px;margin:0 0 5px}.pm-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0 8px}.pm-filters label,.pm-relation-picker{display:flex;gap:7px;align-items:center;color:var(--cir-muted);font-size:12px}.pm select{min-height:44px}.pm-zoom{display:flex;gap:6px;margin-left:auto}.pm-zoom button,.pm-image-dialog button{min-height:44px;min-width:44px;border:1px solid var(--cir-line);border-radius:4px;background:transparent;color:inherit;padding:6px 10px}
.pm-legend{display:flex;gap:18px;margin:10px 0;color:var(--cir-muted);font-size:12px}.pm-correct{--pm-edge-color:#2f9d61}.pm-incorrect{--pm-edge-color:#dc6069}.pm-missing{--pm-edge-color:#b28c3b}.pm-legend span{color:var(--pm-edge-color)}
.pm-graph-scroll{width:100%;height:min(55vw,480px);min-height:240px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--cir-line);border-radius:6px;background:var(--cir-surface);scrollbar-width:thin}.pm-graph-scroll svg{display:block;width:100%;max-width:none;height:auto;min-height:100%;overflow:visible}
.pm-edge{cursor:pointer;color:var(--pm-edge-color)}.pm-edge-hit{stroke:transparent;stroke-width:32;pointer-events:stroke}.pm-edge-line{stroke:currentColor;stroke-width:5;opacity:.68;pointer-events:none}.pm-missing .pm-edge-line{stroke-dasharray:13 11}.pm-edge.is-active .pm-edge-line{stroke-width:10;opacity:1}.pm-edge-symbol{font:700 32px/1 var(--font-mono,monospace);fill:currentColor;paint-order:stroke;stroke:var(--cir-surface);stroke-width:7;pointer-events:none}.pm-edge:focus-visible .pm-edge-line{stroke-width:10;opacity:1}
.pm-node{cursor:pointer}.pm-node circle{fill:var(--cir-surface);stroke:var(--cir-muted);stroke-width:3}.pm-node text{fill:var(--text);font:700 30px var(--font-mono,monospace);pointer-events:none}.pm-node.is-selected circle,.pm-node:focus-visible circle{stroke:var(--cir-accent);stroke-width:6}
.pm-relation-picker{margin:16px 0 8px;flex-wrap:wrap}.pm-relation-picker select{max-width:100%;min-width:180px}.pm-endpoints{display:flex;gap:12px;justify-content:center;margin:8px 0 22px}.pm-endpoints figure{width:min(43%,230px);margin:0;text-align:center;font:600 13px var(--font-mono,monospace)}.pm-endpoints img{width:100%;height:auto;display:block;background:#fff;border-radius:5px}.pm-endpoints figcaption{padding:4px}
.pm-result{padding:18px 0;border-top:1px solid var(--cir-line);border-bottom:1px solid var(--cir-line)}.pm-result>div{display:flex;align-items:baseline;gap:9px}.pm-result strong{font:700 38px/1.3 var(--font-mono,monospace)}.pm-result p{margin:7px 0}.pm-result small,.pm-result>div>span{font-size:12px;color:var(--cir-muted)}.pm-error{padding:10px;border-left:3px solid #dc6069;color:var(--text);font-size:12px}.pm-source{margin-top:18px;font-size:12px;color:var(--cir-muted)}.pm-source summary{cursor:pointer}.pm-source pre{font:12px/1.8 var(--font-mono,monospace);white-space:pre-wrap}.pm-source a{color:inherit}
.pm-image-dialog{width:min(96vw,1250px);max-height:94dvh;padding:14px;border:1px solid var(--cir-line);border-radius:7px;overflow:auto;background:var(--cir-surface);color:var(--text)}.pm-image-dialog::backdrop{background:#000c}.pm-image-dialog>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pm-image-dialog img{display:block;width:100%;height:auto;background:#fff}
@media(max-width:640px){.pm-references{grid-template-columns:1fr;gap:18px}.pm-figure button{min-height:0}.pm-figure img{height:auto;max-height:330px}.pm-filters{gap:8px}.pm-filters label{gap:5px}.pm-zoom{margin-left:0}.pm-graph-scroll{height:260px}.pm-result>div{flex-wrap:wrap}.pm-result strong{font-size:34px}.pm-image-dialog{padding:10px}.pm-image-dialog>div{align-items:flex-start}.pm-image-dialog strong{font-size:13px}}

/* Every supported Pompeii effort carries its own source-bound edge preview. */
.pm-card-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.pm-card{min-width:0}.pm-card-graph{display:block;width:100%;aspect-ratio:1090/690;background:var(--cir-surface);border-bottom:1px solid var(--cir-line)}.pm-card-graph svg{display:block;width:100%;height:100%}.pm-card-graph .pm-edge-line{stroke-width:7;opacity:.85}.pm-card-graph .pm-edge-symbol{font-size:40px}.pm-card-graph .pm-node text{font-size:38px}.pm-card-graph .pm-node circle{stroke-width:4}.pm-card-unsupported{display:flex;flex-direction:column;justify-content:flex-end;min-width:0}.pm-card-unsupported>.ih-unsupported{min-height:108px}.pm-comparison-dialog{width:min(96vw,1150px)}.pm-comparison-dialog>.cir-dialog-top{position:sticky;top:-22px;z-index:1;background:var(--cir-surface);padding-bottom:10px}.pm-comparison-dialog .pm-references{margin-top:20px}
@media(max-width:1100px){.pm-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.pm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-comparison-dialog{width:98vw}.pm-comparison-dialog>.cir-dialog-top{top:-12px}}

/* Pompeii: one compact overview, with every core result visible on open. */
.pm-comparison-dialog{width:min(96vw,840px);max-height:calc(100dvh - 24px);padding:16px}
.pm-comparison-dialog>.cir-dialog-top{position:static;padding:0;margin:0 0 10px;font-size:14px}
.pm-comparison-dialog .cir-dialog-controls{gap:10px;margin:0 0 12px}
.pm-comparison-dialog .cir-dialog-controls label{font-size:11px}
.pm-comparison-dialog .cir-dialog-controls select{padding:5px 8px;min-height:32px;max-width:220px}
.pm-compact{font-size:12px;line-height:1.4}
.pm-compact .pm-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;margin-bottom:12px;background:var(--cir-hover);border:1px solid var(--cir-line);border-radius:6px}
.pm-compact .pm-result strong{font-size:30px;line-height:1}
.pm-compact .pm-result p{margin:4px 0 0;text-align:right}
.pm-counts{display:flex;gap:12px;flex-wrap:wrap}
.pm-counts span{color:var(--pm-edge-color)}
.pm-visuals{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:12px;align-items:start}
.pm-main{min-width:0;margin:0}
.pm-main figcaption,.pm-compact .pm-figure figcaption{margin:0 0 5px;font-size:11px;color:var(--cir-muted)}
.pm-compact .pm-graph-scroll{height:auto;min-height:0;overflow:hidden;aspect-ratio:1090/690}
.pm-compact .pm-graph-scroll svg{height:100%;min-height:0;width:100%;overflow:hidden}
.pm-compact .pm-edge,.pm-compact .pm-node{cursor:default}
.pm-compact .pm-references{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0}
.pm-compact .pm-figure button{min-height:0;padding:4px;border-radius:4px}
.pm-compact .pm-figure img{width:100%;height:110px;max-height:none;object-fit:contain}
.pm-compact .pm-legend{gap:14px;margin:8px 0 0;font-size:11px}
.pm-compact .pm-source{margin-top:10px;font-size:11px}
.pm-compact .pm-source pre{font-size:11px;line-height:1.5}
.pm-compact .pm-error{margin:0 0 8px;padding:7px;font-size:11px}
@media(max-width:640px){.pm-comparison-dialog{width:calc(100vw - 16px);padding:12px}.pm-comparison-dialog .cir-dialog-controls{gap:8px;margin-bottom:10px}.pm-comparison-dialog .cir-dialog-controls label{display:flex}.pm-comparison-dialog .cir-dialog-controls select{display:inline-block;margin:0;max-width:175px}.pm-compact .pm-result{gap:8px;padding:9px;margin-bottom:10px}.pm-compact .pm-result strong{font-size:28px}.pm-counts{gap:7px;font-size:11px}.pm-visuals{grid-template-columns:minmax(0,1fr);gap:9px}.pm-compact .pm-references{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pm-compact .pm-figure img{height:95px}.pm-compact .pm-legend{justify-content:center}.pm-compact .pm-result>div{gap:5px}}
.pm-compact .pm-result>div:first-child{flex:0 0 auto;flex-wrap:nowrap;white-space:nowrap}

/* Original artwork and its final evaluation share one compact opening view. */
.cir-art-dialog{width:min(96vw,960px);max-height:calc(100dvh - 24px);padding:16px}
.cir-art-dialog .cir-dialog-top{margin-bottom:10px;font-size:14px}
.cir-art-dialog .cir-dialog-controls{gap:8px;margin-bottom:10px}
.cir-art-dialog .cir-dialog-controls label{font-size:11px}
.cir-art-dialog .cir-dialog-controls select{padding:5px 8px;min-height:32px;max-width:210px}
.cir-art-dialog .cir-steppers button{padding:5px 8px;min-height:32px;font-size:11px}
.cir-art-dialog [data-two-art-title]{display:none}
.cir-art-dialog .cir-status{margin:4px 0;font-size:10px;line-height:1.4}
.cir-art-overview{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;align-items:start;margin-top:10px}
.cir-art-dialog .cir-frame{height:clamp(250px,45dvh,360px);min-width:0;margin:0}
.cir-art-dialog .cir-evaluation{min-width:0;margin:0;border:0;padding:0;font-size:12px}
.cir-score-overview{border:1px solid var(--cir-line);border-radius:6px;padding:12px}
.cir-score-line{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
.cir-score-line>span{flex-basis:100%;font-size:11px;color:var(--cir-muted)}
.cir-score-line>strong{font:700 38px/1.2 var(--font-mono,monospace)}
.cir-score-line>small{font-size:12px;color:var(--cir-muted)}
.cir-art-dialog .cir-score-raw{margin:5px 0 9px;font-size:11px;color:var(--cir-muted)}
.cir-art-dialog .cir-score-brief{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;margin:0;line-height:1.65;font-size:12px}
.cir-review-details{margin-top:10px;font-size:11px}
.cir-review-details>summary{cursor:pointer;color:var(--cir-muted)}
.cir-review-details[open]{grid-column:1/-1}
.cir-art-dialog .cir-review-details h4{font-size:13px;margin:12px 0 6px}
@media(max-width:640px){.cir-art-dialog{width:calc(100vw - 16px);padding:12px}.cir-art-dialog .cir-dialog-controls label{display:flex;gap:5px}.cir-art-dialog .cir-dialog-controls select{display:inline-block;margin:0;max-width:165px}.cir-art-dialog .cir-dialog-controls a{margin-left:auto;font-size:11px}.cir-art-overview{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:8px}.cir-art-dialog .cir-frame{height:clamp(170px,28dvh,230px)}.cir-score-overview{padding:10px}.cir-score-line>span{flex-basis:auto;margin-right:auto}.cir-score-line>strong{font-size:30px}.cir-art-dialog .cir-score-raw{margin:4px 0 7px}.cir-art-dialog .cir-score-brief{-webkit-line-clamp:4;font-size:11px;line-height:1.6}.cir-review-details{margin-top:8px}}

/* Plain-language scope note between the heading and result tabs. */
.cir-scope-note{margin:-12px 0 18px;color:var(--cir-muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}

.cir-test-time{margin:8px 0 10px;color:var(--muted);font-size:13px;line-height:1.6;font-variant-numeric:tabular-nums}
/* The scope note's pull-up is meant for the heading; after the test-time line it overlapped it by 2px. */
.cir-test-time+.cir-scope-note{margin-top:0}

/* Homepage edge: the section lines up with the other modules instead of sitting 28px (16px on phones) in.
   A 12px bleed stays outside the content so rings on edge cells clear overflow:hidden; the hairline is
   redrawn inside the bleed so it stays level with its neighbours. */
:root .ru-chapter>section.cir{margin-inline:-12px;padding-left:12px!important;padding-right:12px!important;border-top-color:transparent;background:linear-gradient(var(--line),var(--line)) 12px 0/calc(100% - 24px) 1px no-repeat border-box}

/* Heat scale: the end label centres on its tick like the others; flush right it ran into the 90% label
   ("135150" at 360px). The scale leaves room for that half label. */
.cir .ih-legend-scale{width:min(320px,calc(100% - 12px));margin-right:12px}
.cir .ih-legend-ticks span:last-child{transform:translateX(-50%)}
.cir .ih-legend-ticks span:last-child::before{left:50%;right:auto}

/* Selected-cell actions wrap rather than run past the clipped edge (English at 360px). */
.cir-selection>div{flex-wrap:wrap;row-gap:4px}
@media(max-width:640px){
 .cir-selection>div{row-gap:0}
 .cir-selection button{min-height:44px;padding:0}
 .cir .cir-tabbar button:focus-visible{outline-offset:-2px}
}

/* Numbers first: the real score grid leads, supporting explanations follow it. The heading
   is one line (title, eyebrow, meta), the test time a mono caption, and the grid is tighter,
   so several score rows reach the first screen at 1440x900 and the first row reaches it on a
   390x844 phone. Every model row, effort cell, cost/time field, tab and the heat scale stay. */
.cir-additional{margin-top:20px}
.cir-additional .cir-scope-note{margin:8px 0}
.cir-heading{align-items:baseline;flex-wrap:wrap;gap:2px 16px;margin-bottom:2px}
.cir-heading>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 12px;min-width:0}
.cir-heading h2{order:-1;margin:0;font-size:28px;line-height:1.2}
.cir-eyebrow{color:var(--accent-2,var(--cir-muted))}
.cir-test-time{margin:0 0 8px;color:var(--cir-muted);font:12px/1.5 var(--font-mono,monospace)}
.cir-tabbar{margin-bottom:8px}
.cir-tabbar button{padding-bottom:9px}
.cir-metric-legend{margin:0 0 2px;font:11px/1.5 var(--font-mono,monospace)}
.cir-table-scroll+.cir-scroll-hint+.ih-legend{margin-top:12px}
.cir-table:has(.cir-model-heading) tr>th:first-child{width:256px}
.cir-model-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px}
.cir-model-mean{white-space:nowrap;font-size:11px;font-weight:400;color:var(--cir-muted)}
.cir-model-mean strong{color:var(--cir-accent);font:700 13px/1.35 var(--font-mono,monospace)}
@media(max-width:640px){
 .cir-table:has(.cir-model-heading) tr>th:first-child{width:auto}
 .cir-model-heading{flex-direction:column;align-items:flex-start;gap:2px}
}
@media(min-width:641px){
 .cir-table{border-spacing:6px}
 .cir-table thead th{height:20px}
 .cir-table td{height:80px}
 .cir-table .cir-cell,.cir-table .ih-unsupported{height:76px}
}
@media(max-width:700px){
 .cir-heading{display:flex;margin-bottom:2px}
 .cir-heading h2{font-size:24px}
 .cir-meta{flex-basis:100%;margin-top:0}
 .cir-test-time{font-size:11px;margin-bottom:6px}
}
@media(max-width:640px){
 .cir-tabbar{margin-bottom:6px}
 .cir-tabbar button{padding-bottom:8px}
 .cir-table tbody tr{margin-bottom:12px}
 .cir-table tr>th:first-child{padding:0 0 2px}
 .cir-table td::before{margin-bottom:2px}
 .cir-table .cir-cell,.cir-table .ih-unsupported{height:86px}
 .cir-table .cir-cell>strong{font-size:24px}
}
/* Very wide screens: radar-ui widens the shell; the grid's figures grow with it. */
@media(min-width:2200px){
 .cir-table tr>th:first-child{width:184px}
 .cir-table tbody th{font-size:15px}
 .cir-table td{height:94px}
 .cir-table .cir-cell,.cir-table .ih-unsupported{height:90px}
 .cir-table .cir-cell>strong{font-size:32px}
 .cir-table .cir-money,.cir-table .cir-time{font-size:12px}
 .cir-metric-legend,.cir-test-time{font-size:13px}
}

/* Ticket 284 · The homepage-edge bleed above used to read `.ru-chapter>.cir` (0,2,0) and lost its
   margin/background to radar-ui's `.ru-chapter > :is(section, …, div.radar-insights)` (0,2,1): the
   grid sat 12px inside the station title and the Pareto module. `:root … section.cir` restores it.
   Station page: the station head ("模型智商 / IQ") is the page title. The score module sits right
   under it without the chapter rule; its title is one step smaller than the station title. */
:root[data-station-active] .home-station-page .ru-chapter>section.cir{background:none;padding-top:4px!important}
.home-station-page .cir-heading h2{font-size:20px;line-height:1.3;letter-spacing:-.01em}
@media(max-width:700px){.home-station-page .cir-heading h2{font-size:18px}}

.pm-ignored{color:#85928d}.pm-edge.pm-ignored .pm-edge-line{stroke:#85928d;stroke-dasharray:10 8;opacity:.55}
