:root{--accent:#1f6feb;--ink:#1f2a44;--muted:#64748b;--bg:#f5f7fa;--line:#e2e8f0}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.5 Inter,"Noto Sans Bengali",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid var(--accent)}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:9px 14px;font-weight:600}button:hover{background:#f0f4fa}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--accent);color:white;border-color:var(--accent)}button.danger{color:#b91c1c;background:#fff1f2}button.small{padding:5px 10px;font-size:12px}a{color:var(--accent);text-decoration:none}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:10px 0}h2{font-size:20px;margin:0 0 12px}h3{font-size:15px;margin:0 0 8px}p{margin:8px 0}small,.muted{color:var(--muted)}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:var(--ink)}textarea{min-height:110px;resize:vertical}label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}form label{margin-top:14px}aside{position:fixed;inset:0 auto 0 0;width:228px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:24px 16px;z-index:10}.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;line-height:1.2}.monogram{background:var(--ink);color:white;font-weight:900;letter-spacing:-2px;font-style:italic;border-radius:10px;padding:8px 12px;font-size:25px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}nav{margin-top:34px;display:grid;gap:7px}nav button{text-align:left;border:0;padding:12px 14px;color:var(--muted);font-size:13px}nav button.active{color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,white)}.nav-icon{display:inline-block;width:26px;font-size:18px}.side-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:16px}.avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;color:var(--accent);background:#e9edff;font-weight:700}.workspace{margin-left:228px}header{height:80px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 32px;position:sticky;top:0;z-index:9}header select{width:235px;background:#f2f3ff;font-weight:600;border:0}header input{max-width:440px;background:#f5f7fa;border:0}header .spacer{flex:1}main{padding:30px 32px;max-width:1900px;margin:auto}.heading,.row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.heading{margin-bottom:24px}.heading p{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat,.panel{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 3px #1f2a4405}.stat{padding:22px}.stat b{display:block;font-size:32px;margin:9px 0 3px;font-variant-numeric:tabular-nums}.stat .symbol{float:right;border-radius:9px;background:#eef2ff;padding:6px 10px;font-size:20px;color:var(--accent)}.panel{padding:22px;margin-bottom:20px}.panel.flush{padding:0;overflow:hidden}.pipeline-flow{display:flex;gap:9px;overflow:auto;padding-top:10px}.stage-chip{white-space:nowrap;border:0;background:#f2f3ff;font-size:12px}.stage-chip b{margin-left:12px}.toolbar{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap;align-items:center}.toolbar input{flex:1;min-width:180px}.toolbar select{width:auto;max-width:190px}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.tabs button{font-size:12px}.tabs button.active{background:var(--accent);color:white;border-color:var(--accent)}table{border-collapse:collapse;width:100%;text-align:left}th{background:#f8fafc;font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted);padding:14px 16px;white-space:nowrap}td{padding:15px 16px;border-top:1px solid #f1f5f9;vertical-align:middle}tr:hover td{background:#fafbff}.table-scroll{overflow:auto}.client{font-weight:700;display:block;font-size:14px;background:none;border:0;padding:0;color:var(--ink);text-align:left}.client:hover{color:var(--accent);background:none}.client-sub{font-size:11px;color:var(--muted);margin-top:4px}.badge{display:inline-block;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:600;background:#e9edff;color:#334c8a}.badge.high,.overdue{background:#fee2e2;color:#b91c1c}.badge.won{background:#dcfce7;color:#166534}.badge.medium,.today{background:#fef3c7;color:#92400e}.badge.low{background:#f1f5f9;color:#64748b}.due{font-size:12px;font-weight:600}.due.overdue,.due.today{padding:4px 7px;border-radius:5px}.kanban{display:flex;gap:16px;overflow:auto;align-items:flex-start;padding-bottom:20px}.column{flex:0 0 245px;background:#edf1f7;border-radius:12px;padding:12px;min-height:250px;border:2px solid transparent}.column.dragover{border-color:var(--accent)}.column-head{display:flex;justify-content:space-between;padding:4px 3px 14px;font-size:12px;font-weight:700}.lead-card{background:white;border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:12px;box-shadow:0 2px 4px #1f2a4404;cursor:grab}.lead-card .money{font-size:18px;font-weight:700;margin:14px 0}.lead-card small{display:block;margin-top:6px}.empty{text-align:center;padding:38px;color:var(--muted)}.split{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.detail-title{font-size:30px;letter-spacing:-.6px}.note{padding:16px 0;border-bottom:1px solid var(--line)}.note:last-child{border:0}.note p{white-space:pre-wrap;overflow-wrap:anywhere}.meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.meta-grid span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.actions{display:flex;gap:8px;flex-wrap:wrap}.chart-row{display:grid;grid-template-columns:130px 1fr 70px;gap:12px;align-items:center;margin:15px 0;font-size:12px}.bar{height:14px;background:#edf1f7;border-radius:4px;overflow:hidden}.bar i{display:block;height:100%;background:var(--accent);border-radius:4px}.calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden}.calendar>div{background:white;min-height:120px;padding:9px}.calendar .day-name{min-height:auto;font-size:11px;background:#f8fafc;text-align:center;font-weight:700}.calendar .blank{background:#f8fafc}.calendar .date{font-size:12px;color:var(--muted);margin-bottom:7px}.calendar .date.current{background:var(--accent);color:white;display:inline-block;padding:3px 8px;border-radius:50%}.calendar button{display:block;width:100%;text-align:left;font-size:10px;padding:5px;margin:4px 0;background:#eef2ff;border:0;font-weight:500;overflow:hidden}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#17253f;color:white;padding:60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-brand:after{content:'';position:absolute;inset:10% -40%;border:1px solid #ffffff18;transform:rotate(-35deg);pointer-events:none}.login-brand h1{font-size:54px;letter-spacing:-2px;max-width:450px}.login-brand p{color:#bcc9e0;max-width:420px}.brand-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:35px}.brand-list span{border:1px solid #ffffff30;border-radius:6px;padding:7px 10px;font-size:11px}.login-form-wrap{display:grid;place-items:center;padding:32px}.login-form{width:100%;max-width:370px}.login-form h1{font-size:28px;margin-top:30px}.login-form button{width:100%;margin-top:22px}.demo-info{margin-top:24px;background:#eef2ff;padding:14px;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.error{color:#b91c1c;min-height:20px;font-size:12px;white-space:pre-wrap}dialog{border:0;border-radius:16px;padding:0;width:640px;max-width:calc(100% - 24px);max-height:90vh;box-shadow:0 24px 90px #1f2a4440}dialog::backdrop{background:#1f2a4470}dialog .modal-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}dialog .modal-head h2{margin:0}dialog form{padding:0 24px 24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .full{grid-column:1/-1}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.help{font-size:12px;color:var(--muted);margin:16px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:13px 22px;z-index:100;display:none;box-shadow:0 5px 20px #0002;max-width:90vw}.doc-row{display:flex;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.doc-row .spacer{flex:1}.profile-card{max-width:650px}.mobile-toggle{display:none}.section-label{color:var(--muted);font-size:11px;letter-spacing:1px;text-transform:uppercase;margin:26px 0 12px}.inline-form{display:flex;gap:10px;align-items:end}.inline-form>div{flex:1}.warning{padding:15px;background:#fffbeb;border-radius:8px;font-size:12px;color:#92400e}.link-button{color:var(--accent);background:none;border:0;padding:0}.footnote{font-size:11px;color:var(--muted);margin-top:24px}
@media(max-width:1100px){aside{width:190px}.workspace{margin-left:190px}header{padding:0 22px;gap:10px}main{padding:24px}.stats{gap:12px}.stat{padding:16px}header input{max-width:240px}.split{grid-template-columns:1fr}.calendar>div{min-height:100px}.login-brand{padding:40px}.login-brand h1{font-size:42px}}
@media(max-width:760px){aside{transform:translateX(-100%);width:228px;transition:transform .2s}body.menu-open aside{transform:translateX(0);box-shadow:10px 0 40px #0003}.workspace{margin:0}header{height:70px;padding:0 16px}header select{width:160px;font-size:12px}header input{display:none}header .new-label{display:none}.mobile-toggle{display:block}main{padding:22px 16px}.stats{grid-template-columns:1fr 1fr}.stat b{font-size:27px}.stat{padding:16px}.heading h1{font-size:26px}.panel{padding:16px}.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-form-wrap{padding:40px 24px;min-height:100vh}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.calendar>div{min-height:85px;padding:4px}.calendar button{font-size:9px;padding:2px}.toolbar select{max-width:140px}.meta-grid{gap:12px}.chart-row{grid-template-columns:95px 1fr 55px}.detail-title{font-size:25px}td,th{padding:12px}.inline-form{flex-wrap:wrap}.inline-form>div{flex-basis:100%}}

@media print{aside,header,.heading button,#toast{display:none!important}.workspace{margin:0}main{padding:0}.panel,.stat{break-inside:avoid;box-shadow:none}.split{display:block}body{background:white}}
.voice-recorder{margin-top:20px;padding:18px;background:#f8fafc;border:1px solid var(--line);border-radius:12px}.voice-card{background:#f2f3ff;border:1px solid #e1e7ff;border-radius:12px;padding:16px;margin-top:14px}.voice-card audio,.voice-recorder audio{width:100%;margin:10px 0}.voice-wave{height:32px;margin:15px 0 5px;background:repeating-linear-gradient(90deg,transparent 0 5px,#c2c6d6 5px 8px,transparent 8px 11px);border-radius:6px;opacity:.5}.voice-speeds{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.voice-speeds button.selected{background:var(--accent);color:white;border-color:var(--accent)}[hidden]{display:none!important}

dialog .modal-head{position:sticky;top:0;background:white;z-index:2}.interaction-note{border-top:5px solid var(--accent);width:780px}.channel-picker{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}.channel-picker button{background:#f2f3ff;border:0;font-size:12px}.channel-picker button.selected{background:var(--accent);color:white}.interaction-note textarea{min-height:100px}

.doc-thumbnail{width:88px;height:70px;flex-shrink:0;padding:0;overflow:hidden;background:#f8fafc;border-radius:8px}.doc-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.doc-type{display:grid;place-items:center;width:66px;height:66px;background:#e9edff;border-radius:8px;font-size:12px;font-weight:700;flex-shrink:0}.doc-info{flex:1;min-width:0;overflow-wrap:anywhere}.doc-info .client{overflow-wrap:anywhere}.document-preview{width:1050px;max-height:94vh}.document-preview .modal-head h2{font-size:16px;overflow-wrap:anywhere}.preview-body{background:#eef1f5;display:flex;justify-content:center;min-height:200px;padding:16px}.preview-body>img{max-width:100%;max-height:70vh;object-fit:contain}.preview-body iframe{width:100%;height:70vh;border:0;background:white}.preview-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px}.doc-row>.actions{align-items:center;flex-shrink:0}@media(max-width:760px){.doc-row{flex-wrap:wrap}.doc-thumbnail{width:72px;height:64px}.doc-row>.actions{margin-left:88px}.preview-footer{flex-wrap:wrap}.preview-body{padding:8px}}

.optimization-summary{padding:14px;margin-top:18px;border-radius:8px;background:#eef7f1;color:#166534;font-size:12px;font-weight:600;overflow-wrap:anywhere}

.contact-vendor{background:#f3e8ff;color:#7e22ce}.contact-client{background:#dcfce7;color:#166534}.contact-future-client{background:#ffedd5;color:#9a3412}.contact-needs-review{background:#fef3c7;color:#92400e}.contact-lead{background:#e0f2fe;color:#0369a1}.client+.badge{margin-top:6px}

.done-button{background:#ecfdf5;color:#166534;border-color:#bbf7d0;white-space:nowrap}.done-button:hover{background:#dcfce7}.completed-task{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.completed-task p{white-space:pre-wrap}.completed-task:last-child{border:0}#toast button{margin-left:10px}

.task-table th:last-child,.task-table td:last-child{position:sticky;right:0;background:white;z-index:1;box-shadow:-3px 0 6px #1f2a4409}.task-table th:last-child{background:#f8fafc}.task-table td:last-child .actions{width:165px}

.calendar .book-day{width:auto;display:inline-block;margin:0;padding:2px 7px;background:#f0f4ff;color:var(--accent);font-size:12px}.calendar .meeting-event{background:#dcfce7;color:#166534;border-left:3px solid #16a34a}.calendar .meeting-event.cancelled{background:#f1f5f9;color:#64748b;text-decoration:line-through;border-color:#94a3b8}.calendar .meeting-event.completed{background:#e0f2fe;color:#0369a1;border-color:#0284c7}.meeting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.meeting-row:last-child{border:0}
.setup-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.setup-row small{display:block;margin-top:5px}.setup-row:last-child{border-bottom:0}.setup-row .actions{flex-wrap:wrap}.setup-list{margin-top:20px}@media(max-width:600px){.setup-row{align-items:flex-start;flex-direction:column}.setup-row .actions{width:100%}}

.stat-link{text-align:left;color:var(--ink);font:inherit;width:100%}.stat-link:hover{border-color:var(--accent);box-shadow:0 4px 14px #1f2a4410}.stat-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#today-followups{scroll-margin-top:110px}

.report-columns{border:1px solid var(--line);border-radius:10px;padding:14px;margin:20px 0;display:flex;flex-wrap:wrap;gap:12px 24px}.report-columns label{display:flex;align-items:center;gap:7px;margin:0;font-size:12px}.report-columns input{width:auto}.report-output>h2{margin-top:24px}.report-preview td{white-space:normal;min-width:100px}@media print{.report-controls,.report-preview{display:none!important}.report-output{display:block}.report-output .stats{grid-template-columns:repeat(4,1fr)}}

/* Shared layout polish */
:root{--line:#dfe6ef}body{line-height:1.55}button:disabled{cursor:not-allowed}button,input,select{min-height:38px}button.small{min-height:32px}button.primary:hover{filter:brightness(.95)}input:focus,select:focus,textarea:focus{outline:2px solid color-mix(in srgb,var(--accent) 28%,white);border-color:var(--accent)}
aside{overflow-y:auto;overscroll-behavior:contain}aside nav{flex-shrink:0}.side-bottom{flex-shrink:0;padding-top:18px}header{gap:14px}header select{flex-shrink:0;max-width:250px}header input{flex:1;min-width:120px}header>button{flex-shrink:0}header>.avatar{flex-shrink:0}main{padding:28px 30px}.heading{align-items:flex-start;gap:18px}.heading>.actions{align-items:center}.heading h1{margin-top:6px}.panel{border-radius:14px}.stats{gap:16px}.stat{min-width:0}.stat small{display:block;line-height:1.5}.stat b{line-height:1.2}.tabs{gap:8px}.tabs button{padding:10px 14px;white-space:nowrap}.toolbar{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(125px,1fr)) auto;gap:10px}.toolbar input,.toolbar select{width:100%;min-width:0;max-width:none}.toolbar button{white-space:nowrap}.table-scroll{overscroll-behavior-x:contain;scrollbar-width:thin}.lead-table{min-width:1180px}.lead-table th,.lead-table td{padding:16px 14px}.lead-table td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}.lead-table td:nth-child(2){min-width:210px;max-width:300px}.lead-table td:nth-child(3),.lead-table td:nth-child(7),.lead-table td:nth-child(8){white-space:nowrap;font-variant-numeric:tabular-nums}.lead-table td:nth-child(6){min-width:145px}.client-sub{font-size:12px;line-height:1.6}.lead-table .badge{line-height:1.3}.lead-row-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:230px!important;align-items:center}.lead-row-actions>*{text-align:center;white-space:nowrap;min-height:32px;display:flex;align-items:center;justify-content:center}.lead-row-actions .done-button{grid-column:span 2}.lead-table tbody tr:hover td{background:#f8faff}.task-table tbody tr:hover td:last-child{background:#f8faff}.task-table td:last-child{padding-left:16px}.form-grid{gap:8px 18px}.form-grid>div{min-width:0}dialog{max-height:calc(100dvh - 32px)}dialog .modal-head{gap:14px}dialog .modal-head h2{font-size:19px;line-height:1.4}dialog .modal-head button{flex-shrink:0}.modal-foot{position:sticky;bottom:0;background:white;padding:16px 0 0;border-top:1px solid var(--line);margin-top:20px}.error:empty{min-height:0;margin:0}.meta-grid b{overflow-wrap:anywhere}.note b,.note small{overflow-wrap:anywhere}.report-columns{gap:10px;padding:14px}.report-columns label{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.report-columns input{min-height:auto;accent-color:var(--accent)}.setup-row b{overflow-wrap:anywhere}.meeting-row>div,.completed-task>div{min-width:0}.meeting-row small{overflow-wrap:anywhere}.nav-backdrop{display:none}.calendar .calendar-head h2{margin:0}
@media(max-width:1250px){.toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar input{grid-column:span 2}.toolbar button{min-height:42px}.heading>.actions{width:100%}}
@media(max-width:980px){main{padding:22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:18px}.heading h1{font-size:28px}.split{grid-template-columns:minmax(0,1fr)}.chart-row{grid-template-columns:minmax(100px,160px) minmax(0,1fr) 45px}}
@media(max-width:760px){header{padding:0 14px;gap:8px;height:68px}header select{width:auto;flex:1;max-width:260px}header input{display:none}header .spacer{display:none}header button{padding:8px 11px}main{padding:20px 14px}.heading{margin-bottom:20px}.heading h1{font-size:25px;letter-spacing:-.7px}.heading p{font-size:13px}.heading>.actions{display:flex;gap:8px}.heading>.actions button{flex:1;padding:9px 10px;font-size:12px}.stats{gap:10px}.stat{padding:15px}.stat .symbol{font-size:16px;padding:4px 8px}.stat b{font-size:28px}.stat small{font-size:11px}.eyebrow{font-size:9px;letter-spacing:1.2px}.panel{padding:17px}.tabs{gap:7px}.tabs button{font-size:12px;padding:9px 12px;min-height:40px}.toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar input{grid-column:1/-1}.toolbar select{max-width:none;font-size:12px}.toolbar>button{grid-column:1/-1}.table-scroll:has(.lead-table){overflow:visible}.panel.flush:has(.lead-table){background:transparent;border:0;box-shadow:none;overflow:visible}.lead-table{min-width:0;display:block}.lead-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.lead-table tbody{display:grid;gap:14px}.lead-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;background:white;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 2px 4px #1f2a4405}.lead-table td{padding:0;border:0;min-width:0!important;max-width:none!important;white-space:normal!important;background:transparent!important;overflow-wrap:anywhere}.lead-table td:before{content:attr(data-label);display:block;font-size:10px;font-weight:600;color:var(--muted);margin-bottom:5px}.lead-table td:nth-child(1){grid-column:1/-1;font-size:12px}.lead-table td:nth-child(1):before{display:none}.lead-table td:nth-child(2){grid-column:1/-1}.lead-table td:nth-child(2):before{display:none}.lead-table td:nth-child(2) .client{font-size:17px}.lead-table td:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px;position:static;box-shadow:none}.lead-table td:last-child:before{display:none}.lead-row-actions{width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))}.lead-row-actions>*{min-height:40px;font-size:12px}.lead-table .due{display:inline-block}.form-grid{grid-template-columns:minmax(0,1fr);gap:0}dialog{max-width:calc(100% - 20px);max-height:calc(100dvh - 20px)}dialog form{padding:0 18px 18px}dialog .modal-head{padding:16px 18px}.modal-foot button{min-height:42px}.completed-task,.meeting-row{align-items:flex-start}.completed-task{flex-wrap:wrap}.meta-grid{gap:14px}.report-columns label{font-size:11px}.doc-row>.actions{margin-left:0;width:100%}.doc-info{min-width:160px}body.menu-open .nav-backdrop{display:block;position:fixed;inset:0;border:0;border-radius:0;background:#1f2a4466;z-index:9;padding:0}aside{z-index:11}.calendar>div{min-height:90px}.calendar .meeting-event{font-size:10px;overflow-wrap:anywhere}}
@media(max-width:390px){.heading>.actions{flex-wrap:wrap}.heading>.actions button{flex-basis:45%}header>.avatar{width:30px;height:30px}.stat .symbol{display:none}.stat b{font-size:26px}.lead-row-actions{gap:6px}.tabs button{font-size:11px}}
@media print{.nav-backdrop{display:none!important}.lead-table{display:table;min-width:0}.lead-table thead{position:static;display:table-header-group;width:auto;height:auto;clip:auto}.lead-table tbody{display:table-row-group}.lead-table tbody tr{display:table-row}.lead-table td{display:table-cell;padding:8px}.lead-table td:before{display:none}.lead-table td:last-child{position:static}.lead-row-actions{display:none}.toolbar,.tabs{display:none}.stats{grid-template-columns:repeat(4,1fr)}}

.lead-money{display:none;font-size:12px;color:var(--muted);margin-top:5px}@media(min-width:761px) and (max-width:1500px){.lead-table{min-width:1060px}.lead-table td:nth-child(2){min-width:180px}.lead-table td:nth-child(6){min-width:120px}.lead-table th,.lead-table td{padding:14px 10px}.lead-table td:nth-child(8),.lead-table th:nth-child(8){display:none}.lead-money{display:block}.lead-row-actions{width:205px!important}.task-table td:last-child{padding-left:12px}}

/* Lead profile */
.profile-breadcrumb{display:flex;align-items:center;gap:12px;margin-bottom:18px}.profile-breadcrumb>span{flex:1;font-size:12px;color:var(--muted)}.profile-hero{padding:26px;border-top:3px solid var(--accent)}.profile-identity{display:flex;gap:18px;align-items:center}.profile-avatar{width:70px;height:70px;font-size:24px;border-radius:20px;flex-shrink:0;background:color-mix(in srgb,var(--accent) 10%,white)}.profile-identity h1{font-size:32px;margin:10px 0;overflow-wrap:anywhere}.profile-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.profile-badges .badge{margin:0}.profile-contact{display:flex;gap:10px 22px;flex-wrap:wrap;color:var(--muted);font-size:13px}.profile-contact span{overflow-wrap:anywhere}.profile-actions{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.profile-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 15px;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:600;background:white;color:var(--ink)}.whatsapp-action{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);padding-top:20px;gap:18px}.profile-summary span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.profile-summary b{font-size:16px;overflow-wrap:anywhere}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px;align-items:start}.profile-main,.profile-sidebar{min-width:0}.profile-feed{padding:0;overflow:hidden}.profile-feed-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding:12px 18px;background:#fbfcfe}.profile-feed-tabs button{background:transparent;border:0;color:var(--muted);padding:10px 12px;display:flex;gap:8px;align-items:center;font-size:13px}.profile-feed-tabs button.active{color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,white)}.profile-feed-tabs button span{display:inline-block;padding:1px 7px;border-radius:12px;background:#e9edf4;font-size:11px}.profile-feed [role=tabpanel]{padding:22px}.profile-section-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:14px}.profile-section-heading h2{font-size:18px;margin:0}.profile-feed .note{padding:20px 0}.profile-feed .note>.row{justify-content:flex-start;gap:10px}.profile-feed .note>.row>small{width:100%;font-size:11px}.profile-feed .note p{margin-top:12px}.full-note summary{color:var(--accent);font-size:12px;font-weight:600;cursor:pointer;padding:8px 0}.full-note p{background:#f8fafc;padding:16px;border-radius:8px;font-size:13px}.profile-due-date{margin:18px 0}.profile-due-date .due{font-size:20px;padding:7px 10px;display:inline-block}.profile-objective{line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:18px}.profile-last-done{display:block;margin-top:16px}.profile-details{margin:20px 0 0}.profile-details>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid #f1f5f9}.profile-details>div:last-child{border:0}.profile-details dt{font-size:12px;color:var(--muted)}.profile-details dd{font-size:13px;font-weight:600;margin:0;overflow-wrap:anywhere}.profile-record-tools{background:#fafbfe}.profile-event{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.event-dot{width:9px;height:9px;background:var(--accent);border-radius:50%;margin-top:7px;flex-shrink:0}.profile-event b{font-size:13px;display:block;overflow-wrap:anywhere}.profile-event small{font-size:11px;display:block;margin-top:6px}.profile-sidebar{position:sticky;top:100px}
@media(max-width:1150px){.profile-layout{grid-template-columns:minmax(0,1fr) 305px;gap:16px}.profile-sidebar{position:static}.profile-actions button,.profile-action{font-size:12px;padding:9px 12px}.profile-hero{padding:22px}}
@media(max-width:980px){.profile-layout{display:flex;flex-direction:column}.profile-sidebar,.profile-main{width:100%}.profile-sidebar{order:-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-sidebar .panel{margin-bottom:0}.profile-record-tools{grid-column:1/-1}.profile-layout{gap:18px}}
@media(max-width:760px){.profile-breadcrumb{flex-wrap:wrap;gap:8px}.profile-breadcrumb>span{font-size:11px}.profile-breadcrumb>button{font-size:12px}.profile-hero{padding:18px}.profile-identity{gap:12px;align-items:flex-start}.profile-avatar{width:48px;height:48px;border-radius:14px;font-size:18px}.profile-identity h1{font-size:24px;margin:9px 0}.profile-contact{display:grid;gap:5px;font-size:12px}.profile-badges{gap:5px}.profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0}.profile-actions>*{min-height:42px;text-align:center;justify-content:center}.profile-summary{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:16px}.profile-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-summary span{margin:0}.profile-summary b{font-size:13px;text-align:right}.profile-sidebar{display:flex;flex-direction:column;gap:14px}.profile-sidebar .panel{width:100%}.profile-feed-tabs{padding:10px 8px;gap:2px}.profile-feed-tabs button{padding:9px 8px;font-size:11px;gap:5px;flex:1;justify-content:center}.profile-feed [role=tabpanel]{padding:18px}.profile-section-heading h2{font-size:16px}.profile-event{gap:10px}.profile-due-date .due{font-size:18px}.profile-details>div{grid-template-columns:95px minmax(0,1fr)}}
@media print{.profile-sidebar{position:static}.profile-layout{display:block}.profile-actions,.profile-breadcrumb>button,.profile-record-tools{display:none}}
/* Compact saved voice notes */
.voice-card{padding:10px 12px;margin-top:10px;border-radius:10px}.voice-card>.row{gap:8px}.voice-card .voice-wave{display:none}.voice-card audio{display:block;height:36px;margin:8px 0}.voice-card .voice-speeds{gap:6px;flex-wrap:wrap;font-size:11px}.voice-card .voice-speeds button{padding:3px 9px;min-height:27px;font-size:11px}.profile-feed .note{padding:14px 0}.profile-feed .note>.row>small{width:auto;margin-left:auto}.profile-feed .note>.row>.badge{font-size:10px}.voice-card .badge{padding:3px 7px;font-size:10px}@media(max-width:480px){.profile-feed .note>.row>small{width:100%;margin-left:0}.voice-card{padding:10px}.voice-card audio{height:36px}.voice-card .voice-speeds{gap:5px}}
/* Consistent action button shapes */
.lead-row-actions>a,.lead-row-actions>button{border-radius:8px;min-height:34px;height:34px;padding:5px 10px;border:1px solid var(--line);font-size:12px;font-weight:600;line-height:1.2}.lead-row-actions>a{background:#eef2ff;color:#334c8a}.lead-row-actions>.done-button{border-color:#bbf7d0;background:#ecfdf5;color:#166534}.lead-row-actions>.danger{border-color:#fecdd3;background:#fff1f2;color:#b91c1c}.profile-actions>.profile-action,.profile-actions>button{border-radius:8px;min-height:40px}@media(max-width:760px){.lead-row-actions>a,.lead-row-actions>button{min-height:40px;height:40px}}
/* One shared control style throughout the CRM */
:root{--control-radius:8px;--control-height:40px;--card-radius:14px}
button,button.small,button.primary,button.danger,.profile-action,.link-button,input,select,textarea{border-radius:var(--control-radius)}
button,button.small,.profile-action{min-height:var(--control-height);font-weight:600;line-height:1.3}
button:not(.client):not(.stat):not(.stage-chip):not(.book-day):not(.meeting-event):not(.link-button){padding:8px 12px}
input,select{min-height:var(--control-height)}
.panel,.stat,.column,.lead-card,.voice-card,.voice-recorder,.report-columns,.setup-list{border-radius:var(--card-radius)}
.profile-actions>.profile-action,.profile-actions>button,.lead-row-actions>a,.lead-row-actions>button,.tabs button,.profile-feed-tabs button,.channel-picker button,.voice-speeds button{border-radius:var(--control-radius);min-height:var(--control-height)}
.lead-row-actions>a,.lead-row-actions>button{height:var(--control-height)}
.profile-action,.lead-row-actions>a{display:inline-flex;align-items:center;justify-content:center;line-height:1.3}
.badge{border-radius:var(--control-radius)}
.calendar button,.calendar .book-day{border-radius:var(--control-radius)}
.client,.link-button{min-height:0;border-radius:0}
.stat-link{border-radius:var(--card-radius);line-height:1.55}
.voice-card{border-radius:var(--card-radius)}.voice-card .voice-speeds button{min-height:32px;padding:4px 9px}
.calendar .book-day{min-height:30px;padding:2px 7px}.calendar .meeting-event{min-height:32px}
.modal-foot{gap:10px}.modal-foot button{min-height:var(--control-height)}
@media(max-width:760px){button,button.small,.profile-action,input,select{min-height:var(--control-height)}.client,.link-button{min-height:0}.calendar .book-day{min-height:28px}.calendar .meeting-event{min-height:30px}.voice-card .voice-speeds button{min-height:32px}}

.user-brand-badges{display:flex;flex-wrap:wrap;gap:6px;min-width:160px;max-width:320px}.users-table td:last-child .actions{min-width:230px}.user-brand-picker label{font-size:12px}.user-brand-picker input{min-height:0}.users-table td{overflow-wrap:anywhere}

.shared-calendar-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shared-calendar-controls .help{grid-column:1/-1;margin:0}.calendar .meeting-event small{display:block;font-size:9px;line-height:1.4;margin-top:3px}.calendar .meeting-event b{font-weight:600}@media(max-width:760px){.shared-calendar-controls{grid-template-columns:1fr;gap:12px}.calendar .meeting-event{font-size:9px}.calendar .meeting-event small{font-size:8px}}
/* Compact density, preserving the shared shapes */
:root{--control-height:34px;--control-radius:8px}
button,button.small,.profile-action{font-size:12px}
button:not(.client):not(.stat):not(.stage-chip):not(.book-day):not(.meeting-event):not(.link-button){padding:6px 10px}
input,select{padding:7px 10px;font-size:13px}
header{height:68px}header select,header input{min-height:36px}.heading{margin-bottom:18px}.heading>.actions{gap:7px}.tabs{gap:6px;margin:14px 0}.tabs button{padding:6px 11px;min-height:32px}.actions{gap:6px}
.lead-row-actions{width:190px!important;gap:6px}.lead-row-actions>a,.lead-row-actions>button{min-height:30px;height:30px;padding:4px 7px;font-size:11px}.lead-table th,.lead-table td{padding:10px 12px}.lead-table .client{display:inline-block;margin-right:6px;font-size:13px}.lead-table .client+.badge{margin-top:0}.lead-table .client-sub{font-size:11px;line-height:1.45;margin-top:3px}.lead-money{font-size:11px;margin-top:3px}.lead-table .badge{font-size:10px;padding:3px 7px}.lead-table .due{font-size:11px}.lead-table td:last-child{padding-left:12px}
nav{margin-top:24px;gap:4px}nav button{min-height:36px;padding:8px 12px!important;font-size:12px}.panel{padding:18px}.panel.flush,.profile-feed{padding:0}.stat{padding:18px}.stat b{font-size:29px}.toolbar{gap:8px;margin-bottom:14px}.toolbar button{min-height:34px}.profile-hero{padding:22px}.profile-identity h1{font-size:28px}.profile-actions{margin:18px 0;gap:7px}.profile-actions>button,.profile-actions>.profile-action{min-height:34px;padding:6px 11px;font-size:12px}.profile-summary{padding-top:16px}.profile-feed-tabs{padding:8px 12px}.profile-feed-tabs button{min-height:32px;padding:6px 10px}.profile-feed [role=tabpanel]{padding:18px}.profile-sidebar{top:88px}.setup-row{padding:12px 0}.setup-row .actions button{min-height:30px}.users-table td{padding:12px}.users-table .actions button{min-height:30px;font-size:11px}.report-columns label{padding:6px 8px}.calendar-head{margin-bottom:16px}.calendar .book-day{min-height:26px}.meeting-row,.completed-task{padding:12px 0}.modal-foot{padding-top:12px;margin-top:16px}.modal-foot button{min-height:34px}.voice-card .voice-speeds button{min-height:28px}.channel-picker button{min-height:30px}.doc-row .actions button,.doc-row .actions a{min-height:32px}.shared-calendar-controls{gap:12px}
@media(min-width:761px) and (max-width:1500px){.lead-row-actions{width:190px!important}.lead-table th,.lead-table td{padding:10px}.task-table td:last-child{padding-left:10px}}
@media(max-width:760px){:root{--control-height:38px}header{height:64px}.tabs button{min-height:36px;padding:7px 10px}.lead-table tbody tr{padding:14px;gap:10px 12px}.lead-table td{padding:0}.lead-table td:nth-child(2) .client{font-size:16px}.lead-row-actions>a,.lead-row-actions>button{height:36px;min-height:36px;font-size:12px}.lead-row-actions{width:100%!important}.lead-table td:last-child{padding-top:10px;padding-left:0}.lead-table .badge{font-size:11px}.lead-table .client-sub{font-size:12px}.lead-table .due{font-size:12px}.profile-actions>button,.profile-actions>.profile-action{min-height:38px}.profile-hero{padding:17px}.profile-identity h1{font-size:24px}.profile-feed [role=tabpanel]{padding:16px}.toolbar button{min-height:38px}.modal-foot button{min-height:38px}.users-table .actions button{min-height:36px}.calendar .book-day{min-height:26px}.calendar .meeting-event{min-height:30px}.client,.link-button{min-height:0}#today-followups{scroll-margin-top:82px}}

.profile-section-heading>.actions{align-items:center;gap:10px}.profile-section-heading #toggle-all-notes{min-height:30px;padding:4px 9px;font-size:11px}

/* Lead profiles start with their own navigation, without the global top bar. */
.lead-profile-view>header{display:none}.lead-profile-view .profile-sidebar{top:20px}
@media(max-width:760px){.lead-profile-view>header{display:contents}.lead-profile-view>header>*{display:none}.lead-profile-view>header>#menu{display:inline-flex;position:fixed;bottom:18px;left:18px;z-index:11;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;background:white;border:1px solid var(--line);box-shadow:0 2px 12px #1f2a4420}}

/* Keep navigation and filters close while long records scroll. */
.profile-breadcrumb{position:sticky;top:0;z-index:8;background:var(--bg);padding:10px 0;margin-top:-10px;box-shadow:0 5px 8px #1f2a4406}
.sticky-list-controls{position:sticky;top:68px;z-index:7;background:var(--bg);padding:8px 0;box-shadow:0 5px 8px #1f2a4406;margin-bottom:12px}
.sticky-list-controls .tabs{margin:0 0 8px}.sticky-list-controls .toolbar{margin-bottom:0}
@media(min-width:761px){.table-scroll:has(.lead-table){max-height:max(200px,calc(100dvh - 300px));overflow:auto}.lead-table thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.task-table thead th:last-child{z-index:3}.lead-profile-view .profile-sidebar{top:64px}}
@media(max-width:760px){.sticky-list-controls{display:contents}.sticky-list-controls .tabs{position:sticky;top:64px;z-index:7;flex-wrap:nowrap;overflow-x:auto;max-width:100%;background:var(--bg);padding:8px 0;margin-bottom:12px;scrollbar-width:thin}.sticky-list-controls .toolbar{margin-bottom:14px}.profile-breadcrumb{gap:8px;padding:8px 0;flex-wrap:nowrap}.profile-breadcrumb>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-breadcrumb>button{flex-shrink:0}}
@media print{.profile-breadcrumb,.sticky-list-controls,.sticky-list-controls .tabs,.lead-table thead th{position:static!important;box-shadow:none}.table-scroll:has(.lead-table){max-height:none;overflow:visible}}

/* Compact stage board with independently scrollable lead columns. */
.pipeline-overview{display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:14px;background:white;margin-bottom:18px;padding:16px 20px}.pipeline-overview>div{flex:1;padding:0 20px;border-right:1px solid var(--line)}.pipeline-overview>div:first-child{padding-left:0}.pipeline-overview span{display:block;font-size:11px;color:var(--muted)}.pipeline-overview strong{display:block;font-size:22px;line-height:1.4;margin-top:3px}.pipeline-overview>p{padding-left:20px;font-size:12px;margin:0;font-weight:600}.pipeline-overview>p span{font-weight:400;margin-top:3px}
.pipeline-board{gap:14px;align-items:stretch;padding-bottom:14px;scrollbar-width:thin;scroll-snap-type:x proximity}.pipeline-column{flex:0 0 280px;padding:0;border:1px solid #e2e8f0;background:#edf1f7;overflow:hidden;scroll-snap-align:start;min-height:280px}.pipeline-column-heading{padding:14px;border-top:3px solid var(--stage-tone);background:#f8fafc}.pipeline-column .column-head{padding:0;align-items:center;gap:8px}.pipeline-column h2{font-size:13px;margin:0;display:flex;gap:8px;align-items:center}.pipeline-column h2 i{width:8px;height:8px;background:var(--stage-tone);border-radius:50%;flex-shrink:0}.pipeline-count{min-width:26px;padding:2px 7px;font-size:11px;color:var(--stage-tone);background:color-mix(in srgb,var(--stage-tone) 10%,white);border-radius:7px;text-align:center}.pipeline-stage-value{font-size:11px;color:var(--muted);margin:5px 0 0 16px}.pipeline-column-body{padding:10px;max-height:max(300px,calc(100dvh - 355px));overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.pipeline-card{padding:12px;margin-bottom:10px;border-radius:10px;box-shadow:0 2px 4px #1f2a4405}.pipeline-card:hover{border-color:#cbd5e1;box-shadow:0 3px 10px #1f2a440a}.pipeline-code{font-size:10px;color:var(--muted);font-weight:600}.pipeline-card .client{font-size:14px;line-height:1.4;margin:10px 0 7px;overflow-wrap:anywhere}.pipeline-contact{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.pipeline-contact>span:last-child{font-size:11px;color:var(--muted)}.pipeline-location{font-size:11px;color:var(--muted);margin:7px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pipeline-card-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:12px 0}.pipeline-card-meta strong{font-size:12px}.pipeline-card-meta .due{font-size:10px}.pipeline-card-footer{border-top:1px solid #f1f5f9;padding-top:9px;display:flex;align-items:center;gap:6px;justify-content:space-between}.pipeline-assignee{display:flex;align-items:center;gap:5px;min-width:0;flex:1}.pipeline-assignee>.avatar{width:23px;height:23px;font-size:9px;flex-shrink:0}.pipeline-assignee>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:var(--muted)}.pipeline-card-footer button{min-height:28px;padding:3px 7px;font-size:10px}.pipeline-more{width:100%;padding:8px;font-size:11px;background:transparent;border-style:dashed;color:var(--muted)}.pipeline-empty{display:grid;place-items:center;gap:5px;text-align:center;padding:44px 12px;color:var(--muted)}.pipeline-empty>span{font-size:24px;color:var(--stage-tone)}.pipeline-empty b{font-size:12px}.pipeline-empty small{font-size:11px}.pipeline-column.dragover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,white)}.pipeline-hint{margin-top:4px}
@media(max-width:760px){.pipeline-overview{padding:12px;gap:8px;flex-wrap:wrap}.pipeline-overview>div{padding:0 8px;min-width:80px}.pipeline-overview strong{font-size:16px}.pipeline-overview>p{width:100%;padding:8px 0 0;border-top:1px solid var(--line);font-size:11px}.pipeline-overview>p br{display:none}.pipeline-overview>p span{display:inline;margin-left:6px}.pipeline-column{flex-basis:min(280px,85vw)}.pipeline-card-footer button{min-height:34px;font-size:11px}.pipeline-column-body{max-height:60dvh}.pipeline-board{gap:10px}}
@media print{.pipeline-board{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible}.pipeline-column-body{max-height:none;overflow:visible}.pipeline-card-footer,.pipeline-more{display:none}}
/* Keep lead actions reachable while wide lists scroll sideways. */
@media(min-width:761px){.lead-table td:last-child{position:sticky;right:0;z-index:1;background:white;box-shadow:-3px 0 6px #1f2a4409}.lead-table thead th:last-child{right:0;z-index:3;background:#f8fafc}.source-reference{font-size:10px;color:var(--muted)}}

/* Sidebar account controls use their own compact alignment. */
.side-bottom{padding-top:12px}.sidebar-account{display:grid;grid-template-columns:34px minmax(0,1fr) 12px;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;text-align:left;min-height:58px}.sidebar-account:hover{background:#f1f5f9;border-color:#cbd5e1}.sidebar-account>.avatar{width:34px;height:34px;font-size:12px}.sidebar-account-copy{display:grid;gap:3px;min-width:0}.sidebar-account-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4;color:var(--ink)}.sidebar-account-copy small{font-size:11px;line-height:1.3;font-weight:400;color:var(--muted)}.sidebar-account-chevron{font-size:20px;font-weight:400;color:var(--muted);text-align:right}.sidebar-signout{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;min-height:34px;padding:6px 12px;font-size:12px;border-radius:8px}.sidebar-signout>span{color:var(--muted);font-size:16px;line-height:1}

/* Original SBS Group artwork, recolored through CSS without altering the asset. */
.brand-logo{flex-direction:column;align-items:flex-start;gap:10px}.brand-logo img{display:block;width:160px;max-width:100%;height:auto;object-fit:contain}.brand-logo .eyebrow{font-size:9px;letter-spacing:1.5px}aside .brand-logo img,.login-mobile-logo{filter:brightness(0) saturate(100%) invert(12%) sepia(20%) saturate(1400%) hue-rotate(183deg) brightness(95%) contrast(92%)}.login-brand .brand-logo img{width:220px}.login-brand .brand-logo .eyebrow{color:#dbeafe}.login-mobile-logo{display:none;width:160px;height:auto;margin-bottom:24px}@media(max-width:760px){.login-mobile-logo{display:block}}

.phone-match-warning{padding:12px;border:1px solid #fcd34d;border-radius:8px;background:#fffbeb;color:#92400e;font-size:12px}.phone-match-warning[hidden]{display:none}.phone-match-warning ul{margin:8px 0;padding-left:20px}.phone-match-warning small{color:#92400e}

.meeting-clock{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.meeting-clock select{padding-left:8px;padding-right:8px}

/* Compact report builder: common filters first, advanced controls on demand. */
.report-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.report-filter-heading h2{margin:0;font-size:16px}.report-periods{display:flex;gap:6px;flex-wrap:wrap}.report-periods button{min-height:28px;padding:4px 9px;font-size:11px}.report-basic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.report-basic-grid label,.report-advanced-grid label{margin-top:0}.report-more{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}.report-more>summary{cursor:pointer;color:var(--accent);font-weight:600;font-size:12px}.report-advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.report-columns{margin:14px 0;padding:10px;gap:5px 14px}.report-columns label{padding:3px 0}.report-apply-actions{margin-top:10px}.report-controls #report-error:empty{display:none}.report-basic-grid>div,.report-advanced-grid>div{min-width:0}.report-apply-actions small{font-size:11px}@media(max-width:760px){.report-basic-grid,.report-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-filter-heading{gap:8px}.report-periods{width:100%}.report-periods button{flex:1;min-height:34px;padding:5px 6px;font-size:11px}.report-more>summary{padding:4px 0}.report-apply-actions small{width:100%}}

.owner-stats .stat b{font-size:25px;overflow-wrap:anywhere}.owner-company-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.owner-company-heading h2{margin:0}.owner-company-heading small{font-size:11px}.owner-companies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.owner-company{margin:0;padding:16px;border-top:3px solid var(--company-color)}.owner-company-title{display:flex;align-items:center;gap:8px;min-height:34px}.owner-company-title h3{margin:0;font-size:14px}.owner-company-dot{width:8px;height:8px;border-radius:50%;background:var(--company-color);flex-shrink:0}.owner-company-main{margin:12px 0}.owner-company-main b{font-size:28px;margin-right:6px}.owner-company-main>span{color:var(--muted);font-size:12px}.owner-company-main small{display:block;font-size:11px}.owner-company-values{display:grid;gap:9px}.owner-company-values small,.owner-company-values strong{display:block}.owner-company-values strong{font-size:14px}.owner-company-values small{font-size:11px}.owner-company-stages{display:flex;gap:6px 10px;flex-wrap:wrap;font-size:11px;margin:14px 0}.owner-won{color:#166534}.owner-lost{color:#b91c1c}.owner-company-tasks{display:grid;gap:6px}.owner-company-tasks button{display:flex;align-items:center;justify-content:space-between;padding:5px 8px;min-height:30px;font-size:11px;font-weight:400}.owner-company-tasks b{font-size:13px}.owner-company-tasks .owner-overdue{background:#fff1f2;color:#b91c1c;border-color:#fecdd3}.owner-company-actions{display:flex;gap:6px;margin-top:12px}.owner-company-actions button{flex:1;padding:4px 5px;min-height:28px;font-size:11px}.owner-dashboard-bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.owner-dashboard-bottom .row h2{font-size:16px;margin:0}.owner-team-row{display:grid;grid-template-columns:30px minmax(0,1fr) repeat(3,45px);gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.owner-team-row .avatar{width:30px;height:30px;font-size:11px}.owner-team-row small{display:block;font-size:10px;line-height:1.4}.owner-team-row>div:nth-child(n+3){text-align:center}.owner-meeting{width:100%;display:flex;justify-content:space-between;gap:10px;align-items:center;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 0;text-align:left;font-size:12px}.owner-meeting small{display:block;font-size:10px}.owner-meeting>span:last-child{font-size:11px;text-align:right;white-space:nowrap;font-weight:400}.owner-meeting strong{display:block;font-size:12px}@media(max-width:1200px){.owner-companies{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-dashboard-bottom{grid-template-columns:1fr}}@media(max-width:760px){.owner-company-heading{align-items:flex-start;flex-direction:column}.owner-companies{gap:10px}.owner-company{padding:12px}.owner-company-title h3{font-size:12px}.owner-company-values strong{font-size:12px;overflow-wrap:anywhere}.owner-company-actions{flex-wrap:wrap}.owner-team-row{grid-template-columns:26px minmax(0,1fr) repeat(3,36px);gap:5px}.owner-stats .stat b{font-size:22px}}

@media(max-width:760px){.owner-stats .stat b{font-size:clamp(14px,4.2vw,18px);white-space:nowrap;overflow-wrap:normal}}

/* Owner executive dashboard */
.executive-stats .stat{position:relative;border:0;box-shadow:0 3px 14px #24324b06;padding:20px}.executive-stat-icon{position:absolute;right:16px;top:15px;width:28px;height:28px;background:#f2f5fa;border-radius:8px;display:grid;place-items:center;color:#61748d;font-size:16px}.executive-stats .stat b{margin-top:20px}.executive-primary-stat{background:#243654!important;color:white}.executive-primary-stat .eyebrow,.executive-primary-stat small{color:#c3cfdf}.executive-primary-stat .executive-stat-icon{background:#ffffff15;color:white}.executive-chart-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.executive-chart-grid .panel{margin:0;padding:20px}.executive-chart-grid h2,.executive-companies h2{font-size:16px;margin:0 0 3px}.executive-chart-grid small,.executive-companies .row small{font-size:11px}.executive-period{padding:5px 9px;background:#f4f6fa;border-radius:6px;color:var(--muted);font-size:10px}.executive-chart-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:18px 0 12px;font-size:10px;color:var(--muted)}.executive-chart-legend span,.executive-deal-legend span{display:flex;align-items:center;gap:6px}.executive-chart-legend i,.executive-deal-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.executive-line-chart{display:block;width:100%;height:190px;overflow:visible}.executive-chart-note{display:block;margin-top:8px}.executive-donut{width:154px;height:154px;border-radius:50%;padding:19px;margin:16px auto}.executive-donut>div{background:white;border-radius:50%;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.executive-donut b{font-size:25px}.executive-deal-legend{display:grid;gap:7px;font-size:11px}.executive-deal-legend>div{display:flex;justify-content:space-between}.executive-companies{padding:20px;margin-bottom:18px}.executive-company-table{min-width:670px;margin-top:12px}.executive-company-table td{padding:11px 10px;font-size:12px;white-space:nowrap}.executive-company-table th{padding:10px}.executive-company-link{display:flex;gap:10px;align-items:center;border:0;background:none;padding:0;text-align:left;font-size:12px}.executive-company-link>span{width:30px;height:30px;border-radius:8px;color:white;display:grid;place-items:center;font-size:10px}.executive-company-link small{display:block;font-size:10px;font-weight:400;margin-top:2px}.executive-count{min-width:32px;min-height:27px;font-size:11px;padding:3px 7px;background:#f4f6fa;border:0}.executive-late{color:#b91c1c;background:#fff0f0}.executive-live{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.executive-live i{width:6px;height:6px;background:#20a77c;border-radius:50%}.executive-attention{margin-top:14px;padding:10px 12px;background:#fff9ef;border-radius:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#945b13}.executive-attention b{font-size:16px}.executive-attention small{color:#945b13;font-size:10px}.executive-empty-meetings{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:185px;gap:8px;color:var(--muted);font-size:12px}.executive-empty-meetings>span{font-size:26px;color:#a0adc0}.executive-empty-meetings small{font-size:11px}.executive-team,.executive-meetings{padding:20px}.executive-stats .eyebrow{max-width:calc(100% - 25px)}@media(max-width:900px){.executive-chart-grid{grid-template-columns:1fr}.executive-deals{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.executive-deals>.row{grid-column:1/-1}.executive-donut{margin:8px auto}.executive-company-table{min-width:650px}}@media(max-width:760px){.executive-stats .stat{padding:15px}.executive-stat-icon{right:10px;top:10px;width:22px;height:22px;font-size:13px}.executive-stats .stat b{margin-top:18px}.executive-chart-grid .panel,.executive-companies,.executive-team,.executive-meetings{padding:16px}.executive-chart-legend{gap:8px 12px}.executive-line-chart{height:160px}.executive-donut{width:128px;height:128px;padding:15px}.executive-donut b{font-size:22px}}

.executive-meeting-overview{margin-bottom:18px;padding:18px}.executive-meeting-overview h2{font-size:16px;margin:0 0 3px}.executive-meeting-overview>.row small{font-size:11px}.executive-meeting-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.executive-meeting-card{padding:12px;text-align:left;border:1px solid var(--line);background:#fafbfd;min-width:0;display:flex;flex-direction:column;gap:4px;font-weight:400}.executive-meeting-card:hover{border-color:var(--accent);background:#f3f6fc}.executive-meeting-card>.row{gap:5px;flex-wrap:wrap;margin-bottom:5px}.executive-meeting-card .badge{font-size:9px;padding:3px 6px}.executive-meeting-card>strong{font-size:13px}.executive-meeting-card>b{font-size:12px;margin-top:3px}.executive-meeting-card small{font-size:10px}.executive-meeting-place{font-size:10px;overflow-wrap:anywhere;color:var(--muted)}.executive-meeting-overview #dashboard-more-meetings{margin-top:12px}.executive-followup-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;font-size:12px;background:none}.executive-followup-row small{display:block;font-weight:400;font-size:10px}.executive-followup-row>span:last-child{text-align:right}.executive-followup-row>span:last-child b{font-size:17px}.executive-followup-focus h2{font-size:16px;margin:0}.executive-followup-focus .row small{font-size:11px}@media(max-width:1100px){.executive-meeting-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.executive-meeting-card{padding:10px}.executive-meeting-card>strong{font-size:12px}.executive-meeting-overview{padding:16px}.executive-meeting-card .row{align-items:flex-start;flex-direction:column}}

.archive-bulk-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:12px}.archive-bulk-bar>span{margin-right:auto;color:var(--muted)}.lead-table .archive-select,.lead-table #archive-select-page{width:16px;height:16px;min-height:0;vertical-align:middle;margin-right:8px;accent-color:var(--accent);padding:0}.archive-delete-list{max-height:220px;overflow:auto;font-size:12px;padding-left:20px}.archive-delete-list li{margin:6px 0}

.archive-bulk-bar label{display:flex;align-items:center;gap:7px;margin:0;min-height:34px;font-size:12px}.archive-bulk-bar input{width:16px;height:16px;min-height:0;accent-color:var(--accent);padding:0}

.note-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:10px}.note-actions small{margin-right:auto;font-size:10px}.note-actions button{min-height:28px;padding:4px 9px;font-size:11px}.deleted-notes{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.deleted-notes>summary{cursor:pointer;font-size:12px;color:var(--muted);font-weight:600}.deleted-note{opacity:.8}.note-delete-preview{padding:12px;border:1px solid var(--line);border-radius:8px;white-space:pre-wrap;font-size:12px;max-height:180px;overflow:auto}

.hot-lead-badge{background:#fff0e5;color:#b45309;margin-left:5px}.executive-hot{background:#fff0e5;color:#b45309}.executive-company-table{min-width:740px}
