/* ═══════════════════════════════════════════════════════════════════════
   hr-toolbox.css — VisionOne HR Toolbox
   Consumes /assets/css/visionone-brand.css tokens (--vo-*).
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --hrt-max: 1180px;
  --hrt-radius: 16px;
  --hrt-radius-sm: 10px;
  --hrt-shadow: 0 1px 3px rgba(31,42,36,.08), 0 8px 24px rgba(31,42,36,.06);
  --hrt-shadow-lg: 0 12px 40px rgba(31,42,36,.14);
}

* { box-sizing: border-box; }

/* Hide platform-injected floating action buttons (ask-ai / improve / notes / bookmark / coach)
   — the HR Toolbox has its own search, coach, and save flows, so these just clutter. */
html body [class*="wt-"][class*="fab"],
html body .wt-ask-ai-fab, html body .wt-improve-fab, html body .wt-notes-fab,
html body .wt-bookmark-fab, html body .wt-bookmark-add-fab, html body .wt-edit-fab-panel,
html body .wt-coach-fab, html body .wt-fab-stack, html body .wt-fabs { display: none !important; }

.hrt-body {
  margin: 0;
  background: var(--vo-canvas, #f4f7f3);
  color: var(--vo-ink, #1f2a24);
  font-family: var(--vo-font-body, 'Lato', system-ui, sans-serif);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.hrt-app { max-width: var(--hrt-max); margin: 0 auto; padding: 28px 22px 96px; }
.hrt-loading { text-align: center; color: var(--vo-ink-soft); padding: 80px 0; }

h1, h2, h3, h4 { font-family: var(--vo-font-heading, 'Sanchez', Georgia, serif); font-weight: 400; line-height: 1.2; margin: 0; }

/* ── Breadcrumb ───────────────────────────────────────────────────────── */
.hrt-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--vo-ink-soft); margin-bottom: 18px; flex-wrap: wrap; }
.hrt-crumbs a { color: var(--vo-blue-dark); text-decoration: none; cursor: pointer; }
.hrt-crumbs a:hover { text-decoration: underline; }
.hrt-crumbs .sep { opacity: .5; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hrt-hero { background: linear-gradient(135deg, #1f3a5f 0%, #0081B7 100%); color: #fff; border-radius: var(--hrt-radius); padding: 34px 34px 30px; margin-bottom: 26px; position: relative; overflow: hidden; }
.hrt-hero::after { content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.06); }
.hrt-hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; opacity: .85; margin-bottom: 10px; }
.hrt-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.hrt-hero p { max-width: 640px; margin: 0; opacity: .92; font-size: 16px; }
.hrt-hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.hrt-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 999px; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.hrt-btn:active { transform: translateY(1px); }
.hrt-btn-primary { background: var(--vo-green, #649954); color: #fff; }
.hrt-btn-primary:hover { background: var(--vo-green-dark, #4d7a40); }
.hrt-btn-light { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.hrt-btn-light:hover { background: rgba(255,255,255,.26); }
.hrt-btn-ghost { background: #fff; color: var(--vo-ink); box-shadow: inset 0 0 0 1px var(--vo-border, #dfe5df); }
.hrt-btn-ghost:hover { background: var(--vo-canvas); }
.hrt-btn[disabled] { opacity: .55; cursor: default; }

/* ── Alignment brief (per tool + per section) ─────────────────────────── */
.hrt-align { margin: 0 0 16px; }
.hrt-align.loading { font-size: 13px; color: var(--vo-ink-soft); display: flex; align-items: center; gap: 8px; }
.hrt-align .hrt-align-go { font-size: 13px; }
.hrt-align .hrt-align-sub { font-size: 12px; color: var(--vo-ink-soft); margin-top: 5px; }
.hrt-align .hrt-align-err { font-size: 12px; color: #a0261c; margin-top: 5px; }
.hrt-align.filled { background: linear-gradient(120deg,#eef3f7,#e2f0f6); border-left: 4px solid var(--vo-blue); border-radius: var(--hrt-radius-sm); padding: 14px 16px; }
.hrt-align .al-h { font-weight: 800; font-size: 13px; color: var(--vo-blue-dark); margin-bottom: 6px; }
.hrt-align .al-approach { margin: 0; font-size: 13.5px; line-height: 1.55; }
.hrt-align .al-next { margin: 8px 0 0; font-size: 13px; color: var(--vo-ink-soft); }
.hrt-align .al-next b { color: var(--vo-green-dark); }
.hrt-btn-link { border: 0; background: none; color: var(--vo-blue-dark); font-size: 12px; cursor: pointer; padding: 4px 0 0; text-decoration: underline; font-family: inherit; }
.hrt-spinner.sm { width: 16px; height: 16px; border-width: 2px; margin: 0; }

/* ── My Documents toolbar ─────────────────────────────────────────────── */
.hrt-docs-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13px; color: var(--vo-ink-soft); }
.hrt-docs-bar .spacer { flex: 1; }

/* ── Templates & Downloads ────────────────────────────────────────────── */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 14px; }
.tpl-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 18px; border-left: 4px solid var(--vo-green); }
.tpl-card h4 { font-size: 15.5px; margin-bottom: 5px; }
.tpl-card p { font-size: 13px; color: var(--vo-ink-soft); margin: 0 0 14px; flex: 1; }
.tpl-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Data Room ────────────────────────────────────────────────────────── */
.dr-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--vo-green-dark); background: var(--vo-green-tint); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.dr-empty { font-size: 13px; color: var(--vo-ink-soft); margin: 4px 0; }
.dr-tpl, .dr-file { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--vo-border); }
.dr-tpl:first-child, .dr-file:first-child { border-top: 0; }
.dr-tpl b, .df-meta b { font-size: 14px; } .dr-tpl span, .df-meta span { display: block; font-size: 12px; color: var(--vo-ink-soft); }
.dr-upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.dr-upload select { border: 1.5px solid var(--vo-border); border-radius: var(--hrt-radius-sm); padding: 9px 12px; font-family: inherit; font-size: 13px; }

/* ── My Profile editor ────────────────────────────────────────────────── */
.hrt-profile-editor { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 22px 24px; margin-bottom: 20px; }
.hrt-profile-editor h3 { font-size: 17px; margin-bottom: 14px; }
.pe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
@media (max-width: 560px) { .pe-grid { grid-template-columns: 1fr; } }

/* ── VisionOne platform app cards ─────────────────────────────────────── */
.hrt-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 14px; }
.hrt-app-card { display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: var(--vo-ink); background: #fff; border: 1px solid var(--vo-border); border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 18px; transition: transform .14s, box-shadow .14s; }
a.hrt-app-card:hover { transform: translateY(-3px); box-shadow: var(--hrt-shadow-lg); }
.hrt-app-card .pa-icon { font-size: 24px; }
.hrt-app-card .pa-name { font-weight: 900; font-size: 15px; font-family: var(--vo-font-heading); }
.hrt-app-card .pa-desc { font-size: 12.5px; color: var(--vo-ink-soft); flex: 1; }
.hrt-app-card .pa-cta { font-size: 12px; font-weight: 700; color: var(--vo-blue-dark); margin-top: 4px; }
.hrt-app-card.is-soon { opacity: .72; }
.hrt-app-card.is-soon .pa-cta { color: var(--vo-ink-soft); }

/* ── Global tool search ───────────────────────────────────────────────── */
.hrt-search { position: relative; margin-bottom: 22px; }
.hrt-search input { width: 100%; border: 2px solid var(--vo-border); border-radius: 999px; padding: 13px 20px; font-family: inherit; font-size: 15px; background: #fff; }
.hrt-search input:focus { outline: none; border-color: var(--vo-blue); box-shadow: 0 0 0 3px var(--vo-blue-tint); }
.hrt-search-results { position: absolute; z-index: 30; left: 0; right: 0; margin-top: 6px; background: #fff; border: 1px solid var(--vo-border); border-radius: 14px; box-shadow: var(--hrt-shadow-lg); overflow: hidden; max-height: 60vh; overflow-y: auto; }
.hrt-search-hit { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: #fff; padding: 12px 18px; cursor: pointer; border-bottom: 1px solid var(--vo-border); font-family: inherit; }
.hrt-search-hit:hover { background: var(--vo-canvas); }
.hrt-search-hit .sh-name { font-weight: 700; font-size: 14px; }
.hrt-search-hit .sh-stage { font-size: 12px; font-weight: 700; white-space: nowrap; }
.hrt-search-empty { padding: 14px 18px; color: var(--vo-ink-soft); font-size: 14px; }

/* ── Home nav cards (Alignment / Coach / Strategic HR) ────────────────── */
.hrt-navgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; margin-bottom: 26px; }
.hrt-nav-card { text-align: left; background: #fff; border: 0; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; border-left: 5px solid var(--nc, var(--vo-green)); transition: transform .14s, box-shadow .14s; }
.hrt-nav-card:hover { transform: translateY(-3px); box-shadow: var(--hrt-shadow-lg); }
.hrt-nav-card .nc-icon { font-size: 26px; }
.hrt-nav-card .nc-title { font-weight: 900; font-size: 16px; color: var(--nc); font-family: var(--vo-font-heading); }
.hrt-nav-card .nc-desc { font-size: 13px; color: var(--vo-ink-soft); }

/* ── OA baseline: value-proposition tuner ─────────────────────────────── */
.hrt-vp { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 22px 24px; margin-bottom: 28px; }
.hrt-vp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.hrt-vp-head h3 { font-size: 18px; }
.hrt-vp-head .why { font-size: 13px; color: var(--vo-ink-soft); max-width: 520px; }
.hrt-vp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 12px; margin-top: 16px; }
.hrt-vp-card { display: flex; flex-direction: column; text-align: left; border: 2px solid var(--vo-border); background: var(--vo-surface); border-radius: var(--hrt-radius-sm); padding: 14px; transition: border-color .15s, box-shadow .15s; }
.hrt-vp-card .vp-name { font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hrt-vp-card .vp-title { color: currentColor; }
.hrt-vp-card .vp-dot { width: 12px; height: 12px; border-radius: 50%; background: currentColor; flex: none; }
.hrt-vp-card .vp-focus { display: block; font-size: 12px; color: var(--vo-ink-soft); margin: 6px 0 8px; }
.hrt-vp-card .vp-meta { display: block; font-size: 11.5px; color: var(--vo-ink-soft); line-height: 1.5; }

/* ── Section title ────────────────────────────────────────────────────── */
.hrt-section-title { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 16px; }
.hrt-section-title h2 { font-size: 22px; }
.hrt-section-title .sub { font-size: 14px; color: var(--vo-ink-soft); }

/* ── The 6-stage wheel grid ───────────────────────────────────────────── */
.hrt-stages { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.hrt-stage-card { position: relative; background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 22px; cursor: pointer; overflow: hidden; border-top: 5px solid var(--stage-color, var(--vo-green)); transition: transform .14s ease, box-shadow .14s ease; }
.hrt-stage-card:hover { transform: translateY(-3px); box-shadow: var(--hrt-shadow-lg); }
.hrt-stage-card .stage-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--stage-tint, #eef); margin-bottom: 14px; }
.hrt-stage-card h3 { font-size: 19px; margin-bottom: 6px; color: var(--stage-color); }
.hrt-stage-card .stage-tagline { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--vo-ink-soft); font-weight: 700; margin-bottom: 8px; }
.hrt-stage-card p { font-size: 14px; color: var(--vo-ink-soft); margin: 0 0 12px; }
.hrt-stage-card .stage-count { font-size: 13px; font-weight: 700; color: var(--stage-color); }

/* Foundation banner (Administration hub) */
.hrt-foundation { margin-top: 18px; background: linear-gradient(120deg,#eef3ea,#e7efe2); border-radius: var(--hrt-radius); padding: 20px 24px; display: flex; align-items: center; gap: 18px; cursor: pointer; border: 1px solid var(--vo-border); transition: transform .14s, box-shadow .14s; }
.hrt-foundation:hover { transform: translateY(-2px); box-shadow: var(--hrt-shadow); }
.hrt-foundation .f-icon { font-size: 30px; }
.hrt-foundation h3 { font-size: 18px; color: var(--vo-green-dark); }
.hrt-foundation p { margin: 4px 0 0; font-size: 13.5px; color: var(--vo-ink-soft); }

/* ── Tools grid ───────────────────────────────────────────────────────── */
.hrt-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.hrt-tool-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 20px; border-left: 4px solid var(--stage-color, var(--vo-green)); }
.hrt-tool-card .tool-kind { align-self: flex-start; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--stage-tint,#eef); color: var(--stage-color); margin-bottom: 10px; }
.hrt-tool-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.hrt-tool-card p { font-size: 13.5px; color: var(--vo-ink-soft); margin: 0 0 16px; flex: 1; }
.hrt-tool-card .hrt-btn { align-self: flex-start; }

/* ── Assessment ───────────────────────────────────────────────────────── */
.hrt-assess-intro { background:#fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 24px; margin-bottom: 20px; }
.hrt-assess-cat { background:#fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 20px 22px; margin-bottom: 16px; }
.hrt-assess-cat > h3 { font-size: 18px; color: var(--vo-blue-dark); }
.hrt-assess-cat > .cat-sub { font-size: 13px; color: var(--vo-ink-soft); margin: 2px 0 14px; }
.hrt-assess-item { padding: 12px 0; border-top: 1px solid var(--vo-border); }
.hrt-assess-item:first-of-type { border-top: 0; }
.hrt-assess-item .q { font-size: 14.5px; margin-bottom: 10px; }
.hrt-scale { display: flex; gap: 6px; flex-wrap: wrap; }
.hrt-scale label { flex: 1 1 88px; text-align: center; border: 1.5px solid var(--vo-border); border-radius: var(--hrt-radius-sm); padding: 8px 6px; cursor: pointer; font-size: 12px; transition: all .12s; }
.hrt-scale label:hover { border-color: var(--vo-blue); }
.hrt-scale input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.hrt-scale label:focus-within { outline: 2px solid var(--vo-blue); outline-offset: 2px; }
.hrt-fieldai-msg { color: #a0261c; font-size: 12px; margin-top: 5px; }
.hrt-scale label .sv { display:block; font-weight: 900; font-size: 16px; }
.hrt-scale input:checked + .lbl,
.hrt-scale label.on { background: var(--vo-blue); border-color: var(--vo-blue); color:#fff; }
.hrt-scale label.on .hint { color: rgba(255,255,255,.85); }
.hrt-scale .hint { display:block; font-size: 10.5px; color: var(--vo-ink-soft); margin-top: 2px; }

.hrt-assess-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--vo-border); box-shadow: 0 -6px 20px rgba(31,42,36,.08); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 0 0 var(--hrt-radius) var(--hrt-radius); margin: 0 -22px -20px; flex-wrap: wrap; }
.hrt-assess-bar .prog { font-size: 13px; color: var(--vo-ink-soft); }

/* Results */
.hrt-result-hero { color:#fff; border-radius: var(--hrt-radius); padding: 28px; margin-bottom: 20px; background: linear-gradient(135deg, var(--vo-green-dark), var(--vo-green)); }
.hrt-result-hero .lvl { font-size: 13px; text-transform: uppercase; letter-spacing:.1em; opacity:.9; }
.hrt-result-hero h2 { color:#fff; font-size: 30px; margin: 6px 0; }
.hrt-result-hero .score { font-size: 15px; opacity:.92; }
.hrt-result-grid { display:grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 14px; }
.hrt-result-cat { background:#fff; border-radius: var(--hrt-radius-sm); box-shadow: var(--hrt-shadow); padding: 16px 18px; border-left: 4px solid var(--vo-blue); }
.hrt-result-cat h4 { font-size: 15px; margin-bottom: 6px; }
.hrt-result-cat .meter { height: 8px; border-radius: 999px; background: var(--vo-border); overflow: hidden; margin: 8px 0; }
.hrt-result-cat .meter i { display:block; height:100%; border-radius:999px; background: var(--vo-blue); }
.hrt-result-cat .rec { font-size: 12.5px; color: var(--vo-ink-soft); }
.hrt-result-cat .rec a { color: var(--vo-blue-dark); font-weight: 700; cursor:pointer; text-decoration:none; }

/* ── Drawer (AI generator + results) ──────────────────────────────────── */
.hrt-drawer-scrim { position: fixed; inset: 0; background: rgba(20,28,24,.42); z-index: 4000; }
.hrt-drawer { position: fixed; top: 0; right: 0; height: 100vh; width: min(560px, 96vw); background: #fff; z-index: 4001; box-shadow: -8px 0 40px rgba(0,0,0,.2); display: flex; flex-direction: column; }
/* The [hidden] attribute MUST win over the display:flex above, or a closed
   drawer paints as an empty white panel. !important guarantees it. */
.hrt-drawer[hidden], .hrt-drawer-scrim[hidden] { display: none !important; }
.hrt-drawer-head { padding: 20px 24px; border-bottom: 1px solid var(--vo-border); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hrt-drawer-head h3 { font-size: 19px; }
.hrt-drawer-head .kicker { font-size: 12px; text-transform: uppercase; letter-spacing:.08em; color: var(--vo-ink-soft); font-weight:700; }
.hrt-drawer-close { border:0; background: var(--vo-canvas); width: 34px; height: 34px; border-radius: 50%; cursor:pointer; font-size: 18px; line-height:1; flex:none; }
.hrt-drawer-body { padding: 22px 24px; overflow-y: auto; flex: 1; }
.hrt-drawer-foot { padding: 16px 24px; border-top: 1px solid var(--vo-border); display: flex; gap: 10px; justify-content: flex-end; }

.hrt-more { margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--vo-border); }
.hrt-more-h { font-size: 12.5px; font-weight: 700; color: var(--vo-green-dark); margin-bottom: 12px; }
.hrt-more-h .hrt-btn-link { font-weight: 700; }
.hrt-deeper-loading { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--vo-ink-soft); padding: 4px 0 8px; }
.hrt-field { margin-bottom: 16px; }
.hrt-field label { display:block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.hrt-field input, .hrt-field textarea, .hrt-field select { width: 100%; border: 1.5px solid var(--vo-border); border-radius: var(--hrt-radius-sm); padding: 10px 12px; font-family: inherit; font-size: 14px; background: var(--vo-surface); color: var(--vo-ink); }
.hrt-field textarea { min-height: 96px; resize: vertical; }
.hrt-field input:focus, .hrt-field textarea:focus, .hrt-field select:focus { outline: none; border-color: var(--vo-blue); box-shadow: 0 0 0 3px var(--vo-blue-tint); }

.hrt-tunedby { font-size: 12.5px; background: var(--vo-blue-tint); border-radius: var(--hrt-radius-sm); padding: 10px 12px; margin-bottom: 18px; color: var(--vo-blue-dark); }
.hrt-tunedby b { font-weight: 900; }
.hrt-tmnote { font-size: 12px; background: #eef3ea; border-left: 3px solid var(--vo-green); border-radius: 8px; padding: 9px 12px; margin-bottom: 16px; color: var(--vo-ink-soft); line-height: 1.5; }
.hrt-tmnote b { color: var(--vo-green-dark); }

/* AI result */
.hrt-generating { text-align:center; padding: 40px 0; color: var(--vo-ink-soft); }
.hrt-prog { padding: 22px 4px; }
.hrt-prog-track { height: 10px; border-radius: 999px; background: var(--vo-green-tint); overflow: hidden; }
.hrt-prog-track i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--vo-green), var(--vo-blue)); transition: width .5s ease; }
.hrt-prog-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--vo-ink-soft); }
.hrt-prog-time { font-variant-numeric: tabular-nums; opacity: .8; }
.hrt-spinner { width: 34px; height: 34px; border: 3px solid var(--vo-border); border-top-color: var(--vo-green); border-radius: 50%; margin: 0 auto 14px; animation: hrt-spin .8s linear infinite; }
@keyframes hrt-spin { to { transform: rotate(360deg); } }
.md-table-wrap { overflow-x: auto; margin: 12px 0; }
.md-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.md-table th { background: var(--vo-green); color: #fff; text-align: left; padding: 8px 10px; border: 1px solid var(--vo-green-dark); }
.md-table td { padding: 7px 10px; border: 1px solid var(--vo-border); vertical-align: top; }
.md-table tbody tr:nth-child(even) { background: var(--vo-canvas); }
.hrt-output .md-table-wrap, .coach-bubble .md-table-wrap { margin: 10px 0; }
.hrt-output { white-space: normal; font-size: 14px; line-height: 1.6; background: var(--vo-canvas); border-radius: var(--hrt-radius-sm); padding: 18px; border: 1px solid var(--vo-border); }
.hrt-output h1,.hrt-output h2,.hrt-output h3 { font-family: var(--vo-font-heading); margin: 14px 0 6px; }
.hrt-error { background: #fdecea; border: 1px solid #f5c6c0; color: #a0261c; border-radius: var(--hrt-radius-sm); padding: 14px; font-size: 13.5px; }

/* Checklist / calendar in drawer */
.hrt-check-group { margin-bottom: 18px; }
.hrt-check-group h4 { font-size: 14px; color: var(--vo-blue-dark); margin-bottom: 8px; }
.hrt-check-item { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 14px; }
.hrt-check-item input { margin-top: 3px; }
.hrt-check-item.done label { text-decoration: line-through; color: var(--vo-ink-soft); }
.hrt-check-item .ci-box { font-size: 16px; color: var(--vo-green); flex: none; margin-top: 1px; line-height: 1.3; }
.hrt-check-item .ci-lbl { flex: 1; }
.hrt-check-item.rich { align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--vo-border); }
.hrt-check-item.rich label { flex: 1; text-decoration: none; }
.hrt-check-item.rich.done .ci-top { text-decoration: line-through; color: var(--vo-ink-soft); }
.ci-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 13.5px; }
.ci-detail { font-size: 12.5px; color: var(--vo-ink-soft); font-weight: 400; margin-top: 3px; line-height: 1.45; }
.ci-pills { display: inline-flex; gap: 4px; flex: none; }
.ci-pill { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 2px 6px; border-radius: 999px; background: var(--vo-canvas); color: var(--vo-ink-soft); border: 1px solid var(--vo-border); white-space: nowrap; }
.ci-pill.pri-1, .ci-pill.pri-Critical { background: #fdecea; color: #a0261c; border-color: #f5c6c0; }
.ci-pill.who { background: var(--vo-blue-tint); color: var(--vo-blue-dark); border-color: transparent; }
.hrt-cal-row { display:grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--vo-border); font-size: 13.5px; align-items:center; }
.hrt-cal-row .pill { font-size: 11px; background: var(--vo-blue-tint); color: var(--vo-blue-dark); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

@media (max-width: 640px) {
  .hrt-app { padding: 20px 14px 80px; }
  .hrt-hero { padding: 26px 22px; }
}

/* ── Value-prop primary/secondary picker ─────────────────────────────── */
.hrt-vp-card.is-p { border-color: currentColor; box-shadow: var(--hrt-shadow); }
.hrt-vp-card.is-s { border-color: currentColor; border-style: dashed; }
.vp-badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.vp-badge.p { background: var(--vp); color: #fff; }
.vp-badge.s { background: #fff; color: var(--vp); box-shadow: inset 0 0 0 1.5px var(--vp); }
.vp-picks { display: flex; gap: 6px; margin-top: auto; padding-top: 12px; }
.vp-pick { flex: 1; font-family: inherit; font-size: 12px; font-weight: 700; padding: 7px 8px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--vo-border); background: #fff; color: var(--vo-ink-soft); transition: all .12s; }
.vp-pick:hover { border-color: var(--vp); color: var(--vp); }
.vp-pick.on { background: var(--vp) !important; border-color: var(--vp) !important; color: #fff !important; }
.hrt-vp-head .why a { color: var(--vo-blue-dark); cursor: pointer; font-weight: 700; }

/* ── Set your alignment (override panel) ──────────────────────────────── */
.hrt-align-set { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 20px 22px; margin-bottom: 22px; }
.hrt-align-set .as-label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--vo-ink-soft); margin-bottom: 8px; }
.hrt-align-set .hrt-vp { padding: 0; box-shadow: none; margin: 0; }
.mat-override { display: flex; flex-wrap: wrap; gap: 8px; }
.mat-ov-btn { font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--vo-border); background: #fff; color: var(--vo-ink); cursor: pointer; transition: all .12s; }
.mat-ov-btn:hover { border-color: var(--vo-blue); }
.mat-ov-btn.on { background: var(--vo-blue); border-color: var(--vo-blue); color: #fff; }
.hrt-align-set .as-hint { font-size: 12.5px; color: var(--vo-ink-soft); margin-top: 8px; }
.hrt-align-set .as-hint a { color: var(--vo-blue-dark); cursor: pointer; font-weight: 700; }

/* ── Organizational Alignment cards + matrix ──────────────────────────── */
.hrt-oa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 14px; }
.hrt-oa-card { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 18px; border-top: 5px solid var(--nc); }
.hrt-oa-card .oa-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hrt-oa-card .oa-h h4 { font-size: 17px; }
.hrt-oa-card .vp-dot { width: 12px; height: 12px; border-radius: 50%; background: currentColor; flex: none; }
.hrt-oa-card .oa-focus { font-size: 12px; font-weight: 700; color: var(--vo-ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.hrt-oa-card .oa-row { font-size: 13px; margin-bottom: 8px; line-height: 1.45; }
.hrt-oa-card .oa-row b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--nc); margin-bottom: 1px; }
.hrt-oa-card .oa-row.guard b { color: #a0261c; }

.hrt-matrix-wrap { overflow-x: auto; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); background: #fff; }
.hrt-matrix { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 13px; }
.hrt-matrix th, .hrt-matrix td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--vo-border); vertical-align: top; }
.hrt-matrix thead th { font-family: var(--vo-font-heading); font-size: 14px; position: sticky; top: 0; background: #fff; border-bottom: 2px solid var(--vo-border); }
.hrt-matrix tbody th { font-weight: 800; color: var(--vo-ink); background: var(--vo-canvas); white-space: nowrap; }
.hrt-matrix tbody tr:hover td { background: #fafcf9; }

/* ── Aligned HR practice areas ────────────────────────────────────────── */
.oa-area-tabs, .oa-layer-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.oa-area-tab, .oa-layer-tab { font-family: inherit; font-size: 13.5px; font-weight: 700; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--vo-border); background: #fff; color: var(--vo-ink-soft); cursor: pointer; transition: all .12s; }
.oa-area-tab:hover, .oa-layer-tab:hover { border-color: var(--vo-blue); color: var(--vo-blue-dark); }
.oa-area-tab.on { background: var(--vo-blue); border-color: var(--vo-blue); color: #fff; }
.oa-layer-tab { font-size: 12.5px; padding: 6px 13px; }
.oa-layer-tab.on { background: var(--vo-ink); border-color: var(--vo-ink); color: #fff; }
.oa-tier-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.oa-tier-tab { font-family: inherit; font-size: 13px; font-weight: 800; padding: 7px 16px; border-radius: 999px; border: 0; background: var(--vo-canvas); color: var(--vo-ink-soft); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--vo-border); }
.oa-tier-tab.on { background: var(--vo-ink); color: #fff; box-shadow: none; }
.oa-focus-areas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.oa-focus-areas .ofa-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--vo-ink-soft); margin-right: 4px; }
.ofa-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--vo-blue-tint); color: var(--vo-blue-dark); }
.oa-area-panel { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 18px 20px; }
.oa-area-intro { font-size: 14px; color: var(--vo-ink-soft); margin: 0 0 14px; line-height: 1.55; }
.oa-area-matrix td ul { margin: 0; padding-left: 16px; } .oa-area-matrix td li { margin-bottom: 4px; }
.oa-area-matrix tbody th { font-family: var(--vo-font-heading); font-weight: 400; }
.oa-vp-primary, tbody th.oa-vp-primary { box-shadow: inset 4px 0 0 currentColor; }
.oa-you { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--vo-green); color: #fff; padding: 1px 6px; border-radius: 999px; vertical-align: middle; }
.oa-you.s { background: var(--vo-blue); }

/* ── Layer AI-draft fallback ──────────────────────────────────────────── */
.oa-layer-draft-wrap { background: var(--vo-canvas); border: 1px dashed var(--vo-border); border-radius: var(--hrt-radius-sm); padding: 20px; text-align: center; }
.oa-draft-note { font-size: 12.5px; color: var(--vo-ink-soft); margin: 0 0 12px; }
.oa-draft-note b { color: var(--vo-ink); }

/* ── VP × Maturity matrix (inside an area panel) ──────────────────────── */
.oa-maturity-head { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--vo-border); }
.oa-maturity-head h4 { font-size: 15px; margin-bottom: 4px; }
.oa-maturity-head span { font-size: 12.5px; color: var(--vo-ink-soft); }
.oa-mat-matrix { margin-top: 12px; }
.oa-mat-matrix td { font-size: 12px; min-width: 150px; }
.oa-mat-matrix thead th { font-size: 12px; }
.oa-mat-matrix .mat-empty { text-align: center; background: var(--vo-canvas); }
.oa-mat-matrix .mat-draft { font-size: 12.5px; }

/* ── Maturity ladder ──────────────────────────────────────────────────── */
.mat-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 10px; }
.mat-level { background: #fff; border-radius: var(--hrt-radius-sm); box-shadow: var(--hrt-shadow); padding: 14px; border-top: 4px solid var(--vo-gray); position: relative; }
.mat-level:nth-child(1) { border-top-color: #C73127; } .mat-level:nth-child(2) { border-top-color: #E8822E; }
.mat-level:nth-child(3) { border-top-color: #EBD417; } .mat-level:nth-child(4) { border-top-color: #649954; }
.mat-level:nth-child(5) { border-top-color: #74519A; }
.mat-level.mine { outline: 3px solid var(--vo-green); outline-offset: 1px; }
.mat-level .ml-n { font-family: var(--vo-font-heading); font-size: 22px; font-weight: 700; }
.mat-level .ml-name { font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.mat-level .ml-sum { font-size: 11.5px; color: var(--vo-ink-soft); line-height: 1.45; }
.mat-level .ml-you { margin-top: 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--vo-green-dark); }

/* ── VP Finder ────────────────────────────────────────────────────────── */
.hrt-finder { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 22px 24px; margin-top: 24px; }
.finder-q { padding: 14px 0; border-top: 1px solid var(--vo-border); }
.finder-q:first-of-type { border-top: 0; }
.finder-q .fq { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.finder-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 8px; }
.finder-opt { text-align: left; font-family: inherit; font-size: 13.5px; padding: 10px 12px; border: 1.5px solid var(--vo-border); border-radius: var(--hrt-radius-sm); background: #fff; cursor: pointer; transition: all .12s; }
.finder-opt:hover { border-color: var(--vo-blue); }
.finder-opt.on { background: var(--vo-blue); border-color: var(--vo-blue); color: #fff; }
.finder-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--vo-border); }
.finder-foot .prog { font-size: 13px; color: var(--vo-ink-soft); }
.finder-group { margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--vo-border); }
.finder-group h3 { font-size: 16px; margin-bottom: 2px; }
.finder-gsub { font-size: 12.5px; color: var(--vo-ink-soft); margin: 0 0 10px; }
.finder-aligned { margin-top: 12px; padding: 14px 16px; border-radius: var(--hrt-radius-sm); background: var(--vo-green-tint); border-left: 4px solid var(--vo-green); font-size: 13.5px; line-height: 1.5; }
.finder-misaligned { margin-top: 12px; padding: 14px 16px; border-radius: var(--hrt-radius-sm); background: #fbeee0; border-left: 4px solid #c46a10; font-size: 13.5px; line-height: 1.5; }
.hrt-vp-hint { font-size: 12.5px; color: var(--vo-ink-soft); margin-top: 12px; }
.hrt-vp-hint a { color: var(--vo-blue-dark); cursor: pointer; font-weight: 700; }

/* ── HR AI Coach ──────────────────────────────────────────────────────── */
.hrt-coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 14px; }
.hrt-coach-card { text-align: left; background: #fff; border: 0; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 20px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; border-left: 4px solid var(--vo-green); transition: transform .14s, box-shadow .14s; }
.hrt-coach-card:hover { transform: translateY(-3px); box-shadow: var(--hrt-shadow-lg); }
.hrt-coach-card .cc-icon { font-size: 26px; }
.hrt-coach-card .cc-title { font-weight: 900; font-size: 16px; font-family: var(--vo-font-heading); }
.hrt-coach-card .cc-blurb { font-size: 13px; color: var(--vo-ink-soft); }

.hrt-coach-room { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); display: flex; flex-direction: column; height: calc(100vh - 180px); min-height: 460px; overflow: hidden; }
.coach-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--vo-border); }
.coach-head .cc-icon { font-size: 26px; }
.coach-head h3 { font-size: 17px; }
.coach-head .coach-sub { font-size: 12px; color: var(--vo-ink-soft); }
.coach-thread { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.coach-welcome { color: var(--vo-ink-soft); font-size: 14px; }
.coach-starters { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.coach-starter { text-align: left; font-family: inherit; font-size: 13.5px; padding: 10px 14px; border: 1.5px solid var(--vo-border); border-radius: var(--hrt-radius-sm); background: var(--vo-canvas); cursor: pointer; transition: all .12s; }
.coach-starter:hover { border-color: var(--vo-green); background: #fff; }
.coach-msg { display: flex; }
.coach-msg.user { justify-content: flex-end; }
.coach-bubble { max-width: 82%; padding: 12px 15px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
.coach-msg.user .coach-bubble { background: var(--vo-green); color: #fff; border-bottom-right-radius: 4px; }
.coach-msg.coach .coach-bubble { background: var(--vo-canvas); color: var(--vo-ink); border-bottom-left-radius: 4px; }
.coach-msg.error .coach-bubble { background: #fdecea; color: #a0261c; }
.coach-bubble p { margin: 0 0 8px; } .coach-bubble p:last-child { margin-bottom: 0; }
.coach-bubble ul, .coach-bubble ol { margin: 6px 0; padding-left: 20px; }
.coach-bubble.thinking { display: inline-flex; gap: 4px; }
.coach-bubble.thinking span { width: 7px; height: 7px; border-radius: 50%; background: var(--vo-ink-soft); opacity: .4; animation: hrt-dot 1.2s infinite; }
.coach-bubble.thinking span:nth-child(2) { animation-delay: .2s; } .coach-bubble.thinking span:nth-child(3) { animation-delay: .4s; }
@keyframes hrt-dot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.coach-inputwrap { display: flex; align-items: flex-end; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--vo-border); position: relative; }
.coach-inputwrap textarea { flex: 1; border: 1.5px solid var(--vo-border); border-radius: 12px; padding: 10px 44px 10px 12px; font-family: inherit; font-size: 14px; resize: none; max-height: 140px; }
.coach-inputwrap textarea:focus { outline: none; border-color: var(--vo-green); box-shadow: 0 0 0 3px var(--vo-green-tint); }
.coach-send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--vo-green); color: #fff; font-size: 17px; cursor: pointer; }
.coach-send:hover { background: var(--vo-green-dark); }
.coach-send:disabled { opacity: .5; cursor: default; }
.coach-foot { text-align: center; font-size: 11.5px; color: var(--vo-ink-soft); padding: 0 0 12px; }

/* ── Dictation mic (added to every text field) ────────────────────────── */
.hrt-mic { position: absolute; right: 8px; top: 30px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--vo-border); background: #fff; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; z-index: 2; transition: all .12s; }
.hrt-mic:hover { border-color: var(--vo-blue); }
.hrt-mic.on { background: var(--vo-red); border-color: var(--vo-red); animation: hrt-pulse 1.1s infinite; }
@keyframes hrt-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(199,49,39,.5); } 50% { box-shadow: 0 0 0 6px rgba(199,49,39,0); } }
.hrt-field { position: relative; }
.hrt-field input[data-mic-wired], .hrt-field textarea[data-mic-wired] { padding-right: 44px; }
.hrt-field input[data-ai-wired], .hrt-field textarea[data-ai-wired] { padding-right: 80px; }
.hrt-fieldai { position: absolute; right: 42px; top: 30px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--vo-border); background: #fff; cursor: pointer; font-size: 13px; line-height: 1; padding: 0; z-index: 2; transition: all .12s; }
.hrt-fieldai:hover { border-color: var(--vo-purple); }
.hrt-fieldai.busy { opacity: .7; cursor: default; }
.coach-inputwrap .hrt-mic { top: 50%; transform: translateY(-50%); right: 62px; }
.coach-inputwrap textarea[data-mic-wired] { padding-right: 76px; }

/* ── Utility row (Documents / Expert help / Settings) ─────────────────── */
.hrt-utilrow { display: flex; gap: 10px; flex-wrap: wrap; margin: -12px 0 26px; }
.hrt-util-btn { font-family: inherit; font-size: 13.5px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--vo-border); background: #fff; color: var(--vo-ink); cursor: pointer; transition: all .12s; }
.hrt-util-btn:hover { border-color: var(--vo-green); color: var(--vo-green-dark); }

/* ── Alignment profile banner ─────────────────────────────────────────── */
.hrt-profile { background: linear-gradient(120deg, #eef3ea, #e2f0f6); border: 1px solid var(--vo-border); border-radius: var(--hrt-radius); padding: 18px 22px; margin-bottom: 26px; }
.hrt-profile-head { display: flex; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 12px; }
.hrt-profile-head .pf-icon { font-size: 22px; }
.hrt-profile-cells { display: flex; gap: 12px; flex-wrap: wrap; }
.pf-cell { flex: 1 1 220px; background: #fff; border-radius: var(--hrt-radius-sm); padding: 12px 14px; box-shadow: var(--hrt-shadow); }
.pf-cell .pf-k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--vo-ink-soft); font-weight: 700; }
.pf-cell .pf-v { font-family: var(--vo-font-heading); font-size: 17px; }
.pf-cell a { color: var(--vo-blue-dark); font-weight: 700; cursor: pointer; font-size: 13px; }
.pf-why { font-size: 12.5px; color: var(--vo-ink-soft); margin-top: 12px; line-height: 1.5; }

/* ── About / intro ────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 14px; margin-bottom: 8px; }
.about-card { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 20px; border-top: 4px solid var(--vo-green); }
.about-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--vo-green-dark); }
.about-card p { font-size: 14px; color: var(--vo-ink-soft); margin: 0; }
.about-steps { display: flex; flex-direction: column; gap: 10px; }
.about-step { display: flex; gap: 14px; background: #fff; border-radius: var(--hrt-radius-sm); box-shadow: var(--hrt-shadow); padding: 14px 18px; align-items: flex-start; }
.about-step .as-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--vo-blue); color: #fff; display: grid; place-items: center; font-weight: 900; font-family: var(--vo-font-heading); }
.about-step b { font-size: 15px; } .about-step p { margin: 2px 0 0; font-size: 13.5px; color: var(--vo-ink-soft); }

/* ── My Documents ─────────────────────────────────────────────────────── */
.hrt-empty { text-align: center; background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 48px 28px; }
.hrt-empty .emoji { font-size: 40px; } .hrt-empty h3 { font-size: 19px; margin: 10px 0 6px; } .hrt-empty p { color: var(--vo-ink-soft); max-width: 460px; margin: 0 auto 18px; }
.doc-cat { margin-bottom: 22px; }
.doc-cat > h3 { font-size: 16px; color: var(--vo-blue-dark); margin-bottom: 10px; }
.doc-cat > h3 span { color: var(--vo-ink-soft); font-weight: 400; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border-radius: var(--hrt-radius-sm); box-shadow: var(--hrt-shadow); padding: 12px 16px; margin-bottom: 8px; flex-wrap: wrap; }
.doc-meta b { font-size: 14.5px; } .doc-meta span { display: block; font-size: 12px; color: var(--vo-ink-soft); }
.doc-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.doc-actions .hrt-btn { padding: 7px 12px; font-size: 12.5px; }
.doc-del { color: #a0261c !important; }

/* ── Settings ─────────────────────────────────────────────────────────── */
.set-card { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 20px 22px; margin-bottom: 16px; }
.set-card h3 { font-size: 17px; margin-bottom: 12px; }
.set-radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 14px; cursor: pointer; }
.set-radio span em { color: var(--vo-ink-soft); font-style: italic; }
.set-status { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--vo-canvas); color: var(--vo-ink-soft); margin-bottom: 12px; }
.set-status.on { background: var(--vo-green-tint); color: var(--vo-green-dark); }

/* ── Per-stage resources ──────────────────────────────────────────────── */
.hrt-resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 14px; }
.res-card { background: #fff; border-radius: var(--hrt-radius); box-shadow: var(--hrt-shadow); padding: 18px 20px; }
.res-card h4 { font-size: 15px; margin-bottom: 10px; }
.res-card ul { margin: 0; padding-left: 18px; }
.res-card li { font-size: 13.5px; color: var(--vo-ink-soft); margin-bottom: 7px; line-height: 1.45; }
.res-soon { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--vo-blue-dark); background: var(--vo-blue-tint); padding: 1px 6px; border-radius: 999px; }

/* ── Force visible scrollbars ─────────────────────────────────────────────
   topnav.js injects `html, body, * { scrollbar-width:none!important }` and
   `::-webkit-scrollbar { display:none!important }` at runtime. These rules use
   HIGHER specificity than those so they win regardless of injection order. */
html:root, html body { scrollbar-width: auto !important; -ms-overflow-style: auto !important; }
html body .hrt-drawer-body,
html body .coach-thread,
html body .hrt-matrix-wrap,
html body textarea { scrollbar-width: thin !important; -ms-overflow-style: auto !important; overflow: auto; }
html::-webkit-scrollbar,
html body::-webkit-scrollbar,
html body .hrt-drawer-body::-webkit-scrollbar,
html body .coach-thread::-webkit-scrollbar,
html body .hrt-matrix-wrap::-webkit-scrollbar,
html body textarea::-webkit-scrollbar {
  display: block !important; width: 12px !important; height: 12px !important;
}
html::-webkit-scrollbar-thumb,
html body::-webkit-scrollbar-thumb,
html body .hrt-drawer-body::-webkit-scrollbar-thumb,
html body .coach-thread::-webkit-scrollbar-thumb,
html body .hrt-matrix-wrap::-webkit-scrollbar-thumb,
html body textarea::-webkit-scrollbar-thumb {
  background: #b3c1b8 !important; border-radius: 999px !important;
  border: 3px solid transparent !important; background-clip: padding-box !important;
}
html::-webkit-scrollbar-thumb:hover,
html body::-webkit-scrollbar-thumb:hover,
html body .hrt-drawer-body::-webkit-scrollbar-thumb:hover,
html body .coach-thread::-webkit-scrollbar-thumb:hover { background: #8ba090 !important; }
html::-webkit-scrollbar-track,
html body::-webkit-scrollbar-track,
html body .hrt-drawer-body::-webkit-scrollbar-track,
html body .coach-thread::-webkit-scrollbar-track,
html body .hrt-matrix-wrap::-webkit-scrollbar-track,
html body textarea::-webkit-scrollbar-track { background: transparent !important; }

/* ══════════════════════════════════════════════════════════════════════
   EMPLOYER HIRING SUITE — candidate fit, compensation benchmark, pipeline
   ══════════════════════════════════════════════════════════════════════ */
.hrt-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
@media (max-width: 560px) { .hrt-grid2 { grid-template-columns: 1fr; } }
.hrt-subhead { font-family: var(--vo-font-heading); font-weight: 700; font-size: 14px; color: var(--vo-ink); margin: 16px 0 6px; }
.hrt-subhead span { font-family: var(--vo-font-body); font-weight: 400; font-size: 12.5px; color: var(--vo-ink-soft); }
.soft { color: var(--vo-ink-soft); }
.hrt-tag { display: inline-block; font-size: 11px; font-weight: 700; border: 1px solid; border-radius: 999px; padding: 1px 8px; }
.hrt-mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.hrt-mini-table th { text-align: left; background: var(--vo-green-tint); color: var(--vo-green-dark); border: 1px solid var(--vo-border); padding: 5px 8px; font-weight: 700; }
.hrt-mini-table td { border: 1px solid var(--vo-border); padding: 5px 8px; vertical-align: top; }

/* score ring */
.hrt-ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
.hrt-ring::before { content: ""; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: var(--vo-surface); }
.hrt-ring span { position: relative; font-weight: 800; font-size: 18px; }
.hrt-ring-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.hrt-ring-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--vo-ink-soft); margin-top: 2px; }

/* candidate inputs */
.hrt-cand-in { border: 1px solid var(--vo-border); border-radius: 10px; padding: 10px; margin-bottom: 10px; background: var(--vo-canvas); }
.hrt-cand-in-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hrt-cand-in-h input[type=text] { flex: 1; }
.hrt-cand-in textarea { min-height: 96px; }
.hrt-file-btn { font-size: 12px; color: var(--vo-blue); cursor: pointer; white-space: nowrap; }

/* candidate result cards */
.hrt-cand-card { border: 1px solid var(--vo-border); border-radius: 12px; padding: 14px; margin: 12px 0; background: var(--vo-surface); }
.hrt-cand-top { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.hrt-cand-name { font-family: var(--vo-font-heading); font-weight: 700; font-size: 16px; color: var(--vo-ink); }
.hrt-cand-head { font-size: 13px; color: var(--vo-ink-soft); margin-top: 2px; }
.hrt-rec { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 9px; margin-left: 6px; vertical-align: middle; }
.hrt-cand-sec { margin-top: 10px; }
.hrt-cand-sec h5 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--vo-green-dark); }
.hrt-cand-sec ul, .hrt-cand-sec ol { margin: 0; padding-left: 20px; font-size: 13.5px; }
.hrt-cand-sec li { margin: 2px 0; }
.hrt-cand-sec p { margin: 0; font-size: 13.5px; }
.hrt-cand-obj { margin-top: 10px; font-size: 12px; color: var(--vo-ink-soft); border-top: 1px dashed var(--vo-border); padding-top: 8px; }
.hrt-cand-sum { margin-top: 8px; font-size: 13.5px; font-style: italic; color: var(--vo-ink); }

/* compensation report */
.hrt-numrow { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 12px; }
.hrt-numblock { flex: 1; min-width: 110px; text-align: center; padding: 12px 8px; border: 1px solid var(--vo-border); border-radius: 10px; background: var(--vo-surface); }
.hrt-numblock.hi { background: var(--vo-green-tint); border-color: var(--vo-green); }
.hrt-numblock .v { font-size: 20px; font-weight: 800; color: var(--vo-ink); line-height: 1.1; }
.hrt-numblock .l { font-size: 10px; color: var(--vo-ink-soft); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }
.hrt-cr-head { margin: 12px 0; }
.hrt-cr-range { border: 1px solid var(--vo-green); border-left-width: 4px; border-radius: 10px; padding: 12px 14px; margin: 12px 0; background: var(--vo-canvas); }
.hrt-cr-range h5, .hrt-cr-sec h5 { margin: 0 0 6px; font-size: 13px; color: var(--vo-blue); font-family: var(--vo-font-heading); }
.hrt-cr-kv { font-size: 13.5px; line-height: 1.8; margin: 4px 0; }
.hrt-cr-sec { border: 1px solid var(--vo-border); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.hrt-cr-sec ul { margin: 4px 0; padding-left: 20px; font-size: 13.5px; }
.hrt-conf { font-size: 11px; font-weight: 700; border: 1px solid; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.hrt-cr-bar { display: flex; align-items: center; gap: 8px; margin: 3px 0; font-size: 12px; text-decoration: none; color: inherit; }
.hrt-cr-bar .f { width: 76px; text-align: right; color: var(--vo-ink-soft); }
.hrt-cr-bar .bar { height: 13px; background: var(--vo-green); border-radius: 3px; min-width: 2px; }
.hrt-cr-bar .c { color: var(--vo-ink-soft); }

/* hiring pipeline */
.hrt-pipe-add { display: flex; gap: 8px; margin: 10px 0 14px; }
.hrt-pipe-add input { flex: 1; }
.hrt-pipe-col { margin-bottom: 14px; }
.hrt-pipe-col-h { font-family: var(--vo-font-heading); font-weight: 700; font-size: 13px; color: var(--stage-color, var(--vo-green-dark)); border-bottom: 2px solid var(--stage-color, var(--vo-green)); padding-bottom: 3px; margin-bottom: 8px; }
.hrt-pipe-col-h span { font-weight: 400; color: var(--vo-ink-soft); }
.hrt-pipe-card { border: 1px solid var(--vo-border); border-radius: 10px; padding: 10px; margin-bottom: 8px; background: var(--vo-surface); }
.hrt-pipe-card-h { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.hrt-pipe-card-h b { flex: 1; }
.hrt-pipe-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.hrt-pipe-card-row label { font-size: 12px; color: var(--vo-ink-soft); }
.hrt-pipe-card textarea { min-height: 44px; margin-bottom: 6px; }
.hrt-stars { white-space: nowrap; }
.hrt-star { cursor: pointer; color: var(--vo-border); font-size: 16px; }
.hrt-star.on { color: #e0a92e; }
