:root{--ink:#173433;--muted:#788786;--teal:#148b7d;--teal-light:#e5f4ee;--bg:#f5f7f5;--line:#e4ebe6;--sidebar:#102f2e;--gold:#c5a35d;--red:#ad4848}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 'Segoe UI',Arial,sans-serif}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;background:var(--teal);border:1px solid var(--teal);color:white;border-radius:8px;padding:11px 18px;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}button:hover,.button:hover{filter:brightness(.96);text-decoration:none}button.secondary,.button.secondary{background:var(--surface,#ffffff);border-color:#d9e3dd;color:var(--ink)}button.small,.button.small{padding:8px 13px;font-size:12px}.button.tiny{padding:6px 9px;font-size:12px}input,select,textarea{width:100%;border:1px solid #dbe4dd;border-radius:7px;padding:10px 12px;background:var(--surface,#ffffff);color:var(--ink);min-height:41px}input:focus,select:focus,textarea:focus{border-color:var(--teal)}input[type=file]{padding:9px;font-size:12px}label{display:block;font-size:12px;font-weight:600;color:#506561;margin-bottom:15px}label input,label select,label textarea{margin-top:6px;font-size:14px;font-weight:400}textarea{resize:vertical;min-height:85px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.9px;margin-bottom:10px;font-weight:650}h2{font-size:17px;letter-spacing:-.3px;margin-bottom:8px}h3{font-size:16px}p{color:#70817c;margin-bottom:18px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--teal);margin-bottom:12px}.small{font-size:12px}.muted{color:var(--muted)}.strong{font-weight:650;color:var(--ink)}.teal{color:var(--teal)}.sidebar{width:232px;background:var(--sidebar);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 16px 16px;color:#c0d2ce;z-index:5;overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;color:white;font-size:17px;font-weight:650;letter-spacing:1px;padding:0 12px 35px;text-decoration:none}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#9ab6af;margin-top:2px}.brandmark{display:inline-flex;align-items:center;justify-content:center;width:37px;height:41px;flex-shrink:0;background:#daf0df;color:#204b3c;border-radius:7px;font:italic 29px Georgia,serif}.nav-label{font-size:9px;letter-spacing:1.8px;color:#759a91;margin:12px 16px}.sidebar nav a{display:flex;align-items:center;gap:12px;color:#b8cec7;padding:12px 15px;border-radius:7px;margin:3px 0;font-size:12px}.sidebar nav a>span{font-size:18px;width:18px;text-align:center}.sidebar nav a:hover,.sidebar nav a.active{background:#244c45;color:#effaee;text-decoration:none}.sidebar nav a.active{border-left:3px solid #acd4a9;padding-left:12px}.nav-count{margin-left:auto;background:#497567;border-radius:4px;padding:0 5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:50px}.workspace-note{font-size:10px;color:#a0bdb3;padding:12px;border:1px solid #305048;border-radius:8px}.workspace-note small{display:block;font-size:9px;color:#71958a;margin-top:5px}.status-dot{display:inline-block;width:5px;height:5px;background:#91c798;border-radius:100%;margin-right:4px}.profile{display:flex;gap:10px;align-items:center;color:#d1e2dc;font-size:12px;padding:22px 6px 9px}.profile small{display:block;font-size:10px;color:#91aca3}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#e8f0e8;color:#437056;border-radius:50%;width:29px;height:29px;flex-shrink:0;font-size:12px;font-weight:600}.profile .avatar{width:34px;height:34px;background:#305a4e;color:#c9e6ce}.signout{padding:4px 8px;background:transparent;border:none;color:#86a89b;font-size:11px}.main-shell{margin-left:232px}.topbar{height:77px;border-bottom:1px solid var(--line);background:var(--surface,#ffffff);display:flex;align-items:center;justify-content:space-between;padding:0 35px;font-size:12px}.breadcrumb{color:#93a19a}.top-actions{display:flex;align-items:center;gap:20px}.today{color:#829089;font-size:11px}.due-link{color:#596e63;border-left:1px solid var(--line);padding-left:18px}.content{max-width:1780px;margin:auto;padding:32px 35px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-heading p:last-child{margin-bottom:0;font-size:12px}.filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:25px;border:1px solid var(--line);background:var(--surface,#ffffff);padding:15px;border-radius:10px}.filters label{margin-bottom:0;min-width:115px}.filters input,.filters select{height:38px;min-height:38px;font-size:12px;padding:8px 10px}.filters button{height:38px;font-size:12px;padding:8px 18px}.filters .grow{flex:1;min-width:220px}.filter-hint{font-size:10px;color:var(--muted);padding-bottom:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr) 1.5fr;gap:14px;margin-bottom:22px}.stat{background:var(--surface,#ffffff);border:1px solid var(--line);padding:20px;border-radius:10px;min-width:0}.stat>span{font-size:11px;color:#6f8178;display:flex;justify-content:space-between;gap:5px}.stat i{font-size:14px;font-style:normal;color:#88a193}.stat strong{display:block;font-size:29px;letter-spacing:-1px;margin:10px 0 5px}.stat small{display:block;font-size:10px;color:#89988e}.stat.featured{background:#163e33;border-color:#163e33;color:#fff}.stat.featured>span,.stat.featured small,.stat.featured i{color:#b3cdbd}.stat.featured strong{font-size:27px}.grid{display:grid;gap:22px}.two{grid-template-columns:1fr 1fr}.chart-wide{grid-template-columns:1.4fr 1fr}.card{border:1px solid var(--line);border-radius:11px;background:var(--surface,#ffffff);padding:24px;margin-bottom:22px;min-width:0}.grid>.card{margin-bottom:0}.grid{margin-bottom:22px}.card p{font-size:12px}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}.card-heading h2{margin-bottom:4px}.card-heading p{font-size:11px;margin-bottom:0}.card-heading>strong{font-size:16px;white-space:nowrap}.badge{font-size:10px;background:#f1f5f0;border:1px solid #e7eee6;padding:4px 9px;border-radius:5px;white-space:nowrap;display:inline-block;color:#6a7e6b}.badge.green{color:#277950;background:#edf6e9;border-color:#e3efde}.donut-layout{display:flex;align-items:center;gap:22px;min-height:185px}.donut{width:185px;flex-shrink:0}.donut svg{width:100%;display:block}.donut svg text{font-family:inherit;fill:var(--ink)}.legend{flex:1;min-width:0}.legend-row{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;padding:6px 0}.legend-label{display:flex;align-items:center;gap:8px}.swatch{width:8px;height:8px;border-radius:2px;display:inline-block;flex-shrink:0}.legend-row strong{font-size:11px}.legend-row small{font-size:9px;color:#93a094}.chart-box{min-height:230px}.chart-box svg{width:100%;height:230px;display:block;overflow:visible}.chart-box text{font-family:inherit;fill:#8a9b90;font-size:11px}.bar-chart{min-height:230px;max-height:290px;overflow:auto}.bar-row{margin-bottom:18px}.bar-row header{display:flex;justify-content:space-between;font-size:11px;margin-bottom:6px;gap:10px}.bar-track{height:8px;background:#eff4ed;border-radius:5px;overflow:hidden}.bar-track i{display:block;height:100%;background:#56a58b;border-radius:5px}.pipeline{display:grid;grid-template-columns:repeat(8,1fr);gap:9px}.pipeline a{padding:13px;background:#f6f8f4;border:1px solid #eaf0e7;border-radius:7px;color:var(--ink);position:relative}.pipeline a:hover{text-decoration:none;background:#eaf4e7}.pipeline small{display:block;font-size:9px;color:#93a88d}.pipeline strong{display:block;font-size:24px;margin:4px 0}.pipeline span{font-size:10px;line-height:1.4;display:block;color:#708169}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:#7f9083;background:#f7f9f5;font-size:10px;font-weight:600;white-space:nowrap;padding:13px 15px;border-bottom:1px solid var(--line)}td{border-bottom:1px solid #eef2eb;padding:15px;vertical-align:middle;white-space:nowrap}td small{display:block;font-size:10px;color:#8a9b8c;margin-top:4px}tr:last-child td{border-bottom:none}.person{display:flex;gap:9px;align-items:center;color:var(--ink);font-weight:500}.money{color:#348b65;font-weight:600}.flush{padding:0;overflow:hidden}.contact-links{display:flex;gap:10px;margin-top:5px;font-size:10px}.wrap{white-space:normal;min-width:240px}.notes-cell{max-width:480px}.overdue{color:#bc7547}.pagination{display:flex;justify-content:flex-end;gap:20px;margin:20px 0;font-size:12px}.pagination span{color:var(--muted);margin-right:auto}.empty{text-align:center;padding:48px 20px;color:#83968a;white-space:normal}.empty h3{color:#476650;margin-bottom:7px}.empty p{font-size:12px}.empty.compact{padding:25px}.notice{padding:14px 18px;border:1px solid #cce3d4;background:#eaf5ec;border-radius:8px;color:#38714a;margin-bottom:22px;font-size:13px}.notice.error{background:#fff0ed;border-color:#efcfc6;color:#a54839}.form-card{max-width:1050px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.form-card h2{margin-bottom:20px}.field-note{padding-top:25px;color:#718774;font-size:12px}.field-note small{display:block;margin-top:8px;font-size:10px}.sale-fields{background:#edf7ed;border:1px solid #d6e8d2;border-radius:8px;padding:20px;margin:20px 0}.sale-fields[hidden]{display:none}.sale-fields h2{margin-bottom:6px}.more-details{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.more-details summary{cursor:pointer;font-size:14px;font-weight:600;margin-bottom:20px}.more-details summary span{font-size:10px;color:#96a491;font-weight:400;margin-left:12px}.form-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.detail-grid{grid-template-columns:1fr 1.1fr}.contact-hero{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:18px 0}.contact-hero strong{font-size:19px}.actions{display:flex;gap:10px;flex-wrap:wrap}.facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.facts dt{font-size:10px;color:#8a9a8b}.facts dd{font-size:12px;margin:3px 0 0;overflow-wrap:anywhere}.note-text{border-top:1px solid var(--line);padding-top:15px;font-size:12px;color:#6f816e}.sale-summary{background:#163e33;color:white}.sale-summary p,.sale-summary .eyebrow{color:#b0d0b3}.sale-value{font-size:30px;display:block;margin:10px 0}.timeline article{border-left:1px solid #dbe7da;padding:0 0 25px 22px;position:relative}.timeline article:last-child{padding-bottom:0}.timeline-dot{width:9px;height:9px;background:#85b88c;border:2px solid white;border-radius:100%;position:absolute;left:-5px;top:5px}.timeline-head{display:flex;justify-content:space-between;gap:10px}.timeline-head b{font-size:12px}.timeline time{font-size:10px;color:#90a18e}.timeline p{margin:12px 0 6px;color:#536a55;overflow-wrap:anywhere}.timeline small{font-size:10px;color:#8a9f88}.file-item{padding:13px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:12px}.file-item a{overflow-wrap:anywhere}.file-item small{display:block;font-size:10px;color:#8d9c88;margin-top:5px}.file-item form{flex-shrink:0}.text-button{background:transparent;border:none;padding:3px;font-size:11px}.danger{color:var(--red)}.danger-button{background:var(--red);border-color:var(--red)}.upload-form{padding-top:20px}.check{display:flex;align-items:center;gap:10px}.check input{width:17px;min-height:17px;height:17px;margin:0}.team-grid{grid-template-columns:350px 1fr}.guide-list{padding-left:20px;color:#768972;font-size:12px;line-height:1.8}.guide-list li{margin:10px 0}.step{font-size:25px;font-weight:300;color:#abc3a1;display:block;margin-bottom:15px}pre{max-width:550px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}footer{display:flex;justify-content:space-between;padding:15px 35px 25px;color:#9caa99;font-size:10px}.auth{min-height:100vh;display:flex;justify-content:center;align-items:center;gap:8vw;background:#eaf0e7;padding:40px}.auth-intro{max-width:530px}.auth-intro .brandmark{background:#193c30;color:#e9f3df;margin-bottom:30px;width:50px;height:55px}.auth-intro h1{font-size:49px;line-height:1.18;letter-spacing:-2px;margin-bottom:25px}.auth-intro p:not(.eyebrow){font-size:15px;line-height:1.8}.auth-card{width:430px;max-width:100%;padding:40px;background:var(--surface,#ffffff);border:1px solid #dce6d7;border-radius:17px;box-shadow:0 15px 70px #234f2c0b}.auth-card h2{font-size:25px}.auth-card h1{font-size:27px;margin:15px 0}.auth-card p{font-size:12px}.auth-card button{width:100%;margin-top:8px}.auth-card .small{margin-top:20px;font-size:10px}.tabs{display:flex;background:#f1f5ed;border-radius:7px;padding:4px;margin:25px 0}.tabs a{width:50%;text-align:center;padding:8px;font-size:12px;color:#758b6d;border-radius:5px}.tabs a.active{background:var(--surface,#ffffff);box-shadow:0 1px 4px #314e2014;color:#284a30;font-weight:600}.auth-graphic{margin-top:55px;display:flex;align-items:center;gap:10px;font-size:10px}.auth-graphic span{padding:10px 12px;border:1px solid #d2dfcb;border-radius:20px;color:#657d5d}.auth-graphic i{color:#94ac85;font-style:normal}
@media(min-width:1550px){.donut{width:215px}.stat strong{font-size:34px}.content{padding:40px 44px}.card{padding:28px}.flush{padding:0}}
@media(max-width:1200px){.sidebar{width:205px}.main-shell{margin-left:205px}.content{padding:25px 22px}.topbar{padding:0 22px}.stats{grid-template-columns:repeat(3,1fr)}.stat.featured{grid-column:span 2}.donut-layout{gap:15px}.donut{width:150px}.card{padding:19px}.flush{padding:0}.pipeline{grid-template-columns:repeat(4,1fr)}.team-grid{grid-template-columns:300px 1fr}.today{display:none}}
@media(max-width:1000px){.two,.chart-wide,.detail-grid,.team-grid{grid-template-columns:1fr}.donut{width:200px}.donut-layout{max-width:540px}.sidebar{width:190px}.main-shell{margin-left:190px}.brand{padding-left:5px;font-size:14px}.sidebar nav a{font-size:11px;padding-left:9px}.sidebar nav a.active{padding-left:6px}.auth-intro{display:none}.page-heading h1{font-size:26px}.team-grid .card{max-width:100%}.filter-hint{width:100%}.top-actions{gap:10px}}
@media(max-width:700px){.sidebar{position:static;width:auto;padding:15px;display:block}.brand{padding:0 0 13px}.sidebar .nav-label,.sidebar-bottom,.sidebar nav a>span{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.sidebar nav a{white-space:nowrap;font-size:11px;padding:8px 10px}.sidebar nav a.active{border-left:none;padding:8px 10px}.nav-count{display:none}.main-shell{margin:0}.topbar{height:65px;padding:0 15px}.breadcrumb{display:none}.content{padding:22px 15px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:15px}.stat.featured{grid-column:span 2}.stat strong{font-size:27px}.form-grid{grid-template-columns:1fr}.filters{gap:10px}.filters label{flex:1;min-width:120px}.filters .grow{min-width:100%}.pipeline{grid-template-columns:repeat(2,1fr)}.card{padding:18px}.flush{padding:0}.card-heading{gap:10px}.card-heading>.badge{display:none}.donut{width:155px}.legend-row{font-size:10px}.donut-layout{gap:15px}.top-actions .due-link{font-size:10px}.top-actions .button{font-size:11px;padding:7px 10px}.timeline-head{flex-direction:column}.contact-hero{flex-wrap:wrap}.auth{padding:20px}.auth-card{padding:27px}.form-actions{gap:15px}.facts{gap:15px}.chart-box svg{height:210px}footer{padding:15px;gap:15px;flex-wrap:wrap}h2{font-size:16px}}
@media print{.sidebar,.topbar,.filters,button,.button,footer{display:none!important}.main-shell{margin:0}.content{padding:0}.card{break-inside:avoid}.table-wrap{overflow:visible}body{font-size:10px}.stats{grid-template-columns:repeat(5,1fr)}}
.table-toolbar{display:flex;justify-content:space-between;gap:15px;padding:12px 16px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.saved{color:var(--teal)}.add-column{padding:7px 12px}.add-row-button{font-size:11px;padding:5px 10px}.add-row-button b{font-size:19px;font-weight:400;line-height:1}.inline-cell{display:inline-flex;background:transparent;border:1px solid transparent;color:inherit;padding:4px 6px;margin:-4px -6px;max-width:280px;white-space:normal;text-align:left;justify-content:flex-start;font-size:inherit;font-weight:inherit;gap:10px;min-height:26px}.inline-cell:hover{background:#edf6f0;border-color:#d1e5d7;filter:none}.inline-cell i{font-style:normal;font-size:11px;color:#91a698;opacity:.7}.inline-cell:disabled{opacity:.6;cursor:wait}.inline-cell[hidden]{display:none}.cell-editor{min-width:140px;max-width:270px;width:100%;padding:6px 9px;min-height:34px;border-color:var(--teal);font-size:12px}.quick-add-panel{padding:18px;background:#f1f8f2;border-bottom:1px solid var(--line)}.quick-add-fields{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.quick-add-panel[hidden]{display:none}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;max-width:480px;width:calc(100% - 30px);color:var(--ink)}dialog::backdrop{background:#102f2e77}@media(max-width:950px){.quick-add-fields{grid-template-columns:1fr 1fr}.table-toolbar{flex-direction:column}}@media(max-width:600px){.quick-add-fields{grid-template-columns:1fr}}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:22px}.resource-card{display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere;margin:0}.resource-card h2,.resource-card p{margin:0}.resource-card small{font-size:10px;color:var(--muted)}.resource-card .actions{margin-top:auto;padding-top:10px}.resource-card .badge{align-self:flex-start}[hidden]{display:none!important}.mobile-nav{display:none}@media(max-width:1000px){.resource-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){body{padding-bottom:75px}.sidebar{display:none;position:fixed;inset:0 0 65px auto;max-width:310px;width:85%;height:calc(100dvh - 65px);z-index:70;box-shadow:-10px 0 40px #0b282c66;padding:25px 15px}.sidebar.mobile-open{display:flex}.sidebar nav{display:block;overflow:visible}.sidebar nav a{min-height:46px;font-size:13px}.sidebar nav a>span,.sidebar .nav-label,.sidebar-bottom{display:block}.sidebar .sidebar-bottom{margin-top:auto}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;height:calc(65px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface,#ffffff);border-top:1px solid var(--line);z-index:80;box-shadow:0 -4px 20px #173e3310}.mobile-nav a,.mobile-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px;background:none;border:0;color:var(--teal);font-size:21px;text-decoration:none}.mobile-nav span{font-size:10px}.topbar{position:sticky;top:0;z-index:20;background:var(--surface,#ffffff)}.topbar .button{min-height:40px}.resource-grid{grid-template-columns:1fr}.resource-card .button,.resource-card button{min-height:42px}.form-card input,.form-card select,.form-card textarea,dialog input,dialog select{font-size:16px;min-height:44px}#editable-table table,#editable-table tbody{display:block}#editable-table thead{display:block}#editable-table thead tr{display:block;padding:10px}#editable-table th:not(.add-column){display:none}#editable-table .add-column{display:block;text-align:right;background:var(--surface,#ffffff);border:0}#editable-table tbody{display:grid;gap:12px;padding:12px;background:#f3f7ef}#editable-table tbody tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce7d8;padding:14px;border-radius:11px;gap:14px;background:var(--surface,#ffffff)}#editable-table td{display:flex;flex-direction:column;padding:0;border:0;white-space:normal;min-width:0}#editable-table td:before{content:attr(data-label);color:#8c9f87;font-size:9px;margin-bottom:5px}#editable-table .lead-name{grid-column:span 2;font-size:16px;font-weight:600;border-bottom:1px solid var(--line);padding-bottom:8px}#editable-table .lead-name:before{display:none}#editable-table .lead-open{grid-column:span 2}#editable-table .lead-open a{min-height:40px}.inline-cell{min-height:36px;margin:0;padding:3px 0;max-width:100%;width:100%;justify-content:space-between}.inline-cell span{overflow-wrap:anywhere}.cell-editor{font-size:16px;min-width:0;max-width:100%}.contact-links{flex-wrap:wrap}.contact-links a{min-height:30px;display:flex;align-items:center}.quick-add-fields{grid-template-columns:1fr 1fr}.quick-add-panel button{min-height:44px}#resource-form{scroll-margin-top:80px}dialog{margin:auto 0 0;max-width:100%;width:100%;border-radius:18px 18px 0 0;max-height:90dvh;overflow:auto}.table-toolbar{font-size:10px}.table-toolbar span:empty{display:none}}

.followup-tabs{display:flex;gap:8px;margin:12px 0}.followup-tabs .button{background:#eef3ee;color:#173433;border-color:#dce6df}.followup-tabs .button[aria-selected=true]{background:#148b7d;color:#fff}.followup-tabs b{padding:1px 8px;border-radius:15px;background:#ffffff33}.followup-table td{padding:4px 8px;white-space:nowrap}.followup-table th{padding:7px 8px}
@media(min-width:761px){.lead-table{font-size:12px}.lead-table td{padding:1px 6px;height:26px;line-height:20px;white-space:nowrap;border-right:1px solid #e4ebe6;vertical-align:middle}.lead-table th{padding:6px;position:sticky;top:0}.lead-table .inline-cell{min-height:22px;max-width:260px;padding:0 3px;line-height:20px;font-size:12px}.lead-table .inline-cell span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-table .contact-links{display:inline-flex;margin:0 0 0 6px;gap:5px;vertical-align:middle}.lead-table .lead-open button{padding:1px 6px;min-height:22px;font-size:11px}.lead-table .cell-editor{padding:0 4px;height:24px;min-height:24px;font-size:12px}.lead-table .cell-read{padding:0}.followup-home{padding:16px}}

/* Compact lead workspace: the table takes priority. */
.compact-workspace .topbar{height:38px;min-height:38px;padding:0 12px;font-size:12px;gap:8px}.compact-workspace .breadcrumb,.compact-workspace .today{display:none}.compact-workspace .top-actions{gap:9px}.compact-workspace .top-actions button,.compact-workspace .top-actions .button{min-height:26px;padding:3px 9px;font-size:12px}.compact-workspace .content{padding:6px 12px 12px;max-width:none}.compact-workspace .filters{padding:5px 7px;gap:7px;margin:0 0 6px;border-radius:5px;align-items:end}.compact-workspace .filters label{margin:0;min-width:100px;font-size:10px;line-height:12px;flex:1}.compact-workspace .filters .grow{min-width:170px;flex:1.3}.compact-workspace .filters input,.compact-workspace .filters select{height:26px;min-height:26px;margin-top:2px;padding:2px 6px;font-size:12px;border-radius:4px}.compact-workspace .filters button{height:26px;min-height:26px;padding:2px 10px;font-size:12px}.compact-workspace .card.flush{border-radius:5px;margin-bottom:6px}.compact-workspace .table-toolbar{min-height:30px;padding:3px 7px;gap:10px;font-size:11px;display:flex;align-items:center;flex-wrap:wrap}.compact-workspace .record-count{font-weight:650;color:#173433}.compact-workspace .edit-hint{color:#788786}.compact-workspace .compact-export{margin-left:auto}.compact-workspace .table-toolbar button,.compact-workspace .table-toolbar .button{min-height:23px;height:23px;padding:1px 8px;font-size:11px}.compact-workspace .lead-table th{padding:4px 6px;line-height:16px}.compact-workspace .add-row-button{min-height:22px;padding:0 6px;font-size:11px}.compact-workspace .pagination{margin:6px 0;padding:0;font-size:11px}.compact-workspace .sample-strip,.compact-workspace .preview-banner{padding:4px 8px;margin-bottom:5px;font-size:11px}.compact-workspace .quick-add-panel{padding:8px}.compact-workspace .quick-add-fields{gap:8px}.compact-workspace .quick-add-fields label{margin-bottom:5px}.compact-workspace .top-actions .due-link{padding:2px 7px}.compact-workspace footer{padding:8px 12px;font-size:10px}
@media(max-width:760px){.compact-workspace .topbar{height:44px;min-height:44px;padding:0 8px}.compact-workspace .content{padding:5px 6px 76px}.compact-workspace .top-actions{gap:5px}.compact-workspace .top-actions button,.compact-workspace .top-actions .button{min-height:34px}.compact-workspace .filters{gap:5px;padding:5px}.compact-workspace .filters label{min-width:125px;flex:1 1 42%}.compact-workspace .filters input,.compact-workspace .filters select{height:34px;min-height:34px;font-size:16px}.compact-workspace .table-toolbar .edit-hint{display:none}.compact-workspace .table-toolbar button,.compact-workspace .table-toolbar .button{height:34px;min-height:34px}.compact-workspace .save-indicator{display:none}}

.lead-quick-tabs{display:flex;gap:4px;margin:0 0 5px;overflow:auto}.lead-quick-tabs .button{padding:2px 9px;min-height:25px;font-size:11px;background:var(--surface,#ffffff);color:var(--ink);border-color:var(--line);border-radius:4px}.lead-quick-tabs .button.active{background:var(--teal);color:var(--brand-button-text,#fff)}.lead-quick-tabs b{font-size:10px;border-radius:10px;background:#8882;padding:0 5px}.activity-totals{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:10px}.activity-totals article{background:var(--surface,#ffffff);border:1px solid var(--line);padding:12px;border-radius:7px}.activity-totals span{display:block;font-size:11px;color:var(--muted)}.activity-totals strong{font-size:24px}.brandmark img{width:100%;height:100%;object-fit:contain}.brand>span:last-child{font-size:14px;letter-spacing:0;overflow-wrap:anywhere}.settings-logo{width:120px;height:80px;object-fit:contain;margin-bottom:12px}.theme-fields{display:flex;gap:20px;flex-wrap:wrap}.theme-fields input[type=color]{width:100px;height:42px}.sidebar{background:var(--sidebar)}.sidebar .brand,.sidebar nav a,.sidebar nav button,.sidebar .profile,.sidebar .nav-label,.sidebar small,.sidebar .signout,.sidebar .workspace-note{color:var(--brand-sidebar-text,#c0d2ce)}.sidebar nav a.active,.sidebar nav button.active{background:#8883}button:not([class]),button[type=submit],.button:not(.secondary),.top-actions button.small,.quick-plus,.followup-tabs button[aria-selected=true],.lead-quick-tabs button.active{color:var(--brand-button-text,#fff)}.lead-quick-tabs .button:not(.active){color:var(--ink)}
@media(max-width:760px){.lead-quick-tabs .button{min-height:34px}.activity-totals{grid-template-columns:repeat(2,1fr)}.activity-totals article:last-child{grid-column:1/-1}}

.main-shell{color:var(--page-ink,var(--ink))}.card,.filters,.activity-totals article{color:var(--ink)}

.topbar{color:var(--ink)}

.audit-record{font-weight:600;margin-bottom:6px}.audit-changes{min-width:350px;width:100%;font-size:12px}.audit-changes th,.audit-changes td{padding:5px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}.audit-changes th{font-size:11px}.audit-changes td:first-child{width:25%;font-weight:500}.audit-changes td:nth-child(2){color:var(--muted)}
/* v1.6: visible follow-up filters, report drilldowns and full surface theme */
:root{--surface:#ffffff}
.metric-card{display:block;text-align:left;white-space:normal;color:var(--ink);background:var(--surface);border:1px solid var(--line);transition:box-shadow .15s,transform .15s}
.metric-card:hover{box-shadow:0 4px 16px #12352b18;transform:translateY(-1px)}
.metric-card:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.activity-totals .metric-card{padding:14px;border-radius:9px;min-width:0}
.activity-totals .metric-card strong{display:block}
.lead-quick-tabs{gap:9px;margin:0 0 10px;overflow:visible;flex-wrap:wrap}
.lead-quick-tabs .followup-box{padding:10px 16px;min-height:49px;min-width:132px;font-size:16px;font-weight:700;border-radius:9px;border:2px solid transparent;justify-content:space-between;gap:16px}
.lead-quick-tabs .followup-box b{font-size:19px;padding:1px 9px;border-radius:7px;background:#ffffff30}
.lead-quick-tabs .followup-all{background:#176b61;color:#fff}
.lead-quick-tabs .followup-today{background:#b78103;color:#161100}
.lead-quick-tabs .followup-overdue{background:#ba3338;color:#fff}
.lead-quick-tabs .followup-tomorrow{background:#325bae;color:#fff}
.lead-quick-tabs .followup-box.active{border-color:currentColor;box-shadow:0 0 0 2px var(--surface),0 0 0 4px #768b84}
.lead-quick-tabs .followup-box:not(.active){color:inherit}
.lead-quick-tabs .followup-all:not(.active),.lead-quick-tabs .followup-overdue:not(.active),.lead-quick-tabs .followup-tomorrow:not(.active){color:#fff}
.lead-quick-tabs .followup-today:not(.active),.lead-quick-tabs .followup-today.active{color:#161100}
.lead-quick-tabs .followup-all.active{background:#176b61;color:#fff}.lead-quick-tabs .followup-today.active{background:#b78103}.lead-quick-tabs .followup-overdue.active{background:#ba3338;color:#fff}.lead-quick-tabs .followup-tomorrow.active{background:#325bae;color:#fff}
.profile-button{background:transparent;border:0;width:100%;justify-content:flex-start;text-align:left;padding:15px 6px;white-space:normal}
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-preview{width:80px;height:80px;object-fit:cover;border-radius:50%;margin-bottom:15px}
.whatsapp-button,.button.whatsapp-button{background:#176b43;border-color:#176b43;color:#fff}
.share-fallback{margin:15px 0}.drill-table{min-width:690px}.drill-table td{white-space:normal}.modal:has(.drill-table){width:1000px;max-width:94vw}
.card,.filters,.topbar,.stat:not(.featured),.modal,.modal>header,.activity-totals .metric-card,.activity-totals article,input,select,textarea,button.secondary,.button.secondary{background:var(--surface);color:var(--ink)}
.card p,.card label,.modal label,.filters label,.stat:not(.featured)>span,.stat:not(.featured) small,.card small,.modal p{color:var(--muted)}
th{background:color-mix(in srgb,var(--surface) 93%,var(--ink));color:var(--muted)}
td,.card,.filters,input,select,textarea{border-color:color-mix(in srgb,var(--surface) 80%,var(--ink))}
.donut text,.trend text{fill:var(--ink)}
@media(max-width:640px){.lead-quick-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lead-quick-tabs .followup-box{min-width:0;width:100%;font-size:15px;padding:9px 12px}.activity-totals .metric-card:last-child{grid-column:1/-1}.modal:has(.drill-table){width:100%;max-width:100%}}

input.cell-editor,select.cell-editor{background:var(--surface);color:var(--ink)}
/* v1.7: compact click editing and persistent workspace */
.inline-cell i{display:none}.inline-cell{cursor:text}.inline-cell[data-type=select],.inline-cell[data-type=datetime-local],.inline-cell[data-type=date]{cursor:pointer}.inline-cell:hover{background:#eaf3ee}.inline-cell:disabled{opacity:1}#lead-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(650px,65vw);max-width:94vw;border:0;border-radius:0;padding:0;box-shadow:-12px 0 40px #0002}#lead-drawer::backdrop{background:#102b292b}#lead-drawer[open]{display:flex;flex-direction:column}#lead-drawer header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid #ddd}#lead-drawer iframe{border:0;width:100%;flex:1}.calendar-popup{width:330px;max-width:94vw;border:0;border-radius:16px;padding:18px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.calendar-days button{padding:9px 0;color:var(--ink);background:transparent}.calendar-days button.selected{background:var(--teal);color:var(--brand-button-text,#fff)}.calendar-days button:hover{outline:1px solid var(--teal)}.calendar-quick{display:flex;gap:8px;margin:12px 0}.calendar-quick button{background:#eaf3ee;color:#205649}.calendar-time{margin-top:12px}@media(max-width:700px){#lead-drawer{width:94vw}}

/* Compact overview: analytics first, without a tall welcome or follow-up block. */
.overview-workspace .topbar{height:44px;min-height:44px;padding:0 14px}.overview-workspace .content{padding:8px 14px 16px;max-width:none}.overview-workspace .top-actions{gap:10px}.overview-workspace .top-actions button,.overview-workspace .top-actions .button{padding:5px 10px;min-height:30px}.overview-workspace .sample-strip,.overview-workspace .preview-banner{padding:5px 10px;margin-bottom:8px;font-size:11px}.overview-context{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.overview-context p{margin:0;font-size:12px}.overview-context .button,.overview-context button{padding:4px 10px;min-height:28px}.dashboard-overview .filters{padding:7px 10px;gap:10px;margin-bottom:10px;border-radius:7px}.dashboard-overview .filters label{margin:0;min-width:145px;font-size:11px}.dashboard-overview .filters input,.dashboard-overview .filters select{height:30px;min-height:30px;padding:4px 8px;margin-top:3px}.dashboard-overview .filters button{height:30px;min-height:30px;padding:4px 12px}.dashboard-overview .filter-hint{padding-bottom:4px}.dashboard-overview .stats{gap:10px;margin-bottom:10px}.dashboard-overview .stat{padding:10px 12px;min-height:86px;border-radius:8px}.dashboard-overview .stat strong,.dashboard-overview .stat.featured strong{font-size:25px;margin:3px 0;line-height:1.2}.dashboard-overview .stat>span{font-size:11px}.dashboard-overview .stat small{font-size:10px;line-height:1.3}.dashboard-overview .grid{gap:12px;margin-bottom:12px}.dashboard-overview .card{padding:14px;margin-bottom:12px;border-radius:9px}.dashboard-overview .grid>.card{margin-bottom:0}.dashboard-overview .card-heading{margin-bottom:10px;gap:10px}.dashboard-overview h2{font-size:15px;margin-bottom:3px}.dashboard-overview .card-heading p{font-size:10px;margin:0}.dashboard-overview .donut-layout{gap:16px;min-height:164px;max-width:none}.dashboard-overview .donut{width:164px}.dashboard-overview .legend-row{padding:3px 0;gap:8px}.dashboard-overview .chart-box{min-height:180px}.dashboard-overview .chart-box svg{height:180px}.dashboard-overview .bar-chart{min-height:0;max-height:180px;overflow:auto}.dashboard-overview .bar-row{margin-bottom:12px}.dashboard-overview .pipeline{gap:7px}.dashboard-overview .pipeline a,.dashboard-overview .pipeline button{padding:8px}.dashboard-overview .pipeline strong{font-size:21px;margin:1px 0}.dashboard-overview .followup-home .table-wrap{max-height:260px;overflow:auto}.dashboard-overview .followup-home .empty{padding:12px;margin:0}.dashboard-overview .followup-tabs{margin-bottom:8px}.dashboard-overview td{padding:8px 10px}.dashboard-overview th{padding:8px 10px}.dashboard-overview .followup-home .followup-table{margin:0}.dashboard-overview .followup-table thead{position:sticky;top:0;z-index:1}
@media(min-width:901px){.dashboard-overview .overview-donuts,.dashboard-overview .charts-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-overview .donut-layout{justify-content:flex-start}.dashboard-overview .overview-donuts,.dashboard-overview .charts-row{grid-template-columns:1fr}.dashboard-overview .legend{max-width:none}}
@media(max-width:700px){.overview-workspace .content{padding:6px 8px 80px}.overview-workspace .topbar{padding:0 8px;height:48px}.overview-context{flex-wrap:wrap;margin-bottom:6px}.overview-context p{font-size:11px}.dashboard-overview .filters{padding:6px;gap:7px}.dashboard-overview .filters label{min-width:120px;flex:1}.dashboard-overview .filters input,.dashboard-overview .filters select{height:36px;min-height:36px;font-size:16px}.dashboard-overview .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dashboard-overview .stat{padding:9px 10px;min-height:76px}.dashboard-overview .stat.featured{grid-column:1/-1}.dashboard-overview .stat strong{font-size:23px}.dashboard-overview .card{padding:12px}.dashboard-overview .donut{width:140px}.dashboard-overview .donut-layout{gap:12px;min-height:154px}.dashboard-overview .legend-row{font-size:10px}.dashboard-overview .followup-home .table-wrap{max-height:230px}}
@media(max-width:360px){.dashboard-overview .donut{width:118px}.dashboard-overview .donut-layout{gap:8px}.dashboard-overview .legend-label{gap:4px}}

/* Compact bulk selection controls. */
.bulk-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 12px;background:color-mix(in srgb,var(--teal,#148b7d) 9%,var(--surface,#fff));border-bottom:1px solid var(--line,#dde6df)}
.bulk-toolbar[hidden]{display:none}.selection-hint{padding:3px 12px;font-size:11px;color:var(--muted,#63736d)}
.lead-table .select-column{width:32px;min-width:32px;padding:3px 8px!important}.select-column input[type=checkbox]{width:16px;height:16px;margin:0;cursor:pointer;accent-color:var(--teal,#148b7d)}
.lead-table tr.row-selected td{background:color-mix(in srgb,var(--teal,#148b7d) 9%,var(--surface,#fff))}
@media(max-width:700px){.bulk-toolbar{gap:6px}.bulk-toolbar button{min-height:36px}.select-column input[type=checkbox]{width:20px;height:20px}}

.calendar-grid .calendar-day,.calendar-days button{border-radius:50%;aspect-ratio:1;min-height:36px;max-width:42px;justify-self:center;width:100%}.calendar-grid .calendar-day.is-today,.calendar-days button.is-today{background:color-mix(in srgb,var(--teal,#148b7d) 14%,var(--surface,#fff));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--teal,#148b7d) 32%,transparent)}.calendar-grid .calendar-day.chosen,.calendar-days button.selected{background:var(--teal,#148b7d);color:var(--brand-button-text,#fff)}.calendar-grid .calendar-day.chosen.is-today,.calendar-days button.selected.is-today{box-shadow:0 0 0 3px color-mix(in srgb,var(--teal,#148b7d) 24%,var(--surface,#fff))}.calendar-caption{font-size:11px;color:var(--muted,#63736d);margin:8px 0 0}.calendar-popover input[type=time],.calendar-popup input[type=time]{min-width:0;max-width:100%;box-sizing:border-box}

/* Mobile leads: dense spreadsheet rows instead of stacked cards. */
@media(max-width:760px){
 :is(.compact-workspace,#editable-table) .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;overscroll-behavior-x:contain}
 :is(.compact-workspace,#editable-table) .lead-table{display:table;width:1180px;min-width:1180px;border-collapse:separate;border-spacing:0;font-size:12px;table-layout:fixed}
 :is(.compact-workspace,#editable-table) .lead-table thead{display:table-header-group}
 :is(.compact-workspace,#editable-table) .lead-table tbody{display:table-row-group;padding:0;background:var(--surface,#fff)}
 :is(.compact-workspace,#editable-table) .lead-table tr,:is(.compact-workspace,#editable-table) .lead-table thead tr{display:table-row;border:0;border-radius:0;padding:0;background:var(--surface,#fff)}
 :is(.compact-workspace,#editable-table) .lead-table th,:is(.compact-workspace,#editable-table) .lead-table th:not(.add-column),:is(.compact-workspace,#editable-table) .lead-table td{display:table-cell;vertical-align:middle;white-space:nowrap;padding:2px 7px;height:36px;line-height:18px;border:0;border-bottom:1px solid var(--line,#e0e7e1);border-right:1px solid var(--line,#e0e7e1);background:var(--surface,#fff);font-size:12px;min-width:100px}
 :is(.compact-workspace,#editable-table) .lead-table th{height:30px;color:var(--muted,#63736d);font-size:10px;font-weight:600;background:color-mix(in srgb,var(--teal,#148b7d) 5%,var(--surface,#fff))}
 :is(.compact-workspace,#editable-table) .lead-table td:before{display:none;content:none}
 :is(.compact-workspace,#editable-table) .lead-table .select-column{position:sticky;left:0;z-index:3;width:24px!important;min-width:24px!important;max-width:24px!important;padding:2px 4px!important;box-sizing:border-box;text-align:center}
 :is(.compact-workspace,#editable-table) .lead-table .select-column input{display:block;width:14px;height:14px;min-width:14px;min-height:14px;padding:0;margin:0 auto;cursor:pointer}
 :is(.compact-workspace,#editable-table) .lead-table .lead-name,:is(.compact-workspace,#editable-table) .lead-table th:nth-child(2){position:sticky;left:24px;z-index:2;width:138px;min-width:138px;max-width:138px;box-sizing:border-box;font-size:12px;font-weight:600;box-shadow:2px 0 3px #102f2e0c}
 :is(.compact-workspace,#editable-table) .lead-table .lead-open,:is(.compact-workspace,#editable-table) .lead-table th:last-child{position:sticky;right:0;z-index:3;width:40px;min-width:40px;max-width:40px;box-sizing:border-box;padding:2px 3px;text-align:center;box-shadow:-2px 0 3px #102f2e0c}
 :is(.compact-workspace,#editable-table) .lead-table th:last-child{font-size:0}
 :is(.compact-workspace,#editable-table) .lead-table th:last-child:after{content:'View';font-size:10px}
 #editable-table .lead-table th.add-column:after{content:none}
 #editable-table .lead-table .add-row-button{font-size:0;width:32px;height:28px;min-height:28px;padding:0;justify-content:center}
 #editable-table .lead-table .add-row-button b{font-size:20px}
 :is(.compact-workspace,#editable-table) .lead-table .inline-wrap{display:inline-block;vertical-align:middle;max-width:100%}
 :is(.compact-workspace,#editable-table) .lead-table .inline-cell{display:inline-flex;min-height:28px;height:28px;width:auto;max-width:190px;margin:0;padding:2px 0;line-height:20px;font-size:12px;white-space:nowrap;justify-content:flex-start;box-sizing:border-box}
 :is(.compact-workspace,#editable-table) .lead-table .inline-cell span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 :is(.compact-workspace,#editable-table) .lead-table .lead-name .inline-cell{max-width:124px}
 :is(.compact-workspace,#editable-table) .lead-table .contact-links{display:inline-flex;vertical-align:middle;flex-wrap:nowrap;gap:8px;margin:0 0 0 6px}
 :is(.compact-workspace,#editable-table) .lead-table .contact-links a{display:inline-flex;align-items:center;min-height:28px;font-size:10px;white-space:nowrap}
 :is(.compact-workspace,#editable-table) .lead-table .lead-open button,:is(.compact-workspace,#editable-table) .lead-table .lead-open a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;min-height:30px;padding:0;margin:0}
 :is(.compact-workspace,#editable-table) .lead-table .cell-editor{min-width:100px;max-width:180px;height:32px;min-height:32px;margin:0;padding:1px 4px;font-size:16px}
 :is(.compact-workspace,#editable-table) .lead-table .lead-name .cell-editor{min-width:0;width:124px}
 :is(.compact-workspace,#editable-table) .lead-table tr.row-selected td{background:color-mix(in srgb,var(--teal,#148b7d) 10%,var(--surface,#fff))}
 .compact-workspace .table-toolbar{flex-direction:row;justify-content:flex-start;gap:6px;padding:4px 7px}
 .compact-workspace .table-toolbar .compact-export{margin-left:auto}
 .compact-workspace .selection-hint{font-size:10px;line-height:14px;padding:3px 7px}
 .compact-workspace .selection-hint:after{content:' Swipe sideways for more columns.'}
}

/* Visible account actions immediately after selecting Manage. */
#member-actions,#member-form{scroll-margin-top:65px}#member-actions>.actions{margin:12px 0}#member-actions .actions form{margin:0}.team-delete-options{margin-top:12px}.team-delete-options>summary{display:inline-flex;cursor:pointer;list-style:none}.team-delete-options>summary::-webkit-details-marker{display:none}.team-delete-options[open]>summary{margin-bottom:12px}.team-delete-options form{max-width:560px}.team-delete-options label{margin-top:12px}

/* Stage/outcome colour update: Interested = yellow; Proposal Sent = green.
   data-value is refreshed by the existing inline editor after save/rollback. */
#editable-table .inline-cell:is([data-field="stage"],[data-field="latest_outcome"])[data-value="Interested"],
#editable-table select.cell-editor:has(option[value="Interested"]:checked),
select:is([name="stage"],[name="outcome"]):has(option[value="Interested"]:checked){
 background:#ffdf70!important;color:#342700!important;border-color:#b58b00!important;
}
#editable-table .inline-cell:is([data-field="stage"],[data-field="latest_outcome"])[data-value="Proposal Sent"],
#editable-table select.cell-editor:has(option[value="Proposal Sent"]:checked),
select:is([name="stage"],[name="outcome"]):has(option[value="Proposal Sent"]:checked){
 background:#18783f!important;color:#ffffff!important;border-color:#146334!important;
}
#editable-table .inline-cell:is([data-field="stage"],[data-field="latest_outcome"]):is([data-value="Interested"],[data-value="Proposal Sent"]){
 border-radius:6px;padding:4px 8px;font-weight:600;
}
#editable-table .inline-cell:is([data-field="stage"],[data-field="latest_outcome"]):is([data-value="Interested"],[data-value="Proposal Sent"]) span{color:inherit!important;}
#editable-table select.cell-editor option[value="Interested"],
select:is([name="stage"],[name="outcome"]) option[value="Interested"]{background:#ffdf70;color:#342700;}
#editable-table select.cell-editor option[value="Proposal Sent"],
select:is([name="stage"],[name="outcome"]) option[value="Proposal Sent"]{background:#18783f;color:#ffffff;}
/* Keep other dropdown options neutral when the selected option is coloured. */
#editable-table select.cell-editor option:not([value="Interested"]):not([value="Proposal Sent"]),
select:is([name="stage"],[name="outcome"]) option:not([value="Interested"]):not([value="Proposal Sent"]){background:var(--surface,#ffffff);color:var(--ink,#173433);}
