
:root{--forest:#173f35;--green:#26634f;--mint:#e8f0e9;--lime:#d6edb9;--ink:#25392f;--muted:#7b847e;--line:#e8ebe5;--canvas:#f7f8f4;--orange:#c87942;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #a3c786;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:none;border-color:#599575;box-shadow:0 0 0 3px #43855c13}svg.icon{width:19px;height:19px;stroke-width:1.7;flex-shrink:0;pointer-events:none}
.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:var(--forest);color:#c2d2ca;padding:35px 20px 22px;z-index:30;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:white;padding:0 9px}.brand-symbol{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:var(--lime);color:var(--forest);transform:rotate(-7deg)}.brand-symbol svg{transform:rotate(7deg);width:25px;height:25px}.brand-name{font-size:25px;letter-spacing:-1.1px;font-weight:650}.brand-dot{color:var(--lime)}.workspace-label{margin:46px 14px 13px;font-size:10px;letter-spacing:1.8px;color:#82a295;font-weight:600}.nav-list{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:12px;min-height:47px;padding:12px 14px;width:100%;text-align:left;border-radius:8px;font-size:13px;color:#b8cec3}.nav-link:hover{background:#ffffff0b;color:white}.nav-link.active{background:var(--lime);color:#224435;font-weight:650}.nav-count{margin-left:auto;font-size:11px;min-width:23px;height:23px;display:grid;place-items:center;border-radius:6px;background:#214436;color:var(--lime)}.nav-divider{height:1px;background:#ffffff15;margin:24px 12px 15px}.nav-link.import{font-size:12px}.soon-label{margin-left:auto;border:1px solid #7893854a;color:#98b2a6;font-size:9px;padding:2px 5px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:35px}.sidebar-art{margin:0 8px;padding:0 7px 27px;border-bottom:1px solid #ffffff17}.sidebar-art svg{width:133px;height:85px;margin:0 0 8px}.sidebar-art h3{font-size:14px;font-weight:500;line-height:1.6;color:#e8f1e8}.sidebar-art p{font-size:11px;color:#8eac9d;margin-top:7px;line-height:1.7}.sidebar-foot{display:flex;align-items:center;gap:10px;padding:22px 13px 0;color:#8fa99b;font-size:10px}.sidebar-foot svg{width:16px;height:16px}
.main-shell{margin-left:224px}.topbar{height:80px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 39px;gap:18px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px;color:var(--muted)}.breadcrumb svg{width:15px}.breadcrumb .current{color:#334a3f;font-weight:500}.topbar-right{display:flex;align-items:center;gap:20px}.top-date{display:flex;align-items:center;gap:9px;font-size:12px;color:#798279}.top-date svg{width:16px}.demo-label{font-size:10px;border-radius:20px;padding:4px 9px;background:#f4f5ef;color:#80866a;white-space:nowrap;border:1px solid #e8ebdf}.account{border-left:1px solid var(--line);padding-left:20px;display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;font-size:11px;font-weight:600;background:#ebeee4;color:#727c56}.account .avatar{background:#e7ecdf;color:#5b6949}.account-copy{font-size:12px;font-weight:600;line-height:1.35}.account-copy span{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:2px}
.main-content{max-width:1600px;margin:auto;padding:34px 39px 26px}.heading-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{color:#7a8979;text-transform:uppercase;letter-spacing:1.9px;font-weight:550;font-size:9px;margin-bottom:7px}.heading-row h1{font-size:29px;letter-spacing:-1.05px;font-weight:610;line-height:1.3}.heading-row h1 .greeting-icon{font-size:23px;color:#bd9d51;margin-left:8px;display:inline-block;vertical-align:1px}.heading-row p{font-size:12px;color:#7c847d;margin-top:7px}.btn{min-height:40px;display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:7px;padding:10px 15px;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--forest);color:#fff;box-shadow:0 3px 5px #193e3010}.btn.primary:hover{background:#245642}.btn.secondary{border:1px solid #e0e6de;background:#fff}.btn.soft{background:var(--mint);color:var(--forest)}.btn svg{width:16px;height:16px}.btn.text{padding:0;color:#557960;font-size:11px;min-height:30px}.btn.icon-only{padding:8px;min-height:36px;min-width:36px}.btn.wide{width:100%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.stat-card{text-align:left;background:white;border:1px solid var(--line);border-radius:10px;padding:18px 20px 16px;transition:box-shadow .18s,transform .18s}.stat-card:hover{box-shadow:0 5px 18px #2b483a0a;transform:translateY(-2px)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#737f76;font-size:11px}.stat-icon{height:30px;width:30px;border-radius:8px;display:grid;place-items:center;background:#edf3e9;color:#7e9c68}.stat-icon svg{width:16px}.stat-icon.orange{background:#fff2e9;color:#c58860}.stat-icon.blue{background:#eff2f8;color:#8294ac}.stat-icon.green{background:#eaf3ee;color:#6a927a}.stat-bottom{display:flex;align-items:baseline;gap:10px;margin-top:3px}.stat-value{font-size:30px;letter-spacing:-1px;line-height:1.5;font-weight:550}.stat-caption{font-size:10px;color:#8c958b}.stat-caption.warn{color:#bc8162}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 264px;align-items:start;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-head{padding:20px 22px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:15px;font-weight:600;letter-spacing:-.25px}.panel-head p{font-size:11px;color:#8b928a;margin-top:3px}.panel-head .subtle-text{font-size:10px;color:#90998f}.queue-toolbar{padding:0 22px 17px;display:flex;align-items:center;gap:12px;justify-content:space-between}.tabs{display:flex;gap:6px;padding:4px;background:#f4f6f1;border-radius:7px}.tab{font-size:10px;color:#7f897e;white-space:nowrap;padding:7px 10px;border-radius:5px;display:flex;align-items:center;gap:6px}.tab.active{background:#fff;color:#395640;box-shadow:0 1px 5px #1632200d;font-weight:600}.tab-count{font-size:9px;padding:0 4px;min-width:14px;border-radius:3px;color:#849180;background:#edf1e9}.tab.active .tab-count{background:#e8efdf;color:#71865e}.tab[data-filter=overdue] .tab-count{background:#faece5;color:#b17b61}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;padding:8px 10px;min-width:0;background:#fff}.search svg{width:15px;height:15px;color:#9aa296}.search input{padding:0;min-width:0;width:100%;border:0!important;outline:none!important;box-shadow:none!important;font-size:11px;color:var(--ink);background:transparent}.search input::placeholder{color:#a3a99f}.queue-toolbar .search{max-width:170px}.queue-header{background:#fafbf8;border-block:1px solid #eef0ea;padding:10px 22px;font-size:9px;font-weight:550;letter-spacing:.4px;color:#939b90;display:grid;grid-template-columns:minmax(0,1fr) 118px 128px;gap:12px}.queue-row{padding:18px 22px;border-bottom:1px solid #edf0e9;display:grid;grid-template-columns:minmax(0,1fr) 118px 128px;gap:12px;align-items:center;position:relative;transition:background .2s}.queue-row:hover{background:#fcfdf9}.queue-row.overdue::before{position:absolute;content:"";left:0;top:26px;bottom:26px;background:#d89a72;width:3px;border-radius:0 3px 3px 0}.client-main{display:flex;align-items:center;gap:12px;min-width:0}.client-info{min-width:0}.client-name{text-align:left;display:block;padding:0;font-size:12px;font-weight:600;line-height:1.4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-name:hover{color:#729454}.company{font-size:10px;color:#8b9389;margin-top:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.client-note{font-size:10px;margin-top:5px;color:#8d958b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tag{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:9px;font-weight:500;padding:3px 7px;border-radius:4px;white-space:nowrap;background:#f0f1ed;color:#8b9186}.tag::before{content:"";height:4px;width:4px;border-radius:50%;background:currentColor}.tag.interested{background:#eaf2e6;color:#6e8a50}.tag.new{background:#eef2fa;color:#7289ad}.tag.contacted{background:#f0edf7;color:#8e7ba9}.tag.converted{background:#e9f3ed;color:#54896a}.tag.not-interested{background:#f3eeeb;color:#9a847a}.date-cell{font-size:10px;display:flex;align-items:flex-start;flex-direction:column;gap:6px}.due{display:flex;align-items:center;gap:5px;color:#8a9385;font-size:10px}.due.overdue{color:#c08764}.due svg{width:11px;height:11px}.quick-actions{display:flex;align-items:center;gap:5px;justify-content:flex-end}.action-square{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e5ebe2;background:white;border-radius:5px;color:#7d8c72}.action-square:hover{background:#eaf3e7;color:#365f3b}.action-square svg{height:14px;width:14px}.action-square.wa{color:#7da270}.follow-btn{border:1px solid #dfe7d9;background:#f0f5eb;color:#60794e;padding:7px 8px;border-radius:5px;font-size:9px;white-space:nowrap}.follow-btn:hover{background:#e3efda}.queue-footer{padding:14px 22px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#9aa191}.queue-footer button{font-size:10px;color:#6e865e;display:flex;align-items:center;gap:5px;padding:0}.queue-footer svg{width:13px;height:13px}
.side-column{display:flex;flex-direction:column;gap:18px}.day-panel{padding:20px}.small-title{font-size:12px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.small-title svg{width:15px;color:#9ba98d}.progress-ring{width:120px;height:120px;margin:22px auto 16px;position:relative;display:grid;place-items:center}.progress-ring svg{position:absolute;inset:0;transform:rotate(-90deg)}.progress-ring-value{text-align:center}.progress-ring-value strong{font-size:25px;font-weight:550;letter-spacing:-.8px;display:block;line-height:1.3}.progress-ring-value span{font-size:9px;color:#8b9684}.progress-label{text-align:center;font-size:11px;color:#748369}.progress-label strong{font-weight:550;color:#4f6943}.mini-stats{display:flex;justify-content:center;gap:28px;margin-top:18px;padding-top:17px;border-top:1px solid var(--line);font-size:10px;color:#8a9582}.mini-stats span{display:flex;align-items:center;gap:6px}.mini-stats i{width:6px;height:6px;border-radius:50%;background:#8baf70;display:block}.mini-stats span:last-child i{background:#dfe6d8}.mini-stats strong{color:#647158;font-weight:500}.next-panel{padding:20px}.next-label{font-size:9px;color:#9ba18c;letter-spacing:1.1px;text-transform:uppercase}.next-client{display:flex;gap:10px;align-items:center;margin:17px 0 14px}.next-name{font-size:12px;font-weight:550}.next-service{font-size:10px;color:#969987;margin-top:2px}.next-meta{font-size:10px;color:#8f9484;display:flex;align-items:center;gap:6px;margin-bottom:17px}.next-meta svg{width:13px;height:13px}.next-panel .btn{font-size:11px;min-height:35px;padding:7px 9px}.tip-panel{background:#f0f3e8;border:1px solid #e6ebdc;border-radius:9px;padding:18px 19px}.tip-top{display:flex;align-items:center;gap:7px;font-size:11px;color:#819369;font-weight:550}.tip-top svg{width:15px;height:15px}.tip-panel p{font-size:11px;color:#8b967d;margin-top:9px;line-height:1.8}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;color:#a1a99c;margin-top:24px}.page-footer .local-note{display:flex;gap:5px;align-items:center}.page-footer svg{width:12px;height:12px}.empty-state{padding:55px 25px;text-align:center;color:#8b9683}.empty-state svg{width:34px;height:34px;color:#90aa79;margin-bottom:10px}.empty-state h3{font-size:15px;color:#526d44;font-weight:500}.empty-state p{font-size:12px;margin:8px auto 16px;max-width:320px}.bottom-nav,.mobile-brand{display:none}
.clients-toolbar{display:flex;gap:12px;align-items:center;padding:0 22px 20px}.clients-toolbar .search{max-width:380px;flex:1}.select-filter{font-size:11px;border:1px solid var(--line);padding:8px 11px;border-radius:6px;max-width:180px;color:#687e61;background:white}.clients-table .queue-header,.clients-table .queue-row{grid-template-columns:minmax(180px,1.35fr) minmax(150px,1fr) 110px 145px 132px}.service-name{font-size:11px;color:#6b7b63}.phone-text{font-size:10px;color:#9a9f92;margin-top:4px}.full-row-status{font-size:10px}.list-count{font-size:11px;color:#8c9983}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:22px;align-items:start}.calendar-head{display:flex;justify-content:space-between;align-items:center;padding:22px}.calendar-head h2{font-size:17px;font-weight:550}.calendar-controls{display:flex;gap:8px;align-items:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0 18px 20px;gap:5px}.weekday{font-size:10px;text-align:center;padding:11px 0;color:#8b9683}.calendar-day{min-height:83px;text-align:left;border:1px solid #edf0e8;border-radius:7px;padding:10px;display:flex;flex-direction:column;align-items:flex-start;font-size:12px;gap:6px}.calendar-day:hover{background:#f4f7ef}.calendar-day.today .day-number{color:#fff;background:var(--forest);border-radius:50%;height:23px;width:23px;display:grid;place-items:center;margin:-4px}.calendar-day.selected{background:#edf4e6;border-color:#afc597}.day-count{font-size:9px;color:#7e936c;background:#e9f0df;border-radius:4px;padding:2px 4px}.calendar-list .queue-row{display:block}.calendar-list .date-cell{margin:10px 0 12px 48px}.calendar-list .quick-actions{justify-content:flex-start;margin-left:48px}.calendar-list .follow-btn{font-size:11px}.calendar-list .action-square{width:33px;height:33px}
.activity-list{padding:6px 25px 20px}.activity-item{display:flex;gap:15px;position:relative;padding:18px 0}.activity-item:not(:last-child)::before{content:"";position:absolute;left:15px;top:50px;bottom:-16px;width:1px;background:#e7ecdf}.activity-icon{height:31px;width:31px;border-radius:50%;display:grid;place-items:center;background:#f0f4ea;color:#849b70;flex-shrink:0;z-index:1}.activity-icon svg{width:15px;height:15px}.activity-content{flex:1;min-width:0}.activity-title{font-size:12px}.activity-title strong{font-weight:600}.activity-note{font-size:11px;color:#87947b;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.activity-time{font-size:10px;color:#a0a995;white-space:nowrap}
.overlay{position:fixed;inset:0;background:#132d2466;z-index:60;display:flex;justify-content:flex-end;backdrop-filter:blur(2px)}.drawer{width:455px;max-width:100%;height:100%;background:var(--canvas);box-shadow:-10px 0 55px #0b2a2620;display:flex;flex-direction:column;animation:slideIn .2s ease-out}.drawer-head{padding:23px 26px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.drawer-head h2{font-size:17px;font-weight:600}.drawer-head p{font-size:11px;color:#91a087;margin-top:4px}.drawer-body{padding:25px;overflow-y:auto;flex:1}.close-btn{width:34px;height:34px;border-radius:50%;background:#f4f6f0;color:#849179;display:grid;place-items:center}.close-btn svg{width:17px;height:17px}.drawer-client{display:flex;align-items:center;gap:12px;margin-bottom:22px}.drawer-client .avatar{width:46px;height:46px;font-size:14px}.drawer-client h3{font-size:16px;font-weight:550}.drawer-client p{font-size:11px;color:#84957a;margin-top:3px}.drawer-client .tag{margin-top:6px}.detail-box{background:white;border:1px solid var(--line);border-radius:9px;padding:17px;margin-bottom:22px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.detail-label{font-size:10px;color:#96a08c;margin-bottom:4px}.detail-value{font-size:12px;overflow-wrap:anywhere}.detail-actions{display:flex;gap:9px;margin-top:17px}.detail-actions .btn{flex:1}.section-title{font-size:12px;font-weight:600;margin:22px 0 12px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-size:11px;font-weight:550;color:#65795b}.optional{font-size:10px;font-weight:400;color:#97a28c}.field input,.field select,.field textarea{width:100%;border:1px solid #dde5d6;border-radius:7px;padding:11px 12px;background:white;color:#415739;font-size:12px;min-height:41px}.field textarea{resize:vertical;min-height:95px}.field input::placeholder,.field textarea::placeholder{color:#a9b19f}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field-row .field{min-width:0}.form-hint{font-size:10px;color:#91a083;line-height:1.8;margin:-7px 0 18px}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:10px}.outcome-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}.outcome-option{font-size:11px;padding:10px 8px;border:1px solid #e1e7d9;border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center;gap:7px}.outcome-option svg{width:15px;height:15px}.outcome-option.active{background:#e8f0df;border-color:#a7bc94;color:#51703d}.form-error{font-size:11px;color:#a85b46;margin-bottom:12px}.drawer .activity-list{padding:0}.drawer .activity-time{font-size:9px}.drawer .activity-item{gap:10px}
.modal-wrap{justify-content:center;align-items:center;padding:20px}.modal{max-width:480px;width:100%;background:#fff;border-radius:13px;padding:30px;box-shadow:0 12px 48px #233a2e12}.modal-icon{height:50px;width:50px;background:#eef4e7;border-radius:13px;display:grid;place-items:center;color:#7c9567;margin-bottom:20px}.modal-icon svg{width:25px;height:25px}.modal h2{font-size:21px;font-weight:550;letter-spacing:-.5px}.modal>p{font-size:12px;color:#849579;line-height:1.9;margin-top:11px}.import-steps{display:grid;gap:14px;margin:25px 0;font-size:12px}.import-step{display:flex;gap:11px;align-items:center}.step-number{height:25px;width:25px;background:#f0f4ea;border-radius:50%;font-size:10px;display:grid;place-items:center;color:#82966d}.import-status{background:#f6f7f2;border:1px dashed #d4dfc9;padding:14px;border-radius:7px;color:#8b987c;font-size:11px;margin-bottom:22px}.modal .btn{width:100%;margin-top:6px}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,15px);z-index:100;background:var(--forest);color:white;padding:13px 21px;font-size:12px;border-radius:9px;box-shadow:0 12px 48px #233a2e12;opacity:0;pointer-events:none;transition:all .2s;max-width:calc(100vw - 30px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.body-locked{overflow:hidden}.storage-warning{font-size:12px;background:#fff3e3;color:#9a663e;padding:10px 20px}
@keyframes slideIn{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(min-width:1500px){.queue-header,.queue-row{grid-template-columns:minmax(0,1fr) 145px 150px}.queue-row{padding-top:21px;padding-bottom:21px}.follow-btn{font-size:10px}.action-square{width:32px;height:32px}.client-name{font-size:13px}.company,.client-note{font-size:11px}.workspace-grid{grid-template-columns:minmax(0,1fr) 290px}.stat-card{padding:22px 23px 19px}}
@media(max-width:1220px){.sidebar{width:200px;padding-left:15px;padding-right:15px}.main-shell{margin-left:200px}.topbar{padding:0 26px}.main-content{padding:28px 26px 24px}.workspace-grid{grid-template-columns:minmax(0,1fr) 225px;gap:17px}.queue-row,.queue-header{padding-left:17px;padding-right:17px;grid-template-columns:minmax(0,1fr) 103px 116px;gap:8px}.panel-head{padding-left:17px;padding-right:17px}.queue-toolbar{padding-left:17px;padding-right:17px;flex-wrap:wrap}.queue-toolbar .search{max-width:none;width:100%}.clients-table .queue-header,.clients-table .queue-row{grid-template-columns:minmax(160px,1.2fr) minmax(100px,1fr) 98px 100px 116px}.stat-caption{font-size:9px}.stat-card{padding:16px}.calendar-layout{grid-template-columns:minmax(0,1fr) 270px}.calendar-day{min-height:72px;padding:8px}.day-count{font-size:8px}.brand-name{font-size:23px}}
@media(max-width:1050px){.sidebar{width:185px}.main-shell{margin-left:185px}.main-content{padding:27px 23px}.topbar{padding:0 23px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.side-column{display:grid;grid-template-columns:1fr 1fr 1fr;gap:13px}.day-panel,.next-panel,.tip-panel{padding:17px}.progress-ring{margin-top:15px;width:100px;height:100px}.queue-toolbar{flex-wrap:nowrap}.queue-toolbar .search{max-width:220px}.queue-row,.queue-header{grid-template-columns:minmax(0,1fr) 145px 150px}.quick-actions{gap:7px}.action-square{width:31px;height:31px}.follow-btn{font-size:10px}.stat-bottom{gap:8px;flex-wrap:wrap}.stat-caption{font-size:9px}.clients-table .queue-header,.clients-table .queue-row{grid-template-columns:minmax(170px,1fr) 105px 125px 137px}.clients-table .service-cell{display:none}.calendar-layout{grid-template-columns:1fr}.calendar-list .queue-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 140px}.calendar-list .date-cell,.calendar-list .quick-actions{margin:0}.calendar-day{min-height:85px}.account-copy{display:none}.account{padding-left:16px}.topbar-right{gap:16px}.heading-row h1{font-size:26px}.sidebar-art{padding-left:3px;padding-right:3px}.sidebar-art svg{width:125px}.sidebar-art h3{font-size:13px}}
@media(max-width:760px){.sidebar{display:none}.main-shell{margin-left:0}.topbar{height:66px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-weight:650;font-size:22px;letter-spacing:-.8px}.mobile-brand .brand-symbol{width:29px;height:29px;border-radius:9px}.mobile-brand .brand-symbol svg{width:21px;height:21px}.top-date{display:none}.account{border:0;padding:0}.account .avatar{height:31px;width:31px;font-size:10px}.topbar-right{gap:11px}.main-content{padding:24px 19px 103px}.heading-row{align-items:flex-start;margin-bottom:22px}.heading-row h1{font-size:25px}.eyebrow{font-size:8px;margin-bottom:8px}.heading-row p{font-size:12px;max-width:260px;line-height:1.7}.heading-row>.btn{font-size:11px;padding:9px 12px;min-height:38px;margin-top:7px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:22px}.stat-card{padding:15px 16px 13px;border-radius:9px}.stat-top{font-size:11px}.stat-icon{width:28px;height:28px}.stat-value{font-size:29px}.stat-caption{font-size:10px}.stat-bottom{gap:9px;flex-wrap:nowrap}.workspace-grid{gap:20px}.queue-toolbar{flex-wrap:wrap;padding:0 17px 16px;gap:12px}.tabs{width:100%;justify-content:space-between;gap:2px}.tab{font-size:10px;padding:8px 9px;gap:5px;justify-content:center;flex:1}.queue-toolbar .search{max-width:100%;padding:10px 11px}.search input{font-size:12px}.queue-header{display:none}.queue-row{grid-template-columns:1fr auto;gap:13px;padding:19px 17px;align-items:start}.queue-row .client-main{grid-column:1;grid-row:1;gap:11px}.client-name{font-size:13px}.company,.client-note{font-size:11px}.avatar{width:37px;height:37px;font-size:11px}.date-cell{grid-column:2;grid-row:1;align-items:flex-end;padding-top:2px;gap:8px}.tag{font-size:9px}.due{font-size:10px}.quick-actions{grid-column:1/-1;justify-content:flex-start;padding-left:48px;gap:8px}.action-square{height:35px;width:39px;border-radius:6px}.action-square svg{height:16px;width:16px}.follow-btn{height:35px;padding:7px 13px;font-size:11px;border-radius:6px;flex:1}.queue-footer{padding:14px 17px}.panel-head{padding:19px 17px 17px}.panel-head h2{font-size:15px}.panel-head p{font-size:10px;margin-top:4px}.side-column{grid-template-columns:1fr 1fr;gap:12px}.tip-panel{grid-column:1/-1;padding:16px 19px}.tip-panel p{margin-top:5px}.mini-stats{gap:13px;font-size:9px}.day-panel{padding:17px 13px}.small-title{font-size:11px}.progress-label{font-size:10px}.next-panel{padding:17px 14px}.next-client{gap:8px}.next-name{font-size:11px}.next-service{font-size:9px}.next-client .avatar{width:29px;height:29px;font-size:9px}.next-meta{font-size:9px}.next-panel .btn{font-size:10px}.bottom-nav{display:flex;position:fixed;z-index:40;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #e2e8db;box-shadow:0 -3px 18px #1e3b2505;min-height:67px;padding:9px 10px max(9px,env(safe-area-inset-bottom));justify-content:space-around}.bottom-link{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;flex:1;font-size:9px;color:#96a08b;position:relative}.bottom-link svg{height:20px;width:20px}.bottom-link.active{color:#345f3e;font-weight:600}.bottom-link.active::before{position:absolute;content:"";width:20px;height:3px;top:-9px;background:#60844c;border-radius:0 0 3px 3px}.page-footer{font-size:9px;align-items:flex-start;line-height:1.7;margin-top:22px}.page-footer>span:last-child{display:none}.toast{bottom:85px;font-size:11px}.clients-toolbar{padding:0 17px 18px;gap:9px}.select-filter{max-width:132px;font-size:10px;padding:9px}.clients-table .queue-row{grid-template-columns:1fr auto}.clients-table .queue-row .client-main{grid-column:1;grid-row:1}.clients-table .full-row-status{grid-column:2;grid-row:1;text-align:right}.clients-table .date-cell{grid-column:2;grid-row:2;margin-top:-34px;font-size:10px;pointer-events:none}.clients-table .quick-actions{grid-row:3;margin-top:-3px}.clients-table .service-cell,.clients-table .queue-header{display:none}.clients-table .client-note{padding-right:10px}.clients-table .queue-row{gap:14px}.calendar-grid{gap:4px;padding:0 12px 15px}.calendar-day{min-height:67px;padding:7px 5px;font-size:11px}.day-count{font-size:7px;padding:2px;white-space:nowrap}.weekday{font-size:9px}.calendar-head{padding:18px 16px}.calendar-head h2{font-size:16px}.calendar-head .btn{min-height:31px;padding:6px 8px;font-size:10px}.calendar-list .queue-row{display:grid;grid-template-columns:1fr auto}.calendar-list .date-cell{grid-column:2;grid-row:1}.calendar-list .quick-actions{margin-left:48px;padding-left:0}.calendar-layout{gap:17px}.activity-list{padding:0 17px 17px}.activity-item{gap:10px;flex-wrap:wrap}.activity-time{font-size:9px;margin-left:41px;margin-top:-10px;width:100%}.activity-content{width:calc(100% - 41px)}.drawer-head{padding:19px 21px}.drawer-body{padding:22px 21px}.drawer{width:100%}.drawer .activity-time{margin-top:-7px}.modal{padding:26px}.modal-wrap{padding:19px}.modal h2{font-size:20px}.demo-label{font-size:9px;padding:3px 7px}.form-actions .btn{min-height:44px}.field input,.field select,.field textarea{font-size:16px}}
@media(max-width:390px){.main-content{padding-left:13px;padding-right:13px}.topbar{padding:0 14px}.heading-row h1{font-size:22px}.heading-row>.btn{font-size:10px;padding:9px}.heading-row p{font-size:11px}.stat-card{padding:13px}.stat-caption{font-size:9px}.tab{padding:8px 6px;font-size:9px}.client-note{max-width:165px}.queue-row{padding-left:14px;padding-right:14px;gap:12px}.side-column{grid-template-columns:1fr}.tip-panel{grid-column:auto}.day-panel{display:none}.next-panel{padding:18px}.next-name{font-size:13px}.next-service,.next-meta{font-size:11px}.next-panel .btn{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable everyday controls, with compact layouts retained on smaller screens. */
.client-name{font-size:14px}.company,.client-note{font-size:11px;color:#77826f}.heading-row p{font-size:13px}.stat-top{font-size:12px}.stat-caption{color:#76816e}.panel-head p{color:#7a8572}.tag{font-size:10px}.due{font-size:11px}.follow-btn{font-size:10px}.queue-header{font-size:10px;color:#798470}.tab{font-size:11px}.search input{font-size:12px}.next-name{font-size:13px}.tip-panel p{color:#758266}.client-note{max-width:100%}.activity-note{color:#738267}
@media(max-width:1220px){.tab{font-size:10px}.due{font-size:10px}.client-name{font-size:13px}}
@media(max-width:760px){.client-name{font-size:14px}.company,.client-note{font-size:11px}.follow-btn{font-size:12px;min-height:40px}.action-square{min-height:40px;min-width:40px}.tag{font-size:9px}.heading-row h1 .greeting-icon{display:none}.heading-row p{font-size:12px}.stat-top{font-size:11px}.next-name{font-size:12px}}
@media(max-width:390px){.tab{font-size:9px}.client-name{font-size:13px}.heading-row p{font-size:11px}}

/* Server-rendered release */
.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:100%;max-width:480px;padding:32px}.auth-brand{font-size:30px;font-weight:700;color:var(--forest);margin-bottom:20px}.auth-card h1{font-size:25px;margin-bottom:8px}.auth-card>p{margin:12px 0 20px}.auth-card form{margin-top:24px}.form-panel{padding:28px;max-width:760px}.form-panel h1,.form-panel h2{margin-bottom:20px}.form-panel>p{margin:16px 0;line-height:1.8}.server-filters{display:flex;flex-wrap:wrap;gap:10px;padding:0 22px 18px}.server-filters .search{flex:1;min-width:180px}.server-filters .search input{font-size:14px;min-height:25px}.notice,.error{padding:14px 18px;border-radius:8px;margin:0 0 20px;overflow-wrap:anywhere}.notice{background:#e6f0df;color:#355c32}.error{background:#fae9e5;color:#943a29}.pagination{display:flex;gap:10px}.nav-symbol{font-size:20px;line-height:1}.action-square{width:40px;height:40px;font-size:13px}.follow-btn{min-height:40px;display:grid;place-items:center;padding:8px 12px}.queue-row,.queue-header{grid-template-columns:minmax(0,1fr) 150px 180px}.client-name{font-size:15px}.company,.client-note{font-size:12px;color:#6c7967}.detail-actions .quick-actions{padding:0;justify-content:flex-start}.detail-value{font-size:14px}.activity-note{white-space:pre-wrap}.calendar-panel{margin-bottom:22px}.field label{font-size:13px}.field input,.field select,.field textarea{font-size:15px}.form-hint{margin:12px 0 20px}.detail-box{padding:24px}.topbar-right{font-size:12px}.btn{font-size:13px}
@media(max-width:760px){.queue-row{grid-template-columns:1fr auto}.queue-header{display:none}.quick-actions{padding-left:48px}.form-panel{padding:20px}.server-filters{padding:0 17px 18px}.server-filters .search{flex-basis:100%}.server-filters select{max-width:none;flex:1}.topbar{padding:0 14px}.topbar-right{gap:10px}.topbar-right>a{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-right .btn{padding:8px 10px}.field input,.field select,.field textarea{font-size:16px}.auth-card{padding:24px}.heading-row h1{font-size:23px}.detail-actions{flex-wrap:wrap}.detail-actions .quick-actions{flex:1}.calendar-controls{gap:4px}.calendar-controls .btn{font-size:11px;padding:6px}.queue-footer{align-items:flex-start;gap:10px}.pagination .btn{padding:6px 10px;font-size:11px}}


.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.category-card{display:flex;flex-direction:column;padding:22px;text-decoration:none;color:inherit}.category-number{font-size:30px;font-weight:700;margin:12px 0}.category-card p{font-size:13px;color:#64748b;line-height:1.6}.category-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.server-filters{flex-wrap:wrap}.snapshot-hint{padding:0 20px}.detail-box{margin-bottom:16px}.notice{line-height:1.6}.main-content{min-width:0}.detail-value,.detail-grid>div{overflow-wrap:anywhere}.select-filter{max-width:100%}@media(max-width:700px){.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.bottom-link{font-size:10px;min-width:0;padding:8px 2px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{padding:14px}.server-filters .select-filter{width:100%}.category-card strong{font-size:14px}}

/* Followup v1.2: legible client lists and fast, explicit follow-up actions. */
:root{--forest:#123e35;--green:#126447;--ink:#142b27;--muted:#52675f;--line:#d7e2dc;--canvas:#f2f6f4;--lime:#d6f2a5;font-size:15px}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink)}
.main-content{max-width:1600px;margin:auto;padding:32px}.topbar{border-bottom:1px solid var(--line)}
.sidebar{background:#123e35}.workspace-label,.sidebar-foot,.sidebar-art p{color:#bbd2c8}.nav-link{color:#e1eee7;font-size:15px;min-height:50px}.nav-link.active{color:#143b2c;background:#d6f2a5}.brand-symbol{transform:none}
.heading-row{margin-bottom:24px}.heading-row h1{font-size:30px;line-height:1.25;letter-spacing:-.7px;color:#152f28}.heading-row p,.breadcrumb,.top-date{color:#52675f;font-size:14px}.eyebrow{color:#406151;font-weight:700;letter-spacing:1.5px}
.btn,.follow-btn{min-height:44px;padding:11px 17px;font-size:14px;font-weight:650;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.btn.primary,.follow-btn{background:#126447;color:#fff;border:1px solid #126447;box-shadow:0 3px 8px #123e3512}.btn.primary:hover,.follow-btn:hover{background:#0b5037}.btn.secondary,.btn.soft{color:#25483b;border:1px solid #b9cec2;background:#fff}.btn.secondary:hover,.btn.soft:hover{background:#edf5ef}
button:focus-visible,a:focus-visible{outline:3px solid #2563eb;outline-offset:3px}input:focus,textarea:focus,select:focus{border-color:#126447;box-shadow:0 0 0 3px #12644722}
.stats{gap:16px;margin-bottom:20px}.stat-card{padding:20px;background:#fff;border:1px solid var(--line);border-top:4px solid #24785d;border-radius:12px}.stat-card:nth-child(2){border-top-color:#b93828;background:#fffafa}.stat-card:nth-child(3){border-top-color:#275ecc}.stat-card:nth-child(4){border-top-color:#087251}.stat-top{font-size:14px;color:#465c52;font-weight:600}.stat-value{font-size:34px;color:#142b27}.stat-card:nth-child(2) .stat-value{color:#a5281c}
.start-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#e6f1eb;border:1px solid #b8d5c4;padding:20px 24px;border-radius:12px;margin:20px 0}.start-panel strong{font-size:17px;color:#153e2d}.start-panel p{font-size:14px;line-height:1.6;color:#3a5a49;margin-top:4px}.start-panel .btn{flex-shrink:0}
.work-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 16px}.work-tab{padding:10px 17px;border-radius:8px;background:#fff;border:1px solid #c6d7cc;font-size:14px;font-weight:600;color:#385547}.work-tab.active{color:#fff;background:#173f35;border-color:#173f35}.work-tab:hover{box-shadow:0 0 0 2px #173f3520}
.panel{border:1px solid #d4e0d8;border-radius:12px;box-shadow:0 2px 6px #123e3504}.panel-head{padding:20px 24px}.panel-head h2{font-size:18px;color:#213e30}.list-total{font-size:13px;background:#e9f1eb;color:#315442;padding:4px 8px;border-radius:6px;margin-left:6px}
.server-filters{padding:0 24px 20px;gap:10px}.server-filters .search{min-height:46px;border:1px solid #b8cbbf;background:#fff;border-radius:8px;padding:8px 12px;flex-basis:240px}.search input{font-size:15px!important;color:#183a2a!important}.search input::placeholder{color:#5b7064!important}.select-filter{border:1px solid #b8cbbf;background:#fff;color:#294b38;padding:10px 12px;min-height:46px;font-size:14px;border-radius:8px;max-width:240px}
.queue-header{grid-template-columns:minmax(200px,1fr) 170px 330px;background:#edf3ef;color:#405d4d;padding:12px 24px;font-size:12px;font-weight:700;letter-spacing:.5px}.queue-row{grid-template-columns:minmax(200px,1fr) 170px 330px;padding:22px 24px;gap:20px;align-items:center;background:#fff}.queue-row:hover{background:#f7fbf8}.queue-row.overdue{background:#fffaf8}.queue-row.overdue::before{background:#c4402d;top:0;bottom:0;width:4px}.client-main{align-items:flex-start;gap:12px}.avatar{height:42px;width:42px;background:#e2efe7;color:#205238;font-size:16px;flex-shrink:0;border-radius:11px}.client-name{font-size:17px;font-weight:700;line-height:1.45;white-space:normal;overflow-wrap:anywhere;color:#173e2b}.company{font-size:14px;color:#415c4d;white-space:normal;margin-top:4px;line-height:1.55}.client-location{font-size:13px;color:#596e61;margin-top:3px}.client-note{font-size:14px;color:#405748;line-height:1.55;white-space:normal;margin-top:7px}.category-badges{margin-top:9px;gap:6px}.category-badges .tag{background:#edf2f7;color:#384c63;border:1px solid #d2dce5;font-size:11px}
.tag{display:inline-flex;align-items:center;border-radius:6px;font-size:12px;font-weight:650;padding:5px 8px;line-height:1.4;background:#edf1f5;color:#425468;border:1px solid #cdd8e0;white-space:normal;text-align:left}.tag.interested{background:#e5f5eb;color:#14643b;border-color:#b8dfc7}.tag.call-later,.tag.no-answer{background:#fff3d9;color:#80520b;border-color:#e8cf98}.tag.renewed,.tag.converted{background:#dcf4eb;color:#075c3f;border-color:#a5d5c2}.tag.do-not-contact,.tag.not-interested{background:#fceae7;color:#912d25;border-color:#eabcb4}.tag.not-contacted,.tag.new{background:#e9efff;color:#294fa1;border-color:#becdf4}
.date-cell{display:flex;align-items:flex-start;flex-direction:column;gap:7px;font-size:13px;color:#4a6354}.due{font-size:14px;font-weight:600;color:#254e38}.due.overdue{color:#ae3022}.quick-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0;flex-wrap:wrap}.action-square{width:auto;min-width:58px;min-height:44px;height:auto;padding:10px 12px;border:1px solid #bdcfe2;border-radius:8px;font-size:13px;font-weight:650;background:#eff5ff;color:#224f87}.action-square.wa{background:#e7f6ee;color:#0d643a;border-color:#aed7bf}.quick-actions .follow-btn{font-size:13px;padding:10px 12px;white-space:nowrap}
.queue-footer{padding:18px 24px;font-size:13px;color:#4a6253}.empty-state{padding:44px 24px;text-align:center}.empty-symbol{background:#e7f4ec;color:#167346;border-radius:50%;font-size:26px;width:54px;height:54px;display:grid;place-items:center;margin:0 auto 16px}.empty-state h3{font-size:20px;color:#203f2c}.empty-state p{font-size:15px;max-width:460px;margin:10px auto 20px;color:#53695b;line-height:1.7}.empty-state .btn{margin:4px}
.form-panel{max-width:840px;padding:28px}.field label,.field-label{font-size:14px;font-weight:650;color:#284936}.field input,.field select,.field textarea{border:1px solid #aebfb3;background:#fff;color:#1e3628;border-radius:8px;font-size:16px;min-height:46px}.field textarea{min-height:110px}.form-hint{font-size:13px;color:#52695a;line-height:1.6}.follow-client{display:flex;flex-direction:column;gap:5px;background:#edf5f0;border:1px solid #c4dbcd;padding:17px;border-radius:10px;margin-bottom:24px}.follow-client strong{font-size:20px}.follow-client span,.follow-client p{color:#43624e;font-size:14px}.choice-row{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}.choice{background:#fff;border:1px solid #b5cbbd;color:#264a34;min-height:44px;padding:10px 15px;border-radius:8px;font-size:14px;font-weight:600}.choice:hover{background:#edf6f0}.choice.selected{background:#dff0e5;border-color:#126447;box-shadow:inset 0 0 0 1px #126447;color:#0b5132}.date-picks{margin:22px 0 12px}.sticky-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid #d5e1d9;margin-top:24px;padding:16px 0 0;z-index:5}.detail-label{color:#52675c;font-size:13px}.detail-value{color:#193d2b;font-size:16px}.activity-note{color:#455f50;font-size:14px}.activity-time{color:#52675b}.category-card strong{font-size:16px;color:#213d2d}.category-card p{color:#506458;font-size:14px}.category-number{color:#145a38;font-size:34px}.notice{background:#e6f2eb;border:1px solid #bcd9c7;color:#214d33;font-size:14px}.error{background:#fff0ed;color:#9a2f21;border:1px solid #edb7ac;font-size:14px}.page-footer{font-size:12px;color:#536b5c}
[hidden]{display:none!important}
@media(max-width:1320px){.queue-row,.queue-header{grid-template-columns:minmax(180px,1fr) 150px 230px}.quick-actions .follow-btn{width:100%}.quick-actions{justify-content:flex-start}.main-content{padding:26px}}
@media(max-width:1000px){.queue-row,.queue-header{grid-template-columns:minmax(160px,1fr) 140px}.queue-header>span:last-child{display:none}.queue-row>.quick-actions{grid-column:1/-1;padding-left:54px;justify-content:flex-start}.quick-actions .follow-btn{width:auto}.main-content{padding:22px}.server-filters .select-filter{flex:1;max-width:none}.start-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.main-content{padding:20px 14px 110px}.heading-row{align-items:flex-start;gap:12px}.heading-row h1{font-size:25px}.heading-row p{font-size:14px;line-height:1.55}.heading-row>.btn{font-size:12px;padding:10px;min-width:95px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:15px}.stat-value{font-size:30px}.stat-top{font-size:13px}.start-panel{padding:17px;margin:16px 0;gap:14px}.start-panel .btn{width:100%}.work-tabs{gap:7px;margin:18px 0 14px}.work-tab{padding:9px 12px;font-size:13px}.panel-head{padding:18px 16px}.server-filters{padding:0 16px 18px}.server-filters .select-filter{width:100%;flex-basis:100%}.queue-row{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:20px 16px}.client-main{width:100%}.client-name{font-size:17px}.company,.client-note{font-size:14px}.client-note{max-width:none}.date-cell{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;padding-left:54px}.queue-row>.quick-actions{padding:0;display:grid;grid-template-columns:1fr 1fr}.quick-actions .follow-btn{grid-column:1/-1;min-height:46px}.action-square{min-height:44px;width:100%;font-size:14px}.quick-actions .follow-btn{font-size:14px}.queue-footer{padding:16px;flex-wrap:wrap;gap:12px}.pagination{width:100%;justify-content:space-between}.pagination .btn{font-size:14px;min-height:44px}.bottom-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:#fff;border-top:1px solid #cbdcd0;padding:8px 4px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 12px #153c2710}.bottom-link{color:#455e4e;font-size:10px;padding:5px 0;min-height:48px;gap:5px}.bottom-link.active{background:#e6f2e9;color:#0f5d36;border-radius:8px}.form-panel{padding:20px 16px;overflow:visible}.field-row{grid-template-columns:1fr}.choice-row .choice{flex:1 1 40%}.sticky-actions{bottom:80px;padding:12px 0;margin-bottom:0;display:flex;gap:10px}.sticky-actions .btn.primary{flex:1}.detail-actions .quick-actions{display:grid;grid-template-columns:1fr 1fr}.category-grid{gap:10px}.category-card{padding:16px}.category-card p{font-size:13px}.category-card strong{font-size:14px}.category-number{font-size:30px}.topbar-right{font-size:13px}.empty-state{padding:30px 16px}}

/* Compact mobile workspace; controls retain 44px touch targets. */
@media(max-width:760px){
 :root{--mobile-nav-height:64px}
 .main-shell,.main-content,.panel,.client-info{min-width:0}
 .main-content{padding:14px 10px calc(82px + env(safe-area-inset-bottom))}
 .topbar{height:56px;min-height:56px;padding:0 12px}
 .topbar-right{gap:8px}.topbar-right .top-date{display:none}
 .topbar-right>a{max-width:100px;font-size:12px}.topbar-right .btn{min-height:44px;padding:8px 10px;font-size:12px}
 .mobile-brand{font-size:20px}.heading-row{margin-bottom:14px;gap:10px;align-items:center}
 .heading-row .eyebrow{display:none}.heading-row h1{font-size:21px;line-height:1.25;letter-spacing:-.4px}
 .heading-row p{font-size:12px;line-height:1.45;margin-top:5px}.heading-row>.btn{min-width:86px;min-height:44px;font-size:12px;padding:8px}
 .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:10px}
 .stat-card{padding:10px 8px;border-radius:9px;border-top-width:3px;min-width:0}
 .stat-top{font-size:11px;line-height:1.3;min-height:29px}.stat-value{font-size:25px;line-height:1.15;margin-top:4px}
 .start-panel{flex-direction:row;align-items:center;gap:10px;padding:12px;margin:10px 0;border-radius:9px}
 .start-panel>div{flex:1;min-width:0}.start-panel strong{font-size:13px;line-height:1.4;display:block}
 .start-panel p{font-size:11px;line-height:1.4;margin-top:3px}.start-panel .btn{width:auto;min-width:96px;max-width:115px;white-space:normal;line-height:1.35;font-size:12px;padding:8px 10px}
 .work-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:6px;margin:12px 0 10px;padding:2px 0 5px;scrollbar-width:thin}
 .work-tab{flex-shrink:0;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;font-size:12px}
 .panel{border-radius:10px}.panel-head{padding:13px 12px}.panel-head h2{font-size:16px}.list-total{font-size:11px;padding:3px 6px}
 .server-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 12px 12px}
 .server-filters .search{grid-column:1/-1;width:100%;min-width:0;min-height:44px;padding:7px 10px}
 .server-filters .select-filter{width:100%;max-width:100%;min-width:0;font-size:13px;padding:8px;min-height:44px}
 .server-filters .btn{width:100%;min-height:44px;padding:8px;font-size:13px}
 .server-filters input[type=hidden]{display:none}
 .server-filters select[name=filter]{display:none}
 .snapshot-hint{padding:0 12px;font-size:11px;line-height:1.5;margin:0 0 10px}
 .queue-row{padding:14px 12px;gap:9px}.client-main{gap:9px}.avatar{width:32px;height:32px;border-radius:8px;font-size:13px}
 .client-name{font-size:15px;line-height:1.4}.company{font-size:12px;line-height:1.45;margin-top:3px;overflow-wrap:anywhere}
 .client-location{font-size:11px;margin-top:2px}.client-note{font-size:12px;line-height:1.45;margin-top:5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .client-note:empty{display:none}.category-badges{gap:4px;margin-top:5px}.category-badges:empty{display:none}
 .tag,.category-badges .tag{font-size:10px;line-height:1.4;padding:3px 6px}
 .date-cell{padding-left:41px;gap:7px;font-size:11px;line-height:1.4}.due{font-size:12px}
 .queue-row>.quick-actions,.detail-actions .quick-actions{padding:0;display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,.95fr) minmax(0,1.4fr);gap:6px;align-items:stretch}
 .quick-actions .action-square,.quick-actions .follow-btn{grid-column:auto;width:100%;min-width:0;min-height:44px;font-size:12px;padding:7px 5px;border-radius:7px;white-space:normal;line-height:1.25}
 .quick-actions .follow-btn:only-child{grid-column:1/-1}
 .queue-footer{padding:12px;gap:8px;font-size:12px}.pagination{gap:8px}.pagination .btn{min-height:44px;font-size:12px;padding:8px 12px}
 .notice,.error{padding:11px 12px;margin-bottom:12px;border-radius:8px;font-size:12px;line-height:1.55}
 .empty-state{padding:24px 12px}.empty-symbol{height:38px;width:38px;font-size:20px;margin-bottom:10px}.empty-state h3{font-size:17px}.empty-state p{font-size:13px;margin:8px auto 12px}.empty-state .btn{font-size:12px;padding:9px;min-height:44px}
 .form-panel{padding:16px 12px}.follow-client{padding:12px;margin-bottom:15px;gap:3px}.follow-client strong{font-size:17px}.follow-client span,.follow-client p{font-size:12px}
 .field{margin-bottom:12px;min-width:0}.field label,.field-label{font-size:13px}.field input,.field select,.field textarea{width:100%;min-width:0;font-size:16px;min-height:44px;padding:9px 10px}.field textarea{min-height:84px}
 .field-row{gap:9px}#schedule{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:9px}
 .choice-row{gap:6px;margin:8px 0 10px}.choice-row .choice{font-size:12px;padding:8px;min-height:44px}
 .date-picks{margin:14px 0 8px}.date-picks .choice-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.date-picks .choice{min-width:0;padding:7px 4px;font-size:11px;line-height:1.3}
 .form-hint{font-size:11px;line-height:1.45;margin:7px 0 12px}
 .sticky-actions{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));gap:8px;padding:10px 0 2px;margin-top:12px}.sticky-actions .btn{min-height:44px;font-size:13px}
 .detail-box{padding:15px 12px;margin-bottom:12px}.detail-grid{gap:12px}.detail-label{font-size:11px}.detail-value{font-size:14px}.detail-actions{gap:8px;margin-top:14px}
 .category-grid{gap:8px}.category-card{padding:12px}.category-card strong{font-size:13px;line-height:1.4}.category-number{font-size:26px;margin:7px 0}.category-card p{font-size:12px;line-height:1.45}
 .activity-item{padding:14px 12px;gap:9px}.activity-title,.activity-note{font-size:12px;line-height:1.5}.activity-time{font-size:11px}.calendar-panel{margin-bottom:12px}.calendar-head{padding:12px}.calendar-grid{gap:3px}.calendar-day{padding:6px 2px;min-width:0}.day-count{font-size:9px}
 .bottom-nav{height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding:5px 2px calc(5px + env(safe-area-inset-bottom));gap:1px;grid-template-columns:repeat(6,minmax(0,1fr))}
 .bottom-link{font-size:10px;min-width:0;min-height:44px;gap:3px;padding:4px 0}.bottom-link .nav-symbol{font-size:19px}
 .page-footer{font-size:10px;margin-top:16px;gap:8px;flex-wrap:wrap}
}
@media(max-width:350px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-top{min-height:0}.stat-card{padding:9px 10px}.stat-value{font-size:23px}.heading-row h1{font-size:19px}.bottom-link{font-size:9px}.start-panel{padding:10px;gap:8px}.start-panel .btn{min-width:88px}}

.app-badge{font-weight:800;letter-spacing:.04em}.app-nsm{background:#dbeafe;color:#153d75;border:1px solid #8fb9eb}.app-nbm{background:#f3e8ff;color:#65228c;border:1px solid #cca2e8}.detail-box details{margin-top:12px}.detail-box summary{cursor:pointer;font-weight:700}@media(max-width:600px){.filters .select-filter{min-width:0;max-width:100%;flex:1 1 130px}.detail-grid{grid-template-columns:1fr 1fr}.app-badge{font-size:11px}}

@font-face{font-family:FontAwesome;src:url('assets/fontawesome-webfont.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:block}
.fa{display:inline-block;font:normal normal normal 20px/1 FontAwesome;text-rendering:auto;-webkit-font-smoothing:antialiased}.fa-phone:before{content:"\f095"}.fa-whatsapp:before{content:"\f232"}.fa-pencil:before{content:"\f040"}.fa-trash:before{content:"\f1f8"}
.main-content{padding-top:20px}.heading-row{gap:10px;margin-bottom:14px}.heading-row>div:first-child{flex:1}.heading-row h1{font-size:24px;line-height:1.2;margin:0}.heading-row p{margin:5px 0 0}.sidebar-message,.eyebrow{display:none}.stat-card{padding:14px 18px}.stats{gap:10px;margin-bottom:14px}.stat-value{font-size:28px}.start-panel{padding:10px 14px;margin:0 0 12px;gap:10px}.start-panel p{margin:3px 0 0}.work-tabs{margin-bottom:12px}.panel-head{padding:12px 16px}.panel-head h2{font-size:17px}.filters{padding:12px;gap:8px}.queue-row{padding:12px 16px}.queue-row,.queue-header{grid-template-columns:minmax(0,1fr) 155px 278px}.quick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.quick-actions .action-square{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px}.edit-action{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}.delete-action{background:#fff1f2;color:#b91c1c;border-color:#fecdd3}.quick-actions .follow-btn{padding:9px 12px;min-height:40px;flex:0 0 auto}.action-square:hover{filter:brightness(.94)}.action-square:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}.danger{background:#b91c1c;color:white;border:1px solid #b91c1c}.detail-layout{grid-template-columns:1fr}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #e5e7eb}.trash-row>div{min-width:0;overflow-wrap:anywhere}.trash-row form{flex-shrink:0}.snapshot-hint{margin:8px 12px;font-size:11px}.form-panel h1{font-size:22px}
@media(max-width:1100px){.queue-row,.queue-header{grid-template-columns:minmax(0,1fr) 130px 220px}.quick-actions .follow-btn{flex-basis:100%;text-align:center}}
@media(max-width:700px){.main-content{padding:12px 10px}.heading-row{margin-bottom:10px;flex-wrap:wrap;align-items:center}.heading-row h1{font-size:21px}.heading-row .btn{min-height:40px;padding:8px 10px}.stats{margin-bottom:10px;gap:6px}.stat-card{padding:10px}.stat-value{font-size:24px}.queue-row{display:grid;grid-template-columns:minmax(0,1fr);padding:12px}.quick-actions{display:flex!important;flex-wrap:wrap;gap:6px;width:100%;margin-top:8px}.quick-actions .action-square{width:44px;min-width:44px;height:44px;min-height:44px;flex:0 0 44px}.quick-actions .follow-btn{min-height:44px;flex:1 0 88px;padding:10px 8px}.start-panel{padding:9px 10px}.detail-box{padding:12px}.detail-grid{gap:10px}.panel-head{padding:10px 12px}.queue-header{display:none}}
.sidebar-art{display:none}

.user-active{display:flex;align-items:center;gap:9px;margin:0 0 16px}.user-active input{width:20px;height:20px}.trash-row small{color:#52616a}.form-panel h2{font-size:19px;margin:0 0 14px}


/* Final mobile layout: reset inherited grid placement, keep information full width. */
.fa-search:before{content:"\f002"}.fa-sliders:before{content:"\f1de"}
.server-filters{display:grid;grid-template-columns:minmax(0,1fr) 44px auto;align-items:start;gap:8px;padding:0 16px 12px;position:relative}
.server-filters .search{grid-column:1;grid-row:1;min-height:44px;width:100%;padding:8px 10px;margin:0}.server-filters .search input{font-size:16px;width:100%;min-width:0;height:26px}
.server-filters .search-submit{grid-column:2;grid-row:1;width:44px;height:44px;min-width:44px;padding:0;display:grid;place-items:center;background:#145c43;color:#fff;border-radius:8px}
.filter-drawer{display:contents}.filter-drawer>summary{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;height:44px;min-width:44px;padding:0 10px;border:1px solid #b5c9be;background:#f2f7f4;border-radius:8px;color:#174a35;font-size:13px;font-weight:700;cursor:pointer}.filter-drawer>summary::-webkit-details-marker{display:none}.filter-drawer[open]>summary{background:#dcefe4;border-color:#286347}
.filter-count{background:#145c43;color:#fff;border-radius:12px;font-size:10px;padding:1px 5px}.filter-fields{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;background:#f4f8f5;border:1px solid #d1dfd6;border-radius:9px}.filter-drawer:not([open]) .filter-fields{display:none}.server-filters .filter-fields .select-filter{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;font-size:14px;padding:8px}.filter-controls{display:flex;justify-content:flex-end;gap:8px;grid-column:1/-1}.server-filters .filter-controls .btn{width:auto;min-height:44px;padding:8px 16px}
.client-title{display:flex;align-items:center;gap:8px;min-width:0}.client-title .client-name{flex:1;min-width:0}.client-apps{display:flex;flex-shrink:0;gap:3px}.client-apps .tag{font-size:10px;padding:2px 5px;white-space:nowrap}.client-apps .tag:before{display:none}.client-meta{display:flex;gap:8px;align-items:center;min-width:0;line-height:1.5;font-size:13px;color:#455d50}.client-phone{white-space:nowrap;flex-shrink:0;font-variant-numeric:tabular-nums}.client-city{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-info{flex:1;min-width:0}.snapshot-hint{padding:0 16px;margin:0 0 8px;font-size:11px;color:#617467}.snapshot-hint summary{cursor:pointer;width:max-content}.snapshot-hint p{margin-top:4px}
.navigation-progress{display:none;position:fixed;top:0;left:0;right:0;height:3px;background:#cfe8db;z-index:10000;overflow:hidden}.navigation-progress:after{content:"";display:block;height:100%;width:35%;background:#126447;animation:page-progress 1s ease-in-out infinite}.is-navigating .navigation-progress{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes page-progress{from{transform:translateX(-100%)}to{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.navigation-progress:after{animation:none;width:100%}*,*:before,*:after{scroll-behavior:auto!important}}
@media(max-width:760px){
 :root{--mobile-nav-height:64px}.main-content{padding:12px 10px calc(82px + env(safe-area-inset-bottom))}.panel{min-width:0}.heading-row>.btn{min-width:44px}.heading-row a[aria-label="Trash"]{width:44px;padding:0}.panel-head{padding:10px 12px}.server-filters{padding:0 12px 10px;gap:6px;grid-template-columns:minmax(0,1fr) 44px auto}.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px}.filter-drawer>summary{padding:0 8px;font-size:12px}.filter-fields .select-filter{font-size:16px!important}
 .queue-row{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:12px;min-width:0;grid-template-columns:none}.queue-row>*{grid-column:auto!important;grid-row:auto!important;min-width:0}.queue-row .client-main{display:flex;width:100%;align-items:flex-start;gap:9px}.queue-row .avatar{width:32px;height:32px;flex:0 0 32px}.queue-row .client-info{flex:1;min-width:0;width:auto}.queue-row .client-name{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;line-height:1.5}.queue-row .company{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:1px 0 0}.queue-row .client-meta{font-size:12px;gap:8px}.queue-row .client-note{font-size:12px;margin-top:3px}.queue-row .category-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.queue-row .date-cell{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;padding:0 0 0 41px;gap:7px;max-width:100%;font-size:11px}.queue-row .date-cell .due{font-size:11px}.queue-row .tag{font-size:10px;padding:2px 5px}.queue-row .quick-actions,.detail-actions .quick-actions{display:flex!important;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:6px;width:100%;padding:0;margin:2px 0 0;grid-template-columns:none}.queue-row .quick-actions .action-square,.detail-actions .quick-actions .action-square{width:44px;min-width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0}.queue-row .quick-actions .follow-btn,.detail-actions .quick-actions .follow-btn{width:auto;min-width:76px;min-height:44px;flex:1 1 76px;padding:10px 8px;white-space:nowrap;text-align:center;grid-column:auto;font-size:12px}.snapshot-hint{padding:0 12px;margin-bottom:6px}
 .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;position:fixed;left:0;right:0;bottom:0;z-index:100;height:calc(64px + env(safe-area-inset-bottom));padding:5px 7px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #bcd0c2;box-shadow:0 -3px 12px #163d2914}.bottom-nav .bottom-link{position:relative;border-radius:9px;min-width:0;min-height:50px;padding:5px 1px;font-size:10px;font-weight:600;color:#50685a;gap:3px}.bottom-nav .bottom-link .nav-symbol{font-size:19px}.bottom-nav .bottom-link.active{background:#145c43;color:#fff;box-shadow:0 2px 5px #145c4326}.bottom-nav .bottom-link.active:before{content:"";position:absolute;top:3px;width:16px;height:3px;border-radius:2px;background:#cdeaa6}.bottom-nav .bottom-link:focus-visible{outline:2px solid #145c43;outline-offset:1px}.topbar-right>a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-footer{gap:8px}.sticky-actions{bottom:calc(64px + env(safe-area-inset-bottom))}
}
@media(max-width:350px){.queue-row .quick-actions .action-square,.detail-actions .quick-actions .action-square{width:40px;min-width:40px;flex-basis:40px}.client-meta{gap:4px}.filter-drawer>summary{gap:4px;padding:0 6px}.client-title{gap:4px}.client-apps .tag{font-size:9px;padding:2px 4px}}

/* Client controls share one compact row below search. */
.list-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:0 16px 12px}
.list-management{display:flex;align-items:center;gap:8px}
.list-toolbar .btn{width:auto;min-height:44px;margin:0;padding:8px 14px}
.list-management a[aria-label="Trash"]{width:44px;min-width:44px;padding:8px;display:grid;place-items:center}
.page-jump{display:flex;align-items:center;gap:8px;margin:0 0 0 auto;max-width:100%;color:#244c3d;font-size:13px}
.page-jump label,.page-jump span{white-space:nowrap;margin:0}
.page-jump input[type=number]{width:88px;min-width:0;min-height:44px;height:44px;padding:8px;border:1px solid #9ebbae;border-radius:8px;background:#fff;color:#163e30;font-size:16px;font-variant-numeric:tabular-nums}
.page-jump .btn{min-width:44px}
.page-jump input:focus-visible{outline:2px solid #145c43;outline-offset:2px}
@media(max-width:760px){.list-toolbar{padding:0 12px 10px;gap:8px}.page-jump{gap:6px;font-size:12px}.page-jump input[type=number]{width:72px}.page-jump .btn{padding:8px 12px}}
@media(max-width:420px){.page-jump{margin-left:0}}

.tag.final{background:#dcf4eb;color:#075c3f;border-color:#a5d5c2}.tag.running{background:#e9efff;color:#294fa1;border-color:#becdf4}

.report-panel .panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.report-panel h1{font-size:22px;margin:0}
.report-periods,.report-filters,.report-totals,.report-categories{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 16px 12px}
.report-periods .btn{flex:1;text-align:center;min-width:0;padding:10px 8px}.report-filters select{flex:1;min-width:0;min-height:44px}.report-filters .btn{min-height:44px}.report-hint{padding:0 16px 12px;margin:0;color:#506557;font-size:12px}.report-totals{justify-content:space-between;color:#174a35}.report-category{display:flex;align-items:center;gap:6px;padding:5px;border:1px solid #d0ded5;border-radius:8px}.report-category.selected{outline:2px solid #145c43}.report-client{padding:14px 16px;border-top:1px solid #e0e9e4}.report-client-title,.report-client-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}.report-client-title .client-name{overflow-wrap:anywhere}.report-client-meta{font-size:13px;color:#496153;margin-top:6px}.report-note{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.report-list{min-width:0}
@media(max-width:760px){.report-panel .panel-head{padding:12px}.report-panel h1{font-size:19px}.report-periods,.report-filters,.report-totals,.report-categories{padding-left:12px;padding-right:12px}.report-hint{padding-left:12px;padding-right:12px}.report-client{padding:12px}.report-periods .btn{font-size:13px}.report-filters select{font-size:16px}}

/* Compact follow-up form; retain accessible names for all controls. */
.followup-compact label[for="outcome"],.followup-compact label[for="status"],.followup-compact label[for="next_date"],.followup-compact label[for="note"],.followup-compact .field-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.followup-compact .field{margin-bottom:12px}.followup-compact .outcome-picks,.followup-compact .date-picks{margin:0 0 12px}.followup-compact .choice-row{margin-top:0;gap:8px}.followup-compact .follow-client{margin-bottom:14px;padding:14px}.followup-compact #schedule{align-items:end;margin-bottom:0}.followup-compact textarea{min-height:90px}.followup-compact textarea::placeholder{color:#617568;opacity:1}

.followup-compact .follow-back{float:right;margin:0 0 8px 12px;padding:8px 12px;min-height:44px}.followup-compact .follow-client:after{content:"";display:block;clear:both}
