html[data-theme="dark"]{color-scheme:dark;--pp-bg:#081421;--pp-panel:#0d1e2f;--pp-text:#e0eaf4;--pp-muted:#adbfcc;--pp-line:#2a4356;--pp-teal:#68d4d8}
.pp-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;border:1px solid #527182;border-radius:9px;padding:9px 12px;background:transparent;color:#d6eff5;font:600 12px/1.4 Inter,sans-serif}.pp-theme-toggle:hover{background:#19394b}.pp-theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}.pp-theme-toggle .pp-theme-sun{display:none}html[data-theme="dark"] .pp-theme-toggle .pp-theme-sun{display:block}html[data-theme="dark"] .pp-theme-toggle .pp-theme-moon{display:none}
html[data-theme="dark"] .pp-patient-heading{border-color:var(--pp-line)}html[data-theme="dark"] .pp-avatar,html[data-theme="dark"] .pp-help-panel{background:#123d46;color:#87e0dc}html[data-theme="dark"] .pp-clinic-name{color:var(--pp-teal)}html[data-theme="dark"] .pp-record-nav a{background:#142f40;color:#c7e8ed}html[data-theme="dark"] .pp-record-nav span{background:#0b2030;color:#bcd8e1}html[data-theme="dark"] .pp-panel-heading,html[data-theme="dark"] .pp-case-item+.pp-case-item{border-color:var(--pp-line)}html[data-theme="dark"] .pp-case-date{background:#173346}html[data-theme="dark"] .pp-case-item:hover,html[data-theme="dark"] .pp-document:hover{background:#142c3e}html[data-theme="dark"] .pp-case-item>.pp-icon{color:#82d9db}html[data-theme="dark"] .pp-badge{background:#143d36;color:#95e6c1}html[data-theme="dark"] .pp-table thead{background:#152d40}html[data-theme="dark"] .pp-paper{background:var(--pp-panel)}html[data-theme="dark"] .pp-paper-heading{border-color:#408f98}html[data-theme="dark"] .pp-specialty-details,html[data-theme="dark"] .pp-prescription-list section{border-color:var(--pp-line)}
@media(max-width:600px){.pp-theme-toggle [data-theme-label]{display:none}.pp-header-actions{gap:10px}}
@media print{.pp-theme-toggle{display:none!important}html[data-theme="dark"]{--pp-panel:#fff;--pp-text:#172d3c;--pp-muted:#476271;--pp-line:#c7d7df;--pp-teal:#087e8b;color-scheme:light}html[data-theme="dark"] .pp-paper{background:#fff!important}}
