← back to Rentv Adintel
public/css/app.css
737 lines
/* RENTV Advertiser Intelligence — Simple View theme (spec §25).
Light-mode default, strong contrast, ≥18px base, ≥44px targets.
CSS custom props let a dark/night mode be layered later.
Printable: @media print strips chrome, preserves content. */
:root {
/* Palette */
--bg: #f5f6f8;
--surface: #ffffff;
--surface-alt: #f0f2f5;
--border: #d0d5de;
--border-strong: #9aa0ad;
--ink: #1a1e2b;
--ink-muted: #555d6e;
--ink-faint: #8a93a2;
--accent: #0047cc;
--accent-hover: #003399;
--accent-light: #dce8ff;
--success: #1a7a3a;
--success-bg: #e6f5ec;
--warn: #7a4f00;
--warn-bg: #fff3dc;
--danger: #9b1c1c;
--danger-bg: #fde8e8;
--info: #1a5276;
--info-bg: #d6eaf8;
--gold: #b78100;
--gold-bg: #fff8e1;
/* Typography */
--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
--font-size-base: 18px;
--font-size-sm: 15px;
--font-size-xs: 13px;
--font-size-lg: 20px;
--font-size-xl: 24px;
--font-size-h1: 28px;
/* Layout */
--header-h: 62px;
--rail-w: 270px;
--radius: 10px;
--radius-sm: 6px;
--shadow: 0 1px 4px rgba(0,0,0,.08);
--shadow-md: 0 3px 12px rgba(0,0,0,.12);
/* Card density (grid pages) */
--card-min: 300px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--font-size-base); }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--font);
font-size: var(--font-size-base);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-xl); }
h3 { font-size: var(--font-size-lg); }
h4 { font-size: var(--font-size-base); text-transform: uppercase; letter-spacing: .5px; color: var(--ink-muted); }
p { margin: 0 0 1em; }
/* ── Global nav header ── */
.site-header {
position: sticky;
top: 0;
z-index: 100;
background: var(--surface);
border-bottom: 2px solid var(--border);
height: var(--header-h);
display: flex;
align-items: center;
gap: 16px;
padding: 0 24px;
box-shadow: var(--shadow);
}
.site-header .brand {
font-size: var(--font-size-lg);
font-weight: 800;
color: var(--ink);
text-decoration: none;
white-space: nowrap;
flex-shrink: 0;
}
.site-header .brand span { color: var(--accent); }
.header-search {
flex: 1;
max-width: 480px;
padding: 10px 16px;
border: 2px solid var(--border);
border-radius: var(--radius);
font-size: var(--font-size-base);
background: var(--surface);
color: var(--ink);
min-width: 0;
}
.header-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.header-spacer { flex: 1; }
/* Market + Verified switches */
.switch-group {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.market-switch {
display: flex;
border: 2px solid var(--border);
border-radius: 8px;
overflow: hidden;
}
.market-switch button {
background: var(--surface);
border: none;
padding: 8px 14px;
font-size: var(--font-size-sm);
font-weight: 600;
color: var(--ink-muted);
cursor: pointer;
min-height: 44px;
min-width: 44px;
transition: background .1s, color .1s;
}
.market-switch button:hover { background: var(--accent-light); color: var(--accent); }
.market-switch button.active { background: var(--accent); color: #fff; }
.verified-switch {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
border: 2px solid var(--border);
border-radius: 8px;
font-size: var(--font-size-sm);
font-weight: 600;
background: var(--surface);
cursor: pointer;
min-height: 44px;
user-select: none;
color: var(--ink-muted);
transition: background .1s, border-color .1s;
}
.verified-switch.active { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.verified-switch input { accent-color: var(--success); width: 18px; height: 18px; cursor: pointer; }
.dl-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: var(--accent);
color: #fff;
border: none;
border-radius: var(--radius);
font-size: var(--font-size-sm);
font-weight: 700;
cursor: pointer;
min-height: 44px;
white-space: nowrap;
transition: background .15s;
text-decoration: none;
}
.dl-btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.dl-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* ── Page shell ── */
.page-shell { display: flex; align-items: flex-start; min-height: calc(100vh - var(--header-h)); }
.left-rail {
flex: 0 0 var(--rail-w);
background: var(--surface);
border-right: 1px solid var(--border);
position: sticky;
top: var(--header-h);
height: calc(100vh - var(--header-h));
overflow-y: auto;
padding: 0 0 60px;
}
.rail-section {
padding: 16px 18px;
border-bottom: 1px solid var(--border);
}
.rail-section h4 {
margin: 0 0 10px;
font-size: var(--font-size-xs);
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
}
.rail-section h4::after { content: '▾'; font-size: 11px; color: var(--ink-muted); transition: transform .15s; }
.rail-section.collapsed h4::after { transform: rotate(-90deg); }
.rail-section.collapsed > *:not(h4) { display: none !important; }
.page-content { flex: 1 1 auto; min-width: 0; padding: 28px 32px 60px; }
/* ── Stats bar ── */
.stats-bar {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
}
.stat-pill {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px 16px;
font-size: var(--font-size-sm);
display: flex;
flex-direction: column;
gap: 2px;
min-width: 120px;
}
.stat-pill .sp-label { color: var(--ink-muted); font-size: var(--font-size-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.stat-pill .sp-value { font-size: var(--font-size-lg); font-weight: 800; color: var(--ink); }
.stat-pill a { color: inherit; text-decoration: none; }
.stat-pill a:hover { text-decoration: underline; }
/* ── DEMO badge ── */
.demo-banner {
background: var(--warn-bg);
border: 2px solid #e6a800;
border-radius: var(--radius);
padding: 12px 18px;
margin-bottom: 20px;
font-size: var(--font-size-sm);
font-weight: 700;
color: var(--warn);
display: flex;
align-items: center;
gap: 10px;
}
/* ── Table engine ── */
.tbl-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
margin-bottom: 14px;
}
.tbl-search {
padding: 9px 14px;
border: 2px solid var(--border);
border-radius: var(--radius-sm);
font-size: var(--font-size-sm);
background: var(--surface);
color: var(--ink);
min-width: 260px;
}
.tbl-search:focus { outline: none; border-color: var(--accent); }
.tbl-sort-sel {
padding: 8px 12px;
border: 2px solid var(--border);
border-radius: var(--radius-sm);
font-size: var(--font-size-sm);
background: var(--surface);
color: var(--ink);
min-height: 44px;
}
.density-wrap {
display: flex;
align-items: center;
gap: 8px;
font-size: var(--font-size-sm);
color: var(--ink-muted);
}
.density-wrap input[type="range"] {
width: 100px;
accent-color: var(--accent);
}
.tbl-count { margin-left: auto; font-size: var(--font-size-sm); color: var(--ink-muted); }
.tbl-wrap {
overflow-x: auto;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
max-height: calc(100vh - 300px);
}
table.adv-tbl {
border-collapse: separate;
border-spacing: 0;
width: 100%;
font-size: var(--font-size-sm);
white-space: nowrap;
}
table.adv-tbl thead th {
position: sticky;
top: 0;
background: #e8ecf2;
color: var(--ink-muted);
font-size: var(--font-size-xs);
font-weight: 700;
text-transform: uppercase;
letter-spacing: .4px;
padding: 12px 14px;
border-bottom: 2px solid var(--border);
cursor: pointer;
user-select: none;
z-index: 2;
white-space: nowrap;
}
table.adv-tbl thead th:hover { color: var(--ink); }
table.adv-tbl thead th.asc::after { content: ' ▲'; color: var(--accent); }
table.adv-tbl thead th.desc::after { content: ' ▼'; color: var(--accent); }
table.adv-tbl thead th.dragcol { cursor: grab; }
table.adv-tbl thead th.dragging { opacity: .4; }
table.adv-tbl thead th.dropL { box-shadow: inset 3px 0 0 var(--accent); }
table.adv-tbl thead th.dropR { box-shadow: inset -3px 0 0 var(--accent); }
table.adv-tbl tbody td {
padding: 12px 14px;
border-bottom: 1px solid var(--border);
color: var(--ink);
vertical-align: middle;
}
table.adv-tbl tbody tr:last-child td { border-bottom: none; }
table.adv-tbl tbody tr:hover td { background: var(--accent-light); }
table.adv-tbl tbody tr { cursor: pointer; }
table.adv-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.adv-tbl a { color: var(--accent); }
/* expandable row */
.row-expand { background: var(--surface-alt) !important; cursor: default; }
.row-expand td { padding: 16px 20px !important; white-space: normal; }
/* ── Column field toggles in rail ── */
.field-toggles { display: flex; flex-direction: column; gap: 2px; max-height: 360px; overflow-y: auto; }
.ftog { display: flex; align-items: center; gap: 8px; font-size: var(--font-size-sm); color: var(--ink); cursor: pointer; padding: 4px 4px; border-radius: 6px; }
.ftog:hover { background: var(--accent-light); }
.ftog input { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.fgrp { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: var(--accent); margin: 10px 0 3px; font-weight: 700; }
.mini-btn { background: var(--surface); color: var(--ink-muted); border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; font-size: 13px; cursor: pointer; margin-right: 5px; }
.mini-btn:hover { border-color: var(--accent); color: var(--ink); }
/* ── Chips / facet filters ── */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
background: var(--surface-alt);
color: var(--ink-muted);
border: 1px solid var(--border);
border-radius: 20px;
padding: 5px 12px;
font-size: var(--font-size-xs);
font-weight: 600;
cursor: pointer;
user-select: none;
transition: background .1s, border-color .1s;
}
.chip:hover { color: var(--ink); border-color: var(--border-strong); }
.chip.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.chip .ct { color: var(--ink-faint); margin-left: 4px; font-size: 11px; }
/* ── Status / category badges (text + shape, not color alone) ── */
.badge {
display: inline-block;
font-size: 12px;
font-weight: 700;
padding: 3px 8px;
border-radius: 12px;
white-space: nowrap;
border: 1.5px solid transparent;
}
.badge-verified-advertiser { background: #e6f5ec; color: #1a7a3a; border-color: #a3d9b1; }
.badge-verified-sponsor { background: #d6eaf8; color: #1a5276; border-color: #9ac4e8; }
.badge-verified-exhibitor { background: #e8d8f5; color: #6a1a9a; border-color: #c49adf; }
.badge-verified-media { background: #fff8e1; color: #7a5c00; border-color: #f0d070; }
.badge-content-partner { background: #e8f4f0; color: #1a6a55; border-color: #90d0bb; }
.badge-panelist { background: var(--surface-alt); color: var(--ink-muted); border-color: var(--border); }
.badge-past-advertiser { background: #f5f5f0; color: #555; border-color: #ccc; }
.badge-likely-prospect { background: #fff3dc; color: #7a4f00; border-color: #f0c060; }
.badge-research-needed { background: #fff0e0; color: #7a3500; border-color: #e0a060; }
.badge-disqualified { background: #fde8e8; color: #9b1c1c; border-color: #f0a0a0; }
.score-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 28px;
border-radius: 8px;
font-size: var(--font-size-xs);
font-weight: 800;
background: var(--accent-light);
color: var(--accent);
border: 1.5px solid #a0b8e8;
}
.score-high { background: #e6f5ec; color: #1a7a3a; border-color: #a3d9b1; }
.score-mid { background: #fff3dc; color: #7a4f00; border-color: #f0c060; }
.score-low { background: var(--surface-alt); color: var(--ink-muted); border-color: var(--border); }
/* ── Org logo / thumbnail ── */
.org-thumb {
width: 44px;
height: 44px;
border-radius: 8px;
object-fit: contain;
background: var(--surface-alt);
border: 1px solid var(--border);
display: block;
}
.org-thumb-placeholder {
width: 44px;
height: 44px;
border-radius: 8px;
background: var(--surface-alt);
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: var(--ink-faint);
flex-shrink: 0;
}
/* ── Dashboard cards ── */
.dash-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin-bottom: 32px;
}
.dash-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px 22px;
box-shadow: var(--shadow);
}
.dash-card h3 { font-size: var(--font-size-sm); text-transform: uppercase; letter-spacing: .5px; color: var(--ink-muted); margin-bottom: 8px; }
.dash-card .big-num { font-size: 36px; font-weight: 900; color: var(--ink); line-height: 1; }
.dash-card .big-num a { color: var(--ink); text-decoration: none; }
.dash-card .big-num a:hover { color: var(--accent); text-decoration: underline; }
.dash-card .sub { font-size: var(--font-size-xs); color: var(--ink-muted); margin-top: 4px; }
.dash-card .when { font-size: var(--font-size-xs); color: var(--ink-faint); margin-top: 8px; }
/* Admin cards — created date+time chip (Steve HARD rule) */
.when-chip {
display: inline-flex;
align-items: center;
gap: 5px;
background: var(--surface-alt);
border: 1px solid var(--border);
border-radius: 6px;
padding: 3px 8px;
font-size: var(--font-size-xs);
color: var(--ink-muted);
white-space: nowrap;
}
/* ── Org profile page ── */
.org-header {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 24px 28px;
margin-bottom: 24px;
box-shadow: var(--shadow);
display: flex;
gap: 22px;
align-items: flex-start;
flex-wrap: wrap;
}
.org-header-info { flex: 1; min-width: 200px; }
.org-header h1 { font-size: var(--font-size-xl); margin-bottom: 8px; }
.org-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tab-bar {
display: flex;
gap: 2px;
border-bottom: 2px solid var(--border);
margin-bottom: 20px;
overflow-x: auto;
}
.tab-btn {
padding: 10px 18px;
background: none;
border: none;
font-size: var(--font-size-sm);
font-weight: 600;
color: var(--ink-muted);
cursor: pointer;
border-bottom: 3px solid transparent;
margin-bottom: -2px;
white-space: nowrap;
min-height: 44px;
border-radius: 6px 6px 0 0;
}
.tab-btn:hover { background: var(--accent-light); color: var(--accent); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--accent-light); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
/* ── Show-Me-Why score drawer ── */
.drawer-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,.4);
z-index: 200;
align-items: flex-start;
justify-content: flex-end;
}
.drawer-overlay.open { display: flex; }
.score-drawer {
width: min(500px, 98vw);
height: 100vh;
background: var(--surface);
border-left: 2px solid var(--border);
overflow-y: auto;
padding: 28px 28px 60px;
box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.score-drawer h2 { font-size: var(--font-size-lg); margin-bottom: 6px; }
.score-drawer .close-btn {
position: absolute;
top: 18px;
right: 22px;
background: none;
border: 1px solid var(--border);
border-radius: 6px;
padding: 6px 12px;
font-size: var(--font-size-sm);
cursor: pointer;
color: var(--ink-muted);
}
.factor-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid var(--border);
font-size: var(--font-size-sm);
}
.factor-row:last-child { border-bottom: none; }
.factor-name { color: var(--ink); font-weight: 600; flex: 1; }
.factor-bar-wrap { flex: 2; height: 10px; background: var(--surface-alt); border-radius: 5px; overflow: hidden; }
.factor-bar { height: 100%; background: var(--accent); border-radius: 5px; transition: width .3s; }
.factor-contrib { font-size: var(--font-size-xs); font-weight: 700; color: var(--ink-muted); min-width: 40px; text-align: right; }
/* ── Action buttons ── */
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 9px 16px;
font-size: var(--font-size-sm);
font-weight: 600;
border-radius: var(--radius-sm);
cursor: pointer;
border: 2px solid transparent;
text-decoration: none;
min-height: 44px;
white-space: nowrap;
transition: background .1s, border-color .1s, color .1s;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-outline { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-light); }
.btn-ghost { background: none; color: var(--ink-muted); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-alt); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
/* ── Evidence/sources ── */
.evidence-card {
background: var(--surface-alt);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 14px 16px;
margin-bottom: 12px;
font-size: var(--font-size-sm);
}
.evidence-card .ev-title { font-weight: 700; margin-bottom: 4px; }
.evidence-card .ev-meta { color: var(--ink-muted); font-size: var(--font-size-xs); display: flex; flex-wrap: wrap; gap: 8px; }
.evidence-card .ev-excerpt { margin-top: 8px; color: var(--ink-muted); font-style: italic; font-size: var(--font-size-xs); border-left: 3px solid var(--border); padding-left: 10px; }
/* ── Media-kit conflicts warning ── */
.conflict-warning {
background: var(--warn-bg);
border: 2px solid #e6a800;
border-radius: var(--radius-sm);
padding: 12px 16px;
font-size: var(--font-size-sm);
color: var(--warn);
margin-bottom: 16px;
}
/* ── Card grid (ads gallery etc) ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr)); gap: 20px; }
.ad-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow);
display: flex;
flex-direction: column;
}
.ad-card img { width: 100%; height: 160px; object-fit: cover; background: var(--surface-alt); display: block; }
.ad-card-body { padding: 14px 16px; flex: 1; }
.ad-card-body .org-name { font-weight: 700; font-size: var(--font-size-base); margin-bottom: 4px; }
.ad-card-body .ad-meta { font-size: var(--font-size-xs); color: var(--ink-muted); margin-bottom: 8px; }
.ad-card-footer { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-wrap: wrap; }
/* ── Sponsors vs panelists (conference page) ── */
.section-divider { font-size: var(--font-size-lg); font-weight: 800; color: var(--ink); margin: 24px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
/* ── Inline-list tables (contacts, sources etc.) ── */
.inline-list { list-style: none; margin: 0; padding: 0; }
.inline-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: var(--font-size-sm); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.inline-list li:last-child { border-bottom: none; }
/* ── Audit log ── */
.audit-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: var(--font-size-sm); }
.audit-row:last-child { border-bottom: none; }
.audit-action { font-weight: 700; color: var(--ink); }
.audit-meta { color: var(--ink-muted); font-size: var(--font-size-xs); }
/* ── Missing / empty states ── */
.empty-state { text-align: center; padding: 60px 24px; color: var(--ink-muted); }
.empty-state .em-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: var(--font-size-base); }
.miss { color: var(--ink-faint); }
/* ── Alerts ── */
.alert { border-radius: var(--radius-sm); padding: 12px 16px; font-size: var(--font-size-sm); margin-bottom: 16px; }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid #9ac4e8; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #f0c060; }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid #f0a0a0; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #a3d9b1; }
/* ── Settings / admin layout ── */
.settings-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 22px 24px;
margin-bottom: 20px;
box-shadow: var(--shadow);
}
.settings-card h3 { font-size: var(--font-size-base); margin-bottom: 12px; }
/* ── Media kit page ── */
.mk-snapshot {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.mk-metric {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px 20px;
}
.mk-metric .mk-val { font-size: 32px; font-weight: 900; color: var(--ink); }
.mk-metric .mk-label { font-size: var(--font-size-sm); color: var(--ink-muted); margin-top: 4px; }
.mk-metric .mk-source { font-size: var(--font-size-xs); color: var(--ink-faint); margin-top: 6px; }
/* ── Pagination ── */
.pagination { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: var(--font-size-sm); }
.pagination a, .pagination button {
padding: 8px 14px;
border: 1.5px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--accent);
font-weight: 600;
cursor: pointer;
text-decoration: none;
min-height: 44px;
display: inline-flex;
align-items: center;
}
.pagination a:hover, .pagination button:hover { background: var(--accent-light); }
.pagination .pg-info { color: var(--ink-muted); }
/* ── Progress bar for exports ── */
.progress-wrap { background: var(--surface-alt); border-radius: 8px; height: 12px; overflow: hidden; margin: 8px 0; }
.progress-bar { height: 100%; background: var(--accent); border-radius: 8px; transition: width .4s; }
/* ── Responsive ── */
@media (max-width: 860px) {
.left-rail { display: none; }
.page-content { padding: 16px 16px 60px; }
.site-header { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 10px; }
.header-search { max-width: 100%; order: 10; flex: 1 0 100%; }
}
/* ── Print ── */
@media print {
.site-header, .left-rail, .dl-btn, .tab-bar, .tbl-controls,
.btn, .drawer-overlay, .score-drawer, .switch-group { display: none !important; }
body { background: #fff; font-size: 12pt; }
.page-content { padding: 0; }
table.adv-tbl { font-size: 10pt; }
.tbl-wrap { max-height: none; overflow: visible; }
a { color: var(--ink) !important; text-decoration: none; }
}