:root {
 color-scheme: light; --bg:#f7f8fa; --surface:#fff; --text:#182230; --muted:#627083; --border:#e5e9ef;
 --brand:#2459d3; --brand-ink:#204bb4; --lavender:#edf3ff; --nav:#fff; --nav-text:#4d5a6b; --nav-muted:#647084; --nav-active:#edf3ff;
 --ok:#166447; --ok-bg:#e9f6ef; --warn:#875813; --warn-bg:#fff5df; --radius:14px; --sidebar:232px;
 font:16px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}a{color:var(--brand-ink);text-underline-offset:3px}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #dce2ea;border-radius:9px;background:white;color:var(--text);font-size:.875rem;font-weight:600;text-decoration:none;cursor:pointer;transition:background 160ms,border-color 160ms,box-shadow 160ms}button:hover,.button:hover{background:#f5f7fb;border-color:#bcc8d8}button:active,.button:active{transform:translateY(1px)}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--brand);border-color:var(--brand);color:white}.primary:hover{background:#1c47ae;border-color:#1c47ae}.subtle{background:transparent;border-color:transparent}.subtle:hover{background:var(--lavender);border-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #729afa;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.75rem,2.5vw,2.25rem);line-height:1.18;letter-spacing:-.045em;font-weight:700}h2{font-size:1.125rem;letter-spacing:-.025em;font-weight:650}h3{font-size:1rem;font-weight:650}.muted,small{color:var(--muted);font-size:.875rem}.eyebrow,.kicker{font-size:.65rem;font-weight:700;letter-spacing:.14em;color:var(--muted);margin-bottom:9px}.ui-icon{width:21px;height:21px;flex-shrink:0}input,textarea,select{min-height:44px;padding:10px 12px;width:100%;border:1px solid #dce2ea;border-radius:8px;background:white;color:var(--text);font-size:.875rem}input::placeholder,textarea::placeholder{color:#68768a}input:hover,select:hover,textarea:hover{border-color:#afbed2}textarea{min-height:100px;resize:vertical}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--brand)}label{display:grid;gap:6px;font-size:.8125rem;font-weight:600}label.check{display:flex;gap:10px;align-items:center;min-height:44px}form{display:grid;gap:18px}[hidden]{display:none!important}fieldset{padding:0;border:0;margin:0;min-width:0}.layout{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;padding:28px 16px 18px;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:30px;overflow:auto;background:var(--nav)}.brand{display:flex;align-items:center;gap:11px;padding:0 9px;text-decoration:none;color:var(--text)}.brand img{width:40px;height:40px;object-fit:contain;padding:4px;border:1px solid var(--border);border-radius:10px}.brand strong{font-size:1.35rem;letter-spacing:-.04em;display:block;line-height:1.2}.brand span{font-size:.68rem;color:var(--muted)}.nav{display:grid;gap:5px}.nav-label{font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;margin:22px 12px 6px;color:var(--nav-muted);font-weight:600}.nav a,.nav button{display:flex;align-items:center;gap:12px;padding:11px 12px;min-height:44px;border:0;border-radius:8px;background:none;color:var(--nav-text);font-size:.875rem;font-weight:500;text-decoration:none;justify-content:flex-start;width:100%}.nav a.active{color:var(--brand);background:var(--nav-active);font-weight:650}.nav a:hover,.nav button:hover{color:var(--brand);background:#f5f7fb}.symbol{width:21px;height:21px;display:flex}.sidebar-foot{margin-top:auto;padding-top:25px;border-top:1px solid var(--border)}.avatar{display:inline-grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#eef1f5;color:#43546a;font-size:.75rem;font-weight:650}.main{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 40px;background:#ffffffc9}.breadcrumb{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:.8125rem}.breadcrumb strong{font-weight:500;color:var(--text)}.breadcrumb>span{color:#c1c9d3}.topbar button{border:0;background:transparent;padding:4px;font-size:.8125rem}.content{max-width:1536px;margin:auto;padding:36px 40px 64px}.title-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.title-row p:not(.eyebrow){margin-top:9px;color:var(--muted);font-size:.875rem}.title-row .eyebrow{margin-top:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;min-width:0}.row,.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.spread{justify-content:space-between}.stack{display:grid;gap:18px}.two-col{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}.toolbar{margin:16px 0;align-items:end}.toolbar>input{flex:1 1 200px;min-width:180px}.toolbar select,.toolbar input{width:auto;max-width:100%}.toolbar label{flex:1 1 120px;max-width:240px}.toolbar label select,.toolbar label input{width:100%}.intake-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;align-items:center;border-radius:18px;background:#142b45;color:#fff;padding:36px;margin-bottom:28px;overflow:hidden}.hero-label{font-size:.65rem;font-weight:650;letter-spacing:.14em;color:#b3c9df;display:block;margin-bottom:12px}.intake-hero h2{font-size:clamp(1.5rem,2.1vw,2rem);letter-spacing:-.04em;line-height:1.2}.intake-hero p{color:#c2d0df;font-size:.875rem;max-width:445px;margin:14px 0 24px}.intake-hero .primary{background:#fff;color:#142b45;border-color:#fff}.intake-hero .primary:hover{background:#edf3ff}.hero-secondary{background:transparent;color:#fff;border-color:#63809a}.hero-secondary:hover{color:#142b45}.hero-illustration{position:relative;padding:12px 0 12px 20px}.sample-card{display:flex;align-items:center;gap:16px;background:#fff;color:#142b45;padding:25px;border-radius:12px;transform:rotate(-5deg);border:1px solid #d5e0ec}.sample-logo{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#edf3ff;font-size:1.5rem;font-weight:750;color:var(--brand)}.sample-card strong{display:block;font-size:.875rem}.sample-card span:not(.sample-logo){display:block;color:var(--muted);font-size:.7rem;margin-top:5px}.sample-card>.ui-icon{margin-left:auto;color:var(--brand)}.sample-status{position:relative;width:max-content;margin:20px 0 0 auto;background:#25435e;color:#d7e5f1;border:1px solid #42617d;border-radius:8px;font-size:.7rem;padding:9px 12px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8698ac;margin-right:6px}.dot.live{background:#69d8ad}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.metric{display:flex;flex-direction:column;color:inherit;text-decoration:none;padding:20px 24px;transition:border-color 160ms}.metric:hover{border-color:#9eb8ed}.metric-head{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.icon-box{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:var(--brand);background:var(--lavender)}.metric-head>span:last-child{font-size:.875rem}.number{display:block;font-size:2.15rem;font-weight:650;letter-spacing:-.055em;line-height:1.15;margin:16px 0 6px;font-variant-numeric:tabular-nums}.metric>.muted{font-size:.8125rem}.meeting-strip{display:flex;gap:28px;padding:3px 2px 24px;margin-bottom:4px}.meeting-strip .card{background:none;border:0;border-radius:0;padding:0;display:flex;align-items:center;gap:9px;font-size:.75rem;color:var(--muted)}.meeting-strip .icon-box{background:none;width:20px;height:20px;color:var(--muted)}.meeting-strip .ui-icon{width:17px;height:17px}.meeting-strip strong{font-weight:600;color:var(--text);font-size:.875rem}.list-item{padding:20px 0 0;border-top:1px solid var(--border)}.list-item a{font-weight:600;color:var(--text);text-decoration:none}.list-item .muted{margin-top:6px;font-size:.8125rem}.latest p{margin:15px 0 20px;line-height:1.7}.latest{min-height:220px}.progress-label{margin:14px 0 7px}progress{width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;accent-color:var(--brand);background:#edf0f4}progress::-webkit-progress-bar{background:#edf0f4}progress::-webkit-progress-value{background:var(--brand);border-radius:8px}.chip{display:inline-flex;align-items:center;max-width:100%;padding:4px 9px;border-radius:6px;background:var(--lavender);color:var(--brand-ink);font-size:.75rem;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.chip.ok{color:var(--ok);background:var(--ok-bg)}.chip.warn{color:var(--warn);background:var(--warn-bg)}.chip.compact{font-size:.7rem;padding:2px 6px}.tabs{display:flex;gap:6px;margin-bottom:20px;border-bottom:1px solid var(--border);padding-bottom:12px}.tabs .button{background:transparent;border-color:transparent;color:var(--muted)}.tabs .primary{color:var(--brand);background:var(--lavender)}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th,td{padding:16px 14px;border-bottom:1px solid var(--border);vertical-align:middle}th{font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;background:#f9fafb}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}td>.subtle{justify-content:flex-start;text-align:left;padding:5px 0;font-weight:600;min-height:36px}td .muted{font-size:.75rem}td:first-child:has(input){width:44px}.table-compact td{min-width:130px;max-width:400px;overflow-wrap:anywhere}.empty{text-align:center;color:var(--muted);padding:40px 18px;font-size:.875rem}.selection{position:sticky;bottom:16px;margin-top:18px;border-color:#b7cbf4;z-index:1;background:#f2f6ff}.grid-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.company-group{padding:22px 0 0}.company-group h2,.company-group h3{margin-bottom:14px;text-transform:capitalize}.company-group .company-group{padding:12px 0 0 18px;border-left:2px solid var(--border)}.company-list-card{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;margin-bottom:9px;background:var(--surface);border:1px solid var(--border);border-radius:11px;color:var(--text);text-decoration:none;transition:border-color 160ms,background 160ms}.company-list-card:hover{background:#fcfdff;border-color:#9eb8ed}.company-list-card strong{font-size:.9rem;font-weight:600}.company-list-card small{display:block;font-size:.8rem;margin-top:5px}.company-data{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,3fr);gap:16px;font-size:.875rem;overflow-wrap:anywhere}.company-data dt{text-transform:capitalize;font-weight:500;color:var(--muted)}.company-data dd{margin:0;white-space:pre-wrap}.data-values{margin:0;padding-left:18px}.data-values li+li{margin-top:6px}.nested-data{margin:0;display:grid;grid-template-columns:minmax(65px,auto) minmax(0,1fr);gap:6px 14px}.nested-data dd{margin:0}.advanced-filters{border-top:1px solid var(--border);margin-top:4px}.advanced-filters summary{font-size:.8125rem;font-weight:550;padding:14px 0;cursor:pointer;min-height:44px}.advanced-filters p{font-size:.75rem;max-width:850px}.advanced-filters .toolbar{margin:6px 0 16px}dialog{padding:0;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--text);width:min(94vw,920px);max-height:92dvh;overflow:auto;box-shadow:0 24px 90px #142b4530}dialog::backdrop{background:#1323378c;backdrop-filter:blur(3px)}.dialog-body{padding:28px}.dialog-body>.row:first-child{position:sticky;top:-28px;z-index:2;background:var(--surface);padding:14px 0;margin-bottom:20px;border-bottom:1px solid var(--border)}.dialog-body>.row:first-child h2{font-size:1.25rem}.dialog-actions{padding-top:20px;margin-top:8px;border-top:1px solid var(--border)}dialog summary{cursor:pointer;padding:12px 0;font-weight:550;font-size:.875rem}dialog details[open]>form{margin-top:14px}.lead-data-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lead-data-section{padding:20px;background:#fafbfd}.lead-data-section h3{margin-bottom:18px;font-size:.875rem}.lead-data-section .company-data{margin:0;grid-template-columns:1fr;gap:4px;font-size:.8125rem}.lead-data-section dd{margin-bottom:12px}.lead-data-section dd:last-child{margin-bottom:0}.card-image-section{padding:20px;border:1px solid var(--border);background:#f8fafc;border-radius:12px}.card-image-section h3{font-size:.8125rem;margin-bottom:14px}#card-gallery{display:flex;gap:12px;flex-wrap:wrap}#card-gallery a{flex:1 1 180px;display:block;max-width:100%}.card-photo{display:block;width:100%;max-width:100%;max-height:245px;object-fit:contain;border-radius:6px}.card-image-section:has(#card-gallery:empty){display:none}pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.form-error,.dialog-notice,.extraction-notice{color:var(--warn);background:var(--warn-bg);padding:12px 16px;border:1px solid #f0dbab;border-radius:8px;font-size:.875rem}.dialog-notice{margin:0 0 18px}.extraction-notice{border-left:3px solid var(--warn)}.loading{margin:50px;color:var(--muted)}#toast{position:fixed;right:24px;bottom:24px;max-width:min(480px,90vw);padding:14px 20px;color:#fff;background:#142b45;border:1px solid #36526f;border-radius:10px;z-index:5;font-size:.875rem;box-shadow:0 8px 30px #142b4520}.mobile-nav{display:none}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.auth-brand{padding:clamp(32px,7vw,110px);background:#142b45;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:25px}.auth-brand img{width:78px;border-radius:12px;margin-bottom:36px}.auth-brand .hero-label{margin:0}.auth-brand h1{font-size:clamp(2.4rem,4vw,4.2rem);font-weight:550;line-height:1.06;letter-spacing:-.055em}.auth-brand p{font-size:1rem;line-height:1.8;color:#c2d0df;max-width:440px}.auth-proof{padding-top:40px;color:#abc3dc;font-size:.75rem;letter-spacing:.08em}.auth-main{display:grid;place-items:center;padding:40px}.auth-main .card{width:min(100%,420px);padding:0;border:0;background:none}.auth-main h2{font-size:1.75rem;margin:14px 0 30px;letter-spacing:-.04em}.auth-main form{gap:22px}.skip-link{position:fixed;top:-100px;left:16px;z-index:20;background:white;padding:12px 20px;border:2px solid var(--brand);border-radius:8px}.skip-link:focus{top:12px}button[aria-busy=true]::after{content:'';width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:working .7s linear infinite}@keyframes working{to{transform:rotate(360deg)}}
@media(min-width:1500px){.content{padding-top:44px}.intake-hero{padding:42px}}
@media(max-width:1150px){:root{--sidebar:204px}.content{padding:28px}.topbar{padding:0 28px}.hero-illustration{display:none}.intake-hero{grid-template-columns:1fr}.metrics{gap:12px}.metric{padding:18px}.two-col{gap:18px}.lead-data-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.layout{display:block}.sidebar{display:none}.topbar{height:64px;padding:0 24px}.content{padding:28px 24px 110px}.mobile-nav{position:fixed;bottom:0;left:0;width:100%;display:flex;align-items:center;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid var(--border);z-index:3;padding:6px 8px max(8px,env(safe-area-inset-bottom));gap:4px}.mobile-nav>*{flex:1;min-width:44px}.mobile-nav a{display:grid;place-items:center;gap:3px;font-size:.6875rem;padding:6px;color:var(--muted);text-decoration:none;border-radius:8px;min-height:48px}.mobile-nav a.active{background:var(--lavender);color:var(--brand)}.mobile-nav .symbol,.mobile-nav svg{width:19px;height:19px}.mobile-nav button{border:0;background:none;font-size:.75rem;min-height:48px;color:var(--muted)}.two-col{grid-template-columns:1fr}.title-row{align-items:flex-start;flex-wrap:wrap;gap:18px}.title-row p:not(.eyebrow){max-width:550px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.intake-hero{padding:28px}.selection{bottom:78px}#toast{bottom:88px}.toolbar label{max-width:none}.auth{grid-template-columns:1fr}.auth-brand{padding:36px;gap:16px}.auth-brand img{width:52px;margin-bottom:12px}.auth-brand h1{font-size:2.6rem}.auth-brand p{font-size:.875rem}.auth-proof{display:none}.auth-main{padding:40px 28px}.auth-main .card{max-width:500px}.auth-main h2{font-size:1.5rem}table.responsive,table.responsive tbody{display:block}table.responsive thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}table.responsive tr{display:grid;grid-template-columns:1fr 1fr;gap:5px 16px;border:1px solid var(--border);border-radius:10px;margin:14px 0;padding:16px}table.responsive td{border:0;padding:4px 0;overflow-wrap:anywhere}table.responsive td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}table.responsive td.wide{grid-column:1/-1}.company-list-card{padding:18px}.company-data{grid-template-columns:minmax(90px,1fr) minmax(0,2fr)}.dialog-body{padding:22px}.dialog-body>.row:first-child{top:-22px}.card{padding:22px}.card-photo{max-height:240px}}
@media(max-width:520px){.content{padding:26px 18px 105px}.topbar{padding:0 18px}.eyebrow{font-size:.6rem}.breadcrumb{font-size:.75rem;gap:8px}.topbar button>span:last-child{display:none}.title-row{margin-bottom:22px}h1{font-size:1.8rem}.intake-hero{padding:26px 24px;border-radius:14px}.intake-hero h2{font-size:1.6rem}.intake-hero .row{gap:10px}.intake-hero .button,.intake-hero button{width:100%}.metric{padding:18px}.number{font-size:1.85rem}.meeting-strip{gap:18px;flex-wrap:wrap}.meeting-strip .card{font-size:.6875rem}.card{padding:18px}.grid-fields,.lead-data-grid{grid-template-columns:1fr}.company-list-card{align-items:flex-start}.company-list-card>.row{flex-direction:column;align-items:flex-end}.company-data{grid-template-columns:1fr;gap:4px}.company-data dd{margin-bottom:14px}.company-data dt{font-size:.75rem}.lead-data-section .company-data{grid-template-columns:1fr}.toolbar{gap:10px}.toolbar>input{flex-basis:100%}.toolbar>select{flex:1 1 120px;min-width:0}.toolbar label{flex-basis:120px}.dialog-body{padding:18px}.dialog-body>.row:first-child{top:-18px}.dialog-body>.row:first-child h2{font-size:1.1rem}.card-photo{max-height:215px}.card-image-section{padding:14px}.auth-brand{padding:30px}.auth-brand h1{font-size:2.2rem}.auth-main{padding:30px 24px}.auth-main h2{margin-bottom:24px}.sample-card{transform:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-nav,button,.skip-link{display:none!important}.layout{display:block}.content{padding:0}.card{break-inside:avoid}.intake-hero{background:white;color:black}.intake-hero p{color:black}}
.help-intro{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;padding:32px;background:#edf3ff;border:1px solid #dbe6fc;border-radius:14px;margin-bottom:28px}.help-intro h2{margin:14px 0 10px}.help-intro p{font-size:.875rem;color:#4d617d;line-height:1.8;max-width:580px}.help-intro>div:last-child{border-left:1px solid #cbd9f2;padding-left:32px;align-self:center}.help-intro strong{font-size:.875rem}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help-topic h2{font-size:1.1rem;margin:12px 0 8px}.help-topic .eyebrow{margin:0}.help-topic summary{font-size:.8125rem;font-weight:550;cursor:pointer;padding:18px 0 0}.help-topic ol{padding-left:20px;font-size:.875rem;color:var(--muted)}.help-topic li+li{margin-top:13px}.guide-trigger{background:transparent;border-color:var(--border)!important;padding:8px 13px!important;color:var(--brand)!important;min-height:38px}.tour-layer{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100dvh;max-height:none;background:transparent;border:0;overflow:visible;pointer-events:none;color:var(--text)}.tour-shade{position:fixed;background:#0a1928b3;pointer-events:auto}.tour-spotlight{position:fixed;border:2px solid #8db4ff;border-radius:9px;box-shadow:0 0 0 4px #8db4ff30;pointer-events:none}.tour-panel{position:fixed;background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:20px;box-shadow:0 12px 40px #0003;pointer-events:auto;max-height:calc(100dvh - 24px);overflow:auto}.tour-panel>.row:first-child{margin-bottom:8px}.tour-panel .eyebrow{margin:0;font-size:.65rem;color:var(--brand)}.tour-panel h2{font-size:1.1rem;margin:4px 0 10px}.tour-panel p{font-size:.8125rem;color:var(--muted);line-height:1.65;margin-bottom:16px}.tour-panel button{min-height:40px;padding:8px 12px}.tour-panel [data-tour-control=close]{border:0;font-size:1.3rem;padding:0;width:32px;min-height:32px}.tour-panel .tour-feedback:empty{display:none}.tour-panel .tour-feedback:not(:empty){padding:10px;background:var(--lavender);border-radius:6px;color:#345373}
@media(max-width:700px){.help-grid,.help-intro{grid-template-columns:1fr}.help-intro{gap:20px;padding:24px}.help-intro>div:last-child{border-left:0;border-top:1px solid #cbd9f2;padding:20px 0 0}.guide-trigger{font-size:.75rem;padding:6px 10px!important}.tour-panel{padding:16px}}
.fair-controls{gap:10px}.fair-controls .toolbar{margin:5px 0}.fair-controls .advanced-filters{margin:0}.fair-controls #score-progress:empty{display:none}.fair-controls .advanced-filters summary{padding:12px 0}
.scoring-prompt{min-height:240px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:.8rem;line-height:1.6;margin-top:10px}details .scoring-prompt{max-height:300px}form[data-form="fair-csv"] details{padding:12px 16px;background:var(--lavender);border-radius:10px}form[data-form="fair-csv"] details p{margin:10px 0;font-size:.875rem}
.mail-out{background:#f8fbff;border-color:#cddbf5}.tabs button{min-height:40px}code{background:var(--lavender);padding:1px 6px;border-radius:5px;font-size:.8em}
.sources{margin:0;padding-left:20px;display:grid;gap:14px}.sources li::marker{color:var(--muted);font-weight:600}.sources p{margin-top:6px;font-size:.875rem}.sources blockquote{margin:8px 0 0;padding:8px 14px;border-left:3px solid var(--brand);background:var(--lavender);border-radius:0 8px 8px 0;font-size:.875rem}.sources blockquote small{display:block;margin-top:4px;color:var(--muted)}.sources details{margin-top:6px}

.uploader-tag{background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;gap:5px;white-space:normal}.uploader-tag strong{font-weight:650}

.uploader-summary{margin:18px 0 22px}.uploader-summary p{margin:0 0 10px}.uploader-summary .chip{padding:8px 12px;font-size:.875rem}.uploader-summary strong{margin-left:7px;font-variant-numeric:tabular-nums}
/* Lead cards: a calm, legible hierarchy for people, provenance and fit. */
.lead-list{background:transparent;border:0;padding:0}.lead-list>.row{padding:8px 4px 12px}.lead-list .table-wrap{overflow:visible}.lead-list table{border-collapse:separate;border-spacing:0 12px}.lead-list thead th{border:0;background:transparent;color:var(--muted);font-size:.75rem;font-weight:550;padding:6px 18px}.lead-list tbody td{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:22px 18px;vertical-align:middle}.lead-list tbody td:first-child{border-left:1px solid var(--border);border-radius:14px 0 0 14px}.lead-list tbody td:last-child{border-right:1px solid var(--border);border-radius:0 14px 14px 0}.lead-list tbody tr{transition:filter 160ms}.lead-list tbody tr:hover{filter:drop-shadow(0 4px 9px #142b450c)}.lead-list tbody tr:focus-within td{border-color:var(--brand)}.lead-identity{display:flex;align-items:flex-start;gap:16px;min-width:0}.lead-avatar{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:#edf2fa;color:#254b7b;border:1px solid #dce5f1;font-size:.875rem;font-weight:650;letter-spacing:.02em}.lead-identity-copy{min-width:0}.lead-name{display:block;border:0;background:transparent;padding:0 4px 0 0;min-height:32px;text-align:left;font-size:1.0625rem;font-weight:650;line-height:1.35;letter-spacing:-.02em;overflow-wrap:anywhere}.lead-name:hover{background:transparent;color:var(--brand);text-decoration:underline;text-underline-offset:4px}.lead-company{margin:3px 0 0;font-size:.875rem;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.lead-role{margin:3px 0 0;color:var(--muted);font-size:.8125rem;line-height:1.6;overflow-wrap:anywhere}.lead-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.lead-tags .chip{font-size:.6875rem;line-height:1.45;padding:4px 8px}.lead-tags .uploader-tag{font-size:.75rem}.lead-source{display:block;font-size:.8125rem;font-weight:550;line-height:1.6}.lead-interest{font-size:.75rem;color:var(--muted);line-height:1.6;max-width:220px;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.lead-date{font-size:.8125rem;color:var(--muted);white-space:nowrap}.lead-score{min-width:95px;max-width:130px}.lead-score>span{display:flex;align-items:baseline;gap:5px}.lead-score strong{font-size:1.4rem;line-height:1.4;font-weight:650;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.lead-score small{color:var(--muted);font-size:.6875rem;white-space:nowrap}.lead-score meter{width:100%;height:7px;display:block;margin-top:7px;accent-color:var(--brand)}.lead-score meter::-webkit-meter-bar{border:0;border-radius:8px;background:#e8edf4}.lead-score meter::-webkit-meter-optimum-value{background:var(--brand);border-radius:8px}.lead-profile{display:flex;gap:20px;align-items:flex-start;padding:26px;border:1px solid var(--border);border-radius:16px;background:#f8faff}.lead-avatar-large{width:60px;height:60px;flex-basis:60px;border-radius:18px;font-size:1.125rem}.lead-profile-copy{flex:1;min-width:0}.lead-eyebrow{margin:0 0 8px;font-size:.625rem;letter-spacing:.14em;font-weight:650;color:var(--muted)}.lead-profile h3{font-size:1.5rem;font-weight:650;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}.lead-detail .card-image-section{background:var(--surface);padding:22px}.lead-detail .lead-data-section{background:var(--surface);border-radius:12px}.lead-detail #card-gallery>div{flex:1 1 180px;min-width:0;max-width:100%}.lead-detail #card-gallery>div>button{margin-top:8px;font-size:.75rem}.lead-detail .dialog-actions{gap:10px}.lead-detail button[data-action=lead-delete]{color:#a82b38;border-color:#e8cbd0;margin-right:auto}.lead-name:focus-visible{outline:3px solid var(--brand);outline-offset:4px;border-radius:4px}
@media(max-width:760px){.lead-list table,.lead-list tbody{display:block;width:100%}.lead-list thead{display:none}.lead-list tbody tr{display:grid;grid-template-columns:32px minmax(0,1fr);background:var(--surface);border:1px solid var(--border);border-radius:14px;margin-bottom:14px;padding:16px;gap:12px}.lead-list tbody td,.lead-list tbody td:first-child,.lead-list tbody td:last-child{display:block;border:0;border-radius:0;padding:0;background:transparent;min-width:0}.lead-list td:first-child:has(input){grid-column:1;grid-row:1}.lead-list td.wide{grid-column:2;grid-row:1}.lead-list td[data-label]{grid-column:2}.lead-list td[data-label]::before{display:block;font-size:.625rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}.lead-list .lead-avatar{display:none}.lead-list .lead-tags{margin-top:10px}.lead-list .lead-name{min-height:44px}.lead-profile{flex-wrap:wrap;padding:20px;gap:14px}.lead-profile h3{font-size:1.25rem}.lead-profile>.lead-score{margin-left:74px}.lead-avatar-large{flex-basis:48px;width:48px;height:48px}.lead-profile-copy{flex-basis:calc(100% - 62px)}.lead-interest{max-width:none}.lead-detail .dialog-actions>button{flex:1 1 160px}}
@media(prefers-reduced-motion:reduce){.lead-list tbody tr{transition:none}}
@media(max-width:760px){.lead-list table.responsive td.wide{grid-column:2;grid-row:1;width:auto}.lead-list table.responsive tr:not(:has(input[data-select])) td.wide{grid-column:1/-1}.lead-list table.responsive td:first-child:has(input){width:32px}.lead-profile>.chip{margin-left:62px}}
/* Reference direction: monochrome workspace, continuous grid and quiet navigation. */
:root{--bg:#fff;--text:#171719;--muted:#646467;--border:#dedee1;--brand:#18181b;--brand-ink:#18181b;--lavender:#f4f4f5;--nav-text:#424245;--nav-muted:#747477;--nav-active:#f4f4f5;--sidebar:240px;--radius:8px}
body{background:#fff}button,.button{border-radius:5px;font-weight:500}button.primary,.button.primary{background:#171719;border-color:#171719;color:#fff}button.primary:hover,.button.primary:hover{background:#333336}.sidebar{background:#fff;border-right:1px solid var(--border);padding:32px 18px}.brand{padding:0 12px 32px;gap:12px}.brand strong{font-size:1.7rem;letter-spacing:-.06em;color:#111}.brand img{width:30px;height:30px}.brand span{font-size:.6875rem}.nav a{border-radius:6px;padding:13px 14px;font-weight:450;min-height:48px}.nav a.active{color:#111;background:#f4f4f5;font-weight:600;box-shadow:none}.nav .symbol{color:inherit}.nav-label{font-size:.625rem;letter-spacing:.09em;padding-top:24px}.topbar{background:#fff;border-bottom:1px solid #eeeef0;min-height:88px;padding:20px 36px}.topbar button{border:0;background:transparent}.topbar .avatar{background:#f1f1f3;color:#222}.breadcrumb{font-size:.8125rem}.content{padding:36px;max-width:none}.title-row h1{font-size:2rem;letter-spacing:-.045em;font-weight:600}.title-row .eyebrow{font-size:.75rem;letter-spacing:0;color:#666;font-weight:400}.title-row .muted{font-size:.875rem}.crm-content .tabs{border-bottom:1px solid var(--border);gap:16px;padding:0;margin-bottom:0;border-radius:0}.crm-content .tabs a{background:transparent;border:0;border-radius:0;padding:18px 16px;font-size:.9375rem;color:#646467;min-height:56px}.crm-content .tabs a.primary{border-bottom:2px solid #111;color:#111;font-weight:600}.uploader-summary{padding:16px 0;margin:0;border-bottom:1px solid #eeeef0}.uploader-summary>p{font-size:.6875rem}.uploader-summary .chip{background:#f7f7f8;border:1px solid #ebebed;color:#444;font-size:.75rem;border-radius:4px;padding:6px 10px}.uploader-summary strong{color:#111}.crm-content>.toolbar{padding:16px;background:#f8f8f9;border-bottom:1px solid var(--border);gap:10px;margin:0}.crm-content>.toolbar input,.crm-content>.toolbar select{background:#fff;border:1px solid #e8e8eb;border-radius:4px;font-size:.8125rem;min-height:42px}.lead-list>.row{padding:18px 4px 12px}.lead-list>.row h2{font-size:.8125rem;font-weight:500;color:var(--muted)}.lead-list .table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:0}.lead-list table{border-collapse:collapse;border-spacing:0;width:100%;min-width:1080px}.lead-list thead th{border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:#fcfcfd;color:#646467;font-weight:400;font-size:.6875rem;padding:18px 16px;text-transform:uppercase;letter-spacing:.035em;text-align:left;white-space:nowrap}.lead-list tbody td,.lead-list tbody td:first-child,.lead-list tbody td:last-child{border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0;padding:20px 16px;background:#fff}.lead-list tbody tr:last-child td{border-bottom:0}.lead-list tbody tr:hover{filter:none}.lead-list tbody tr:hover td{background:#fafafa}.lead-list tbody td:last-child,.lead-list thead th:last-child{border-right:0}.lead-list tbody td:first-child{width:44px}.lead-list td.wide{min-width:220px;max-width:300px}.lead-identity{align-items:center;gap:12px}.lead-avatar{border:0;border-radius:50%;background:#f0eff5;color:#4b475a;width:34px;height:34px;flex-basis:34px;font-size:.6875rem}.lead-name{font-size:.875rem;font-weight:550;letter-spacing:-.02em;min-height:28px}.lead-company{font-size:.75rem;font-weight:400;color:#646467}.lead-role{font-size:.6875rem}.lead-email{font-size:.8125rem;overflow-wrap:anywhere;min-width:140px}.lead-owner{display:flex;align-items:center;gap:8px;font-size:.75rem;min-width:125px;line-height:1.5}.owner-avatar{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#efedf8;color:#514a69;font-size:.5625rem;font-weight:600}.lead-source{font-size:.75rem;font-weight:400}.lead-date{font-size:.75rem}.lead-score{min-width:85px}.lead-score strong{font-size:1rem;letter-spacing:0;font-weight:500}.lead-score small{font-size:.625rem}.lead-score meter{height:6px}.lead-score meter::-webkit-meter-optimum-value{background:#69726e}.lead-list .chip{border-radius:4px;font-size:.625rem;font-weight:450;padding:4px 7px;background:#eee9ff;color:#322a52;white-space:normal}.lead-list .chip.ok{background:#c9f4df;color:#204b36}.lead-profile{background:#fafafa}.lead-profile .lead-avatar{width:54px;height:54px;flex-basis:54px}.lead-tags .uploader-tag{background:#f0eef7;color:#403951;border-color:#e4dfed}.mobile-nav a.active{color:#111;background:#f2f2f4}.chip{border-radius:4px}
@media(max-width:760px){.content{padding:22px 16px}.topbar{padding:12px 16px;min-height:64px}.title-row h1{font-size:1.65rem}.crm-content>.toolbar{padding:12px}.lead-list table{display:table;min-width:1080px}.lead-list thead{display:table-header-group}.lead-list tbody{display:table-row-group}.lead-list tbody tr{display:table-row;border:0;margin:0;padding:0}.lead-list tbody td,.lead-list tbody td:first-child,.lead-list tbody td:last-child{display:table-cell;padding:18px 12px}.lead-list td[data-label]::before{display:none}.lead-list .lead-avatar{display:grid}.lead-list .lead-name{min-height:44px}.lead-list .table-wrap{overflow:auto}.lead-list td.wide{min-width:210px}.uploader-summary .row{gap:6px}.uploader-summary .chip{font-size:.6875rem}.lead-profile .lead-avatar{width:44px;height:44px;flex-basis:44px}}
@media(max-width:760px){.lead-list table.responsive thead{display:table-header-group}.lead-list table.responsive td[data-label]::before{display:none}.lead-list table.responsive tbody td{width:auto}.lead-list table.responsive tbody td:first-child{width:44px}.lead-list table.responsive td.wide{width:230px}}
/* Editing follows a settings-page rhythm: sections, dividers, paired fields. */
.lead-detail{gap:28px}.lead-settings-section{padding:0;border:0;background:none}.lead-settings-section>h3{font-size:1rem;font-weight:550;letter-spacing:-.015em;margin:0;padding:0 0 14px;border-bottom:1px solid var(--border)}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0}.settings-row+.settings-row{border-top:1px solid #f0f0f2}.settings-row>div{min-width:0;flex:1}.settings-label{margin:0;font-size:.875rem;font-weight:500;line-height:1.5}.settings-hint{margin:5px 0 0;color:var(--muted);font-size:.8125rem;line-height:1.6;max-width:540px}.settings-row>button{flex-shrink:0;align-self:center;background:#f5f5f6;border-color:transparent;min-height:40px;font-size:.8125rem;padding:9px 14px}.settings-row>button:hover{background:#ebebed}.lead-detail #lead-data-editor{display:grid;gap:0}.lead-disclosure{border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;padding:0;margin:0}.lead-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;font-size:.9375rem;font-weight:550;min-height:72px}.lead-disclosure>summary::-webkit-details-marker{display:none}.lead-disclosure>summary::after{content:'+';font-size:1.25rem;font-weight:400;color:var(--muted)}.lead-disclosure[open]>summary::after{content:'−'}.lead-disclosure>summary small{display:block;font-size:.75rem;font-weight:400;color:var(--muted);margin-top:4px;line-height:1.6}.lead-disclosure>summary:focus-visible{outline:2px solid var(--brand);outline-offset:4px}.lead-disclosure form{margin:8px 0 24px;gap:24px}.edit-fieldset{border:0;margin:0;padding:0;min-width:0}.edit-fieldset legend{width:100%;font-size:.9375rem;font-weight:550;border-bottom:1px solid var(--border);padding:0 0 12px;margin-bottom:20px}.edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.edit-wide{grid-column:1/-1}.lead-disclosure label{font-size:.8125rem;font-weight:450;gap:8px;color:var(--text)}.lead-disclosure input,.lead-disclosure textarea,.lead-disclosure select{border:1px solid #c9c9cc;border-radius:4px;background:#fff;padding:11px 12px;font-size:.875rem;min-height:44px;box-shadow:none}.lead-disclosure textarea{min-height:92px;resize:vertical}.lead-disclosure input:focus,.lead-disclosure textarea:focus,.lead-disclosure select:focus{outline:2px solid #777;outline-offset:2px;border-color:#555}.lead-disclosure form>button.primary{justify-self:start;min-width:120px;align-self:start}.processing-content{padding:0 0 24px;max-height:480px;overflow:auto;font-size:.8125rem}.lead-danger{margin-top:8px}.lead-danger .settings-label{color:#a52c36}.lead-detail .lead-danger button[data-action=lead-delete]{margin:0;border:0;color:#a52c36;background:#fcf1f2}.lead-danger .settings-hint{max-width:560px}.lead-detail .card-image-section{border:0;border-radius:0;padding:0}.lead-detail .card-image-section>h3{border-bottom:1px solid var(--border);padding-bottom:14px;font-size:1rem}.lead-detail #card-gallery{padding-top:6px}.lead-detail #card-gallery>div{flex:0 1 230px;padding:12px;border:1px solid #e8e8eb;border-radius:6px}.lead-detail #card-gallery>div>button{background:#f5f5f6;border:0}.lead-detail .lead-data-section{border:0;padding:0;border-radius:0}.lead-data-section h3{border-bottom:1px solid var(--border);padding-bottom:12px}.lead-detail .lead-data-grid{gap:28px}.lead-detail .lead-profile{padding:22px;background:#fafafa}
@media(max-width:600px){.edit-grid{grid-template-columns:1fr;gap:16px}.settings-row{gap:16px;align-items:flex-start;flex-wrap:wrap}.settings-row>div{flex-basis:100%}.settings-row>button{align-self:flex-start}.lead-detail{gap:24px}.lead-disclosure>summary{padding:16px 0}.lead-detail .lead-data-grid{grid-template-columns:1fr}.lead-detail #card-gallery>div{flex-basis:100%}}
.status-marker{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;position:relative;flex:0 0 30px;border:1px solid currentColor;cursor:help}.status-waiting{color:#936012;background:#fff8e7}.status-ready{color:#286c55;background:#eaf6ef}.status-active{color:#216443;background:#dcf6e6}.status-meeting{color:#6150a5;background:#f0edfc}.status-contact{color:#315a99;background:#eaf1fd}.status-stopped{color:#a63745;background:#fceef0}.status-unknown{color:#666;background:#f4f4f5}.status-marker:focus-visible{outline:2px solid #222;outline-offset:3px}.status-marker[data-status-label]:is(:hover,:focus)::after{content:attr(data-status-label);position:absolute;bottom:calc(100% + 9px);right:0;background:#202024;color:#fff;padding:8px 11px;border-radius:5px;font-size:.75rem;white-space:nowrap;z-index:6;box-shadow:0 4px 14px #0002;pointer-events:none}.lead-list td[data-label=Status]{text-align:center;min-width:72px}.status-guide{position:relative}.status-guide>summary{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:.8125rem;list-style:none;padding:10px 12px;min-height:44px;border-radius:5px;color:#555}.status-guide>summary::-webkit-details-marker{display:none}.status-guide[open]>summary,.status-guide>summary:hover{background:#f4f4f5;color:#111}.status-guide-panel{position:absolute;right:0;top:calc(100% + 6px);width:min(365px,calc(100vw - 40px));padding:22px;border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 40px #00000015;background:#fff;z-index:7;text-align:left}.status-guide-panel h3{font-size:1rem;margin:0 0 6px}.status-guide-panel>p{font-size:.75rem;color:var(--muted);margin:0 0 18px}.status-guide-item{display:flex;gap:12px;align-items:flex-start;padding:10px 0}.status-guide-item+.status-guide-item{border-top:1px solid #f0f0f2}.status-guide-item strong{font-size:.8125rem;font-weight:550}.status-guide-item p{font-size:.75rem;color:var(--muted);line-height:1.5;margin:3px 0 0}.status-guide-item .status-marker{cursor:default;width:26px;height:26px;flex-basis:26px;font-size:17px}
.status-guide-panel{max-height:min(500px,55dvh);overflow-y:auto;overscroll-behavior:contain}
.danger-button{color:#a52c36;border-color:#e8cbd0;background:#fff}.danger-button:hover{background:#fcf1f2;border-color:#d7a4ac}
.business-card-source{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;color:#555;border:1px solid #e5e5e8;border-radius:5px;background:#fafafa;vertical-align:middle;margin-right:6px}.business-card-source .ui-icon{width:20px;height:20px}
.lead-list table.responsive .lead-source-column{width:1%;min-width:60px;max-width:92px;padding-left:10px;padding-right:10px;text-align:center}.lead-source-column .lead-source{max-width:72px;overflow-wrap:anywhere}.lead-source-column .business-card-source{margin:0;width:26px;height:26px;border:0;background:transparent}.lead-identity-copy .lead-interest{max-width:280px;margin-top:6px;font-size:.6875rem}
.interest-page{max-width:540px;margin:12vh auto;padding:36px;font-family:inherit}.interest-page h1{font-size:2rem;line-height:1.2;letter-spacing:-.04em}.interest-page p{color:var(--muted);line-height:1.7}.interest-page form{margin-top:28px}
