:root{--green:#214d3b;--green-dark:#163c2e;--muted:#7b817c;--border:#e2e5df;--bg:#f7f8f4;--ink:#263c30;--font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:var(--font);color:var(--ink);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}:is(button,a,input,select,textarea):focus-visible{outline:3px solid #83ab88;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}button,select{transition:background .18s,box-shadow .18s}.sidebar{position:fixed;width:244px;height:100vh;background:#fbfcf9;border-right:1px solid var(--border);padding:36px 20px 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px;margin-bottom:54px;font-size:19px;line-height:1.04;letter-spacing:-.7px}.brand b{font-weight:750}.brand-mark{background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:12px;font-size:35px;font-weight:600;line-height:1}.workspace-label,.nav-heading{font-size:10px;letter-spacing:1.8px;color:#90968e;font-weight:600;padding:0 13px;margin-bottom:15px}.nav-active{width:100%;padding:13px 12px;background:#eaf0e6;border-radius:7px;text-align:left;color:#2f573f;font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px}.nav-active>span:first-child{font-size:22px}.nav-count{margin-left:auto;font-size:11px;background:#dbe7d5;padding:3px 6px;border-radius:4px}.nav-heading{margin-top:36px}nav button{width:100%;text-align:left;display:flex;align-items:center;gap:11px;padding:12px 13px;font-size:12px;color:#677167;border-radius:6px}nav button:hover,nav button.nav-selected{background:#edf1e9}nav button>span{margin-left:auto;color:#9ba198}.type-dot,.badge i{width:7px;height:7px;border-radius:50%;background:#7fa678;display:inline-block;flex-shrink:0}.type-SEO{--badge-bg:#f1edfa;--badge-color:#7c679a}.type-Website-Care{--badge-bg:#eaf1f8;--badge-color:#5f82a3}.type-Hosting{--badge-bg:#f9f0df;--badge-color:#a78339}.type-Limbo{--badge-bg:#f0f0ec;--badge-color:#8b8b7b}.type-SGP{--badge-bg:#eaf2e7;--badge-color:#52764a}.type-dot.type-SEO{background:#ad91c9}.type-dot.type-Website-Care{background:#7c9cb7}.type-dot.type-Hosting{background:#c5a65d}.type-dot.type-Limbo{background:#a6aa9b}.sidebar-bottom{margin-top:auto}.local-label{font-size:11px;color:#71836c;display:flex;align-items:center;gap:7px;padding:14px 12px}.local-label i{width:6px;height:6px;border-radius:50%;background:#79a464;box-shadow:0 0 0 3px #edf2e7}.sidebar-bottom>p{font-family:Georgia,serif;font-size:22px;line-height:1.4;color:#8a9584;padding:8px 12px 29px;letter-spacing:-.5px}.account{border-top:1px solid var(--border);margin:0 -20px;padding:21px 15px;display:flex;align-items:center;gap:9px}.avatar{background:#e7ecdf;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:10px;font-weight:700}.account b{display:block;font-size:11px;font-weight:600}.account small{display:block;font-size:9px;color:#8b9187;margin-top:4px}.account button{margin-left:auto;font-size:21px;color:#82917d}.workspace{margin-left:244px}.topbar{height:80px;padding:0 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);background:#fff;font-size:12px}.topbar-brand{font-weight:650}.divider{color:#c6cbc1;margin:0 15px}#breadcrumb{color:#92988d}.private-label{font-size:11px;color:#8b9386}main{padding:43px 42px 28px;max-width:1560px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:9px;letter-spacing:2px;color:#7a8a70;font-weight:650;margin-bottom:13px}h1{font-size:33px;letter-spacing:-1.3px;font-weight:550;line-height:1.2;margin:0}h1 .heading-dot{color:#8d9d6e}.page-heading p{font-size:13px;color:#8b9187;margin:13px 0 0}.primary{display:inline-flex;align-items:center;justify-content:center;gap:16px;background:var(--green);color:#fff;padding:12px 19px;border-radius:6px;font-size:12px;font-weight:550;min-height:42px;white-space:nowrap;box-shadow:0 2px 3px #214d3b10}.primary:hover{background:#34644b}.primary span{font-size:19px;font-weight:400}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border);background:#fff;border-radius:9px;margin-bottom:36px;padding:23px 0}.stats>div{padding:0 23px;position:relative;border-right:1px solid var(--border)}.stats>div:last-child{border:0}.stats>div>span:first-child{font-size:11px;color:#7e8777}.stats strong{display:block;font-size:29px;font-weight:500;margin-top:12px;letter-spacing:-.7px}.stats strong small{display:block;font-size:9px;font-weight:400;color:#a0a597;letter-spacing:0;margin-top:8px}.stat-icon{position:absolute;right:22px;top:0;font-size:20px;color:#9eac91}.directory-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}h2{font-size:18px;letter-spacing:-.4px;font-weight:600;margin:0}.directory-heading h2 span{font-size:10px;vertical-align:middle;background:#e9ede4;color:#738368;padding:4px 7px;border-radius:5px;margin-left:7px;letter-spacing:0}.view-label{font-size:11px;color:#849077}.filter-tabs{display:flex;gap:7px;border-bottom:1px solid var(--border);margin-bottom:21px;padding-bottom:15px;flex-wrap:wrap}.filter-tabs button{padding:8px 11px;color:#828a7a;border-radius:5px;font-size:11px}.filter-tabs button span{font-size:9px;margin-left:6px;opacity:.7}.filter-tabs .selected{background:#e5edde;color:#416338;font-weight:600}.filter-tabs button:hover{background:#edf0e8}.toolbar{display:flex;gap:11px}.search{display:flex;align-items:center;gap:9px;border:1px solid var(--border);background:#fff;border-radius:6px;flex:1;padding:0 12px;min-width:100px}.search>span{font-size:25px;color:#99a18f}.search input{border:0;background:none;outline:none!important;min-width:0;width:100%;padding:12px 0;font-size:11px}.search:focus-within{border-color:#7e9972;box-shadow:0 0 0 2px #e6eddf}.search input::placeholder{color:#a0a696}.search kbd{font-size:10px;color:#aab29f;border:1px solid #e5e8df;border-radius:3px;padding:1px 5px}.toolbar select{border:1px solid var(--border);border-radius:6px;background:#fff;color:#7c8873;font-size:11px;padding:11px 30px 11px 13px;max-width:210px}.results-meta{display:flex;justify-content:space-between;margin:18px 0;font-size:10px;color:#9ba28f}.results-meta button{font-size:10px;color:#879778}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.client-card{border:1px solid var(--border);border-radius:9px;background:#fff;overflow:hidden;padding:22px 21px 0;transition:box-shadow .2s,border-color .2s}.client-card:hover{box-shadow:0 7px 24px #2f4f3010;border-color:#bfcbb6}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.client-logo{width:49px;height:49px;background:color-mix(in srgb,var(--client-color) 10%,white);color:var(--client-color);display:grid;place-items:center;border-radius:10px;font-family:Georgia,serif;font-size:22px;font-weight:bold;flex-shrink:0;overflow:hidden}.client-logo img{width:100%;height:100%;object-fit:contain;padding:3px}.badge{font-size:9px;display:inline-flex;align-items:center;gap:5px;background:var(--badge-bg,#eaf2e7);color:var(--badge-color,#52764a);padding:6px 8px;border-radius:4px;font-weight:550;white-space:nowrap}.badge i{width:4px;height:4px;background:currentColor}.client-title{font-size:16px;letter-spacing:-.3px;font-weight:600;display:inline-block;line-height:1.3}.client-title:hover{text-decoration:underline}.industry-label{font-size:10px;color:#8e9786;margin-top:5px}.card-description{font-size:11px;line-height:1.65;color:#8e9587;margin:15px 0 17px;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-details{display:grid;grid-template-columns:16px 1fr;gap:8px 5px;font-size:10px;color:#858e7c;padding-bottom:21px}.card-details>span:nth-child(odd){font-size:13px;color:#a2ad94}.card-bottom{display:flex;align-items:center;gap:7px;margin:0 -21px;padding:13px 16px;border-top:1px solid #eff1ea;background:#fdfefa;font-size:9px;color:#8c9583}.contact-avatar{border-radius:50%;background:#ecf0e5;display:grid;place-items:center;width:24px;height:24px;color:#788669;font-size:8px;flex-shrink:0}.card-bottom>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-bottom button{margin-left:auto;color:#5b7750;font-size:9px;white-space:nowrap}.card-bottom button span{margin-left:5px;font-size:13px}.demo-note{display:flex;align-items:center;gap:8px;margin-top:24px;background:#eef2e9;border:1px dashed #d9e2d0;padding:12px 16px;border-radius:6px;font-size:10px;color:#778966}.demo-note>span:last-child{color:#9aa38c;font-size:10px;margin-left:5px}footer{display:flex;gap:16px;border-top:1px solid var(--border);padding:22px 42px;color:#a6ad9b;font-size:8px;letter-spacing:1px;max-width:1560px;margin:12px auto 0}footer>span{letter-spacing:0}footer>span:last-child{margin-left:auto}.empty-state{grid-column:1/-1;text-align:center;padding:65px 20px;color:#8b9980}.empty-state>span{font-size:40px}.empty-state h2{margin:12px}.empty-state p{line-height:1.7}.secondary{padding:11px 18px;border:1px solid #dce2d4;border-radius:6px;background:#fff;font-size:12px;color:#6c7e5e}.secondary:hover{background:#f3f5ee}.back-link{font-size:11px;color:#819174;padding:0;margin-bottom:28px}.profile-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.profile-identity{display:flex;gap:22px;align-items:center}.profile-identity .client-logo{width:86px;height:86px;font-size:36px;border-radius:15px}.profile-heading h1{font-size:30px;margin:10px 0 7px}.profile-heading p{font-size:12px;color:#8a9580;margin:0}.profile-heading p span{margin:0 8px}.profile-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:22px;margin-top:28px}.panel{border:1px solid var(--border);background:#fff;border-radius:8px;padding:24px;margin-bottom:21px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.panel h2{font-size:14px}.panel-title>span{font-size:9px;color:#a6ae9b}.description{font-size:13px;line-height:1.8;color:#7e8b74}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 20px;border-top:1px solid #edf0e7;margin-top:24px;padding-top:24px}.info-grid label{font-size:10px;color:#99a28c}.info-grid p{font-size:12px;line-height:1.6;margin:7px 0 0;overflow-wrap:anywhere}.info-grid a{color:#567d49}.two-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-list{padding:0;list-style:none;margin:0}.detail-list li{font-size:12px;color:#7b8870;border-bottom:1px solid #edf0e6;padding:11px 0;line-height:1.5}.detail-list li:first-child{padding-top:0}.detail-list li:last-child{border:0;padding-bottom:0}.completion{background:#edf2e7;border-color:#dce6d2}.completion strong{font-size:43px;font-weight:500}.completion strong small{font-size:20px;color:#7d946a}.progress-track{height:5px;background:#dbe4d2;border-radius:5px;margin:16px 0}.progress-track>div{height:100%;background:#71915e;border-radius:5px}.completion p{font-size:11px;line-height:1.7;color:#849675}.notes{white-space:pre-wrap;line-height:1.8;color:#7f8c73;font-size:12px}.muted{color:#9aa38e;font-size:12px}.profile-meta{font-size:10px;color:#99a58e;display:flex;justify-content:space-between;gap:10px}.danger-link{font-size:10px;color:#af7b6b}dialog{border:1px solid var(--border);border-radius:12px;padding:0;width:720px;max-width:calc(100vw - 30px);max-height:90vh;color:var(--ink);box-shadow:0 20px 100px #142d3030}dialog::backdrop{background:#14291f66;backdrop-filter:blur(3px)}.modal-heading{padding:28px 32px 22px;position:relative;border-bottom:1px solid var(--border)}.modal-heading h2{font-size:23px}.modal-heading p{font-size:12px;color:#8a9680;margin-bottom:0}.close{position:absolute;right:18px;top:18px;font-size:26px;color:#8c9882}.form-content{padding:8px 32px 28px}.form-content h3{font-size:13px;margin:26px 0 16px;font-weight:600}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#75866b}.form-field span{color:#b38855}.form-field input,.form-field select,.form-field textarea{border:1px solid #dfe5d7;border-radius:5px;background:#fdfefa;color:#344b2b;padding:10px 11px;min-width:0;width:100%;font-size:12px}.form-field textarea{resize:vertical;line-height:1.6}.form-field input[type=color]{height:42px;padding:5px}.form-field input[type=file]{font-size:10px}.form-field small{font-size:9px;color:#9ba68e}.wide{grid-column:1/-1}.form-hint{font-size:10px;color:#96a289}.modal-actions{padding:18px 32px;border-top:1px solid var(--border);display:flex;align-items:center;gap:10px;position:sticky;bottom:0;background:#fff}.modal-actions>span{margin-right:auto;color:#b36c5b;font-size:11px}.text-button{font-size:10px;color:#8e9b81;text-align:left;padding:0}.form-field #logo-preview img{width:65px;height:65px;object-fit:contain}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#234936;color:#fff;padding:14px 25px;border-radius:7px;box-shadow:0 5px 30px #13271625;font-size:12px;transition:all .2s;z-index:10}#toast.visible{opacity:1;transform:translate(-50%,0)}.delete-modal{padding:32px}.delete-modal p{color:#839077;line-height:1.8;font-size:13px}.delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.danger{background:#a95849;color:white;border-radius:6px;padding:12px 18px;font-size:12px}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top left,#e0e9d8,transparent 60%),#f7f8f3}.login-card{background:#fff;padding:45px;border:1px solid #e0e6d7;border-radius:14px;width:440px;max-width:calc(100vw - 32px);box-shadow:0 20px 90px #2645220c}.login-card .brand-mark{margin-bottom:30px}.login-card h1{font-size:36px;line-height:1.22}.login-card>p{color:#88947d;font-size:13px;line-height:1.8;margin:20px 0 28px}.login-card label{font-size:11px;color:#7f8d73;display:block;margin-bottom:9px}.login-card input{border:1px solid #dfe5d7;border-radius:6px;padding:13px;width:100%;background:#fdfefb}.login-card .primary{width:100%;justify-content:space-between}.login-card small{display:block;text-align:center;font-size:9px;color:#a1ab95;margin-top:26px}.login-card #error{font-size:11px;color:#af695c;min-height:14px}
@media(min-width:1500px){main{padding-top:50px}.client-card{padding:25px 25px 0}.card-bottom{margin:0 -25px;padding:15px 22px}.client-title{font-size:18px}.card-description{font-size:12px}.card-details{font-size:11px}.card-bottom,.card-bottom button{font-size:10px}}
@media(max-width:1150px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.workspace{margin-left:210px}main{padding:32px 25px}.topbar{padding:0 25px}.stats>div{padding:0 17px}.stat-icon{display:none}.client-card{padding:18px 16px 0}.card-bottom{margin:0 -16px;padding:13px 10px}.card-bottom>span:nth-child(2){max-width:70px}.client-title{font-size:14px}.badge{font-size:8px}.account{margin:0 -15px}.profile-layout{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}}
@media(max-width:950px){.sidebar{width:180px}.workspace{margin-left:180px}.brand{font-size:16px;gap:8px;padding:0}.brand-mark{width:34px;height:34px;font-size:28px}.sidebar .account b{font-size:9px}.sidebar .account small{font-size:8px}.account .avatar{display:none}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading h1{font-size:28px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:25px}.stats>div:nth-child(2){border-right:0}.filter-tabs{gap:2px}.filter-tabs button{padding:8px}.profile-layout{grid-template-columns:1fr}.profile-heading h1{font-size:24px}.demo-note{flex-wrap:wrap}.profile-identity .client-logo{width:62px;height:62px}.profile-identity{gap:14px}.toolbar{flex-wrap:wrap}.search{flex-basis:100%}}
@media(max-width:650px){.sidebar{position:static;width:100%;height:auto;padding:16px 20px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--border)}.brand{margin:0}.workspace-label,.nav-heading,.sidebar nav,.sidebar-bottom>p,.local-label,.nav-active{display:none}.sidebar-bottom{margin:0}.account{border:0;padding:0;margin:0}.account>div{display:none}.account .avatar{display:grid}.workspace{margin:0}.topbar{height:56px;padding:0 20px}.private-label{font-size:9px}.topbar-brand{font-size:11px}.divider{margin:0 8px}#breadcrumb{font-size:10px;max-width:140px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}main{padding:28px 20px}.page-heading{gap:15px;align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:1.3px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;line-height:1.6}.primary{padding:10px 13px;font-size:11px;gap:6px}.page-heading .primary{margin-top:20px}.stats{margin-bottom:28px;padding:20px 0}.stats strong small{font-size:8px}.client-grid{grid-template-columns:1fr}.client-title{font-size:18px}.client-card{padding:22px 22px 0}.card-description{font-size:12px}.card-details{font-size:11px}.card-bottom{margin:0 -22px;padding:14px 20px;font-size:11px}.card-bottom>span:nth-child(2){max-width:none}.card-bottom button{font-size:10px}.toolbar select{flex:1;max-width:100%;font-size:10px}.filter-tabs button{font-size:10px}.demo-note>span:last-child{margin:0;line-height:1.7}footer{padding:20px;font-size:7px}footer>span:nth-child(1){display:none}.profile-heading{align-items:flex-start;gap:10px}.profile-heading h1{font-size:22px}.profile-identity .client-logo{display:none}.profile-heading .primary{margin-top:32px}.two-panels{grid-template-columns:1fr;gap:0}.panel{padding:21px}.info-grid{grid-template-columns:1fr 1fr;gap:20px 12px}.form-grid{grid-template-columns:1fr}.modal-heading{padding:26px 22px}.modal-heading h2{font-size:20px}.form-content{padding:6px 22px 22px}.modal-actions{padding:15px;flex-wrap:wrap}.modal-actions>span{width:100%;min-height:0}.login-card{padding:32px}.login-card h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Business Optimizer brand */
:root{--green:#152528;--green-dark:#111111;--bg:#f7f7f5;--ink:#152528;--border:#e3e3de;--gold:#ffd262}
.sidebar{background:#152528;color:#fff;border-right:0}.brand{margin-bottom:43px;padding:0 7px}.brand-logo{width:175px;height:72px;object-fit:contain}.workspace-label,.nav-heading{color:#91a0a0}.nav-active{background:#ffd262;color:#152528}.nav-count{background:#ffffff25;color:inherit}.nav-active .nav-count{background:#15252812}.sidebar nav button{color:#d1d8d6}.sidebar nav button>span{color:#8d9f9f}.sidebar nav button:hover,.sidebar nav button.nav-selected{background:#ffffff0d}.sidebar nav button.nav-selected{color:#ffd262}.local-label{color:#b8c9c2}.local-label i{background:#ffd262;box-shadow:0 0 0 3px #ffffff0a}.sidebar-bottom>p{color:#a6b6b2}.account{border-color:#ffffff14}.account .avatar{color:#ffd262;background:#ffffff0e}.account small{color:#8eaaa4}.account button{color:#b9c9c3}.primary{background:#ffd262;color:#152528;font-weight:650;box-shadow:none}.primary:hover{background:#ffe09a}.heading-dot{color:#c9a447!important}.eyebrow{color:#8a8268}.stat-icon{color:#b9a974}.stats>div>span:first-child{color:#737d79}.stats strong small{color:#969d98}.filter-tabs .selected{background:#152528;color:white}.filter-tabs button:hover{background:#e9eae5}.filter-tabs button.selected:hover{background:#243b3e}.directory-heading h2 span{background:#ece9df;color:#847a5d}.topbar-brand{display:inline-flex;gap:5px;align-items:center;font-size:13px}.topbar-brand b{font-weight:750}.dash-symbol{font-style:normal;color:#b88d25;font-size:22px;margin-right:5px}.card-bottom{background:#fafaf7}.client-card{padding-top:20px}.client-logo.has-logo{width:96px;height:56px;background:#f8f8f5;border:1px solid #eeeeea;border-radius:7px}.client-logo.has-logo img{padding:6px;object-fit:contain}.client-logo.has-logo.logo-dark{background:#152528;border-color:#152528}.profile-identity .client-logo.has-logo{width:150px;height:96px}.card-plan{font-size:9px;color:#a19883;margin-top:7px}.card-task-count{font-size:8px;color:#b39036;white-space:nowrap}.card-bottom button{color:#435f5e}.completion{background:#f4f0e5;border-color:#e8dfc9}.completion strong small{color:#ab914e}.progress-track{background:#e6dcc4}.progress-track>div{background:#c4a04a}.completion p{color:#8c815f}.task-nav{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:13px 12px;border-radius:6px;color:#d1d8d6;font-size:13px;margin-top:8px}.task-nav>span:first-child{font-size:23px}.task-nav:hover{background:#ffffff0b}.task-nav .nav-count{margin-left:auto}.relationship-list{margin:0}.relationship-list>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:9px 0;border-bottom:1px solid #eeeee8;font-size:10px;line-height:1.6}.relationship-list dt{color:#8c9388}.relationship-list dd{margin:0;overflow-wrap:anywhere}.relationship-list>div:last-child{border:0}.source-caption{font-size:10px;color:#979c8e;line-height:1.8;margin:15px 0 0}.research-status{font-size:10px;color:#628177;margin:12px 0}.source-link{display:block;font-size:10px;color:#71857c;overflow-wrap:anywhere;margin:10px 0}.import-details{font-size:10px;color:#848e7c;margin:15px 0}.import-details summary{cursor:pointer}.import-details[open] summary{margin-bottom:15px}.panel-subtitle{font-size:10px;color:#8f9a8a;margin:8px 0 0}.client-task-panel .primary{min-height:32px;font-size:10px;padding:8px 12px}.client-task-summary{display:flex;gap:14px;font-size:10px;color:#8c9985;border-bottom:1px solid #e9ede2;padding:0 0 14px;margin-bottom:10px}.client-task-summary a{margin-left:auto;color:#8a793f}.tasks-panel{background:#fff;border:1px solid var(--border);padding:24px;border-radius:9px}.tasks-toolbar{display:flex;gap:14px;align-items:flex-end}.tasks-toolbar .search{height:42px;flex:1}.task-filter{display:flex;flex-direction:column;gap:7px;min-width:120px;font-size:9px;color:#8a9385}.task-filter select{font-size:11px;border:1px solid #e2e5dc;background:#fafbf7;border-radius:5px;padding:11px 30px 11px 10px;color:#64725a;max-width:240px;width:100%}.secondary-filters{margin-top:16px;align-items:flex-end}.secondary-filters .task-filter{flex:1}.secondary-filters .text-button{padding-bottom:13px;white-space:nowrap}.tasks-panel .results-meta{margin:22px 0 12px;font-size:9px}.task-row{display:flex;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #ecefe7}.task-row:last-child{border:0}.task-check{height:19px;width:19px;flex-shrink:0;border:1.5px solid #cbd4c1;border-radius:5px;font-size:11px;padding:0;color:white}.task-check.checked{background:#588572;border-color:#588572}.task-main{flex:1;min-width:0}.task-title{font-size:12px;font-weight:600;padding:0;text-align:left;line-height:1.5;overflow-wrap:anywhere}.task-title:hover{color:#b49035}.task-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:7px;font-size:9px;color:#929d86}.task-meta a{color:#758570}.task-meta a:hover{text-decoration:underline}.task-category{padding:3px 6px;border-radius:4px;font-size:8px;background:#eff1ea;color:#778566}.category-seo{background:#efeafa;color:#8164a6}.category-website{background:#e9f0fa;color:#6684ae}.category-content{background:#f9eee5;color:#ac825d}.category-advertising{background:#f7eaf3;color:#a57794}.category-hosting{background:#f8f0dc;color:#a08a49}.category-client-success{background:#e8f3ec;color:#5c8a69}.task-date.overdue{color:#b56a54;font-weight:600}.priority{font-size:9px;display:flex;align-items:center;gap:5px;white-space:nowrap;min-width:45px}.priority i{height:5px;width:5px;border-radius:50%;background:currentColor}.priority-low{color:#879989}.priority-medium{color:#b29950}.priority-high{color:#c18a55}.priority-urgent{color:#c46a65}.status-select select{font-size:9px;border:1px solid #dfe6d7;background:#f6f8f1;color:#81926d;border-radius:5px;padding:6px 4px;max-width:95px}.status-select .status-in-progress{background:#ebf0fa;color:#6684b0;border-color:#dce5f4}.status-select .status-waiting{background:#fcf4df;color:#ad9550;border-color:#f1e6c8}.status-select .status-done{background:#e9f3ea;color:#688766;border-color:#d7e8d6}.task-edit{font-size:18px;padding:0 5px;color:#96a389}.task-done .task-title{text-decoration:line-through;color:#9aa48f}.task-empty{padding:35px 20px;text-align:center}.task-empty>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f1f4ec;color:#94a884;font-size:20px;margin:0 auto 15px}.task-empty h3{font-size:13px;font-weight:500;margin:0}.task-empty p{font-size:11px;color:#99a48e;margin-bottom:0}.task-form-grid{padding-top:25px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.login-brand{background:#152528;padding:20px;border-radius:8px;margin-bottom:28px}.login-brand img{width:100%;height:85px;object-fit:contain}.login-page{background:radial-gradient(ellipse at top left,#f2e7ca,transparent 60%),#f7f7f5}
@media(max-width:1150px){.brand-logo{width:160px}.task-meta{gap:7px}.client-task-panel .task-row{gap:8px;flex-wrap:wrap}.client-task-panel .task-main{flex-basis:calc(100% - 35px)}.client-task-panel .priority{margin-left:28px}.client-task-panel .task-edit{margin-left:auto}.tasks-toolbar{flex-wrap:wrap}.tasks-toolbar>.search{flex-basis:100%}.task-filter{flex:1}}
@media(max-width:950px){.brand-logo{width:142px}.tasks-toolbar .task-filter select{max-width:none}.secondary-filters .text-button{font-size:9px}}
@media(max-width:650px){.sidebar{flex-wrap:wrap;gap:5px}.brand-logo{width:130px;height:49px}.sidebar-bottom{margin-left:auto}.account .avatar{background:#ffffff14;color:#ffd262}.task-nav{width:auto;padding:8px 10px;margin:0;font-size:10px;order:3}.task-nav>span:first-child{font-size:17px}.task-nav .nav-count{font-size:9px}.sidebar .nav-active{display:flex;width:auto;padding:8px 10px;order:3;font-size:10px;margin:0}.sidebar .nav-active>span:first-child{font-size:16px}.sidebar .nav-active .nav-count{display:none}.topbar-brand{font-size:10px}.dash-symbol{font-size:17px;margin:0}.private-label{font-size:8px}.divider{margin:0 5px}.client-logo.has-logo{width:125px;height:65px}.profile-identity .client-logo.has-logo{display:grid;width:115px;height:66px;margin-bottom:15px}.profile-identity{display:block}.profile-heading h1{font-size:23px}.profile-heading .primary{margin-top:8px}.tasks-panel{padding:16px}.task-filter{min-width:130px;max-width:100%}.tasks-panel .results-meta{flex-wrap:wrap;gap:8px;line-height:1.5}.task-row{flex-wrap:wrap;gap:9px}.task-main{flex-basis:calc(100% - 32px)}.task-row>.priority{margin-left:28px}.task-row>.task-edit{margin-left:auto}.task-filter select{max-width:none}.secondary-filters .text-button{padding:8px 0}.task-title{font-size:13px}.card-plan{font-size:10px}.card-task-count{font-size:9px}}
.nav-active.nav-inactive{background:none;color:#d1d8d6;font-weight:400}.nav-active.nav-inactive .nav-count{background:#ffffff25}.task-nav.nav-current{background:#ffd262;color:#152528;font-weight:600}.task-nav.nav-current .nav-count{background:#15252812}.card-details>span:nth-child(even){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.card-bottom>span:nth-child(2){max-width:110px}.card-task-count:empty{display:none}.card-task-count{margin-left:auto}.sidebar .task-nav:focus-visible{outline-color:#ffd262}
@media(max-width:650px){.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;padding:15px 20px}.sidebar .brand{grid-column:1;grid-row:1}.sidebar .sidebar-bottom{grid-column:2;grid-row:1;justify-self:end;margin:0}.sidebar .nav-active{grid-column:1;grid-row:2;width:100%;justify-content:center;min-height:36px}.sidebar .task-nav{grid-column:2;grid-row:2;width:100%;justify-content:center;min-height:36px}.sidebar .task-nav .nav-count{margin-left:0}.sidebar .brand-logo{height:51px}.card-bottom>span:nth-child(2){max-width:140px}}
/* Directory views, previews, and leads */
:root{--surface:#fff;--surface-soft:#fafaf7;--text-secondary:#68746e;--text-tertiary:#929b93;--hover:#f0f2eb}
.topbar-actions{display:flex;align-items:center;gap:20px}.theme-toggle{font-size:11px;padding:8px 11px;border:1px solid var(--border);border-radius:6px;color:var(--text-secondary);background:var(--surface-soft)}.theme-toggle:hover{background:var(--hover)}.sidebar{overflow-y:auto}.pipeline-nav-heading{margin-top:24px;margin-bottom:7px}.pipeline-nav{margin-top:0}.sidebar .brand{margin-bottom:30px}.sidebar .nav-heading:not(.pipeline-nav-heading){margin-top:25px}.sidebar-bottom>p{font-size:20px;padding-bottom:16px}.view-switch{display:flex;border:1px solid var(--border);border-radius:6px;padding:3px;background:var(--surface);gap:2px}.view-switch button{font-size:11px;padding:7px 10px;border-radius:4px;color:var(--text-secondary);white-space:nowrap}.view-switch button[aria-pressed=true]{background:var(--green);color:#fff}.view-switch button:hover{background:var(--hover)}.view-switch button[aria-pressed=true]:hover{background:#29464a}.directory-tools{display:flex;gap:20px}.directory-tools button{font-size:10px;color:var(--text-secondary)}.client-results.view-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.client-results.view-grid .client-card{padding:0;background:var(--surface)}.card-body{padding:20px 21px 0}.client-results .card-bottom{margin:0;padding:13px 16px}.client-results .card-bottom>span:nth-child(2){max-width:95px}.client-results .client-logo.has-logo{width:113px;height:54px;background:#fff;border-color:#eeeeea;border-radius:6px}.client-logo.has-logo img{padding:5px;object-fit:contain}.client-logo.has-logo.logo-dark,.client-results .client-logo.has-logo.logo-dark{background:#153537;border-color:#153537}.card-top{margin-bottom:16px}.client-results .client-title{font-size:16px}.client-results .industry-label{font-size:11px}.client-results .card-plan{font-size:10px}.client-results .card-description{font-size:12px;line-height:1.7;color:var(--text-secondary);margin:14px 0;min-height:40px}.client-results .card-details{font-size:11px;color:var(--text-secondary)}.website-preview{background:var(--surface-soft);overflow:hidden}.browser-strip{height:25px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px;padding:0 10px;background:var(--surface-soft)}.browser-strip>span:first-child{display:flex;gap:4px}.browser-strip i{width:4px;height:4px;border-radius:50%;background:#c9d1c6;display:inline-block}.preview-domain{font-size:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:.7;color:var(--text-secondary)}.preview-surface{display:block;aspect-ratio:1.6;background:var(--surface-soft);overflow:hidden;position:relative}.preview-surface img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}.preview-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;color:var(--text-tertiary);background:radial-gradient(ellipse at top right,#ffd26215,transparent 70%),var(--surface-soft);padding:15px;text-align:center}.preview-placeholder>span{font-size:29px;font-weight:300;color:#c1b178}.preview-placeholder b{font-size:11px;font-weight:500;color:var(--text-secondary)}.preview-placeholder small{font-size:9px}.preview-controls{height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:var(--surface-soft);border-bottom:1px solid var(--border);font-size:8px;gap:6px;color:var(--text-tertiary)}.preview-controls button{font-size:9px;color:var(--text-secondary);white-space:nowrap;padding:5px 0}.preview-controls button:disabled{cursor:default}.profile-preview-panel{padding:18px}.profile-preview-panel .large-preview{border:1px solid var(--border);border-radius:7px}.large-preview .preview-surface{aspect-ratio:1.6}.large-preview .preview-controls{font-size:10px;height:38px}.large-preview .preview-controls button{font-size:11px}.large-preview .browser-strip{height:32px}.large-preview .preview-domain{font-size:10px}.client-results.view-list{display:flex;flex-direction:column;gap:10px}.client-list-row{display:flex;align-items:center;gap:21px;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden;padding:14px 18px}.list-preview{width:155px;flex-shrink:0;border:1px solid var(--border);border-radius:5px;overflow:hidden}.list-preview .browser-strip{height:18px}.list-preview .preview-domain{font-size:7px}.list-preview .preview-controls{font-size:7px;height:23px;padding:0 6px}.list-preview .preview-controls button{font-size:8px}.list-preview .preview-placeholder{gap:3px;padding:3px}.list-preview .preview-placeholder>span{font-size:17px}.list-preview .preview-placeholder b{font-size:8px}.list-preview .preview-placeholder small{display:none}.list-identity{display:flex;align-items:center;gap:15px;flex:1;min-width:0}.list-identity p{font-size:11px;margin:8px 0;color:var(--text-secondary);line-height:1.5}.list-identity small{font-size:10px;color:var(--text-tertiary)}.list-identity .client-logo.has-logo{width:89px;height:48px;flex-shrink:0}.list-meta{display:flex;align-items:flex-start;flex-direction:column;gap:10px;min-width:90px;font-size:10px;color:var(--text-secondary)}.list-meta small{font-size:9px;color:var(--text-tertiary)}.row-open{font-size:22px;padding:5px;color:var(--text-secondary)}.client-table-scroll{overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.client-table{border-collapse:collapse;width:100%;min-width:950px;text-align:left;font-size:11px}.client-table th{background:var(--surface-soft);padding:16px 13px;color:var(--text-secondary);font-size:10px;font-weight:500;white-space:nowrap}.client-table th button{font-size:10px;padding:0}.client-table td{padding:15px 13px;border-top:1px solid var(--border);color:var(--text-secondary);vertical-align:middle}.client-table tr:hover td{background:var(--hover)}.client-table small{display:block;font-size:9px;color:var(--text-tertiary);margin-top:6px}.table-business{display:flex;align-items:center;gap:11px;min-width:215px}.table-business a{font-weight:600;color:var(--ink);font-size:11px}.table-business .client-logo.has-logo{width:63px;height:41px}.pipeline-toolbar{display:flex;gap:14px;align-items:flex-end;margin-bottom:26px}.pipeline-toolbar .search{height:42px}.pipeline-toolbar .view-switch{height:42px}.pipeline-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(218px,1fr);gap:14px;overflow-x:auto;padding-bottom:18px;align-items:start;scrollbar-color:#b3c1b5 transparent}.pipeline-column{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px}.pipeline-column>header{display:flex;justify-content:space-between;align-items:center;padding:6px 3px 15px;gap:10px}.pipeline-column h2{font-size:12px;display:flex;align-items:center;gap:8px;white-space:nowrap}.pipeline-column header>span{font-size:10px;color:var(--text-tertiary);background:var(--surface);padding:3px 6px;border-radius:4px}.pipeline-column h2 i,.lead-stage-dot{display:inline-block;background:var(--stage-color);width:7px;height:7px;border-radius:50%;flex-shrink:0}.stage-new-lead{--stage-color:#7c9ec6}.stage-contacted{--stage-color:#ac87c7}.stage-discovery{--stage-color:#c8a65c}.stage-proposal{--stage-color:#79a8a4}.stage-won{--stage-color:#7ea473}.stage-lost{--stage-color:#a3a89b}.pipeline-cards{display:flex;flex-direction:column;gap:10px;min-height:100px}.lead-card{background:var(--surface);border:1px solid var(--border);padding:15px;border-radius:7px}.lead-card-top{display:flex;align-items:center;gap:5px;color:var(--text-tertiary);font-size:8px;margin-bottom:13px}.lead-card-top button{margin-left:auto;padding:0;font-size:18px;color:var(--text-secondary)}.lead-name{font-size:13px;font-weight:600;text-align:left;padding:0;line-height:1.5;color:var(--ink)}.lead-name:hover{text-decoration:underline}.lead-card>p{font-size:10px;color:var(--text-secondary);line-height:1.7;margin:7px 0 12px}.lead-value{font-size:15px;font-weight:550;margin-bottom:10px}.lead-followup{font-size:9px;color:var(--text-tertiary);line-height:1.6}.lead-followup.overdue{color:#bf7969}.lead-owner{font-size:9px;color:var(--text-tertiary);display:block;margin-top:8px}.lead-card-bottom{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid var(--border);flex-wrap:wrap}.lead-card-bottom select{font-size:9px;padding:7px;background:var(--surface-soft);color:var(--text-secondary);border:1px solid var(--border);border-radius:4px;max-width:110px}.lead-card-bottom button{font-size:9px}.column-empty{text-align:center;color:var(--text-tertiary);font-size:10px;padding:18px 2px}.add-stage-lead{font-size:10px;padding:10px 0 0;width:100%;text-align:left;color:var(--text-secondary)}.lead-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.value-stat{font-size:25px!important;white-space:nowrap}.pipeline-toolbar .task-filter{max-width:180px}.sidebar .pipeline-nav{font-size:12px}.logo-dark #logo-preview{background:#153537}
/* Theme surfaces and readable text */
body{color:var(--ink)}.topbar,.stats,.panel,.tasks-panel,.login-card,dialog,.modal-actions{background:var(--surface);border-color:var(--border);color:var(--ink)}.directory-heading h2,.panel h2,.task-title{color:var(--ink)}.card-bottom{background:var(--surface-soft);border-color:var(--border)}.search,.toolbar select,.secondary,.view-switch{background:var(--surface);border-color:var(--border);color:var(--text-secondary)}.search input{color:var(--ink)}.form-field input,.form-field select,.form-field textarea,.task-filter select,.login-card input,.status-select select{background:var(--surface-soft);border-color:var(--border);color:var(--ink)}.page-heading p,.description,.notes,.detail-list li,.list-meta,.card-details,.info-grid label,.form-field,.task-filter,.relationship-list dt{color:var(--text-secondary)}.eyebrow,.industry-label,.card-plan,.results-meta,.source-caption,.profile-meta,.task-meta,.panel-subtitle,.form-hint,.form-field small,.modal-heading p{color:var(--text-tertiary)}.info-grid,.panel-title,.detail-list li,.task-row,.client-task-summary,.relationship-list>div,.modal-heading,.modal-actions,footer{border-color:var(--border)}.info-grid p{color:var(--ink)}.task-empty h3{color:var(--text-secondary)}.topbar-brand{color:var(--ink)}.toolbar select{color:var(--text-secondary)}.client-card{border-color:var(--border)}.primary{background:#ffd262;color:#152528}.primary:hover{background:#ffe09a}.text-button,.back-link{color:var(--text-secondary)}
html[data-theme=dark]{color-scheme:dark;--bg:#101c1f;--ink:#e6ece7;--border:#2c3d3f;--surface:#192a2e;--surface-soft:#1c3034;--text-secondary:#adbbb6;--text-tertiary:#81958e;--hover:#243b3e;--green:#365653}
html[data-theme=dark] .sidebar{background:#101b1e;border-right:1px solid #2a3a3d}html[data-theme=dark] .topbar{background:#142327}html[data-theme=dark] .private-label,html[data-theme=dark] #breadcrumb{color:#899e97}html[data-theme=dark] .divider{color:#4d6460}html[data-theme=dark] .filter-tabs{border-color:var(--border)}html[data-theme=dark] .filter-tabs button{color:#a7b8af}html[data-theme=dark] .filter-tabs button.selected{background:#ffd262;color:#152528}html[data-theme=dark] .filter-tabs button:hover{background:#2b4143}html[data-theme=dark] .filter-tabs button.selected:hover{background:#ffe09a}html[data-theme=dark] .directory-heading h2 span{background:#30403c;color:#c4d1c3}html[data-theme=dark] .stats>div{border-color:var(--border)}html[data-theme=dark] .stats>div>span:first-child{color:var(--text-secondary)}html[data-theme=dark] .stats strong small{color:var(--text-tertiary)}html[data-theme=dark] .client-card:hover{border-color:#607a67;box-shadow:0 6px 25px #0002}html[data-theme=dark] .contact-avatar{background:#2c4140;color:#bdd1c0}html[data-theme=dark] .card-bottom{color:var(--text-secondary)}html[data-theme=dark] .card-bottom button{color:#d6c98e}html[data-theme=dark] .card-details>span:nth-child(odd){color:#839e8d}html[data-theme=dark] .badge{background:color-mix(in srgb,var(--badge-color) 22%,var(--surface));color:color-mix(in srgb,var(--badge-color) 55%,white)}html[data-theme=dark] .completion{background:#303529;border-color:#494b35}html[data-theme=dark] .completion strong small{color:#d4bd75}html[data-theme=dark] .completion p{color:#b7b28e}html[data-theme=dark] .progress-track{background:#4f513a}html[data-theme=dark] .progress-track>div{background:#c4a04a}html[data-theme=dark] .demo-note{background:#26372b;border-color:#466044;color:#c1ccb3}html[data-theme=dark] .secondary:hover{background:var(--hover)}html[data-theme=dark] .task-meta a,html[data-theme=dark] .info-grid a,html[data-theme=dark] .source-link{color:#a0c7b5}html[data-theme=dark] .task-category{background:#304039;color:#b3c3a8}html[data-theme=dark] .category-seo{background:#3c344e;color:#c9b4e5}html[data-theme=dark] .category-website{background:#2c3d56;color:#b6cdee}html[data-theme=dark] .category-content{background:#45392d;color:#debea0}html[data-theme=dark] .category-advertising{background:#443142;color:#dfb9d1}html[data-theme=dark] .category-hosting{background:#423c2b;color:#d7c78e}html[data-theme=dark] .category-client-success{background:#2b4537;color:#aad1b7}html[data-theme=dark] .status-select select{background:#2b3f3b;color:#bfd1b9}html[data-theme=dark] .status-select .status-in-progress{background:#2a3b53;color:#b0c9e7}html[data-theme=dark] .status-select .status-waiting{background:#423c28;color:#d7c383}html[data-theme=dark] .status-select .status-done{background:#2b4531;color:#aed1a5}html[data-theme=dark] .task-check{border-color:#597162}html[data-theme=dark] .task-done .task-title{color:#7e9787}html[data-theme=dark] .task-empty>span{background:#2b3e32;color:#a8bd94}html[data-theme=dark] .login-page{background:radial-gradient(ellipse at top left,#393926,transparent 60%),#101c1f}html[data-theme=dark] .search kbd{border-color:var(--border);color:#81958e}html[data-theme=dark] .preview-controls button{color:#c9bf89}html[data-theme=dark] .view-switch button[aria-pressed=true]{background:#ffd262;color:#152528}html[data-theme=dark] .task-nav.nav-current{background:#ffd262;color:#152528}
@media(min-width:1500px){.card-body{padding:22px 24px 0}.client-results .client-title{font-size:17px}.client-results .card-bottom{padding:15px 22px}}
@media(max-width:1150px){.client-list-row{gap:14px}.list-preview{width:125px}.list-identity{gap:10px}.list-identity .client-logo.has-logo{width:70px}.client-results .client-title{font-size:14px}.card-body{padding:17px 16px 0}.client-results .client-logo.has-logo{width:91px;height:50px}.pipeline-toolbar{flex-wrap:wrap}.pipeline-toolbar .search{flex-basis:100%}.pipeline-toolbar .task-filter{flex:1;max-width:none}}
@media(max-width:950px){.client-results.view-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.list-identity .client-logo{display:none}.list-meta{min-width:70px}.lead-list{grid-template-columns:repeat(2,minmax(0,1fr))}.private-label{display:none}.topbar-actions{gap:0}.value-stat{font-size:24px!important}.directory-tools{gap:12px}}
@media(max-width:650px){.sidebar .pipeline-nav-heading{display:none}.sidebar .pipeline-nav{grid-column:1/-1;grid-row:3;width:100%;justify-content:center;margin:0;background:#ffffff09}.sidebar .pipeline-nav .nav-count{margin:0}.sidebar .nav-heading:not(.pipeline-nav-heading){display:none}.sidebar .brand{margin:0}.sidebar{overflow:visible}.topbar{gap:6px}.topbar>div:first-child{min-width:0;display:flex;align-items:center}.topbar #breadcrumb{max-width:90px}.topbar .topbar-brand{white-space:nowrap}.theme-toggle{font-size:9px;padding:7px}.client-results.view-grid{grid-template-columns:1fr}.client-results .client-title{font-size:18px}.client-results .client-logo.has-logo{width:130px;height:62px}.card-body{padding:22px 22px 0}.client-results .card-bottom{padding:15px 18px}.client-results .card-bottom>span:nth-child(2){max-width:120px}.client-results .card-description{font-size:13px}.client-results .card-details{font-size:12px}.directory-heading{gap:8px}.view-switch button{font-size:10px;padding:7px 8px}.directory-tools{gap:13px}.directory-tools button{font-size:9px}.client-list-row{padding:14px;gap:10px;flex-wrap:wrap}.list-preview{width:96px}.list-identity{flex-basis:calc(100% - 110px)}.list-identity .client-title{font-size:14px}.list-identity p{font-size:10px;margin:5px 0}.list-identity small{font-size:9px}.list-meta{margin-left:106px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}.list-meta>span:not(.badge){display:none}.row-open{margin-left:auto;font-size:18px}.client-results.view-list .client-logo{display:none}.pipeline-toolbar{gap:10px}.pipeline-toolbar .task-filter{min-width:140px}.pipeline-toolbar .view-switch{width:100%;justify-content:center}.pipeline-column{min-height:220px}.pipeline-board{grid-auto-columns:260px}.lead-list{grid-template-columns:1fr}.pipeline-nav.nav-current{background:#ffd262!important}.profile-preview-panel{padding:13px}.value-stat{font-size:22px!important}.large-preview .preview-domain{font-size:8px}}
.pipeline-board-controls{display:flex;align-items:center;justify-content:space-between;margin:-8px 0 12px;color:var(--text-tertiary);font-size:10px}.pipeline-board-controls>div{display:flex;gap:5px}.pipeline-board-controls button{border:1px solid var(--border);background:var(--surface);padding:6px 12px;border-radius:4px;font-size:15px;color:var(--text-secondary)}.pipeline-board-controls button:hover{background:var(--hover)}.nav-active.nav-inactive{background:transparent!important;color:#b5c5c0!important}
.editor-logo-preview:not(:empty){display:flex;align-items:center;justify-content:center;width:150px;min-height:70px;background:#fff;border:1px solid #e6e9e1;border-radius:6px;padding:5px}.editor-logo-preview.logo-dark:not(:empty){background:#153537;border-color:#153537}.form-field .editor-logo-preview img{width:130px!important;height:65px!important;object-fit:contain}
/* Client dashboards: work first, reference details second. */
.client-logo-link{display:inline-flex;flex-shrink:0;border-radius:7px}.client-logo-link:hover{box-shadow:0 0 0 2px #cdb76b70}.client-dashboard-heading{margin-bottom:25px;gap:18px}.client-dashboard-heading .profile-identity{gap:19px;min-width:0}.client-dashboard-heading h1{font-size:29px;margin:10px 0 9px}.client-identity-labels{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--text-secondary)}.profile-heading-actions{display:flex;gap:9px;flex-shrink:0;align-items:center}.profile-heading-actions .secondary{font-size:11px;padding:11px 13px}.client-dashboard-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(275px,1fr);gap:24px;align-items:start}.client-work-column,.client-reference-column{min-width:0}.client-reference-column .panel{padding:21px;margin-bottom:18px}.client-reference-column .panel h2{font-size:13px}.client-reference-column .profile-preview-panel{padding:15px}.external-website-link{font-size:10px;color:var(--text-secondary)}.client-reference-column .large-preview .browser-strip{height:25px}.client-reference-column .large-preview .preview-domain{font-size:8px}.client-reference-column .large-preview .preview-controls{height:30px;font-size:8px}.client-reference-column .large-preview .preview-controls button{font-size:9px}.client-relationship-strip{display:flex;align-items:center;border:1px solid var(--border);border-left:4px solid var(--badge-color);border-radius:8px;padding:18px;background:var(--badge-bg);gap:20px;margin-bottom:18px}.client-relationship-strip>div:first-child{flex:1;min-width:0}.strip-label{font-size:8px;letter-spacing:1.5px;color:var(--badge-color);font-weight:650;display:block;margin-bottom:6px}.client-relationship-strip>div:first-child strong{font-size:14px;line-height:1.5;display:block}.client-relationship-strip>div:first-child small{font-size:9px;color:var(--text-secondary);display:block;margin-top:5px}.client-metric{display:flex;flex-direction:column;gap:8px;text-align:center;white-space:nowrap}.client-metric>span{font-size:9px;color:var(--text-secondary)}.client-metric strong{font-size:23px;font-weight:550}.metric-open strong{color:#58847a}.metric-urgent strong{color:#b28b46}.metric-overdue strong{color:#be7564}.client-quick-access{display:grid;grid-template-columns:1fr 1fr;margin-bottom:20px;gap:10px}.contact-tile{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:7px;background:var(--surface);padding:13px;min-width:0}.contact-tile.contact-email{grid-column:1/-1}.contact-tile-icon{display:grid;place-items:center;flex-shrink:0;height:30px;width:30px;border-radius:6px;font-size:15px;background:#edf2e7;color:#879875}.contact-phone .contact-tile-icon{background:#eaf2f8;color:#7f9daf}.contact-email .contact-tile-icon{background:#f3edf8;color:#aa92bd}.contact-tile>div{min-width:0;flex:1}.contact-tile label{display:block;font-size:9px;color:var(--text-tertiary);margin-bottom:5px}.contact-tile strong,.contact-tile a{font-size:11px;font-weight:500;line-height:1.5;display:block;overflow-wrap:anywhere}.copy-contact{font-size:17px;padding:4px;color:var(--text-tertiary);align-self:center}.copy-contact:hover{color:var(--ink)}.client-section-nav{display:flex;gap:24px;margin:10px 0 20px;padding-bottom:13px;border-bottom:1px solid var(--border);font-size:11px;color:var(--text-secondary)}.client-section-nav a{padding:3px 0}.client-section-nav a.active{color:var(--ink);font-weight:650}.client-section-nav a:hover{color:#b5963e}.task-workspace{padding:23px;scroll-margin-top:20px}.task-workspace .panel-title{margin-bottom:19px}.task-workspace h2{font-size:17px}.task-workspace .panel-subtitle{font-size:11px;line-height:1.6}.task-workspace .secondary{font-size:10px;padding:8px 12px;white-space:nowrap}.quick-task-form{border:1px solid #d8e2cf;border-radius:8px;background:var(--surface-soft);margin-bottom:21px;padding:12px}.quick-task-entry{display:flex;align-items:center;gap:8px}.quick-task-entry>span{font-size:24px;color:#a2b68d}.quick-task-entry input{background:none;border:0;outline:none;color:var(--ink);font-size:14px;padding:9px 0;flex:1;min-width:0}.quick-task-entry input::placeholder{color:var(--text-tertiary)}.quick-task-entry .primary{font-size:10px;min-height:35px;padding:8px 11px;gap:4px}.quick-task-options{border-top:1px solid var(--border);margin-top:9px;padding-top:10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.quick-task-options label{display:flex;align-items:center;gap:6px;font-size:8px;color:var(--text-tertiary)}.quick-task-options select{font-size:9px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--text-secondary);padding:5px}.quick-task-options .text-button{margin-left:auto;font-size:9px}.quick-task-form #quick-task-error{display:block;color:#bb715d;font-size:11px;margin-top:6px}.quick-task-form:focus-within{border-color:#a3b891;box-shadow:0 0 0 2px #9fb88b12}.client-task-tabs{display:flex;gap:5px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:14px}.task-tab{font-size:10px;padding:8px;border-radius:5px;color:var(--text-secondary)}.task-tab span{font-size:9px;margin-left:6px;padding:2px 5px;border-radius:4px;background:#00000006}.task-tab[aria-pressed=true]{background:#eaf2ec;color:#547d60;font-weight:650}.task-tab.status-in-progress[aria-pressed=true]{background:#eaf0f9;color:#6585b3}.task-tab.status-waiting[aria-pressed=true]{background:#faf2db;color:#b09746}.task-tab.status-done[aria-pressed=true]{background:#e8f2e5;color:#738f63}.client-task-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.client-task-filters .search{flex-basis:100%;height:35px}.client-task-filters input{font-size:10px;padding:8px 0}.client-task-filters select{border:1px solid var(--border);border-radius:5px;background:var(--surface-soft);font-size:10px;padding:8px 11px;color:var(--text-secondary);flex:1;min-width:100px}.client-task-list-heading{display:flex;justify-content:space-between;color:var(--text-tertiary);font-size:9px;padding:15px 0 10px}.client-task-list-heading a{color:#a18b48}.task-row{border-left:3px solid transparent;padding:16px 10px;margin:8px 0;border-radius:5px;background:var(--surface-soft);border-bottom:0}.priority-row-low{border-left-color:#90aa91}.priority-row-medium{border-left-color:#c5aa62}.priority-row-high{border-left-color:#cd986a}.priority-row-urgent{border-left-color:#c76d69}.task-done{border-left-color:#92b086;background:color-mix(in srgb,#8bac76 7%,var(--surface))}.task-done .priority{opacity:.6}.task-row .task-title{font-size:13px}.task-row .task-meta{line-height:1.6}.client-task-panel .task-row{gap:10px;flex-wrap:wrap}.client-task-panel .task-row .task-main{flex-basis:calc(100% - 35px)}.client-task-panel .task-row>.priority{margin-left:29px}.client-task-panel .task-row>.task-edit{margin-left:auto}.client-task-panel .status-select select{font-size:10px;max-width:115px}.client-task-empty{padding:32px 10px}.client-task-empty h3{font-size:14px}.client-task-empty p{font-size:11px;line-height:1.7;max-width:340px;margin:10px auto 0}.client-task-empty .text-button{margin-top:15px}.business-information,.client-work-column #client-notes{scroll-margin-top:20px}.business-information .description{font-size:12px}.business-service-sections{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:25px}.business-service-sections h3{font-size:12px;font-weight:600;margin:0 0 15px;color:var(--ink)}.business-service-sections .detail-list li{font-size:11px;line-height:1.7}.business-service-sections>div:nth-child(3){grid-column:1/-1}.business-service-sections>div:nth-child(3) .detail-list{display:flex;gap:8px;flex-wrap:wrap}.business-service-sections>div:nth-child(3) .detail-list li{background:var(--surface-soft);padding:6px 9px;border:1px solid var(--border);border-radius:5px;font-size:10px}.compact-completeness{display:flex;align-items:center;gap:18px}.compact-completeness>span{font-size:10px;color:var(--text-secondary);line-height:1.7}.compact-completeness strong{font-size:35px}.reference-disclosure{border:1px solid var(--border);border-radius:8px;background:var(--surface);margin-bottom:18px;overflow:hidden}.reference-disclosure summary{padding:18px 20px;cursor:pointer;color:var(--ink);font-size:12px;font-weight:550;list-style-position:outside;display:list-item;margin-left:15px}.reference-disclosure summary small{display:block;font-size:9px;color:var(--text-tertiary);font-weight:400;margin:7px 0 0}.reference-disclosure .panel{border:0;border-radius:0;margin:0;padding-top:5px}.reference-disclosure .panel-title{display:none}.client-reference-column .profile-meta{font-size:9px;line-height:1.7;gap:7px;flex-wrap:wrap}.client-reference-column .completion .panel-title{margin-bottom:12px}
/* Large task composer */
dialog.task-dialog{width:1040px;max-width:calc(100vw - 40px);max-height:94vh}.task-composer-heading{padding:31px 36px 25px}.task-composer-heading h2{font-size:28px;letter-spacing:-.8px}.task-composer-heading p{font-size:13px;line-height:1.7}.task-composer-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr)}.task-composer-main{padding:28px 36px 32px}.task-composer-organization{padding:29px 28px;background:var(--surface-soft);border-left:1px solid var(--border)}.task-composer-organization h3{font-size:14px;margin:0 0 24px;font-weight:550}.task-composer-organization .form-field{margin-bottom:19px;font-size:12px}.task-composer-organization .form-field input,.task-composer-organization .form-field select{height:44px;background:var(--surface);font-size:13px}.task-title-field{font-size:13px;gap:10px;position:relative}.task-title-field .required-label{position:absolute;right:0;top:0;font-size:10px;color:var(--text-tertiary);font-weight:400}.task-title-field input{padding:16px;font-size:19px;background:var(--surface);height:61px;color:var(--ink);border-color:#c9d7bf}.task-choice-group{border:0;padding:0;margin:29px 0}.task-choice-group legend{font-size:13px;color:var(--ink);font-weight:550;padding:0}.task-choice-group legend small{font-size:10px;font-weight:400;color:var(--text-tertiary);display:block;margin-top:7px}.category-choices,.priority-choices{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.choice-chip{position:relative;display:inline-flex;align-items:center;gap:7px;padding:11px 13px;font-size:12px;border:1px solid transparent;border-radius:6px;cursor:pointer;transition:box-shadow .15s,border-color .15s;color:var(--text-secondary);background:var(--surface-soft)}.choice-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.choice-chip span,.choice-chip i{pointer-events:none}.choice-chip:has(input:checked){border-color:currentColor;box-shadow:0 0 0 1px currentColor;font-weight:650}.choice-chip:has(input:focus-visible){outline:3px solid #a8bf96;outline-offset:3px}.choice-chip.category-seo{background:#f0eafa;color:#8b6eb5}.choice-chip.category-website{background:#eaf0fa;color:#6d8db6}.choice-chip.category-content{background:#f9eee2;color:#b68b60}.choice-chip.category-advertising{background:#f8eaf3;color:#b27f9d}.choice-chip.category-hosting{background:#faf1da;color:#b1994c}.choice-chip.category-client-success{background:#eaf3e9;color:#74996a}.choice-chip.priority-low{color:#7f9b80;background:#edf4ed}.choice-chip.priority-medium{color:#b29b56;background:#faf4e3}.choice-chip.priority-high{color:#bb8e5d;background:#faf0e3}.choice-chip.priority-urgent{color:#bd716c;background:#faeeec}.choice-chip i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.task-details-field{font-size:13px}.task-details-field>small{font-size:10px;color:var(--text-tertiary)}.task-details-field textarea{font-size:13px;line-height:1.8;background:var(--surface);min-height:150px;padding:15px}.date-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:-8px}.date-presets button{font-size:10px;border:1px solid var(--border);background:var(--surface);border-radius:4px;padding:6px;color:var(--text-secondary)}.date-presets button:hover{background:var(--hover)}.task-organize-hint{font-size:11px;color:var(--text-tertiary);line-height:1.9;margin:20px 0 0}.task-composer-actions{padding:20px 36px;gap:12px;min-height:80px}.task-composer-actions>span{flex-basis:100%;margin:0;display:none}.task-composer-actions>span:not(:empty){display:block}.task-composer-actions .primary,.task-composer-actions .secondary{font-size:13px;padding:13px 19px}.task-composer-actions .secondary{margin-left:auto}.add-another-choice{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:11px}.add-another-choice input{accent-color:#c0a047;width:15px;height:15px}.task-composer-actions #task-error{font-size:12px}.task-composer-organization .status-in-progress{color:#6988b0!important}.task-composer-organization .status-waiting{color:#ac974d!important}.task-composer-organization .status-done{color:#799864!important}
/* Drag and drop keeps the same stage colors and provides a menu alternative. */
.lead-card[draggable=true]{cursor:grab;transition:opacity .18s,box-shadow .18s,transform .18s}.lead-card[draggable=true]:hover{box-shadow:0 3px 15px #1525280a}.lead-card.dragging{opacity:.35}.lead-card .lead-card-top .lead-drag-handle{margin-left:0;font-size:19px;line-height:1;color:var(--text-tertiary);padding:3px 5px 3px 0;cursor:grab;touch-action:none}.lead-card .lead-drag-handle:active{cursor:grabbing}.lead-card .lead-card-top>button:last-child{margin-left:auto}.pipeline-column{transition:background .15s,border-color .15s,box-shadow .15s}.pipeline-column.drag-over{border-color:var(--stage-color);box-shadow:inset 0 0 0 2px var(--stage-color);background:color-mix(in srgb,var(--stage-color) 12%,var(--surface-soft))}.drag-active .pipeline-cards{min-height:135px}.drag-active .column-empty{color:var(--stage-color)}.lead-drag-ghost{position:fixed;z-index:1000;pointer-events:none;box-shadow:0 15px 50px #0003;transform:rotate(3deg);opacity:.95}.pipeline-board-controls>span{font-size:9px}.pipeline-column .pipeline-cards{padding-bottom:5px}
html[data-theme=dark] .client-relationship-strip{background:color-mix(in srgb,var(--badge-color) 14%,var(--surface));border-color:var(--border);border-left-color:var(--badge-color)}html[data-theme=dark] .strip-label{color:color-mix(in srgb,var(--badge-color) 65%,white)}html[data-theme=dark] .metric-open strong{color:#a4c9b9}html[data-theme=dark] .metric-urgent strong{color:#d5bb72}html[data-theme=dark] .metric-overdue strong{color:#d6937c}html[data-theme=dark] .contact-tile-icon{background:#2d4333;color:#9aba8c}html[data-theme=dark] .contact-phone .contact-tile-icon{background:#2b3f50;color:#a3bfd1}html[data-theme=dark] .contact-email .contact-tile-icon{background:#3c3448;color:#c6acde}html[data-theme=dark] .quick-task-form{border-color:#4c6652}html[data-theme=dark] .task-tab[aria-pressed=true]{background:#2c4435;color:#b3d0ae}html[data-theme=dark] .task-tab.status-in-progress[aria-pressed=true]{background:#2b3c54;color:#b4cdeb}html[data-theme=dark] .task-tab.status-waiting[aria-pressed=true]{background:#45402c;color:#d9c587}html[data-theme=dark] .task-tab.status-done[aria-pressed=true]{background:#304632;color:#b5d49c}html[data-theme=dark] .choice-chip.category-seo{background:#3c344e;color:#c9b4e5}html[data-theme=dark] .choice-chip.category-website{background:#2c3d56;color:#b6cdee}html[data-theme=dark] .choice-chip.category-content{background:#45392d;color:#debea0}html[data-theme=dark] .choice-chip.category-advertising{background:#443142;color:#dfb9d1}html[data-theme=dark] .choice-chip.category-hosting{background:#423c2b;color:#d7c78e}html[data-theme=dark] .choice-chip.category-client-success{background:#2b4537;color:#aad1b7}html[data-theme=dark] .choice-chip.priority-low{background:#2d4333;color:#a5c49f}html[data-theme=dark] .choice-chip.priority-medium{background:#423f2c;color:#d6c381}html[data-theme=dark] .choice-chip.priority-high{background:#44392e;color:#dbb18b}html[data-theme=dark] .choice-chip.priority-urgent{background:#493333;color:#dca6a0}html[data-theme=dark] .task-title-field input{border-color:#597565}
@media(min-width:1450px){.client-quick-access{grid-template-columns:repeat(3,minmax(0,1fr))}.contact-tile.contact-email{grid-column:auto}.client-task-filters .search{flex-basis:0}.client-dashboard-heading h1{font-size:34px}.client-dashboard-layout{grid-template-columns:minmax(0,2.2fr) minmax(315px,1fr)}}
@media(max-width:1150px){.client-dashboard-layout{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:18px}.client-dashboard-heading{align-items:flex-start}.client-dashboard-heading .profile-identity .client-logo.has-logo{width:108px;height:75px}.client-dashboard-heading h1{font-size:24px}.profile-heading-actions{flex-direction:column;align-items:stretch}.profile-heading-actions .secondary{font-size:10px;padding:10px}.client-relationship-strip{gap:13px;padding:15px 12px}.client-relationship-strip>div:first-child strong{font-size:12px}.client-metric>span{font-size:8px}.client-metric strong{font-size:20px}.contact-tile{padding:11px;gap:7px}.contact-tile-icon{width:25px;height:25px;font-size:13px}.contact-tile strong,.contact-tile a{font-size:10px}.task-workspace{padding:18px}.task-workspace .panel-title{gap:9px}.task-workspace h2{font-size:16px}.task-workspace .panel-subtitle{font-size:10px}.task-workspace .secondary{font-size:9px}.task-tab{font-size:9px;padding:7px}.quick-task-options .text-button{margin:2px 0 0}.client-section-nav{gap:17px;font-size:10px}.task-composer-main{padding:25px}.task-composer-heading{padding:28px}.task-composer-organization{padding:25px 20px}.task-composer-actions{padding:20px 26px}}
@media(max-width:950px){.client-dashboard-layout{grid-template-columns:1fr}.client-reference-column{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.client-reference-column .panel,.client-reference-column .reference-disclosure{margin:0}.client-reference-column .profile-meta{grid-column:1/-1}.client-reference-column .profile-preview-panel{grid-row:span 2}.client-relationship-strip>div:first-child strong{font-size:14px}.client-metric strong{font-size:24px}.contact-tile strong,.contact-tile a{font-size:12px}.client-dashboard-heading .profile-identity .client-logo.has-logo{display:grid;width:100px;height:65px}.task-composer-layout{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.task-title-field input{font-size:17px}.choice-chip{font-size:11px;padding:10px}.client-task-tabs{gap:9px}.task-tab{font-size:10px;padding:9px}.quick-task-options .text-button{margin-left:auto}.client-task-filters .search{flex-basis:100%}}
@media(max-width:650px){.client-dashboard-heading{flex-direction:column;gap:16px}.client-dashboard-heading .profile-identity{display:flex;gap:12px;width:100%;align-items:center}.client-dashboard-heading .profile-identity .client-logo.has-logo{width:92px;height:63px;margin:0}.client-dashboard-heading h1{font-size:23px;line-height:1.25}.client-dashboard-heading p{font-size:10px;line-height:1.6}.client-identity-labels{font-size:9px;gap:7px}.profile-heading-actions{flex-direction:row;width:100%;gap:9px}.profile-heading-actions .secondary,.profile-heading-actions .primary{flex:1;margin:0;font-size:11px}.client-relationship-strip{flex-wrap:wrap;padding:16px;gap:17px}.client-relationship-strip>div:first-child{flex-basis:100%}.client-relationship-strip>div:first-child strong{font-size:16px}.client-relationship-strip>div:first-child small{font-size:10px}.client-metric{flex:1;align-items:flex-start;gap:7px;border-top:1px solid color-mix(in srgb,var(--badge-color) 20%,transparent);padding-top:12px}.client-metric>span{font-size:9px}.client-metric strong{font-size:25px}.client-quick-access{grid-template-columns:1fr}.contact-tile.contact-email{grid-column:auto}.contact-tile{padding:13px}.contact-tile-icon{width:31px;height:31px}.contact-tile strong,.contact-tile a{font-size:12px}.contact-tile label{font-size:10px}.client-section-nav{gap:18px;font-size:10px}.task-workspace{padding:17px}.task-workspace .panel-title{align-items:flex-start}.task-workspace .secondary{font-size:9px;padding:8px;white-space:normal;max-width:88px}.quick-task-entry{flex-wrap:wrap}.quick-task-entry input{font-size:14px;flex-basis:calc(100% - 38px)}.quick-task-entry .primary{width:100%;font-size:12px;min-height:36px;margin-top:5px}.quick-task-options{gap:9px}.quick-task-options label{font-size:9px}.quick-task-options select{font-size:10px}.quick-task-options .text-button{width:100%;margin:3px 0;font-size:10px;text-align:left}.task-tab{font-size:9px;padding:8px 7px}.task-tab span{margin-left:3px;padding:1px 3px}.client-task-tabs{gap:3px}.client-task-filters select{font-size:10px;max-width:calc(50% - 4px)}.client-task-list-heading{font-size:8px}.business-service-sections{grid-template-columns:1fr;gap:25px}.business-service-sections>div:nth-child(3){grid-column:auto}.client-reference-column{grid-template-columns:1fr}.client-reference-column .profile-preview-panel{grid-row:auto}.client-reference-column .profile-meta{grid-column:auto}.client-reference-column .panel,.client-reference-column .reference-disclosure{margin-bottom:0}.client-reference-column{gap:17px}.task-workspace .task-row .task-title{font-size:13px}.task-workspace .task-row{padding:14px 10px}dialog.task-dialog{max-width:calc(100vw - 20px);max-height:96vh;border-radius:9px}.task-composer-heading{padding:25px 20px 21px}.task-composer-heading h2{font-size:23px}.task-composer-heading p{font-size:12px}.task-composer-layout{grid-template-columns:1fr}.task-composer-main{padding:24px 20px}.task-composer-organization{padding:22px 20px;border-left:0;border-top:1px solid var(--border)}.task-composer-organization .form-field{margin-bottom:18px}.task-title-field input{font-size:16px;height:54px;padding:12px}.choice-chip{font-size:11px;padding:10px 12px}.task-choice-group{margin:24px 0}.task-composer-actions{padding:16px 20px;flex-wrap:wrap;gap:9px}.add-another-choice{flex-basis:100%;margin:0 0 5px;font-size:11px}.task-composer-actions .secondary{margin-left:0}.task-composer-actions .primary{margin-left:auto}.task-composer-actions .primary,.task-composer-actions .secondary{font-size:12px;padding:11px 15px}.task-composer-organization .form-field input,.task-composer-organization .form-field select{height:46px;font-size:14px}.pipeline-board-controls>span{font-size:8px;max-width:240px;line-height:1.6}.lead-card .lead-card-top .lead-drag-handle{padding:7px;font-size:23px}}
.task-composer-actions{flex-wrap:wrap}.quick-task-options select.priority-low{color:#7f9b80;border-color:#b9cebb}.quick-task-options select.priority-medium{color:#b29b56;border-color:#dece9b}.quick-task-options select.priority-high{color:#bb8e5d;border-color:#dfbb90}.quick-task-options select.priority-urgent{color:#bd716c;border-color:#dfadaa}
.task-row{--task-accent:transparent}.priority-row-low{--task-accent:#90aa91}.priority-row-medium{--task-accent:#c5aa62}.priority-row-high{--task-accent:#cd986a}.priority-row-urgent{--task-accent:#c76d69}.task-done{--task-accent:#92b086}.task-row,.task-row:last-child{border:0;border-left:3px solid var(--task-accent)}
.field-caption{display:block;color:var(--text-secondary)!important}.field-caption i{font-style:normal;color:#bb945b;font-size:10px;margin-left:3px}
.lead-card.lead-just-moved{border-color:var(--stage-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--stage-color) 25%,transparent)}
@media(max-width:650px){.choice-chip{min-height:42px}.quick-task-options select{min-height:36px;font-size:11px;padding:8px}.task-tab{min-height:36px}.copy-contact{min-width:36px;min-height:36px}.task-edit{min-width:36px;min-height:36px}.client-dashboard-heading .profile-identity>div{min-width:0}}
/* Required fields stay visible in quick entry and the task composer. */
.quick-task-required-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:1px 0 4px;color:var(--text-secondary);font-size:10px}.quick-task-required-heading>span{font-weight:550}.quick-task-required-heading i,.quick-task-options i,.required-star{font-style:normal;color:#b89146}.quick-task-required-heading small{font-size:8px;color:var(--text-tertiary)}.quick-task-options{display:grid;grid-template-columns:1fr 1fr;gap:11px}.quick-task-options label{display:flex;gap:6px;min-width:0;font-size:9px}.quick-task-options label>span{white-space:nowrap}.quick-task-options label select{min-width:0;flex:1;font-size:10px;padding:7px}.quick-owner-field{grid-column:1/-1}.quick-owner-field input{border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:12px;padding:9px;border-radius:5px;flex:1;min-width:0}.quick-owner-field input::placeholder{color:var(--text-tertiary);font-size:11px}.quick-task-options .text-button{grid-column:1/-1;justify-self:end;margin:0;font-size:10px}.task-owner{padding:3px 6px;border-radius:4px;background:var(--surface);border:1px solid var(--border);font-size:9px;color:var(--text-secondary)}.unassigned-owner-pill{background:#fcf0e7;color:#b47d53;border:1px solid #ead4c0;border-radius:5px;font-size:9px;padding:4px 7px}.unassigned-owner-pill:hover{background:#f8e5d5}.task-row-navigation{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.task-navigation-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);border-radius:5px;padding:6px 9px;font-size:9px;font-weight:500;line-height:1.5}.task-navigation-button:hover{background:var(--hover);border-color:#b5c9ac}.all-tasks-workspace .task-row{align-items:flex-start;padding:18px 14px;gap:14px}.all-tasks-workspace .task-check{margin-top:3px}.all-tasks-workspace .priority{margin-top:5px;font-size:10px}.all-tasks-workspace .task-title{font-size:14px}.all-tasks-workspace .task-meta{font-size:10px;gap:8px}.all-tasks-workspace .task-meta>a{font-weight:550}.all-tasks-workspace .task-edit{margin-top:1px}.task-shortcut-stats{padding:0;overflow:hidden;border:1px solid var(--border);gap:0}.task-stat-shortcut{padding:22px 23px;text-align:left;position:relative;min-width:0;border-right:1px solid var(--border);background:var(--surface);border-top:3px solid var(--shortcut-color,#86a992);color:var(--ink)}.task-stat-shortcut:last-child{border-right:0}.task-stat-shortcut.status-open{--shortcut-color:#7fa185}.task-stat-shortcut.status-in-progress{--shortcut-color:#7b9fc9}.task-stat-shortcut.status-overdue{--shortcut-color:#c58273}.task-stat-shortcut.status-done{--shortcut-color:#9cb58a}.task-stat-shortcut>span{font-size:11px;color:var(--text-secondary)}.task-stat-shortcut strong{display:block;font-size:29px;line-height:1.25;margin:12px 0 15px;font-weight:550;color:var(--shortcut-color)}.task-stat-shortcut strong small{display:block;font-size:9px;color:var(--text-tertiary);font-weight:400;margin-top:8px}.task-stat-shortcut>i{font-size:9px;font-style:normal;color:var(--text-secondary)}.task-stat-shortcut:hover{background:color-mix(in srgb,var(--shortcut-color) 7%,var(--surface))}.task-stat-shortcut[aria-pressed=true]{background:color-mix(in srgb,var(--shortcut-color) 10%,var(--surface))}.all-tasks-workspace .tasks-toolbar{gap:13px}.all-tasks-workspace .tasks-toolbar>.search{height:44px}.reset-task-button{font-size:10px;white-space:nowrap;height:42px;padding:9px 11px}.task-filter-ribbon{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0;padding-bottom:20px;border-bottom:1px solid var(--border)}.filter-pill{--pill-color:#779182;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10px;border:1px solid transparent;border-radius:5px;background:color-mix(in srgb,var(--pill-color) 8%,var(--surface));color:var(--text-secondary);padding:8px 10px;line-height:1.35;transition:background .15s,border-color .15s}.filter-pill[aria-pressed=true]{border-color:var(--pill-color);background:color-mix(in srgb,var(--pill-color) 17%,var(--surface));color:color-mix(in srgb,var(--pill-color) 85%,var(--ink));font-weight:650}.filter-pill:hover{background:color-mix(in srgb,var(--pill-color) 20%,var(--surface))}.filter-pill span{font-size:8px;padding:2px 4px;border-radius:3px;background:#00000006;min-width:13px;text-align:center}.filter-pill i{height:5px;width:5px;border-radius:50%;background:var(--pill-color);display:inline-block}.filter-pill.status-all{--pill-color:#899a90}.filter-pill.status-open{--pill-color:#7d9e86}.filter-pill.status-to-do{--pill-color:#92a59b}.filter-pill.status-in-progress{--pill-color:#7c9ec6}.filter-pill.status-waiting{--pill-color:#c2a658}.filter-pill.status-done{--pill-color:#90ab7a}.filter-pill.status-overdue{--pill-color:#c68273}.filter-pill.category-seo{--pill-color:#a386c3}.filter-pill.category-website{--pill-color:#7d9fca}.filter-pill.category-content{--pill-color:#bd9a75}.filter-pill.category-advertising{--pill-color:#bd95b2}.filter-pill.category-hosting{--pill-color:#c2aa6d}.filter-pill.category-client-success{--pill-color:#8aaa7c}.filter-pill.category-general{--pill-color:#92a498}.filter-pill.priority-low{--pill-color:#93ad95}.filter-pill.priority-medium{--pill-color:#c4aa61}.filter-pill.priority-high{--pill-color:#c99a6b}.filter-pill.priority-urgent{--pill-color:#c77e75}.filter-pill.unassigned-owner-pill{--pill-color:#c1976d}.task-button-filter-row{display:flex;align-items:flex-start;gap:16px;margin:14px 0}.filter-row-label{flex-shrink:0;width:64px;font-size:8px;letter-spacing:1.3px;color:var(--text-tertiary);font-weight:550;padding-top:11px}.task-button-filter-row>div{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}.task-button-filter-row .filter-pill{font-size:9px;padding:7px 9px}.owner-filter-row{align-items:flex-end}.owner-filter-row .filter-row-label{align-self:center;padding-top:0}.owner-filter-row .task-filter{min-width:125px;width:150px;margin-left:auto}.owner-filter-row .task-filter>span{font-size:8px}.owner-filter-row .task-filter select{font-size:10px;padding:9px}.task-results-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--border);margin-top:22px;padding-top:20px;margin-bottom:20px}.task-results-toolbar #task-count{font-size:10px;color:var(--text-secondary)}.task-results-toolbar .task-filter{min-width:120px}.task-results-toolbar select{font-size:10px;padding:9px}.active-task-filters{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;max-width:600px}.active-filter-chip{font-size:9px;padding:5px 8px;background:var(--surface-soft);border:1px solid var(--border);border-radius:4px;color:var(--text-secondary);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-filter-chip span{margin-left:7px;color:var(--text-tertiary)}.active-filter-chip:hover{background:var(--hover)}.task-result-group{--group-color:#94a79b;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden;margin:18px 0;color:var(--ink)}.task-result-group.priority-urgent{--group-color:#c77e75}.task-result-group.priority-high{--group-color:#c99a6b}.task-result-group.priority-medium{--group-color:#c4aa61}.task-result-group.priority-low{--group-color:#93ad95}.task-result-group.status-in-progress{--group-color:#7c9ec6}.task-result-group.status-waiting{--group-color:#c2a658}.task-result-group.status-done{--group-color:#90ab7a}.task-result-group.category-seo{--group-color:#a386c3}.task-result-group.category-website{--group-color:#7d9fca}.task-result-group.category-content{--group-color:#bd9a75}.task-result-group.category-advertising{--group-color:#bd95b2}.task-result-group.category-hosting{--group-color:#c2aa6d}.task-result-group.category-client-success{--group-color:#8aaa7c}.task-result-group>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 17px;background:color-mix(in srgb,var(--group-color) 9%,var(--surface));border-bottom:1px solid var(--border)}.task-result-group>header>div{display:flex;align-items:center;gap:9px;min-width:0}.task-result-group>header i{height:6px;width:6px;border-radius:50%;display:inline-block;background:var(--group-color);flex-shrink:0}.task-result-group h2{font-size:12px;color:var(--ink);line-height:1.5;margin:0}.task-result-group header>div>span{font-size:9px;color:var(--text-secondary);background:var(--surface);padding:3px 6px;border-radius:4px}.task-result-group .task-list{padding:5px 10px}.task-result-group .task-row{margin:7px 0}.task-result-group .task-row .task-category{font-size:9px}.all-tasks-workspace .task-empty .secondary{margin-top:18px}.all-tasks-workspace .status-select select{font-size:10px;max-width:110px}.all-tasks-workspace .task-navigation-button{font-size:10px;padding:7px 10px}
html[data-theme=dark] .unassigned-owner-pill{background:#42372b;color:#d4b797;border-color:#65513b}html[data-theme=dark] .task-stat-shortcut[aria-pressed=true]{background:color-mix(in srgb,var(--shortcut-color) 13%,var(--surface))}html[data-theme=dark] .filter-pill[aria-pressed=true]{color:color-mix(in srgb,var(--pill-color) 65%,white)}html[data-theme=dark] .filter-pill.category-seo,html[data-theme=dark] .filter-pill.category-website,html[data-theme=dark] .filter-pill.category-content,html[data-theme=dark] .filter-pill.category-advertising,html[data-theme=dark] .filter-pill.category-hosting,html[data-theme=dark] .filter-pill.category-client-success{background:color-mix(in srgb,var(--pill-color) 13%,var(--surface));color:var(--text-secondary)}html[data-theme=dark] .filter-pill[aria-pressed=true]{background:color-mix(in srgb,var(--pill-color) 23%,var(--surface));color:color-mix(in srgb,var(--pill-color) 65%,white)}html[data-theme=dark] .task-result-group{background:var(--surface);color:var(--ink)}
@media(min-width:1450px){.quick-task-options{grid-template-columns:1fr 1fr 1.5fr}.quick-owner-field{grid-column:auto}.quick-task-options .text-button{grid-column:1/-1}}
@media(max-width:1150px){.all-tasks-workspace .tasks-toolbar{flex-wrap:wrap}.all-tasks-workspace .tasks-toolbar>.search{flex-basis:100%}.all-tasks-workspace .tasks-toolbar>.task-filter{flex:1}.owner-filter-row{flex-wrap:wrap}.owner-filter-row .task-filter{width:180px;margin-left:80px}.task-stat-shortcut{padding:20px 17px}.task-row-navigation{gap:6px}}
@media(max-width:950px){.task-shortcut-stats{row-gap:0}.task-stat-shortcut:nth-child(2){border-right:0}.task-stat-shortcut:nth-child(n+3){border-top:1px solid var(--border);box-shadow:inset 0 3px 0 var(--shortcut-color)}.all-tasks-workspace .task-row{flex-wrap:wrap;gap:10px}.all-tasks-workspace .task-row .task-main{flex-basis:calc(100% - 35px)}.all-tasks-workspace .task-row>.priority{margin-left:29px}.all-tasks-workspace .task-edit{margin-left:auto}.task-button-filter-row .filter-pill{font-size:9px}}
@media(max-width:650px){.quick-task-required-heading{font-size:11px}.quick-task-required-heading small{font-size:9px}.quick-task-options{gap:12px}.quick-task-options label{font-size:10px;flex-direction:column;align-items:stretch;gap:7px}.quick-task-options label select{font-size:12px;min-height:40px;padding:9px}.quick-owner-field input{min-height:43px;font-size:14px;padding:11px}.quick-owner-field input::placeholder{font-size:12px}.quick-task-options .text-button{justify-self:start;min-height:28px;display:flex;align-items:center;font-size:11px}.task-stat-shortcut{padding:20px 16px}.task-stat-shortcut>span{font-size:11px}.task-stat-shortcut strong small{font-size:8px}.task-stat-shortcut>i{font-size:9px}.all-tasks-workspace .tasks-toolbar>.task-filter{min-width:125px}.reset-task-button{width:100%;min-height:38px}.task-filter-ribbon{gap:6px;margin:20px 0}.task-filter-ribbon .filter-pill{font-size:10px;min-height:35px;padding:8px}.task-button-filter-row{display:block;margin:17px 0}.filter-row-label{display:block;width:auto;padding:0;margin-bottom:9px}.task-button-filter-row .filter-pill{font-size:10px;min-height:35px;padding:8px}.owner-filter-row .task-filter{margin:13px 0 0;width:100%}.owner-filter-row .task-filter select{min-height:39px;max-width:none;font-size:12px}.task-results-toolbar{gap:12px;align-items:flex-start}.task-results-toolbar>.task-filter{min-width:90px;max-width:100px}.task-results-toolbar select{font-size:10px;padding:9px 5px}.active-task-filters{gap:5px}.active-filter-chip{font-size:9px;padding:6px;max-width:160px}.task-result-group>header{padding:13px;align-items:flex-start}.task-result-group h2{font-size:12px}.task-result-group>header .task-navigation-button{font-size:9px;padding:6px}.task-result-group .task-list{padding:4px 6px}.all-tasks-workspace .task-row{padding:15px 10px}.all-tasks-workspace .task-title{font-size:13px}.all-tasks-workspace .task-meta{font-size:9px}.all-tasks-workspace .task-row-navigation .task-navigation-button{font-size:10px;min-height:34px}.all-tasks-workspace .task-main{min-width:0}.task-owner{font-size:9px;max-width:100%;overflow-wrap:anywhere}.unassigned-owner-pill{font-size:10px;min-height:30px}}
.task-filter-ribbon .filter-pill{font-size:11px;min-height:35px;padding:8px 10px}.task-button-filter-row .filter-pill{font-size:11px;min-height:35px;padding:8px 10px;background:color-mix(in srgb,var(--pill-color) 13%,var(--surface));color:color-mix(in srgb,var(--pill-color) 67%,var(--ink))}.task-button-filter-row .filter-pill[aria-pressed=true]{background:color-mix(in srgb,var(--pill-color) 23%,var(--surface));color:color-mix(in srgb,var(--pill-color) 80%,var(--ink))}.filter-row-label{font-size:9px}.all-tasks-workspace .task-owner{font-size:10px}.all-tasks-workspace .unassigned-owner-pill{font-size:10px;padding:5px 8px}.task-result-group h2{font-size:13px}.task-filter-ribbon .filter-pill span{font-size:9px}html[data-theme=dark] .task-button-filter-row .filter-pill{color:color-mix(in srgb,var(--pill-color) 65%,white)}html[data-theme=dark] .task-button-filter-row .filter-pill[aria-pressed=true]{background:color-mix(in srgb,var(--pill-color) 28%,var(--surface));color:color-mix(in srgb,var(--pill-color) 70%,white)}
@media(max-width:650px){.task-filter-ribbon .filter-pill,.task-button-filter-row .filter-pill{font-size:10px;min-height:36px}.filter-row-label{font-size:9px}}
/* Compact team client hub */
.directory-workspace{padding-top:24px;padding-bottom:20px}.directory-workspace .page-heading{margin-bottom:18px}.directory-workspace .eyebrow{margin-bottom:7px}.directory-workspace .page-heading h1{font-size:29px}.directory-workspace .page-heading p{margin-top:8px;font-size:12px}.client-type-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0 0 22px}.client-type-shortcut{--hub-color:var(--badge-color,#8d7440);display:grid!important;grid-template-columns:1fr auto;gap:8px;text-align:left;width:100%;padding:14px 12px!important;border:1px solid color-mix(in srgb,var(--hub-color) 28%,var(--border));border-top:4px solid var(--hub-color);border-radius:7px;background:color-mix(in srgb,var(--hub-color) 8%,var(--surface));color:var(--ink)!important;transition:background .15s,border-color .15s}.client-type-shortcut.type-all{--hub-color:#b18b32}.client-type-shortcut>span{font-size:11px;font-weight:600;line-height:1.4;margin:0;display:flex;align-items:center;gap:6px;color:var(--ink)}.client-type-shortcut i{width:6px;height:6px;border-radius:50%;background:var(--hub-color);flex-shrink:0}.client-type-shortcut strong{font-size:22px;line-height:1.1;font-weight:650;letter-spacing:-.5px}.client-type-shortcut small{grid-column:1/-1;font-size:9px;line-height:1.4;color:var(--text-secondary)}.client-type-shortcut:hover{background:color-mix(in srgb,var(--hub-color) 16%,var(--surface))}.client-type-shortcut.selected{border-color:var(--hub-color);background:color-mix(in srgb,var(--hub-color) 19%,var(--surface));box-shadow:0 0 0 1px var(--hub-color)}.directory-workspace .directory-heading{margin-bottom:12px}.directory-workspace .results-meta{margin:12px 0}.directory-workspace .client-results.view-grid{gap:12px}.directory-workspace .view-grid .preview-surface{aspect-ratio:2.4}.directory-workspace .view-grid .browser-strip{height:21px}.directory-workspace .view-grid .preview-controls{height:26px}.directory-workspace .card-body{padding:14px 16px 0}.directory-workspace .card-top{margin-bottom:10px}.directory-workspace .client-logo.has-logo{height:45px;width:105px}.directory-workspace .card-plan{margin-top:4px}.directory-workspace .card-description{margin:9px 0;min-height:0;line-height:1.5}.directory-workspace .card-details{padding-bottom:12px;gap:6px 5px}.directory-workspace .card-details>span:nth-child(even){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.directory-workspace .client-results .card-bottom{padding:9px 12px;gap:6px}.client-card-actions{display:flex;gap:5px;margin-left:auto;flex-shrink:0}.client-card-actions button,.directory-edit{border:1px solid var(--border);border-radius:4px;background:var(--surface);padding:6px 8px;font-size:10px;color:var(--text-secondary)}.client-card-actions button:hover,.directory-edit:hover{background:var(--hover);border-color:#b18b32}.client-card-actions button:last-child{background:var(--surface-soft)}.directory-workspace .client-results .card-bottom>span:nth-child(2){max-width:90px}.directory-workspace .client-list-row{padding:10px 12px;gap:12px}.directory-workspace .list-preview{width:112px}.directory-workspace .list-identity p{margin:5px 0}.directory-workspace .list-meta{gap:6px}.directory-workspace .client-table td{padding:10px 12px}.directory-workspace .client-table th{padding:12px}.directory-workspace .client-table td:last-child{white-space:nowrap}html[data-theme=dark] .client-type-shortcut{--hub-color:color-mix(in srgb,var(--badge-color,#b18b32) 65%,white)}html[data-theme=dark] .client-type-shortcut.type-all{--hub-color:#ffd262}
@media(max-width:1200px){.client-type-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.client-type-shortcut{padding:11px 12px!important;gap:5px}.directory-workspace .card-bottom{flex-wrap:wrap}.directory-workspace .client-results .card-bottom>span:nth-child(2){max-width:100px}.client-card-actions{margin-left:auto}}
@media(max-width:650px){.directory-workspace{padding:20px 16px}.directory-workspace .page-heading h1{font-size:25px}.directory-workspace .page-heading .primary{margin-top:14px}.client-type-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.client-type-shortcut>span{font-size:11px}.client-type-shortcut strong{font-size:21px}.directory-workspace .card-body{padding:14px 16px 0}.directory-workspace .client-results .client-title{font-size:17px}.directory-workspace .view-grid .preview-surface{aspect-ratio:2.2}.directory-workspace .list-meta{margin-left:0}.directory-workspace .client-list-row .directory-edit{margin-left:auto}.directory-workspace .list-identity{flex-basis:calc(100% - 125px)}}
/* Revenue and goals */
.finance-nav-heading{margin-top:20px!important;margin-bottom:7px}.sidebar #revenue-nav,.sidebar #goals-nav{margin-top:2px;padding-top:10px;padding-bottom:10px}.finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.finance-metric{--finance-accent:#b18b32;border:1px solid var(--border);border-top:3px solid var(--finance-accent);border-radius:7px;background:var(--surface);padding:17px}.finance-green{--finance-accent:#74947b}.finance-blue{--finance-accent:#789abd}.finance-purple{--finance-accent:#a189b4}.finance-gold{--finance-accent:#b89a53}.finance-metric>span{display:block;font-size:11px;color:var(--text-secondary)}.finance-metric strong{display:block;font-size:27px;font-weight:600;letter-spacing:-.7px;margin:10px 0}.finance-metric small{font-size:10px;line-height:1.6;color:var(--text-tertiary)}.finance-jump-links{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.finance-jump-links a{padding:8px 12px;border:1px solid var(--border);border-radius:5px;background:var(--surface);font-size:11px;color:var(--text-secondary)}.revenue-type-bars{display:grid;gap:8px}.revenue-type-bar{width:100%;display:grid;grid-template-columns:155px 1fr 120px;gap:20px;align-items:center;text-align:left;border:1px solid transparent;padding:9px 12px;border-radius:6px;background:color-mix(in srgb,var(--badge-color) 7%,var(--surface))}.revenue-type-bar:hover,.revenue-type-bar[aria-pressed=true]{border-color:var(--badge-color)}.revenue-type-bar>span{font-size:12px;font-weight:550}.revenue-type-bar small{font-size:9px;color:var(--text-secondary);display:block;margin-top:4px;font-weight:400}.revenue-type-bar strong{font-size:15px;text-align:right}.revenue-bar-track{height:10px;border-radius:5px;background:var(--surface-soft);overflow:hidden}.revenue-bar-track i{display:block;height:100%;background:var(--badge-color);border-radius:5px;min-width:0}.finance-caption{font-size:10px;line-height:1.7;color:var(--text-secondary);margin:13px 0}.finance-warning{font-size:10px;color:#b17b4a;display:block;margin-top:5px}.revenue-table td:first-child>a{font-size:12px;font-weight:600;color:var(--ink)}.revenue-table td:last-child{white-space:nowrap}.revenue-table{min-width:950px}.billing-day-chart{display:grid;grid-template-columns:repeat(31,minmax(18px,1fr));gap:4px;align-items:end;overflow:auto;padding-top:12px}.billing-day-chart button{display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:7px;min-height:95px;padding:4px 2px;border-radius:4px}.billing-day-chart button:hover,.billing-day-chart button[aria-pressed=true]{background:var(--hover)}.billing-day-chart strong{font-size:9px;color:var(--text-secondary);height:12px}.billing-day-chart i{width:75%;background:#789abd;border-radius:3px 3px 0 0;display:block;max-height:100px}.billing-day-chart span{font-size:9px;color:var(--text-secondary)}.finance-panel-actions{display:flex;gap:9px;align-items:center}.finance-panel-actions select{padding:9px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--ink);font-size:12px}.income-summary-line{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px}.income-summary-line strong{font-size:24px;font-weight:600}.income-summary-line strong small{font-size:11px;font-weight:400;color:var(--text-secondary)}.income-summary-line>span{font-size:10px;color:var(--text-secondary)}.income-summary-line>button{margin-left:auto}.income-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:10px;color:var(--text-secondary)}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:8px;height:8px;border-radius:2px;background:#789abd}.chart-legend .prior{background:#b7c0b9}.chart-legend .partial{background:#c2a45d}.income-chart{width:100%;display:block;margin:18px 0}.income-chart text{font-size:10px;fill:var(--text-secondary)}.chart-grid{stroke:var(--border);stroke-width:1}.chart-current{fill:#789abd}.chart-prior{fill:#b7c0b9;opacity:.65}.chart-partial{fill:#c2a45d}.quarter-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0 20px}.quarter-summary>div{display:flex;flex-direction:column;gap:6px;padding:12px;background:var(--surface-soft);border-radius:5px}.quarter-summary span,.quarter-summary small{font-size:10px;color:var(--text-secondary)}.quarter-summary strong{font-size:17px;font-weight:550}.income-records>summary,.finance-source-note>summary{font-size:11px;cursor:pointer;color:var(--text-secondary);padding:8px 0}.income-records[open]>summary{margin-bottom:12px}.income-status{font-size:9px;padding:4px 7px;border-radius:4px;background:var(--surface-soft);color:var(--text-secondary)}.income-status.partial{background:#c2a45d22;color:#ad914b}.income-status.final{background:#74947b22;color:#74947b}.annual-comparisons{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}.annual-comparisons button{display:grid;gap:8px;text-align:left;padding:12px;border:1px solid var(--border);border-radius:5px;background:var(--surface-soft)}.annual-comparisons span{font-size:11px}.annual-comparisons strong{font-size:17px}.annual-comparisons small{font-size:9px;color:var(--text-secondary)}.finance-source-note p{font-size:11px;line-height:1.8;color:var(--text-secondary)}.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.goal-card{margin:0;border-top:4px solid #c2a45d}.goal-card.goal-reached{border-top-color:#74947b}.goal-card-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.goal-kind{font-size:10px;color:var(--text-secondary);padding:5px 7px;border-radius:4px;background:var(--surface-soft)}.goal-card h2{font-size:20px}.goal-deadline{font-size:10px;color:var(--text-secondary);margin:9px 0 22px}.goal-value{display:flex;gap:10px;align-items:baseline;margin-bottom:16px;flex-wrap:wrap}.goal-value strong{font-size:32px;font-weight:550;letter-spacing:-.8px}.goal-value span{font-size:14px;color:var(--text-secondary)}.goal-progress-track{height:10px;background:var(--surface-soft);border-radius:8px;overflow:hidden}.goal-progress-track i{height:100%;display:block;background:#74947b;border-radius:8px}.goal-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin:11px 0}.goal-progress-label b{color:#74947b;font-weight:600}.goal-progress-label span{color:var(--text-secondary)}.goal-time{font-size:11px;color:var(--text-secondary);margin:18px 0}.goal-card-actions{border-top:1px solid var(--border);padding-top:16px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.finance-connected-note{margin-top:22px}.finance-connected-note p{font-size:12px;line-height:1.9;color:var(--text-secondary)}.finance-dialog{width:850px}.income-entry-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:20px 0}.income-entry{display:grid;grid-template-columns:35px 1fr 110px;gap:8px;align-items:center;font-size:11px}.income-entry input,.income-entry select{width:100%;min-width:0;padding:10px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--ink);font-size:11px}.finance-dialog .form-content{padding-top:10px}.finance-dialog input:disabled{opacity:.4}.panel[id]{scroll-margin-top:20px}
@media(max-width:1100px){.finance-metrics{grid-template-columns:repeat(2,1fr)}.finance-metric strong{font-size:24px}.billing-day-chart{grid-template-columns:repeat(31,24px)}.goal-card-actions .secondary{font-size:11px;padding:9px}.goal-value strong{font-size:27px}}
@media(max-width:650px){.sidebar .finance-nav-heading{display:none}.sidebar #revenue-nav,.sidebar #goals-nav{width:auto;margin:0;font-size:10px;padding:8px}.finance-metrics{gap:8px}.finance-metric{padding:12px}.finance-metric>span{font-size:10px}.finance-metric strong{font-size:21px}.finance-metric small{font-size:9px}.revenue-type-bar{grid-template-columns:100px 1fr 85px;gap:8px;padding:8px 0}.revenue-type-bar>span{font-size:10px}.revenue-type-bar strong{font-size:12px}.goal-grid{grid-template-columns:1fr}.finance-panel-actions{flex-wrap:wrap}.finance-panel-actions .secondary{padding:9px;font-size:10px}.income-chart-toolbar{flex-wrap:wrap}.income-chart-scroll{overflow:auto}.income-chart{min-width:600px}.quarter-summary{grid-template-columns:repeat(2,1fr)}.annual-comparisons{grid-template-columns:repeat(2,1fr)}.income-entry-grid{grid-template-columns:1fr}.income-entry{grid-template-columns:30px 1fr 105px}.income-summary-line>button{margin-left:0}}
#revenue-client-table .client-table-scroll{max-height:440px;overflow:auto}#revenue-client-table th{position:sticky;top:0;z-index:1;background:var(--surface-soft)}
/* A little joy, always within reach */
.fun-launcher{position:relative;padding:13px 10px 18px}.fun-launcher>span{font-size:8px;letter-spacing:1.8px;color:#a6b6b2}.fun-quick-effects{display:flex;gap:5px;margin-top:9px}.fun-quick-effects button{font-size:19px;padding:7px 6px;border:1px solid #ffffff18;border-radius:8px;background:#ffffff09;min-width:31px;line-height:1}.fun-quick-effects button:hover{background:#ffffff20;transform:translateY(-2px)}.fun-quick-effects button:last-child{font-size:18px;color:#ffd262}.fun-menu[hidden]{display:none}.fun-menu{position:fixed;left:18px;bottom:110px;width:260px;padding:15px;z-index:30;border:1px solid var(--border);box-shadow:0 12px 60px #0004;background:var(--surface);border-radius:12px;display:grid;grid-template-columns:1fr 1fr;gap:7px;color:var(--ink)}.fun-menu>div{grid-column:1/-1;margin:2px 0 8px}.fun-menu b{display:block;font-size:13px}.fun-menu small{display:block;font-size:10px;line-height:1.6;margin-top:5px;color:var(--text-secondary)}.fun-menu>button{display:flex;gap:7px;align-items:center;text-align:left;font-size:10px;border:1px solid var(--border);padding:9px;border-radius:6px;background:var(--surface-soft)}.fun-menu>button>span{font-size:23px}.fun-menu>button:hover{background:var(--hover)}.fun-effect-layer{position:fixed;inset:0;z-index:100;pointer-events:none;overflow:hidden}.fun-effect-layer canvas{position:absolute;inset:0}.fun-effect-banner{position:absolute;top:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;background:#152528ed;color:#fff;border:1px solid #ffd26288;border-radius:30px;padding:12px 18px;box-shadow:0 6px 40px #0003;font-size:14px;max-width:calc(100vw - 30px)}.fun-effect-banner>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.fun-effect-banner button{pointer-events:auto;color:#ffd262;font-size:11px;white-space:nowrap}.reduced-effects .fun-effect-banner{border-color:#ffd262}.sidebar-bottom .local-label{padding-bottom:4px}
/* Goal quests */
.goal-adventure-hero{display:flex;align-items:center;gap:28px;padding:28px;margin:0 0 24px;border:1px solid color-mix(in srgb,#c2a45d 40%,var(--border));border-radius:12px;background:radial-gradient(ellipse at top left,#ffd26224,transparent 70%),var(--surface);position:relative;overflow:hidden}.goal-hero-art{font-size:66px;position:relative;padding:0 15px}.goal-hero-art>span{position:absolute;font-size:24px;right:0;top:-9px;color:#c2a45d}.goal-hero-art>i{font-size:20px;font-style:normal;position:absolute;left:0;bottom:0;color:#c2a45d}.goal-adventure-hero h2{font-size:23px;letter-spacing:-.7px;margin:8px 0}.goal-adventure-hero p{font-size:12px;color:var(--text-secondary);line-height:1.7;margin:0}.goal-hero-score{margin-left:auto;display:flex;flex-direction:column;gap:8px;white-space:nowrap;text-align:right}.goal-hero-score strong{font-size:36px;font-weight:650;color:#b7953b}.goal-hero-score small{font-size:18px;color:var(--text-tertiary)}.goal-hero-score>span{font-size:10px;color:var(--text-secondary)}.goal-hero-score>b{font-size:10px;font-weight:500;background:#c2a45d20;padding:7px 10px;border-radius:15px}.quest-card{border-top-width:1px;padding:22px;border-radius:12px;background:linear-gradient(135deg,#c2a45d05,transparent 50%),var(--surface)}.quest-title-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.quest-title-row h2{font-size:22px}.quest-title-row .goal-deadline{margin-bottom:14px;line-height:1.5}.goal-progress-ring{width:65px;height:65px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#c2a45d var(--goal-progress),var(--surface-soft) 0);position:relative}.goal-progress-ring:before{content:'';position:absolute;inset:6px;background:var(--surface);border-radius:50%}.goal-progress-ring>span{position:relative;font-size:26px}.goal-stage{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 0 18px}.goal-stage>span{font-size:10px;padding:5px 9px;background:#c2a45d18;border-radius:15px;color:var(--text-secondary)}.goal-stage small{font-size:9px;color:var(--text-tertiary)}.quest-card .goal-value{margin-bottom:13px}.quest-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:22px 0 16px}.quest-milestones>button{border:1px dashed var(--border);background:var(--surface-soft);border-radius:9px;padding:12px 6px;display:flex;align-items:center;flex-direction:column;gap:6px;opacity:.65;cursor:default}.quest-milestones>button.earned{opacity:1;cursor:pointer;background:#74947b12;border-style:solid;border-color:#74947b55}.quest-milestones>button.earned:hover{background:#74947b25;transform:translateY(-2px)}.quest-milestones span{font-size:23px}.quest-milestones b{font-size:12px}.quest-milestones small{font-size:8px;color:var(--text-secondary)}.goal-next-win{padding:13px;border:1px solid #c2a45d30;background:#c2a45d0b;border-radius:7px;display:flex;gap:8px;flex-direction:column}.goal-next-win>span{font-size:11px;font-weight:600}.goal-next-win>b{font-size:10px;font-weight:400;color:var(--text-secondary)}.quest-card .goal-time{margin:14px 0;font-size:10px}.quest-card .goal-card-actions .primary{font-size:11px;padding:10px 14px;min-height:38px;margin-left:auto}.goal-bottom-note{display:flex;align-items:center;gap:15px;padding:20px 0;flex-wrap:wrap}.goal-bottom-note>span{font-size:24px}.goal-bottom-note p{font-size:11px;line-height:1.7;color:var(--text-secondary);flex:1}.goal-bottom-note .text-button{font-size:10px}
/* A clear and encouraging goal editor */
.goal-editor-dialog{width:1000px}.goal-editor-dialog .form-content{padding:24px 28px}.goal-editor-dialog .modal-heading{padding:24px 28px}.goal-editor-dialog .modal-heading h2{font-size:27px}.goal-editor-dialog .modal-heading p{font-size:12px;line-height:1.7}.goal-editor-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:28px}.goal-editor-fields{display:flex;flex-direction:column;gap:20px}.goal-form-label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:550;color:var(--ink)}.goal-form-label>span,.goal-form-label i,.goal-metric-choices legend>span{color:var(--text-secondary);font-style:normal}.goal-form-label input{padding:13px 14px;border:1px solid var(--border);border-radius:7px;background:var(--surface-soft);color:var(--ink);width:100%;font-size:14px;min-width:0}.goal-form-label small{font-size:10px;font-weight:400;color:var(--text-tertiary)}.goal-metric-choices{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px;min-width:0}.goal-metric-choices legend{font-size:12px;font-weight:550;margin-bottom:10px}.goal-metric-choices label{position:relative;cursor:pointer}.goal-metric-choices input{position:absolute;opacity:0;width:1px;height:1px}.goal-metric-choices label>span{display:grid;grid-template-columns:25px 1fr;gap:4px 8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.goal-metric-choices i{grid-row:1/3;font-size:22px;font-style:normal;align-self:center}.goal-metric-choices b{font-size:11px;font-weight:600}.goal-metric-choices small{font-size:9px;color:var(--text-secondary);line-height:1.4}.goal-metric-choices input:checked+span{border-color:#c2a45d;box-shadow:0 0 0 1px #c2a45d;background:#c2a45d14}.goal-metric-choices input:focus-visible+span{outline:3px solid #83ab88;outline-offset:3px}.goal-target-field>div{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding-left:16px}.goal-target-field>div>span{font-size:23px;color:#b7953b}.goal-target-field input{border:0;background:none;font-size:26px;font-weight:600;padding:15px 12px}.goal-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.goal-date-fields [hidden]{display:none}.goal-date-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:-8px}.goal-date-presets button{font-size:10px;padding:7px 9px;border:1px solid var(--border);border-radius:15px;background:var(--surface-soft);color:var(--text-secondary)}.goal-date-presets button:hover{background:var(--hover)}.goal-live-preview{align-self:start;padding:25px 21px;border:1px solid #c2a45d40;border-radius:12px;background:radial-gradient(ellipse at top right,#ffd26225,transparent 70%),var(--surface-soft);position:sticky;top:0;text-align:center}.goal-preview-eyebrow{font-size:8px;letter-spacing:1.7px;color:#b7953b;font-weight:600}.goal-preview-icon{font-size:43px;margin:24px 0 16px}.goal-live-preview h3{font-size:17px;margin:0 0 13px;line-height:1.5;overflow-wrap:anywhere}.goal-live-preview>strong{font-size:28px;display:block;letter-spacing:-.8px}.goal-live-preview .goal-progress-track{margin-top:23px;background:var(--border)}.goal-live-preview>p{font-size:11px;color:var(--text-secondary);margin:10px 0 24px}.goal-live-preview>p>b{color:#74947b}.goal-preview-detail{display:flex;justify-content:space-between;text-align:left;gap:10px;padding:12px 0;border-top:1px solid var(--border);font-size:11px}.goal-preview-detail>span{color:var(--text-secondary)}.goal-preview-detail>b{font-weight:550}.goal-live-preview>small{font-size:10px;color:var(--text-secondary);line-height:1.8;display:block;text-align:left;margin-top:17px}.goal-editor-dialog .modal-actions{padding:16px 28px}.goal-editor-dialog .modal-actions .primary{font-size:13px;padding:13px 20px}.goal-editor-dialog .modal-actions .secondary{font-size:12px}
@media(max-width:1100px){.goal-adventure-hero{gap:18px;padding:23px}.goal-adventure-hero h2{font-size:19px}.goal-hero-art{font-size:47px}.quest-card .goal-card-actions .primary{margin-left:0}.fun-quick-effects{gap:3px}.fun-quick-effects button{padding:7px 4px;min-width:26px;font-size:17px}}
@media(max-width:650px){.fun-launcher{position:fixed;left:12px;bottom:12px;z-index:25;padding:0}.fun-launcher>span{display:none}.fun-quick-effects{padding:6px;border-radius:12px;background:#152528ed;border:1px solid #ffffff30;box-shadow:0 3px 20px #0003}.fun-quick-effects button{font-size:20px;padding:7px;min-width:32px}.fun-menu{bottom:70px;left:12px}.goal-adventure-hero{flex-wrap:wrap;padding:18px;gap:12px}.goal-hero-art{font-size:39px;padding:0 8px}.goal-adventure-hero>div:nth-child(2){flex:1;min-width:170px}.goal-hero-score{flex-direction:row;align-items:center;flex-wrap:wrap;margin:0;text-align:left;gap:12px}.goal-hero-score strong{font-size:27px}.goal-hero-score small{font-size:14px}.goal-adventure-hero h2{font-size:18px}.goal-adventure-hero p{font-size:11px}.quest-card{padding:18px}.quest-title-row h2{font-size:20px}.quest-card .goal-value strong{font-size:28px}.quest-card .goal-value>span{font-size:12px}.goal-editor-layout{grid-template-columns:1fr;gap:20px}.goal-editor-dialog .form-content{padding:20px}.goal-editor-dialog .modal-heading{padding:23px 20px}.goal-live-preview{position:static;padding:18px}.goal-preview-icon{margin:12px 0;font-size:30px}.goal-live-preview .goal-progress-track{margin-top:14px}.goal-date-fields{grid-template-columns:1fr}.goal-form-label input{font-size:14px}.goal-editor-dialog .modal-actions{padding:15px}.goal-metric-choices label>span{padding:10px;gap:4px}.goal-metric-choices b{font-size:10px}.fun-effect-banner{font-size:11px;padding:11px 13px;gap:10px}.goal-bottom-note{padding-bottom:65px}}
@media(prefers-reduced-motion:reduce){.fun-quick-effects button:hover,.quest-milestones>button.earned:hover{transform:none}}
/* Revenue workbook: the team's spreadsheet, inside Dash */
.revenue-sheet-workspace{padding-top:25px}.revenue-sheet-workspace .page-heading{margin-bottom:20px}.revenue-sheet-workspace #income-history{padding:20px;margin-bottom:24px}.revenue-sheet-workspace .finance-jump-links{margin-bottom:16px}.sheet-goal-controls{display:flex;align-items:center;gap:12px;margin:15px 0 12px}.sheet-goal-controls>span{font-size:9px;letter-spacing:1.3px;color:var(--text-secondary);font-weight:600}.sheet-goal-controls label{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--text-secondary);margin-left:auto}.sheet-goal-controls select{border:1px solid var(--border);border-radius:4px;padding:6px;background:var(--surface);color:var(--ink);font-size:11px}.sheet-goal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.sheet-goal-strip{padding:13px 15px;border:1px solid #b7953b55;border-radius:7px;background:linear-gradient(120deg,#ffd2620c,transparent),var(--surface)}.sheet-goal-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.sheet-goal-title b{font-size:13px}.sheet-goal-title button{font-size:9px;color:var(--text-secondary);padding:3px}.sheet-goal-line{display:flex;align-items:center;gap:10px;margin:9px 0;font-size:11px}.sheet-goal-line>span{width:62px;color:var(--text-secondary);flex-shrink:0}.sheet-goal-line>strong{font-size:16px;font-weight:600}.sheet-goal-line>.goal-progress-track{flex:1;height:9px}.sheet-goal-line>small{margin-left:auto;color:var(--text-secondary);font-size:10px}.sheet-goal-line>b{font-size:10px;color:#74947b}.sheet-no-goal>span{font-size:13px;font-weight:600}.sheet-no-goal>p,.sheet-no-goal>button{font-size:11px;color:var(--text-secondary)}.sheet-no-goal>button{border:1px solid var(--border);padding:7px;border-radius:4px}.revenue-workbook-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px;flex-wrap:wrap}.worksheet-tabs{display:flex;gap:3px;border:1px solid var(--border);padding:3px;border-radius:6px;background:var(--surface-soft)}.worksheet-tabs button{padding:8px 12px;border-radius:4px;font-size:11px;color:var(--text-secondary)}.worksheet-tabs button[aria-pressed=true]{background:var(--green);color:#fff}.sheet-legend{font-size:9px;display:flex;gap:12px;color:var(--text-secondary)}.sheet-legend>span{display:flex;align-items:center;gap:5px}.sheet-legend i{display:inline-block;height:6px;width:6px;border-radius:50%;background:#789abd}.sheet-legend .sheet-partial{background:#c2a45d}.revenue-worksheet-scroll{overflow:auto;border:1px solid var(--border);border-radius:6px;max-height:600px}.revenue-worksheet{width:100%;border-collapse:separate;border-spacing:0;min-width:920px;font-size:12px;text-align:right;table-layout:fixed}.revenue-worksheet th,.revenue-worksheet td{padding:10px 12px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;white-space:nowrap}.revenue-worksheet th:last-child,.revenue-worksheet td:last-child{border-right:0}.revenue-worksheet tr:last-child>*{border-bottom:0}.revenue-worksheet thead th{font-size:14px;background:var(--surface-soft);position:sticky;top:0;z-index:2;font-weight:650;border-bottom:2px solid #87958e}.revenue-worksheet thead th:first-child{z-index:3}.revenue-worksheet th:first-child{width:195px;position:sticky;left:0;text-align:left;background:var(--surface);font-weight:550;z-index:1}.revenue-worksheet thead th:first-child{background:var(--surface-soft);font-size:11px}.revenue-worksheet thead button{font-size:14px;font-weight:650;padding:0}.revenue-worksheet tbody td{color:var(--ink)}.revenue-worksheet tbody tr:hover>*{background:var(--hover)}.revenue-worksheet .sheet-selected-year{background:#ffd26211}.revenue-worksheet thead .sheet-selected-year{background:color-mix(in srgb,#ffd262 24%,var(--surface))}.revenue-worksheet tbody td>button{position:relative;width:100%;display:block;text-align:right;font-size:12px;padding:0;min-height:16px}.revenue-worksheet tbody td:has(button:hover){background:#c2a45d22}.sheet-edit-pencil{display:none;position:absolute;left:-5px;top:0;font-size:10px;color:#b7953b}.revenue-worksheet button:hover .sheet-edit-pencil,.revenue-worksheet button:focus-visible .sheet-edit-pencil{display:block}.revenue-worksheet td>button>i,.revenue-worksheet td>i{color:#b7953b;font-size:6px;font-style:normal;margin-left:5px}.revenue-worksheet .sheet-partial-cell{background:#c2a45d12}.sheet-blank{color:var(--text-tertiary)}.revenue-worksheet small{display:block;font-size:8px;color:var(--text-secondary);font-weight:400;margin-top:4px}.sheet-average-row>*,.sheet-average-row>th:first-child{background:var(--surface-soft);color:var(--text-secondary)}.sheet-total-row>*,.sheet-total-row>th:first-child{background:color-mix(in srgb,#74947b 10%,var(--surface));font-weight:650;border-top:2px solid #87958e}.sheet-total-row td{font-size:14px}.sheet-footnote{font-size:10px;line-height:1.7;color:var(--text-secondary);margin:12px 0 18px}.sheet-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.sheet-chart-grid>section{border:1px solid var(--border);border-radius:6px;padding:14px;min-width:0;background:var(--surface)}.sheet-chart-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}.sheet-chart-heading h3{font-size:12px;font-weight:550;margin:0}.sheet-chart-heading .chart-legend{font-size:8px;gap:5px;align-items:center}.sheet-chart-heading .chart-legend>i{display:inline-block}.sheet-chart-grid .income-chart{margin-bottom:0}.sheet-year-comparison summary{font-size:11px;color:var(--text-secondary);cursor:pointer;margin-top:18px}.sheet-cell-editor{max-width:540px;margin:15px auto}.sheet-cell-editor .goal-form-label input{font-size:25px;padding:16px}.sheet-status-choices{border:0;padding:0;display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.sheet-status-choices legend{font-size:11px;color:var(--text-secondary);margin-bottom:11px}.sheet-status-choices label{font-size:12px;border:1px solid var(--border);border-radius:6px;padding:12px;background:var(--surface-soft);display:flex;gap:7px;align-items:center}.sheet-status-choices label:has(input:checked){border-color:#c2a45d;background:#c2a45d14}
@media(max-width:1100px){.sheet-chart-grid{grid-template-columns:1fr}.revenue-worksheet{min-width:880px}.revenue-worksheet th:first-child{width:170px}}
@media(max-width:650px){.sheet-goal-grid{grid-template-columns:1fr}.sheet-goal-controls{flex-wrap:wrap}.sheet-goal-controls>span{width:100%}.sheet-goal-controls label{margin-left:0}.revenue-sheet-workspace #income-history{padding:13px}.worksheet-tabs{width:100%;overflow:auto}.worksheet-tabs button{font-size:10px;padding:8px;white-space:nowrap}.revenue-worksheet th:first-child{width:150px}.revenue-worksheet{font-size:11px}.revenue-worksheet th,.revenue-worksheet td{padding:9px}.revenue-worksheet tbody td>button{font-size:11px}.sheet-chart-grid>section{padding:10px}}
/* A calm, consistent task workspace */
.calm-tasks{padding:20px}.workspace-quick-add{background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;padding:13px;margin-bottom:20px}.workspace-quick-title input{font-size:17px;font-weight:500;padding:8px 2px 14px;width:100%;border:0;border-bottom:1px solid var(--border);border-radius:0;background:none;color:var(--ink);outline-offset:2px}.workspace-quick-title input::placeholder{color:var(--text-tertiary);font-weight:400}.workspace-quick-fields{display:grid;grid-template-columns:1.5fr 1fr .8fr auto;gap:10px;align-items:end;margin-top:12px}.workspace-quick-fields label{display:flex;flex-direction:column;gap:5px;min-width:0}.workspace-quick-fields label>span{font-size:9px;color:var(--text-secondary)}.workspace-quick-fields input,.workspace-quick-fields select{border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--ink);padding:9px 10px;font-size:11px;width:100%;min-width:0}.workspace-quick-fields .primary{font-size:11px;min-height:36px;padding:9px 13px}.workspace-quick-add p:empty{display:none}.workspace-quick-add p{font-size:11px;color:#b87968;margin-bottom:0}.calm-status-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);padding-bottom:15px;margin-bottom:15px;flex-wrap:wrap}.calm-status-tabs .filter-pill{font-size:11px;padding:8px 12px}.calm-tasks .tasks-toolbar{align-items:center;gap:10px}.calm-tasks .tasks-toolbar .search{height:38px}.calm-tasks .tasks-toolbar>.task-filter{min-width:160px;max-width:230px}.calm-tasks .tasks-toolbar>.task-filter>span{display:none}.calm-tasks .tasks-toolbar select{padding:10px}.calm-tasks .reset-task-button{font-size:10px;min-height:30px;height:auto;padding:7px;min-width:0}.calm-filter-line{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-top:14px;flex-wrap:wrap}.calm-priority-filters{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.calm-priority-filters>span{font-size:10px;color:var(--text-secondary);margin-right:6px}.calm-priority-filters .filter-pill{font-size:9px;padding:6px 9px}.calm-more-filters{font-size:10px;color:var(--text-secondary);margin-left:auto}.calm-more-filters>summary{cursor:pointer;padding:8px 0}.calm-more-filters[open]{width:100%;margin-left:0;border:1px solid var(--border);border-radius:6px;padding:0 12px;background:var(--surface-soft)}.calm-more-filters>div{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:8px 0 14px}.calm-more-filters .task-filter{min-width:0;font-size:9px}.calm-more-filters .task-filter select{padding:8px;font-size:10px;background:var(--surface)}.calm-tasks .task-results-toolbar{padding-top:13px;margin-top:14px;margin-bottom:8px}.task-list-hint{font-size:9px;color:var(--text-tertiary)}.compact-task-list{display:flex;flex-direction:column;gap:0}.all-tasks-workspace .compact-task-row{display:grid;grid-template-columns:20px minmax(160px,1fr) 74px 110px 103px 43px;align-items:center;gap:12px;padding:14px 10px;border:0;border-bottom:1px solid var(--border);border-radius:0;box-shadow:inset 3px 0 0 var(--row-priority,#c4aa61);background:var(--surface);margin:0}.compact-task-row:hover{background:var(--surface-soft)}.compact-task-row.priority-row-urgent{--row-priority:#c77e75}.compact-task-row.priority-row-high{--row-priority:#c99a6b}.compact-task-row.priority-row-medium{--row-priority:#c4aa61}.compact-task-row.priority-row-low{--row-priority:#93ad95}.all-tasks-workspace .compact-task-row .task-check{margin:0;width:19px;height:19px}.all-tasks-workspace .compact-task-row .task-title{font-size:13px;line-height:1.5}.all-tasks-workspace .compact-task-row .task-meta{font-size:10px;gap:8px;margin-top:5px}.compact-task-row .task-category{font-size:8px!important;padding:2px 5px}.compact-task-row .compact-priority{--priority-tone:#c4aa61;display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;font-weight:600;padding:6px 7px;border-radius:5px;background:color-mix(in srgb,var(--priority-tone) 12%,var(--surface));color:color-mix(in srgb,var(--priority-tone) 80%,var(--ink));border:1px solid color-mix(in srgb,var(--priority-tone) 30%,var(--border))}.compact-priority.priority-urgent{--priority-tone:#c77e75}.compact-priority.priority-high{--priority-tone:#c99a6b}.compact-priority.priority-medium{--priority-tone:#c4aa61}.compact-priority.priority-low{--priority-tone:#93ad95}.compact-priority i{width:5px;height:5px;border-radius:50%;background:var(--priority-tone)}.compact-owner{font-size:10px;padding:6px 3px;text-align:left;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-owner:hover{text-decoration:underline}.compact-owner.needs-owner{color:#b47d53}.all-tasks-workspace .compact-task-row .status-select select{width:100%;max-width:none;font-size:9px;padding:7px 5px}.compact-edit{font-size:9px;padding:6px;color:var(--text-secondary)}.calm-tasks .task-result-group{margin:10px 0}.calm-tasks .task-result-group>header{padding:11px 13px}.calm-tasks .task-result-group .task-list{padding:0 8px}.calm-tasks .task-row-navigation{display:none}.quick-edit-task-fields{padding:25px 0 20px}.quick-task-client-context{font-size:12px;align-self:center;line-height:1.6;color:var(--text-secondary)}.quick-task-client-context small{display:block;font-size:10px}.quick-edit-task-fields input,.quick-edit-task-fields select{font-size:13px;padding:12px}.calm-tasks .task-empty{padding:35px 15px}.calm-tasks .active-task-filters:empty{display:none}
@media(max-width:1100px){.all-tasks-workspace .compact-task-row{grid-template-columns:20px minmax(130px,1fr) 68px 90px 96px 39px;gap:8px}.calm-more-filters>div{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.all-tasks-workspace .compact-task-row{grid-template-columns:20px 1fr 70px;gap:9px;padding:13px 10px}.compact-task-row .task-main{grid-column:2;grid-row:1/3}.compact-task-row .compact-priority{grid-column:3;grid-row:1}.compact-task-row .compact-owner{grid-column:2;grid-row:3;margin:0}.compact-task-row .status-select{grid-column:3;grid-row:2}.compact-task-row .compact-edit{grid-column:3;grid-row:3}.workspace-quick-fields{grid-template-columns:1fr 1fr}.calm-tasks .tasks-toolbar>.search{flex-basis:100%}.calm-more-filters>div{grid-template-columns:repeat(2,1fr)}.task-list-hint{display:none}}
@media(max-width:650px){.calm-tasks{padding:14px}.workspace-quick-title input{font-size:15px}.calm-status-tabs{gap:5px}.calm-status-tabs .filter-pill{padding:7px 8px;font-size:10px}.calm-tasks .tasks-toolbar>.task-filter{max-width:none;flex:1}.calm-more-filters{margin-left:0}.workspace-quick-fields .primary{width:100%}.calm-priority-filters>span{width:100%}.quick-edit-task-fields{padding-top:20px}}
select.priority-low{border-color:#93ad9566!important;background:color-mix(in srgb,#93ad95 8%,var(--surface))!important;color:var(--ink)}select.priority-medium{border-color:#c4aa6166!important;background:color-mix(in srgb,#c4aa61 8%,var(--surface))!important;color:var(--ink)}select.priority-high{border-color:#c99a6b66!important;background:color-mix(in srgb,#c99a6b 8%,var(--surface))!important;color:var(--ink)}select.priority-urgent{border-color:#c77e7566!important;background:color-mix(in srgb,#c77e75 8%,var(--surface))!important;color:var(--ink)}
/* Team changelog and reversible recovery */
.sidebar #history-nav,.sidebar #archive-nav,.sidebar #trash-nav{font-size:11px;padding-top:8px;padding-bottom:8px;margin-top:2px}.sidebar #history-nav>span,.sidebar #archive-nav>span,.sidebar #trash-nav>span{font-size:19px}.sidebar .nav-heading{margin-top:19px!important}.history-entry,.recovery-entry{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--border);padding:18px 0}.history-entry:first-child,.recovery-entry:first-child{margin-top:15px}.history-entry:last-child,.recovery-entry:last-child{border-bottom:0}.history-action-icon{width:34px;height:34px;border-radius:8px;background:var(--surface-soft);color:#819c8b;display:grid;place-items:center;font-size:21px;flex-shrink:0}.action-trash .history-action-icon{color:#c77e75;background:#c77e7512}.action-archive .history-action-icon{color:#a189b4;background:#a189b412}.action-restore .history-action-icon,.action-revert .history-action-icon{color:#789abd;background:#789abd12}.history-entry-main{flex:1;min-width:0}.history-entry-main>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.history-kind{font-size:9px;background:var(--surface-soft);color:var(--text-secondary);padding:4px 6px;border-radius:4px}.history-entry-main b{font-size:13px;overflow-wrap:anywhere}.history-action-label{font-size:10px;color:var(--text-secondary)}.history-entry-main p{font-size:10px;margin:7px 0;color:var(--text-secondary);line-height:1.6}.history-entry-main p>span{color:var(--text-tertiary)}.history-entry-main small{font-size:9px;color:var(--text-tertiary)}.history-entry-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.history-reverted{font-size:9px;color:#819c8b}.history-pagination{display:flex;align-items:center;gap:8px;margin-top:18px}.history-pagination>span{font-size:10px;color:var(--text-secondary);margin-right:auto}.history-pagination .secondary{font-size:10px;padding:8px}.change-details{padding-top:20px!important}.change-value-table{overflow:auto;margin-bottom:18px}.change-value-table table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;text-align:left}.change-value-table th,.change-value-table td{padding:12px 10px;border:1px solid var(--border);vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}.change-value-table thead th{background:var(--surface-soft);font-weight:550}.change-value-table th:first-child{width:25%}.change-value-table td:nth-child(2){background:#c77e7508}.change-value-table td:nth-child(3){background:#74947b08}.change-value-table pre{font-size:9px;white-space:pre-wrap;margin:0}#revert-error,#archive-error{color:#b87968;font-size:11px;line-height:1.7}.recovery-entry>.secondary{font-size:11px;padding:9px 12px}.history-workspace .toolbar{margin-bottom:12px}
@media(max-width:950px){.history-entry-actions{max-width:130px}.sidebar .brand{margin-bottom:15px}.sidebar .nav-heading{margin-bottom:7px}.sidebar nav button{padding-top:9px;padding-bottom:9px}}
@media(max-width:650px){.history-entry,.recovery-entry{flex-wrap:wrap;gap:10px}.history-entry-actions{max-width:none;margin-left:44px;justify-content:flex-start}.history-pagination{flex-wrap:wrap}.history-entry-main b{font-size:12px}.change-value-table{font-size:10px}.sidebar #history-nav,.sidebar #archive-nav,.sidebar #trash-nav{width:auto;font-size:10px;padding:7px;order:4}}

/* Optimizer Dash / Business Optimizer account screens */
.auth-page{padding:40px 24px;background:radial-gradient(ellipse at 12% 10%,#f1e5bd 0,transparent 48%),#f7f8f4;min-height:100dvh}
.auth-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr);max-width:1100px;width:100%;padding:0;overflow:hidden;border-radius:24px;box-shadow:0 24px 100px #15252816;border:1px solid var(--border)}
.auth-story{padding:36px 44px 24px;background:radial-gradient(ellipse at 90% 70%,#284940 0,transparent 65%),#152528;color:#fff;display:flex;flex-direction:column;position:relative}
.auth-company{display:block;align-self:flex-start;max-width:220px}
.auth-company img{display:block;width:100%;height:68px;object-fit:contain;object-position:left}
.auth-story-main{padding:32px 0 20px;flex:1}
.auth-product{display:flex;align-items:center;gap:12px;font-size:24px;letter-spacing:-.8px;color:#f8faf5}
.auth-product b{color:#ffd262}.auth-product-symbol{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#ffd262;color:#152528;font-size:28px}
.auth-kicker{margin:26px 0 14px;color:#b4c8b9;font-size:10px;font-weight:700;letter-spacing:1.8px}
.auth-story h1{font-size:clamp(32px,3.5vw,46px);font-weight:650;line-height:1.13;letter-spacing:-1.7px;margin:0;color:#fff}.auth-story h1 span{color:#ffd262}
.auth-intro{font-size:14px;line-height:1.7;color:#c0cfc7;max-width:370px;margin:20px 0 26px}
.auth-benefits{display:grid;gap:18px}.auth-benefits>div{display:flex;align-items:flex-start;gap:13px}.auth-benefits>div>span{width:32px;height:32px;border-radius:9px;background:#ffffff0d;color:#ffd262;display:grid;place-items:center;font-size:19px;flex-shrink:0}.auth-benefits p{margin:0}.auth-benefits b{display:block;font-size:12px;font-weight:600;color:#f3f7f1}.auth-benefits small{display:block;font-size:11px;line-height:1.6;margin-top:4px;color:#a7bdb1}.auth-story-footer{margin:22px 0 0;padding-top:20px;border-top:1px solid #ffffff14;font-size:10px;line-height:1.6;color:#a1b7aa}
.auth-card{background:var(--surface);padding:40px 38px;display:flex;flex-direction:column;justify-content:center;min-width:0;color:var(--ink)}
.auth-card-heading{display:flex;align-items:center;gap:8px;margin-bottom:26px;font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--text-secondary)}.auth-status-dot{width:7px;height:7px;background:#6c9f7b;border-radius:50%;box-shadow:0 0 0 4px #6c9f7b14}
.auth-card #login{width:100%}.auth-card #sign-in-loading{font-size:13px;line-height:1.6;color:var(--text-secondary);padding:24px 0}.auth-error:empty{display:none}.auth-error{font-size:13px;color:#c2574e;line-height:1.6}
.auth-access-note{display:flex;gap:12px;background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;padding:16px;margin-top:28px}.auth-access-note>span{font-size:24px;color:var(--green)}.auth-access-note p{margin:0}.auth-access-note b{font-size:11px;font-weight:600;display:block;color:var(--ink)}.auth-access-note small{display:block;font-size:10px;line-height:1.6;color:var(--text-secondary);margin-top:6px}.auth-support{font-size:10px;line-height:1.6;text-align:center;margin-top:20px;color:var(--text-secondary)}.auth-support:hover{text-decoration:underline}
.auth-card #local-login{display:grid;gap:14px}.auth-card #local-login label{font-size:12px;color:var(--text-secondary)}.auth-card #local-login input{background:var(--surface-soft);border:1px solid var(--border);padding:13px;border-radius:10px;width:100%;color:var(--ink)}.auth-card #local-login .primary{justify-content:center;min-height:44px}
html[data-theme=dark] .auth-page{background:radial-gradient(ellipse at 12% 10%,#333728 0,transparent 48%),#101b1e}
@media(max-width:800px){.auth-page{padding:20px 16px}.auth-layout{grid-template-columns:1fr;max-width:520px;border-radius:18px}.auth-story{padding:24px 28px}.auth-company img{height:48px}.auth-story-main{padding:22px 0 0}.auth-product{font-size:22px}.auth-kicker{margin:18px 0 10px;font-size:9px}.auth-story h1{font-size:32px;letter-spacing:-1px}.auth-intro{font-size:12px;margin:16px 0 0}.auth-benefits,.auth-story-footer{display:none}.auth-card{padding:30px 28px}.auth-card-heading{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.auth-page *{scroll-behavior:auto}}
