/* Public careers page and the Work-Style Profile (careers.html). Colors come from app.css, so light and dark both work. */
.careers-body{ background:var(--bg); color:var(--text-primary); font-family:Inter,system-ui,sans-serif; min-height:100vh; display:flex; flex-direction:column; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--surface-1); padding:8px 12px; border-radius:8px; z-index:5; }
.skip:focus{ left:8px; }
.c-head{ background:#05070A; padding:12px 16px; }
.c-brand{ display:inline-flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-family:Oswald,sans-serif; font-weight:500; font-size:18px; letter-spacing:.04em; text-transform:uppercase; }
.c-brand img{ border-radius:8px; }
.c-main{ flex:1; width:100%; max-width:760px; margin:0 auto; padding:0 16px 40px; }
.c-foot{ text-align:center; color:var(--text-muted); font-size:13px; padding:16px; border-top:1px solid var(--border); }
.c-foot p{ margin:4px 0; }
.c-foot a, .c-main a{ color:var(--brand-accent); }
.c-main h1, .c-main h2{ font-family:Oswald,sans-serif; font-weight:700; letter-spacing:.01em; }
.c-hero{ padding:40px 0 24px; }
.c-hero h1{ font-size:clamp(32px, 7vw, 48px); line-height:1.1; margin:0 0 10px; }
.c-hero p{ color:var(--text-secondary); font-size:17px; line-height:1.55; margin:0; max-width:60ch; }
.c-job{ background:var(--surface-1); border:1px solid var(--border); border-radius:12px; padding:20px; }
.c-job h2{ font-size:24px; margin:0 0 6px; }
.c-job p{ color:var(--text-secondary); line-height:1.55; margin:0 0 12px; }
.c-job ol{ color:var(--text-secondary); line-height:1.6; margin:0 0 16px; padding-left:20px; }
.c-card{ background:var(--surface-1); border:1px solid var(--border); border-radius:12px; padding:20px; margin-top:20px; }
.c-card label.field{ display:block; font-weight:600; font-size:14px; margin:0 0 14px; }
.c-card input[type=text], .c-card input[type=email], .c-card textarea{ display:block; width:100%; box-sizing:border-box; margin-top:5px; padding:11px; font:inherit; font-weight:400; color:inherit; background:var(--bg); border:1px solid var(--border); border-radius:8px; }
.c-card textarea{ min-height:120px; resize:vertical; line-height:1.5; }
.c-trap{ position:absolute; left:-9999px; }
/* progress */
.c-progress{ position:sticky; top:0; z-index:3; background:var(--bg); padding:14px 0 10px; }
.c-progress .row{ display:flex; justify-content:space-between; gap:12px; font-size:13px; color:var(--text-secondary); margin-bottom:6px; }
.c-progress .row b{ color:var(--text-primary); }
.c-bar{ height:6px; background:var(--grid); border-radius:99px; overflow:hidden; }
.c-bar i{ display:block; height:100%; background:var(--brand-accent); transition:width .2s; }
.c-part h1{ font-size:30px; margin:8px 0 6px; }
.c-part > p{ color:var(--text-secondary); line-height:1.55; margin:0 0 6px; }
/* Part A */
.c-q{ border:1px solid var(--border); background:var(--surface-1); border-radius:12px; padding:16px; margin:12px 0 0; min-width:0; }
.c-q.missing{ border-color:var(--critical); }
.c-q legend{ font-size:12px; font-weight:600; color:var(--text-muted); padding:0; float:left; width:100%; margin-bottom:8px; }
.c-pair{ clear:both; display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:0 0 12px; }
.c-pair p{ margin:0; line-height:1.45; font-size:15px; }
.c-pair b{ color:var(--brand-accent); margin-right:2px; }
.c-scale{ display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.c-scale label{ display:block; cursor:pointer; }
.c-scale input{ position:absolute; opacity:0; }
.c-scale span{ display:flex; align-items:center; justify-content:center; text-align:center; height:100%; box-sizing:border-box; padding:9px 4px; font-size:13px; font-weight:600; line-height:1.2; border:1px solid var(--border); border-radius:8px; color:var(--text-secondary); }
.c-scale input:checked + span{ background:var(--brand-accent); border-color:var(--brand-accent); color:#fff; }
.c-scale input:focus-visible + span{ outline:2px solid var(--focus); outline-offset:2px; }
/* Part B */
.c-rank{ width:100%; border-collapse:collapse; margin-top:4px; }
.c-rank th{ font-size:12px; color:var(--text-muted); font-weight:600; padding:4px; }
.c-rank th:first-child{ text-align:left; }
.c-rank td{ border-top:1px solid var(--grid); padding:8px 0; vertical-align:middle; }
.c-rank td.opt{ font-size:15px; line-height:1.4; padding-right:10px; }
.c-rank td.r{ width:44px; text-align:center; }
.c-rank label{ display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; cursor:pointer; position:relative; }
.c-rank input{ position:absolute; opacity:0; }
.c-rank label span{ display:flex; width:34px; height:34px; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:99px; font-weight:600; font-size:14px; color:var(--text-secondary); }
.c-rank input:checked + span{ background:var(--brand-accent); border-color:var(--brand-accent); color:#fff; }
.c-rank input:focus-visible + span{ outline:2px solid var(--focus); outline-offset:2px; }
/* Part C */
.c-note{ background:#fff8e6; color:#3a2d00; border:1px solid #e9c46a; border-radius:12px; padding:14px 16px; margin:14px 0; line-height:1.55; font-size:15px; }
.c-note b{ display:block; font-size:12px; letter-spacing:.06em; margin-bottom:4px; }
/* nav + messages */
.c-nav{ display:flex; justify-content:space-between; gap:10px; margin-top:20px; }
.c-nav .btn:only-child{ margin-left:auto; }
.c-btn{ padding:12px 20px; font-size:15px; }
.c-error{ color:var(--critical); font-weight:600; margin:12px 0 0; min-height:1.2em; }
.c-small{ font-size:13px; color:var(--text-muted); line-height:1.5; }
.c-done{ text-align:center; padding:56px 0; }
.c-done h1{ font-size:34px; margin:0 0 10px; }
.c-done p{ color:var(--text-secondary); line-height:1.55; }
@media (max-width:560px){
  .c-pair{ grid-template-columns:1fr; gap:8px; }
  .c-scale{ grid-template-columns:1fr 1fr; }
  .c-rank td.r{ width:36px; } .c-rank label{ width:34px; } .c-rank label span{ width:30px; height:30px; }
  .c-rank td.opt{ font-size:14px; padding-right:4px; }
}
