/* ============================================================
   /employer, the employer workspace (19 Nov 2026): his pick of the preview's Board and Table, the employer
   chooses. Site tokens (styles.css), the glass materials (glass.css); every class ew-*, kb- (board), tb- (table),
   cp- (one applicant), rl- (roles), tl- (find students), co- (company). Hand-committed, loaded only by /employer.
   No hover lift (his rule): hover brightens an edge or a surface. Motion kept (his rule: no reduced-motion branch).
   ============================================================ */

.ew { padding-bottom: 120px; }
.ew .wrap { max-width: 1320px; }
.ew-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.ew-lock { overflow: hidden; }
body.ew-dragging, body.ew-dragging * { cursor: grabbing !important; }
.ew-wait { color: var(--ink-2); font-size: 14.5px; padding: 28px 4px; margin: 0; }
.ew-msg { color: var(--hot); }

/* signed out, and first visit */
.ew-card { max-width: 620px; margin: 28px auto 0; padding: 26px; border-radius: var(--r-2); background: var(--card); border: 1px solid var(--rule); display: grid; gap: 16px; }
.ew-card h1 { margin: 0; font: 600 clamp(1.5rem, 3vw, 2rem)/1.12 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.ew-card > p { margin: -6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.ew-card form { display: grid; gap: 14px; }
.ew-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ew-go, .ew-postb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r-pill); font: 500 14.5px/1 var(--ui); cursor: pointer; text-decoration: none; }
.ew-postb svg { width: 16px; height: 16px; }
.ew-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-15); align-items: start; }
.ew-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.ew-check a { color: var(--ink); }

/* the workspace's own bar: the company, its views, the one main action */
.ew-top { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; padding: 6px 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.ew-co { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ew-co-mark { width: 40px; height: 40px; flex: none; border-radius: var(--r-plate); display: grid; place-items: center; font: 600 14px/1 var(--ui); color: #0b1d33; background: linear-gradient(140deg, #8fd3ff, #4f8dff); }
.ew-co > div { display: grid; min-width: 0; line-height: 1.25; }
.ew-co b { font-weight: 600; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ew-co span { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ew-views { margin-right: auto; min-width: 0; max-width: 100%; }
.ew-views-l { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; }
.ew-views-l::-webkit-scrollbar { display: none; }
.ew-views-l > [role="tab"] { flex: none; height: 34px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: var(--r-pill); color: var(--ink-2); font: 14px var(--ui); text-decoration: none; white-space: nowrap; }
.ew-views-l > [role="tab"][aria-selected="true"] { background: var(--card-2); color: var(--ink); }
.ew-views-l > [role="tab"]:focus-visible, .ew-layout > [role="tab"]:focus-visible, .kb-phone > [role="tab"]:focus-visible, .cp-tabs > [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* Board | Table */
.ew-layout { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); }
.ew-layout > [role="tab"] { height: 30px; padding: 0 13px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font: 13.5px var(--ui); cursor: pointer; }
.ew-layout > [role="tab"][aria-selected="true"] { background: var(--card-2); color: var(--ink); }

/* the skills match: a bar and a count you can check against the resume */
.ew-match { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 0; }
.ew-match.is-none { color: var(--ink-3); }
.ew-mbar { display: block; width: 46px; height: 5px; border-radius: 5px; background: var(--rule-2); overflow: hidden; flex: none; }
.ew-mbar b { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--ink-3); transform-origin: left; transform: scaleX(var(--m, 0)); transition: transform .5s var(--ease-out); }
.ew-match.is-hi .ew-mbar b { background: var(--accent); }
:root[data-theme="light"] .ew-match.is-hi .ew-mbar b { background: #5d7a00; }
.ew-match.is-long { font-size: 14px; color: var(--ink); gap: 10px; }
.ew-match.is-long .ew-mbar { width: 90px; height: 6px; }
.kb-open .ew-match { grid-column: 1 / -1; margin-top: 4px; }
.kb-inv, .cp-tag { font-style: normal; font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--rule-2); border-radius: var(--r-pill); padding: 1px 7px; flex: none; }
.cp-tag { list-style: none; align-self: center; }
.ew-stage { display: inline-flex; align-items: center; gap: 7px; }
.ew-stage i { width: 7px; height: 7px; border-radius: 50%; background: var(--st, var(--ink-3)); }

/* one applicant: the match, the resume as sent */
.cp-fit { margin-top: 16px; padding: 14px; border-radius: var(--r-2); background: var(--card); border: 1px solid var(--rule); display: grid; gap: 10px; }
.cp-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cp-skills li { font-size: 12.5px; padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid var(--rule-2); }
.cp-skills li.is-hit { color: var(--ink); background: var(--card-2); }
.cp-skills li.is-hit::before { content: ""; display: inline-block; width: 7px; height: 4px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; rotate: -45deg; translate: 0 -2px; margin-right: 6px; }
.cp-skills li.is-miss { color: var(--ink-3); border-style: dashed; }
.cv-pages { display: grid; gap: 10px; justify-items: center; }
.cv-page { display: block; max-width: 100%; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px -10px rgba(0,0,0,.4); }
:root[data-theme="light"] .cv-page { box-shadow: 0 0 0 1px #dedee3, 0 8px 24px -14px rgba(0,0,0,.25); }
.cv-text { white-space: pre-wrap; font: 13.5px/1.55 var(--mono); padding: 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); width: 100%; margin: 0; }
.cp-wait { color: var(--ink-2); font-size: 14px; margin: 8px 0; }
.cv-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--ink-2); }
.cv-bar span:first-child { margin-right: auto; }

/* the phone's stage tabs on the board */
.kb-phone { display: none; gap: 2px; padding: 3px; border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.kb-phone::-webkit-scrollbar { display: none; }
.kb-phone > [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font: 13px var(--ui); cursor: pointer; white-space: nowrap; }
.kb-phone > [role="tab"] b { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.kb-phone > [role="tab"][aria-selected="true"] { background: var(--card-2); color: var(--ink); }
.kb { grid-template-columns: repeat(6, minmax(220px, 1fr)); }

/* find students */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tl-i { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; padding: 14px 16px; border-radius: var(--r-2); background: var(--card); border: 1px solid var(--rule); }
.tl-who { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tl-who > div { display: grid; min-width: 0; }
.tl-who b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-who span { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-fit { display: grid; gap: 4px; min-width: 0; }
.tl-sk { margin: 0; font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-acts { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.tl-acts .go { height: 34px; padding: 0 14px; border-radius: var(--r-pill); font: 500 13.5px var(--ui); cursor: pointer; }
.tl-st { font-size: 13px; color: var(--ink-2); padding: 0 8px; }
.ew-empty-l { list-style: none; padding: 26px 16px; text-align: center; color: var(--ink-2); border: 1px dashed var(--rule-2); border-radius: var(--r-2); }
.ew-empty { padding: 36px 24px; border-radius: var(--r-2); border: 1px dashed var(--rule-2); display: grid; gap: 10px; justify-items: start; }
.ew-empty h2 { margin: 0; font: 600 1.25rem/1.2 var(--display); letter-spacing: -.015em; }
.ew-empty p { margin: 0; color: var(--ink-2); max-width: 62ch; line-height: 1.55; }
.ew-sec { display: grid; gap: 0; }

/* form bits */
.ew-f { display: grid; gap: 6px; }
.ew-f[hidden] { display: none; }
.ew-l { font-size: 13.5px; font-weight: 500; }
.ew-opt { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.ew-hint { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.ew-in { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--bg-2); color: var(--ink); font: 15px var(--ui); outline: none; transition: border-color .16s; }
textarea.ew-in { padding: 10px 12px; line-height: 1.5; resize: vertical; }
select.ew-in { appearance: none; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2392929b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 10px; padding-right: 30px; }
.ew-in:focus { border-color: var(--ink-3); }
.ew-in:disabled { color: var(--ink-2); background: var(--card); }
.ew-in[aria-invalid="true"] { border-color: var(--hot); }
.ew-err { margin: 0; font-size: 12.5px; color: var(--hot); }
.ew-err:empty { display: none; }
.ew-years { display: flex; flex-wrap: wrap; gap: 6px; }
.ew-yr { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--rule-2); font-size: 14px; cursor: pointer; }
.ew-yr:has(input:checked) { border-color: var(--ink-3); background: var(--card-2); }
.ew-yr input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.ew-qs { display: grid; gap: 8px; justify-items: start; }
.ew-q { display: flex; gap: 8px; width: 100%; }
.ew-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ew-dlg-in { display: grid; gap: 16px; padding: 22px 24px 0; }
.ew-dlg-msg { margin-top: -4px; }
.co-team li > div { display: grid; min-width: 0; }
.co-team li > div b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-team li > div span { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.co-team .co-what { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.co-card .ew-go { justify-self: start; }
.co { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* stage colours: dots only, the hired one is the site's signal */
[data-st="applied"] { --st: #8fa2b8; }
[data-st="shortlisted"] { --st: #7cc4ff; }
[data-st="interview"] { --st: #b79cff; }
[data-st="offer"] { --st: #ffc857; }
[data-st="hired"] { --st: #c8ff00; }
[data-st="rejected"] { --st: #6b6b74; }
:root[data-theme="light"] [data-st="applied"] { --st: #5b6b7f; }
:root[data-theme="light"] [data-st="shortlisted"] { --st: #1f78c8; }
:root[data-theme="light"] [data-st="interview"] { --st: #7048d8; }
:root[data-theme="light"] [data-st="offer"] { --st: #b07800; }
:root[data-theme="light"] [data-st="hired"] { --st: #4f7a00; }
:root[data-theme="light"] [data-st="rejected"] { --st: #8a8a93; }

.ew-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--ui); color: #1b1b1f; background: var(--av, #d4d4d8); }
.ew-dots { display: inline-flex; gap: 3px; }
.ew-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--rule-2); }
.ew-dots i.on { background: var(--ink-2); }
.ew-dots.is-hi i.on { background: var(--accent); }
:root[data-theme="light"] .ew-dots.is-hi i.on { background: #5d7a00; }
.ew-ago { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ew-chev { width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); rotate: 45deg; translate: 0 -2px; transition: rotate .2s var(--snap); }
.ew-pop-h { margin: 0; padding: 6px 10px 8px; font-size: 12.5px; color: var(--ink-3); }
.ew-pop {
  position: fixed; z-index: 90; min-width: 236px; padding: 6px;
  border-radius: var(--r-2); background: var(--lg-panel); border: .5px solid var(--lg-rim); box-shadow: var(--lg-shade), inset 0 1px 0 var(--lg-lo);
  -webkit-backdrop-filter: blur(12px) saturate(var(--lg-sat)); backdrop-filter: blur(12px) saturate(var(--lg-sat));
  transform-origin: top right; animation: ew-pop .18s var(--ease-out);
}
@keyframes ew-pop { from { opacity: 0; transform: scale(.96) translateY(-4px); } }

.ew-pop button[aria-checked="true"]::after { content: ""; margin-left: auto; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: -45deg; translate: 0 -2px; }


.ew-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 18px; }
.ew-sec-h h1 { font: 600 var(--t-display)/var(--t-display-lh) var(--display); letter-spacing: var(--t-display-tr); margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ew-sec-h p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }


.ew-rh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: end; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
.ew-rh-l { min-width: 0; }
.ew-rsw { position: relative; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 2px 0; border: 0; background: none; color: var(--ink); cursor: pointer; text-align: left; }
.ew-rsw h1 { margin: 0; font: 600 clamp(1.45rem, 2.6vw, 2rem)/1.1 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.ew-rsw .ew-chev { width: 10px; height: 10px; border-width: 2px; flex: none; }
.ew-rsw[aria-expanded="true"] .ew-chev { rotate: 225deg; translate: 0 2px; }
.ew-rsw:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.ew-rsw-wrap { position: relative; display: inline-block; max-width: 100%; }
.ew-pop.ew-rpop { min-width: 320px; max-width: calc(100vw - 16px); }
.ew-pop .ew-rp { display: grid; gap: 2px; padding: 10px 12px; }
.ew-rp b { font-weight: 500; }
.ew-rp span { font-size: 12.5px; color: var(--ink-3); }
.ew-rh-facts { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.ew-live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.ew-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
:root[data-theme="light"] .ew-live i { background: #5d7a00; box-shadow: 0 0 0 3px rgba(93, 122, 0, .18); }
.ew-rh-r { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ew-figs { display: flex; gap: 22px; margin: 0; }
.ew-figs div { display: grid; gap: 2px; text-align: right; }
.ew-figs dt { font-size: 12.5px; color: var(--ink-3); order: 2; }
.ew-figs dd { margin: 0; font: 600 20px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ew-figs dd small { font: 500 12.5px/1 var(--ui); color: var(--accent); margin-left: 5px; letter-spacing: 0; }
:root[data-theme="light"] .ew-figs dd small { color: #4a6100; }
.ew-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ew-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: var(--r-pill); border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font: 13.5px/1 var(--ui); text-decoration: none; cursor: pointer; transition: border-color .16s, background-color .16s; white-space: nowrap; }
@media (hover: hover) { .ew-btn:hover { border-color: color-mix(in oklab, var(--ink) 40%, var(--rule-2)); background: var(--card-2); } }
.ew-btn:active { transform: scale(.97); }
.ew-btn:focus-visible, .go:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ew-btn svg { width: 15px; height: 15px; }
.ew-btn.is-quiet { border-color: transparent; background: none; color: var(--ink-2); }
@media (hover: hover) { .ew-btn.is-quiet:hover { color: var(--ink); background: var(--card); } }


.ew-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ew-find { position: relative; flex: 0 1 300px; min-width: 180px; }
.ew-find input { width: 100%; height: 36px; padding: 0 12px 0 36px; border-radius: var(--r-pill); border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font: 14px var(--ui); outline: none; transition: border-color .16s; }
.ew-find input:focus { border-color: var(--ink-3); }
.ew-find svg { position: absolute; left: 12px; top: 10px; width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.ew-chip { height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--rule-2); background: none; color: var(--ink-2); font: 13.5px var(--ui); cursor: pointer; transition: color .16s, border-color .16s, background-color .16s; }
.ew-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (hover: hover) { .ew-chip[aria-pressed="false"]:hover { color: var(--ink); } }
.ew-chip:active { transform: scale(.97); }
.ew-count { margin-left: auto; color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.ew-sel { height: 32px; padding: 0 30px 0 12px; border-radius: var(--r-pill); border: 1px solid var(--rule-2); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2392929b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center / 10px; color: var(--ink); font: 13.5px var(--ui); appearance: none; cursor: pointer; }

/* ratings: five dots */
.ew-dots { display: inline-flex; gap: 3px; }
.ew-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--rule-2); }
.ew-dots i.on { background: var(--ink-2); }
.ew-dots.is-hi i.on { background: var(--accent); }
:root[data-theme="light"] .ew-dots.is-hi i.on { background: #5d7a00; }
.ew-new { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
:root[data-theme="light"] .ew-new { background: #5d7a00; }
.ew-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--ui); color: var(--av-ink, #1b1b1f); background: var(--av, #d4d4d8); }
.ew-ago { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ew-stage-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.ew-stage-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--st, var(--ink-3)); }
[data-st="applied"] { --st: #8fa2b8; }
[data-st="shortlisted"] { --st: #7cc4ff; }
[data-st="interview"] { --st: #b79cff; }
[data-st="offer"] { --st: #ffc857; }
[data-st="hired"] { --st: #c8ff00; }
[data-st="rejected"] { --st: #6b6b74; }
:root[data-theme="light"] [data-st="applied"] { --st: #5b6b7f; }
:root[data-theme="light"] [data-st="shortlisted"] { --st: #1f78c8; }
:root[data-theme="light"] [data-st="interview"] { --st: #7048d8; }
:root[data-theme="light"] [data-st="offer"] { --st: #b07800; }
:root[data-theme="light"] [data-st="hired"] { --st: #4f7a00; }
:root[data-theme="light"] [data-st="rejected"] { --st: #8a8a93; }


.kb { display: grid; grid-template-columns: repeat(5, minmax(232px, 1fr)) auto; gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.kb-col { min-width: 0; border-radius: var(--r-2); background: var(--bg-2); border: 1px solid var(--rule); padding: 10px; scroll-snap-align: start; transition: border-color .16s, background-color .16s; }
.kb-col.is-over { border-color: var(--st); background: color-mix(in oklab, var(--st) 7%, var(--bg-2)); }
.kb-col > header { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; font-size: 13.5px; font-weight: 500; }
.kb-col > header i { width: 8px; height: 8px; border-radius: 50%; background: var(--st); }
.kb-col > header b { margin-left: auto; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.kb-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 90px; }
.kb-card { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--rule); transition: border-color .16s, background-color .16s; touch-action: pan-y; }
@media (hover: hover) { .kb-card:hover { border-color: var(--rule-2); background: var(--card-2); } }
.kb-card.is-lifted { opacity: .32; }
.kb-open { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; width: 100%; padding: 11px 12px 11px; cursor: grab; border-radius: var(--r); }
.kb-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.kb-n { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 14px; min-width: 0; }
.kb-n span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-m { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-f { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.kb-more { position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .16s, background-color .16s; }
.kb-card:hover .kb-more, .kb-card:focus-within .kb-more, .kb-more[aria-expanded="true"] { opacity: 1; }
@media (hover: hover) { .kb-more:hover { background: var(--lg-hover); color: var(--ink); } }
@media (hover: none) { .kb-more { opacity: 1; } }
.kb-more svg { width: 16px; height: 16px; }
.kb-f .ew-ago { margin-right: 26px; }
.kb-pop { min-width: 200px; }
.ew-pop .ew-menu-who { padding: 6px 10px 8px; font-size: 12.5px; color: var(--ink-3); }
.kb-empty { list-style: none; padding: 18px 6px; text-align: center; color: var(--ink-3); font-size: 13px; border: 1px dashed var(--rule-2); border-radius: var(--r); }
.kb-shut { width: 52px; padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; color: var(--ink-2); font: 13.5px var(--ui); }
.kb-shut span { writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; }
.kb-shut b { font-weight: 500; color: var(--ink-3); }
.kb-shut:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.kb-col.is-wide-shut > header button { margin-left: 4px; }
.kb-hide { border: 0; background: none; color: var(--ink-3); font: 12.5px var(--ui); cursor: pointer; padding: 2px 4px; border-radius: 6px; }
@media (hover: hover) { .kb-hide:hover { color: var(--ink); } }
.kb-ghost { position: fixed; z-index: 90; pointer-events: none; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--rule-2); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55), 0 3px 10px rgba(0, 0, 0, .3); rotate: 1.5deg; scale: 1.03; transition: rotate .2s var(--snap), scale .2s var(--snap); }
.kb-ghost .kb-open { cursor: grabbing; }
/* ---------- 3. Table ---------- */
.tb-wrap { border: 1px solid var(--rule); border-radius: var(--r-2); background: var(--bg-2); overflow: clip; }
.tb { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.tb th { position: sticky; top: var(--bar-h); z-index: 3; background: color-mix(in oklab, var(--bg-2) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink-3); padding: 0 10px; height: 40px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.tb th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.tb th button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.tb th[aria-sort] button { color: var(--ink); }
.tb th .tb-ar { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; opacity: 0; }
.tb th[aria-sort] .tb-ar { opacity: 1; }
.tb th[aria-sort="ascending"] .tb-ar { rotate: 225deg; translate: 0 2px; }
.tb td { padding: 0 10px; height: 52px; border-bottom: 1px solid var(--rule); vertical-align: middle; white-space: nowrap; }
.tb tbody tr { cursor: pointer; transition: background-color .12s; }
@media (hover: hover) { .tb tbody tr:hover { background: var(--card); } }
.tb tbody tr[aria-selected="true"] { background: color-mix(in oklab, var(--accent) 6%, var(--bg-2)); }
:root[data-theme="light"] .tb tbody tr[aria-selected="true"] { background: #f1f6df; }
.tb tbody tr:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.tb tbody tr:last-child td { border-bottom: 0; }
.tb .tb-c { width: 44px; padding-right: 0; }
.tb-ck { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; margin: 0; vertical-align: middle; }
.tb-nm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tb-nm .ew-av { width: 30px; height: 30px; font-size: 11px; }
.tb-nm b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.tb-nm small { display: block; color: var(--ink-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.tb td.tb-col { max-width: 240px; overflow: hidden; text-overflow: ellipsis; color: var(--ink-15); }
.tb td.tb-num { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tb .ew-sel { height: 30px; font-size: 13px; background-color: transparent; border-color: transparent; padding-left: 26px; position: relative; }
.tb .tb-stw { position: relative; display: inline-block; }
.tb .tb-stw::before { content: ""; position: absolute; left: 11px; top: 11.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--st); z-index: 1; pointer-events: none; }
@media (hover: hover) { .tb .ew-sel:hover { border-color: var(--rule-2); background-color: var(--card); } }
.tb-none { padding: 40px 16px; text-align: center; color: var(--ink-2); }
.tb-bulk {
  position: fixed; left: 50%; bottom: 84px; z-index: 40; translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--bg-2) 80%, transparent); border: .5px solid var(--lg-rim); box-shadow: var(--lg-shade), inset 0 1px 0 var(--lg-lo);
  -webkit-backdrop-filter: blur(14px) saturate(var(--lg-sat)); backdrop-filter: blur(14px) saturate(var(--lg-sat));
  transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); white-space: nowrap;
}
.tb-bulk[hidden] { display: flex; opacity: 0; transform: translateY(14px) scale(.97); pointer-events: none; visibility: hidden; transition: opacity .15s ease-in, transform .15s ease-in, visibility 0s .15s; }
.tb-bulk b { font-weight: 500; font-size: 14px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.tb-bulk .ew-sel { background-color: var(--lg-ctl); }
.tb-bulk .ew-btn { background: var(--lg-ctl); border-color: var(--lg-rim); }


/* ---------- applicant panel (drawer, inbox pane) ---------- */
.ew-veil { position: fixed; inset: var(--bar-h) 0 0 0; z-index: 80; background: var(--lg-veil); animation: ew-fade .2s var(--ease-out); }
.ew-veil.is-out { animation: ew-fadeout .16s ease-in forwards; }
@keyframes ew-fade { from { opacity: 0; } }
@keyframes ew-fadeout { to { opacity: 0; } }
.ew-drawer {
  position: fixed; z-index: 81; top: calc(var(--bar-h) + 8px); right: 10px; bottom: 10px; width: min(780px, calc(100vw - 40px)); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 20px; border: .5px solid var(--lg-rim);
  background: color-mix(in oklab, var(--bg-2) 86%, transparent); box-shadow: var(--lg-shade), inset 0 1px 0 var(--lg-lo);
  -webkit-backdrop-filter: blur(24px) saturate(var(--lg-sat)); backdrop-filter: blur(24px) saturate(var(--lg-sat));
  animation: ew-in .32s var(--ease-out);
}
:root[data-theme="light"] .ew-drawer { background: rgba(250, 250, 251, .86); }
.ew-drawer.is-out { animation: ew-out .2s ease-in forwards; }
.ew-drawer:focus { outline: none; }
@keyframes ew-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes ew-out { to { transform: translateX(30px); opacity: 0; } }
.ew-drawer .cp { padding: 18px 22px 40px; }

.cp-h { display: flex; align-items: flex-start; gap: 14px; }
.cp-h .ew-av { width: 48px; height: 48px; font-size: 15px; }
.cp-h h2 { margin: 2px 0 2px; font: 600 1.45rem/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.cp-h p { margin: 0; color: var(--ink-2); font-size: 14px; }
.cp-x { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cp-x svg { width: 14px; height: 14px; }
.cp-nav { margin-left: auto; display: flex; gap: 4px; }
.cp-nav + .cp-x { margin-left: 0; }
.cp-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cp-nav button:disabled { opacity: .35; cursor: default; }
.cp-nav svg { width: 14px; height: 14px; }
.cp-contact { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.cp-contact a { color: var(--ink-15); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
@media (hover: hover) { .cp-contact a:hover { color: var(--ink); border-bottom-color: var(--ink-3); } }
.cp-move { margin-top: 18px; padding: 14px; border-radius: var(--r-2); background: var(--card); border: 1px solid var(--rule); display: grid; gap: 12px; }
.cp-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cp-track button { all: unset; box-sizing: border-box; width: 100%; display: grid; gap: 7px; cursor: pointer; font-size: 12.5px; color: var(--ink-3); text-align: left; border-radius: 6px; }
.cp-track button::before { content: ""; height: 4px; border-radius: 4px; background: var(--rule-2); transition: background-color .25s var(--ease-out); }
.cp-track button.is-done::before { background: var(--ink-3); }
.cp-track button.is-now { color: var(--ink); font-weight: 500; }
.cp-track button.is-now::before { background: var(--st); }
.cp-track button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .cp-track button:hover { color: var(--ink); } }
.cp-move.is-out .cp-track button::before { background: var(--rule); }
.cp-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-row .go { height: 38px; padding: 0 18px; border-radius: var(--r-pill); font: 500 14px/1 var(--ui); cursor: pointer; }
.cp-tell { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.cp-rate { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.cp-rate-b { display: inline-flex; gap: 2px; }
.cp-rate-b button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.cp-rate-b button i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-2); transition: background-color .15s, scale .25s var(--spring); }
.cp-rate-b button.on i { background: var(--ink-2); }
.cp-rate-b.is-hi button.on i { background: var(--accent); }
:root[data-theme="light"] .cp-rate-b.is-hi button.on i { background: #5d7a00; }
.cp-rate-b button:active i { scale: .8; }
.cp-rate-b button:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.cp-out { margin: 0; font-size: 13.5px; color: var(--ink-2); }

.cp-tabs { margin: 20px 0 14px; display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); width: max-content; max-width: 100%; }
.cp-tabs > [role="tab"] { height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font: 13.5px var(--ui); cursor: pointer; white-space: nowrap; }
.cp-tabs > [role="tab"] b { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.cp-pane[hidden] { display: none; }
.cp-pane { animation: ew-fade .2s var(--ease-out); }

.cp-qa { margin: 0; display: grid; gap: 14px; }
.cp-qa div { padding: 14px 16px; border-radius: var(--r-2); background: var(--card); border: 1px solid var(--rule); }
.cp-qa dt { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.cp-qa dd { margin: 0; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.cp-facts { margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cp-facts div { padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); }
.cp-facts dt { font-size: 12px; color: var(--ink-3); }
.cp-facts dd { margin: 3px 0 0; font-size: 14px; }

.cp-note { display: grid; gap: 8px; margin-bottom: 18px; }
.cp-note textarea { width: 100%; min-height: 76px; resize: vertical; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font: 14.5px/1.5 var(--ui); outline: none; }
.cp-note textarea:focus { border-color: var(--ink-3); }
.cp-note .cp-row { justify-content: space-between; }
.cp-note .ew-btn[disabled] { opacity: .45; cursor: default; }
.cp-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cp-feed li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 10px 0; position: relative; }
.cp-feed li::before { content: ""; position: absolute; left: 8.5px; top: 30px; bottom: -10px; width: 1px; background: var(--rule); }
.cp-feed li:last-child::before { display: none; }
.cp-feed .cp-dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--rule-2); margin-top: 1px; }
.cp-feed .cp-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--st, var(--ink-3)); }
.cp-feed .cp-dot.is-note i { border-radius: 1px; width: 8px; height: 6px; background: var(--ink-2); }
.cp-feed p { margin: 0; font-size: 14px; }
.cp-feed .cp-when { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.cp-feed .cp-said { margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.cp-feed li.is-fresh { animation: cp-fresh .35s var(--ease-out); }
@keyframes cp-fresh { from { opacity: 0; transform: translateY(-6px); } }


/* ---------- toast ---------- */
.ew-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 96; translate: -50% 0; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 18px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--bg-2) 80%, transparent); border: .5px solid var(--lg-rim); box-shadow: var(--lg-shade), inset 0 1px 0 var(--lg-lo);
  -webkit-backdrop-filter: blur(14px) saturate(var(--lg-sat)); backdrop-filter: blur(14px) saturate(var(--lg-sat));
  font-size: 14px; animation: ew-toast .3s var(--ease-out);
}
.ew-toast.is-out { animation: ew-toast-out .18s ease-in forwards; }
.ew-toast p { margin: 0; }
.ew-toast p span { color: var(--ink-2); }
.ew-toast button { flex: none; height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: var(--ink); color: var(--bg); font: 500 13.5px var(--ui); cursor: pointer; }
@keyframes ew-toast { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes ew-toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
.ew-toast:not(:has(button)) { padding-right: 18px; }

/* ---------- roles + company (shared) ---------- */
.rl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rl-i { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; padding: 18px 20px; border-radius: var(--r-2); background: var(--card); border: 1px solid var(--rule); }
.rl-i h2 { margin: 0 0 4px; font: 600 1.06rem/1.3 var(--display); letter-spacing: -.015em; }
.rl-i p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.rl-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; margin-top: 8px; color: var(--ink-2); }
.rl-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.rl-state.is-live { color: var(--ink); }
.rl-state.is-live i { background: var(--accent); }
:root[data-theme="light"] .rl-state.is-live i { background: #5d7a00; }
.rl-state.is-review i { background: #ffc857; }
:root[data-theme="light"] .rl-state.is-review i { background: #b07800; }
.rl-bar { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: var(--rule); gap: 2px; }
.rl-bar i { background: var(--st); transform-origin: left; animation: rl-grow .6s var(--ease-out) backwards; }
@keyframes rl-grow { from { transform: scaleX(0); } }
.rl-leg { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.rl-leg span { display: inline-flex; align-items: center; gap: 5px; }
.rl-leg i { width: 6px; height: 6px; border-radius: 50%; background: var(--st); }
.rl-note { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.rl-acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 24px; align-items: start; }
.co-card { padding: 22px; border-radius: var(--r-2); background: var(--card); border: 1px solid var(--rule); display: grid; gap: 16px; }
.co-card h2 { margin: 0; font: 600 1.06rem/1.3 var(--display); }
.co-card > p { margin: -8px 0 0; color: var(--ink-2); font-size: 14px; }
.ew-f { display: grid; gap: 6px; }
.ew-f label, .ew-f .ew-l { font-size: 13.5px; font-weight: 500; }
.ew-f .ew-hint { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.ew-in { width: 100%; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--bg-2); color: var(--ink); font: 15px var(--ui); outline: none; transition: border-color .16s; }
textarea.ew-in { height: auto; min-height: 110px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.ew-in:focus { border-color: var(--ink-3); }
.ew-in[aria-invalid="true"] { border-color: var(--hot); }
.ew-err { margin: 0; font-size: 12.5px; color: var(--hot); min-height: 0; }
.co-logo { display: flex; align-items: center; gap: 14px; }
.co-logo .co-mark { width: 64px; height: 64px; border-radius: var(--r-plate); display: grid; place-items: center; font: 600 20px var(--ui); color: #0b1d33; background: linear-gradient(140deg, #8fd3ff, #4f8dff); background-size: cover; background-position: center; }
.co-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.co-team li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.co-team li:last-child { border-bottom: 0; }
.co-team .ew-av { width: 30px; height: 30px; font-size: 11px; }
.co-team span { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.co-inv { display: flex; gap: 8px; }
.co-inv .ew-in { height: 38px; }
.co-pv { padding: 18px; border-radius: var(--r-2); border: 1px solid var(--rule); background: var(--bg-2); display: grid; gap: 10px; }
.co-pv h3 { margin: 0; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.co-pv .co-pv-row { display: flex; gap: 12px; align-items: center; }
.co-pv .co-mark { width: 44px; height: 44px; font-size: 14px; }
.co-pv b { display: block; font-weight: 500; }
.co-pv p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }


/* ---------- post a role ---------- */
.ew-dlg { width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: .5px solid var(--lg-rim); border-radius: 20px; color: var(--ink);
  background: color-mix(in oklab, var(--bg-2) 88%, transparent); box-shadow: var(--lg-shade), inset 0 1px 0 var(--lg-lo);
  -webkit-backdrop-filter: blur(24px) saturate(var(--lg-sat)); backdrop-filter: blur(24px) saturate(var(--lg-sat)); }
:root[data-theme="light"] .ew-dlg { background: rgba(250, 250, 251, .9); }
.ew-dlg[open] { animation: ew-dlg .26s var(--ease-out); }
.ew-dlg::backdrop { background: var(--lg-veil); animation: ew-fade .2s var(--ease-out); }
@keyframes ew-dlg { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.ew-dlg form { display: grid; gap: 16px; padding: 22px 24px 0; }
.ew-dlg h2 { margin: 0; font: 600 1.4rem/1.15 var(--display); letter-spacing: -.02em; }
.ew-dlg .ew-dlg-sub { margin: -10px 0 0; color: var(--ink-2); font-size: 14px; }
.ew-dlg .ew-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ew-dlg-foot { position: sticky; bottom: 0; display: flex; gap: 8px; justify-content: flex-end; align-items: center; padding: 14px 0 18px; margin-top: 4px; background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--bg-2) 92%, transparent) 30%); }
.ew-dlg-foot p { margin: 0 auto 0 0; font-size: 12.5px; color: var(--ink-3); }
.ew-dlg-foot .go { height: 40px; padding: 0 20px; border-radius: var(--r-pill); font: 500 14.5px var(--ui); cursor: pointer; }
.ew-seg2 { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); width: max-content; }
.ew-seg2 { background: var(--lg-well); border: .5px solid var(--lg-rim); box-shadow: inset 0 1px 2px rgba(0,0,0,.28), inset 0 -.5px 0 var(--lg-lo); }
.ew-seg2 > [role="radio"] { height: 34px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font: 14px var(--ui); cursor: pointer; transition: color .2s var(--ease-out), background-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.ew-seg2 > [aria-checked="true"] { color: var(--ink); background: var(--lg-lens); box-shadow: inset 0 0 0 .5px var(--lg-rim), inset 1px 1.5px 0 -.5px var(--lg-lens-hi), var(--lg-lens-shade); }
.ew-seg2 > [role="radio"]:active { scale: .97; }
.ew-seg2 > [role="radio"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.ew-qs { display: grid; gap: 8px; }
.ew-qs .co-inv .ew-btn { flex: none; }
.ew-dlg .ew-x { position: absolute; right: 14px; top: 14px; }


/* the floating bars sit over paper and rows: a thicker glass */
.tb-bulk, .ew-toast { background: color-mix(in oklab, var(--bg-2) 80%, transparent); }
:root[data-theme="light"] .tb-bulk, :root[data-theme="light"] .ew-toast { background: rgba(250, 250, 251, .84); }
.tb-nm > div { min-width: 0; }
.tb-nm small, .tb-nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb td.tb-fit { min-width: 150px; }
.ew-drawer { top: calc(var(--bar-h, 62px) + 8px); }

@media (max-width: 1180px) {
  .ew-rh { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ew-rh-r { align-items: flex-start; }
  .ew-figs div { text-align: left; }
  .ew-acts { justify-content: flex-start; }
  .tb .tb-m { display: none; }
}
@media (max-width: 900px) {
  .ew-postb { order: 2; }
  .ew-views { order: 3; flex-basis: 100%; }
  .kb-phone { display: flex; }
  .kb { grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .kb-col { display: none; padding: 0; background: none; border: 0; }
  .kb-col.is-phone { display: block; }
  .kb-col > header { display: none; }
  .ew-veil { inset: 0; }
  .ew-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100dvh - 28px); border-radius: 22px 22px 0 0; animation-name: ew-up; }
  .ew-drawer.is-out { animation-name: ew-down; }
  @keyframes ew-up { from { transform: translateY(60px); opacity: 0; } }
  @keyframes ew-down { to { transform: translateY(40px); opacity: 0; } }
  .ew-drawer .cp { padding: 16px 16px 60px; }
  .co { grid-template-columns: minmax(0, 1fr); }
  .rl-i { grid-template-columns: minmax(0, 1fr); }
  .rl-acts { justify-content: flex-start; }
  .tl-i { grid-template-columns: minmax(0, 1fr); }
  .tl-acts { justify-content: flex-start; }
  .ew-toast { bottom: calc(var(--tb-h, 74px) + 22px); }
  .tb-bulk { bottom: calc(var(--tb-h, 74px) + 22px); }
}
@media (max-width: 640px) {
  .ew-figs { gap: 16px; flex-wrap: wrap; }
  .ew-figs dd { font-size: 18px; }
  .ew-find { flex: 1 1 100%; }
  .ew-count { margin-left: 0; }
  .ew-two { grid-template-columns: minmax(0, 1fr); }
  .tb-wrap { border: 0; background: none; border-radius: 0; overflow: visible; }
  .tb thead { display: none; }
  .tb, .tb tbody { display: block; }
  .tb tbody tr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "c n s" "c f f"; gap: 4px 8px; align-items: center; padding: 10px 6px 12px; border-bottom: 1px solid var(--rule); }
  .tb td { display: block; height: auto; padding: 0; border: 0; }
  .tb td.tb-c { grid-area: c; width: auto; }
  .tb td.tb-n { grid-area: n; min-width: 0; }
  .tb td.tb-st { grid-area: s; }
  .tb td.tb-fit { grid-area: f; min-width: 0; padding-left: 40px; }
  .tb td.tb-s, .tb td.tb-m { display: none; }
  .cp-track button { font-size: 11.5px; }
  .cp-rate { margin-left: 0; }
  .ew-card { padding: 20px; }
  .ew-postb span { display: inline; }
}

/* After looking at it (19 Nov): six columns share the board's width; a phone's toast is a bar, not a bubble; the
   dialog's pairs and the stage labels give way on the narrowest screens. */
.kb { grid-template-columns: repeat(6, minmax(196px, 1fr)); }
.co-team .co-what { white-space: nowrap; }
@media (max-width: 640px) {
  .ew-toast { left: 12px; right: 12px; translate: none; max-width: none; border-radius: 18px; padding: 10px 10px 10px 16px; }
  .ew-toast p { flex: 1; min-width: 0; }
  .ew-dlg .ew-two { grid-template-columns: minmax(0, 1fr); }
  .ew-dlg-in { padding: 18px 16px 0; }
  .ew-dlg-foot { flex-wrap: wrap; }
  .ew-dlg-foot p { flex-basis: 100%; }
  .ew-seg2 { width: 100%; }
  .ew-seg2 > [role="radio"] { flex: 1; padding: 0 8px; }
  .co-team li { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .cp-nav { display: none; }
  .cp-track button:not(.is-now) { font-size: 0; }
  .cp-h h2 { font-size: 1.25rem; }
}

/* Your emails (20 Nov 2026): three choices, each a full-width row you can press anywhere on. */
.ew-mail-l { display: grid; gap: 8px; }
.ew-mail-o { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rule-2); cursor: pointer; transition: border-color .16s, background-color .16s; }
.ew-mail-o:has(input:checked) { border-color: var(--ink-3); background: var(--card-2); }
@media (hover: hover) { .ew-mail-o:hover { border-color: var(--ink-3); } }
.ew-mail-o input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.ew-mail-o > span { display: grid; gap: 2px; }
.ew-mail-o b { font-weight: 500; font-size: 14.5px; }
.ew-mail-o span span { font-size: 13px; color: var(--ink-2); }
.ew-mail-o:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
