:root{color:#283431;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f7f7f4;font-family:Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0}.services-panel{padding:22px 24px}.service-form{grid-template-columns:1.4fr 1fr 100px 100px;align-items:start;gap:9px;margin-top:20px;display:grid}.service-form>input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);outline-color:var(--theme-brand);padding:10px;font-size:10px}.service-form>label{background:var(--theme-surface-muted);border-radius:var(--theme-radius);color:var(--theme-muted);flex-direction:column;gap:7px;min-height:62px;padding:9px;font-size:9px;font-weight:600;display:flex}.check-option{color:var(--theme-ink);white-space:nowrap;align-items:center;gap:5px;font-size:9px;font-weight:400;display:flex}.check-option input{accent-color:var(--theme-brand)}.service-form>.ui-button{grid-column:4}.service-list{border-top:1px solid var(--theme-line);margin-top:18px}.service-row{border-bottom:1px solid var(--theme-line);grid-template-columns:30px 1fr 45px 30px;align-items:center;gap:10px;padding:13px 0;display:grid}.service-row>div{flex-direction:column;gap:3px;display:flex}.service-row b{color:var(--theme-ink);font-size:11px}.service-row small{color:var(--theme-muted);font-size:9px}.unit-picker{width:100%;margin:48px 0 32px;position:relative}.unit-picker-trigger{border-radius:var(--theme-radius);width:100%;min-height:66px;color:var(--theme-ink);text-align:left;background:#f8faf7;border:1px solid #dfe5dd;align-items:center;gap:9px;padding:11px 12px;display:flex;position:relative}.unit-picker-trigger>svg{color:#84938b;margin-left:auto}.unit-picker-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.unit-picker-copy b{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.unit-picker-copy small{color:var(--theme-muted);white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.unit-picker-trigger.open{border-color:var(--theme-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-brand) 12%,transparent)}.unit-picker-menu{z-index:40;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;box-shadow:0 15px 30px color-mix(in srgb,var(--theme-ink) 16%,transparent);padding:5px;position:absolute;top:calc(100% + 7px);left:0}.unit-picker-menu button{border-radius:calc(var(--theme-radius) - 2px);width:100%;color:var(--theme-ink);text-align:left;background:0 0;align-items:center;gap:8px;padding:9px;display:flex}.unit-picker-menu button:hover,.unit-picker-menu button.selected{background:var(--theme-brand-soft);color:var(--theme-brand)}.unit-picker-menu button span{flex-direction:column;flex:1;gap:3px;display:flex}.unit-picker-menu b{font-size:10px;font-weight:600}.unit-picker-menu small{color:var(--theme-muted);font-size:8px}.unit-picker-menu button.selected small{color:color-mix(in srgb,var(--theme-brand) 70%,var(--theme-muted))}.unit-picker-menu button>svg{color:var(--theme-brand)}.clinic-switcher{border-radius:var(--theme-radius);background:#f8faf7;border:1px solid #dfe5dd;gap:9px;min-height:66px;margin:48px 0 32px;padding:11px 12px;position:relative;overflow:hidden}.clinic-switcher>span:nth-child(2){min-width:0;padding-right:23px}.clinic-switcher b,.clinic-switcher small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.clinic-switcher>svg{pointer-events:none;color:#84938b;position:absolute;top:26px;right:11px}.clinic-switcher select{opacity:0;cursor:pointer;border:0;width:100%;height:100%;position:absolute;inset:0}.clinic-switcher:focus-within{border-color:var(--theme-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-brand) 12%,transparent)}.resources-panel{padding:22px 24px}.resource-form{grid-template-columns:1.6fr 170px auto;gap:9px;margin-top:20px;display:grid}.resource-form input,.resource-form select{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);outline-color:var(--theme-brand);padding:10px;font-size:10px}.resource-list{border-top:1px solid var(--theme-line);margin-top:17px}.resource-row{border-bottom:1px solid var(--theme-line);grid-template-columns:30px 1fr 45px 30px;align-items:center;gap:10px;padding:12px 0;display:grid}.resource-icon{border-radius:var(--theme-radius);background:var(--theme-brand-soft);width:29px;height:29px;color:var(--theme-brand);place-items:center;display:grid}.resource-row div{flex-direction:column;gap:3px;display:flex}.resource-row b{color:var(--theme-ink);font-size:11px}.resource-row small{color:var(--theme-muted);font-size:9px}.resource-active{color:var(--theme-success);font-size:9px;font-weight:600}.unit-row{border-bottom:1px solid var(--theme-line);align-items:center;gap:10px;padding:12px 0;display:flex}.unit-row>div:not(.new-professional-form){flex-direction:column;flex:1;gap:3px;display:flex}.unit-row.inactive .resource-active{color:var(--theme-muted)}.unit-row .new-professional-form{background:0 0;flex:1;margin-top:0;padding:0}.feature-toggle{color:var(--theme-muted);cursor:pointer;align-items:center;gap:7px;font-size:9px;font-weight:600;display:flex}.feature-toggle input{width:auto;margin:0}.feature-toggle input:checked+span{color:var(--theme-success)}.closure-panel{padding:22px 24px}.closure-form{grid-template-columns:1fr 1.5fr auto;align-items:center;gap:9px;margin-top:20px;display:grid}.closure-form>input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);outline-color:var(--theme-brand);padding:11px;font-size:10px}.closure-list{border-top:1px solid var(--theme-line);margin-top:16px}.closure-list>small{color:var(--theme-muted);padding-top:14px;font-size:9px;display:block}.closure-row{border-bottom:1px solid var(--theme-line);grid-template-columns:110px 1fr 30px;align-items:center;gap:10px;padding:10px 0;font-size:10px;display:grid}.closure-row>span{color:var(--theme-danger);font-weight:600}.closure-row>b{color:var(--theme-ink);font-weight:500}@media (width<=700px){.working-professional.detailed{flex-direction:column;gap:11px;display:flex}.working-professional.detailed .day-toggles{justify-content:space-between;width:100%}.professional-login-link,.period-editor{width:100%}.exception-editor{flex-direction:column;align-items:stretch;display:flex}.exception-editor .date-picker,.exception-editor .ui-button{width:100%}.new-professional-form{grid-template-columns:1fr}.schedule-settings-actions{flex-wrap:wrap}.resource-form{flex-direction:column;display:flex}.resource-form .ui-button{width:100%}.resource-row{grid-template-columns:30px 1fr 30px}.resource-active{display:none}.service-form{flex-direction:column;display:flex}.service-form>input,.service-form>label,.service-form>.ui-button{width:100%}.service-form>.ui-button{order:5}.service-row{grid-template-columns:30px 1fr 30px}.service-row .ui-status{display:none}.unit-picker{width:41px;margin:39px 0 24px}.unit-picker-trigger{justify-content:center;width:41px;min-height:41px;padding:4px}.unit-picker-trigger>svg,.unit-picker-copy{display:none}.unit-picker-menu{width:210px;left:0}.unit-picker-menu button{padding:10px}}.working-professional.detailed{grid-template-rows:auto auto;grid-template-columns:170px 220px 1fr;align-items:start;gap:12px 18px;display:grid}.working-professional.detailed .working-professional-title{grid-column:1}.working-professional.detailed .day-toggles{grid-column:2}.professional-login-link{color:var(--theme-muted);grid-column:3;font-size:9px;font-weight:600;display:block}.professional-login-link input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;color:var(--theme-ink);background:var(--theme-surface);outline-color:var(--theme-brand);margin-top:7px;padding:8px 9px;font-size:10px;display:block}.period-editor{border-top:1px solid var(--theme-line);grid-column:2/4;padding:10px 0 2px}.period-toolbar{align-items:center;gap:7px;display:flex}.period-toolbar select,.exception-editor select{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);color:var(--theme-ink);padding:7px 8px;font-size:9px}.period-toolbar span{color:var(--theme-muted);flex:1;font-size:9px}.period-row{align-items:center;gap:7px;margin-top:8px;display:flex}.period-row input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);color:var(--theme-ink);padding:6px 7px;font-size:10px}.period-row span{color:var(--theme-muted);font-size:9px}.no-period{color:var(--theme-muted);margin-top:9px;font-size:9px;display:block}.blocked-dates{border-top:1px dashed var(--theme-line);flex-wrap:wrap;grid-column:1/4;align-items:center;gap:7px;padding-top:10px;display:flex}.blocked-heading{color:var(--theme-muted);align-items:center;gap:6px;margin-right:4px;font-size:9px;display:flex}.blocked-dates>span{background:var(--theme-danger-soft);color:var(--theme-danger);border-radius:var(--theme-radius);align-items:center;gap:4px;padding:4px 6px;font-size:9px;display:inline-flex}.blocked-dates .ui-icon-button{color:var(--theme-danger);padding:0}.blocked-dates>small{color:var(--theme-muted);font-size:9px}.exception-editor{background:var(--theme-surface-muted);border-radius:var(--theme-radius);grid-template-columns:1.4fr 1fr 1fr auto;align-items:center;gap:10px;margin-top:20px;padding:15px;display:grid}.exception-editor>div{flex-direction:column;gap:3px;display:flex}.exception-editor .eyebrow{margin:0}.exception-editor b{color:var(--theme-ink);font-size:11px}.exception-editor small{color:var(--theme-muted);font-size:9px}.commission-editor{border-top:1px dashed var(--theme-line);flex-direction:column;grid-column:1/4;gap:8px;padding-top:10px;display:flex}.commission-editor>small{color:var(--theme-muted);font-size:9px}.commission-row{grid-template-columns:1fr 90px 100px;align-items:center;gap:8px;display:grid}.commission-row span{color:var(--theme-ink);font-size:10px}.commission-row select,.commission-row input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);color:var(--theme-ink);padding:7px 8px;font-size:9px}@media (width<=700px){.commission-row{grid-template-columns:1fr}}.page-heading-icon{border-radius:var(--theme-radius);background:var(--theme-brand-soft);width:42px;height:42px;color:var(--theme-brand);place-items:center;display:grid}.schedule-settings{padding:22px 24px}.schedule-settings .panel-heading p{max-width:430px}.schedule-settings-actions{align-items:center;gap:8px;display:flex}.new-professional-form{background:var(--theme-surface-muted);border-radius:var(--theme-radius);grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin-top:16px;padding:14px;display:grid}.new-professional-form label{color:var(--theme-muted);font-size:10px;font-weight:600;display:block}.new-professional-form input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;color:var(--theme-ink);background:var(--theme-surface);outline-color:var(--theme-brand);margin-top:7px;padding:11px;font-size:11px;display:block}.working-hours-list{margin-top:19px}.working-professional{border-top:1px solid var(--theme-line);justify-content:space-between;align-items:center;gap:18px;padding:13px 0;display:flex}.working-professional-title{align-items:center;gap:10px;min-width:170px;display:flex}.working-professional-title div{flex-direction:column;gap:3px;display:flex}.working-professional-title b{color:var(--theme-ink);font-size:11px}.working-professional-title small{color:var(--theme-muted);font-size:9px}.schedule-icon{border-radius:var(--theme-radius);background:var(--theme-brand-soft);width:29px;height:29px;color:var(--theme-brand);place-items:center;display:grid}.day-toggles{gap:5px;display:flex}.day-toggles button{border-radius:var(--theme-radius);background:var(--theme-surface-muted);width:35px;height:28px;color:var(--theme-muted);font-size:9px;font-weight:600}.day-toggles button.selected{background:var(--theme-brand);color:#fff}.availability-warning{color:var(--theme-danger);background:var(--theme-danger-soft);border-radius:var(--theme-radius);margin:-4px 0 10px;padding:8px 10px;font-size:10px}.toast{border:1px solid color-mix(in srgb,var(--theme-accent) 28%,transparent);background:color-mix(in srgb,var(--theme-accent) 18%,var(--theme-surface))!important;color:var(--theme-ink)!important;box-shadow:0 8px 22px color-mix(in srgb,var(--theme-accent) 14%,transparent)!important}@media (width<=700px){.page-heading{display:block}.page-heading .ui-button{margin-top:18px}.page-toolbar{display:block}.search-field{width:100%;margin-bottom:10px}.patients-panel,.agenda-panel{padding:0 12px}.table-head{display:none}.patient-row{grid-template-columns:1fr 30px;gap:8px}.patient-row>span{display:none}.agenda-toolbar{align-items:stretch}.agenda-navigation{grid-template-columns:28px minmax(0,1fr) 28px;display:grid}.agenda-navigation b{text-align:center}.agenda-navigation .agenda-today{border:0;grid-column:1/-1;width:auto}.agenda-view-switch{align-self:flex-start}.agenda-header{display:none}.agenda-line{grid-template-columns:48px minmax(0,1fr) 82px 30px;gap:8px;min-height:76px}.agenda-line>span:first-of-type{grid-area:2/2;font-size:9px}.agenda-line>span:nth-of-type(2){display:none}.agenda-line .ui-status{grid-area:1/3}.agenda-line .action-menu{grid-area:1/4}.agenda-date-divider{margin:0 -12px;padding-left:12px}.theme-controls{flex-direction:column}.theme-customizer{padding:18px}.theme-customizer-heading{display:block}.theme-customizer-heading .ui-button{margin-top:12px}}.page-stack{flex-direction:column;gap:20px;display:flex}.page-heading{justify-content:space-between;align-items:flex-end;display:flex}.page-heading h1{letter-spacing:-1px;color:var(--theme-ink);margin:0;font:600 34px/1 Fraunces,Georgia,serif}.page-toolbar{color:var(--theme-muted);justify-content:space-between;align-items:center;font-size:10px;display:flex}.search-field{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:310px;color:var(--theme-muted);align-items:center;gap:8px;padding:10px 12px;display:flex}.search-field input{width:100%;color:var(--theme-ink);background:0 0;border:0;outline:0;font-size:11px}.patients-panel{padding:0 22px;overflow:hidden}.table-head,.patient-row{grid-template-columns:1.7fr 1fr .7fr 30px;align-items:center;gap:15px;display:grid}.table-head{border-bottom:1px solid var(--theme-line);color:var(--theme-muted);text-transform:uppercase;letter-spacing:.7px;padding:15px 0 10px;font-size:8px}.patient-row{min-height:67px;color:var(--theme-muted);border-bottom:1px solid #f0f1ee;font-size:10px}.patient-row:last-of-type{border-bottom:0}.patient-name{align-items:center;gap:10px;display:flex}.patient-name div{flex-direction:column;gap:3px;display:flex}.patient-name b{color:var(--theme-ink);font-size:11px;font-weight:600}.patient-name small{color:var(--theme-muted);font-size:9px}.empty-state{color:var(--theme-muted);flex-direction:column;align-items:center;gap:8px;padding:45px;font-size:10px;display:flex}.empty-state b{color:var(--theme-ink);font-size:12px}.agenda-toolbar{color:var(--theme-muted);justify-content:space-between;align-items:center;gap:15px;font-size:11px;display:flex}.agenda-navigation{align-items:center;gap:12px;display:flex}.agenda-navigation b{text-transform:capitalize;min-width:220px;color:var(--theme-ink);font-weight:600}.agenda-toolbar button{background:var(--theme-surface);border:1px solid var(--theme-line);width:28px;height:28px;color:var(--theme-brand);cursor:pointer;border-radius:50%;place-items:center;display:grid}.agenda-toolbar .agenda-today{border-radius:var(--theme-radius);background:var(--theme-brand-soft);width:auto;margin-left:2px;padding:0 12px;font-size:9px;font-weight:600}.agenda-view-switch{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);padding:3px;display:flex}.agenda-view-switch button{border-radius:calc(var(--theme-radius) - 3px);width:auto;height:25px;color:var(--theme-muted);background:0 0;border:0;padding:0 12px;font-size:9px;font-weight:600}.agenda-view-switch button.active{background:var(--theme-brand);color:#fff}.agenda-panel{padding:0 22px;overflow:hidden}.agenda-header,.agenda-line{grid-template-columns:70px 1.3fr 1.4fr 1fr 105px 30px;align-items:center;gap:15px;display:grid}.agenda-header{border-bottom:1px solid var(--theme-line);color:var(--theme-muted);text-transform:uppercase;letter-spacing:.7px;padding:15px 0 10px;font-size:8px}.agenda-line{min-height:70px;color:var(--theme-muted);border-bottom:1px solid #f0f1ee;font-size:10px}.agenda-entry:last-child .agenda-line{border-bottom:0}.agenda-line time{color:var(--theme-brand);font-weight:700}.agenda-line .patient-name b{color:var(--theme-ink)}.agenda-date-divider{border-bottom:1px solid var(--theme-line);background:var(--theme-brand-soft);color:var(--theme-brand);text-transform:capitalize;padding:10px 0 8px;font-size:9px;font-weight:700}.agenda-empty span{text-align:center}.app-shell{color:var(--theme-ink);background:var(--theme-page)!important}.sidebar{background:var(--theme-surface-muted)!important;border-color:var(--theme-line)!important}.topbar{border-color:var(--theme-line)!important}.panel,.ui-panel{background:var(--theme-surface);border-color:var(--theme-line)}.brand-mark{background:var(--theme-brand)!important}.nav-item.active{background:var(--theme-brand-soft)!important;color:var(--theme-brand)!important}.primary-button,.week-strip button.selected{background:var(--theme-brand)!important}.progress-track span{background:var(--theme-brand)}.theme-customizer{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);margin-bottom:21px;padding:22px 24px}.theme-customizer-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.theme-customizer h2{color:var(--theme-ink);margin:0;font:600 19px Fraunces,serif}.theme-customizer-heading p:last-child{color:var(--theme-muted);margin:6px 0 0;font-size:10px}.theme-controls{gap:10px;margin-top:20px;display:flex}.color-control{background:var(--theme-surface-muted);border-radius:var(--theme-radius);color:var(--theme-ink);align-items:center;gap:8px;padding:8px 10px;font-size:10px;font-weight:600;display:flex}.color-control input{cursor:pointer;background:0 0;border:0;width:26px;height:22px;padding:0}.color-control code{color:var(--theme-muted);font-size:8px}.theme-preview{color:var(--theme-muted);align-items:center;gap:7px;margin-top:17px;font-size:10px;display:flex}.theme-preview span{border:2px solid var(--theme-surface);border-radius:50%;width:20px;height:20px}.theme-preview b{margin-left:5px;font-weight:500}.app-shell{color:#263330;background:#f7f7f4;min-height:100vh;display:flex}.sidebar{background:#f0f2ed;border-right:1px solid #e4e7df;flex-direction:column;flex:0 0 244px;width:244px;padding:29px 17px 22px;display:flex}.brand-mark{color:#fff;background:#2d7669;border-radius:10px;justify-content:center;align-items:center;width:31px;height:31px;font:600 24px Fraunces,serif;display:flex;transform:rotate(-5deg)}.brand-mark span{transform:rotate(5deg)}.brand-copy{flex-direction:column;margin:0 0 0 42px;line-height:1;display:flex;position:absolute;top:29px}.brand-copy strong{letter-spacing:-.5px;font:600 23px Fraunces,serif}.brand-copy small{color:#7e8d86;margin-top:4px;font-size:9px}.clinic-switcher{background:#f8f9f6;border:1px solid #dde2da;border-radius:11px;align-items:center;gap:9px;margin:48px 0 32px;padding:10px;font-size:11px;display:flex}.clinic-switcher>span:nth-child(2){flex-direction:column;flex:1;gap:3px;display:flex}.clinic-switcher b,.user-profile b{font-size:11px;font-weight:600}.clinic-switcher small,.user-profile small{color:#88918d;font-size:9px}.clinic-avatar,.user-avatar,.avatar-button{color:#287061;background:#d6eee5;border-radius:9px;justify-content:center;align-items:center;font-weight:700;display:flex}.clinic-avatar{width:28px;height:28px;font-size:9px}.nav-label{letter-spacing:1.3px;color:#9ba59f;margin:0 0 10px;padding:0 11px;font-size:9px;font-weight:700}.nav-label.second{margin-top:30px}.nav-item{color:#74807a;text-align:left;background:0 0;border-radius:8px;align-items:center;gap:11px;width:100%;margin:2px 0;padding:10px 11px;font-size:12px;display:flex}.nav-item.active{color:#23665c;background:#dcece6;font-weight:600}.nav-item i{color:#fff;background:#e58d73;border-radius:10px;margin-left:auto;padding:2px 6px;font-size:9px;font-style:normal}.sidebar-bottom{margin-top:auto}.help-card{color:#71807a;border-top:1px solid #dfe4dc;border-bottom:1px solid #dfe4dc;align-items:center;gap:9px;padding:16px 7px;display:flex}.help-card>span{border:1px solid #a9b8b1;border-radius:50%;place-items:center;width:23px;height:23px;font-size:12px;display:grid}.help-card div{flex-direction:column;flex:1;gap:3px;display:flex}.help-card b{color:#51605a;font-size:10px}.help-card small{font-size:9px}.user-profile{align-items:center;gap:9px;padding:18px 5px 0;display:flex}.user-profile div{flex-direction:column;flex:1;gap:3px;display:flex}.user-avatar{color:#a56452;background:#f3d9cd;width:29px;height:29px;font-size:9px}.main-content{flex:1;min-width:0}.topbar{background:#ffffff5c;border-bottom:1px solid #e8e9e4;justify-content:space-between;align-items:center;height:78px;padding:0 45px;display:flex}.breadcrumb{color:#9ba39e;align-items:center;gap:10px;font-size:11px;display:flex}.breadcrumb b{color:#3b4945;font-weight:600}.top-actions{align-items:center;gap:14px;display:flex}.icon-button,.avatar-button{color:#7b8580;background:0 0;position:relative}.icon-button i{background:#e77d65;border:1px solid #f7f7f4;border-radius:50%;width:5px;height:5px;position:absolute;top:1px;right:1px}.avatar-button{color:#24695f;background:#dcece6;border-radius:50%;width:32px;height:32px;font-size:10px}.content-wrap{max-width:1360px;margin:0 auto;padding:39px 45px 56px}.welcome-row{justify-content:space-between;align-items:flex-end;margin-bottom:32px;display:flex}.eyebrow{color:#9aa49e;letter-spacing:1.2px;margin:0 0 9px;font-size:9px;font-weight:700}.welcome-row h1{letter-spacing:-1px;color:#263631;margin:0;font:600 34px/1 Fraunces,Georgia,serif}.welcome-row h1 span{color:#df8f76;vertical-align:top;margin-left:4px;font-size:21px}.subtitle{color:#909b95;margin:11px 0 0;font-size:12px}.primary-button{color:#fff;background:#286f64;border-radius:8px;align-items:center;gap:8px;padding:12px 17px;font-size:11px;font-weight:600;display:inline-flex;box-shadow:0 4px 12px #24695f29}.primary-button:hover{background:#1c5c52}.toast{z-index:10;color:#fff;background:#285e55;border-radius:8px;padding:11px 16px;font-size:11px;animation:.25s ease-out slide-in;position:fixed;top:91px;right:35px;box-shadow:0 10px 25px #20473d44}.toast span{color:#aee0ca;margin-right:8px}@keyframes slide-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.metric-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:21px;display:grid}.metric-card{border-radius:12px;min-height:141px;padding:18px 19px;position:relative;overflow:hidden}.metric-card.warm{background:#f7e9df}.metric-card.blue{background:#e3eef1}.metric-card.green{background:#e3f0e7}.metric-card.lilac{background:#ece8f1}.metric-top{color:#697671;justify-content:space-between;align-items:center;font-size:10px;display:flex}.metric-top svg{color:#87968e;stroke-width:1.7px}.metric-card strong{color:#2d3d38;margin-top:11px;font:600 28px Fraunces,serif;display:block}.metric-card>small{color:#84908a;margin-top:4px;font-size:9px;display:block}.metric-card em{color:#30806b;margin-right:3px;font-style:normal;font-weight:700}.metric-card em.negative{color:#d27664}.sparkline{opacity:.55;align-items:flex-end;gap:3px;height:25px;display:flex;position:absolute;bottom:17px;right:13px}.sparkline span{background:#6f9b8d;border-radius:3px;width:4px}.main-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.9fr);gap:21px;display:grid}.panel{background:#fff;border:1px solid #ebede8;border-radius:12px}.schedule-panel{min-width:0;padding:23px 21px 8px}.panel-heading{justify-content:space-between;align-items:flex-start;display:flex}.panel-heading h2{color:#30403b;margin:0;font:600 17px Fraunces,serif}.panel-heading p{color:#98a19c;margin:5px 0 0;font-size:10px}.text-button,.full-link{color:#32776b;background:0 0;align-items:center;gap:5px;padding:2px 0;font-size:10px;font-weight:600;display:flex}.week-strip{grid-template-columns:repeat(6,1fr);gap:5px;margin:22px 0 14px;display:grid}.week-strip button{color:#93a09a;background:#fafbf9;border-radius:7px;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;display:flex}.week-strip button.selected{color:#fff;background:#286f64}.week-strip small{letter-spacing:.5px;font-size:8px}.week-strip b{font-size:12px;font-weight:600}.appointment-row{border-top:1px solid #eff0ed;align-items:center;gap:12px;min-height:65px;display:flex}.appointment-row time{color:#82908a;width:37px;font-size:10px}.appointment-avatar,.mini-avatar{color:#36776a;background:#e0eee7;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:9px;font-weight:700;display:grid}.appointment-row:nth-child(2) .appointment-avatar,.mini-avatar.yellow{color:#ad7d3a;background:#f8edd6}.appointment-row:nth-child(4) .appointment-avatar,.mini-avatar.coral{color:#ae6b58;background:#f5dfd8}.appointment-person{flex-direction:column;flex:1.3;gap:4px;min-width:130px;display:flex}.appointment-person b,.appointment-professional span{color:#3e4d48;font-size:11px;font-weight:600}.appointment-person span{color:#98a19d;font-size:10px}.appointment-professional{flex-direction:column;flex:1;gap:4px;display:flex}.appointment-professional small{color:#a4aca8;letter-spacing:.6px;font-size:7px}.status{white-space:nowrap;border-radius:5px;padding:5px 8px;font-size:8px}.status.mint{color:#44836e;background:#e1f1e9}.status.yellow{color:#ae833d;background:#faf0d8}.status.coral{color:#b66e5a;background:#fae5df}.more-button{color:#a0a9a4;background:0 0;place-items:center;padding:5px;display:grid}.side-column{flex-direction:column;gap:21px;display:flex}.confirmation-panel,.quick-panel{padding:23px 21px}.round-button{color:#498477;background:#e7f2ed;border-radius:50%;width:26px;height:26px;font-size:16px}.confirmation-progress{margin:24px 0 20px}.confirmation-progress div:first-child{justify-content:space-between;margin-bottom:9px;display:flex}.confirmation-progress b{color:#40514a;font-size:11px}.confirmation-progress span{color:#9da6a1;font-size:10px}.progress-track{background:#edf0ec;border-radius:5px;height:6px}.progress-track span{background:#6ea493;border-radius:5px;width:80%;height:100%;display:block}.confirmation-item{border-top:1px solid #f0f1ee;align-items:center;gap:9px;padding:11px 0;display:flex}.mini-avatar{border-radius:50%;width:28px;height:28px}.confirmation-item div{flex-direction:column;flex:1;gap:3px;display:flex}.confirmation-item b{color:#44534d;font-size:10px}.confirmation-item small{color:#9ba49f;font-size:8px}.confirmation-item button{color:#4c8679;background:#f3f6f2;border-radius:5px;padding:6px 7px;font-size:9px;font-weight:600}.full-link{border-top:1px solid #f0f1ee;justify-content:center;width:100%;margin-top:9px;padding-top:16px}.quick-panel .panel-heading{align-items:center}.quick-panel h2{font-size:15px}.quick-actions{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:19px;display:grid}.quick-actions button{color:#55645d;text-align:center;background:#fafbf9;border-radius:8px;flex-direction:column;align-items:center;gap:7px;padding:11px 5px;display:flex}.quick-actions b{font-size:9px;font-weight:600;line-height:1.35}.quick-icon{border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.peach{color:#bd765e;background:#f9e6dd}.aqua{color:#3b8276;background:#dfeeea}.lilac-bg{color:#7a6791;background:#eae5f2}.modal-backdrop{z-index:20;background:#26333052;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:13px;width:100%;max-width:400px;padding:30px;position:relative;box-shadow:0 25px 65px #203f3538}.modal h2{margin:0;font:600 25px Fraunces,serif}.modal-copy{color:#8b9690;margin:8px 0 24px;font-size:11px;line-height:1.5}.modal label{color:#65736d;margin:14px 0;font-size:10px;font-weight:600;display:block}.modal input,.modal select{color:#52615a;border:1px solid #e4e8e2;border-radius:7px;outline-color:#74a99b;width:100%;margin-top:7px;padding:11px;font-size:11px;display:block}.modal-close{color:#94a09a;background:0 0;position:absolute;top:17px;right:17px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:25px;display:flex}.secondary-button{color:#52615b;background:#edf0ec;border-radius:8px;padding:12px 17px;font-size:11px}@media (width<=1050px){.sidebar{flex-basis:205px;width:205px}.content-wrap,.topbar{padding-left:28px;padding-right:28px}.metric-grid{grid-template-columns:repeat(2,1fr)}.main-grid{grid-template-columns:1fr}.side-column{grid-template-columns:1fr 1fr;align-items:start;display:grid}}@media (width<=700px){.sidebar{flex-basis:61px;align-items:center;width:61px;padding:23px 10px}.brand-copy,.clinic-switcher span:nth-child(2),.clinic-switcher svg,.nav-label,.nav-item span,.nav-item i,.sidebar-bottom{display:none}.clinic-switcher{background:0 0;border:0;margin:39px 0 24px;padding:0}.clinic-avatar{width:33px;height:33px}.nav-item{justify-content:center;padding:11px 5px}.topbar{height:62px;padding:0 18px}.content-wrap{padding:25px 17px 40px}.welcome-row{margin-bottom:24px;display:block}.welcome-row h1{font-size:30px}.welcome-row .primary-button{margin-top:20px}.metric-grid{gap:8px}.metric-card{min-height:132px;padding:14px}.metric-card strong{font-size:23px}.metric-top{font-size:9px}.side-column{display:flex}.schedule-panel{padding:18px 12px 5px}.appointment-row{gap:7px}.appointment-professional{display:none}.appointment-person{min-width:0}.appointment-person b,.appointment-person span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.status{padding:4px 5px;font-size:7px}.week-strip{margin-top:18px}.panel-heading h2{font-size:15px}.text-button{font-size:9px}.toast{top:74px;right:16px}.page-heading{display:block}.page-heading .ui-button{margin-top:18px}.agenda-toolbar{flex-direction:column;align-items:stretch}.agenda-navigation{grid-template-columns:28px minmax(0,1fr) 28px;width:100%;display:grid}.agenda-navigation b{text-align:center;min-width:0}.agenda-navigation .agenda-today{border:0;grid-column:1/-1;width:auto;margin-left:0}.agenda-view-switch{align-self:flex-start}.agenda-header{display:none}.agenda-panel{padding:0 12px}.agenda-line{grid-template-columns:48px minmax(0,1fr) 82px 30px;gap:8px;min-height:76px}.agenda-line>span:first-of-type{grid-area:2/2;font-size:9px}.agenda-line>span:nth-of-type(2){display:none}.agenda-line .ui-status{grid-area:1/3}.agenda-line .action-menu{grid-area:1/4}.agenda-date-divider{margin:0 -12px;padding-left:12px}}.ui-icon-button.open{background:var(--theme-surface-muted);color:var(--theme-brand)}.action-menu-popover{z-index:60;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:190px;box-shadow:0 15px 30px color-mix(in srgb,var(--theme-ink) 16%,transparent);padding:5px;position:fixed}.action-menu-popover button{text-align:left;border-radius:calc(var(--theme-radius) - 2px);width:100%;color:var(--theme-ink);background:0 0;padding:9px 10px;font-size:10px}.action-menu-popover button:hover{background:var(--theme-surface-muted)}.action-menu-popover button.danger{color:var(--theme-danger)}.action-menu-popover button.danger:hover{background:var(--theme-danger-soft)}.action-menu-popover button:disabled{opacity:.4;cursor:not-allowed}.week-strip{grid-template-columns:repeat(7,1fr)}.dashboard-agenda-empty{text-align:center;border-top:1px solid #eff0ed;min-height:180px}.dashboard-agenda-empty span{max-width:250px}.appointment-row{grid-template-columns:37px 30px minmax(120px,1.35fr) minmax(105px,1fr) 96px 28px;align-items:center;gap:12px;display:grid}.appointment-row time{width:auto}.appointment-person,.appointment-professional{flex:none;min-width:0}.appointment-person b,.appointment-person span,.appointment-professional span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.appointment-row>.ui-status{justify-self:end;max-width:96px}.appointment-row>.action-menu{justify-self:end}@media (width<=700px){.appointment-row{grid-template-columns:37px 30px minmax(0,1fr) 82px 28px;gap:7px}.appointment-professional{display:none}.appointment-row>.ui-status{max-width:82px}}.confirmation-empty{border-top:1px solid var(--theme-line);min-height:104px;color:var(--theme-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex}.confirmation-empty b{color:var(--theme-ink);font-size:10px}.confirmation-empty span{font-size:8px}.modal.wide{max-width:660px;max-height:88vh;overflow-y:auto}.patient-detail-head{align-items:center;gap:14px;margin-bottom:4px;display:flex}.patient-detail-head div{flex-direction:column;gap:3px;display:flex}.patient-detail-head small{color:var(--theme-muted);font-size:9px}.patient-form-grid{grid-template-columns:1fr 1fr;gap:0 14px;margin:14px 0;display:grid}.consent-list{background:var(--theme-surface-muted);border-radius:var(--theme-radius);flex-wrap:wrap;gap:10px 18px;margin:16px 0;padding:14px;display:flex}.consent-list label{color:var(--theme-ink);align-items:center;gap:8px;margin:0;font-size:10px;font-weight:600;display:flex}.consent-list input{width:auto;margin:0}.patient-detail-section{margin-top:26px}.patient-detail-section h3{color:var(--theme-ink);margin:0 0 12px;font:600 14px Fraunces,serif}.timeline{flex-direction:column;gap:9px;max-height:280px;display:flex;overflow-y:auto}.timeline-item{border:1px solid var(--theme-line);border-radius:var(--theme-radius);align-items:center;gap:12px;padding:11px;display:flex}.timeline-item time{width:82px;color:var(--theme-muted);flex:none;font-size:9px;line-height:1.4}.timeline-item time b{color:var(--theme-ink);font-size:11px;display:block}.timeline-item .timeline-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.timeline-item .timeline-copy b{color:var(--theme-ink);font-size:11px;font-weight:600}.timeline-item .timeline-copy span{color:var(--theme-muted);font-size:9px}.timeline-empty{text-align:center;color:var(--theme-muted);padding:20px;font-size:10px}.care-plan-progress-track{background:var(--theme-surface-muted);border-radius:999px;width:90px;height:5px;margin:4px 0;display:block;overflow:hidden}.care-plan-progress-track span{border-radius:999px;height:100%;transition:width .2s;display:block}.timeline-unified{flex-direction:column;max-height:420px;padding-right:2px;display:flex;overflow-y:auto}.timeline-node{gap:12px;padding-bottom:16px;display:flex;position:relative}.timeline-node:last-child{padding-bottom:0}.timeline-node:before{content:"";background:var(--theme-line);width:1px;position:absolute;top:27px;bottom:-2px;left:13px}.timeline-node:last-child:before{display:none}.timeline-dot{color:#fff;z-index:1;border-radius:50%;flex-shrink:0;place-items:center;width:27px;height:27px;display:grid}.timeline-card{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);flex:1;min-width:0;padding:11px 13px}.timeline-card-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;display:flex}.timeline-card-head b{color:var(--theme-ink);font-size:11px;font-weight:600}.timeline-card p{color:var(--theme-muted);white-space:pre-wrap;margin:0 0 8px;font-size:10px}.timeline-card-foot{color:var(--theme-muted);justify-content:space-between;align-items:center;font-size:9px;display:flex}@media (width<=700px){.timeline-card-head{flex-direction:column;align-items:flex-start;gap:4px}}.waitlist-form{grid-template-columns:1.3fr 1fr 1fr 1.3fr auto;align-items:center;gap:9px;margin-top:20px;display:grid}.waitlist-form select,.waitlist-form input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);outline-color:var(--theme-brand);padding:10px;font-size:10px}.waitlist-list{border-top:1px solid var(--theme-line);margin-top:17px}.waitlist-row{border-bottom:1px solid var(--theme-line);grid-template-columns:1.6fr auto auto;align-items:center;gap:14px;padding:13px 0;display:grid}.waitlist-actions{gap:6px;display:flex}@media (width<=700px){.waitlist-form{flex-direction:column;display:flex}.waitlist-form .ui-button{width:100%}.waitlist-row{grid-template-columns:1fr;gap:8px}.waitlist-actions{flex-wrap:wrap}}.care-plan-heading{justify-content:space-between;align-items:center;display:flex}.care-plan-form{background:var(--theme-surface-muted);border-radius:var(--theme-radius);grid-template-columns:1fr 1fr;gap:12px 14px;margin:14px 0;padding:14px;display:grid}.care-plan-form label{color:var(--theme-muted);font-size:10px;font-weight:600;display:block}.care-plan-form label>span{display:block}.care-plan-form input,.care-plan-form select,.care-plan-form textarea{border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;color:var(--theme-ink);background:var(--theme-surface);outline-color:var(--theme-brand);resize:vertical;margin-top:7px;padding:10px;font-family:inherit;font-size:11px;display:block}.care-plan-form .care-plan-note,.care-plan-form .modal-actions{grid-column:1/-1}.care-plan-list{flex-direction:column;gap:10px;display:flex}.care-plan-row{border:1px solid var(--theme-line);border-radius:var(--theme-radius);grid-template-columns:1.6fr auto auto auto;align-items:center;gap:14px;padding:13px;display:grid}.clinical-record-row{border:1px solid var(--theme-line);border-radius:var(--theme-radius);grid-template-columns:1fr auto;align-items:center;gap:14px;padding:13px;display:grid}.care-plan-info{flex-direction:column;gap:3px;min-width:0;display:flex}.care-plan-info b{color:var(--theme-ink);font-size:11px;font-weight:600}.care-plan-info span{color:var(--theme-muted);font-size:9px}.care-plan-progress{text-align:right;flex-direction:column;gap:2px;display:flex}.care-plan-progress b{color:var(--theme-ink);font-size:11px}.care-plan-progress span{color:var(--theme-muted);font-size:8px}.care-plan-actions{flex-wrap:wrap;gap:6px;display:flex}@media (width<=700px){.care-plan-form{grid-template-columns:1fr}.care-plan-row,.clinical-record-row{grid-template-columns:1fr;gap:8px}.care-plan-progress{text-align:left}}.odontogram{background:var(--theme-surface-muted);border-radius:var(--theme-radius);padding:18px 16px}.odontogram-legend{flex-wrap:wrap;gap:12px;margin-bottom:8px;display:flex}.odontogram-legend span{color:var(--theme-muted);align-items:center;gap:5px;font-size:9px;display:flex}.odontogram-legend i{border:1px solid var(--theme-line);border-radius:3px;width:9px;height:9px;display:inline-block}.odontogram-chart{flex-direction:column;align-items:center;gap:54px;padding:34px 6px;display:flex;overflow-x:auto}.dental-arch{justify-content:center;align-items:flex-start;gap:3px;display:flex}.dental-arch.lower{align-items:flex-start}.tooth-slot{flex-direction:column;flex-shrink:0;align-items:center;gap:4px;display:flex}.dental-arch.lower .tooth-slot{flex-direction:column-reverse}.tooth-shape{border:1px solid var(--theme-line);cursor:pointer;border-radius:42% 42% 45% 45%/62% 62% 38% 38%;width:20px;height:30px;padding:0;transition:transform .12s,box-shadow .12s;box-shadow:inset 0 -3px 4px #0000000f}.tooth-shape:hover{transform:scale(1.15)}.tooth-shape.selected{outline:2px solid var(--theme-brand);outline-offset:2px;transform:scale(1.1)}.tooth-label{color:var(--theme-muted);font-size:7px;font-weight:600}.tooth-panel{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);margin-top:6px;padding:14px}.tooth-panel-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.tooth-panel-heading h4{color:var(--theme-ink);margin:0;font-size:12px}.tooth-status-picker{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.tooth-status-picker button{border:1px solid var(--theme-line);color:var(--theme-muted);background:var(--theme-surface);border-radius:999px;align-items:center;gap:5px;padding:6px 10px;font-size:9px;display:flex}.tooth-status-picker button i{border-radius:50%;width:8px;height:8px;display:inline-block}.tooth-status-picker button.selected{border-color:var(--theme-brand);color:var(--theme-ink);font-weight:600}.tooth-history{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.tooth-note-form textarea{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);resize:vertical;margin-bottom:8px;padding:10px;font-family:inherit;font-size:11px}@media (width<=700px){.tooth-shape{width:15px;height:23px}.tooth-label{font-size:6px}.odontogram-chart{gap:18px;padding:24px 4px}}.inline-patient-form{background:var(--theme-surface-muted);border-radius:var(--theme-radius);flex-direction:column;gap:8px;margin:2px 0 14px;padding:12px;display:flex}.inline-patient-form input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;color:var(--theme-ink);background:var(--theme-surface);outline-color:var(--theme-brand);padding:10px;font-size:11px;display:block}.inline-patient-actions{justify-content:flex-end;gap:8px;display:flex}.group-capacity-hint{color:var(--theme-muted);text-transform:none;letter-spacing:0;font-weight:400}.group-participant-list{flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.group-participant-list li{background:var(--theme-brand-soft);color:var(--theme-brand);border-radius:999px;align-items:center;gap:6px;padding:5px 6px 5px 10px;font-size:10px;font-weight:600;display:flex}.group-participant-list li button{width:16px;height:16px;color:var(--theme-brand);background:0 0;border-radius:50%;place-items:center;font-size:12px;line-height:1;display:grid}.group-participant-list li button:hover{background:#00000014}.modal .text-button{margin:-2px 0 14px;font-size:9px;font-weight:600}.whatsapp-connect-panel b{color:var(--theme-ink);font-size:13px}.whatsapp-connect-panel img{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:#fff;margin-top:6px;padding:10px}.whatsapp-conversation-list{max-height:600px;padding:8px;overflow-y:auto}.whatsapp-conversation-row{border-radius:var(--theme-radius);cursor:pointer;align-items:center;gap:10px;padding:11px;display:flex}.whatsapp-conversation-row div{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.whatsapp-conversation-row b{color:var(--theme-ink);font-size:11px}.whatsapp-conversation-row span{color:var(--theme-muted);white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.whatsapp-human-flag{color:var(--theme-brand);flex-shrink:0}.whatsapp-thread{flex-direction:column;min-height:500px;padding:0;display:flex}.whatsapp-thread-head{border-bottom:1px solid var(--theme-line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.whatsapp-thread-head b{color:var(--theme-ink);font-size:12px}.whatsapp-thread-head span{color:var(--theme-muted);font-size:9px}.reports-month-picker{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);color:var(--theme-ink);padding:10px 12px;font-family:inherit;font-size:11px}.report-detail{padding:22px 24px}.report-filters{flex-wrap:wrap;align-items:end;gap:14px;margin-top:16px;display:flex}.report-filters label{color:var(--theme-muted);min-width:150px;font-size:10px;font-weight:600;display:block}.report-filters label:has(.combobox){min-width:220px}.report-filters input[type=date]{border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;color:var(--theme-ink);background:var(--theme-surface);margin-top:7px;padding:10px;font-family:inherit;font-size:11px;display:block}.report-filters .combobox{margin-top:7px}.column-toggle-row{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.column-toggle-row button{border:1px solid var(--theme-line);color:var(--theme-muted);background:var(--theme-surface);border-radius:999px;align-items:center;gap:5px;padding:6px 11px;font-size:9px;display:flex}.column-toggle-row button.active{border-color:var(--theme-brand);color:var(--theme-brand);background:var(--theme-brand-soft);font-weight:600}.report-export-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;display:flex}.report-hint{color:var(--theme-muted);font-size:9px}.report-table-wrap{border-top:1px solid var(--theme-line);margin-top:16px;overflow-x:auto}.report-table{border-collapse:collapse;width:100%;font-size:10px}.report-table th{text-align:left;color:var(--theme-muted);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--theme-line);white-space:nowrap;padding:10px 12px;font-size:9px;font-weight:700}.report-table td{color:var(--theme-ink);border-bottom:1px solid var(--theme-line);white-space:nowrap;padding:10px 12px}.report-print-only{display:none}@media print{body *{visibility:hidden}.report-print-only,.report-print-only *{visibility:visible}.report-print-only{width:100%;padding:24px;display:block;position:absolute;top:0;left:0}.no-print{display:none!important}}.report-print-head{margin-bottom:18px}.report-print-head b{font-size:14px}.report-print-head h2{margin:8px 0;font:600 18px Fraunces,serif}.report-print-head p{color:#333;margin:2px 0;font-size:11px}.report-print-foot{margin-top:18px}.report-print-foot p{margin:4px 0;font-size:11px}.report-signature-row{text-align:center;justify-content:space-between;gap:40px;margin-top:60px;font-size:10px;display:flex}@media (width<=900px){.report-filters{flex-direction:column;align-items:stretch}.report-filters label{min-width:0}}.whatsapp-thread-messages{flex-direction:column;flex:1;gap:8px;max-height:420px;padding:16px 18px;display:flex;overflow-y:auto}.whatsapp-bubble{border-radius:var(--theme-radius);flex-direction:column;gap:3px;max-width:70%;padding:9px 12px;font-size:11px;display:flex}.whatsapp-bubble span{color:var(--theme-ink)}.whatsapp-bubble.inbound{background:var(--theme-surface-muted);align-self:flex-start}.whatsapp-bubble.outbound{background:var(--theme-brand-soft);align-self:flex-end}.whatsapp-composer textarea{border:1px solid var(--theme-line);border-radius:var(--theme-radius);color:var(--theme-ink);background:var(--theme-surface);resize:vertical;outline-color:var(--theme-brand);flex:1;padding:10px;font-family:inherit;font-size:11px}@media (width<=800px){.whatsapp-layout{grid-template-columns:1fr}}.settings-card{padding:22px}.settings-password-form,.team-access-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:10px;margin-top:18px;display:grid}.settings-password-form label,.team-access-form label{color:var(--theme-muted);flex-direction:column;gap:7px;font-size:10px;font-weight:600;display:flex}.settings-password-form input,.team-access-form input,.team-access-form select,.team-access-row select{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);font:inherit;outline-color:var(--theme-brand);padding:10px}.team-access-form{background:var(--theme-surface-muted);border-radius:var(--theme-radius);grid-template-columns:1fr 1.2fr 1fr 1fr 1fr auto;padding:14px}.team-access-form>small{color:var(--theme-muted);grid-column:1/-1;font-size:9px}.team-access-list{border-top:1px solid var(--theme-line);margin-top:16px}.team-access-row{border-bottom:1px solid var(--theme-line);grid-template-columns:auto minmax(180px,1fr) 150px auto auto;align-items:center;gap:10px;padding:12px 0;display:grid}.team-access-person{flex-direction:column;gap:3px;min-width:0;display:flex}.team-access-person b{color:var(--theme-ink);font-size:11px}.team-access-person small{color:var(--theme-muted);text-overflow:ellipsis;font-size:9px;overflow:hidden}.team-access-row select{padding:8px;font-size:10px}@media (width<=900px){.settings-password-form,.team-access-form{grid-template-columns:1fr 1fr}.team-access-row{grid-template-columns:auto 1fr auto}.team-access-row select{grid-column:2}.team-access-row .ui-status,.team-access-row .ui-button{grid-column:3}}@media (width<=600px){.settings-password-form,.team-access-form{grid-template-columns:1fr}.team-access-row{grid-template-columns:auto 1fr}.team-access-row select,.team-access-row .ui-status,.team-access-row .ui-button{grid-column:2}.settings-password-form .ui-button,.team-access-form .ui-button{width:100%}}.whatsapp-page-heading{align-items:center}.whatsapp-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.whatsapp-connection-pill,.whatsapp-live-badge{background:var(--theme-success-soft);color:var(--theme-success);border-radius:999px;align-items:center;gap:6px;padding:7px 10px;font-size:9px;font-weight:700;display:inline-flex}.whatsapp-connection-pill i,.whatsapp-live-badge i{width:6px;height:6px;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 13%,transparent);background:currentColor;border-radius:50%}.whatsapp-connect-panel{text-align:center;color:var(--theme-muted);flex-direction:column;align-items:center;gap:11px;padding:52px 30px;font-size:10px;display:flex}.whatsapp-connect-panel h2{color:var(--theme-ink);margin:0;font:600 23px Fraunces,serif}.whatsapp-connect-panel>span{max-width:520px;line-height:1.6}.whatsapp-onboarding-icon{background:var(--theme-brand-soft);width:64px;height:64px;color:var(--theme-brand);border-radius:20px;place-items:center;margin-bottom:3px;display:grid}.whatsapp-connect-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(720px,100%);margin:18px 0;display:grid}.whatsapp-connect-steps div{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);justify-items:center;gap:6px;padding:17px;display:grid}.whatsapp-connect-steps i{background:var(--theme-brand);color:#fff;border-radius:50%;place-items:center;width:23px;height:23px;font-size:9px;font-style:normal;font-weight:700;display:grid}.whatsapp-connect-steps b{color:var(--theme-ink);font-size:10px}.whatsapp-connect-steps small{color:var(--theme-muted);font-size:8px;line-height:1.5}.whatsapp-permission-note,.whatsapp-security-note{border-radius:var(--theme-radius);background:var(--theme-surface-muted);color:var(--theme-muted);align-items:center;gap:7px;padding:10px 12px;font-size:9px;display:flex}.whatsapp-loading-panel{min-height:270px}.whatsapp-qr-panel{text-align:left;grid-template-columns:minmax(260px,1fr) 270px;justify-items:start;padding:38px 48px;display:grid}.whatsapp-qr-copy{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.whatsapp-qr-copy p{max-width:430px;color:var(--theme-muted);margin:0;font-size:11px;line-height:1.7}.whatsapp-qr-frame{border:1px solid var(--theme-line);min-width:254px;min-height:254px;box-shadow:0 12px 35px color-mix(in srgb,var(--theme-ink) 10%,transparent);background:#fff;border-radius:18px;grid-area:1/2/3;place-self:center;place-items:center;padding:11px;display:grid}.whatsapp-qr-frame img{border:0;margin:0;padding:0}.whatsapp-qr-actions{align-items:center;gap:6px;margin-top:8px;display:flex}.whatsapp-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.whatsapp-stats>div{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);align-items:center;gap:11px;padding:13px 15px;display:flex}.whatsapp-stats>div>span{width:34px;height:34px;color:var(--theme-brand);border-radius:10px;place-items:center;display:grid}.whatsapp-stats>div>span.mint{background:var(--theme-brand-soft)}.whatsapp-stats p{flex-direction:column;gap:2px;margin:0;display:flex}.whatsapp-stats b{color:var(--theme-ink);font:600 17px Fraunces,serif}.whatsapp-stats small{color:var(--theme-muted);font-size:8px}.whatsapp-inline-error{border:1px solid color-mix(in srgb,var(--theme-danger) 20%,var(--theme-line));border-radius:var(--theme-radius);background:var(--theme-danger-soft);color:var(--theme-danger);justify-content:space-between;align-items:center;gap:10px;padding:10px 13px;font-size:9px;display:flex}.whatsapp-inline-error button{color:inherit;background:0 0;font-weight:700}.whatsapp-layout{grid-template-columns:minmax(320px,360px) minmax(460px,1fr);align-items:stretch;gap:16px;display:grid}.whatsapp-conversation-list{flex-direction:column;min-height:650px;max-height:none;padding:0;display:flex;overflow:hidden}.whatsapp-list-head{justify-content:space-between;align-items:center;padding:16px 16px 11px;display:flex}.whatsapp-list-head>div:first-child{flex-direction:column;gap:3px;display:flex}.whatsapp-list-head b{color:var(--theme-ink);font:600 15px Fraunces,serif}.whatsapp-list-head small{color:var(--theme-muted);font-size:8px}.whatsapp-list-head>div:last-child{gap:3px;display:flex}.whatsapp-search{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);color:var(--theme-muted);align-items:center;gap:7px;margin:0 12px 10px;padding:9px 10px;display:flex}.whatsapp-search input{min-width:0;color:var(--theme-ink);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:9px}.whatsapp-search button{color:var(--theme-muted);background:0 0;place-items:center;display:grid}.whatsapp-filters{gap:5px;padding:0 12px 11px;display:flex;overflow-x:auto}.whatsapp-filters button{background:var(--theme-surface-muted);color:var(--theme-muted);border-radius:999px;flex:none;align-items:center;gap:5px;padding:6px 8px;font-size:8px;font-weight:600;display:inline-flex}.whatsapp-filters button.active{background:var(--theme-brand);color:#fff}.whatsapp-filters i{opacity:.75;font-style:normal}.whatsapp-conversation-scroll{border-top:1px solid var(--theme-line);flex:1;padding:6px;overflow-y:auto}.whatsapp-list-loading,.whatsapp-message-loading{color:var(--theme-muted);justify-content:center;align-items:center;gap:9px;padding:40px;font-size:9px;display:flex}.whatsapp-list-loading .persistence-spinner,.whatsapp-message-loading .persistence-spinner{width:18px;height:18px}.whatsapp-conversation-row{border-radius:var(--theme-radius);text-align:left;cursor:pointer;background:0 0;align-items:flex-start;gap:10px;width:100%;padding:11px 10px;transition:background .15s;display:flex}.whatsapp-conversation-row:hover{background:var(--theme-surface-muted)}.whatsapp-conversation-row.active{background:var(--theme-brand-soft)}.whatsapp-conversation-copy{white-space:normal;flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.whatsapp-conversation-copy>span{min-width:0;color:inherit;font-size:inherit;white-space:normal;justify-content:space-between;align-items:center;gap:8px;display:flex;overflow:visible}.whatsapp-conversation-copy b{color:var(--theme-ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.whatsapp-conversation-copy time{color:var(--theme-muted);flex:none;font-size:8px}.whatsapp-conversation-copy>small{color:var(--theme-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.whatsapp-conversation-copy em{color:var(--theme-brand);align-items:center;gap:4px;font-size:7px;font-style:normal;display:flex}.whatsapp-conversation-copy em svg:nth-of-type(2){margin-left:6px}.whatsapp-thread{flex-direction:column;min-height:650px;padding:0;display:flex;overflow:hidden}.whatsapp-thread-empty{justify-content:center;min-height:570px}.whatsapp-thread-empty>div{background:var(--theme-brand-soft);width:54px;height:54px;color:var(--theme-brand);border-radius:18px;place-items:center;display:grid}.whatsapp-thread-head{border-bottom:1px solid var(--theme-line);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.whatsapp-thread-contact{align-items:center;gap:10px;min-width:0;display:flex}.whatsapp-thread-contact>span{min-width:0;color:inherit;font-size:inherit;flex-direction:column;gap:3px;display:flex}.whatsapp-thread-contact b{color:var(--theme-ink);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.whatsapp-thread-contact small{color:var(--theme-muted);font-size:8px}.whatsapp-thread-toolbar{background:var(--theme-surface-muted);border-bottom:1px solid var(--theme-line);justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;display:flex}.whatsapp-thread-toolbar>div:first-child{color:var(--theme-brand);align-items:center;gap:8px;display:flex}.whatsapp-thread-toolbar>div:first-child>span{flex-direction:column;gap:2px;display:flex}.whatsapp-thread-toolbar b{color:var(--theme-ink);font-size:9px}.whatsapp-thread-toolbar small{color:var(--theme-muted);font-size:7px}.whatsapp-thread-actions{align-items:center;gap:8px;display:flex}.whatsapp-patient-link{width:210px}.whatsapp-patient-link .combobox-trigger,.whatsapp-patient-link .combobox-input{padding:7px 8px;font-size:9px}.whatsapp-thread-messages{background:linear-gradient(135deg,color-mix(in srgb,var(--theme-brand-soft) 28%,var(--theme-surface)) 0%,var(--theme-surface) 55%);flex-direction:column;flex:1;gap:8px;min-height:350px;max-height:450px;padding:18px;display:flex;overflow-y:auto}.whatsapp-bubble{border:1px solid var(--theme-line);max-width:min(72%,520px);box-shadow:0 2px 6px color-mix(in srgb,var(--theme-ink) 5%,transparent);border-radius:12px;flex-direction:column;gap:4px;padding:9px 11px;font-size:10px;line-height:1.5;display:flex}.whatsapp-bubble span{color:var(--theme-ink);white-space:pre-wrap;overflow-wrap:anywhere}.whatsapp-bubble time{color:var(--theme-muted);align-self:flex-end;font-size:7px}.whatsapp-bubble.inbound{background:var(--theme-surface);border-top-left-radius:3px;align-self:flex-start}.whatsapp-bubble.outbound{background:var(--theme-brand-soft);border-color:color-mix(in srgb,var(--theme-brand) 12%,var(--theme-line));border-top-right-radius:3px;align-self:flex-end}.whatsapp-composer-wrap{border-top:1px solid var(--theme-line);background:var(--theme-surface)}.whatsapp-quick-replies{gap:6px;padding:10px 18px 0;display:flex;overflow-x:auto}.whatsapp-quick-replies button{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted);border-radius:999px;flex:none;padding:6px 9px;font-size:8px}.whatsapp-quick-replies button:hover{border-color:var(--theme-brand);color:var(--theme-brand)}.whatsapp-composer{border-top:0;align-items:flex-end;gap:10px;padding:10px 18px 15px;display:flex}.whatsapp-composer textarea{border:1px solid var(--theme-line);border-radius:var(--theme-radius);min-height:48px;max-height:130px;color:var(--theme-ink);background:var(--theme-surface-muted);resize:vertical;outline-color:var(--theme-brand);flex:1;padding:10px;font-family:inherit;font-size:10px}.whatsapp-composer>div{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.whatsapp-composer>div small{color:var(--theme-muted);font-size:7px}.whatsapp-new-message-modal textarea{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);font:inherit;resize:vertical;margin-top:7px;padding:11px;font-size:10px;display:block}.whatsapp-recipient-preview{border-radius:var(--theme-radius);background:var(--theme-brand-soft);color:var(--theme-brand);align-items:center;gap:9px;padding:10px;display:flex}.whatsapp-recipient-preview span{flex-direction:column;gap:2px;display:flex}.whatsapp-recipient-preview b{color:var(--theme-ink);font-size:9px}.whatsapp-recipient-preview small{font-size:8px}.whatsapp-form-note{border-radius:var(--theme-radius);background:var(--theme-warning-soft);color:var(--theme-warning);padding:9px;font-size:9px}.whatsapp-warning-icon{background:var(--theme-danger-soft);width:44px;height:44px;color:var(--theme-danger);border-radius:13px;place-items:center;margin-bottom:15px;display:grid}.spin{animation:.8s linear infinite persistence-spin}@media (width<=980px){.whatsapp-layout{grid-template-columns:310px minmax(380px,1fr)}.whatsapp-thread-toolbar{flex-direction:column;align-items:flex-start}.whatsapp-thread-actions{width:100%}.whatsapp-patient-link{flex:1;width:auto}}@media (width<=800px){.whatsapp-page-heading{align-items:flex-start;gap:14px;display:flex}.whatsapp-heading-actions{justify-content:flex-start;margin-top:15px}.whatsapp-stats{grid-template-columns:1fr 1fr}.whatsapp-layout{grid-template-columns:1fr}.whatsapp-conversation-list{min-height:420px}.whatsapp-thread{min-height:600px}.whatsapp-qr-panel{text-align:center;align-items:center;padding:30px 20px;display:flex}.whatsapp-qr-copy{align-items:center}.whatsapp-connect-steps{grid-template-columns:1fr}.whatsapp-qr-frame{min-width:240px;min-height:240px}.whatsapp-qr-actions{flex-wrap:wrap;justify-content:center}}@media (width<=560px){.whatsapp-stats{grid-template-columns:1fr}.whatsapp-thread-actions{flex-direction:column;align-items:stretch}.whatsapp-patient-link,.whatsapp-thread-actions .ui-button{width:100%}.whatsapp-bubble{max-width:88%}.whatsapp-composer{flex-direction:column;align-items:stretch}.whatsapp-composer>div{align-items:stretch}.whatsapp-composer>div small{text-align:right}.whatsapp-heading-actions .whatsapp-connection-pill{justify-content:center;width:100%}}.whatsapp-automation-modal{flex-direction:column;width:min(1120px,96vw);max-width:none;height:min(850px,92vh);padding:0;display:flex;overflow:hidden}.automation-modal-header{border-bottom:1px solid var(--theme-line);background:linear-gradient(120deg,var(--theme-surface) 55%,var(--theme-brand-soft));flex:none;justify-content:space-between;align-items:center;gap:18px;padding:24px 30px 20px;display:flex}.automation-modal-header h2{font-size:25px}.automation-modal-header p:last-child{color:var(--theme-muted);margin:6px 0 0;font-size:10px}.automation-health{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:8px 11px;font-size:8px;font-weight:700;display:inline-flex}.automation-health i{background:var(--theme-muted);border-radius:50%;width:7px;height:7px}.automation-health.active{border-color:color-mix(in srgb,var(--theme-success) 20%,var(--theme-line));background:var(--theme-success-soft);color:var(--theme-success)}.automation-health.active i{background:var(--theme-success)}.automation-health.warning{border-color:color-mix(in srgb,var(--theme-warning) 20%,var(--theme-line));background:var(--theme-warning-soft);color:var(--theme-warning)}.automation-health.warning i{background:var(--theme-warning)}.automation-loading,.automation-load-error{color:var(--theme-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;font-size:9px;display:flex}.automation-load-error b{color:var(--theme-ink);font-size:12px}.automation-load-error span{text-align:center;max-width:430px}.automation-shell{flex:1;grid-template-columns:220px minmax(0,1fr);min-height:0;display:grid}.automation-tabs{background:var(--theme-surface-muted);border-right:1px solid var(--theme-line);flex-direction:column;gap:5px;padding:18px 12px;display:flex}.automation-tabs>button{border-radius:var(--theme-radius);width:100%;color:var(--theme-muted);text-align:left;background:0 0;align-items:center;gap:10px;padding:11px;display:flex}.automation-tabs>button:hover{background:var(--theme-surface)}.automation-tabs>button.active{background:var(--theme-surface);color:var(--theme-brand);box-shadow:0 4px 14px color-mix(in srgb,var(--theme-ink) 6%,transparent)}.automation-tabs>button>span{flex-direction:column;gap:2px;display:flex}.automation-tabs b{color:var(--theme-ink);font-size:9px}.automation-tabs small{color:var(--theme-muted);font-size:7px}.automation-sidebar-note{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);color:var(--theme-success);align-items:flex-start;gap:8px;margin-top:auto;padding:11px;display:flex}.automation-sidebar-note span{flex-direction:column;gap:3px;display:flex}.automation-sidebar-note b{font-size:8px}.automation-sidebar-note small{line-height:1.45}.automation-content{padding:24px 28px 36px;overflow-y:auto}.automation-section{flex-direction:column;gap:17px;display:flex}.automation-section-heading{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.automation-section-heading h3{color:var(--theme-ink);margin:0;font:600 19px Fraunces,serif}.automation-section-heading span{color:var(--theme-muted);margin-top:6px;font-size:9px;line-height:1.55;display:block}.automation-section-heading-actions{align-items:center}.automation-validation{border:1px solid color-mix(in srgb,var(--theme-warning) 22%,var(--theme-line));border-radius:var(--theme-radius);background:var(--theme-warning-soft);color:var(--theme-warning);flex-direction:column;gap:4px;margin-bottom:16px;padding:12px 14px;font-size:8px;display:flex}.automation-validation b{font-size:9px}.automation-footer{border-top:1px solid var(--theme-line);background:var(--theme-surface);box-shadow:0 -7px 24px color-mix(in srgb,var(--theme-ink) 5%,transparent);flex:none;justify-content:space-between;align-items:center;gap:15px;padding:12px 22px;display:flex}.automation-footer>div{color:var(--theme-success);align-items:center;gap:7px;font-size:8px;font-weight:700;display:flex}.automation-footer>div i{background:var(--theme-warning);border-radius:50%;width:7px;height:7px}.automation-footer>span{gap:8px;display:flex}.automation-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.automation-summary-grid button{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);color:var(--theme-brand);text-align:left;align-items:flex-start;gap:11px;padding:15px;transition:transform .15s,border-color .15s;display:flex}.automation-summary-grid button:hover{border-color:color-mix(in srgb,var(--theme-brand) 35%,var(--theme-line));transform:translateY(-2px)}.automation-summary-grid button>span{flex-direction:column;gap:3px;min-width:0;display:flex}.automation-summary-grid b{color:var(--theme-muted);font-size:8px}.automation-summary-grid strong{color:var(--theme-ink);text-overflow:ellipsis;font:600 16px Fraunces,serif;overflow:hidden}.automation-summary-grid small{color:var(--theme-muted);font-size:7px}.automation-journey,.automation-simulator-card,.automation-specific-rules{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);padding:17px}.automation-flow-map{justify-content:space-between;align-items:center;gap:7px;margin-top:16px;display:flex}.automation-flow-map>div{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);text-align:center;flex-direction:column;flex:1;align-items:center;gap:4px;min-width:0;padding:11px 7px;display:flex}.automation-flow-map>div>span{background:var(--theme-surface-muted);width:21px;height:21px;color:var(--theme-muted);border-radius:50%;place-items:center;margin:0;font-size:8px;font-weight:700;display:grid}.automation-flow-map>div.active{border-color:color-mix(in srgb,var(--theme-brand) 28%,var(--theme-line));background:var(--theme-brand-soft)}.automation-flow-map>div.active>span{background:var(--theme-brand);color:#fff}.automation-flow-map b{color:var(--theme-ink);font-size:8px}.automation-flow-map small{color:var(--theme-muted);font-size:7px}.automation-flow-map>i{color:var(--theme-muted);font-style:normal}.automation-simulator-card{grid-template-columns:1fr 1.25fr;align-items:start;gap:12px;display:grid}.automation-simulator-card>div:first-child{color:var(--theme-brand);align-items:flex-start;gap:9px;display:flex}.automation-simulator-card>div:first-child span{flex-direction:column;gap:3px;display:flex}.automation-simulator-card>div:first-child b{color:var(--theme-ink);font-size:9px}.automation-simulator-card>div:first-child small{color:var(--theme-muted);font-size:7px;line-height:1.45}.automation-simulator-card>input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);color:var(--theme-ink);outline-color:var(--theme-brand);grid-column:1;padding:10px;font-size:9px}.automation-simulator-card>.automation-phone-preview{grid-area:1/2/3}.automation-simulator-card.compact{margin-top:3px}.automation-toggle-card{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);text-align:left;align-items:center;gap:11px;width:100%;padding:13px;display:flex}.automation-toggle-card.active{border-color:color-mix(in srgb,var(--theme-brand) 28%,var(--theme-line));background:color-mix(in srgb,var(--theme-brand-soft) 45%,var(--theme-surface))}.automation-toggle-icon{background:var(--theme-surface-muted);width:35px;height:35px;color:var(--theme-muted);border-radius:10px;flex:none;place-items:center;display:grid}.automation-toggle-card.active .automation-toggle-icon{background:var(--theme-brand-soft);color:var(--theme-brand)}.automation-toggle-copy{flex-direction:column;flex:1;gap:3px;display:flex}.automation-toggle-copy b{color:var(--theme-ink);font-size:9px}.automation-toggle-copy small{color:var(--theme-muted);font-size:7px;line-height:1.4}.automation-switch{background:var(--theme-line);border-radius:999px;flex:none;width:32px;height:18px;transition:background .15s;position:relative}.automation-switch i{background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0002}.active>.automation-switch,.automation-inline-switch.active .automation-switch{background:var(--theme-brand)}.active>.automation-switch i,.automation-inline-switch.active .automation-switch i{transform:translate(14px)}.automation-choice-card{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);justify-content:space-between;align-items:center;gap:15px;padding:14px;display:flex}.automation-choice-card>div{flex-direction:column;gap:4px;display:flex}.automation-choice-card b{color:var(--theme-ink);font-size:9px}.automation-choice-card small{color:var(--theme-muted);font-size:8px;line-height:1.45}.automation-inline-switch{border-radius:var(--theme-radius);background:var(--theme-surface);color:var(--theme-muted);flex:none;align-items:center;gap:8px;padding:8px 10px;font-size:8px;font-weight:700;display:flex}.automation-inline-switch.active{color:var(--theme-brand)}.automation-template-grid{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr);align-items:stretch;gap:13px;padding:14px;display:grid}.automation-template-editor{flex-direction:column;display:flex;position:relative}.automation-template-editor label,.automation-rule-fields label,.automation-combobox-label{color:var(--theme-ink);flex-direction:column;gap:6px;margin:0;font-size:9px;font-weight:700;display:flex}.automation-template-editor label>small{color:var(--theme-muted);font-size:7px;font-weight:400;line-height:1.4}.automation-template-editor textarea,.automation-rule-fields input,.automation-rule-fields textarea{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);width:100%;color:var(--theme-ink);font:inherit;outline-color:var(--theme-brand);resize:vertical;padding:10px;font-size:9px;line-height:1.5}.automation-variable-row{flex-wrap:wrap;gap:4px;margin-top:7px;display:flex}.automation-variable-row button{background:var(--theme-brand-soft);color:var(--theme-brand);border-radius:999px;padding:4px 6px;font-size:7px}.automation-character-count{color:var(--theme-muted);align-self:flex-end;margin-top:5px;font-size:7px}.automation-phone-preview{border:1px solid color-mix(in srgb,var(--theme-brand) 14%,var(--theme-line));background:linear-gradient(145deg,#eef4f0,#f8faf8);border-radius:12px;flex-direction:column;min-height:118px;padding:10px;display:flex}.automation-phone-head{color:var(--theme-brand);align-items:center;gap:5px;display:flex}.automation-phone-head span{font-size:7px;font-weight:700}.automation-preview-bubble{color:#31423c;white-space:pre-wrap;overflow-wrap:anywhere;background:#dff3e8;border-radius:10px 10px 2px;align-self:flex-end;max-width:92%;margin:auto 0 5px;padding:8px 10px;font-size:8px;line-height:1.45;box-shadow:0 2px 5px #203f3512}.automation-phone-preview>small{color:#89968f;align-self:flex-end;font-size:6px}.automation-guided-preview{border-radius:var(--theme-radius);background:var(--theme-brand-soft);padding:15px}.automation-guided-preview>b{color:var(--theme-brand);font-size:8px}.automation-guided-preview>div{align-items:center;gap:7px;margin-top:10px;display:flex;overflow-x:auto}.automation-guided-preview span{color:var(--theme-ink);flex:none;align-items:center;gap:5px;font-size:8px;display:flex}.automation-guided-preview span i{background:var(--theme-brand);color:#fff;border-radius:50%;place-items:center;width:18px;height:18px;font-size:7px;font-style:normal;display:grid}.automation-guided-preview em{color:var(--theme-brand);font-style:normal}.automation-presets{border-radius:var(--theme-radius);background:var(--theme-surface-muted);flex-wrap:wrap;align-items:center;gap:6px;padding:10px;display:flex}.automation-presets>small{color:var(--theme-muted);margin-right:3px;font-size:8px}.automation-presets button{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-brand);border-radius:999px;padding:6px 9px;font-size:8px;font-weight:600}.automation-empty{border:1px dashed var(--theme-line);border-radius:var(--theme-radius);color:var(--theme-muted);text-align:center;flex-direction:column;align-items:center;gap:6px;padding:34px;display:flex}.automation-empty b{color:var(--theme-ink);font-size:9px}.automation-empty span{font-size:8px}.automation-empty.small{padding:20px}.automation-rule-list,.automation-config-list{flex-direction:column;gap:11px;display:flex}.automation-rule-card,.automation-config-card{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);overflow:hidden}.automation-rule-card.active,.automation-config-card.active{border-color:color-mix(in srgb,var(--theme-brand) 28%,var(--theme-line));box-shadow:0 5px 16px color-mix(in srgb,var(--theme-ink) 5%,transparent)}.automation-rule-card>header{border-bottom:1px solid var(--theme-line);background:var(--theme-surface-muted);justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;display:flex}.automation-rule-card>header>div:first-child{align-items:center;gap:8px;display:flex}.automation-rule-card>header>div:first-child>span:last-child{flex-direction:column;gap:2px;display:flex}.automation-rule-card header b{color:var(--theme-ink);font-size:9px}.automation-rule-card header small{color:var(--theme-muted);font-size:7px}.automation-rule-number{background:var(--theme-surface);width:22px;height:22px;color:var(--theme-brand);border-radius:7px;place-items:center;font-size:8px;font-weight:700;display:grid}.automation-rule-actions{align-items:center;gap:3px;display:flex}.automation-rule-actions .ui-icon-button:last-child{color:var(--theme-danger)}.automation-mini-toggle{background:var(--theme-surface);color:var(--theme-muted);border-radius:999px;padding:5px 8px;font-size:7px;font-weight:700}.automation-mini-toggle.active{background:var(--theme-success-soft);color:var(--theme-success)}.automation-rule-fields{grid-template-columns:1fr 1.2fr;gap:10px;padding:13px;display:grid}.automation-rule-fields label.full{grid-column:1/-1}.automation-match-mode,.automation-scope-picker{flex-direction:column;gap:6px;display:flex}.automation-match-mode>small,.automation-scope-picker>small{color:var(--theme-ink);font-size:9px;font-weight:700}.automation-match-mode>div,.automation-scope-picker>div{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);padding:3px;display:flex}.automation-match-mode button,.automation-scope-picker button{border-radius:calc(var(--theme-radius) - 3px);color:var(--theme-muted);background:0 0;flex:1;padding:7px 5px;font-size:7px;font-weight:600}.automation-match-mode button.active,.automation-scope-picker button.active{background:var(--theme-surface);color:var(--theme-brand);box-shadow:0 1px 4px #0000000d}.automation-rule-card>.automation-phone-preview{min-height:96px;margin:0 13px 13px}.automation-config-card>.automation-toggle-card{border:0;border-radius:0}.automation-config-body{flex-direction:column;gap:12px;padding:0 13px 13px;display:flex}.automation-hours-picker{border-radius:var(--theme-radius);background:var(--theme-surface-muted);justify-content:space-between;align-items:flex-end;gap:12px;padding:11px;display:flex}.automation-hour-presets{flex-wrap:wrap;gap:5px;display:flex}.automation-hour-presets button{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted);border-radius:999px;padding:7px 9px;font-size:8px}.automation-hour-presets button.active{border-color:var(--theme-brand);background:var(--theme-brand);color:#fff}.automation-hours-picker>label{color:var(--theme-muted);flex-direction:column;gap:5px;margin:0;font-size:7px;font-weight:600;display:flex}.automation-hours-picker>label span{align-items:center;gap:5px;display:flex}.automation-hours-picker input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:64px;color:var(--theme-ink);margin:0;padding:7px;font-size:8px}.automation-specific-rules{flex-direction:column;gap:13px;margin-top:4px;display:flex}.automation-rule-card.reminder{padding-bottom:13px}.automation-rule-card.reminder>.automation-scope-picker,.automation-rule-card.reminder>.automation-combobox-label,.automation-rule-card.reminder>.automation-hours-picker,.automation-rule-card.reminder>.automation-template-grid{margin:13px 13px 0}.automation-combobox-label .combobox{margin-top:1px}@media (width<=900px){.whatsapp-automation-modal{width:96vw}.automation-shell{grid-template-columns:180px 1fr}.automation-tabs{padding:15px 9px}.automation-content{padding:20px}.automation-template-grid,.automation-summary-grid{grid-template-columns:1fr}.automation-flow-map{flex-direction:column;align-items:stretch}.automation-flow-map>i{align-self:center;transform:rotate(90deg)}.automation-simulator-card{grid-template-columns:1fr}.automation-simulator-card>.automation-phone-preview{grid-area:auto/1}}@media (width<=650px){.whatsapp-automation-modal{width:98vw;height:96vh}.automation-modal-header{flex-direction:column;align-items:flex-start;padding:19px 20px 14px}.automation-shell{flex-direction:column;display:flex}.automation-tabs{border-right:0;border-bottom:1px solid var(--theme-line);flex-direction:row;flex:none;padding:8px;overflow-x:auto}.automation-tabs>button{width:auto;min-width:max-content;padding:8px}.automation-tabs>button small,.automation-sidebar-note{display:none}.automation-content{padding:17px 14px 28px}.automation-section-heading-actions{flex-direction:column;align-items:flex-start}.automation-section-heading-actions .ui-button{width:100%}.automation-choice-card,.automation-hours-picker{flex-direction:column;align-items:stretch}.automation-rule-fields{grid-template-columns:1fr}.automation-rule-fields label.full{grid-column:auto}.automation-rule-card>header{flex-direction:column;align-items:flex-start}.automation-rule-actions{align-self:flex-end}.automation-template-grid{padding:11px}.automation-footer{flex-direction:column;align-items:flex-start}.automation-footer>span{width:100%}.automation-footer>span .ui-button{flex:1}}.agenda-group-card{border-bottom:1px solid #f0f1ee;padding:14px 0}.agenda-entry:last-child .agenda-group-card{border-bottom:0}.agenda-group-head{border-bottom:1px dashed var(--theme-line);align-items:center;gap:14px;margin-bottom:8px;padding-bottom:10px;display:flex}.agenda-group-head time{color:var(--theme-brand);font-size:11px;font-weight:700}.agenda-group-head>div{flex-direction:column;flex:1;gap:2px;display:flex}.agenda-group-head>div b{color:var(--theme-ink);font-size:11px}.agenda-group-head>div span{color:var(--theme-muted);font-size:9px}.agenda-group-count{background:var(--theme-brand-soft);color:var(--theme-brand);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:5px 10px;font-size:9px;font-weight:600;display:flex}.agenda-group-participants{flex-direction:column;gap:8px;display:flex}.agenda-group-participant{align-items:center;gap:12px;padding:6px 0;display:flex}.agenda-group-participant .patient-name{flex:1}@media (width<=700px){.agenda-group-head{flex-wrap:wrap}.agenda-group-participant{flex-wrap:wrap;gap:8px}}.modal-tabs{background:#f3f5f1;border-radius:8px;gap:6px;margin:16px 0 4px;padding:3px;display:flex}.modal-tabs button{color:#75837d;background:0 0;border-radius:6px;flex:1;padding:8px 6px;font-size:10px;font-weight:600}.modal-tabs button.active{color:#286f64;background:#fff;box-shadow:0 1px 3px #2633301f}.metric-grid.without-revenue{grid-template-columns:repeat(3,1fr)}@media (width<=1050px){.metric-grid.without-revenue{grid-template-columns:repeat(2,1fr)}}.toast{border:1px solid color-mix(in srgb, var(--accent,#6ea493) 30%, transparent);background:color-mix(in srgb, var(--accent,#6ea493) 14%, white);max-width:min(340px,100vw - 32px);color:var(--brand,#285e55);padding:9px 13px;font-size:10px;top:82px;right:24px;box-shadow:0 8px 24px #20473d1f}.toast span{color:var(--brand,#285e55)}.agenda-filters{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);grid-template-columns:repeat(3,minmax(140px,1fr)) minmax(190px,1.35fr) auto;align-items:end;gap:10px;padding:14px 16px;display:grid}.agenda-filters label{color:var(--theme-muted);gap:6px;font-size:9px;font-weight:600;display:grid}.agenda-filters select,.agenda-filters input{border:1px solid var(--theme-line);border-radius:calc(var(--theme-radius) - 2px);outline-color:var(--theme-brand);width:100%;height:36px;color:var(--theme-ink);background:#fff;padding:0 10px;font-size:10px}.agenda-own-view{border-radius:calc(var(--theme-radius) - 2px);background:var(--theme-brand-soft);height:36px;color:var(--theme-brand);flex-direction:column;justify-content:center;padding:0 11px;display:flex}.agenda-own-view small{letter-spacing:.7px;font-size:7px}.agenda-own-view b{font-size:10px}@media (width<=900px){.agenda-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-filters .ui-button{justify-self:start}}@media (width<=560px){.agenda-filters{grid-template-columns:1fr}}.services-heading-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.services-unsaved{border-radius:var(--theme-radius);background:var(--theme-warning-soft);color:var(--theme-warning);padding:6px 9px;font-size:9px;font-weight:700}.services-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.service-summary-card{align-items:center;gap:12px;padding:16px 18px;display:flex}.service-summary-card>span,.service-card-icon{border-radius:var(--theme-radius);background:var(--theme-brand-soft);width:36px;height:36px;color:var(--theme-brand);flex:none;place-items:center;display:grid}.service-summary-card div{flex-direction:column;gap:3px;display:flex}.service-summary-card strong{color:var(--theme-ink);font:600 20px Fraunces,serif}.service-summary-card small{color:var(--theme-muted);font-size:9px}.service-editor{padding:22px 24px}.service-editor-heading{justify-content:space-between;align-items:flex-start;display:flex}.service-editor-heading h2,.services-toolbar h2{color:var(--theme-ink);margin:0;font:600 18px Fraunces,serif}.service-editor-grid{grid-template-columns:minmax(180px,1.4fr) minmax(160px,1fr) 120px 140px;gap:10px;margin-top:20px;display:grid}.service-field{color:var(--theme-muted);flex-direction:column;gap:7px;font-size:9px;font-weight:700;display:flex}.service-field input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);outline-color:var(--theme-brand);background:var(--theme-surface);width:100%;height:40px;color:var(--theme-ink);padding:0 11px;font-size:10px}.service-field.compact>div{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);align-items:center;height:40px;padding:0 10px;display:flex}.service-field.compact input{background:0 0;border:0;height:38px;padding:0}.service-field.compact small{color:var(--theme-muted);font-size:9px}.service-relations{grid-template-columns:1fr 1fr;gap:12px;margin-top:19px;display:grid}.service-relations fieldset{border:1px solid var(--theme-line);border-radius:var(--theme-radius);min-width:0;padding:14px}.service-relations legend{color:var(--theme-ink);align-items:center;gap:6px;padding:0 6px;font-size:10px;font-weight:700;display:flex}.service-relations fieldset>p{color:var(--theme-muted);margin:8px 0 0;font-size:9px}.service-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.service-option-grid button{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);min-width:0;color:var(--theme-ink);text-align:left;flex-direction:column;gap:3px;padding:9px 10px;font-size:9px;display:flex}.service-option-grid button small{color:var(--theme-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.service-option-grid button.selected{border-color:var(--theme-brand);background:var(--theme-brand-soft);color:var(--theme-brand)}.service-form-error{border-radius:var(--theme-radius);background:var(--theme-danger-soft);color:var(--theme-danger);margin:14px 0 0;padding:9px 11px;font-size:9px}.service-editor-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.service-group-toggle{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);color:var(--theme-ink);align-items:center;gap:10px;margin-top:14px;padding:12px 14px;font-size:10px;font-weight:600;display:flex}.service-group-toggle input[type=checkbox]{width:auto}.service-group-capacity{color:var(--theme-muted);align-items:center;gap:7px;margin-left:auto;font-size:9px;font-weight:400;display:flex}.service-group-capacity input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:52px;color:var(--theme-ink);text-align:center;padding:6px 8px;font-size:10px}.services-catalog{padding:0 24px 8px}.services-toolbar{border-bottom:1px solid var(--theme-line);justify-content:space-between;align-items:center;gap:20px;padding:20px 0 16px;display:flex}.services-toolbar>div:first-child p{color:var(--theme-muted);margin:5px 0 0;font-size:9px}.services-tools{align-items:center;gap:8px;display:flex}.services-search{border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:230px;height:36px;color:var(--theme-muted);align-items:center;gap:7px;padding:0 10px;display:flex}.services-search input{width:100%;min-width:0;color:var(--theme-ink);background:0 0;border:0;outline:0;font-size:9px}.services-filters{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface-muted);padding:3px;display:flex}.services-filters button{border-radius:calc(var(--theme-radius) - 3px);height:28px;color:var(--theme-muted);background:0 0;padding:0 9px;font-size:8px;font-weight:700}.services-filters button.active{background:var(--theme-surface);color:var(--theme-brand);box-shadow:0 1px 4px color-mix(in srgb,var(--theme-ink) 10%,transparent)}.service-list-redesigned{flex-direction:column;display:flex}.service-card{border-bottom:1px solid var(--theme-line);grid-template-columns:38px minmax(0,1fr) auto;gap:13px;padding:17px 0;display:grid}.service-card:last-child{border-bottom:0}.service-card.inactive{opacity:.68}.service-card-main{min-width:0}.service-card-title{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.service-card-title>div{min-width:0}.service-card-title h3{color:var(--theme-ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;font-weight:700;overflow:hidden}.service-card-title>div>span{color:var(--theme-muted);margin-top:3px;font-size:8px;display:block}.service-card-facts{align-items:center;gap:12px;margin-top:10px;display:flex}.service-card-facts span{color:var(--theme-muted);align-items:center;gap:5px;font-size:9px;display:flex}.service-card-facts strong{color:var(--theme-brand);font-size:10px}.service-card-relations{grid-template-columns:1fr 1fr;gap:12px;margin-top:11px;display:grid}.service-card-relations span{min-width:0;color:var(--theme-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.service-card-relations b{color:var(--theme-ink);margin-right:5px;font-size:8px}.service-card-actions{align-items:center;gap:5px;display:flex}.services-empty{min-height:210px}.services-empty span{text-align:center}@media (width<=900px){.services-heading{align-items:flex-start}.services-heading-actions{flex-wrap:wrap}.service-editor-grid{grid-template-columns:1fr 1fr}.services-toolbar{flex-direction:column;align-items:flex-start}.services-tools{width:100%}.services-search{flex:1}.service-card-relations{grid-template-columns:1fr}}@media (width<=700px){.services-heading-actions{justify-content:flex-start;margin-top:18px}.services-unsaved{text-align:center;width:100%}.services-summary{grid-template-columns:1fr}.service-editor,.services-catalog{padding-left:16px;padding-right:16px}.service-editor-grid,.service-relations,.service-option-grid{grid-template-columns:1fr}.services-tools{flex-direction:column;align-items:stretch}.services-search{flex:none;width:100%}.services-filters{justify-content:space-between}.services-filters button{flex:1}.service-card{grid-template-columns:34px minmax(0,1fr)}.service-card-icon{width:32px;height:32px}.service-card-actions{grid-column:2;justify-content:flex-start}.service-card-title{align-items:center}.service-card-relations span{white-space:normal}.service-editor-actions .ui-button{flex:1}}.date-picker{width:100%;position:relative}.date-picker-trigger{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);text-align:left;align-items:center;gap:9px;padding:11px;font-size:11px;display:flex}.date-picker-trigger svg:first-child{color:var(--theme-brand)}.date-picker-trigger span{flex:1}.date-picker-trigger.open{border-color:var(--theme-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-brand) 12%,transparent)}.date-picker-popover{z-index:30;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:280px;box-shadow:0 15px 35px color-mix(in srgb,var(--theme-ink) 16%,transparent);padding:14px;position:absolute;top:calc(100% + 7px);left:0}.date-picker-header{justify-content:space-between;align-items:center;gap:5px;margin-bottom:13px;display:flex}.date-picker-header b{color:var(--theme-ink);text-transform:capitalize;font:600 13px Fraunces,serif}.date-picker-header .ui-icon-button{padding:5px}.date-picker-weekdays,.date-picker-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.date-picker-weekdays{margin-bottom:5px}.date-picker-weekdays span{color:var(--theme-muted);font-size:8px;font-weight:700}.date-picker-grid button,.date-picker-grid>span{border-radius:var(--theme-radius);place-items:center;height:29px;display:grid}.date-picker-grid button{color:var(--theme-ink);background:0 0;font-size:10px}.date-picker-grid button:hover{background:var(--theme-brand-soft);color:var(--theme-brand)}.date-picker-grid button.selected{background:var(--theme-brand);color:#fff;font-weight:700}.date-picker-today{border-top:1px solid var(--theme-line);width:100%;color:var(--theme-brand);background:0 0;margin-top:10px;padding-top:10px;font-size:9px;font-weight:700}.date-picker-grid button.past,.date-picker-grid button:disabled{color:var(--theme-muted);opacity:.35;cursor:not-allowed}.date-picker-grid button.past:hover,.date-picker-grid button:disabled:hover{color:var(--theme-muted);background:0 0}.ui-button:disabled{cursor:not-allowed;opacity:.45;transform:none}.ui-button{border-radius:var(--theme-radius);cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;font-weight:600;transition:background .18s,transform .18s,box-shadow .18s;display:inline-flex}.ui-button:hover{transform:translateY(-1px)}.ui-button-md{padding:12px 17px;font-size:11px}.ui-button-sm{padding:7px 10px;font-size:9px}.ui-button-primary{background:var(--theme-brand);color:#fff;box-shadow:0 4px 12px color-mix(in srgb,var(--theme-brand) 20%,transparent)}.ui-button-primary:hover{background:var(--theme-brand-strong)}.ui-button-secondary{background:var(--theme-surface-muted);color:var(--theme-ink)}.ui-button-quiet{color:var(--theme-brand);background:0 0}.ui-button-danger{background:var(--theme-danger-soft);color:var(--theme-danger)}.ui-icon-button{color:var(--theme-muted);cursor:pointer;border-radius:var(--theme-radius);background:0 0;border:0;place-items:center;padding:6px;display:grid}.ui-icon-button:hover{background:var(--theme-surface-muted);color:var(--theme-brand)}.ui-panel{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius)}.ui-status{border-radius:var(--theme-radius);white-space:nowrap;width:max-content;padding:5px 8px;font-size:8px;display:inline-flex}.ui-status-success{background:var(--theme-success-soft);color:var(--theme-success)}.ui-status-warning{background:var(--theme-warning-soft);color:var(--theme-warning)}.ui-status-danger{background:var(--theme-danger-soft);color:var(--theme-danger)}.ui-status-neutral{background:var(--theme-surface-muted);color:var(--theme-muted)}.ui-avatar{border-radius:var(--theme-radius);flex:none;place-items:center;font-size:9px;font-weight:700;display:grid}.ui-avatar-md{width:30px;height:30px}.ui-avatar-sm{border-radius:50%;width:28px;height:28px}.ui-avatar-mint{background:var(--theme-brand-soft);color:var(--theme-brand)}.ui-avatar-yellow{background:var(--theme-warning-soft);color:var(--theme-warning)}.ui-avatar-coral{background:var(--theme-accent-soft);color:var(--theme-danger)}.ui-avatar-lilac{color:#7a6791;background:#eae5f2}.ui-field{color:var(--theme-muted);font-size:10px;font-weight:600;display:block}.ui-field>span{display:block}.ui-field input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;color:var(--theme-ink);background:var(--theme-surface);outline-color:var(--theme-brand);margin-top:7px;padding:11px;font-size:11px;display:block}.ui-field small{margin-top:5px;font-size:9px;font-weight:400;display:block}.combobox{width:100%;position:relative}.combobox-trigger,.combobox-input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);text-align:left;align-items:center;gap:9px;padding:11px;font-family:inherit;font-size:11px;display:flex}.combobox-trigger{justify-content:space-between}.combobox-trigger:disabled{opacity:.55;cursor:not-allowed}.combobox-trigger svg{color:var(--theme-muted);flex-shrink:0}.combobox-placeholder{color:var(--theme-muted)}.combobox-input{outline-color:var(--theme-brand)}.combobox-popover{z-index:30;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:100%;max-height:240px;box-shadow:0 15px 35px color-mix(in srgb,var(--theme-ink) 16%,transparent);padding:6px;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto}.combobox-popover button{border-radius:var(--theme-radius);width:100%;color:var(--theme-ink);text-align:left;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:11px;display:flex}.combobox-popover button:hover{background:var(--theme-surface-muted)}.combobox-popover button.selected{background:var(--theme-brand-soft);color:var(--theme-brand);font-weight:600}.combobox-popover button small{color:var(--theme-muted);font-size:9px;font-weight:400}.combobox-empty{color:var(--theme-muted);text-align:center;padding:10px;font-size:10px}.time-picker{width:100%;position:relative}.time-picker-trigger{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);width:100%;color:var(--theme-ink);text-align:left;align-items:center;gap:9px;padding:11px;font-size:11px;display:flex}.time-picker-trigger:disabled{opacity:.55;cursor:not-allowed}.time-picker-trigger svg{color:var(--theme-muted);flex-shrink:0}.time-picker-popover{z-index:30;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius);width:240px;max-height:220px;box-shadow:0 15px 35px color-mix(in srgb,var(--theme-ink) 16%,transparent);padding:10px;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto}.time-picker-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.time-picker-grid button{border-radius:var(--theme-radius);background:var(--theme-surface-muted);color:var(--theme-ink);text-align:center;padding:9px 6px;font-size:10px;font-weight:600}.time-picker-grid button:hover{background:var(--theme-brand-soft)}.time-picker-grid button.selected{background:var(--theme-brand);color:#fff}.auth-page{background:var(--theme-page);min-height:100vh;color:var(--theme-ink);grid-template-columns:minmax(360px,.95fr) minmax(440px,1.05fr);display:grid}.auth-brand-panel{background:var(--theme-brand);color:#fff;flex-direction:column;min-height:100vh;padding:48px 58px;display:flex;position:relative;overflow:hidden}.auth-brand-panel:before,.auth-brand-panel:after{content:"";background:color-mix(in srgb,var(--theme-accent) 25%,transparent);border-radius:50%;position:absolute}.auth-brand-panel:before{width:440px;height:440px;bottom:-140px;right:-220px}.auth-brand-panel:after{width:230px;height:230px;top:-150px;right:40px}.auth-brand{z-index:1;align-items:center;gap:12px;display:flex;position:relative}.auth-brand>span{width:42px;height:42px;color:var(--theme-brand);background:#fff;border-radius:13px;place-items:center;font:600 29px Fraunces,serif;display:grid;transform:rotate(-5deg)}.auth-brand>div{flex-direction:column;display:flex}.auth-brand b{font:600 25px Fraunces,serif}.auth-brand small{color:#ffffffb8;margin-top:2px;font-size:9px}.auth-brand-copy{z-index:1;max-width:500px;margin:auto 0;position:relative}.auth-kicker{color:#ffffffc9;letter-spacing:1.2px;align-items:center;gap:7px;font-size:9px;font-weight:700;display:flex}.auth-brand-copy h1{letter-spacing:-1.8px;max-width:480px;margin:20px 0 16px;font:600 clamp(38px,5vw,62px)/1.04 Fraunces,serif}.auth-brand-copy p{color:#ffffffbd;max-width:440px;margin:0;font-size:13px;line-height:1.75}.auth-trust{z-index:1;color:#ffffffc9;gap:20px;font-size:9px;display:flex;position:relative}.auth-trust span{align-items:center;gap:7px;display:flex}.auth-form-panel{place-items:center;padding:40px;display:grid}.auth-form{width:100%;max-width:390px}.auth-form-heading{margin-bottom:30px}.auth-form-heading h2{color:var(--theme-ink);margin:0;font:600 32px Fraunces,serif}.auth-form-heading>span{color:var(--theme-muted);margin-top:9px;font-size:11px;line-height:1.6;display:block}.auth-form>label{color:var(--theme-ink);flex-direction:column;gap:8px;margin:16px 0;font-size:10px;font-weight:700;display:flex}.auth-form input{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);height:46px;color:var(--theme-ink);outline:0;padding:0 13px;font-size:11px;transition:border-color .15s,box-shadow .15s}.auth-form input:focus{border-color:var(--theme-brand);box-shadow:0 0 0 3px var(--theme-brand-soft)}.auth-error{border:1px solid color-mix(in srgb,var(--theme-danger) 28%,transparent);border-radius:var(--theme-radius);background:var(--theme-danger-soft);color:var(--theme-danger);align-items:flex-start;gap:8px;margin:17px 0 0;padding:11px;font-size:10px;line-height:1.45;display:flex}.auth-error svg{flex:none}.auth-submit{border-radius:var(--theme-radius);background:var(--theme-brand);color:#fff;width:100%;height:46px;box-shadow:0 8px 20px color-mix(in srgb,var(--theme-brand) 22%,transparent);justify-content:center;align-items:center;gap:9px;margin-top:20px;font-size:11px;font-weight:700;display:flex}.auth-submit:disabled{cursor:wait;opacity:.65}.auth-submit.secondary{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-brand);box-shadow:none}.auth-help{color:var(--theme-muted);text-align:center;margin-top:18px;font-size:9px;display:block}.auth-loading{flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.auth-loading b{margin-top:6px;font:600 18px Fraunces,serif}.auth-loading small{color:var(--theme-muted);font-size:10px}.auth-spinner{border:3px solid var(--theme-brand-soft);border-top-color:var(--theme-brand);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}.session-dock{z-index:15;border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:color-mix(in srgb,var(--theme-surface) 94%,transparent);max-width:310px;box-shadow:0 10px 28px color-mix(in srgb,var(--theme-ink) 13%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;gap:9px;padding:8px 9px;display:flex;position:fixed;bottom:20px;right:22px}.session-dock-avatar{background:var(--theme-brand-soft);width:30px;height:30px;color:var(--theme-brand);border-radius:9px;flex:none;place-items:center;font-size:9px;font-weight:800;display:grid}.session-dock-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.session-dock-copy b,.session-dock-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.session-dock-copy b{color:var(--theme-ink);font-size:9px}.session-dock-copy small{color:var(--theme-muted);font-size:8px}.session-dock button{background:var(--theme-surface-muted);width:28px;height:28px;color:var(--theme-muted);border-radius:8px;place-items:center;display:grid}@media (width<=800px){.auth-page{display:block}.auth-brand-panel{min-height:auto;padding:28px 25px}.auth-brand-copy{margin:70px 0 45px}.auth-brand-copy h1{font-size:38px}.auth-trust{display:none}.auth-form-panel{padding:40px 25px 55px}.session-dock{max-width:250px;bottom:12px;right:12px}}.persistence-overlay{z-index:1000;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);cursor:wait;background:#f7f7f485;place-items:center;display:grid;position:fixed;inset:0}.persistence-indicator{color:#355e55;background:#fffffff0;border:1px solid #dfe7e2;border-radius:13px;justify-items:center;gap:7px;min-width:150px;padding:18px 22px;display:grid;box-shadow:0 14px 38px #20473d24}.persistence-indicator b{font-size:12px}.persistence-indicator small{color:#82908a;font-size:9px}.persistence-spinner{border:3px solid #dbe9e4;border-top-color:#397b6e;border-radius:50%;width:24px;height:24px;animation:.75s linear infinite persistence-spin}@keyframes persistence-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.persistence-spinner{animation-duration:1.5s}}
