/* MindPractice AI. White background only, no dark mode. Brand: #104d84 primary, #0f3a6d dark, #87a7c5 light blue,
   #e0ded5 ivory, #d78d2a mustard. Layout works from 375px to 1280px with no page-level horizontal scroll;
   wide tables scroll inside .table-wrap. Module pages add their rules at the end of this file under a comment. */

:root {
  --primary: #104d84;
  --dark: #0f3a6d;
  --light: #87a7c5;
  --ivory: #e0ded5;
  --mustard: #d78d2a;
  --text: #1c2430;
  --muted: #5b6573;
  --line: #d9dee5;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --bad: #a3261b;
  --bad-bg: #fbeceb;
  --ok-bg: #eaf2f9;
  --warn-bg: #fbf1e3;
  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); overflow-x: hidden; }
a { color: var(--primary); }
a:hover { color: var(--dark); }
h1 { font-size: 1.5rem; margin: 0 0 1rem; color: var(--dark); }
h2 { font-size: 1.2rem; margin: 0 0 .75rem; color: var(--dark); }
h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
code { font-family: var(--mono); font-size: .9em; }
img { max-width: 100%; height: auto; }

.topbar { background: var(--bg); border-bottom: 3px solid var(--primary); }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: .6rem 16px; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--dark); }
.logo { width: 190px; height: auto; display: block; }
.brand-name { font-weight: 600; letter-spacing: .02em; border-left: 1px solid var(--line); padding-left: .6rem; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem; flex: 1 1 auto; }
.nav a { text-decoration: none; padding: .35rem .6rem; border-radius: var(--radius); color: var(--dark); }
.nav a:hover { background: var(--soft); }
.nav a.active { background: var(--primary); color: #fff; }
.signout { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.who { color: var(--muted); font-size: .9rem; }

.page { max-width: 1280px; margin: 0 auto; padding: 1.25rem 16px 2rem; }
.footer { max-width: 1280px; margin: 0 auto; padding: 1rem 16px 2rem; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.card.narrow { max-width: 560px; }
.card.auth { max-width: 420px; margin: 2rem auto; }
.card.auth.wide { max-width: 600px; }
.section { scroll-margin-top: 1rem; }
.subnav { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; font-size: .9rem; }

.form { display: flex; flex-direction: column; gap: .35rem; }
.form label { font-weight: 600; font-size: .9rem; margin-top: .4rem; }
.form input, .form select, select, input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], textarea {
  font: inherit; padding: .5rem .6rem; border: 1px solid #b7c0cc; border-radius: var(--radius); background: #fff; color: var(--text); max-width: 100%;
}
input:focus, select:focus, textarea:focus, .btn:focus { outline: 2px solid var(--light); outline-offset: 1px; }
.form .btn { margin-top: .9rem; align-self: flex-start; }
.form-row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: .75rem; }
.form-row > div { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.form-row label { margin-top: 0; }
.form-row .form-row-button .btn { margin-top: 0; }
.inline { display: inline-flex; align-items: center; gap: .35rem; margin: 0 .25rem .25rem 0; }

.btn { display: inline-block; font: inherit; font-weight: 600; background: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: var(--radius); padding: .5rem 1rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-small { padding: .25rem .6rem; font-size: .85rem; }
.btn-quiet { background: #fff; color: var(--primary); }
.btn-quiet:hover { background: var(--soft); color: var(--dark); }
.btn-danger { background: #fff; color: var(--bad); border-color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }

.flash { padding: .6rem .9rem; border-radius: var(--radius); margin-bottom: 1rem; border-left: 4px solid var(--primary); background: var(--ok-bg); }
.flash-error { border-left-color: var(--bad); background: var(--bad-bg); }
.flash-warn { border-left-color: var(--mustard); background: var(--warn-bg); }
.banner { padding: .6rem .9rem; border-radius: var(--radius); margin-bottom: 1rem; border-left: 4px solid var(--mustard); background: var(--warn-bg); }
.callout { border: 1px solid var(--mustard); background: var(--warn-bg); border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: 1rem; }
.callout code, code.wrap { display: block; word-break: break-all; margin: .4rem 0; }
.secret { display: inline-block; font-size: 1.1rem; letter-spacing: .08em; background: var(--soft); padding: .2rem .5rem; border-radius: var(--radius); word-break: break-all; }
.steps li { margin-bottom: .4rem; }

.table-wrap { position: relative; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: .5rem .65rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--ivory); color: var(--dark); font-weight: 600; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tr.inactive td { color: var(--muted); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.actions { white-space: nowrap; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0 0 .75rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.bad { color: var(--bad); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.tag { display: inline-block; font-size: .75rem; padding: 0 .4rem; border-radius: 999px; background: var(--ivory); color: var(--dark); }
.pager { display: flex; gap: 1rem; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  .logo { width: 150px; }
  .signout { margin-left: 0; width: 100%; justify-content: space-between; }
  .form-row > div { width: 100%; }
  .card { padding: .85rem 1rem; }
  h1 { font-size: 1.3rem; }
}

/* ---- Module styles below. Each module adds a commented block; do not change the rules above. ---- */

/* Google (Ads, Traffic, Settings > Google) */
.range-form { margin-bottom: .75rem; }
.range-form input[type=text] { width: 9.5rem; }
.stat-line { margin: .25rem 0 .75rem; }
.notes { padding-left: 1.1rem; }
.notes li { margin-bottom: .25rem; }
.narrow-form { max-width: 560px; }
.narrow-form input { width: 100%; box-sizing: border-box; }
.button-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0 .5rem; }
.table td.wrap-cell { overflow-wrap: anywhere; min-width: 12rem; }
.table tr.unattributed td { background: var(--ivory); font-style: italic; }

/* ---- SLA module: worklist, SLAs page, Teams settings ---- */
.wl-fresh { margin: 0 0 .75rem; color: var(--muted); }
.wl-counts { margin: .5rem 0 0; }
.wl-empty { margin: 0; }
.wl-reasons { margin: .25rem 0 0; padding-left: 1.1rem; }
.wl-reasons li { margin: 0; }
.wl-tag-1 { background: var(--bad-bg); color: var(--bad); }
.wl-tag-2 { background: var(--warn-bg); color: #7a4b0c; }
.wl-tag-3 { background: var(--ok-bg); color: var(--dark); }
.wl tr.wl-tier-1 td:first-child { border-left: 4px solid var(--bad); }
.wl tr.wl-tier-2 td:first-child { border-left: 4px solid var(--mustard); }
.wl tr.wl-tier-3 td:first-child { border-left: 4px solid var(--light); }
.sla-form select { max-width: 12rem; }
.sla-hours { width: 6rem; }
.hours-table input[type=time] { min-width: 7rem; }
.narrow-form { max-width: 560px; }
.check { display: flex; align-items: center; gap: .4rem; font-weight: normal; }
@media (max-width: 640px) {
  .wl-wrap { border: 0; overflow-x: visible; }
  .wl, .wl thead, .wl tbody, .wl tr, .wl td { display: block; width: 100%; }
  .wl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wl tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; padding: .35rem 0; }
  .wl tr.wl-tier-1, .wl tr.wl-tier-2, .wl tr.wl-tier-3 { border-left-width: 4px; }
  .wl tr.wl-tier-1 { border-left-color: var(--bad); }
  .wl tr.wl-tier-2 { border-left-color: var(--mustard); }
  .wl tr.wl-tier-3 { border-left-color: var(--light); }
  .wl tr td:first-child { border-left: 0; }
  .wl td { border-bottom: 0; padding: .25rem .75rem; white-space: normal; overflow-wrap: anywhere; }
  .wl td::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--muted); }
  .sla-form { flex-wrap: wrap; }
  .sla-wrap { border: 0; overflow-x: visible; }
  .sla-table, .sla-table thead, .sla-table tbody, .sla-table tr, .sla-table td { display: block; width: 100%; }
  .sla-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sla-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; padding: .3rem 0; }
  .sla-table td { border-bottom: 0; padding: .2rem .75rem; text-align: left; }
  .sla-table td.num { text-align: left; }
  .sla-table td::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--muted); }
}
.wl td:last-child .btn { white-space: nowrap; }

/* ---- Browser pass: native checkboxes and radios in the brand blue. ---- */
input[type=checkbox], input[type=radio] { accent-color: var(--primary); }

/* ---- Settings tabs (server-side links, no JS) and the SLAs tab ---- */
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; padding-bottom: .35rem; border-bottom: 2px solid var(--line); }
.tabs a { flex: 0 0 auto; text-decoration: none; padding: .4rem .8rem; color: var(--dark); white-space: nowrap;
          border: 1px solid var(--line); border-radius: var(--radius); }
.tabs a:hover { background: var(--soft); }
.tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.subsection { margin: 0 0 1.5rem; padding-top: .25rem; }
.subsection + .subsection { border-top: 1px solid var(--line); padding-top: 1rem; }
.wl-rules { margin-left: .75rem; white-space: nowrap; }

/* ---- Authenticator enrollment QR code ---- */
.qr-box { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: .75rem 0 1rem; }
.qr-box p { flex: 1 1 12rem; margin: 0; }
.qr { display: block; width: 220px; height: auto; aspect-ratio: 1 / 1; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card.auth .steps { overflow-wrap: anywhere; }

/* ---- Browser pass 2: callout spacing, setup key wrapping, numbers, Users and Business hours on phones ---- */
.card > :first-child, .callout > :first-child, .banner > :first-child { margin-top: 0; }
.card > :last-child, .callout > :last-child, .banner > :last-child { margin-bottom: 0; }
.secret { word-break: normal; overflow-wrap: anywhere; }
.table td.num { white-space: nowrap; }
@media (max-width: 640px) {
  .users-wrap, .hours-wrap { border: 0; overflow-x: visible; }
  .users-table, .users-table tbody, .users-table tr, .users-table td { display: block; width: 100%; }
  .users-table thead, .hours-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .users-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; padding: .3rem 0; }
  .users-table tbody tr:last-child td, .users-table td { border-bottom: 0; padding: .2rem .75rem; overflow-wrap: anywhere; }
  .users-table td::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--muted); }
  .users-table td.actions { white-space: normal; }
  .users-table td.actions:empty, .users-table td.actions:not(:has(form)) { display: none; }
  .hours-table, .hours-table tbody { display: block; width: 100%; }
  .hours-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; align-items: end;
                    border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; padding: .5rem .75rem; }
  .hours-table td { display: block; border-bottom: 0; padding: 0; min-width: 0; }
  .hours-table td.hours-open { display: flex; align-items: center; gap: .4rem; justify-content: flex-end; }
  .hours-table td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--muted); }
  .hours-table td.hours-open::before { display: inline; font-size: .85rem; }
  .hours-table input[type=time] { min-width: 0; width: 100%; }
}
#closure-note { width: 18rem; }

/* Hiring module */
.subnav { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: 0 0 1rem; }
.subnav a { text-decoration: none; padding: .1rem 0; border-bottom: 2px solid transparent; }
.subnav a.active { font-weight: 600; border-bottom-color: var(--primary); color: var(--dark); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.fld label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .15rem; }
.fld input, .fld select, .fld textarea { width: 100%; }
.narrow-input { width: 6rem; text-align: right; }
.link-button { background: none; border: 0; padding: 0; margin: 0 0 0 .5rem; font: inherit; color: var(--primary); cursor: pointer; text-decoration: underline; }
.table tr.inactive td { color: var(--muted); }

.stages { display: flex; gap: .25rem; margin: .5rem 0 1rem; overflow-x: auto; }
.stage { flex: 1 0 110px; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .8rem; text-align: center; background: var(--soft); color: var(--text); text-decoration: none; }
.stage.done { background: var(--ok-bg); border-color: var(--light); }
.stage.cur { background: var(--primary); color: #fff; border-color: var(--primary); }
.stage.viewing { outline: 2px solid var(--dark); outline-offset: 1px; }
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; min-width: 90px; }
.bar i { display: block; height: 100%; background: var(--primary); }
.bar i.w0 { width: 0; } .bar i.w5 { width: 5%; } .bar i.w10 { width: 10%; } .bar i.w15 { width: 15%; } .bar i.w20 { width: 20%; }
.bar i.w25 { width: 25%; } .bar i.w30 { width: 30%; } .bar i.w35 { width: 35%; } .bar i.w40 { width: 40%; } .bar i.w45 { width: 45%; }
.bar i.w50 { width: 50%; } .bar i.w55 { width: 55%; } .bar i.w60 { width: 60%; } .bar i.w65 { width: 65%; } .bar i.w70 { width: 70%; }
.bar i.w75 { width: 75%; } .bar i.w80 { width: 80%; } .bar i.w85 { width: 85%; } .bar i.w90 { width: 90%; } .bar i.w95 { width: 95%; } .bar i.w100 { width: 100%; }
.chk { list-style: none; margin: 0; padding: 0; }
.chk li { display: flex; gap: .5rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chk .who2 { margin-left: auto; font-size: .8rem; color: var(--muted); }
.chk .full, .full { flex: 1 0 100%; }
.tick { display: inline-block; width: 1.2rem; height: 1.2rem; border: 2px solid var(--primary); border-radius: 3px; background: #fff; padding: 0; line-height: 1; text-align: center; font-size: .9rem; cursor: pointer; text-decoration: none; color: var(--primary); }
.tick.on { background: var(--primary); color: #fff; }
.grid-narrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .5rem .75rem; }
.float-right { float: right; }
.req { color: var(--bad); }
.note-body { white-space: normal; }

.grid-cred td a.cell { display: block; min-height: 1.4rem; text-decoration: none; color: inherit; }
.grid-cred td a.cell.bad { color: var(--bad); }
.grid-cred td:not(:first-child):hover { background: var(--soft); }
.grid-cred td.sel { outline: 2px solid var(--primary); outline-offset: -2px; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: 340px; background: #fff; border-left: 1px solid var(--line); box-shadow: -4px 0 12px rgba(0, 0, 0, .1); padding: 1rem 1.25rem; overflow: auto; z-index: 5; }
.panel .ph { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.panel .fld { margin-bottom: .6rem; }
.panel-buttons { margin-bottom: 1rem; }
textarea.mono { font-family: var(--mono); font-size: .85rem; width: 100%; }
.htag { display: inline-block; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 .3rem; }
.doc-actions { margin: .5rem 0 1rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; }
.kpi b { display: block; font-size: 1.4rem; color: var(--dark); }
.kpi.bad b { color: var(--bad); }

/* ---- Hiring design system (docs/HIRING-DESIGN.md). Every class starts with hire-. ---- */
:root {
  --hire-s1: 4px; --hire-s2: 8px; --hire-s3: 12px; --hire-s4: 16px; --hire-s5: 24px; --hire-s6: 32px; --hire-s7: 48px;
  --hire-strong: #b7c0cc; --hire-hover: #f6f8fb; --hire-ctl: 36px;
}
.hire-page :where(a, button, select, input, textarea, summary):focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.hire-tabs { display: flex; gap: var(--hire-s5); border-bottom: 1px solid var(--line); margin: 0 0 var(--hire-s5); }
.hire-tabs a { padding: var(--hire-s2) 0 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--text); text-decoration: none; }
.hire-tabs a:hover { color: var(--primary); }
.hire-tabs a[aria-current] { border-bottom-color: var(--primary); color: var(--dark); font-weight: 600; }
.hire-head { display: flex; align-items: center; justify-content: space-between; gap: var(--hire-s4); margin: 0 0 var(--hire-s5); }
.hire-title { font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--dark); margin: 0; }
.hire-section { margin: var(--hire-s6) 0 0; }
.hire-section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--hire-s4); margin: 0 0 var(--hire-s3); min-height: var(--hire-ctl); }
.hire-h2 { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--dark); margin: 0; }
.hire-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hire-summary > div { padding: var(--hire-s4) var(--hire-s5); }
.hire-summary > div:first-child { padding-left: 0; }
.hire-summary > div + div { border-left: 1px solid var(--line); }
.hire-figure { display: block; font-size: 24px; line-height: 1.2; font-weight: 600; color: var(--dark); font-variant-numeric: tabular-nums; }
.hire-figure.hire-over { color: var(--bad); }
.hire-label { font-size: 13px; color: var(--muted); }
.hire-btn { display: inline-flex; align-items: center; height: var(--hire-ctl); padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: #fff; background: var(--primary); border: 1px solid var(--primary); border-radius: 4px; text-decoration: none; cursor: pointer; }
.hire-btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.hire-btn-secondary { background: #fff; color: var(--primary); }
.hire-btn-secondary:hover { background: var(--hire-hover); color: var(--dark); border-color: var(--dark); }
.hire-select { height: var(--hire-ctl); padding: 0 var(--hire-s3); font: inherit; font-size: 14px; color: var(--text); background: #fff; border: 1px solid var(--hire-strong); border-radius: 4px; }
.hire-filter { display: flex; align-items: center; gap: var(--hire-s2); margin: 0; }
.hire-table { width: 100%; border-collapse: collapse; }
.hire-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: var(--hire-s2) var(--hire-s3); border-bottom: 1px solid var(--hire-strong); white-space: nowrap; }
.hire-table td { padding: var(--hire-s3); border-bottom: 1px solid var(--line); vertical-align: middle; }
.hire-table th:first-child, .hire-table td:first-child { padding-left: var(--hire-s4); }
.hire-table th:last-child, .hire-table td:last-child { padding-right: var(--hire-s4); }
.hire-table tbody tr:hover { background: var(--hire-hover); }
.hire-table .hire-num { text-align: right; font-variant-numeric: tabular-nums; }
.hire-table .hire-end { text-align: right; white-space: nowrap; }
.hire-over { color: var(--bad); }
.hire-quiet { color: var(--muted); }
.hire-empty { padding: var(--hire-s4) 0; color: var(--muted); border-bottom: 1px solid var(--line); margin: 0; }
.hire-meter { appearance: none; -webkit-appearance: none; width: 96px; height: 6px; vertical-align: middle; border: 0; border-radius: 3px; background: var(--line); overflow: hidden; }
.hire-meter::-webkit-progress-bar { background: var(--line); border-radius: 3px; }
.hire-meter::-webkit-progress-value { background: var(--primary); border-radius: 3px; }
.hire-meter::-moz-progress-bar { background: var(--primary); border-radius: 3px; }
.hire-pct { display: inline-block; width: 3ch; margin-left: var(--hire-s2); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hire-more { position: relative; display: inline-block; }
.hire-more > summary { list-style: none; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; font-size: 14px; color: var(--primary); border: 1px solid transparent; border-radius: 4px; cursor: pointer; }
.hire-more > summary::-webkit-details-marker { display: none; }
.hire-more > summary:hover, .hire-more[open] > summary { background: var(--hire-hover); border-color: var(--line); }
.hire-more-menu { position: absolute; right: 0; top: 32px; z-index: 5; min-width: 160px; display: flex; flex-direction: column; padding: var(--hire-s1); background: #fff; border: 1px solid var(--hire-strong); border-radius: 4px; }
.hire-more-menu a, .hire-more-menu button { display: block; width: 100%; text-align: left; padding: var(--hire-s2) var(--hire-s3); font: inherit; font-size: 14px; color: var(--text); background: none; border: 0; border-radius: 3px; text-decoration: none; cursor: pointer; }
.hire-more-menu a:hover, .hire-more-menu button:hover { background: var(--hire-hover); color: var(--dark); }
/* Hiring: forms, buttons, lists, side panel */
.hire-form { display: flex; flex-direction: column; gap: var(--hire-s4); margin: 0; }
.hire-form label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 var(--hire-s1); }
.hire-form input:not([type=checkbox]):not([type=file]):not([type=hidden]), .hire-form select, .hire-form textarea {
  width: 100%; height: var(--hire-ctl); padding: 0 var(--hire-s3); font: inherit; font-size: 15px; color: var(--text); background: #fff; border: 1px solid var(--hire-strong); border-radius: 4px;
}
.hire-form textarea { height: auto; padding: var(--hire-s2) var(--hire-s3); line-height: 1.5; resize: vertical; }
.hire-form input[type=file] { font: inherit; font-size: 14px; padding: 5px 0; }
.hire-form label.hire-checkline { display: flex; align-items: center; gap: var(--hire-s2); font-size: 15px; font-weight: 400; margin: 0; }
.hire-field { min-width: 0; }
.hire-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--hire-s4) var(--hire-s5); }
.hire-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--hire-s3); }
.hire-row > .hire-field { flex: 1 1 180px; }
.hire-row > .hire-field.hire-short { flex: 0 0 120px; }
.hire-row > .hire-field.hire-grow { flex: 2 1 280px; }
.hire-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hire-s2); }
.hire-btn-small { height: 28px; padding: 0 10px; font-size: 13px; }
.hire-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); text-decoration: underline; cursor: pointer; }
.hire-linkbtn:hover { color: var(--dark); }
.hire-inline { display: inline; margin: 0; }
.hire-note-text { color: var(--muted); font-size: 13px; margin: 0; }
.hire-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--hire-s7); align-items: start; }
.hire-stages { display: flex; margin: 0 0 var(--hire-s4); padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.hire-stages li { flex: 1 1 0; }
.hire-stages a { display: block; padding: var(--hire-s2) var(--hire-s1) 10px; margin-bottom: -1px; text-align: center; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.hire-stages a:hover { color: var(--primary); }
.hire-stages li.hire-passed a { color: var(--text); }
/* The underline follows the stage being viewed; the provider's actual stage stays bold (Mike 12/01/2026). */
.hire-stages li.hire-current a { color: var(--dark); font-weight: 600; }
.hire-stages a.hire-viewing { color: var(--dark); border-bottom-color: var(--primary); background: var(--hire-hover); }
.hire-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hire-strong); }
.hire-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--hire-s4); align-items: center; padding: var(--hire-s3) 0; border-bottom: 1px solid var(--line); }
.hire-item-main { min-width: 0; }
.hire-item-label { margin: 0; }
.hire-item-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.hire-item-do { display: flex; align-items: center; gap: var(--hire-s3); justify-content: flex-end; white-space: nowrap; }
.hire-item-extra { grid-column: 1 / -1; margin-top: var(--hire-s3); }
.hire-done .hire-item-label { color: var(--muted); }
.hire-facts { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--hire-s2) var(--hire-s4); margin: 0; }
.hire-facts dt { color: var(--muted); font-size: 14px; }
.hire-facts dd { margin: 0; overflow-wrap: anywhere; }
.hire-bar-line { display: flex; align-items: center; gap: var(--hire-s3); margin: 0 0 var(--hire-s4); }
.hire-note { padding: var(--hire-s3) 0; border-bottom: 1px solid var(--line); }
.hire-note-head { margin: 0 0 var(--hire-s1); font-size: 13px; color: var(--muted); }
.hire-note-head b { color: var(--text); font-size: 15px; margin-right: var(--hire-s2); }
.hire-note-body { margin: 0 0 var(--hire-s1); max-width: 72ch; }
.hire-notes { list-style: none; margin: 0 0 var(--hire-s5); padding: 0; border-top: 1px solid var(--hire-strong); }
.hire-panel { position: sticky; top: var(--hire-s4); padding: 0 0 0 var(--hire-s4); border-left: 1px solid var(--hire-strong); }
.hire-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--hire-s3); margin: 0 0 var(--hire-s4); }
.hire-panel .hire-form { margin-bottom: var(--hire-s5); }
.hire-cell { display: block; min-height: 22px; color: inherit; text-decoration: none; }
.hire-table td.hire-sel { outline: 2px solid var(--primary); outline-offset: -2px; }
.hire-table td.hire-click:hover { background: #eef3f9; }
.hire-status { color: var(--text); }
.hire-status-warn { color: var(--dark); font-weight: 600; }
.hire-hidden-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hire-auth { max-width: 400px; margin: var(--hire-s7) auto 0; }
.hire-auth .hire-title { margin-bottom: var(--hire-s4); }
.hire-auth p { margin: 0 0 var(--hire-s4); max-width: 68ch; }
.hire-box { padding: var(--hire-s3) var(--hire-s4); border-left: 3px solid var(--mustard); background: var(--warn-bg); margin: 0 0 var(--hire-s5); }
.hire-box form { display: inline; }
.hire-sub { display: flex; gap: var(--hire-s5); margin: 0 0 var(--hire-s5); padding: 0; list-style: none; }
.hire-sub a { color: var(--text); text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.hire-sub a[aria-current] { color: var(--dark); font-weight: 600; border-bottom-color: var(--primary); }
.hire-sub a:hover { color: var(--primary); }
.hire-table tr.hire-off td { color: var(--muted); }
.hire-table .hire-input-narrow { width: 7rem; text-align: right; }
.hire-table input:not([type=checkbox]), .hire-table select { height: 32px; padding: 0 var(--hire-s2); font: inherit; font-size: 14px; border: 1px solid var(--hire-strong); border-radius: 4px; background: #fff; max-width: 100%; }
.hire-table .hire-wide-input { width: 100%; min-width: 14rem; }
.hire-gap-top { margin-top: var(--hire-s5); }
.hire-more-menu form { margin: 0; }
.hire-table .hire-end > * { vertical-align: middle; }
.hire-table .hire-end > a, .hire-table .hire-end > details, .hire-table .hire-end > button, .hire-table .hire-end > span { margin-left: var(--hire-s3); }
.hire-table .hire-end > :first-child { margin-left: 0; }
.hire-gap-bottom { margin-bottom: var(--hire-s5); }
.hire-panel h3.hire-h2 { margin: 0 0 var(--hire-s3); }
.hire-gridwrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--hire-s5); align-items: start; }
.hire-scroll { overflow-x: auto; position: relative; }
/* The directory scrolls sideways only on a phone, so its hover tips are not clipped on a desktop (12/01/2026). */
.hire-phone-scroll { position: relative; }
@media (max-width: 720px) { .hire-phone-scroll { overflow-x: auto; } }
.hire-grid-table th, .hire-grid-table td { padding: 10px var(--hire-s2); font-size: 14px; }
@media (max-width: 1199px) {
  .hire-gridwrap { grid-template-columns: minmax(0, 1fr); }
  .hire-panel { position: static; padding: var(--hire-s5) 0 0; border-left: 0; border-top: 1px solid var(--hire-strong); max-width: 440px; }
}
.hire-summary-3 { grid-template-columns: repeat(3, 1fr); }
.hire-input-narrow { width: 7rem; height: 32px; padding: 0 var(--hire-s2); text-align: right; font: inherit; font-size: 14px; border: 1px solid var(--hire-strong); border-radius: 4px; }
.hire-actions-end { justify-content: flex-end; }
.hire-form textarea.hire-mono { font-family: var(--mono); font-size: 13px; line-height: 1.5; }
.hire-auth-wide { max-width: 560px; }
.hire-auth .hire-form { margin-top: var(--hire-s4); }
.hire-auth .hire-form .hire-btn { align-self: flex-start; }
.hire-auth .flash { margin-bottom: var(--hire-s4); }
.hire-auth ol { padding-left: var(--hire-s5); margin: 0 0 var(--hire-s4); }
.hire-auth ol li { margin-bottom: var(--hire-s2); }
.hire-auth .qr-box { margin-bottom: var(--hire-s4); }
.hire-auth .hire-form { gap: var(--hire-s1); }
.hire-auth .hire-form label { margin-top: var(--hire-s3); }
.hire-auth .hire-form label:first-of-type { margin-top: 0; }
.hire-auth .hire-form label.hire-checkline { margin-top: var(--hire-s3); }
.hire-auth .hire-form .hire-btn { margin-top: var(--hire-s4); }
.hire-fixed { table-layout: fixed; }
.hire-fixed .hire-c-item { width: 34%; } .hire-fixed .hire-c-owner { width: 16%; } .hire-fixed .hire-c-file { width: 22%; } .hire-fixed .hire-c-block { width: 14%; } .hire-fixed .hire-c-act { width: 14%; }
/* Hiring: alternating rows, icon row actions, inline confirm, sticky flash */
.hire-table tbody tr:nth-child(even) { background: #fafbfd; }
.hire-table tbody tr:hover { background: #eef3f9; }
.hire-table tbody tr:nth-child(even):hover { background: #eef3f9; }
.hire-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--muted); border-radius: 4px; vertical-align: middle; }
.hire-icon:hover { color: var(--primary); background: #e4ecf5; }
.hire-icon-remove:hover { color: var(--text); }
.hire-confirm { display: inline-flex; align-items: center; gap: var(--hire-s2); }
.hire-confirm > span { font-size: 14px; }
.hire-area > .flash { position: sticky; top: 0; z-index: 30; margin-bottom: var(--hire-s4); }
.hire-table td.hire-sel { background: #e4ecf5; }
.hire-formbox { padding: var(--hire-s4); margin: 0 0 var(--hire-s4); border: 1px solid var(--hire-strong); border-radius: 4px; background: #fff; }
/* Providers v2: record head and tabs, items table, forms in place, reader result */
.hire-head-record { align-items: flex-start; margin-bottom: var(--hire-s4); }
.hire-head-record .hire-note-text { margin-top: var(--hire-s1); }
.hire-tabs-record { margin-top: var(--hire-s2); }
.hire-section-first { margin-top: 0; }
.hire-h3 { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--dark); margin: 0 0 var(--hire-s2); }
.hire-sub-cell { padding: var(--hire-s3) 0 var(--hire-s4) !important; background: #fff; }
.hire-table tbody tr:has(> .hire-sub-cell) { background: #fff; }
.hire-table tbody tr:has(> .hire-sub-cell):hover { background: #fff; }
.hire-history { margin: 0 0 var(--hire-s2); }
.hire-history td, .hire-history th { padding-top: var(--hire-s2); padding-bottom: var(--hire-s2); }
.hire-review { gap: var(--hire-s5); }
.hire-formbox .hire-table tbody tr:nth-child(even) { background: #fafbfd; }
.hire-formbox .hire-confirm input { height: 28px; width: 14rem; }
.hire-items-table td { vertical-align: middle; }
.hire-confirm input[name=reason] { padding: 0 var(--hire-s2); font: inherit; font-size: 14px; border: 1px solid var(--hire-strong); border-radius: 4px; }
.hire-review .hire-table th, .hire-review .hire-table td { white-space: nowrap; }
.hire-figure-text { font-size: 17px; line-height: 1.5; }
.hire-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--hire-s4); margin: 0 0 var(--hire-s4); padding: var(--hire-s3) var(--hire-s4); color: var(--bad); border: 1px solid var(--bad); border-radius: 4px; }
.hire-banner p { margin: 0; }
.hire-banner p + p { margin-top: var(--hire-s1); }
.hire-banner .hire-btn-secondary { color: var(--bad); border-color: var(--bad); white-space: nowrap; }
.hire-banner .hire-btn-secondary:hover { background: #fdf3f2; color: var(--bad); }
.hire-checkline { display: inline-flex; align-items: center; gap: var(--hire-s2); font-size: 14px; white-space: nowrap; }
.hire-filter { flex-wrap: wrap; justify-content: flex-end; }
.hire-summary-5 { grid-template-columns: repeat(5, 1fr); }
.hire-summary-5 .hire-label a { color: inherit; }
/* Providers: pre-filtered tabs instead of filters (docs/HIRING-DESIGN.md, "Tabs instead of filters") */
.hire-viewbar { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--hire-s4); margin: 0 0 var(--hire-s4); border-bottom: 1px solid var(--line); }
.hire-viewtabs { display: flex; gap: var(--hire-s5); }
.hire-viewtabs a { padding: var(--hire-s2) 0 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--text); text-decoration: none; white-space: nowrap; }
.hire-viewtabs a:hover { color: var(--primary); }
.hire-viewtabs a[aria-current] { border-bottom-color: var(--primary); color: var(--dark); font-weight: 600; }
.hire-count { font-size: 13px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.hire-count.hire-over { color: var(--bad); }
.hire-viewtools { display: flex; align-items: center; gap: var(--hire-s3); padding-bottom: var(--hire-s2); }
.hire-search { margin: 0; }
.hire-search input[type=search] { width: 180px; height: 32px; padding: 0 var(--hire-s3); font: inherit; font-size: 14px; color: var(--text); background: #fff; border: 1px solid var(--hire-strong); border-radius: 4px; }
.hire-seg { display: inline-flex; border: 1px solid var(--hire-strong); border-radius: 4px; overflow: hidden; }
.hire-seg a { display: inline-flex; align-items: center; height: 30px; padding: 0 var(--hire-s3); font-size: 14px; color: var(--text); text-decoration: none; background: #fff; }
.hire-seg a + a { border-left: 1px solid var(--hire-strong); }
.hire-seg a:hover { background: var(--hire-hover); }
.hire-seg a[aria-current] { background: var(--primary); color: #fff; font-weight: 600; }

/* Providers round 2: modal (docs/HIRING-DESIGN.md, "Modal"), document preview, upload drop zone */
body.hire-modal-open { overflow: hidden; }
.hire-modal-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--hire-s5); }
.hire-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 30, 45, .45); cursor: default; }
.hire-modal { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 520px; max-height: calc(100vh - 48px); background: #fff; border-radius: 8px; box-shadow: 0 12px 40px rgba(20, 30, 45, .3); }
.hire-modal-wide { max-width: 760px; }
.hire-modal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--hire-s3); padding: var(--hire-s4) var(--hire-s5); border-bottom: 1px solid var(--line); }
.hire-modal-tools { display: flex; align-items: center; gap: var(--hire-s2); }
.hire-modal-body { padding: var(--hire-s5); overflow-y: auto; }
.hire-modal-body .hire-form { margin-bottom: 0; }
.hire-modal-body .hire-table th:first-child, .hire-modal-body .hire-table td:first-child { padding-left: 0; }
.hire-modal-body .hire-table th:last-child, .hire-modal-body .hire-table td:last-child { padding-right: 0; }
.hire-modal-preview { max-width: min(960px, 100%); width: 960px; height: calc(100vh - 48px); }
.hire-preview-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: var(--hire-s4); background: #f1f3f6; border-radius: 0 0 8px 8px; min-height: 0; }
.hire-preview-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hire-preview-frame { width: 100%; height: 100%; border: 0; background: #fff; }
.hire-icon-view { width: 28px; height: 28px; }
.hire-drop { position: relative; }
.hire-drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.hire-drop-area { display: flex; align-items: center; gap: var(--hire-s3); padding: var(--hire-s4); border: 1px dashed var(--hire-strong); border-radius: 6px; background: #fafbfd; color: var(--muted); cursor: pointer; font-weight: 400; }
.hire-form .hire-drop-area { margin: 0; font-size: 14px; font-weight: 400; }
.hire-drop-area:hover, .hire-drop-over .hire-drop-area { border-color: var(--primary); background: #eef3f9; color: var(--dark); }
.hire-drop-input:focus-visible + .hire-drop-area { outline: 2px solid var(--primary); outline-offset: 2px; }
.hire-drop-text b { color: var(--text); }
.hire-drop-chip { display: flex; align-items: center; gap: var(--hire-s3); padding: var(--hire-s2) var(--hire-s3); border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.hire-drop-thumb { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; background: #eef3f9; color: var(--primary); font-size: 12px; font-weight: 600; overflow: hidden; flex: none; }
.hire-drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hire-drop-info { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 14px; }
.hire-drop-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hire-drop-msg { margin: var(--hire-s2) 0 0; color: var(--bad); font-size: 13px; }
.hire-drop [hidden], .hire-modal-wrap [hidden] { display: none !important; }
.hire-itemlink { color: var(--text); text-decoration: none; border-bottom: 1px dotted var(--hire-strong); }
.hire-itemlink:hover { color: var(--primary); border-bottom-color: var(--primary); border-bottom-style: solid; }
.hire-hist { padding: var(--hire-s3) 0; border-bottom: 1px solid var(--line); }
.hire-hist:first-child { padding-top: 0; }
.hire-hist:last-child { border-bottom: 0; padding-bottom: 0; }
.hire-hist-head { display: flex; align-items: center; justify-content: space-between; gap: var(--hire-s3); }
.hire-hist-tools { display: inline-flex; align-items: center; gap: var(--hire-s2); }
.hire-hist p { margin: var(--hire-s1) 0 0; }
.hire-drop-text { display: block; line-height: 1.4; } .hire-drop-area svg { flex: none; }
/* Credentialing grid: editable cells and the cell modal */
.hire-grid-table td.hire-click { padding: 0; position: relative; }
.hire-grid-table th:first-child, .hire-grid-table td:first-child { padding-left: var(--hire-s4); }
.hire-edit { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--hire-s1); min-height: 44px; padding: 10px var(--hire-s3); cursor: pointer; color: inherit; text-decoration: none; }
.hire-edit:hover, .hire-edit:focus-visible { background: #e4ecf5; }
.hire-pencil { display: inline-flex; color: var(--primary); opacity: 0; transition: opacity .1s; }
.hire-edit:hover .hire-pencil, .hire-edit:focus-visible .hire-pencil { opacity: 1; }
.hire-add { color: #9aa5b3; font-size: 13px; }
.hire-add-text { display: none; }
.hire-edit:hover .hire-add-plus, .hire-edit:focus-visible .hire-add-plus { display: none; }
.hire-edit:hover .hire-add-text, .hire-edit:focus-visible .hire-add-text { display: inline; color: var(--primary); }
.hire-modal-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hire-s6); align-items: start; }
.hire-fields-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hire-modal-actions { margin: var(--hire-s4) 0; }
.hire-na > summary { cursor: pointer; color: var(--primary); font-size: 14px; }
.hire-na .hire-form { margin-top: var(--hire-s3); }
.hire-modal-notes .hire-notes { margin-bottom: var(--hire-s3); border-top: 0; }
.hire-allnotes > summary { cursor: pointer; color: var(--primary); font-size: 14px; margin-bottom: var(--hire-s3); }
.hire-edit.hire-over { color: var(--bad); }
.hire-grid-table th:not(:first-child) { padding-left: var(--hire-s3); padding-right: var(--hire-s3); }
/* Directory: warning icon with the issues on hover */
.hire-warn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 4px; color: #b26a00; }
.hire-warn-red { color: var(--bad); }
.hire-warn:hover, .hire-warn:focus-visible { background: #f3e8e6; }
.hire-warn-tip { position: absolute; right: 0; top: 32px; z-index: 20; display: none; flex-direction: column; gap: var(--hire-s1); min-width: 220px; max-width: 320px; padding: var(--hire-s2) var(--hire-s3); background: #1c2430; color: #fff; font-size: 13px; line-height: 1.4; text-align: left; white-space: normal; border-radius: 6px; box-shadow: 0 4px 16px rgba(20, 30, 45, .25); }
.hire-warn:hover .hire-warn-tip, .hire-warn:focus-visible .hire-warn-tip { display: flex; }

/* Providers round 2: cards (docs/HIRING-DESIGN.md, "Cards"). Every section is a card on a tinted page. */
:root { --hire-page: #f3f5f8; --hire-card-line: #e1e6ed; --hire-card-shadow: 0 1px 2px rgba(20, 30, 45, .06), 0 1px 3px rgba(20, 30, 45, .04); --hire-card-pad: 24px; }
body:has(.hire-page) { background: var(--hire-page); }
.hire-section, .hire-card { background: #fff; border: 1px solid var(--hire-card-line); border-radius: 8px; box-shadow: var(--hire-card-shadow); padding: var(--hire-s4) var(--hire-card-pad) var(--hire-card-pad); margin: var(--hire-s6) 0 0; }
.hire-section-first { margin-top: 0; }
.hire-section-head { margin: 0 0 var(--hire-s4); }
.hire-section > :last-child { margin-bottom: 0; }
/* Tables fill the card edge to edge, so the rows' light shading reaches the card and the text lines up with the card title */
.hire-section > .hire-table, .hire-section > .hire-scroll > .hire-table, .hire-section > .hire-phone-scroll > .hire-table, .hire-section > form > .hire-table { margin-left: calc(var(--hire-card-pad) * -1); margin-right: calc(var(--hire-card-pad) * -1); width: calc(100% + var(--hire-card-pad) * 2); }
.hire-section .hire-table th:first-child, .hire-section .hire-table td:first-child { padding-left: var(--hire-card-pad); }
.hire-section .hire-table th:last-child, .hire-section .hire-table td:last-child { padding-right: var(--hire-card-pad); }
.hire-section .hire-formbox .hire-table th:first-child, .hire-section .hire-formbox .hire-table td:first-child,
.hire-section .hire-sub-cell .hire-table th:first-child, .hire-section .hire-sub-cell .hire-table td:first-child { padding-left: var(--hire-s3); }
.hire-section .hire-formbox .hire-table th:last-child, .hire-section .hire-formbox .hire-table td:last-child { padding-right: var(--hire-s3); }
.hire-table th { border-bottom: 1px solid var(--line); font-weight: 600; }
.hire-table td { border-bottom: 0; }
.hire-sub-cell { padding-left: var(--hire-card-pad) !important; padding-right: var(--hire-card-pad) !important; }
.hire-empty { border-bottom: 0; padding: var(--hire-s2) 0; }
.hire-formbox { background: #f7f9fc; border: 1px solid var(--hire-card-line); box-shadow: none; }
.hire-notes, .hire-items { border-top: 0; }
.hire-note { border-bottom: 1px solid var(--hire-card-line); }
.hire-note:last-child { border-bottom: 0; }
.hire-item { border-bottom: 1px solid var(--hire-card-line); }
.hire-item:last-child { border-bottom: 0; }
/* The count cards on the Hiring dashboard */
.hire-summary { gap: var(--hire-s4); border: 0; }
.hire-summary > div, .hire-summary > div:first-child { background: #fff; border: 1px solid var(--hire-card-line); border-radius: 8px; box-shadow: var(--hire-card-shadow); padding: var(--hire-s4) var(--hire-card-pad); }
.hire-summary > div + div { border-left: 1px solid var(--hire-card-line); }
.hire-stages { border-bottom: 0; }
.hire-viewbar { border-bottom: 1px solid var(--hire-card-line); }
.hire-tabs { border-bottom-color: var(--hire-card-line); }
/* a view bar and tabs inside a card sit flush with its title */
.hire-section .hire-viewbar { margin-left: 0; margin-right: 0; }
.hire-card-note { margin: 0 0 var(--hire-s4); }
.hire-section .hire-summary > div, .hire-section .hire-summary > div:first-child { background: #f7f9fc; border: 0; box-shadow: none; border-radius: 6px; }
/* 1024 px laptops: a little less padding so tables stay on one line each */
@media (max-width: 1119px) {
  :root { --hire-card-pad: 16px; }
  .hire-table th, .hire-table td { padding-left: var(--hire-s2); padding-right: var(--hire-s2); }
  .hire-grid-table th:not(:first-child) { padding-left: var(--hire-s2); padding-right: var(--hire-s2); }
  .hire-edit { padding-left: var(--hire-s2); padding-right: var(--hire-s2); }
}
.hire-items-table td:first-child { min-width: 9.5rem; }
.hire-grid-table td:first-child { min-width: 11rem; }

/* Providers: upload card (drop zone left, Kind and Expires beside it, button at the end) */
.hire-upload { display: grid; grid-template-columns: minmax(0, 1fr) 200px 170px; grid-template-rows: auto auto; gap: var(--hire-s4) var(--hire-s3); align-items: start; }
.hire-upload-file { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.hire-upload-file .hire-drop { flex: 1; display: flex; }
.hire-upload-file .hire-drop-area { flex: 1; min-height: 112px; justify-content: center; }
.hire-upload-kind { grid-column: 2; grid-row: 1; }
.hire-upload-exp { grid-column: 3; grid-row: 1; }
.hire-upload-go { grid-column: 2 / span 2; grid-row: 2; justify-content: flex-end; align-self: end; }

/* Providers: one shared select and date style. The native arrow is replaced by a 12 px chevron 14 px from the right edge, the
   text gets matching right padding; a date field gets the same inner padding with its calendar icon 12 px from the edge. */
.hire-page select, .hire-modal-wrap select, select.hire-select {
  -webkit-appearance: none; appearance: none; padding-right: 38px;
  background-color: #fff; background-image: url(/assets/hire-chevron.svg); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 12px;
  text-overflow: ellipsis;
}
.hire-page input[type=date], .hire-modal-wrap input[type=date] { padding-left: var(--hire-s3); padding-right: var(--hire-s3); }
.hire-page input[type=date]::-webkit-calendar-picker-indicator, .hire-modal-wrap input[type=date]::-webkit-calendar-picker-indicator { margin: 0 0 0 var(--hire-s2); padding: 0; }
.hire-page input[type=date]::-webkit-datetime-edit, .hire-modal-wrap input[type=date]::-webkit-datetime-edit { padding: 0; }
.hire-table select { padding-right: 34px; background-position: right 12px center; }

.hire-grid-table td.hire-status { white-space: nowrap; }

/* Google Ads: totals, recommendations, change log */
.ads-page { max-width: 64rem; }
.ads-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin: .75rem 0; }
@media (max-width: 760px) { .ads-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ads-kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ads-kpi-k { font-size: .8rem; color: var(--muted); }
.ads-kpi-v { font-size: 1.4rem; font-weight: 700; color: var(--dark); font-variant-numeric: tabular-nums; }
.ads-kpi-main { border-color: var(--primary); background: var(--soft); }
.ads-kpi-none { font-size: 1rem; line-height: 2.1rem; color: var(--muted); }
.ads-wrap { width: 100%; }
.ads-wrap .table { width: 100%; }
.range-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin: .75rem 0 0; }
.range-presets { display: flex; align-items: flex-start; gap: .35rem; flex-wrap: wrap; }
.range-chip { display: inline-block; font-size: .85rem; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: #fff; text-decoration: none; cursor: pointer; white-space: nowrap; }
.range-chip:hover { border-color: var(--light); background: var(--soft); color: var(--dark); }
.range-chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.range-chip.is-on .hire-over { color: #ffd6d6; font-weight: 600; }
.range-custom > summary { list-style: none; }
.range-custom > summary::-webkit-details-marker { display: none; }
.range-custom[open] { flex-basis: 100%; }
.range-form { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; flex-wrap: wrap; }
.range-form input { width: 8.5rem; }
.range-days { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
details.more { margin: .75rem 0; }
details.more > summary { cursor: pointer; color: var(--primary); font-size: .9rem; }
details.more[open] > summary { margin-bottom: .5rem; }
.recs { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.recs-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.recs-head h2 { margin: 0; }
.recs-meta { display: flex; align-items: center; gap: .75rem; }
.recs-summary { margin: .5rem 0 1rem; }
.recs-sub { margin: 1.5rem 0 .5rem; font-size: 1rem; }
.rec-bullets { margin: .2rem 0 .5rem; padding-left: 1.2rem; }
.rec-bullets li { margin: .15rem 0; }
.rec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.rec { display: flex; align-items: flex-start; gap: .75rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .75rem; }
.rec-more { flex: 1; min-width: 0; }
.rec-more > summary { cursor: pointer; display: flex; align-items: baseline; gap: .6rem; list-style: none; padding: .15rem 0; }
.rec-more > summary::-webkit-details-marker { display: none; }
.rec-more > summary::before { content: '▸'; color: var(--muted); width: .8rem; flex: none; }
.rec-more[open] > summary::before { content: '▾'; }
.rec-n { font-weight: 700; color: var(--muted); flex: none; }
.rec-title { font-weight: 600; flex: 1; min-width: 0; }
.rec-tag { flex: none; width: 10rem; text-align: center; font-size: .72rem; font-weight: 600; color: var(--primary); border: 1px solid var(--light); border-radius: 3px; padding: 0 .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .rec-tag { display: none; } }
.rec-body { padding: .25rem 0 .25rem 1.4rem; }
.rec-body h4 { margin: .5rem 0 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.rec-actions { display: flex; gap: .4rem; align-items: flex-start; flex: none; }
.rec-actions .btn { min-width: 2.2rem; text-align: center; }
.rec-dismiss > summary { list-style: none; }
.rec-dismiss > summary::-webkit-details-marker { display: none; }
.rec-dismiss[open] { flex-basis: 100%; }
.rec-dismiss-form { display: flex; gap: .4rem; margin-top: .4rem; }
.rec-dismiss-form input { min-width: 14rem; }
.rec-done-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.rec-done-list li { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.inline-form { display: inline; margin: 0; }

/* Provider screen: filter chips use the app's range-chip look; this only lays them out (Mike 12/01/2026). */
.hire-chips { display: flex; flex-wrap: wrap; gap: var(--hire-s2); align-items: center; margin: 0 0 var(--hire-s4); }
.hire-viewbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hire-s3); margin: 0 0 var(--hire-s4); border-bottom: 0; }
.hire-viewbar .hire-chips { margin: 0; }
.hire-card-facts { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: var(--hire-s3) var(--hire-s5); margin: 0 0 var(--hire-s4); padding: var(--hire-s4) var(--hire-card-pad); background: #fff; border: 1px solid var(--hire-card-line); border-radius: 8px; box-shadow: var(--hire-card-shadow); }
.hire-card-facts > div { min-width: 0; }
.hire-card-facts dd { margin: 2px 0 0; }

/* Pipeline: the documents a stage is about, shown under its checklist heading (12/01/2026). */
.hire-stage-docs { display: flex; flex-wrap: wrap; gap: var(--hire-s2); align-items: center; margin: 0 0 var(--hire-s4); }
