/* Qyad v7: space for the work, quiet surfaces, fast controls. */
#main { max-width: 1800px; }
body { color:var(--text-1); }
#sidebar { width:248px; transition:width .2s ease; background:var(--surface-2)!important; }
.desktop-toolbar { min-height:56px; background:var(--bg); }
.icon-button { display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;color:var(--text-3);flex-shrink:0;cursor:pointer; }
.icon-button:hover { background:var(--hover);color:var(--text-1); }
html[data-sidebar="collapsed"] #sidebar { width:72px; }
html[data-sidebar="collapsed"] #sidebar .brand-name,
html[data-sidebar="collapsed"] #sidebar .navitem > span,
html[data-sidebar="collapsed"] #sidebar .nav-heading,
html[data-sidebar="collapsed"] #sidebar nav > p,
html[data-sidebar="collapsed"] #sidebar .sidebar-user > .min-w-0,
html[data-sidebar="collapsed"] #sidebar #logout { display:none; }
html[data-sidebar="collapsed"] #sidebar .navitem { justify-content:center;padding:11px 0; }
html[data-sidebar="collapsed"] #sidebar .brand-row { justify-content:center;padding:20px 0 24px; }
html[data-sidebar="collapsed"] #sidebar .sidebar-user { background:transparent;box-shadow:none;padding:8px 0;justify-content:center; }
html[data-sidebar="collapsed"] #sidebar nav { margin-bottom:8px; }
.settings-grid { display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start; }
.settings-card { min-width:0; }
.settings-card:first-child { grid-row:span 2; }
.settings-card:last-child { grid-column:1 / -1; }
.settings-card p,.settings-card code { overflow-wrap:anywhere; }
.settings-card #match-form { display:grid;grid-template-columns:1fr 1fr;gap:20px; }
#match-form > * { margin:0;min-width:0; }
#match-form > :nth-child(n+3) { grid-column:1 / -1; }
#match-resume { min-height:180px;resize:vertical; }
.appearance-options { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.appearance-option { display:flex;flex-wrap:wrap;align-items:center;gap:7px;border:1px solid var(--border);border-radius:10px;padding:10px;font-size:13px;font-weight:600;text-align:left; }
.appearance-option[aria-pressed="true"] { border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft);color:var(--accent-text); }
.theme-preview { display:block;position:relative;width:100%;height:74px;border-radius:5px;overflow:hidden;border:1px solid rgba(100,100,100,.2); }
.preview-light { background:#fffdf8; }.preview-dark { background:#191919; }
.theme-preview i { position:absolute;left:0;top:0;bottom:0;width:25%;background:rgba(128,128,128,.13);border-right:1px solid rgba(128,128,128,.15); }
.theme-preview b,.theme-preview em { position:absolute;height:5px;background:rgba(128,128,128,.3);border-radius:3px;left:34%;right:14%;top:24px; }.theme-preview em { top:39px;right:30%;height:4px; }
.discover-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.discover-card { display:flex;flex-direction:column;min-width:0; }
.discover-card h2 { font-size:16px;line-height:1.5; }
.discover-card > div:last-child { margin-top:auto;padding-top:16px; }
.discover-card > p.line-clamp-2 { margin-bottom:20px; }
.discover-section { grid-column:1 / -1;font-size:11px;font-weight:700; }
.source-note { border:1px solid var(--border-soft);background:var(--surface-2); }
.discovery-toolbar { box-shadow:none; }
.discovery-toolbar label:has(input[type="checkbox"]) { min-height:36px;padding:6px 10px;background:var(--surface-2);border:1px solid var(--border);border-radius:8px; }
.discovery-toolbar label:has(input:checked) { background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text); }
.filter-workbench { background:var(--surface);border:1px solid var(--border);border-radius:12px;margin:0 0 18px;padding:12px; }
.filter-top { display:flex;align-items:center;gap:10px; }
.filter-top .input { box-shadow:none;background:var(--surface-2);min-height:40px; }
.filter-trigger { display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;cursor:pointer;border:1px solid var(--border);border-radius:8px;min-height:40px;padding:0 13px;font-size:13px;font-weight:600;white-space:nowrap; }
.filter-trigger::-webkit-details-marker { display:none; }
.filter-trigger:hover,.opp-controls[open] .filter-trigger { background:var(--surface-2); }
.opp-controls { position:relative; }
.filter-panel { position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:360px;max-width:calc(100vw - 56px);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-pop);border-radius:12px;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.filter-panel-title { grid-column:1 / -1;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;margin-bottom:4px; }
.filter-panel .input { width:100%!important;min-width:0;font-size:12px; }
.filter-panel .filter-field { min-width:0; }
.filter-field-label { display:block;font-size:11px;color:var(--text-3);font-weight:600;margin-bottom:6px; }
.filter-panel .btn-ghost { padding:8px;font-size:12px; }
.filter-badge { border-radius:5px;padding:1px 5px;background:var(--accent-soft);color:var(--accent-text);font-size:11px; }
.quick-filters { display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:12px;margin-top:12px;border-top:1px solid var(--border-soft); }
.quick-chip { border-radius:7px;padding:6px 10px;font-size:12px;font-weight:500;color:var(--text-3);transition:background .15s; }
.quick-chip:hover { background:var(--surface-2); }
.quick-chip[aria-pressed="true"] { background:var(--accent-soft);color:var(--accent-text);font-weight:600; }
.active-filters { display:flex;flex-wrap:wrap;gap:6px; }
.active-filters:not(:empty) { padding-top:12px; }
.active-filter { display:inline-flex;align-items:center;gap:5px;max-width:100%;overflow-wrap:anywhere;background:var(--surface-2);color:var(--text-2);border:1px solid var(--border);font-size:11px;padding:4px 7px;border-radius:5px; }
.btn-primary { background-image:none;box-shadow:0 1px 2px rgba(0,0,0,.08);text-shadow:none; }
.btn-primary:hover { background-image:none;box-shadow:0 2px 5px rgba(0,0,0,.12); }
.card { border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.025); }
.hero-panel { background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--border);border-radius:12px; }
.hero-fx { display:none; }
.hero-note { color:var(--text-3); }
/* Token mapping keeps every existing page, drawer, modal and board consistent. */
html[data-theme="dark"] {
 --bg:#191919;--surface:#202020;--surface-2:#252525;--surface-3:#303030;--hover:rgba(255,255,255,.055);
 --border:rgba(255,255,255,.105);--border-soft:rgba(255,255,255,.065);--border-strong:rgba(255,255,255,.18);
 --text-1:#e9e9e7;--text-2:#c6c6c3;--text-3:#a0a09c;--text-4:#898985;--text-5:#666662;
 --accent:#d9947a;--accent-2:#e1a089;--accent-text:#e6aa91;--accent-soft:rgba(217,148,122,.13);
 --shadow-card:0 1px 2px rgba(0,0,0,.12);--shadow-pop:0 12px 40px rgba(0,0,0,.4);--glass:#202020;--ring-focus:rgba(217,148,122,.3);color-scheme:dark;
}
html[data-theme="dark"] body { background:var(--bg); }
html[data-theme="dark"] [class*="bg-white"] { background-color:var(--surface)!important; }
html[data-theme="dark"] [class*="bg-stone-50"],html[data-theme="dark"] [class*="bg-stone-100"],html[data-theme="dark"] [class*="bg-stone-200"] { background-color:var(--surface-2)!important; }
html[data-theme="dark"] [class*="text-stone-900"],html[data-theme="dark"] [class*="text-stone-800"] { color:var(--text-1)!important; }
html[data-theme="dark"] [class*="text-stone-700"],html[data-theme="dark"] [class*="text-stone-600"] { color:var(--text-2)!important; }
html[data-theme="dark"] [class*="text-stone-500"] { color:var(--text-3)!important; }
html[data-theme="dark"] [class*="text-stone-400"] { color:var(--text-4)!important; }
html[data-theme="dark"] [class*="border-stone-"],html[data-theme="dark"] [class*="divide-stone-"] > * { border-color:var(--border)!important; }
html[data-theme="dark"] [class*="ring-stone-"] { --tw-ring-color:var(--border)!important; }
html[data-theme="dark"] [class*="bg-brand-50"],html[data-theme="dark"] [class*="bg-brand-100"] { background-color:var(--accent-soft)!important; }
html[data-theme="dark"] [class*="text-brand-600"],html[data-theme="dark"] [class*="text-brand-700"],html[data-theme="dark"] [class*="text-brand-500"] { color:var(--accent-text)!important; }
html[data-theme="dark"] .input,html[data-theme="dark"] .btn-ghost { background:var(--surface-2)!important;color:var(--text-1)!important;--tw-ring-color:var(--border)!important; }
html[data-theme="dark"] .input::placeholder { color:var(--text-4); }
html[data-theme="dark"] .card { background:var(--surface);--tw-ring-color:var(--border); }
html[data-theme="dark"] .tabbtn.active { background:var(--surface-3);color:var(--text-1);--tw-ring-color:var(--border); }
html[data-theme="dark"] .navitem.active { background:var(--surface-3);color:var(--text-1);box-shadow:none; }
html[data-theme="dark"] .navitem:hover { background:var(--hover); }
html[data-theme="dark"] .hero-sub { color:var(--text-2); }
html[data-theme="dark"] .login-art { background:linear-gradient(150deg,#292623,#26211f)!important; }
html[data-theme="dark"] .login-art .blob { opacity:.06; }
html[data-theme="dark"] [class*="bg-amber-50"] { background-color:#322c21!important; }
html[data-theme="dark"] [class*="bg-red-50"] { background-color:#352424!important; }
html[data-theme="dark"] [class*="bg-emerald-50"] { background-color:#23332b!important; }
html[data-theme="dark"] [class*="bg-sky-50"],html[data-theme="dark"] [class*="bg-blue-50"] { background-color:#24313b!important; }
html[data-theme="dark"] [class*="bg-violet-50"] { background-color:#302a3a!important; }
html[data-theme="dark"] [class*="text-amber-700"],html[data-theme="dark"] [class*="text-amber-800"],html[data-theme="dark"] [class*="text-amber-600"] { color:#e5be7f!important; }
html[data-theme="dark"] [class*="text-red-600"],html[data-theme="dark"] [class*="text-red-700"],html[data-theme="dark"] [class*="text-red-500"] { color:#ef9a94!important; }
html[data-theme="dark"] [class*="text-emerald-700"] { color:#9bc8ab!important; }
html[data-theme="dark"] [class*="text-sky-700"],html[data-theme="dark"] [class*="text-blue-700"] { color:#9cbcd8!important; }
html[data-theme="dark"] [class*="text-violet-700"] { color:#bfacd9!important; }
html[data-theme="dark"] .chip { --tw-ring-color:var(--border)!important; }
html[data-theme="dark"] .chip-stone { background:var(--surface-3);color:var(--text-2); }
html[data-theme="dark"] .btn-primary { background:#b87458;color:#fff; }
html[data-theme="dark"] .btn-primary:hover { background:#c58367; }
html[data-theme="dark"] .btn-danger { background:#352424;color:#ef9a94;--tw-ring-color:#70443f; }
html[data-theme="dark"] .glass-side,html[data-theme="dark"] .glass-bar { background:var(--glass)!important; }
html[data-theme="dark"] .toast-in { background:#e9e9e7;color:#191919; }
html[data-theme="dark"] .modal-overlay { background:rgba(0,0,0,.6); }
@media(min-width:1600px){.discover-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }}
@media(max-width:1100px){.settings-grid { grid-template-columns:1fr; }.settings-card:first-child {grid-row:auto;}.discover-grid {grid-template-columns:1fr;} }
@media(max-width:767px){
 #main { padding-top:24px; }.settings-card #match-form {grid-template-columns:1fr;}.settings-card #match-form > * {grid-column:auto;}
 .filter-panel {width:320px;}.filter-workbench {padding:10px;}.quick-chip {padding:8px;font-size:11px;}
 .quick-filters {gap:2px;}.settings-grid {gap:14px;}.discover-card > div:last-child {row-gap:12px;}
 .discovery-toolbar > label:first-child {flex-basis:100%;}.discovery-toolbar select {flex:1;max-width:100%;}
 button,.btn,.input {min-height:40px;}.icon-button {min-height:32px;}.quick-chip {min-height:36px;}
 #main {overflow-wrap:anywhere;}.settings-card .flex > .min-w-0 {min-width:0;}
}
@media(prefers-reduced-motion:reduce){#sidebar,.card,.btn,.quick-chip {transition:none!important;}.lift:hover{transform:none;}}
/* Application board: wraps into useful columns rather than a wide clipped lane. */
.application-board {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;}
.app-column {min-width:0;background:var(--surface-2);border:1px solid var(--border-soft);border-radius:10px;padding:12px;transition:background .15s,outline .15s;}
.app-dropzone {min-height:130px;}.app-drop-active {outline:2px solid var(--accent);background:var(--accent-soft)!important;}
.app-card {min-width:0;}.app-card .app-open {cursor:pointer;}.app-card .app-open:hover {color:var(--accent-text);}
.app-drag-handle {touch-action:none;user-select:none;cursor:grab;width:28px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--text-4);font-size:24px;line-height:1;border-radius:5px;flex-shrink:0;min-height:30px;}
.app-drag-handle:hover,.app-drag-handle:active {background:var(--hover);color:var(--text-1);cursor:grabbing;}
.app-stage-label {display:block;border-top:1px solid var(--border-soft);margin-top:14px;padding-top:8px;}
.app-stage-select {background:transparent;color:var(--text-3);width:100%;font-size:12px;min-height:28px;cursor:pointer;}
.app-drag-ghost {position:fixed;z-index:100;pointer-events:none;opacity:.9;box-shadow:var(--shadow-pop)!important;transform:rotate(2deg);max-height:200px;overflow:hidden;background:var(--surface)!important;color:var(--text-1)!important;}
.app-drag-origin {opacity:.3;}
@media(min-width:1700px){.application-board {grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}.app-column {padding:10px;}}
@media(max-width:1000px){.application-board {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.application-board {grid-template-columns:1fr;gap:14px;}.app-dropzone {min-height:64px;}.app-drag-handle {width:44px;height:44px;min-height:44px;}.app-stage-select {min-height:40px;}}
.btn.hidden,.btn-ghost.hidden,.btn-primary.hidden,.filter-badge.hidden {display:none!important;}
html[data-theme="dark"] .navitem {color:var(--text-2);}
html[data-theme="dark"] .label {color:var(--text-3);}
html[data-theme="dark"] .chip-private {background:#322c21;color:#e5be7f;}
html[data-theme="dark"] .chip-blue,html[data-theme="dark"] .chip-group {background:#24313b;color:#9cbcd8;}
html[data-theme="dark"] .chip-green {background:#23332b;color:#9bc8ab;}
html[data-theme="dark"] .chip-red {background:#352424;color:#ef9a94;}
html[data-theme="dark"] .chip-college {background:#302a3a;color:#bfacd9;}
html[data-theme="dark"] .card {box-shadow:0 0 0 1px var(--border);}
@media(max-width:767px){.filter-panel {position:fixed;left:16px;right:16px;bottom:80px;top:auto;width:auto;max-width:none;max-height:70vh;overflow-y:auto;z-index:60;}.opp-controls[open]::before {content:"";position:fixed;inset:0;background:rgba(0,0,0,.25);z-index:55;pointer-events:none;}}

/* ============ v7 readability: clear names first, readable meta, obvious Apply ============ */
body { font-kerning:normal;text-rendering:optimizeLegibility; }
/* Meta grays were too faint for real content in light mode (about 2.5:1). These pass 4.5:1 on white. */
html:not([data-theme="dark"]) .text-stone-400 { color:#7A736B; }
html:not([data-theme="dark"]) .text-stone-500 { color:#6E6862; }
/* The opportunity name is the most important text on every surface. */
.opp-title { display:block;font-size:17px;line-height:1.4;font-weight:700;letter-spacing:0;color:var(--text-1);text-align:left;overflow-wrap:break-word; }
.opp-title:hover { color:var(--accent-text); }
.opp-meta { font-size:13px;line-height:1.55;color:var(--text-3); }
.opp-sub { font-size:12px;line-height:1.5;color:var(--text-4); }
.opp-desc { font-size:13px;line-height:1.55;color:var(--text-3); }
.opp-section { font-size:11px;font-weight:700;letter-spacing:.09em; }
/* Chips carry deadlines and stages; 11px was hard to scan. */
.chip { font-size:12px;padding:2px 9px;line-height:16px; }
/* One obvious apply action per opportunity; never a faint text link. */
.apply-btn { display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--accent-2);color:#fff;font-size:13px;font-weight:700;letter-spacing:.01em;line-height:1;padding:10px 16px;border-radius:9px;min-height:38px;box-shadow:0 1px 2px rgba(60,45,35,.18);transition:background .15s ease,transform .08s ease;white-space:nowrap; }
.apply-btn:hover { background:#A04A31; }
.apply-btn:active { transform:scale(.97); }
html[data-theme="dark"] .apply-btn { background:#b87458;color:#fff; }
html[data-theme="dark"] .apply-btn:hover { background:#c58367; }
.discover-card h2 { font-size:17px;line-height:1.45;font-weight:700;letter-spacing:0;color:var(--text-1); }
@media(max-width:767px){ .apply-btn { min-height:42px;font-size:14px;padding:11px 18px; } }

/* v8: monochrome foundation, orange only where it helps a decision. */
:root { --bg:#f7f7f8;--surface:#ffffff;--surface-2:#f3f3f4;--surface-3:#e9e9eb;--text-1:#111114;--text-2:#333339;--text-3:#56565e;--text-4:#666670;--text-5:#777780;--accent:#c2410c;--accent-2:#9a3412;--accent-text:#b63c0a;--accent-soft:#fff0e8;--border:#dedee2;--border-soft:#eaeaec;--glass:#ffffff;--ring-focus:rgba(194,65,12,.25); }
html[data-theme="dark"] { --bg:#101012;--surface:#18181b;--surface-2:#1e1e22;--surface-3:#29292f;--text-1:#fafafa;--text-2:#dedee3;--text-3:#b4b4bd;--text-4:#a3a3ad;--text-5:#9696a0;--accent:#fb923c;--accent-2:#fdba74;--accent-text:#fdba74;--accent-soft:rgba(251,146,60,.12);--border:#35353d;--border-soft:#2b2b32;--glass:#18181b;--ring-focus:rgba(251,146,60,.25); }
body { background-image:none!important; }
#sidebar { background:var(--surface)!important;border-right:1px solid var(--border); }
.card { box-shadow:none!important;border:1px solid var(--border);border-radius:14px; }
.card:hover { box-shadow:none!important; }
.btn-primary,.apply-btn { background:#c2410c!important;color:#fff!important;border-color:#c2410c!important;background-image:none!important;text-shadow:none;box-shadow:none!important; }
.btn-primary:hover,.apply-btn:hover { background:#9a3412!important;border-color:#9a3412!important; }
html[data-theme="dark"] .btn-primary,html[data-theme="dark"] .apply-btn { background:#fb923c!important;color:#17110a!important;border-color:#fb923c!important; }
html[data-theme="dark"] .btn-primary:hover,html[data-theme="dark"] .apply-btn:hover { background:#fdba74!important; }
.bg-brand-600,.bg-brand-500 { background:#c2410c!important;background-image:none!important; }
.text-brand-500,.text-brand-600 { color:var(--accent-text)!important; }
.navitem.active { background:var(--surface-2)!important;color:var(--text-1)!important;box-shadow:none!important; }
.input { border:1px solid var(--border)!important;background:var(--surface)!important;color:var(--text-1)!important; }
.text-stone-400,.text-stone-500 { color:var(--text-3)!important; }
.discover-card h2 { font-size:20px;line-height:1.35;font-weight:750;letter-spacing:0; }
.discover-card { gap:0; }
.discover-card .opp-desc { font-size:14px;line-height:1.65;color:var(--text-2);margin-bottom:20px; }
.catalog-detail { margin-top:12px;font-size:12px;line-height:1.5;color:var(--accent-text);font-weight:600; }
.catalog-warning { padding:8px 10px;border:1px solid var(--border);border-radius:6px;font-size:12px;margin-bottom:10px;color:var(--accent-text); }
.discovery-source-switch { display:flex;gap:6px;flex-wrap:wrap;padding:4px;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:fit-content; }
.discovery-source-switch button { font-size:13px;min-height:40px; }
.discovery-source-switch [aria-pressed="true"] { background:var(--text-1);color:var(--surface); }
.source-note { line-height:1.65!important;font-size:13px!important; }
.discover-card { content-visibility:auto;contain-intrinsic-size:auto 420px; }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important;animation:none!important;scroll-behavior:auto!important; } }
@media(max-width:640px) { .discover-card h2 {font-size:19px;} .discover-card {padding:20px!important;} }

.auth-required { min-height:100vh;display:grid;place-items:center;padding:24px; }
.auth-required .card {width:100%;max-width:440px;padding:40px;}
.auth-mark {display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--text-1);color:var(--surface);font-size:25px;font-weight:800;margin-bottom:28px;}
.auth-required h1 {font-size:28px;font-weight:750;line-height:1.25;}
.auth-required p {font-size:15px;color:var(--text-3);line-height:1.6;margin:12px 0 24px;}
.auth-required .btn-primary {width:100%;min-height:46px;}
.auth-required .auth-footnote {font-size:12px;margin:24px 0 0;}
.login-art {background:var(--surface-2)!important;}.login-art .blob {display:none;}

.resume-upload {padding:18px;border:1px solid var(--border);border-radius:10px;margin:0 0 20px;background:var(--surface-2);}
.resume-upload input {display:block;max-width:100%;font-size:14px;margin:12px 0;}
.resume-upload p {font-size:13px;line-height:1.6;color:var(--text-3);margin-top:10px;}
.app-version {padding:14px 20px 8px;font-size:12px;color:var(--text-3);}
html[data-sidebar="collapsed"] .app-version {padding:12px 6px;font-size:10px;text-align:center;}
.match-explainer {font-size:12px;line-height:1.6;color:var(--text-3);margin-top:10px;}
.match-explainer summary {cursor:pointer;color:var(--text-2);text-decoration:underline;text-underline-offset:3px;}
.match-explainer p {margin-top:8px;}

.opportunity-list {display:grid;gap:12px;}
.opportunity-row {display:flex;gap:24px;align-items:flex-start;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;}
.opportunity-main {flex:1;min-width:0;}.opportunity-action {flex:none;padding-top:25px;}
.opportunity-eyebrow {font-size:12px;font-weight:600;color:var(--text-3);margin-bottom:7px;text-transform:capitalize;}
.opportunity-row .opp-title {font-size:20px;line-height:1.4;display:block;text-align:left;}
.opportunity-facts {display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:10px 0;font-size:13px;color:var(--text-3);}
.opportunity-row .opp-desc {max-width:850px;font-size:14px;line-height:1.6;}
.opportunity-details {margin-top:14px;font-size:12px;color:var(--text-3);}
.opportunity-details summary {cursor:pointer;text-underline-offset:3px;}
.opportunity-details[open] summary {margin-bottom:14px;}
.opportunity-secondary {display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:12px;}
.opportunity-secondary .opp-meta {display:block;margin-bottom:6px;}
.opportunity-list-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.opportunity-list-grid .opportunity-row {flex-direction:column;gap:12px;}.opportunity-list-grid .opportunity-action {padding:0;}
@media(max-width:720px) {.opportunity-row {flex-direction:column;padding:20px;gap:16px;}.opportunity-action {padding:0;width:100%;}.opportunity-action .apply-btn {width:100%;justify-content:center;}.opportunity-list-grid {grid-template-columns:1fr;}.opportunity-row .opp-title {font-size:19px;}}

/* Keep content immediately readable, no fade-in waiting states. */
.view-in,.stagger>* {animation:none!important;opacity:1!important;transform:none!important;}

.catalog-inline-note {font-size:12px;color:var(--text-3);line-height:1.6;margin:0 0 16px;}.starter-opportunities {margin-top:32px;}.starter-opportunities>h2{font-size:22px;font-weight:700;}.starter-opportunities>p{font-size:13px;color:var(--text-3);line-height:1.6;margin:8px 0 18px;}

/* v9: normal readable type, table-only opportunities and applications. */
html,body,button,input,select,textarea,.font-sans {font-family:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',sans-serif!important;font-kerning:normal;letter-spacing:normal!important;}
body {font-size:14px;font-weight:400;line-height:1.6;}
h1 {font-size:25px!important;font-weight:600!important;line-height:1.4!important;} h2 {font-weight:600!important;}
.font-extrabold,.font-bold {font-weight:600!important;}.font-semibold {font-weight:500!important;}
.hero-panel {padding:16px!important;background:var(--surface)!important;}.hero-panel h2 {font-size:18px!important;}.hero-panel .hero-note {font-size:12px;}
.table-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--border);border-radius:8px;background:var(--surface);scrollbar-width:thin;}
.opportunities-table {width:100%;min-width:1030px;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.6;}
.opportunities-table th {background:var(--surface-2);font-size:12px;font-weight:500;text-align:left;padding:12px 14px;color:var(--text-2);border-bottom:1px solid var(--border);white-space:nowrap;}
.opportunities-table td {padding:15px 14px;border-bottom:1px solid var(--border-soft);vertical-align:top;color:var(--text-2);overflow-wrap:anywhere;}
.opportunities-table tr:last-child td {border-bottom:0;}.opportunities-table tbody tr:hover {background:var(--surface-2);}
.opportunities-table th:nth-child(1) {width:28%;}.opportunities-table th:nth-child(2){width:18%;}.opportunities-table th:nth-child(3){width:12%;}.opportunities-table th:nth-child(4){width:12%;}.opportunities-table th:nth-child(5){width:7%;}.opportunities-table th:nth-child(6){width:14%;}.opportunities-table th:nth-child(7){width:9%;}
.table-role {font-size:14px!important;font-weight:500!important;line-height:1.65!important;text-align:left;display:block;color:var(--text-1);letter-spacing:normal!important;}
button.table-role:hover {text-decoration:underline;text-underline-offset:3px;}
.table-company {display:block;font-weight:500;font-size:13px;color:var(--text-1);}.table-meta {display:block;font-size:12px;color:var(--text-3);margin-top:4px;line-height:1.55;}
.table-muted {color:var(--text-3);font-size:12px;}.date-cell,.match-cell,.link-cell {white-space:nowrap;}.type-cell {text-transform:capitalize;font-size:12px;}
.table-details {font-size:12px;color:var(--text-3);margin-top:6px;}.table-details summary {cursor:pointer;display:list-item;width:fit-content;}.table-details p {margin:10px 0;line-height:1.7;white-space:normal;}.table-detail-actions {display:flex;gap:7px;flex-wrap:wrap;align-items:center;}.table-detail-actions .btn-ghost{font-size:12px;padding:6px 8px;}
.table-apply {display:inline-block;font-size:13px;font-weight:500;color:var(--accent-text);text-decoration:underline;text-underline-offset:4px;min-height:32px;padding:2px 0;white-space:nowrap;}
.table-apply:hover {color:var(--text-1);}.opportunities-table select {max-width:100%;font-family:inherit;font-size:12px!important;min-height:34px!important;padding:5px 7px!important;background:var(--surface)!important;color:var(--text-2)!important;border:1px solid var(--border)!important;border-radius:5px;}
.suggestion-label {font-size:10px;color:var(--accent-text);display:block;margin-bottom:3px;}.table-empty {padding:24px;text-align:center;font-size:14px;color:var(--text-3);}.table-phone-hint {display:none;font-size:12px;color:var(--text-3);margin:8px 0;}
.private-apps-table {min-width:900px;}.private-apps-table th:nth-child(1){width:29%;}.private-apps-table th:nth-child(2){width:18%;}.private-apps-table th:nth-child(3){width:14%;}.private-apps-table th:nth-child(4){width:16%;}.private-apps-table th:nth-child(5){width:14%;}.private-apps-table th:nth-child(6){width:9%;}
@media(max-width:1100px){.table-phone-hint{display:block;}}
@media(max-width:640px){.opportunities-table {min-width:1020px;}.table-scroll {border-radius:6px;}.opportunities-table td {padding:12px;}.opportunities-table th {padding:10px 12px;}}
/* Contain the wide table, never widen the page or bottom navigation. */
html {overflow-x:clip;}body,#root {min-width:0;width:100%;}.table-scroll {width:100%;min-width:0;contain:inline-size;}
html,body {overflow-x:hidden;}body {position:relative;}.table-scroll {position:relative;isolation:isolate;}
html[data-theme="dark"] .navitem {color:var(--text-2)!important;}html[data-theme="dark"] .navitem.active {background:var(--surface-3)!important;color:var(--text-1)!important;}html[data-theme="dark"] .tabbtn {color:var(--text-3)!important;}html[data-theme="dark"] .tabbtn.active {background:var(--surface-3)!important;color:var(--text-1)!important;}
/* v9.1: dark palette only. Light tokens and layout are unchanged. */
html[data-theme="dark"] {--bg:#121212;--surface:#18181b;--surface-2:#18181b;--surface-3:#27272a;--text-1:#f4f4f5;--text-2:#e0e0e0;--text-3:#b5b5bd;--text-4:#aaaab3;--text-5:#9696a0;--accent:#d6a58b;--accent-2:#e1b69e;--accent-text:#e1b69e;--accent-soft:rgba(214,165,139,.12);--border:#3f3f46;--border-soft:#303036;--glass:#18181b;--ring-focus:rgba(214,165,139,.35);}
html[data-theme="dark"] .btn-primary,html[data-theme="dark"] .apply-btn {background:#d6a58b!important;color:#18181b!important;border-color:#d6a58b!important;}
html[data-theme="dark"] .btn-primary:hover,html[data-theme="dark"] .apply-btn:hover {background:#e1b69e!important;border-color:#e1b69e!important;}
html[data-theme="dark"] .bg-brand-500,html[data-theme="dark"] .bg-brand-600 {background:#d6a58b!important;color:#18181b!important;}
html[data-theme="dark"] .quick-chip[aria-pressed="true"],html[data-theme="dark"] .bg-brand-50 {background:rgba(214,165,139,.12)!important;color:#e1b69e!important;}
html[data-theme="dark"] body {background-color:#121212!important;}

html[data-theme="dark"] body[class] {background-color:#121212!important;}
