/* LastStop redesign: hiring area styles (stage 2). Uses only the role tokens from tokens.css and the components from components.css.
   The screens: Home (greeting, summary, attention cards, the dashboard listed open below), the attention lists, Applicants,
   the applicant sheet (dock4's one-open-section switcher, the stop-by-stop pipeline, the trays), Training, Messages, Alerts
   and Hiring > Review. JCruz red never drifts orange: every accent below is a role token, never a raw color. */

/* ---------- the list column: the hero head, the rows, the one control ---------- */
/* the list head (.lh), rows, the list's one control (.list-ctl) and the menu extras moved to components.css (stage 6) */
.empty .icon { width: 18px; height: 18px; color: var(--ok); }
.note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; display: flex; gap: 8px; align-items: flex-start; }
.note .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.note.is-danger { color: var(--bad); }

/* ---------- Home: the greeting, the summary line, at most three cards ---------- */
.home .greet { padding: 30px 0 16px; }
.home .greet h1 { margin: 0; font-size: var(--fs-6); line-height: 1.05; letter-spacing: -.03em; }
.home .summary { margin: 8px 0 0; font-family: var(--font-head); font-size: var(--fs-3); font-weight: 600; color: var(--ink-2); }
.home .summary em { font-style: normal; color: var(--accent-text); font-variant-numeric: tabular-nums; }
html[data-theme="dark"] .home .summary em { text-shadow: 0 0 18px var(--accent-glow); }
.home .summary.is-clear { color: var(--ok); }
.summary-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.summary-menu > summary::-webkit-details-marker { display: none; }
.summary-menu > summary .icon { width: 18px; height: 18px; }
.summary-menu > .menu { position: absolute; z-index: 46; top: calc(100% + 6px); left: 0; }
.summary-menu { position: relative; display: inline-block; }
.home .stack { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acard { position: relative; }
.acard .chev { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform var(--t-fast) var(--ease); }
.acard:hover .chev { transform: translateX(2px); }
.acard-ic .icon { width: 22px; height: 22px; }
html[data-theme="dark"] .acard.bad { border-color: color-mix(in srgb, var(--bad) 30%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--bad) 8%, transparent), 0 14px 40px -24px var(--accent-glow); }
html[data-theme="dark"] .acard.bad .acard-ic { box-shadow: 0 0 22px -4px var(--accent-glow); }
html[data-theme="dark"] .acard.bad .acard-n { text-shadow: 0 0 22px var(--accent-glow); }
@media (max-width: 759px) {
  .home .greet { padding-top: 22px; }
  .home .greet h1 { font-size: 32px; }
}

/* ---------- Home's one way to the dashboard (HOME_DASHBOARD 'none', J48: Sarah's answer to question 102) ---------- */
.go-dash { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin: 18px 0 8px; padding: 0 4px;
  font-family: var(--font-head); font-size: var(--fs-3); font-weight: 600; color: var(--accent-text); text-decoration: none;
  border-radius: var(--r-2); -webkit-tap-highlight-color: transparent; }
.go-dash:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.go-dash:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.go-dash-arrow { transition: transform var(--t-fast) var(--ease); }
.go-dash:hover .go-dash-arrow { transform: translateX(3px); }
html[data-theme="dark"] .go-dash { text-shadow: 0 0 18px var(--accent-glow); }
@media (max-width: 759px) { .go-dash { display: flex; width: 100%; } }

/* ---------- Home's dashboard, listed open below the cards (HOME_DASHBOARD 'below') ---------- */
.home-dash { margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.home-dash.is-standalone { margin-top: 0; border-top: 0; padding-top: 28px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.dash-h { margin: 0; font-size: var(--fs-4); }
.home-dash.is-standalone .dash-h { font-size: var(--fs-5); }
.dash-filter.is-head { margin: 0; }
.dash-filter > .menu { left: auto; right: 0; }
.dash-hero { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; }
.dash-hero .hero-figure { font-size: var(--fs-7); }
.dash-hero-l { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; color: var(--ink-2); font-size: 14.5px; }
.dash-hero-l strong { font-family: var(--font-head); font-size: var(--fs-3); color: var(--heading); }
.dash-block { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.dash-bh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dash-bh h3 { margin: 0; font-size: var(--fs-3); }
.dash-aside { font-size: 13px; color: var(--muted); }
.dash-block .rows { margin-top: 6px; }
/* J757: the stage tiles no longer fade in on every visit (it read as a flash). */
/* J234 (Joshua 10/22/2026): Hiring > Dashboard is the full dashboard only, and it uses the screen: on a wide screen the
   standalone dashboard takes the wide column (like Payroll > Employees) and sets its blocks two across; Stages and First
   Advantage run the full width. Home's own dashboard part and the phone keep the one column. */
@media (min-width: 1280px) {
  .ls-shell .pane-list:has(.home-dash.is-standalone) { --col: 1480px; }
  .home-dash.is-standalone { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
  .home-dash.is-standalone > :not(.dash-block), .home-dash.is-standalone > .dash-block.is-wide { grid-column: 1 / -1; }
}

/* ---------- the applicant sheet: the head, the actions, the section switcher, the body ---------- */
.ls-shell .pane-detail .ap-sheet { padding: 6px 20px 32px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .ls-shell .pane-detail .ap-sheet { padding: 4px 28px 40px; } }
.ap-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: -6px; }
.ap-name { margin: 0; overflow-wrap: anywhere; padding-right: 40px; }
.sheet-actions { display: flex; align-items: center; gap: 10px; }
.btn-grow { flex: 1; min-width: 0; }
.sheet-actions .btn-primary { min-height: 50px; font-size: 15.5px; }
html[data-theme="dark"] .sheet-actions .btn-primary { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), 0 10px 34px -8px var(--accent-glow); }
.sheet-actions .ls-acts > summary { list-style: none; }
.sheet-actions .ls-acts > summary::-webkit-details-marker { display: none; }
.sheet-actions .ls-acts > .menu { width: 280px; }
.secsw-wrap { display: block; position: relative; }
.secsw-wrap > summary { list-style: none; }
.secsw-wrap > summary::-webkit-details-marker { display: none; }
.secsw .chev { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform var(--t-fast) var(--ease); }
.secsw-wrap[open] > .secsw { border-color: var(--accent); }
.secsw-wrap[open] > .secsw .chev { transform: rotate(180deg); }
.secsw .h.bad, .mi-h.bad { color: var(--bad); } .secsw .h.rev, .mi-h.rev { color: var(--rev); } .secsw .h.ok, .mi-h.ok { color: var(--ok); }
.secsw-wrap > .menu { position: absolute; z-index: 46; top: calc(100% + 6px); left: 0; right: 0; }
.mi-sec .mi-t { flex: none; }
.mi-sec .mi-h { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.sec-body { display: flex; flex-direction: column; gap: 12px; animation: ls-slide-down var(--t) var(--ease); }
.sec-sub { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; font-size: 15px; color: var(--heading); }
.sec-sub .count { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* the stop-by-stop pipeline: done stops filled, the current one lit (JCruz red, a soft glow), the rest ahead */
.stops { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.stop { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 0 0 18px; min-height: 40px; }
.stop:last-child { padding-bottom: 4px; }
.stop::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: -2px; width: 2px; border-radius: 2px; background: var(--line-2); }
.stop:last-child::before { display: none; }
.stop.is-done::before { background: color-mix(in srgb, var(--accent) 55%, var(--line-2)); }
.stop-dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 1px; border: 2px solid var(--line-2); background: var(--surface); }
.stop.is-done .stop-dot { border-color: var(--accent); background: var(--accent); }
.stop.is-done .stop-dot::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.stop.is-current .stop-dot { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 22px var(--accent-glow); }
.stop.is-current .stop-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .stop.is-current .stop-dot { animation: ls-stop-glow 2.4s var(--ease) infinite; } }
@keyframes ls-stop-glow { 0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 14px var(--accent-glow); } 50% { box-shadow: 0 0 0 6px var(--accent-soft), 0 0 28px var(--accent-glow); } }
.stops.is-closed .stop.is-current .stop-dot { border-color: var(--neu); box-shadow: none; animation: none; }
.stops.is-closed .stop.is-current .stop-dot::after { background: var(--neu); }
.stop .st { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stop .st-l { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--ink-2); }
.stop.is-current .st-l { color: var(--heading); font-size: 17px; }
.stop.is-next .st-l { color: var(--muted); font-weight: 500; }
.stop .st-d { font-size: 12.5px; color: var(--muted); }
.stop.is-current .st-d { color: var(--accent-text); font-weight: 600; }

/* checks, hold-ups, contact, documents */
.checks { display: flex; flex-direction: column; gap: 2px; }
/* J220: the card's "Update steps" button under the First Advantage steps */
.checks-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.check .k { width: 46px; flex: none; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.check-l { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--ink); }
.check-x { font-size: 12px; color: var(--muted); }
.holdups { display: flex; flex-direction: column; gap: 10px; }
.holdup { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: var(--r-3); background: var(--rev-soft); }
.holdup .days { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1; color: var(--rev); flex: none; min-width: 42px; }
.holdup .days.bad { color: var(--bad); }
.holdup .days small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.holdup-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.holdup .r { font-family: var(--font-head); font-weight: 600; color: var(--heading); }
.holdup .d { font-size: 13.5px; color: var(--ink-2); }
.holdup-kind { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); vertical-align: 2px; }
.holdup-kind.is-entered { color: var(--rev); border-color: currentColor; }
.contact { display: flex; flex-direction: column; gap: 4px; }
.cline { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 4px 4px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.cline:last-child { border-bottom: 0; }
.cline .icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.cline .cv { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--heading); overflow-wrap: anywhere; }
.cline.is-empty .placeholder { color: var(--muted); }
.cline.is-link .cv { color: var(--accent-text); }
.docs { display: flex; flex-direction: column; gap: 4px; }
.doc-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: var(--r-2); color: inherit; text-decoration: none; transition: background var(--t-fast) var(--ease); }
a.doc-row:hover { background: var(--surface-2); }
.doc-icon { width: 36px; height: 36px; border-radius: var(--r-2); display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); flex: none; }
.doc-icon .icon { width: 18px; height: 18px; }
.doc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-name { font-family: var(--font-head); font-weight: 600; color: var(--heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-sub { font-size: 12.5px; color: var(--muted); }
.doc-go { width: 18px; height: 18px; color: var(--accent-text); flex: none; }
.doc-nofile { font-size: 12px; color: var(--muted); }
.ap-sheet .card-facts { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 8px 14px; margin: 0; }
.ap-sheet .card-facts dt { font-size: 13px; color: var(--muted); }
.ap-sheet .card-facts dd { margin: 0; color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }
.ap-sheet .fields-toggle { align-self: flex-start; }
.ap-sheet .note.is-archived { color: var(--ink-2); }
.ap-sheet .timeline-day { margin-top: 6px; }
.alert-text { margin: 0; font-family: var(--font-head); font-size: 17px; line-height: 1.4; color: var(--heading); }
.notice { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-3); background: var(--bad-soft); color: var(--bad); }
.notice h2 { margin: 0; font-size: 18px; color: inherit; }
.notice p { margin: 0; color: var(--ink-2); }
.notice .icon { width: 22px; height: 22px; }

/* the trays: a card action's form in the sheet itself */
.tray { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r-3); background: var(--surface-2); border: 1px solid var(--line); animation: ls-slide-down var(--t) var(--ease); }
.tray-title { margin: 0; font-size: var(--fs-3); }
.tray .field[hidden] { display: none; }
.tray textarea.input { resize: vertical; min-height: 84px; }
.tray-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.tray-group { margin-top: 6px; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tray.is-fields .field-option { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink); }
.tray.is-fields .field-option input { width: 18px; height: 18px; accent-color: var(--accent); }
.tray.is-fields .lock-note { margin-left: auto; font-size: 12px; color: var(--muted); }
.tray .reason-echo { padding: 12px 14px; border-radius: var(--r-2); background: var(--surface); border: 1px solid var(--line-2); font-family: var(--font-head); color: var(--heading); }
.tray .upload-form { display: flex; flex-direction: column; gap: 12px; }
.tray .file-btn { align-self: flex-start; }
.tray .file-btn.is-disabled { opacity: .5; pointer-events: none; }
.tray .form-error { margin: 0; color: var(--bad); font-weight: 500; }
.lead-form.tray { background: none; border: 0; padding: 0; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form .field-hint { margin: 0; font-size: 12.5px; color: var(--muted); }
.lead-form .field-error { margin: 0; font-size: 13px; color: var(--bad); }
.lead-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead-more > summary { list-style: none; }
.lead-more > summary::-webkit-details-marker { display: none; }
.lead-more > .fold-b { padding-top: 6px; }
.lead-more[open] > .fold-h .chev { transform: rotate(90deg); }
.lead-more[open] > .fold-h .h { display: none; }
.dup-notice { color: var(--ink-2); }
.dup-notice .link { color: var(--accent-text); font-weight: 600; }
.ap-sheet .fold > summary { list-style: none; }
.ap-sheet .fold > summary::-webkit-details-marker { display: none; }
.ap-sheet .fold[open] > .fold-h .chev { transform: rotate(90deg); }
.ap-sheet .fold[open] > .fold-h .h { display: none; }

/* ---------- Messages: the thread in the panel or sheet, Send as the primary ---------- */
.ls-shell[data-ctx="messages"] .pane-detail .thread-head { padding: 0 20px 12px; }
.composer-send.btn-primary { background: var(--accent-fill); color: var(--accent-ink); border: 0; }
html[data-theme="dark"] .composer-send.btn-primary { box-shadow: 0 0 22px -2px var(--accent-glow); }
.rows .conversation-item .pill.bad { background: var(--accent-fill); color: var(--accent-ink); }
.rows .conversation-item .pill.bad::before { background: var(--accent-ink); }

/* ---------- first paint spacing: the hero sits clear of the top on desktop ---------- */
@media (min-width: 1024px) {
  .ls-shell .pane-list .attention { padding-top: 48px; }
  .ls-shell .pane-list .home > .greet { padding-top: 52px; }
  .ls-shell .pane-list .home-dash.is-standalone { padding-top: 48px; }
}
@media (max-width: 1023px) { .ls-shell .pane-list .attention { padding-top: 22px; } }
/* the drill-down panels (week, location, recruiter, stage, checks) on the redesign's spacing */
.ls-shell .pane-detail .detail-inner > .today-head { padding: 0 0 6px; }
.ls-shell[data-ctx="dashboard"] .pane-detail .detail-inner, .ls-shell[data-ctx="home"] .pane-detail .detail-inner:not(.ap-sheet) { padding: 4px 24px 32px; }

/* a menu open inside the panel or sheet dims the rest of it, as the list's menus dim the list (the frame's scrim sits under the sheet) */
.ls-sheet > .sheet-dim { position: absolute; inset: 0; z-index: 25; background: var(--scrim); border-radius: inherit; animation: ls-fade var(--t-fast) var(--ease); }
/* the checks drill-down's four states: one open at a time (the native group), the most urgent first */
.dash-fold > summary { list-style: none; }
.dash-fold > summary::-webkit-details-marker { display: none; }
.dash-fold[open] > .fold-h .chev { transform: rotate(90deg); }
.dash-fold .fold-h .h { display: inline; font-weight: 600; }
.dash-fold .fold-h .h.bad { color: var(--bad); } .dash-fold .fold-h .h.rev { color: var(--rev); } .dash-fold .fold-h .h.ok { color: var(--ok); } .dash-fold .fold-h .h.pend { color: var(--pend); }
.btn-primary[disabled], .btn-primary:disabled { opacity: .5; box-shadow: none !important; cursor: not-allowed; }
@media (max-width: 759px) { .filter-btn { min-height: 40px; } }
.summary-menu > .menu { min-width: 300px; }

/* board job J37 (Sarah, 10/13/2026): the list row's location + driver type pill beside the status, and the card's first look:
   Contact as it was (a little tighter) and four Details in two columns by two rows, smaller and not bold; the section switcher
   sits below them at the bottom of the card */
.pill.is-where { flex: 0 1 auto; min-width: 0; padding: 0 9px; font-weight: 500; }
.pill.is-where::before { display: none; }
.row > .pill + .pill { margin-left: -6px; }
.ap-static { display: flex; flex-direction: column; gap: 2px; }
.ap-static-t { margin: 6px 0 0; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ap-static .cline { min-height: 44px; }
.ap-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 4px 0 0; padding: 2px 2px 4px; }
.ap-fact { min-width: 0; }
.ap-fact dt { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.ap-fact dd { margin: 1px 0 0; font-size: 13.5px; font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.ap-sheet > .secsw-wrap { margin-top: 6px; }

/* J53 recheck (Grok Bot on a 393 px phone, 10/13/2026): nothing on the dashboard is cut short on a phone. The stage tiles'
   names and status lines wrap instead of ending in "...", the By location / By source labels have room for "Montgomery NY",
   and a row whose pills do not fit next to the name moves them under it so the whole name shows. */
@media (max-width: 759px) {
  .stage-tile .st-head .st-label, .stage-tile .st-sub { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
  .hbar-label { flex-basis: 118px; }
  .hbar-label.is-wide { flex-basis: 132px; }
  .row { flex-wrap: wrap; row-gap: 4px; }
  .row > .row-name { min-width: 55%; white-space: normal; overflow-wrap: anywhere; }
}

/* ---- J226 (10/22/2026): the Hiring Applicants table and Dashboard, built like Payroll > Employees ---------------------- */
.hz-page { max-width: 100%; }
.hz-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px; }
.hz-filters .input { height: 32px; font-size: 13px; }
.hz-q { flex: 1 1 220px; min-width: 180px; max-width: 320px; }
.hz-sel { width: auto; max-width: 170px; padding-right: 26px; }
.hz-filters .btn, .hz-bulk .btn { height: 32px; }
.hz-tag { gap: 6px; }
.hz-tag-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.hz-tag.is-fu_overdue { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.hz-tag.is-fu_today { background: var(--rev-soft); color: var(--rev); border-color: transparent; }
.hz-tag.is-wait_bkgd, .hz-tag.is-wait_drug, .hz-tag.is-wait_mec { background: var(--pend-soft); color: var(--pend); border-color: transparent; }
.hz-tag.is-new_leads { background: var(--neu-soft); color: var(--ink-2); border-color: transparent; }
.hz-grid { width: 100%; table-layout: auto; }
.hz-grid tbody tr.hz-row { height: 40px; cursor: pointer; }
.hz-grid tbody tr.hz-row:hover > td { background: var(--surface-2); }
.hz-grid th, .hz-grid td { padding: 6px 8px; white-space: nowrap; vertical-align: middle; }
.hz-grid a.hz-nm { color: var(--heading, #fff); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hz-grid a.hz-nm:hover { text-decoration: underline; }
.hz-grid td.hz-c-first, .hz-grid td.hz-c-last { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.hz-grid .pill { white-space: nowrap; }
.hz-type { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.hz-stage { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.hz-stage::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2, var(--muted)); }
.hz-dash { color: var(--muted); }
.hz-dots { display: inline-flex; gap: 6px; align-items: center; }
.hz-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--neu-soft); border: 1.5px solid var(--muted); cursor: help; }
.hz-dot.is-wait { background: #3b82f6; border-color: #3b82f6; }
.hz-dot.is-ok { background: var(--ok); border-color: var(--ok); }
.hz-dot.is-rev { background: #eab308; border-color: #eab308; }
.hz-dot.is-bad { background: var(--bad); border-color: var(--bad); }
.hz-due { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.hz-due.is-today { color: #eab308; font-weight: 600; }
.hz-due.is-overdue { color: var(--bad); font-weight: 700; }
/* J654: follow-ups paused while First Advantage works (JCruz); never red */
.hz-due.is-paused { color: var(--muted); font-style: italic; white-space: normal; }
.hz-more { display: flex; justify-content: center; align-items: center; gap: 10px; }
.hz-shown { color: var(--muted); font-size: 13px; }
.hz-bulk { display: none; }
.hz-page:has(.hz-grid input[name="sel"]:checked) .hz-bulk { display: flex; }
.hz-bulk .input { height: 32px; font-size: 13px; }
.hz-bulk-n { font-weight: 600; margin-right: 4px; }
.hz-f-note .input { width: 200px; }
/* J407: the bulk Message steps (bulk-text.mjs): the text, then who gets it, then one separate text each */
.hz-tx { max-width: 720px; }
.hz-tx-title { margin: 4px 0 6px; font-size: var(--fs-4); }
.hz-tx-h { margin: 18px 0 6px; font-size: 14px; font-weight: 700; }
.hz-tx-list { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.hz-tx-list .num { color: var(--ink-2); font-variant-numeric: tabular-nums; margin-left: 6px; }
.hz-tx-why { color: var(--muted); margin-left: 6px; font-size: 13px; }
.hz-tx-skip .hz-tx-list { list-style: none; padding-left: 0; }
.hz-tx-quote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--accent, var(--ink-2)); background: var(--surface-2, transparent); white-space: normal; overflow-wrap: anywhere; }
.hz-tx-form { margin-top: 18px; display: grid; gap: 8px; }
.hz-tx-l { font-weight: 700; font-size: 14px; }
.hz-tx-body { width: 100%; min-height: 110px; font: inherit; padding: 8px 10px; }
.hz-tx-act { display: flex; flex-wrap: wrap; gap: 8px; }
.hz-scroll { overflow-x: visible; }
@media (min-width: 1024px) and (max-width: 1440px) {
  .hz-grid th, .hz-grid td { padding: 6px 5px; font-size: 13px; }
  .hz-grid td.hz-c-first, .hz-grid td.hz-c-last { max-width: 130px; }
}
/* the Dashboard */
.hz-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 8px 0 14px; }
.hz-tile { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink-2); text-decoration: none; }
.hz-tile:hover { border-color: var(--accent); }
.hz-tile-n { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--heading, #fff); line-height: 1.1; }
.hz-tile-l { font-size: 13px; color: var(--muted); }
.hz-tile.is-bad .hz-tile-n { color: var(--bad); }
.hz-tile.is-bad { border-color: var(--bad-soft); }
.hz-tile.is-warn .hz-tile-n { color: #eab308; }
.hz-tile.is-ok .hz-tile-n { color: var(--ok); }
.hz-dgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.hz-panel { margin-bottom: 12px; }
.hz-pipe { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 4px 0 0; padding: 0; }
.hz-pipe-sep { color: var(--muted); font-size: 18px; padding: 0 2px; }
.hz-stage-go { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.hz-stage-go b { color: var(--heading, #fff); font-variant-numeric: tabular-nums; }
.hz-stage-go:hover { border-color: var(--accent); }
.hz-stage-go.is-hired b { color: var(--ok); }
.hz-loctable td.num, .hz-loctable th.num { text-align: right; }
.hz-furow { display: flex; align-items: center; gap: 8px; }
.hz-furow .row-name { flex: 1; color: var(--heading, #fff); }
.hz-dashloc { margin: 0; }
@media (max-width: 1200px) { .hz-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hz-dgrid { grid-template-columns: 1fr; } }
/* the card's First Advantage section */
.fx-card { margin: 10px 0 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); }
.fx-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fx-head .ap-static-t { margin: 0; }
/* J253: one First Advantage box: title + clear count, the order buttons, then the steps list */
.fx-title { display: flex; align-items: center; gap: 8px; }
.fx-card .checks { margin-top: 6px; }
.fx-card .checks-actions { margin-top: 4px; }
.fx-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fx-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.fx-step { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.fx-step-l { font-weight: 600; color: var(--heading, #fff); }
.fx-step-s { color: var(--muted); }
.fx-missing { display: flex; gap: 6px; align-items: center; margin: 8px 0 0; color: var(--bad); font-size: 13px; }
.fx-confirm { margin-top: 10px; display: grid; gap: 8px; }
.fx-q { margin: 0; font-weight: 600; color: var(--heading, #fff); }
.fx-f { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.fx-btns { display: flex; gap: 8px; }
/* J276 (Joshua 10/22/2026): the phone-only parts are hidden on a computer; the Filters panel is invisible there (the pickers
   stay in the one row they always were) */
.hz-ftoggle, .hz-step-l, .hz-due-l { display: none; }
.hz-fpanel { display: contents; }
.hz-step { display: inline-flex; align-items: center; gap: 5px; }
/* a phone (J276): the page has its own side margins; search on its own row, then Filters / Search / Clear as big buttons;
   Filters opens every picker full width in one column (open by itself while one is set), so each label and value reads
   whole; the tags wrap their words; each applicant is a card: the name on top, then location, driver type and status,
   then the pipeline step and the three steps with their names, then the follow-up date; the checkbox at the top right */
@media (max-width: 760px) {
  .hz-page { padding: 0 16px; }
  .hz-filters { gap: 8px; margin: 10px 0 12px; }
  .hz-filters .input, .hz-filters .btn { height: auto; min-height: 44px; font-size: 16px; }
  .hz-q { flex: 1 1 100%; min-width: 0; max-width: none; }
  .hz-filters > .btn { flex: 1 1 0; justify-content: center; }
  .hz-ftoggle { display: inline-flex; }
  .hz-filters.is-open .hz-ftoggle { border-color: var(--accent); }
  .hz-fcount { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
  .hz-fpanel { display: none; order: 10; flex: 1 1 100%; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hz-filters.is-open .hz-fpanel { display: grid; }
  .hz-fpanel .hz-f { display: block; min-width: 0; }
  .hz-sel { width: 100%; max-width: none; padding: 10px 38px 10px 14px; line-height: 1.3; }
  .hz-tags { gap: 8px; }
  .hz-tag { max-width: 100%; padding: 7px 12px; font-size: 13.5px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
  .hz-tag-dot { flex: none; }
  .hz-page .hz-scroll { overflow: visible; border: 0; border-radius: 0; background: none; }
  .hz-grid, .hz-grid tbody { display: block; width: auto; }
  .hz-grid thead { display: none; }
  .hz-grid tbody tr.hz-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; height: auto; margin: 0 0 12px; padding: 14px 54px 14px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
  .hz-grid tbody tr.hz-row:hover > td, .hz-grid tbody tr.hz-row.is-open > td { background: none; }
  .hz-grid tbody tr.hz-row.is-open { background: var(--accent-soft); border-color: var(--accent); }
  .hz-grid tbody tr.hz-row > td { display: block; width: auto; max-width: none; padding: 0; border: 0; text-align: left; white-space: normal; overflow: visible; }
  .hz-grid td::before { content: none !important; }
  .hz-grid tbody tr.hz-row::before, .hz-grid tbody tr.hz-row::after { content: ""; flex: 1 1 100%; height: 0; order: 3; }
  .hz-grid tbody tr.hz-row::after { order: 7; }
  .hz-grid td.hz-c-first { order: 1; flex: 0 1 auto; }
  .hz-grid td.hz-c-last { order: 2; flex: 1 1 auto; margin-left: -5px; }
  .hz-grid a.hz-nm { font-size: 17px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
  .hz-grid td.hz-c-loc { order: 4; }
  .hz-grid td.hz-c-type { order: 5; }
  .hz-grid td.hz-c-status { order: 6; flex: 1 1 auto; min-width: 0; }
  .hz-grid td.hz-c-type:has(> .hz-dash) { display: none; }
  .hz-grid .pill { height: auto; min-height: 26px; padding-top: 3px; padding-bottom: 3px; white-space: normal; overflow: visible; line-height: 1.3; }
  .hz-grid td.hz-c-stage { order: 8; }
  .hz-grid td.hz-c-fadv { order: 9; flex: 1 1 auto; }
  .hz-dots { flex-wrap: wrap; gap: 6px 12px; }
  .hz-step-l { display: inline; font-size: 12.5px; color: var(--ink-2); }
  .hz-grid td.hz-c-due { order: 10; flex: 1 1 100%; margin-top: 3px; font-size: 13.5px; }
  .hz-due-l { display: inline; color: var(--muted); }
  .hz-grid td.hz-c-due > .hz-dash { display: none; }
  .hz-grid td.hz-ck { position: absolute; top: 8px; right: 8px; padding: 6px; }
  .hz-grid td.hz-ck input { width: 22px; height: 22px; margin: 0; }
  .hz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the list column goes wide for the table and the Dashboard, as Payroll > Employees does (payroll.css .emp-list) */
.ls-shell .pane-list:has(.hz-page) { --col: 1480px; }

/* J232: the applicant card in the Applicants table's panel is the hiring app's card in a frame (ls-ui.js); the open row is marked */
.ls-shell .pane-detail:has(> .hz-card-host) { overflow: hidden; padding: 0; }
.ls-shell .pane-detail .detail-inner.hz-card-host { max-width: none; height: 100%; margin: 0; padding: 0; }
.hz-card-frame { display: block; width: 100%; height: 100%; border: 0; background: var(--surface); }
.hz-grid tbody tr.hz-row.is-open > td { background: var(--accent-soft); }
@media (min-width: 1024px) { .ls-shell.ls-shell:has(.hz-card-host) { --panel-w: 520px; } } /* the card's own width, as in the hiring app */

/* J245: Home's "Delivery concerns" card (app.js concernsCard): the count card, then up to 5 links to each concern's card */
.home .dc-home { margin: 12px 0 4px; }
.home .dc-home-list { list-style: none; margin: 8px 0 0; padding: 0 4px; display: flex; flex-direction: column; gap: 6px; }
.home .dc-home-list a { display: block; padding: 6px 12px; border-radius: var(--r-2, 8px); overflow-wrap: anywhere; }
.home .dc-home-list a:hover { background: var(--surface-2); }

/* J246 (+ step 4, 10/23/2026): Kept Staffed interviews on Home and the card's Interview section (booking, Zoom recording, summary) */
.iv-home { margin: 12px 0 4px; }
.iv-home .iv-h { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.iv-home .iv-h .num { font-size: 13px; color: var(--text-3); font-weight: 500; }
.iv-day { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-3); margin: 10px 0 4px; }
.iv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.iv-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: var(--r-2, 8px); background: var(--surface-2); }
.iv-row .iv-main { flex: 1 1 auto; min-width: 0; }
.iv-row .iv-title { display: block; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.iv-sub { display: block; font-size: 13px; color: var(--text-3); }
.zoom-meeting + .zoom-meeting { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.zoom-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.zoom-video { display: block; width: 100%; max-height: 360px; background: var(--text-1); border-radius: 10px; margin: 6px 0; }
.zoom-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; margin: 4px 0 8px; }
.zoom-summary h4 { font-size: 13px; font-weight: 600; margin: 10px 0 2px; }
.zoom-summary p { font-size: 14px; line-height: 1.45; margin: 0; }
.zoom-summary .zoom-overview { margin-bottom: 4px; }
.zoom-steps { margin: 2px 0 0 18px; font-size: 14px; line-height: 1.45; }
.iv-row.is-off .iv-title { color: var(--text-3); text-decoration: line-through; }

/* ---------- J349 / J359 (Joshua 10/27/2026): JCruz Express Home's company overview (app.js overviewSections) ----------
   J359: the greeting alone, then five sections in Joshua's order (Operations, Schedule and Time off, Safety and Metrics,
   Hiring, Payroll), each a header with a link and one row of big numbers. On a wide screen (1280 px and up) Home takes the
   wide column like the Hiring dashboard (J234): Operations' location cards run the full width, the rest sit two across
   (J363: two equal halves, each row the same height). The phone is one column in the same order.
   Company accent (JCruz red) for links, the status red (--bad) for what is down, due or overdue, a quiet 0 for zero. */
.home.is-overview .ov-greet { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ov-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 6px 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.ov-chip:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2)); }
.ov-chip-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2, var(--line)); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.ov-chip.is-on .ov-chip-n { background: var(--accent); color: #fff; }
.ov { display: flex; flex-direction: column; margin: 8px 0 24px; }
.ov-sec { min-width: 0; padding: 18px 0 6px; border-top: 1px solid var(--line); }
.ov-sec:first-child { border-top: 0; padding-top: 4px; }
.ov-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.ov-h { margin: 0; font-family: var(--font-head); font-size: var(--fs-3); font-weight: 600; letter-spacing: -.01em; color: var(--heading, var(--ink)); }
.ov-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; font-size: 14px; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.ov-link .icon { width: 16px; height: 16px; }
.ov-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ov-link:focus-visible, .ov-stat:focus-visible, .ov-loc:focus-visible, .ov-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* one row of big numbers */
.ov-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.ov-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-height: 84px; padding: 12px 14px; border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
a.ov-stat:hover, .ov-pop > summary.ov-stat:hover { border-color: var(--line-2); }
.ov-stat-n { font-family: var(--font-head); font-size: 28px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ink); }
.ov-stat-l { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.ov-stat.is-bad .ov-stat-n { color: var(--bad); }
.ov-stat.is-rev .ov-stat-n { color: var(--accent-text); }
.ov-stat.is-zero .ov-stat-n, .ov-fig.is-zero .ov-fig-n { color: var(--muted); font-weight: 500; }
.ov-stat.is-soon { border-style: dashed; background: transparent; }
.ov-soon-t { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink); }
/* Off today: the names only on hover (title) or tap (this small box) */
.ov-pop { position: relative; min-width: 0; }
.ov-pop > summary { list-style: none; cursor: pointer; height: 100%; box-sizing: border-box; }
.ov-pop > summary::-webkit-details-marker { display: none; }
.ov-pop[open] > summary { border-color: var(--accent); }
.ov-pop-box { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; width: max-content; max-width: min(320px, 86vw); padding: 10px 14px; border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13.5px; color: var(--ink-2); }
.ov-pop-box ul { margin: 0 0 6px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ov-pop-box .link { color: var(--accent-text); font-weight: 600; }
/* Operations: one compact card per location */
.ov-locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ov-loc { display: flex; flex-direction: column; gap: 10px; min-height: 44px; padding: 12px 14px; border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.ov-loc:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.ov-loc-n { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--ink); }
.ov-loc-n .chev { width: 16px; height: 16px; color: var(--accent-text); flex: none; }
.ov-figs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.ov-fig { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-fig-n { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ink); }
.ov-fig-l { font-size: 12.5px; line-height: 1.25; color: var(--ink-2); }
.ov-fig.is-bad .ov-fig-n { color: var(--bad); }
@media (max-width: 759px) {
  .ov-stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-stats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-locs { grid-template-columns: 1fr; }
  .ov-stat { min-height: 76px; }
  .ov-stat-n { font-size: 24px; }
  .ov-fig-n { font-size: 22px; }
}
@media (min-width: 1280px) {
  .ls-shell .pane-list:has(.home.is-overview) { --col: 1480px; }
  .ov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; align-items: stretch; }
  .ov > .ov-sec[data-ov="operations"], .ov > .ov-sec.is-span { grid-column: 1 / -1; }
  /* the location cards share the row evenly (app.js sets data-n, up to 6); one card keeps a card's width */
  .ov-locs[data-n="1"] { grid-template-columns: minmax(0, 420px); }
  .ov-locs[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-locs[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-locs[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ov-locs[data-n="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* J363 (Joshua 10/27/2026 6:11 PM ET, "need a little more balance to this. make it pretty"): one card style for every
   section (the same surface, border, corner radius and padding as the Operations location cards); each section is its
   header (title and "Open ..." link, the same height everywhere) over one card that fills its half, so the two halves of
   a row are the same height. Numbers inside a card sit on one baseline with thin dividers; the small tables (Schedule by
   location, Metrics by location) share one style, and on a phone they scroll sideways with the location fixed. Color
   carries meaning only (--bad for down, due, overdue, under goal); a 0 and "No data yet" are grey. */
.ov { gap: 26px; }
.ov-sec, .ov-sec:first-child { display: flex; flex-direction: column; padding: 0; border-top: 0; }
.ov-head { min-height: 44px; margin: 0 0 6px; }
.ov-card { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 16px 18px; border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); }
.ov-loc { padding: 16px 18px; }
/* the numbers in a card: one row on a shared baseline, a thin divider between them */
.ov-card .ov-stats { gap: 0; align-items: baseline; grid-auto-columns: auto; }
.ov-card .ov-stat, .ov-card .ov-pop > summary.ov-stat { min-height: 0; padding: 0 16px; gap: 6px; justify-content: flex-start; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; }
.ov-card .ov-stats > :first-child, .ov-card .ov-stats > .ov-pop:first-child > summary.ov-stat { border-left: 0; padding-left: 0; }
.ov-card .ov-pop[open] > summary.ov-stat { border-color: var(--line); }
.ov-card a.ov-stat:hover .ov-stat-l, .ov-card .ov-pop > summary.ov-stat:hover .ov-stat-l { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ov-stat-l, .ov-fig-l { font-size: 13px; line-height: 1.3; color: var(--ink-2); text-wrap: balance; }
.ov-figs { align-items: baseline; grid-auto-columns: auto; gap: 12px; }
/* the location cards: no narrower than their three numbers need (two across before that, then one) */
.ov-locs { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.ov-stat.is-none .ov-stat-n, .ov-fig.is-none .ov-fig-n { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--muted); }
.ov-stat.is-zero .ov-stat-n, .ov-fig.is-zero .ov-fig-n { color: var(--muted); font-weight: 500; }
.ov-stat.is-rev .ov-stat-n { color: var(--ink); }
/* a card's small caption ("Yesterday  Mon, 10/26") and Safety's line at the foot */
.ov-card-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-size: 13px; color: var(--ink-2); }
.ov-card-cap b { font-weight: 600; color: var(--ink); }
.ov-card-cap span { color: var(--muted); }
/* J666: the Metrics header when the latest numbers are older than yesterday ("2 days behind") */
.ov-card-cap .ov-stale { margin-left: auto; color: var(--bad); font-weight: 600; }
.ov-card-cap.is-stale { justify-content: flex-start; }
.ov-soon-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); text-decoration: none; }
.ov-soon-line b { font-weight: 600; color: var(--ink); }
.ov-soon-line:hover b { text-decoration: underline; text-underline-offset: 3px; }
/* the small tables */
.ov-tbl-wrap { min-width: 0; overflow-x: auto; }
.ov-tbl-wrap:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ov-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ov-tbl th, .ov-tbl td { padding: 7px 12px; white-space: nowrap; text-align: right; border-top: 1px solid var(--line); vertical-align: baseline; }
.ov-tbl thead th { padding-top: 0; border-top: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.ov-tbl th:first-child { position: sticky; left: 0; z-index: 1; padding-left: 0; text-align: left; background: var(--surface); }
.ov-tbl th:last-child, .ov-tbl td:last-child { padding-right: 0; }
.ov-tbl tbody th { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ov-tbl tbody th a { color: inherit; text-decoration: none; }
.ov-tbl tbody th a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ov-tbl-day { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.ov-tbl td { font-size: 15px; font-weight: 600; color: var(--ink); }
.ov-tbl td.is-zero { font-weight: 500; color: var(--muted); }
.ov-tbl td.is-none { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.ov-tbl td.is-bad { color: var(--bad); }
.ov-card .ov-tbl-wrap:last-child { margin-top: auto; }
@media (max-width: 759px) {
  .ov { gap: 22px; }
  .ov-card { padding: 14px 16px; }
  .ov-card .ov-stats { gap: 14px 0; }
  .ov-card .ov-stats:not(:has(> :nth-child(3):last-child)) > :nth-child(odd), .ov-card .ov-stats:not(:has(> :nth-child(3):last-child)) > .ov-pop:nth-child(odd) > summary.ov-stat { border-left: 0; padding-left: 0; }
  .ov-card .ov-stat, .ov-card .ov-pop > summary.ov-stat { padding: 0 12px; }
  .ov-card .ov-stats > :first-child { padding-left: 0; }
  .ov-tbl th, .ov-tbl td { padding-left: 10px; padding-right: 10px; }
  .ov-tbl th:first-child { padding-left: 0; padding-right: 12px; box-shadow: 1px 0 0 var(--line); }
}
@media (min-width: 1280px) and (max-width: 1599px) {
  .ov-locs[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-locs[data-n="5"], .ov-locs[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* J364: a small grey mark after a Home metric ("3 wk" on a RYDE with under 4 weeks, the day on a Signature behind yesterday) */
.ov-tbl-mark { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--muted); }
/* J379: a SPOTlight period's dates sit once under the Home metrics table, not in the Signature cell, so every row is one
   line (J373 had them under the pill) */
.ov-tbl-note { margin: -10px 0 0; font-size: 12px; color: var(--muted); }
/* J365: Home's Safety table under Metrics; the line under it turns red when something is overdue */
.ov-sf { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ov-soon-line.is-bad span { color: var(--bad); font-weight: 600; }

/* J367 (Joshua 10/27/2026 7:16 PM ET, "still seems a little bland"): life and color without clutter. Same layout, order
   and numbers as J363. Very soft shadows, 16px corners, a small icon per section in the sidebar's icon set, a health
   edge on each location card, bad numbers on a soft red chip, Metrics on soft pills against their goals (question
   679), a 7-day schedule strip, the date under the greeting. Hover lift only; no gradients, no other motion. */
.home.is-overview { --ov-shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 6px 18px rgba(22, 24, 29, .05); --ov-shadow-up: 0 2px 4px rgba(22, 24, 29, .06), 0 12px 28px rgba(22, 24, 29, .09); }
html[data-theme="dark"] .home.is-overview { --ov-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .22); --ov-shadow-up: 0 2px 6px rgba(0, 0, 0, .45), 0 14px 32px rgba(0, 0, 0, .35); }
.ov-greet-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-greet-t h1 { margin: 0; }
.ov-date { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.ov-h { display: inline-flex; align-items: center; gap: 10px; }
.ov-h-i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-text); }
.ov-h-i .icon { width: 17px; height: 17px; }
.ov-card, .ov-loc { border-radius: 16px; box-shadow: var(--ov-shadow); }
/* location cards: the whole card opens the location; a gentle lift on hover; a thin colored top edge for its health */
.ov-loc { position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.ov-loc:hover { transform: translateY(-2px); box-shadow: var(--ov-shadow-up); }
.ov-loc.is-good { box-shadow: inset 0 var(--stripe-w, 3px) 0 var(--ok), var(--ov-shadow); }
.ov-loc.is-warn { box-shadow: inset 0 var(--stripe-w, 3px) 0 var(--rev), var(--ov-shadow); }
.ov-loc.is-bad { box-shadow: inset 0 var(--stripe-w, 3px) 0 var(--bad), var(--ov-shadow); }
.ov-loc.is-good:hover { box-shadow: inset 0 var(--stripe-w, 3px) 0 var(--ok), var(--ov-shadow-up); }
.ov-loc.is-warn:hover { box-shadow: inset 0 var(--stripe-w, 3px) 0 var(--rev), var(--ov-shadow-up); }
.ov-loc.is-bad:hover { box-shadow: inset 0 var(--stripe-w, 3px) 0 var(--bad), var(--ov-shadow-up); }
@media (prefers-reduced-motion: reduce) { .ov-loc { transition: none; } .ov-loc:hover { transform: none; } }
/* a bad number sits on a soft red chip, not red text alone */
.ov-fig.is-bad .ov-fig-n, .ov-stat.is-bad .ov-stat-n { align-self: flex-start; padding: 2px 9px; margin-left: -2px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); }
/* numbers in the display font, labels muted grey */
.ov-stat-l, .ov-fig-l { color: var(--muted); }
.ov-tbl td { font-family: var(--font-head); }
.ov-tbl td.is-none { font-family: inherit; }
.ov-tbl th, .ov-tbl td { vertical-align: middle; }
/* Metrics: each number with a goal on a soft pill (green at or above, gold, red under) */
.ov-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.ov-pill.is-good { background: var(--ok-soft); color: var(--ok); }
.ov-pill.is-gold { background: var(--rev-soft); color: var(--rev); }
.ov-pill.is-bad { background: var(--bad-soft); color: var(--bad); }
.ov-spark { display: inline-block; margin-right: 10px; vertical-align: middle; overflow: visible; }
.ov-spark polyline { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; opacity: .8; }
.ov-spark circle { fill: var(--accent); }
/* Schedule: today's split by location as small bars, then the week as 7 bars with today in the accent */
.ov-hbar { display: inline-block; width: 64px; height: 6px; margin-right: 12px; border-radius: 3px; background: var(--line); vertical-align: middle; overflow: hidden; }
.ov-hbar > span { display: block; height: 100%; border-radius: 3px; background: color-mix(in srgb, var(--accent) 70%, transparent); }
.ov-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.ov-week-d { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.ov-week-n { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ov-week-track { position: relative; display: flex; align-items: flex-end; width: 100%; max-width: 34px; height: 52px; border-radius: 8px; background: var(--line); overflow: hidden; }
.ov-week-bar { display: block; width: 100%; border-radius: 8px; background: color-mix(in srgb, var(--accent) 30%, transparent); }
.ov-week-l { font-size: 12px; font-weight: 500; color: var(--muted); }
.ov-week-d.is-today .ov-week-bar { background: var(--accent); }
.ov-week-d.is-today .ov-week-l { color: var(--accent-text); font-weight: 700; }
.ov-week-d.is-zero .ov-week-n { color: var(--muted); font-weight: 500; }
.ov-soon-line b { display: inline-flex; align-items: center; gap: 6px; }
.ov-soon-line b .icon { width: 15px; height: 15px; color: var(--muted); }
@media (max-width: 759px) {
  .ov-h-i { width: 26px; height: 26px; border-radius: 8px; }
  .ov-h-i .icon { width: 15px; height: 15px; }
  .ov-week { gap: 4px; }
  .ov-week-track { height: 44px; }
  .ov-hbar { width: 40px; margin-right: 8px; }
}
/* the 7-day trend line only where the Metrics table has room for it (it would push P-POD off a 1366 laptop's card) */
@media (max-width: 1599px) { .ov-spark { display: none; } }
.ov-tbl td.has-pill { padding-top: 5px; padding-bottom: 5px; }
@media (min-width: 1280px) { .ov-week-track { height: 84px; } .ov-week { margin-top: 4px; } }
/* the pills add a little width: on a 1366 laptop the Metrics table keeps every column in its card */
@media (min-width: 1280px) and (max-width: 1599px) {
  .ov-tbl th, .ov-tbl td { padding-left: 5px; padding-right: 5px; }
  .ov-pill { padding: 2px 4px; }
}
/* J395: Kept Staffed's ranked Applicants list (src/modules/hiring/ranked.mjs): Rank and Score lead, the OnlineJobs fields
   replace Location, Driver type and FADV; on a phone each row is a card: rank and name, then post, score and status, then
   the four fields with their own words */
.hz-tag.is-phrase, .hz-tag.is-voice, .hz-tag.is-hr { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.hz-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--accent-soft); color: var(--heading, var(--ink)); font-weight: 700; font-size: 13px; }
.hz-score { font-weight: 700; color: var(--heading, var(--ink)); }
.hz-ranked td.hz-c-rank, .hz-ranked td.hz-c-score { text-align: center; }
.hz-kl { display: none; }
.hz-ranked td.hz-c-yrs { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .hz-ranked td.hz-c-rank { order: 0; flex: none; }
  .hz-ranked td.hz-c-rank > .hz-dash { display: none; }
  .hz-ranked td.hz-c-post { order: 4; }
  .hz-ranked td.hz-c-score { order: 5; }
  .hz-ranked td.hz-c-score::before { content: none; }
  .hz-ranked td.hz-c-cp, .hz-ranked td.hz-c-vr, .hz-ranked td.hz-c-hr, .hz-ranked td.hz-c-yrs { order: 8; font-size: 13px; }
  .hz-ranked td.hz-c-yrs { max-width: none; white-space: normal; }
  .hz-ranked td.hz-c-stage { order: 9; }
  .hz-kl { display: inline; margin-right: 4px; color: var(--ink-2); font-size: 12.5px; }
}
/* J395: the card's Ranking block and the Offer and onboarding section */
.ap-ranked .ap-facts { grid-template-columns: 1fr 1fr; }
.ap-fact-sub { margin-left: 4px; color: var(--muted); font-size: 12px; }
.offer-panel { display: grid; gap: 14px; }
.offer-one { display: grid; gap: 6px; }
.offer-one.is-older { padding-top: 12px; border-top: 1px solid var(--line-2); }
.offer-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.offer-title { font-weight: 600; color: var(--heading, var(--ink)); }
.offer-sub { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.offer-items { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.offer-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.offer-item-l { min-width: 0; overflow-wrap: anywhere; }
/* J395: the ranked list fits a laptop: tighter cells, the five hiring filters share one row */
@media (min-width: 761px) {
  .hz-ranked th, .hz-ranked td { padding-left: 6px; padding-right: 6px; }
  .hz-ranked td.hz-c-first, .hz-ranked td.hz-c-last { max-width: 140px; }
  .hz-ranked td.hz-c-post .hz-type { display: inline-block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
  .hz-ranked td.hz-c-yrs { max-width: 110px; }
}
/* J397 (Sarah 10/28/2026): the ranked list fits the visible width with no sideways scroll, card open or closed. Every cell
   and header may wrap (no ellipsis), and the list's own width decides which columns show (a container query, so the card
   being open counts). Narrower than each step, one more column steps aside, least important first: Years, Voice rec.,
   Recruiting/HR, Code phrase, Follow Up Due, Applied for; then the last name joins the first name in one Name column and
   the select boxes go. Score, the name and Status always show; the card has everything. */
.hz-lastin, .hz-h-name { display: none; }
@media (min-width: 761px) {
  .hz-scroll.hz-scroll-ranked { container: hzlist / inline-size; overflow-x: hidden; }
  .hz-ranked { table-layout: auto; }
  .hz-scroll-ranked .hz-grid.hz-ranked thead th, .hz-scroll-ranked .hz-grid.hz-ranked tbody td { padding-left: 5px; padding-right: 5px; white-space: normal; } /* over payroll.css .emp-grid td (nowrap from 1280) */
  .hz-scroll-ranked .hz-grid.hz-ranked thead th { line-height: 1.25; padding-right: 14px; } /* room for the sort arrow */
  .hz-grid.hz-ranked td.hz-c-due .hz-due { white-space: nowrap; }
  .hz-ranked td.hz-c-first, .hz-ranked td.hz-c-last, .hz-ranked td.hz-c-yrs { max-width: none; overflow: visible; text-overflow: clip; }
  .hz-ranked a.hz-nm { white-space: normal; overflow-wrap: break-word; }
  .hz-ranked td.hz-c-post .hz-type { display: inline-block; max-width: 130px; overflow: visible; white-space: normal; vertical-align: top; }
  .hz-ranked td.hz-c-yrs { overflow-wrap: break-word; }
  .hz-ranked .hz-yrs { display: inline-block; max-width: 120px; }
  .hz-ranked td.hz-c-status .pill { height: auto; min-height: 24px; padding-top: 3px; padding-bottom: 3px; line-height: 1.25; white-space: normal; overflow: visible; }
  .hz-ranked td.hz-c-cp .pill, .hz-ranked td.hz-c-vr .pill, .hz-ranked td.hz-c-hr .pill { padding: 0 7px 0 6px; gap: 4px; }
  .hz-ranked td.hz-c-score, .hz-ranked th.hz-c-score { width: 1%; }
  @container hzlist (max-width: 900px) { .hz-ranked .hz-c-yrs { display: none; } }
  @container hzlist (max-width: 820px) { .hz-ranked .hz-c-vr { display: none; } }
  @container hzlist (max-width: 760px) { .hz-ranked .hz-c-hr { display: none; } }
  @container hzlist (max-width: 680px) { .hz-ranked .hz-c-cp { display: none; } }
  @container hzlist (max-width: 590px) { .hz-ranked .hz-c-due { display: none; } }
  @container hzlist (max-width: 470px) { .hz-ranked .hz-c-post { display: none; } }
  @container hzlist (max-width: 400px) {
    .hz-ranked .hz-c-last, .hz-ranked .hz-ck, .hz-ranked .hz-h-first { display: none; }
    .hz-ranked .hz-lastin, .hz-ranked .hz-h-name { display: inline; }
  }
  @container hzlist (max-width: 280px) {
    .hz-scroll-ranked .hz-grid.hz-ranked thead th, .hz-scroll-ranked .hz-grid.hz-ranked tbody td { padding-left: 4px; padding-right: 4px; }
    .hz-scroll-ranked .hz-grid.hz-ranked thead th { padding-right: 12px; font-size: 11px; letter-spacing: 0; }
    .hz-ranked td.hz-c-status .pill { padding-left: 7px; padding-right: 7px; }
    .hz-ranked td.hz-c-status .pill::before { display: none; }
  }
}
/* with the card open on a desktop, the list keeps clear of it (the card covers the right of the screen), so its columns fit
   the part that shows */
@media (min-width: 1024px) {
  .ls-shell.shell[data-pane="detail"] .pane-list:has(.hz-ranked) { padding-right: calc(min(var(--panel-w), calc(100vw - var(--sb-w) - 48px)) + 12px); }
}

/* ---- J600 (Joshua 11/06/2026, Reginald): the Assigned to filter, column and bulk Reassign ------------------------------ */
.hz-own { position: relative; }
.hz-own > summary { display: inline-flex; align-items: center; gap: 4px; max-width: 230px; cursor: pointer; list-style: none; white-space: nowrap; overflow: hidden; }
.hz-own > summary::-webkit-details-marker { display: none; }
.hz-own[data-on] > summary { border-color: var(--accent); }
.hz-own-k { color: var(--muted); }
.hz-own-list { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; min-width: 220px; max-height: 320px; overflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 8px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.hz-own-opt { display: flex; align-items: center; gap: 8px; padding: 5px 4px; font-size: 13.5px; cursor: pointer; border-radius: 6px; }
.hz-own-opt:hover { background: var(--surface-2); }
.hz-own-opt input { width: 16px; height: 16px; margin: 0; }
.hz-own-list .btn { margin-top: 6px; align-self: flex-end; }
.hz-owner { font-size: 13px; color: var(--ink-2); }
.hz-own-l { display: none; }
@media (max-width: 760px) {
  .hz-grid td.hz-c-owner { order: 11; flex: 1 1 100%; font-size: 13.5px; }
  .hz-own-l { display: inline; color: var(--muted); }
  .hz-own-list { position: static; box-shadow: none; margin-top: 4px; }
}
/* the per-VA queue on the Hiring dashboard */
.va-queue { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.va-queue th, .va-queue td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.va-queue th:first-child, .va-queue td:first-child { text-align: left; white-space: normal; }
.va-queue th { font-size: 12px; font-weight: 600; color: var(--muted); }
.va-queue a { color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.va-queue a:hover { text-decoration: underline; }
.va-queue .is-over { color: var(--bad); font-weight: 700; }
.va-queue .is-today { color: var(--rev); font-weight: 600; }
.va-queue .is-zero { color: var(--muted); font-weight: 400; }
