:root{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ink:#15263d;--muted:#68788f;--border:#dae4ed;--panel:#ffffff;
  --blue:#3861dd;--teal:#0d8d80;--green:#118b61;--amber:#a96d13;--red:#bf4556;
  color:var(--ink);background:#edf2f8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;
  background:
    radial-gradient(ellipse 55% 37% at 10% 0%,rgba(115,181,220,.28),transparent 90%),
    radial-gradient(ellipse 50% 35% at 95% 8%,rgba(135,216,193,.2),transparent 85%),
    linear-gradient(145deg,#f4f7fa 0%,#edf3f7 42%,#f9fbfd 100%);
  background-attachment:fixed;
}
button,input,select,textarea{font:inherit}
button{border:0;cursor:pointer;font-weight:750}
button:disabled{opacity:.55;cursor:not-allowed}
button:hover:not(:disabled),a:hover{filter:brightness(.97)}
a{color:var(--blue)}
.shell{width:min(1260px,calc(100% - 42px));margin:0 auto;padding:28px 0 56px}
.site-header,.header-actions,.brand,.panel-head,.hero,.hero-action,.job-top,.job-actions,.filter-ribbon,.all-filters,.url-row,.pager,.tag-row,.common-companies,.company-card-actions,.job-meta,.list-footer{
 display:flex;align-items:center;gap:14px
}
.site-header,.panel-head,.hero,.common-companies{justify-content:space-between}
.site-header{padding:3px 0 28px}
.brand{gap:11px}
.brand-icon{display:inline-grid;place-items:center;position:relative;width:45px;height:45px;background:#1f3f67;border-radius:13px;color:#fff;font-weight:900;font-size:29px;letter-spacing:-.15em}
.brand-dot{color:#54dfbb;font-size:26px;padding-right:7px}
.brand strong{display:block;font-size:15px}
.brand small{display:block;font-size:11px;color:var(--muted);margin-top:3px;letter-spacing:.03em}
.header-actions{gap:10px}
.header-pill,.soft-label,.coverage{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:99px;background:#eef4f7;color:#52677d;font-size:12px;font-weight:700}
.header-pill{background:rgba(255,255,255,.77);border:1px solid var(--border)}
.live-dot{width:7px;height:7px;border-radius:50%;background:#17a777}
.quiet{background:#f5f8fb;border:1px solid #d6e1eb;color:#334d66;padding:10px 14px;border-radius:10px}
.primary,.url-row button{background:#245fb5;color:white;padding:13px 18px;border-radius:12px;box-shadow:0 5px 16px rgba(36,95,181,.14)}
.hero{min-height:236px;gap:25px;margin-bottom:22px;padding:34px 40px;border:1px solid rgba(255,255,255,.7);border-radius:26px;
  background:linear-gradient(115deg,rgba(255,255,255,.9) 2%,rgba(236,245,250,.91) 55%,rgba(222,240,234,.74) 100%);
  box-shadow:0 11px 34px rgba(34,71,104,.06);position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;inset:auto -45px -100px auto;width:350px;height:350px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(66,155,190,.12),transparent 70%)}
.hero>div{position:relative;z-index:1}
.eyebrow{font-size:10px;font-weight:850;letter-spacing:.15em;color:#3a73ac;margin:0 0 9px}
h1{font-size:clamp(33px,4.8vw,55px);line-height:1.07;letter-spacing:-.049em;margin:0}
h1 em{font-style:normal;color:#11796e}
.sub{max-width:740px;margin:15px 0 0;font-size:14px;line-height:1.64;color:#61758a}
.hero-action{flex-direction:column;align-items:stretch;min-width:218px;gap:8px}
.hero-action span{text-align:center;color:#718398;font-size:11px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.stats article,.panel{background:rgba(255,255,255,.94);border:1px solid rgba(211,224,235,.94);box-shadow:0 9px 28px rgba(43,76,109,.045)}
.stats article{padding:20px;border-radius:18px;position:relative;min-height:130px}
.stats span{display:block;font-size:34px;font-weight:850;letter-spacing:-.045em;line-height:1;margin-top:12px}
.stats p{margin:7px 0 0;color:var(--muted);font-size:12px}
.stats article:nth-child(2) span{color:var(--green)}
.stats article:nth-child(3) span{color:var(--amber)}
.stats article:nth-child(4) span{color:var(--red)}
.metric-icon{position:absolute;right:17px;top:16px;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-size:18px}
.metric-icon.blue{color:#4576d3;background:#e8f0ff}
.metric-icon.green{color:#1b956d;background:#dff6ed}
.metric-icon.amber{color:#bf8a25;background:#fff1d2}
.metric-icon.coral{color:#d56d6c;background:#ffe7e4}
.panel{padding:24px;border-radius:20px;margin-top:16px}
.panel-head{align-items:start;margin-bottom:16px;gap:12px}
h2{font-size:22px;letter-spacing:-.035em;margin:0;line-height:1.25}
.count{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:29px;height:26px;background:#e8eff8;color:#3c5d80;border-radius:8px;font-size:12px;letter-spacing:0;margin-left:7px;padding:0 8px}
.panel-system{background:linear-gradient(115deg,#fff,rgba(244,251,250,.95))}
.scan-summary{max-width:52%;text-align:right;font-size:12px;color:#6f7f91;line-height:1.5}
.health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.health-card{display:flex;gap:11px;align-items:center;border:1px solid #e2ebf3;background:#f9fbfc;border-radius:12px;padding:13px;min-width:0}
.health-card strong{font-size:12px}
.health-card p{margin:4px 0 0;color:var(--muted);font-size:10px;overflow-wrap:anywhere}
.dot{width:9px;height:9px;border-radius:50%;background:#8999a6;flex:0 0 auto}
.dot.ok{background:#16a37e;box-shadow:0 0 0 4px #def6ed}
.dot.busy{background:#edab47;box-shadow:0 0 0 4px #fff1d8}
.dot.error{background:#ec5e64;box-shadow:0 0 0 4px #fce7e9}
.source-disclaimer,.form-note,.list-hint,.muted,.empty{font-size:12px;color:var(--muted);line-height:1.6}
.source-disclaimer{margin:12px 0 0}
.company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.company-card{position:relative;border-radius:14px;border:1px solid #e0e7ee;overflow:hidden;background:#fff;padding:18px 17px 16px;box-shadow:0 3px 16px rgba(32,62,90,.025)}
.brand-stripe{position:absolute;top:0;left:0;right:0;height:4px;background:var(--brand)}
.company-card-head{display:flex;justify-content:space-between;gap:10px;align-items:start}
.company-card h3{margin:0 0 10px;font-size:17px;letter-spacing:-.025em}
.coverage{font-size:10px;background:#edf2f7;color:#65768c;border-radius:7px;max-width:145px;text-align:right;line-height:1.35;padding:5px 7px}
.coverage.green{background:#e2f5e9;color:#227a53}
.coverage.amber{background:#fff4df;color:#9e7022}
.coverage.red{background:#fff0f0;color:#ac5353}
.company-count{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:end;column-gap:7px;border-top:1px solid #eef2f5;padding-top:13px}
.company-count strong{font-size:23px;line-height:1;color:#1f3f60}
.company-count span{font-size:11px;color:#79889a}
.company-card-actions{margin-top:16px;justify-content:space-between;flex-wrap:wrap;font-size:11px}
.company-card-actions a{font-size:11px;color:#496c98;text-decoration:none}
.text-button{border:0;background:transparent;color:#235da5;padding:6px 0;font-size:12px}
.text-button:hover{text-decoration:underline}
.common-companies{border-top:1px solid #edf2f6;margin-top:18px;padding-top:18px;gap:12px}
.common-companies strong{font-size:13px}
.common-companies p{font-size:11px;color:var(--muted);margin:5px 0 0}
.company-chips{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;max-width:75%}
.company-chip{font-size:11px;border:1px solid #d9e4ed;color:#4a6584;text-decoration:none;border-radius:9px;padding:7px 10px;background:#f8fbfd}
.filter-ribbon{flex-wrap:wrap;padding:13px;border:1px solid #e2ebf4;border-radius:12px;background:#f7fafc;gap:13px;margin-bottom:10px}
.secondary-ribbon{background:#fff}
.segmented{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:#e8f0f7;border-radius:11px}
.segmented button{font-size:12px;background:transparent;padding:8px 12px;border-radius:8px;color:#5a728a}
.segmented button.active{background:white;color:#245ca6;box-shadow:0 1px 5px rgba(55,77,108,.12)}
.compact-label{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:#64768c}
select,input{border:1px solid #d7e2ea;background:#fff;border-radius:10px;color:#243f5b;padding:10px 11px;min-height:40px;max-width:100%;outline:none}
select:focus,input:focus{border-color:#7ca6d9;box-shadow:0 0 0 3px #ddebfc}
.compact-label select{font-size:11px;max-width:195px;padding:8px 10px}
.checkbox-inline{display:inline-flex;align-items:center;gap:8px;color:#536a81;font-size:11px;font-weight:700}
.checkbox-inline input{min-height:0;width:15px;height:15px;accent-color:#238d80}
.list-hint{margin:8px 0 16px}
.job-list{display:grid;gap:11px}
.job-card{border:1px solid #e2e8ef;border-left:4px solid #b7c6d4;background:#fff;border-radius:13px;padding:17px 18px;overflow:hidden}
.job-top{justify-content:space-between;align-items:start}
.company-name{font-size:11px;font-weight:850;letter-spacing:.025em;color:#326c9a}
.job-card h3{font-size:17px;line-height:1.3;margin:4px 0 5px;letter-spacing:-.025em}
.job-location{font-size:12px;color:#7b8c9a;margin:0}
.match-reason{margin:13px 0;color:#50667f;font-size:12px;line-height:1.6}
.match-reason b{color:#25425b}
.job-meta{flex-wrap:wrap;gap:7px 17px;border-top:1px solid #eaf0f5;margin:12px 0 13px;padding-top:10px}
.job-meta span{font-size:10px;color:#8591a1}
.job-meta b{color:#50647a}
.tag-row{flex-wrap:wrap;gap:5px}
.tag{display:inline-flex;font-size:10px;background:#eef3f7;color:#577188;border-radius:6px;padding:4px 7px}
.badge{border-radius:9px;padding:7px 9px;background:#eff3f7;color:#5a7088;border:1px solid #dce5ef;font-size:10px;white-space:nowrap;font-weight:800}
.job-actions{flex-wrap:wrap;gap:8px}
.job-actions button,.job-actions select,.open-job{font-size:11px;padding:8px 10px;min-height:35px}
.open-job{background:#eaf3ff;border-radius:9px;text-decoration:none;color:#285da4;font-weight:850}
.my-status{font-size:10px;color:#667a8c;font-weight:800;margin-left:auto}
.decision-select{width:auto;max-width:165px;font-weight:750}
.list-footer{justify-content:center;margin-top:12px}
.tone-priority,.tone-relevant,.tone-strong_alignment{border-left-color:#20a677}
.tone-strategic_stretch{border-left-color:#487dc8}
.tone-on_hold,.tone-adjacent_opportunity{border-left-color:#d3a040}
.tone-not_relevant,.tone-low_relevance{border-left-color:#ec9552}
.tone-rejected,.tone-hard_blocker{border-left-color:#e66768}
.tone-ignore{border-left-color:#a0a9b5;opacity:.75}
.badge.tone-priority,.badge.tone-relevant,.badge.tone-strong_alignment,.decision-select.state-priority,.decision-select.state-relevant{color:#12805b;background:#e4f7eb;border-color:#b5e8d0}
.badge.tone-strategic_stretch{color:#366fba;background:#eaf1ff;border-color:#cadaf8}
.badge.tone-on_hold,.badge.tone-adjacent_opportunity,.decision-select.state-on_hold{color:#98700f;background:#fff4d9;border-color:#f1ddaa}
.badge.tone-not_relevant,.badge.tone-low_relevance,.decision-select.state-not_relevant{color:#ac692e;background:#fff0e5;border-color:#f0d1bc}
.badge.tone-rejected,.badge.tone-hard_blocker,.decision-select.state-rejected{color:#ae4853;background:#fdecef;border-color:#edc4c7}
.badge.tone-ignore,.decision-select.state-ignore{background:#edf0f4;color:#798596;border-color:#d5dde5}
.full-label{display:block;font-size:12px;font-weight:800;margin-bottom:9px}
.url-row{gap:10px}
.url-row input{flex:1;min-width:0}
.form-note{margin:10px 0 0}
.analysis-result{margin-top:20px;padding:20px;background:#f8fbfc;border-radius:14px;border:1px solid #ddeaf3}
.result-header{display:flex;justify-content:space-between;align-items:start;gap:10px}
.result-header h3{font-size:20px;margin:0}
.result-header p{color:var(--muted);font-size:12px}
.result-block{border-radius:11px;border:1px solid #e3eaf2;background:#fff;padding:16px;margin:11px 0}
.result-block h4{font-size:13px;margin:0 0 9px}
.result-block p,.result-block li{color:#5a6f80;font-size:12px;line-height:1.62}
.result-block p{margin:0}
.result-block ul{margin:0;padding-left:18px}
.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.result-grid .result-block{margin:0}
.analysis-decision{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 10px;border:1px solid #cee2e8;background:#eaf8f5;border-radius:11px;padding:15px}
.analysis-decision p{margin:5px 0 0;font-size:12px;color:#587484}
.error-message{margin:14px 0;padding:12px 14px;border-radius:10px;background:#fff0f1;color:#a63741;border:1px solid #f7ccd0;font-size:12px}
.hidden{display:none!important}
.empty{padding:18px;text-align:center;background:#f8fafc;border:1px dashed #d8e5ed;border-radius:12px}
.all-filters{flex-wrap:wrap;margin:12px 0 15px;gap:8px}
.all-filters input{flex:2 1 245px}
.all-filters select{flex:1 1 145px;font-size:11px}
.pager{justify-content:center;margin-top:20px;font-size:12px;color:var(--muted)}
.pager button{min-width:96px}
.modal{position:fixed;inset:0;padding:24px;background:rgba(18,38,58,.45);z-index:50;display:grid;place-items:center;backdrop-filter:blur(4px)}
.modal-card{background:#fff;border-radius:18px;width:min(900px,100%);max-height:90vh;overflow:auto;position:relative;padding:26px;border:1px solid #e3e9ef;box-shadow:0 28px 100px rgba(13,43,72,.3)}
.modal-close{position:sticky;float:right;top:0}
.modal-card h2{font-size:25px;max-width:85%}
.jd-text{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px!important}
footer.footer{text-align:center;color:#8694a4;padding:30px 0;font-size:11px}
@media(max-width:1080px){
 .company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero{flex-direction:column;align-items:start}
 .hero-action{flex-direction:row;align-items:center}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .common-companies{align-items:start;flex-direction:column}
 .company-chips{max-width:100%;justify-content:flex-start}
}
@media(max-width:680px){
 .shell{width:calc(100% - 26px);padding-top:14px}
 .hero{padding:24px;min-height:auto}
 .hero-action{flex-direction:column;width:100%;align-items:stretch}
 .header-pill{display:none}
 .company-grid{grid-template-columns:1fr}
 .stats{gap:9px}
 .stats article{padding:16px;min-height:112px}
 .stats span{font-size:28px}
 .panel{padding:17px}
 .panel-head{flex-direction:column;align-items:start}
 .scan-summary{max-width:100%;text-align:left}
 .filter-ribbon{gap:8px}
 .segment button{padding:6px}
 .url-row{flex-direction:column}
 .url-row button{width:100%}
 .result-grid{grid-template-columns:1fr}
 .job-top{align-items:start;gap:8px}
 .job-meta{gap:7px 10px}
 .my-status{margin-left:0}
 .job-actions{gap:6px}
 .all-filters{flex-direction:column}
 .all-filters input,.all-filters select{width:100%;flex:auto}
 .analysis-decision{flex-direction:column;align-items:start}
 .health-grid{gap:7px}
 .health-card{padding:10px}
}
@media(prefers-reduced-motion:no-preference){button,a,.job-card{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}}

.other-feed{border-top:1px solid #edf2f6;margin-top:16px;padding-top:13px}
.other-feed summary{display:flex;gap:8px;align-items:center;cursor:pointer;font-size:12px;color:#3d5f78;font-weight:850;list-style:none}
.other-feed summary:before{content:"▸";color:#327c9c}
.other-feed[open] summary:before{content:"▾"}
.other-feed summary::-webkit-details-marker{display:none}
.expand-caption{font-size:10px;color:#93a2b2;font-weight:600;margin-left:auto}
.other-feed .job-list{margin-top:14px}

/* V3.1 — Country market navigation and saved decision drill-down */
.geo-selector{
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  border:1px solid #d7e5ed;background:rgba(255,255,255,.84);
  border-radius:17px;padding:16px 20px;margin:0 0 16px;
  box-shadow:0 4px 19px rgba(26,72,112,.045);
}
.geo-selector strong{font-size:17px;letter-spacing:-.025em}
.geo-selector p:not(.eyebrow){margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.geo-tabs{display:flex;flex-wrap:wrap;gap:5px;background:#ebf1f5;padding:5px;border-radius:11px}
.geo-tabs button{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:8px;background:transparent;color:#60778d;font-size:12px;padding:10px 13px}
.geo-tabs button.active{background:#fff;color:#174d7a;box-shadow:0 2px 7px rgba(49,89,112,.12)}
.geo-tabs span{font-size:10px;background:rgba(105,131,152,.13);padding:3px 7px;border-radius:7px;font-weight:800}
.geo-tabs button.active span{background:#e5effb;color:#2e65a2}
#providerPanel{background:linear-gradient(112deg,#f7fcfb 0%,#fff 88%);}
.provider-copy{color:#61768a;line-height:1.6;font-size:12px;margin:0 0 14px}
.provider-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.provider-links .muted{max-width:800px}
#shortlistDecisionFilter{min-width:165px;font-weight:800;color:#2c6c91;border-color:#bfd6df}
@media(max-width:790px){
 .geo-selector{align-items:flex-start;flex-direction:column}
 .geo-tabs{width:100%;justify-content:space-between}
}
@media(max-width:520px){
 .geo-tabs{gap:2px}
 .geo-tabs button{font-size:11px;padding:9px 7px}
 .geo-tabs span{padding:2px 5px}
 .provider-links{align-items:flex-start}
}

/* v0.3.2 — verified email-source data */
.provider-import-summary {
  display:flex;align-items:center;flex-wrap:wrap;gap:12px;
  margin:12px 0 15px;padding:12px 14px;
  background:#eef8f5;border:1px solid #cee8df;border-radius:11px;
  color:#2f6d5a;font-size:12px;
}
.provider-import-summary strong {font-size:19px;color:#0b8a60;padding-right:4px}
.provider-import-summary #providerLastImport {color:#617a75}
#sourceFilter {min-width:140px}
@media(max-width:680px){.provider-import-summary{align-items:flex-start;flex-direction:column;gap:4px}}
