:root{--bg:#f6f7f9;--panel:#fff;--ink:#12151b;--muted:#667085;--line:#e5e7eb;--accent:#111827;--good:#ecfdf3;--warn:#fff7ed;--bad:#fef2f2}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;font-size:14px}.topbar{height:56px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:0 20px;position:sticky;top:0;z-index:10}.topbar a{color:#344054;text-decoration:none}.brand{font-weight:800;color:#111!important}.spacer{flex:1}.container{max-width:1280px;margin:24px auto;padding:0 20px}.narrow{max-width:460px}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 1px 2px rgba(16,24,40,.04)}h1{font-size:28px;margin:0 0 16px}h2{font-size:18px;margin:0 0 12px}label{font-weight:650;display:block;margin:10px 0 6px}input,select,textarea{width:100%;border:1px solid #d0d5dd;border-radius:10px;padding:10px 11px;background:#fff;font:inherit}textarea{min-height:96px}.btn,button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:10px;padding:10px 13px;background:var(--accent);color:#fff;text-decoration:none;font-weight:750;cursor:pointer}.btn.secondary,button.secondary{background:#fff;color:#111;border:1px solid var(--line)}.btn.danger,button.danger{background:#b42318}.btn.small{padding:6px 9px;font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.muted{color:var(--muted)}.flash{padding:12px 14px;border-radius:12px;margin-bottom:14px;background:#eef4ff}.flash.error{background:var(--bad)}.flash.success{background:var(--good)}table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}th,td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#667085;background:#f9fafb}tr:last-child td{border-bottom:0}.badge{display:inline-block;border-radius:999px;padding:4px 8px;background:#f2f4f7;color:#344054;font-weight:650;font-size:12px}.badge.hot{background:#fff1f3;color:#c01048}.badge.good{background:#ecfdf3;color:#027a48}.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}.stat strong{font-size:24px;display:block}.call-layout{display:grid;grid-template-columns:1.1fr 1.2fr .9fr;gap:16px}.phone{font-size:30px;font-weight:850;color:#111;text-decoration:none;display:block;margin:12px 0}.quick button{margin:3px}.timeline{border-left:3px solid #e5e7eb;padding-left:14px}.event{margin:0 0 14px}.event strong{display:block}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap}.filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:8px;align-items:end;margin-bottom:12px}.lead-row a{font-weight:750;color:#111}.score{font-weight:800}.reportbox{min-height:520px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.inline{display:inline}.pill{padding:7px 9px;border-radius:999px;background:#f2f4f7}@media(max-width:900px){.grid.two,.grid.three,.grid.four,.call-layout,.stats,.filters{grid-template-columns:1fr}.topbar{overflow:auto}.container{padding:0 12px}}

/* Callbacks workflow page */
.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.page-head h1{margin-bottom:4px}
.callback-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}
.callback-stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
.callback-stat span{display:block;color:var(--muted);font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.callback-stat strong{display:block;font-size:28px;margin-top:4px}
.callback-stat.urgent{background:#fef2f2;border-color:#fecaca}
.callback-stat.today{background:#ecfdf3;border-color:#bbf7d0}
.callback-section{margin:22px 0}
.section-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.section-title h2{margin:0}
.callback-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.callback-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.callback-card.is-overdue{border-color:#fecaca;background:#fffafa}
.callback-card.is-today{border-color:#bbf7d0;background:#fbfffd}
.callback-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.callback-company{font-size:18px;font-weight:850;color:#111;text-decoration:none}
.callback-company:hover{text-decoration:underline}
.callback-due{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f9fafb;border-radius:12px;margin-bottom:12px}
.danger-text{color:#b42318;font-weight:850}
.good-text{color:#027a48;font-weight:850}
.callback-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-bottom:12px}
.callback-meta div{font-size:13px}
.callback-meta span,.callback-reason span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;margin-bottom:2px}
.callback-meta a{color:#111;font-weight:750}
.callback-reason{background:#f9fafb;border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:12px}
.callback-reason p{margin:0;line-height:1.45}
.callback-footer{display:flex;justify-content:space-between;gap:12px;align-items:center}
@media(max-width:900px){.page-head,.callback-footer{flex-direction:column;align-items:stretch}.callback-summary,.callback-card-grid,.callback-meta{grid-template-columns:1fr}}


/* Call screen workflow redesign */
.nlp-call-page{max-width:1220px;margin:0 auto;padding:24px 22px 60px}
.nlp-call-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.nlp-call-head h1{margin:0 0 5px;font-size:30px;letter-spacing:-.03em}
.nlp-call-head p{margin:0;color:#667085}
.nlp-call-campaign-picker{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nlp-call-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:16px;align-items:start}
.nlp-call-panel{background:#fff;border:1px solid #eaecf0;border-radius:22px;padding:18px;box-shadow:0 1px 3px rgba(16,24,40,.07)}
.nlp-call-company-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}
.nlp-call-kicker{color:#667085;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}
.nlp-call-lead h2{margin:0;font-size:30px;line-height:1.05;letter-spacing:-.04em}
.nlp-call-subline{color:#667085;font-size:13px;margin-top:6px}
.nlp-call-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.nlp-call-badge{display:inline-flex;align-items:center;border-radius:999px;background:#f2f4f7;border:1px solid #eaecf0;color:#344054;padding:4px 9px;font-size:11px;font-weight:900;white-space:nowrap}
.nlp-call-badge.muted{background:#fff}
.nlp-call-badge.score{background:#eef4ff;border-color:#c7d7fe;color:#3538cd}
.nlp-call-alert{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #fedf89;background:#fffcf5;border-radius:16px;padding:12px 14px;margin:14px 0}
.nlp-call-alert.danger{background:#fff7f7;border-color:#fecaca}
.nlp-call-alert strong{display:block;margin-bottom:2px}
.nlp-call-alert p{margin:0;color:#475467;font-size:13px;line-height:1.4}
.nlp-call-alert>span{font-size:11px;font-weight:950;background:#fff;border:1px solid #eaecf0;border-radius:999px;padding:5px 9px;color:#b42318}
.nlp-call-phone-card{background:#101828;color:#fff;border-radius:18px;padding:16px;margin:14px 0}
.nlp-call-phone-card>span{display:block;color:#d0d5dd;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}
.nlp-call-phone{display:block;color:#fff!important;text-decoration:none;font-size:34px;font-weight:950;letter-spacing:-.04em;margin-bottom:12px}
.nlp-call-phone-actions{display:flex;gap:8px;flex-wrap:wrap}
.nlp-call-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 13px;border-radius:10px;background:#fff;color:#101828!important;border:1px solid #fff;text-decoration:none;font-weight:900;font-size:13px}
.nlp-call-btn.secondary{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.35)}
.nlp-call-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.nlp-call-info-grid>div{background:#f9fafb;border:1px solid #eaecf0;border-radius:14px;padding:10px 12px;min-width:0}
.nlp-call-info-grid span,.nlp-call-next span,.nlp-call-angle span{display:block;color:#667085;font-size:10px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;margin-bottom:3px}
.nlp-call-info-grid strong{display:block;font-size:13px;line-height:1.35;word-break:break-word}
.nlp-call-info-grid small{display:block;color:#667085;margin-top:2px}
.nlp-call-next,.nlp-call-angle{border:1px solid #eaecf0;border-radius:16px;padding:12px 13px;margin-top:12px}
.nlp-call-next{background:#f6fef9;border-color:#bbf7d0}
.nlp-call-angle{background:#f9fafb}
.nlp-call-next p,.nlp-call-angle p{margin:0;font-size:14px;line-height:1.5}
.nlp-call-section-title{margin-bottom:12px}
.nlp-call-section-title>span{display:block;color:#667085;font-size:11px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;margin-bottom:3px}
.nlp-call-section-title h2{margin:0;font-size:22px;letter-spacing:-.03em}
.nlp-call-help{color:#667085;font-size:13px;line-height:1.45;margin:0 0 14px}
.nlp-call-mode-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:16px;padding:12px 14px;margin-bottom:14px}
.nlp-call-mode-box p{margin:4px 0 0;color:#475467}
.nlp-call-form label{display:block;font-weight:850;margin-top:12px}
.nlp-call-form label input,.nlp-call-form label textarea,.nlp-call-form label select{margin-top:5px}
.nlp-call-outcome-groups{display:grid;gap:12px}
.nlp-call-outcome-group{border:1px solid #eaecf0;border-radius:16px;padding:12px;background:#fcfcfd}
.nlp-call-outcome-group h3{margin:0 0 9px;font-size:14px;letter-spacing:-.01em}
.nlp-call-outcome-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.nlp-call-outcome-btn{text-align:left;border:1px solid #d0d5dd;background:#fff;border-radius:13px;padding:10px 11px;cursor:pointer;color:#101828}
.nlp-call-outcome-btn strong{display:block;font-size:13px;line-height:1.25}
.nlp-call-outcome-btn span{display:block;color:#667085;font-size:11px;line-height:1.35;margin-top:3px}
.nlp-call-outcome-btn:hover{border-color:#98a2b3;background:#f9fafb}
.nlp-call-outcome-btn.selected{border-color:#101828;background:#101828;color:#fff}
.nlp-call-outcome-btn.selected span{color:#d0d5dd}
.nlp-call-outcome-btn.instant{border-style:dashed}
.nlp-call-selected{background:#f9fafb;border:1px solid #eaecf0;border-radius:12px;padding:9px 11px;color:#475467;font-weight:800;margin:12px 0}
.nlp-call-extra{display:none;margin:14px 0;border:1px solid #eaecf0;background:#f9fafb;border-radius:16px;padding:13px}
.nlp-call-extra-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}
.nlp-call-extra-head span{color:#667085;font-size:12px}
.nlp-call-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nlp-call-extra .field{display:none}
.nlp-call-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}
.nlp-call-history{margin-top:16px}
.nlp-call-timeline{display:grid;gap:10px}
.nlp-call-event{border:1px solid #eaecf0;border-radius:14px;padding:11px 12px;background:#fcfcfd}
.nlp-call-event div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nlp-call-event strong{font-size:13px}
.nlp-call-event span{color:#667085;font-size:13px}
.nlp-call-event p{margin:8px 0 0;color:#344054;font-size:13px;line-height:1.45}
@media(max-width:1050px){.nlp-call-grid{grid-template-columns:1fr}.nlp-call-head,.nlp-call-company-row{flex-direction:column}.nlp-call-badges{justify-content:flex-start}}
@media(max-width:680px){.nlp-call-page{padding:16px 12px 40px}.nlp-call-info-grid,.nlp-call-outcome-list,.nlp-call-extra-grid{grid-template-columns:1fr}.nlp-call-phone{font-size:27px}}

/* Call screen cockpit redesign v2 */
.nlp-cockpit{max-width:1240px;margin:0 auto;padding:24px 22px 60px;background:#f6f8fb}
.nlp-cockpit-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:12px}
.nlp-cockpit-eyebrow{font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#667085;margin-bottom:5px}
.nlp-cockpit-topbar h1{margin:0;font-size:34px;line-height:1.03;letter-spacing:-.045em;color:#101828}
.nlp-cockpit-topbar p{margin:7px 0 0;color:#667085;font-size:14px}
.nlp-cockpit-picker{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nlp-cockpit-state{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}
.nlp-cockpit-state span{display:inline-flex;align-items:center;border:1px solid #eaecf0;background:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:850;color:#344054}
.nlp-cockpit-state span.danger{background:#fff1f3;border-color:#fecdd3;color:#be123c}
.nlp-cockpit-state span.good{background:#ecfdf3;border-color:#bbf7d0;color:#067647}
.nlp-cockpit-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);gap:16px;align-items:start}
.nlp-cockpit-left,.nlp-cockpit-right,.nlp-history-panel{background:#fff;border:1px solid #eaecf0;border-radius:24px;padding:18px;box-shadow:0 1px 3px rgba(16,24,40,.06)}
.nlp-phone-hero{background:#101828;color:#fff;border-radius:22px;padding:18px;margin-bottom:14px}
.nlp-phone-hero.is-overdue{background:linear-gradient(135deg,#101828 0%,#3b0a12 100%)}
.nlp-phone-label{color:#d0d5dd;font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px}
.nlp-phone-number{display:block;color:#fff!important;text-decoration:none;font-size:42px;line-height:1;font-weight:950;letter-spacing:-.055em;margin-bottom:14px}
.nlp-phone-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:13px}
.nlp-primary-call,.nlp-secondary-call{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;border-radius:11px;text-decoration:none!important;font-size:13px;font-weight:950}
.nlp-primary-call{background:#fff;color:#101828!important}
.nlp-secondary-call{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.28);color:#fff!important}
.nlp-phone-meta{display:flex;gap:10px;flex-wrap:wrap;color:#d0d5dd;font-size:12px}
.nlp-phone-meta strong{color:#fff}
.nlp-intel-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.nlp-intel-item{padding:6px 2px;border-bottom:1px solid #f2f4f7;min-width:0}
.nlp-intel-item span,.nlp-card-label,.nlp-history-head span{display:block;color:#667085;font-size:10px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;margin-bottom:4px}
.nlp-intel-item strong{display:block;color:#101828;font-size:14px;line-height:1.35;word-break:break-word}
.nlp-intel-item em{display:block;color:#667085;font-style:normal;font-size:12px;margin-top:2px}
.nlp-script-card{background:#f8fafc;border-left:4px solid #101828;border-radius:18px;padding:15px 16px;margin:12px 0}
.nlp-script-card blockquote{margin:0;color:#101828;font-size:18px;line-height:1.45;font-weight:800;letter-spacing:-.02em}
.nlp-context-card,.nlp-last-touch,.nlp-next-action-card{border-top:1px solid #eaecf0;padding-top:13px;margin-top:13px}
.nlp-context-card p,.nlp-last-touch p,.nlp-next-action-card p{margin:0;color:#344054;font-size:14px;line-height:1.5}
.nlp-last-touch strong{display:block;color:#101828;font-size:13px;margin-bottom:5px}
.nlp-outcome-head{margin-bottom:14px}
.nlp-outcome-head>span{display:block;color:#667085;font-size:11px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;margin-bottom:4px}
.nlp-outcome-head h2{margin:0;font-size:26px;line-height:1.1;letter-spacing:-.035em;color:#101828}
.nlp-outcome-head p{margin:7px 0 0;color:#667085;font-size:14px;line-height:1.45}
.nlp-primary-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}
.nlp-primary-outcome{border:1px solid #d0d5dd;background:#fff;color:#101828;border-radius:16px;padding:12px;text-align:left;cursor:pointer;min-height:74px}
.nlp-primary-outcome strong{display:block;font-size:14px;line-height:1.2}
.nlp-primary-outcome span{display:block;color:#667085;font-size:12px;line-height:1.35;margin-top:4px}
.nlp-primary-outcome:hover,.nlp-primary-outcome.selected{border-color:#101828;background:#101828;color:#fff}
.nlp-primary-outcome:hover span,.nlp-primary-outcome.selected span{color:#d0d5dd}
.nlp-primary-outcome.danger:hover{background:#7f1d1d;border-color:#7f1d1d}
.nlp-subflow{display:none;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:12px;margin:12px 0}
.nlp-subflow h3{margin:0 0 9px;font-size:15px;color:#101828}
.nlp-subflow-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.nlp-subflow-grid button{border:1px solid #d0d5dd;background:#fff;color:#101828;border-radius:14px;padding:10px;text-align:left;cursor:pointer}
.nlp-subflow-grid button strong{display:block;font-size:13px;line-height:1.2}
.nlp-subflow-grid button span{display:block;color:#667085;font-size:11px;line-height:1.35;margin-top:3px}
.nlp-subflow-grid button:hover,.nlp-subflow-grid button.selected{border-color:#101828;background:#101828;color:#fff}
.nlp-subflow-grid button:hover span,.nlp-subflow-grid button.selected span{color:#d0d5dd}
.nlp-selected-outcome{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:10px 12px;font-size:13px;font-weight:850;margin-bottom:12px}
.nlp-outcome-form label{display:block;font-weight:850;margin-top:12px;color:#101828}
.nlp-outcome-form label input,.nlp-outcome-form label textarea,.nlp-outcome-form label select{margin-top:5px}
.nlp-extra-panel{display:none;background:#f9fafb;border:1px solid #eaecf0;border-radius:18px;padding:13px;margin:14px 0}
.nlp-extra-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}
.nlp-extra-head span,.nlp-small-help{color:#667085;font-size:12px}
.nlp-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nlp-extra-panel .field{display:none}
.nlp-callback-presets{display:none;gap:8px;flex-wrap:wrap;margin-top:10px}
.nlp-callback-presets button{border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850;cursor:pointer}
.nlp-callback-presets button:hover{background:#101828;color:#fff;border-color:#101828}
.nlp-form-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}
.nlp-history-panel{margin-top:16px}
.nlp-history-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.nlp-history-head h2{margin:0;font-size:22px;letter-spacing:-.03em}
.nlp-history-list{display:grid;gap:10px}
.nlp-history-item{background:#fff;border:1px solid #eaecf0;border-radius:16px;padding:11px 12px}
.nlp-history-item div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nlp-history-item strong{font-size:13px;color:#101828}
.nlp-history-item span{font-size:13px;color:#667085}
.nlp-history-item p{margin:8px 0 0;color:#344054;font-size:13px;line-height:1.45}
@media(max-width:1050px){.nlp-cockpit-grid{grid-template-columns:1fr}.nlp-cockpit-topbar{flex-direction:column}.nlp-phone-number{font-size:36px}}
@media(max-width:720px){.nlp-cockpit{padding:16px 12px 40px}.nlp-primary-outcomes,.nlp-subflow-grid,.nlp-intel-grid,.nlp-extra-grid{grid-template-columns:1fr}.nlp-phone-number{font-size:30px}.nlp-history-head{flex-direction:column;align-items:flex-start}}

/* Fast call terminal redesign */
.fast-call{max-width:1180px;margin:0 auto;padding:18px 20px 50px;background:#f6f8fb}
.fast-call-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}
.fast-call-top h1{margin:0;font-size:28px;letter-spacing:-.035em;color:#101828}
.fast-call-top p{margin:4px 0 0;color:#667085;font-size:14px}
.fast-call-top-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.fast-campaign-select{display:flex;gap:7px;align-items:center}
.fast-call-layout{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:14px;align-items:start}
.fast-lead-card,.fast-outcome-card,.fast-history{background:#fff;border:1px solid #eaecf0;border-radius:18px;padding:16px;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.fast-lead-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}
.fast-lead-head h2{margin:0;font-size:30px;line-height:1.05;letter-spacing:-.045em;color:#101828}
.fast-lead-head p{margin:5px 0 0;color:#667085;font-size:13px}
.fast-due{border:1px solid #bbf7d0;background:#f6fef9;border-radius:12px;padding:8px 10px;min-width:130px;text-align:right}
.fast-due.overdue{border-color:#fecaca;background:#fff7f7}
.fast-due span{display:block;color:#667085;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.fast-due strong{display:block;color:#101828;font-size:13px;margin-top:2px}
.fast-phone-block{background:#101828;color:#fff;border-radius:16px;padding:14px;margin:10px 0 12px}
.fast-phone-block>span{display:block;color:#d0d5dd;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.07em;margin-bottom:4px}
.fast-phone-block>a{display:block;color:#fff!important;text-decoration:none;font-size:38px;line-height:1;font-weight:950;letter-spacing:-.05em;margin-bottom:12px}
.fast-phone-block div{display:flex;gap:8px;flex-wrap:wrap}
.fast-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 11px;border-radius:9px;background:#fff;border:1px solid #d0d5dd;color:#101828!important;text-decoration:none!important;font-size:13px;font-weight:850}
.fast-btn.primary{background:#101828;border-color:#101828;color:#fff!important}
.fast-phone-block .fast-btn.primary{background:#fff;border-color:#fff;color:#101828!important}
.fast-phone-block .fast-btn:not(.primary){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.3);color:#fff!important}
.fast-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin:12px 0}
.fast-detail-grid div{border-bottom:1px solid #f2f4f7;padding:7px 0;min-width:0}
.fast-detail-grid span,.fast-last-touch>span,.fast-tools>span{display:block;color:#667085;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.07em;margin-bottom:3px}
.fast-detail-grid strong{display:block;color:#101828;font-size:14px;line-height:1.35;word-break:break-word}
.fast-detail-grid small{display:block;color:#667085;font-size:12px;margin-top:2px}
.fast-last-touch{border:1px solid #eaecf0;background:#f9fafb;border-radius:14px;padding:11px 12px;margin:12px 0}
.fast-last-touch strong{display:block;color:#101828;font-size:13px;margin-bottom:4px}
.fast-last-touch p{margin:0;color:#344054;font-size:13px;line-height:1.45}
.fast-tools{margin:12px 0}
.fast-tools div{display:flex;gap:7px;flex-wrap:wrap}
.fast-tools a,.fast-tools button{border:1px solid #d0d5dd;background:#fff;color:#101828!important;text-decoration:none;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850}
.fast-tools button:disabled{opacity:.45;cursor:not-allowed}
.fast-extra{margin-top:12px;border-top:1px solid #eaecf0;padding-top:10px}
.fast-extra summary{cursor:pointer;font-weight:850;color:#344054}
.fast-extra-body{margin-top:10px;color:#344054;font-size:13px;line-height:1.45}
.fast-outcome-head{margin-bottom:12px}
.fast-outcome-head span{display:block;color:#667085;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.07em;margin-bottom:4px}
.fast-outcome-head h2{margin:0;font-size:24px;letter-spacing:-.035em;color:#101828}
.fast-outcome-head p{margin:5px 0 0;color:#667085;font-size:13px}
.fast-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.fast-outcomes button{border:1px solid #d0d5dd;background:#fff;color:#101828;border-radius:12px;padding:10px;text-align:left;cursor:pointer}
.fast-outcomes button strong{display:block;font-size:13px;line-height:1.2}
.fast-outcomes button span{display:block;color:#667085;font-size:11px;margin-top:3px;line-height:1.3}
.fast-outcomes button:hover,.fast-outcomes button.selected{border-color:#101828;background:#101828;color:#fff}
.fast-outcomes button:hover span,.fast-outcomes button.selected span{color:#d0d5dd}
.fast-outcomes button.soft-danger{background:#fff;border-color:#f3d2d2;color:#7f1d1d}
.fast-outcomes button.soft-danger:hover{background:#7f1d1d;color:#fff;border-color:#7f1d1d}
.fast-selected{border:1px solid #eaecf0;background:#f9fafb;color:#344054;border-radius:12px;padding:8px 10px;font-size:13px;font-weight:800;margin:10px 0}
.fast-form label{display:block;font-weight:850;margin-top:11px;color:#101828}
.fast-form label input,.fast-form label textarea,.fast-form label select{margin-top:5px}
.fast-extra-fields{display:none;background:#f9fafb;border:1px solid #eaecf0;border-radius:14px;padding:12px;margin:12px 0}
.fast-extra-fields-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}
.fast-extra-fields-head span,.fast-help{color:#667085;font-size:12px}
.fast-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.fast-extra-fields .field{display:none}
.fast-callback-presets{display:none;gap:7px;flex-wrap:wrap;margin-top:9px}
.fast-callback-presets button{border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850;cursor:pointer}
.fast-callback-presets button:hover{background:#101828;color:#fff;border-color:#101828}
.fast-form-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:13px}
.fast-history{margin-top:14px}
.fast-history summary{cursor:pointer;font-weight:900;color:#344054}
.fast-history-item{border-top:1px solid #eaecf0;padding-top:10px;margin-top:10px}
.fast-history-item strong{display:block;font-size:13px;color:#101828}
.fast-history-item p{margin:5px 0 0;color:#344054;font-size:13px;line-height:1.45}
@media(max-width:980px){.fast-call-layout{grid-template-columns:1fr}.fast-call-top,.fast-lead-head{flex-direction:column}.fast-due{text-align:left}.fast-phone-block>a{font-size:32px}}
@media(max-width:640px){.fast-call{padding:14px 10px 40px}.fast-detail-grid,.fast-outcomes,.fast-extra-grid{grid-template-columns:1fr}.fast-phone-block>a{font-size:27px}}


/* Fast call terminal visual polish v3 */
:root{
  --soft-bg:#f7f8fb;
  --soft-card:#ffffff;
  --soft-line:#e4e7ec;
  --soft-line-2:#eef0f4;
  --soft-text:#111827;
  --soft-muted:#667085;
  --soft-blue:#2563eb;
  --soft-blue-2:#eff6ff;
  --soft-green:#ecfdf3;
  --soft-green-text:#067647;
  --soft-red:#fff7f7;
  --soft-red-line:#f3c7c7;
  --soft-red-text:#8a1f1f;
}

.fast-call{
  max-width:1240px;
  margin:0 auto;
  padding:22px 22px 54px;
  background:var(--soft-bg);
}

.fast-call-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding-bottom:18px;
  margin-bottom:20px;
  border-bottom:1px solid var(--soft-line);
}

.fast-call-top h1{
  margin:0;
  font-size:28px;
  line-height:1.1;
  letter-spacing:-.035em;
  color:var(--soft-text);
}

.fast-call-top p{
  margin:4px 0 0;
  color:var(--soft-muted);
  font-size:14px;
}

.fast-call-top-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.fast-campaign-select{
  display:flex;
  align-items:center;
  gap:8px;
}

.fast-campaign-select select{
  min-width:210px;
  height:42px;
  border-radius:10px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054;
}

.fast-campaign-select button,
.fast-call-top-actions .secondary{
  height:42px;
  border-radius:10px;
}

.fast-btn{
  min-height:38px;
  padding:8px 14px;
  border-radius:10px;
  background:#fff;
  border:1px solid #d0d5dd;
  color:#344054!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:750;
  box-shadow:0 1px 1px rgba(16,24,40,.03);
}

.fast-btn.primary{
  background:var(--soft-blue);
  border-color:var(--soft-blue);
  color:#fff!important;
  box-shadow:0 4px 10px rgba(37,99,235,.16);
}

.fast-call-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 0.98fr;
  gap:20px;
  align-items:start;
}

.fast-lead-card,
.fast-outcome-card,
.fast-history{
  background:var(--soft-card);
  border:1px solid var(--soft-line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 10px 26px rgba(16,24,40,.045);
}

.fast-lead-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  padding-bottom:20px;
  margin-bottom:18px;
  border-bottom:1px solid var(--soft-line);
}

.fast-lead-head h2{
  margin:0;
  font-size:29px;
  line-height:1.08;
  letter-spacing:-.045em;
  color:var(--soft-text);
}

.fast-lead-head p{
  margin:7px 0 0;
  color:var(--soft-muted);
  font-size:14px;
}

.fast-due{
  border:1px solid #bbf7d0;
  background:var(--soft-green);
  border-radius:999px;
  padding:6px 11px;
  min-width:auto;
  text-align:left;
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}

.fast-due:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#16a34a;
}

.fast-due.overdue{
  border-color:#fed7aa;
  background:#fff7ed;
}

.fast-due.overdue:before{
  background:#f97316;
}

.fast-due span{
  display:none;
}

.fast-due strong{
  margin:0;
  color:var(--soft-green-text);
  font-size:13px;
  font-weight:800;
}

.fast-due.overdue strong{
  color:#c2410c;
}

.fast-phone-block{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  background:#f3f8ff;
  color:var(--soft-text);
  border:1px solid #dbeafe;
  border-radius:14px;
  padding:17px 18px;
  margin:0 0 18px;
}

.fast-phone-block>span{
  grid-column:1 / -1;
  display:block;
  color:var(--soft-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:0;
  text-transform:none;
  margin-bottom:-8px;
}

.fast-phone-block>a{
  display:block;
  color:var(--soft-text)!important;
  text-decoration:none;
  font-size:25px;
  line-height:1.15;
  font-weight:750;
  letter-spacing:-.025em;
  margin:0;
}

.fast-phone-block div{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.fast-phone-block .fast-btn.primary{
  background:var(--soft-blue);
  border-color:var(--soft-blue);
  color:#fff!important;
  min-width:92px;
}

.fast-phone-block .fast-btn:not(.primary){
  background:#fff;
  border-color:#cbd5e1;
  color:#1f2937!important;
  min-width:76px;
}

.fast-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  margin:0 0 18px;
  border-top:1px solid var(--soft-line);
  border-bottom:1px solid var(--soft-line);
}

.fast-detail-grid div{
  border-bottom:1px solid var(--soft-line-2);
  padding:13px 16px 13px 0;
  min-width:0;
}

.fast-detail-grid div:nth-child(2n){
  border-left:1px solid var(--soft-line);
  padding-left:18px;
}

.fast-detail-grid div:nth-last-child(-n+2){
  border-bottom:0;
}

.fast-detail-grid span,
.fast-last-touch>span,
.fast-tools>span{
  display:block;
  color:var(--soft-muted);
  font-size:13px;
  font-weight:650;
  text-transform:none;
  letter-spacing:0;
  margin-bottom:5px;
}

.fast-detail-grid strong{
  display:block;
  color:var(--soft-text);
  font-size:14px;
  line-height:1.35;
  word-break:break-word;
  font-weight:650;
}

.fast-detail-grid small{
  color:var(--soft-muted);
}

.fast-last-touch{
  border:1px solid var(--soft-line);
  background:#fff;
  border-radius:14px;
  padding:15px 16px;
  margin:18px 0;
  box-shadow:0 1px 2px rgba(16,24,40,.025);
}

.fast-last-touch strong{
  display:block;
  color:var(--soft-text);
  font-size:14px;
  margin:0 0 4px;
}

.fast-last-touch p{
  margin:0;
  color:#475467;
  font-size:14px;
  line-height:1.45;
}

.fast-tools{
  margin:18px 0;
  padding-top:2px;
}

.fast-tools div{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.fast-tools a,
.fast-tools button{
  min-height:36px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054!important;
  text-decoration:none;
  border-radius:10px;
  padding:8px 13px;
  font-size:13px;
  font-weight:750;
  box-shadow:0 1px 1px rgba(16,24,40,.025);
}

.fast-tools a:hover{
  border-color:#98a2b3;
  background:#f9fafb;
}

.fast-tools button:disabled{
  opacity:.45;
  cursor:not-allowed;
  background:#f9fafb;
}

.fast-extra{
  margin-top:18px;
  border:1px solid var(--soft-line);
  border-radius:14px;
  padding:0;
  background:#fff;
}

.fast-extra summary{
  cursor:pointer;
  font-weight:750;
  color:#344054;
  padding:14px 16px;
  list-style:none;
}

.fast-extra summary::-webkit-details-marker{
  display:none;
}

.fast-extra summary:after{
  content:"⌄";
  float:right;
  color:var(--soft-muted);
}

.fast-extra[open] summary:after{
  content:"⌃";
}

.fast-extra-body{
  border-top:1px solid var(--soft-line);
  margin:0;
  padding:14px 16px 16px;
  color:#475467;
  font-size:13px;
  line-height:1.5;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px 22px;
}

.fast-extra-body p{
  margin:0 0 8px;
}

.fast-outcome-head{
  margin-bottom:16px;
}

.fast-outcome-head span{
  display:block;
  color:var(--soft-muted);
  font-size:13px;
  font-weight:650;
  text-transform:none;
  letter-spacing:0;
  margin-bottom:3px;
}

.fast-outcome-head h2{
  margin:0;
  font-size:23px;
  line-height:1.15;
  letter-spacing:-.03em;
  color:var(--soft-text);
}

.fast-outcome-head p{
  margin:6px 0 0;
  color:var(--soft-muted);
  font-size:14px;
}

.fast-outcomes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:14px;
}

.fast-outcomes button{
  min-height:52px;
  border:1px solid #d7dce4;
  background:#fff;
  color:#1f2937;
  border-radius:11px;
  padding:10px 12px;
  text-align:left;
  cursor:pointer;
  transition:background .12s ease,border-color .12s ease,box-shadow .12s ease;
}

.fast-outcomes button strong{
  display:block;
  font-size:13px;
  line-height:1.25;
  font-weight:750;
}

.fast-outcomes button span{
  display:block;
  color:var(--soft-muted);
  font-size:11.5px;
  margin-top:2px;
  line-height:1.3;
}

.fast-outcomes button:hover,
.fast-outcomes button.selected{
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
  box-shadow:0 0 0 3px rgba(37,99,235,.08);
}

.fast-outcomes button:hover span,
.fast-outcomes button.selected span{
  color:#475467;
}

.fast-outcomes button.soft-danger{
  background:#fff;
  border-color:var(--soft-red-line);
  color:var(--soft-red-text);
}

.fast-outcomes button.soft-danger span{
  color:#8f6666;
}

.fast-outcomes button.soft-danger:hover{
  background:var(--soft-red);
  border-color:#e8a7a7;
  color:var(--soft-red-text);
  box-shadow:0 0 0 3px rgba(220,38,38,.045);
}

.fast-selected{
  border:1px solid #bfdbfe;
  background:#f8fbff;
  color:#2563eb;
  border-radius:11px;
  padding:10px 12px;
  font-size:13px;
  font-weight:650;
  margin:12px 0 14px;
}

.fast-form label{
  display:block;
  font-weight:650;
  margin-top:12px;
  color:#344054;
  font-size:13px;
}

.fast-form label input,
.fast-form label textarea,
.fast-form label select{
  margin-top:6px;
  border-radius:10px;
  border-color:#d0d5dd;
  background:#fff;
}

.fast-form label textarea{
  min-height:78px;
}

.fast-extra-fields{
  display:none;
  background:#fff;
  border:1px solid var(--soft-line);
  border-radius:14px;
  padding:14px;
  margin:14px 0;
}

.fast-extra-fields-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.fast-extra-fields-head strong{
  color:#344054;
  font-size:14px;
}

.fast-extra-fields-head span,
.fast-help{
  color:var(--soft-muted);
  font-size:12px;
}

.fast-extra-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.fast-extra-fields .field{
  display:none;
}

.fast-callback-presets{
  display:none;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

.fast-callback-presets button{
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}

.fast-callback-presets button:hover{
  background:#f9fafb;
  border-color:#98a2b3;
  color:#111827;
}

.fast-form-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:16px;
}

.fast-form-actions button{
  min-height:42px;
  border-radius:10px;
  padding-left:22px;
  padding-right:22px;
  background:var(--soft-blue);
  border-color:var(--soft-blue);
  box-shadow:0 4px 10px rgba(37,99,235,.15);
}

.fast-form-actions .btn.secondary{
  min-height:42px;
  border-radius:10px;
  background:#fff;
}

.fast-history{
  margin-top:20px;
  padding:0;
  overflow:hidden;
}

.fast-history summary{
  cursor:pointer;
  font-weight:750;
  color:#344054;
  padding:15px 18px;
  list-style:none;
}

.fast-history summary::-webkit-details-marker{
  display:none;
}

.fast-history summary:after{
  content:"⌄";
  float:right;
  color:var(--soft-muted);
}

.fast-history[open] summary:after{
  content:"⌃";
}

.fast-history-item{
  border-top:1px solid var(--soft-line);
  padding:12px 18px;
  margin:0;
}

.fast-history-item strong{
  display:block;
  font-size:13px;
  color:var(--soft-text);
}

.fast-history-item p{
  margin:6px 0 0;
  color:#475467;
  font-size:13px;
  line-height:1.45;
}

@media(max-width:1050px){
  .fast-call-layout{
    grid-template-columns:1fr;
  }

  .fast-call-top,
  .fast-lead-head{
    flex-direction:column;
    align-items:stretch;
  }

  .fast-due{
    align-self:flex-start;
  }
}

@media(max-width:700px){
  .fast-call{
    padding:14px 10px 40px;
  }

  .fast-detail-grid,
  .fast-outcomes,
  .fast-extra-grid,
  .fast-extra-body{
    grid-template-columns:1fr;
  }

  .fast-detail-grid div:nth-child(2n){
    border-left:0;
    padding-left:0;
  }

  .fast-detail-grid div:nth-last-child(-n+2){
    border-bottom:1px solid var(--soft-line-2);
  }

  .fast-phone-block{
    grid-template-columns:1fr;
  }

  .fast-phone-block div{
    justify-content:flex-start;
  }

  .fast-phone-block>a{
    font-size:28px;
  }
}


/* General UI polish for dashboard, leads and lead detail v1 */
.ops-page,.lead-detail-page{
  max-width:1180px;
  margin:0 auto;
  padding:24px 22px 56px;
}

.ops-head,.lead-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
}

.ops-head h1,.lead-hero h1{
  margin:0;
  font-size:30px;
  line-height:1.08;
  letter-spacing:-.04em;
  color:#111827;
}

.ops-head p,.lead-hero p{
  margin:6px 0 0;
  color:#667085;
  font-size:14px;
}

.ops-filter{
  display:flex;
  gap:10px;
  align-items:end;
  flex-wrap:wrap;
}

.ops-filter label{
  margin:0;
}

.ops-filter select,
.ops-filter input{
  min-width:220px;
  height:40px;
  border-radius:10px;
}

.ops-filter button,
.ops-primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 15px;
  border-radius:10px;
  background:#111827;
  border:1px solid #111827;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
  font-size:13px;
}

.ops-actions-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}

.ops-action{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:16px;
  padding:14px 15px;
  text-decoration:none!important;
  color:#111827!important;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}

.ops-action.primary{
  background:#eff6ff;
  border-color:#bfdbfe;
}

.ops-action strong{
  display:block;
  font-size:15px;
  margin-bottom:3px;
}

.ops-action span{
  display:block;
  color:#667085;
  font-size:13px;
}

.ops-stats{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin:16px 0;
}

.ops-stat{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:16px;
  padding:14px 15px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}

.ops-stat span{
  display:block;
  color:#667085;
  font-size:13px;
}

.ops-stat strong{
  display:block;
  font-size:28px;
  line-height:1;
  margin-top:5px;
  letter-spacing:-.04em;
}

.ops-grid.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.ops-card{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:18px;
  padding:18px;
  box-shadow:0 1px 3px rgba(16,24,40,.05);
}

.ops-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.ops-card-head h2{
  margin:0;
  font-size:20px;
  letter-spacing:-.03em;
}

.ops-card-head a{
  color:#2563eb;
  text-decoration:none;
  font-weight:750;
  font-size:13px;
}

.ops-list-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:11px 0;
  border-top:1px solid #f2f4f7;
}

.ops-list-item:first-of-type{
  border-top:0;
}

.ops-list-item a{
  color:#111827;
  font-weight:850;
  text-decoration:none;
}

.ops-list-item p{
  margin:3px 0 0;
  color:#667085;
  font-size:13px;
}

.ops-list-item>span{
  color:#667085;
  font-size:12px;
  white-space:nowrap;
}

.lead-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.lead-tabs a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #d0d5dd;
  color:#344054;
  text-decoration:none!important;
  font-weight:750;
  font-size:13px;
}

.lead-tabs a.active{
  background:#111827;
  border-color:#111827;
  color:#fff;
}

.lead-filter{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:16px;
  padding:14px;
  margin-bottom:14px;
}

.lead-list-card{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 1px 3px rgba(16,24,40,.05);
}

.lead-list-row{
  display:grid;
  grid-template-columns:minmax(240px,1.2fr) minmax(160px,.85fr) minmax(150px,.75fr) minmax(190px,1fr) minmax(160px,.7fr);
  gap:16px;
  padding:15px 16px;
  border-top:1px solid #f2f4f7;
  align-items:start;
}

.lead-list-row:first-child{
  border-top:0;
}

.lead-title{
  color:#111827;
  font-size:15px;
  font-weight:900;
  text-decoration:none!important;
}

.lead-main p,.lead-contact p,.lead-status-block p,.lead-next p{
  margin:4px 0 0;
  color:#667085;
  font-size:13px;
  line-height:1.35;
}

.lead-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:7px;
}

.lead-links a{
  color:#2563eb;
  text-decoration:none;
  font-size:12px;
  font-weight:750;
}

.lead-contact span,.lead-actions span{
  display:block;
  color:#111827;
  font-size:13px;
}

.lead-contact strong{
  display:block;
  margin-top:4px;
  color:#111827;
  font-size:13px;
}

.lead-status{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#f2f4f7;
  color:#344054;
  padding:4px 9px;
  font-size:11px;
  font-weight:850;
}

.lead-status.hot{
  background:#ecfdf3;
  color:#067647;
}

.lead-status.warm{
  background:#eff6ff;
  color:#1d4ed8;
}

.lead-status.due{
  background:#fff7ed;
  color:#c2410c;
}

.lead-status.danger{
  background:#fff7f7;
  color:#8a1f1f;
}

.lead-next strong{
  display:block;
  color:#111827;
  font-size:13px;
  line-height:1.35;
}

.lead-actions div{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:7px;
}

.lead-hero{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:18px;
  padding:18px;
  box-shadow:0 1px 3px rgba(16,24,40,.05);
}

.lead-hero-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.lead-summary-strip{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px;
}

.lead-summary-strip>div{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:14px;
  padding:12px;
}

.lead-summary-strip span,
.detail-kv span,
.detail-block>span{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:750;
  margin-bottom:4px;
}

.lead-summary-strip strong{
  display:inline-flex;
  font-size:15px;
}

.detail-kv{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 14px;
  margin-bottom:14px;
}

.detail-kv>div{
  border-bottom:1px solid #f2f4f7;
  padding-bottom:10px;
}

.detail-kv strong{
  color:#111827;
  font-size:14px;
  line-height:1.35;
  word-break:break-word;
}

.detail-block{
  border-top:1px solid #f2f4f7;
  padding-top:13px;
  margin-top:13px;
}

.detail-block p{
  margin:0 0 8px;
  color:#344054;
  line-height:1.5;
}

.edit-lead-details{
  margin-top:18px;
  border:1px solid #e4e7ec;
  border-radius:14px;
  overflow:hidden;
}

.edit-lead-details summary{
  cursor:pointer;
  padding:13px 14px;
  font-weight:850;
  color:#344054;
  list-style:none;
}

.edit-lead-details summary::-webkit-details-marker{
  display:none;
}

.edit-lead-details summary:after{
  content:"⌄";
  float:right;
  color:#667085;
}

.edit-lead-details[open] summary:after{
  content:"⌃";
}

.edit-lead-form{
  border-top:1px solid #e4e7ec;
  padding:14px;
}

.timeline-form{
  background:#f9fafb;
  border:1px solid #e4e7ec;
  border-radius:14px;
  padding:13px;
  margin-bottom:14px;
}

.timeline-list{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}

.timeline-item{
  border:1px solid #e4e7ec;
  border-radius:14px;
  padding:12px;
  background:#fff;
}

.timeline-item.email{
  background:#f8fbff;
}

.timeline-item strong{
  display:block;
  color:#111827;
  font-size:13px;
}

.timeline-item span{
  display:block;
  color:#667085;
  font-size:12px;
  margin-top:3px;
}

.timeline-item p{
  margin:8px 0 0;
  color:#344054;
  font-size:13px;
  line-height:1.45;
}

.timeline-item pre{
  white-space:pre-wrap;
  background:#f9fafb;
  border:1px solid #e4e7ec;
  border-radius:10px;
  padding:10px;
  font-size:12px;
}

.tracking-form{
  background:#f9fafb;
  border:1px solid #e4e7ec;
  border-radius:14px;
  padding:13px;
  margin-bottom:12px;
}

.tracked-link-row{
  border:1px solid #e4e7ec;
  border-radius:12px;
  padding:10px;
  margin-top:8px;
}

.tracked-link-row p{
  margin:4px 0 0;
  color:#667085;
  font-size:12px;
}

@media(max-width:1050px){
  .ops-actions-row,.ops-stats,.lead-summary-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ops-grid.two,.lead-list-row{
    grid-template-columns:1fr;
  }

  .ops-head,.lead-hero{
    flex-direction:column;
  }

  .lead-hero-actions{
    justify-content:flex-start;
  }
}

@media(max-width:700px){
  .ops-page,.lead-detail-page{
    padding:16px 12px 42px;
  }

  .ops-actions-row,.ops-stats,.lead-summary-strip,.detail-kv{
    grid-template-columns:1fr;
  }
}



/* AI check UI v1 */
.fast-tool-form{
  display:inline-flex;
  margin:0;
}

.fast-tool-form button{
  min-height:36px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054!important;
  border-radius:10px;
  padding:8px 13px;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  box-shadow:0 1px 1px rgba(16,24,40,.025);
}

.fast-tool-form button:hover{
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8!important;
}

.fast-ai-result{
  border:1px solid #bfdbfe;
  background:#f8fbff;
  border-radius:14px;
  padding:13px 14px;
  margin:14px 0;
}

.fast-ai-result span{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:750;
  margin-bottom:3px;
}

.fast-ai-result strong{
  color:#111827;
}

.fast-ai-result p{
  margin:7px 0 0;
  color:#344054;
  font-size:13px;
  line-height:1.45;
}

.fast-ai-result details{
  margin-top:8px;
}

.fast-ai-result details a{
  display:block;
  margin-top:6px;
  color:#2563eb;
  font-size:13px;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.timeline-item.ai-check{
  background:#f8fbff;
  border-color:#bfdbfe;
}

/* Simple AI check button/result */
.fast-tool-form{
  display:inline-flex;
  margin:0;
}

.fast-tool-form button{
  min-height:36px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054!important;
  border-radius:10px;
  padding:8px 13px;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  box-shadow:0 1px 1px rgba(16,24,40,.025);
}

.fast-tool-form button:hover{
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8!important;
}

.fast-ai-query,
.fast-ai-result{
  border:1px solid #dbeafe;
  background:#f8fbff;
  border-radius:14px;
  padding:12px 14px;
  margin:12px 0;
}

.fast-ai-query span,
.fast-ai-result span{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:750;
  margin-bottom:4px;
}

.fast-ai-query strong,
.fast-ai-result strong{
  color:#111827;
  font-size:13px;
}

.fast-ai-result p{
  margin:7px 0 0;
  color:#344054;
  font-size:13px;
  line-height:1.45;
}

/* Raw AI answer display */
.fast-ai-answer{
  margin-top:10px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:12px;
  padding:12px;
  color:#111827;
  font-size:14px;
  line-height:1.5;
}

.fast-ai-small{
  color:#667085;
  font-size:12px;
}

/* Async AI check state */
.fast-ai-pending{
  margin-top:10px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  border-radius:12px;
  padding:11px 12px;
  font-size:13px;
  line-height:1.45;
}

/* Manual GPT query tool */
.fast-ai-manual{
  border:1px solid #e4e7ec;
  background:#fff;
  border-radius:14px;
  padding:12px 14px;
  margin:12px 0;
}

.fast-ai-manual span{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:750;
  margin-bottom:4px;
}

.fast-ai-manual strong{
  display:block;
  color:#111827;
  font-size:14px;
  line-height:1.4;
}

.fast-ai-manual p{
  margin:7px 0 0;
  color:#667085;
  font-size:13px;
}

.copy-gpt-query{
  min-height:36px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054!important;
  border-radius:10px;
  padding:8px 13px;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
}


/* Campaign playbook additions */
.campaign-create-grid .card { align-self: start; }
.campaign-playbook-form details,
.fast-campaign-script,
.fast-email-assets {
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 14px;
  margin: 14px 0;
  background: rgba(248,250,252,.75);
}
.campaign-playbook-form summary,
.fast-campaign-script summary {
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
}
.campaign-playbook-form textarea { min-height: 92px; }
.checkline { display:flex; align-items:center; gap:8px; margin:12px 0; font-weight:600; }
.checkline input { width:auto; }
.compact-form { display:grid; gap:10px; margin: 12px 0 18px; }
.mini-record {
  border-top: 1px solid rgba(15,23,42,.10);
  padding: 12px 0;
}
.mini-record strong { display:block; }
.mini-record span { display:block; color:#64748b; font-size:.9rem; margin:3px 0; }
.fast-script-grid { display:grid; gap:10px; margin-top:12px; }
.fast-script-grid div {
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  padding:10px;
}
.fast-script-grid span,
.fast-email-assets strong {
  display:block;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#64748b;
  margin-bottom:4px;
}
.fast-script-grid p { margin:0; white-space:normal; }
.fast-email-assets { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.fast-email-assets p { flex-basis:100%; margin:0; }
.insert-asset-link {
  border:1px solid rgba(15,23,42,.16);
  background:#fff;
  border-radius:999px;
  padding:7px 10px;
  cursor:pointer;
  font-weight:700;
}
.insert-asset-link:hover { background:#f8fafc; }


/* Pipeline board */
/* Pipeline board polish v1.4.1 */
.pipeline-page-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:12px; }
.pipeline-page-head h1{ margin-bottom:4px; }
.pipeline-view-toggle{ display:inline-flex; gap:4px; background:#e2e8f0; border:1px solid rgba(15,23,42,.08); padding:4px; border-radius:999px; box-shadow:inset 0 1px 2px rgba(15,23,42,.04); }
.pipeline-view-toggle a{ text-decoration:none; font-size:.82rem; font-weight:800; color:#475569; padding:8px 12px; border-radius:999px; }
.pipeline-view-toggle a.active{ background:#fff; color:#0f172a; box-shadow:0 8px 20px rgba(15,23,42,.10); }
.pipeline-filters{ margin-bottom:12px; padding:12px; }
.pipeline-filter-grid{ display:grid; grid-template-columns:minmax(220px,.7fr) minmax(280px,1.1fr) auto; gap:12px; align-items:end; }
.pipeline-filter-actions{ display:flex; align-items:end; gap:8px; padding-bottom:1px; }
.pipeline-summary{ display:grid; grid-template-columns:repeat(7,minmax(92px,1fr)); gap:8px; margin:12px 0; }
.pipeline-summary div{ background:#fff; border:1px solid rgba(15,23,42,.08); border-radius:14px; padding:10px 11px; box-shadow:0 8px 20px rgba(15,23,42,.035); }
.pipeline-summary strong{ display:block; font-size:1.2rem; line-height:1.05; color:#0f172a; }
.pipeline-summary span{ display:block; color:#64748b; font-size:.74rem; margin-top:3px; font-weight:700; }
.pipeline-note{ margin:8px 0 12px; padding:10px 12px; border-radius:14px; background:#eef6ff; color:#31506f; border:1px solid rgba(59,130,246,.18); font-size:.86rem; }
.pipeline-board-shell{ width:100%; overflow-x:auto; overflow-y:hidden; padding:4px 0 18px; scrollbar-color:#cbd5e1 transparent; }
.pipeline-board{ display:flex; gap:14px; align-items:flex-start; min-width:max-content; padding:2px 2px 8px; }
.pipeline-column{ flex:0 0 318px; width:318px; background:#f8fafc; border:1px solid rgba(15,23,42,.08); border-radius:18px; min-height:420px; max-height:calc(100vh - 260px); display:flex; flex-direction:column; overflow:hidden; box-shadow:0 16px 45px rgba(15,23,42,.045); }
.pipeline-column header{ position:sticky; top:0; z-index:2; background:linear-gradient(#f8fafc,#f8fafc); padding:13px 13px 10px; border-bottom:1px solid rgba(15,23,42,.06); }
.pipeline-column h2{ font-size:.96rem; margin:0; display:flex; justify-content:space-between; gap:8px; align-items:center; letter-spacing:-.01em; }
.pipeline-column h2 span{ background:#e2e8f0; border-radius:999px; padding:2px 8px; min-width:28px; text-align:center; font-size:.76rem; color:#334155; }
.pipeline-column header p{ margin:5px 0 0; color:#64748b; font-size:.76rem; line-height:1.32; }
.pipeline-column-body{ overflow-y:auto; padding:10px 10px 13px; scrollbar-width:thin; }
.pipeline-empty{ color:#94a3b8; font-size:.84rem; border:1px dashed rgba(15,23,42,.16); border-radius:14px; padding:14px; background:#fff; }
.pipeline-card{ background:#fff; border:1px solid rgba(15,23,42,.095); border-radius:15px; padding:11px; margin:0 0 10px; box-shadow:0 9px 22px rgba(15,23,42,.045); }
.pipeline-card-top{ display:flex; justify-content:space-between; gap:8px; align-items:flex-start; }
.pipeline-card-top strong{ color:#0f172a; line-height:1.22; font-size:.94rem; letter-spacing:-.01em; }
.pipeline-card-top span{ color:#64748b; font-size:.76rem; white-space:nowrap; margin-top:1px; }
.pipeline-badges{ display:flex; flex-wrap:wrap; gap:5px; margin:8px 0; }
.pipeline-badges span,.pipeline-counts span{ display:inline-flex; border-radius:999px; background:#f1f5f9; color:#334155; padding:3px 7px; font-size:.70rem; font-weight:800; line-height:1.2; }
.pipeline-meta,.pipeline-next,.pipeline-date,.pipeline-last{ margin:6px 0; color:#475569; font-size:.79rem; line-height:1.34; }
.pipeline-meta{ color:#64748b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pipeline-next,.pipeline-last{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pipeline-date b,.pipeline-next b,.pipeline-last b{ color:#334155; }
.pipeline-counts{ display:flex; flex-wrap:wrap; gap:5px; margin-top:9px; }
.pipeline-actions{ display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.pipeline-actions .btn.small{ padding:5px 8px; font-size:.73rem; }
@media(max-width:1100px){ .pipeline-page-head{ flex-direction:column; } .pipeline-filter-grid{ grid-template-columns:1fr; } .pipeline-summary{ grid-template-columns:repeat(2,minmax(120px,1fr)); } .pipeline-column{ flex-basis:300px; width:300px; max-height:none; } }

/* v1.7 System admin backup/version manager */
.system-head{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;margin-bottom:22px}
.system-health-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:14px 16px;min-width:320px;display:flex;flex-direction:column;gap:6px;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.system-card h2,.system-section h2{margin:0 0 8px}
.system-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 8px}
.stack-form{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.stack-form input[type=file]{border:1px dashed #cbd5e1;border-radius:14px;padding:14px;background:#f8fafc}
.hint{font-size:13px;color:#64748b;margin-top:10px}.hint.warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:10px}
.system-section{margin-bottom:18px}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.table-wrap{overflow:auto}.clean-table{width:100%;border-collapse:collapse}.clean-table th,.clean-table td{border-bottom:1px solid #e5e7eb;padding:10px;text-align:left;vertical-align:top}.clean-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;background:#f8fafc}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.button.small,button.small{font-size:12px;padding:7px 10px;border-radius:10px}.danger-muted{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}.empty{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;padding:18px;border-radius:14px}
.release-list{display:flex;flex-direction:column;gap:12px}.release-card{border:1px solid #e5e7eb;border-radius:16px;padding:14px;background:#fff}.release-card.ok{border-color:#bbf7d0}.release-card.bad{border-color:#fecaca}.release-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.release-details{font-size:13px;color:#64748b;margin-top:8px;white-space:pre-wrap}.error-list{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:8px;margin-top:8px}.warning-list{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:8px;margin-top:8px}.pill.success{background:#dcfce7;color:#166534}.pill.danger{background:#fee2e2;color:#991b1b}
.version-list{display:flex;flex-direction:column;gap:8px}.version-row{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}
@media(max-width:900px){.system-head,.system-grid{display:block}.system-health-card{min-width:0;margin-top:14px}.system-card{margin-bottom:14px}.version-row{display:block}}

/* v1.7.1 System admin wording/structure cleanup */
.system-explainer{background:linear-gradient(180deg,#fff,#f8fafc)}
.system-explainer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.system-explainer-grid>div{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:14px}
.system-explainer-grid h2{margin:9px 0 8px}.system-explainer-grid p{margin:8px 0}.system-explainer-grid ul{margin:8px 0 0 18px;padding:0;color:#475467}.system-explainer code,.backup-file-key code{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:7px;padding:1px 5px}
.backup-file-key{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.backup-file-key span{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:7px 10px;color:#334155}
.system-release-card details{display:block}.system-release-card summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.system-release-card summary::-webkit-details-marker{display:none}.system-release-card summary strong{display:block;font-size:18px;margin-top:3px}.system-release-card details[open] summary{padding-bottom:14px;border-bottom:1px solid #e5e7eb;margin-bottom:14px}.system-release-card details:not([open]){min-height:116px;display:flex;align-items:center}.system-release-card details:not([open]) summary{width:100%}
.backup-type-pill{display:inline-block;border-radius:999px;padding:4px 8px;background:#eef2ff;color:#3730a3;font-weight:750;font-size:12px;text-transform:capitalize}.backup-type-pill.db{background:#ecfdf3;color:#027a48}.backup-type-pill.files{background:#eff6ff;color:#1d4ed8}
.system-restore-disabled{border-style:dashed;background:#fff7ed}
@media(max-width:900px){.system-explainer-grid{grid-template-columns:1fr}.system-release-card details:not([open]){min-height:0}}

/* v1.7.2 system control panel */
.version-card .version-big{font-size:24px;font-weight:900;line-height:1.1;color:#0f172a}.system-health-actions .inline-form{margin-top:14px}.health-summary{margin-top:14px;border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;border:1px solid #e5e7eb}.health-summary.ok{background:#ecfdf3;border-color:#bbf7d0}.health-summary.bad{background:#fef2f2;border-color:#fecaca}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.health-row{border:1px solid #e5e7eb;border-radius:14px;padding:11px 12px;display:flex;gap:10px;background:#fff;align-items:flex-start}.health-row.ok{border-color:#bbf7d0;background:#f7fef9}.health-row.bad{border-color:#fecaca;background:#fff7f7}.health-row small{display:block;color:#667085;margin-top:2px;white-space:pre-wrap;word-break:break-word}.health-dot{width:24px;height:24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;background:#e5e7eb}.health-row.ok .health-dot{background:#dcfce7;color:#166534}.health-row.bad .health-dot{background:#fee2e2;color:#991b1b}.backup-group-list{display:flex;flex-direction:column;gap:12px}.backup-group-card{border:1px solid #e5e7eb;border-radius:18px;padding:14px;background:#fff}.backup-group-card.stable{border-color:#bbf7d0;background:#fbfffc}.backup-group-main{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.backup-title-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.backup-downloads{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.backup-meta-editor{margin-top:12px;border-top:1px solid #eef2f7;padding-top:10px}.backup-meta-editor summary{cursor:pointer;color:#475467;font-weight:750}.compact-form textarea{min-height:70px}.system-note{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:9px 10px;color:#334155;margin:10px 0 0}.release-card.stable{box-shadow:inset 4px 0 0 #22c55e}.release-checklist{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.check-pill{font-size:12px;font-weight:750;border-radius:999px;padding:5px 8px;background:#f1f5f9;color:#334155}.check-pill.ok{background:#dcfce7;color:#166534}.check-pill.warn{background:#fef3c7;color:#92400e}.check-pill.bad{background:#fee2e2;color:#991b1b}.check-pill.info{background:#e0f2fe;color:#075985}.system-storage-strip{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.system-storage-strip span{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:8px 10px}.small-version-list{max-height:240px;overflow:auto}@media(max-width:900px){.health-grid{grid-template-columns:1fr}.backup-group-main{display:block}.backup-downloads{justify-content:flex-start;margin-top:12px}}

/* v1.7.3 system oversight */
.system-oversight-grid { align-items: stretch; }
.system-count-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap:10px; margin-top:12px; }
.system-count-grid.compact { grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); }
.system-count-tile { border:1px solid var(--border); background:#fff; border-radius:14px; padding:12px; min-height:70px; }
.system-count-tile strong { display:block; font-size:22px; line-height:1; color:var(--text); margin-bottom:6px; }
.system-count-tile span { display:block; color:var(--muted); font-size:12px; text-transform:capitalize; }
.mini-table { margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.mini-table > div { display:flex; justify-content:space-between; gap:10px; border-top:1px solid var(--border); padding-top:8px; }
.mini-table span { font-weight:650; }
.mini-table small { color:var(--muted); }
.audit-mini-list { margin-top:12px; display:flex; flex-direction:column; gap:8px; max-height:280px; overflow:auto; padding-right:4px; }
.audit-mini-row { border:1px solid var(--border); border-radius:12px; padding:10px; background:#fff; }
.audit-mini-row span { display:block; font-size:13px; }
.audit-mini-row small { color:var(--muted); }
.mini-health { margin-top:10px; }
.integrity-grid { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }
.system-note.warning { border-color:#f3d29b; background:#fff8e8; }

/* v1.8 Safe release deployer */
.deploy-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 14px;
  background: rgba(248,250,252,.75);
}
.deploy-box summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hint.danger {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 8px 10px;
}

/* v1.8.1 Migration tracker */
.migration-list .version-row { align-items: flex-start; }
.migration-row.pending { border-color:#fde68a; background:#fffbeb; }
.migration-row.applied { border-color:#bbf7d0; background:#f7fef9; }
.migration-row code { display:block; margin-bottom:3px; }
.migration-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.tiny-confirm { display:inline-flex; align-items:center; gap:4px; font-size:12px; color:#475467; white-space:nowrap; }
@media(max-width:900px){ .migration-actions{justify-content:flex-start;margin-top:8px;} }

/* v2.0 Fast Call Mode / Auto-Next Dialler */
.fast-run-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 18px;padding:14px 16px;border:1px solid #dbeafe;background:#eff6ff;border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.fast-run-panel strong{display:block;color:#0f172a;font-size:15px;margin-bottom:3px}.fast-run-panel span{display:block;color:#475569;font-size:13px}.fast-run-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-form{display:inline-flex;margin:0}.fast-call-top-actions{gap:8px;align-items:center;flex-wrap:wrap}.fast-call-top-actions form.inline-form button{white-space:nowrap}
@media(max-width:760px){.fast-run-panel{align-items:flex-start;flex-direction:column}.fast-run-actions{width:100%}.fast-run-actions .fast-btn{flex:1;text-align:center}}

/* v2.0.2 build log / handoff tracker */
.handoff-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
}
.handoff-chip a { font-weight: 700; }
.build-log-list .version-row,
.build-log-row {
  align-items: flex-start;
  gap: 12px;
}
.build-log-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.build-log-row small { display:block; margin-top: 3px; }
@media (max-width: 800px) {
  .build-log-actions { justify-content: flex-start; }
}

/* Campaign Planner / vertical picker v2.1 */
.planner-hero{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:18px;background:linear-gradient(135deg,#fff,#f8fafc)}
.planner-hero h2{font-size:28px;line-height:1.05;letter-spacing:-.045em;margin:0 0 8px;max-width:680px}
.planner-hero p{max-width:760px;line-height:1.5}
.planner-hero-rule{max-width:320px;border:1px solid #e4e7ec;background:#f9fafb;border-radius:14px;padding:13px;color:#475467;font-weight:700;line-height:1.45}
.planner-create-card{align-self:start}
.planner-section{border:1px solid #eaecf0;background:#fff;border-radius:16px;padding:16px;margin:14px 0}
.planner-section-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.planner-section-head>span{display:flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:999px;background:#111827;color:#fff;font-weight:900;font-size:13px}
.planner-section-head h3{margin:0 0 2px;font-size:18px;letter-spacing:-.025em}
.planner-section-head p{margin:0;color:#667085;font-size:13px;line-height:1.45}
.planner-actions{margin:8px 0 12px;align-items:center}
.planner-output{border:1px solid #fedf89;background:#fffcf5;color:#7a5b11;border-radius:12px;padding:10px 12px;margin:10px 0 13px;line-height:1.45}
.planner-verticals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.planner-vertical-card{border:1px solid #eaecf0;background:#fff;border-radius:14px;padding:13px;box-shadow:0 1px 2px rgba(16,24,40,.035)}
.planner-vertical-card.active{border-color:#111827;box-shadow:0 8px 18px rgba(17,24,39,.08)}
.planner-vertical-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}
.planner-vertical-head strong{font-size:15px;letter-spacing:-.01em}
.planner-vertical-head span{border-radius:999px;background:#f2f4f7;color:#344054;padding:4px 8px;font-size:12px;font-weight:850;white-space:nowrap}
.planner-vertical-card p{margin:6px 0;color:#475467;font-size:13px;line-height:1.42}
.planner-vertical-card button{margin-top:8px}
.planner-advanced{border:1px solid #eaecf0;border-radius:16px;background:#fff;padding:12px 14px;margin:14px 0}
.planner-advanced summary{cursor:pointer;font-weight:850;color:#101828;list-style:none}
.planner-advanced summary::-webkit-details-marker{display:none}
.note{border:1px solid #fedf89;background:#fffcf5;color:#7a5b11;border-radius:12px;padding:10px 12px;line-height:1.45}
.eyebrow{display:block;color:#667085;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
@media(max-width:1000px){.planner-hero{flex-direction:column}.planner-hero-rule{max-width:none}.planner-verticals{grid-template-columns:1fr}}

/* Campaign planner wizard v2.1.1 */
.planner-hero-clean { display:flex; justify-content:space-between; gap:22px; align-items:flex-start; margin-bottom:18px; }
.planner-hero-clean h2 { margin:0 0 8px; font-size:32px; letter-spacing:-0.04em; line-height:1.05; }
.planner-hero-clean p { max-width:760px; }
.planner-hero-rule { max-width:320px; padding:14px; border-radius:14px; background:#fff7df; border:1px solid #f1dc98; color:#6b5414; font-size:14px; }
.campaign-wizard { max-width:920px; margin:0 auto; }
.wizard-shell { padding:24px; }
.wizard-progress { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid var(--line, #e5e7eb); }
.wizard-step-pill { border:1px solid var(--line, #e5e7eb); background:#fff; border-radius:999px; padding:8px 12px; font-weight:800; color:var(--muted, #64748b); cursor:pointer; }
.wizard-step-pill.active { background:#111827; color:#fff; border-color:#111827; }
.wizard-step { display:none; }
.wizard-step.active { display:block; }
.wizard-step h2 { margin:0 0 8px; font-size:28px; letter-spacing:-0.04em; }
.wizard-step .muted { margin-bottom:18px; }
.wizard-actions { display:flex; justify-content:space-between; gap:12px; margin-top:24px; padding-top:18px; border-top:1px solid var(--line, #e5e7eb); }
.left-actions { justify-content:flex-start; align-items:center; }
.field-error { border-color:#dc2626 !important; box-shadow:0 0 0 4px rgba(220,38,38,.12); }
.gpt-verticals { display:grid; grid-template-columns:1fr; gap:12px; margin-top:16px; }
.vertical-card { display:block; width:100%; text-align:left; border:1px solid var(--line, #e5e7eb); background:#fff; border-radius:16px; padding:16px; cursor:pointer; transition:.15s ease; color:inherit; font:inherit; white-space:normal; line-height:1.45; }
.vertical-card:hover, .vertical-card.active { border-color:#111827; box-shadow:0 10px 24px rgba(15,23,42,.08); transform:translateY(-1px); }
.vertical-card-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; margin-bottom:10px; }
.vertical-card-head strong { font-size:17px; line-height:1.25; }
.vertical-card-head span { white-space:nowrap; background:#f1f5f9; border-radius:999px; padding:4px 9px; font-size:12px; font-weight:800; }
.vertical-card p { display:block; margin:8px 0 0; color:#475569; font-size:14px; line-height:1.48; }
.vertical-card p strong { color:#111827; }
.empty-state { padding:18px; border:1px dashed var(--line, #e5e7eb); border-radius:14px; color:var(--muted, #64748b); background:#f8fafc; }
.empty-state.error { color:#991b1b; background:#fff1f2; border-color:#fecdd3; }
.planner-output { margin-top:14px; padding:14px; background:#f8fafc; border:1px solid var(--line, #e5e7eb); border-radius:14px; color:#475569; }
.recipe-list, .review-list { display:grid; gap:0; border:1px solid var(--line, #e5e7eb); border-radius:16px; overflow:hidden; background:#fff; }
.recipe-list > div, .review-list > div { display:grid; grid-template-columns:180px 1fr; gap:14px; padding:13px 15px; border-bottom:1px solid var(--line, #e5e7eb); }
.recipe-list > div:last-child, .review-list > div:last-child { border-bottom:0; }
.recipe-list strong, .review-list span { color:#64748b; font-size:13px; }
.recipe-list span, .review-list strong { color:#111827; white-space:pre-wrap; }
.light-script { background:#111827; color:#fff; }
.light-script ul { margin:4px 0 14px 18px; color:#d8dee8; }
.light-script li { margin:4px 0; }
.light-script p { color:#d8dee8; }
.light-script strong { color:#fff; }
@media (max-width: 820px) {
  .planner-hero-clean { flex-direction:column; }
  .planner-hero-rule { max-width:none; }
  .recipe-list > div, .review-list > div { grid-template-columns:1fr; gap:4px; }
}

.apollo-sections { display:grid; gap:16px; }
.recipe-section { display:grid; gap:8px; }
.recipe-section h3 { margin:0; font-size:17px; letter-spacing:-0.02em; }
.recipe-section .muted { margin:0 0 4px; }
.copy-block { white-space:pre-wrap; background:#0f172a; color:#e5e7eb; border-radius:14px; padding:16px; overflow:auto; font-size:13px; line-height:1.5; }

/* v2.2 company-first import/enrichment helper */
.metric-row.mini-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 16px}
.metric-row.mini-metrics span{display:inline-flex;gap:6px;align-items:center;border:1px solid var(--border,#e5e7eb);background:#f8fafc;border-radius:999px;padding:8px 10px;font-size:13px;color:#475569}
.metric-row.mini-metrics strong{color:#111827}

/* v2.2.1 enrichment-process campaign planner */
.enrichment-options{display:grid;gap:10px;margin-top:14px}
.option-card{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:14px;padding:13px;cursor:pointer}
.option-card input{width:auto;margin-top:3px}
.option-card span{display:grid;gap:3px}
.option-card strong{font-size:14px;color:#111827}
.option-card em{font-style:normal;color:#64748b;font-size:13px;line-height:1.42}
.enrichment-summary{margin-top:14px}
.next-route-card{border:1px solid #fedf89;background:#fffcf5;color:#6b5414;border-radius:14px;padding:15px;margin:16px 0}
.next-route-card h3{margin:0 0 8px;font-size:16px;color:#111827}
.next-route-card ol{margin:0;padding-left:20px;color:#6b5414}
.next-route-card li{margin:4px 0}

/* v2.2.3 smarter vertical brain */
.vertical-card-rich p{margin:8px 0;line-height:1.35}
.custom-enrichment-option{display:block;margin-top:14px}
.custom-enrichment-option textarea{min-height:86px}

/* v2.2.6 planner polish */
.copy-block.copy-textarea{
  width:100%;
  min-height:340px;
  background:#fff;
  color:#111827;
  border:1px solid var(--line,#e5e7eb);
  border-radius:14px;
  padding:14px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:13px;
  line-height:1.5;
  white-space:pre-wrap;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.04);
}
.apollo-found-panel{margin-top:16px;display:grid;gap:12px;border:1px solid var(--line,#e5e7eb);background:#f8fafc;border-radius:14px;padding:14px}
.playbook-fields{display:grid;gap:12px;margin-top:16px;border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:16px;padding:16px}
.playbook-fields textarea{min-height:76px}
.playbook-fields .muted{margin:0 0 2px}
.custom-enrichment-builder{border:1px solid var(--line,#e5e7eb);background:#f8fafc;border-radius:14px;padding:14px}
.custom-enrichment-builder label{margin:0}
.custom-enrichment-builder button{margin-top:10px}
.custom-enrichment-list{margin-top:12px}
.custom-option-card{background:#fff}

/* v2.2.8 import-data flow polish */
.campaign-wizard{max-width:980px}
.wizard-shell{padding:26px;background:#fff}
.wizard-progress{position:sticky;top:0;z-index:2;background:#fff;padding-top:4px}
.wizard-step-pill{font-size:13px;padding:8px 11px}
.import-step-card{border:1px solid var(--line,#e5e7eb);background:#f8fafc;border-radius:16px;padding:16px;margin-top:14px;display:grid;gap:14px}
.import-guidance{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:14px;padding:13px;color:#475569;font-size:14px}
.import-guidance strong{display:block;color:#111827;margin-bottom:4px}
.import-guidance p{margin:0}
.import-preview-panel{margin-top:2px}
.import-split-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.import-split-grid>div{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:14px;padding:14px;display:grid;gap:3px}
.import-split-grid strong{font-size:24px;color:#111827;letter-spacing:-.04em}
.import-split-grid span{font-size:13px;color:#64748b;line-height:1.35}
.custom-option-card{align-items:flex-start}
.custom-option-card span{width:100%;grid-template-columns:1fr;gap:8px}
.custom-option-card label{font-size:12px;color:#64748b;margin:0;display:grid;gap:4px}
.custom-option-card input[type="text"]{font-size:14px;padding:9px 10px;background:#fff}
.playbook-preview .script-box{display:none}
.review-panel{margin-bottom:14px}
@media(max-width:820px){.import-split-grid{grid-template-columns:1fr 1fr}.wizard-progress{position:static}}

/* v2.2.9 review/import enrichment workflow */
.explain-board{margin:14px 0 16px}
.process-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.import-process-board{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:4px}
.process-card{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:16px;padding:15px;display:grid;gap:5px;align-content:start;min-height:112px}
.process-card strong{font-size:22px;color:#111827;letter-spacing:-.04em;line-height:1.1}
.explain-board .process-card strong{font-size:16px;letter-spacing:-.02em}
.process-card span{font-weight:850;color:#111827;font-size:14px;line-height:1.25}
.process-card em{font-style:normal;color:#64748b;font-size:13px;line-height:1.35}
.wizard-step[data-step="7"] .review-panel{margin-top:16px}
@media(max-width:900px){.import-process-board{grid-template-columns:1fr 1fr}.process-board{grid-template-columns:1fr}}
@media(max-width:560px){.import-process-board{grid-template-columns:1fr}}

/* v2.3 campaign workspace + enrichment board */
.workspace-page,.enrichment-page,.buyer-page{display:grid;gap:18px}
.workspace-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:24px}
.workspace-hero h1{margin:.15rem 0 .5rem;max-width:900px}
.workspace-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:260px}
.workspace-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.workspace-stat{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line,#e2e6ea);border-radius:16px;padding:14px 16px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.workspace-stat span{display:block;color:var(--muted,#67717e);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.workspace-stat strong{display:block;font-size:28px;line-height:1.1;margin-top:6px;color:var(--ink,#17202a)}
.workspace-stat.warn strong{color:#9a5b00}.workspace-stat.due strong{color:#155e75}.workspace-stat.hot strong{color:#166534}
.process-board.compact{grid-template-columns:1fr 1fr;margin-top:14px}
.workspace-board-preview{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:12px;overflow:auto;padding-bottom:4px}
.workspace-board-column{background:#f8fafc;border:1px solid var(--line,#e2e6ea);border-radius:14px;padding:12px;min-width:210px}
.workspace-board-column h3{margin:.15rem 0 .35rem;font-size:15px}
.mini-lead-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line,#e2e6ea);border-radius:12px;padding:10px;margin:8px 0}
.mini-lead-card strong{display:block;font-size:13px}.mini-lead-card span{display:block;color:var(--muted,#67717e);font-size:12px;margin-top:4px}
.soft-pre{white-space:pre-wrap;background:#f8fafc;border:1px solid var(--line,#e2e6ea);border-radius:12px;padding:12px;max-height:420px;overflow:auto;font-family:inherit;font-size:13px;color:var(--ink,#17202a)}
.enrichment-board{display:grid;grid-template-columns:repeat(5,minmax(250px,1fr));gap:12px;align-items:start;overflow-x:auto;padding-bottom:6px}
.enrichment-column{background:#f8fafc;border:1px solid var(--line,#e2e6ea);border-radius:16px;padding:12px;min-width:250px;max-height:calc(100vh - 210px);overflow:auto}
.enrichment-column-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.enrichment-column-head h2{font-size:15px;margin:0}.enrichment-column-head strong{background:#fff;border:1px solid var(--line,#e2e6ea);border-radius:999px;padding:3px 8px;font-size:12px}
.enrichment-card{background:#fff;border:1px solid var(--line,#e2e6ea);border-radius:14px;padding:12px;margin:10px 0;box-shadow:0 8px 18px rgba(15,23,42,.035)}
.enrichment-card p{margin:.35rem 0;color:var(--muted,#67717e);font-size:13px}.enrichment-card .lead-title{font-weight:800;text-decoration:none;color:var(--ink,#17202a)}
.enrichment-action-form{margin-top:8px}.enrichment-inline-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.small-btn.danger{color:#991b1b;border-color:#fecaca;background:#fff5f5}.small-text{font-size:12px}.raw-import-details{margin-top:10px}.raw-import-details pre{white-space:pre-wrap;background:#f8fafc;border:1px solid var(--line,#e2e6ea);border-radius:12px;padding:12px;max-height:220px;overflow:auto;font-size:12px}.enrichment-note-block{background:#fffdf1;border:1px solid #f4df91;border-radius:12px;padding:12px}.enrichment-note-block ul{margin:.4rem 0 .6rem 1.2rem;color:#6b5414}.enrichment-note-block p{color:#6b5414}
@media (max-width:1100px){.workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-hero{display:block}.workspace-actions{justify-content:flex-start;margin-top:12px}.workspace-board-preview,.enrichment-board{grid-template-columns:1fr;overflow:visible}.enrichment-column{max-height:none}.process-board.compact{grid-template-columns:1fr}}

/* v2.3.1 workspace/admin UX cleanup */
.workspace-tabs{display:flex;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--line,#e2e6ea);border-radius:16px;padding:8px;box-shadow:0 8px 20px rgba(15,23,42,.035)}
.workspace-tab{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:12px;text-decoration:none;color:#334155;font-weight:800;font-size:14px}
.workspace-tab.active{background:#0f172a;color:#fff}
.workspace-stats.numbers-first{grid-template-columns:repeat(7,minmax(0,1fr))}
.workspace-stat.danger strong{color:#991b1b}.workspace-stat.muted-card strong{color:#64748b}.workspace-stat.muted-card{background:#f8fafc}
.compact-pre{max-height:260px}.detail-block p{overflow-wrap:anywhere}
.enrichment-stage-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.enrichment-summary-card{display:grid;gap:6px;background:#fff;border:1px solid var(--line,#e2e6ea);border-radius:16px;padding:16px;text-decoration:none;color:inherit;box-shadow:0 8px 20px rgba(15,23,42,.035)}
.enrichment-summary-card.active{border-color:#0f172a;box-shadow:0 0 0 2px rgba(15,23,42,.06)}
.enrichment-summary-card span{font-size:13px;font-weight:850;color:#334155}.enrichment-summary-card strong{font-size:34px;letter-spacing:-.05em;line-height:1;color:#0f172a}.enrichment-summary-card small{font-size:12px;line-height:1.35;color:#64748b}
.enrichment-list-table-wrap{overflow:auto}.enrichment-list-table th,.enrichment-list-table td{vertical-align:top}.enrichment-list-table td:last-child{min-width:260px}
.system-summary-hidden{border-style:dashed}.backup-file-names{display:grid;gap:3px;margin-top:6px}.backup-file-names code{display:block;white-space:normal;overflow-wrap:anywhere;background:#f8fafc;border:1px solid var(--line,#e2e6ea);border-radius:8px;padding:5px 7px;color:#334155;font-size:12px}
@media(max-width:1200px){.workspace-stats.numbers-first,.enrichment-stage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.workspace-stats.numbers-first,.enrichment-stage-summary{grid-template-columns:1fr}.workspace-tab{width:100%}}

/* v2.3.2 coherent account/workspace flow */
.workspace-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dashboard-card .ops-card-head{margin-bottom:8px}.mini-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mini-stat-grid.wide{grid-template-columns:repeat(5,minmax(0,1fr))}.mini-stat-grid a,.mini-stat-grid span{display:block;text-decoration:none;color:inherit;border:1px solid var(--line,#e2e6ea);background:#f8fafc;border-radius:14px;padding:12px}.mini-stat-grid a span,.mini-stat-grid span em{display:block;font-style:normal;color:#64748b;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.mini-stat-grid a strong,.mini-stat-grid span strong{display:block;color:#0f172a;font-size:26px;line-height:1;margin-top:6px;letter-spacing:-.04em}.legacy-note summary,.admin-actions-details summary{cursor:pointer;font-weight:850}.admin-actions-details{margin-top:14px;border:1px dashed var(--line,#e2e6ea);border-radius:14px;padding:12px;background:#f8fafc}.mini-record-list{display:grid;gap:8px}.account-view-page .mini-record,.mini-record-list .mini-record{display:block;text-decoration:none;color:inherit;border:1px solid var(--line,#e2e6ea);border-radius:12px;padding:10px;background:#fff;margin:6px 0}.account-view-page .mini-record strong,.mini-record-list .mini-record strong{display:block}.account-view-page .mini-record span,.mini-record-list .mini-record span{display:block;color:#64748b;font-size:13px;margin-top:4px}.accounts-campaign-table td{vertical-align:top}.enrichment-call-page{display:grid;gap:16px}.compact-summary .enrichment-summary-card{padding:12px}.compact-summary .enrichment-summary-card strong{font-size:24px}.enrichment-caller-card .playbook-fields textarea{min-height:110px}.enrichment-flow-board .process-card strong{font-size:28px}.topbar a[href="/buyers"]::after{content:""}
@media(max-width:1000px){.workspace-dashboard-grid{grid-template-columns:1fr}.mini-stat-grid,.mini-stat-grid.wide{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.mini-stat-grid,.mini-stat-grid.wide{grid-template-columns:1fr}}

/* v2.4.1 enrichment checklist + call mode cleanup */
.call-picker-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.call-picker-form label{min-width:180px;margin:0;font-size:12px;color:#475467;font-weight:700}
.call-picker-form select{min-width:180px}
.call-picker-form.roomy{margin-top:16px}
.enrichment-work-order-form{border:1px solid #e5e7eb;border-radius:16px;padding:14px;background:#f9fafb;margin-bottom:14px}
.enrichment-work-order-form h3{margin:0 0 4px;font-size:16px}
.enrichment-check-row{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin-top:10px}
.enrichment-check-title{display:flex;align-items:center;gap:10px;margin:0;color:#111827;font-size:14px}
.enrichment-check-title input{width:auto}
.enrichment-check-title span{margin-left:auto;border:1px solid #e5e7eb;border-radius:999px;padding:3px 8px;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.enrichment-check-row p{margin:8px 0;color:#667085;font-size:13px}
.enrichment-check-row textarea{margin-top:8px;min-height:70px}
.enrichment-final-decisions{margin-top:12px}
.fast-extra-fields.enrichment-fields{display:block}
.fast-extra-fields.enrichment-fields .field{display:block}
.fast-extra-fields.enrichment-fields .field-callback{display:none!important}
.enrichment-summary-panel pre{white-space:pre-wrap;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:12px;color:#344054;font:inherit}

/* v2.4.2 QA call workflow polish */
.call-console-top { align-items:flex-start; gap:24px; }
.call-console-top .call-picker-form { display:grid; grid-template-columns:minmax(180px,280px) minmax(260px,1fr) minmax(180px,260px) auto; gap:10px; align-items:end; }
.record-head-actions { display:flex; gap:8px; align-items:center; justify-content:flex-end; flex-wrap:wrap; margin-left:auto; }
.call-start-page { max-width:980px; margin:24px auto; display:grid; gap:18px; }
.call-start-copy h1 { margin:0 0 8px; }
.call-empty-card .call-picker-form.roomy { display:grid; grid-template-columns:minmax(180px,1fr) minmax(260px,2fr) minmax(180px,1fr) auto; gap:12px; align-items:end; }
.call-empty-help { margin-top:18px; display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 960px) {
  .call-console-top .call-picker-form,
  .call-empty-card .call-picker-form.roomy { grid-template-columns:1fr; }
  .record-head-actions { justify-content:flex-start; margin-left:0; }
}
.inline-details { display:inline-block; margin-left:6px; vertical-align:top; }
.inline-details summary { cursor:pointer; list-style:none; }
.inline-details summary::-webkit-details-marker { display:none; }
.inline-details form { margin-top:8px; min-width:180px; }

/* v2.4.4 final QA coherence cleanup */
.internal-test-details { margin-top: 10px; border: 1px dashed #d9e1ea; border-radius: 12px; padding: 10px 12px; background: #f8fafc; }
.internal-test-details summary { cursor: pointer; font-weight: 700; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; align-items: start; }
.report-preview-card .reportbox { min-height: 620px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.report-side-metrics { display: grid; gap: 14px; }
.metric-list { display: grid; gap: 8px; }
.metric-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #edf1f6; }
.metric-list span { color: #64748b; }
.metric-list strong { color: #0f172a; }
.admin-tools-shortcuts .actions { flex-wrap: wrap; }
.calm-dashboard .mini-stat-grid a[href="#"] { cursor: default; }
.enrichment-captured-panel { border: 1px solid #dbeafe; background: #f8fbff; border-radius: 16px; padding: 14px; margin-bottom: 16px; }
.enrichment-captured-panel h3 { margin-top: 0; }
.fast-extra-grid.always-visible { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.fast-phone-block.missing-phone { border-color: #fed7aa; background: #fff7ed; }
.fast-phone-block.missing-phone strong { color: #9a3412; }
.inline-edit-form textarea { min-height: 110px; }
.pipeline-head .actions { justify-content: flex-end; }
@media (max-width: 980px) {
  .report-layout { grid-template-columns: 1fr; }
  .fast-extra-grid.always-visible { grid-template-columns: 1fr; }
}
