/* ============================================================================================
   КУНДУЗГИ РЕЖИМ (12.11.2026) — html[data-theme="light"]. Тунги режим (style.css) ўзгармаган.
   Токенлар алмашади; style.css даги тўғридан-тўғри ёзилган қоронғу ранглар пастда алоҳида қопланади.
   ============================================================================================ */
html[data-theme="light"]{
  --bg:#f3f5f9; --surface:#ffffff; --surface-2:#f7f9fc; --surface-3:#eef2f8;
  --ink:#132038; --ink-2:#34425e; --muted:#5d6b87; --faint:#6a7894;
  --line:rgba(19,32,56,.11); --line-2:rgba(19,32,56,.2);
  --brand:#1f5ae6; --brand-2:#0e86b5; --brand-soft:rgba(31,90,230,.1); --brand-ink:#1d4fc4;
  --grad:linear-gradient(135deg,#1f5ae6 0%,#1683c9 100%);
  --side:#ffffff; --side-2:#eef2f9; --side-ink:#26344f; --side-mute:#6a7894;
  --green:#0f7a43; --green-bg:rgba(15,122,67,.09); --green-bar:#1fa463;
  --amber:#a35c00; --amber-bg:rgba(209,128,0,.11); --amber-bar:#e39b12;
  --red:#c0262d; --red-bg:rgba(192,38,45,.08); --red-bar:#e04848;
  --gold:#b07d0a; --silver:#7b8794; --bronze:#a0602c;
  --sh:0 1px 2px rgba(16,24,40,.06),0 4px 14px rgba(16,24,40,.05);
  --sh-2:0 2px 4px rgba(16,24,40,.07),0 10px 26px rgba(16,24,40,.08);
  --bg0:#f3f5f9; --bg1:#eef1f6; --panel:#ffffff; --panel-2:#f7f9fc;
  --cyan:#0e7fb0; --blue:#1f5ae6;
  --ring-track:rgba(19,32,56,.09);
  --red-line:rgba(192,38,45,.28); --amber-line:rgba(209,128,0,.3);
  --green-line:rgba(15,122,67,.26); --brand-line:rgba(31,90,230,.24);
  --hover-row:rgba(31,90,230,.045);
  color-scheme:light;
}
html[data-theme="light"] body{background:var(--bg)}
html[data-theme="light"] body::before,html[data-theme="light"] body::after{display:none}
html[data-theme="light"] ::selection{background:rgba(31,90,230,.18);color:var(--ink)}
html[data-theme="light"] ::-webkit-scrollbar-thumb{background:rgba(19,32,56,.18);background-clip:padding-box}
html[data-theme="light"] *{scrollbar-color:rgba(19,32,56,.25) transparent}
html[data-theme="light"] a:hover{color:var(--brand)}

/* қобиқ */
html[data-theme="light"] .side{background:#fff;border-right-color:var(--line)}
html[data-theme="light"] .brand,html[data-theme="light"] .brand b{color:var(--ink)}
html[data-theme="light"] .logo{box-shadow:0 2px 8px rgba(31,90,230,.3);color:#fff}
html[data-theme="light"] .nav-i:hover{background:var(--surface-3);color:var(--ink);border-color:transparent}
html[data-theme="light"] .nav-i.on{background:var(--brand-soft);color:var(--brand-ink);border-color:transparent;box-shadow:none}
html[data-theme="light"] .nav-i.on::before{background:var(--brand);box-shadow:none}
html[data-theme="light"] .nav-i.on .i{color:var(--brand)}
html[data-theme="light"] .side-foot{background:var(--surface-3)}
html[data-theme="light"] .side-foot b{color:var(--ink)}
html[data-theme="light"] .top{background:rgba(255,255,255,.9)}
html[data-theme="light"] .top h1{color:var(--ink)}

/* элементлар */
html[data-theme="light"] .btn,html[data-theme="light"] .badge,html[data-theme="light"] .lang{background:#fff}
html[data-theme="light"] .btn:hover{border-color:var(--brand);color:var(--brand-ink);box-shadow:none}
html[data-theme="light"] .btn.pri,html[data-theme="light"] .btn.pri:hover,
html[data-theme="light"] .lang button.on,html[data-theme="light"] input[type=file]::file-selector-button{color:#fff}
html[data-theme="light"] .btn.pri{background:var(--grad);border-color:transparent;box-shadow:0 2px 8px rgba(31,90,230,.25)}
html[data-theme="light"] .btn.danger:hover{color:var(--red);border-color:var(--red)}
html[data-theme="light"] .lang button:hover{color:var(--ink)}
html[data-theme="light"] .lang button.on{box-shadow:none}
html[data-theme="light"] .seg a.on{background:var(--brand-soft);color:var(--brand-ink);box-shadow:none}
html[data-theme="light"] select:hover,html[data-theme="light"] input:hover,html[data-theme="light"] textarea:hover{border-color:var(--brand-line)}
html[data-theme="light"] select:focus,html[data-theme="light"] input:focus,html[data-theme="light"] textarea:focus{box-shadow:0 0 0 3px rgba(31,90,230,.14)}
html[data-theme="light"] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f5ae6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="light"] select option{background:#fff}
html[data-theme="light"] input[type=date]{color-scheme:light}
html[data-theme="light"] input[type=date]::-webkit-calendar-picker-indicator{filter:none}
html[data-theme="light"] code{background:var(--surface-3);color:var(--brand-ink)}

/* панеллар */
html[data-theme="light"] .card,html[data-theme="light"] .stat,html[data-theme="light"] .tw{background:#fff}
html[data-theme="light"] .card::before,html[data-theme="light"] .stat::before,html[data-theme="light"] .stat::after{display:none}
html[data-theme="light"] .stat:hover{border-color:var(--brand-line);box-shadow:var(--sh-2)}
html[data-theme="light"] .stat .ic{background:var(--brand-soft);color:var(--brand);border-color:var(--brand-line)}
html[data-theme="light"] .stat.top .ic{background:rgba(176,125,10,.1);color:var(--gold);border-color:rgba(176,125,10,.25)}
html[data-theme="light"] .stat.low .ic{border-color:var(--red-line)}
html[data-theme="light"] .stat.ind .ic{background:var(--green-bg);color:var(--green);border-color:var(--green-line)}
html[data-theme="light"] .note.info{background:rgba(31,90,230,.07);color:#1d3f8f}

/* жадвал */
html[data-theme="light"] .t th,html[data-theme="light"] table.t thead{background:#f4f6fa}
html[data-theme="light"] .t th.grp{color:var(--brand-ink);background:#eaf0fd;border-bottom-color:var(--brand-line)}
html[data-theme="light"] .t td{border-bottom-color:rgba(19,32,56,.07)}
html[data-theme="light"] .t tbody tr:hover td:first-child{box-shadow:inset 2.5px 0 0 var(--brand)}
html[data-theme="light"] .medal{background:var(--surface-3)}
html[data-theme="light"] .medal.m1,html[data-theme="light"] .medal.m2,html[data-theme="light"] .medal.m3{box-shadow:none}
html[data-theme="light"] .pt.g{border-color:rgba(15,122,67,.25)}
html[data-theme="light"] .pt.a{border-color:rgba(209,128,0,.3)}
html[data-theme="light"] .pt.r{border-color:rgba(192,38,45,.25)}
html[data-theme="light"] .pt.n{border-color:var(--line)}
html[data-theme="light"] .pbar i::after,html[data-theme="light"] .perf .track i::after{box-shadow:none}
html[data-theme="light"] .pod .blk{box-shadow:none}
html[data-theme="light"] .pod.p1 .sc{background:none;color:var(--gold)}
html[data-theme="light"] .hero .rkbox{color:#7a5a0a}
html[data-theme="light"] .hero .rkbox b{background:none;color:var(--gold)}
html[data-theme="light"] .dl.eq,html[data-theme="light"] .pill{background:var(--surface-3)}
html[data-theme="light"] .pill.b{background:var(--brand-soft);border-color:var(--brand-line)}
html[data-theme="light"] .drop{background:var(--surface-2);border-color:var(--brand-line)}
html[data-theme="light"] .drop:hover,html[data-theme="light"] .drop.drag{background:var(--brand-soft);box-shadow:none}
html[data-theme="light"] .chk label:hover{background:var(--surface-3)}
html[data-theme="light"] .ind{border-bottom-color:var(--line)}
html[data-theme="light"] .navc{color:#fff}
html[data-theme="light"] .weak .w{background:var(--red-bg);border-color:var(--red-line)}

/* саҳифалардаги ички услублар (қўлланма, маълумотнома) */
html[data-theme="light"] .toc{background:#fff !important}
html[data-theme="light"] .toc a:hover{background:var(--surface-3) !important;color:var(--ink) !important}
html[data-theme="light"] .ui{color:#8a3b00 !important;background:rgba(255,106,0,.1) !important}
html[data-theme="light"] .flow div,html[data-theme="light"] .brief .pts div{background:var(--surface-2) !important}

/* режим алмаштиргич (иккала режимда) */
.theme-t{appearance:none;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;cursor:pointer;
  border:1px solid var(--line);background:rgba(13,23,49,.6);color:var(--ink-2);transition:border-color .15s,color .15s}
.theme-t:hover{border-color:var(--cyan);color:var(--ink)}
.theme-t svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.theme-t .sun{display:none}
html[data-theme="light"] .theme-t{background:#fff}
html[data-theme="light"] .theme-t .sun{display:block}
html[data-theme="light"] .theme-t .moon{display:none}
