@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root{
  --nk-blue-50:#EAF1FE;--nk-blue-100:#D3E2FE;--nk-blue-200:#A6C5FD;
  --nk-blue-400:#3B7DF8;--nk-blue-600:#0561FC;--nk-blue-700:#054FD1;--nk-blue-800:#063EA3;
  --nk-navy-900:#0B1C3A;--nk-navy-700:#22355C;--nk-navy-500:#485980;
  --nk-gray-25:#FAFBFD;--nk-gray-50:#F2F5FA;--nk-gray-100:#E8EDF5;--nk-gray-200:#DCE4F0;
  --nk-gray-300:#C3CEDF;--nk-gray-400:#9AA8C0;--nk-gray-500:#6E7E9C;
  --nk-yellow-100:#FFF3CC;--nk-yellow-400:#FFC821;--nk-yellow-600:#E0A400;
  --nk-mint-100:#D9F7EC;--nk-mint-500:#17C088;--nk-mint-700:#0E8F65;
  --nk-coral-100:#FFE3E3;--nk-coral-500:#FF5A5A;--nk-coral-700:#D63A3A;
  --font-display:'Baloo 2','Nunito',system-ui,sans-serif;
  --font-body:'Nunito',system-ui,sans-serif;
  --shadow-card:0 1px 2px rgba(11,28,58,.06),0 6px 16px rgba(11,28,58,.10);
  --shadow-raised:0 2px 4px rgba(11,28,58,.08),0 12px 28px rgba(11,28,58,.14);
  --focus-ring:0 0 0 3px rgba(5,97,252,.25);
  --ease-out:cubic-bezier(.2,.8,.3,1);
  --bg:var(--nk-gray-50);--card:#fff;--card2:var(--nk-gray-25);
  --ink:var(--nk-navy-900);--muted:var(--nk-navy-500);--acc:var(--nk-blue-600);--acc2:var(--nk-blue-700);
  --ok:var(--nk-mint-500);--warn:var(--nk-yellow-400);--line:var(--nk-gray-200);
  --on:var(--nk-mint-500);--off:var(--nk-yellow-600);--danger:var(--nk-coral-500);
}

*{box-sizing:border-box}
html{background:var(--nk-gray-50)}
body{
  background:var(--nk-gray-50)!important;color:var(--nk-navy-900)!important;
  font-family:var(--font-body)!important;line-height:1.5;-webkit-font-smoothing:antialiased;
  background-image:none!important;
}
::selection{background:var(--nk-blue-200);color:var(--nk-navy-900)}
:focus-visible{outline:none!important;box-shadow:var(--focus-ring)!important}
h1,h2,h3,.h1,.logo,.stat .n,.kpi-val,.dash-hi,.fday-name,.fles-time,.earn-now,.prob{
  font-family:var(--font-display)!important;letter-spacing:-.01em;
}
a{color:var(--nk-blue-600)}
a:hover{color:var(--nk-blue-700)}

.wrap{max-width:1380px!important;padding:12px 22px 72px!important}
.wrap.full{padding:12px 22px 72px!important}
header{
  position:sticky;top:0;z-index:45;min-height:68px;padding:10px 0!important;
  background:var(--nk-gray-50)!important;border-bottom:1px solid var(--nk-gray-200);
}
.logo{display:inline-flex;align-items:center;gap:10px;color:var(--nk-navy-900)!important;font-size:25px!important;font-weight:800!important}
.logo::before{
  content:"";width:38px;height:38px;flex:0 0 38px;border-radius:50%;
  background:url('/ui/neurokids-logo.png') center/cover no-repeat;box-shadow:0 3px 10px rgba(5,97,252,.18);
}
.logo span{color:var(--nk-blue-600)!important;background:none!important;-webkit-text-fill-color:initial!important}
.pill{background:#fff!important;color:var(--nk-navy-500)!important;border:1.5px solid var(--nk-gray-200)!important;padding:7px 13px!important;font-weight:700}

/* Authentication */
.login{
  max-width:430px!important;margin:clamp(42px,10vh,96px) auto!important;padding:30px!important;
  background:#fff!important;border:0!important;border-radius:20px!important;box-shadow:var(--shadow-raised)!important;
}
.nk-login-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--nk-gray-100)}
.nk-login-brand img{width:48px;height:48px;border-radius:50%;box-shadow:0 4px 14px rgba(5,97,252,.18)}
.nk-login-brand strong{display:block;font:800 23px/1 var(--font-display);color:var(--nk-navy-900)}
.nk-login-brand span{display:block;margin-top:4px;color:var(--nk-gray-500);font-size:13px;font-weight:600}
.login h2{font-size:27px!important;line-height:1.15;margin:0 0 8px!important;color:var(--nk-navy-900)}
.login p{color:var(--nk-gray-500)!important}
.field{position:relative}
.nk-password-field{position:relative}
.field label,.sc-slot-ctrls label{font-size:13px!important;font-weight:700!important;color:var(--nk-navy-700)!important}
input,select,textarea{
  min-height:46px;background:#fff!important;border:1.5px solid var(--nk-gray-200)!important;border-radius:16px!important;
  padding:11px 14px!important;color:var(--nk-navy-900)!important;font:600 15px/1.35 var(--font-body)!important;
}
input::placeholder,textarea::placeholder{color:var(--nk-gray-500);opacity:.82}
input:focus,select:focus,textarea:focus{border-color:var(--nk-blue-600)!important;box-shadow:var(--focus-ring)!important;outline:none}
.field input[type="password"],.field input[data-nk-password],.nk-password-field input{padding-right:48px!important}
.nk-pass-toggle{position:absolute;right:4px;top:2px;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:12px;background:var(--nk-gray-50);color:var(--nk-navy-500);cursor:pointer}
.nk-password-field.nk-has-label .nk-pass-toggle{top:auto;bottom:14px}
.nk-pass-toggle svg{width:19px;height:19px}
.err{color:var(--nk-coral-700)!important;font-weight:700}

/* Buttons */
.btn,button.btn{
  min-height:44px;border:0!important;border-radius:14px!important;padding:10px 18px!important;
  background:var(--nk-blue-600)!important;color:#fff!important;font:800 15px/1.1 var(--font-display)!important;
  box-shadow:0 3px 0 var(--nk-blue-800)!important;cursor:pointer;transition:all 150ms var(--ease-out)!important;
}
.btn:hover{background:var(--nk-blue-700)!important;filter:none!important;text-decoration:none}
.btn:active{transform:translateY(3px)!important;box-shadow:none!important}
.btn:disabled{background:var(--nk-gray-100)!important;color:var(--nk-gray-400)!important;box-shadow:none!important;opacity:1!important}
.btn-sm{min-height:36px!important;padding:7px 13px!important;font-size:13px!important;border-radius:12px!important}
.btn-ghost{background:#fff!important;color:var(--nk-blue-600)!important;border:1.5px solid var(--nk-gray-200)!important;box-shadow:0 2px 0 var(--nk-gray-300)!important}
.btn-ghost:hover{background:var(--nk-blue-50)!important;border-color:var(--nk-blue-200)!important}
header .btn-ghost{background:transparent!important;color:var(--nk-navy-500)!important;border-color:transparent!important;box-shadow:none!important}
header .btn-ghost:hover{background:#fff!important;color:var(--nk-blue-700)!important}
.btn-danger{background:var(--nk-coral-100)!important;color:var(--nk-coral-700)!important;box-shadow:none!important}
.btn-go,.fbtn-join{background:var(--nk-mint-500)!important;color:#073426!important;box-shadow:0 3px 0 var(--nk-mint-700)!important}
.btn-locked{background:var(--nk-gray-100)!important;color:var(--nk-gray-400)!important;box-shadow:none!important}

/* Navigation */
.tabs{
  position:sticky;top:68px;z-index:40;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;
  gap:4px!important;margin:10px 0 22px!important;padding:5px!important;border-radius:999px!important;
  background:var(--nk-gray-100)!important;scrollbar-width:thin;box-shadow:0 1px 0 rgba(11,28,58,.04);
}
.tab{
  flex:0 0 auto;min-height:42px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  padding:8px 12px!important;border:0!important;border-radius:999px!important;background:transparent!important;
  color:var(--nk-navy-500)!important;font:700 13.5px/1.1 var(--font-display)!important;box-shadow:none!important;
}
.tab:hover{background:rgba(255,255,255,.7)!important;color:var(--nk-blue-700)!important}
.tab.on{background:#fff!important;color:var(--nk-blue-600)!important;box-shadow:0 1px 4px rgba(11,28,58,.13)!important}
.nk-tab-icon{width:17px;height:17px;display:inline-grid;place-items:center;flex:0 0 17px}
.nk-tab-icon svg{width:17px;height:17px;display:block}
.tab-badge{background:var(--nk-coral-500)!important;color:#fff!important}

/* Surfaces */
.card,.stat,.kpi,.teacher-block,.grp,.les-detail,.fday,.wk-teacher,.stu-card,.sc-rev,.sc-slot,.pay-stu,.renew-card,.lesson{
  background:#fff!important;color:var(--nk-navy-900)!important;border-color:var(--nk-gray-200)!important;
  border-radius:20px!important;box-shadow:var(--shadow-card)!important;
}
.card,.stat,.kpi{border:0!important}
.card{padding:18px!important;margin-bottom:14px!important}
.stat{padding:15px 18px!important}
.stat .n,.kpi-val{color:var(--nk-navy-900)!important;font-weight:800!important}
.stat .l,.kpi-sub,.kpi-label,.sub,.meta,.empty{color:var(--nk-gray-500)!important}
.kpi-grid{gap:12px!important}.kpi{padding:16px!important;min-height:98px}
.h1,.dash-hi{color:var(--nk-navy-900)!important;font-size:26px!important}
.dash-h{font:800 18px var(--font-display)!important;color:var(--nk-navy-900)!important}

.badge,.sc-badge,.crit,.wk-dur,.fday-badge,.fles-att{border-radius:999px!important;font-weight:800!important}
.b-on,.crit.good,.sc-sent.yes{background:var(--nk-mint-100)!important;color:var(--nk-mint-700)!important}
.b-off,.crit.warn,.sc-sent.no{background:var(--nk-yellow-100)!important;color:var(--nk-yellow-600)!important}
.b-mix,.sc-badge.acc{background:var(--nk-blue-50)!important;color:var(--nk-blue-700)!important}

/* Data lists and tables */
table{color:var(--nk-navy-900)!important}
table th{background:var(--nk-gray-25)!important;color:var(--nk-navy-500)!important;font-weight:800!important}
table td,table th{border-color:var(--nk-gray-200)!important}
table tr:hover td{background:var(--nk-blue-50)!important}
.grid-wrap,.wk-wrap,.rn-wrap{border-color:var(--nk-gray-200)!important;border-radius:16px!important}
.wk-time,td.time,table.grid td.time{background:var(--nk-gray-25)!important;color:var(--nk-gray-500)!important}
.wk-cell{background:#fff!important}
.wk-cell:hover,.cell:hover{background:var(--nk-blue-50)!important}
.wk-offcell,.cell.off{background:repeating-linear-gradient(45deg,#fff,#fff 7px,var(--nk-gray-50) 7px,var(--nk-gray-50) 14px)!important}

/* Curator scheduling */
.stu-split{gap:20px!important}.stu-left{background:#fff;border-radius:20px;padding:16px;box-shadow:var(--shadow-card)}
.stu-card{border:1.5px solid var(--nk-gray-200)!important;box-shadow:none!important;border-radius:16px!important}
.stu-card:hover{border-color:var(--nk-blue-300)!important;box-shadow:0 6px 16px rgba(11,28,58,.09)!important}
.stu-name,.cs-name,.fkid-name,.sc-name{color:var(--nk-navy-900)!important}
.stu-stage,.stu-age,.wk-cnt,.fday-date,.fday-count{color:var(--nk-gray-500)!important}
.wk-teacher{border:0!important;padding:16px!important}
.wk-head{background:transparent!important;border-bottom:1px solid var(--nk-gray-100);padding:0 0 12px!important}
.wk-chip{color:var(--nk-navy-900)!important;box-shadow:0 1px 2px rgba(11,28,58,.10)}
.wk-nav button{min-height:38px;background:#fff!important;color:var(--nk-blue-600)!important;border:1.5px solid var(--nk-gray-200)!important;border-radius:12px!important}
.overload-banner,.slot-alert{background:var(--nk-coral-100)!important;color:var(--nk-coral-700)!important;border-color:var(--nk-coral-500)!important;animation:none!important}
.add-day-banner{background:var(--nk-blue-50)!important;border-color:var(--nk-blue-200)!important;color:var(--nk-navy-700)!important}

/* Teacher lesson cards */
.fday{border:0!important;padding:18px!important}.fday-today{box-shadow:0 0 0 3px var(--nk-blue-100),var(--shadow-card)!important}
.fday-badge{background:var(--nk-blue-600)!important;color:#fff!important}
.fles{border-radius:16px!important;border-width:1.5px!important}
.fles-on{background:var(--nk-blue-50)!important;border-color:var(--nk-blue-200)!important}
.fles-off{background:var(--nk-mint-100)!important;border-color:#A9E8D2!important}
.fles-dur,.cell-top .ct-dur{background:#fff!important;color:var(--nk-navy-700)!important}
.fbtn{min-height:42px;border-radius:14px!important;font-family:var(--font-display)!important}
.fbtn-link,.fll-make{background:var(--nk-blue-600)!important;color:#fff!important}
.fbtn-bell{background:var(--nk-yellow-400)!important;color:var(--nk-navy-900)!important}
.fles-link{background:#fff!important;border-color:var(--nk-blue-200)!important}
.fkid{background:#fff!important;border-color:var(--nk-gray-200)!important;border-radius:16px!important}
.fkid-here{background:var(--nk-mint-100)!important;border-color:var(--nk-mint-500)!important}
.fkid-no{background:var(--nk-coral-100)!important;border-color:var(--nk-coral-500)!important}
.fatt,.fkid-os{background:#fff!important;color:var(--nk-navy-500)!important;border-color:var(--nk-gray-200)!important;min-height:40px}

/* Semantic monitor blocks */
.noti{padding:12px 14px!important;margin-bottom:8px!important;border:1.5px solid var(--nk-gray-200)!important;border-left-width:1.5px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 1px 3px rgba(11,28,58,.08)!important}
.noti-high{background:var(--nk-coral-100)!important;border-color:#FFB7B7!important}
.noti-warn{background:var(--nk-yellow-100)!important;border-color:#F3D77B!important}
.noti-ok{background:var(--nk-mint-100)!important;border-color:#A9E8D2!important}
.noti-text{color:var(--nk-navy-500)!important}.noti-act{color:var(--nk-blue-700)!important;background:#fff!important;border-color:var(--nk-blue-200)!important}
.earn-card,.earn-card.earn-warn,.pay-stu.pay-no,.pay-stu.pay-ok{background:#fff!important;border-color:var(--nk-gray-200)!important;color:var(--nk-navy-900)!important}
.earn-now{color:var(--nk-mint-700)!important}.earn-card.earn-warn .earn-now{color:var(--nk-yellow-600)!important}
.earn-miss{background:var(--nk-coral-100)!important;border-color:#FFB7B7!important}.earn-miss-txt{color:var(--nk-coral-700)!important}
.quest-hero{background:var(--nk-navy-900)!important;border-color:var(--nk-blue-700)!important;color:#fff!important;box-shadow:var(--shadow-card)!important}
.quest-hero-t{color:#fff!important;font-family:var(--font-display)!important}.quest-hero-sub{color:var(--nk-blue-100)!important}.quest-pot{color:var(--nk-yellow-400)!important}
.quest{background:#fff!important;border-color:var(--nk-gray-200)!important;border-radius:16px!important;box-shadow:0 1px 3px rgba(11,28,58,.06)!important}
.quest-reward{color:var(--nk-yellow-600)!important;background:var(--nk-yellow-100)!important;border-color:#F3D77B!important}
.quest-how{color:var(--nk-navy-500)!important}
.quest-ico{width:40px;height:40px;display:grid!important;place-items:center;border-radius:13px;background:var(--nk-blue-50);color:var(--nk-blue-700);font-size:0!important;flex:0 0 40px!important}
.quest-ico svg{width:21px;height:21px}
.quest-check{min-height:28px;padding:5px 10px;border:1px solid var(--nk-gray-200);border-radius:999px;background:var(--nk-gray-50);color:var(--nk-navy-500);font:800 11px/1 var(--font-body)!important;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:0 0 auto!important}
.quest.q-done .quest-check{background:var(--nk-mint-100);border-color:#A9E8D2;color:var(--nk-mint-700)}

/* Dialogs and feedback */
.modal{background:rgba(11,28,58,.40)!important;backdrop-filter:none!important}
.mbox{background:#fff!important;color:var(--nk-navy-900)!important;border:0!important;border-radius:20px!important;box-shadow:var(--shadow-raised)!important}
#nkToast{background:var(--nk-navy-900)!important;color:#fff!important;border-radius:16px!important;box-shadow:var(--shadow-raised)!important}
.nk-spinner{border-color:var(--nk-blue-100)!important;border-top-color:var(--nk-blue-600)!important}

@media(max-width:780px){
  .wrap,.wrap.full{padding:8px 12px 56px!important}
  header{min-height:60px}.logo{font-size:21px!important}.logo::before{width:34px;height:34px;flex-basis:34px}
  .pill{order:3;width:100%;text-align:center}
  .tabs{top:60px;margin-left:-4px!important;margin-right:-4px!important;border-radius:14px!important}
  .tab{min-height:44px;padding:9px 14px!important}
  .login{margin:28px auto!important;padding:22px!important}
  .row2{grid-template-columns:1fr!important}
  .stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat{min-width:0!important}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .stu-left{position:static!important;max-width:none!important;width:100%}
  .card{padding:15px!important}
}
@media(max-width:480px){
  .stats,.kpi-grid{grid-template-columns:1fr!important}
  .login h2{font-size:24px!important}
  .btn:not(.btn-sm){width:100%}
  .mbtns{flex-direction:column}.mbtns .btn{width:100%}
}
/* Teacher income, policy and schedule controls */
.pay-stu-name,.pay-lkids,.pay-lkids span,.pay-child-name{color:var(--nk-navy-900)!important}
.pay-child-name{font-weight:800;text-decoration:underline;text-decoration-color:var(--nk-blue-200);text-underline-offset:3px;cursor:pointer}
.pay-child-name:hover{color:var(--nk-blue-700)!important;text-decoration-color:currentColor}
.pay-lesson-names{flex:1 1 150px;min-width:120px;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--nk-navy-900);font-weight:800}
.penalty-policy{margin:14px 0;background:#fff;border:1.5px solid #F0B7B7;border-radius:20px;box-shadow:var(--shadow-card);overflow:hidden}
.penalty-policy summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:13px 16px;cursor:pointer;color:var(--nk-navy-900);font:800 15px var(--font-display);list-style:none}
.penalty-policy summary::-webkit-details-marker{display:none}.penalty-policy summary::before{content:'!';display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:var(--nk-coral-100);color:var(--nk-coral-700);font:900 14px var(--font-body)}
.penalty-summary-note{margin-left:auto;color:var(--nk-blue-700);font:800 12px var(--font-body)}
.penalty-policy[open] .penalty-summary-note{font-size:0}.penalty-policy[open] .penalty-summary-note::after{content:'Скрыть список';font-size:12px}
.penalty-note{margin:0 16px 12px;padding:10px 12px;border-radius:12px;background:var(--nk-yellow-100);color:#6D5200;font-size:13px;font-weight:700}
.penalty-list{display:grid;gap:0;border-top:1px solid var(--nk-gray-100)}
.penalty-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--nk-gray-100);color:var(--nk-navy-900)}
.penalty-row:last-child{border-bottom:0}.penalty-num{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--nk-gray-100);color:var(--nk-navy-500);font-size:11px;font-weight:800}.penalty-text{font-size:13px}.penalty-amount{color:var(--nk-coral-700);font-size:13px;white-space:nowrap}
.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 14px;padding:10px 12px;background:#fff;border:1px solid var(--nk-gray-200);border-radius:16px;box-shadow:var(--shadow-card)}
.schedule-toolbar .wk-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}.schedule-toolbar .wk-nav strong{min-width:118px;text-align:center}
.schedule-view-switch{display:inline-flex;gap:3px;padding:4px;background:var(--nk-gray-100);border-radius:12px}.schedule-view-switch button{min-height:36px;border:0;border-radius:9px;padding:7px 13px;background:transparent;color:var(--nk-navy-500);font:800 13px var(--font-body);cursor:pointer}.schedule-view-switch button.on{background:#fff;color:var(--nk-blue-700);box-shadow:0 1px 4px rgba(11,28,58,.14)}
.staff-calendar{margin-top:12px;overflow-x:auto;border:1px solid var(--nk-gray-200);border-radius:16px;background:#fff}.staff-cal-grid{display:grid;grid-template-columns:62px repeat(7,minmax(130px,1fr));grid-template-rows:42px repeat(30,32px);min-width:980px;position:relative}.staff-cal-corner,.staff-cal-day{display:flex;align-items:center;justify-content:center;background:var(--nk-gray-25);border-right:1px solid var(--nk-gray-200);border-bottom:1px solid var(--nk-gray-200);color:var(--nk-navy-500);font-size:11px;font-weight:800}.staff-cal-corner{grid-column:1;grid-row:1}.staff-cal-day{gap:5px}.staff-cal-day span{font-weight:700;color:var(--nk-gray-500)}.staff-cal-time{display:flex;align-items:flex-start;justify-content:center;padding-top:3px;background:var(--nk-gray-25);border-right:1px solid var(--nk-gray-200);border-top:1.5px solid var(--nk-gray-300);color:var(--nk-navy-500);font-size:11px;font-weight:700}.staff-cal-time.half{border-top:1px dashed var(--nk-gray-200)}.staff-cal-cell{border-right:1px solid var(--nk-gray-200);border-top:1.5px solid var(--nk-gray-300);background:#fff}.staff-cal-cell.half{border-top:1px dashed var(--nk-gray-200)}.staff-cal-event{z-index:2;margin:2px 3px;padding:5px;overflow:auto;border:1.5px solid var(--nk-blue-200);border-radius:10px;background:var(--nk-blue-50);box-shadow:0 2px 7px rgba(11,28,58,.12);color:var(--nk-navy-900);font-size:11px}.staff-cal-event .cell-top{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-bottom:4px}.staff-cal-event .ct-dur{background:#fff;color:var(--nk-navy-700);border:1px solid var(--nk-gray-200);padding:1px 4px;border-radius:5px}.staff-cal-event .cell-stu{padding:3px 4px;background:#fff}.staff-cal-event .att-mini{width:28px;height:28px}.staff-cal-event .mini{width:100%;min-height:28px;margin-top:4px;background:#fff;color:var(--nk-blue-700);border:1px solid var(--nk-blue-200);font-weight:800}

/* Persistent light/dark theme */
.nk-theme-toggle{position:fixed;right:18px;bottom:18px;z-index:1000;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;border:1.5px solid var(--nk-gray-200);border-radius:999px;background:var(--card)!important;color:var(--ink)!important;font:800 13px var(--font-body);box-shadow:var(--shadow-raised);cursor:pointer}.nk-theme-toggle:hover{border-color:var(--nk-blue-400)}.nk-theme-toggle svg{width:18px;height:18px}.nk-theme-toggle.nk-theme-inline{position:static;right:auto;bottom:auto;z-index:auto;box-shadow:none;flex:0 0 auto}
html[data-theme="dark"]{
  color-scheme:dark;
  --nk-navy-900:#F6F8FC;--nk-navy-700:#E2E8F2;--nk-navy-500:#B4C0D4;
  --nk-gray-25:#111B2E;--nk-gray-50:#0D1627;--nk-gray-100:#1A2840;--nk-gray-200:#2C3C58;--nk-gray-300:#40526F;--nk-gray-400:#8190A8;--nk-gray-500:#B4C0D4;
  --nk-blue-50:#162A4B;--nk-blue-100:#1D3B6C;--nk-blue-200:#285392;--nk-blue-400:#68A0FF;--nk-blue-600:#4C8DFF;--nk-blue-700:#78A8FF;--nk-blue-800:#2E62B7;
  --nk-yellow-100:#3B3214;--nk-yellow-400:#FFD35C;--nk-yellow-600:#FFD66B;
  --nk-mint-100:#12382D;--nk-mint-500:#36D49E;--nk-mint-700:#73E5BE;
  --nk-coral-100:#431F29;--nk-coral-500:#FF7A87;--nk-coral-700:#FF9DA6;
  --bg:#0D1627;--card:#152238;--card2:#1A2840;--ink:#F6F8FC;--muted:#B4C0D4;--line:#2C3C58;--acc:#68A0FF;--acc2:#8EB5FF;
  --shadow-card:0 1px 2px rgba(0,0,0,.22),0 8px 22px rgba(0,0,0,.25);--shadow-raised:0 14px 34px rgba(0,0,0,.42)
}
html[data-theme="dark"],html[data-theme="dark"] body,html[data-theme="dark"] header{background:#0D1627!important;color:#F6F8FC!important}
html[data-theme="dark"] .card,html[data-theme="dark"] .stat,html[data-theme="dark"] .kpi,html[data-theme="dark"] .teacher-block,html[data-theme="dark"] .grp,html[data-theme="dark"] .les-detail,html[data-theme="dark"] .fday,html[data-theme="dark"] .wk-teacher,html[data-theme="dark"] .stu-card,html[data-theme="dark"] .sc-rev,html[data-theme="dark"] .sc-slot,html[data-theme="dark"] .pay-stu,html[data-theme="dark"] .renew-card,html[data-theme="dark"] .lesson,html[data-theme="dark"] .login,html[data-theme="dark"] .mbox,html[data-theme="dark"] .noti,html[data-theme="dark"] .earn-card,html[data-theme="dark"] .penalty-policy,html[data-theme="dark"] .schedule-toolbar{background:#152238!important;color:#F6F8FC!important;border-color:#2C3C58!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] .wk-cell,html[data-theme="dark"] .fkid,html[data-theme="dark"] .fles-link,html[data-theme="dark"] .fatt,html[data-theme="dark"] .fkid-os,html[data-theme="dark"] .cell-stu,html[data-theme="dark"] .quest,html[data-theme="dark"] .staff-calendar,html[data-theme="dark"] .staff-cal-cell,html[data-theme="dark"] .staff-cal-event .cell-stu{background:#111B2E!important;color:#F6F8FC!important;border-color:#2C3C58!important}
html[data-theme="dark"] .staff-cal-event{background:#162A4B!important;color:#F6F8FC!important;border-color:#285392!important}html[data-theme="dark"] .staff-cal-event .ct-dur,html[data-theme="dark"] .staff-cal-event .mini{background:#1A2840!important;color:#BFD3FF!important;border-color:#40526F!important}html[data-theme="dark"] .pill{background:#1A2840!important;color:#E2E8F2!important;border-color:#40526F!important}
html[data-theme="dark"] .tabs,html[data-theme="dark"] table th,html[data-theme="dark"] .wk-time,html[data-theme="dark"] td.time,html[data-theme="dark"] table.grid td.time{background:#1A2840!important}
html[data-theme="dark"] .tab.on,html[data-theme="dark"] .schedule-view-switch button.on{background:#263957!important;color:#9FC0FF!important}
html[data-theme="dark"] .btn-ghost,html[data-theme="dark"] .wk-nav button,html[data-theme="dark"] .noti-act{background:#1A2840!important;color:#9FC0FF!important;border-color:#40526F!important}
html[data-theme="dark"] .pay-stu-name,html[data-theme="dark"] .pay-lkids,html[data-theme="dark"] .pay-lkids span,html[data-theme="dark"] .pay-child-name,html[data-theme="dark"] .penalty-row{color:#F6F8FC!important}
html[data-theme="dark"] .penalty-note{background:#3B3214;color:#FFE49B}.nk-theme-toggle{max-width:calc(100vw - 24px)}

@media(max-width:620px){.penalty-row{grid-template-columns:28px minmax(0,1fr)}.penalty-amount{grid-column:2;white-space:normal}.schedule-toolbar{align-items:stretch}.schedule-toolbar .wk-nav{justify-content:center}.schedule-view-switch{display:flex}.schedule-view-switch button{flex:1}.nk-theme-toggle{right:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---- Светлая тема: читаемый текст (AFIN-174).
   Цвета текста в кабинетах зашиты под тёмный фон. Ниже тот же тон, но
   затемнённый до контраста не ниже нормы WCAG AA со своим фоном; тёмная
   тема получает прежние значения и не меняется. Фон не трогаем, кроме
   двух счётчиков, где белые цифры на светло-красном не читались. ---- */
:root{--nkc-22c55e:#147438;--nkc-2bb673:#1b7349;--nkc-2fae77:#1f734e;--nkc-3ddc84:#157440;--nkc-5dd6a0:#1d734d;--nkc-6c8cff:#1f4fff;--nkc-7ced60:#22750d;--nkc-7ee787:#16751e;--nkc-7ef0c4:#0d744c;--nkc-7fdc8c:#20742c;--nkc-8ab4ff:#0056f1;--nkc-8fb0ff:#0850ff;--nkc-9be59b:#1e751e;--nkc-9db4ff:#1a4fff;--nkc-a855f7:#8c1ff4;--nkc-a9b8ff:#284dff;--nkc-b9c8ff:#1f4fff;--nkc-bff7c8:#0f751f;--nkc-c26a00:#995300;--nkc-c79a2f:#7e611e;--nkc-cdd6ff:#274eff;--nkc-ddd:#24324e;--nkc-e0564a:#bf2d21;--nkc-e0a300:#835f00;--nkc-ef4444:#ca1111;--nkc-f0555c:#ca121a;--nkc-f2b23a:#895c09;--nkc-f2b3b6:#c42229;--nkc-f2c14e:#835f0a;--nkc-f6f8fc:#24324e;--nkc-ff6b6b:#cd0000;--nkc-ff8a96:#cd0015;--nkc-ff8c8c:#cd0000;--nkc-ff9a9a:#cd0000;--nkc-ff9aa8:#cd001c;--nkc-ff9b6b:#b63b00;--nkc-ff9b9b:#cd0000;--nkc-ff9daa:#cd001b;--nkc-ffb0b0:#cd0000;--nkc-ffb259:#9a5300;--nkc-ffb3b3:#cd0000;--nkc-ffb3ba:#cd0013;--nkc-ffb3bd:#cd001b;--nkc-ffb648:#925800;--nkc-ffcb6b:#8c5b00;--nkc-ffce9e:#a04f00;--nkc-ffcf5a:#855e00;--nkc-ffd166:#865e00;--nkc-ffd966:#806000;--nkc-ffd9a0:#925800;--nkc-ffd9d9:#cd0000;--nkc-onsoft:#0b1c3a;--muted:#56647f;--nk-gray-500:#56647f}
html[data-theme="dark"]{--nkc-22c55e:#22c55e;--nkc-2bb673:#2bb673;--nkc-2fae77:#2fae77;--nkc-3ddc84:#3ddc84;--nkc-5dd6a0:#5dd6a0;--nkc-6c8cff:#6c8cff;--nkc-7ced60:#7ced60;--nkc-7ee787:#7ee787;--nkc-7ef0c4:#7ef0c4;--nkc-7fdc8c:#7fdc8c;--nkc-8ab4ff:#8ab4ff;--nkc-8fb0ff:#8fb0ff;--nkc-9be59b:#9be59b;--nkc-9db4ff:#9db4ff;--nkc-a855f7:#a855f7;--nkc-a9b8ff:#a9b8ff;--nkc-b9c8ff:#b9c8ff;--nkc-bff7c8:#bff7c8;--nkc-c26a00:#c26a00;--nkc-c79a2f:#c79a2f;--nkc-cdd6ff:#cdd6ff;--nkc-ddd:#ddd;--nkc-e0564a:#e0564a;--nkc-e0a300:#e0a300;--nkc-ef4444:#ef4444;--nkc-f0555c:#f0555c;--nkc-f2b23a:#f2b23a;--nkc-f2b3b6:#f2b3b6;--nkc-f2c14e:#f2c14e;--nkc-f6f8fc:#f6f8fc;--nkc-ff6b6b:#ff6b6b;--nkc-ff8a96:#ff8a96;--nkc-ff8c8c:#ff8c8c;--nkc-ff9a9a:#ff9a9a;--nkc-ff9aa8:#ff9aa8;--nkc-ff9b6b:#ff9b6b;--nkc-ff9b9b:#ff9b9b;--nkc-ff9daa:#ff9daa;--nkc-ffb0b0:#ffb0b0;--nkc-ffb259:#ffb259;--nkc-ffb3b3:#ffb3b3;--nkc-ffb3ba:#ffb3ba;--nkc-ffb3bd:#ffb3bd;--nkc-ffb648:#ffb648;--nkc-ffcb6b:#ffcb6b;--nkc-ffce9e:#ffce9e;--nkc-ffcf5a:#ffcf5a;--nkc-ffd166:#ffd166;--nkc-ffd966:#ffd966;--nkc-ffd9a0:#ffd9a0;--nkc-ffd9d9:#ffd9d9;--nkc-onsoft:#fff}
html[data-theme="light"] .badge.b-off,html:not([data-theme="dark"]) .badge.b-off,html[data-theme="light"] .crit.warn,html:not([data-theme="dark"]) .crit.warn{color:#876200!important}
html[data-theme="light"] .badge.b-on,html:not([data-theme="dark"]) .badge.b-on,html[data-theme="light"] .crit.good,html:not([data-theme="dark"]) .crit.good{color:#0b7553!important}
html[data-theme="light"] .badge.b-hot,html:not([data-theme="dark"]) .badge.b-hot{color:#c90015!important}
html[data-theme="light"] .btn-locked,html:not([data-theme="dark"]) .btn-locked{color:#536585!important}
html[data-theme="light"] a[href*="meet.google"],html:not([data-theme="dark"]) a[href*="meet.google"]{color:#0f7e5a!important}
html[data-theme="light"] .tab-badge,html:not([data-theme="dark"]) .tab-badge{background:#db0000!important}
html[data-theme="light"] .nklq-badge,html:not([data-theme="dark"]) .nklq-badge{background:#db0009!important}
html[data-theme="light"] .nkann-w,html:not([data-theme="dark"]) .nkann-w{color:#984a07!important}
html:not([data-theme="dark"]) [style*=";color:#22c55e"],html:not([data-theme="dark"]) [style*="; color:#22c55e"],html:not([data-theme="dark"]) [style^="color:#22c55e"]{color:#147438!important}
html:not([data-theme="dark"]) [style*=";color:#2bb673"],html:not([data-theme="dark"]) [style*="; color:#2bb673"],html:not([data-theme="dark"]) [style^="color:#2bb673"]{color:#1b7349!important}
html:not([data-theme="dark"]) [style*=";color:#2fae77"],html:not([data-theme="dark"]) [style*="; color:#2fae77"],html:not([data-theme="dark"]) [style^="color:#2fae77"]{color:#1f734e!important}
html:not([data-theme="dark"]) [style*=";color:#3ddc84"],html:not([data-theme="dark"]) [style*="; color:#3ddc84"],html:not([data-theme="dark"]) [style^="color:#3ddc84"]{color:#157440!important}
html:not([data-theme="dark"]) [style*=";color:#5dd6a0"],html:not([data-theme="dark"]) [style*="; color:#5dd6a0"],html:not([data-theme="dark"]) [style^="color:#5dd6a0"]{color:#1d734d!important}
html:not([data-theme="dark"]) [style*=";color:#6c8cff"],html:not([data-theme="dark"]) [style*="; color:#6c8cff"],html:not([data-theme="dark"]) [style^="color:#6c8cff"]{color:#1f4fff!important}
html:not([data-theme="dark"]) [style*=";color:#7ced60"],html:not([data-theme="dark"]) [style*="; color:#7ced60"],html:not([data-theme="dark"]) [style^="color:#7ced60"]{color:#22750d!important}
html:not([data-theme="dark"]) [style*=";color:#7ee787"],html:not([data-theme="dark"]) [style*="; color:#7ee787"],html:not([data-theme="dark"]) [style^="color:#7ee787"]{color:#16751e!important}
html:not([data-theme="dark"]) [style*=";color:#7ef0c4"],html:not([data-theme="dark"]) [style*="; color:#7ef0c4"],html:not([data-theme="dark"]) [style^="color:#7ef0c4"]{color:#0d744c!important}
html:not([data-theme="dark"]) [style*=";color:#7fdc8c"],html:not([data-theme="dark"]) [style*="; color:#7fdc8c"],html:not([data-theme="dark"]) [style^="color:#7fdc8c"]{color:#20742c!important}
html:not([data-theme="dark"]) [style*=";color:#8ab4ff"],html:not([data-theme="dark"]) [style*="; color:#8ab4ff"],html:not([data-theme="dark"]) [style^="color:#8ab4ff"]{color:#0056f1!important}
html:not([data-theme="dark"]) [style*=";color:#8fb0ff"],html:not([data-theme="dark"]) [style*="; color:#8fb0ff"],html:not([data-theme="dark"]) [style^="color:#8fb0ff"]{color:#0850ff!important}
html:not([data-theme="dark"]) [style*=";color:#9be59b"],html:not([data-theme="dark"]) [style*="; color:#9be59b"],html:not([data-theme="dark"]) [style^="color:#9be59b"]{color:#1e751e!important}
html:not([data-theme="dark"]) [style*=";color:#9db4ff"],html:not([data-theme="dark"]) [style*="; color:#9db4ff"],html:not([data-theme="dark"]) [style^="color:#9db4ff"]{color:#1a4fff!important}
html:not([data-theme="dark"]) [style*=";color:#a855f7"],html:not([data-theme="dark"]) [style*="; color:#a855f7"],html:not([data-theme="dark"]) [style^="color:#a855f7"]{color:#8c1ff4!important}
html:not([data-theme="dark"]) [style*=";color:#a9b8ff"],html:not([data-theme="dark"]) [style*="; color:#a9b8ff"],html:not([data-theme="dark"]) [style^="color:#a9b8ff"]{color:#284dff!important}
html:not([data-theme="dark"]) [style*=";color:#b9c8ff"],html:not([data-theme="dark"]) [style*="; color:#b9c8ff"],html:not([data-theme="dark"]) [style^="color:#b9c8ff"]{color:#1f4fff!important}
html:not([data-theme="dark"]) [style*=";color:#bff7c8"],html:not([data-theme="dark"]) [style*="; color:#bff7c8"],html:not([data-theme="dark"]) [style^="color:#bff7c8"]{color:#0f751f!important}
html:not([data-theme="dark"]) [style*=";color:#c26a00"],html:not([data-theme="dark"]) [style*="; color:#c26a00"],html:not([data-theme="dark"]) [style^="color:#c26a00"]{color:#995300!important}
html:not([data-theme="dark"]) [style*=";color:#c79a2f"],html:not([data-theme="dark"]) [style*="; color:#c79a2f"],html:not([data-theme="dark"]) [style^="color:#c79a2f"]{color:#7e611e!important}
html:not([data-theme="dark"]) [style*=";color:#cdd6ff"],html:not([data-theme="dark"]) [style*="; color:#cdd6ff"],html:not([data-theme="dark"]) [style^="color:#cdd6ff"]{color:#274eff!important}
html:not([data-theme="dark"]) [style*=";color:#ddd"],html:not([data-theme="dark"]) [style*="; color:#ddd"],html:not([data-theme="dark"]) [style^="color:#ddd"]{color:#24324e!important}
html:not([data-theme="dark"]) [style*=";color:#e0564a"],html:not([data-theme="dark"]) [style*="; color:#e0564a"],html:not([data-theme="dark"]) [style^="color:#e0564a"]{color:#bf2d21!important}
html:not([data-theme="dark"]) [style*=";color:#e0a300"],html:not([data-theme="dark"]) [style*="; color:#e0a300"],html:not([data-theme="dark"]) [style^="color:#e0a300"]{color:#835f00!important}
html:not([data-theme="dark"]) [style*=";color:#ef4444"],html:not([data-theme="dark"]) [style*="; color:#ef4444"],html:not([data-theme="dark"]) [style^="color:#ef4444"]{color:#ca1111!important}
html:not([data-theme="dark"]) [style*=";color:#f0555c"],html:not([data-theme="dark"]) [style*="; color:#f0555c"],html:not([data-theme="dark"]) [style^="color:#f0555c"]{color:#ca121a!important}
html:not([data-theme="dark"]) [style*=";color:#f2b23a"],html:not([data-theme="dark"]) [style*="; color:#f2b23a"],html:not([data-theme="dark"]) [style^="color:#f2b23a"]{color:#895c09!important}
html:not([data-theme="dark"]) [style*=";color:#f2b3b6"],html:not([data-theme="dark"]) [style*="; color:#f2b3b6"],html:not([data-theme="dark"]) [style^="color:#f2b3b6"]{color:#c42229!important}
html:not([data-theme="dark"]) [style*=";color:#f2c14e"],html:not([data-theme="dark"]) [style*="; color:#f2c14e"],html:not([data-theme="dark"]) [style^="color:#f2c14e"]{color:#835f0a!important}
html:not([data-theme="dark"]) [style*=";color:#f6f8fc"],html:not([data-theme="dark"]) [style*="; color:#f6f8fc"],html:not([data-theme="dark"]) [style^="color:#f6f8fc"]{color:#24324e!important}
html:not([data-theme="dark"]) [style*=";color:#ff6b6b"],html:not([data-theme="dark"]) [style*="; color:#ff6b6b"],html:not([data-theme="dark"]) [style^="color:#ff6b6b"]{color:#cd0000!important}
html:not([data-theme="dark"]) [style*=";color:#ff8a96"],html:not([data-theme="dark"]) [style*="; color:#ff8a96"],html:not([data-theme="dark"]) [style^="color:#ff8a96"]{color:#cd0015!important}
html:not([data-theme="dark"]) [style*=";color:#ff8c8c"],html:not([data-theme="dark"]) [style*="; color:#ff8c8c"],html:not([data-theme="dark"]) [style^="color:#ff8c8c"]{color:#cd0000!important}
html:not([data-theme="dark"]) [style*=";color:#ff9a9a"],html:not([data-theme="dark"]) [style*="; color:#ff9a9a"],html:not([data-theme="dark"]) [style^="color:#ff9a9a"]{color:#cd0000!important}
html:not([data-theme="dark"]) [style*=";color:#ff9aa8"],html:not([data-theme="dark"]) [style*="; color:#ff9aa8"],html:not([data-theme="dark"]) [style^="color:#ff9aa8"]{color:#cd001c!important}
html:not([data-theme="dark"]) [style*=";color:#ff9b6b"],html:not([data-theme="dark"]) [style*="; color:#ff9b6b"],html:not([data-theme="dark"]) [style^="color:#ff9b6b"]{color:#b63b00!important}
html:not([data-theme="dark"]) [style*=";color:#ff9b9b"],html:not([data-theme="dark"]) [style*="; color:#ff9b9b"],html:not([data-theme="dark"]) [style^="color:#ff9b9b"]{color:#cd0000!important}
html:not([data-theme="dark"]) [style*=";color:#ff9daa"],html:not([data-theme="dark"]) [style*="; color:#ff9daa"],html:not([data-theme="dark"]) [style^="color:#ff9daa"]{color:#cd001b!important}
html:not([data-theme="dark"]) [style*=";color:#ffb0b0"],html:not([data-theme="dark"]) [style*="; color:#ffb0b0"],html:not([data-theme="dark"]) [style^="color:#ffb0b0"]{color:#cd0000!important}
html:not([data-theme="dark"]) [style*=";color:#ffb259"],html:not([data-theme="dark"]) [style*="; color:#ffb259"],html:not([data-theme="dark"]) [style^="color:#ffb259"]{color:#9a5300!important}
html:not([data-theme="dark"]) [style*=";color:#ffb3b3"],html:not([data-theme="dark"]) [style*="; color:#ffb3b3"],html:not([data-theme="dark"]) [style^="color:#ffb3b3"]{color:#cd0000!important}
html:not([data-theme="dark"]) [style*=";color:#ffb3ba"],html:not([data-theme="dark"]) [style*="; color:#ffb3ba"],html:not([data-theme="dark"]) [style^="color:#ffb3ba"]{color:#cd0013!important}
html:not([data-theme="dark"]) [style*=";color:#ffb3bd"],html:not([data-theme="dark"]) [style*="; color:#ffb3bd"],html:not([data-theme="dark"]) [style^="color:#ffb3bd"]{color:#cd001b!important}
html:not([data-theme="dark"]) [style*=";color:#ffb648"],html:not([data-theme="dark"]) [style*="; color:#ffb648"],html:not([data-theme="dark"]) [style^="color:#ffb648"]{color:#925800!important}
html:not([data-theme="dark"]) [style*=";color:#ffcb6b"],html:not([data-theme="dark"]) [style*="; color:#ffcb6b"],html:not([data-theme="dark"]) [style^="color:#ffcb6b"]{color:#8c5b00!important}
html:not([data-theme="dark"]) [style*=";color:#ffce9e"],html:not([data-theme="dark"]) [style*="; color:#ffce9e"],html:not([data-theme="dark"]) [style^="color:#ffce9e"]{color:#a04f00!important}
html:not([data-theme="dark"]) [style*=";color:#ffcf5a"],html:not([data-theme="dark"]) [style*="; color:#ffcf5a"],html:not([data-theme="dark"]) [style^="color:#ffcf5a"]{color:#855e00!important}
html:not([data-theme="dark"]) [style*=";color:#ffd166"],html:not([data-theme="dark"]) [style*="; color:#ffd166"],html:not([data-theme="dark"]) [style^="color:#ffd166"]{color:#865e00!important}
html:not([data-theme="dark"]) [style*=";color:#ffd966"],html:not([data-theme="dark"]) [style*="; color:#ffd966"],html:not([data-theme="dark"]) [style^="color:#ffd966"]{color:#806000!important}
html:not([data-theme="dark"]) [style*=";color:#ffd9a0"],html:not([data-theme="dark"]) [style*="; color:#ffd9a0"],html:not([data-theme="dark"]) [style^="color:#ffd9a0"]{color:#925800!important}
html:not([data-theme="dark"]) [style*=";color:#ffd9d9"],html:not([data-theme="dark"]) [style*="; color:#ffd9d9"],html:not([data-theme="dark"]) [style^="color:#ffd9d9"]{color:#cd0000!important}

/* ---- Тёмная тема: два места, где текст не читался и в ней.
   Оба нашлись тем же замером: у плашки длительности урока фон остался белым,
   а текст на ней светлый; у жёлтой кнопки «Напомнить родителям» белые буквы
   на жёлтом. Остальное в тёмной теме не трогаем. ---- */
html[data-theme="dark"] .fles-dur{background:#1a2840!important;color:#f6f8fc!important}
html[data-theme="dark"] .fbtn-bell{color:#2b1500!important}

/* ---- AFIN-431. Час, в который учитель не может работать (busy_hours, AFIN-398),
   в сетке «Расписание учителей» не подсвечивался вообще: подсветку из manager.html
   (.wk-busycell) перебивало правило .wk-cell{background:#fff!important} выше по
   этому файлу, а в тёмной теме — html[data-theme="dark"] .wk-cell. Куратор ставил
   часы кнопкой «⛔ Не может», а в календаре ничего не менялось.
   Красим клетку красным явно и с запасом по специфичности. ---- */
.wk-cell.wk-busycell,.wk-cell.wk-busycell:hover,
table tr:hover td.wk-cell.wk-busycell,
.cell.busyhr,.cell.busyhr:hover{
  background:repeating-linear-gradient(45deg,#FFD3D7,#FFD3D7 6px,#FFB9BF 6px,#FFB9BF 12px)!important;
}
html[data-theme="dark"] .wk-cell.wk-busycell,html[data-theme="dark"] .wk-cell.wk-busycell:hover,
html[data-theme="dark"] table tr:hover td.wk-cell.wk-busycell,
html[data-theme="dark"] .cell.busyhr,html[data-theme="dark"] .cell.busyhr:hover{
  background:repeating-linear-gradient(45deg,#5E232C,#5E232C 6px,#42171E 6px,#42171E 12px)!important;
}
/* Урок, всё же поставленный в такой час (это разрешено с подтверждением):
   фона под чипом не видно, поэтому помечаем сам чип красной обводкой. */
.wk-cell.wk-busycell .wk-chip,.cell.busyhr .gtag{box-shadow:0 0 0 2px #E5484D!important}
html[data-theme="dark"] .wk-cell.wk-busycell .wk-chip,html[data-theme="dark"] .cell.busyhr .gtag{box-shadow:0 0 0 2px #FF7A87!important}
/* Тем же правилом html[data-theme="dark"] .wk-cell в тёмной теме сносило и
   штриховку выходного дня — колонка выглядела как обычный рабочий день. */
html[data-theme="dark"] .wk-cell.wk-offcell,html[data-theme="dark"] .cell.off{
  background:repeating-linear-gradient(45deg,#111B2E,#111B2E 7px,#1A2840 7px,#1A2840 14px)!important;
}
