/* Human+ Desk: restrained workspace design, September 2026. */
:root{--paper:#F4F6FB;--card:#fff;--line:#E3E7EF;--muted:#5E6878;--blue:#6282C2;--desk-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Arial,sans-serif}
body{font-family:var(--desk-font);font-size:15px;line-height:1.55;padding:32px 24px 48px;-webkit-font-smoothing:antialiased}
.wrap{max-width:1000px}
h1,h2,h3,#deskh1,#chooser-name,#today-name,#welcome-name,#ct-title,#opp-title,#hub-name,#cand-name{font-family:var(--desk-font)!important;letter-spacing:-.025em}
h1{font-size:22px;font-weight:500}
h2{font-weight:500;line-height:1.25}
h3{font-weight:500}
.signin-wordmark{color:#6282C2}
#deskh1{font-size:15px;letter-spacing:0}
.eyebrow{font-size:11.5px;letter-spacing:.1em;color:var(--muted);font-weight:500;margin-bottom:12px}
.card{padding:28px;margin:20px 0;border:1px solid #E3E7EF;border-radius:20px;box-shadow:0 3px 16px rgba(11,26,43,.025)}
.card .card{box-shadow:none;border-radius:14px}
.rule{margin:18px 0 22px;height:2px;width:32px}
input,textarea,select{font-family:var(--desk-font);background:#F4F6FB;border:1px solid #E3E7EF;border-radius:10px;padding:11px 13px;font-size:15px;min-height:46px;transition:border-color .15s,box-shadow .15s}
input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #365fa018}
input::placeholder,textarea::placeholder{color:#5E6878;opacity:1}
input[type=checkbox],input[type=radio]{min-height:20px;accent-color:var(--blue)}
.flabel{font-size:13px;font-weight:500;letter-spacing:0;margin:16px 0 6px 0}
.row{gap:18px}.row>div{min-width:0}
button{font-family:var(--desk-font);border-radius:10px;font-size:15px;font-weight:500;min-height:44px;padding:11px 17px;transition:background-color .15s,box-shadow .15s}
.primary{background:var(--navy);color:white}
.primary:hover:not(:disabled){background:#0B1A2B}
.ghost{background:#fff;border-color:var(--line)}
.ghost:hover:not(:disabled){background:#E3E7EF}
button:disabled{cursor:not-allowed}
:focus-visible{outline:3px solid #6282C2;outline-offset:3px}
#tabs{gap:5px;padding:7px;margin:18px 0 22px;background:#E3E7EF;border:1px solid #E3E7EF;border-radius:14px}
#tabs button{background:transparent;border:0;border-radius:9px;padding:9px 14px;font-size:13px;min-height:44px}
#tabs button:hover{background:#ffffffb3}
#signout-btn{margin-top:12px;font-size:11.5px;min-height:36px;padding:6px 12px;color:var(--muted)}
.caseline{padding:18px 8px;transition:background-color .15s}
.caseline:hover{background:#F4F6FB}
.chip{font-size:11.5px;letter-spacing:0;padding:4px 10px;background:#F4F6FB}
.note,.who{font-size:13px;line-height:1.6}
.time{font-size:11.5px}.msg{padding:13px 16px;border-radius:16px;line-height:1.55}
.them{background:#E3E7EF;border-color:transparent}.us{background:#0B1A2B}
.tpl{padding:13px 15px;background:#F4F6FB;border-color:#E3E7EF}
.tpl b{letter-spacing:.03em}
.status-grid{gap:12px}.status-item{padding:16px;background:#F4F6FB;border-color:#E3E7EF;border-radius:12px}
.compact-line{padding:14px 0}
#ct-new>.primary,#ri-save{margin-top:20px}
#ct-new>.ghost{margin-top:10px}
#gate .card{padding:30px}
@media(max-width:600px){
 body{padding:20px 14px 32px}.card{padding:20px;margin:16px 0;border-radius:16px}
 #gate .card{padding:22px}#tabs{gap:4px;padding:5px}#tabs button{padding:8px 11px}
 .row{gap:12px}.row>div:has(>.flabel){flex-basis:100%!important}
 h1{font-size:22px}.note{font-size:13px}.msg{max-width:94%}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
/* A focused department bar replaces the wall of global tabs. */
#tabs{display:block;padding:20px 24px;background:#fff;border:1px solid var(--line);border-radius:20px;margin-bottom:20px}
.department-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.department-eyebrow{display:block;color:var(--muted);font-size:11.5px;letter-spacing:.04em;margin-bottom:4px}
#department-switch{font-size:22px;font-weight:500;letter-spacing:-.025em;border:0;background:transparent;padding:0 28px 0 0;min-height:40px;width:auto;max-width:100%}
.department-menu{display:flex;gap:6px;flex-wrap:wrap}.department-menu button{border:0!important}
.department-guidance{font-size:15px;line-height:1.55;color:var(--muted);margin-top:16px;max-width:760px}
.department-tools{margin-top:14px;font-size:13px}.department-tools summary{cursor:pointer;color:var(--muted);padding:6px 0}.department-tools>div{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px}
.department-tools button{font-size:13px;min-height:36px!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#tabs button:focus-visible,#department-switch:focus-visible{outline:3px solid #6282C2;outline-offset:3px}
@media(max-width:600px){#tabs{padding:16px}.department-heading{align-items:flex-start;flex-direction:column;gap:10px}#department-switch{font-size:22px}.department-menu{gap:4px}.department-menu button{font-size:15px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.hub-applicant{display:block;width:100%;text-align:left;background:white!important;color:var(--navy)!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:18px 4px!important;font-weight:500!important}
#hub-arrival-controls{padding:16px;background:var(--paper);border-radius:12px;margin:16px 0}
/* Numbered department tasks describe the process, not completion status. */
.department-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));align-items:stretch}
.department-menu button{display:flex;align-items:center;gap:9px;text-align:left;line-height:1.35;padding:12px;font-size:15px}
.department-step-number{display:inline-flex;flex:0 0 25px;width:25px;height:25px;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:50%;font-size:11.5px;font-weight:500}
.department-guidance{padding:14px 0 0;border-top:1px solid var(--line)}
@media(max-width:600px){.department-menu{grid-template-columns:1fr 1fr}}
@media(max-width:360px){.department-menu{grid-template-columns:1fr}}
#operations-send{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.operations-handover-item{padding:16px 0;border-bottom:1px solid var(--line)}
.operations-handover-item summary{cursor:pointer;font-weight:500}
#department-switch{border:1px solid var(--line);padding:8px 36px 8px 12px;background:#F4F6FB;border-radius:12px}

/* ---- Human+ Design System (v515). Steward adapts only within these tokens and patterns. ---- */
:root{
 --hp-ink:#0B1A2B;--hp-muted:#5E6878;--hp-faint:#5E6878;--hp-line:#E3E7EF;--hp-soft:#F4F6FB;
 --hp-ok:#1D6B4A;--hp-ok-bg:#E8F5EE;--hp-wait:#8A6F35;--hp-wait-bg:#F7F2E8;--hp-stop:#B42318;--hp-stop-bg:#FCEDEA;--hp-info:#6282C2;--hp-info-bg:#E9EEF7;
 --hp-t-xs:13px;--hp-t-sm:14.5px;--hp-t-md:15px;--hp-t-lg:17px;--hp-t-xl:19px;--hp-t-2xl:24px;--hp-t-3xl:30px;
 --hp-s1:4px;--hp-s2:8px;--hp-s3:12px;--hp-s4:16px;--hp-s5:20px;--hp-s6:28px;
 --hp-r-card:20px;--hp-r-inner:14px;--hp-r-pill:999px;--hp-tap:44px}
.hp-help{font-size:var(--hp-t-xs);color:var(--hp-muted);margin:var(--hp-s1) 0;line-height:1.45}
.hp-emphasis{box-shadow:0 0 0 2px rgba(47,95,167,.25);border-radius:var(--hp-r-inner)}
.hp-more>summary{cursor:pointer;color:var(--hp-info);font-size:var(--hp-t-sm);margin:6px 0;min-height:var(--hp-tap);display:flex;align-items:center}
.hp-btn{min-height:var(--hp-tap);border-radius:var(--hp-r-pill);padding:10px 18px;font:600 var(--hp-t-sm) var(--desk-font);cursor:pointer}
.hp-btn-primary{background:var(--hp-ink);color:#fff;border:0}
.hp-btn-secondary{background:#fff;color:var(--hp-ink);border:1px solid var(--hp-line)}
.hp-btn-quiet{background:none;border:0;color:var(--hp-faint)}
.hp-status{display:inline-block;font-size:11.5px;font-weight:500;border-radius:var(--hp-r-pill);padding:2px 9px}
.hp-status-ok{color:var(--hp-ok);background:var(--hp-ok-bg)}.hp-status-wait{color:var(--hp-wait);background:var(--hp-wait-bg)}
.hp-status-stop{color:var(--hp-stop);background:var(--hp-stop-bg)}.hp-status-info{color:var(--hp-info);background:var(--hp-info-bg)}
.hp-error{font-size:var(--hp-t-sm);color:var(--hp-stop);margin-top:var(--hp-s1)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid rgba(47,95,167,.45);outline-offset:2px}
@media (max-width:820px){body{padding:20px 14px 40px}.card{padding:20px}}
