/* Status text, trigger and menu share the same semantic colors. */
[data-status="UNSET"]{--status-ink:#59635e;--status-tint:#eff2ef}
[data-status="PLANNED"]{--status-ink:#2856a0;--status-tint:#edf3ff}
[data-status="APPLIED"]{--status-ink:#086675;--status-tint:#e8f5f7}
[data-status="ASSESSMENT"]{--status-ink:#835600;--status-tint:#fff4d9}
[data-status="INTERVIEW"]{--status-ink:#7742a1;--status-tint:#f5edfc}
[data-status="ENDED"]{--status-ink:#356c48;--status-tint:#edf5ee}
[data-status="REJECTED"]{--status-ink:#ab2944;--status-tint:#fff0f2}
[data-status="OFFER"]{--status-ink:#176936;--status-tint:#e7f7eb}
[data-status="NOT_SUITABLE"]{--status-ink:#854b2a;--status-tint:#fff0e5}
:root[data-theme="dark"] [data-status="UNSET"]{--status-ink:#b5c0b8;--status-tint:#2b342e}
:root[data-theme="dark"] [data-status="PLANNED"]{--status-ink:#a4c4ff;--status-tint:#233249}
:root[data-theme="dark"] [data-status="APPLIED"]{--status-ink:#80d5df;--status-tint:#1d363b}
:root[data-theme="dark"] [data-status="ASSESSMENT"]{--status-ink:#e9c56e;--status-tint:#3e3420}
:root[data-theme="dark"] [data-status="INTERVIEW"]{--status-ink:#d5b0f1;--status-tint:#362b44}
:root[data-theme="dark"] [data-status="ENDED"]{--status-ink:#a0d3af;--status-tint:#273a2c}
:root[data-theme="dark"] [data-status="REJECTED"]{--status-ink:#ffb0c0;--status-tint:#482731}
:root[data-theme="dark"] [data-status="OFFER"]{--status-ink:#99e7b2;--status-tint:#203d2b}
:root[data-theme="dark"] [data-status="NOT_SUITABLE"]{--status-ink:#f6c49d;--status-tint:#423023}
.status,.status-select{
  display:inline-flex;align-items:center;gap:5px;border-radius:6px;
  color:var(--status-ink,var(--muted));background:var(--status-tint,var(--soft));
  border:1px solid color-mix(in srgb,var(--status-ink,var(--muted)) 24%,var(--line,var(--border,#d9dfda)));
  padding:4px 6px;font-size:12px;white-space:nowrap;
}
.status-select{width:100%;min-height:32px;justify-content:space-between;cursor:pointer}
.status-select svg{width:12px;height:12px;flex-shrink:0}
.status-select:disabled{opacity:.6;cursor:wait}
.status-select:focus-visible,.status-menu button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.status-menu{
  position:fixed;inset:auto;margin:0;padding:6px;width:180px;max-height:calc(100dvh - 16px);overflow:auto;
  border:1px solid var(--line,var(--border,#d9dfda));border-radius:8px;background:var(--paper,var(--surface,#fff));color:var(--ink,var(--text,#17201b));
  box-shadow:0 6px 24px #0002;
}
.status-menu button{
  display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:7px 9px;
  border:0;border-radius:5px;background:transparent;color:var(--status-ink);font-size:13px;cursor:pointer;text-align:left;
}
.status-menu button:hover,.status-menu button:focus-visible,.status-menu button[aria-checked="true"]{background:var(--status-tint)}
.status-dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex-shrink:0}
.status-check{margin-left:auto}

@media(max-width:720px){.status-menu button{min-height:44px}}
