/* Quiggly HR prototype. Tokens follow the Quiggly HR Brand Guidelines (Nov 30, 2026). */
:root {
  --pine: #0F3B3A;
  --mint: #EEF5F3;
  --coral: #E5502A;
  --ink: #13262A;
  --white: #FFFFFF;
  --teal: #1F7A6C;
  --sage: #8FC1B5;
  --slate: #5E7376;
  --mist: #D5E3E0;
  --blush: #FCE5DC;
  --coral-light: #FF8A66;
  --pine-raised: #184B49;
  --mint-light: #F6F9F8;
  --ph: #FFF6F2;
  --font: Calibri, Carlito, "Segoe UI", system-ui, sans-serif;
  --r: 10px;
  --shadow: 0 1px 2px rgba(19,38,42,.06), 0 8px 24px rgba(19,38,42,.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--slate); }
.small { font-size: 14px; }
.xs { font-size: 13px; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Prototype bar ---------- */
.protobar { position: sticky; top: 0; z-index: 50; background: #0B1C1F; color: #fff; font-size: 14px; }
.pb-inner { display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 16px; }
.pb-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--sage); }
.protobar nav { display: flex; gap: 4px; overflow-x: auto; }
.protobar nav a { color: #DDE8E5; text-decoration: none; padding: 6px 12px; border-radius: 999px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.protobar nav a:hover { background: rgba(255,255,255,.08); }
.protobar nav a.on { background: #fff; color: var(--ink); font-weight: 700; }
.pb-n { font-size: 11px; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.14); }
.protobar nav a.on .pb-n { background: var(--pine); color: #fff; }
.pb-right { margin-left: auto; display: flex; gap: 6px; }
.pb-right button { background: transparent; color: #DDE8E5; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.pb-right button:hover { background: rgba(255,255,255,.08); }

/* ---------- Brand bits ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--pine); font-size: 19px; text-decoration: none; }
.dark .logo, .logo.on-dark { color: #fff; }
.q-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--coral); color: #fff; font-weight: 700; font-size: 17px; line-height: 1; }
.q-mark.sm { width: 22px; height: 22px; font-size: 14px; border-radius: 5px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); }
.dark .eyebrow { color: var(--sage); }

/* The Apply button: brand mark. Never restyle. */
.q-apply { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 230px; padding: 11px 32px 10px; border: 0; border-radius: 999px; background: #E5502A; color: #fff; box-shadow: 0 6px 18px rgba(229,80,42,.32), 0 1px 2px rgba(19,38,42,.15); transition: transform .15s, box-shadow .15s; }
.q-apply:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(229,80,42,.36), 0 1px 2px rgba(19,38,42,.15); }
.q-apply:active { transform: translateY(0); }
.q-apply-label { font-weight: 700; font-size: 21px; line-height: 1.1; }
.q-apply-sub { font-size: 11.5px; opacity: .95; }
.q-apply.block { width: 100%; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 10px 18px; font-weight: 700; font-size: 15px; border: 1px solid transparent; text-decoration: none; white-space: nowrap; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-raised); }
.btn-white { background: #fff; color: var(--pine); }
.btn-white:hover { background: var(--mint); }
.btn-ghost { background: #fff; color: var(--pine); border-color: var(--mist); }
.btn-ghost:hover { border-color: var(--sage); background: var(--mint-light); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.08); }
.btn-danger { background: #fff; color: #A3321A; border-color: #EBC9BE; }
.btn-sm { padding: 6px 12px; font-size: 14px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Layout ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.dark { background: var(--pine); color: #fff; }
section.band { padding: 80px 0; }
.title { font-size: 40px; font-weight: 700; color: var(--pine); }
.dark .title { color: #fff; }
.lead { font-size: 19px; color: var(--slate); margin-top: 12px; max-width: 640px; }
.dark .lead { color: var(--sage); }

/* ---------- Website ---------- */
.site-nav { height: 72px; display: flex; align-items: center; gap: 28px; }
.site-nav .links { display: flex; gap: 24px; margin-left: 24px; }
.site-nav .links a { color: #DDE8E5; text-decoration: none; font-size: 15px; }
.site-nav .links a:hover { color: #fff; }
.site-nav .row { margin-left: auto; }
.hero { padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding-top: 48px; }
.hero h1 { font-size: 60px; font-weight: 700; margin-top: 14px; letter-spacing: -.01em; }
.hero .lead { font-size: 21px; }
.jobad { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.jobad .co { display: flex; gap: 10px; align-items: center; color: var(--slate); font-size: 14px; }
.co-dot { width: 28px; height: 28px; border-radius: 6px; background: #1E3A5F; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; font-family: Georgia, serif; }
.jobad h3 { font-size: 24px; margin: 14px 0 16px; color: var(--ink); }
.sk { height: 10px; border-radius: 5px; background: var(--mist); margin: 9px 0; }
.jobad .apply-wrap { display: flex; justify-content: center; margin-top: 24px; }

.flow { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: stretch; margin-top: 40px; }
.node { border-radius: 14px; padding: 22px; border: 1px solid var(--mist); background: #fff; }
.node.q { background: var(--pine); color: #fff; border-color: var(--pine); }
.node .eyebrow { margin-bottom: 8px; }
.node.q .eyebrow { color: var(--sage); }
.node h4 { font-size: 19px; }
.node p { color: var(--slate); font-size: 15px; margin-top: 6px; }
.node.q p { color: var(--sage); }
.arrow { display: grid; place-items: center; color: var(--teal); }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--mint); border-radius: 12px; padding: 22px; }
.card h4 { font-size: 17px; color: var(--pine); margin-top: 14px; }
.card p { font-size: 15px; color: var(--slate); margin-top: 6px; }
.icircle { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.icircle .icon { width: 21px; height: 21px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.stat-row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.hero-stat { font-size: 88px; font-weight: 700; color: var(--pine); line-height: 1; letter-spacing: -.02em; }
.stat-row p.big { font-size: 26px; color: var(--ink); max-width: 560px; }
.source { font-size: 13px; color: var(--slate); margin-top: 10px; }

.guide-list { counter-reset: g; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.guide-list li { counter-increment: g; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.guide-list li::before { content: counter(g); width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.dark .guide-list li::before { background: var(--pine-raised); color: var(--sage); border: 1px solid var(--sage); }
.guide-list b { color: inherit; }
.dark .guide-list a { color: #fff; }

.footer { border-top: 1px solid var(--mist); padding: 22px 0; color: var(--slate); font-size: 14px; }
.footer .container { display: flex; align-items: center; gap: 10px; }

/* ---------- App shell (business + candidate) ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 46px); }
.side { background: var(--mint-light); border-right: 1px solid var(--mist); padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; }
.side .logo { padding: 0 8px; }
.side-co { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--mist); border-radius: 10px; padding: 10px; }
.side-co b { display: block; font-size: 15px; }
.side-co small { color: var(--slate); font-size: 13px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.side nav a:hover { background: var(--mint); }
.side nav a.on { background: var(--pine); color: #fff; font-weight: 700; }
.side nav .count { margin-left: auto; font-size: 12px; background: var(--mist); color: var(--pine); border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.side nav a.on .count { background: var(--pine-raised); color: #fff; }
.side-foot { margin-top: auto; font-size: 14px; color: var(--slate); display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #B6C4C1; display: inline-block; }
.dot.ok { background: var(--teal); box-shadow: 0 0 0 3px rgba(31,122,108,.18); }
.main { padding: 36px 48px 64px; max-width: 1180px; width: 100%; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { font-size: 32px; color: var(--pine); }
.page-head p { color: var(--slate); margin-top: 6px; font-size: 17px; }
.page-head .row { margin-left: auto; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: var(--mint); border-radius: 12px; padding: 18px 20px; }
.kpi .v { font-size: 30px; font-weight: 700; color: var(--pine); margin-top: 4px; }
.kpi .l { font-size: 13px; color: var(--slate); }
.panel { border: 1px solid var(--mist); border-radius: 12px; background: #fff; }
.panel-h { padding: 16px 20px; border-bottom: 1px solid var(--mist); display: flex; align-items: center; gap: 12px; }
.panel-h h3 { font-size: 17px; color: var(--pine); }
.panel-b { padding: 20px; }
.empty { text-align: center; padding: 48px 24px; color: var(--slate); }
.empty h3 { color: var(--pine); font-size: 20px; margin-bottom: 8px; }
.empty .btn { margin-top: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border: 1px solid var(--mist); border-radius: 12px; padding: 22px; background: #fff; }
.step.active { background: var(--pine); color: #fff; border-color: var(--pine); }
.step .n { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .1em; }
.step.active .n { color: var(--sage); }
.step h3 { font-size: 19px; margin: 8px 0 6px; }
.step p { color: var(--slate); font-size: 15px; }
.step.active p { color: var(--sage); }
.step .btn { margin-top: 16px; }

.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; border-bottom: 1px solid var(--mist); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--mist); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .t { font-weight: 700; color: var(--pine); }
.tbl .s { font-size: 13px; color: var(--slate); }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--mint); color: var(--teal); white-space: nowrap; }
.chip.grey { background: #EEF1F1; color: var(--slate); }
.chip.solid { background: var(--teal); color: #fff; }
.chip.warn { background: #FFF1E0; color: #8A4B08; }
.chip .icon { width: 12px; height: 12px; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #C9D6D3; transition: .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; background: #fff; border-radius: 50%; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span::after { left: 23px; }
.switch input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.banner { display: flex; gap: 14px; align-items: center; background: var(--mint); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; color: var(--pine); }
.banner .btn { margin-left: auto; }

.code { background: #0B1C1F; color: #CFE5DF; border-radius: 10px; padding: 16px 18px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; margin: 0; }
.code .c { color: #7FA79E; }
.code .k { color: #FFB59E; }

/* ---------- Forms ---------- */
.fld { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; font-size: 14px; }
.fld > span { font-weight: 700; color: var(--pine); }
.fld i { font-weight: 400; color: var(--slate); font-style: normal; }
.fld input, .fld select, .fld textarea { border: 1px solid var(--mist); border-radius: 8px; padding: 10px 12px; font-size: 16px; background: #fff; width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,122,108,.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: #A3321A; font-size: 14px; margin: -4px 0 10px; font-weight: 700; }
.otp { letter-spacing: .5em; font-size: 26px !important; text-align: center; font-weight: 700; }
.cv-row { display: flex; align-items: center; gap: 10px; border: 1px dashed var(--mist); border-radius: 8px; padding: 8px 10px; }
.file { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pine); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--mist); font-size: 15px; }
.check:last-child { border-bottom: 0; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); }
.check .v { color: var(--slate); font-size: 14px; display: block; }

/* ---------- Dialogs ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(11,28,31,.5); z-index: 100; display: grid; place-items: center; padding: 24px; overflow-y: auto; animation: fade .15s; }
.dialog { background: #fff; border-radius: 18px; width: 100%; max-width: 440px; box-shadow: 0 30px 80px rgba(0,0,0,.3); animation: pop .18s; }
.dialog.wide { max-width: 660px; }
.dialog-h { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--mist); }
.dialog-h h2 { font-size: 20px; color: var(--pine); }
.dialog-b { padding: 22px; }
.x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--mint); color: var(--pine); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.x:hover { background: var(--mist); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }

.qd-head { display: flex; align-items: center; gap: 8px; padding: 16px 20px 0; font-weight: 700; color: var(--pine); }
.qd-job { margin: 14px 20px 0; padding: 12px 14px; background: var(--mint); border-radius: 10px; font-size: 14px; color: var(--slate); }
.qd-job b { color: var(--pine); }
.qd-body { padding: 18px 20px 22px; }
.qd-body h2 { font-size: 24px; color: var(--pine); margin-bottom: 6px; }
.qd-body .lead-s { color: var(--slate); font-size: 15px; margin-bottom: 18px; }
.qd-note { font-size: 13px; color: var(--slate); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.qd-note .icon { width: 15px; height: 15px; color: var(--teal); margin-top: 2px; }
.who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--mist); border-radius: 10px; margin-bottom: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.who b { display: block; color: var(--pine); }
.who small { color: var(--slate); }
.who .btn-link { margin-left: auto; font-size: 14px; }
.share { border: 1px solid var(--mist); border-radius: 10px; padding: 4px 14px; margin-bottom: 14px; }
.share-h { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); padding: 10px 0 2px; }
.progress { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.progress li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.progress li.done { color: var(--ink); }
.pstate { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--mist); display: grid; place-items: center; flex: none; }
.progress li.done .pstate { background: var(--teal); border-color: var(--teal); color: #fff; }
.progress li.busy .pstate { border-color: var(--teal); border-top-color: transparent; animation: spin .8s linear infinite; }
.progress small { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--slate); }
@keyframes spin { to { transform: rotate(360deg); } }
.done-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.done-mark .icon { width: 30px; height: 30px; }
.demo-hint { background: var(--mint-light); border: 1px solid var(--mist); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--slate); margin-top: 14px; }
.demo-hint b { color: var(--pine); }

/* ---------- Toasts ---------- */
#toasts { position: fixed; top: 58px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 10px; width: 340px; }
.toast { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 15px; box-shadow: var(--shadow); animation: pop .2s; display: flex; gap: 10px; align-items: flex-start; }
.toast .icon { color: var(--sage); margin-top: 2px; }
.toast.sms { background: rgba(245,246,246,.97); color: #1b1b1b; backdrop-filter: blur(10px); border: 1px solid #e3e6e6; font-family: -apple-system, system-ui, sans-serif; display: block; }
.sms-h { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #6b7275; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.sms-app { width: 18px; height: 18px; border-radius: 5px; background: #34C759; display: inline-block; }
.sms-h span:last-child { margin-left: auto; text-transform: none; }
.sms b { font-size: 15px; }
.sms .code-n { font-weight: 700; letter-spacing: .08em; }

/* ---------- Candidate area ---------- */
.me-top { height: 68px; border-bottom: 1px solid var(--mist); display: flex; align-items: center; }
.me-top .container { display: flex; align-items: center; gap: 16px; width: 100%; }
.me-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 48px 72px; }
.me-grid { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.auth { max-width: 440px; margin: 56px auto; }
.auth h1 { font-size: 32px; color: var(--pine); }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px 12px; font-size: 15px; }
.kv dt { color: var(--slate); }
.kv dd { margin: 0; color: var(--ink); word-break: break-word; }
.ver { color: var(--teal); font-weight: 700; font-size: 13px; display: inline-flex; gap: 3px; align-items: center; margin-left: 6px; }
.ver .icon { width: 13px; height: 13px; }
.app-item { display: flex; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--mist); }
.app-item:last-child { border-bottom: 0; }
.app-item .t { font-weight: 700; color: var(--pine); }
.timeline-s { display: flex; gap: 4px; margin-top: 6px; }
.timeline-s i { height: 4px; width: 26px; border-radius: 2px; background: var(--mist); }
.timeline-s i.on { background: var(--teal); }
.privacy { background: var(--pine); color: #fff; border-radius: 12px; padding: 22px; margin-top: 24px; }
.privacy p { color: var(--sage); font-size: 15px; margin-top: 6px; }

/* ---------- ATS simulator (deliberately a different product look) ---------- */
.ats { font-family: -apple-system, "Segoe UI", system-ui, sans-serif; background: #F3F4F7; color: #1F2430; min-height: calc(100vh - 46px); font-size: 14px; }
.ats-top { background: #1F2430; color: #fff; height: 54px; display: flex; align-items: center; gap: 14px; padding: 0 20px; }
.ats-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: #fff; text-decoration: none; }
.ats-logo i { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, #6C78F0, #4352C9); display: inline-block; }
.ats-sim { background: #FFE9A8; color: #5A4300; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.ats-top .who-ats { margin-left: auto; color: #B8BED0; font-size: 13px; }
.ats-body { display: grid; grid-template-columns: 330px 1fr; min-height: calc(100vh - 100px); }
.ats-list { background: #fff; border-right: 1px solid #E2E4EA; display: flex; flex-direction: column; }
.ats-list-h { padding: 16px; border-bottom: 1px solid #E2E4EA; }
.ats-list-h h2 { font-size: 15px; margin-bottom: 10px; }
.ats-btn { font: inherit; font-size: 13px; font-weight: 600; border-radius: 6px; padding: 7px 12px; border: 1px solid #D4D7E0; background: #fff; color: #1F2430; cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.ats-btn:hover { background: #F5F6FA; }
.ats-btn.primary { background: #4B57C8; border-color: #4B57C8; color: #fff; }
.ats-btn.primary:hover { background: #3E49B0; }
.ats-btn.sm { padding: 4px 8px; font-size: 12px; }
.ats-jobs { overflow-y: auto; flex: 1; }
.ats-job { display: block; padding: 12px 16px; border-bottom: 1px solid #EEF0F4; text-decoration: none; color: inherit; }
.ats-job:hover { background: #F7F8FB; }
.ats-job.on { background: #EEF0FD; box-shadow: inset 3px 0 0 #4B57C8; }
.ats-job b { display: block; font-size: 14px; }
.ats-job small { color: #6B7185; }
.ats-job .meta { display: flex; gap: 6px; margin-top: 6px; align-items: center; }
.ats-tag { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 4px; background: #EEF0F4; color: #4A5068; }
.ats-tag.q { background: #E3F1EE; color: #1F6B5F; }
.ats-tag.blue { background: #E6E9FB; color: #3E49B0; }
.ats-main { padding: 24px 28px; overflow-x: auto; }
.ats-card { background: #fff; border: 1px solid #E2E4EA; border-radius: 8px; }
.ats-card-h { padding: 12px 16px; border-bottom: 1px solid #E2E4EA; display: flex; align-items: center; gap: 10px; }
.ats-card-h h3 { font-size: 14px; }
.ats-card-b { padding: 16px; }
.ats-h1 { font-size: 22px; font-weight: 700; }
.ats-sub { color: #6B7185; margin-top: 4px; }
.ats-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.ats-stat { background: #fff; border: 1px solid #E2E4EA; border-radius: 8px; padding: 14px 16px; }
.ats-stat .v { font-size: 24px; font-weight: 700; }
.ats-stat .l { color: #6B7185; font-size: 12px; }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 10px; margin-top: 16px; }
.pipe-col { background: #E9EBF1; border-radius: 8px; padding: 10px; min-height: 160px; }
.pipe-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #4A5068; margin: 2px 2px 10px; display: flex; justify-content: space-between; }
.cand { background: #fff; border-radius: 6px; padding: 10px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.cand b { display: block; font-size: 13px; cursor: pointer; }
.cand b:hover { text-decoration: underline; }
.cand small { color: #6B7185; display: block; }
.cand .meta { display: flex; gap: 4px; margin: 6px 0; flex-wrap: wrap; }
.ats-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.ats-tbl th { text-align: left; color: #6B7185; font-weight: 600; font-size: 12px; padding: 8px 12px; border-bottom: 1px solid #E2E4EA; background: #FAFBFC; }
.ats-tbl td { padding: 9px 12px; border-bottom: 1px solid #EEF0F4; vertical-align: top; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.meth { font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: #E6E9FB; color: #3E49B0; }
.meth.wh { background: #FFF1D6; color: #7A5200; }
.st { font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: #1F7A4D; }
.st.bad { color: #B42318; }
.ats details summary { cursor: pointer; color: #4B57C8; font-size: 12px; }
.ats pre { background: #1F2430; color: #D8DCF0; padding: 10px; border-radius: 6px; font-size: 11.5px; overflow-x: auto; margin: 8px 0 0; }
.ats-empty { text-align: center; padding: 60px 20px; color: #6B7185; }
.ats-empty h3 { color: #1F2430; font-size: 17px; margin-bottom: 6px; }
.ats-dialog { font-family: -apple-system, "Segoe UI", system-ui, sans-serif; }
.ats-dialog .dialog-h h2 { color: #1F2430; }

/* ---------- Company careers page (a third-party site) ---------- */
.careers { background: #F8F6F2; min-height: calc(100vh - 46px); font-family: -apple-system, "Segoe UI", system-ui, sans-serif; color: #1C1C1C; }
.chrome { background: #E9E9EB; padding: 8px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #D5D5D8; }
.chrome .dots { display: flex; gap: 6px; }
.chrome .dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; display: block; }
.chrome .dots i:nth-child(2) { background: #FEBC2E; }
.chrome .dots i:nth-child(3) { background: #28C840; }
.chrome .url { flex: 1; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 6px; padding: 4px 12px; font-size: 13px; color: #555; text-align: center; }
.fh-nav { background: #fff; border-bottom: 1px solid #E8E4DC; }
.fh-nav .container { height: 70px; display: flex; align-items: center; gap: 28px; }
.fh-logo { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 700; color: #1E3A5F; text-decoration: none; display: flex; gap: 10px; align-items: center; }
.fh-nav .links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.fh-nav .links a { color: #444; text-decoration: none; }
.fh-nav .links a.on { color: #1E3A5F; font-weight: 700; }
.fh-hero { padding: 56px 0 36px; }
.fh-hero h1 { font-family: Georgia, serif; font-size: 44px; color: #1E3A5F; font-weight: 700; }
.fh-hero p { color: #555; font-size: 18px; margin-top: 10px; max-width: 620px; }
.fh-filters { display: flex; gap: 10px; margin: 24px 0 8px; flex-wrap: wrap; align-items: center; }
.fh-filters select { border: 1px solid #D9D3C7; background: #fff; border-radius: 6px; padding: 8px 12px; font: inherit; font-size: 14px; }
.fh-dept { margin-top: 28px; }
.fh-dept h2 { font-family: Georgia, serif; font-size: 20px; color: #1E3A5F; border-bottom: 2px solid #1E3A5F; padding-bottom: 8px; }
.fh-job { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid #E8E4DC; text-decoration: none; color: inherit; }
.fh-job:hover { background: #fff; }
.fh-job b { font-size: 17px; color: #1C1C1C; }
.fh-job small { color: #666; display: block; margin-top: 2px; }
.fh-job .go { margin-left: auto; color: #1E3A5F; font-weight: 600; font-size: 14px; white-space: nowrap; }
.fh-badge { font-size: 11px; font-weight: 600; color: #1F6B5F; background: #E3F1EE; border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: 2px; }
.fh-jobpage { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 36px 0 72px; align-items: start; }
.fh-jobpage h1 { font-family: Georgia, serif; font-size: 38px; color: #1E3A5F; }
.fh-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 24px; }
.fh-meta span { background: #fff; border: 1px solid #E8E4DC; border-radius: 999px; padding: 4px 12px; font-size: 13px; color: #444; }
.fh-jobpage h3 { font-family: Georgia, serif; font-size: 19px; color: #1E3A5F; margin: 26px 0 8px; }
.fh-jobpage ul { padding-left: 20px; margin: 0; color: #333; line-height: 1.65; }
.fh-jobpage p { color: #333; line-height: 1.65; }
.fh-apply { background: #fff; border: 1px solid #E8E4DC; border-radius: 12px; padding: 24px; position: sticky; top: 70px; }
.fh-apply h3 { margin-top: 0 !important; }
.fh-apply .q-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 0 4px; }
.fh-or { text-align: center; color: #888; font-size: 13px; margin: 14px 0 0; }
.fh-or button { background: none; border: 0; color: #1E3A5F; text-decoration: underline; font-size: 13px; padding: 0; }
.legacy label { display: block; font-size: 13px; color: #444; margin-bottom: 10px; }
.legacy input, .legacy select, .legacy textarea { display: block; width: 100%; margin-top: 4px; border: 1px solid #D9D3C7; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 14px; background: #fff; }
.legacy .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.legacy-btn { width: 100%; background: #1E3A5F; color: #fff; border: 0; border-radius: 6px; padding: 11px; font-weight: 600; font-size: 15px; margin-top: 6px; }
.fh-back { color: #1E3A5F; font-size: 14px; text-decoration: none; display: inline-block; margin-top: 24px; }
.fh-foot { border-top: 1px solid #E8E4DC; padding: 22px 0; color: #777; font-size: 13px; }

@media (max-width: 900px) {
  .container, .main, .me-wrap { padding-left: 20px; padding-right: 20px; }
  .hero-grid, .two-col, .me-grid, .fh-jobpage, .stat-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .flow { grid-template-columns: 1fr; gap: 8px; }
  .flow .arrow { transform: rotate(90deg); height: 32px; }
  .cards, .cards.four, .kpis, .steps, .ats-stats { grid-template-columns: 1fr 1fr; }
  .shell, .ats-body { grid-template-columns: 1fr; }
  .site-nav .links { display: none; }
}
