:root{--commercial-row:94px}
.commercial-station{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;margin-top:18px;align-items:start}
.commercial-list{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:14px;overflow:hidden}
.commercial-list .verification-table-wrap{max-height:calc(100vh - 280px);min-height:330px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;overflow-anchor:none}
.commercial-list .table{table-layout:fixed;width:100%;min-width:0}.commercial-list .table td{padding:0;border:0}.commercial-list .table tr:hover{background:transparent}
.commercial-client{display:flex;flex-direction:column;justify-content:center;gap:3px;text-align:left;background:var(--surface);color:var(--text);border:0;border-bottom:1px solid var(--line);width:100%;height:var(--commercial-row);padding:12px 14px;overflow:hidden}
.commercial-client strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commercial-client span,.commercial-client small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.commercial-client .commercial-next{color:var(--green-700)}.commercial-client.selected{background:var(--mint-100);box-shadow:inset 3px 0 var(--green-700)}
#commercial-load-more{margin:10px;width:calc(100% - 20px)}
.commercial-detail{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;min-height:330px}.commercial-empty{padding:80px 30px;text-align:center;color:var(--muted)}
#lead-modal.commercial-docked{position:static;padding:0;background:none;align-items:stretch;justify-content:stretch;overflow:visible;width:100%;z-index:auto;min-height:0}
#lead-modal.commercial-docked:not(.show){display:none}#lead-modal.commercial-docked.show{display:block}
#lead-modal.commercial-docked .lead-workspace-modal{width:100%;max-width:none;max-height:none;margin:0;border:0;box-shadow:none;border-radius:16px;display:block}
#lead-modal.commercial-docked .lead-workspace-body{max-height:none;overflow:visible;padding:18px}#lead-modal.commercial-docked .lead-workspace-head{padding:18px}
.commercial-simple-sheet .lead-top-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.commercial-simple-sheet .lead-top-facts>div:nth-child(3),.commercial-simple-sheet .lead-top-facts>div:nth-child(6),.commercial-simple-sheet .lead-top-facts>div:nth-child(7){display:none}
.commercial-simple-sheet .lead-top-facts strong{font-size:12px}.commercial-simple-sheet .lead-top-facts>div{padding:9px}
.commercial-simple-sheet .lead-workspace-grid{grid-template-columns:1fr;gap:12px}.commercial-simple-sheet .lead-summary-column,.commercial-simple-sheet .lead-work-column{display:contents}
.commercial-simple-sheet #lead-phones-box,.commercial-simple-sheet #lead-work-controls-slot,.commercial-simple-sheet .qol-next-label,.commercial-simple-sheet #qol-sheet-last{display:none}
.commercial-simple-sheet .commercial-data-details [data-lead-focus="work"]{display:block}.commercial-simple-sheet .lead-activity-column{display:none}
.commercial-simple-sheet [data-active-tab="activities"] .lead-activity-column{display:block}.commercial-simple-sheet [data-active-tab="activities"] .lead-summary-column{display:none}
.commercial-simple-sheet [data-lead-focus="finance"],.commercial-simple-sheet [data-lead-focus="policies"],.commercial-simple-sheet [data-lead-focus="history"]{display:none}
.commercial-simple-sheet [data-active-tab="finance"] [data-lead-focus="finance"],.commercial-simple-sheet [data-active-tab="policies"] [data-lead-focus="policies"],.commercial-simple-sheet [data-active-tab="history"] [data-lead-focus="history"]{display:block}
.commercial-simple-sheet .lead-sheet-tabs{gap:6px;overflow:auto;white-space:nowrap}.commercial-simple-sheet .lead-sheet-tabs button{font-size:11px;padding:7px 9px}
.commercial-simple-sheet .lead-primary-actions{padding:12px 18px;gap:6px;border-block:1px solid var(--line);background:var(--surface-soft);flex-wrap:wrap;position:static}
.commercial-simple-sheet .lead-primary-actions .btn{font-size:11px;min-height:34px}.commercial-simple-sheet #lead-action-next{background:var(--green-700)}
.commercial-contact-card{padding:0 0 16px}.commercial-contact-card h3{font-size:15px;margin:0 0 12px}.commercial-phones{display:grid;gap:8px}.commercial-phone{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px}.commercial-phone strong{font-size:15px;font-variant-numeric:tabular-nums}.commercial-phone small{display:block;font-size:11px;color:var(--muted)}.commercial-phone-tools{display:flex;flex-wrap:wrap;gap:5px}.commercial-phone-tools .btn{min-height:32px;font-size:11px;padding:0 10px}
.commercial-facts{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.commercial-facts span{padding:5px 8px;background:var(--surface-soft);font-size:11px;border-radius:7px}
.commercial-data-details{padding:12px;border:1px solid var(--line);border-radius:12px}.commercial-data-details>summary{font-size:12px;cursor:pointer;color:var(--muted);font-weight:650}.commercial-data-details .lead-sheet-card{margin-top:14px;box-shadow:none}
#commercial-secondary{position:relative}#commercial-secondary summary{list-style:none;cursor:pointer}#commercial-secondary summary::-webkit-details-marker{display:none}.commercial-secondary-menu{display:grid;position:absolute;z-index:20;right:0;top:40px;gap:6px;padding:12px;min-width:215px;border:1px solid var(--line);background:var(--surface);border-radius:12px;box-shadow:var(--shadow-md)}
.commercial-contact-dialog{width:min(760px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text)}.commercial-contact-dialog::backdrop{background:rgba(8,20,16,.5)}.commercial-contact-dialog header{display:flex;justify-content:space-between;gap:12px;align-items:center}.commercial-contact-dialog h2{margin:0;font-size:20px}.commercial-contact-dialog .commercial-phone{align-items:flex-start;flex-direction:column}.commercial-contact-dialog .field{margin-top:16px}.commercial-contact-dialog footer{display:flex;justify-content:space-between;margin-top:16px}
.commercial-extra-station{display:grid;grid-template-columns:minmax(340px,.95fr) minmax(0,1.05fr);gap:18px;align-items:start}.commercial-extra-card{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-bottom:12px}.commercial-extra-card header{display:flex;flex-direction:column;gap:3px}.commercial-extra-card header span,.commercial-extra-card>small{display:block;font-size:11px;color:var(--muted)}.commercial-extra-card>p{font-size:12px}.commercial-extra-card .commercial-phone{flex-wrap:wrap}.commercial-extra-card .seller-action-buttons{margin-top:12px}.commercial-extra-sheet #qol-sheet-value,.commercial-extra-sheet #lead-receipt-forecast,.commercial-extra-sheet #lead-head-value{display:none}
.topbar{height:auto;min-height:72px;gap:14px;padding-block:12px}.qol-top-tools{gap:7px;flex-wrap:wrap}.qol-top-tools .btn{border:1px solid var(--line)}.topbar-title{flex-shrink:0}.topbar-title strong{letter-spacing:.02em}.verification-filter-panel{padding:14px}.verification-filter-bar{gap:7px;flex-wrap:wrap}.verification-favorites{gap:6px}.verification-favorite{font-size:11px}.verification-lot-summary{gap:8px}.verification-lot-summary>div{padding:9px}.verification-lot-summary strong{font-size:16px}
#view-leads #base-indicator-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}#base-indicator-cards .qol-focus-card{padding:12px;min-height:70px}#base-indicator-cards strong{font-size:22px}.portfolio-tabs{display:none}
:root[data-theme="dark"]{--bg:#101915;--card:#1a2721;--surface:#1a2721;--surface-soft:#202f28;--text:#e7f0eb;--muted:#b0c2b8;--border:#34483c;--line:#34483c;--green-950:#0d241a;--green-900:#b0ddc1;--green-800:#96ceae;--green-700:#85c8a4;--mint:#9edcb8;--mint-100:#223e30;--danger:#f0a5a5;--danger-bg:#402627;--warning:#e3c77e;--warning-bg:#3b3420;--success:#94d4ad;--success-bg:#213d2e;--error:#f0a5a5;--error-bg:#402627;--inactive:#afc1b6;--inactive-bg:#28372f;--shadow:0 18px 55px rgba(0,0,0,.2);--shadow-sm:0 2px 12px rgba(0,0,0,.15);--shadow-md:0 14px 40px rgba(0,0,0,.3)}
[data-theme="dark"] body,[data-theme="dark"] .app-shell{background:var(--bg);color:var(--text)}
[data-theme="dark"] :is(.card,.stat,.compact-stat,.topbar,.modal,.lead-sheet,dialog,.table-wrap,.auth-panel,.search-results,.qol-search-dialog,.notification-toast,.lead-sheet-card,.verification-filter-panel,.verification-workspace,.policies-panel,.policy-card){background:var(--surface);color:var(--text);border-color:var(--line)}
[data-theme="dark"] :is(input,select,textarea,.filter-select,.filter-input,.search,.field input,.field select,.field textarea){background:var(--surface-soft);color:var(--text);border-color:var(--line)}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:var(--muted)}
[data-theme="dark"] :is(.card-head,.table th,.table thead,.mini-metrics>div,.rule-list>div,.callout,.lead-top-facts>div,.lead-readonly-row,.lead-return-card,.lead-primary-actions,.lead-sheet-tabs,.lead-phone-card,.seller-work-block,.qol-focus-card,.verification-lot-summary>div,.registration-quick-form fieldset,.attendance-group,.policy-upload-card){background:var(--surface-soft);color:var(--text);border-color:var(--line)}
[data-theme="dark"] .table td{color:var(--text);border-color:var(--line)}[data-theme="dark"] .table tr:hover{background:var(--surface-soft)}[data-theme="dark"] :is(.btn-secondary,.icon-btn,.verification-favorite,.tag-off){background:var(--surface-soft);color:var(--text);border-color:var(--line)}[data-theme="dark"] .btn-primary{background:#387257;color:#fff}[data-theme="dark"] .btn-primary:hover{background:#478968}[data-theme="dark"] .tag{background:var(--mint-100);color:var(--mint)}[data-theme="dark"] :is(.tag-danger,.message.error){background:var(--danger-bg);color:var(--danger)}[data-theme="dark"] :is(.tag-high,.tag-purple){background:#34304c;color:#d7c5f5}[data-theme="dark"] .hint{color:var(--muted)}
[data-theme="dark"] .sidebar{background:#0d1e16;border-color:var(--line)}[data-theme="dark"] .nav-item.active{color:#ceedd9;background:#244734}[data-theme="dark"] a[href^="https://wa.me/"]{color:var(--text)}
@media(max-width:1250px){.commercial-station{grid-template-columns:270px minmax(0,1fr)}.commercial-extra-station{grid-template-columns:1fr}.commercial-simple-sheet .lead-top-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-title small{display:none}}
@media(max-width:800px){.commercial-station{grid-template-columns:1fr}.commercial-list .verification-table-wrap{min-height:180px;max-height:280px}.commercial-detail{min-height:180px}.commercial-phone{align-items:flex-start;flex-direction:column}.commercial-simple-sheet .lead-top-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-simple-sheet .lead-primary-actions{padding:10px}.commercial-simple-sheet .lead-primary-actions .btn{font-size:12px}.topbar{padding:10px 14px}.qol-top-tools #qol-shortcuts,.qol-top-tools #qol-telemetry{display:none}.commercial-contact-dialog{padding:16px}}

.commercial-simple-sheet .commercial-data-details #lead-work-controls-slot,.commercial-simple-sheet .commercial-data-details #lead-phones-box:not(.hidden){display:block}
[data-theme="dark"] :is(.setup-card,.phone-card,.setup-note,.login-badge,.weekly-kpi,.weekly-funnel,.reports-kpi,.policy-form,.policy-details,.policy-upload,.policy-preview,.report-empty){background:var(--surface-soft);color:var(--text);border-color:var(--line)}
[data-theme="dark"] :is(.reports-top,.reports-shell,.weekly-shell,.policies-shell,.setup-shell){color:var(--text)}
[data-theme="dark"] :is(.setup-card h2,.setup-card p,.weekly-kpi strong,.reports-section-head h2,.policy-card h2){color:var(--text)}

.base-more-indicators{grid-column:1/-1}.base-more-indicators summary{cursor:pointer;padding:12px;color:var(--muted)}.base-more-indicators .qol-focus-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}

@media(max-width:800px){.commercial-simple-sheet .lead-primary-actions .btn,.commercial-contact-dialog .btn{min-height:44px}.commercial-secondary-menu{right:0;max-width:calc(100vw - 32px)}}

[data-theme="dark"] :is(.filter-panel,.table-panel,.review-panel,.policy-dialog,.policy-review-dialog,.policy-preview-box,.doc-card,.setup-note,.status-pill,.filter-submit){background:var(--surface-soft);color:var(--text);border-color:var(--line)}
[data-theme="dark"] th{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}[data-theme="dark"] td{color:var(--text);border-color:var(--line)}
[data-theme="dark"] :is(.client-name,.policies-header h1,.dialog-heading h2,.review-panel h2,.filters-grid label>span,.field-label>span,.reports-top .logo,.lead-workspace-head h2,.lead-sheet-card h3){color:var(--text)}
[data-theme="dark"] .commercial-simple-sheet #lead-action-next{background:#387257;color:#fff}
.auth-card>#theme-toggle{margin-top:12px}.commercial-contact-dialog footer{flex-wrap:wrap;gap:8px}

html[data-theme="dark"] #lead-modal .lead-workspace-head,html[data-theme="dark"] #lead-primary-actions{background:var(--surface);color:var(--text);border-color:var(--line)}
html[data-theme="dark"] :is(.qol-value-featured,.qol-result,.notification-unread){background:var(--surface-soft);color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .qol-value small{color:var(--muted)}
html[data-theme="dark"] #view-verification .verification-favorite{background:var(--surface-soft);color:var(--text)}
html[data-theme="dark"] :is(.btn-secondary,.icon-btn,.tag-off){background:var(--surface-soft);color:var(--text);border-color:var(--line)}

html[data-theme="dark"] .btn.btn-secondary,html[data-theme="dark"] .icon-btn,html[data-theme="dark"] .modal-close{background:var(--surface-soft);color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .btn.btn-primary{background:#387257;color:#fff}
html[data-theme="dark"] #view-verification .filter-select,html[data-theme="dark"] #view-verification .filter-input{background:var(--surface-soft);color:var(--text)}
/* 12.9 semantic palette; opaque states make effective contrast measurable. */
:root,:root[data-theme="light"]{--bg:#f4f7f5;--card:#fff;--surface:#fff;--surface-soft:#edf2ef;--text:#172b24;--muted:#52645b;--border:#728379;--line:#728379;--primary:#176a4a;--primary-hover:#12573d;--on-primary:#fff;--focus-color:#176a4a;--green-950:#172b24;--green-900:#176a4a;--green-800:#12573d;--green-700:#176a4a;--mint:#176a4a;--mint-100:#e0efe7;--success:#176a4a;--success-bg:#e0efe7;--warning:#715111;--warning-bg:#fff1ca;--error:#923232;--error-bg:#fbe6e6;--danger:#923232;--danger-bg:#fbe6e6;--info:#285982;--info-bg:#e6f0fa;--inactive:#52645b;--inactive-bg:#edf2ef}
:root[data-theme="dark"]{--bg:#101817;--card:#182321;--surface:#182321;--surface-soft:#22322d;--text:#f2f6f4;--muted:#b7c6c0;--border:#80988e;--line:#80988e;--primary:#6ee7b7;--primary-hover:#96efca;--on-primary:#092017;--focus-color:#6ee7b7;--green-950:#f2f6f4;--green-900:#6ee7b7;--green-800:#96efca;--green-700:#6ee7b7;--mint:#6ee7b7;--mint-100:#234a39;--success:#9ee8c2;--success-bg:#234a39;--warning:#f3d58c;--warning-bg:#40361d;--error:#ffc1c1;--error-bg:#4a272b;--danger:#ffc1c1;--danger-bg:#4a272b;--info:#b7d8f7;--info-bg:#21384b;--inactive:#b7c6c0;--inactive-bg:#22322d}
html body{background:var(--bg);color:var(--text)}
html :is(.card,.stat,.compact-stat,.topbar,.modal,dialog,.auth-card,.table-wrap,.lead-sheet-card,.notification-item,.notification-toast,.verification-workspace,.verification-filter-panel,.policy-dialog,.policy-card,.reports-kpi,.weekly-kpi){background:var(--surface);color:var(--text);border-color:var(--line)}
html :is(input,select,textarea,.filter-select,.filter-input,.field input,.field select,.field textarea){background:var(--surface);color:var(--text);border:1px solid var(--line)}
html :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
html :is(small,.hint,.muted,.stat-sub,.stat-label,.field label,.field-label,.topbar-title small,.notification-item small){color:var(--muted)}
html :is(h1,h2,h3,h4,.lead-top-facts strong,.lead-sheet-card-head h3,.client-name,.table td){color:var(--text)}
html :is(.card-head,.table th,th,.lead-top-facts>div,.lead-primary-actions,.lead-sheet-tabs,.lead-phone-card,.attendance-group,.registration-quick-form fieldset,.notification-unread,.qol-result,.qol-value-featured,.lead-readonly-row,.lead-return-card){background:var(--surface-soft);color:var(--text);border-color:var(--line)}
html .btn.btn-primary,html[data-theme="dark"] .btn.btn-primary{background:var(--primary);color:var(--on-primary);border:1px solid var(--primary);box-shadow:none}
html .btn.btn-primary:hover,html[data-theme="dark"] .btn.btn-primary:hover{background:var(--primary-hover);color:var(--on-primary)}
html .btn.btn-secondary,html[data-theme="dark"] .btn.btn-secondary,html .icon-btn,html[data-theme="dark"] .modal-close,html .modal-close{background:var(--surface-soft);color:var(--text);border:1px solid var(--line)}
html .btn.btn-secondary:hover{background:var(--mint-100)}
html :is(.message,.tag,.status-pill,.qol-chip,.badge){background:var(--surface-soft);color:var(--text);border-color:var(--line);opacity:1}
html :is(.message.success,.tag-success,.phone-confirmed,.phone-status.confirmed){background:var(--success-bg);color:var(--success)}
html :is(.message.error,.tag-danger,.btn-danger){background:var(--error-bg);color:var(--error)}
html :is(.message.warning,.tag-warning){background:var(--warning-bg);color:var(--warning)}
html :is(.tag-high,.tag-purple,.message.info){background:var(--info-bg);color:var(--info)}
html a[href^="https://wa.me/"]{color:var(--text)}
html :focus-visible{outline:3px solid var(--focus-color);outline-offset:3px;box-shadow:none}
html .btn:disabled{opacity:1;color:var(--muted);background:var(--surface-soft);border-color:var(--line)}
html .btn,html summary.btn{min-height:40px;transition:background-color 150ms ease,border-color 150ms ease,box-shadow 150ms ease}
html .btn:active{box-shadow:inset 0 0 0 2px var(--focus-color);transition-duration:100ms}
.topbar .qol-top-tools{margin-left:auto;align-items:center}.topbar #qol-search-open{order:10;min-width:44px;min-height:44px}.topbar #activity-status,.topbar #role-badge,.topbar-title small{display:none}.topbar{gap:8px;flex-wrap:wrap;min-height:64px}.qol-top-tools #qol-shortcuts{display:inline-flex}
.commercial-simple-sheet .lead-top-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-simple-sheet .lead-top-facts>div:nth-child(n+3){display:none}.commercial-simple-sheet .lead-top-facts>div:nth-child(2){display:block}.commercial-simple-sheet .lead-sheet-tabs{margin-top:12px}.commercial-simple-sheet .lead-primary-actions .btn{font-size:12px;min-height:40px}.commercial-simple-sheet #lead-action-next{margin-left:auto}.commercial-simple-sheet #lead-action-contact{min-width:145px}.commercial-simple-sheet #lead-action-none-next{display:none}.commercial-simple-sheet .lead-top-facts>div{background:transparent;padding:4px 0}.commercial-simple-sheet .lead-workspace-head{padding-bottom:10px}
.commercial-station.list-collapsed{grid-template-columns:1fr}.commercial-station.list-collapsed>.commercial-list{display:none}.verification-personal-summary{font-size:13px;margin:8px 0}.verification-personal-summary summary{cursor:pointer;padding:8px 0;color:var(--muted)}.verification-personal-summary .verification-lot-summary{margin-top:8px}.commercial-list-toggle{margin-top:10px}.commercial-list .table tr:hover{background:var(--surface)}
.phone-results{position:relative}.phone-results summary{cursor:pointer;list-style:none}.phone-results>div{display:grid;gap:6px;position:absolute;z-index:25;right:0;min-width:210px;max-width:calc(100vw - 48px);padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-md)}.phone-results[open]{z-index:26}.commercial-phone{overflow:visible}.commercial-phone-tools .btn{font-size:12px;min-height:40px}.commercial-contact-dialog .commercial-phone{flex-direction:row;flex-wrap:wrap}.commercial-contact-dialog [role="status"]{min-height:24px;color:var(--text)}
.experience-controls label{display:flex;align-items:center;gap:10px;padding:8px 0}.experience-controls input[type="range"]{flex:1}.experience-controls input[type="checkbox"]{width:20px;height:20px}.experience-toast{position:fixed;bottom:20px;right:20px;max-width:min(420px,calc(100vw - 40px));padding:14px 18px;background:var(--success-bg);color:var(--success);border:1px solid var(--line);border-radius:12px;z-index:200;pointer-events:none;font-weight:650}.experience-toast[data-celebrate="true"]::before{content:'✓';display:inline-block;margin-right:10px;animation:closure-check 1300ms ease-out}.experience-toast small{display:block}.team-event{padding:14px;border-bottom:1px solid var(--line)}.team-event strong,.team-event small{display:block}.experience-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.experience-results>div{padding:16px;background:var(--surface-soft);border:1px solid var(--line);border-radius:12px}.experience-results strong{font-size:24px;display:block}.experience-results p{margin:4px 0}.city-inventory{display:grid;gap:8px}.city-inventory article{padding:12px;border:1px solid var(--line);border-radius:10px}.city-inventory small{display:block}.city-inventory-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
@keyframes closure-check{0%{opacity:0;transform:scale(.85)}20%,85%{opacity:1;transform:scale(1)}100%{opacity:1;transform:scale(1)}}
html[data-reduce-effects="true"] *,html[data-reduce-effects="true"] *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:800px){.commercial-station.has-selection:not(.list-collapsed)>.commercial-list{display:none}.commercial-station.has-selection{grid-template-columns:1fr}.commercial-station.has-selection+.commercial-list{display:none}.commercial-simple-sheet .lead-primary-actions{gap:8px}.commercial-simple-sheet #lead-action-next{margin-left:0;border-left-width:3px}.commercial-phone{flex-direction:column;align-items:flex-start}.commercial-phone-tools{width:100%}.phone-results>div{position:static}.topbar .qol-top-tools{width:100%;gap:6px}.topbar .qol-top-tools .btn{font-size:11px;padding-inline:8px}.commercial-contact-dialog{max-height:calc(100dvh - 24px)}.commercial-contact-dialog footer{position:static}.table-wrap{max-width:100%;overflow:auto}dialog{max-width:calc(100vw - 24px)}.commercial-detail,.lead-workspace-grid>*{min-width:0}.commercial-simple-sheet .lead-primary-actions .btn{min-height:44px}.commercial-station.list-collapsed .commercial-detail{display:block}}
@media print{html body{background:#fff;color:#000}.experience-toast,.experience-controls{display:none}}

html .commercial-simple-sheet #lead-action-next{background:var(--surface-soft);color:var(--text);border:1px solid var(--line)}#verification-next-lead{display:none}@media(max-width:800px){.commercial-station:not(.has-selection)>.commercial-detail{display:none}}
#experience-live{position:relative;flex-basis:100%;height:36px;min-width:0}#experience-live:empty{display:none}.experience-toast{position:absolute;inset:0;max-width:none;height:36px;overflow:hidden;padding:6px 10px;font-size:13px;white-space:nowrap;text-overflow:ellipsis;box-shadow:none;border-radius:7px}.experience-toast small{display:inline;margin-left:8px;font-size:11px}.experience-toast[data-celebrate="true"]::before{margin-right:8px}html[data-hide-ranking="true"] [data-optional-ranking]{display:none}
html[data-theme-switching="true"] *,html[data-theme-switching="true"] *::before{transition:none!important}
html #notifications-open.has-notifications{background:var(--success-bg)!important;color:var(--success)!important;border-color:var(--line)!important}
html :is(.attendance-form [role=status]:not(:empty),.registration-quick-message:not(:empty)){background:var(--surface-soft);color:var(--text)}
.commercial-simple-sheet .lead-primary-actions{display:grid;grid-template-columns:minmax(145px,1fr) repeat(4,auto);align-items:start}.commercial-context-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.commercial-context-actions #lead-action-values{grid-column:1}.commercial-context-actions #lead-action-calc{grid-column:2}.commercial-context-actions #lead-action-close{grid-column:3}.commercial-context-actions[hidden]{display:none}.commercial-simple-sheet #lead-action-next{margin-left:12px}.commercial-simple-sheet .lead-primary-actions #lead-action-none-next{display:none}
@media(max-width:1100px){.commercial-simple-sheet .lead-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-simple-sheet #lead-action-next{grid-column:1/-1;margin-left:0}.commercial-context-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-context-actions #lead-action-close{grid-column:1/-1}}
/* Keep identity, phones and the daily action row together. */
.commercial-simple-sheet .lead-title-row h2{font-size:24px;margin:4px 0}.commercial-simple-sheet .lead-top-facts{margin-top:12px}.commercial-simple-sheet .lead-top-facts>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:0}.commercial-simple-sheet .lead-top-facts>div>span{width:100%}.commercial-simple-sheet #lead-copy-cpf{margin-left:5px}.commercial-section-details{margin-top:12px}.commercial-section-details>summary{font-size:12px;font-weight:650;color:var(--muted);cursor:pointer}.commercial-section-details .lead-sheet-tabs{margin-top:10px}.commercial-simple-sheet .lead-primary-actions{padding:12px 0;margin-bottom:14px;background:var(--surface)}.commercial-simple-sheet #lead-action-next{background:var(--surface-soft);color:var(--text)}
#view-verification .page-head{margin-bottom:12px}#view-verification .verification-lot-head{padding:12px 16px}#view-verification .verification-filter-panel{padding:10px 0}.verification-filter-bar .verification-search{flex:1;min-width:180px}.verification-filter-footer{margin-top:6px}.commercial-station{margin-top:12px}.verification-secondary-filters .verification-favorites{margin-top:12px}

.lead-new-mode .commercial-context-actions,.lead-new-mode .commercial-section-details{display:none}
/* Override the legacy ID-level sticky action strip in the shared station. */
.commercial-simple-sheet #lead-primary-actions{display:grid;grid-template-columns:minmax(145px,1fr) repeat(4,auto);position:static;overflow:visible;align-items:start;padding:12px 0;margin-bottom:14px;background:var(--surface)}
html[data-theme] .commercial-simple-sheet #lead-action-next{background:var(--surface-soft);color:var(--text)}
@media(max-width:1100px){.commercial-simple-sheet #lead-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-simple-sheet #lead-primary-actions .btn{min-width:0;white-space:normal}.commercial-simple-sheet #lead-action-next{grid-column:1/-1;margin-left:0}}
.commercial-detail{container-type:inline-size}
@container(max-width:720px){.commercial-simple-sheet #lead-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-simple-sheet #lead-primary-actions .btn{min-width:0;white-space:normal}.commercial-simple-sheet #lead-action-next{grid-column:1/-1;margin-left:0}.commercial-context-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-context-actions #lead-action-close{grid-column:1/-1}}
#lead-modal.commercial-docked .lead-workspace-modal{overflow:visible}
#lead-modal.commercial-docked .lead-workspace-modal>form{display:block;max-height:none;overflow:visible}
.commercial-simple-sheet #lead-top-facts>div{display:none}.commercial-simple-sheet #lead-top-facts>div:nth-child(-n+2){display:flex}
.commercial-context-actions [hidden],.commercial-contact-dialog [hidden],#team-notifications-more[hidden],#notifications-more[hidden],#commercial-load-more[hidden]{display:none!important}
.commercial-simple-sheet #lead-top-facts>div:nth-child(n+3){display:none}
.commercial-simple-sheet #lead-head-city{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}

/* Status de registro: dentro da ficha, sem sobrepor entrada ou controle. */
.consolidated-inline-save-notice{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;margin:8px 0;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text);font-size:12px}
.consolidated-inline-save-notice .btn{min-height:36px}
