/* The Talent Portal (talent.inquire2esquire.com): an app, not a web page.
   The look is the firm portal's - Inter, the warm ground, one radius, small
   uppercase labels, cards - with the Agents branding. build_portal.py puts
   components.css (cards, forms, the recorder, the profile) where the marker
   below is; this file is the tokens, the shell and what the app changes. */
:root{
  --bg:#f4f2ee; --surface:#fff; --surface2:#eeece8; --border:#dddad2; --border2:#ccc9c0;
  --text:#1c1a16; --text2:#4a4740; --accent:#1a3a5c; --accent2:#2557a7; --accent-light:#e8eef8;
  /* the names the components were written against, pointed at the portal's palette */
  --cream:var(--bg); --paper:var(--surface); --ink:var(--text); --muted:#5f5b53; --dim:#7d7970;
  --line:var(--border); --line2:#d3dcec; --skyfaint:var(--accent-light);
  --navy:var(--accent); --navy2:var(--accent2); --steel:var(--accent2); --sky:#9db4d8;
  --bronze:#b9793f; --bronze2:#c18653;
  --shadow:0 1px 2px rgba(20,24,30,.05),0 6px 18px rgba(20,24,30,.05);
  --disp:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif; --body:var(--disp);
  --r:12px; --bar:58px;
}
*{box-sizing:border-box}
html{scroll-padding-top:calc(var(--bar) + 12px)}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;display:block}
a{color:var(--accent2)}
h1,h2,h3{font-family:var(--disp);font-weight:650;line-height:1.2;letter-spacing:-.012em;margin:0}
h1{font-size:1.45rem} h2{font-size:1.14rem} h3{font-size:1rem}
p{margin:0}
.sub{color:var(--muted);margin:4px 0 0;max-width:70ch}
.btn{display:inline-block;padding:9px 16px;border-radius:9px;background:var(--accent);color:#fff;font-weight:600;font-size:14px;
  border:1px solid var(--accent);text-decoration:none;cursor:pointer;font-family:inherit;line-height:1.3}
.btn:hover{background:#234b75;text-decoration:none}
.btn.ghost{background:var(--surface);color:var(--text);border-color:var(--border2)}
.btn.ghost:hover{background:var(--surface2)}
.btn.sm{padding:7px 12px;font-size:13px}

/* ── the shell ──────────────────────────────────────────────────────── */
.app-bar{position:sticky;top:0;z-index:40;height:var(--bar);display:flex;align-items:center;gap:18px;padding:0 20px;
  background:#f1e7d6;border-bottom:1px solid #e2d3bb}
.app-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--text);flex:none}
.app-brand img{width:30px;height:30px;border-radius:7px}
.app-brand .wm{font-weight:700;font-size:15.5px;letter-spacing:-.01em;white-space:nowrap}
.app-brand .wm i{font-style:normal;color:var(--bronze)}
.app-brand .wm em{font-style:normal;color:var(--bronze);margin-left:4px}
.app-brand .tp{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);border-left:1px solid #d9c7a8;
  padding-left:10px;margin-left:2px;white-space:nowrap}
.app-burger{flex:none;width:36px;height:36px;border-radius:8px;border:1px solid #d9c7a8;background:transparent;color:var(--text);cursor:pointer;display:grid;place-items:center}
.app-mode{margin-left:auto;font-size:13px;white-space:nowrap}
.app-mode a{color:var(--accent2)}
.app-body{display:flex;align-items:flex-start;min-height:calc(100vh - var(--bar))}
.app-side{flex:none;width:226px;position:sticky;top:var(--bar);height:calc(100vh - var(--bar));overflow-y:auto;background:var(--surface);border-right:1px solid var(--border);padding:12px 10px}
body.nav-min .app-side,body.no-side .app-side{display:none}
body.no-side .app-burger{visibility:hidden}
.app-nav{display:grid;gap:2px}
.app-nav a{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:550;padding:9px 11px;border-radius:9px;color:var(--text2);text-decoration:none}
.app-nav a:hover{background:var(--surface2);color:var(--text)}
.app-nav a.on{background:var(--accent);color:#fff}
.app-nav a .ico{flex:none}
.app-nav a span{flex:1;min-width:0}
/* a tab that opens after signing in: plainly readable, plainly marked */
.app-nav a[data-locked]{color:var(--muted);font-weight:500}
.app-nav a[data-locked] .lock{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:var(--surface2);color:var(--text2)}
.app-nav a[data-locked].on{background:var(--accent-light);color:var(--accent)}
.app-side-note{font-size:12px;line-height:1.45;color:var(--dim);padding:12px 11px 0;margin-top:8px;border-top:1px solid var(--border)}
.app-scrim{display:none}
.app-acct{position:relative;flex:none}
.app-mode:empty+.app-acct{margin-left:auto}
.app-acct>summary{list-style:none;cursor:pointer;font-size:13.5px;font-weight:600;padding:7px 13px;border-radius:8px;background:var(--surface);
  border:1px solid var(--border2);color:var(--text);display:flex;align-items:center;gap:6px;max-width:44vw}
.app-acct>summary::-webkit-details-marker{display:none}
.app-acct>summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-acct>summary::after{content:"";border:4px solid transparent;border-top-color:currentColor;margin-top:4px}
.app-acct.signin>summary{background:var(--accent);border-color:var(--accent);color:#fff}
.app-acct.signin>summary::after{display:none}
.app-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:210px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);
  box-shadow:0 12px 34px rgba(20,24,30,.14);padding:6px;display:grid}
.app-menu a,.app-menu button{font:inherit;font-size:14px;text-align:left;padding:9px 11px;border-radius:8px;border:0;background:none;color:var(--text);
  text-decoration:none;cursor:pointer}
.app-menu a:hover,.app-menu button:hover{background:var(--surface2)}
.app-menu .who{font-size:12px;color:var(--dim);padding:6px 11px 4px;overflow-wrap:anywhere}
.app-view{flex:1;min-width:0;max-width:1120px;margin:0 auto;padding:22px 24px 56px}
.app-h{margin-bottom:18px;display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.app-h>div{flex:1;min-width:220px}
.app-h .btn{flex:none}
.app-label{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:0 0 6px}
.app-back{display:inline-block;font-size:13.5px;margin-bottom:12px;text-decoration:none}
.app-acct summary b{display:block;font-weight:650;line-height:1.15}
.app-acct summary small{display:block;font-size:11px;font-weight:600;color:var(--bronze);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:860px){
  .app-bar{padding:0 10px;gap:8px}
  .app-brand .wm{font-size:13.5px}
  .app-brand .tp{display:none}
  .app-brand img{width:26px;height:26px}
  .app-mode{font-size:12px;white-space:normal;text-align:right;line-height:1.2;max-width:74px}
  /* the menu is a drawer, opened by the button in the bar */
  .app-side{position:fixed;left:0;top:var(--bar);bottom:0;z-index:60;width:min(280px,84vw);height:auto;transform:translateX(-102%);transition:transform .18s ease;box-shadow:12px 0 34px rgba(20,24,30,.16);display:block!important}
  body.nav-open .app-side{transform:none}
  body.nav-open .app-scrim{display:block;position:fixed;inset:var(--bar) 0 0 0;z-index:55;background:rgba(20,24,30,.38)}
  .app-nav a{padding:12px 12px;font-size:15px}
  .app-view{padding:16px 14px 40px}
  .app-acct>summary{padding:6px 10px;max-width:36vw}
}
@media(max-width:420px){.app-brand .wm em{display:none}}

/* The Talent pages (/talent/). Everything here is built from the home
   stylesheet's own tokens - cream, navy, bronze, Spectral over Public Sans,
   the 14px card and its two-layer shadow - so these pages read as the same
   site. Source: src/talent/talent.css; build_talent.py copies it to
   public/home/talent/. */

.t-hero h1{max-width:16ch}
.t-hero .lede{margin-top:16px;max-width:54ch}
.t-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px;max-width:760px}
.t-path{display:block;text-decoration:none;border:1px solid rgba(255,255,255,.26);border-radius:14px;
  padding:18px 20px;background:rgba(255,255,255,.06);color:#fff!important;transition:background .15s,border-color .15s}
.t-path:hover{background:rgba(255,255,255,.12);border-color:#E2B074;text-decoration:none}
.t-path b{display:block;font-family:var(--disp);font-size:1.22rem;font-weight:600;color:#fff}
.t-path span{display:block;font-size:14.5px;color:#C9DAE6;margin-top:4px}
.t-path em{display:inline-block;margin-top:12px;font-style:normal;font-weight:700;font-size:14px;color:#E2B074}
@media(max-width:620px){.t-paths{grid-template-columns:1fr}}

.t-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.t-head h2{margin:0}
.t-head .sub{margin:6px 0 0}
.t-head .btn{margin-left:auto}

/* ── open roles ─────────────────────────────────────────────────────── */
.t-jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.t-job{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);
  border-top:3px solid var(--bronze);border-radius:14px;padding:20px 20px 18px;box-shadow:var(--shadow);
  color:var(--ink);text-decoration:none;transition:transform .15s,box-shadow .15s}
.t-job:hover{transform:translateY(-3px);text-decoration:none;
  box-shadow:0 2px 4px rgba(0,32,60,.08),0 14px 34px rgba(0,32,60,.10)}
.t-job .cat{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--steel)}
.t-job h3{margin:6px 0 8px;font-size:1.16rem}
.t-job p{color:var(--muted);font-size:14.5px;line-height:1.55}
.t-job .firm{font-size:13px;color:var(--steel);font-weight:600;margin:-2px 0 8px}
.t-job .foot{margin-top:auto;padding-top:14px;display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--dim)}
.t-job .foot b{margin-left:auto;color:var(--navy);font-weight:700;white-space:nowrap}

/* ── steps ──────────────────────────────────────────────────────────── */
.t-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;counter-reset:s}
.t-steps li{counter-increment:s;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px 16px 15px}
.t-steps li::before{content:counter(s);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:var(--navy);color:#fff;font-weight:700;font-size:13.5px;margin-bottom:10px}
.t-steps b{display:block;font-family:var(--disp);font-size:1.05rem;font-weight:600}
.t-steps span{display:block;color:var(--muted);font-size:14px;line-height:1.5;margin-top:4px}

/* ── the gallery ────────────────────────────────────────────────────── */
.t-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.t-person{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:10px}
.t-person .who{display:flex;align-items:center;gap:12px}
.t-person .av{flex:none;width:46px;height:46px;border-radius:50%;background:var(--skyfaint);border:1px solid var(--line2);
  color:var(--navy);display:grid;place-items:center;font-family:var(--disp);font-weight:700;font-size:17px}
.t-person .who b{display:block;font-family:var(--disp);font-size:1.14rem;font-weight:600;line-height:1.2}
.t-person .who span{display:block;font-size:13.5px;color:var(--muted)}
.t-person .role{font-weight:600;font-size:15px}
.t-person dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;font-size:13.5px}
.t-person dt{color:var(--dim)}
.t-person dd{margin:0;color:var(--ink)}
.t-person .blurb{font-size:14px;color:var(--muted);line-height:1.5}
.t-tags{display:flex;flex-wrap:wrap;gap:6px}
.t-tag{font-size:12px;padding:3px 9px;border-radius:999px;background:var(--skyfaint);border:1px solid var(--line2);color:var(--navy2)}
.t-tag.badge{background:#F6EBDD;border-color:#E6CDB0;color:#7A4A1C;font-weight:600}
.t-status{align-self:flex-start;font-size:11.5px;font-weight:700;letter-spacing:.04em;padding:4px 10px;border-radius:999px;
  background:#E7F3EC;color:#17603A;border:1px solid #C5E0D0}
.t-status[data-s="reviewing"]{background:#F1EEE6;color:#5C5648;border-color:var(--line)}
.t-status[data-s="selected"]{background:#EAF1F7;color:var(--navy2);border-color:var(--line2)}
.t-status[data-s="training"]{background:#FBF1DC;color:#7A5410;border-color:#EBD9AC}
.t-status[data-s="placed"]{background:#ECECEC;color:#555;border-color:#D9D9D9}
.t-person .acts{margin-top:auto;padding-top:6px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.t-person .acts .btn{padding:9px 15px;font-size:14px}
.t-person .vid-note{font-size:13px;color:var(--dim)}
/* Placed: greyed out, and there is nothing on it to press. */
.t-person.placed{background:#F3F1EB;box-shadow:none;border-color:#E2DED3;color:#7B7B7B;filter:grayscale(1);opacity:.78}
.t-person.placed .av{background:#E6E3DB;color:#7B7B7B;border-color:#D9D5CA}
.t-person.placed .who b,.t-person.placed .who span{color:#6F6F6F}
.t-empty{background:var(--paper);border:1px dashed var(--line);border-radius:14px;padding:28px 22px;text-align:center}
.t-empty h3{margin-bottom:6px}
.t-empty p{color:var(--muted);max-width:52ch;margin:0 auto 16px}
.t-loading{color:var(--dim);font-size:14.5px;padding:10px 0}

/* ── forms ──────────────────────────────────────────────────────────── */
.t-form{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);
  padding:clamp(18px,3vw,30px)}
.t-form fieldset{border:0;margin:0;padding:0;min-width:0}
.t-form fieldset+fieldset{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.t-form legend{font-family:var(--disp);font-weight:600;font-size:1.22rem;padding:0;margin-bottom:4px}
.t-form .hint{color:var(--muted);font-size:14px;margin:0 0 14px}
.t-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.t-grid .wide{grid-column:1/-1}
@media(max-width:620px){.t-grid{grid-template-columns:1fr}}
.t-f{display:block;font-size:13.5px;font-weight:600;color:var(--ink);min-width:0}
.t-f>span.opt{font-weight:400;color:var(--dim)}
.t-f small{display:block;font-weight:400;color:var(--dim);font-size:12.5px;margin-top:4px;line-height:1.4}
.t-f input,.t-f select,.t-f textarea{display:block;width:100%;margin-top:6px;font:inherit;font-size:16px;font-weight:400;
  color:var(--ink);background:#fff;border:1px solid #CFC7B6;border-radius:10px;padding:11px 12px;min-height:46px}
.t-f textarea{min-height:96px;resize:vertical;line-height:1.5}
.t-f input:focus,.t-f select:focus,.t-f textarea:focus,.t-check input:focus-visible,.t-pick input:focus-visible+span{
  outline:2px solid var(--bronze);outline-offset:1px}
.t-f.bad input,.t-f.bad select,.t-f.bad textarea{border-color:#B3261E;background:#FFF7F6}
.t-err{display:none;color:#B3261E;font-size:13px;font-weight:600;margin-top:5px}
.bad>.t-err,.t-err.on{display:block}
.t-picks{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.t-pick{position:relative;cursor:pointer}
.t-pick input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.t-pick span{display:inline-block;padding:9px 14px;border-radius:999px;border:1px solid #CFC7B6;background:#fff;
  font-size:14.5px;font-weight:500;color:var(--ink);transition:background .12s,border-color .12s,color .12s}
.t-pick input:checked+span{background:var(--navy);border-color:var(--navy);color:#fff}
.t-check{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;font-size:14.5px;line-height:1.5;margin-top:12px;cursor:pointer}
.t-check input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--navy)}
.t-check small{display:block;color:var(--dim);font-size:13px}
.t-check.bad{color:#B3261E}
/* The field people never see. Off the page rather than display:none, which
   the simplest bots skip. */
.t-hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}
.t-actions{margin-top:24px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.t-actions .btn{border:0;cursor:pointer;font:inherit;font-weight:700;font-size:16px;padding:13px 26px}
.t-actions .btn[disabled]{opacity:.55;cursor:default}
.t-msg{font-size:14.5px;color:var(--muted)}
.t-msg.err{color:#B3261E;font-weight:600}
.t-note{font-size:13.5px;color:var(--muted);line-height:1.55;margin-top:16px}
.t-done{text-align:center;padding:clamp(26px,5vw,48px) 10px}
.t-done .tick{width:56px;height:56px;border-radius:50%;background:#E7F3EC;color:#17603A;display:grid;place-items:center;
  margin:0 auto 16px;font-size:28px;font-weight:700}
.t-done p{color:var(--muted);max-width:52ch;margin:10px auto 0}
.t-done .btn{margin-top:22px}
.t-chosen{display:none;align-items:center;gap:10px;background:var(--skyfaint);border:1px solid var(--line2);border-radius:10px;
  padding:10px 12px;font-size:14.5px;margin-bottom:14px}
.t-chosen.on{display:flex}
.t-chosen button{margin-left:auto;background:none;border:0;color:var(--navy2);font:inherit;font-size:13.5px;
  text-decoration:underline;cursor:pointer;padding:6px}
.t-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
@media(max-width:900px){.t-two{grid-template-columns:1fr}}

/* ── files and the recorder ─────────────────────────────────────────── */
.t-file{border:1px dashed #CFC7B6;border-radius:12px;padding:16px;background:#FFFDF8}
.t-file input[type=file]{font:inherit;font-size:15px;max-width:100%}
.t-file .picked{font-size:14px;color:var(--ink);margin-top:8px;word-break:break-word}
.t-tabs{display:flex;gap:6px;margin:4px 0 12px;flex-wrap:wrap}
.t-tab{font:inherit;font-size:14.5px;font-weight:600;padding:9px 16px;border-radius:999px;border:1px solid #CFC7B6;
  background:#fff;color:var(--ink);cursor:pointer}
.t-tab[aria-selected="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.t-say{background:var(--skyfaint);border:1px solid var(--line2);border-radius:12px;padding:14px 16px;margin-bottom:14px}
.t-say b{display:block;margin-bottom:6px}
.t-say ol{margin:0;padding-left:20px;font-size:14.5px;line-height:1.55}
.t-rec video{width:100%;max-width:480px;aspect-ratio:4/3;background:#0d1b26;border-radius:12px;display:block;object-fit:cover}
.t-rec .row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.t-rec .row button{font:inherit;font-size:15px;font-weight:700;padding:11px 18px;border-radius:10px;border:1px solid var(--navy);
  background:var(--navy);color:#fff;cursor:pointer;min-height:46px}
.t-rec .row button.alt{background:#fff;color:var(--ink);border-color:#CFC7B6}
.t-rec .row button.stop{background:#B3261E;border-color:#B3261E}
.t-rec .row button[hidden]{display:none}
.t-clock{font-variant-numeric:tabular-nums;font-weight:700;font-size:15px}
.t-clock.live::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:#B3261E;margin-right:7px;
  animation:t-blink 1s steps(2) infinite}
@keyframes t-blink{50%{opacity:.2}}
.t-bar{height:8px;border-radius:999px;background:#EEE8DA;overflow:hidden;margin-top:10px;display:none}
.t-bar.on{display:block}
.t-bar i{display:block;height:100%;width:0;background:var(--bronze);transition:width .2s}

/* ── a posting ──────────────────────────────────────────────────────── */
.t-post{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(22px,4vw,44px);align-items:start}
@media(max-width:900px){.t-post{grid-template-columns:1fr}}
.t-post h2{font-size:1.32rem;margin:30px 0 10px}
.t-post h2:first-child{margin-top:0}
.t-post ul{margin:0;padding-left:22px}
.t-post li{margin-bottom:7px;line-height:1.6}
.t-post p{line-height:1.68}
.t-side{background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--bronze);border-radius:14px;
  padding:20px;box-shadow:var(--shadow);position:sticky;top:86px}
@media(max-width:900px){.t-side{position:static;order:-1}}
.t-side dl{margin:0 0 16px;font-size:14.5px}
.t-side dt{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--steel);margin-top:12px}
.t-side dt:first-child{margin-top:0}
.t-side dd{margin:3px 0 0;line-height:1.5}
.t-side .btn{display:block;text-align:center}
.t-closed{background:#FBF1DC;border:1px solid #EBD9AC;border-radius:12px;padding:14px 16px;margin-bottom:20px;font-weight:600;color:#6B4A0E}
.t-crumb{font-size:14px;margin:0 0 14px}
.t-eo{font-size:13.5px;color:var(--muted);line-height:1.6;margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}

/* ── the video dialog ───────────────────────────────────────────────── */
.t-modal{position:fixed;inset:0;z-index:60;background:rgba(8,20,30,.72);display:none;align-items:center;justify-content:center;padding:16px}
.t-modal.on{display:flex}
.t-modal .box{background:#0d1b26;border-radius:14px;padding:12px;max-width:560px;width:100%;position:relative}
.t-modal video{width:100%;max-height:72vh;border-radius:8px;display:block;background:#000}
.t-modal .x{position:absolute;top:-14px;right:-8px;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--ink);
  font-size:24px;line-height:1;cursor:pointer;box-shadow:var(--shadow)}
.t-modal .cap{color:#C9DAE6;font-size:13.5px;padding:10px 4px 2px}

/* ── the account: sign in, the builder, my applications ─────────────── */
.t-narrow{max-width:560px;margin-inline:auto}
.t-code{font-size:24px!important;letter-spacing:.3em;font-variant-numeric:tabular-nums;max-width:240px}
.t-link{background:none;border:0;padding:6px 0;font:inherit;font-size:14.5px;color:var(--navy2);text-decoration:underline;cursor:pointer}
.t-link.danger{color:#B3261E}
.t-actions .btn.danger,.btn.danger{background:#B3261E;border-color:#B3261E;color:#fff}
.t-actions .btn.ghost{border:1px solid var(--line);font-weight:600}
.t-notice{background:#FBF1DC;border:1px solid #EBD9AC;border-radius:12px;padding:12px 14px;font-size:14.5px;line-height:1.5;color:#5B4310;margin:0 0 16px}
.t-notice b{display:block;margin-bottom:4px}
.t-notice p{margin:4px 0 0}
.t-notice.ok{background:#E7F3EC;border-color:#C5E0D0;color:#17603A}
.t-want{background:var(--skyfaint);border:1px solid var(--line2);border-radius:10px;padding:10px 12px;font-size:14.5px;margin:0 0 14px}
.t-progress{margin-bottom:22px}
.t-progress-top{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:14px;margin-bottom:2px}
.t-progress-top b{font-family:var(--disp);font-size:1.05rem}
.t-progress-top span{color:var(--muted)}
.t-progress-top em{margin-left:auto;font-style:normal;font-size:12.5px;color:var(--dim)}
.t-entry{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:12px;background:#FFFDF8}
.t-entry.slim{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.t-entry-top{display:flex;align-items:center;margin-bottom:10px}
.t-entry-top b{font-family:var(--disp);font-size:1.02rem}
.t-entry-top .t-link{margin-left:auto}
.t-entry .t-check{margin-top:0;align-self:center}
.t-dont{margin:10px 0 0;font-size:14.5px;line-height:1.5;color:#7A1F17}
.t-home{display:grid;gap:18px}
.t-home .t-head{margin-bottom:12px}
.t-app-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px 14px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.t-app-row:first-child{border-top:0}
.t-app-row b{display:block;font-size:15.5px}
.t-app-row div span{display:block;font-size:13px;color:var(--dim)}
.t-app-row .t-status{align-self:center}
.t-app-row[data-state="not_selected"] .t-status,.t-app-row[data-state="withdrawn"] .t-status{background:#ECECEC;color:#555;border-color:#D9D9D9}
@media(max-width:560px){.t-app-row{grid-template-columns:1fr auto}.t-app-row>:nth-child(3){grid-column:1/-1;justify-self:start}}
.t-facts{margin:0;display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:14.5px}
.t-facts dt{color:var(--dim)}
.t-facts dd{margin:0}
@media(max-width:560px){.t-facts{grid-template-columns:1fr;gap:2px}.t-facts dd{margin-bottom:8px}}

/* ── a profile, as a firm reads it ──────────────────────────────────── */
.t-modal .sheet{background:var(--paper);border-radius:16px;max-width:680px;width:100%;max-height:88vh;overflow:auto;position:relative;
  padding:clamp(18px,3vw,30px)}
.t-modal .sheet .x{top:10px;right:10px;box-shadow:none;border:1px solid var(--line)}
.t-profile{display:flex;flex-direction:column;gap:12px}
.t-profile .who{display:flex;align-items:center;gap:12px;padding-right:48px}
.t-profile .av{flex:none;width:52px;height:52px;border-radius:50%;background:var(--skyfaint);border:1px solid var(--line2);color:var(--navy);
  display:grid;place-items:center;font-family:var(--disp);font-weight:700;font-size:19px}
.t-profile .who b{display:block;font-family:var(--disp);font-size:1.3rem;line-height:1.2}
.t-profile .who span{display:block;font-size:14px;color:var(--muted)}
.t-profile h2{font-size:1.25rem;margin:4px 0 0}
.t-profile h3{font-size:1.02rem;margin:10px 0 0}
.t-profile .sum{line-height:1.65}
.t-profile dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:5px 14px;font-size:14.5px}
.t-profile dt{color:var(--dim)}
.t-profile dd{margin:0}
.t-profile .acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.t-profile .vid-note{font-size:13.5px;color:var(--dim)}
.t-job-row{border-left:3px solid var(--line2);padding:2px 0 2px 12px}
.t-job-row b{display:block;font-size:15px}
.t-job-row span{display:block;font-size:13.5px;color:var(--muted)}
.t-job-row em{display:block;font-style:normal;font-size:13px;color:var(--dim)}
.t-job-row p{font-size:14.5px;line-height:1.55;margin-top:4px}

/* "hidden" means hidden, whatever display a class gives the element. */
.t-f[hidden],.t-form [hidden],.t-rec [hidden],.t-file[hidden]{display:none!important}
/* The video opens over a profile, so it sits above it. */
#t-video{z-index:70}

.t-home>section,.t-home>form{margin-top:0}

.t-interview{grid-column:1/-1;background:var(--skyfaint);border:1px solid var(--line2);border-radius:10px;padding:10px 12px;font-size:14.5px;line-height:1.5}
.t-interview .btn{margin-top:8px}

/* ── firm accounts ──────────────────────────────────────────────────── */
.t-look{margin-top:16px;font-size:14.5px;color:#C9DAE6}
.t-firmbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--paper);border:1px solid var(--line);border-radius:14px;
  padding:14px 18px;margin-bottom:22px}
.t-firmbar p{flex:1;min-width:240px;font-size:15px;color:var(--muted)}
.t-firmbar .btn{white-space:nowrap}
#t-firm-modal{z-index:80}
#t-firm-modal .sheet{max-width:560px;padding:44px 14px 14px}
#t-firm-modal .t-form{box-shadow:none;border:0;padding:6px}

/* ── the Agents lockup, and the two ways in ─────────────────────────── */
footer .brand em{font-style:normal;color:var(--bronze);font-weight:700;margin-left:4px}
.t-start{max-width:520px!important;display:grid;gap:12px}
.t-start h2{padding-right:44px}
.t-start .sub{margin:0}
.t-choice{display:block;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-top:3px solid var(--bronze);border-radius:14px;
  padding:16px 18px;background:#FFFDF8;transition:border-color .15s,box-shadow .15s}
.t-choice:hover,.t-choice:focus-visible{border-color:var(--sky);box-shadow:var(--shadow);text-decoration:none;outline:none}
.t-choice b{display:block;font-family:var(--disp);font-size:1.14rem}
.t-choice span{display:block;font-size:14.5px;color:var(--muted);margin-top:4px;line-height:1.5}
.t-choice em{display:inline-block;margin-top:10px;font-style:normal;font-weight:700;font-size:14px;color:var(--navy)}

.t-home .sub,.t-firmbar p,.t-app-row div{overflow-wrap:anywhere;min-width:0}


/* ── what the app changes about the components ──────────────────────── */
section{margin:0}
.t-form,.t-job,.t-person,.t-side,.t-empty,.t-steps li,.t-firmbar{border-radius:var(--r)}
.t-form{padding:clamp(16px,2.4vw,24px)}
.t-form legend{font-size:1.08rem;font-weight:650}
.t-job{border-top:1px solid var(--line);padding:16px}
.t-job h3{font-size:1.02rem}
.t-job .cat,.t-side dt{color:var(--dim);letter-spacing:.08em}
.t-person .who b,.t-profile .who b,.t-progress-top b,.t-entry-top b,.t-choice b,.t-steps b{font-family:var(--disp)}
.t-person .who b{font-size:1.02rem}
.t-side{border-top:1px solid var(--line);top:calc(var(--bar) + 14px)}
.t-post h2{font-size:1.02rem;margin:22px 0 8px}
.t-f input,.t-f select,.t-f textarea{border-radius:9px;border-color:var(--border2);font-size:16px}
.t-actions .btn{font-size:15px;padding:11px 20px}
.t-home{gap:14px}
.t-modal{z-index:90}
.t-modal .sheet{border-radius:14px}
.t-choice{border-top:1px solid var(--line);background:var(--surface)}
.t-profile-page{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:clamp(16px,2.6vw,26px);box-shadow:var(--shadow);max-width:760px}
.t-tag.badge{background:#f6ebdd;border-color:#e6cdb0;color:#7a4a1c}
.t-eo{font-size:12.5px}
.app-foot{margin-top:26px;font-size:12.5px;color:var(--dim);line-height:1.6}
.app-foot a{color:var(--dim)}

/* ── hiring or applying: two choices that cannot be mistaken for each other ── */
.t-welcome{max-width:880px;margin:clamp(10px,5vh,56px) auto 0;text-align:center}
.t-welcome h1{font-size:1.7rem}
.t-welcome .sub{margin:6px auto 22px}
.t-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;text-align:left}
.t-side-choice{display:grid;gap:6px;align-content:start;justify-items:start;text-decoration:none;color:var(--text);background:var(--surface);border:2px solid var(--border);border-radius:16px;padding:18px;
  transition:border-color .15s,box-shadow .15s}
.t-side-choice.big{padding:clamp(20px,3.4vw,32px);min-height:210px}
.t-side-choice .ico{border-radius:12px;padding:6px;box-sizing:content-box}
.t-side-choice b{font-size:1.2rem;font-weight:700;letter-spacing:-.01em}
.t-side-choice.big b{font-size:1.65rem}
.t-side-choice span{color:var(--muted);font-size:14.5px;line-height:1.5}
.t-side-choice em{font-style:normal;font-weight:700;font-size:14px;margin-top:6px}
.t-side-choice.hiring{border-top:6px solid var(--accent)}
.t-side-choice.hiring .ico{background:var(--accent-light);color:var(--accent)}
.t-side-choice.hiring em{color:var(--accent)}
.t-side-choice.applying{border-top:6px solid var(--bronze)}
.t-side-choice.applying .ico{background:#f6ebdd;color:#8a5a26}
.t-side-choice.applying em{color:#8a5a26}
.t-side-choice:hover,.t-side-choice:focus-visible{box-shadow:var(--shadow);outline:none;text-decoration:none}
.t-side-choice.hiring:hover{border-color:var(--accent)}
.t-side-choice.applying:hover{border-color:var(--bronze)}
@media(max-width:620px){.t-sides{grid-template-columns:1fr}.t-side-choice.big{min-height:0}}
.t-start{max-width:640px!important}
.t-notyou{font-size:13.5px;color:var(--muted);margin:-6px 0 14px}
.t-locked{max-width:620px;text-align:left;display:grid;gap:8px}
.t-locked-ico{width:48px;height:48px;border-radius:12px;background:var(--surface2);color:var(--text2);display:grid;place-items:center}
.t-locked p{color:var(--muted)}
.t-locked .t-actions{margin-top:8px}
.t-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:14px}
.t-stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:14px 16px;text-decoration:none;color:var(--text)}
.t-stat b{display:block;font-size:1.6rem;font-weight:700;line-height:1.1}
.t-stat span{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--dim)}
.app-view>section.t-form,.app-view>.t-form{margin-bottom:14px}
.t-cal-month{margin-top:14px}
.t-cal-month:first-child{margin-top:0}
.t-cal-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--border)}
.t-cal-day{background:var(--accent-light);color:var(--accent);border-radius:10px;text-align:center;padding:6px 0}
.t-cal-day b{display:block;font-size:1.25rem;line-height:1.1}
.t-cal-day span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.t-cal-what b{display:block}
.t-cal-what span{display:block;font-size:13.5px;color:var(--muted)}
.t-cal-acts{display:grid;gap:6px;justify-items:end}
.t-dimline{font-size:12.5px;color:var(--dim)}
.t-resched{grid-column:1/-1}
.t-resched-done{grid-column:1/-1;margin:0}
@media(max-width:560px){.t-cal-row{grid-template-columns:48px minmax(0,1fr)}.t-cal-acts{grid-column:1/-1;justify-items:start;display:flex;flex-wrap:wrap;align-items:center}}
.t-subtabs{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:14px;overflow-x:auto}
.t-subtabs a{padding:9px 14px;font-size:14px;font-weight:600;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}
.t-subtabs a.on{color:var(--text);border-bottom-color:var(--accent)}
.t-applied{color:#17603a;font-size:13px;margin-left:auto}
.t-job h3 a{color:inherit;text-decoration:none}
.t-job .foot .btn{margin-left:auto}
[hidden]{display:none!important}

.t-placed-cap{margin:22px 0 8px}
.t-todo{margin:10px 0 12px;padding-left:20px;font-size:14.5px;line-height:1.6}
#t-show-wrap{margin-top:14px}
.t-person .who span:empty{display:none}

/* The initial sits IN its circle. (A broader rule for the text beside it made the circle a plain block,
   so the letter fell to the corner.) Stated for both kinds of card and for the profile. */
.t-person .who .av,.t-profile .who .av,.t-person.placed .who .av{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;
  font-family:var(--disp);font-weight:700;font-size:17px;line-height:1;text-align:center;color:var(--navy);position:static;margin:0;padding:0}
.t-profile .who .av{width:52px;height:52px;font-size:19px}
.t-person.placed .who .av{color:#7b7b7b}
@media(max-width:420px){.app-acct.signin>summary{font-size:12.5px;padding:6px 9px;max-width:none}.app-acct.signin>summary span{white-space:normal;line-height:1.15;text-align:center}}

/* ── two kinds of role ──────────────────────────────────────────────── */
.t-job-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.t-kind{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;padding:3px 9px;border-radius:999px;white-space:nowrap}
.t-kind.active{background:#e7f3ec;color:#17603a;border:1px solid #c5e0d0}
.t-kind.general{background:var(--surface2);color:var(--text2);border:1px solid var(--border)}
.t-needs{font-size:13.5px;font-weight:600;color:var(--text)!important;margin:2px 0 4px}
.t-kind-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px;color:var(--muted);font-size:14px}
.t-filter{display:inline-flex;gap:2px;background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:3px;margin-bottom:14px;max-width:100%}
.t-filter button{font:inherit;font-size:13.5px;font-weight:600;padding:7px 12px;border-radius:8px;border:0;background:none;color:var(--text2);cursor:pointer;white-space:nowrap}
.t-filter button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px rgba(20,24,30,.08)}
.t-none-active{color:var(--muted);font-size:14.5px;margin:0 0 4px}
.t-job .foot{flex-wrap:wrap}
.t-app-row b .t-tag{font-style:normal;font-weight:600;font-size:11px;vertical-align:middle;margin-left:4px}
.t-role-acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.t-app-row[data-state="role_closed"] .t-status{background:#ECECEC;color:#555;border-color:#D9D9D9}
/* ── avatars: a neutral head and shoulders until there is a photo ───── */
.t-person .who .av,.t-profile .who .av,.t-person.placed .who .av{display:block;overflow:hidden;background:#e3e1db;border:0;padding:0}
.t-person .who .av svg,.t-person .who .av img,.t-profile .who .av svg,.t-profile .who .av img{display:block;width:100%;height:100%;object-fit:cover}
/* ── phones: two segments under the bar, the rest behind the menu button ── */
.app-seg{display:none}
.app-nav-extra{display:none}
@media(max-width:860px){
  .app-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;position:sticky;top:var(--bar);z-index:35;height:44px;padding:4px 10px;background:var(--bg);border-bottom:1px solid var(--border)}
  body.no-side .app-seg{display:none}
  .app-seg a{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;color:var(--text2);text-decoration:none;border-radius:8px;white-space:nowrap}
  .app-seg a.on{background:var(--accent);color:#fff}
  .app-seg .lock{display:inline-grid}
  html{scroll-padding-top:calc(var(--bar) + 56px)}
  /* the bar keeps the menu button and the lockup; signing in and switching sides are in the drawer */
  .app-bar .app-mode,.app-bar .app-acct{display:none}
  body.no-side .app-bar .app-acct{display:block;margin-left:auto}   /* the first screen has no menu, so its Sign in stays in the bar */
  .app-brand .wm{font-size:15px}
  .app-brand .wm em{display:inline}
  .app-side{top:var(--bar);display:flex!important;flex-direction:column;padding-bottom:calc(14px + env(safe-area-inset-bottom))}
  .app-nav{flex:1;align-content:start}
  .app-nav a[data-seg]{display:none}
  .app-nav-extra{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
  .app-nav-extra .btn{text-align:center;padding:12px}
  .app-nav-who b{display:block}
  .app-nav-who span{font-size:12px;font-weight:600;color:var(--bronze)}
  .app-side-note{display:none}
  .app-side .t-side-note{display:none}
}
@media(max-width:375px){.app-brand .wm em{display:none}}

.t-open-to{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;color:var(--muted)}
.t-open-to>span:first-child{flex-basis:100%}
.t-tag.more{background:none;border-style:dashed}
.t-people-filter{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;margin-bottom:12px}
.t-people-filter select{font:inherit;font-size:15px;padding:8px 10px;border:1px solid var(--border2);border-radius:9px;background:#fff;max-width:70vw}
