/* RCO Custom Workforce Dashboard. Brand tokens are set at runtime from /api/config (tenant brand). */
:root {
  --primary: #253449; --primary-ink: #fff; --accent: #E76251; --accent-ink: #fff; --headline: #253449; --grey: #B0B0B0;
  --surface: #fff; --surface-alt: #F4F6FA; --ink: #121826; --ink-muted: #5B6472; --line: #E3E7EE;
  --good: #1F8A4C; --warn: #B7791F; --serious: #9A3412; --critical: #B91C1C; --info: #253449;
  --font: 'Roboto', 'Segoe UI', system-ui, sans-serif; --font-heading: 'Open Sans', 'Roboto', sans-serif; --heading-stretch: 75%;
  --radius: 12px; --shadow: 0 1px 2px rgba(18,24,38,.06), 0 4px 14px rgba(18,24,38,.06);
  --spark-gold: #FFC800;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--surface-alt); font-size: 14.5px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--info); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; font-family: var(--font-heading); font-stretch: var(--heading-stretch); color: var(--headline); letter-spacing: .01em; }
h1 { font-size: 28px; } h2 { font-size: 19px; } h3 { font-size: 16px; }
p { margin: 0 0 10px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg.i { width: 18px; height: 18px; vertical-align: -4px; flex: none; }
.muted { color: var(--ink-muted); } .small { font-size: 12.5px; } .mono { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr { position: absolute; left: -9999px; }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { background: var(--primary); color: var(--primary-ink); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side .brand { padding: 20px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.side .brand img { height: 46px; display: block; }
.side .brand .prog { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 8px; }
.nav { padding: 10px 10px; overflow-y: auto; flex: 1; }
.nav .grp { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .5; padding: 12px 10px 4px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: inherit; opacity: .85; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; opacity: 1; }
.nav a.on { background: var(--accent); color: var(--accent-ink); opacity: 1; font-weight: 700; }
.side .brand .prog { color: #fff; }
.nav a .badge { margin-left: auto; }
.side .foot { padding: 12px 14px 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.side .foot .powered { display: flex; justify-content: center; background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.side .foot .powered img { height: 58px; }
.side .foot .powered, .spk-lock { position: relative; }
.side .foot .powered sup { position: absolute; top: 30px; right: 14px; font: 700 11px Arial, sans-serif; color: #111; }
.spk-lock { display: inline-block; } .spk-lock sup { position: absolute; top: 22px; right: -9px; font: 700 11px Arial, sans-serif; color: #111; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 28px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar h1 { font-size: 21px; }
.topbar .spacer { flex: 1; }
.topbar .user { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.topbar .user .av { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.content { padding: 22px 28px 60px; }
.demo-strip { background: #EEF2F9; color: #253449; padding: 6px 28px; font-size: 12.5px; border-bottom: 1px solid #D5DEEE; }

/* ---------- Components ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.card h2 { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.card h2 .act { margin-left: auto; font-size: 13px; font-weight: 500; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g23 { grid-template-columns: 2fr 1fr; } .g32 { grid-template-columns: 3fr 2fr; }
.stack > * + * { margin-top: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.tile .lbl { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.tile .val { font-family: var(--font-heading); font-stretch: var(--heading-stretch); color: var(--headline); font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tile .sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; }
.tile.alert .val { color: var(--serious); }
.tile.good .val { color: var(--good); }
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 13.5px; }
.btn:hover { background: var(--surface-alt); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.primary:hover { filter: brightness(.96); }
.btn.dark { background: var(--primary); color: var(--primary-ink); border-color: transparent; }
.btn.danger { color: var(--critical); }
.btn.sm { padding: 5px 10px; font-size: 12.5px; }
.btn[disabled] { opacity: .5; cursor: default; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--surface-alt); color: var(--ink-muted); white-space: nowrap; }
.badge.good { background: #E6F4EC; color: var(--good); } .badge.warn { background: #FBF0DC; color: var(--warn); }
.badge.serious { background: #FCE8DF; color: var(--serious); } .badge.critical { background: #FDE2E2; color: var(--critical); }
.badge.info { background: #E4ECF9; color: var(--info); } .badge.accent { background: var(--accent); color: var(--accent-ink); }
.badge.primary { background: var(--primary); color: var(--primary-ink); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; } tr.click:hover td { background: var(--surface-alt); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=tel], input[type=search], select, textarea {
  border: 1px solid #CBD2DD; border-radius: 8px; padding: 8px 10px; background: var(--surface); min-width: 0; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 90px; resize: vertical; }
.toolbar input, .toolbar select { width: auto; }
label.f { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); margin-bottom: 4px; }
.field { margin-bottom: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; } .row > * { flex: 1; min-width: 160px; }
.chk { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.chk input { width: auto; }
.empty { padding: 28px; text-align: center; color: var(--ink-muted); }
.list { list-style: none; margin: 0; padding: 0; } .list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; } .list li:last-child { border-bottom: 0; }
.list .when { font-size: 12px; color: var(--ink-muted); min-width: 92px; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 13.5px; } .kv dt { color: var(--ink-muted); } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13.5px; z-index: 50; box-shadow: var(--shadow); }
.toast.err { background: var(--critical); }
.modal-bg { position: fixed; inset: 0; background: rgba(11,26,51,.45); z-index: 40; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--surface); border-radius: 14px; max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h2 { margin-bottom: 14px; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 9px 12px; font-weight: 600; color: var(--ink-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.step { padding: 10px 12px; border-radius: 10px; background: var(--surface-alt); border: 1px solid var(--line); }
.step.done { background: #E6F4EC; border-color: #BFE3CD; } .step.now { border-color: var(--accent); background: #FDEEEB; }
.step .n { font-size: 11px; color: var(--ink-muted); } .step .t { font-weight: 700; }
.prog { height: 8px; background: var(--surface-alt); border-radius: 4px; overflow: hidden; } .prog > span { display: block; height: 100%; background: var(--good); border-radius: 4px; }

/* bars (inline SVG-free, CSS bars) */
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 150px 1fr 44px; align-items: center; gap: 10px; font-size: 13px; }
.bar .lab { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .trk { height: 14px; background: var(--surface-alt); border-radius: 4px; overflow: hidden; display: flex; gap: 2px; }
.bar .trk span { display: block; height: 100%; background: var(--primary); border-radius: 3px 0 0 3px; }
.bar .trk span.b2 { background: var(--grey); border-radius: 0; }
.bar .trk span.b3 { background: var(--serious); border-radius: 0 3px 3px 0; }
.bar .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-muted); margin-top: 8px; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* kanban */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--surface-alt); border-radius: var(--radius); padding: 10px; min-height: 200px; }
.col h3 { font-size: 13px; display: flex; justify-content: space-between; padding: 2px 4px 8px; }
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; box-shadow: var(--shadow); }
.kcard:hover { border-color: var(--primary); }
.kcard.stalled { border-left: 4px solid var(--serious); }
.kcard .nm { font-weight: 700; } .kcard .rq { font-size: 12.5px; color: var(--ink-muted); }
.kcard .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cal .dh { background: var(--surface-alt); padding: 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); text-align: center; }
.cal .d { background: var(--surface); min-height: 96px; padding: 6px; font-size: 12px; }
.cal .d.off { background: #FAFBFD; color: var(--ink-muted); } .cal .d.today .dn { background: var(--accent); color: var(--accent-ink); }
.cal .dn { font-weight: 700; display: inline-block; padding: 1px 6px; border-radius: 999px; margin-bottom: 4px; }
.cal .ev { display: block; padding: 2px 6px; border-radius: 5px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; background: var(--surface-alt); border-left: 3px solid var(--primary); }
.cal .ev.interview { border-color: var(--info); } .cal .ev.start { border-color: var(--good); } .cal .ev.offer_expires { border-color: var(--serious); } .cal .ev.deadline { border-color: var(--accent); } .cal .ev.review { border-color: var(--primary); } .cal .ev.holiday, .cal .ev.shutdown { border-color: var(--ink-muted); }

/* activity heat row */
.heat { display: grid; grid-auto-flow: column; gap: 3px; }
.heat span { height: 26px; border-radius: 4px; background: var(--surface-alt); display: grid; place-items: center; font-size: 10.5px; color: var(--ink-muted); }
.heat span.l1 { background: #D9E2F2; } .heat span.l2 { background: #AFC2E3; color: #fff; } .heat span.l3 { background: #6F8FC8; color: #fff; } .heat span.l4 { background: var(--primary); color: #fff; }

/* sign-in */
.signin { min-height: 100vh; display: grid; place-items: center; background: var(--primary); padding: 20px; }
.signin .box { background: var(--surface); border-radius: 16px; padding: 34px 36px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.signin .box img { height: 54px; margin-bottom: 18px; }
.signin .bar { height: 5px; width: 64px; background: var(--accent); border-radius: 3px; margin-bottom: 16px; }
.signin .box h1 { font-size: 20px; margin-bottom: 6px; }
.signin .or { text-align: center; color: var(--ink-muted); font-size: 12px; margin: 14px 0; }
.signin .code { font-size: 26px; letter-spacing: 10px; text-align: center; font-weight: 700; }
.signin .powered { margin-top: 22px; font-size: 12px; color: var(--ink-muted); text-align: center; }

/* letter preview */
.letter { background: #fff; border: 1px solid var(--line); padding: 36px 40px; font-family: Georgia, serif; font-size: 14px; line-height: 1.55; max-height: 70vh; overflow: auto; }
.letter .letterhead { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--primary); padding-bottom: 12px; margin-bottom: 24px; } .letter .letterhead img { height: 48px; } .letter .addr { font-family: var(--font); font-size: 11px; color: #555; text-align: right; }

/* approvals timeline */
.chain { display: flex; gap: 8px; flex-wrap: wrap; }
.chain .st { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-alt); font-size: 12.5px; min-width: 150px; }
.chain .st.approved { background: #E6F4EC; border-color: #BFE3CD; } .chain .st.pending { background: #FDEEEB; border-color: #F5C9C1; } .chain .st.rejected { background: #FDE2E2; border-color: #F5B5B5; } .chain .st.skipped, .chain .st.reassigned { opacity: .6; }
.chain .st b { display: block; }

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; } .side { position: static; height: auto; } .nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; } .nav .grp { display: none; } .nav a { padding: 7px 10px; font-size: 13px; }
  .g2, .g3, .g4, .g23, .g32 { grid-template-columns: 1fr; } .content { padding: 16px; } .topbar { padding: 10px 16px; } .steps { grid-template-columns: 1fr 1fr; } .bar { grid-template-columns: 110px 1fr 40px; }
}
@media print { .side, .topbar, .toolbar, .demo-strip { display: none !important; } .shell { display: block; } .content { padding: 0; } .card { box-shadow: none; break-inside: avoid; } }

/* ===================================================================================
   Program shell theme: matches the RPO program tools RCO was shown (Sept 2026 demo).
   Light blue-grey page, charcoal rail with navy buttons, navy cards, KPI tiles with a
   coloured top edge, mono uppercase labels and chips. Tokens are remapped inside cards
   so every existing screen picks the look up; modals stay light for forms.
   =================================================================================== */
:root {
  --fk-bg: #EDF3FB; --fk-rail: #1E2A33; --fk-btn: #11346E; --fk-line: #1E4386; --fk-hair: #D5E0EF;
  --fk-ink: #14213D; --fk-sub: #5A6B8C; --fk-muted: #9FB4D6; --fk-blue: #4FA3F0; --fk-sky: #6FB4FF; --fk-rco: #204289;
  --fk-green: #3DCB7D; --fk-amber: #F0B94F; --fk-red: #FF8A80; --fk-gold: #FFD100;
  --fk-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; --fk-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body { font-family: var(--fk-font); background: var(--fk-bg); color: var(--fk-ink); }
h1, h2, h3, h4 { font-family: var(--fk-font); font-stretch: normal; color: inherit; }
.shell { grid-template-columns: 250px 1fr; }
.side { background: var(--fk-rail); border-right: 1px solid var(--fk-line); color: #EAF1FC; padding: 18px 12px 16px; }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 10px; }
.side .brand img { height: 30px; background: #fff; border-radius: 5px; padding: 4px 8px; }
.side .brand b { display: block; font-size: 12.5px; letter-spacing: .3px; color: #fff; }
.side .brand .prog { margin: 0; font-family: var(--fk-mono); font-size: 9px; letter-spacing: .08em; color: #BBD3F5; opacity: 1; }
.nav { padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nav .grp { font-family: var(--fk-mono); font-size: 9.5px; letter-spacing: .1em; color: #BBD3F5; opacity: 1; padding: 14px 16px 2px; }
.nav a { gap: 11px; padding: 10px 14px 10px 16px; border-radius: 9px; color: #EAF1FC; opacity: 1; font-size: 13.5px; background: var(--fk-btn); border: 1px solid var(--fk-line); transition: background .18s, border-color .18s, transform .18s; }
.nav a:hover { background: #174089; border-color: #2F7BFF; transform: translateY(-1px); }
.nav a.on, .nav a.on:hover { background: #fff; color: var(--fk-rail); border-color: #fff; font-weight: 700; transform: none; box-shadow: 0 10px 24px rgba(3,20,60,.45); }
.nav a.on svg { color: var(--fk-rco); }
.nav a .tag { margin-left: auto; font-family: var(--fk-mono); font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; color: #DCE9FA; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 1px 5px; }
.nav a.temp { border-style: dashed; border-color: rgba(255,255,255,.45); }
.nav a.site.pub { border-left: 3px solid #6FB4FF; }
.nav a.site.intl { border-left: 3px solid var(--fk-gold); background: rgba(255,209,0,.08); }
.nav a.site.intl .tag { color: var(--fk-gold); border-color: rgba(255,209,0,.55); }
.nav a.soon { color: #8FA9D0; background: rgba(255,255,255,.03); border-style: dashed; }
.side .foot { border-top: 0; padding: 12px 0 0; }
.side .who { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 10px 12px; font-size: 12px; color: #EAF1FC; margin-bottom: 10px; }
.side .who b { display: block; font-size: 12.5px; word-break: break-all; }
.side .who button { margin-top: 8px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 7px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.side .foot .powered { background: transparent; padding: 0; justify-content: flex-start; gap: 7px; align-items: center; color: #BBD3F5; font-size: 10.5px; }
.side .foot .powered img { height: 14px; filter: brightness(0) invert(1); opacity: .85; }
.topbar { background: #fff; border-bottom: 1px solid var(--fk-hair); padding: 12px 28px; min-height: 60px; }
.topbar .crumb { font-family: var(--fk-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--fk-sub); }
.topbar h1 { font-size: 19px; color: var(--fk-ink); line-height: 1.2; }
.topbar .user .av { background: var(--fk-rco); }
.content { padding: 24px 28px 48px; }

/* Cards are the navy panels. Remap tokens so nested lists, tables, kanban and calendars follow. */
.card { background: var(--fk-rail); border: 1px solid var(--fk-line); border-radius: 12px; box-shadow: none; color: #EAF1FC;
  --surface: #172433; --surface-alt: #13202D; --ink: #EAF1FC; --ink-muted: var(--fk-muted); --line: rgba(255,255,255,.12); --headline: #fff; --info: #8FC3FF; }
.card a { color: #9CC7FF; }
.card > h2, .card > h3, .card .hd { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--fk-sky); font-weight: 700; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.card > h2 i, .card .hd i { margin-left: auto; font-style: normal; font-family: var(--fk-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: none; color: var(--fk-muted); font-weight: 500; }
.card table th { font-family: var(--fk-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--fk-muted); border-bottom: 1px solid rgba(255,255,255,.12); background: transparent; }
.card table td { border-bottom: 1px solid rgba(255,255,255,.07); color: #EAF1FC; }
.card table tr.click:hover td { background: rgba(111,180,255,.08); }
.card input, .card select, .card textarea { background: #0F2A5A; color: #EAF1FC; border: 1px solid var(--fk-line); }
.card .btn { background: transparent; color: #EAF1FC; border-color: rgba(255,255,255,.3); }
.card .btn:hover { background: rgba(255,255,255,.08); }
.card .btn.primary { background: var(--fk-rco); border-color: #2F7BFF; color: #fff; }
.modal { --surface: #fff; --surface-alt: #F4F6FA; --ink: #121826; --ink-muted: #5B6472; --line: #E3E7EE; --headline: #253449; color: #121826; }
.modal .card { background: #F4F6FA; color: #121826; border-color: #E3E7EE; --ink: #121826; --ink-muted: #5B6472; --line: #E3E7EE; --headline: #253449; --surface: #fff; }
.modal .card table td { color: #121826; }

/* KPI tiles */
.tile { background: linear-gradient(180deg, #123672, var(--fk-rail)); border: 1px solid #2A5296; border-top: 3px solid var(--fk-blue); border-radius: 11px; box-shadow: 0 2px 0 #071A3D, 0 6px 14px rgba(3,20,60,.22); color: #EAF1FC; }
.tile:hover { border-color: #6FB4FF; }
.tile .val { font-family: var(--fk-font); font-stretch: normal; color: #fff; font-size: 26px; }
.tile .lbl { color: var(--fk-muted); text-transform: none; letter-spacing: 0; font-size: 12px; order: 2; }
.tile .sub { color: var(--fk-muted); }
.tile.alert, .tile.bad { border-top-color: var(--fk-red); } .tile.alert .val, .tile.bad .val { color: var(--fk-red); }
.tile.good { border-top-color: var(--fk-green); } .tile.good .val { color: #fff; }
.tile.warn { border-top-color: var(--fk-amber); } .tile.warn .val { color: var(--fk-amber); }
.tile.mute { border-top-color: #3E5A8A; }

/* Chips: mono, uppercase, outlined */
.badge { font-family: var(--fk-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; padding: 2px 8px; border-radius: 20px; border: 1px solid rgba(90,107,140,.45); background: transparent; color: var(--fk-sub); }
.card .badge { color: var(--fk-muted); border-color: rgba(159,180,214,.4); }
.badge.good { color: #1C7A45; border-color: rgba(61,203,125,.55); background: rgba(61,203,125,.08); } .card .badge.good { color: var(--fk-green); }
.badge.warn { color: #8A5A00; border-color: rgba(240,185,79,.6); background: rgba(240,185,79,.1); } .card .badge.warn { color: var(--fk-amber); }
.badge.serious, .badge.critical { color: #B42318; border-color: rgba(255,138,128,.7); background: rgba(255,138,128,.1); } .card .badge.serious, .card .badge.critical { color: var(--fk-red); }
.badge.info { color: var(--fk-rco); border-color: rgba(32,66,137,.4); background: rgba(32,66,137,.06); } .card .badge.info { color: #8FC3FF; border-color: rgba(111,180,255,.5); }
.badge.accent, .badge.primary { background: var(--fk-rco); color: #fff; border-color: transparent; }
.chip { font-family: var(--fk-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 20px; border: 1px solid; white-space: nowrap; }
.chip.ok { color: var(--fk-green); border-color: rgba(61,203,125,.5); } .chip.amber { color: var(--fk-amber); border-color: rgba(240,185,79,.55); }
.chip.red { color: var(--fk-red); border-color: rgba(255,138,128,.6); background: rgba(255,138,128,.1); } .chip.blue { color: #8FC3FF; border-color: rgba(111,180,255,.5); }
.chip.plain { color: var(--fk-muted); border-color: rgba(159,180,214,.4); } .chip.gold { color: var(--fk-gold); border-color: rgba(255,209,0,.55); }

/* Buttons and tabs on the light page */
.btn { border-radius: 8px; border-color: var(--fk-hair); color: var(--fk-ink); }
.btn.primary { background: var(--fk-btn); color: #fff; border-color: var(--fk-line); }
.btn.ghost { background: #fff; color: var(--fk-rco); border-color: var(--fk-rco); }
.tabs { border-bottom: 0; gap: 6px; margin-bottom: 14px; }
.tabs button { border: 1px solid var(--fk-hair); background: #E1EAF6; color: var(--fk-ink); border-radius: 8px 8px 0 0; padding: 8px 14px; font-size: 12.5px; margin-bottom: 0; }
.tabs button.on { background: var(--fk-rail); color: #fff; border-color: var(--fk-rail); }

/* Program shell pieces */
.ptabs { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 16px; }
.ptabs button { border: 1px solid var(--fk-hair); background: #E1EAF6; color: var(--fk-ink); border-radius: 8px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; }
.ptabs button.on { background: var(--fk-rail); color: #fff; border-color: var(--fk-rail); }
.kpis { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 1400px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: linear-gradient(180deg, #123672, var(--fk-rail)); border: 1px solid #2A5296; border-top: 3px solid var(--fk-blue); border-radius: 11px; padding: 14px 16px; color: #EAF1FC; display: block; box-shadow: 0 2px 0 #071A3D, 0 6px 14px rgba(3,20,60,.22); transition: transform .12s, border-color .12s; text-decoration: none; cursor: pointer; }
.kpi:hover { transform: translateY(-1px); border-color: #6FB4FF; text-decoration: none; }
.kpi .n { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; } .kpi .l { font-size: 12px; color: var(--fk-muted); margin-top: 4px; }
.kpi.bad { border-top-color: var(--fk-red); } .kpi.bad .n { color: var(--fk-red); } .kpi.warn { border-top-color: var(--fk-amber); } .kpi.warn .n { color: var(--fk-amber); }
.kpi.good { border-top-color: var(--fk-green); } .kpi.mute { border-top-color: #3E5A8A; }
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-bottom: 16px; }
@media (max-width: 900px) { .gauges { grid-template-columns: 1fr; } }
.gauge { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
@media (max-width: 620px) { .gauge { grid-template-columns: 1fr; } }
.gwrap { position: relative; width: 200px; height: 132px; } .gwrap svg { display: block; overflow: visible; }
.gnum { position: absolute; left: 0; right: 0; top: 60px; text-align: center; } .gnum b { display: block; font-size: 34px; color: #fff; line-height: 1; }
.gnum small { display: block; font-family: var(--fk-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--fk-muted); margin-top: 5px; }
.gside .st { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; margin-bottom: 8px; } .gside .st i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.gside .lead { font-size: 13.5px; color: #EAF1FC; margin: 0 0 8px; } .gside .lead b { color: #fff; } .gside .sub { font-size: 12px; color: var(--fk-muted); line-height: 1.45; }
.gsplit { display: flex; gap: 18px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.gsplit div { font-size: 11.5px; color: var(--fk-muted); } .gsplit b { display: block; font-size: 17px; color: #fff; } .gsplit .gap b { color: var(--fk-amber); }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1400px) { .cols4 { grid-template-columns: 1fr 1fr; } } @media (max-width: 820px) { .cols4 { grid-template-columns: 1fr; } }
.it { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); color: inherit; cursor: pointer; }
.it:first-of-type { border-top: 0; } .it:hover b { color: #8FC3FF; } .it b { display: block; font-size: 13.5px; color: #fff; } .it small { display: block; font-size: 11.5px; color: var(--fk-muted); margin-top: 1px; } .it .chip { align-self: center; flex: none; }
.hint { font-size: 12px; color: var(--fk-muted); margin-top: 10px; }
.live { font-family: var(--fk-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fk-green); border: 1px solid rgba(61,203,125,.5); border-radius: 5px; padding: 2px 7px; margin-left: auto; white-space: nowrap; }
.funnel { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 6px 6px; overflow-x: auto; }
.funnel .node { text-align: center; min-width: 92px; } .funnel .node .ball { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; font-size: 21px; font-weight: 700; color: #fff; border: 2px solid rgba(255,255,255,.25); }
.funnel .node .nl { font-size: 12.5px; font-weight: 700; color: #fff; } .funnel .link { flex: 1; min-width: 30px; height: 2px; background: rgba(111,180,255,.35); position: relative; }
.funnel .link span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--fk-mono); font-size: 10px; color: #9CC7FF; }
.sd { display: grid; grid-template-columns: 210px 1fr 110px; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.06); }
.sd:first-child { border-top: 0; } .sd b { color: #fff; font-size: 13px; } .sd small { display: block; color: var(--fk-muted); font-size: 11.5px; }
.sd .trk { height: 9px; background: #0F2A5A; border-radius: 6px; overflow: hidden; } .sd .trk span { display: block; height: 100%; background: linear-gradient(90deg, #2F7BFF, #6FB4FF); border-radius: 6px; }
.sd .v { text-align: right; font-weight: 700; color: #fff; } .sd .v small { font-weight: 400; }
.own { font-family: var(--fk-mono); font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; border-radius: 10px; padding: 1px 6px; margin-left: 6px; border: 1px solid; }
.own.spark { color: var(--fk-gold); border-color: rgba(255,209,0,.55); } .own.rco { color: var(--fk-amber); border-color: rgba(240,185,79,.55); } .own.shared { color: var(--fk-muted); border-color: rgba(159,180,214,.4); } .own.clear { color: var(--fk-green); border-color: rgba(61,203,125,.5); }
.dec { display: flex; align-items: center; gap: 14px; padding: 9px 4px; border-top: 1px solid rgba(255,255,255,.07); }
.dec:first-child { border-top: 0; } .dec .dn { font-size: 22px; font-weight: 700; color: var(--fk-amber); min-width: 28px; text-align: center; } .dec.zero .dn { color: #5C7AAE; }
.dec b { color: #fff; font-size: 13.5px; } .dec small { display: block; color: var(--fk-muted); font-size: 11.5px; } .dec .own { margin-left: auto; }
.cell { display: inline-grid; place-items: center; min-width: 30px; height: 26px; border-radius: 6px; font-weight: 700; font-size: 12.5px; color: #0B1A33; }
.cell.s-submitted { background: #2F7BFF; color: #fff; } .cell.s-interview { background: #6FB4FF; } .cell.s-feedback { background: var(--fk-amber); } .cell.s-offer { background: var(--fk-green); } .cell.s-onboarding { background: #8FC3FF; } .cell.s-sourced { background: #3E5A8A; color: #fff; }
.cell.run { outline: 2px solid #fff; outline-offset: -2px; } .dash { color: #5C7AAE; }
.rts { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; color: var(--fk-muted); } .rts .t { width: 70px; height: 5px; border-radius: 3px; background: #0F2A5A; overflow: hidden; } .rts .t span { display: block; height: 100%; }
.read { font-size: 12px; font-weight: 700; } .read.bad { color: var(--fk-red); } .read.ok { color: var(--fk-green); } .read.amber { color: var(--fk-amber); } .read.sub { color: var(--fk-muted); font-weight: 500; }
.pnote { background: var(--fk-rail); border: 1px solid var(--fk-line); border-left: 4px solid var(--fk-amber); border-radius: 10px; padding: 12px 16px; font-size: 13px; color: #D6E4F7; margin-bottom: 18px; } .pnote b { color: var(--fk-amber); }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.flow .stp { background: #172433; border: 1px solid var(--fk-line); border-radius: 10px; padding: 12px; font-size: 12px; color: var(--fk-muted); } .flow .stp b { display: block; color: #fff; font-size: 13px; margin-bottom: 4px; }
.flow .stp .no { font-family: var(--fk-mono); font-size: 10px; color: var(--fk-sky); }
.lightcard { background: #fff; border: 1px solid var(--fk-hair); border-radius: 12px; padding: 16px 18px; }
/* shell fixes */
.side { overflow-y: auto; } .side .nav { flex: none; overflow: visible; } .side .foot { margin-top: auto; }
.side .brand .ptools { font-family: var(--fk-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #BBD3F5; }
.side a.brand:hover { text-decoration: none; }
.card .step { background: #172433; border-color: var(--fk-line); color: #EAF1FC; } .card .step .t { color: #fff; }
.card .step.done { background: rgba(61,203,125,.12); border-color: rgba(61,203,125,.5); } .card .step.now { background: rgba(240,185,79,.12); border-color: rgba(240,185,79,.6); }
.card .chain .st { background: #172433; border-color: var(--fk-line); color: #EAF1FC; }
.card .chain .st.approved { background: rgba(61,203,125,.12); border-color: rgba(61,203,125,.5); } .card .chain .st.pending { background: rgba(240,185,79,.12); border-color: rgba(240,185,79,.6); } .card .chain .st.rejected { background: rgba(255,138,128,.12); border-color: rgba(255,138,128,.6); }
.kanban { --surface: #1E2A33; --surface-alt: #172433; --ink: #EAF1FC; --ink-muted: var(--fk-muted); --line: var(--fk-line); }
.kanban > div > h3, .kanban .col h3, .kanban .colh { color: var(--fk-ink); }
.kcard { background: var(--fk-rail); border-color: var(--fk-line); color: #EAF1FC; box-shadow: 0 2px 0 #071A3D; } .kcard .nm { color: #fff; } .kcard:hover { border-color: #6FB4FF; }
.kcard.stalled { border-left-color: var(--fk-red); }
.cal { --surface: #1E2A33; --surface-alt: #172433; --ink: #EAF1FC; --ink-muted: var(--fk-muted); --line: var(--fk-line); background: var(--fk-line); border-color: var(--fk-line); color: #EAF1FC; }
.cal .d.off { background: #18232E; } .cal .ev { background: #11346E; color: #EAF1FC; } .cal .d.today .dn { background: var(--fk-gold); color: #0F0F0F; }
.kanban .col h3, .kanban .col h3 span { color: #fff !important; } .kanban .col h3 .muted { color: var(--fk-muted) !important; }
.kanban .col { background: #E1EAF6; border-radius: 12px; padding: 10px; border-top: 4px solid #3E5A8A; }
.kanban .col h3 { color: var(--fk-ink) !important; display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.kanban .col h3 span { color: var(--fk-ink) !important; } .kanban .col h3 .muted { color: var(--fk-sub) !important; background: #fff; border-radius: 10px; padding: 0 8px; }
.kanban .col[data-st=submitted] { border-top-color: #2F7BFF; } .kanban .col[data-st=interview] { border-top-color: #6FB4FF; } .kanban .col[data-st=feedback] { border-top-color: #F0B94F; }
.kanban .col[data-st=offer] { border-top-color: #3DCB7D; } .kanban .col[data-st=onboarding] { border-top-color: #8FC3FF; } .kanban .col[data-st=hired] { border-top-color: #1E8F52; }
.kcard .meta { gap: 5px; } .kcard .meta .chip { font-size: 9px; }
.modal .lightcard b { font-size: 16px; display: block; margin: 2px 0; }
.kcard .badge { color: #C3D5EE; border-color: rgba(195,213,238,.45); }

/* ===================================================================================
   RCO brand layer on the program-shell layout. Colors from rcoeng.com: logo blue
   #253449, headline navy #253449, coral #E76251, grey #B0B0B0. Open Sans Condensed
   headings, Roboto body. Depth from layered gradients, inner highlights and soft
   shadows rather than flat fills.
   =================================================================================== */
:root {
  --rco-blue: #253449; --rco-blue-2: #34496A; --rco-blue-3: #6E96D8; --rco-navy: #253449; --rco-deep: #1B2438; --rco-deeper: #141B2B;
  --rco-coral: #E76251; --rco-coral-2: #F08476; --rco-grey: #B0B0B0; --rco-page: #EEF2F8;
  --fk-rail: #1B2438; --fk-btn: #253449; --fk-line: #2E4A80; --fk-sky: #F08476; --fk-blue: #6E96D8; --fk-red: #F08476; --fk-rco: #253449;
}
body { font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif; background: radial-gradient(1200px 600px at 100% -10%, #DCE5F4 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #E6EBF5 0%, transparent 60%), var(--rco-page); background-attachment: fixed; }
h1, h2, h3, .topbar h1, .kpi .n, .tile .val, .gnum b, .funnel .node .ball, .dec .dn, .sd .v, .gsplit b { font-family: 'Open Sans', 'Roboto', sans-serif; font-stretch: 75%; letter-spacing: .01em; }
.topbar h1 { font-size: 24px; color: var(--rco-navy); }
.topbar { background: linear-gradient(180deg, #fff, #F8FAFD); box-shadow: 0 1px 0 #DCE3EE, 0 6px 18px rgba(37, 52, 73,.06); }
.topbar .crumb { color: #6B7891; }

/* Rail: deep RCO navy with a lit top edge and a faint diagonal weave */
.side { background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 22%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #202B44 0%, var(--rco-deep) 45%, var(--rco-deeper) 100%);
  border-right: 1px solid #0E1422; box-shadow: inset -1px 0 0 rgba(255,255,255,.05), 6px 0 24px rgba(20,27,43,.18); }
.side .brand { border-bottom-color: rgba(255,255,255,.12); }
.side .brand img { box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.nav .grp { color: var(--rco-grey); }
.nav a { background: linear-gradient(180deg, #34496A 0%, var(--rco-blue) 55%, #163A7A 100%); border: 1px solid #2B5BB0; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 2px 6px rgba(5,12,30,.35); }
.nav a:hover { background: linear-gradient(180deg, #2C62BF 0%, #1E4C9E 100%); border-color: #5C88D6; }
.nav a.on, .nav a.on:hover { background: linear-gradient(180deg, #fff, #F1F5FB); color: var(--rco-navy); border-color: #fff; box-shadow: inset 4px 0 0 var(--rco-coral), 0 10px 24px rgba(0,0,0,.35); }
.nav a.on svg { color: var(--rco-coral); }
.nav a.site.pub { border-left: 3px solid var(--rco-blue-3); }
.nav a.temp { background: rgba(37, 52, 73,.35); }
.side .who { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border-color: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }

/* Cards: lit navy panels with an RCO blue rim */
.card { background: linear-gradient(180deg, #24304B 0%, var(--rco-deep) 38%, #182033 100%); border: 1px solid #2E4A80;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 1px 0 rgba(255,255,255,.04), 0 10px 26px rgba(20,27,43,.18); --surface: #1F2A42; --surface-alt: #19223A; }
.card > h2, .card > h3, .card .hd { color: var(--rco-coral-2); border-bottom-color: rgba(255,255,255,.1); font-family: 'Open Sans', sans-serif; font-stretch: 75%; font-size: 14px; letter-spacing: .06em; }
.card input, .card select, .card textarea { background: #141C2E; border-color: #2E4A80; }
.card .btn.primary, .btn.primary { background: linear-gradient(180deg, var(--rco-coral-2), var(--rco-coral) 60%, #D9503F); border-color: #D9503F; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(231, 98, 81,.28); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { color: var(--rco-blue); border-color: var(--rco-blue); }

/* KPI tiles: RCO blue glass with a colored lip */
.kpi, .tile { background: linear-gradient(160deg, #34496A 0%, var(--rco-blue) 42%, #142F66 100%); border: 1px solid #3463B8; border-top: 3px solid var(--rco-blue-3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -18px 30px rgba(0,0,0,.12), 0 8px 20px rgba(37, 52, 73,.25); }
.kpi:hover { border-color: #8FB2EE; box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 12px 26px rgba(37, 52, 73,.32); }
.kpi .l, .tile .lbl, .tile .sub { color: #C9D7F0; }
.kpi.bad, .tile.bad, .tile.alert { border-top-color: var(--rco-coral); } .kpi.bad .n, .tile.bad .val, .tile.alert .val { color: #FFB2A8; }
.kpi.warn, .tile.warn { border-top-color: #F0B94F; } .kpi.warn .n, .tile.warn .val { color: #FFD58A; }
.kpi.good, .tile.good { border-top-color: #3DCB7D; } .kpi.mute, .tile.mute { border-top-color: #6B7FA8; }

/* Tabs, chips and boards in RCO tones */
.ptabs button, .tabs button { background: #fff; border-color: #D6DFEC; color: var(--rco-navy); box-shadow: 0 1px 2px rgba(37, 52, 73,.06); }
.ptabs button:hover { border-color: var(--rco-blue-3); }
.ptabs button.on, .tabs button.on { background: linear-gradient(180deg, #34496A, var(--rco-blue)); color: #fff; border-color: var(--rco-blue); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 10px rgba(37, 52, 73,.25); }
.chip.red { color: var(--rco-coral-2); border-color: rgba(231, 98, 81,.65); background: rgba(231, 98, 81,.12); }
.own.spark { color: #FFD58A; border-color: rgba(255,213,138,.55); } .own.rco { color: var(--rco-coral-2); border-color: rgba(240,132,118,.6); }
.dec .dn { color: var(--rco-coral-2); }
.live { color: #7FE0A8; border-color: rgba(127,224,168,.45); }
.kanban .col { background: linear-gradient(180deg, #E7EDF7, #DFE7F3); box-shadow: inset 0 1px 0 #fff; }
.kanban .col h3, .kanban .col h3 span { color: var(--rco-navy) !important; font-family: 'Open Sans', sans-serif; font-stretch: 75%; font-size: 14px; }
.kcard { background: linear-gradient(180deg, #24304B, var(--rco-deep)); border-color: #2E4A80; box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 4px 10px rgba(20,27,43,.2); }
.kcard.stalled { border-left: 4px solid var(--rco-coral); }
.cell.s-submitted { background: var(--rco-blue-2); } .cell.s-interview { background: var(--rco-blue-3); }
.funnel .node .ball { box-shadow: inset 0 2px 0 rgba(255,255,255,.25), 0 6px 14px rgba(0,0,0,.3); }
.sd .trk span { background: linear-gradient(90deg, var(--rco-blue-2), var(--rco-blue-3)); }
.lightcard { box-shadow: 0 1px 0 #fff inset, 0 6px 16px rgba(37, 52, 73,.08); border-color: #D9E1EE; }
.pnote { border-left-color: var(--rco-coral); }
.badge.accent, .badge.primary { background: var(--rco-coral); }
.modal { border-top: 4px solid var(--rco-coral); }
/* Brand mark: RCO's white logo on the rail, full width, no box */
.side .brand { display: block; padding: 14px 14px 18px; margin: 0 0 14px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.side .brand img { display: block; width: 100%; max-width: 190px; height: auto; margin: 0 auto; background: none; border-radius: 0; padding: 0; box-shadow: none; filter: none; }
.side .brand::after { content: ''; position: absolute; left: 50%; bottom: -1px; width: 44px; height: 2px; margin-left: -22px; background: var(--rco-coral); border-radius: 2px; }
.side .brand:hover img { opacity: .9; }
/* Rail footer: compact signed-in card and a readable Powered by Spark lockup */
.side .foot { margin-top: auto; padding: 16px 2px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.side .who { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; margin: 0 0 16px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.side .who .av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; color: #fff; background: linear-gradient(160deg, #34496A, #253449); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 2px rgba(231, 98, 81,.55); }
.side .who .wt { flex: 1; min-width: 0; line-height: 1.25; }
.side .who .wt b { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
.side .who .wt span { display: block; font-size: 11px; color: #AEBBD3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .who button { flex: none; width: 32px; height: 32px; margin: 0; padding: 0; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #DCE4F2; }
.side .who button:hover { background: rgba(231, 98, 81,.18); border-color: rgba(231, 98, 81,.6); color: #fff; }
.side .who button svg { width: 16px; height: 16px; }
.side .foot .powered { display: flex; justify-content: center; align-items: flex-start; gap: 2px; padding: 2px 0 6px; background: none; opacity: .92; transition: opacity .15s; }
.side .foot .powered:hover { opacity: 1; text-decoration: none; }
.side .foot .powered img { height: 46px; width: auto; filter: none; opacity: 1; }
.side .foot .powered sup { color: #C9D3E6; font-size: 9px; margin-top: 2px; }
/* The registered mark sits just past the K, level with the top of SPARK. (An older rule's right: 14px was dragging it back over the wordmark.) */
.side .foot .powered sup { margin: 0 0 0 1px; align-self: flex-start; position: relative; top: 12px; right: auto; left: 0; line-height: 1; }

/* ===================================================================================
   Light content layer: the rail stays dark as the anchor; cards and tiles go white
   with soft depth, navy text, coral section labels and RCO-blue numbers.
   Status colors are darkened inside the content area so they read on white.
   =================================================================================== */
.content, .modal {
  --fk-muted: #66748F; --fk-amber: #B7791F; --fk-green: #1E8E55; --fk-red: #D9503F; --fk-gold: #9A7B00; --fk-sky: var(--rco-coral);
  --c-strong: var(--rco-navy); --c-text: #3A4763; --c-sub-bg: #F3F6FB; --c-track: #E3E9F3; --k-strong: var(--rco-navy);
}
.content .card { background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFE 100%); border: 1px solid #DCE3EE; color: var(--c-text);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(37, 52, 73,.05), 0 8px 22px rgba(37, 52, 73,.08);
  --surface: #fff; --surface-alt: #F5F7FB; --ink: #1F2A44; --ink-muted: #66748F; --line: #E3E9F3; --headline: var(--rco-navy); --info: var(--rco-blue); }
.content .card a { color: var(--rco-blue); }
.content .card > h2, .content .card > h3, .content .card .hd { color: var(--rco-coral); border-bottom-color: #E8EDF5; }
.content .card table th { color: #6B7891; border-bottom-color: #E3E9F3; }
.content .card table td { color: #1F2A44; border-bottom-color: #EEF2F7; }
.content .card table tr.click:hover td { background: #F1F5FC; }
.content .card input, .content .card select, .content .card textarea { background: #fff; color: #1F2A44; border: 1px solid #CFD8E6; }
.content .card .btn { background: #fff; color: var(--rco-navy); border-color: #CFD8E6; }
.content .card .btn:hover { background: #F3F6FB; border-color: var(--rco-blue-3); }
.content .card .btn.primary { background: linear-gradient(180deg, var(--rco-coral-2), var(--rco-coral) 60%, #D9503F); border-color: #D9503F; color: #fff; }
.content .card .badge { color: #5A6B8C; border-color: #CFD8E6; }
.content .card .badge.info { color: var(--rco-blue); border-color: rgba(37, 52, 73,.35); }

/* Text tuned for the old dark panels */
.content .it { border-top-color: #EEF2F7; } .content .it b { color: var(--rco-navy); } .content .it:hover b { color: var(--rco-blue); }
.content .gside .lead { color: var(--c-text); } .content .gside .lead b, .content .gsplit b { color: var(--rco-navy); }
.content .gsplit { border-top-color: #E8EDF5; } .content .gsplit .gap b { color: var(--fk-amber); }
.content .gnum b { color: var(--rco-blue); }
.content .sd { border-top-color: #EEF2F7; } .content .sd b, .content .sd .v { color: var(--rco-navy); } .content .sd .trk, .content .rts .t { background: var(--c-track); }
.content .dec { border-top-color: #EEF2F7; } .content .dec b { color: var(--rco-navy); } .content .dec .dn { color: var(--rco-coral); } .content .dec.zero .dn { color: #A7B3C9; }
.content .funnel .node .nl { color: var(--rco-navy); } .content .funnel .link { background: #C9D6EC; } .content .funnel .link span { color: var(--rco-blue); }
.content .funnel .node .ball { box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 6px 14px rgba(37, 52, 73,.2); }
.content .chip.blue { color: var(--rco-blue); border-color: rgba(37, 52, 73,.35); } .content .chip.plain { border-color: #CFD8E6; }
.content .chip.ok { border-color: rgba(30,142,85,.45); } .content .chip.amber { border-color: rgba(183,121,31,.5); }
.content .chip.red { color: #C8412F; border-color: rgba(217,80,63,.5); background: rgba(231, 98, 81,.08); }
.content .own.spark { color: #8A6A00; border-color: rgba(154,123,0,.45); } .content .own.rco { color: #C8412F; border-color: rgba(217,80,63,.5); } .content .own.shared { border-color: #CFD8E6; }
.content .live { color: #1E8E55; border-color: rgba(30,142,85,.45); background: rgba(30,142,85,.06); }
.content .cell.run { outline-color: var(--rco-navy); } .content .dash { color: #A7B3C9; }
.content .card .step, .content .card .chain .st, .content .flow .stp { background: #F5F7FB; border-color: #DCE3EE; color: var(--c-text); }
.content .card .step .t, .content .flow .stp b { color: var(--rco-navy); } .content .flow .stp .no { color: var(--rco-coral); }
.content .card .step.done, .content .card .chain .st.approved { background: rgba(30,142,85,.07); border-color: rgba(30,142,85,.4); }
.content .card .step.now, .content .card .chain .st.pending { background: rgba(183,121,31,.08); border-color: rgba(183,121,31,.45); }
.content .card .chain .st.rejected { background: rgba(217,80,63,.07); border-color: rgba(217,80,63,.45); }
.content .pnote { background: #fff; border-color: #DCE3EE; border-left-color: var(--rco-coral); color: var(--c-text); box-shadow: 0 4px 14px rgba(37, 52, 73,.06); }
.content .pnote b { color: var(--rco-coral); }

/* KPI tiles: white with a colored lip and RCO-blue numbers */
.content .kpi, .content .tile { background: linear-gradient(180deg, #FFFFFF, #F7F9FD); border: 1px solid #DCE3EE; border-top: 4px solid var(--rco-blue); color: var(--c-text);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(37, 52, 73,.05), 0 8px 18px rgba(37, 52, 73,.08); }
.content .kpi:hover, .content .tile:hover { border-color: #B9C9E4; border-top-color: var(--rco-blue-2); box-shadow: 0 12px 24px rgba(37, 52, 73,.14); }
.content .kpi .n, .content .tile .val { color: var(--rco-blue); }
.content .kpi .l, .content .tile .lbl, .content .tile .sub { color: #66748F; }
.content .kpi.bad, .content .tile.bad, .content .tile.alert { border-top-color: var(--rco-coral); } .content .kpi.bad .n, .content .tile.bad .val, .content .tile.alert .val { color: #D9503F; }
.content .kpi.warn, .content .tile.warn { border-top-color: #E3A33A; } .content .kpi.warn .n, .content .tile.warn .val { color: #B7791F; }
.content .kpi.good, .content .tile.good { border-top-color: #2FAE6A; } .content .tile.good .val { color: var(--rco-blue); }
.content .kpi.mute, .content .tile.mute { border-top-color: #B0B0B0; }

/* Boards and calendar */
.content .kanban { --surface: #fff; --surface-alt: #F5F7FB; --ink: #1F2A44; --ink-muted: #66748F; --line: #E3E9F3; }
.content .kcard { background: #fff; border-color: #DCE3EE; color: var(--c-text); box-shadow: 0 1px 2px rgba(37, 52, 73,.06), 0 4px 10px rgba(37, 52, 73,.06); }
.content .kcard .nm { color: var(--rco-navy); } .content .kcard:hover { border-color: var(--rco-blue-3); }
.content .kcard .badge { color: #5A6B8C; border-color: #CFD8E6; }
.content .cal { --surface: #fff; --surface-alt: #F5F7FB; --ink: #1F2A44; --ink-muted: #66748F; --line: #E3E9F3; background: #E3E9F3; border-color: #DCE3EE; color: #1F2A44; }
.content .cal .d.off { background: #F5F7FB; } .content .cal .ev { background: #E6EEFA; color: var(--rco-blue); }

/* Hover: coral glow outline on anything clickable */
.content .kpi, .content .tile, .content .kcard, .content a.card, .content .card.click { transition: border-color .15s, box-shadow .15s, transform .15s; }
.content .kpi:hover, .content .tile:hover, .content .kcard:hover, .content a.card:hover, .content .card.click:hover {
  border-color: var(--rco-coral); box-shadow: 0 0 0 3px rgba(231, 98, 81,.18), 0 10px 24px rgba(231, 98, 81,.16); transform: translateY(-1px); }
.content .kpi:hover, .content .tile:hover { border-top-color: var(--rco-coral); }
.content .card { transition: border-color .15s, box-shadow .15s; }
.content .card:hover { border-color: rgba(231, 98, 81,.7); box-shadow: 0 0 0 3px rgba(231, 98, 81,.14), 0 10px 26px rgba(231, 98, 81,.12); }

/* KPI tile icons: a tinted RCO-blue chip in the corner */
.content .kpi { position: relative; }
.content .kpi .ki { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--rco-blue); background: linear-gradient(180deg, #EEF3FB, #E2EAF7); box-shadow: inset 0 1px 0 #fff; }
.content .kpi .ki svg { width: 16px; height: 16px; }
.content .kpi.bad .ki { color: #D9503F; background: #FDECEA; } .content .kpi.warn .ki { color: #B7791F; background: #FDF3E1; } .content .kpi.good .ki { color: #1E8E55; background: #E6F6ED; } .content .kpi.mute .ki { color: #8A94A8; background: #F1F3F7; }
.content .kpi[style*="display:flex"] { padding-right: 50px; }
.content .kpi[style*="display:flex"] .ki { top: 50%; margin-top: -15px; }

/* Candidate cards: a colored left edge says where each one stands */
.content .kcard { border-left: 4px solid #C9D3E3; }
.content .kcard.k-submitted, .content .kcard.k-feedback { border-left-color: #E3A33A; }
.content .kcard.k-interview { border-left-color: var(--rco-blue-3); }
.content .kcard.k-offer, .content .kcard.k-onboarding { border-left-color: #2FAE6A; }
.content .kcard.stalled { border-left-color: var(--rco-coral); }

/* Empty states: an icon, then the line about what will show up */
.content .empty:not(.small) { padding: 30px 20px 26px; color: #66748F; font-size: 13px; line-height: 1.5; }
.content .empty:not(.small)::before { content: ''; display: block; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 14px; background: linear-gradient(180deg, #EEF3FB, #E2EAF7) padding-box; box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(37, 52, 73,.08);
  -webkit-mask: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A428A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13h5l1.5 3h5L16 13h5'/%3E%3Cpath d='M5.5 5h13L21 13v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5z'/%3E%3C/svg%3E"), linear-gradient(180deg, #EEF3FB, #E2EAF7); background-repeat: no-repeat; background-position: center; background-size: 22px 22px, 100% 100%; }
.content .hint { color: #66748F; }

/* Calendar: month at a glance */
.calcard .hd { display: flex; align-items: center; gap: 10px; } .calcard .hd i { margin-left: 0; } .calcard .hd .live { margin-left: auto; }
.caltools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 16px; }
.caltools h2 { font-size: 22px; color: var(--rco-navy); margin: 0 10px 0 0; min-width: 190px; }
.caltools .seg { display: inline-flex; gap: 6px; }
.content .caltools .btn.on { background: linear-gradient(180deg, var(--rco-blue-2), var(--rco-blue)); color: #fff; border-color: var(--rco-blue); }
.caltools .spacer { flex: 1; }
.calleg { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #3A4763; } .calleg span { display: inline-flex; align-items: center; gap: 5px; }
.calleg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.calleg i.interview { background: var(--rco-blue-2); } .calleg i.held { background: #1E7A4C; } .calleg i.start { background: #2FAE6A; } .calleg i.onsite { background: #7B5BD6; } .calleg i.offer_expires { background: var(--rco-coral); }
.cal2 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.cal2 .ch { text-align: center; font-family: var(--fk-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #fff; padding: 7px 0; border-radius: 7px;
  background: linear-gradient(180deg, var(--rco-blue-2), var(--rco-blue)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.cal2 .ch.wk { background: none; color: #66748F; box-shadow: none; }
.cal2 .cd { min-height: 88px; border-radius: 9px; padding: 8px 9px; background: #fff; border: 1px solid #D2DBE9; display: flex; flex-direction: column; gap: 5px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cal2 .cd.blank { background: none; border: 0; }
.cal2 .cd .cn { font-weight: 700; font-size: 14px; color: var(--rco-navy); }
.cal2 .cd.wk { background: linear-gradient(160deg, var(--rco-blue-2) 0%, var(--rco-blue) 45%, #163A7A 100%); border-color: #163A7A; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.cal2 .cd.wk .cn { color: #fff; }
.cal2 .cd.past:not(.wk) { background: #F4F6FA; } .cal2 .cd.past .cn { color: #8A94A8; } .cal2 .cd.wk.past .cn { color: #fff; opacity: .8; }
.cal2 .cd.past .cp { opacity: .8; }
.cal2 .cd.today { border: 2px solid #E3A33A; box-shadow: 0 0 0 3px rgba(227,163,58,.15); } .cal2 .cd.today .cn { color: #B7791F; }
.cal2 .cd.has { cursor: pointer; }
.cal2 .cd.has:hover { border-color: var(--rco-coral); box-shadow: 0 0 0 3px rgba(231, 98, 81,.16), 0 8px 18px rgba(231, 98, 81,.14); transform: translateY(-1px); }
.cp { display: block; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; border: 1px solid; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp.interview { background: #E8F0FC; border-color: #A9C2EC; color: var(--rco-blue); }
.cp.held { background: #E3F3EA; border-color: #8FCBAA; color: #1E6B44; }
.cp.start { background: #E6F7EE; border-color: #7FD3A5; color: #1E7A4C; }
.cp.onsite { background: #F1ECFC; border: 1px dashed #A891E6; color: #5B3FB8; }
.cp.offer_expires { background: #FDECEA; border-color: #F3B1A8; color: #C8412F; }
.cp.deadline, .cp.review { background: #F3F6FB; border-color: #CFD8E6; color: var(--rco-navy); }
.cp.holiday, .cp.shutdown { background: #FFF6E5; border-color: #F0CF8A; color: #8A5A00; }
.cal2 .cd.wk .cp { background: rgba(255,255,255,.92); }
.feeds li { align-items: flex-start; } .feeds .cp { flex: none; min-width: 130px; text-align: center; margin-right: 12px; }
@media (max-width: 760px) { .cal2 { gap: 4px; } .cal2 .cd { min-height: 64px; padding: 5px; } .cp { font-size: 10px; padding: 2px 4px; } .caltools h2 { min-width: 0; width: 100%; } }

/* One type system everywhere (matches both careers sites): Roboto for text, labels,
   chips and numbers; Open Sans Condensed for headings and big figures. */
:root { --fk-mono: 'Roboto', 'Segoe UI', system-ui, sans-serif; --fk-font: 'Roboto', 'Segoe UI', system-ui, sans-serif; }
.chip, .badge, .own, .live, .cal2 .ch, .topbar .crumb, .nav .grp, .card > h2 i, .card .hd i, .card table th { font-family: var(--font); font-weight: 600; font-variant-numeric: tabular-nums; }
.letter { font-family: var(--font); }
input, select, textarea, button { font-family: inherit; }
/* Drag a candidate card to another stage */
.content .kcard.drag { cursor: grab; } .content .kcard.dragging { opacity: .5; cursor: grabbing; }
.content .kcard.saving { opacity: .6; pointer-events: none; }
.kanban .col.over { outline: 2px dashed var(--rco-coral); outline-offset: -4px; background: linear-gradient(180deg, #FDF0EE, #F8E6E3); }
.nav a.temp.on, .nav a.temp.on:hover { background: linear-gradient(180deg, #fff, #F1F5FB); color: var(--rco-navy); border-style: solid; }

/* Viewing as (Spark admins) */
.viewas-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: #FFF4E5; color: #5A3B00; border-bottom: 1px solid #F0B94F; font-size: 14px; }
.viewas-strip .icon, .viewas-strip svg { width: 16px; height: 16px; }
.viewas-strip .btn { margin-left: auto; }
.viewas-btn { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.viewas-btn:hover { background: rgba(255,255,255,.16); }
.viewas-btn svg { width: 15px; height: 15px; }

/* JD Builder: five steps */
.jd-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
@media (max-width: 1000px) { .jd-steps { grid-template-columns: 1fr; } }
.jd-step { display: flex; gap: 10px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-alt); font-size: 12.5px; }
.jd-step > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jd-step .n { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 12px; }
.jd-step .n svg { width: 14px; height: 14px; }
.jd-step .who { font-weight: 600; color: var(--ink-2, #3b4454); }
.jd-step.done { background: #E6F4EC; border-color: #BFE3CD; } .jd-step.done .n { background: #3DCB7D; color: #fff; border-color: #3DCB7D; }
.jd-step.now { background: #FDEEEB; border-color: #F5C9C1; box-shadow: 0 0 0 2px rgba(232,96,76,.18); } .jd-step.now .n { background: var(--accent, #E8604C); color: #fff; border-color: transparent; }
.jd-wait { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-alt); font-size: 14px; }
.jd-wait svg { width: 16px; height: 16px; } .jd-wait .btn { margin-left: auto; }
.jd-wait.late { background: #FFF4E5; color: #5A3B00; } .jd-wait.done { background: #E6F4EC; }
.jd-part { position: relative; border: 1px dashed var(--line); border-radius: 10px; padding: 26px 14px 6px; margin: 14px 0; }
.jd-part > .tag { position: absolute; top: -10px; left: 12px; background: var(--surface, #fff); padding: 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted, #5b6472); }
.jd-part.locked { border-style: solid; background: rgba(61,203,125,.05); }
.jd-doc h4 { margin: 10px 0 2px; font-size: 13px; }

/* Greeting and My work */
.hello { margin: 0 0 14px; }
.hello h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.hello p { margin: 4px 0 0; color: var(--muted, #5b6472); font-size: 14px; }
.hello a { color: var(--accent, #E8604C); font-weight: 600; }
.work { display: flex; flex-direction: column; gap: 8px; }
.work-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface, #fff); border: 1px solid var(--line); border-left: 4px solid #4FA3F0; color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.work-item:hover { box-shadow: 0 0 0 3px rgba(232,96,76,.18); border-color: var(--accent, #E8604C); }
.work-item.urgent { border-left-color: #E8604C; } .work-item.upcoming { border-left-color: #3DCB7D; }
.work-item .wi { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-alt); }
.work-item .wi svg { width: 17px; height: 17px; }
.work-item .wt { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.work-item .wk { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted, #5b6472); }
.work-item .wd { font-size: 12px; font-weight: 600; color: var(--muted, #5b6472); white-space: nowrap; }
.work-item.urgent .wd { color: #C2410C; }

.cols4.cols3h { grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }
@media (max-width: 1100px) { .cols4.cols3h { grid-template-columns: 1fr; } }

/* Reports cards */
.reps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card.rep h3 { margin: 4px 0 6px; font-size: 16px; }
.card.rep .rk { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent, #E8604C); }

/* Wage Analysis (Fletcher's layout) */
.wa-mast { background: linear-gradient(135deg, var(--primary, #253449), #142F66); color: #fff; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.wa-kick { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #FFB4A8; } .wa-kick.muted { color: rgba(255,255,255,.65); margin-top: 3px; }
.wa-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 14px 0; }
.wa-stats > div { background: rgba(255,255,255,.08); border-radius: 10px; padding: 12px; } .wa-stats span { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.wa-stats b { display: block; font-size: 26px; margin: 2px 0; } .wa-stats b.sm { font-size: 18px; } .wa-stats b em { font-size: 13px; font-style: normal; opacity: .7; } .wa-stats small { opacity: .75; font-size: 12px; }
.wa-vint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; } .wa-vint > span:first-child { text-transform: uppercase; letter-spacing: .08em; opacity: .7; font-size: 11px; }
.wa-vint .seg { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; overflow: hidden; } .wa-vint .seg button { background: none; color: #fff; border: 0; padding: 6px 12px; font: inherit; cursor: pointer; } .wa-vint .seg button.on { background: #fff; color: var(--primary, #253449); font-weight: 700; }
.wa-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; } .wa-tabs button { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface, #fff); font: inherit; font-weight: 600; cursor: pointer; } .wa-tabs button i { font-style: normal; font-size: 11px; color: var(--accent, #E8604C); font-weight: 800; } .wa-tabs button.on { background: var(--primary, #253449); color: #fff; border-color: transparent; } .wa-tabs button.on i { color: #FFB4A8; }
.wa-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } @media (max-width: 900px) { .wa-steps { grid-template-columns: 1fr; } }
.wa-step { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, #E8604C); margin-bottom: 6px; } .wa-steps select { width: 100%; }
.wa-scale-hd { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0 8px; }
.wa-gauge { position: relative; height: 86px; margin: 4px 10px 6px; } .wa-track { position: absolute; left: 0; right: 0; top: 34px; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #E8604C 0%, #F0B94F 22%, #3DCB7D 42%, #3DCB7D 62%, #F0B94F 80%, #E8604C 100%); }
.wa-tick { position: absolute; top: 50px; transform: translateX(-50%); text-align: center; font-size: 11.5px; } .wa-tick span { display: block; font-weight: 700; } .wa-tick em { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #7a8394; }
.wa-mark { position: absolute; top: 0; transform: translateX(-50%); transition: left .2s; } .wa-mark b { display: block; background: #1b2230; color: #F0B94F; padding: 3px 8px; border-radius: 6px; font-size: 12.5px; white-space: nowrap; } .wa-mark::after { content: ''; display: block; width: 4px; height: 22px; margin: 2px auto 0; background: #F0B94F; border-radius: 2px; box-shadow: 0 0 0 2px #1b2230; }
.wa-lamp { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; margin: 10px 0; background: var(--surface-alt); } .wa-lamp i { flex: 0 0 16px; height: 16px; border-radius: 50%; margin-top: 3px; } .wa-lamp p { margin: 4px 0 0; font-size: 13.5px; }
.wa-lamp.stop { background: #FDECEA; } .wa-lamp.stop i { background: #E8604C; box-shadow: 0 0 10px #E8604C; } .wa-lamp.amber { background: #FFF4E5; } .wa-lamp.amber i { background: #F0B94F; box-shadow: 0 0 10px #F0B94F; } .wa-lamp.go { background: #E6F4EC; } .wa-lamp.go i { background: #3DCB7D; box-shadow: 0 0 10px #3DCB7D; }
.wa-stat4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } @media (max-width: 800px) { .wa-stat4 { grid-template-columns: 1fr 1fr; } } .wa-stat4 > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; } .wa-stat4 span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #7a8394; } .wa-stat4 b { display: block; font-size: 22px; margin-top: 2px; }
b.stop, em.stop { color: #C2410C; } b.go, em.go { color: #1E8F52; } b.amber, em.amber { color: #B7791F; }
.wa-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent, #E8604C); margin: 0 0 8px; }
.wa-kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); } .wa-kv small { display: block; color: #7a8394; } .wa-kv em { font-style: normal; font-weight: 800; white-space: nowrap; }
.wa-adv { padding: 9px 12px; border-left: 3px solid var(--accent, #E8604C); background: var(--surface-alt); border-radius: 6px; margin-bottom: 8px; font-size: 13.5px; }
.wa-t td.jt b { display: block; } .wa-t td.jt small { color: #7a8394; } .wa-t td.hi { font-weight: 800; } .wa-t tr.hot td:first-child { box-shadow: inset 3px 0 0 #E8604C; } .wa-t th.sortable { cursor: pointer; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--surface-alt); } .pill.stop { background: #FDECEA; color: #C2410C; } .pill.amber { background: #FFF4E5; color: #B7791F; } .pill.go { background: #E6F4EC; color: #1E8F52; } .pill.blue { background: #E8F0FB; color: #253449; }
.pill.lv0 { background: #E8F0FB; color: #34496A; } .pill.lv1 { background: #DCE7F8; color: #253449; } .pill.lv2 { background: #253449; color: #fff; } .pill.lv3 { background: #142F66; color: #fff; }
.wa-pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; } .wa-pcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px; border-top: 4px solid #6E96D8; } .wa-pcard.lv1 { border-top-color: #34496A; } .wa-pcard.lv2 { border-top-color: #253449; } .wa-pcard.lv3 { border-top-color: #142F66; }
.wa-pcard .ph { display: flex; justify-content: space-between; align-items: center; } .wa-pcard .pr { font-size: 22px; font-weight: 800; margin: 8px 0; } .wa-pcard .pr small { display: block; font-size: 12px; font-weight: 400; color: #7a8394; }
.wa-pcard dl { margin: 0; font-size: 12.5px; } .wa-pcard dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #7a8394; margin-top: 8px; } .wa-pcard dd { margin: 2px 0 0; }
.wa-pool .pbar { display: grid; grid-template-columns: 220px 1fr 80px 100px 100px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13px; } .wa-pool .phdr { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #7a8394; } .wa-pool .act { font-weight: 800; }
.wa-pool .ptrack { height: 12px; background: var(--surface-alt); border-radius: 6px; overflow: hidden; } .wa-pool .ptrack i { display: block; height: 100%; border-radius: 6px; background: #253449; transition: width .5s; }
.wa-pool i.fam-trade { background: #253449; } .wa-pool i.fam-prod { background: #6E96D8; } .wa-pool i.fam-qual { background: #3DCB7D; } .wa-pool i.fam-eng { background: #E8604C; } .wa-pool i.fam-pm { background: #F0B94F; } .wa-pool i.fam-biz { background: #9aa3b2; }
@media (max-width: 800px) { .wa-pool .pbar { grid-template-columns: 1fr 1fr; } .wa-pool .pbar > span:nth-child(n+3) { display: none; } }

/* Offer history trail */
.trail { list-style: none; margin: 0; padding: 0; }
.trail li { display: flex; gap: 10px; padding: 0 0 14px; position: relative; }
.trail li::before { content: ''; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.trail li:last-child::before { display: none; } .trail li:last-child { padding-bottom: 0; }
.trail li > i { flex: 0 0 12px; height: 12px; border-radius: 50%; margin-top: 4px; background: #9aa3b2; z-index: 1; }
.trail li.good > i { background: #3DCB7D; } .trail li.sent > i { background: var(--accent, #E8604C); } .trail li.seen > i { background: #F0B94F; }
.trail li div { display: flex; flex-direction: column; } .trail li b { font-size: 13.5px; font-weight: 600; }

/* Contract duration */
.kpi.sel { box-shadow: 0 0 0 3px rgba(232,96,76,.35); border-color: var(--accent, #E8604C); }
a.kpi[data-dur] { cursor: pointer; text-decoration: none; color: inherit; }
.dur { position: relative; padding-bottom: 14px; min-width: 180px; }
.dur-track { position: relative; height: 10px; border-radius: 5px; background: var(--surface-alt); overflow: hidden; }
.dur-track span { display: block; height: 100%; border-radius: 5px; background: #3DCB7D; }
.dur-track span.info { background: #4FA3F0; } .dur-track span.warn { background: #F0B94F; } .dur-track span.bad { background: #E8604C; }
.dur-track i { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(27,34,48,.45); }
.dur-ticks em { position: absolute; bottom: 0; transform: translateX(-50%); font-style: normal; font-size: 10px; color: #7a8394; }

/* One account menu, top right: name, role, and the actions that used to sit at the bottom of the sidebar. */
.usermenu { position: relative; }
.usermenu .user { display: flex; align-items: center; gap: 10px; background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 6px 10px; cursor: pointer; font: inherit; color: inherit; }
.usermenu .user:hover, .usermenu .user[aria-expanded="true"] { background: rgba(37, 52, 73,.06); border-color: rgba(37, 52, 73,.18); }
.usermenu .user svg { width: 14px; height: 14px; opacity: .6; }
.usermenu-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: #fff; border: 1px solid #d8dde6; border-radius: 10px; box-shadow: 0 12px 32px rgba(15,30,60,.18); padding: 6px; z-index: 60; }
.usermenu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: 0; border-radius: 7px; padding: 9px 10px; font: inherit; font-size: 13.5px; color: #1b2433; cursor: pointer; text-align: left; }
.usermenu-pop button:hover, .usermenu-pop button:focus-visible { background: #eef2f9; }
.usermenu-pop button svg { width: 16px; height: 16px; color: #253449; }

/* Copyright line: sign-in page and the bottom of the left menu. */
.copyr { margin: 8px 0 0; font-size: 11px; line-height: 1.4; text-align: center; color: #6b7280; }
.side .foot .copyr { color: #AEBBD3; font-size: 10px; margin: 2px 0 8px; }

/* ---------- People and access ---------- */
.pa { display: grid; gap: 16px; color: #1b2433; }
.pa-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pa-head h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.01em; }
.pa-head p { margin: 0; color: #5b6472; font-size: 13.5px; max-width: 640px; }
.pa-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pa-stat { background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(15,30,60,.04); }
.pa-stat .n { font-size: 26px; font-weight: 700; line-height: 1.1; color: #12203a; }
.pa-stat .n span { font-size: 15px; color: #7a8598; font-weight: 600; }
.pa-stat .l { font-size: 13px; font-weight: 600; margin-top: 4px; }
.pa-stat .s { font-size: 12px; color: #7a8598; margin-top: 2px; }
.pa-stat .bar { height: 6px; border-radius: 3px; background: #e9eef6; margin-top: 8px; overflow: hidden; }
.pa-stat .bar i { display: block; height: 100%; background: #253449; border-radius: 3px; }
.pa-stat.warn .bar i { background: #E76251; }
.pa-card { background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; box-shadow: 0 1px 2px rgba(15,30,60,.04); overflow: hidden; }
.pa-card-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 16px 10px; }
.pa-card-h b { font-size: 14.5px; } .pa-card-h span { font-size: 12.5px; color: #7a8598; }
.pa-preview { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; background: linear-gradient(180deg, #f6f9ff, #fff); border-color: #cfdcf3; }
.pa-preview-txt b { display: flex; align-items: center; gap: 8px; font-size: 14px; } .pa-preview-txt b svg { width: 17px; height: 17px; color: #253449; }
.pa-preview-txt span { display: block; font-size: 12.5px; color: #5b6472; margin-top: 2px; max-width: 520px; }
.pa-preview-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pa-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.pa-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid #eef1f6; }
.pa-search { position: relative; flex: 1; min-width: 220px; max-width: 340px; }
.pa-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #7a8598; pointer-events: none; }
.pa-search input { width: 100%; padding: 8px 10px 8px 32px; border: 1px solid #d5dbe6; border-radius: 8px; font: inherit; font-size: 13.5px; background: #fff; }
.pa-search input:focus { outline: 2px solid rgba(37, 52, 73,.25); border-color: #253449; }
.pa-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pa-chips button { border: 1px solid #d5dbe6; background: #fff; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12.5px; font-weight: 600; color: #3b4658; cursor: pointer; }
.pa-chips button i { font-style: normal; margin-left: 6px; color: #7a8598; font-weight: 600; }
.pa-chips button.on { background: #253449; border-color: #253449; color: #fff; } .pa-chips button.on i { color: #cfdcf3; }
.pa-table, .pa-matrix { width: 100%; border-collapse: collapse; }
.pa-table th, .pa-matrix th { text-align: left; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #7a8598; font-weight: 700; padding: 10px 16px; background: #fafbfd; border-bottom: 1px solid #eef1f6; white-space: nowrap; }
.pa-table td { padding: 12px 16px; border-bottom: 1px solid #f0f3f8; vertical-align: middle; font-size: 13.5px; }
.pa-table tr:last-child td { border-bottom: 0; }
.pa-row:hover td { background: #fafcff; }
.pa-row.off td { opacity: .55; }
.pa-person { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.pa-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; color: #fff; }
.pa-sub { font-size: 12px; color: #7a8598; margin-top: 1px; }
.pa-warn { font-size: 12px; color: #9a5b00; margin-top: 3px; }
.pa-tag { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #e7efff; color: #253449; vertical-align: 1px; }
.pa-tag.gray { background: #eef1f6; color: #5b6472; }
.pa-role { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.r-admin { background: #12203a; color: #fff; } .pa-role.r-admin { background: #e6e9ef; color: #12203a; }
.r-hr { background: #253449; color: #fff; } .pa-role.r-hr { background: #e7efff; color: #253449; }
.r-recruiter { background: #0f766e; color: #fff; } .pa-role.r-recruiter { background: #dff5f1; color: #0b5e57; }
.r-manager { background: #b45309; color: #fff; } .pa-role.r-manager { background: #fdf0dc; color: #8a4100; }
.r-viewer { background: #64748b; color: #fff; } .pa-role.r-viewer { background: #eef1f6; color: #3b4658; }
.pa-select { padding: 6px 28px 6px 10px; border: 1px solid #d5dbe6; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; background-color: #fff; min-width: 150px; }
.pa-on { font-size: 12px; font-weight: 700; color: #0b5e57; }
.pa-switch { position: relative; display: inline-block; width: 36px; height: 20px; cursor: pointer; }
.pa-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pa-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd6e2; transition: background .15s; }
.pa-switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.pa-switch input:checked + span { background: #253449; } .pa-switch input:checked + span::after { transform: translateX(16px); }
.pa-switch input:disabled + span { opacity: .5; cursor: not-allowed; }
.pa-switch input:focus-visible + span { outline: 2px solid rgba(37, 52, 73,.45); outline-offset: 2px; }
.pa-actions { text-align: right; white-space: nowrap; } .pa-actions .btn { margin-left: 6px; }
.pa-view { display: inline-flex; align-items: center; gap: 6px; color: #253449; border-color: #cfdcf3; background: #f6f9ff; } .pa-view svg { width: 14px; height: 14px; }
.pa-empty { padding: 26px 16px; text-align: center; color: #7a8598; font-size: 13.5px; }
.pa-matrix td { padding: 10px 16px; border-bottom: 1px solid #f0f3f8; font-size: 13.5px; text-align: center; }
.pa-matrix td:first-child { text-align: left; font-weight: 500; } .pa-matrix th:not(:first-child) { text-align: center; }
.pa-yes svg { width: 16px; height: 16px; color: #0f766e; } .pa-no { color: #b6bfcc; }
.pa-foot { margin: 0; padding: 12px 16px 14px; font-size: 12.5px; color: #5b6472; border-top: 1px solid #eef1f6; }
@media (prefers-reduced-motion: reduce) { .pa-switch span, .pa-switch span::after { transition: none; } }

/* Full screen ("wall") view: the left menu hides and the page takes the whole screen. */
.fsbtn { background: transparent; border: 1px solid transparent; border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: #4a5568; margin-right: 4px; }
.fsbtn:hover { background: rgba(37, 52, 73,.06); border-color: rgba(37, 52, 73,.18); color: #253449; } .fsbtn svg { width: 17px; height: 17px; }
body.wall .shell { grid-template-columns: 1fr; } body.wall .side { display: none; }

/* ---------- Reports: scorecard ---------- */
.sc { display: grid; gap: 16px; color: #1b2433; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.sc-head h2 { margin: 0 0 4px; font-size: 20px; } .sc-head p { margin: 0; font-size: 13.5px; color: #5b6472; }
.sc-ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .sc-ctl input[type=date] { padding: 6px 8px; border: 1px solid #d5dbe6; border-radius: 8px; font: inherit; font-size: 13px; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.sc-tile { background: #fff; border: 1px solid #e3e8f0; border-top: 3px solid #c9d3e2; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(15,30,60,.04); }
.sc-tile.met { border-top-color: #0f766e; } .sc-tile.missed { border-top-color: #d64545; }
.sc-l { font-size: 12.5px; font-weight: 600; color: #3b4658; }
.sc-v { font-size: 30px; font-weight: 700; line-height: 1.15; color: #12203a; margin: 4px 0 2px; } .sc-v span { font-size: 13px; font-weight: 600; color: #7a8598; margin-left: 5px; }
.sc-t { font-size: 12.5px; color: #3b4658; } .sc-t b.ok { color: #0f766e; } .sc-t b.bad { color: #b42318; }
.sc-d { font-size: 12px; color: #7a8598; margin-top: 4px; } .sc-d.up { color: #0f766e; } .sc-d.down { color: #b42318; }
.sc-n { font-size: 11.5px; color: #7a8598; margin-top: 4px; }
.sc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.sc-pad { padding: 4px 16px 16px; } .sc-list { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.7; }
.sc-pill { display: inline-block; min-width: 24px; padding: 1px 8px; border-radius: 999px; font-weight: 700; font-size: 12.5px; text-align: center; }
.sc-pill.bad { background: #fde8e6; color: #b42318; } .sc-pill.ok { background: #e6f4f1; color: #0b5e57; } .sc-bad { color: #b42318; font-weight: 700; }
.sc .pa-table th.num, .sc .pa-table td.num { text-align: right; }

.sc .field input[name=recipients] { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #d5dbe6; border-radius: 8px; font: inherit; font-size: 13.5px; }

/* Program totals: each bubble is a button that lists the candidates behind the number.
   The bubbles keep their original look; the only additions are a pointer, a soft lift on hover and a ring on the open one. */
.funnel .node button.ball { color: #fff; line-height: 1; padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none; transition: transform .12s ease; }
.funnel .node button.ball:hover:not(:disabled) { transform: translateY(-2px); }
.funnel .node button.ball:focus-visible { outline: 2px solid #253449; outline-offset: 3px; }
.funnel .node button.ball:disabled { cursor: default; }
.funnel .node.sel button.ball { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #253449, 0 6px 14px rgba(37, 52, 73,.2); }
.gatebox { margin-top: 14px; border-top: 1px solid #dfe6f1; padding-top: 12px; }
.gatehd { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; } .gatehd > div { flex: 1; min-width: 220px; }
.gatehd b { display: block; font-size: 15px; color: var(--rco-navy, #12203a); } .gatehd div span { font-size: 12.5px; color: #5b6472; }
@media (prefers-reduced-motion: reduce) { .funnel .node button.ball { transition: none; } }

/* ---- Approval flows ---- */
.af { display: grid; gap: 14px; color: #1F2A44; }
.af-head h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.01em; } .af-head p { margin: 0; color: #5b6472; font-size: 13.5px; max-width: 760px; line-height: 1.5; }
.af-test { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px dashed #c9d3e4; border-radius: 12px; background: #fff; }
.af-test > svg { width: 20px; height: 20px; color: #66748F; flex: 0 0 auto; } .af-test > div { flex: 1; min-width: 0; } .af-test b { display: block; font-size: 14px; } .af-test span { display: block; font-size: 12.5px; color: #5b6472; margin-top: 2px; }
.af-test.on { border: 1px solid #E9B949; background: #FFF8E6; } .af-test.on > svg { color: #9A6B00; } .af-test.on b { color: #6B4A00; }
.af-card { background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; box-shadow: 0 1px 2px rgba(15,30,60,.04); padding: 16px 18px 18px; }
.af-card.muted-flow .af-track { opacity: .55; }
.af-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; } .af-card h3 { margin: 0; font-size: 15.5px; } .af-card header p { margin: 2px 0 0; font-size: 12.5px; color: #66748F; }
.af-ico { width: 36px; height: 36px; border-radius: 10px; background: #EEF3FB; color: #253449; display: grid; place-items: center; flex: 0 0 auto; } .af-ico svg { width: 19px; height: 19px; }
.af-meta { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.af-pill { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #EEF1F6; color: #4a5568; white-space: nowrap; } .af-pill.ok { background: #E6F4EC; color: #1E6B42; } .af-pill.warn { background: #FDECEA; color: #A8322A; }
.af-lbl { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7a8598; margin: 14px 0 8px; }
.af-track { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.af-arrow { width: 16px; height: 16px; color: #b3bccb; flex: 0 0 auto; }
.af-cap { font-size: 12.5px; font-weight: 600; color: #5b6472; padding: 8px 12px; border-radius: 999px; background: #F3F5F9; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.af-cap.end { background: #E6F4EC; color: #1E6B42; } .af-cap svg { width: 14px; height: 14px; }
.af-step { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 10px; border: 1px solid #d9e0ec; border-radius: 12px; background: #fff; min-width: 190px; box-shadow: 0 1px 2px rgba(15,30,60,.05); }
.af-step.gone { border-color: #E76251; background: #FFF6F5; }
.af-n { position: absolute; top: -8px; left: -8px; width: 20px; height: 20px; border-radius: 50%; background: #253449; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.af-av { width: 30px; height: 30px; border-radius: 50%; background: #E4ECF9; color: #253449; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; flex: 0 0 auto; }
.af-who { min-width: 0; } .af-who b { display: block; font-size: 13.5px; line-height: 1.2; } .af-who small { display: block; font-size: 11.5px; color: #66748F; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-ctl { display: flex; gap: 2px; margin-left: 6px; opacity: .35; transition: opacity .12s; } .af-step:hover .af-ctl, .af-step:focus-within .af-ctl { opacity: 1; }
.af-ctl button, .af-chip button { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: #5b6472; display: grid; place-items: center; cursor: pointer; padding: 0; }
.af-ctl button:hover, .af-chip button:hover { background: #EEF1F6; color: #12203a; } .af-ctl button[data-rm]:hover, .af-chip button:hover { background: #FDECEA; color: #A8322A; }
.af-ctl svg, .af-chip button svg { width: 14px; height: 14px; }
.af-add { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border: 1px dashed #b9c5d9; border-radius: 12px; background: transparent; color: #253449; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.af-add:hover { background: #F2F6FD; border-color: #253449; } .af-add svg { width: 14px; height: 14px; }
.af-none { font-size: 12.5px; color: #A8322A; font-weight: 600; }
.af-ex { border-top: 1px solid #eef1f6; padding: 12px 0 2px; } .af-ex:first-of-type { border-top: 0; padding-top: 0; }
.af-exh { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13.5px; }
.af-link { border: 0; background: none; color: #253449; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 0; } .af-link:hover { text-decoration: underline; }
.af-exadd { margin-top: 14px; } .af-exadd select { width: auto; min-width: 280px; padding: 8px 10px; border: 1px solid #d5dbe6; border-radius: 8px; font: inherit; font-size: 13px; background: #fff; color: #1F2A44; max-width: 100%; }
.af-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.af-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border: 1px solid #d9e0ec; border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; } .af-chip .af-av { width: 24px; height: 24px; font-size: 10px; } .af-chip em { font-style: normal; font-weight: 600; font-size: 11.5px; color: #66748F; }
.af-search { position: relative; margin: 4px 0 10px; } .af-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #7a8598; }
.af-search input { width: 100%; padding: 9px 10px 9px 32px; border: 1px solid #d5dbe6; border-radius: 8px; font: inherit; font-size: 14px; }
.af-picklist { max-height: 320px; overflow: auto; display: grid; gap: 2px; }
.af-pick { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; font: inherit; cursor: pointer; color: #121826; } .af-pick:hover, .af-pick:focus-visible { background: #F2F6FD; }
.af-pick b { display: block; font-size: 13.5px; } .af-pick small { display: block; font-size: 12px; color: #66748F; }
.af-ctl button:focus-visible, .af-add:focus-visible, .af-link:focus-visible, .af-chip button:focus-visible { outline: 2px solid rgba(37, 52, 73,.45); outline-offset: 1px; }
@media (max-width: 640px) { .af-step { min-width: 0; width: 100%; } .af-arrow { transform: rotate(90deg); } .af-track { flex-direction: column; align-items: stretch; } .af-arrow { align-self: center; } .af-ctl { opacity: 1; margin-left: auto; } }

/* ---- Access switches (People and access) ---- */
.pa-sw { position: relative; display: inline-block; width: 36px; height: 20px; cursor: pointer; vertical-align: middle; }
.pa-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.pa-sw i { position: absolute; inset: 0; border-radius: 999px; background: #cfd6e2; transition: background .15s; }
.pa-sw i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15,30,60,.3); transition: transform .15s; }
.pa-sw input:checked + i { background: #0f766e; } .pa-sw input:checked + i::after { transform: translateX(16px); }
.pa-sw input:focus-visible + i { outline: 2px solid rgba(37, 52, 73,.5); outline-offset: 2px; }
.pa-offtag { font-size: 11.5px; font-weight: 700; color: #A8322A; background: #FDECEA; padding: 2px 8px; border-radius: 999px; }
.pa-switches tbody tr:hover td { background: #fafbfd; }
.pa-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 2px 16px 12px; font-size: 12.5px; color: #5b6472; }
.pa-legend > span { display: inline-flex; align-items: center; gap: 7px; } .pa-sw.demo { pointer-events: none; transform: scale(.85); transform-origin: left center; margin-right: -4px; }
.pa-matrix tr.pa-sec td { text-align: left; background: #f4f7fc; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #48566f; padding: 8px 16px; }
.pa-switches tbody tr.pa-sec:hover td { background: #f4f7fc; }

a.kpi[data-tile] { cursor: pointer; text-decoration: none; }
a.kpi[data-tile]:focus-visible { outline: 2px solid rgba(37, 52, 73,.5); outline-offset: 2px; }

/* RCO brand: menus in Helvetica */
.side .nav a { font-family: Helvetica, 'Helvetica Neue', Arial, 'Roboto', sans-serif; }

/* Live dashboard: layout at laptop width */
@media (max-width: 1280px) { .g2r { grid-template-columns: 1fr !important; } }
table.reqs td:first-child { min-width: 220px; }

/* Home: core values strip */
.vstrip { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; padding: 11px 18px; border-radius: 12px; background: linear-gradient(100deg, #1A2535, #253449 55%, #2E4059); color: #fff; overflow: hidden; box-shadow: 0 8px 22px rgba(37, 52, 73, .22), inset 0 1px 0 rgba(255, 255, 255, .08); }
.vstrip > b { flex: none; font-family: var(--font-heading); font-stretch: var(--heading-stretch); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #F6B9AF; padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, .22); }
.vstrip .vrun { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.vstrip .vtrack { display: inline-flex; align-items: center; white-space: nowrap; animation: vscroll 45s linear infinite; }
.vstrip:hover .vtrack { animation-play-state: paused; }
.vstrip .vtrack span { font-size: 14px; font-weight: 500; color: #fff; }
.vstrip .vtrack i { flex: none; width: 5px; height: 5px; margin: 0 20px; border-radius: 50%; background: #E76251; }
@keyframes vscroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .vstrip .vtrack { animation: none; } }

/* Full-screen button hidden */
.topbar .fsbtn { display: none !important; }

/* Visual pass: flat navy rail, calmer cards */
.shell .side { background: #1A2535; background-image: none; border-right: 0; }
.shell .side .nav { gap: 2px; }
.shell .side .nav a { background: transparent; border: 0; border-left: 3px solid transparent; border-radius: 8px; box-shadow: none; padding: 9px 12px; color: #C9D3E2; font-weight: 500; transform: none; }
.shell .side .nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; transform: none; }
.shell .side .nav a.on, .shell .side .nav a.on:hover { background: rgba(255, 255, 255, .1); color: #fff; border-left-color: #E76251; box-shadow: none; font-weight: 700; }
.shell .side .nav a.on svg { color: #E76251; }
.shell .side .nav .grp { color: #8492A8; font-size: 11px; padding: 16px 12px 4px; }
.shell .card > h2, .shell .card > h3, .shell .card .hd { color: var(--headline); }
.shell .chip, .shell .badge, .shell .own, .shell .live { font-size: 11px; }

/* Crisper menu icons; wage tool provisional banner */
.shell .side .nav a { color: #DCE3EE; }
.shell .side .nav a svg { width: 20px; height: 20px; flex: none; stroke-width: 2; color: #E4EAF3; shape-rendering: geometricPrecision; }
.shell .side .nav a:hover svg { color: #fff; }
.shell .side .nav a.on svg { color: #E76251; }
.wa-warn { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; padding: 11px 14px; border-radius: 10px; background: rgba(240, 185, 79, .14); border: 1px solid rgba(240, 185, 79, .55); color: #FFE7B8; font-size: 13.5px; line-height: 1.45; }
.wa-warn b { color: #FFD27A; }

/* Home gauges: text stays inside the card; coverage and volume open their list */
.gauges > .card { container-type: inline-size; min-width: 0; }
.gauge { grid-template-columns: 200px minmax(0, 1fr); }
.gauge .gside { min-width: 0; overflow-wrap: break-word; }
.gsplit { flex-wrap: wrap; gap: 8px 18px; }
@container (max-width: 470px) { .gauge { grid-template-columns: 1fr; justify-items: center; } .gauge .gside { width: 100%; } }
.card.gdrill { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.card.gdrill:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 52, 73, .14); }

/* Loading bar while a request is in flight */
#busybar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, #E76251, transparent) no-repeat; background-size: 40% 100%; }
#busybar.on { opacity: 1; animation: busyrun 1s linear infinite; }
@keyframes busyrun { from { background-position: -70% 0; } to { background-position: 170% 0; } }

/* People and access: the people list first, in tighter rows */
.pa > .pa-card{order:5}
.pa > .pa-preview{order:4}
.pa > .pa-stats{order:0}
.pa > #welcomebox{order:2;margin-top:0 !important}
.pa > .pa-card:has(.pa-table){order:1}
.pa > .pa-head{order:0}
.pa-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important}
.pa-stat{padding:10px 14px !important}
.pa-stat .n{font-size:20px !important}
.pa-table th{padding:9px 12px !important}
.pa-table td{padding:6px 12px !important;vertical-align:middle}
.pa-table .pa-av{width:30px;height:30px;font-size:11.5px}
.pa-table .pa-person{gap:10px;align-items:center}
.pa-table .pa-person b{line-height:1.25}
.pa-table .pa-person .pa-sub{line-height:1.25;font-size:12px}
.pa-table select{padding-top:5px;padding-bottom:5px;max-width:170px}
.pa-table td:nth-child(5){white-space:nowrap}
.pa-table td:nth-child(5) > div{display:inline}
.pa-table td:nth-child(5) .pa-sub::before{content:" · "}
.pa-table .pa-actions{white-space:nowrap}
.pa-table .pa-actions .btn{padding:4px 9px}
.pa-table tbody tr.pa-row:hover td{background:rgba(37,52,73,.035)}

/* RCO Setup: People and Access levels are separate tabs over one page */
body[data-pa="people"] .pa > .pa-card:not(:has(.pa-table)){display:none}
body[data-pa="access"] .pa > .pa-head,body[data-pa="access"] .pa > .pa-stats,body[data-pa="access"] .pa > #welcomebox,body[data-pa="access"] .pa > .pa-card:has(.pa-table){display:none}

/* RCO Setup: Sign-ins report */
.ug{display:grid;gap:18px}
.ug .pa-table td{vertical-align:top}

/* RCO Setup: Emails tab holds the welcome editor */
body:not([data-emails]) .pa > #welcomebox{display:none}
body[data-emails] .pa > #welcomebox{display:block;margin-top:0 !important}

/* Sign-in: larger centered client logo */
.signin .box > img:first-child{height:86px;display:block;margin:2px auto 20px}
.signin .bar{margin:0 auto 16px}
.signin .box h1{text-align:center;margin-bottom:16px}
.kanban .col[data-nst=accepted] { border-top-color: #3DCB7D; } .kanban .col[data-nst=pre_employment] { border-top-color: #F0B94F; } .kanban .col[data-nst=spark_onboarding] { border-top-color: #F0B94F; } .kanban .col[data-nst=ready] { border-top-color: #6FB4FF; } .kanban .col[data-nst=started] { border-top-color: #1E8F52; }
.kcard .small svg { width: 13px; height: 13px; vertical-align: -2px; }
/* Hiring Requests: the five-step order across the top */
.flowsteps { display: grid; grid-template-columns: repeat(5, 1fr); background: linear-gradient(135deg, #1B2A3D, #253449 60%, #2E4160); border-radius: 16px; padding: 22px 10px 20px; margin-bottom: 14px; box-shadow: 0 10px 26px rgba(20, 28, 40, .18); position: relative; overflow: hidden; }
.flowsteps::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #E76251, #F0B94F); }
.fstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.fstep:not(:last-child)::before { content: ""; position: absolute; top: 23px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 6px, transparent 6px 12px); }
.fstep .fic { position: relative; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; color: #fff; margin-bottom: 10px; }
.fstep .fic svg { width: 22px; height: 22px; }
.fstep .fic span { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: #E76251; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.fstep b { color: #fff; font-size: 14.5px; line-height: 1.25; }
.fstep small { color: #B9C6D8; font-size: 12.5px; line-height: 1.35; margin-top: 3px; }
@media (max-width: 900px) { .flowsteps { grid-template-columns: 1fr 1fr; row-gap: 18px; } .fstep::before { display: none; } }

/* Workflows & Processes: hero, numbered steps, role cards */
.wftabs button { display: inline-flex; align-items: center; gap: 7px; } .wftabs button svg { width: 15px; height: 15px; opacity: .85; }
.wfhero { position: relative; overflow: hidden; border-radius: 16px; padding: 22px 26px; margin: 0 0 18px; color: #fff; background: radial-gradient(520px 260px at 100% 0, rgba(231,98,81,.28), transparent 60%), linear-gradient(150deg, #1A2535, var(--rco-navy)); box-shadow: 0 10px 26px rgba(26,37,53,.22); }
.wfhero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 30px 30px; }
.wfhero > * { position: relative; } .content .wfhero h2 { color: #fff; margin: 0 0 4px; font-size: 22px; } .wfhero p { margin: 0; color: #D5DCE6; font-size: 14.5px; max-width: 760px; }
.wfsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 28px 14px; margin: 16px 0 20px; }
.wfstep { position: relative; background: #fff; border: 1px solid #DCE3EE; border-top: 3px solid var(--rco-navy); border-radius: 14px; padding: 18px 16px 14px; box-shadow: 0 4px 14px rgba(37,52,73,.07); display: flex; flex-direction: column; }
.wfstep .no { position: absolute; top: -15px; left: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--rco-coral); color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 4px 10px rgba(231,98,81,.4); }
.wfstep b { display: block; color: var(--rco-navy); font-size: 15px; margin: 4px 0 5px; } .wfstep p { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: #4A5568; flex: 1; }
.wfstep .by { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rco-navy); background: #EEF2F8; border-radius: 999px; padding: 3px 10px; }
.wfstep:not(:last-child):after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #B9C4D4; border-right: 2px solid #B9C4D4; transform: translateY(-50%) rotate(45deg); }
.wfh { margin: 4px 0 12px; }
.wfroles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 0 0 18px; }
.wfrole { background: #fff; border: 1px solid #DCE3EE; border-radius: 14px; padding: 16px; box-shadow: 0 4px 14px rgba(37,52,73,.07); display: flex; flex-direction: column; }
.wfrole .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--rco-navy), #1A2535); box-shadow: 0 6px 14px rgba(37,52,73,.28); margin-bottom: 10px; } .wfrole .ic svg { width: 18px; height: 18px; }
.wfrole b { color: var(--rco-navy); font-size: 15px; } .wfrole p { margin: 5px 0 10px; font-size: 13px; line-height: 1.45; color: #4A5568; flex: 1; }
.wfrole .where { font-size: 12px; color: #66748F; border-top: 1px solid #E8EDF4; padding-top: 8px; }
.wfcard { margin: 0 0 18px; } .wfcard .tbl-wrap { margin: 0; }
@media (max-width: 720px) { .wfstep:not(:last-child):after { display: none; } }

/* Open jobs table on the Live Dashboard: fits the page, stages shown as labeled chips */
table.reqs.fit { width: 100%; } table.reqs.fit td:first-child { min-width: 180px; } table.reqs.fit th, table.reqs.fit td { padding-left: 10px; padding-right: 10px; }
.stgs { display: flex; flex-wrap: wrap; gap: 6px 12px; } .stg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--c-text); white-space: nowrap; } .stg .cell { min-width: 26px; height: 24px; }

/* Job page: a stat strip, a toned posting bar and clearer cards, so the sections stop blending together */
.jstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.jstat { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #D5DCE8; border-left-width: 4px; border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(18,24,38,.05); }
.jstat .ji, .jpost .ji { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.jstat .ji svg, .jpost .ji svg { width: 18px; height: 18px; }
.jstat .jl { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #5B6472; }
.jstat .jv { font-size: 22px; font-weight: 800; line-height: 1.15; color: #16233A; margin-top: 2px; } .jstat .jv span { font-size: 13px; font-weight: 600; color: #5B6472; }
.jstat .js { font-size: 12px; color: #5B6472; margin-top: 2px; }
.t-navy { border-left-color: #253449; } .t-navy .ji { background: #E6EBF3; color: #253449; }
.t-blue { border-left-color: #2F6FD0; } .t-blue .ji { background: #E3EDFB; color: #2259AF; }
.t-good { border-left-color: #1F8A4C; } .t-good .ji { background: #E2F4EA; color: #1F8A4C; }
.t-warn { border-left-color: #C9861A; } .t-warn .ji { background: #FBF0DC; color: #9A6412; }
.t-mute { border-left-color: #AEB7C6; } .t-mute .ji { background: #EEF1F6; color: #5B6472; }
.jpost { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid #D5DCE8; border-left-width: 4px; background: #fff; }
.jpost.t-blue { background: #F4F8FE; } .jpost.t-good { background: #F3FAF6; } .jpost.t-warn { background: #FEF9EE; } .jpost.t-mute { background: #F6F8FB; }
.content .card.jcard { border: 1px solid #D5DCE8; border-top-width: 3px; background: #fff; }
.content .card.jc-navy { border-top-color: #253449; } .content .card.jc-coral { border-top-color: #E76251; } .content .card.jc-blue { border-top-color: #2F6FD0; }
.card.jcard h2 { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: #16233A; padding-bottom: 10px; border-bottom: 1px solid #E3E7EE; margin-bottom: 4px; }
.card.jcard h2 svg { width: 16px; height: 16px; opacity: .75; }
.kv.jkv { grid-template-columns: 1fr; gap: 0; } .kv.jkv dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B7586; padding-top: 10px; }
.kv.jkv dd { font-size: 14.5px; font-weight: 600; color: #16233A; padding-bottom: 10px; border-bottom: 1px solid #EEF1F6; } .kv.jkv dd:last-child { border-bottom: 0; padding-bottom: 0; }
.jchip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: #E6EBF3; color: #253449; margin-left: 4px; }
.jstat .jv.sm { font-size: 16px; line-height: 1.25; }
/* Job page: the facts sit in one compact band so the candidate board stays in view */
.jfacts { background: #fff; border: 1px solid #D5DCE8; border-radius: 12px; padding: 14px 18px; }
.jfacts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px 24px; margin: 0; }
.jfacts dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B7586; }
.jfacts dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; color: #16233A; overflow-wrap: anywhere; }

/* Sortable table headings (JD Library) */
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
th.sortable::after { content: ''; display: inline-block; margin-left: 6px; border: 4px solid transparent; vertical-align: middle; opacity: .35; border-top-color: currentColor; transform: translateY(2px); }
th.sortable[aria-sort="ascending"]::after { border-top-color: transparent; border-bottom-color: currentColor; transform: translateY(-2px); opacity: 1; }
th.sortable[aria-sort="descending"]::after { opacity: 1; }
th.sortable:hover { color: var(--navy, #253449); }

/* Job page header: quiet back link, one joined group for job status actions, Edit req as the main button */
.jhead { display: flex; gap: 10px 12px; align-items: center; flex-wrap: wrap; }
.jback { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #5A6B85; text-decoration: none; padding: 6px 10px 6px 6px; border-radius: 8px; }
.jback:hover { background: #E7ECF4; color: #16233A; }
.jback svg, .jseg svg { width: 15px; height: 15px; }
.jseg { display: inline-flex; background: #fff; border: 1px solid #D5DCE8; border-radius: 10px; box-shadow: 0 1px 2px rgba(22,35,58,.06); overflow: hidden; }
.jseg button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: #33435C; cursor: pointer; white-space: nowrap; transition: background .12s, color .12s; }
.jseg button + button { border-left: 1px solid #E3E8F0; }
.jseg button:hover { background: #F1F4F9; color: #16233A; }
.jseg button svg { color: #7A89A1; }
.jseg .jseg-x:hover { background: #FDECEC; color: #B42318; }
.jseg .jseg-x:hover svg { color: #B42318; }
.btn.jbtn { border-radius: 10px; padding: 8px 14px; font-size: 13px; box-shadow: 0 1px 2px rgba(22,35,58,.06); transition: transform .12s, box-shadow .12s, background .12s; }
.btn.jbtn:hover { box-shadow: 0 3px 8px rgba(22,35,58,.12); transform: translateY(-1px); }
.btn.dark.jbtn { background: #253449; color: #fff; border-color: #253449; }
.btn.dark.jbtn:hover { background: #1B2738; }
@media (max-width: 720px) { .jseg { width: 100%; } .jseg button { flex: 1; justify-content: center; padding: 9px 8px; } }

/* Home: RPO recruiter contacts */
.rpo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 14px 0 4px; }
.rpo-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #D5DCE8; border-radius: 12px; padding: 14px; background: #fff; }
.rpo-card b { display: block; font-size: 15px; color: #16233A; } /* the specialty always sits on its own line under the name */
.rpo-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #253449; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.rpo-focus { display: inline-block; margin: 3px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #C0392B; background: #FDECEA; border-radius: 999px; padding: 2px 9px; }
.rpo-card a { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #33435C; text-decoration: none; margin-top: 4px; word-break: break-all; }
.rpo-card a:hover { color: #16233A; text-decoration: underline; }
.rpo-card a svg { width: 14px; height: 14px; flex: none; color: #7A89A1; }

/* Job descriptions in RCO's form layout: gray bands and a bordered details grid, like RCO's Word template. */
.jd-formbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.jd-formbar .jbtn.on { background: var(--navy, #1A428A); color: #fff; border-color: var(--navy, #1A428A); }
.rco-host { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; overflow-x: auto; }
.rco-ed { padding: 18px; }
.rco-ed .req { color: #B42318; font-weight: 700; }
.rco-ed .rgrid { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.rco-ed .rgrid td { border: 1px solid #8a94a6; padding: 5px 7px; vertical-align: top; font-size: 13px; }
.rco-ed .rgrid td.k { background: #e3e6eb; font-weight: 700; white-space: nowrap; width: 17%; }
.rco-ed .rgrid td.v { width: 33%; }
.rco-ed .rgrid input, .rco-ed .rgrid select { width: 100%; box-sizing: border-box; }
.rco-ed .rgrid td.v select + select { margin-top: 4px; }
.rco-ed .rband { border: 1px solid #8a94a6; margin-top: 10px; }
.rco-ed .rband .h { background: #e3e6eb; border-bottom: 1px solid #8a94a6; padding: 5px 8px; font-weight: 700; font-size: 15px; }
.rco-ed .rband .b { padding: 10px; }
.rco-ed .rband textarea { width: 100%; box-sizing: border-box; min-height: 70px; }
.rco-ed .rband textarea.tall { min-height: 140px; }
.rco-ed .sc { font-variant: small-caps; font-weight: 700; letter-spacing: .02em; margin: 14px 0 6px; font-size: 14px; }
.rco-ed .sc .who { font-variant: normal; font-weight: 500; font-size: 11px; color: var(--muted, #5b6472); margin-left: 6px; }
.rco-ed .lbl { display: block; font-weight: 600; font-size: 12.5px; margin: 8px 0 3px; }
@media (max-width: 720px) { .rco-ed .rgrid td { display: block; width: auto !important; } }
