/* Job Hunter app. Sidebar on the page ground, white panels with a 1px border, one 24px gutter. */
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: -0.02em; }
.wordmark:hover { color: var(--ink); }

/* ---------- banners and the sync bar ---------- */
.banner { padding: 10px 16px; background: var(--blue-soft); color: var(--blue-text); font-size: 14px; text-align: center; }
.banner a { color: var(--blue-text); font-weight: 600; }
.banner-warn { background: var(--orange-soft); color: var(--orange-text); display: flex; gap: 12px; align-items: center; justify-content: center; }
.sync { position: sticky; top: 0; z-index: 30; background: var(--night); color: var(--night-text); border-bottom: 1px solid var(--line); }
.sync-bar { height: 3px; background: var(--night-2); overflow: hidden; }
.sync-bar i { display: block; height: 100%; background: var(--sync-fill); transform-origin: left; transform: scaleX(.05); transition: transform 600ms var(--ease); }
.sync-text { padding: 9px 16px; font-size: 14px; text-align: center; }
.sync-text b { color: #fff; font-weight: 600; }

/* ---------- sign-in and loading ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.gate-card { width: min(480px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 32px; display: grid; gap: 18px; justify-items: start; }
.gate-card h1 { font-size: 32px; margin-top: 12px; }
.gate-card .btn { width: 100%; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 22px 16px; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side .wordmark { padding: 0 8px; white-space: nowrap; }
.side-toggle { color: var(--muted); }
@media (max-width: 900px) { .side .side-toggle { display: none; } }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-control); color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.side-nav a:hover { background: var(--hover); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--active); color: var(--ink); font-weight: 600; }
.side-nav .ic { color: var(--muted); }
.side-nav a[aria-current="page"] .ic { color: var(--ink); }
.count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: var(--on-accent); font: 500 12px/22px var(--mono); text-align: center; }
.side-account { margin-top: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; display: grid; gap: 12px; }
.side-gmail { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; min-width: 0; }
.side-gmail .ic { color: var(--green); margin-top: 2px; }
.side-gmail b { display: block; color: var(--ink); font-size: 14px; }
.side-gmail small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.canvas { padding: 32px 32px 96px; min-width: 0; outline: none; }
.nav-short { display: none; }
.canvas > * + * { margin-top: 24px; }

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; gap: 14px; padding: 14px 16px 0; }
  .side-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .side-account { display: flex; align-items: center; justify-content: space-between; margin-top: 0; padding: 10px 12px; }
  .canvas { padding: 20px 16px 72px; }
}

/* ---------- page head ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.page-head h1 { font-size: 32px; outline: none; }
.page-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.page-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search { min-height: var(--tap); width: min(280px, 100%); padding: 0 14px 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); font: inherit; color: var(--ink); }
@media (max-width: 600px) { .page-acts, .search { width: 100%; } .page-acts .btn { flex: 1; } .page-head h1 { font-size: 28px; } }

/* ---------- stats: one divided card, label over value ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.stat { padding: 18px 20px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-k { font-size: 14px; color: var(--muted); }
.stat-v { font: 800 34px/1.1 var(--display); color: var(--ink); margin-top: 4px; letter-spacing: -0.02em; }
.stat-s { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; min-width: 0; }
.panel-narrow { max-width: 760px; }
.panel-title { font-size: 20px; letter-spacing: -0.015em; }
.panel-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.panel > * + * { margin-top: 16px; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.stack-lg { display: grid; gap: 24px; }
@media (max-width: 1100px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.save-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-end { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- tables ---------- */
.table-box { overflow-x: auto; margin-inline: -8px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font: 500 13px var(--sans); color: var(--muted); padding: 8px; white-space: nowrap; }
.table td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.table .num { text-align: right; }
.table td.muted { color: var(--muted); }
.th-sort { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; min-height: 32px; }
.th-sort:hover { color: var(--ink); }
th[aria-sort] .th-sort { color: var(--ink); font-weight: 600; }
th[aria-sort="ascending"] .th-sort::after { content: " ↑"; }
th[aria-sort="descending"] .th-sort::after { content: " ↓"; }
.cell-co { display: inline-flex; align-items: center; gap: 10px; }
.cell-co .ini { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; }
.empty { color: var(--muted); padding: 18px 8px; }
.select-sm, select { min-height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.icon-btn { width: var(--tap); height: var(--tap); display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; border-radius: var(--r-control); color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--pill-bg); color: var(--ink); }

/* ---------- job matches ---------- */
.job-meta { color: var(--muted); font-size: 14px; }
.job-src { font-size: 13px; color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.score { width: 52px; height: 52px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font: 800 20px/1 var(--display); background: var(--blue-soft); color: var(--blue-text); }
.score-hi { background: var(--blue); color: var(--on-accent); }
.empty-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; max-width: 760px; }
.empty-block h2 { font-size: 22px; }
.empty-block p { margin-top: 8px; }

/* ---------- tailor ---------- */
.pick { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pick a { display: grid; gap: 2px; padding: 16px; min-height: var(--tap); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; color: var(--ink); }
.pick a:hover { border-color: var(--blue); }
.pick span { color: var(--muted); font-size: 14px; }
.how-list { padding-left: 20px; display: grid; gap: 8px; margin: 0; }
.tailor { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1.25fr); align-items: start; }
.tl-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.tl-jd { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; align-content: start; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.jd-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.hl { border-radius: 3px; font-weight: 500; box-shadow: 0 0 0 2px var(--hl-bg); background: var(--hl-bg); }
.hl-have { --hl-bg: var(--blue-soft); color: var(--blue-text); }
.hl-miss { --hl-bg: var(--orange-soft); color: var(--orange-text); }
.tl-mid { background: none; border: 0; padding: 0; align-content: start; }
.score-card { background: var(--night); color: var(--night-text); border-radius: var(--r-card); padding: 20px; display: grid; gap: 4px; }
.score-card p { margin: 0; }
.score-card-k { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.score-card-v { font: 700 44px/1.05 var(--display); color: #fff; letter-spacing: -0.02em; }
.score-card-s { font-size: 14px; }
.score-card .meter-track { margin-top: 10px; background: var(--night-2); }
.score-card .meter-track i { display: block; height: 100%; background: var(--blue); border-radius: inherit; transition: width 400ms var(--ease); }
.sugs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sug { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; display: grid; gap: 6px; justify-items: start; }
.sug-on { border-color: var(--blue); }
.sug p { margin: 0; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.sug b { color: var(--ink); overflow-wrap: anywhere; }
.sug-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.sug-pts { font: 500 12.5px/1 var(--mono); color: var(--green); }
.sug .sug-warn { display: flex; gap: 6px; align-items: flex-start; color: var(--orange-text); }
.sug label.inline { display: flex; gap: 8px; align-items: center; font-size: 14px; min-height: 32px; }
.pv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pv-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-box { container-type: inline-size; background: var(--track); border-radius: 12px; padding: 12px; }

/* ResumeFold's resume font, from the same files it uses (vendor/fonts, SIL OFL). */
@font-face { font-family: "Source Sans 3"; src: url("/vendor/fonts/source-sans-3-regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/vendor/fonts/source-sans-3-bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/vendor/fonts/source-sans-3-italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
/* The resume sheet: ResumeFold's layouts on A4, drawn at the column's width (1cqw = 1% of the page width, so 10.5pt
   on a 595pt page is 1.765cqw). Matches the PDF download (js/pdf.js): Source Sans 3, ink #111, ResumeFold's spacing. */
.sheet { --r-ink: #111111; --r-muted: #3b3934; --pt: calc(100cqw / 595.28);
  aspect-ratio: 210 / 297; min-height: max-content; background: #fff; color: var(--r-ink); box-shadow: var(--shadow-lift);
  font: 400 calc(10.5 * var(--pt)) / 1.32 "Source Sans 3", Helvetica, Arial, sans-serif; padding: calc(36 * var(--pt)) calc(44.64 * var(--pt));
  overflow: hidden; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sheet h2, .sheet h3, .sheet p, .sheet ul { margin: 0; }
.rs-head { text-align: center; margin-bottom: calc(9 * var(--pt)); }
.rs-head h2 { font-size: 2.2em; font-weight: 700; line-height: 1.1; color: var(--r-ink); }
.rs-headline { font-size: 1.05em; margin-top: calc(2 * var(--pt)); color: var(--r-muted); }
.rs-contact a { color: inherit; text-decoration: none; } /* links look like the rest of the line, as on the PDF */
.rs-contact { font-size: 0.92em; margin-top: calc(3 * var(--pt)); white-space: pre-wrap; overflow-wrap: anywhere; }
.rs-sec { margin-top: calc(9 * var(--pt)); }
.rs-sec h3 { font-size: 1em; font-weight: 700; color: var(--r-ink); border-bottom: calc(0.6 * var(--pt)) solid var(--r-ink); padding-bottom: calc(2 * var(--pt)); margin-bottom: calc(5 * var(--pt)); }
.rs-entry { margin-bottom: calc(6 * var(--pt)); break-inside: avoid; }
.rs-row { display: flex; justify-content: space-between; align-items: baseline; gap: calc(12 * var(--pt)); }
.rs-l { min-width: 0; }
.rs-r { white-space: nowrap; font-size: 0.95em; color: var(--r-muted); }
.rs-bullets { list-style: none; padding: 0; }
.rs-bullets li { padding-left: calc(12 * var(--pt)); margin-bottom: calc(1.6 * var(--pt)); text-indent: calc(-10 * var(--pt)); }
.rs-bullets li::before { content: "•"; display: inline-block; width: calc(10 * var(--pt)); text-indent: 0; }
.rs-skills p { margin-bottom: calc(1.8 * var(--pt)); }
.rs-cert { margin-bottom: calc(2 * var(--pt)); }
/* Student: centred, a larger name, no headline, larger title-case headings, tighter entries. */
.t-student { line-height: 1.28; }
.t-student .rs-head { margin-bottom: calc(6 * var(--pt)); }
.t-student .rs-head h2 { font-size: 2.3em; }
.t-student .rs-sec h3 { font-size: 1.15em; }
.t-student .rs-entry { margin-bottom: calc(4 * var(--pt)); }
.t-student .rs-bullets li { margin-bottom: calc(0.8 * var(--pt)); }
/* Combination: left-aligned header over a heavy rule; headings with a short bar instead of a line. */
.t-combination .rs-head { text-align: left; border-bottom: calc(1.6 * var(--pt)) solid var(--r-ink); padding-bottom: calc(6 * var(--pt)); margin-bottom: calc(6 * var(--pt)); }
.t-combination .rs-head h2 { font-size: 2.3em; }
.t-combination .rs-sec h3 { border: 0; padding: 0; }
.t-combination .rs-sec h3::after { content: ""; display: block; width: calc(26 * var(--pt)); height: calc(2 * var(--pt)); background: var(--r-ink); margin-top: calc(3 * var(--pt)); }
/* Senior: left-aligned, the largest name, an italic headline, title-case headings, roomier entries. */
.t-senior { line-height: 1.37; }
.t-senior .rs-head { text-align: left; margin-bottom: calc(12 * var(--pt)); }
.t-senior .rs-head h2 { font-size: 2.5em; }
.t-senior .rs-headline { font-style: italic; }
.t-senior .rs-sec h3 { font-size: 1.25em; }
.t-senior .rs-entry { margin-bottom: calc(9 * var(--pt)); }
.t-standard .rs-sec h3, .t-combination .rs-sec h3 { text-transform: none; } /* capitals come from the text itself */
.sheet .chg { background: #e8eefc; box-shadow: 0 0 0 2px #e8eefc; border-radius: 2px; }
.sheet mark.chg { color: inherit; }

@media (max-width: 1279px) {
  .tailor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tl-preview { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .tailor { grid-template-columns: minmax(0, 1fr); }
  .tl-jd { position: static; max-height: 60vh; }
  .tl-col { padding: 16px; }
  .sheet-box { padding: 6px; }
}


/* ---------- forms ---------- */
.stack { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-lbl { font-weight: 600; color: var(--ink); font-size: 15px; }
.hint { font-size: 14px; color: var(--muted); }
input[type=text], input[type=url], input[type=password], input[type=date], input[type=search], input:not([type]), textarea {
  min-height: var(--tap); padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); color: var(--ink); font: inherit; width: 100%; }
textarea { min-height: 220px; padding: 12px; font: 14px/1.5 var(--sans); resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
label.inline { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); color: var(--ink); }
label.inline.small { min-height: 0; font-size: 14px; color: var(--muted); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--blue); }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; }
.status { font-size: 14px; color: var(--muted); min-height: 0; }
.status:empty { display: none; }
.status.ok { color: var(--green); }
.status.err { color: var(--red); }
.status.warn { color: var(--orange-text); }

/* chips you can add and remove */
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px; border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); min-height: var(--tap); }
.chips input { border: 0; min-height: 32px; flex: 1; min-width: 140px; padding: 0 6px; }
.chips input:focus-visible { outline: none; }
.chips:focus-within { outline: 2px solid var(--blue); border-color: var(--blue); }
.chip { display: inline-flex; align-items: center; gap: 2px; min-height: 30px; padding: 0 2px 0 10px; border-radius: var(--r-chip); background: var(--blue-soft); color: var(--blue-text); font: 500 13px var(--mono); }
.chip button { width: 28px; height: 28px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 6px; font-size: 16px; }
.chip button:hover { background: var(--chip-hover); }
.chip-sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-add { min-height: 34px; padding: 0 10px; border: 1px dashed var(--line-strong); border-radius: var(--r-chip); background: none; color: var(--text); font: 500 13px var(--sans); cursor: pointer; }
.chip-add:hover { border-color: var(--blue); color: var(--blue-text); background: var(--blue-soft); }

/* segmented control */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--track); border-radius: 12px; }
.seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--text); font: 500 14px var(--sans); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--seg-shadow); }

.link { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; min-height: 32px; justify-self: start; }

/* the upload button */
.upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* fading list (kitchen "Scroll Fade List"): followed companies */
.fade-list { list-style: none; margin: 0; padding: 0; max-height: 236px; overflow-y: auto;
  mask-image: linear-gradient(#000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.fade-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.fade-list li.muted { color: var(--muted); padding: 10px 0; }
.fade-list li:last-child { margin-bottom: 24px; }
.co-name { display: grid; flex: 1; min-width: 0; }
.co-name b { color: var(--ink); }
.co-name small { color: var(--muted); font-size: 13px; }

/* hold to confirm (kitchen "Hold to Confirm") */
.hold { position: relative; overflow: hidden; min-width: 220px; }
.hold-fill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #B42318; color: #fff; clip-path: inset(0 100% 0 0); pointer-events: none; }
.hold:active:not(:disabled) { transform: scale(.98); box-shadow: 0 2px 0 var(--btn-edge); }
.hold.held .hold-fill { clip-path: inset(0 0 0 0); }

/* recent activity */
.log { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; max-height: 320px; overflow-y: auto; }
.log li { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.log time { color: var(--muted); }

/* ---------- setup wizard ---------- */
.wizard-wrap { min-height: 100vh; display: grid; place-items: start center; padding: 48px 16px; }
.wizard { min-width: 0; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 32px; display: grid; gap: 18px; }
.progress { height: 6px; background: var(--track); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--blue); border-radius: 999px; transition: width 400ms var(--ease); }
.step-count { font: 500 13px var(--mono); color: var(--muted); }
.wiz-title { font-size: 32px; outline: none; }
.wiz-intro { color: var(--text); }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; }
.wiz-nav .btn { flex: 0 0 auto; }
.wizard > * { min-width: 0; }
.file-line span, .review-subj b, .co-name b, .job-body h3, .app-card-text b, .app-card-text span, .tl-what b { overflow-wrap: anywhere; }
.sum { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); }
.sum-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 10px 14px; }
.sum-row + .sum-row { border-top: 1px solid var(--line); }
.sum-row span { color: var(--muted); }
.sum-row b { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 600px) { .wizard { padding: 22px; } .sum-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- dialog and toast ---------- */
.dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 48px); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; box-shadow: var(--shadow-lift); color: var(--text); background: var(--surface); }
.dialog::backdrop { background: var(--scrim); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dialog-head h2 { font-size: 22px; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; max-width: min(560px, calc(100% - 32px)); background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: var(--r-control); font-size: 15px; box-shadow: var(--shadow-lift); transition: opacity 200ms var(--ease), transform 200ms var(--ease); pointer-events: none; z-index: 60; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--red); color: var(--on-accent); }

/* ---------- notices ---------- */
.notice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--blue-soft); color: var(--blue-text); border-radius: var(--r-card); padding: 12px 14px; }
.notice > .ic { flex: none; }
.notice p { flex: 1 1 280px; font-size: 15px; }
.notice b { font-weight: 600; }
.notice-orange { background: var(--orange-soft); color: var(--orange-text); }
.notice-orange .btn-quiet { --btn-bg: var(--surface); }

/* ---------- applications: tabs, board, timeline ---------- */
.apps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs button { min-height: var(--tap); padding: 0 14px; border: 0; background: none; color: var(--muted); font: 500 15px var(--sans); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--blue); }
.board-box { overflow-x: auto; padding-bottom: 8px; border-radius: var(--r-card); }
.board-box:focus-visible { outline-offset: 4px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(232px, 1fr)); gap: 12px; min-width: max-content; }
@media (min-width: 1500px) { .board { min-width: 0; } }
.col { background: var(--hover); border-radius: var(--r-card); padding: 10px; display: grid; align-content: start; gap: 10px; min-height: 220px; transition: background-color 150ms var(--ease), outline-color 150ms var(--ease); outline: 2px dashed transparent; outline-offset: -2px; }
.col.drop { background: var(--blue-soft); outline-color: var(--blue); }
.col-head { display: flex; justify-content: space-between; align-items: center; font: 600 15px var(--sans); letter-spacing: 0; color: var(--ink); padding: 4px 4px 0; }
.col-count { font: 500 12px var(--mono); color: var(--muted); }
.col-list { display: grid; gap: 8px; }
.col-empty { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 18px 10px; text-align: center; color: var(--muted); font-size: 14px; }
.app-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; cursor: grab; transition: transform 150ms var(--ease), border-color 150ms var(--ease); }
.app-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.app-card.dragging { opacity: .5; cursor: grabbing; }
.app-card-open { position: absolute; inset: 0; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.app-card-open:focus-visible { outline: 2px solid var(--blue); }
.app-card > *:not(.app-card-open) { position: relative; pointer-events: none; }
.app-card-top { display: flex; gap: 10px; align-items: flex-start; }
.app-card-text { display: grid; min-width: 0; }
.app-card-text b { color: var(--ink); line-height: 1.25; }
.app-card-text span { color: var(--muted); font-size: 14px; line-height: 1.3; }
.app-card-src { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.app-card-src .ic { width: 14px; height: 14px; }
.app-card .pill { white-space: normal; line-height: 1.25; padding: 4px 8px; }
.app-card-links { display: flex; gap: 4px; margin: -4px -6px -6px; }
.app-card .app-card-links { pointer-events: auto; }
.app-card-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 8px; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; }
.app-card-links a:hover { background: var(--blue-soft); }
.app-card-links .ic { width: 14px; height: 14px; }
.cell-link { display: inline-flex; vertical-align: middle; margin-left: 6px; padding: 6px; border-radius: 6px; color: var(--muted); }
.cell-link:hover { color: var(--link); background: var(--blue-soft); }
.cell-link .ic { width: 15px; height: 15px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tl-date { font: 600 14px var(--sans); color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.tl-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.tl-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 120px; gap: 12px; align-items: center; padding: 10px 14px; }
.tl-row + .tl-row { border-top: 1px solid var(--line); }
.tl-what { display: grid; min-width: 0; }
.tl-what b { color: var(--ink); }
.tl-what span { color: var(--muted); font-size: 14px; }
.tl-by { color: var(--muted); font-size: 13px; text-align: right; }
@media (max-width: 600px) { .tl-row { grid-template-columns: 32px minmax(0, 1fr) auto; } .tl-by { display: none; } }

/* ---------- dialogs: edit and review ---------- */
.field-row { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 10px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
input[type=time] { min-height: var(--tap); padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); color: var(--ink); font: inherit; width: 100%; }
.row-split { display: flex; justify-content: space-between; gap: 10px; }
.link-ext { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 500; }
.review { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 60vh; overflow-y: auto; }
.review li { border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; display: grid; gap: 10px; }
.review-subj { display: grid; }
.review-subj b { color: var(--ink); }
.review-subj span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.review-ctl { display: grid; grid-template-columns: minmax(0, 1fr) 130px auto; gap: 8px; align-items: center; }
.review-ctl .btn-quiet { grid-column: 1 / 3; justify-self: start; }
@media (max-width: 520px) { .review-ctl { grid-template-columns: 1fr 1fr; } .review-ctl input { grid-column: 1 / -1; } }

/* ---------- CV drop zone (kitchen "Magnetic Drop Zone") ---------- */
.drop { --dx: 0px; --dy: 0px; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 32px 20px; border: 2px dashed var(--line-strong); border-radius: var(--r-panel); background: var(--ground);
  overflow: hidden; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
/* The box itself never moves or grows (so it can't cover what's around it); its contents lean toward the file. */
.drop > * { transition: transform 220ms var(--ease); }
.drop > .ic { width: 28px; height: 28px; color: var(--link); }
.drop-title { font: 700 20px var(--display); color: var(--ink); }
.drop-sub { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.drop.over { border-color: var(--blue); border-style: solid; background: var(--blue-soft); }
.drop.over > * { transform: translate(var(--dx), var(--dy)); }
@media (prefers-reduced-motion: reduce) { .drop.over > * { transform: none; } }
.file-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text); }
.file-line b { color: var(--ink); }
.paste summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; color: var(--link); font-weight: 500; }
.paste textarea { margin-top: 6px; }

/* ---------- chip field with live suggestions ---------- */
.chip-field { position: relative; }
.combo { position: absolute; z-index: 20; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-control); box-shadow: var(--shadow-lift); max-height: 280px; overflow-y: auto; }
.combo li { min-height: 40px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.combo li[aria-selected="true"], .combo li:hover { background: var(--blue-soft); color: var(--blue-text); }

/* ---------- phones: the main nav becomes a bottom tab bar ---------- */
@media (max-width: 600px) {
  .side-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); overflow: visible; }
  .side-nav a { position: relative; flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 0 2px; font-size: 12px; border-radius: 10px; text-align: center; }
  .side-nav .nav-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .side-nav .nav-short { display: block; }
  .side-nav .count { position: absolute; top: 2px; left: calc(50% + 6px); margin: 0; min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; padding: 0 4px; }
  .canvas { padding-bottom: 104px; }
  #toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* loading: the shape of the app while your data arrives */
.skeleton { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.skeleton[hidden] { display: none; }
.sk-side { display: grid; align-content: start; gap: 10px; padding: 22px 16px; }
.sk-main { display: grid; align-content: start; gap: 14px; padding: 36px 32px; }
.sk-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sk { display: block; border-radius: 10px; background: var(--hover); position: relative; overflow: hidden; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--surface), transparent); opacity: .7; animation: sk 1.3s infinite; }
@keyframes sk { to { transform: translateX(100%); } }
.sk-logo { height: 28px; width: 140px; margin-bottom: 16px; }
.sk-nav { height: 40px; }
.sk-title { height: 34px; width: 240px; }
.sk-sub { height: 16px; width: 200px; }
.sk-stat { height: 96px; }
.sk-col { height: 320px; }
@media (max-width: 900px) { .skeleton { grid-template-columns: 1fr; } .sk-side { display: none; } .sk-main { padding: 24px 16px; } .sk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sk-col:nth-child(n+3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .sk::after { animation: none; display: none; } }

/* sticky headers: table column names and board column titles stay in view */
.panel > .table-box, .table-box.panel { max-height: 70vh; overflow: auto; }
/* The header row is the scroll box's top edge (no padding above it), so rows never show above or through it. */
.table-box.panel { padding-top: 0; }
.table thead th { position: sticky; top: 0; z-index: 3; background: var(--surface); padding-top: 16px; box-shadow: inset 0 -1px 0 var(--line-strong); }
.col-head { position: sticky; top: 0; z-index: 2; background: var(--hover); padding-bottom: 6px; margin: -10px -10px 0; padding: 10px 14px 6px; border-radius: var(--r-card) var(--r-card) 0 0; }
.col.drop .col-head { background: var(--blue-soft); }

/* remove, confirmed in place */
.confirm-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.confirm-q { font-weight: 600; color: var(--ink); }
.copy { margin-top: 6px; justify-self: start; }

/* print: the page's content in ink on white, no app chrome */
@media print {
  .side, .sync, .banner, .page-acts, .notice, .tabs, #toast, .app-card-links, .icon-btn, .cell-link, .skip { display: none !important; }
  body, .panel, .stats, .col, .app-card, .tl-list { background: #fff !important; color: #000 !important; }
  .shell { grid-template-columns: 1fr; }
  body:has(> .shell:not([hidden])) { height: auto !important; display: block !important; overflow: visible !important; }
  .shell > .canvas { overflow: visible !important; }
  .canvas { padding: 0; }
  .board-box, .table-box, .panel > .table-box { overflow: visible; max-height: none; }
  .board { grid-template-columns: repeat(5, 1fr); min-width: 0; }
  .table thead th { position: static; }
  a { color: #000; }
}

/* setup: the Gmail step */
.ticks-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks-list li { position: relative; padding-left: 26px; color: var(--ink); }
.ticks-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.heads-up { background: var(--orange-soft); color: var(--orange-text); border-radius: var(--r-card); padding: 14px 16px; display: grid; gap: 8px; }
.heads-up ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.heads-up b { font-weight: 600; }

/* ---------- job matches: filters, list, detail ---------- */
.filters { display: grid; gap: 18px; }
.filters > * + * { margin-top: 0; }
.filters-kw { display: grid; gap: 6px; }
.filters-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 16px; align-items: end; }
.filters-row select { min-height: var(--tap); width: 100%; }
.filters-toggles { display: grid; gap: 2px; }
.min-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: var(--tap); }
.min-row input[type=range] { flex: 1 1 120px; accent-color: var(--blue); min-height: 32px; }
.min-val { font: 600 14px var(--sans); color: var(--ink); white-space: nowrap; }
@media (max-width: 1100px) { .filters-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .filters-row { grid-template-columns: minmax(0, 1fr); } }

.matches { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .matches { grid-template-columns: minmax(0, 1fr); } .job-detail { display: none; } }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.job-card { width: 100%; text-align: left; display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); font: inherit; color: var(--text); cursor: pointer; transition: border-color 150ms var(--ease), transform 150ms var(--ease); }
.job-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.job-card[aria-current="true"] { border-color: var(--blue); outline: 1px solid var(--blue); }
.job-card-body { display: grid; gap: 5px; min-width: 0; }
.job-card-body b { color: var(--ink); font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.job-card-src { font-size: 13px; color: var(--muted); }
.job-detail { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: grid; gap: 16px; }
.job-detail:empty { display: none; }
.jd-title { font-size: 24px; letter-spacing: -0.02em; }
.jd-h { font: 600 14px var(--sans); color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.jd { white-space: pre-line; font-size: 15px; line-height: 1.6; color: var(--text); }
.jd-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.meter { display: grid; gap: 8px; }
.meter-top { display: flex; align-items: baseline; gap: 10px; }
.meter-top b { font: 800 30px/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.meter-top span { color: var(--muted); font-size: 14px; }
.meter-track { height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; }
.meter-track i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width 500ms var(--ease); }
.dialog .meter, .dialog .jd-acts, .dialog .job-meta { margin-top: 12px; }
.dialog .jd-h { margin-top: 16px; }

/* profile: what the CV says */
.cv-sec { border-top: 1px solid var(--line); }
.cv-sec summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-weight: 600; }
.cv-sec ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }

/* ---------- desktop sidebar: collapse to an icon rail, slide back out on hover (like Cloudflare's dashboard) ---------- */
@media (min-width: 901px) {
  :root { --side-open: 240px; --side-rail: 64px; --side-ease: cubic-bezier(.32, .72, 0, 1); }
  .shell { transition: grid-template-columns 260ms var(--side-ease); }
  .shell.side-collapsed { grid-template-columns: var(--side-rail) minmax(0, 1fr); }
  /* The sidebar never scrolls or slides off: the page is one screen tall (banners on top) and only the content scrolls. */
  body:has(> .shell:not([hidden])) { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
  body > .shell:not([hidden]) { flex: 1; min-height: 0; }
  .shell > .side { height: auto; }
  .shell > .canvas { overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
  .side { z-index: 35; width: var(--side-open); overflow: hidden; background: var(--ground);
    transition: width 260ms var(--side-ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease); }
  /* The contents keep their open width while the panel animates, so nothing re-wraps; the rail just clips them. */
  .side > * { min-width: calc(var(--side-open) - 32px); }
  .side .fade { transition: opacity 160ms var(--ease), transform 260ms var(--side-ease); }
  .side-nav a, .side-nav a span { white-space: nowrap; }
  .shell.side-collapsed .side { width: var(--side-rail); padding-inline: 12px; }
  .shell.side-collapsed .side:is(:hover, :focus-within) { width: var(--side-open); padding-inline: 16px; background: var(--surface);
    box-shadow: 1px 0 0 var(--line), 12px 0 32px rgba(15, 23, 48, .12); transition-delay: 90ms; }
  .shell.side-collapsed .side:not(:hover):not(:focus-within) .fade { opacity: 0; transform: translateX(-4px); pointer-events: none; }
  .shell.side-collapsed .side:not(:hover):not(:focus-within) .side-account { border-color: transparent; background: none; }
  /* On the rail, each item is a neat square around its icon (40px), and grows back as the panel opens. */
  .side-nav a { max-width: 100%; transition: max-width 260ms var(--side-ease), background-color 150ms var(--ease); }
  .shell.side-collapsed .side:not(:hover):not(:focus-within) .side-nav a { max-width: 40px; padding-inline: 11px; }
  .shell.side-collapsed .side .side-account { transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
  .side-toggle[aria-pressed="true"] { color: var(--ink); }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .shell, .side, .side .fade { transition: none; }
}

/* ---------- routine: on/off switch, day toggles ---------- */
.switch-row { display: flex; align-items: center; gap: 12px; min-height: var(--tap); cursor: pointer; }
.switch-row .field-lbl { min-width: 0; margin-right: auto; }
input.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; margin: 0; border-radius: 999px; background: var(--track); border: 1px solid var(--line-strong); position: relative; cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); flex: none; }
input.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform 200ms var(--ease); }
input.switch:checked { background: var(--blue); border-color: var(--blue); }
input.switch:checked::after { transform: translateX(20px); background: #fff; }
input.switch:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.switch-row > span:last-child { min-width: 2.2em; color: var(--muted); font-size: 14px; }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.day { min-width: 52px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--muted); font: 500 14px var(--sans); cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); }
.day:hover { border-color: var(--blue); }
.day[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-text); }
.day:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 480px) { .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; } .day { min-width: 0; padding: 0; font-size: 13px; } }

/* ---------- table: tick to remove several ---------- */
.table-wrap { display: grid; gap: 10px; min-width: 0; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 40px; font-size: 14px; color: var(--muted); }
.bulk-bar > span:first-child { margin-right: auto; }
.bulk-bar .confirm-q { color: var(--ink); }
.table .cell-pick { width: 36px; padding-right: 0; }
.table .cell-pick input { margin: 0; vertical-align: middle; }
.table tr.row-picked td { background: var(--blue-soft); }

/* ---------- job matches: table layout ---------- */
.jobs-table .table { font-size: 14px; }
.jobs-table td { vertical-align: top; }
.jobs-table .col-wide { min-width: 240px; max-width: 340px; color: var(--text); }
.jobs-table .col-role { min-width: 150px; font-weight: 500; }
.jobs-table .col-role a { color: var(--ink); }
.jobs-table .col-role a:hover { color: var(--link); }
.score-sm { width: auto; height: 28px; padding: 0 8px; border-radius: 8px; font-size: 13px; }
.fit { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; font: 700 13px/1 var(--display); background: var(--hover); color: var(--ink); }
.fit-4, .fit-5 { background: var(--green-soft); color: var(--green); }
.row-acts { display: grid; gap: 6px; justify-items: stretch; min-width: 132px; }
.row-acts .btn { justify-content: center; gap: 6px; }
.row-acts .link { justify-self: center; min-height: 24px; }

/* ---------- match in words (Excellent, Good, Fair, Ambitious, Poor) ---------- */
.lvl { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font: 600 12.5px/1 var(--sans); white-space: nowrap; }
.lvl-top { background: var(--green); color: var(--on-accent); }
.lvl-hi { background: var(--blue); color: var(--on-accent); }
.lvl-mid { background: var(--blue-soft); color: var(--blue-text); }
.lvl-low { background: var(--orange-soft); color: var(--orange-text); }
.lvl-card { min-width: 84px; min-height: 34px; border-radius: 10px; flex: none; }

/* ATS score card: what an applicant tracking system looks for, done or missing. */
.ats-checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.ats-checks li { display: flex; gap: 8px; align-items: baseline; }
.ats-checks li > span:first-child { width: 1em; flex: none; font-weight: 700; }
.ats-checks .ok > span:first-child { color: var(--green); }
.ats-checks .no { color: var(--night-text); opacity: 0.75; }
.ats-checks .no > span:first-child { color: var(--orange-text); }

/* ---------- applications: the Archive ---------- */
.tab-archive { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.arch-list { list-style: none; margin: 0; padding: 6px 18px; display: grid; }
.arch-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.arch-row:first-child { border-top: 0; }
.arch-text { display: grid; gap: 2px; min-width: 0; margin-right: auto; }
.arch-text b { color: var(--ink); overflow-wrap: anywhere; }
.arch-text span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
