:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202c38;background:#f7f8fa;--panel:#fff;--border:#e5e9ee;--muted:#5e6c7b;--accent:#285f80;--selected:#eaf2f7;--warn:#805f25}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.5;background:var(--page,#f7f8fa)}button,input,select{font:inherit}button{cursor:pointer}.fixture-banner{min-height:34px;padding:7px 24px;background:#fff5da;color:#805f25;border-bottom:1px solid #ead9aa;display:flex;gap:12px;align-items:center;font-size:13px}.fixture-banner span{color:#765f32}.app-shell{display:flex;min-height:calc(100vh - 34px)}.sidebar{width:208px;flex:none;padding:24px 16px;border-right:1px solid var(--border);background:var(--panel);display:flex;flex-direction:column}.brand{font-weight:600;font-size:17px;display:flex;gap:9px;align-items:center;margin:0 8px 36px}.brand-mark{width:27px;height:27px;border-radius:8px;background:var(--accent);color:#fff;display:grid;place-items:center}.nav-link{display:flex;gap:11px;align-items:center;color:var(--muted);padding:11px 12px;border-radius:8px;text-decoration:none;margin:2px 0}.nav-link.active,.nav-link:hover{background:var(--selected);color:var(--accent);font-weight:600}.sidebar-foot{margin-top:auto;color:var(--muted);font-size:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px}.status-dot{width:8px;height:8px;border-radius:50%;background:#4b8b69;display:inline-block}.text-button{border:0;background:none;color:var(--accent);padding:4px 0}.sidebar-foot .text-button{width:100%;text-align:left}.workspace{min-width:0;max-width:1600px;flex:1;padding:28px 32px}.topbar{display:flex;justify-content:space-between;align-items:end;gap:20px}.eyebrow{margin:0;color:var(--muted);font-size:13px}.topbar h1{font-size:28px;line-height:34px;margin:2px 0 20px;font-weight:600}.top-actions{display:flex;gap:8px;margin-bottom:20px}.quiet-button,.icon-button{background:var(--panel);border:1px solid #86929f;color:var(--accent);border-radius:8px;min-height:40px;padding:8px 13px}.quiet-button:hover{background:var(--selected)}.health-note{display:flex;align-items:center;gap:8px;padding:11px 14px;background:var(--selected);color:#314e60;border-radius:8px;margin-bottom:16px}.health-note .text-button{margin-left:auto}.filter-bar{display:flex;gap:8px;margin-bottom:16px}.search{display:flex;align-items:center;gap:8px;border:1px solid #86929f;background:var(--panel);border-radius:8px;min-height:40px;padding:0 12px;flex:1;max-width:560px}.search input{border:0;outline:0;background:transparent;min-width:0;width:100%}.filter-bar select{border:1px solid #86929f;border-radius:8px;background:var(--panel);padding:0 12px;color:var(--muted);min-width:140px}.content-grid{display:grid;grid-template-columns:minmax(320px,400px) minmax(360px,1fr);gap:16px;align-items:start}.list-panel,.detail-panel{background:var(--panel);border:1px solid var(--border);border-radius:12px}.panel-heading{padding:18px 20px 14px;display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid var(--border)}h2{font-size:16px;line-height:24px;margin:0;font-weight:600}.panel-heading p{margin:2px 0 0;color:var(--muted);font-size:13px}.icon-button{min-height:32px;padding:4px 9px}.opportunity-row{width:100%;text-align:left;border:0;border-bottom:1px solid var(--border);background:transparent;padding:16px 20px;display:block;color:inherit}.opportunity-row:hover,.opportunity-row.selected{background:var(--selected)}.row-top{display:flex;justify-content:space-between;gap:8px}.company{font-weight:600}.role{font-size:16px;line-height:22px;margin:4px 0}.meta,.reason{font-size:13px;color:var(--muted)}.reason{margin-top:8px;color:#314e60}.rank{font-size:12px;color:var(--accent);white-space:nowrap}.detail-panel{min-height:570px;padding:28px}.detail-head{border-bottom:1px solid var(--border);padding-bottom:20px}.detail-head h2{font-size:24px;line-height:30px;margin:4px 0}.detail-head p{margin:4px 0;color:var(--muted)}.decision-bar{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.decision{border:1px solid #86929f;border-radius:8px;background:var(--panel);padding:9px 15px;color:var(--accent)}.decision.active{background:var(--accent);color:#fff;border-color:var(--accent)}.detail-section{margin-top:24px}.detail-section h3{font-size:16px;margin:0 0 8px}.detail-section p{margin:0;color:#334352}.evidence{border-left:3px solid #9bcfeb;padding:8px 12px;margin:8px 0;background:#f5f9fb}.evidence q{display:block}.evidence small{color:var(--muted)}.tag{display:inline-block;border:1px solid var(--border);border-radius:999px;padding:3px 8px;font-size:12px;color:var(--muted);margin:3px 4px 3px 0}.open-link{color:var(--accent);font-weight:600}.empty-state{text-align:center;padding:70px 24px}.empty-icon{font-size:35px;color:var(--muted)}.empty-state h3{margin:8px 0 4px}.empty-state p{color:var(--muted);margin:0 0 16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid #9bcfeb;outline-offset:2px}@media(max-width:900px){.sidebar{width:64px;padding:20px 8px}.brand span:last-child,.nav-link span,.sidebar-foot span:not(.status-dot),.sidebar-foot .text-button{display:none}.brand{margin:0 10px 28px}.workspace{padding:22px 18px}.content-grid{grid-template-columns:minmax(280px,340px) minmax(360px,1fr)}}@media(max-width:719px){.fixture-banner{padding:8px 14px;display:block}.fixture-banner span{display:block}.app-shell{min-height:calc(100vh - 54px)}.sidebar{display:none}.workspace{padding:18px 12px}.topbar{align-items:start}.topbar h1{margin-bottom:14px}.top-actions{margin:0;flex-direction:column}.health-note{align-items:start;flex-wrap:wrap}.health-note .text-button{margin-left:0}.filter-bar{flex-wrap:wrap}.search{flex-basis:100%;max-width:none}.filter-bar select{flex:1;min-width:0}.content-grid{display:block}.list-panel{border-radius:10px}.detail-panel{margin-top:12px;min-height:auto;padding:20px}.detail-panel[hidden]{display:none}.opportunity-row{padding:15px}.detail-head h2{font-size:22px}.detail-panel{display:block}.detail-panel.mobile-hidden{display:none}}
:root{--page:#f7f8fa}body.dark{--page:#161b21;--panel:#1e252d;--border:#35404c;--muted:#a7b4c4;color:#e7edf4;--selected:#293c4b;--accent:#9bcfeb;--warn:#e5c589}body.dark .fixture-banner{background:#332d20;color:#e5c589;border-color:#5b4e32}body.dark .fixture-banner span,body.dark .health-note{color:#c8d2dd}body.dark .health-note{background:#293c4b}body.dark .evidence{background:#24343f}body.dark .reason,body.dark .detail-section p{color:#c8d2dd}.mobile-back{display:none}@media(max-width:719px){.detail-panel{display:none}.mobile-detail-open .list-panel{display:none}.mobile-detail-open .detail-panel{display:block}.mobile-back{display:inline-flex;margin-bottom:16px}}
:root{--login-bg:#f7f8fa}[hidden]{display:none!important}.login-panel{max-width:520px;margin:15vh auto;padding:32px;background:var(--panel,#fff);border:1px solid var(--border,#e5e9ee);border-radius:12px}.login-panel input{display:block;width:100%;margin:8px 0 16px;padding:10px}

.reason-dialog{width:min(520px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--border);border-radius:12px;padding:24px;background:var(--panel);color:inherit}.reason-dialog::backdrop{background:rgba(0,0,0,.45)}.reason-dialog fieldset{border:0;padding:0;margin:16px 0}.reason-dialog label{display:flex;gap:10px;align-items:center;padding:5px 0}.reason-dialog textarea{font:inherit;width:100%;min-height:80px;background:var(--panel);color:inherit;border:1px solid var(--border);border-radius:6px;padding:8px}.dimension-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dimension-grid>h3{grid-column:1/-1}.dimension-card{padding:12px;border:1px solid var(--border);border-radius:8px;overflow-wrap:anywhere}.dimension-card h4{margin:0 0 6px}.detail-section p{overflow-wrap:anywhere}@media(max-width:480px){.dimension-grid{grid-template-columns:1fr}}

#packagePanel>label{display:block;margin:12px 0}#packagePanel>label input{display:block;width:100%;padding:8px;background:var(--panel);color:inherit;border:1px solid var(--border);border-radius:6px}.package-fact{display:flex;gap:10px;margin:10px 0;align-items:start}.package-card{padding:12px;border:1px solid var(--border);border-radius:8px;margin:12px 0}.package-card .decision{margin:4px}
/* Five positions from weak to very strong; only the assessed level is colored. */
.match-strength{position:relative;display:inline-flex;gap:4px;align-items:center;width:max-content;padding:3px 2px;margin:5px 0;vertical-align:middle;cursor:help;--strength-color:#87918d}
.strength-bar{display:block;width:14px;height:6px;border-radius:2px;background:var(--border)}
.match-strength.level-1{--strength-color:#c65757}.match-strength.level-2{--strength-color:#d18a39}.match-strength.level-3{--strength-color:#b5a431}.match-strength.level-4{--strength-color:#70a779}.match-strength.level-5{--strength-color:#297749}
.strength-bar.active{background:var(--strength-color);outline:1px solid var(--strength-color);outline-offset:2px}
.match-strength:focus-visible{outline:2px solid var(--muted);outline-offset:3px;border-radius:3px}
.match-strength::after{content:attr(data-tooltip);display:none;position:absolute;z-index:20;left:0;top:calc(100% + 8px);width:240px;max-width:70vw;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--muted);box-shadow:0 4px 16px #0002;font-size:12px;font-weight:400;line-height:1.5;white-space:normal;text-align:left}
.match-strength:hover::after,.match-strength:focus::after{display:block}

.original-posting .posting-paragraph{line-height:1.85;margin:0 0 1.25em;white-space:pre-wrap;overflow-wrap:anywhere}.posting-tools{margin-bottom:20px}.original-posting .posting-help{font-size:12px;color:var(--muted);margin-bottom:10px}.posting-highlight{color:inherit;border-radius:3px;padding:2px 0;box-decoration-break:clone;-webkit-box-decoration-break:clone}.posting-highlight.evidence{background:#e5effa}.posting-highlight.match{background:#deefdf}.posting-highlight.concern{background:#fff0c6;border-bottom:2px solid #c28d28}.posting-highlight:focus-visible{outline:2px solid currentColor;outline-offset:3px}body.dark .posting-highlight.evidence{background:#243d55}body.dark .posting-highlight.match{background:#294735}body.dark .posting-highlight.concern{background:#594721}
