/* Additions for the five pair pages; loaded after compare.css (pilot styles unchanged). */
h1, h2, h3 { text-wrap: balance; }
h2, h3, .num tr[id] { scroll-margin-top: 12px; }
table.num td, .card-value, .headline { font-variant-numeric: tabular-nums; }
.pair-page .key-a { border-top: 3px solid var(--a); }
.pair-page .key-b { border-top: 3px dashed var(--b); }
.chart .line-c { stroke: #334155; stroke-dasharray: 1.5 3; stroke-linecap: round; }
.chart .zero { stroke: #64748b; stroke-width: 1; }
.chart .mark { fill: #fff; stroke-width: 2; } .chart .mark-0 { stroke: var(--a); } .chart .mark-1 { stroke: var(--b); }
.chart .mark-label { font-weight: 700; fill: var(--ink); }
.headline { font-size: 1.1rem; border-top: 2px solid var(--ink); padding-top: 10px; }
.reset { display: inline-block; margin-left: 12px; padding: 10px 0; }
.preset-off { display: inline-block; border: 1px dashed #94a3b8; border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: var(--muted); }
.cta-off { display: block; flex: 1 1 220px; font-size: .9rem; border: 1px dashed #64748b; border-radius: 8px; padding: 10px 12px; }
.markers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.markers a { display: inline-block; padding: 8px 0; margin-right: 8px; font-size: .9rem; }
tr:target, tr:focus { background: #fef3c7; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.split > * { min-width: 0; }
td, th { overflow-wrap: break-word; }
.presets a:hover { background: #eff6ff; }
button:hover, .btn-cta:hover { background: #1e40af; }
button, .btn-cta, .presets a { touch-action: manipulation; }
.pair-page input[type=date]:focus-within { outline: 3px solid var(--a); outline-offset: 2px; }
