.polished-workspace{grid-template-columns:240px minmax(0,1fr);background:var(--canvas)}.polished-workspace .sidebar{padding:0;width:240px;background:var(--sidebar-bg);overflow:hidden;min-height:0}.polished-workspace .sidebar>.sidebar-brand{flex-shrink:0}.sidebar-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column}.polished-workspace :is(.conversation-list,.messages,.inbox-context),.sidebar-scroll{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.polished-workspace :is(.conversation-list,.messages,.inbox-context)::-webkit-scrollbar,.sidebar-scroll::-webkit-scrollbar{width:6px;height:6px}.polished-workspace :is(.conversation-list,.messages,.inbox-context)::-webkit-scrollbar-thumb,.sidebar-scroll::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:10px}.polished-workspace :is(.conversation-list,.messages,.inbox-context)::-webkit-scrollbar-track,.sidebar-scroll::-webkit-scrollbar-track{background:transparent}.sidebar-scroll>*{flex-shrink:0}.field [role=combobox]{width:100%}.polished-workspace .sidebar-account{flex-shrink:0;margin:0;padding:14px 16px max(14px,env(safe-area-inset-bottom));background:var(--sidebar-bg)}.polished-workspace.collapsed .sidebar-account{margin:0;padding:12px 6px;gap:10px}.polished-workspace .sidebar-account>a{min-width:28px;min-height:32px;display:flex;align-items:center;justify-content:center}.mobile-sidebar .sidebar-scroll{overflow:visible}.mobile-sidebar .sidebar-account{padding-bottom:12px}@media (max-height:820px) and (min-width:901px){.polished-workspace .sidebar-brand{margin:14px 20px;padding:11px 18px}.polished-workspace .clinic-switch{margin-bottom:8px;padding-block:10px}.polished-workspace .nav-label{margin-top:12px;margin-bottom:8px}.polished-workspace .primary-nav{gap:3px}.polished-workspace .primary-nav>a{min-height:42px;padding-block:10px}.polished-workspace .sidebar-demo{padding:12px;margin-bottom:10px}.polished-workspace .sidebar-demo p{margin-block:5px 8px}}.polished-workspace .workspace{margin-left:0}.polished-workspace.collapsed .sidebar{width:72px}.polished-workspace.collapsed .workspace{margin-left:0}.polished-workspace .sidebar-brand{margin:22px 20px 18px;padding:4px 18px;border-radius:12px;background:transparent}.polished-workspace .clinic-switch{margin:0 16px 25px;padding:14px 10px;border-bottom:1px solid var(--border-subtle);background:none;border-radius:0;gap:10px}.polished-workspace .clinic-switch strong{font-size:12px;line-height:1.4;display:block;overflow-wrap:anywhere}.polished-workspace .clinic-switch>div{min-width:0}.polished-workspace .clinic-switch span{font-size:10px}.polished-workspace .clinic-icon{height:34px;width:34px;flex-shrink:0;background:var(--surface-selected);border:1px solid var(--border-subtle);border-radius:10px}.workspace-clinic-logo{display:block;height:32px;width:32px;background-size:contain;background-repeat:no-repeat;background-position:50%}.polished-workspace .primary-nav{padding:0 14px;gap:5px}.polished-workspace .primary-nav>a{border-radius:9px;font-size:13px;padding:12px;gap:12px;min-height:46px}.polished-workspace .primary-nav>a.active{background:var(--surface-selected);color:var(--primary-hover);box-shadow:inset 3px 0 0 var(--action-primary)}.polished-workspace .primary-nav>a.active svg{color:var(--primary)}.polished-workspace .primary-nav>a:not(.active){color:var(--text-secondary)}.polished-workspace .nav-label{font-size:9px;letter-spacing:1.3px;padding-left:26px;margin-bottom:12px;color:var(--text-muted)}.polished-workspace .sidebar-demo{background:var(--surface-warm);border:1px solid var(--border-subtle);padding:14px;border-radius:12px}.polished-workspace .sidebar-demo p{font-size:12px;line-height:1.7}.polished-workspace .sidebar-demo .eyebrow{font-size:9px}.polished-workspace .nav-utility{font-size:11px;padding:10px 12px}.polished-workspace .account{margin-top:14px;padding-top:16px}.polished-workspace .account strong{font-size:11px}.polished-workspace .account small{font-size:10px}.polished-workspace .app-header{flex-wrap:wrap;height:auto;min-height:72px;background:var(--surface-warm);padding:12px 28px;border-bottom:1px solid var(--border-subtle)}.polished-workspace .header-tools{flex-wrap:nowrap}@media (max-width:600px){.polished-workspace .app-header{flex-wrap:nowrap}.polished-workspace .breadcrumb-home,.polished-workspace .breadcrumb>svg{display:none}.polished-workspace .header-context{flex-wrap:nowrap;min-width:0}.polished-workspace .breadcrumb{min-width:0}.polished-workspace .breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.polished-workspace .header-tools{flex-shrink:0}.polished-workspace .branch-select{max-width:140px;padding:8px 10px;gap:8px}}.polished-workspace .header-context{flex-wrap:wrap;column-gap:12px;row-gap:0}.polished-workspace .breadcrumb{font-size:11px}.polished-workspace .workspace-date{font-size:10px;color:var(--text-secondary);margin-left:4px}.polished-workspace .global-search{background:var(--surface);border:1px solid var(--border-subtle);border-radius:9px}.polished-workspace .global-search input{font-size:11px;width:175px}.branch-context,.polished-workspace .branch-select{font-size:11px;max-width:180px}.polished-workspace .demo-strip{background:transparent;border-bottom:1px solid var(--border-subtle);padding:8px 28px;gap:14px;font-size:10px}.polished-workspace .demo-badge{font-size:10px}.polished-workspace .app-main{padding:30px 28px;max-width:1600px;margin:0 auto}.polished-workspace .app-footer{padding:10px 28px 24px;font-size:10px;background:transparent;border:0}.polished-workspace.collapsed .sidebar-brand{margin:22px 10px;padding:10px 7px}.polished-workspace.collapsed .clinic-switch{margin:0 8px 20px;padding:10px}.polished-workspace.collapsed .primary-nav{padding:0 10px}.polished-workspace.collapsed .primary-nav>a{padding:13px;justify-content:center}.polished-workspace.collapsed .sidebar-bottom{padding:12px 8px}.polished-workspace.collapsed .nav-utility{justify-content:center}.polished-workspace.collapsed .account{flex-wrap:wrap;justify-content:center}.booking-readiness{display:grid;gap:5px}.polished-workspace .visit-table .visit-estimate{display:block;margin-top:6px}.booking-readiness small{font-size:10px;color:var(--text-secondary);max-width:220px}.demo-modes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:30px 0}.demo-modes>div{background:var(--surface);border:1px solid var(--border-subtle);border-radius:20px;padding:28px}.demo-modes>div:first-child{border-color:var(--border-strong)}.demo-modes h2{font-size:23px;letter-spacing:-.6px;line-height:1.4;margin:12px 0}.demo-modes p{font-size:13px;color:var(--text-secondary);margin:0 0 22px}.demo-modes .eyebrow{font-size:10px}@media (max-width:1200px){.polished-workspace .workspace-date{display:none}.polished-workspace .global-search input{width:145px}.polished-workspace .header-tools{gap:12px}}@media (max-width:900px){.polished-workspace .sidebar{display:none}.polished-workspace .workspace,.polished-workspace.collapsed .workspace{margin-left:0}.polished-workspace .app-header{padding:0 20px}.polished-workspace .app-main{padding:26px 20px}.polished-workspace .demo-strip{padding:8px 20px}}@media (max-width:760px){.polished-workspace .app-header{height:60px;padding:0 16px}.polished-workspace .app-main{padding:24px 16px}.polished-workspace .demo-strip{padding:8px 16px}.polished-workspace .breadcrumb{font-size:11px}.branch-context,.polished-workspace .branch-select{font-size:10px;max-width:150px}.polished-workspace .header-tools{gap:6px}.polished-workspace .app-footer{padding:0 16px 20px;display:grid;gap:4px}.polished-workspace input:not([type=checkbox]):not([type=radio]),.polished-workspace select,.polished-workspace textarea{font-size:16px}.polished-workspace select.branch-select{font-size:12px}.demo-modes{grid-template-columns:1fr;gap:16px}.demo-modes>div{padding:22px}.demo-modes h2{font-size:21px}}@media (prefers-reduced-motion:reduce){.polished-workspace *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.polished-workspace.collapsed{grid-template-columns:72px minmax(0,1fr)}.polished-workspace .sidebar-bottom{padding:16px}.polished-workspace .sidebar-brand .brand-logo{width:150px}.polished-workspace.collapsed .sidebar-brand .brand-logo{width:36px}@media (max-width:900px){.polished-workspace,.polished-workspace.collapsed{grid-template-columns:minmax(0,1fr)}}@media (min-width:701px) and (max-width:900px){.polished-workspace .desktop-only{display:none!important}.polished-workspace .mobile-only{display:inline-flex}}.dashboard-ui,body:has(.dashboard-ui[data-dashboard]) :is([role=dialog],[role=alertdialog],[role=listbox]){--dashboard-ink:#1e293b;--dashboard-muted:#5f6f86;--dashboard-border:#e5eaf1;--dashboard-canvas:#f7f8fb;--dashboard-title:22px;--dashboard-section:14px;--dashboard-number:28px;--primary:#018fa6;--primary-hover:#00768a;--primary-dark:#1e3a5f;--primary-soft:#eaf7f9;--action-primary:#007f93;--secondary:#1e3a5f;--secondary-soft:#f0f7f8;--canvas:var(--dashboard-canvas);--surface-warm:#fff;--surface-soft:#f8fafc;--surface-subtle:#f8fafc;--surface-selected:#eaf7f9;--text-primary:var(--dashboard-ink);--text-secondary:#5f6f86;--text-muted:#5f6f86;--muted:#5f6f86;--slate:#5f6f86;--muted-soft:#f1f5f9;--neutral-fg:var(--dashboard-muted);--neutral-bg:#f1f5f9;--border:var(--dashboard-border);--border-subtle:var(--dashboard-border);--border-strong:#cbd5e1;--border-control:#8998ac;--focus-ring:#018fa6;--info-fg:#00768a;--info-bg:#eaf7f9;--chart-primary:#018fa6;--chart-secondary:#8b5cf6;--chart-highlight:#f59e0b;--chart-neutral:#94a3b8;--radius-control:7px;--radius-card:10px;--radius-panel:12px;--shadow-card:0 1px 3px rgb(15 23 42/4%);--mc-ink:var(--dashboard-ink);--mc-muted:var(--dashboard-muted);--mc-line:var(--dashboard-border);--mc-canvas:var(--dashboard-canvas)}.dashboard-ui{background:var(--dashboard-canvas);color:var(--dashboard-ink);font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}.dashboard-ui[data-dashboard=platform-demo]>header,.dashboard-ui[data-dashboard] [data-navigation-header]{position:sticky;top:0;z-index:20}.dashboard-ui[data-dashboard] main h1{font-size:var(--dashboard-title);font-weight:650;letter-spacing:-.55px;line-height:1.3}.dashboard-ui[data-dashboard] main :is(h2,h3){font-size:var(--dashboard-section);font-weight:650;line-height:1.45;letter-spacing:-.2px}.dashboard-ui[data-dashboard] .page-heading{margin:0 0 20px;gap:16px}.dashboard-ui[data-dashboard] .page-heading h1{margin-bottom:5px}.dashboard-ui[data-dashboard] .page-heading p{font-size:13px;line-height:1.6}.dashboard-ui[data-dashboard] .eyebrow{font-size:10px;letter-spacing:.08em;margin-bottom:6px}.dashboard-ui[data-dashboard] :is(.btn,input,select,[role=combobox]){min-height:36px;border-radius:7px;font-size:12px;line-height:1.5}.dashboard-ui[data-dashboard] :is(input,select,[role=combobox]){padding:7px 11px}.dashboard-ui[data-dashboard] main :is(input,select,textarea,[role=combobox]){font-size:13px}.dashboard-ui[data-dashboard] input[type=checkbox]{min-height:16px;width:16px;height:16px;padding:0}.dashboard-ui[data-dashboard] :is(.btn,.btn.small){padding:7px 12px;font-size:12px;font-weight:600;gap:7px}.dashboard-ui[data-dashboard] .btn.small{min-height:32px;font-size:11px;padding:5px 10px}.dashboard-ui[data-dashboard] textarea{font-size:13px;line-height:1.6;border-radius:7px}.dashboard-ui[data-dashboard] .field{font-size:12px;margin-bottom:16px}.dashboard-ui[data-dashboard] .tabs{gap:24px;margin-bottom:18px}.dashboard-ui[data-dashboard] .tabs a{font-size:12px;padding-bottom:10px;min-height:32px}.dashboard-ui[data-dashboard] .panel{border-radius:10px;border-color:var(--dashboard-border)}.dashboard-ui[data-dashboard] .panel.padded{padding:20px}.dashboard-ui[data-dashboard] .section-head{padding:14px 16px;border-bottom:1px solid var(--dashboard-border)}.dashboard-ui[data-dashboard] .section-head h2{font-size:14px}.dashboard-ui[data-dashboard] .table-toolbar{padding:12px 16px;gap:10px}.dashboard-ui[data-dashboard] main table{font-size:13px;line-height:1.45}.dashboard-ui[data-dashboard] main table th{padding:10px 16px;background:#fafbfe;color:#64748b;font-size:11px;font-weight:550;border-color:var(--dashboard-border)}.dashboard-ui[data-dashboard] main table td{padding:11px 16px;border-color:var(--dashboard-border);line-height:1.45}.dashboard-ui[data-dashboard] main table tbody tr:hover{background:#f4fafb}.dashboard-ui[data-dashboard] main table :is(strong,.normal){font-size:13px;font-weight:600}.dashboard-ui[data-dashboard] main table small{font-size:11px;line-height:1.4}.dashboard-ui[data-dashboard] main table .visit-estimate{margin-top:3px}.dashboard-ui[data-dashboard] .badge{font-size:11px;padding:3px 7px;border-radius:5px;line-height:1.4}.dashboard-ui[data-dashboard] .patient-cell{gap:10px}.dashboard-ui[data-dashboard] .patient-cell :is(.avatar,.avatar.large){width:30px;height:30px;font-size:10px}.dashboard-ui[data-dashboard] .page-actions{gap:8px}.dashboard-ui[data-dashboard] .kpi-grid{gap:14px;margin:18px 0}.dashboard-ui[data-dashboard] .kpi{padding:16px;border-radius:10px}.dashboard-ui[data-dashboard] .kpi>div{font-size:12px}.dashboard-ui[data-dashboard] .kpi>strong{font-size:var(--dashboard-number);line-height:1.2;color:var(--dashboard-ink);letter-spacing:-.6px;margin:9px 0 6px}.dashboard-ui[data-dashboard] .kpi>strong.smaller{font-size:20px}.dashboard-ui[data-dashboard] .kpi p{font-size:11px}.dashboard-ui.polished-workspace{grid-template-columns:224px minmax(0,1fr)}.dashboard-ui.polished-workspace .sidebar{width:224px;border-color:var(--dashboard-border)}.dashboard-ui.polished-workspace .sidebar-brand{margin:0;padding:16px 24px;min-height:76px;display:flex;align-items:center}.dashboard-ui.polished-workspace .sidebar-brand .brand-logo{width:168px}.dashboard-ui.polished-workspace .clinic-switch{margin:6px 12px 18px;padding:10px;border:1px solid var(--dashboard-border);border-radius:8px;background:#fafbfe}.dashboard-ui.polished-workspace .nav-label{font-size:9px;letter-spacing:.1em;padding-left:24px;margin:6px 0 10px}.dashboard-ui.polished-workspace .primary-nav{padding:0 12px;gap:4px}.dashboard-ui.polished-workspace .primary-nav>a{min-height:40px;padding:9px 12px;font-size:12px;font-weight:550;gap:11px;border-radius:7px}.dashboard-ui.polished-workspace .primary-nav>a>svg{width:18px;height:18px;color:#018fa6}.dashboard-ui.polished-workspace .primary-nav>a:nth-child(2)>svg{color:#8b5cf6}.dashboard-ui.polished-workspace .primary-nav>a:nth-child(3)>svg{color:#0ea5a4}.dashboard-ui.polished-workspace .primary-nav>a:nth-child(4)>svg{color:#f59e0b}.dashboard-ui.polished-workspace .primary-nav>a:nth-child(5)>svg{color:#8490b0}.dashboard-ui.polished-workspace .primary-nav>a.active{background:#eaf7f9;color:#00768a;box-shadow:inset 2px 0 0 #018fa6;font-weight:650}.dashboard-ui.polished-workspace .sidebar-demo{padding:12px;border-radius:8px;background:#fafbfe}.dashboard-ui.polished-workspace .sidebar-demo p{font-size:11px;line-height:1.6}.dashboard-ui.polished-workspace .sidebar-account{padding:12px}.dashboard-ui.polished-workspace .app-header{min-height:60px;padding:10px 24px;background:#fff}.dashboard-ui.polished-workspace .demo-strip{padding:6px 24px;min-height:30px;background:#fff}.dashboard-ui.polished-workspace .breadcrumb{font-size:12px}.dashboard-ui.polished-workspace .global-search{width:240px;padding-inline:12px;gap:8px}.dashboard-ui.polished-workspace .global-search>svg{flex-shrink:0}.dashboard-ui.polished-workspace .global-search:focus-within{outline:2px solid var(--focus-ring);outline-offset:2px}.dashboard-ui.polished-workspace .global-search input{width:100%;min-width:0;padding-inline:0;font-size:12px;min-height:34px}.dashboard-ui.polished-workspace .global-search input:focus-visible{outline:none}.dashboard-ui.polished-workspace .app-main{padding:24px;max-width:1680px}.dashboard-ui.polished-workspace .app-footer{padding:12px 24px 20px;font-size:10px}.dashboard-ui.polished-workspace.collapsed{grid-template-columns:68px minmax(0,1fr)}.dashboard-ui.polished-workspace.collapsed .sidebar{width:68px}.dashboard-ui.polished-workspace.collapsed .sidebar-brand{padding:16px}.dashboard-ui.polished-workspace.collapsed .sidebar-brand .brand-logo{width:36px}.mobile-sidebar .sidebar-brand{display:block;padding:0 0 18px}.mobile-sidebar .sidebar-brand .brand-logo{width:168px;max-width:100%}.dashboard-ui.polished-workspace.collapsed .clinic-switch{margin:6px 8px 18px;padding:8px}.dashboard-ui.polished-workspace.collapsed .primary-nav>a{padding:10px;justify-content:center}.dashboard-ui[data-dashboard] .queue-stages strong{font-size:var(--dashboard-number)}.dashboard-ui[data-dashboard] .calendar-day h3{font-size:13px}.dashboard-ui[data-dashboard] .conversation-item{padding:14px 16px}.dashboard-ui[data-dashboard] :is(.conversation-name strong,.chat-title h2,.message p){font-size:13px}.dashboard-ui[data-dashboard] .settings-group>a>strong{font-size:13px}.dashboard-ui[data-dashboard] :is(.settings-grid,.two-columns,.proposal-layout){gap:18px}.dashboard-ui[data-dashboard] .settings-group{padding:20px}.dashboard-ui[data-dashboard] .settings-group>p{margin-bottom:16px}.dashboard-ui[data-dashboard] .settings-group>a{padding-block:12px}.dashboard-ui[data-dashboard] .profile-summary{padding:20px;border-radius:10px;margin:18px 0}.dashboard-ui[data-dashboard] :is(.profile-stat strong,.attribution-total>strong,.followup-stages b){font-size:var(--dashboard-number);line-height:1.2}.dashboard-ui[data-dashboard] .followup-stages strong{font-size:14px}.dashboard-ui[data-dashboard] .invoice-panel{padding:20px;margin-top:18px}.dashboard-ui[data-dashboard] .print-invoice .invoice-head h2{font-size:22px}.dashboard-ui[data-dashboard] .proposal-comparison{margin-block:20px}.dashboard-ui[data-dashboard] .proposal-comparison>div{padding:16px;border-radius:8px}.dashboard-ui[data-dashboard] .proposal-comparison h3{font-size:var(--dashboard-title)}.dashboard-ui[data-dashboard=platform-demo]>header{min-height:64px;padding:12px 24px;background:#fff}.dashboard-ui[data-dashboard=platform-demo] .brand-logo{width:144px}.dashboard-ui[data-dashboard=platform-demo]>main{padding:24px;max-width:1440px}body:has(.dashboard-ui[data-dashboard]) [role=listbox]{font-size:12px}body:has(.dashboard-ui[data-dashboard]) [role=option]{min-height:34px;padding-block:7px}body:has(.dashboard-ui[data-dashboard]) [role=dialog]{font-size:13px}body:has(.dashboard-ui[data-dashboard]) :is([role=dialog],[role=alertdialog]) h2{font-size:16px;font-weight:650;line-height:1.4}body:has(.dashboard-ui[data-dashboard]) [role=dialog] :is(.btn,input,select,[role=combobox]){min-height:36px;font-size:13px}body:has(.dashboard-ui[data-dashboard]) [role=dialog] input[type=checkbox]{min-height:18px}@media (max-width:1200px){.dashboard-ui.polished-workspace .global-search{width:200px}}@media (max-width:900px){.dashboard-ui.polished-workspace,.dashboard-ui.polished-workspace.collapsed{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.dashboard-ui{--dashboard-title:21px;--dashboard-number:25px}.dashboard-ui.polished-workspace :is(.app-header,.demo-strip){padding-inline:16px}.dashboard-ui.polished-workspace .app-main,.dashboard-ui[data-dashboard=platform-demo]>main{padding:20px 16px}.dashboard-ui[data-dashboard] .page-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.dashboard-ui[data-dashboard] .page-actions{justify-content:flex-start}.dashboard-ui[data-dashboard] :is(.btn,input,select,[role=combobox]){min-height:42px}.dashboard-ui[data-dashboard] main :is(input,select,textarea,[role=combobox]){font-size:16px}.dashboard-ui[data-dashboard] .btn.small,.dashboard-ui[data-dashboard] main button:not([role=switch]){min-height:42px}.dashboard-ui[data-dashboard] input[type=checkbox]{min-height:18px;height:18px;width:18px}.dashboard-ui[data-dashboard] main table td,.dashboard-ui[data-dashboard] main table th{padding-inline:12px}.dashboard-ui[data-dashboard] .kpi-grid{gap:10px}.dashboard-ui[data-dashboard] .kpi{padding:14px}body:has(.dashboard-ui[data-dashboard]) [role=option]{min-height:44px}body:has(.dashboard-ui[data-dashboard]) [role=dialog] :is(.btn,input,select,[role=combobox]){min-height:42px}body:has(.dashboard-ui[data-dashboard]) [role=dialog] :is(input,select,textarea,[role=combobox]){font-size:16px}body:has(.dashboard-ui[data-dashboard]) [role=dialog] button:not([role=switch]){min-height:42px}}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-button{display:none;width:0;height:0}@media (forced-colors:active){*{scrollbar-color:auto;scrollbar-width:auto}}