.theme-switch{color:#52647d;white-space:nowrap;background:#fff;border:1px solid #dce3ed;border-radius:10px;align-items:center;gap:6px;min-height:40px;padding:0 10px;font-size:12px;display:inline-flex}.theme-switch svg{flex-shrink:0}.theme-switch select{width:auto;min-height:38px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 0}.theme-switch:focus-within{outline-offset:3px;outline:3px solid #668fd9}.theme-switch select:focus{box-shadow:none}.page-language{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.error-preferences{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media screen{html:root[data-theme=dark]{--bg:#101518;--surface:#1a2125;--surface-raised:#222b30;--ink:#e5eeea;--muted:#a7b8b1;--line:#303d3a;--border:#303d3a;--teal:#8bdbb8;--teal-light:#263d33;--amber:#f3c475;--amber-light:#40351f;--blue:#93bbff;--purple:#b7a9f5;background:var(--bg);color:var(--ink)}html:root[data-theme=dark] :is(body,.login-page,.partner-access-page,.tele-call-page){background:var(--bg);color:var(--ink)}html:root[data-theme=dark] :is(.sidebar,.topbar,.panel,.stat-card,.login-card,.integration-card,.settings-card,.partner-card,.visit-card,.doctor-referrals,.modal,.modal>header,.drawer,.drawer-header,.patient-drawer,.mobile-tabbar,.mobile-navigation,.mobile-patients article,.mobile-appointment-card,.ui-popover,.campaign-hero,.tele-hero,.campaign-row,.campaign-stats>div,.tele-room-card,.campaign-connection,.campaign-preview,.maintenance-stat,.partner-access-card,.partner-clinics-list>a,.settings-install>.install-app-card,.tele-call-header,.queue-card,.employee-roles article,.employee-summary>div,.rx-medication,.qm-stats>div,.pc-section,.pc-stats>div,.specialty-values>div,.mobile-appointments article,.followup-settings,.followup-rule-grid article,.aesthetic-field-group,.aesthetic-photos,.aesthetic-photo-columns>div,.tele-lobby,.medicine-suggestions,.medicine-suggestions [role=option],.medicine-search-field,.campaign-phone,.campaign-bubble,.booking-card,.booking-day,.booking-month-day,.patient-drawer-header,.patient-drawer .patient-header,.patient-drawer .record-actions,.patient-drawer .specialty-record,.insurance-card,.insurance-stats>div,.insurance-draft,.insurance-lines,.tax-line,.wa-inbox-layout,.wa-focused .wa-inbox-layout,.wa-focused .wa-thread-list,.wa-focused .wa-composer,.wa-bubble,.wa-transfer,.wa-focused .wa-transfer,.service-line,.new-payer,.toolbar,.print-toolbar){background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:none}html:root[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.ui-trigger,.clinic-switch,.simple-nav-search,.btn,.icon-btn,.language-switch,.appearance-switch,.theme-switch,.appearance-option,.ui-month-arrow,.ui-calendar-year,.wa-focused .wa-composer textarea,.wa-focused .wa-filters>.wa-search){background:var(--surface);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] .theme-switch select{background:0 0}html:root[data-theme=dark] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}html:root[data-theme=dark] :is(input,textarea,select):focus{border-color:#93bbff}html:root[data-theme=dark] :is(button,a,input,select,textarea):focus-visible{outline-color:#93bbff}html:root[data-theme=dark] :is(h1,h2,h3,h4,.stat-value,.breadcrumb b,.brand b,.form-grid>label,.login-card label,.appearance-option-heading){color:var(--ink)}html:root[data-theme=dark] :is(.quiet,small,.nav-label,.nav-item,.eyebrow,.page-heading p,.panel-header p,.stat-top,.stat-foot,.login-card>p,.login-caption,.login-divider,.page-footer,.simple-nav-group,.simple-sidebar-help>summary,.appearance-description,.appearance-picker>p,.appearance-picker-footer>span,.maintenance-page footer,.maintenance-empty,.maintenance-stat span,.care-banner p,.demo-strip,.demo-strip button,.table-tabs button,.wa-thread-preview,.wa-thread-time,.wa-thread-name,.wa-list-title,.patient-drawer-nav button){color:var(--muted)}html:root[data-theme=dark] :is(th,.panel-toolbar,.support-card,.appearance-storage,.appearance-swatch,.maintenance-note,.campaign-preview,.avatar,.network-page .network-url,.mobile-navigation-grid button,.install-app-card,.demo-strip,.care-banner,.count,.table-tabs span,.flow-track,.clinic-icon,.doctor-avatar,.queue-summary,.result,.invoice-total,.rx-editor .rx-consent,.qm-current,.wa-header,.wa-safe,.wa-notice,.pc-notes,.pc-order-totals,.pc-preview,.specialty-heading,.specialty-field-tags span,.sync-capabilities,.install-guide section,.mobile-nav-search,.followup-summary>span,.followup-reminder-row details,.medicine-list-heading,.medicine-add,.campaign-detail-preview,.campaign-phone-header,.booking-summary,.booking-day>header,.booking-weekday,.booking-month-day.outside-month,.patient-drawer-nav,.patient-drawer-nav button,.insurance-empty,.tax-summary,.tax-invoice-links,.wa-connect-banner,.wa-message-list,.wa-focused .wa-message-list,.wa-focused .wa-chat-tools,.wa-demo-banner,.wa-focused .wa-demo-active,.service-totals,.billing-tax-handoff,.acceptance-chips>span,.acceptance-empty){background:var(--surface-raised);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] :is(td,th,.panel-header,.panel-toolbar,.sidebar-bottom,.user,.demo-strip,.page-footer,.simple-sidebar-help,.network-page .network-options label,.maintenance-choice,.maintenance-backup,.public-branch-hours,.stat-foot){border-color:var(--line)}html:root[data-theme=dark] :is(.btn:hover,.icon-btn:hover,.nav-item:hover,tbody tr:hover,.appearance-switch:hover,.ui-option.highlighted){background:var(--surface-raised);color:var(--ink)}html:root[data-theme=dark] :is(.nav-item.active,.ui-option.chosen,.appearance-option.selected,.mobile-navigation-grid button.active,.maintenance-choice:has(input:checked)){color:#8bdbb8;background:#23372e;border-color:#375b48}html:root[data-theme=dark] :is(.btn.primary,.btn.primary:hover,.ui-calendar button.selected,.ui-calendar .chosen){color:#102a1d;background:#93dbb6;border-color:#93dbb6}html:root[data-theme=dark] :is(.error,.danger,.badge.red){color:#ffb4bd;background:#44272f;border-color:#79424c}html:root[data-theme=dark] :is(.success,.maintenance-status,.sync-status,.badge.green){color:#94e2c9;background:#193c37;border-color:#397969}html:root[data-theme=dark] :is(.warning,.sync-status.pending,.badge.amber){color:#f3d391;background:#40351f;border-color:#7a6536}html:root[data-theme=dark] :is(.info-banner,.appearance-switch b,.appearance-settings-icon){color:#bed4ff;background:#283652;border-color:#465d87}html:root[data-theme=dark] :is(.teal,.tone-0,.status-confirmed,.status-completed,.status-done,.status-reviewed,.status-sent,.wa-patient-balance.settled,.acceptance-mode-badge){color:#94e2c9;background:#193c37}html:root[data-theme=dark] :is(.amber,.tone-1,.status-arrived,.status-pending,.status-requested,.status-draft,.wa-status.waiting,.wa-patient-balance.has-dues){color:#f3d391;background:#40351f}html:root[data-theme=dark] :is(.blue,.tone-2,.status-in-progress,.status-received,.status-active,.wa-focused .wa-bubble.outbound){color:#bed4ff;background:#253957}html:root[data-theme=dark] :is(.purple,.tone-3,.status-ready,.wa-focused .wa-bubble.internal){color:#d0bdf7;background:#352d4e}html:root[data-theme=dark] :is(.rose,.overdue,.allergy,.status-cancelled,.status-no-show,.status-failed){color:#ffb4bd;background:#44272f}html:root[data-theme=dark] :is(.wa-thread.selected,.wa-focused .wa-thread.selected,.wa-status-tabs button.active,.wa-composer-mode button.active,.booking-day.is-today>header,.booking-month-day.is-today){color:#bed4ff;background:#283652}html:root[data-theme=dark] :is(.sheet,.print-card),html:root[data-theme=dark] :is(.clinic-letterhead-preview,.rx-print-frame,.smart-card-preview,.body-map-canvas,.dental-jaw){color:#20332e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html:root[data-theme=dark] :is(.clinic-letterhead-preview,.rx-print-frame,.smart-card-preview,.body-map-canvas,.dental-jaw,.sheet,.print-card) :is(h1,h2,h3,h4,small){color:#20332e}html:root[data-theme=dark] .modal::backdrop{background:#030810b3}html:root[data-theme=dark] img[src="/branding/madar-logo.svg"]{content:url(/branding/madar-logo-dark.svg)}html:root[data-theme=dark] .theme-switch select option{background:var(--surface);color:var(--ink)}html:root[data-theme=dark] :is(.bg-white,.bg-slate-50,.bg-gray-50){background-color:var(--surface)}html:root[data-theme=dark] :is(.text-slate-900,.text-slate-800,.text-slate-700,.text-gray-900){color:var(--ink)}html:root[data-theme=dark] :is(.text-slate-600,.text-slate-500,.text-gray-500){color:var(--muted)}html:root[data-theme=dark][data-design=simple]{--teal:#62d5b4;--teal-light:#193c37}html:root[data-theme=dark][data-design=simple] .btn.primary{color:#fff;background:#276e5b;border-color:#62d5b4}html:root[data-theme=dark] .error-page :is(p,.hint,footer,.brand small){color:var(--muted)}html:root[data-theme=dark] .error-page :is(.language,.action,.symbol,.satellite,.eyebrow){background:var(--surface);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] .error-page .action.primary{color:#fff;background:#285bad}html:root[data-theme=dark] .error-page .code{color:#303d3a}html:root[data-theme=dark] .error-page .halo{border-color:var(--line);background:radial-gradient(circle,#243954,#0000 72%)}html:root[data-theme=dark] .error-page .divider{background:var(--line)}}@media (width<=760px){.theme-switch{min-height:42px;padding-inline:8px}.topbar .top-actions{flex-wrap:wrap;gap:7px}.topbar .theme-switch svg{display:none}}@media print{:root{--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important}.theme-switch{display:none!important}}@media screen{html:root[data-theme=dark]{--p-green:#8bdbb8;--p-muted:#a7b8b1;--p-line:#303d3a}html:root[data-theme=dark] :is(.p-app,.p-layout){background:var(--bg);color:var(--ink)}html:root[data-theme=dark] :is(.p-sidebar,.p-topbar,.p-panel,.p-stat,.p-plan,.p-dialog,.p-settings-card,.p-onboarding){background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:none}html:root[data-theme=dark] :is(.p-workspace,.p-side-help,.p-toolbar,.p-table-foot,.p-dialog>header,.p-settings-note,.p-inline-stats>span,.p-ticket-reply,.p-mode-tabs,.p-upload,.p-empty){background:var(--surface-raised);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] :is(.p-search,.p-button,.p-form input,.p-form select,.p-form textarea){background:var(--surface);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] :is(.p-sidebar nav button.active,.p-mode-tabs button.active,.p-badge.green,.p-icon:hover){background:var(--teal-light);color:var(--teal)}html:root[data-theme=dark] .p-button.primary{color:#102a1d;background:#93dbb6;border-color:#93dbb6}html:root[data-theme=dark] :is(.p-heading p,.p-panel-head p,.p-stat footer,.p-form-help,.p-footer,.p-nav-label,.p-workspace small,.p-environment,.p-breadcrumb,.p-user small,.p-brand small){color:var(--muted)}html:root[data-theme=dark] :is(.p-heading h1,.p-stat>b,.p-stat>div>span,.p-panel-head h2,.p-breadcrumb b,.p-user strong,.p-workspace strong,.p-form label,.p-plan-price,.p-strong){color:var(--ink)}html:root[data-theme=dark] :is(.p-panel-head,.p-dialog>header,.p-form footer,.p-stat footer,.p-footer,.p-user){border-color:var(--line)}.p-top-actions .theme-switch{justify-content:center;width:36px;height:36px;min-height:36px;padding:0;position:relative}.p-top-actions .theme-switch select{opacity:0;width:100%;height:100%;min-height:0;position:absolute;inset:0}.p-top-actions .theme-switch svg{display:block}html:root[data-theme=dark] :is(.p-date,.p-command,.p-chart-column>small,.p-workspace>span,.p-empty>div,.p-brand-label){background:var(--surface-raised);color:var(--muted);border-color:var(--line)}html:root[data-theme=dark] :is(.p-text-button,.p-side-help button,.p-chart-foot button,.p-empty button){color:var(--teal)}html:root[data-theme=dark] :is(.p-stat-icon.green,.p-onboarding-icon){color:#8bdbb8;background:#263d33}html:root[data-theme=dark] .p-stat-icon.orange{color:#e3c58d;background:#373124}html:root[data-theme=dark] .p-chart{background:repeating-linear-gradient(to top,transparent,transparent 46px,var(--line) 47px,var(--line) 48px)}html:root[data-theme=dark] .p-chart-foot{border-color:var(--line)}}html:root :is(.app-shell>.sidebar,.app-shell>.sidebar nav,.p-sidebar){scrollbar-width:none}html:root :is(.app-shell>.sidebar,.app-shell>.sidebar nav,.p-sidebar)::-webkit-scrollbar{width:0;height:0;display:none}@media screen{html:root[data-theme=dark] :is(.branch-card,.filter-group,.mini,.tele-live,.partner-clinic-choice,.body-map-selected>div){background:var(--surface);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] :is(.branch-card,.body-map-selected>div) :is(p,h3,strong){color:var(--ink)}html:root[data-theme=dark] .mini:hover{background:var(--surface-raised);color:var(--ink);border-color:var(--muted)}html:root[data-theme=dark] :is(.mini.teal,.branch-status.active,.channel-state.enabled){color:#9ed6b5;background:#263d33;border-color:#375b48}html:root[data-theme=dark] .branch-status.paused{color:#e3c58d;background:#373124}html:root[data-theme=dark] .branch-status.closed{color:#ffb4bd;background:#44272f}html:root[data-theme=dark] .branch-delete{color:#ffb4bd!important}html:root[data-theme=dark] :is(.channel-state,.radiology-summary,.badge){background:var(--surface-raised);color:var(--muted);border-color:var(--line)}html:root[data-theme=dark] :is(.channel-symbol,.install-app-symbol,.whatsapp-icon,.tele-room-icon,.care-icon,.square-icon){background:var(--teal-light);color:var(--teal)}html:root[data-theme=dark] .body-map{background:var(--surface);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] .body-map-views button[aria-pressed=true]{background:var(--teal-light);color:var(--teal)}html:root[data-theme=dark] .specialty-tooth{background:var(--surface);color:var(--ink);border-color:var(--line)}html:root[data-theme=dark] .specialty-tooth.healthy{color:#9ed6b5;background:#263d33}html:root[data-theme=dark] .specialty-tooth.caries{color:#f0bc9f;background:#442f27}html:root[data-theme=dark] .specialty-tooth.missing{background:var(--surface-raised);color:var(--muted)}html:root[data-theme=dark] :is(.specialty-tooth.filled,.specialty-tooth.crown,.specialty-tooth.root,.specialty-tooth.implant){color:#bed4ff;background:#253957}html:root[data-theme=dark] .specialty-tooth.selected{outline-color:var(--teal)}}
