/* panel-dark.css — тёмная тема панели врача. СГЕНЕРИРОВАНО tools/gen_panel_dark.cjs, руками не править:
   ручные правки — tools/panel-dark.manual.css (дописаны в конец). Включается атрибутом html[data-theme=dark]. */
html[data-theme=dark]:not(z).pwa-shell,html[data-theme=dark]:not(z).pwa-shell body{background-color:#181e1b}
html[data-theme=dark]:not(z)[data-theme=dark].pwa-shell,html[data-theme=dark]:not(z)[data-theme=dark].pwa-shell body{background-color:#181E1B}
:root[data-theme=dark]:not(z){--ink:#b2c1c7;--muted:#babfbd;--bg:#26302b;--line:#3e4f47;--green-bg:#313c35;--amber-bg:#403a32;--red-bg:#3c322f;--blue-bg:#313c35}
html[data-theme=dark] body{background:#26302b;color:#b2c1c7}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] input:focus-visible{outline:3px solid #285F50}
html[data-theme=dark] button{color:inherit}
html[data-theme=dark] button,html[data-theme=dark] a.button{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] a{color:#aec5bf}
html[data-theme=dark] button.primary{background:#30453f;border-color:#285F50;color:white}
html[data-theme=dark] button.secondary{background:#28332e}
html[data-theme=dark] button.ghost{background:transparent;border-color:transparent;color:#babfbd}
html[data-theme=dark] button.danger{color:#b89b99;border-color:#723d40}
html[data-theme=dark] button.positive{background:#313c35;color:#aec5bf;border-color:#416e53}
html[data-theme=dark] .icon{fill:none;stroke:currentColor}
html[data-theme=dark] .muted,html[data-theme=dark] small{color:#babfbd}
html[data-theme=dark] .green{background:#313c35;color:#aec5bf}
html[data-theme=dark] .amber{background:#403a32;color:#bfb4a7}
html[data-theme=dark] .red{background:#3c322f;color:#b89b99}
html[data-theme=dark] .blue{background:#313c35;color:#aec5bf}
html[data-theme=dark] .counter{background:#403a32;color:#bfb4a7}
html[data-theme=dark] .counter.message{color:#aec5bf;background:#313c35}
html[data-theme=dark] .sidebar{background:#28332e;border-right:1px solid #3e4f47}
html[data-theme=dark] .brand-line{color:#babfbd}
html[data-theme=dark] .brand-mark{background:#30453f;color:#fff}
html[data-theme=dark] .nav button{border:0;background:transparent}
html[data-theme=dark] .nav button.active{background:#313c35;color:#aec5bf}
html[data-theme=dark] .nav-separator{background:#353e38}
html[data-theme=dark] .nav label{color:#babfbd}
html[data-theme=dark] .backup{color:#babfbd}
html[data-theme=dark] .profile{border-top:1px solid #3e4f47}
html[data-theme=dark] .avatar{background:#313c35;color:#aec5bf}
html[data-theme=dark] .eyebrow{color:#babfbd}
html[data-theme=dark] .stats{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .stat{border-right:1px solid #3e4f47}
html[data-theme=dark] .stat:last-child{border:0}
html[data-theme=dark] .stat span{color:#babfbd}
html[data-theme=dark] .inbox-strip button{border:0;background:transparent;color:#aec5bf}
html[data-theme=dark] .inbox-strip .dot{background:#3f4942}
html[data-theme=dark] .schedule{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .appointment{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .appointment:last-child{border:0}
html[data-theme=dark] .appointment.next{background:#202925;box-shadow:inset 3px 0 #285F50}
html[data-theme=dark] .time small{color:#aec5bf}
html[data-theme=dark] .person .info{color:#babfbd}
html[data-theme=dark] .appt-actions .more{color:#babfbd;border:0;background:transparent}
html[data-theme=dark] .warning{color:#bfb4a7}
html[data-theme=dark] .railbox{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .slots button{color:#aec5bf;border-color:#466553}
html[data-theme=dark] .request{border-top:1px solid #3e4f47}
html[data-theme=dark] .dayfoot{color:#babfbd}
html[data-theme=dark] .filters{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .search{border:1px solid #506458;background:#28332e}
html[data-theme=dark] .search input{border:0;outline:0;color:#b2c1c7;background:transparent}
html[data-theme=dark] .search input::placeholder{color:#babfbd}
html[data-theme=dark] .tabs button{color:#babfbd;background:transparent;border-color:transparent}
html[data-theme=dark] .tabs button.selected{background:#313c35;color:#aec5bf;border-color:#466553}
html[data-theme=dark] .tabs .filters-open{border-color:#3e4f47;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .tablebox{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .records th{color:#babfbd;background:#232d28;border-bottom:1px solid #3e4f47}
html[data-theme=dark] .records td{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .records tr:last-child td{border-bottom:0}
html[data-theme=dark] .records .name{color:#b2c1c7}
html[data-theme=dark] .records .phone span{color:#babfbd}
html[data-theme=dark] .records .changed{color:#babfbd}
html[data-theme=dark] .records .contact-actions a{color:#aec5bf}
html[data-theme=dark] .records .status-note{color:#babfbd}
html[data-theme=dark] .record-end{color:#babfbd}
html[data-theme=dark] .empty{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .empty .empty-icon{background:#313c35;color:#aec5bf}
html[data-theme=dark] .empty p{color:#babfbd}
html[data-theme=dark] .skeleton{background:#313c35}
html[data-theme=dark] .skcard{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .toast{background:#263135;color:#fff;box-shadow:0 4px 20px rgba(0,0,0,0.326)}
html[data-theme=dark] .toast button{background:transparent;border:0;color:#fff}
html[data-theme=dark] .dialog-back{background:rgba(0,0,0,0.639)}
html[data-theme=dark] .dialog{background:#28332e;box-shadow:0 10px 40px rgba(0,0,0,0.326)}
html[data-theme=dark] .dialog p{color:#babfbd}
@media (max-width:700px){html[data-theme=dark] .pagehead .mobile-only{color:#babfbd;border:0;background:transparent}
html[data-theme=dark] .datebar .chevron{border:0;background:transparent}
html[data-theme=dark] .schedule{background:none;border:0}
html[data-theme=dark] .appointment{background:#28332e;border:1px solid #3e4f47!important}
html[data-theme=dark] .appointment.next{background:#28332e;box-shadow:none;border-color:#466553!important}
html[data-theme=dark] .next-label{color:#aec5bf}
html[data-theme=dark] .mobile-slots .sectionhead button{border:0;background:transparent;color:#aec5bf}
html[data-theme=dark] .bottomnav{background:#28332e;border-top:1px solid #3e4f47}
html[data-theme=dark] .bottomnav button{border:0;color:#babfbd;background:transparent}
html[data-theme=dark] .bottomnav button.active{color:#aec5bf;background:#313c35}
html[data-theme=dark] .bottomnav .navbadge{background:#403a32;color:#bfb4a7;border:1px solid #3a4a42}
html[data-theme=dark] .bottomnav .navbadge.msg{background:#30453f;color:white}
html[data-theme=dark] .mobile-add{background:#26302b;border-top:1px solid #3e4f47}
html[data-theme=dark] .filters{background:none;border:0}
html[data-theme=dark] .tabs button{border-color:#3e4f47;background:#28332e;color:#babfbd}
html[data-theme=dark] .tabletoolbar .resultlabel{color:#babfbd}
html[data-theme=dark] .tabletoolbar .row button{background:transparent;border:0}
html[data-theme=dark] .recordcard{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .recordcard .card-details{color:#babfbd}
html[data-theme=dark] .recordcard .card-phone{color:#b2c1c7}
html[data-theme=dark] .recordcard .changed{color:#babfbd}
html[data-theme=dark] .loadinglabel{color:#babfbd}}
@media (min-width:1001px){html[data-theme=dark] .today .appointment.next{box-shadow:inset 3px 0 #285F50}}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#b2c1c7}
html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{outline:2px solid #285F50}
html[data-theme=dark] .subhead{color:#babfbd}
html[data-theme=dark] .crumb{color:#aec5bf;border:0!important;background:none!important}
html[data-theme=dark] .panel{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .field{color:#b2c1c7}
html[data-theme=dark] .field input,html[data-theme=dark] .field select,html[data-theme=dark] .field textarea{border:1px solid #506458;background:#28332e}
html[data-theme=dark] .divider{background:#353e38}
html[data-theme=dark] .lineitem{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .lineitem:last-child{border:0}
html[data-theme=dark] .quiet{color:#babfbd}
html[data-theme=dark] .textlink{color:#aec5bf}
html[data-theme=dark] .hintbox{background:#313c35;color:#aec5bf}
html[data-theme=dark] .notice{border:1px solid #705b3d;background:#403a32;color:#bfb4a7}
html[data-theme=dark] .fixedbar{background:#28332e;border-top:1px solid #3e4f47}
html[data-theme=dark] .sectionlink{border:0;background:#28332e}
html[data-theme=dark] .sectionlink+.sectionlink{border-top:1px solid #3e4f47}
html[data-theme=dark] .count-neutral{background:#26302b;color:#babfbd}
html[data-theme=dark] .simple-empty .empty-icon{background:#313c35;color:#aec5bf}
html[data-theme=dark] .simple-empty p{color:#babfbd}
html[data-theme=dark] .errorbox{border:1px solid #6d3a3d;background:#3c322f;color:#b89b99}
html[data-theme=dark] .errorbox button{color:#b89b99;border-color:#723d40}
html[data-theme=dark] .record-person .phonebig{color:#babfbd}
html[data-theme=dark] .datum span{color:#babfbd}
html[data-theme=dark] .history li{border-left:1px solid #3e4f47}
html[data-theme=dark] .history li:before{border:2px solid #3a4a42;background:#30453f}
html[data-theme=dark] .slot-grid button.chosen{background:#30453f;color:white;border-color:#285F50}
html[data-theme=dark] .extras{border-top:1px solid #3e4f47}
html[data-theme=dark] .extras summary{color:#aec5bf}
html[data-theme=dark] .photo-fill{color:#aec5bf}
html[data-theme=dark] .day-summary{color:#babfbd}
html[data-theme=dark] .mini-appointment{border-top:1px solid #3e4f47}
html[data-theme=dark] .mini-appointment strong{color:#b2c1c7}
html[data-theme=dark] .mini-appointment span{color:#babfbd}
html[data-theme=dark] .form-footer{border-top:1px solid #3e4f47}
html[data-theme=dark] .weekheads{color:#babfbd}
html[data-theme=dark] .month-grid{border-top:1px solid #3e4f47;border-left:1px solid #3e4f47}
html[data-theme=dark] .month-cell{border:0!important;border-right:1px solid #3e4f47!important;border-bottom:1px solid #3e4f47!important}
html[data-theme=dark] .month-cell.outside{background:#232d28;color:#babfbd}
html[data-theme=dark] .month-cell.selected{background:#313c35}
html[data-theme=dark] .month-cell.selected .day-num{background:#30453f;color:#fff}
html[data-theme=dark] .month-cell .cell-count{color:#aec5bf;background:#313c35}
html[data-theme=dark] .month-cell .cell-preview{color:#babfbd}
html[data-theme=dark] .calendar-legend{color:#babfbd}
html[data-theme=dark] .selected-day .daytotal{color:#babfbd}
html[data-theme=dark] .day-entry{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .messages-layout{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .threadlist{border-right:1px solid #3e4f47}
html[data-theme=dark] .threadlist-head{border-bottom:1px solid #3e4f47;color:#babfbd}
html[data-theme=dark] .thread{border:0;border-bottom:1px solid #3e4f47}
html[data-theme=dark] .thread.active{background:#313c35}
html[data-theme=dark] .thread .preview{color:#babfbd}
html[data-theme=dark] .thread .threadtime{color:#babfbd}
html[data-theme=dark] .thread .unread{color:white;background:#30453f}
html[data-theme=dark] .conversation-head{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .conversation-body{background:#232d28}
html[data-theme=dark] .conversation-date{color:#babfbd}
html[data-theme=dark] .message-bubble{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .message-time{color:#babfbd}
html[data-theme=dark] .message-note{color:#babfbd}
html[data-theme=dark] .conversation-bottom{border-top:1px solid #3e4f47}
html[data-theme=dark] .conversation-bottom p{color:#babfbd}
html[data-theme=dark] .threads-caption{color:#babfbd}
html[data-theme=dark] .settings-group-head .group-icon{background:#313c35;color:#aec5bf}
html[data-theme=dark] .settings-group .backup-inline{color:#bfb4a7}
html[data-theme=dark] .days-pick button{background:#313c35;color:#aec5bf;border-color:#466553}
html[data-theme=dark] .days-pick button.off{background:#28332e;color:#babfbd;border-color:#3e4f47}
html[data-theme=dark] .toggle-row p{color:#babfbd}
html[data-theme=dark] .switch{border:0;background:transparent!important}
html[data-theme=dark] .switch:before{background:#30453f}
html[data-theme=dark] .switch:after{background:#28332e}
html[data-theme=dark] .switch[aria-checked=false]:before{background:#606d64}
html[data-theme=dark] .switch-label{color:#aec5bf}
html[data-theme=dark] .hours-preview p{color:#babfbd}
html[data-theme=dark] .periods button{background:#28332e}
html[data-theme=dark] .periods button.active{background:#313c35;border-color:#466553;color:#aec5bf}
html[data-theme=dark] .periodlabel{color:#babfbd}
html[data-theme=dark] .metric-card .label{color:#babfbd}
html[data-theme=dark] .metric-card .value small{color:#b2c1c7}
html[data-theme=dark] .metric-card .caption{color:#babfbd}
html[data-theme=dark] .chart{border-bottom:1px solid #506458}
html[data-theme=dark] .bar-column .bar{background:#30453f}
html[data-theme=dark] .bar-column .bar-value{color:#b2c1c7}
html[data-theme=dark] .chart-axis span{color:#babfbd}
html[data-theme=dark] .attendance-bar{background:#3c322f}
html[data-theme=dark] .attendance-bar span{background:#30453f}
html[data-theme=dark] .stats-footer{color:#babfbd}
html[data-theme=dark] .daily-table th,html[data-theme=dark] .daily-table td{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .daily-table th{color:#babfbd}
html[data-theme=dark] .vacation-status{background:#313c35;color:#aec5bf;border:1px solid #3c6c52}
html[data-theme=dark] .period-card{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .period-icon{background:#26302b;color:#babfbd}
html[data-theme=dark] .period-content p{color:#babfbd}
html[data-theme=dark] .vacation-help p{color:#babfbd}
html[data-theme=dark] .login-page{background:#26302b}
html[data-theme=dark] .login-box{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .login-box .doctor-name{color:#babfbd}
html[data-theme=dark] .password-wrap button{border:0;background:transparent;color:#aec5bf}
html[data-theme=dark] .login-divider{color:#babfbd}
html[data-theme=dark] .login-divider:before,html[data-theme=dark] .login-divider:after{background:#353e38}
html[data-theme=dark] .login-note{color:#babfbd}
html[data-theme=dark] .admin-role{color:#babfbd}
html[data-theme=dark] .overlay-layer{background:rgba(0,0,0,0.6)}
html[data-theme=dark] .state-dialog{background:#28332e;box-shadow:0 12px 40px rgba(0,0,0,0.326)}
html[data-theme=dark] .state-dialog p{color:#babfbd}
html[data-theme=dark] .state-dialog .conflict-person{background:#26302b}
html[data-theme=dark] .state-dialog button.danger.solid{color:white;background:#833e3a;border-color:#A44843}
html[data-theme=dark] .screen-toast{background:#263135;color:white;box-shadow:0 6px 24px rgba(0,0,0,0.326)}
html[data-theme=dark] .screen-toast button{background:transparent;color:white;border-color:transparent}
html[data-theme=dark] .screen-toast.error{background:#833e3a}
html[data-theme=dark] .screen-toast small{color:white}
@media (max-width:700px){html[data-theme=dark] .exhead .head-mobile-action{background:transparent;border:0;color:#aec5bf}
html[data-theme=dark] .record-save-mobile{background:#26302b;border-top:1px solid #3e4f47}
html[data-theme=dark] .add-form{border:0;background:transparent}
html[data-theme=dark] .other-times button{background:transparent;border:0;color:#aec5bf}
html[data-theme=dark] .photo-fill{background:#28332e}
html[data-theme=dark] .form-footer{background:#28332e;border-top:1px solid #3e4f47}
html[data-theme=dark] .month-grid{border:0}
html[data-theme=dark] .month-cell{border:0!important;background:#232d28}
html[data-theme=dark] .month-cell .cell-count{background:transparent;color:#aec5bf}
html[data-theme=dark] .threadlist{border:0}
html[data-theme=dark] .thread.active{background:#28332e}
html[data-theme=dark] .conversation .conversation-head{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .conversation .conversation-body{background:transparent}
html[data-theme=dark] .conversation .conversation-bottom{background:#28332e}
html[data-theme=dark] .settings-group .mobile-description{color:#babfbd}
html[data-theme=dark] .settings-summary-button{border:0;background:#28332e}
html[data-theme=dark] .settings .backup-foot{color:#babfbd}
html[data-theme=dark] .vacations .fixedbar{background:#26302b}
html[data-theme=dark] .login-page{background:#28332e}
html[data-theme=dark] .login-box{border:0}}
html[data-theme=dark] button:disabled{background:#313c35!important;border-color:#3e4f47!important;color:#babfbd!important}
html[data-theme=dark] .native-date>button{border:0;background:transparent;color:#aec5bf}
html[data-theme=dark] .field .native-date>input[type=date]{border:0}
:root[data-theme=dark]:not(z){--card:#28332e;--line-soft:#3d4d45}
html[data-theme=dark] a.button,html[data-theme=dark] a.td-btn{border:1px solid #3e4f47;background:#28332e;color:#b2c1c7}
html[data-theme=dark] button.danger.solid{color:#fff;background:#833e3a;border-color:#A44843}
html[data-theme=dark] button.primary:disabled{background:#313c35!important}
html[data-theme=dark] .rc-tabs button small{color:#babfbd}
html[data-theme=dark] .rc-g{color:#babfbd}
html[data-theme=dark] .rc-g+.rc-sw{border-top:0}
html[data-theme=dark] .rc-note{color:#babfbd}
html[data-theme=dark] .pt-d{color:#babfbd}
html[data-theme=dark] .pt-d.up{color:#aec5bf}
html[data-theme=dark] .pt-d.down{color:#b89b99}
html[data-theme=dark] .pt-table tr.cur td{background:#202925}
html[data-theme=dark] .role-pick button span{color:#babfbd}
html[data-theme=dark] .role-pick button:before{border:1.5px solid #506458;background:#28332e}
html[data-theme=dark] .role-pick button.on{border-color:#466553;background:#313c35}
html[data-theme=dark] .role-pick button.on b{color:#aec5bf}
html[data-theme=dark] .role-pick button.on:before{border:5.5px solid #285F50}
html[data-theme=dark] .al-cap span{color:#babfbd}
html[data-theme=dark] .al-sess{border:1px solid #3e4f47;background:#232d28}
html[data-theme=dark] .al-srow{border-top:1px solid #3e4f47}
html[data-theme=dark] .al-sub{color:#babfbd}
html[data-theme=dark] .al-top .st-mini.on{border-color:#466553;background:#313c35;color:#aec5bf}
html[data-theme=dark] .st-mini.danger{color:#b89b99;border-color:#723d40}
html[data-theme=dark] .al-row{border-top:1px solid #3e4f47}
html[data-theme=dark] .al-ico{background:#313c35;color:#aec5bf}
html[data-theme=dark] .al-row.bad .al-ico{background:#3c322f;color:#b89b99}
html[data-theme=dark] .al-chips span{background:#26302b;color:#b2c1c7}
html[data-theme=dark] .al-chips .icon{color:#babfbd}
html[data-theme=dark] .al-data{background:#26302b}
html[data-theme=dark] .spin{border:2px solid #3e4f47;border-top-color:#285F50}
html[data-theme=dark] .backup{border:0;background:none}
@media (max-width:700px){html[data-theme=dark] #rbtn{color:#babfbd;border:0;background:transparent}}
html[data-theme=dark] .appointment.came{box-shadow:inset 3px 0 #285F50}
html[data-theme=dark] .appointment.noshow{box-shadow:inset 3px 0 #A44843}
html[data-theme=dark] .td-btn.came{background:#28332e;color:#b2c1c7;border-color:#3e4f47}
html[data-theme=dark] .td-btn.came.on{background:#30453f;border-color:#285F50;color:#fff}
html[data-theme=dark] .td-btn.noshow.on{background:#833e3a;border-color:#A44843;color:#fff}
html[data-theme=dark] .td-btn.vundo{color:#babfbd}
html[data-theme=dark] .vmark.came{background:#313c35;color:#aec5bf}
html[data-theme=dark] .vmark.noshow{background:#3c322f;color:#b89b99}
html[data-theme=dark] .slots .slot,html[data-theme=dark] .slot-grid .slot{color:#aec5bf;border-color:#466553}
html[data-theme=dark] .slot.on{background:#30453f;color:#fff;border-color:#285F50}
html[data-theme=dark] .slot.busy{background:#26302b!important;color:#8A9A90!important;border-color:#3e4f47!important}
html[data-theme=dark] .td-canc summary{color:#babfbd}
@media (max-width:700px){html[data-theme=dark] .appt-actions .more,html[data-theme=dark] .next .appt-actions .more{border:0;background:transparent;color:#babfbd}
html[data-theme=dark] .appointment.came,html[data-theme=dark] .appointment.noshow{box-shadow:none}
html[data-theme=dark] .appointment.came{border-color:#416e53!important}
html[data-theme=dark] .appointment.noshow{border-color:#6d3a3d!important}}
html[data-theme=dark] .badge.new,html[data-theme=dark] .badge.pending{background:#403a32;color:#bfb4a7}
html[data-theme=dark] .badge.confirmed{background:#313c35;color:#aec5bf}
html[data-theme=dark] .badge.cancelled{background:#3c322f;color:#b89b99}
html[data-theme=dark] .badge.gray{background:#26302b;color:#babfbd}
html[data-theme=dark] .pt-records .sub{color:#babfbd}
html[data-theme=dark] .pt-note{color:#babfbd}
html[data-theme=dark] .pt-sort{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .pat-note{background:#403a32;color:#b2c1c7}
html[data-theme=dark] .pat-note .icon{color:#bfb4a7}
html[data-theme=dark] .pat-foot{border-top:1px solid #3e4f47}
html[data-theme=dark] .pat-foot button{background:transparent;border:0;color:#aec5bf}
html[data-theme=dark] .pm-list button small{color:#babfbd}
html[data-theme=dark] .hl-dot{background:#7a9384}
html[data-theme=dark] .hl-dot.ok{background:#1c7a4b}
html[data-theme=dark] .hl-dot.warn{background:#b08107}
html[data-theme=dark] .hl-dot.bad{background:#b32c2c}
html[data-theme=dark] .hl-dot.off{background:#7a9384}
html[data-theme=dark] .hl-row{border-top:1px solid #3e4f47}
html[data-theme=dark] .hl-row:first-of-type{border-top:0}
html[data-theme=dark] .hl-row span{color:#babfbd}
html[data-theme=dark] .hl-row.bad span,html[data-theme=dark] .hl-row.warn span{color:#b2c1c7}
html[data-theme=dark] .hl-kpi div{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .hl-kpi span{color:#babfbd}
html[data-theme=dark] .hl-ip th{color:#babfbd;border-bottom:1px solid #3e4f47}
html[data-theme=dark] .hl-ip td{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .hl-ip tr.flag td:first-child{color:#b89b99}
html[data-theme=dark] .hl-ip .geo{color:#babfbd}
html[data-theme=dark] .tag-bad{color:#fff;background:#833e3a}
html[data-theme=dark] .tag-warn{color:#bdb4a9;background:#403a32}
html[data-theme=dark] .hl-note{color:#babfbd}
html[data-theme=dark] .pat-n{color:#aec5bf;background:#313c35}
html[data-theme=dark] .pat-all .panel-title span{color:#babfbd}
html[data-theme=dark] .pat-row{border-top:1px solid #3e4f47}
html[data-theme=dark] .pat-row:hover{background:#26302b}
html[data-theme=dark] .pat-row.cur{background:#313c35}
html[data-theme=dark] .pat-row .when small{color:#babfbd}
html[data-theme=dark] .pat-row .what{color:#babfbd}
html[data-theme=dark] .pat-row .what b{color:#b2c1c7}
html[data-theme=dark] .local-tag{color:#bfb4a7;background:#403a32}
html[data-theme=dark] .hlast{color:#babfbd}
html[data-theme=dark] .filters .tabs .fbtn.active{background:#313c35;color:#aec5bf;border-color:#466553}
html[data-theme=dark] .filters-open.selected{border-color:#466553!important;color:#aec5bf!important;background:#313c35!important}
html[data-theme=dark] .cb{border:1.5px solid #506458;background:#28332e}
html[data-theme=dark] .cb.checked{background:#30453f;border-color:#285F50}
html[data-theme=dark] .cb.ind{background:#313c35;border-color:#285F50}
html[data-theme=dark] .cb.ind svg{stroke:#aec5bf}
html[data-theme=dark] #sel-cnt{color:#aec5bf}
html[data-theme=dark] .records tbody tr:hover td{background:#232d28}
html[data-theme=dark] .records tbody tr.selected td{background:#202925}
html[data-theme=dark] .records tbody tr.selected td:first-child{box-shadow:inset 3px 0 #285F50}
html[data-theme=dark] .bulk-bar{background:#263135;box-shadow:0 6px 18px rgba(0,0,0,0.489)}
html[data-theme=dark] .bulk-count{color:#fff}
html[data-theme=dark] .bbtn{background:transparent;border-color:rgba(255,255,255,0.12);color:#fff}
html[data-theme=dark] .bbtn.del{color:#FFC9CC;border-color:rgba(255,255,255,0.12)}
html[data-theme=dark] .bbtn.clr{border-color:transparent;color:#ffffffb0}
html[data-theme=dark] .drop-menu{background:#28332e;border:1px solid #3e4f47;box-shadow:0 10px 30px rgba(0,0,0,0.326)}
html[data-theme=dark] .di span{color:#babfbd}
html[data-theme=dark] .di:hover{background:#26302b}
html[data-theme=dark] .di.on{color:#aec5bf;background:#313c35}
html[data-theme=dark] .recordcard.selected{border-color:#466553;background:#202925}
@media (max-width:700px){html[data-theme=dark] .tabletoolbar .row button.mobile-only{color:#aec5bf}}
html[data-theme=dark] .moverlay{background:rgba(0,0,0,0.639)}
html[data-theme=dark] .modal{background:#28332e;box-shadow:0 10px 40px rgba(0,0,0,0.326)}
html[data-theme=dark] .mclose{border-color:transparent;color:#babfbd}
html[data-theme=dark] .mdiv{background:#353e38}
html[data-theme=dark] .mbtn.pri{background:#30453f;border-color:#285F50;color:#fff}
html[data-theme=dark] .mbtn.ok{background:#313c35;color:#aec5bf;border-color:#416e53}
html[data-theme=dark] .mbtn.no,html[data-theme=dark] .mbtn.del{color:#b89b99;border-color:#723d40}
html[data-theme=dark] .modal .empty{border:0}
html[data-theme=dark] .moverlay.page{background:#26302b}
html[data-theme=dark] .moverlay.page .modal{background:none;box-shadow:none}
html[data-theme=dark] .mhist-row{border-left:1px solid #3e4f47}
html[data-theme=dark] .mhist-row:before{border:2px solid #3a4a42;background:#30453f}
html[data-theme=dark] .mhist-row .w{color:#babfbd}
html[data-theme=dark] .mhist-row .d{color:#babfbd}
html[data-theme=dark] .wc-day{color:#babfbd}
html[data-theme=dark] .wc-b{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .wc-b.out{background:#313c35;border-color:#3f5048}
html[data-theme=dark] .wc-b.bad{border-color:#6d3a3d;background:#3c322f}
html[data-theme=dark] .wc-who{color:#babfbd}
html[data-theme=dark] .wc-b.out .wc-who{color:#aec5bf}
html[data-theme=dark] .wc-t{color:#babfbd}
html[data-theme=dark] .wc-b.bad .wc-t,html[data-theme=dark] .wc-note.bad{color:#b89b99}
html[data-theme=dark] .wc-note{color:#babfbd;background:#26302b}
html[data-theme=dark] .mf label{color:#b2c1c7}
html[data-theme=dark] .mf input,html[data-theme=dark] .mf select,html[data-theme=dark] .mf textarea{border:1px solid #506458;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .mf select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bbbfc6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:20px}
html[data-theme=dark] .mf input:disabled{background:#26302b;color:#babfbd}
html[data-theme=dark] .add-form .ocr-btn{color:#aec5bf}
html[data-theme=dark] .slotbox .warn{color:#b89b99}
html[data-theme=dark] .xv-err,html[data-theme=dark] .st-err{border:1px solid #6d3a3d;background:#3c322f;color:#b89b99}
html[data-theme=dark] .xv-days{color:#babfbd}
html[data-theme=dark] .xv-sw{border-top:1px solid #3e4f47}
html[data-theme=dark] .xv-sw .d{color:#babfbd}
html[data-theme=dark] .xv-tog{background:#606d64}
html[data-theme=dark] .xv-tog::after{background:#28332e}
html[data-theme=dark] .xv-sw.on .xv-tog{background:#30453f}
html[data-theme=dark] .xv-seg button{color:#babfbd}
html[data-theme=dark] .xv-seg button.on{border-color:#466553;color:#aec5bf;background:#313c35}
html[data-theme=dark] .xv-prev,html[data-theme=dark] .st-prev{background:#313c35;color:#aec5bf}
html[data-theme=dark] .xv-empty,html[data-theme=dark] .sv-empty,html[data-theme=dark] .mg-empty,html[data-theme=dark] .lcell{color:#babfbd;background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .mg-empty b{color:#b2c1c7}
html[data-theme=dark] .modal .lcell{border:0}
html[data-theme=dark] .conf-overlay{background:rgba(0,0,0,0.6)}
html[data-theme=dark] .conf-box{background:#28332e;box-shadow:0 12px 40px rgba(0,0,0,0.326)}
html[data-theme=dark] .conf-icon{background:#3c322f;color:#b89b99}
html[data-theme=dark] .conf-box p{color:#babfbd}
html[data-theme=dark] .dialog .sheet-sub{color:#babfbd}
html[data-theme=dark] .toast.err{background:#833e3a}
html[data-theme=dark] .month-cell.today .day-num{box-shadow:inset 0 0 0 1.5px #285F50}
html[data-theme=dark] .month-cell.xclosed{background:repeating-linear-gradient(135deg,#3b362e 0 6px,#403a32 6px 12px)}
html[data-theme=dark] .month-cell.selected.xclosed{background:#313c35}
html[data-theme=dark] .dclosed{color:#bfb4a7}
html[data-theme=dark] .day-entry:hover strong{color:#aec5bf}
html[data-theme=dark] .message-bubble.media{color:#babfbd}
html[data-theme=dark] .conversation-bottom a.primary{background:#30453f;border-color:#285F50;color:#fff}
@media (max-width:700px){html[data-theme=dark] .messages-layout.open{border:0;background:none}
html[data-theme=dark] .messages-layout.open .conversation-head{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .messages-layout.open .conversation-body{background:transparent}
html[data-theme=dark] .messages-layout.open .conversation-bottom{border-top:1px solid #3e4f47}}
html[data-theme=dark] .sv-note{color:#babfbd}
html[data-theme=dark] .sv-delta{color:#babfbd}
html[data-theme=dark] .sv-delta.up{color:#aec5bf}
html[data-theme=dark] .sv-delta.down{color:#b89b99}
html[data-theme=dark] .sv-block{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .sv-title span{color:#babfbd}
html[data-theme=dark] .sv-legend{color:#babfbd}
html[data-theme=dark] .sv-table td{border-top:1px solid #3e4f47}
html[data-theme=dark] .sv-table tr:first-child td{border-top:0}
html[data-theme=dark] .sv-table td.l{color:#babfbd}
html[data-theme=dark] .sv-bar{background:#30453f}
html[data-theme=dark] .sv-funnel .arr{color:#babfbd}
html[data-theme=dark] .attendance-number small{color:#babfbd}
html[data-theme=dark] #sv,html[data-theme=dark] #hl-card{--viz2:#BB9570;--vgrid:#313c35}
html[data-theme=dark] .sv-key li:before{background:var(--viz1)}
html[data-theme=dark] .kpi{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .kpi-l{color:#babfbd}
html[data-theme=dark] .kpi-delta{color:#babfbd}
html[data-theme=dark] .kpi-delta .up{color:#aec5bf}
html[data-theme=dark] .kpi-delta .down{color:#b89b99}
html[data-theme=dark] .kpi-s{color:#babfbd;border-top:1px solid #3e4f47}
html[data-theme=dark] .vc-cap{color:#babfbd}
html[data-theme=dark] .vc-y{color:#babfbd}
html[data-theme=dark] .vc-plot{border-bottom:1px solid #405149}
html[data-theme=dark] .vc-g{background:var(--vgrid)}
html[data-theme=dark] .vc-col{outline:0}
html[data-theme=dark] .vc-col:hover,html[data-theme=dark] .vc-col:focus-visible{background:rgba(255,255,255,0.053)}
html[data-theme=dark] .vc-bar{background:var(--viz1)}
html[data-theme=dark] .vc-col:hover .vc-bar,html[data-theme=dark] .vc-col:focus-visible .vc-bar{background:#273935}
html[data-theme=dark] .vc-v{color:#b2c1c7}
html[data-theme=dark] .vc-col:hover::after,html[data-theme=dark] .vc-col:focus-visible::after{background:#263135;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,0.489)}
html[data-theme=dark] .vc-x span{color:#babfbd}
html[data-theme=dark] .hb-l small{color:#babfbd}
html[data-theme=dark] .hb-t{background:var(--vgrid)}
html[data-theme=dark] .hb-t i{background:var(--viz1)}
html[data-theme=dark] .hb-s{color:#babfbd}
html[data-theme=dark] .c1{background:var(--viz1)}
html[data-theme=dark] .c2{background:var(--viz2)}
html[data-theme=dark] .sv-table thead th{color:#babfbd;border-bottom:1px solid #3e4f47}
html[data-theme=dark] .sv-rank .sv-bar{background:var(--viz1)}
html[data-theme=dark] .sv-tbl summary{color:#aec5bf}
html[data-theme=dark] .xv-status{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .xv-status.open{background:#313c35;color:#aec5bf;border-color:#3c6c52}
html[data-theme=dark] .xv-status.closed{background:#403a32;color:#bfb4a7;border-color:#705b3d}
html[data-theme=dark] .xv-sec span{color:#babfbd}
html[data-theme=dark] .xv-txt{color:#babfbd;border-left:2px solid #3e4f47}
html[data-theme=dark] .xv-conf summary{color:#bfb4a7}
html[data-theme=dark] .xv-conf li{background:#403a32}
html[data-theme=dark] .k-vacation,html[data-theme=dark] .k-dayoff,html[data-theme=dark] .k-conference,html[data-theme=dark] .k-other{background:#26302b;color:#babfbd}
html[data-theme=dark] .vacation-help .textlink{border:0;background:none}
html[data-theme=dark] .st-qx{border:0;background:none;color:#babfbd}
html[data-theme=dark] .st-none{background:#28332e;border:1px solid #3e4f47;color:#babfbd}
html[data-theme=dark] .settings-group .sectionlink{color:#b2c1c7}
html[data-theme=dark] .settings-group .sectionlink:hover{color:#aec5bf}
html[data-theme=dark] .st-rootfoot{color:#babfbd}
html[data-theme=dark] .st-card{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .st-card h3 svg{color:#aec5bf}
html[data-theme=dark] .st-desc{color:#babfbd}
html[data-theme=dark] .st-day{background:#28332e;color:#babfbd}
html[data-theme=dark] .st-day.on{background:#313c35;color:#aec5bf;border-color:#466553}
html[data-theme=dark] .st-unit span{color:#babfbd}
html[data-theme=dark] .st-nprev{background:#263135;color:#fff}
html[data-theme=dark] .st-nprev .i{border:1px solid rgba(58,74,66,0.502)}
html[data-theme=dark] .st-more summary{color:#aec5bf}
html[data-theme=dark] .st-warn{color:#bfb4a7}
html[data-theme=dark] .st-ph button{color:#aec5bf;border-style:dashed;border-color:#466553}
html[data-theme=dark] .st-wa{background:#313c35;border:1px solid #3c6c52}
html[data-theme=dark] .svc-row,html[data-theme=dark] .stf-row{border-top:1px solid #3e4f47}
html[data-theme=dark] .svc-row:first-child,html[data-theme=dark] .stf-row:first-child{border-top:none}
html[data-theme=dark] .svc-d{color:#babfbd}
html[data-theme=dark] .svc-tag{background:#26302b;color:#babfbd}
html[data-theme=dark] .svc-tag.gold{background:#313c35;color:#aec5bf}
html[data-theme=dark] .svc-tag.off{background:#3c322f;color:#b89b99}
html[data-theme=dark] .ab{color:#babfbd}
html[data-theme=dark] .ab.del{color:#b89b99}
html[data-theme=dark] .stf-cred{background:#403a32;border:1px solid #705b3d}
html[data-theme=dark] .st-log td{border-top:1px solid #3e4f47}
html[data-theme=dark] .st-log td.w{color:#babfbd}
html[data-theme=dark] .st-log .o{color:#b89b99}
html[data-theme=dark] .st-log .n{color:#aec5bf}
html[data-theme=dark] .st-hit{outline:2px solid #285F50}
html[data-theme=dark] .st-float .bartext small{color:#babfbd}
html[data-theme=dark] .bk-warn .bk-x{background:none;border:0;color:#bfb4a7}
html[data-theme=dark] .bk-warn .bk-x:hover{background:rgba(255,255,255,0.046)}
html[data-theme=dark] .ava{color:#fff}
html[data-theme=dark] .pf-sub{color:#babfbd}
html[data-theme=dark] .pf-sess{border-top:1px solid #3e4f47}
html[data-theme=dark] .pf-sess:first-child{border-top:none}
html[data-theme=dark] .pf-sess .d{color:#babfbd}
html[data-theme=dark] .pk-overlay{background:rgba(0,0,0,0.639)}
html[data-theme=dark] .pk-card{background:#28332e;box-shadow:0 10px 40px rgba(0,0,0,0.326)}
html[data-theme=dark] .pk-sub{color:#babfbd}
html[data-theme=dark] .pk-x{border-color:transparent;color:#babfbd}
html[data-theme=dark] .pk-item{border-top:1px solid #3e4f47}
html[data-theme=dark] .pk-item:first-child{border-top:0}
html[data-theme=dark] .pk-meta{color:#babfbd}
html[data-theme=dark] .pk-del{color:#b89b99}
html[data-theme=dark] .pk-empty{color:#babfbd}
html[data-theme=dark] .pk-msg{color:#aec5bf}
html[data-theme=dark] .pk-add{background:#30453f;border-color:#285F50;color:#fff}
html[data-theme=dark] .pk-hint{color:#babfbd}
html[data-theme=dark] .login-err{border:1px solid #6d3a3d;background:#3c322f;color:#b89b99}
html[data-theme=dark] .pk-login.pk-primary{border-color:#285F50;color:#aec5bf}
@media (max-width:700px){html[data-theme=dark] .login-wrap{background:#28332e}}
html[data-theme=dark] .lang-sw button{border:1px solid #3e4f47;background:#28332e;color:#babfbd}
html[data-theme=dark] .lang-sw button.on{background:#313c35;color:#aec5bf;border-color:#466553}
:root[data-theme=dark]:not(z){--ink:#b2c1c7;--muted:#babfbd;--bg:#26302b;--line:#3e4f47;--line-soft:#3d4d45;--blue-bg:#313c35;--green-bg:#313c35;--amber-bg:#403a32;--red-bg:#3c322f;--card:#28332e}
html[data-theme=dark] body{background:#26302b;color:#b2c1c7}
html[data-theme=dark] button.primary:hover:not(:disabled){background:#273935;border-color:#214F43}
html[data-theme=dark] button.secondary:hover:not(:disabled),html[data-theme=dark] button.ghost:hover:not(:disabled){background:#313c35;border-color:#446351}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] [role=button]:focus-visible{outline:3px solid #769D8C}
html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{outline-color:#285F50}
html[data-theme=dark] ::selection{background:#37463b;color:#b2c1c7}
html[data-theme=dark] .schedule,html[data-theme=dark] .railbox,html[data-theme=dark] .panel,html[data-theme=dark] .filters,html[data-theme=dark] .tablebox,html[data-theme=dark] .stats,html[data-theme=dark] .record-summary{box-shadow:0 3px 16px rgba(0,0,0,0.031)}
html[data-theme=dark] .appointment.next{background:#202925}
html[data-theme=dark] .slots button:hover,html[data-theme=dark] .tabs button:hover{background:#313c35}
html[data-theme=dark] #sv,html[data-theme=dark] #hl-card{--viz2:#BB9570;--vgrid:#313c35}
@media (min-width:701px){html[data-theme=dark] .sidebar{background:#26302b;border-right:1px solid #3e4f47}
html[data-theme=dark] .brand-mark{background:none;color:#aec5bf}
html[data-theme=dark] .brand-name{color:#b1c8c4}
html[data-theme=dark] .brand-line{color:#babfbd}
html[data-theme=dark] .sidebar-toggle{border:1px solid #3f5047;background:#26302b;color:#c1c7c5}
html[data-theme=dark] .sidebar-welcome{background:linear-gradient(120deg,#1f2723,#313c35 60%,#334136)}
html[data-theme=dark] .sidebar-date{color:#bcc1bf}
html[data-theme=dark] .sidebar-welcome-icon{background:rgba(40,51,46,0.902);color:#aec5bf}
html[data-theme=dark] .sidebar-leaves{color:#AEC6B5}
html[data-theme=dark] .sidebar .nav label{color:#b7bbb9}
html[data-theme=dark] .sidebar .nav .vtab{color:#b2c1c7}
html[data-theme=dark] .sidebar .nav .vtab .icon{color:#afc0bc}
html[data-theme=dark] .sidebar .nav .vtab:hover{background:#1f2723}
html[data-theme=dark] .sidebar .nav .vtab.active{background:linear-gradient(110deg,#323f34,#313c35);color:#b1c8c2}
html[data-theme=dark] .sidebar .nav-separator{background:#353e38}
html[data-theme=dark] .sidebar .counter{background:#403a32;color:#bfb4a7}
html[data-theme=dark] .sidebar #nav-today{background:#36453a;color:#aec5bf}
html[data-theme=dark] .sidebar .counter.message{background:#36453a;color:#aec5bf}
html[data-theme=dark] .sidebar-message-arrow{color:#b9bfbc}
html[data-theme=dark] .sidebar .backup{color:#b2b6b4}
html[data-theme=dark] .sidebar .profile{border-top:1px solid #3e4f47}
html[data-theme=dark] .sidebar .profile .avatar{background:#323f35;color:#aec5bf}
html[data-theme=dark] .sidebar-profile-arrow{color:#bfc7c4}
html[data-theme=dark] .panel-sidebar-collapsed .sidebar .nav .vtab .counter{box-shadow:0 0 0 2px #3b4b43}}
@media (max-width:700px){html[data-theme=dark] .bottomnav{background:rgba(38,48,43,0.961)}
html[data-theme=dark] .bottomnav button.active{background:#313c35;color:#aec5bf}}
html[data-theme=dark] #st-chips .st-link-description{color:#b2c1c7}
html[data-theme=dark] #st-chips .backup-inline{background:#313c35;color:#aec5bf}
html[data-theme=dark] #st-chips .backup-inline.is-stale{background:#403a32;color:#bfb4a7}
html[data-theme=dark] .st-nav-more{border-top:1px solid #3e4f47}
html[data-theme=dark] .st-nav-more>summary::before{color:#aec5bf}
html[data-theme=dark] .st-nav-more>summary:focus-visible{outline:3px solid #769D8C}
@media (min-width:900px){html[data-theme=dark] #st-chips .settings-group[data-group="grp.siteInfo"] .sectionlink{border-top:0!important;border-bottom:0!important}}
html[data-theme=dark] .ui-row{border-top:1px solid #3e4f47}
html[data-theme=dark] .ui-row:first-child{border-top:0}
html[data-theme=dark] .ui-row small{color:#babfbd}
html[data-theme=dark] .ui-row>button[aria-pressed="true"],html[data-theme=dark] .ui-seg button.on{background:#313c35;color:#aec5bf;border-color:transparent}
html[data-theme=dark] #priv-btn.on{color:#aec5bf;background:#313c35}
html[data-theme=dark] .adm-bar .adm-ic{background:#33433D;color:#fff}
html[data-theme=dark] .adm-bar-tx small{color:#babfbd}
html[data-theme=dark] .adm-pin .adm-sym{background:#303d36;color:#aec5bf}
html[data-theme=dark] .adm-pin-in{border:1px solid #3e4f47;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .adm-pin-in:focus{outline:3px solid #769D8C55;border-color:#3F7D69}
html[data-theme=dark] .state-dialog .adm-pin-err{color:#b89b99}
html[data-theme=dark] .adm-forgot{background:none;border:0;color:#aec5bf}
html[data-theme=dark] .inbox-strip button.inbox-action{border:1px solid #3e4f47;background:#313c35;color:#aec5bf}
html[data-theme=dark] #mo.page.record .record-note>summary::after{color:#aec5bf}
html[data-theme=dark] #mo.page.record .record-more{border-top:1px solid #3e4f47}
html[data-theme=dark] #mo.page.record .record-more>summary{color:#babfbd}
html[data-theme=dark] #cfgv .settings-group,html[data-theme=dark] #cfgv .st-card,html[data-theme=dark] #tv .stats,html[data-theme=dark] #tv .appointment,html[data-theme=dark] #tv .railbox,html[data-theme=dark] #mo.page.record:not(.patient) .panel{border-color:color-mix(in srgb,#3e4f47 78%,#213E49);box-shadow:0 2px 5px rgba(0,0,0,0.082)}
html[data-theme=dark] .pf-sheet.dialog{background:#222b26}
html[data-theme=dark] .pf-sheet button.pf-x{border:0;background:#343c37;color:#babfbd}
html[data-theme=dark] .pf-sheet button.pf-x:hover{background:#36403a;color:#b2c1c7}
html[data-theme=dark] .pf-me{background:#28332e}
html[data-theme=dark] .pf-me .avatar{background:#323f35;color:#aec5bf}
html[data-theme=dark] .pf-me strong{color:#b2c1c7}
html[data-theme=dark] .pf-me small{color:#babfbd}
html[data-theme=dark] .pf-cap{color:#babfbd}
html[data-theme=dark] .pf-group{background:#28332e}
html[data-theme=dark] .pf-sheet .pf-row{border:0;background:transparent;color:#b2c1c7}
html[data-theme=dark] .pf-sheet .pf-row+.pf-row::before{border-top:1px solid #3d4d45}
html[data-theme=dark] .pf-sheet button.pf-row:hover{background:#242e29}
html[data-theme=dark] .pf-sheet button.pf-row:active{background:#1e2622}
html[data-theme=dark] .pf-sheet .pf-row:focus-visible,html[data-theme=dark] .pf-sheet .pf-x:focus-visible,html[data-theme=dark] .pf-seg button:focus-visible{outline:2px solid #285F50}
html[data-theme=dark] .pf-ic{background:#313c35;color:#aec5bf}
html[data-theme=dark] .pf-chev{fill:none;stroke:#A3B0AA}
html[data-theme=dark] .pf-badge{color:#bfb4a7;background:#403a32}
html[data-theme=dark] .pf-sheet .pf-out{color:#b89b99}
html[data-theme=dark] .pf-out .pf-ic{background:#3c322f;color:#b89b99}
html[data-theme=dark] .pf-sheet .pf-lang .lang-sw{background:#1d2521}
html[data-theme=dark] .pf-sheet .pf-lang .lang-sw button{border:0;background:transparent;color:#babfbd}
html[data-theme=dark] .pf-sheet .pf-lang .lang-sw button.on{background:#28332e;color:#b2c1c7;box-shadow:0 1px 3px rgba(0,0,0,0.367)}
@media (max-width:700px){html[data-theme=dark] .pf-grab{background:#3c433f}}
@media (max-width:380px){html[data-theme=dark] .pf-badge{background:#574c3e}}
html[data-theme=dark] .avatar>.ava-img{background:#323f35}
html[data-theme=dark] .pf-sheet button.pf-ava{border:0;background:transparent}
html[data-theme=dark] .pf-sheet button.pf-ava:focus-visible{outline:2px solid #285F50}
html[data-theme=dark] .pf-ava .avatar{background:#323f35;color:#aec5bf}
html[data-theme=dark] .pf-cam{background:#30453f;color:#fff;box-shadow:0 0 0 2px #3a4a42}
html[data-theme=dark] .pf-sheet button.pf-link{border:0;background:none;color:#aec5bf}
html[data-theme=dark] .pf-sheet button.pf-link-del{color:#babfbd}
html[data-theme=dark] .av-stage{background:#1d2b28}
html[data-theme=dark] .av-ring{box-shadow:0 0 0 999px #0E1B1899;outline:2px solid rgba(58,74,66,0.8)}
html[data-theme=dark] .av-zoom{color:#babfbd}
html[data-theme=dark] #ov-view{--ov3:#4877D6;--ov4:#b198ac;--ov0:#A7B1AC;--ovtrack:#313c35;--none:#3b433f;--off:#8E9A94}
html[data-theme=dark] .ov-seg{color:#fff}
html[data-theme=dark] .ov-seg:focus-visible,html[data-theme=dark] .ov-brow:focus-visible{outline:2px solid #213E49}
html[data-theme=dark] .c1{background:var(--ov1)}
html[data-theme=dark] .c2{background:var(--ov2)}
html[data-theme=dark] .c3{background:var(--ov3)}
html[data-theme=dark] .c4{background:var(--ov4)}
html[data-theme=dark] .c0{background:var(--ov0)}
html[data-theme=dark] .s-ok{background:#30453f}
html[data-theme=dark] .s-bad{background:var(--bad)}
html[data-theme=dark] .s-none{background:var(--none)}
html[data-theme=dark] .s-off{background:var(--off)}
html[data-theme=dark] .ov-seg.c2,html[data-theme=dark] .ov-seg.c0,html[data-theme=dark] .ov-seg.s-none{color:#e1e7e6}
html[data-theme=dark] .ov-list li{border-top:1px solid #3e4f47}
html[data-theme=dark] .ov-list li:first-child{border-top:0}
html[data-theme=dark] .ov-name{color:#b2c1c7}
html[data-theme=dark] .ov-name small{color:#babfbd}
html[data-theme=dark] .ov-pc,html[data-theme=dark] .ov-x{color:#babfbd}
html[data-theme=dark] .ov-d{color:#babfbd}
html[data-theme=dark] .ov-d .up{color:#aec5bf}
html[data-theme=dark] .ov-d .down{color:#b89b99}
html[data-theme=dark] .ov-bhead{color:#babfbd}
html[data-theme=dark] .ov-brow{border-top:1px solid #3e4f47}
html[data-theme=dark] .ov-brow:first-child{border-top:0}
html[data-theme=dark] .ov-track{background:var(--ovtrack)}
html[data-theme=dark] .ov-fill{background:var(--ovbar)}
html[data-theme=dark] .ov-note{color:#babfbd}
html[data-theme=dark] .ov-foot{color:#babfbd}
html[data-theme=dark] .ov-tip{background:#263135;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,0.489)}
html[data-theme=dark] .ov-sub{color:#babfbd}
html[data-theme=dark] .ov-legend{color:#b2c1c7}
html[data-theme=dark] .ov-key li:before{background:var(--ovbar,#285F50)}
html[data-theme=dark] #pt-view,html[data-theme=dark] #sv-site{--ov3:#4877D6;--ov4:#b198ac;--ov0:#A7B1AC;--ovtrack:#313c35;--none:#3b433f;--off:#8E9A94;--ahead:#3a3f49}
html[data-theme=dark] .s-ahead{background:var(--ahead)}
html[data-theme=dark] .c-bar{background:var(--ovbar)}
html[data-theme=dark] .c-bar2{background:#436f62}
html[data-theme=dark] .ovc-y{color:#babfbd}
html[data-theme=dark] .ovc-g{background:#313c35}
html[data-theme=dark] .ovc-g.base{background:#39423d}
html[data-theme=dark] .ovc-col:hover,html[data-theme=dark] .ovc-col:focus-visible{background:#212a25}
html[data-theme=dark] .ovc-col:focus-visible{outline:2px solid #213E49}
html[data-theme=dark] .ovc-v{color:#b2c1c7}
html[data-theme=dark] .ovc-x span{color:#babfbd}
html[data-theme=dark] .ovc-x span.cur{color:#b2c1c7}
html[data-theme=dark] .ov-table th{color:#babfbd}
html[data-theme=dark] .ov-table td small{color:#babfbd}
html[data-theme=dark] .ov-table tr.now td{background:#222b27}
html[data-theme=dark] .pf-head-photo button.pf-ava{border:0;background:transparent}
html[data-theme=dark] .pf-head-photo .pf-ava .avatar{background:#323f35;color:#aec5bf}
html[data-theme=dark] .pf-head-photo .pf-cam{background:#30453f;color:#fff;box-shadow:0 0 0 2px #3a4a42}
html[data-theme=dark] .pf-head-photo button.pf-link{border:0;background:none;color:#aec5bf}
html[data-theme=dark] .pf-head-photo button.pf-link-del{color:#babfbd}
html[data-theme=dark] .cfg-dot{background:#bb8424;box-shadow:0 0 0 3px #685838}
html[data-theme=dark] .view-switch{background:#1d2521}
html[data-theme=dark] .view-switch button{border:0;background:transparent;color:#babfbd}
html[data-theme=dark] .view-switch button.on{background:#28332e;color:#b2c1c7;box-shadow:0 1px 3px rgba(0,0,0,0.326)}
html[data-theme=dark] .view-switch button:focus-visible{outline:2px solid #285F50}
html[data-theme=dark] .vs-n{background:#30453f;color:#fff}
@media (max-width:700px){html[data-theme=dark]:not(z).wa-full .messages-layout.open .conversation-bottom{background:#26302b}}
html[data-theme=dark] #notice-count{background:#8e2119;color:white}
html[data-theme=dark] .nt-item{border:0;border-bottom:1px solid #3e4f47}
html[data-theme=dark] .nt-item.unread{background:#313c35}
html[data-theme=dark] .nt-preview{color:#babfbd}
html[data-theme=dark] .nt-icon{color:#aec5bf}
html[data-theme=dark] .nt-dot{background:#30453f}
html[data-theme=dark] .course-card{border-top:1px solid #3e4f47}
html[data-theme=dark] .course-pick{border:1px solid #3e4f47}
html[data-theme=dark] .course-choice{border-bottom:1px solid #3e4f47}
html[data-theme=dark] #course-error{color:#be9f9d}
html[data-theme=dark] .cancellation-origin{color:#bfa29e}
html[data-theme=dark] .cancellation-origin small{color:#babfbd}
html[data-theme=dark] #m-cancellation .cancellation-origin{background:#39302d;border:1px solid #6a4739}
html[data-theme=dark] .stf-card-open{border:0;background:none}
html[data-theme=dark] .stf-card-open .svc-t{color:#aec5bf}
html[data-theme=dark] .sc-dates{color:#babfbd}
html[data-theme=dark] .sc-metrics>div{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .sc-metrics span{color:#babfbd}
html[data-theme=dark] .sc-permission-list>span{background:#313c35}
html[data-theme=dark] .sc-secret{background:#313c35}
html[data-theme=dark] #sc-error{color:#be9f9d}
html[data-theme=dark] .sc-event{border-top:1px solid #3e4f47}
html[data-theme=dark] .sc-event time{color:#babfbd}
html[data-theme=dark] .sc-filters select{border:1px solid #486351;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .sc-target{color:#aec5bf}
html[data-theme=dark] .stf-line .svc-t{color:#b2c1c7}
html[data-theme=dark] .stf-card-open:hover .stf-line .svc-t{color:#aec5bf}
html[data-theme=dark] .stf-chip{background:#313c35;color:#aec5bf}
html[data-theme=dark] .stf-chip.warn{background:#403a32;color:#bfb4a7}
html[data-theme=dark] .stf-chip.off{background:#3c322f;color:#b89b99}
html[data-theme=dark] .stf-meta{color:#babfbd}
html[data-theme=dark] .stf-meta>span+span::before{color:#A7B1AC}
html[data-theme=dark] .stf-ok{fill:none;stroke:#aec5bf}
html[data-theme=dark] .recovery-dialog{border:1px solid #3e4f47;color:#b2c1c7;background:#26302b}
html[data-theme=dark] .recovery-dialog::backdrop{background:rgba(0,0,0,0.75)}
html[data-theme=dark] .recovery-dialog input{border:1px solid #3f5148}
html[data-theme=dark] .staff-email-box{background:#313c35}
html[data-theme=dark] #stf-access-method{border:1px solid #486351;background:#28332e}
:root[data-theme=dark]:not(z){--pwa-head:#181e1b}
@media (max-width:700px){html[data-theme=dark] .bottomnav{background:rgba(38,48,43,0.86)!important;border-top:1px solid rgba(255,255,255,0.072)}
html[data-theme=dark] .bottomnav button{background:transparent!important}
html[data-theme=dark] .bottomnav button::before{background:#313f37}
html[data-theme=dark] .bottomnav button.active{color:#b0cac3!important}
html[data-theme=dark]:not(z) body .mobile-add.fab{background:none;border:0}
html[data-theme=dark]:not(z) body .mobile-add.fab button{box-shadow:0 10px 24px rgba(0,0,0,0.6),0 2px 6px rgba(0,0,0,0.52)}
html[data-theme=dark] .today .td-acts>.more{border:1px solid #3e4f47!important;background:#28332e!important}}
html[data-theme=dark]:not(z).pwa,html[data-theme=dark]:not(z).pwa body{background:#26302b}
html[data-theme=dark]:not(z).pwa #app{background:#26302b}
html[data-theme=dark]:not(z).pwa body::before{background:#181e1b}
html[data-theme=dark]:not(z).pwa.chat-full .tc-shell{background:#181e1b}
html[data-theme=dark]:not(z).pwa.chat-full .tc-head{background:#181e1b;color:#fff;border-bottom:0}
html[data-theme=dark]:not(z).pwa.chat-full .tc-head h2,html[data-theme=dark]:not(z).pwa.chat-full .tc-head button,html[data-theme=dark]:not(z).pwa.chat-full .tc-head .tc-back{color:#fff}
html[data-theme=dark]:not(z).pwa.chat-full .tc-head .quiet{color:rgba(255,255,255,.72)}
html[data-theme=dark]:not(z).pwa.chat-full .tc-head button:not(.tc-head-ava){background:transparent}
html[data-theme=dark]:not(z).pwa.chat-full .tc-head button:not(.tc-head-ava):active{background:rgba(255,255,255,0.045)}
@media (max-width:700px){html[data-theme=dark]:not(z).pwa .pagehead{box-shadow:none!important;background:#181e1b;color:#fff;box-shadow:0 8px 22px rgba(0,0,0,0.416)}
html[data-theme=dark]:not(z).pwa .pagehead h1{color:#fff}
html[data-theme=dark]:not(z).pwa .pagehead .crumb{color:rgba(255,255,255,.78)}
html[data-theme=dark]:not(z).pwa .pagehead .crumb .icon{color:inherit}
html[data-theme=dark]:not(z).pwa .pagehead #upd{color:rgba(255,255,255,.7)}
html[data-theme=dark]:not(z).pwa .pagehead #rbtn,html[data-theme=dark]:not(z).pwa .pagehead #notice-button{border:0;background:rgba(255,255,255,0.033)!important;color:#fff!important}
html[data-theme=dark]:not(z).pwa .pagehead #rbtn:active,html[data-theme=dark]:not(z).pwa .pagehead #notice-button:active{background:rgba(255,255,255,0.06)!important}
html[data-theme=dark]:not(z).pwa #notice-count{border:2px solid #24584A}
html[data-theme=dark] #ptr{background:#28332e;color:#afc7c1;box-shadow:0 6px 18px rgba(0,0,0,0.572)}
html[data-theme=dark] #ptr svg{fill:none;stroke:currentColor}
html[data-theme=dark] #ptr.ready{background:#181e1b;color:#fff}}
html[data-theme=dark] #morev .mo-me{border:1px solid #3e4f47;background:#28332e;color:#b2c1c7;box-shadow:0 2px 5px rgba(0,0,0,0.082)}
html[data-theme=dark] #morev .mo-ava{background:#323f35;color:#aec5bf}
html[data-theme=dark] #morev .mo-who small{color:#babfbd}
html[data-theme=dark] #morev .mo-group{background:#28332e;border:1px solid #3e4f47;box-shadow:0 2px 5px rgba(0,0,0,0.082)}
html[data-theme=dark] #morev .mo-row{border:0;background:transparent;color:#b2c1c7}
html[data-theme=dark] #morev .mo-row+.mo-row::before{border-top:1px solid #3d4d45}
html[data-theme=dark] #morev .mo-row:active,html[data-theme=dark] #morev .mo-me:active{background:#1e2622}
html[data-theme=dark] #morev .mo-tile{color:#fff}
html[data-theme=dark] #morev .mo-tile .icon{stroke:#fff}
html[data-theme=dark] #morev .mo-chev{fill:none;stroke:#A3B0AA}
html[data-theme=dark] #morev .mo-badge{color:#bfb4a7;background:#403a32}
html[data-theme=dark] #morev .mo-dot{background:#833e3a}
html[data-theme=dark] #morev .mo-dot-warn{background:#574c3e}
html[data-theme=dark] #morev .mo-sub{color:#bfb4a7}
@media (max-width:700px){html[data-theme=dark]:not(z) #st-chips .settings-group:nth-child(n){border:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme=dark]:not(z) #st-chips .settings-group-head h2{color:#babfbd}
html[data-theme=dark]:not(z) #st-chips .group-links{background:#28332e;border:1px solid #3e4f47;box-shadow:0 2px 5px rgba(0,0,0,0.082)}
html[data-theme=dark]:not(z) #st-chips .sectionlink{border:0!important;background:transparent}
html[data-theme=dark]:not(z) #st-chips .sectionlink+.sectionlink::before{border-top:1px solid #3d4d45}
html[data-theme=dark]:not(z) #st-chips .sectionlink:active{background:#1e2622}
html[data-theme=dark]:not(z) #st-chips .sectionlink>.icon{color:#A3B0AA}
html[data-theme=dark]:not(z) #st-chips .st-tile{color:#fff}
html[data-theme=dark]:not(z) #st-chips .st-tile svg{stroke:#fff;color:#fff}
html[data-theme=dark]:not(z) #st-chips .st-link-description{color:#babfbd}
html[data-theme=dark]:not(z) #st-chips .st-nav-more{border-top:1px solid #3d4d45}
html[data-theme=dark]:not(z).pwa #app{background:#202925}
html[data-theme=dark]:not(z).pwa body .pagehead{background:radial-gradient(90% 80% at 108% 110%,#202925 0%,rgba(32,41,37,0.9) 28%,rgba(255,255,255,0.03) 66%),
    radial-gradient(60% 50% at 84% 72%,rgba(255,255,255,0.055) 0%,rgba(255,255,255,0.03) 70%),
    radial-gradient(75% 70% at -5% 105%,rgba(0,0,0,0.75) 0%,rgba(255,255,255,0) 70%),
    linear-gradient(168deg,#181e1b 0%,#181e1b 20%,#334942 52%,#587c71 100%)!important}
html[data-theme=dark]:not(z).pwa body .pagehead #rbtn,html[data-theme=dark]:not(z).pwa body .pagehead #notice-button{background:rgba(40,51,46,0.9)!important;color:#afc7c1!important;box-shadow:0 8px 18px rgba(0,0,0,0.468)}
html[data-theme=dark]:not(z).pwa body .pagehead #rbtn:active,html[data-theme=dark]:not(z).pwa body .pagehead #notice-button:active{background:#28332e!important}
html[data-theme=dark]:not(z).pwa body #notice-count{border-color:#3a4a42}
html[data-theme=dark]:not(z).pwa body.today #hd-sub.hd-sub{color:rgba(255,255,255,.9)}
html[data-theme=dark]:not(z).pwa body .hd-sub button.hd-day{border:0;background:transparent;color:rgba(255,255,255,.62)}
html[data-theme=dark]:not(z).pwa body .hd-sub button.hd-day:active{background:rgba(255,255,255,0.04)}
html[data-theme=dark]:not(z).pwa body .hd-sub button.hd-now{border:0;background:rgba(255,255,255,0.05);color:#fff}
html[data-theme=dark]:not(z).pwa body #td-sum.stats{border:0!important;background:rgba(40,51,46,0.97);box-shadow:0 14px 34px rgba(0,0,0,0.338),0 2px 6px rgba(0,0,0,0.13)}
html[data-theme=dark]:not(z).pwa body #td-sum .stat{border-right:1px solid #3d4d45}
html[data-theme=dark]:not(z).pwa body #td-sum .stat:last-child{border-right:0}
html[data-theme=dark]:not(z).pwa body #td-sum .td-ico{background:#2f3b33;color:#afc7c1}
html[data-theme=dark]:not(z).pwa body #td-sum .td-ico svg{fill:none;stroke:currentColor}
html[data-theme=dark]:not(z).pwa body #td-sum .stat>span:not(.td-ico){color:#babfbd}
html[data-theme=dark]:not(z).pwa body #tv .td-card:has(>.empty){background:#28332e;box-shadow:0 10px 30px rgba(0,0,0,0.208),0 1px 3px rgba(0,0,0,0.104)}
html[data-theme=dark]:not(z).pwa body #tv .sectionhead h2::before{background:currentColor}
html[data-theme=dark]:not(z).pwa body #tv .sectionhead small{color:#babfbd}
html[data-theme=dark]:not(z).pwa body #tv .td-card .empty{border:0;background:transparent;box-shadow:none}
html[data-theme=dark]:not(z).pwa body #tv .empty .empty-icon{background:radial-gradient(circle at 38% 38%,#2f3c35 0%,#334038 100%);color:#a6bbb4}
html[data-theme=dark]:not(z).pwa body #tv .empty .empty-spark{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30' fill='none' stroke='%23a6bbb4' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12 10 3M14 22l14-6'/%3E%3C/svg%3E") center/contain no-repeat}
html[data-theme=dark]:not(z).pwa body #tv .empty button.primary{box-shadow:0 10px 22px rgba(0,0,0,0.6)}
html[data-theme=dark]:not(z).pwa body #tv .mobile-slots .sectionhead button{color:#a5c2b7}
html[data-theme=dark]:not(z).pwa body #tv .mobile-slots .slots button{border:0;background:#28332e;color:#b2c1c7;box-shadow:0 6px 16px rgba(0,0,0,0.208),0 1px 2px rgba(0,0,0,0.104)}
html[data-theme=dark]:not(z).pwa body #tv .appointment{border:0!important;box-shadow:0 8px 24px rgba(0,0,0,0.208),0 1px 2px rgba(0,0,0,0.104)!important}
html[data-theme=dark]:not(z).pwa body #tv .inbox-action{border:0;box-shadow:0 6px 16px rgba(0,0,0,0.182)}
html[data-theme=dark]:not(z).pwa body #morev .mo-me,html[data-theme=dark]:not(z).pwa body #morev .mo-group,html[data-theme=dark]:not(z).pwa body #st-chips .group-links{border:0;box-shadow:0 8px 24px rgba(0,0,0,0.182),0 1px 2px rgba(0,0,0,0.104)}
html[data-theme=dark]:not(z).pwa body .mobile-add.fab button,html[data-theme=dark]:not(z).pwa.fab-mini body .mobile-add.fab button{box-shadow:0 12px 26px rgba(0,0,0,0.6),0 3px 8px rgba(0,0,0,0.52)}
html[data-theme=dark]:not(z).pwa body .bottomnav{background:transparent!important;border-top:0}
html[data-theme=dark]:not(z).pwa body .bottomnav::after{background:rgba(40,51,46,0.94);box-shadow:0 12px 32px rgba(0,0,0,0.364),0 1px 3px rgba(0,0,0,0.156)}
html[data-theme=dark]:not(z).pwa body .bottomnav button::before{background:#313e37}}
html[data-theme=dark]:not(z).pwa-shell,html[data-theme=dark]:not(z).pwa-shell body{background:#181e1b}
html[data-theme=dark]:not(z).pwa-shell body #app{background:#181e1b}
html[data-theme=dark]:not(z).pwa-shell body #app>.pagehead{background:#181e1b!important;box-shadow:none!important}
html[data-theme=dark]:not(z).pwa-shell body #app>.pagehead.is-scrolled{box-shadow:0 1px 0 rgba(255,255,255,0.072),0 4px 12px rgba(0,0,0,0.416)!important}
html[data-theme=dark]:not(z).pwa-shell body #app>.main{background:#202925}
html[data-theme=dark]:not(z).pwa-shell body #td-sum.stats{background:#28332e}
html[data-theme=dark]:not(z).pwa-shell body #app>.bottomnav{background:#28332e!important;border-top:1px solid rgba(255,255,255,0.072);box-shadow:none}
@media (max-width:700px){html[data-theme=dark]:not(z) body #login-overlay.login-wrap{background:#253732}
html[data-theme=dark]:not(z) body #login-overlay .login-box{background:transparent;border:0}
html[data-theme=dark] #login-overlay .login-hero{color:#fff;background:linear-gradient(160deg,#354d46 0%,#181e1b 45%,#21312c 100%)}
html[data-theme=dark] #login-overlay .login-hero::before{background:radial-gradient(circle,rgba(100,183,145,0.42) 0%,rgba(100,183,145,0) 62%)}
html[data-theme=dark] #login-overlay .login-hero::after{background:radial-gradient(circle,rgba(218,170,72,0.26) 0%,rgba(218,170,72,0) 62%)}
html[data-theme=dark] #login-overlay .login-hero .brand-mark{background:rgba(40,51,46,0.96);box-shadow:0 18px 40px rgba(0,0,0,0.6),inset 0 -2px 0 rgba(255,255,255,0.072)}
html[data-theme=dark] #login-overlay .login-hero h1{color:#fff}
html[data-theme=dark] #login-overlay .login-hero .doctor-name{color:rgba(255,255,255,.78)}
html[data-theme=dark] #login-overlay .login-sheet{background:#28332e;box-shadow:0 -12px 40px rgba(0,0,0,0.468)}
html[data-theme=dark] #login-overlay .login-sheet::before{background:#343c37}
html[data-theme=dark] #login-overlay .field>span{color:#c6ccca}
html[data-theme=dark] #login-overlay .field input{border:1.5px solid transparent;background:#202925;color:#b2c1c7}
html[data-theme=dark] #login-overlay .field input::placeholder{color:#97A6A0}
html[data-theme=dark] #login-overlay .field input:focus{outline:none;background:#28332e;border-color:#2F7A63;box-shadow:0 0 0 4px rgba(255,255,255,0.126)}
html[data-theme=dark] #login-overlay .field small{color:#8A9A94}
html[data-theme=dark] #login-overlay .password-wrap button{border:0;background:transparent;color:#a5c2b9}
html[data-theme=dark] #login-overlay .password-wrap button:active{background:#303d36}
html[data-theme=dark] #login-overlay .login-submit{border:0;color:#fff;background:linear-gradient(180deg,#39544d 0%,#181e1b 100%);box-shadow:0 12px 26px rgba(0,0,0,0.6),inset 0 1px 0 rgba(255,255,255,0.108)}
html[data-theme=dark] #login-overlay .login-submit:active{box-shadow:0 6px 14px rgba(0,0,0,0.6)}
html[data-theme=dark]:not(z) body #login-overlay .login-forgot{border:0;background:transparent;color:#a5c2b9}
html[data-theme=dark] #login-overlay .login-forgot:active{background:#2f3b33}
html[data-theme=dark] #login-overlay .pk-zone .login-divider{color:#97A6A0}
html[data-theme=dark] #login-overlay #pk-login-btn{border:1.5px solid #416451;background:#28332e;color:#afc7c1}
html[data-theme=dark] #login-overlay #pk-login-btn:active{background:#212a25}
html[data-theme=dark] #login-overlay .pk-zone .login-note{color:#8A9A94}
html[data-theme=dark] #login-overlay .login-sheet:has(#pk-login-btn.pk-primary) .pk-zone #pk-login-btn{border:0;color:#fff;background:linear-gradient(180deg,#39544d 0%,#181e1b 100%);box-shadow:0 12px 26px rgba(0,0,0,0.6),inset 0 1px 0 rgba(255,255,255,0.108)}
html[data-theme=dark] #login-overlay .login-sheet:has(#pk-login-btn.pk-primary) .login-submit{background:#28332e;color:#afc7c1;border:1.5px solid #416451;box-shadow:none}
html[data-theme=dark] #login-overlay .login-err:not(:empty){background:#3b302e;color:#bc9c9b}
html[data-theme=dark] #login-overlay .login-note{color:#b5bab9}
html[data-theme=dark] #login-overlay #login-account-note:not([hidden]){background:#202925}
html[data-theme=dark] #login-overlay .lang-sw button{border:0;background:transparent;color:#8A9A94}
html[data-theme=dark] #login-overlay .lang-sw button.on{background:#2f3b33;color:#afc7c1}}
html[data-theme=dark] .pf-priv{color:#babfbd}
html[data-theme=dark] .pf-it{border:0;background:transparent}
html[data-theme=dark] .pf-it img,html[data-theme=dark] .pf-it .pf-pdf{background:#1e2622;border:1px solid #3e4f47}
html[data-theme=dark] .pf-it .pf-pdf{color:#b89b99;background:#3a302e}
html[data-theme=dark] .pf-it small{color:#babfbd}
html[data-theme=dark] .pf-add{border:1.5px dashed #456453;color:#afc7c1;background:#242e29}
html[data-theme=dark] .pf-view{background:rgba(0,0,0,0.75)}
html[data-theme=dark] .pf-vbar{color:#fff}
html[data-theme=dark] .pf-vb{border:0;background:rgba(255,255,255,0.035);color:#fff}
html[data-theme=dark] .pf-vb.del{color:#FFB4AE}
html[data-theme=dark] #sheet .pay-chips button{background:#212a25;border:0;color:#afc7c1}
html[data-theme=dark] .pay-l{color:#babfbd}
html[data-theme=dark] .pay-l input{border:1px solid #3e4f47}
html[data-theme=dark] #sheet .pay-m button.on{background:#181e1b;color:#fff;border-color:#24584A}
html[data-theme=dark] #sheet .pay-rm{color:#b89b99}
html[data-theme=dark] .pay-ic{background:#303d35;color:#a5c2b9}
html[data-theme=dark] .pay-txt small{color:#babfbd}
html[data-theme=dark] .pay-tag{background:#303d35;color:#a5c2b9}
html[data-theme=dark] .sm-list li{border-top:1px solid #3c4d45}
html[data-theme=dark] .sm-list li:first-child{border-top:0}
html[data-theme=dark] .sm-list .icon{color:#a5c2b9}
html[data-theme=dark] .sm-rev div{background:#222b26}
html[data-theme=dark] .sm-rev small{color:#babfbd}
html[data-theme=dark] .tk{background:#28332e;border:1px solid #3e4f47;box-shadow:0 8px 24px rgba(0,0,0,0.156)}
html[data-theme=dark]:not(z).pwa .tk{border:0}
html[data-theme=dark] .tk-n{background:#181e1b;color:#fff}
html[data-theme=dark] .tk-g{border-top:1px solid #3c4d45}
html[data-theme=dark] .tk-g:first-of-type{border-top:0}
html[data-theme=dark] .tk-gi .icon{stroke:#fff}
html[data-theme=dark] .tk-gc{color:#babfbd}
html[data-theme=dark] .tk-who small{color:#babfbd}
html[data-theme=dark] .tk-b{border:1px solid #3e4f47;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .tk-b.pri{background:#181e1b;border-color:#24584A;color:#fff}
html[data-theme=dark] .tk-b.dang{color:#b89b99;border-color:#6d3e3b}
html[data-theme=dark] .tk-more{border:0;background:transparent;color:#aec5bf}
html[data-theme=dark] .tk-done{color:#a5c2b9}
html[data-theme=dark] .tk-head .tk-wl,html[data-theme=dark] .tk-done .tk-wl{border:1px solid #473969;background:#312d39;color:#9f98b7}
html[data-theme=dark] .tk-wl span{background:#6041ae;color:#fff}
html[data-theme=dark] .wl-form{background:#232c28}
html[data-theme=dark] .wl-form>summary{color:#aec5bf}
html[data-theme=dark] .wl-form input{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .wl-dates label{color:#babfbd}
html[data-theme=dark] #sheet .wl-pref button.on{background:#181e1b;color:#fff;border-color:#24584A}
html[data-theme=dark] .wl-it{border-top:1px solid #3c4d45}
html[data-theme=dark] .wl-who small{color:#babfbd}
html[data-theme=dark] .wl-who .wl-free{color:#a5c2b9}
html[data-theme=dark] .rc-in{border:1px solid #3e4f47}
html[data-theme=dark] #sheet .rc-chip{background:#212a25;border:0;color:#afc7c1}
html[data-theme=dark] .rc-banner{background:#2e343b;color:#a7b6c4}
html[data-theme=dark] .td-emptyline{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .td-emptyline .tde-ico{background:#313c35;color:#aec5bf}
html[data-theme=dark] .td-emptyline small{color:#babfbd}
html[data-theme=dark] button.tdo-tile{border:1px solid #3e4f47;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .tdo-tile .tdo-ico .icon{stroke:#fff}
html[data-theme=dark] .tdo-tile small{color:#babfbd}
html[data-theme=dark] .tdo-tile .tdo-sub{color:#babfbd}
html[data-theme=dark] .tdo-next{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .tdo-next h3{color:#babfbd}
html[data-theme=dark] button.tdo-row{border:0;border-top:1px solid #3d4d45;background:transparent;color:#b2c1c7}
html[data-theme=dark] .tdo-row .tdo-when{color:#aec5bf}
html[data-theme=dark] .tdo-none{color:#babfbd}
html[data-theme=dark]:not(z).pwa body button.tdo-tile,html[data-theme=dark]:not(z).pwa body .tdo-next,html[data-theme=dark]:not(z).pwa body .td-emptyline{border:0;box-shadow:0 8px 24px rgba(0,0,0,0.208),0 1px 2px rgba(0,0,0,0.104)}
html[data-theme=dark] .tl-filters button{color:#babfbd;background:#28332e}
html[data-theme=dark] .tl-filters button.on{background:#313c35;color:#aec5bf;border-color:transparent}
html[data-theme=dark] .tl-group{color:#babfbd}
html[data-theme=dark] .tl-item::before{background:#313c35}
html[data-theme=dark] .tl-dot{background:var(--c,#7C8B85);color:#fff}
html[data-theme=dark] .tl-dot .icon{stroke:#fff}
html[data-theme=dark] .tl-item>.pat-row{border-top:0}
html[data-theme=dark] .tl-ev[role=button]:hover,html[data-theme=dark] .tl-item>.pat-row:hover{background:#222b26}
html[data-theme=dark] .tl-ev small{color:#babfbd}
html[data-theme=dark] .tl-ev .tl-date{color:#babfbd}
html[data-theme=dark] .tl-empty{color:#babfbd}
html[data-theme=dark] .th-opts button{border:1px solid #3e4f47;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .th-opts button small{color:#babfbd}
html[data-theme=dark] .th-opts button i{border:2px solid #46594f}
html[data-theme=dark] .th-opts button.on{border-color:#285F50;background:#313c35}
html[data-theme=dark] .th-opts button.on i{border:7px solid #285F50}
html[data-theme=dark] .th-note{color:#babfbd}
html[data-theme=dark] .spl-sw{background:#222b26}
html[data-theme=dark] .spl-sw small{color:#babfbd}
html[data-theme=dark] .spl-sw i{background:#3b433f}
html[data-theme=dark] .spl-sw i::after{background:#28332e;box-shadow:0 2px 4px rgba(0,0,0,0.52)}
html[data-theme=dark] .spl-sw input:checked+i{background:#3a574f}
html[data-theme=dark] .spl-until{background:#222b26}
html[data-theme=dark] .spl-until small{color:#babfbd}
html[data-theme=dark] .spl-row input{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .spl-note{color:#babfbd}
html[data-theme=dark] .ai-dict-btn{border:0;color:#fff;background:linear-gradient(135deg,#3a574f 0%,#181e1b 60%,#4d4187 140%);box-shadow:0 6px 16px rgba(0,0,0,0.6)}
html[data-theme=dark] .ai-dict-btn svg{fill:none;stroke:currentColor}
html[data-theme=dark] .ai-mic{border:0;color:#fff;background:linear-gradient(160deg,#39544d,#253732);box-shadow:0 14px 30px rgba(0,0,0,0.6)}
html[data-theme=dark] .ai-mic svg{fill:none;stroke:currentColor}
html[data-theme=dark] .ai-mic.on{background:linear-gradient(160deg,#b63c35,#82332f);box-shadow:0 14px 30px rgba(0,0,0,0.6)}
html[data-theme=dark] .ai-mic.on::before{border:3px solid rgba(210,84,76,.35)}
html[data-theme=dark] .ai-mic-l{color:#b2c1c7}
html[data-theme=dark] .ai-txt summary{color:#aec5bf}
html[data-theme=dark] .ai-txt textarea,html[data-theme=dark] .ai-res textarea{border:1px solid #3e4f47}
html[data-theme=dark] .ai-work{color:#babfbd}
html[data-theme=dark] .ai-res label{color:#babfbd}
html[data-theme=dark] .ai-heard{color:#babfbd}
html[data-theme=dark] .ai-sum{border:1px solid #443869;background:linear-gradient(180deg,#27312c 0%,#28332e 100%)}
html[data-theme=dark] .ai-spark{color:#6A55C9}
html[data-theme=dark] .ai-sum-body.quiet{color:#babfbd}
html[data-theme=dark] .ai-sum-body small{color:#babfbd}
html[data-theme=dark] .am-ava{background:#313e37;color:#afc7c1}
html[data-theme=dark] .am-who>span{color:#babfbd}
html[data-theme=dark] #sheet .am-x{border:0;background:#202824;color:#babfbd}
html[data-theme=dark] #sheet .am-q{border:0;background:#212a25;color:#afc7c1}
html[data-theme=dark] #sheet .am-q:active{background:#313e37}
html[data-theme=dark] .am-group{background:#232c28}
html[data-theme=dark] #sheet .am-row{border:0;background:transparent;color:#b2c1c7}
html[data-theme=dark] #sheet .am-row+.am-row{border-top:1px solid #3d4e46}
html[data-theme=dark] #sheet .am-row .icon{color:#bbc1bf}
html[data-theme=dark] #sheet .am-row.ok .icon{color:#a5c2b9}
html[data-theme=dark] #sheet .am-danger .am-row,html[data-theme=dark] #sheet .am-danger .am-row .icon{color:#b99897}
html[data-theme=dark] #sheet .am-row:active{background:#323c35}
html[data-theme=dark] .bl-tag{background:#2E2E2E;color:#fff}
html[data-theme=dark] .bl-banner{background:#3c312f;color:#c3a7a5}
html[data-theme=dark] .bl-intro{color:#babfbd}
html[data-theme=dark] .bl-form{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .bl-form>summary{color:#aec5bf}
html[data-theme=dark] .bl-form .field span{color:#babfbd}
html[data-theme=dark] .bl-form input,html[data-theme=dark] .bl-form textarea{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .bl-item{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .bl-ph{color:#babfbd}
html[data-theme=dark] .bl-reason{background:#212a26}
html[data-theme=dark] .bl-att{color:#b89b99}
html[data-theme=dark] .bl-att.none{color:#babfbd}
html[data-theme=dark] .bl-log{color:#babfbd}
html[data-theme=dark] .bl-ask .field span{color:#babfbd}
html[data-theme=dark] .bl-ask textarea{border:1px solid #3e4f47}
html[data-theme=dark] #ptv .bl-open{color:#dedede}
html[data-theme=dark] #ptv .bl-n:not(:empty){background:#2E2E2E;color:#fff}
html[data-theme=dark] .bl-warn{color:#b89b99}
html[data-theme=dark] .push-ask{background:#28332e;box-shadow:0 8px 24px rgba(0,0,0,0.208),0 1px 2px rgba(0,0,0,0.104)}
html[data-theme=dark] .push-ask .pa-ic{background:#3c372f;color:#beb29d}
html[data-theme=dark] .upd-bar{background:#263135;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,0.6)}
html[data-theme=dark] .upd-bar button{border:0;background:#28332e;color:#b2c1c7}
html[data-theme=dark] #morev .mo-row[onclick="Push.click()"] .mo-sub{color:#babfbd}
html[data-theme=dark] .tc-sidebar{border-right:1px solid #3e4f47;background:#26302b}
html[data-theme=dark] .tc-room{border:0;border-bottom:1px solid #3e4f47;background:transparent}
html[data-theme=dark] .tc-room.active{background:#313c35;box-shadow:inset 3px 0 #285F50}
html[data-theme=dark] .tc-room:hover{background:#313c35}
html[data-theme=dark] .tc-pane{background:#28332e}
html[data-theme=dark] .tc-head{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .tc-log{background:#26302b}
html[data-theme=dark] .tc-bubble{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .own .tc-bubble{background:#313c35}
html[data-theme=dark] .tc-author{color:#aec5bf}
html[data-theme=dark] .tc-message-meta{color:#babfbd}
html[data-theme=dark] .tc-message-meta button.tc-read,html[data-theme=dark] .tc-message-meta button.tc-delete{border:0;background:none;color:#babfbd}
html[data-theme=dark] .tc-message-meta button.tc-read.is-read{color:#aec5bf}
html[data-theme=dark] .tc-ic{fill:none;stroke:currentColor}
html[data-theme=dark] .tc-ic.is-solid{fill:currentColor;stroke:none}
html[data-theme=dark] button.tc-voice-play{border:0;background:#30453f;color:#fff}
html[data-theme=dark] button.tc-voice-play:hover:not(:disabled){background:#273935}
html[data-theme=dark] .tc-voice.is-busy .tc-voice-play::after{border:2px solid transparent;border-top-color:#285F50}
html[data-theme=dark] .tc-voice-wave i{background:rgba(0,0,0,0.6)}
html[data-theme=dark] .tc-voice-wave i.on{background:#30453f}
html[data-theme=dark] .tc-voice.is-pending .tc-voice-wave i{background:rgba(255,255,255,0.134)}
html[data-theme=dark] .tc-voice-time{color:#babfbd}
html[data-theme=dark] .tc-message-meta button.tc-read.is-read{color:#aec5bf}
html[data-theme=dark] .tc-compose{border-top:1px solid #3e4f47}
html[data-theme=dark] .tc-compose-row textarea{border:1px solid #3e4f47;background:#26302b}
html[data-theme=dark] button.tc-round{border:0;background:transparent;color:#b2c1c7}
html[data-theme=dark] button.tc-compose-btn{color:#babfbd}
html[data-theme=dark] button.tc-compose-btn:hover:not(:disabled){background:#313c35;color:#aec5bf}
html[data-theme=dark] button.tc-rec-send{background:#30453f;color:#fff}
html[data-theme=dark] button.tc-rec-send:hover:not(:disabled){background:#273935}
html[data-theme=dark] button.tc-rec-trash{color:#b89b99}
html[data-theme=dark] button.tc-rec-trash:hover:not(:disabled){background:#3c322f}
html[data-theme=dark] button.tc-rec-pause{border:1.5px solid #213E49}
html[data-theme=dark] button.tc-rec-pause:hover:not(:disabled){background:#313c35}
html[data-theme=dark] .tc-rec-track{background:#313c35}
html[data-theme=dark] .tc-rec-dot{background:#833e3a}
html[data-theme=dark] #tc-rec-wave{color:#aec5bf}
html[data-theme=dark] .tc-rec-time{color:#b2c1c7}
html[data-theme=dark] .tc-queued{border:1px solid #3e4f47}
html[data-theme=dark] .tc-queued.is-voice{background:#313c35;border-color:transparent}
html[data-theme=dark] .tc-bottom{color:#aec5bf}
html[data-theme=dark] .tc-drag{outline:3px dashed #285F50}
@media (max-width:700px){html[data-theme=dark] .tc-sidebar{border:0}}
html[data-theme=dark] button.tc-head-ava{border:0;background:none}
html[data-theme=dark] #tc-subtitle.is-typing{color:#aec5bf}
html[data-theme=dark] button.tc-icon-btn{border:0;background:none;color:#babfbd}
html[data-theme=dark] button.tc-icon-btn:hover{background:#313c35;color:#b2c1c7}
html[data-theme=dark] .avatar.is-online::after{background:#297e4b;box-shadow:0 0 0 2px #3a4a42}
html[data-theme=dark] .tc-find{border-bottom:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .tc-find-row{color:#babfbd}
html[data-theme=dark] .tc-find-row input{border:0;outline:0;background:transparent;color:#b2c1c7}
html[data-theme=dark] button.tc-find-item{border:0;border-top:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] button.tc-find-item:hover,html[data-theme=dark] button.tc-find-item:focus-visible{background:#313c35}
html[data-theme=dark] .tc-find-head time{color:#babfbd}
html[data-theme=dark] .tc-find-text{color:#b2c1c7}
html[data-theme=dark] .tc-find-text mark{background:#474338;color:inherit}
html[data-theme=dark] .tc-pin{border-bottom:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] button.tc-pin-main{border:0;background:none;box-shadow:inset 3px 0 #285F50}
html[data-theme=dark] button.tc-pin-main .tc-ic{color:#aec5bf}
html[data-theme=dark] .tc-pin-main b{color:#aec5bf}
html[data-theme=dark] #tc-pin-text{color:#b2c1c7}
html[data-theme=dark] button.tc-ava{border:0;background:none}
html[data-theme=dark] button.tc-author{border:0;background:none;color:#aec5bf}
html[data-theme=dark] .tc-role{background:#313c35;color:#aec5bf}
html[data-theme=dark] .tc-fwd{color:#babfbd}
html[data-theme=dark] .tc-fwd b{color:#aec5bf}
html[data-theme=dark] button.tc-quote{border:0;background:#2f3b33;box-shadow:inset 3px 0 #285F50}
html[data-theme=dark] .own button.tc-quote{background:#324037}
html[data-theme=dark] .tc-quote b{color:#aec5bf}
html[data-theme=dark] .tc-quote span{color:#b2c1c7}
html[data-theme=dark] .tc-quote.is-gone span{color:#babfbd}
html[data-theme=dark] .tc-at-name{color:#aec5bf}
html[data-theme=dark] .tc-at-name.is-me{background:#474338}
html[data-theme=dark] .tc-message.is-mention .tc-bubble{box-shadow:inset 3px 0 #D9A23A}
html[data-theme=dark] button.tc-appt{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] button.tc-appt:hover:not(:disabled){border-color:#466553;background:#26302b}
html[data-theme=dark] .tc-appt .tc-ic{color:#aec5bf}
html[data-theme=dark] .tc-appt small{color:#babfbd}
html[data-theme=dark] .tc-appt-st{background:#313c35;color:#aec5bf}
html[data-theme=dark] .tc-appt-st[data-st="Подтверждена"]{background:#313c35;color:#aec5bf}
html[data-theme=dark] .tc-appt-st[data-st="Новая"]{background:#403a32;color:#bfb4a7}
html[data-theme=dark] .tc-appt-st[data-st="Отменена"]{background:#3c322f;color:#b89b99}
html[data-theme=dark] button.tc-react{border:1px solid #3e4f47;background:#28332e;color:#b2c1c7}
html[data-theme=dark] button.tc-react.is-mine{background:#313c35;border-color:#446d58;color:#aec5bf}
html[data-theme=dark] .tc-message-meta button.tc-more{border:0;background:none;color:#babfbd}
html[data-theme=dark] .tc-message-meta button.tc-more:hover{background:rgba(255,255,255,0.045);color:#b2c1c7}
html[data-theme=dark] .tc-message.is-menu .tc-bubble{box-shadow:0 0 0 2px #446d58}
html[data-theme=dark] .tc-menu{background:#28332e;border:1px solid #3e4f47;box-shadow:0 12px 34px rgba(0,0,0,0.489)}
html[data-theme=dark] .tc-menu-react{border-bottom:1px solid #3e4f47}
html[data-theme=dark] .tc-menu-react button{border:0;background:none}
html[data-theme=dark] .tc-menu-react button:hover,html[data-theme=dark] .tc-menu-react button:focus-visible{background:#313c35}
html[data-theme=dark] .tc-menu-react button.is-mine{background:#313c35}
html[data-theme=dark] button.tc-menu-item{border:0;background:none;color:#b2c1c7}
html[data-theme=dark] button.tc-menu-item .tc-ic{color:#babfbd}
html[data-theme=dark] button.tc-menu-item:hover,html[data-theme=dark] button.tc-menu-item:focus-visible{background:#313c35}
html[data-theme=dark] button.tc-menu-item.is-danger,html[data-theme=dark] button.tc-menu-item.is-danger .tc-ic{color:#b89b99}
html[data-theme=dark] .tc-menu-wrap.is-sheet .tc-menu-back{background:rgba(0,0,0,0.533)}
html[data-theme=dark] .tc-ctx-ic{color:#aec5bf}
html[data-theme=dark] button.tc-ctx-body{border:0;background:none;box-shadow:inset 3px 0 #285F50}
html[data-theme=dark] .tc-ctx-body b{color:#aec5bf}
html[data-theme=dark] .tc-ctx-body span{color:#b2c1c7}
html[data-theme=dark] .tc-mention{background:#28332e;border:1px solid #3e4f47;box-shadow:0 10px 28px rgba(0,0,0,0.387)}
html[data-theme=dark] button.tc-mention-item{border:0;background:none}
html[data-theme=dark] button.tc-mention-item.is-on,html[data-theme=dark] button.tc-mention-item:hover{background:#313c35}
html[data-theme=dark] .tc-pick-dialog .tc-pick-list{border-top:1px solid #3e4f47}
html[data-theme=dark] .tc-prof-ava .avatar.is-online::after{box-shadow:0 0 0 3px #3a4a42}
html[data-theme=dark] .tc-prof-name{color:#b2c1c7}
html[data-theme=dark] .tc-prof-role{background:#313c35;color:#aec5bf}
html[data-theme=dark] .tc-prof-seen{color:#babfbd}
html[data-theme=dark] .counter.tc-at{background:#30453f;color:#fff}
html[data-theme=dark] #nav-msg.tc-has-mention,html[data-theme=dark] #bn-msgn.tc-has-mention{background:#30453f;color:#fff}
html[data-theme=dark] .tc-message.is-swipe-ready::before{color:#aec5bf}
@media (prefers-reduced-motion:reduce){html[data-theme=dark] .tc-message.is-flash .tc-bubble{box-shadow:0 0 0 2px #D9A23A}}
html[data-theme=dark] .tc-menu:focus{outline:none}
html[data-theme=dark] button.tc-icon-btn.is-off{color:#b89b99}
html[data-theme=dark] .tc-message-meta button.tc-read{color:#babfbd}
html[data-theme=dark] .tc-message-meta button.tc-read.is-read{color:#7FA894}
html[data-theme=dark] .tc-message-meta button.tc-read.is-all{color:#aec5bf}
html[data-theme=dark] button.tc-photo-btn{border:0;background:none}
html[data-theme=dark] .tc-photo{background:#1e2622}
html[data-theme=dark] a.tc-doc{background:rgba(40,51,46,0.65);border:1px solid #3e4f47;color:#b2c1c7}
html[data-theme=dark] .own a.tc-doc{background:rgba(40,51,46,0.55)}
html[data-theme=dark] a.tc-doc:hover{border-color:#466553;background:#28332e}
html[data-theme=dark] .tc-doc-ic{color:#fff;background:#738079}
html[data-theme=dark] .tc-doc-ic.is-pdf{background:#a43c34}
html[data-theme=dark] .tc-doc-ic.is-doc{background:#345ba4}
html[data-theme=dark] .tc-doc-ic.is-xls{background:#296f48}
html[data-theme=dark] .tc-doc-ic.is-ppt{background:#a75e28}
html[data-theme=dark] .tc-doc-ic.is-aud{background:#634a9b}
html[data-theme=dark] .tc-doc-body small{color:#babfbd}
html[data-theme=dark] .tc-doc-dl{color:#aec5bf;background:#313c35}
html[data-theme=dark] .tc-queued{border:1px solid #3e4f47;background:#28332e}
html[data-theme=dark] .tc-queued-text small{color:#babfbd}
html[data-theme=dark] button.tc-queued-x{border:0;background:#1e2622;color:#babfbd}
html[data-theme=dark] button.tc-queued-x:hover{background:#3c322f;color:#b89b99}
html[data-theme=dark] .tc-viewer{background:rgba(0,0,0,0.75);outline:none}
html[data-theme=dark] .tc-viewer-bar{background:linear-gradient(rgba(0,0,0,0.65),transparent);color:#fff}
html[data-theme=dark] .tc-viewer-btn{border:0;background:rgba(255,255,255,0.03);color:#fff}
html[data-theme=dark] .tc-viewer-btn:hover{background:rgba(255,255,255,0.06)}
html[data-theme=dark] button.tc-prof-zoom{border:0;background:transparent}
html[data-theme=dark] .tc-switch-text small{color:#babfbd}
html[data-theme=dark] .tc-switch-knob{background:#3b433f}
html[data-theme=dark] .tc-switch-knob::after{background:#28332e;box-shadow:0 1px 2px rgba(0,0,0,0.52)}
html[data-theme=dark] .tc-switch-knob.is-on{background:#30453f}
html[data-theme=dark] button.tc-attach-item .tc-ic{color:#aec5bf}
html[data-theme=dark] .tc-search-dialog .tc-pick-q{border:1px solid #506458;background:#28332e;color:#b2c1c7}
html[data-theme=dark] .tc-search-dialog .tc-pick-q:focus{outline:2px solid #285F50;border-color:#285F50}
html[data-theme=dark] .tc-patient .tc-appt-st{background:#313c35;color:#aec5bf}
html[data-theme=dark] .tc-day span{color:#babfbd;background:rgba(40,51,46,0.902);border:1px solid #3e4f47;box-shadow:0 1px 2px rgba(0,0,0,0.163)}
html[data-theme=dark] .tc-message>button.tc-more{border:0;background:none;color:#babfbd}
html[data-theme=dark] .tc-message>button.tc-more:hover{background:rgba(255,255,255,0.045);color:#b2c1c7}
@media (max-width:700px){html[data-theme=dark]:not(z).chat-full .tc-shell{border:0;box-shadow:none;background:#28332e}}
html[data-theme=dark] .tc-log[data-wall],html[data-theme=dark] .tc-wall-pv{background-color:#26302b;background-repeat:repeat;background-attachment:scroll}
html[data-theme=dark] .tc-log[data-wall=mint],html[data-theme=dark] .tc-wall-pv[data-wall=mint]{background-color:#303d35;background-image:radial-gradient(#35443a 1.3px,transparent 1.5px);background-size:18px 18px}
html[data-theme=dark] .tc-log[data-wall=sand],html[data-theme=dark] .tc-wall-pv[data-wall=sand]{background-color:#3d3930;background-image:radial-gradient(#443f35 1.2px,transparent 1.4px);background-size:22px 22px}
html[data-theme=dark] .tc-log[data-wall=sky],html[data-theme=dark] .tc-wall-pv[data-wall=sky]{background-image:linear-gradient(165deg,#30373d 0%,#2e353a 55%,#242e29 100%)}
html[data-theme=dark] .tc-log[data-wall=lavender],html[data-theme=dark] .tc-wall-pv[data-wall=lavender]{background-image:linear-gradient(165deg,#35303d 0%,#332e3a 55%,#232d28 100%)}
html[data-theme=dark] .tc-log[data-wall=dawn],html[data-theme=dark] .tc-wall-pv[data-wall=dawn]{background-image:linear-gradient(165deg,#3e3631 0%,#3c2f39 50%,#2f353c 100%)}
html[data-theme=dark] .tc-log[data-wall=leaves],html[data-theme=dark] .tc-wall-pv[data-wall=leaves]{background-color:#2f3b32;background-size:64px 64px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23C9DDCF' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 22c0-7 5-12 12-12 0 7-5 12-12 12Zm0 0 8-8'/%3E%3Cpath d='M44 54c0-7 5-12 12-12 0 7-5 12-12 12Zm0 0 8-8'/%3E%3Cpath d='M46 18c6 0 10 4 10 10-6 0-10-4-10-10Zm0 0 6 6'/%3E%3Cpath d='M10 46c6 0 10 4 10 10-6 0-10-4-10-10Zm0 0 6 6'/%3E%3C/g%3E%3C/svg%3E")}
html[data-theme=dark] .tc-log[data-wall=plus],html[data-theme=dark] .tc-wall-pv[data-wall=plus]{background-color:#212a26;background-size:44px 44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg stroke='%23D6E3DC' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 7v8M7 11h8'/%3E%3Cpath d='M33 29v8M29 33h8'/%3E%3C/g%3E%3C/svg%3E")}
html[data-theme=dark] .tc-log[data-wall=night],html[data-theme=dark] .tc-wall-pv[data-wall=night]{background-color:#1D2928;background-image:radial-gradient(rgba(255,255,255,0.03) 1.2px,transparent 1.4px);background-size:20px 20px}
html[data-theme=dark] .tc-log[data-wall=photo],html[data-theme=dark] .tc-wall-pv[data-wall=photo]{background-color:#363f3a;background-image:var(--tc-wall-photo);background-size:cover;background-position:center;background-repeat:no-repeat}
html[data-theme=dark] .tc-log[data-wall=photo].tc-wall-dim,html[data-theme=dark] .tc-wall-pv[data-wall=photo].tc-wall-dim{background-image:linear-gradient(#FCFCFA8C,#FCFCFA8C),var(--tc-wall-photo)}
html[data-theme=dark] .tc-log[data-wall=night] .tc-empty,html[data-theme=dark] .tc-log[data-wall=night]>p.quiet{color:#C9D6D1}
html[data-theme=dark] .tc-log[data-wall=night] .tc-load-more,html[data-theme=dark] .tc-log[data-wall=photo] .tc-load-more{background:rgba(40,51,46,0.902)}
html[data-theme=dark] .tc-log[data-wall=night] .tc-message:not(.own) .tc-bubble{border-color:transparent}
html[data-theme=dark] .tc-log[data-wall=photo]:not(.tc-wall-dim) .tc-bubble{box-shadow:0 1px 2px rgba(0,0,0,0.316)}
html[data-theme=dark] button.tc-wall-tile{border:0;background:none;color:#b2c1c7}
html[data-theme=dark] .tc-wall-pv{border:1px solid #3e4f47}
html[data-theme=dark] .tc-wall-tile[aria-checked=true] .tc-wall-pv{box-shadow:0 0 0 2px #3a4a42,0 0 0 4px #285F50}
html[data-theme=dark] .tc-wall-tile[aria-checked=true] .tc-wall-pv::after{background:#30453f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
html[data-theme=dark] .tc-wall-tile:focus-visible .tc-wall-pv{outline:3px solid #446d58}
html[data-theme=dark] .tc-wall-pv .tc-wall-b1{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .tc-wall-pv .tc-wall-b2{background:#313c35;border:1px solid #3f5148}
html[data-theme=dark] .tc-wall-pv .tc-wall-b3{background:#28332e;border:1px solid #3e4f47}
html[data-theme=dark] .tc-wall-pv[data-wall=night] .tc-wall-b1,html[data-theme=dark] .tc-wall-pv[data-wall=night] .tc-wall-b3{border-color:transparent}
html[data-theme=dark] button.tc-wall-upload{border:1px dashed #506458;background:#28332e;color:#b2c1c7}
html[data-theme=dark] button.tc-wall-dim-row{border:1px solid #3e4f47}
html[data-theme=dark] button.tc-wall-del{color:#b89b99}
html[data-theme=dark] .tc-log[data-wall]:not([data-wall=none]) .tc-bubble{box-shadow:0 1px 2px rgba(0,0,0,0.204)}
html[data-theme=dark] .tc-log[data-wall]:not([data-wall=none]):not([data-wall=night]) .tc-message.own .tc-bubble{background:#334138;border-color:#40684e}
html[data-theme=dark] .tc-wall-pv:not([data-wall=none]):not([data-wall=night]) .tc-wall-b2{background:#334138;border-color:#40684e}
:root[data-theme=dark]:not(z){--blue:#aec5bf;--green:#aec5bf;--red:#b89b99;--amber:#bfb4a7}
/* ↑ акценты как ТЕКСТ во встроенных style="color:var(--green)" и скриптах; в таблицах стилей var() уже развёрнуты по роли свойства */

/* ── ручные правки (tools/panel-dark.manual.css) ── */
/* Ручные правки тёмной темы — то, что генератор не может угадать сам. */
html[data-theme=dark]{color-scheme:dark}
/* Шапка приложения темнее контента (#181E1B против ~#202925): карточки, уезжая под неё, не сливаются.
   Всегда тонкая светлая линия снизу, при прокрутке — ещё и тень (класс is-scrolled ставит скрипт каркаса). */
html[data-theme=dark]:not(z).pwa-shell body #app>.pagehead{box-shadow:0 1px 0 rgba(255,255,255,.07)!important}
html[data-theme=dark]:not(z).pwa-shell body #app>.pagehead.is-scrolled{box-shadow:0 1px 0 rgba(255,255,255,.09),0 8px 20px rgba(0,0,0,.55)!important}
