/* ============================================================================
   ANALYST HIRING TOOLKIT — styles for /hire pages (everything starts .hk-)
   The NACA theme (naca-wa.css) is loaded first; this adds the toolkit's own
   layout: the tool menu, cards, tables and forms.
   ========================================================================== */

.hk-page { --hk-ink: #111A24; --hk-muted: #47505C; --hk-line: #C5CBD3; --hk-soft: #E6E9ED; --hk-ground: #F2F4F6;
  --hk-blue: #1D4E89; --hk-blue-dark: #123761; --hk-blue-tint: #E8EFF8; --hk-green: #1E6B3A; --hk-green-tint: #E6F2EA;
  --hk-amber: #8A4B00; --hk-amber-tint: #FBF0E0; background: var(--hk-ground); color: var(--hk-ink); }
.hk-main { max-width: 1240px; margin: 0 auto; padding: 24px; box-sizing: border-box; font-size: 15px; line-height: 1.5; }
.hk-main h1 { font-size: 26px; line-height: 1.2; margin: 0 0 6px; }
.hk-main h2 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
.hk-main h3 { font-size: 16px; margin: 0 0 6px; }
.hk-main p { margin: 0 0 8px; }
.hk-muted { color: var(--hk-muted); }
.hk-small { font-size: 13px; }
.hk-quiet { color: var(--hk-muted) !important; }
.hk-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hk-blue); margin-bottom: 4px; }
.hk-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hk-spacer { flex: 1 1 auto; }

/* Buttons */
.hk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 8px;
  border: 1px solid var(--hk-blue); background: #fff; color: var(--hk-blue); font: 600 15px/1.2 inherit; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.hk-btn:hover { background: var(--hk-blue-tint); }
.hk-main a.hk-btn, .hk-main a.hk-btn:hover { text-decoration: none; }
.hk-btn.hk-primary { background: var(--hk-blue); color: #fff; }
.hk-btn.hk-primary:hover { background: var(--hk-blue-dark); }
.hk-btn.hk-small-btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
.hk-btn.hk-ghost { border-style: dashed; }
.hk-btn.hk-danger { border-color: #9b1c1c; color: #9b1c1c; }
.hk-btn[disabled] { opacity: .55; cursor: not-allowed; }
.hk-link { background: none; border: 0; padding: 0; color: var(--hk-blue); font: inherit; text-decoration: underline; cursor: pointer; }

/* Cards and pills */
.hk-card { background: #fff; border: 1px solid var(--hk-line); border-radius: 12px; padding: 18px 20px; box-sizing: border-box; margin-bottom: 14px; }
.hk-card.hk-strong { border: 2px solid var(--hk-blue); }
.hk-card.hk-tint { background: var(--hk-blue-tint); border-color: #C6D5EA; }
.hk-card.hk-off { background: #F3F4F6; border: 1.5px dashed #A9B0BA; }
.hk-card.hk-off strong { color: #47505C; }
.hk-card.hk-on { border: 2px solid var(--hk-green); box-shadow: inset 6px 0 0 var(--hk-green); padding-left: 24px; }
.hk-card.hk-recbox { border: 2px solid #C9A227; background: #FFFBEA; }
.hk-card.hk-pick:has(input:checked) { border: 2px solid var(--hk-blue); background: var(--hk-blue-tint); }
.hk-card.hk-dev { border: 2px dashed var(--hk-amber); }
.hk-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--hk-soft); color: #3A4350; }
.hk-pill.hk-ok { background: var(--hk-green-tint); color: var(--hk-green); }
.hk-pill.hk-blue { background: var(--hk-blue-tint); color: var(--hk-blue); }
.hk-pill.hk-warn { background: var(--hk-amber-tint); color: var(--hk-amber); }
.hk-pill.hk-solid { background: var(--hk-green); color: #fff; }
.hk-pill.hk-outline { background: #fff; color: #47505C; border: 1.5px solid #A9B0BA; }
.hk-pill.hk-rec { background: #F5D76E; color: #3D2E00; }
.hk-pill.hk-lg { font-size: 14px; padding: 5px 12px; }
.hk-badge { display: inline-block; padding: 6px 12px; border-radius: 8px; font-size: 14px; }
.hk-badge.hk-warn { background: var(--hk-amber-tint); color: #5C3300; }
.hk-note { background: var(--hk-amber-tint); color: #5C3300; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 8px 0; }
.hk-info { background: var(--hk-blue-tint); color: #1d3557; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 8px 0; }
.hk-key { background: var(--hk-green-tint); color: #24402F; border-radius: 8px; padding: 8px 12px; margin: 6px 0; font-size: 14px; }

/* Layout: the tool menu and the work area */
.hk-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.hk-rail { flex: 1 1 210px; max-width: 250px; display: flex; flex-direction: column; gap: 2px; }
.hk-rail a { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 8px; color: var(--hk-ink); text-decoration: none; font-size: 14px; }
.hk-rail a:hover { background: var(--hk-soft); }
.hk-rail a[aria-current="page"] { background: var(--hk-blue-tint); font-weight: 600; }
.hk-rail a.hk-inuse { font-weight: 600; }
.hk-rail a.hk-unused { color: #6B7480; }
.hk-rail .hk-add { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--hk-blue); white-space: nowrap; }
.hk-dot { display: inline-flex; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--hk-green); color: #fff; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; vertical-align: -3px; }
.hk-dot.hk-dot-off { background: #fff; border: 1.5px dashed #A9B0BA; box-sizing: border-box; }
.hk-dot.hk-dot-plus { background: var(--hk-blue); }
.hk-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* "Project home": a gold band, NACA's color for the main action
   (--naca-gold, naca-wa.css section 1); darker gold on hover */
.hk-rail a.hk-homelink { display: flex; gap: 10px; align-items: center; margin: 6px 0 2px; padding: 11px 12px; border-radius: 8px;
  background: var(--naca-gold, #f4a523); color: var(--naca-navy-deep, #0e1e3c); font-size: 15px; font-weight: 700;
  border-left: 5px solid transparent; transition: background-color .15s ease, border-color .15s ease; }
.hk-rail a.hk-homelink:hover, .hk-rail a.hk-homelink:focus-visible { background: var(--naca-gold-hover, #d98f16); color: var(--naca-navy-deep, #0e1e3c); border-left-color: var(--naca-navy-deep, #0e1e3c); }
.hk-rail a.hk-homelink:focus-visible { outline: 3px solid var(--naca-navy, #1e395e); outline-offset: 2px; }
.hk-rail a.hk-homelink[aria-current="page"] { border-left-color: var(--naca-navy-deep, #0e1e3c); }
.hk-rail a.hk-homelink svg { flex: none; }

/* Numbered sections: bands in the NACA button colors (naca-wa.css section 1):
   navy, darker navy on hover or focus, and a gold edge on the section you're in */
.hk-rail a.hk-rg { display: flex; gap: 10px; align-items: center; margin: 14px 0 4px; padding: 9px 12px; border-radius: 8px;
  background: var(--naca-button, #1e395e); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  border-left: 5px solid transparent; transition: background-color .15s ease, border-color .15s ease; }
.hk-rail a.hk-rg:hover, .hk-rail a.hk-rg:focus-visible { background: var(--naca-button-hover, #0e1e3c); border-left-color: var(--naca-gold, #f4a523); color: #fff; }
.hk-rail a.hk-rg:focus-visible { outline: 3px solid var(--naca-gold, #f4a523); outline-offset: 2px; }
.hk-rail a.hk-rg[data-here] { border-left-color: var(--naca-gold, #f4a523); }
.hk-rail a.hk-rg .hk-num { border-color: rgba(255,255,255,.85); color: #fff; }
.hk-rail p.hk-rg { display: flex; gap: 8px; align-items: center; margin: 14px 12px 2px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hk-muted); }
.hk-num { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #8A94A1; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; box-sizing: border-box; letter-spacing: 0; flex: none; }
.hk-rail .hk-railnote { margin: 14px 12px 0; font-size: 12px; color: var(--hk-muted); line-height: 1.7; }
.hk-rail .hk-railnote .hk-dot { width: 14px; height: 14px; font-size: 9px; vertical-align: -2px; }
.hk-work { flex: 999 1 600px; min-width: 0; }
.hk-cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.hk-cols > * { flex: 1 1 340px; min-width: 0; }
.hk-cols > .hk-wide { flex: 1.5 1 440px; }
.hk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.hk-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hk-head { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: flex-end; margin-bottom: 16px; }
.hk-head > div:first-child { flex: 1 1 420px; min-width: 0; }

/* Tool cards on the project home */
.hk-tool { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin: 0; }
.hk-tool .hk-tool-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; width: 100%; }
.hk-tool .hk-btn { margin-top: auto; }
.hk-group { margin-bottom: 20px; }
.hk-group h3 { display: flex; gap: 8px; align-items: center; }

/* Forms */
.hk-form { display: flex; flex-direction: column; gap: 8px; }
.hk-main label { font-weight: 600; font-size: 14px; }
.hk-main input[type=text], .hk-main input[type=email], .hk-main input[type=number], .hk-main select, .hk-main textarea {
  min-height: 40px; border: 1px solid #B8BEC6; border-radius: 8px; padding: 6px 10px; font: 15px/1.4 inherit; background: #fff; color: var(--hk-ink); box-sizing: border-box; max-width: 100%; }
.hk-main textarea { min-height: 120px; width: 100%; }
.hk-main input[type=checkbox], .hk-main input[type=radio] { width: 18px; height: 18px; accent-color: var(--hk-blue); }
.hk-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.hk-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; min-height: 32px; }
.hk-check input { margin-top: 2px; flex: none; }
.hk-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #8E97A3; background: #fff; color: #2C343E; font: 500 13px inherit; cursor: pointer; }
.hk-chip[aria-pressed="true"] { background: var(--hk-blue); border-color: var(--hk-blue); color: #fff; }
.hk-seg { display: inline-flex; border: 1px solid #B8BEC6; border-radius: 8px; overflow: hidden; }
.hk-seg button { min-height: 34px; padding: 0 10px; border: 0; background: #fff; font: 500 13px inherit; color: #3A4350; cursor: pointer; }
.hk-seg button[aria-pressed="true"] { background: var(--hk-blue); color: #fff; }

/* Tables */
.hk-tablewrap { overflow-x: auto; }
.hk-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.hk-table th { text-align: left; font-size: 12.5px; color: #333C47; padding: 8px 10px; border-bottom: 1px solid var(--hk-line); white-space: nowrap; }
.hk-table td { padding: 9px 10px; border-bottom: 1px solid var(--hk-soft); vertical-align: top; }
.hk-table td.hk-n, .hk-table th.hk-n { text-align: right; font-variant-numeric: tabular-nums; }
.hk-mono td { font: 12.5px ui-monospace, Menlo, Consolas, monospace; white-space: nowrap; }
.hk-bar { height: 6px; border-radius: 3px; background: var(--hk-soft); overflow: hidden; min-width: 80px; }
.hk-bar > span { display: block; height: 100%; background: var(--hk-blue); }

/* Suggestions, questions */
.hk-q { border-top: 1px solid var(--hk-soft); padding: 10px 0; }
.hk-q:first-child { border-top: 0; }
.hk-ans { display: flex; gap: 8px; padding: 4px 8px; border-radius: 6px; font-size: 14px; }
.hk-ans.hk-right { background: var(--hk-green-tint); }
.hk-posting { white-space: pre-wrap; font-size: 13.5px; max-height: 560px; overflow: auto; background: #fff; border: 1px solid var(--hk-line); border-radius: 8px; padding: 12px; }

/* Landing */
.hk-landing .hk-main { max-width: none; padding: 0; }
.hk-hero, .hk-section, .hk-footer { max-width: 1200px; margin: 0 auto; padding: 56px 24px; box-sizing: border-box; }
.hk-hero h1 { font-size: 44px; line-height: 1.1; max-width: 760px; }
.hk-lead { font-size: 19px; color: var(--hk-muted); max-width: 680px; }
.hk-band { background: #16202B; color: #fff; }
.hk-band { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 36px max(24px, calc((100% - 1152px) / 2)); }
.hk-band-head { flex: 1 1 340px; font-size: 21px; font-weight: 600; margin: 0; }
.hk-figs { flex: 2 1 520px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hk-figs strong { display: block; font-size: 30px; }
.hk-figs span { color: #C9D1DB; font-size: 14px; }
.hk-white { background: #fff; max-width: none; padding-left: max(24px, calc((100% - 1152px) / 2)); padding-right: max(24px, calc((100% - 1152px) / 2)); }
.hk-plan ul { padding-left: 18px; margin: 8px 0 12px; }
.hk-price { font-size: 32px; font-weight: 700; margin: 4px 0 !important; }
.hk-buy { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.hk-buy label { display: flex; flex-direction: column; gap: 4px; }
.hk-narrow { max-width: 560px; margin: 24px auto; }

@media (max-width: 640px) {
  .hk-hero h1 { font-size: 32px; }
  .hk-rail { max-width: none; }
  .hk-figs { grid-template-columns: 1fr; }
}
@media print { .hk-rail, .hk-noprint { display: none !important; } }

/* Arrows: one glyph everywhere (➜); "back" is the same arrow turned around */
.hk-arrow { display: inline-block; font-style: normal; line-height: 1; }
.hk-arrow.hk-back { transform: scaleX(-1); }

/* Help tips: a "?" that shows its text on hover, focus or tap */
.hk-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--hk-blue); color: #fff; font: 700 12px/1 Arial, sans-serif; cursor: help; vertical-align: 2px; margin-left: 4px; text-transform: none; letter-spacing: 0; }
.hk-tip:focus { outline: 3px solid #F5D76E; outline-offset: 1px; }
.hk-tip-body { display: none; position: absolute; z-index: 20; left: 50%; top: 26px; transform: translateX(-50%); width: 280px; max-width: 80vw; background: #111A24; color: #fff; border-radius: 8px; padding: 10px 12px; font: 400 13.5px/1.45 inherit; text-align: left; box-shadow: 0 6px 20px rgba(0,0,0,.25); white-space: normal; }
.hk-tip:hover .hk-tip-body, .hk-tip:focus .hk-tip-body, .hk-tip:focus-within .hk-tip-body { display: block; }
.hk-fs { border: 0; padding: 0; margin: 0 0 6px; }
.hk-fs legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; }

/* "Apply NACA defaults" */
.hk-defaults { background: #fff; border: 2px solid var(--hk-blue); border-radius: 14px; padding: 20px 22px; margin: 0 0 18px; box-shadow: 0 2px 10px rgba(29,78,137,.12); }
.hk-defaults-main { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.hk-defaults-main > div:first-child { flex: 1 1 420px; }
.hk-defaults-act { flex: 0 1 260px; display: flex; flex-direction: column; gap: 8px; }
.hk-defaults h2 { font-size: 22px; }
.hk-deflist { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.hk-deflist li { display: flex; gap: 8px; align-items: center; }
.hk-btn.hk-big { min-height: 52px; font-size: 17px; padding: 0 22px; }
.hk-defaults-done { border-color: var(--hk-green); box-shadow: none; padding: 12px 18px; }
.hk-why { margin-top: 12px; border-top: 1px solid var(--hk-soft); padding-top: 10px; font-size: 14px; }
.hk-why summary { cursor: pointer; font-weight: 700; color: var(--hk-blue); }
.hk-why ul { padding-left: 20px; margin: 6px 0 10px; }
.hk-inuse-line { background: #fff; border: 1px solid var(--hk-line); border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; }
.hk-cov { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.hk-cov .hk-covered strong { color: var(--hk-green); }
.hk-cov .hk-gap { color: #6B4400; }

/* Next step, photo, model queries */
.hk-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--hk-line); }
.hk-photo { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.hk-photo img { border: 1px solid var(--hk-line); border-radius: 6px; background: #fff; width: 200px; height: auto; }
.hk-photo > div { flex: 1 1 220px; }
.hk-pre { font: 12.5px/1.45 ui-monospace, Menlo, Consolas, monospace; background: #F6F7F9; border: 1px solid var(--hk-line); border-radius: 8px; padding: 10px 12px; white-space: pre-wrap; margin: 6px 0; }

/* Per-project AI limits */
.hk-ailimit { margin: 6px 0 0; color: #333C47; }
.hk-ailimit.hk-out { background: var(--hk-amber-tint); color: #5C3300; border-radius: 8px; padding: 8px 12px; }
.hk-rail a.hk-replay { display: inline; padding: 0; color: var(--hk-blue); font-weight: 600; text-decoration: underline; font-size: 13px; }
.hk-rail a.hk-replay:hover { background: none; }

/* ============================================================================
   The overview (public/hire/overview.js), after NACA's overview-slides
   playbook: a dark navy stage, one white slide at a time with a gold top
   edge, cards and diagrams in NACA's colors. Light tones (gold, light blue)
   are borders and fills only; text uses the darker shades.
   ========================================================================== */
html.hk-ov-open { overflow: hidden; }
.hk-ov { position: fixed; inset: 0; z-index: 2000; overflow-y: auto; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(1200px 600px at 15% -10%, #2c5182 0%, #1e395e 45%, #0e1e3c 100%); font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.hk-ov * { box-sizing: border-box; }
.hk-ov-top { display: flex; align-items: center; gap: 20px; padding: 14px 28px; flex-wrap: wrap; border-bottom: 3px solid #f4a523; }
.hk-ov-top img { height: 46px; width: auto; max-width: 180px; display: block; }
.hk-ov-id { display: flex; flex-direction: column; gap: 2px; flex: 1 1 180px; min-width: 160px; }
.hk-ov-name { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.25; }
.hk-ov-step { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #C9D1DB; }
.hk-ov-skip { background: transparent; border: 0; color: #fff; font: 700 14px inherit; cursor: pointer; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.hk-ov-skip:focus-visible, .hk-ov-foot :focus-visible { outline: 3px solid #f4a523; outline-offset: 2px; }
.hk-ov-slide { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 14px 24px 12px; }
.hk-ov-inner { width: min(1240px, 100%); background: #fff; color: #0e1e3c; border-radius: 18px; padding: 32px 40px; box-shadow: 0 30px 60px rgba(4, 12, 22, .45);
  border-top: 5px solid #f4a523; display: flex; flex-direction: column; gap: 22px; }
.hk-ov-head { display: flex; flex-direction: column; gap: 10px; max-width: 920px; }
.hk-ov-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7A4A00; }
.hk-ov-head h1 { font-size: 38px; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; margin: 0; color: #0e1e3c; outline: none; }
.hk-ov-head h1 em.hk-ov-under { font-style: normal; text-decoration: underline; text-decoration-color: #f4a523; text-decoration-thickness: 6px; text-underline-offset: 7px; }
.hk-ov-head p { font-size: 17px; line-height: 1.55; color: #33435A; margin: 0; }
.hk-ov h3 { margin: 0; color: #0e1e3c; }
.hk-ov ul { margin: 0; }

.hk-ov-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hk-ov-card { display: flex; gap: 12px; align-items: flex-start; background: #F3F5F8; border: 1px solid #E2E8F0; border-left: 5px solid; border-radius: 10px; padding: 14px 16px; }
.hk-ov-card h3 { font-size: 16px; margin-bottom: 4px; }
.hk-ov-card p { font-size: 14px; line-height: 1.5; color: #33435A; margin: 0; }
.hk-ov-ico { font: 700 18px/1.2 inherit; min-width: 16px; }

.hk-ov-diagram { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.25fr) 96px minmax(0, 1fr); align-items: stretch; row-gap: 6px; }
.hk-ov-box { background: #F3F5F8; border: 1px solid #DCE2EA; border-top: 5px solid; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.hk-ov-box h3 { font-size: 19px; }
.hk-ov-big { background: #FEF6E7; border-color: #F6D9A2; box-shadow: 0 6px 18px rgba(14, 30, 60, .12); }
.hk-ov-big h3 { font-size: 22px; }
.hk-ov-who { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hk-ov-box ul, .hk-ov-lane ul { list-style: disc; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; line-height: 1.45; color: #24364B; }
.hk-ov-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; }
.hk-ov-arrow span { font-size: 12px; font-weight: 700; color: #3F5470; text-align: center; line-height: 1.25; }
.hk-ov-arrow-down { flex-direction: row; gap: 8px; padding: 4px 0; }
.hk-ov-spacer { min-height: 1px; }
.hk-ov-example { font-size: 15px; line-height: 1.55; color: #33435A; background: #ECF1F9; border-left: 4px solid #1e395e; border-radius: 10px; padding: 12px 16px; margin: 0; }
.hk-ov-example em { font-style: normal; font-weight: 700; color: #0e1e3c; }

.hk-ov-lanes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hk-ov-lanes.hk-ov-lanes-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hk-ov-lane { position: relative; background: #F3F5F8; border: 1px solid #DCE2EA; border-top: 5px solid; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.hk-ov-lane h3 { font-size: 19px; line-height: 1.25; }
.hk-ov-num { position: absolute; top: -16px; right: 14px; width: 30px; height: 30px; border-radius: 50%; font: 700 14px inherit; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; }
.hk-ov-lane:not(:last-child)::after { content: '➜'; position: absolute; right: -15px; top: 46%; color: #4a90e2; font-size: 18px; font-weight: 700; z-index: 1; }
.hk-ov-rules { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #E6EAF0; padding-top: 18px; }
.hk-ov-rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; font-size: 14px; line-height: 1.45; color: #24364B; }
.hk-ov-rule-grid span { background: #E9EDF2; border-radius: 8px; padding: 10px 12px; }
.hk-ov-rule-grid strong { color: #0e1e3c; }
.hk-ov-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hk-ov .hk-btn { font-size: 15.5px; }
.hk-ov-cta .hk-btn { min-height: 48px; padding: 0 20px; font-size: 16.5px; }
.hk-ov .hk-btn.hk-ov-go { background: #f4a523; color: #0e1e3c; border: 0; font-weight: 700; }
.hk-ov .hk-btn.hk-ov-go:hover { background: #d98f16; color: #0e1e3c; }
.hk-ov-inner .hk-btn.hk-ov-ghost { background: #fff; color: #1e395e; border: 1.5px solid #8E97A3; }
.hk-ov-inner .hk-btn.hk-ov-ghost:hover { background: #ECF1F9; }

.hk-ov-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 28px 22px; }
.hk-ov-foot .hk-btn.hk-ov-ghost { background: transparent; color: #fff; border: 1px solid #8CA6CC; }
.hk-ov-foot .hk-btn.hk-ov-ghost:hover { background: rgba(255, 255, 255, .08); }
.hk-ov-foot .hk-btn[disabled] { opacity: .45; }
.hk-ov-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #E2E8F0; min-height: 44px; cursor: pointer; font-weight: 400; }
.hk-ov-check input { width: 18px; height: 18px; accent-color: #f4a523; }
.hk-ov-nav { display: flex; align-items: center; gap: 14px; }
.hk-ov-dots { display: flex; gap: 8px; }
.hk-ov-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #6E7F99; padding: 0; cursor: pointer; }
.hk-ov-dots button.on { background: #f4a523; width: 28px; border-radius: 6px; }

@media (max-width: 1000px) {
  .hk-ov-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-ov-diagram { grid-template-columns: minmax(0, 1fr); }
  .hk-ov-spacer { display: none; }
  .hk-ov-arrow, .hk-ov-arrow-down { flex-direction: row; gap: 8px; padding: 2px 0; }
  .hk-ov-arrow-right svg { transform: rotate(90deg); }
  .hk-ov-arrow-left svg { transform: rotate(-90deg); }
  .hk-ov-lanes, .hk-ov-lanes.hk-ov-lanes-5, .hk-ov-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-ov-lane::after { display: none; }
}
@media (max-width: 640px) {
  .hk-ov-inner { padding: 22px 18px; border-radius: 14px; gap: 20px; }
  .hk-ov-head h1 { font-size: 28px; }
  .hk-ov-head p { font-size: 15px; }
  .hk-ov-cards, .hk-ov-lanes, .hk-ov-lanes.hk-ov-lanes-5, .hk-ov-rule-grid { grid-template-columns: minmax(0, 1fr); }
  .hk-ov-lanes { gap: 22px; }
  .hk-ov-top { padding: 10px 14px; gap: 12px; } .hk-ov-top img { height: 34px; } .hk-ov-name { font-size: 14px; } .hk-ov-step { font-size: 11px; }
  .hk-ov-slide { padding: 10px 10px 10px; }
  .hk-ov-foot { padding: 8px 14px 18px; }
  .hk-ov-nav { width: 100%; justify-content: space-between; }
}
@media print { .hk-ov { display: none !important; } }

/* ── Position questionnaire (#/p/…/profile and /jobprofile) ─────────────────
   Section steps, questions, the time-split sliders, the results page, the
   "Recommended for this job" panel and the fit check. */
.hk-stepper { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.hk-stepper li { flex: 1 1 160px; }
.hk-step { display: flex; gap: 10px; align-items: center; width: 100%; min-height: 56px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--hk-line); background: #fff; color: var(--hk-ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; line-height: 1.3; }
.hk-step:hover { background: var(--hk-blue-tint); }
.hk-step-cur { background: var(--hk-blue-tint); border: 2px solid var(--naca-navy, #1e395e); }
.hk-step-n { display: inline-flex; flex: none; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center;
  border: 2px solid var(--naca-navy, #1e395e); color: var(--naca-navy, #1e395e); font-weight: 800; font-size: 13px; box-sizing: border-box; }
.hk-step-cur .hk-step-n { background: var(--naca-navy, #1e395e); color: #fff; }
.hk-step-n.hk-step-done { background: var(--hk-green); border-color: var(--hk-green); color: #fff; }
.hk-q { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.hk-q legend { font-weight: 700; font-size: 16px; margin-bottom: 6px; padding: 0; display: flex; gap: 8px; align-items: baseline; }
.hk-qn { display: inline-block; min-width: 1.6em; color: var(--hk-blue); font-weight: 800; font-size: 13px; }
.hk-opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 6px 0; }
.hk-opts-2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hk-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; min-height: 44px; box-sizing: border-box; border: 1px solid var(--hk-line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 14.5px; font-weight: 400 !important; }
.hk-opt:has(input:checked) { border: 2px solid var(--hk-blue); background: var(--hk-blue-tint); padding: 9px 11px; }
.hk-opt input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--naca-navy, #1e395e); }
.hk-freq th[scope="row"] { font-weight: 500; font-size: 14px; color: var(--hk-ink); white-space: normal; min-width: 220px; }
.hk-freq td { text-align: center; }
.hk-freq thead th { text-align: center; }
.hk-freq thead th:first-child { text-align: left; }
.hk-freq input { width: 20px; height: 20px; accent-color: var(--naca-navy, #1e395e); cursor: pointer; }
.hk-split { display: flex; flex-direction: column; gap: 12px; margin: 8px 0; }
.hk-split-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 52px; gap: 12px; align-items: center; }
.hk-split-row label { display: flex; flex-direction: column; }
.hk-split-row label .hk-small { font-weight: 400; }
.hk-cols.hk-stack > * { flex-basis: 100%; }
.hk-split-row input[type="range"] { width: 100%; accent-color: var(--naca-navy, #1e395e); }
.hk-split-row output { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.hk-qnav { border-top: 1px solid var(--hk-line); padding-top: 14px; margin-top: 8px; }
.hk-circle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 2px solid var(--naca-navy, #1e395e); color: var(--naca-navy, #1e395e); background: #fff; cursor: pointer; padding: 0; }
.hk-circle:hover { background: var(--hk-blue-tint); }
.hk-lede { font-size: 17px; line-height: 1.5; }
.hk-pill.hk-solid-blue { background: var(--hk-blue); color: #fff; }
.hk-dot.hk-dot-warn { background: #A85A00; }
.hk-recpanel { border-color: #C9A227; background: #FFFBEA; }
.hk-wbar { display: flex; height: 20px; border-radius: 6px; overflow: hidden; margin: 6px 0; }
.hk-wbar span { display: block; }
.hk-w0 { background: #1e395e; } .hk-w1 { background: #2F5D93; } .hk-w2 { background: #4F7FB8; } .hk-w3 { background: #7FA6D3; } .hk-w4 { background: #B3CBE6; } .hk-w5 { background: #D6DEE8; }
.hk-fitcard { border: 2px solid var(--naca-navy, #1e395e); }
.hk-fit { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hk-fit li { display: flex; gap: 8px; align-items: flex-start; }
.hk-fit .hk-dot { margin-top: 1px; }
.hk-fitline { display: flex; gap: 12px; align-items: flex-start; border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; border: 2px solid; }
.hk-fitline p { margin: 2px 0 0; }
.hk-fitline-warn, .hk-fitline-gap { border-color: #A85A00; background: var(--hk-amber-tint); }
.hk-fitline-ok { border-color: var(--hk-green); background: var(--hk-green-tint); }
.hk-gapcard { border: 2px solid #A85A00; }
.hk-struck { text-decoration: line-through; color: var(--hk-muted); }
@media (max-width: 640px) {
  .hk-split-row { grid-template-columns: minmax(0, 1fr) 52px; }
  .hk-split-row label { grid-column: 1 / -1; }
  .hk-freq th[scope="row"] { min-width: 180px; }
}
.hk-card h2 .hk-check, .hk-card h3 .hk-check { font-size: inherit; align-items: center; }
.hk-card h2 .hk-check span, .hk-card h3 .hk-check span { font-weight: 700; }
.hk-card h2 .hk-check input, .hk-card h3 .hk-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--naca-navy, #1e395e); }
