/* ExecWing apps (candidate + business PWAs). Mobile-first. Brand tokens match site.css. */
:root{--teal:#19B0A9;--blue:#196DB5;--teal-d:#0E7C77;--blue-d:#145A96;--ink:#1F2428;--ink-2:#4A5158;--muted:#5B636B;--bg:#F5F8FA;--bg-2:#EEF4F7;--line:#E1E8ED;--white:#fff;--ok:#0E7C4A;--err:#B42318;--warn:#8A5A00;
--grad:linear-gradient(120deg,#19B0A9 0%,#196DB5 100%);--grad-d:linear-gradient(120deg,#0E7C77 0%,#145A96 100%);--r:16px;--sh:0 1px 2px rgba(20,40,60,.05),0 8px 24px rgba(20,40,60,.07);
--top:env(safe-area-inset-top,0px);--bot:env(safe-area-inset-bottom,0px)}
*,*:before,*:after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;height:100%}
body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.55;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;padding-bottom:calc(72px + var(--bot))}
a{color:var(--blue-d);text-underline-offset:3px}
:focus-visible{outline:3px solid #F2A900;outline-offset:2px;border-radius:6px}
[tabindex="-1"]:focus{outline:none}
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:10px 16px;z-index:200;border-radius:8px}.skip:focus{left:12px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ap-hd{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line);padding-top:var(--top)}
.ap-hd .in{display:flex;align-items:center;gap:10px;max-width:760px;margin:0 auto;padding:10px 16px;min-height:58px}
.ap-hd img{width:34px;height:34px;border-radius:9px;flex:none;box-shadow:0 0 0 1px var(--line)}
.ap-hd .nm{font-weight:700;font-size:.98rem;line-height:1.15;margin:0 auto 0 0;min-width:0}.ap-hd .nm small{display:block;font-weight:500;color:var(--muted);font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-hd button{white-space:nowrap;padding:7px 11px!important;min-height:38px!important;flex:none}
.ap-hd button,.chip{font:inherit;font-size:.85rem;font-weight:650;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 12px;cursor:pointer;min-height:40px}
.ap-hd .inst{background:var(--grad-d);color:#fff;border:0}
.net{display:none;background:#FFF4D6;color:#5A3D00;font-size:.88rem;padding:8px 16px;text-align:center;border-bottom:1px solid #F0D58A}
.net.on{display:block}
main{display:block;max-width:760px;margin:0 auto;padding:18px 16px 28px;outline:none}
h1{font-size:1.6rem;line-height:1.2;letter-spacing:-.02em;margin:.2em 0 .4em}
h2{font-size:1.2rem;line-height:1.25;margin:1.4em 0 .5em}h3{font-size:1.02rem;margin:0 0 .3em}
p{margin:0 0 .9em}.muted{color:var(--muted)}.small{font-size:.88rem}
.eyebrow{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-d);margin-bottom:4px}
.hero{background:radial-gradient(500px 260px at 100% 0,rgba(25,176,169,.18),transparent 60%),#fff;border:1px solid var(--line);border-radius:20px;padding:22px 18px;box-shadow:var(--sh)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--sh);margin:0 0 12px}
a.card,button.card{display:block;width:100%;text-align:left;font:inherit;color:inherit;text-decoration:none;cursor:pointer}
a.card:hover,button.card:hover{border-color:#BFD5E2}
.card .go{float:right;color:var(--blue-d);font-weight:700}
.grid{display:grid;gap:12px}.g2{grid-template-columns:1fr 1fr}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--grad-d);color:#fff;text-decoration:none;font:inherit;font-weight:650;padding:13px 20px;border-radius:999px;border:0;cursor:pointer;min-height:48px;box-shadow:0 8px 22px rgba(20,90,150,.2)}
.btn:hover{color:#fff}.btn[disabled]{opacity:.55;cursor:not-allowed}
.btn.sec{background:#fff;color:var(--blue-d);box-shadow:inset 0 0 0 1.5px var(--blue-d)}
.btn.ghost{background:none;color:var(--blue-d);box-shadow:none;padding-inline:8px}
.btn.block{width:100%}.row-btns{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.tag{display:inline-block;background:var(--bg-2);border-radius:8px;padding:3px 9px;font-size:.8rem;font-weight:600;color:var(--ink-2);margin:2px 4px 2px 0}
.tag.ok{background:#E3F5EC;color:var(--ok)}.tag.warn{background:#FFF4D6;color:var(--warn)}
ul.ck{list-style:none;padding:0;margin:0 0 .8em}ul.ck li{position:relative;padding:4px 0 4px 26px}
ul.ck li:before{content:"";position:absolute;left:0;top:9px;width:16px;height:16px;border-radius:50%;background:var(--grad)}
ul.ck li:after{content:"";position:absolute;left:5px;top:12px;width:5px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
ol.st{padding-left:1.3em}ol.st li{margin:0 0 .5em}
label{display:block;font-weight:600;font-size:.92rem;margin:14px 0 6px}
input,select,textarea{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1.5px solid #C9D3DA;border-radius:12px;padding:12px;min-height:48px}
textarea{min-height:96px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--blue);outline:3px solid rgba(25,109,181,.18);outline-offset:0}
input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--err)}
.hint{font-size:.82rem;color:var(--muted);margin:4px 0 0}.ferr{font-size:.85rem;color:var(--err);margin:4px 0 0;font-weight:600}
.consent{display:flex;gap:10px;align-items:flex-start;font-weight:500}.consent input{width:22px;height:22px;min-height:0;margin-top:2px;flex:none}
.chk{display:flex;gap:10px;align-items:flex-start;font-weight:500;margin:8px 0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.chk input{width:22px;height:22px;min-height:0;flex:none;margin-top:1px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.steps{display:flex;gap:6px;margin:6px 0 16px;padding:0;list-style:none}.steps li{flex:1;height:6px;border-radius:6px;background:var(--line)}.steps li.on{background:var(--grad)}
.status{border-radius:12px;padding:12px 14px;margin:12px 0;font-size:.95rem}.status:empty{display:none}
.status.ok{background:#E3F5EC;color:#0B5A37}.status.err{background:#FDECEA;color:#8A1C12}.status.info{background:var(--bg-2);color:var(--ink-2)}
.search{position:relative}.search input{padding-left:40px}.search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:20px;height:20px;stroke:var(--muted);fill:none;stroke-width:2}
.res a{display:block;padding:12px 2px;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}.res b{color:var(--blue-d)}.res span{display:block;font-size:.85rem;color:var(--muted)}
.empty{text-align:center;color:var(--muted);padding:26px 10px;border:1.5px dashed var(--line);border-radius:var(--r);background:#fff}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(255,255,255,.98);border-top:1px solid var(--line);padding-bottom:var(--bot);backdrop-filter:blur(10px)}
.tabbar ul{display:flex;max-width:760px;margin:0 auto;padding:0;list-style:none}.tabbar li{flex:1}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px 9px;font-size:.72rem;font-weight:650;color:var(--muted);text-decoration:none;min-height:56px}
.tabbar svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tabbar a[aria-current=page]{color:var(--blue-d)}.tabbar a[aria-current=page] svg{stroke:var(--teal-d)}
.badge{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--teal-d);color:#fff;font-size:.7rem;line-height:18px;text-align:center}
.sheet{position:fixed;inset:0;z-index:150;background:rgba(15,25,35,.45);display:flex;align-items:flex-end;justify-content:center}
.sheet[hidden]{display:none}.sheet .bx{background:#fff;width:min(560px,100%);border-radius:20px 20px 0 0;padding:20px 18px calc(20px + var(--bot));max-height:88vh;overflow:auto}
.toast{position:fixed;left:50%;bottom:calc(84px + var(--bot));transform:translateX(-50%);background:#1C2226;color:#fff;padding:10px 16px;border-radius:12px;font-size:.9rem;z-index:170;max-width:92vw}.toast:empty{display:none}
.note{border-left:4px solid var(--teal);background:#fff;padding:12px 14px;border-radius:0 12px 12px 0;margin:12px 0}
fieldset.card{padding-top:10px}fieldset.card legend{font-weight:700;padding:0 6px;background:#fff;border-radius:8px}
input[type=file]{padding:9px;font-size:.92rem;background:var(--bg)}
details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 14px;margin:0 0 10px}details summary{cursor:pointer;font-weight:650;padding:14px 0;min-height:48px}details[open] summary{border-bottom:1px solid var(--line);margin-bottom:10px}
.foot{font-size:.8rem;color:var(--muted);text-align:center;margin:30px 0 8px}
@media (max-width:360px){.ap-hd .nm small{display:none}}
@media (min-width:700px){h1{font-size:2rem}.hero{padding:30px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media (display-mode:standalone){.ap-hd .inst{display:none}}

/* Apps v2 (Nov 10, 2026) */
.slot-grid{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
button.slot{appearance:none;border:1px solid var(--line,#c9d3da);background:#fff;border-radius:999px;padding:8px 12px;font:inherit;cursor:pointer}
button.slot[aria-pressed="true"]{border-color:var(--blue-d,#145A96);background:var(--blue-d,#145A96);color:#fff}
button.slot.off,button.slot:disabled{opacity:.45;cursor:not-allowed}
.card.unread{box-shadow:inset 3px 0 0 var(--teal,#0E7C77)}
#v2-me,#v2-home{margin-top:12px}
#passage{white-space:pre-wrap;line-height:1.5}

/* Apps v3 (Nov 10, 2026) */
.skip{position:absolute;left:-999px;top:0;background:#1b3a4b;color:#fff;padding:8px 12px;z-index:400}
.skip:focus{left:8px}
.rec-prev{width:100%;max-height:240px;background:#111;border-radius:12px;margin:8px 0}
#v3-me,#v3-home,#v3-more,#v3-brief{margin-top:12px}
#match-live h3{margin:8px 0 4px;font-size:1rem}
.i18n-note{font-size:.8rem;color:var(--muted,#556);margin:6px 12px}
html.ew-lg{font-size:120%}
html.ew-lg h1{font-size:2.15rem}
html.ew-hc,html.ew-hc body{background:#000;color:#fff}
html.ew-hc .card,html.ew-hc .ap-hd,html.ew-hc .tabbar,html.ew-hc header,html.ew-hc .sheet .bx{background:#000;color:#fff;border-color:#fff}
html.ew-hc a{color:#9cf}
html.ew-hc .btn,html.ew-hc button.slot[aria-pressed="true"]{background:#fff;color:#000;border-color:#fff}
html.ew-hc .btn.sec,html.ew-hc .muted,html.ew-hc .small{color:#eee}
html.ew-hc input,html.ew-hc select,html.ew-hc textarea{background:#111;color:#fff;border-color:#fff}
html.ew-hc :focus,html.ew-hc :focus-visible{outline:3px solid #ff0}
@media (prefers-reduced-motion:reduce){.rec-prev{scroll-behavior:auto}}

/* site chatbot styles (from site.css) */
.ewc-btn{position:fixed;right:20px;bottom:20px;z-index:90;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 18px 12px 14px;background:var(--grad-d);color:#fff;font:inherit;font-weight:650;cursor:pointer;box-shadow:0 10px 30px rgba(20,90,150,.35)}
.ewc-btn:hover{filter:brightness(1.08)}
.ewc-btn.on .ewc-lbl{display:none}
.ewc-panel{position:fixed;right:20px;bottom:86px;z-index:91;width:min(380px,calc(100vw - 24px));max-height:min(600px,calc(100vh - 110px));display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 60px rgba(20,40,60,.22);overflow:hidden}
.ewc-panel[hidden]{display:none}
.ewc-hd{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 16px;background:var(--grad-d);color:#fff}
.ewc-t{margin:0;font-weight:700}
.ewc-s{margin:0;font-size:.8rem;opacity:.9}
.ewc-x{background:none;border:0;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;padding:0 4px}
.ewc-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--bg);min-height:180px}
.ewc-m{max-width:88%;padding:10px 12px;border-radius:12px;font-size:.92rem;line-height:1.5}
.ewc-bot{background:#fff;border:1px solid var(--line);align-self:flex-start}
.ewc-user{background:var(--blue-d);color:#fff;align-self:flex-end}
.ewc-typing{color:var(--muted)}
.ewc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 0;background:var(--bg)}
.ewc-chip{border:1px solid #C9DCE6;background:#fff;color:var(--blue-d);border-radius:999px;padding:6px 10px;font:inherit;font-size:.82rem;cursor:pointer}
.ewc-f{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line)}
.ewc-f input{flex:1;min-width:0;border:1px solid #C9D3DA;border-radius:10px;padding:10px 12px;font:inherit;font-size:16px}
.ewc-send{border:0;border-radius:10px;background:var(--blue-d);color:#fff;font:inherit;font-weight:650;padding:0 14px;cursor:pointer}
.ewc-note{margin:0;padding:0 12px 10px;font-size:.72rem;color:var(--muted)}
.ewc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:560px){.ewc-btn{right:14px;bottom:14px}.ewc-btn .ewc-lbl{display:none}.ewc-panel{right:8px;left:8px;width:auto;bottom:78px;max-height:calc(100vh - 100px)}}
@media (prefers-reduced-motion:reduce){.ewc-btn,.usmap path{transition:none}}
.ewc-src{margin:8px 0 0;font-size:.8rem;line-height:1.45;border-top:1px solid var(--line);padding-top:6px}
.ewc-src a{margin-right:2px}
