/* Occasio — a quiet workspace for the next chapter. */
:root {
	color-scheme: light dark;
	--paper: #f7f8f4;
	--surface: #ffffff;
	--sidebar: #f0f2eb;
	--ink: #252e29;
	--muted: #70786f;
	--line: #e1e5db;
	--green: #315643;
	--green-hover: #234433;
	--green-soft: #eaf0e6;
	--banner: #274c3b;
	--cream: #f0efd8;
	--accent: #d6dfb7;
	--warning: #99632e;
	--danger: #ac4944;
	--info: #46697e;
	--shadow: 0 10px 35px #263e2a08;
	--serif: Georgia, 'Times New Roman', serif;
	--sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input, textarea, select { color: inherit; }
button:disabled, .disabled { opacity: .5; cursor: not-allowed; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 400 clamp(30px, 2.65vw, 43px)/1.15 var(--serif); letter-spacing: -1.35px; margin-bottom: 13px; }
h2 { font: 400 25px/1.25 var(--serif); letter-spacing: -.6px; margin-bottom: 14px; }
h3 { font-size: 15px; line-height: 1.4; margin-bottom: 8px; font-weight: 600; }
p { margin-bottom: 16px; }
small, .small { font-size: 12px; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.icon { flex-shrink: 0; vertical-align: middle; }
.muted, .tone-muted { color: var(--muted); }
.tone-ok { color: var(--green); }
.tone-info { color: var(--info); }
.tone-warn { color: var(--warning); }
.tone-danger, .tone-error, .danger-text { color: var(--danger); }
.eyebrow, .small-overline { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; color: var(--green); margin-bottom: 13px; }
.small-overline { font-size: 9px; letter-spacing: 1px; }
.sr-only { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 20px; padding: 10px 20px; background: var(--surface); z-index: 100; }
.skip-link:focus { top: 12px; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.mobile-break { display: none; }
.sidebar { width: 226px; position: fixed; inset: 0 auto 0 0; background: var(--sidebar); border-right: 1px solid var(--line); padding: 34px 20px 20px; display: flex; flex-direction: column; z-index: 20; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 25px; letter-spacing: -.9px; color: var(--green); }
.brand-mark { display: inline-flex; width: 33px; height: 33px; align-items: center; justify-content: center; }
.brand-mark .icon { width: 33px; height: 33px; stroke-width: 1.4; }
.brand-dot { color: #839863; }
.sidebar .brand { padding-left: 7px; margin-bottom: 49px; }
.sidebar-label { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); padding-left: 14px; margin-bottom: 13px; }
.operations-label { margin-top: 40px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 5px; border-radius: 6px; font-size: 13px; color: #667064; transition: background .15s; }
.nav-link:hover { background: var(--line); color: var(--green); }
.nav-link.active { background: #dfe7d7; color: var(--green); font-weight: 600; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-dot { background: var(--green); border-radius: 50%; width: 5px; height: 5px; margin-left: auto; }
.sidebar-bottom { margin-top: auto; padding-top: 45px; }
.sidebar-note { padding: 18px 13px 28px; }
.sidebar-note p { font: 17px/1.5 var(--serif); color: var(--green); margin-bottom: 13px; }
.sidebar-note a { font-size: 11px; text-decoration: underline; text-underline-offset: 4px; color: var(--green); }
.account { border-top: 1px solid var(--line); padding-top: 21px; display: flex; align-items: center; gap: 9px; }
.avatar { background: #dce3cf; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; color: var(--green); flex-shrink: 0; font: 16px var(--serif); }
.account-copy { flex: 1; min-width: 0; }
.account-copy strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-copy small { display: block; color: var(--muted); font-size: 10px; }
.icon-button { background: none; border: 0; color: var(--muted); display: inline-flex; padding: 8px; align-items: center; justify-content: center; border-radius: 4px; }
.icon-button:hover { background: var(--line); color: var(--ink); }
.icon-button .icon { width: 16px; height: 16px; }
.main-wrap { margin-left: 226px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 77px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 44px; gap: 30px; }
.breadcrumb { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb span { padding: 0 13px; color: #a5ab9f; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.today { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.page-content { padding: 42px 44px 24px; max-width: 1460px; width: 100%; margin: 0 auto; flex: 1; }
.page-content:focus { outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.page-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.page-heading > .button { flex-shrink: 0; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; padding: 27px 44px; color: var(--muted); font-size: 10px; border-top: 1px solid var(--line); margin-top: 24px; }
.footer-spark { margin-left: 8px; color: var(--green); font-size: 18px; vertical-align: middle; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 5px; background: var(--green); color: #fff; border: 1px solid transparent; padding: 11px 18px; min-height: 43px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .15s, border-color .15s; }
.button:hover { background: var(--green-hover); }
.button .icon { height: 16px; width: 16px; }
.button.secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button.secondary:hover { background: var(--green-soft); border-color: #b4c4ad; }
.button.cream { background: var(--cream); color: #284a38; }
.button.cream:hover { background: #fffde9; }
.button.quiet { background: transparent; color: var(--muted); }
.button.quiet:hover { background: var(--line); }
.button.danger { background: transparent; color: var(--danger); border-color: var(--line); }
.button.danger:hover { background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.small-button { min-height: 35px; padding: 7px 13px; font-size: 11px; }
.wide { width: 100%; }
.button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.text-link { color: var(--green); font-size: 12px; font-weight: 600; }
.text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.overview-banner { background: var(--banner); color: #fff; padding: 31px 35px; border-radius: 9px; position: relative; overflow: hidden; display: flex; align-items: center; min-height: 208px; margin-bottom: 22px; }
.overview-banner > div:first-child { position: relative; z-index: 1; max-width: 72%; }
.overview-banner .eyebrow { color: #bfceaa; font-size: 9px; margin-bottom: 12px; }
.overview-banner h2 { font-size: 33px; letter-spacing: -.9px; margin-bottom: 10px; }
.overview-banner p { color: #d5dfd3; font-size: 12px; margin-bottom: 23px; }
.overview-banner .button { min-height: 36px; padding: 8px 15px; font-size: 11px; gap: 25px; }
.banner-art { position: absolute; right: 14px; width: 265px; height: 250px; opacity: .9; display: grid; place-items: center; }
.banner-art .orbit-one, .banner-art .orbit-two { width: 210px; height: 210px; border: 1px solid #a9c1964a; border-radius: 50%; position: absolute; }
.banner-art .orbit-two { width: 145px; height: 145px; }
.banner-art:before, .banner-art:after { content: ''; position: absolute; background: #a9c1963d; width: 245px; height: 1px; transform: rotate(-38deg); }
.banner-art:after { transform: rotate(52deg); }
.banner-art span { font: 155px/1 var(--serif); color: var(--accent); position: relative; transform: rotate(-15deg); }
.banner-art i { position: absolute; right: 51px; top: 37px; height: 10px; width: 10px; border-radius: 50%; background: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-bottom: 36px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 20px 22px; transition: border-color .2s; }
.stat-card:hover { border-color: #a8b79d; }
.stat-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.stat-label .icon { height: 17px; width: 17px; color: #85957a; }
.stat-card > strong { display: block; font: 37px/1.2 var(--serif); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat-description { display: block; font-size: 10px; color: var(--muted); }
.stat-description .tone-ok { font-weight: 600; margin-right: 3px; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 24px; margin-bottom: 30px; }
.dashboard-columns > *, .detail-columns > *, .run-layout > * { min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.section-heading .eyebrow { font-size: 9px; margin-bottom: 7px; }
.job-collection { display: grid; gap: 14px; }
.job-card { padding: 22px 24px 0; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; display: flex; flex-direction: column; box-shadow: var(--shadow); min-width: 0; transition: border-color .15s; }
.job-card:hover { border-color: #b4c3ad; }
.job-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.job-identity { display: flex; gap: 11px; align-items: center; min-width: 0; }
.institution-mark { width: 35px; height: 35px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; font: 13px var(--serif); color: var(--green); flex-shrink: 0; }
.employer { display: block; font-size: 11px; font-weight: 600; }
.job-location { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.new-label { color: var(--green); font-size: 8px; letter-spacing: 1px; font-weight: 600; }
.job-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.job-title-row > div:first-child { min-width: 0; }
.job-title h3 { font-size: 16px; font-weight: 550; letter-spacing: -.2px; line-height: 1.4; margin: 0 0 10px; }
.job-title:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.job-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; font-size: 10px; color: var(--muted); }
.kind-tag { background: var(--green-soft); color: var(--green); border-radius: 3px; padding: 2px 8px; font-size: 9px; }
.match-score { text-align: center; min-width: 64px; flex-shrink: 0; background: var(--green-soft); border-radius: 5px; padding: 9px 10px; }
.match-score strong { display: block; font-size: 25px; font-weight: 500; letter-spacing: -1px; line-height: 1.2; }
.match-score strong span { font-size: 12px; letter-spacing: 0; margin-left: 1px; }
.match-score small { display: block; font-size: 7px; font-weight: 600; letter-spacing: 1.1px; margin-top: 4px; }
.match-score.tone-muted { background: var(--paper); }
.score-pending { display: block; max-width: 90px; font-size: 10px; line-height: 1.4; }
.job-excerpt { font-size: 12px; color: var(--muted); line-height: 1.65; }
.job-card-bottom { border-top: 1px solid var(--line); min-height: 52px; display: flex; align-items: center; gap: 12px; margin-top: auto; flex-wrap: wrap; padding: 8px 0; }
.job-deadline { display: flex; align-items: center; gap: 5px; font-size: 10px; white-space: nowrap; }
.job-deadline .icon { width: 13px; height: 13px; }
.source-label { color: var(--muted); font-size: 9px; }
.job-actions { display: flex; gap: 3px; flex-wrap: wrap; }
.job-card-bottom .job-actions { margin-left: auto; }
.action-chip { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid transparent; background: transparent; color: var(--muted); padding: 6px; border-radius: 4px; min-height: 32px; font-size: 10px; }
.action-chip .icon { width: 14px; height: 14px; }
.action-chip:hover { background: var(--paper); color: var(--green); }
.action-chip.selected { background: var(--green-soft); color: var(--green); }
.job-card .job-actions form:not(:first-child) .action-chip span { display: none; }
.also-on { font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding: 10px 0; }
.also-on a { color: var(--green); margin-left: 8px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 25px; margin-bottom: 22px; min-width: 0; }
.deadline-panel { padding: 23px; }
.deadline-panel h2 { font-size: 22px; }
.deadline-panel .section-heading { margin-bottom: 6px; }
.deadline-panel > .small { font-size: 10px; }
.deadline-panel .icon { height: 17px; width: 17px; color: var(--muted); }
.deadline-row { display: flex; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.deadline-row:hover strong { color: var(--green); }
.date-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; min-width: 42px; padding: 5px; text-align: center; }
.date-tile strong { font: 23px/1.15 var(--serif); display: block; }
.date-tile small { font-size: 8px; text-transform: uppercase; letter-spacing: 1px; }
.deadline-row > span:last-child > strong { font-size: 11px; line-height: 1.5; display: block; margin-bottom: 4px; }
.deadline-row > span:last-child > small { font-size: 9px; display: block; color: var(--muted); }
.deadline-label { display: block; font-size: 9px; margin-top: 6px; }
.deadline-panel > .text-link { display: block; border-top: 1px solid var(--line); padding-top: 16px; font-size: 10px; }
.profile-nudge { background: #eaf0e0; padding: 24px; border-radius: 7px; }
.profile-nudge .eyebrow { font-size: 8px; }
.profile-nudge h3 { font: 26px/1.15 var(--serif); color: #36543c; letter-spacing: -.6px; margin-bottom: 12px; }
.profile-nudge p { font-size: 11px; color: #6b7765; }
.profile-nudge .text-link { font-size: 11px; }
.activity-strip { border: 1px solid var(--line); padding: 18px 22px; border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; background: var(--surface); }
.activity-strip > div:first-child { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 11px; }
.activity-strip .muted { font-size: 10px; }
.activity-strip .text-link { font-size: 10px; }
.status-dot { display: inline-block; border-radius: 50%; width: 7px; height: 7px; background: #8ba17c; flex-shrink: 0; }
.status-dot.running { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.live-panel .status-dot { margin-right: 10px; vertical-align: middle; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 20px 24px 0; margin-bottom: 32px; }
.search-bar { display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.search-bar > .icon { color: var(--muted); }
.search-bar input { border: 0; background: transparent; font-size: 14px; min-width: 0; flex: 1; padding: 9px 0; }
.search-bar input:focus { box-shadow: none; outline-offset: 2px; }
.filter-main, .filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; padding: 20px 0; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 600; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; min-height: 42px; font-size: 13px; font-weight: 400; line-height: 1.5; transition: border-color .15s; }
input::placeholder, textarea::placeholder { color: #93998e; }
input:not([type=checkbox]):focus, textarea:focus, select:focus { border-color: var(--green); }
textarea { resize: vertical; }
select { padding-right: 24px; }
input[type=checkbox] { accent-color: var(--green); width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.filter-main label, .filter-grid label { font-size: 10px; color: var(--muted); }
.filter-main select { font-size: 11px; }
summary { cursor: pointer; font-size: 13px; font-weight: 600; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary:after { content: '+'; float: right; color: var(--muted); margin-left: 10px; font-weight: 400; }
details[open] > summary:after { content: '−'; }
.filter-drawer summary { display: flex; align-items: center; gap: 9px; font-size: 11px; padding: 13px 0; border-top: 1px solid var(--line); }
.filter-drawer summary .icon { height: 15px; width: 15px; }
.filter-drawer summary .muted { font-size: 10px; font-weight: 400; margin-left: 8px; }
.filter-drawer summary > span:last-child { margin-left: auto; }
.filter-drawer summary:after, .source-option summary:after { content: none; }
.filter-drawer[open] summary > span:last-child { transform: rotate(45deg); }
.filter-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; }
.filter-footer .text-link { color: var(--muted); font-weight: 400; font-size: 11px; }
.opportunity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.results-heading h2 { font-size: 23px; }
.count-badge { font: 11px var(--sans); display: inline-block; padding: 4px 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; vertical-align: middle; margin-left: 7px; letter-spacing: 0; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 25px; font-size: 12px; }
.htmx-indicator { opacity: 0; font-size: 11px; }
.htmx-request.htmx-indicator, .htmx-request .htmx-indicator { opacity: 1; }
.htmx-request button { cursor: progress; }
.empty-state { text-align: center; padding: 48px 25px; border: 1px dashed var(--line); border-radius: 7px; background: var(--surface); }
.empty-icon { display: inline-flex; justify-content: center; align-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 18px; }
.empty-state h3 { font: 26px var(--serif); margin-bottom: 12px; }
.empty-state p { max-width: 350px; margin: 0 auto 22px; color: var(--muted); font-size: 13px; }
.quiet-empty { padding: 25px 0; color: var(--muted); font-size: 12px; }
.back-link { display: inline-block; color: var(--muted); font-size: 12px; margin-bottom: 25px; }
.detail-heading { margin-bottom: 32px; }
.detail-heading h1 { max-width: 900px; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.16; }
.detail-employer { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 14px; margin-top: 20px; }
.detail-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 25px; }
.detail-toolbar .action-chip { font-size: 12px; padding: 9px 13px; border-color: var(--line); background: var(--surface); }
.detail-toolbar .action-chip.selected { background: var(--green-soft); }
.detail-toolbar .job-actions { gap: 8px; }
.detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 25px; align-items: start; }
.prose-panel, .evaluation-panel { padding: 30px; }
.prose { font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3 { margin-top: 26px; font: 600 17px/1.4 var(--sans); letter-spacing: 0; }
.prose a { color: var(--green); text-decoration: underline; }
.prose table { min-width: 0; display: block; overflow-x: auto; }
.prose blockquote { border-left: 2px solid var(--green); padding-left: 18px; margin-left: 0; color: var(--muted); }
.prose pre, pre { background: var(--paper); padding: 16px; border-radius: 4px; overflow-x: auto; font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; }
.evaluation-panel { background: var(--green-soft); }
.evaluation-panel > p { font-size: 13px; line-height: 1.8; }
.evaluation-panel .match-score { background: var(--surface); }
.evaluation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 22px; }
.evaluation-grid h3 { font-size: 12px; }
.point-list { list-style: none; padding: 0; font-size: 12px; margin-bottom: 0; }
.point-list li { display: flex; gap: 8px; margin-bottom: 10px; }
.evaluation-panel .evaluation-footnote { font-size: 9px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin: 20px 0 0; }
.deadline-callout { display: flex; align-items: center; gap: 12px; padding: 13px 0 23px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.deadline-callout strong, .deadline-callout small { display: block; }
.deadline-callout strong { font-size: 13px; }
.deadline-callout small { color: var(--muted); margin-top: 5px; font-size: 11px; }
.facts { margin: 0; }
.facts > div { margin-bottom: 15px; }
.facts > div:last-child { margin-bottom: 0; }
.facts dt { font-size: 10px; color: var(--muted); margin-bottom: 3px; text-transform: capitalize; }
.facts dd { font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; }
.tag { padding: 5px 10px; background: var(--green-soft); border-radius: 4px; font-size: 10px; color: var(--green); }
.detail-aside h2 { font-size: 21px; }
.badge { display: inline-block; padding: 4px 8px; font-size: 10px; font-weight: 500; border-radius: 4px; background: var(--paper); white-space: nowrap; }
.badge.tone-ok { background: var(--green-soft); }
.badge.tone-danger { background: color-mix(in srgb, var(--danger) 9%, var(--surface)); }
.badge.tone-warn { background: color-mix(in srgb, var(--warning) 9%, var(--surface)); }
.badge.tone-info { background: color-mix(in srgb, var(--info) 9%, var(--surface)); }
.prescore-numbers { display: flex; gap: 30px; margin: 20px 0 15px; }
.prescore-numbers strong { display: block; font: 30px var(--serif); }
.prescore-numbers small { font-size: 10px; color: var(--muted); }
.dimension { border-top: 1px solid var(--line); padding: 13px 0; }
.dimension summary { font-size: 11px; display: flex; justify-content: space-between; gap: 10px; }
.dimension summary strong { margin-left: auto; }
.dimension p { font-size: 11px; margin: 10px 0; }
.dimension small { font-size: 9px; color: var(--muted); }
meter, progress { display: block; width: 100%; height: 6px; border: 0; accent-color: var(--green); border-radius: 10px; margin: 12px 0; overflow: hidden; background: var(--line); }
meter::-webkit-meter-bar { background: var(--line); border: 0; }
meter::-webkit-meter-optimum-value, progress::-webkit-progress-value { background: var(--green); }
progress::-webkit-progress-bar { background: var(--line); }
.stack { display: flex; flex-direction: column; gap: 19px; }
.stack > p, .stack > h2 { margin-bottom: 0; }
.stack.tight { gap: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.span-all { grid-column: 1 / -1; }
.field-hint { font-size: 10px; color: var(--muted); font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { font-weight: 600; font-size: 12px; padding: 0; margin-bottom: 13px; }
.checkbox-label { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; }
.choice-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.notice { padding: 14px 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: 12px; overflow-wrap: anywhere; }
.source-group { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; margin-bottom: 22px; overflow: hidden; }
.source-heading { display: flex; align-items: center; gap: 13px; padding: 21px 24px; background: var(--sidebar); }
.source-heading h3 { margin-bottom: 3px; }
.source-heading p { margin: 0; font-size: 11px; color: var(--muted); }
.source-heading .badge { margin-left: auto; }
.search-item { padding: 23px 25px; border-top: 1px solid var(--line); }
.search-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-item-heading h3 { margin-top: 9px; }
.search-item-heading p { margin-bottom: 10px; }
.edit-search summary { font-size: 11px; color: var(--green); }
.edit-search .search-form { margin-top: 20px; }
.search-form { max-width: 580px; }
.delete-form { margin-top: 18px; }
.add-search-section { padding-top: 20px; }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.source-option summary { display: flex; align-items: center; gap: 13px; }
.source-option summary > span:last-child { margin-left: auto; }
.source-option summary strong { display: block; font-size: 14px; }
.source-option summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.source-option[open] summary { margin-bottom: 20px; }
.profile-layout { display: grid; grid-template-columns: 195px minmax(0, 1fr); gap: 32px; }
.profile-layout > * { min-width: 0; }
.profile-guide { align-self: start; position: sticky; top: 30px; padding-top: 17px; }
.profile-guide nav { display: flex; flex-direction: column; gap: 3px; }
.profile-guide a { color: var(--muted); font-size: 10px; padding: 10px 0; }
.profile-guide a span { font-size: 12px; color: var(--ink); margin-left: 10px; }
.profile-guide a:hover span { color: var(--green); text-decoration: underline; }
.profile-guide p { margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); font: 17px/1.6 var(--serif); color: var(--muted); }
.form-section { padding: 28px 30px; scroll-margin-top: 20px; }
.form-section h2 { font-size: 25px; margin-bottom: 20px; }
.section-number { font: 10px var(--sans); color: var(--muted); letter-spacing: 1px; margin-right: 14px; vertical-align: middle; }
.profile-entry { border: 1px solid var(--line); border-radius: 5px; padding: 17px; margin-top: 23px; background: var(--paper); }
.profile-entry legend { padding: 0 8px; font-size: 10px; color: var(--muted); margin-bottom: 0; }
.profile-entry .button { margin-top: 14px; }
.save-bar { position: sticky; bottom: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 15px 20px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 5; margin-bottom: 25px; }
.rescore-panel h2 { font-size: 23px; }
.rescore-panel p { font-size: 12px; }
.transfer-panel .button-row { margin-bottom: 20px; }
.json-input { font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.js .file-label { display: flex !important; flex-direction: column; }
.run-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.run-progress { padding: 15px 0; border-top: 1px solid var(--line); }
.run-progress > div { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.run-progress small { font-size: 10px; }
.queue-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 0; margin-top: 15px; font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.table-wrap .empty-state { border: 0; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; background: var(--sidebar); white-space: nowrap; }
tbody th { font-weight: 500; }
td time { white-space: nowrap; font-size: 10px; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.evaluation-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.step-kicker { font-size: 9px; letter-spacing: 1px; color: var(--green); display: block; margin-bottom: 15px; }
.evaluation-overview p { font-size: 12px; }
.evaluation-overview .badge { margin-bottom: 15px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.mini-stats dt { font-size: 10px; color: var(--muted); text-transform: capitalize; }
.mini-stats dd { margin: 5px 0 0; font: 25px var(--serif); }
#toasts { position: fixed; bottom: 24px; right: 24px; max-width: 480px; width: calc(100% - 48px); z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 17px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid currentColor; border-radius: 5px; box-shadow: 0 10px 40px #0002; font-size: 12px; }
.toast ul { margin: 9px 0 0; padding-left: 17px; }
#batch-content > .toast { margin-bottom: 22px; }
.guest .main-wrap { margin: 0; }
.login-shell { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.login-story { background: var(--banner); color: var(--cream); padding: 50px 60px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.login-story .brand { color: var(--cream); }
.login-story-copy { margin: auto 0; padding: 70px 0 180px; z-index: 1; position: relative; }
.login-story .eyebrow { color: #bccba4; font-size: 9px; }
.login-story h1 { font-size: clamp(35px, 4.4vw, 65px); line-height: 1.14; letter-spacing: -2px; margin-bottom: 28px; }
.login-story h1 em { font-weight: 400; color: #cad8b2; }
.login-story p { font-size: 14px; color: #c3d2bc; line-height: 1.8; }
.login-footnote { font-size: 9px; letter-spacing: 2px; z-index: 1; }
.orbit-art { position: absolute; width: 400px; height: 400px; bottom: -140px; right: -40px; border: 1px solid #a9c19650; border-radius: 50%; display: grid; place-items: center; }
.orbit-art span { position: absolute; width: 280px; height: 280px; border: 1px solid #a9c19650; border-radius: 50%; }
.orbit-art i { position: absolute; width: 10px; height: 10px; background: var(--accent); top: 49px; right: 62px; border-radius: 50%; }
.orbit-art b { font: 210px var(--serif); color: #a9c19690; }
.login-form-wrap { display: grid; place-items: center; padding: 50px; background: var(--paper); }
.login-form { max-width: 355px; width: 100%; }
.login-form h2 { font-size: 42px; letter-spacing: -1px; margin-bottom: 10px; }
.login-form > .muted { margin-bottom: 35px; }
.login-form .stack { gap: 23px; }
.login-help { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 35px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.error-state { max-width: 650px; margin: 80px auto; padding: 30px; }
.error-state p { color: var(--muted); overflow-wrap: anywhere; }
.breakdown-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 25px; }
.breakdown-grid h3 { font-size: 12px; }
.count-list { margin: 0; }
.count-list > div { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.count-list dt { color: var(--muted); }
.count-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.count-list a:hover { color: var(--green); text-decoration: underline; }
.run-summary { margin-top: 20px; }
.summary-source { font-size: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.summary-source > p { color: var(--muted); font-size: 11px; margin: 6px 0; }
.preview-notice { padding: 6px 14px; background: var(--cream); color: #315643; font-size: 10px; text-align: center; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; border-top: 1px solid #c9d2b8; }
@media (min-width: 1500px) {
	.page-content { padding-top: 50px; }
	.overview-banner { min-height: 230px; }
	.dashboard-columns { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
	.job-card { padding-top: 25px; }
}
@media (max-width: 1200px) {
	.sidebar { width: 202px; padding-left: 15px; padding-right: 15px; }
	.main-wrap { margin-left: 202px; }
	.page-content { padding: 32px 28px 24px; }
	.topbar { padding: 0 28px; }
	.page-footer { padding-left: 28px; padding-right: 28px; }
	.page-heading { align-items: flex-start; }
	.page-heading > .button { font-size: 10px; padding: 9px 11px; }
	.dashboard-columns { grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
	.job-card { padding-left: 18px; padding-right: 18px; }
	.opportunity-grid { grid-template-columns: 1fr; }
	.run-layout { grid-template-columns: minmax(0, 1fr); }
	.run-layout > aside { grid-row: 1; }
	.run-layout > aside .stack { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
	.run-layout > aside .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
	.run-layout > aside h2 { grid-column: 1 / -1; }
	.detail-columns { grid-template-columns: minmax(0, 1fr) 265px; gap: 18px; }
	.panel { padding: 22px; }
	.profile-layout { grid-template-columns: 155px minmax(0, 1fr); gap: 22px; }
	.job-card .source-label { display: none; }
}
@media (max-width: 980px) {
	.dashboard-columns { grid-template-columns: 1fr; }
	.dashboard-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
	.dashboard-aside .panel { margin-bottom: 0; }
	.page-heading { flex-direction: column; gap: 18px; }
	.banner-art { right: -65px; opacity: .45; }
	.overview-banner > div:first-child { max-width: 87%; }
	.overview-banner h2 { font-size: 30px; }
	.detail-columns { grid-template-columns: 1fr; }
	.detail-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
	.detail-aside .panel { margin: 0; }
	.detail-toolbar { align-items: flex-start; flex-direction: column; }
	.filter-main, .filter-grid { grid-template-columns: 1fr 1fr; }
	.profile-layout { grid-template-columns: 1fr; }
	.profile-guide { position: static; padding: 0; }
	.profile-guide > p, .profile-guide > small, .profile-guide > .eyebrow { display: none; }
	.profile-guide nav { flex-direction: row; gap: 18px; overflow-x: auto; }
	.profile-guide a { white-space: nowrap; }
	.profile-guide a span { margin-left: 5px; }
	.source-grid, .evaluation-overview { grid-template-columns: 1fr; gap: 0; }
	.activity-strip { align-items: flex-start; flex-direction: column; }
	.activity-strip > div:first-child { row-gap: 6px; }
	.login-story { padding: 40px; }
}
@media (max-width: 720px) {
	body { font-size: 14px; }
	.sidebar { position: static; width: auto; height: auto; padding: 17px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 15px; overflow: visible; }
	.sidebar .brand { margin: 0; padding: 0; font-size: 23px; }
	.sidebar .brand-mark, .sidebar .brand-mark .icon { width: 27px; height: 27px; }
	.sidebar-label, .sidebar-note, .account-copy, .avatar, .nav-dot { display: none; }
	.sidebar-bottom { grid-column: 2; grid-row: 1; margin: 0; padding: 0; }
	.account { border: 0; padding: 0; }
	.account .icon-button { min-height: 36px; min-width: 36px; }
	.sidebar nav[aria-label="Main navigation"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-column: 1 / -1; gap: 2px; }
	.nav-link { font-size: 11px; padding: 9px 7px 12px; justify-content: center; gap: 6px; margin: 0; border-radius: 4px 4px 0 0; }
	.nav-link .icon { width: 15px; height: 15px; }
	.nav-link { white-space: nowrap; }
	.sidebar nav[aria-label="Processing"] { display: flex; grid-column: 1 / -1; justify-content: center; gap: 25px; border-top: 1px solid var(--line); margin-top: -15px; padding-top: 5px; }
	.sidebar nav[aria-label="Processing"] .nav-link { font-size: 10px; padding: 7px 10px; }
	.main-wrap { margin: 0; min-height: calc(100vh - 156px); }
	.topbar { display: none; }
	.page-content { padding: 29px 19px 20px; }
	.page-heading { margin-bottom: 24px; gap: 17px; }
	h1 { font-size: 33px; letter-spacing: -1px; }
	.page-heading p { font-size: 12px; max-width: 340px; }
	.page-heading > .button { font-size: 11px; padding: 9px 13px; }
	.eyebrow { font-size: 9px; letter-spacing: 1.3px; }
	.overview-banner { padding: 25px; min-height: 224px; margin-bottom: 15px; }
	.overview-banner > div:first-child { max-width: 100%; }
	.overview-banner h2 { font-size: 29px; max-width: 280px; }
	.overview-banner p { max-width: 250px; }
	.banner-art { right: -125px; opacity: .17; }
	.stats-grid { gap: 8px; margin-bottom: 27px; }
	.stat-card { padding: 13px 12px; }
	.stat-label { font-size: 10px; line-height: 1.4; align-items: start; min-height: 28px; }
	.stat-label .icon { display: none; }
	.stat-card > strong { font-size: 31px; margin-bottom: 7px; }
	.stat-description { font-size: 9px; line-height: 1.55; }
	.stat-description .tone-ok { display: block; }
	.dashboard-columns { gap: 24px; }
	.section-heading h2 { font-size: 24px; }
	.section-heading .text-link { font-size: 10px; }
	.job-card { padding: 19px 18px 0; }
	.job-title h3 { font-size: 16px; }
	.job-title-row { gap: 13px; }
	.match-score { min-width: 57px; padding: 8px; }
	.match-score strong { font-size: 23px; }
	.job-card-top { margin-bottom: 15px; }
	.job-card-bottom { gap: 8px; min-height: 56px; }
	.job-card .action-chip { min-height: 38px; min-width: 34px; }
	.dashboard-aside { grid-template-columns: 1fr; }
	.profile-nudge { padding: 25px; }
	.profile-nudge p { max-width: 270px; }
	.activity-strip { padding: 18px; }
	.page-footer { padding: 22px 20px; margin-top: 10px; }
	.filters { padding: 17px 16px 0; margin-bottom: 25px; }
	.search-bar { gap: 9px; }
	.search-bar input { font-size: 12px; }
	.search-bar .button { min-height: 38px; padding: 8px 12px; font-size: 11px; }
	.search-bar > .icon { width: 16px; height: 16px; }
	.filter-main, .filter-grid { gap: 13px; }
	.filter-drawer summary .muted { display: none; }
	input:not([type=checkbox]), textarea, select { font-size: 16px; }
	.filter-main select { font-size: 12px; }
	.filter-grid select, .filter-grid input { font-size: 13px; }
	#filter-loading { display: none; }
	.detail-heading h1 { font-size: 35px; }
	.detail-employer { gap: 8px; font-size: 12px; }
	.detail-toolbar .action-chip { padding: 8px 10px; font-size: 11px; min-height: 42px; }
	.detail-aside { grid-template-columns: 1fr; }
	.panel { padding: 22px; }
	.evaluation-grid { grid-template-columns: 1fr; gap: 10px; }
	.evaluation-panel .section-heading { align-items: flex-start; }
	.evaluation-panel h2 { font-size: 23px; }
	.form-grid { grid-template-columns: 1fr; }
	.profile-entry { padding: 15px; }
	.profile-entry .form-grid { gap: 15px; }
	.save-bar { bottom: 8px; padding: 12px; gap: 12px; }
	.save-bar > span { max-width: 140px; font-size: 10px; }
	.save-bar .button { font-size: 11px; padding: 10px 12px; }
	.source-heading { padding: 18px; }
	.search-item { padding: 20px; }
	.search-item-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
	.edit-search { margin-top: 17px; }
	.run-layout > aside .stack { display: flex; }
	.live-panel h2 { font-size: 23px; }
	.table-wrap table { min-width: 480px; }
	.login-shell { grid-template-columns: 1fr; }
	.login-story { padding: 27px 30px; min-height: 270px; }
	.login-story-copy { padding: 35px 0 5px; }
	.login-story h1 { font-size: 37px; letter-spacing: -1px; }
	.login-story h1 br:first-child { display: none; }
	.login-story p, .login-footnote { display: none; }
	.orbit-art { width: 220px; height: 220px; bottom: -130px; opacity: .5; }
	.orbit-art span { width: 160px; height: 160px; }
	.orbit-art b { font-size: 120px; }
	.login-form-wrap { padding: 40px 28px; }
	.login-form h2 { font-size: 36px; }
	.error-state { margin: 30px auto; padding: 20px; }
	#toasts { bottom: 15px; right: 15px; width: calc(100% - 30px); }
}
@media (prefers-color-scheme: dark) {
	:root { --paper: #191f1b; --surface: #212923; --sidebar: #1d251f; --ink: #e0e6dc; --muted: #a0ac9c; --line: #354035; --green: #b7cba6; --green-hover: #c9dbb9; --green-soft: #2c3b2f; --banner: #294936; --warning: #deaf76; --danger: #ec9690; --info: #94becb; --shadow: none; }
	.button { color: #203025; }
	.nav-link { color: var(--muted); }
	.nav-link.active { background: #34422e; color: var(--green); }
	.avatar { background: #3b4933; color: var(--ink); }
	.profile-nudge { background: #2b3828; }
	.profile-nudge h3, .profile-nudge p { color: var(--ink); }
	.stat-label .icon { color: var(--muted); }
	.overview-banner .eyebrow { color: #c3d2ab; }
	.login-story .eyebrow { color: #c3d2ab; }
	.login-story .brand { color: var(--cream); }
	input::placeholder, textarea::placeholder { color: #8c9888; }
}
@media (max-width: 720px) {
	.breakdown-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 360px) {
	.sidebar nav[aria-label="Main navigation"] .icon { display: none; }
	.nav-link { font-size: 10px; padding-left: 3px; padding-right: 3px; }
	.job-card-bottom { column-gap: 5px; }
	.action-chip { padding: 5px; }
	.page-content { padding-left: 15px; padding-right: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body:has(.preview-notice) { padding-bottom: 28px; }
.workspace:has(.preview-notice) .sidebar { padding-bottom: 45px; }
@media (max-width: 720px) { .workspace:has(.preview-notice) .sidebar { padding-bottom: 0; } }
