:root { color-scheme: light; --ink:#17394b; --muted:#6d7f8c; --line:#dbe5e9; --paper:#fff; --page:#eef3f6; --teal:#05778a; --blue:#519feb; --green:#109666; --shadow:0 14px 32px rgb(31 61 80 / 9%); }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--page); font:14px Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.topbar { min-height:68px; display:flex; justify-content:space-between; align-items:center; gap:22px; padding:12px max(24px, calc((100vw - 1440px) / 2)); background:#fff; border-bottom:1px solid var(--line); }
.brand, .data-actions { display:flex; align-items:center; gap:10px; font-weight:800; }
.brand small { padding-left:10px; border-left:1px solid var(--line); color:var(--muted); font-weight:650; }
.brand-mark { display:grid; place-items:center; width:29px; height:29px; color:#fff; background:var(--teal); border-radius:9px; font-family:Georgia,serif; font-size:18px; }
.data-actions { font-size:12px; font-weight:650; }
.load-status { color:var(--muted); }
main { max-width:1440px; margin:0 auto; padding:25px 24px 46px; }
.filters { display:grid; grid-template-columns:220px minmax(240px,1fr) auto; align-items:end; gap:14px; margin-bottom:18px; }
label { display:grid; gap:6px; color:#4f6676; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; }
select, input { width:100%; min-height:42px; padding:0 12px; border:1px solid #cfdce2; border-radius:8px; color:var(--ink); background:#fff; font:600 14px inherit; text-transform:none; letter-spacing:0; outline-color:#0d9bb3; }
.record-info { padding:13px 0; color:var(--muted); font-size:12px; }
.summary-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:18px; }
.summary-card, .panel, .kpi-card { background:var(--paper); border:1px solid var(--line); border-radius:15px; box-shadow:var(--shadow); }
.summary-card { min-height:111px; padding:18px; display:grid; align-content:space-between; }
.summary-card span, .summary-card small { color:var(--muted); font-weight:650; }
.summary-card strong { font-size:26px; letter-spacing:-.04em; }
.group-hero { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; padding:26px 28px; margin-bottom:18px; color:#fff; border-radius:16px; background:linear-gradient(115deg,#07475a,#087d90); box-shadow:var(--shadow); }
.group-hero h1 { margin:0 0 7px; font-size:28px; letter-spacing:-.04em; }
.group-hero p { margin:3px 0; color:#d9eff2; }
.assembly-chip { flex:0 0 auto; padding:10px 13px; border-radius:9px; color:#edfbfd; background:rgb(255 255 255 / 13%); font-size:12px; font-weight:800; }
.kpi-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin-bottom:18px; }
.kpi-card { min-height:142px; padding:19px; }
.kpi-card span { color:var(--muted); font-size:12px; font-weight:750; }
.kpi-card strong { display:block; margin:16px 0 7px; font-size:30px; letter-spacing:-.04em; }
.kpi-card small { color:#78909e; }
.delta { display:inline-block; margin-top:8px; padding:4px 8px; border-radius:99px; font-size:10px; font-weight:850; }
.delta.up { color:#a84347; background:#ffe6e7; }.delta.down { color:#087346; background:#dff7e9; }.delta.flat { color:#556976; background:#eef3f5; }
.max-bid-panel { margin:0 0 18px; padding:20px; border:1px solid #efd49a; border-radius:16px; background:#fffaf0; box-shadow:var(--shadow); }
.max-bid-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; padding:4px 1px 15px; }.max-bid-heading h2 { margin:5px 0 6px; font-size:20px; letter-spacing:-.03em; }.max-bid-heading p:not(.eyebrow) { margin:0; color:#92723a; font-size:12px; }.max-bid-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }.max-bid-card { min-height:133px; padding:18px; border:1px solid #efd49a; border-radius:11px; background:#fff; }.max-bid-card span { color:#846b3d; font-size:12px; font-weight:800; }.max-bid-card strong { display:block; margin:12px 0 4px; font-size:28px; letter-spacing:-.04em; }.max-bid-card small { color:#8a7b61; }.max-bid-chart-area { height:292px; margin-top:12px; padding-bottom:4px; border:1px solid #efd49a; border-radius:11px; background:#fff; }.max-bid-panel .chart-legend { margin:10px 4px 0; color:#92723a; }.max-bid-panel .chart-legend i { display:inline-block; width:9px; height:9px; margin-right:5px; border-radius:2px; background:#e86870; }
.analysis-grid { display:grid; grid-template-columns:1.5fr 1fr; gap:18px; margin-bottom:18px; }
.panel { overflow:hidden; }.panel-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:19px 22px; border-bottom:1px solid #e6edf0; }.panel-heading h2 { margin:5px 0 0; font-size:20px; letter-spacing:-.03em; }.eyebrow { margin:0; color:var(--teal); font-size:11px; font-weight:900; letter-spacing:.08em; }.compact-label { min-width:160px; }.compact-label select { min-height:38px; }
.chart-area { position:relative; height:324px; padding:14px 18px 12px; }.chart-area canvas { width:100%; height:100%; display:block; }.chart-tooltip { position:absolute; z-index:2; min-width:155px; padding:10px 12px; border:1px solid #cbd9df; border-radius:10px; color:var(--ink); background:rgb(255 255 255 / 97%); box-shadow:0 9px 25px rgb(31 61 80 / 16%); font-size:11px; font-weight:750; pointer-events:none; }.chart-tooltip b { display:block; margin-top:5px; color:var(--teal); }
.winners-panel { min-height:370px; }.winner-bars { display:grid; gap:18px; padding:35px 25px; }.winner-row { display:grid; grid-template-columns:95px 1fr 28px; align-items:center; gap:9px; font-size:12px; }.bar-track { height:11px; overflow:hidden; background:#e7eef1; border-radius:99px; }.bar-fill { height:100%; background:linear-gradient(90deg,#078091,#35bb9e); border-radius:inherit; }
.table-wrap { overflow:auto; max-height:440px; } table { width:100%; border-collapse:collapse; font-size:12px; } th,td { padding:12px 20px; border-bottom:1px solid #edf1f3; text-align:left; white-space:nowrap; } th { position:sticky; top:0; color:#687d8b; background:#f9fbfc; font-size:10px; text-transform:uppercase; letter-spacing:.05em; } .table-note { margin:0; padding:13px 20px; color:var(--muted); font-size:12px; }.no-data { padding:30px; color:var(--muted); text-align:center; }
.empty-state { max-width:630px; margin:80px auto; padding:45px; text-align:center; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); }.empty-state h1 { margin:8px 0; font-size:28px; }.empty-state p { color:var(--muted); line-height:1.65; }.empty-state code { padding:2px 5px; color:var(--teal); background:#e8f4f6; border-radius:4px; }.button { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:0 13px; border:0; border-radius:8px; cursor:pointer; font:800 12px inherit; text-transform:none; letter-spacing:0; }.primary { color:#fff; background:var(--teal); }.secondary { color:#07586a; background:#e5f3f5; }.empty-state .button { margin-top:9px; }
@media (max-width:900px) { .summary-grid{grid-template-columns:repeat(2,1fr)}.kpi-grid{grid-template-columns:repeat(3,1fr)}.analysis-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.record-info{display:none} }
@media (max-width:600px) { .topbar{align-items:flex-start;flex-direction:column}.data-actions{width:100%;justify-content:space-between}.brand small{display:none}main{padding:18px 14px}.filters,.summary-grid,.kpi-grid,.max-bid-cards{grid-template-columns:1fr}.group-hero,.max-bid-heading{flex-direction:column;padding:21px}.assembly-chip{width:100%}.panel-heading{align-items:flex-start;flex-direction:column}.compact-label{width:100%}.chart-area{height:270px}.winner-bars{padding:25px 16px}th,td{padding:11px 14px} }
