/* Job Hunt Control — layout: left nav + one working column; rows are the unit of work. */
:root {
  --bg: #f4f6f8; --surface: #ffffff; --sunken: #eef1f4; --line: #dce1e8; --ink: #17202e; --muted: #5b6577;
  --accent: #1f5f73; --accent-ink: #ffffff; --accent-soft: #e1eef1;
  --bad: #b3261e; --bad-soft: #fbe8e6; --warn: #8a5a00; --warn-soft: #fbf0d9; --ok: #1d6b3a; --ok-soft: #e2f2e7;
  --f-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --f-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Cascadia Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10151c; --surface: #171f29; --sunken: #121921; --line: #2a3544; --ink: #e6eaf0; --muted: #98a3b5;
    --accent: #7cc4d6; --accent-ink: #0d1a20; --accent-soft: #1c3440;
    --bad: #f2867c; --bad-soft: #3a1f1d; --warn: #e8bb62; --warn-soft: #352a16; --ok: #7fd19b; --ok-soft: #19321f;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.45; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.boot { padding: 40px; color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 0.82rem; }
.muted { color: var(--muted); }
.small { font-size: 0.84rem; }

/* shell */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.nav { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 20px 12px; border-right: 1px solid var(--line); background: var(--surface); }
.brand { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; padding: 4px 10px 16px; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: var(--r); text-decoration: none; color: var(--muted); }
.nav a:hover { background: var(--sunken); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.nav .badge { font-size: 0.75rem; min-width: 1.4rem; text-align: center; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; }
.nav .grow { flex: 1; }
.nav .who { font-size: 0.8rem; color: var(--muted); padding: 8px 10px; overflow-wrap: anywhere; }
.main { min-width: 0; padding-block: 28px 64px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.page { max-width: 1120px; margin: 0 auto; display: grid; gap: 20px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
h1 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 650; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: 1rem; font-weight: 650; margin: 0; display: flex; gap: 8px; align-items: baseline; }
h2 .c, h3 .c { margin-left: 6px; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.sub { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }  /* menu row only as tall as its tabs; short pages used to stretch it (2026-11-17) */
  .nav { position: sticky; top: 0; height: auto; flex-direction: row; align-items: center; overflow-x: auto; padding: 8px max(12px, env(safe-area-inset-left, 0px)); border-right: 0; border-bottom: 1px solid var(--line); z-index: 5; }
  .brand, .nav .grow, .nav .who { display: none; }
  .nav a { white-space: nowrap; gap: 6px; }
  .main { padding-block: 18px 48px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* controls */
.btn { appearance: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; white-space: nowrap; text-decoration: none; font-size: 0.9rem; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.danger { color: var(--bad); }
.btn.danger.solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.small { padding: 4px 10px; font-size: 0.82rem; }
.btn.link { border-color: transparent; background: none; padding-inline: 4px; text-decoration: underline; text-decoration-color: var(--line); }
.btn:disabled { opacity: .55; cursor: default; }
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=number], input[type=search], input:not([type]), select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); min-width: 0; }
textarea { min-height: 4.5rem; resize: vertical; }
label.f { display: grid; gap: 4px; font-size: 0.84rem; color: var(--muted); min-width: 0; }
label.f .req { color: var(--bad); }
label.chk { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 12px 16px; }
.grid .wide { grid-column: 1 / -1; }
.msg { font-size: 0.85rem; color: var(--muted); }
.msg.err { color: var(--bad); }
.msg.ok { color: var(--ok); }

/* surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; min-width: 0; }
.card.flush { padding: 0; gap: 0; overflow: hidden; }
.card > .ch { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }
.counts { display: flex; flex-wrap: wrap; gap: 8px; }
.count { display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.count b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.count span { color: var(--muted); font-size: 0.82rem; }
.count.hot b { color: var(--bad); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 20px; align-items: start; }

/* work rows */
.group { display: grid; gap: 8px; }
.group .gnote { margin: 0; color: var(--muted); font-size: 0.82rem; }
.list { display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.row { display: grid; grid-template-columns: 10rem minmax(9rem, 14rem) minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: start; }
.row:first-child { border-top: 0; }
.group.overdue .row { box-shadow: inset 3px 0 0 var(--bad); }
.group.today .row { box-shadow: inset 3px 0 0 var(--warn); }
.row .when { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); padding-top: 2px; }
.group.overdue .when { color: var(--bad); }
.row .co { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.row .co .r { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.row .do { min-width: 0; overflow-wrap: anywhere; }
.row .do .chk { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
@media (max-width: 760px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .co { grid-column: 1 / -1; grid-row: 2; }
  .row .do { grid-column: 1 / -1; grid-row: 3; }
}

/* update panel */
.edit { grid-column: 1 / -1; display: grid; gap: 10px; padding: 14px; margin-top: 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--sunken); }
.edit .cur { margin: 0; font-size: 0.85rem; color: var(--muted); }
.slabel { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.suggs { display: grid; gap: 6px; }
.sugg { appearance: none; text-align: left; display: grid; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; }
.sugg:hover { border-color: var(--accent); }
.sugg[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.sugg .sm { font-size: 0.78rem; color: var(--muted); font-family: var(--f-mono); }
.states { display: flex; flex-wrap: wrap; gap: 6px; }
.state { appearance: none; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 0.85rem; }
.state[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.preview { margin: 0; font-size: 0.86rem; font-weight: 600; color: var(--accent); }

/* tables */
.tablebox { overflow-x: auto; }
.tablebox.tall { max-height: 70vh; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; font-weight: 500; font-size: 0.78rem; color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); white-space: nowrap; z-index: 1; }
td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:first-child td { border-top: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--sunken); }
td.s { color: var(--muted); font-size: 0.84rem; min-width: 12rem; max-width: 44ch; }
td.m { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* chips */
.chip { display: inline-block; font-size: 0.76rem; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.chip.s-interview, .chip.s-offer { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.chip.s-referral { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.chip.s-closed, .chip.s-nonews { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { appearance: none; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 0.84rem; }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.fchip .n { opacity: .7; margin-left: 4px; font-variant-numeric: tabular-nums; }
.score { font-family: var(--f-mono); font-weight: 600; }

/* detail */
.dhead { display: grid; gap: 6px; }
.dhead .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 0.88rem; }
.refs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ref { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) 9rem auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.ref:first-child { border-top: 0; }
.ref .n { font-family: var(--f-mono); color: var(--muted); }
.ref .who b { display: block; }
.ref.active { box-shadow: inset 3px 0 0 var(--warn); }
@media (max-width: 640px) { .ref { grid-template-columns: 1.4rem minmax(0, 1fr); } .ref select, .ref .bar { grid-column: 2; } }
.timeline { display: grid; gap: 0; }
.ev { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.88rem; }
.ev:first-child { border-top: 0; }
.ev .t { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); }
.ev .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 6px; }
.jd { white-space: pre-wrap; max-height: 22rem; overflow: auto; font-size: 0.86rem; background: var(--sunken); padding: 12px; border-radius: var(--r); }

/* modal */
.scrim { position: fixed; inset: 0; background: rgb(10 14 20 / .45); display: grid; place-items: start center; padding: max(5vh, 16px) 16px; z-index: 20; overflow: auto; }
.modal { width: min(720px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 20px 50px rgb(0 0 0 / .25); }
.modal h2 { font-size: 1.15rem; }

/* auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth .box { width: min(420px, 100%); display: grid; gap: 14px; }
.auth h1 { font-size: 1.6rem; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); }
.tab { appearance: none; border: 0; background: none; padding: 8px 12px; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

/* toasts */
#toasts { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; z-index: 30; }
.toast { padding: 10px 14px; border-radius: var(--r); background: var(--ink); color: var(--surface); font-size: 0.9rem; box-shadow: 0 8px 24px rgb(0 0 0 / .2); max-width: 26rem; }
.toast.err { background: var(--bad); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .toast { animation: rise .2s ease-out; } @keyframes rise { from { transform: translateY(8px); opacity: 0; } } }

/* jobs */
.job { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px; border-top: 1px solid var(--line); align-items: start; }
.job:first-child { border-top: 0; }
.job .score { font-size: 1.15rem; color: var(--accent); }
.job .t { font-weight: 600; }
.job .meta { color: var(--muted); font-size: 0.84rem; }
.job .actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 760px) { .job { grid-template-columns: 3rem minmax(0, 1fr); } .job .actions { grid-column: 1 / -1; justify-content: flex-start; } }
.tag { display: inline-block; font-size: 0.76rem; padding: 1px 8px; border-radius: 4px; background: var(--sunken); margin: 2px 4px 2px 0; }
.tip { border-left: 3px solid var(--line); padding: 6px 12px; display: grid; gap: 4px; }
.tip.high, .tip.gap { border-left-color: var(--bad); }
.tip.medium { border-left-color: var(--warn); }
.tip .ev2 { font-size: 0.84rem; color: var(--muted); }
.tip .edit2 { font-size: 0.86rem; background: var(--sunken); padding: 8px; border-radius: var(--r); }

/* insights */
.bars { display: grid; gap: 8px; }
.barrow { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) minmax(5rem, auto); gap: 10px; align-items: center; font-size: 0.88rem; }
.barrow .bt { height: 12px; background: var(--sunken); border-radius: 999px; overflow: hidden; }
.barrow .bf { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.barrow .bv { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); text-align: right; white-space: nowrap; }
.weeks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; }
.wk { display: grid; gap: 4px; justify-items: center; }
.wbars { display: flex; gap: 3px; align-items: flex-end; height: 120px; width: 100%; justify-content: center; border-bottom: 1px solid var(--line); }
.wb { width: 38%; max-width: 18px; min-height: 2px; border-radius: 3px 3px 0 0; }
.k1 { background: var(--accent); }
.k2 { background: var(--warn); }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin-left: 4px; }
.wl { font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
.wn { font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); }
@media (max-width: 560px) { .barrow { grid-template-columns: minmax(0, 1fr) auto; } .barrow .bt { grid-column: 1 / -1; grid-row: 2; } .wl { display: none; } }

/* welcome + account */
.step h2 .sn { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; margin-right: 4px; }
.step.done { opacity: .8; }
.step.done h2 .sn { background: var(--ok-soft); color: var(--ok); }
.danger-zone { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
input:disabled { opacity: .7; }

/* research */
.rtabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.rtab { appearance: none; border: 0; background: none; padding: 7px 10px; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; font-size: 0.88rem; }
.rtab.has { color: var(--ink); }
.rtab[aria-selected="true"] { border-bottom-color: var(--accent); font-weight: 600; color: var(--ink); }
.md { display: grid; gap: 8px; font-size: 0.92rem; line-height: 1.55; max-width: 92ch; }
.md h3, .md h4, .md h5, .md h6 { margin: 10px 0 0; font-size: 0.98rem; }
.md p, .md ul, .md ol, .md blockquote { margin: 0; }
.md ul, .md ol { padding-left: 1.3rem; display: grid; gap: 3px; }
.md li.sub { margin-left: 1.2rem; }
.md blockquote { border-left: 3px solid var(--line); padding: 4px 12px; color: var(--muted); }
.md code { font-family: var(--f-mono); font-size: 0.85em; background: var(--sunken); padding: 1px 4px; border-radius: 3px; }
.md hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.md table { font-size: 0.86rem; }

/* company pages, grouping, Ask Claude */
.jobcard { gap: 8px; }
.jobcard h2 a { text-decoration: none; }
tr.grouphead td { background: var(--sunken); padding-top: 8px; padding-bottom: 8px; }
td.ingroup { padding-left: 28px; }
.row .co a.r { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.ai { display: grid; gap: 10px; }
.ai-card { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.ai-sum { margin: 0; }
.ai-warn { margin: 0; color: var(--warn); }
.ai-steps { margin: 0; padding-left: 1.1rem; display: grid; gap: 6px; }
.ai-steps li { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.ai-steps .sm { color: var(--muted); font-size: 0.8rem; font-family: var(--f-mono); }
.ai-draft { margin: 0; white-space: pre-wrap; font-family: var(--f-body); font-size: 0.9rem; background: var(--sunken); padding: 10px 12px; border-radius: var(--r); }

/* Mail */
.mail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 14px; align-items: start; }
.mail-layout > .mail-reader:empty { display: none; }
.mail-layout:has(.mail-reader:empty) { grid-template-columns: 1fr; }
@media (max-width: 900px) { .mail-layout { grid-template-columns: 1fr; } }
.mail-list { max-height: 70vh; overflow-y: auto; }
.mail-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; text-align: left; cursor: pointer; color: inherit; text-decoration: none; font: inherit; width: 100%; }
.mail-item:hover { background: var(--hover, rgba(127,127,127,.08)); }
.mail-item .mf { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-item .md { font-size: .8rem; opacity: .7; white-space: nowrap; }
.mail-item .ms { grid-column: 1 / -1; font-size: .88rem; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-item.unread .ms { font-weight: 600; opacity: 1; }
.mail-item .mt { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.mail-job { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.mail-msg { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 3px; }
.mail-body { white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .9rem; margin: 6px 0 0; max-height: 26rem; overflow-y: auto; }

/* Board (Kanban) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page.wide { max-width: none; }
.board { display: flex; gap: 12px; overflow-x: auto; align-items: flex-start; padding-bottom: 12px; scroll-snap-type: x proximity; }
.kcol { flex: 0 0 272px; min-width: 0; background: var(--sunken); border: 1px solid var(--line); border-top: 3px solid var(--line); border-radius: var(--r);
  display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100vh - 240px); min-height: 150px; scroll-snap-align: start; }
.kcol.k-lead { border-top-color: #8a94a6; } .kcol.k-out { border-top-color: var(--warn); } .kcol.k-other { border-top-color: var(--muted); }
.kcol.k-app { border-top-color: var(--accent); } .kcol.k-int { border-top-color: var(--ok); }
.kcol.k-offer { border-top-color: var(--ok); } .kcol.k-closed { border-top-color: var(--line); }
.kth { flex: 1; display: grid; gap: 1px; min-width: 0; }
.kconv { font-size: 0.7rem; color: var(--muted); }
.kstale { justify-self: start; }
.kcol.collapsed { flex-basis: 170px; min-height: 0; }
.khead { display: flex; align-items: center; gap: 8px; padding: 10px 10px 8px; }
.kt { flex: 1; font-size: 0.72rem; letter-spacing: 0.06em; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 0; text-align: left; font-family: inherit; }
button.kt { cursor: pointer; }
.kn { font-size: 0.74rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kadd { appearance: none; border: 1px solid transparent; background: none; border-radius: 4px; cursor: pointer; font-size: 1.15rem; line-height: 1; width: 26px; height: 26px; color: var(--muted); }
.kadd:hover { border-color: var(--line); background: var(--surface); color: var(--ink); }
.kbody { overflow-y: auto; padding: 0 8px 8px; display: grid; gap: 8px; align-content: start; }
.kcard { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: var(--r); padding: 9px 10px; display: grid; gap: 6px; cursor: grab; box-shadow: 0 1px 1px rgb(0 0 0 / .05); min-width: 0; }
.kcard.mine { border-left-color: var(--accent); }
.kcard:hover { border-color: var(--accent); }
.kcard.dragging { opacity: .4; }
.kc-top { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; }
.kc-co { font-size: 0.92rem; overflow-wrap: anywhere; }
.kc-role { font-size: 0.84rem; color: var(--muted); overflow-wrap: anywhere; }
.fit { font-size: 0.72rem; font-weight: 700; border-radius: 4px; padding: 0 6px; font-variant-numeric: tabular-nums; border: 1px solid var(--line); }
.fit-hi { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.fit-mid { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.fit-lo { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.kc-meta, .kp-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.kc-chip { font-size: 0.72rem; padding: 1px 7px; border-radius: 4px; background: var(--sunken); border: 1px solid var(--line); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-chip.due-over { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.kc-chip.due-today { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.kc-chip.int, .kc-chip.ok { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.kc-chip.due-chase { color: var(--warn); background: var(--warn-soft); border-color: transparent; font-weight: 600; }
.kc-chip.none { color: var(--muted); background: none; border-style: dashed; }
.kc-chip { justify-self: start; }
.kc-badges { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.kc-tag { font-size: 0.68rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }
.kc-tag.ok { color: var(--ok); border-color: transparent; background: var(--ok-soft); }
.kcard.nostep { border-style: dashed; border-left-style: solid; }
.kcard.stale, tr.stale { opacity: .62; }
.kcard.stale:hover, .kcard.stale:focus-visible { opacity: 1; }
.fchip.hot { border-color: var(--bad); color: var(--bad); }
.fchip.hot[aria-pressed="true"] { background: var(--bad); color: #fff; }
.fchip:disabled { opacity: .45; cursor: default; }
.mystrip { margin-bottom: 4px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg button { appearance: none; border: 0; background: var(--surface); padding: 4px 12px; cursor: pointer; font-size: 0.84rem; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.jtabs { margin-bottom: 4px; }
.jview .jbody { display: grid; gap: 14px; }
.jview.embedded { display: grid; grid-template-rows: auto 1fr; min-height: 100%; }
.pcstate.on { color: var(--ok); } .pcstate.off { color: var(--warn); }
.docview { max-height: 68vh; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px; }
.kempty { font-size: 0.82rem; color: var(--muted); text-align: center; padding: 16px 6px; border: 1px dashed var(--line); border-radius: var(--r); }
.kcol.over { outline: 2px dashed var(--accent); outline-offset: -2px; background: var(--accent-soft); }
.dragging-any .kcard:not(.dragging) { pointer-events: none; }
.kpanel { position: fixed; top: 0; right: 0; bottom: 0; width: min(640px, 100vw); background: var(--surface); border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgb(0 0 0 / .18); z-index: 15; overflow-y: auto; display: grid; grid-template-rows: auto 1fr; }
.kp-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.kp-head h2 { margin: 2px 0 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.kp-body { padding: 14px 18px 24px; display: grid; gap: 14px; align-content: start; }
.kf-sel { display: grid; gap: 2px; }
.kp-next { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); padding: 9px 12px; display: grid; gap: 2px; }
.kp-next.over { border-left-color: var(--bad); }
.kp-next.none { color: var(--muted); border-left-color: var(--line); }
.kfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.kf { display: grid; font-size: 0.82rem; } .kf span { color: var(--muted); font-size: 0.74rem; }
.kp-refs, .kp-act { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 3px; font-size: 0.88rem; } .kp-act { list-style: none; padding-left: 0; }
@media (max-width: 760px) { .kcol { flex-basis: 84vw; max-height: calc(100vh - 280px); } .kcol.collapsed { flex-basis: 150px; } .kpanel { width: 100vw; } }
.grid1 { display: grid; gap: 12px; }

.pw { position: relative; display: block; }
.pw input { width: 100%; padding-right: 4.2rem; box-sizing: border-box; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.8rem; padding: 6px 8px; cursor: pointer; border-radius: 6px; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--ink); outline: 2px solid currentColor; outline-offset: -2px; }

/* ---- Career Foundation + AI engine (2026-11-02) */
.nav .badge.todo { background: var(--warn); }
.warnbox { padding: 10px 14px; border-radius: var(--r); background: var(--warn-soft); color: var(--ink); border: 1px solid transparent; }
.card.warnbox { margin: 0; }
.gate .gates { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gate .gates li { display: flex; gap: 8px; align-items: baseline; }
.gate .mark, .brow .mark { width: 1.2rem; flex: none; text-align: center; color: var(--muted); }
.gate .gates li.ok .mark, .brow.covered .mark { color: var(--ok); font-weight: 600; }
.gate.open { border-color: var(--ok); }
.fstep h2 .sn { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .85rem; margin-right: 8px; }
.blist { display: grid; gap: 2px; }
.brow { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: start; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.brow .btext { min-width: 0; overflow-wrap: anywhere; }
.brow > .coach { grid-column: 1 / -1; }
.coach { display: grid; gap: 10px; padding: 12px; margin-top: 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--sunken); }
.clog { display: grid; gap: 8px; max-height: 26rem; overflow-y: auto; }
.bubble { padding: 8px 12px; border-radius: 12px; max-width: min(46rem, 92%); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.coach { background: var(--surface); border: 1px solid var(--line); justify-self: start; }
.bubble.user { background: var(--accent-soft); justify-self: end; }
.draft { display: grid; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.draft .checks { display: flex; flex-wrap: wrap; gap: 6px; }
.nrow { display: grid; grid-template-columns: minmax(6rem, 10rem) 1fr auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.srow { padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.srow .linkish { background: none; border: 0; padding: 0; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
.srow .linkish:hover { color: var(--accent); }
.srow-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.meter { display: inline-block; width: 6rem; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; vertical-align: middle; }
.meter > span { display: block; height: 100%; background: var(--accent); }
.chip.conf-confirmed { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.chip.conf-estimate { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.chip.conf-unverified { color: var(--muted); }
.qlist { margin: 8px 0 0; padding-left: 1.2rem; display: grid; gap: 6px; }
b.code { font-family: var(--f-mono); font-size: 1.1rem; letter-spacing: .05em; }
@media (max-width: 640px) { .nrow { grid-template-columns: 1fr; } .brow { grid-template-columns: auto 1fr; } .brow > button { grid-column: 2; justify-self: start; } }
.job .srcs { display: flex; flex-wrap: wrap; gap: 4px; margin: 3px 0; }
.run-progress { margin: 0 0 8px; padding-left: 18px; }
.gen-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 8px 0; display: grid; gap: 6px; }
.gen-card.genuine { border-color: var(--ok); }
.gen-card.caution { border-color: var(--warn); }
.gen-card.likely_scam { border-color: var(--err, #c0392b); }
.gen-card .gv { font-weight: 700; }
.gen-card ul { margin: 0; padding-left: 18px; }
.mail-sugg .sugg { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line); padding: 8px 0; flex-wrap: wrap; }
.mock-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 14px; align-items: start; }
@media (max-width: 760px) { .mock-grid { grid-template-columns: 1fr; } }
.mock-video { width: 100%; border-radius: 8px; background: #000; aspect-ratio: 4 / 3; object-fit: cover; transform: scaleX(-1); }
.mock-q { font-size: 1.15rem; font-weight: 600; margin: 6px 0; }
.mock-timer { font-variant-numeric: tabular-nums; opacity: .8; }
.mock textarea { width: 100%; }
.fb { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 10px 0; display: grid; gap: 5px; }
.fb.pending { opacity: .75; }
.fb-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.fb-score { font-weight: 700; font-size: 1.1rem; }
.fb-scores { display: flex; gap: 4px; flex-wrap: wrap; }
.fb ul, .fb ol { margin: 0; padding-left: 18px; }
.gap-card { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.course-table td { vertical-align: top; }

/* Quick wins (2026-11-03): ATS score, answer bank, health */
.ats-score { display: grid; padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--line); min-width: 8rem; }
.ats-score b { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.1; }
.ats-score.ok b { color: var(--ok); } .ats-score.mid b { color: var(--warn); } .ats-score.low b { color: var(--bad); }
.ats-group h3 { font-size: 0.9rem; margin: 12px 0 6px; }
.ats-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ats-chip { font: inherit; font-size: 0.8rem; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
button.ats-chip { cursor: pointer; }
button.ats-chip:hover { background: var(--sunken); }
.ats-chip small { color: var(--muted); }
.ats-chip.ok { background: var(--ok-soft); border-color: transparent; }
.ats-chip.mid { background: var(--warn-soft); border-color: transparent; }
.ats-chip.low { background: var(--bad-soft); border-color: transparent; }
.answer-row { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.answer-row:last-child { border-bottom: 0; }
.mail-preview { white-space: pre-wrap; font-family: var(--f-mono); font-size: 0.78rem; margin: 6px 0 0; max-height: 24rem; overflow: auto; }
tr.warn td { color: var(--bad); font-weight: 600; }
.err-row summary { cursor: pointer; overflow-wrap: anywhere; }

/* More wins (2026-11-03): getting started, goals, debrief, templates, why-this-score */
.gs-bar { height: 6px; border-radius: 999px; background: var(--sunken); overflow: hidden; margin: 6px 0; }
.gs-bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.gs-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 6px 16px; }
.gs-list li { display: flex; gap: 8px; align-items: baseline; font-size: 0.9rem; }
.gs-list li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.gs-tick { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--line); font-size: 0.7rem; display: inline-grid; place-items: center; color: var(--ok); }
.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 10px 18px; }
.goal.met b { color: var(--ok); }
.goal.met .gs-bar span { background: var(--ok); }
.goal-edit { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 8px 14px; }
tr.iv-sub td { padding-top: 0; border-top: 0; }
.iv-tools .edit { margin-top: 8px; }
.tpl { border-bottom: 1px solid var(--line); padding: 8px 0; }
.tpl summary { cursor: pointer; }
.qrow { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.qrow:last-child { border-bottom: 0; }
.why { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.why-i { font-size: 0.78rem; }
.why-i.good { color: var(--ok); } .why-i.bad { color: var(--muted); }
.usage summary { cursor: pointer; margin-top: 6px; }

/* Google sign-in and two-factor login */
.gsignin { display: grid; justify-items: center; gap: 10px; margin: 4px 0 2px; min-width: 0; }
.gbtn { width: 100%; max-width: 320px; min-width: 0; display: flex; justify-content: center; overflow: hidden; }
.gsignin .or { display: flex; align-items: center; gap: 10px; width: 100%; }
.gsignin .or::before, .gsignin .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.qr { background: #fff; padding: 6px; border-radius: var(--r); width: 100%; max-width: 15rem; box-sizing: border-box; }
.qr svg { display: block; width: 100%; height: auto; }
pre.codes { font-family: var(--f-mono); font-size: 0.95rem; columns: 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; margin: 0; }
.ok-text { color: var(--ok); }

/* medium-effort features (2026-11-04) */
.chip.watched { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.chip.ghost.likely { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.chip.ghost.maybe, .chip.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.chip.pay { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.btn.vote { min-width: 2.2rem; padding-inline: 6px; }
.btn.vote.on { background: var(--accent-soft); border-color: var(--accent); }
.votes { gap: 4px; }
ul.people { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
ul.people li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: start; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); }
ul.people li > :not(button):not(.small) { grid-column: 1; }
ul.people li > button, ul.people li > span.small { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.qlist { padding-left: 0; list-style: none; display: grid; gap: 6px; }
.qlist li { display: grid; gap: 1px; }
pre.draft, pre.ats-text { white-space: pre-wrap; word-break: break-word; font-family: var(--f-body); font-size: 0.86rem; background: var(--sunken); padding: 10px; border-radius: var(--r); max-height: 22rem; overflow: auto; }
.ats-rep .big, .big { font-size: 1.3rem; }
.lvl-high b { color: var(--bad); } .lvl-medium b { color: var(--warn); } .lvl-low b { color: var(--muted); }
table.cmp td.best { font-weight: 700; color: var(--ok); }
table.cmp th, table.cmp td { white-space: nowrap; }
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 1.4rem; }
.spark i { display: block; width: 6px; background: var(--accent); border-radius: 1px; opacity: .8; }
tr.gap-row td:first-child { color: var(--warn); font-weight: 600; }
.progress-chart { width: 100%; height: auto; max-height: 200px; display: block; margin: 6px 0; }
.progress-chart .grid { stroke: var(--line); stroke-width: 1; }
.progress-chart .lbl { fill: var(--muted); font-size: 10px; }
.progress-chart .line { fill: none; stroke-width: 2; }
.progress-chart .line.s1, .key.s1 { stroke: var(--accent); background: var(--accent); }
.progress-chart .line.s2, .key.s2 { stroke: var(--warn); background: var(--warn); }
.progress-chart .dot.s1 { fill: var(--accent); } .progress-chart .dot.s2 { fill: var(--warn); }
code.wrap { word-break: break-all; white-space: normal; font-size: 0.8rem; }
.stack { display: grid; gap: 10px; }
.card h3 { font-size: 0.95rem; margin: 10px 0 2px; }
.person .score { font-size: 1rem; }
@media (max-width: 760px) {
  table.cmp th, table.cmp td { white-space: normal; }
  .votes { order: -1; }
}

/* voice typing (2026-11-10) */
.vwrap { position: relative; display: block; width: 100%; }
.vwrap > textarea { width: 100%; padding-right: 2.6rem; }
.vwrap.vinput { display: inline-block; }
.vwrap.vinput > input { padding-right: 2.4rem; }
.vbtns { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; align-items: center; }
.vwrap.vinput .vbtns { top: 50%; transform: translateY(-50%); }
.vmic, .vtidy { appearance: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; cursor: pointer; font-size: 0.85rem; line-height: 1; padding: 5px 7px; }
.vmic:hover, .vtidy:hover { border-color: var(--accent); }
.vmic.on { background: var(--bad-soft); border-color: var(--bad); }
.vmic.off { opacity: .45; }
.vtidy { font-size: 0.78rem; padding: 5px 9px; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .vmic.on { animation: vpulse 1.2s ease-in-out infinite; } @keyframes vpulse { 50% { box-shadow: 0 0 0 5px var(--bad-soft); } } }

/* Mindset & Upskilling (2026-11-10) */
.mtest { display: grid; gap: 10px; }
.mitem { border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px 10px; margin: 0; min-width: 0; }
.mitem legend { font-weight: 600; padding: 0 4px; }
.mchoices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mchoice { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 0.76rem; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.mchoice:has(input:checked) { background: var(--sunken); color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .mchoices { grid-template-columns: 1fr; } .mchoice { flex-direction: row; text-align: left; } }
.bf.band-high { background: var(--good, #2f7d4f); }
.bf.band-low { background: var(--warn, #b7791f); }
.meter.wide { display: block; width: 100%; }
.libentry { border-left: 3px solid var(--line); padding: 6px 12px; margin: 10px 0; }
.libentry.evidence { border-left-color: var(--good, #2f7d4f); }
.libentry blockquote { margin: 6px 0; font-style: italic; }
.bubble.care { border: 1px solid var(--bad); }
.qcard { border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; margin: 6px 0; }
.qcard > summary { cursor: pointer; font-weight: 600; }
h2.sect { margin: 18px 0 6px; }

/* five-item menu, group tabs, Today page, job summary (2026-11-11) */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; max-width: 1120px; margin: 0 auto 18px; border-bottom: 1px solid var(--line); }
.subnav:has(+ .view > .page.wide) { max-width: none; }
.subnav a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.subnav .badge { font-size: 0.72rem; min-width: 1.2rem; text-align: center; padding: 0 5px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ftile { display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ftile:hover { border-color: var(--accent); }
.ftile span { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftile b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ftile.zero b { color: var(--muted); }
.today-body { display: grid; gap: 20px; }
.fold { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.fold > summary { cursor: pointer; padding: 11px 14px; font-weight: 600; }
.fold > summary .c { margin-left: 8px; color: var(--muted); font-weight: 400; }
.fold > .list, .fold > .ivs { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.ivs { display: grid; }
.iv { display: grid; grid-template-columns: 8.5rem minmax(8rem, 14rem) minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.iv:first-child { border-top: 0; }
.iv:hover { background: var(--sunken); }
.iv .kc-chip { justify-self: start; }
.card > .ivs { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ring { --p: 0; --c: var(--muted); flex: none; display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: radial-gradient(closest-side, var(--surface) 78%, transparent 80%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.ring b { font-family: var(--f-display); font-size: 1.05rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.ring.hi { --c: var(--ok); } .ring.mid { --c: var(--warn); } .ring.lo { --c: var(--bad); }
.ring.none { color: var(--muted); border: 2px dashed var(--line); background: none; }
.jsum { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.jsum.embedded { border-width: 0 0 1px; border-radius: 0; padding: 12px 18px; }
.js-top { display: flex; gap: 14px; align-items: center; }
.js-mid { flex: 1; min-width: 0; display: grid; gap: 3px; }
.js-next { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; min-width: 0; }
.js-next .kc-chip { flex: none; }
.js-text { min-width: 0; overflow-wrap: anywhere; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.stepper li { border-top: 3px solid var(--line); padding-top: 4px; font-size: 0.74rem; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper li.done { border-color: var(--ok); color: var(--ok); }
.stepper li.now { border-color: var(--accent); color: var(--ink); font-weight: 600; }
@media (min-width: 861px) { .jview:not(.embedded) > .jsum { position: sticky; top: 0; z-index: 4; box-shadow: 0 6px 12px -10px rgb(0 0 0 / .35); } }
@media (max-width: 760px) {
  .funnel { grid-template-columns: repeat(5, minmax(6.2rem, 1fr)); overflow-x: auto; }
  .ftile { padding: 8px 10px; } .ftile b { font-size: 1.3rem; }
  .iv { grid-template-columns: minmax(0, 1fr) auto; }
  .iv .muted { grid-column: 1 / -1; }
  .subnav { flex-wrap: nowrap; overflow-x: auto; } .subnav a { white-space: nowrap; }
}
.subnav.in-page { margin: 0; max-width: none; }
.subnav a .c { color: var(--muted); font-weight: 400; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.fstack { display: grid; gap: 20px; }
.fmeters { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 14px 20px; }
.fmeter { display: grid; gap: 5px; min-width: 0; }
.fm-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.fm-top b { color: var(--ink); font-family: var(--f-display); font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fmeter.ok .meter > span { background: var(--ok); }
.fmeter:not(.ok) .meter > span { background: var(--warn); }
details.card > summary { cursor: pointer; }
.qlist details > summary { cursor: pointer; }
.qlist details > div { padding: 4px 0 4px 1rem; white-space: pre-wrap; }

/* ---- Today: per-job groups, bulk banner, keyboard focus (2026-11-12) */
.jobgroups { display: grid; gap: 8px; }
.jobgroup { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.jobgroup .jg-head { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--sunken); border-bottom: 1px solid var(--line); }
.jobgroup .jg-co { font-weight: 600; min-width: 0; overflow-wrap: anywhere; margin-right: auto; }
.jobgroup .jg-head .c { color: var(--muted); }
.jobgroup .list { border: 0; border-radius: 0; }
.stale-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; border: 1px solid var(--warn); border-radius: var(--r); background: var(--warn-soft); }
.row.focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.today-page .keys { text-align: center; margin: 4px 0 0; }
.kc-days { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) { .today-page .keys { display: none; } }
.first-run { display: grid; gap: 8px; }
