/* Slate and sea blue, shared with the digest email (INK in scout.py) */
:root {
  color-scheme: light;
  --bg: #f4f6f8; --card: #ffffff; --fg: #2d3742; --strong: #16202a; --muted: #6c7a89; --line: #dde4ea; --hover: #edf2f6;
  --brand: #12466b; --accent: #1c6ea4; --accent-fg: #fff; --soft: #e3eff8; --selected: #e9f2f9;
  --read: #f8fafb; --star: #d6981c; --strong-fit: #2f7a59; --strong-bg: #e4f2ea; --reach-bg: #eceff2;
  --wide: #c8574b; --moderate: #d3a12a; --niche: #3f9a6c; --bad: #b24a3c;
  --display: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 10px 40px rgba(20, 40, 60, .14); --toast: #16202a; --toast-fg: #f2f6f9; --toast-link: #9fcdee;
}
/* shared.js sets data-theme before the page paints: the system's theme until the reader picks one with the header toggle */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1418; --card: #151b21; --fg: #d9e1e8; --strong: #f2f6f9; --muted: #8696a6; --line: #25303a; --hover: #1a2229;
  --brand: #9fcdee; --accent: #6fb6e6; --accent-fg: #06223a; --soft: #1c3345; --selected: #172a38;
  --read: #12181d; --star: #f0c05a; --strong-fit: #7dd3a8; --strong-bg: #173126; --reach-bg: #222b33;
  --wide: #e58172; --moderate: #f0c05a; --niche: #7dd3a8; --bad: #f09a8c;
  --shadow: 0 10px 40px rgba(0, 0, 0, .5); --toast: #e6edf3; --toast-fg: #16202a; --toast-link: #1c6ea4;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 14px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
.muted { color: var(--muted); } .small { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }

header { display: flex; align-items: baseline; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 26px 20px 6px; }
.updated { margin-left: auto; font-style: italic; }
.theme { border: 0; background: transparent; width: 30px; height: 30px; margin: -6px -6px -6px 0; align-self: center; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .15s, background .15s; }
.theme:hover { color: var(--accent); background: var(--soft); }
.theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; animation: spin-in .35s ease-out; }
@keyframes spin-in { from { opacity: 0; transform: rotate(-60deg) scale(.7); } }
.brand { font-family: var(--display); font-weight: 650; font-size: 22px; color: var(--brand); text-decoration: none; letter-spacing: -.02em; }
main { max-width: 1180px; margin: 0 auto; padding: 8px 20px 40px; }

/* Folders, search and filters */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 0 10px; }
.tabs { display: flex; gap: 2px; }
.tab { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; display: inline-flex; gap: 7px; align-items: center; transition: background .15s, color .15s; }
.tab:hover { color: var(--fg); background: var(--hover); }
.tab.on { color: var(--accent); background: var(--soft); }
.tab svg { width: 16px; height: 16px; margin-right: -1px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.on svg { stroke-width: 2; }
.tab .count { font-size: 11px; font-weight: 700; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--line); color: var(--fg); text-align: center; }
.tab.on .count { background: var(--accent); color: var(--accent-fg); }
#search { width: 240px; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; transition: border-color .15s, width .2s; }
#search:focus { outline: none; border-color: var(--accent); width: 300px; }
.ghost { border: 0; background: transparent; color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.ghost:hover { color: var(--accent); }
input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; cursor: pointer; }

/* The inbox */
.list { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: clip; }
/* Gmail's bar: select-all, then actions for the checked roles */
.actionbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 4px; min-height: 46px; padding: 0 14px 0 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.actionbar .grow { flex: 1; }
.actionbar .picked { font-size: 13px; font-weight: 600; color: var(--fg); margin: 0 10px 0 12px; white-space: nowrap; }
.actionbar .btn { padding: 5px 10px; font-size: 13px; }
.fits { display: flex; align-items: center; gap: 6px; margin-left: 14px; overflow-x: auto; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 9px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: currentColor; }
.chip.strong { --c: var(--strong-fit); --cb: var(--strong-bg); } .chip.good { --c: var(--accent); --cb: var(--soft); }
.chip.reach { --c: var(--muted); --cb: var(--reach-bg); }
.chip.wide { --c: var(--wide); --cb: var(--hover); } .chip.moderate { --c: var(--moderate); --cb: var(--hover); } .chip.niche { --c: var(--niche); --cb: var(--hover); }
.reach-filter { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.reach-filter .label { margin-right: 2px; }
/* Same parts in both states, so toggling never moves anything. On: filled dot, tinted chip, coloured border.
   Off: hollow dot, faded text, plain border. */
.chip i { width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid var(--c); background: transparent; }
.chip:not(.on) { opacity: .6; }
.chip:not(.on):hover { opacity: 1; }
.chip.on { color: var(--c); background: var(--cb); border-color: var(--c); }
.chip.on i { background: var(--c); }
.chip .n { display: inline-block; width: 3ch; text-align: right; font-weight: 500; opacity: .7; } /* Fixed, so a changing count can't nudge the row */
.reset.idle { visibility: hidden; }
.actionbar .select-all { display: grid; place-items: center; width: 22px; }
.row { display: grid; grid-template-columns: 22px 22px minmax(120px, 170px) minmax(0, 1fr) 84px 96px 70px 70px 70px; gap: 10px; align-items: center; padding: 0 14px 0 16px; min-height: 44px; border-top: 1px solid var(--line); position: relative; }
.row.head { border-top: 0; min-height: 34px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.row.head button { border: 0; background: none; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; display: inline-flex; gap: 4px; align-items: center; }
.row.head button:hover, .row.head button.on { color: var(--fg); }
.row.head .arrow { font-size: 9px; opacity: 0; } .row.head button.on .arrow { opacity: 1; }
.job { cursor: pointer; background: var(--read); transition: background .12s; }
.job.unread { background: var(--card); }
.job:hover { background: var(--hover); box-shadow: 0 1px 4px rgba(20, 40, 60, .1); z-index: 1; }
.job.checked { background: var(--selected); }
.job.cursor { box-shadow: inset 3px 0 0 var(--accent); }
.job .cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job .company { color: var(--fg); }
.job .role { color: var(--muted); }
.job .role b { color: var(--fg); font-weight: 400; }
.job.unread .company, .job.unread .role b { color: var(--strong); font-weight: 700; }
.job .right { text-align: right; }
.pick { display: grid; place-items: center; align-self: stretch; cursor: pointer; }
.star { border: 0; background: transparent; padding: 0; width: 22px; height: 22px; display: grid; place-items: center; color: color-mix(in srgb, var(--muted) 60%, transparent); }
.star:hover { color: var(--fg); }
.star svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.star.on { color: var(--star); } .star.on svg { fill: currentColor; transform: scale(1.08); }
.tag { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; padding: 0 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); margin-left: 6px; vertical-align: 1px; }
.fit { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 10px; text-transform: capitalize; }
.fit.strong { color: var(--strong-fit); background: var(--strong-bg); }
.fit.good { color: var(--accent); background: var(--soft); }
.fit.reach { color: var(--muted); background: var(--reach-bg); }
.source { display: inline-block; font-size: 10.5px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 0 6px; margin-left: 6px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); white-space: nowrap; }
.source svg { width: 10px; height: 10px; margin-right: 3px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2; }
.meta .source { margin-left: 0; }
.none { color: var(--line); }

.icon { border: 0; background: transparent; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.icon:hover { background: var(--soft); color: var(--accent); }
.icon:disabled { opacity: .35; cursor: default; } .icon:disabled:hover { background: transparent; color: var(--muted); }
.icon svg, .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.leaving { animation: leave .22s ease-in forwards; }
@keyframes leave { to { opacity: 0; transform: translateX(14px); } }
.entering { animation: enter .3s ease-out backwards; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } }

.empty { padding: 72px 20px; text-align: center; color: var(--muted); }
.empty .big { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--brand); margin-bottom: 4px; }
.hint { text-align: center; margin-top: 14px; }
kbd { font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 4px; margin: 0 1px; }

/* A job, opened */
.scrim { position: fixed; inset: 0; z-index: 4; background: rgba(15, 25, 35, .22); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100vw); background: var(--card); border-left: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(104%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; outline: none; z-index: 5; }
/* An open role keeps its scrolling to itself and only moves up and down. */
.drawer { overscroll-behavior: contain; overflow-x: hidden; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.sheet, .facts dd { min-width: 0; overflow-wrap: anywhere; }
html:has(body.open), body.open { overflow: hidden; }
body.open .drawer { transform: none; }
body.open .scrim { opacity: 1; pointer-events: auto; }
.bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 4px; padding: 10px 14px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .grow { flex: 1; }
.sheet { padding: 22px 28px 48px; }
.employer { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sheet h1 { font-family: var(--display); font-weight: 650; font-size: 23px; letter-spacing: -.01em; line-height: 1.2; color: var(--strong); margin: 6px 0 12px; }
.sheet.from-right { animation: from-right .22s cubic-bezier(.2, .8, .2, 1); }
.sheet.from-left { animation: from-left .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes from-right { from { opacity: 0; transform: translateX(44px); } }
@keyframes from-left { from { opacity: 0; transform: translateX(-44px); } }
.subline { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.subline > span + span::before { content: '·'; margin: 0 8px; color: var(--line); }
/* Estimated reach: a quiet dot, red for widely syndicated postings through green for niche ones */
.exposure { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 0 1px 7px; vertical-align: middle; opacity: .8; }
.exposure.wide { background: var(--wide); } .exposure.moderate { background: var(--moderate); } .exposure.niche { background: var(--niche); }
.subline .exposure, .role .exposure { margin: 0 7px 1px 0; }
.exposure:focus-visible, .reach-line:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reach-line { cursor: default; }
.closed { color: var(--bad); }
.facts { display: grid; grid-template-columns: 84px 1fr; gap: 6px 14px; margin: 0 0 26px; font-size: 13.5px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.note { margin: 0 0 16px; }
.about-company { margin: -6px 0 12px; color: var(--fg); font-size: 14px; }
.job-summary { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.note b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 26px; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 8px; padding: 7px 13px; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn.primary:hover { filter: brightness(1.08); color: var(--accent-fg); }
.btn.quiet, .actionbar .btn { border-color: transparent; color: var(--muted); padding-left: 10px; padding-right: 10px; }
.btn.quiet:hover, .actionbar .btn:hover { border-color: transparent; background: var(--hover); color: var(--accent); }
.bar .star { width: 30px; height: 30px; } .bar .star svg { width: 19px; height: 19px; }
.btn.on { background: var(--soft); border-color: var(--accent); color: var(--accent); }
.btn.on svg path.tick { stroke-dasharray: 14; stroke-dashoffset: 14; animation: draw .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.pull { height: 0; overflow: hidden; display: grid; place-items: center; transition: height .22s ease-out; }
.pull.dragging { transition: none; }
.pull span { font-size: 19px; opacity: 0; transition: opacity .15s; }
.pull.dragging span { transition: none; }
.pull.loading span { opacity: 1; animation: spin 1s cubic-bezier(.5, .1, .5, .9) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.haptic { position: fixed; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
@media (display-mode: standalone) { html, body { overscroll-behavior-y: none; } }

.settings { width: min(400px, calc(100vw - 32px)); padding: 16px 20px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--fg); box-shadow: var(--shadow); }
.settings::backdrop { background: rgba(15, 25, 35, .32); }
.settings-head { display: flex; align-items: center; justify-content: space-between; }
.settings-head .icon { font-size: 22px; line-height: 1; margin-right: -6px; }
.settings h2 { font-family: var(--display); font-weight: 650; font-size: 19px; color: var(--brand); margin: 0; }
.settings h3 { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.settings p, .settings ol { margin: 0 0 10px; } .settings ol { padding-left: 20px; }
.options { border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; }
.option { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 0; border: 0; background: none; text-align: left; color: var(--muted); }
.scout { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--strong); text-decoration: none; font-weight: 600; }
.scout:hover { border-color: var(--accent); }
.scout:empty { display: none; }
.scout i { width: 8px; height: 8px; border-radius: 50%; background: var(--strong-fit); box-shadow: 0 0 0 3px var(--strong-bg); }
.scout i.warn { background: var(--star); box-shadow: none; } .scout i.off { background: var(--bad); box-shadow: none; }
.scout .muted { margin-left: auto; font-weight: 400; font-size: 13px; }
.scout svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.option + .option { border-top: 1px solid var(--line); }
.option.on { color: var(--strong); font-weight: 600; }
.option svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.test { display: block; margin-top: 8px; padding: 4px 0; border: 0; background: none; color: var(--accent); font-size: 13px; }
.status { color: var(--muted); margin: 10px 0 0 !important; min-height: 1.4em; }

/* One tooltip for both pages (shared.js): the reach dots here, the info buttons and chart columns on /status */
.tip { position: fixed; z-index: 10; max-width: 240px; padding: 6px 9px; border-radius: 7px; background: var(--toast); color: var(--toast-fg); font-size: 12px; line-height: 1.35; box-shadow: var(--shadow); pointer-events: none; opacity: 0; transform: translateY(2px); transition: opacity .12s, transform .12s; }
.tip.on { opacity: 1; transform: none; }
.tip b { display: block; font-weight: 600; margin-bottom: 1px; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--toast); color: var(--toast-fg); border-radius: 10px; padding: 9px 10px 9px 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); transition: opacity .2s, transform .2s; z-index: 10; font-size: 13.5px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; background: transparent; color: var(--toast-link); font-weight: 700; padding: 2px 6px; }

@media (max-width: 1000px) {
  .row { grid-template-columns: 22px 22px minmax(100px, 150px) minmax(0, 1fr) 84px 90px 70px; }
  .col-where, .col-posted { display: none; }
}
/* Phones: each job becomes two quiet lines, checkbox on the left and star on the right, as in Gmail */
@media (max-width: 680px) {
  header { padding: 18px 16px 4px; } main { padding: 6px 12px 32px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  #search, #search:focus { width: 100%; }
  .actionbar { padding: 0 8px 0 12px; }
  .actionbar .btn { padding: 5px 7px; }
  .actionbar .btn .label { display: none; }
  .actionbar { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; gap: 6px; }
  .fits { order: 5; flex: 1 0 100%; margin: 0; }
  .reach-filter { order: 6; border-left: 0; padding-left: 0; }
  .chip .n { display: none; }
  .fits { gap: 4px; }
  .chip { padding: 0 8px; gap: 5px; font-size: 12px; height: 26px; }
  .brand { font-size: 21px; white-space: nowrap; }
  .updated { display: none; } /* The two header buttons need the room */
  .theme:first-of-type { margin-left: auto; }
  header { gap: 10px; }
  .tab { padding: 6px 9px; }
  .tab svg { display: none; }
  .row.head { display: none; }
  .row { grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: 'pick company found' 'pick role star' 'pick meta meta'; gap: 1px 10px; padding: 10px 12px; }
  .pick { grid-area: pick; align-self: start; margin-top: 2px; }
  .col-star { grid-area: star; justify-self: end; }
  .col-company { grid-area: company; } .col-role { grid-area: role; } .col-found { grid-area: found; }
  .col-fit, .col-pay { display: none; }
  .meta { grid-area: meta; display: flex !important; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
  .hint { display: none; }
  .sheet { padding: 18px 18px 40px; }
  .bar [data-drawer="prev"], .bar [data-drawer="next"], .bar > .muted { display: none; }
  .bar [data-drawer="close"] { width: 40px; height: 40px; margin-left: -6px; color: var(--strong); }
  .bar [data-drawer="close"] svg { width: 24px; height: 24px; stroke-width: 2; }
}
.meta { display: none; }
/* Status */
.info { border: 0; background: none; padding: 0; margin-left: 4px; width: 13px; height: 13px; display: inline-grid; place-items: center; vertical-align: -2px; color: var(--muted); opacity: .65; }
.info:hover, .info:focus-visible { opacity: 1; color: var(--accent); }
.info svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.health { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; padding: 11px 16px; margin-bottom: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--strong); }
.verdict i { width: 9px; height: 9px; border-radius: 50%; background: var(--strong-fit); }
.verdict.warn i { background: var(--star); } .verdict.off i { background: var(--bad); }
.fact { font-size: 12.5px; color: var(--muted); white-space: nowrap; } .fact b { color: var(--fg); font-weight: 600; }
.alerts { flex: 1 0 100%; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--strong); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 12px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: clip; }
.tile { background: var(--card); padding: 10px 14px; min-width: 0; }
.label, .panel th { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tile .value { font-size: 21px; font-weight: 600; color: var(--strong); font-variant-numeric: tabular-nums; }
.tile .label { white-space: nowrap; letter-spacing: .03em; }
.charts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; min-width: 0; margin-bottom: 12px; }
.charts .panel { margin: 0; }
.panel h2 { display: flex; align-items: baseline; gap: 2px; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--strong); }
.panel h2 .peak { margin-left: auto; font-size: 11.5px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.columns { display: flex; align-items: flex-end; gap: 2px; height: 70px; border-bottom: 1px solid var(--line); }
.column { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0; }
.column:hover { background: var(--hover); }
.column i { display: block; min-height: 0; background: var(--accent); }
.column i:first-child { border-radius: 3px 3px 0 0; }
.column i.good, .column i.research { background: color-mix(in srgb, var(--accent) 60%, var(--card)); }
.column i.reach { background: color-mix(in srgb, var(--accent) 28%, var(--card)); }
.column.pair { flex-direction: row; align-items: flex-end; gap: 1px; }
.column.pair i { flex: 1; border-radius: 3px 3px 0 0; }
.columns.fine { gap: 1px; }
.columns.fine i { border-radius: 1px 1px 0 0; }
.axis { display: flex; justify-content: space-between; margin-top: 3px; font-size: 11px; color: var(--muted); }
.legend { display: flex; gap: 10px; margin-top: 3px; font-size: 11px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; background: var(--accent); }
.legend i.good, .legend i.research { background: color-mix(in srgb, var(--accent) 60%, var(--card)); }
.legend i.reach { background: color-mix(in srgb, var(--accent) 28%, var(--card)); }
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; align-items: start; }
.panel table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.panel th { text-align: left; padding: 2px 8px 5px 0; white-space: nowrap; }
.panel td { padding: 4px 8px 4px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.panel th.n, .panel td.n { text-align: right; padding-right: 0; padding-left: 8px; }
.panel td.n, .panel td.opt { white-space: nowrap; overflow-wrap: normal; }
.panel td.bad { color: var(--bad); font-weight: 600; }
@media (max-width: 1000px) { .charts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .charts { grid-template-columns: minmax(0, 1fr); gap: 8px; } .columns { height: 56px; } .opt { display: none; } .tile { padding: 8px 10px; } .tile .value { font-size: 18px; } .tile .label { font-size: 10px; letter-spacing: 0; white-space: normal; } .health { gap: 3px 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
