 .theme-toggle{margin-left:auto;flex:0 0 38px;width:38px;height:38px;padding:0;display:grid;place-items:center;border-radius:50%;background:#fff;color:#a16207;border:1px solid #cbd5e1;font-size:23px;line-height:1;cursor:pointer}.theme-toggle:focus-visible{outline:3px solid #38bdf8;outline-offset:2px}.theme-floating{position:fixed;top:12px;right:12px;z-index:1000} @media screen {html[data-theme="dark"]{color-scheme:dark;--bg:#0f172a;--text:#e2e8f0;--muted:#aabbd0;--line:#334155;--white:#1e293b;--blue:#087ea4;--red:#fca5a5;--amber:#49391c;--shadow:0 8px 26px #0003;background:#0f172a;color:#e2e8f0}html[data-theme="dark"] a{color:#aee4f6 !important}
html[data-theme="dark"] .ghost{background:#303030 !important;border:1px solid #3c6d81 !important}
html[data-theme="dark"] .app>header{background:#303030 !important}
html[data-theme="dark"] .stats article{background:#303030 !important}
html[data-theme="dark"] .panel{background:#303030 !important}
html[data-theme="dark"] .badge{background:#1e4950 !important;color:#c0ecf5 !important}
html[data-theme="dark"] .badge.danger{background:#4d1d1d !important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border:1px solid #466476 !important;background:#303030 !important}
html[data-theme="dark"] .alert{background:#1f5237 !important;color:#c9f5e0 !important}
html[data-theme="dark"] .alert.error{background:#4d1d1d !important;color:#ebabab !important}
html[data-theme="dark"] .alert.warning{color:#f8e8bf !important}
html[data-theme="dark"] .tabs a{background:#303030 !important}
html[data-theme="dark"] .patient-hero .button{background:#303030 !important;color:#b6e7f7 !important}
html[data-theme="dark"] .timeline:before{background:#28505c !important}
html[data-theme="dark"] .timeline article{background:#303030 !important}
html[data-theme="dark"] .tooth{background:#1c3d4a !important;border:1px solid #3e687a !important}
html[data-theme="dark"] .tooth.caries{background:#4e1e1e !important;color:#e8a2a2 !important}
html[data-theme="dark"] .tooth.tratado{background:#1e374f !important;color:#acd7f5 !important}
html[data-theme="dark"] .legend span{background:#213947 !important}
html[data-theme="dark"] .legend .caries{background:#4e1e1e !important}
html[data-theme="dark"] .legend .treated{background:#1e374f !important}
html[data-theme="dark"] .login-card{background:#303030 !important}
@media(max-width:900px){}
@media(max-width:560px){}
html[data-theme="dark"] .module-search{background:#303030 !important}
html[data-theme="dark"] .toolbar form.search button.ghost{background:#303030 !important;border:1px solid #3c6d81 !important}
@media(max-width:560px){}
html[data-theme="dark"] .inline-form button{color:#aee4f6 !important}
@media(max-width:560px){}
html[data-theme="dark"] .dot{background:#1c3a49 !important}
html[data-theme="dark"] .dot.ausente{background:#35424b !important}
html[data-theme="dark"] .real-tooth:hover,html[data-theme="dark"] .real-tooth:focus{background:#1d404c !important}
html[data-theme="dark"] .arch-divider{border-top:2px solid #3b687d !important}
html[data-theme="dark"] .dentition-switch a{background:#303030 !important}
html[data-theme="dark"] .surface-count{background:#1e484e !important;color:#bce8f2 !important}
html[data-theme="dark"] .dot.sellante{background:#1f5131 !important}
html[data-theme="dark"] .dot.erupcion{background:#1d3d4d !important}
html[data-theme="dark"] .clinical-type-legend{background:#1c3749 !important}
html[data-theme="dark"] .real-tooth.record-hallazgo{background:#4a1c1c !important}
html[data-theme="dark"] .real-tooth.record-realizado{background:#1c304a !important}
html[data-theme="dark"] .record-hallazgo .record-label,html[data-theme="dark"] .record-type-hallazgo,html[data-theme="dark"] .finding-summary{background:#4e1e1e !important;color:#f09999 !important}
html[data-theme="dark"] .record-realizado .record-label,html[data-theme="dark"] .record-type-realizado,html[data-theme="dark"] .completed-summary{background:#1e3350 !important;color:#88a3ef !important}
@media(max-width:900px){}
@media(max-width:560px){}
html[data-theme="dark"] .billing-loader-card{background:#303030 !important}
html[data-theme="dark"] .printer i{background:#286a41 !important}
html[data-theme="dark"] .paper{background:#303030 !important;border:1px solid #3c6476 !important}
html[data-theme="dark"] .paper b{background:#1e4950 !important;color:#aae3f6 !important}
html[data-theme="dark"] .paper span{background:#2b4653 !important}
html[data-theme="dark"] .billing-progress{background:#243d4b !important}
@media(prefers-reduced-motion:reduce){}
html[data-theme="dark"] .inventory-focus td{background:#4f461e !important}
@media(prefers-reduced-motion:reduce){}
html[data-theme="dark"] .action-menu summary:hover{background:#1e3f4c !important}
html[data-theme="dark"] .action-menu>div{background:#303030 !important}
html[data-theme="dark"] .action-menu a:hover,html[data-theme="dark"] .action-menu button:hover{background:#1e3f4c !important}
html[data-theme="dark"] .receipt-dialog iframe{background:#303030 !important}
@media(max-width:900px){}
@media(max-width:900px){}
@media(max-width:560px){}
html[data-theme="dark"] .clinical-alert{background:#4e441e !important;color:#f9eac8 !important}
html[data-theme="dark"] .clinical-alert.risk-alto{border-color:#893434 !important;background:#4a1c1c !important;color:#ebb0b0 !important}
html[data-theme="dark"] .medical-summary article{background:#303030 !important}
html[data-theme="dark"] .badge.warning{background:#564921 !important;color:#f8e9c2 !important}
html[data-theme="dark"] .clinical-addendum{background:#48361b !important}
html[data-theme="dark"] .amendment-reason{background:#52471f !important;color:#f8e9c3 !important}
html[data-theme="dark"] .clinical-note-grid p{background:#1c3a49 !important}
html[data-theme="dark"] .clinical-links span,html[data-theme="dark"] .clinical-links a{background:#1d444e !important}
@media(max-width:900px){}
@media(max-width:560px){}
html[data-theme="dark"] .required-notice{background:#4e441e !important;color:#f9eac8 !important}
html[data-theme="dark"] .required-notice strong,html[data-theme="dark"] .required-marker,html[data-theme="dark"] .required-field>strong{color:#e29292 !important}
html[data-theme="dark"] .optional-label{background:#223b48 !important}
html[data-theme="dark"] .was-validated .required-field input:invalid,html[data-theme="dark"] .was-validated .required-field textarea:invalid,html[data-theme="dark"] .was-validated .required-field select:invalid{background:#481b1b !important}
@media(max-width:560px){}
html[data-theme="dark"] .quick-actions a{background:#303030 !important}
html[data-theme="dark"] .quick-actions b{background:#1e4950 !important}
@media(max-width:1100px){}
@media(max-width:900px){}
@media(max-width:560px){}
html[data-theme="dark"] .cash-session{background:linear-gradient(120deg,#303030,#1d444c) !important}
@media(max-width:560px){}
html[data-theme="dark"] .payment-locked{border:1px solid #348852 !important;background:linear-gradient(135deg,#1c492b,#303030) !important}
html[data-theme="dark"] .payment-locked .badge{background:#1f5132 !important;color:#c4f5dc !important}
html[data-theme="dark"] .locked-receipt{background:#1d4c2d !important;border:1px solid #33824f !important}
html[data-theme="dark"] .locked-receipt strong{color:#c4f5dc !important}
@media(max-width:600px){}
html[data-theme="dark"] .action-menu form button:hover{background:#1c2f4b !important}
html[data-theme="dark"] .action-menu .convert-action{color:#c2f8df !important}
html[data-theme="dark"] .action-menu .pse-consult{color:#a0caf4 !important}
html[data-theme="dark"] .pse-lock-card{background:#303030 !important;border:1px solid #843232 !important}
html[data-theme="dark"] .pse-lock-card h1,html[data-theme="dark"] .pse-lock-card h2{color:#eba8a8 !important}
html[data-theme="dark"] .pse-lock-body span{background:#303030 !important}
html[data-theme="dark"] .pse-denied-page{background:linear-gradient(135deg,#1d364c,#491c1c) !important}
@media(prefers-reduced-motion:reduce){}
@media(max-width:800px){}
html[data-theme="dark"] .billing-panel tr.ticket-row td{background:#491c1c !important;border-top-color:#803131 !important;border-bottom-color:#803131 !important}
html[data-theme="dark"] .billing-panel tr.ticket-row:hover td{background:#4b1d1d !important}
html[data-theme="dark"] .billing-panel tr.ticket-row .badge{background:#4e1e1e !important;color:#f0abab !important}
html[data-theme="dark"] .backup-warning{background:#4b421d !important;color:#f6cab0 !important}
@media(max-width:760px){}
@media(max-width:600px){}
html[data-theme="dark"] .diagnostic-page{background:linear-gradient(135deg,#1d414c,#1c3a49) !important}
html[data-theme="dark"] .diagnostic-status{background:#1d4c30 !important;border-bottom:1px solid #328453 !important}
html[data-theme="dark"] .diagnostic-status small{color:#c0d2ca !important}
html[data-theme="dark"] .mysql-error .diagnostic-status{background:#4a1c1c !important;border-color:#843232 !important}
html[data-theme="dark"] .mysql-error .diagnostic-status small{color:#d0b0b0 !important}
html[data-theme="dark"] .diagnostic-help{background:#4b361c !important;border:1px solid #865f33 !important}
@media(max-width:650px){}
html[data-theme="dark"] .pse-result-card{background:#303030 !important}
html[data-theme="dark"] .pse-result-icon{background:#53471f !important;color:#f7e0b3 !important}
html[data-theme="dark"] .pse-result-modal.accepted .pse-result-icon{background:#1e502f !important;color:#b3f3d0 !important}
html[data-theme="dark"] .pse-result-modal.rejected .pse-result-icon{background:#4e1e1e !important;color:#f09999 !important}
html[data-theme="dark"] .history-status.aceptado{color:#b3f3d0 !important}
html[data-theme="dark"] .history-status.error,html[data-theme="dark"] .history-status.rechazado{color:#f09999 !important}
html[data-theme="dark"] .history-status.pendiente{color:#f7e0b3 !important}
html[data-theme="dark"] .badge.sunat-accepted{background:#1e502f !important;color:#c7f3d8 !important;border:1px solid #368f56 !important}
html[data-theme="dark"] .badge.sunat-rejected{background:#4e1e1e !important;color:#f09999 !important;border:1px solid #803131 !important}
html[data-theme="dark"] .badge.sunat-pending{background:#554a20 !important;color:#f6cab0 !important;border:1px solid #8c7b35 !important}
html[data-theme="dark"] .badge.sunat-void-pending{background:#513b1f !important;color:#f4b399 !important;border:1px solid #906437 !important}
html[data-theme="dark"] .badge.sunat-internal{background:#26364a !important;color:#c5cdd8 !important;border:1px solid #435a74 !important}
html[data-theme="dark"] .badge.sunat-other{background:#1e3350 !important;color:#88a3ef !important;border:1px solid #315582 !important}
html[data-theme="dark"] .login-custom{background:#1f4a53 !important}
@media(max-width:600px){}
@media(max-width:380px){}
@media(max-height:620px) and (orientation:landscape){}
html[data-theme="dark"] .pagination{color:#bcc8d2 !important}
html[data-theme="dark"] .pagination b{color:#d6e8f5 !important}
html[data-theme="dark"] .issued-documents h2{color:#f08287 !important}
html[data-theme="dark"] .issued-item{border:1px solid #3b6176 !important;background:#1c3749 !important}
html[data-theme="dark"] .issued-item .amount{color:#d6e8f5 !important}
@media(max-width:700px){}
html[data-theme="dark"] .public-appointment-item{background:#303030 !important}
html[data-theme="dark"] .public-appointment-result dl div{background:#1e3649 !important}
@media(max-width:430px){}
html[data-theme="dark"] .appointment-alarm{border:1px solid #3b667a !important;background:#303030 !important}
html[data-theme="dark"] .appointment-alarm .alarm-icon{background:#1e3f4c !important}
html[data-theme="dark"] .appointment-alarm.is-active{background:#4c401d !important}
html[data-theme="dark"] .appointment-soon td{background:#4a3b1c !important}
html[data-theme="dark"] .status-programada{background:#1e3350 !important;color:#88a3ef !important}
html[data-theme="dark"] .status-confirmada{background:#1e502f !important;color:#c7f3d8 !important}
html[data-theme="dark"] .status-atendida{background:#261d4c !important;color:#ad87ea !important}
html[data-theme="dark"] .status-cancelada{background:#4e1e1e !important;color:#f09999 !important}
html[data-theme="dark"] .reminder-sent{background:#214c2e !important;color:#c4f2d7 !important;border:1px solid #3d8654 !important}
@media(max-width:720px){}
@media(prefers-reduced-motion:reduce){}
html[data-theme="dark"] .danger-text{color:#f09999 !important}
@media(max-width:950px){}
@media(max-width:520px){}
html[data-theme="dark"] .payment-summary>div{border:1px solid #3f6173 !important;background:#1c3a49 !important}
html[data-theme="dark"] fieldset#amountChoice{border:1px solid #3f6173 !important}
@media(max-width:700px){}
html[data-theme="dark"] .appointment-price{color:#bef7f2 !important}
html[data-theme="dark"] .appointment-price.missing{color:#f5c5a1 !important}
html[data-theme="dark"] .appointment-charge-cell .appointment-charge-button:disabled{background:#273d48 !important;color:#aeb9c1 !important;border-color:#486371 !important}
html[data-theme="dark"] .appointment-paid,html[data-theme="dark"] .appointment-paid:disabled{background:#1e502f !important;color:#c7f3d8 !important}
html[data-theme="dark"] .login-datetime{border:1px solid #36687b !important;background:linear-gradient(135deg,#1c434a,#1d414c) !important}
html[data-theme="dark"] .login-datetime-icon{color:#aae3f6 !important;background:#1f4851 !important}
html[data-theme="dark"] .login-datetime-copy span{color:#b2e8f6 !important}
html[data-theme="dark"] .login-datetime-copy time{color:#bac8d3 !important}
html[data-theme="dark"] .login-time{color:#d0e7f5 !important}
@media(max-width:600px){}
@media(max-width:380px){}
@media(max-height:720px) and (orientation:landscape){}
@media(max-width:820px){}
@media(max-width:430px){}
@media(max-height:720px) and (orientation:landscape){}
@media(max-width:820px){}
@media(max-width:430px){}
@media(max-height:720px) and (orientation:landscape) and (min-width:821px){}
@media(max-width:820px){}
@media(max-width:430px){}
html[data-theme="dark"] .quick-editor-section{background:#1b3948 !important}
html[data-theme="dark"] .record-type-buttons button,html[data-theme="dark"] .condition-buttons button{background:#303030 !important;border:1px solid #406578 !important}
html[data-theme="dark"] .record-type-buttons button.selected.finding{background:#4a1c1c !important;color:#f09999 !important;box-shadow:0 0 0 2px #7c2f2f !important}
html[data-theme="dark"] .record-type-buttons button.selected.completed{background:#1c304a !important;color:#88a3ef !important;box-shadow:0 0 0 2px #2f517d !important}
html[data-theme="dark"] .condition-buttons button:hover{background:#1d444b !important}
html[data-theme="dark"] .condition-buttons button.selected{box-shadow:0 0 0 2px #317782 !important}
html[data-theme="dark"] .surface-condition-buttons .clear-surface-choice{color:#e8aaaa !important;border-color:#873333 !important}
html[data-theme="dark"] .surface-button{background:#1c3a49 !important;border:2px solid #426a7b !important}
html[data-theme="dark"] .surface-button.selected.finding{background:#4e1e1e !important;color:#f09999 !important}
html[data-theme="dark"] .surface-button.selected.completed{background:#1e3350 !important;color:#88a3ef !important}
@media(max-width:680px){}
html[data-theme="dark"] .odontogram-direct-tools{border:1px solid #357487 !important;background:linear-gradient(145deg,#1c4049,#1d454c) !important}
html[data-theme="dark"] .direct-tool-head{border-bottom:1px solid #376b7c !important}
html[data-theme="dark"] .direct-choice{background:#303030 !important;border:1px solid #42677a !important}
html[data-theme="dark"] .direct-choice:hover{background:#1d444b !important}
html[data-theme="dark"] .direct-choice.selected{box-shadow:0 0 0 2px #327884 !important}
html[data-theme="dark"] .direct-choice.direct-record.finding.selected{box-shadow:0 0 0 2px #813131 !important}
html[data-theme="dark"] .direct-choice.direct-record.completed.selected{box-shadow:0 0 0 2px #304a80 !important}
html[data-theme="dark"] .direct-choice.erase{color:#eaa5a5 !important}
html[data-theme="dark"] .direct-selection{background:#303030 !important;border:1px solid #3b6878 !important}
html[data-theme="dark"] .mini-surface-map{border:1px solid #446779 !important;background:#1c3a49 !important}
html[data-theme="dark"] .mini-surface{background:#303030 !important}
@media(max-width:900px){}
html[data-theme="dark"] .odontogram-panel{background:linear-gradient(180deg,#303030 0,#1b3948 100%) !important}
html[data-theme="dark"] .odontogram-panel>.toolbar{border-bottom:1px solid #3a6174 !important}
html[data-theme="dark"] .clinical-type-legend{border:1px solid #3a6174 !important;background:#1e3c46 !important}
html[data-theme="dark"] .odontogram-direct-tools{border:1px solid #3b6a7d !important;background:#1c3d4a !important}
html[data-theme="dark"] .direct-tool-head>div b{color:#d0e7f5 !important}
html[data-theme="dark"] .direct-tool-head label{border:1px solid #3b6979 !important;background:#303030 !important}
html[data-theme="dark"] .direct-tool-head select{border-color:#406a7a !important;background:#1b3d48 !important}
html[data-theme="dark"] .direct-step{border:1px solid #3b6776 !important;background:#303030 !important}
html[data-theme="dark"] .direct-step>strong{color:#c4d7e4 !important}
html[data-theme="dark"] .direct-step>strong:before{background:#1e4650 !important;color:#b2e8f6 !important}
html[data-theme="dark"] .direct-choice{border-color:#426573 !important}
html[data-theme="dark"] .direct-selection{border-color:#347588 !important;background:linear-gradient(90deg,#303030,#1c404a) !important}
html[data-theme="dark"] .arch-label{color:#b3c4d0 !important}
html[data-theme="dark"] .real-tooth{border-color:#3c6475 !important;background:#303030 !important}
html[data-theme="dark"] .real-tooth.record-hallazgo{background:linear-gradient(180deg,#303030,#481b1b) !important;border-color:#873333 !important}
html[data-theme="dark"] .real-tooth.record-realizado{background:linear-gradient(180deg,#303030,#1c2e49) !important;border-color:#345488 !important}
html[data-theme="dark"] .real-tooth b{color:#d4e6f3 !important}
html[data-theme="dark"] .mini-surface-map{border:2px solid #436878 !important;background:#1f424b !important}
html[data-theme="dark"] .surface-count{background:#1d444c !important;border:1px solid #357180 !important}
html[data-theme="dark"] .odontogram-history thead{background:#1c3749 !important}
@media(max-width:1100px){}
@media(max-width:720px){}
html[data-theme="dark"] .professional-current{color:#bfd4e4 !important}
html[data-theme="dark"] .professional-single{border:1px solid #336c87 !important;background:linear-gradient(135deg,#1b3748,#1d3f4c) !important}
html[data-theme="dark"] .professional-single .professional-current{color:#ceeafa !important}
@media(max-width:700px){}
html[data-theme="dark"] .inventory-unit{color:#b3bbc8 !important}
@media(max-width:700px){}
@media screen{@media(max-width:600px){}}
html[data-theme="dark"] .reports-eyebrow{color:#aae3f6 !important}
html[data-theme="dark"] .reports-kpis article{border-top:3px solid #426978 !important}
html[data-theme="dark"] .reports-kpis article small{color:#b3bbc8 !important}
html[data-theme="dark"] .reports-pro .reports-primary{background:#1d474c !important}
html[data-theme="dark"] .reports-primary strong{color:#bdecf8 !important}
html[data-theme="dark"] .reports-sections a{border:1px solid #3c5d75 !important;background:#303030 !important}
html[data-theme="dark"] .reports-pro thead{background:#203346 !important}
html[data-theme="dark"] .reports-pro tfoot{background:#204049 !important;border-top:2px solid #3c5d75 !important}
html[data-theme="dark"] .reports-pro .empty{color:#b3bbc8 !important}
@media(max-width:1000px){}
@media(max-width:600px){}
html[data-theme="dark"] .reports-pro .reports-heading .module-exports .button{background:#52461f !important;color:#faedd2 !important;border:1px solid #887133 !important}
html[data-theme="dark"] .reports-pro .reports-heading .module-exports .button:last-child{background:#22593a !important;color:#d5f5e8 !important}
html[data-theme="dark"] .compact-ui .reports-pro .reports-kpis article{background:#27473b !important}
html[data-theme="dark"] .reports-pro .reports-sections a{background:#264d3c !important;color:#d4f3e9 !important;border-color:#427a61 !important}
html[data-theme="dark"] .reports-pro .reports-table-heading{background:#284838 !important}
html[data-theme="dark"] .reports-pro .reports-table-panel .module-exports .button{background:#1e3d4f !important;color:#c0dff2 !important;border-color:#336887 !important}
html[data-theme="dark"] .reports-pro .reports-table-panel .module-exports .button:last-child{background:#225235 !important;color:#d1f1e2 !important;border-color:#41815a !important}
html[data-theme="dark"] .reports-pro .reports-filters{background:#264535 !important}
@media screen{html[data-theme="dark"] .compact-ui aside nav a.active{box-shadow:inset 3px 0 #379062 !important}
html[data-theme="dark"] .compact-ui a{color:#c2f2e2 !important}
html[data-theme="dark"] .compact-ui button.ghost,html[data-theme="dark"] .compact-ui .button.ghost{background:#254c39 !important;color:#cef2e4 !important;border-color:#427d5d !important}
html[data-theme="dark"] .compact-ui button.ghost:hover,html[data-theme="dark"] .compact-ui .button.ghost:hover{background:#27543d !important}
html[data-theme="dark"] .compact-ui button.icon{color:#d1e9e1 !important}
html[data-theme="dark"] .compact-ui button.danger-link,html[data-theme="dark"] .compact-ui .danger-link{background:#4d221d !important;color:#e6a4a6 !important;border-color:#843232 !important}
html[data-theme="dark"] .compact-ui .panel{border-color:#456f57 !important}
html[data-theme="dark"] .compact-ui .panel>h2,html[data-theme="dark"] .compact-ui .panel>.toolbar h2{color:#ccf2e5 !important}
html[data-theme="dark"] .compact-ui main table thead th{background:#294734 !important;color:#d0e8dd !important;border-bottom-color:#457657 !important}
html[data-theme="dark"] .compact-ui main table tbody tr:nth-child(even){background:#26402d !important}
html[data-theme="dark"] .compact-ui main table tbody tr:hover{background:#234934 !important}
html[data-theme="dark"] .compact-ui .stats article{background:#254835 !important;border-color:#407856 !important}
html[data-theme="dark"] .compact-ui .stats article:nth-child(4n/**/+2){background:#1d334d !important;border-color:#315b82 !important}
html[data-theme="dark"] .compact-ui .stats article:nth-child(4n/**/+3){background:#4e3f1e !important;border-color:#867033 !important}
html[data-theme="dark"] .compact-ui .stats article:nth-child(4n/**/+4){background:#2b1d4c !important;border-color:#513182 !important}
html[data-theme="dark"] .compact-ui .stats strong{color:#d6ece2 !important}
html[data-theme="dark"] .compact-ui .stats span{color:#c2d4cb !important}
html[data-theme="dark"] .compact-ui .badge{background:#225033 !important;color:#caecda !important}
html[data-theme="dark"] .compact-ui .badge.danger{background:#4e1d1d !important;color:#e4a5a9 !important}
html[data-theme="dark"] .compact-ui .badge.warning{background:#544620 !important;color:#f7e4b8 !important}
html[data-theme="dark"] .compact-ui .tabs a{background:#2c4437 !important;border:1px solid #457458 !important;color:#cce4d8 !important}
html[data-theme="dark"] .compact-ui .module-search{background:#254733 !important;border-color:#437759 !important}
html[data-theme="dark"] .compact-ui .module-search input,html[data-theme="dark"] .compact-ui .search input{background:#303030 !important;border-color:#46775a !important}
html[data-theme="dark"] .compact-ui .cash-session{background:linear-gradient(110deg,#244c34,#224430) !important}
html[data-theme="dark"] .compact-ui .quick-actions a{background:#23472f !important;border-color:#437656 !important}
html[data-theme="dark"] .compact-ui .quick-actions b{background:#25563b !important;color:#c5f1df !important}
html[data-theme="dark"] .compact-ui dialog{border:1px solid #437b5d !important}
html[data-theme="dark"] .compact-ui .dialog-head{background:#264834 !important;color:#cceddf !important}
html[data-theme="dark"] .compact-ui .dialog-head h2{color:#cceddf !important}
html[data-theme="dark"] .compact-ui .pagination b{color:#ccedde !important}
html[data-theme="dark"] .compact-ui .alert:not(.error):not(.danger):not(.warning){background:#234c34 !important;color:#cdeadb !important;border-color:#3d8058 !important}
html[data-theme="dark"] .compact-ui .module-exports .button:first-child{background:#1e3a4f !important;color:#b4d5ed !important;border-color:#336487 !important}
html[data-theme="dark"] .compact-ui .module-exports .button:last-child{background:#22512f !important;color:#c7eed7 !important;border-color:#427f54 !important}
html[data-theme="dark"] .compact-ui .reports-pro .reports-heading .module-exports .button:first-child{background:#554820 !important;color:#f7e8c7 !important;border-color:#886f33 !important}
html[data-theme="dark"] .compact-ui .reports-pro .reports-heading .module-exports .button:last-child{background:#235b39 !important;color:#d5f2e3 !important}}
@media(max-width:600px){}
@media(prefers-reduced-motion:reduce){}
@media(max-width:750px){}
html[data-theme="dark"] .compact-ui main .action-menu>div>a,html[data-theme="dark"] .compact-ui main .action-menu>div>button,html[data-theme="dark"] .compact-ui main .action-menu>div>form>button{color:#d8eae2 !important}
html[data-theme="dark"] .compact-ui main .action-menu>div>button.danger,html[data-theme="dark"] .compact-ui main .action-menu>div>a.danger-link{background:#4a1f1c !important;color:#ea9fa6 !important}
html[data-theme="dark"] .compact-ui .receipt-dialog iframe{background:#303030 !important}
html[data-theme="dark"] .compact-ui .appointments-topbar .appointment-alarm-mini{background:#23472f !important;border:1px solid #417958 !important}
html[data-theme="dark"] .compact-ui .appointment-alarm-mini strong{color:#cee1d6 !important}
html[data-theme="dark"] .compact-ui .appointment-alarm-mini.is-active{background:#534620 !important}
html[data-theme="dark"] .compact-ui .appointment-alarm-mini #soundToggle{color:#d1ece0 !important;border:1px solid #48765b !important}
html[data-theme="dark"] .appointment-clock{color:#cdebdd !important;background:#244c34 !important;border:1px solid #427956 !important}
html[data-theme="dark"] .appointment-range{background:#254835 !important;color:#cceddd !important}
html[data-theme="dark"] .appointment-conflict{background:#52451f !important;color:#f8e4bf !important}
html[data-theme="dark"] .compact-ui aside .user a.logout-visible{background:#303030 !important;color:#cef0e3 !important;border:1px solid #3c825c !important}
html[data-theme="dark"] .compact-ui aside .user a.logout-visible:hover,html[data-theme="dark"] .compact-ui aside .user a.logout-visible:focus-visible{background:#205437 !important;color:#dff5ec !important}
html[data-theme="dark"] .public-appointment-result>h2{color:#d0ede1 !important}
html[data-theme="dark"] .public-appointment-item .public-next-message{background:#224b2f !important;color:#ccecd9 !important}
html[data-theme="dark"] .public-appointment-item dl>div:nth-child(-n/**/+2) dd{color:#d0efe2 !important}
html[data-theme="dark"] .public-status.programada{background:#1e344f !important;color:#a9cbed !important}
html[data-theme="dark"] .public-status.confirmada{background:#205334 !important;color:#c6f0da !important}
html[data-theme="dark"] .public-status.cancelada{background:#4e1e1e !important;color:#e5a2a6 !important}
html[data-theme="dark"] .public-status.atendida{background:#2e3941 !important;color:#c8d0d6 !important}
html[data-theme="dark"] .appointment-patient-picker{border:1px solid #447658 !important;background:#254432 !important}
html[data-theme="dark"] .appointment-patient-picker small{color:#c4d2cb !important}
@media(max-width:600px){}
html[data-theme="dark"] .billing-month-total{color:#b9f3cf !important}
html[data-theme="dark"] .compact-ui .billing-inline #billingMonthTotal{color:#b9f3cf !important}
@media(max-width:750px){}
html[data-theme="dark"] .receipt-dialog .receipt-share-menu summary{color:#c2f2e2 !important}
html[data-theme="dark"] .receipt-dialog .receipt-share-menu summary:hover,html[data-theme="dark"] .receipt-dialog .receipt-share-menu[open] summary{background:#275237 !important}
html[data-theme="dark"] .receipt-dialog .receipt-share-options{background:#303030 !important;border:1px solid #457458 !important}
html[data-theme="dark"] .receipt-dialog .receipt-share-options a{color:#cdeddf !important}
html[data-theme="dark"] .receipt-dialog .receipt-share-options a:hover{background:#244a30 !important}
@media(max-width:450px){}
html[data-theme="dark"] #receiptModal .receipt-share-menu>summary{background:#303030 !important;border:1px solid #45795c !important;color:#c2f2e2 !important}
html[data-theme="dark"] #receiptModal .receipt-share-menu[open]>summary{background:#245037 !important}
html[data-theme="dark"] #receiptModal .receipt-share-options{background:#303030 !important;border:1px solid #457559 !important}
html[data-theme="dark"] #receiptModal .receipt-share-options a:hover{background:#224b32 !important}
html[data-theme="dark"] #receiptModal .receipt-head-actions>button.icon{color:#cceddf !important}
@media(max-width:520px){}
@media(max-width:520px){}
html[data-theme="dark"] #receiptModal .receipt-send-btn{border:1px solid #4b735b !important;color:#ccebdd !important;background:#303030 !important}
html[data-theme="dark"] #receiptModal .receipt-send-email:hover{background:#224b32 !important}
html[data-theme="dark"] #receiptModal .receipt-head-actions>button.receipt-close-btn{border:1px solid #8e3636 !important;background:#4e1e1e !important;color:#f09999 !important}
html[data-theme="dark"] #receiptModal .receipt-head-actions>button.receipt-close-btn:hover{background:#542020 !important;color:#f0abab !important}
@media(max-width:520px){}
@media(max-width:350px){}
@media(max-width:520px){}
@media(max-width:390px){}
html[data-theme="dark"] .direct-document-type-options span{border:1px solid #435a74 !important;background:#303030 !important;color:#d0d8e3 !important}
html[data-theme="dark"] .direct-document-type-options input:checked+span{background:#1d4c30 !important;color:#c7f6de !important}
@media(max-width:380px){}
html[data-theme="dark"] .direct-billing-card .direct-document-type>legend{color:#d5e3f2 !important}
html[data-theme="dark"] .direct-billing-card .direct-document-type-options>label>span{border:1px solid #435a74 !important;background:#303030 !important;color:#d0d8e3 !important}
html[data-theme="dark"] .direct-billing-card .direct-document-type-options>label>input[type=radio]:checked+span{background:#1d4c30 !important;color:#c7f6de !important}
@media(max-width:390px){}
html[data-theme="dark"] .odontogram-panel{background:linear-gradient(180deg,#303030 0,#1b3948 100%) !important}
html[data-theme="dark"] .odontogram-direct-tools{border:1px solid #3b6a7d !important;background:#1c3d4a !important}
html[data-theme="dark"] .direct-tool-head{border-bottom:1px solid #376b7c !important}
html[data-theme="dark"] .direct-tool-head>div b{color:#d0e7f5 !important}
html[data-theme="dark"] .direct-tool-head>div small{color:#afbac4 !important}
html[data-theme="dark"] .direct-tool-head label{border:1px solid #3b6979 !important;background:#303030 !important}
html[data-theme="dark"] .direct-tool-head select{border-color:#406a7a !important;background:#1b3d48 !important}
html[data-theme="dark"] .direct-step{border:1px solid #3b6776 !important;background:#303030 !important}
html[data-theme="dark"] .direct-step>strong{color:#c4d7e4 !important}
html[data-theme="dark"] .direct-step>strong:before{background:#1e4650 !important;color:#b2e8f6 !important}
html[data-theme="dark"] .direct-choice{background:#303030 !important;color:#d5e3f2 !important;border:1px solid #446675 !important}
html[data-theme="dark"] .direct-choice:hover{background:#1d444b !important}
html[data-theme="dark"] .direct-choice.erase{color:#eaa5a5 !important}
html[data-theme="dark"] .direct-selection{border:1px solid #347588 !important;background:linear-gradient(90deg,#303030,#1c404a) !important}
html[data-theme="dark"] .real-tooth{border:1px solid #3c6475 !important;background:#303030 !important}
html[data-theme="dark"] .real-tooth.record-hallazgo{background:linear-gradient(180deg,#303030,#481b1b) !important;border-color:#873333 !important}
html[data-theme="dark"] .real-tooth.record-realizado{background:linear-gradient(180deg,#303030,#1c2e49) !important;border-color:#345488 !important}
html[data-theme="dark"] .tooth-body-button{color:#d5e3f2 !important}
html[data-theme="dark"] .tooth-body-button b{color:#d4e6f3 !important}
html[data-theme="dark"] .tooth-body-button small{color:#afbac4 !important}
html[data-theme="dark"] .mini-surface-map{border:2px solid #436878 !important;background:#1f424b !important}
html[data-theme="dark"] .mini-surface{background:#303030 !important}
html[data-theme="dark"] .mini-surface.painted.hallazgo{box-shadow:0 0 0 1px #803131 !important}
html[data-theme="dark"] .mini-surface.painted.realizado{box-shadow:0 0 0 1px #315582 !important}
html[data-theme="dark"] .surface-count{border:1px solid #357180 !important;background:#1d444c !important;color:#bce8f2 !important}
html[data-theme="dark"] .record-hallazgo .record-label{background:#4e1e1e !important;color:#f09999 !important}
html[data-theme="dark"] .record-realizado .record-label{background:#1e3350 !important;color:#88a3ef !important}
@media(max-width:1100px){}
@media(max-width:720px){}
html[data-theme="dark"] .odontogram-panel>.toolbar{border-bottom:1px solid #3a6174 !important}
html[data-theme="dark"] .professional-current{color:#bfd4e4 !important}
html[data-theme="dark"] .direct-observation{border-top:1px solid #3a6879 !important;background:#1b3948 !important}
html[data-theme="dark"] .direct-observation span b{color:#c9ddea !important}
html[data-theme="dark"] .direct-observation span small{color:#afbac4 !important}
html[data-theme="dark"] .direct-observation textarea{background:#303030 !important}
html[data-theme="dark"] .direct-choice:disabled{background:#2a3941 !important}
html[data-theme="dark"] .workflow-lock-note{border:1px solid #316080 !important;background:#1c324b !important;color:#bcd2ec !important}
html[data-theme="dark"] .workflow-lock-note b{color:#c1d7f2 !important}
@media(max-width:1100px){}
@media(max-width:720px){}
html[data-theme="dark"] .general-condition-preview,html[data-theme="dark"] .surface-condition-preview{border:1px solid #3a6577 !important;background:#1c3749 !important}
html[data-theme="dark"] .preview-tooth>span{color:var(--preview-color,#b3bbc8) !important}
html[data-theme="dark"] .general-condition-preview small,html[data-theme="dark"] .surface-condition-preview small{color:#afbac4 !important}
html[data-theme="dark"] .general-condition-preview b,html[data-theme="dark"] .surface-condition-preview b{color:#d5e3f2 !important}
html[data-theme="dark"] .general-condition-preview span,html[data-theme="dark"] .surface-condition-preview span{color:#b6c6d0 !important}
@media (min-width:901px) and (max-height:850px){}
@media (min-width:1100px) and (max-height:820px){}
html[data-theme="dark"] .odontogram-history-pagination{border-top:1px solid #3b6276 !important;color:#bfc9d2 !important}
html[data-theme="dark"] .odontogram-history-pagination a{border:1px solid #3d657c !important;background:#303030 !important;color:#bae2f7 !important}
html[data-theme="dark"] .cash-report{background:#303030 !important;color:#d8e3ed !important;border:1px solid #415f71 !important}
html[data-theme="dark"] .cash-report h1{color:#d2eef5 !important}
html[data-theme="dark"] .cr-header p{color:#b4bec5 !important}
html[data-theme="dark"] .cr-turn span{color:#b4bec5 !important}
html[data-theme="dark"] .cr-turn b{color:#bbebf2 !important}
html[data-theme="dark"] .cr-meta span,html[data-theme="dark"] .cr-summary span,html[data-theme="dark"] .cr-reconcile span{color:#b4bec5 !important}
html[data-theme="dark"] .cash-report h2 small{color:#b4bec5 !important}
html[data-theme="dark"] .cr-summary{border:1px solid #415f71 !important}
html[data-theme="dark"] .cr-summary>div{border-right:1px solid #415f71 !important}
html[data-theme="dark"] .cr-reconcile>div{background:#283c41 !important}
html[data-theme="dark"] .cr-reconcile .cr-balanced{background:#204b36 !important;color:#c9f1e1 !important}
html[data-theme="dark"] .cr-reconcile .cr-difference{background:#4c2d1d !important;color:#edbaa5 !important}
html[data-theme="dark"] .cash-report .cr-note{color:#b4bec5 !important}
html[data-theme="dark"] .cr-methods{border:1px solid #415f71 !important}
html[data-theme="dark"] .cr-table th,html[data-theme="dark"] .cr-table td{border-bottom:1px solid #415f71 !important}
html[data-theme="dark"] .cr-table th{background:#263d45 !important}
html[data-theme="dark"] .cr-table small{color:#b4bec5 !important}
html[data-theme="dark"] .cr-table tfoot{background:#283c41 !important}
html[data-theme="dark"] .cr-observations{background:#253740 !important;border-left:2px solid #415f71 !important}
html[data-theme="dark"] .cr-footer{color:#b4bec5 !important;border-top:1px solid #415f71 !important}
@media(max-width:600px){}
html[data-theme="dark"] .theme-toggle{background:#334155!important;color:#e0e7ff!important;border-color:#64748b!important}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color:#e2e8f0!important;background:#1e293b!important;border-color:#475569!important}html[data-theme="dark"] .real-tooth svg{background:#f1f5f9;border-radius:5px}html[data-theme="dark"] .app>header{background:#1e293b!important} } @media print{.theme-toggle{display:none!important}}