/* Тёмная (ночная) тема СОДЧ. Создано tools/gen_dark.py из style.css и pvstyle.css – вручную не править:
   уточнения – в tools/dark_extra.css, затем: python tools/gen_dark.py */
@media screen {
/* ---- из style.css ---- */
html[data-theme=dark] body { color:var(--ink); background-color:var(--bg); }
html[data-theme=dark] a { color:var(--ink); }
html[data-theme=dark] .sidebar { background-image:linear-gradient(180deg, #4f535b 0%, var(--brand) 38%, #6d727d 100%); color:var(--ink); }
html[data-theme=dark] .brand { border-bottom-color:rgba(255,255,255,0.09); }
html[data-theme=dark] .brand small { color:#cfd0d3; }
html[data-theme=dark] .sidebar nav a { color:#e0e1e2; }
html[data-theme=dark] .sidebar nav a:hover { background-color:rgba(255,255,255,0.072); }
html[data-theme=dark] .sidebar nav a.on { background-color:#1b1d1f; box-shadow:0 2px 8px rgba(0,0,0,0.176); }
html[data-theme=dark] .sidebar .sep { color:#c9cbce; }
html[data-theme=dark] .sidebar .me { border-top-color:rgba(255,255,255,0.09); }
html[data-theme=dark] .sidebar .me .who small { color:#cfd0d3; }
html[data-theme=dark] .sidebar .me a,
html[data-theme=dark] .sidebar .me button { color:#e0e1e2; background:none; }
html[data-theme=dark] .sidebar .me a:hover,
html[data-theme=dark] .sidebar .me button:hover { background-color:rgba(255,255,255,0.08); }
html[data-theme=dark] .avatar { background-color:#1b1d1f; color:var(--ink2); }
html[data-theme=dark] body.guest main { background-image:radial-gradient(circle at 20% 10%, #1b1d1f 0, #2c2e33 40%, #3f4349 100%); }
html[data-theme=dark] .card { background-color:var(--card); border-color:var(--line); box-shadow:var(--shadow); }
html[data-theme=dark] .eyebrow { color:var(--muted); }
html[data-theme=dark] .eyebrow a { color:var(--muted); }
html[data-theme=dark] label { color:var(--ink2); }
html[data-theme=dark] label.check { color:var(--ink); }
html[data-theme=dark] label em { color:var(--err); }
html[data-theme=dark] input,
html[data-theme=dark] select,
html[data-theme=dark] textarea { color:var(--ink); border-color:#464950; background-color:#1b1d1f; }
html[data-theme=dark] input[type=checkbox] { accent-color:var(--dark); }
html[data-theme=dark] input:focus,
html[data-theme=dark] select:focus,
html[data-theme=dark] textarea:focus { border-color:#999b9f; box-shadow:0 0 0 4px rgba(178,178,178,0.35); }
html[data-theme=dark] button,
html[data-theme=dark] .btn { border-color:#4b4f56; background-color:#1b1d1f; color:var(--ink); }
html[data-theme=dark] button:hover,
html[data-theme=dark] .btn:hover { background-color:var(--soft); }
html[data-theme=dark] .primary { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .primary:hover { background-color:#ededee; }
html[data-theme=dark] .ghost { border-color:transparent; background-color:transparent; color:var(--muted); }
html[data-theme=dark] .muted { color:var(--muted); }
html[data-theme=dark] .flash { background-color:#1b1d1f; border-color:var(--line); border-left-color:var(--brand-d); box-shadow:var(--shadow); }
html[data-theme=dark] .flash.ok { border-left-color:var(--ok); }
html[data-theme=dark] .flash.error { border-left-color:var(--err); }
html[data-theme=dark] .pill { background-color:#2f3136; color:var(--ink2); }
html[data-theme=dark] .warnpill { background-color:#4f4420; color:var(--warn); }
html[data-theme=dark] .tag { background-color:#2b2d32; color:var(--ink2); }
html[data-theme=dark] .st.sent { background-color:#223f2c; color:var(--ok); }
html[data-theme=dark] .st.error { background-color:#421f1b; color:var(--err); }
html[data-theme=dark] .st.pending { background-color:#4b401f; color:var(--warn); }
html[data-theme=dark] .st.skip { background-color:#2c2e33; color:#adafb3; }
html[data-theme=dark] .err { color:var(--err); }
html[data-theme=dark] .block h2 > span { background-color:var(--brand); color:#e2e3e5; }
html[data-theme=dark] .ro { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .ro small { color:var(--muted); }
html[data-theme=dark] .hint { background-color:#24262a; border-color:var(--brand-d); }
html[data-theme=dark] fieldset.person { border-color:var(--line); }
html[data-theme=dark] fieldset.person legend { color:var(--muted); }
html[data-theme=dark] table.items th { color:var(--muted); }
html[data-theme=dark] .msgtext { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .msgtext.rich { background-color:#1b1d1f; }
html[data-theme=dark] .warn { color:var(--warn); }
html[data-theme=dark] .okline { color:var(--ok); }
html[data-theme=dark] dl.kv dt { color:var(--muted); }
html[data-theme=dark] table.list th { background-color:#292b2f; color:var(--ink2); }
html[data-theme=dark] table.list td { border-bottom-color:#2b2d32; }
html[data-theme=dark] table.list tbody tr:hover td { background-color:#202124; }
html[data-theme=dark] td.fab { color:var(--ink2); }
html[data-theme=dark] .pager a,
html[data-theme=dark] .pager b { background-color:#1b1d1f; border-color:var(--line); }
html[data-theme=dark] .pager b { background-color:var(--dark); color:#2c2d30; border-color:var(--dark); }
html[data-theme=dark] .tile { background-color:#1b1d1f; border-color:var(--line); box-shadow:var(--shadow); }
html[data-theme=dark] .tile:hover { box-shadow:0 10px 26px rgba(0,0,0,0.176); }
html[data-theme=dark] .tile .code { background-color:var(--brand); }
html[data-theme=dark] .tile .t-main small { color:var(--muted); }
html[data-theme=dark] .t-stats { color:var(--ink2); }
html[data-theme=dark] .tab { background-color:#303338; }
html[data-theme=dark] .tab.on { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .district { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .savebar { background-image:linear-gradient(0deg, var(--bg) 70%, transparent); }
html[data-theme=dark] .regpick summary { border-color:#464950; background-color:#1b1d1f; }
html[data-theme=dark] .regpick[open] summary { background-color:var(--soft); }
html[data-theme=dark] .chip { background-color:#292b30; }
html[data-theme=dark] .chip small { color:var(--muted); }
html[data-theme=dark] .auth-logo { filter:drop-shadow(0 6px 14px rgba(0,0,0,0.264)); }
html[data-theme=dark] .danger { color:#fff; background-color:#c0392e; border-color:#c0392e; }
html[data-theme=dark] .danger:hover { background-color:#9f2e25; }
html[data-theme=dark] .ghost.danger { background-color:transparent; color:#e4948d; border-color:transparent; }
html[data-theme=dark] .ghost.danger:hover { background-color:#44201c; }
html[data-theme=dark] .dangerzone { border-color:#63322c; }
html[data-theme=dark] .dangerzone h2 { color:#e4948d; }
html[data-theme=dark] .note { color:var(--muted); }
html[data-theme=dark] .fhint { color:var(--muted); }
html[data-theme=dark] .checkline { color:var(--ink); }
html[data-theme=dark] .tlabel { color:var(--ink2); }
html[data-theme=dark] a.tab { color:var(--ink); }
html[data-theme=dark] .bnumw { color:var(--muted); }
html[data-theme=dark] .bhint { color:var(--ink2); }
html[data-theme=dark] .subs summary { color:var(--ink2); }
html[data-theme=dark] .frow { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .fmain .chk { color:var(--ink2); }
html[data-theme=dark] .tname { color:var(--muted); }
html[data-theme=dark] code.fkey { background-color:#2c2e33; color:var(--ink2); }
html[data-theme=dark] .fmore { border-top-color:#3f4349; }
html[data-theme=dark] .tplbox { background-color:#202124; border-color:var(--line); }
html[data-theme=dark] .chip.k { border-color:#45484f; background-color:#1b1d1f; }
html[data-theme=dark] .chip.k:hover { background-color:var(--brand-l); }
html[data-theme=dark] textarea.tpl { background-color:#1b1d1f; }
html[data-theme=dark] .help code { background-color:#292b30; }
html[data-theme=dark] .ttree { border-top-color:var(--line); }
html[data-theme=dark] .tgroup > summary::before { color:var(--muted); }
html[data-theme=dark] .tchip { background-color:#33363b; }
html[data-theme=dark] mark { background-color:#816e2b; color:inherit; }
html[data-theme=dark] table.perms tr.grp td { background-color:#26282c; color:var(--ink2); }
html[data-theme=dark] form.delrole { border-bottom-color:var(--line); }
html[data-theme=dark] .pager span { color:var(--muted); }
html[data-theme=dark] .attach input[type=file] { background-color:var(--soft); }
html[data-theme=dark] .training-banner { background-color:#4c421f; border-color:#b79c3d; }
html[data-theme=dark] .tour-veil { background-color:rgba(20,20,20,0.55); }
html[data-theme=dark] .tour-spot { box-shadow:0 0 0 9999px rgba(0,0,0,0.7); outline-color:#1b1d1f; }
html[data-theme=dark] .tour-box { background-color:#1b1d1f; box-shadow:0 14px 44px rgba(0,0,0,0.616); }
html[data-theme=dark] .tour-box p { color:var(--ink2); }
html[data-theme=dark] .tour-step { color:var(--muted); }
html[data-theme=dark] .brand-text b { color:#fafafa; }
html[data-theme=dark] .brand-text small { color:#fafafa; }
@keyframes logoIn-dk { from { opacity:0; transform:translateY(8px) scale(.9); filter:blur(6px) drop-shadow(0 6px 14px rgba(0,0,0,0)); } to { opacity:1; transform:none; filter:blur(0) drop-shadow(0 6px 14px rgba(0,0,0,0.264)); } }
html[data-theme=dark] .flash.toast { border-color:var(--line); background-color:rgba(27,29,31,0.98); box-shadow:0 14px 34px rgba(0,0,0,0.352), 0 2px 6px rgba(0,0,0,0.132); }
html[data-theme=dark] .toast.error { border-color:#5d2b26; }
html[data-theme=dark] .toast-ic { background-color:var(--brand-d); }
html[data-theme=dark] .toast.ok .toast-ic { background-color:var(--ok); }
html[data-theme=dark] .toast.error .toast-ic { background-color:var(--err); }
html[data-theme=dark] .toast.ok .toast-ic::after { border-color:#1b1d1f; }
html[data-theme=dark] .toast:not(.ok) .toast-ic::after { color:#2c2d30; }
html[data-theme=dark] .toast-x { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .toast-x:hover { background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .navpill { background-color:#1b1d1f; box-shadow:0 2px 8px rgba(0,0,0,0.176); }
html[data-theme=dark] .sidebar nav.pilled > a.on { background-color:transparent; }
html[data-theme=dark] .tile:hover { box-shadow:0 14px 30px rgba(0,0,0,0.22); }
html[data-theme=dark] .tile:hover .code { background-color:#686d78; }
html[data-theme=dark] table.list tbody tr[data-href]:hover td:first-child { box-shadow:inset 3px 0 0 var(--brand-d); }
html[data-theme=dark] .chip:has(input:checked) { box-shadow:inset 0 0 0 1px #b2b2b2; }
html[data-theme=dark] .spin { border-color:rgba(255,255,255,0.056); border-top-color:#1b1d1f; }
html[data-theme=dark] button:not(.primary):not(.danger) .spin { border-color:rgba(255,255,255,0.105); border-top-color:var(--ink); }
html[data-theme=dark] .fprog-bar { background-color:#2c2e33; }
html[data-theme=dark] .fprog-bar span { background-image:linear-gradient(90deg, #727883, #dfe0e1); }
html[data-theme=dark] .fprog.done .fprog-bar span { background-color:var(--ok); }
html[data-theme=dark] .fprog-txt { color:var(--muted); }
html[data-theme=dark] .fprog.done .fprog-txt { color:var(--ok); }
html[data-theme=dark] .block h2 > span.done { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .block h2 > span.done::after { background-color:var(--ok); color:#2c2d30; box-shadow:0 0 0 2px rgba(255,255,255,0.12); }
html[data-theme=dark] .achip { border-color:var(--line); background-color:#1b1d1f; }
html[data-theme=dark] .achip small { color:var(--muted); }
html[data-theme=dark] .achip .ax { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .achip .ax:hover { background-color:#44201c; color:var(--err); }
html[data-theme=dark] .abar { background-color:#2c2e33; }
html[data-theme=dark] .abar span { background-color:#96989c; }
html[data-theme=dark] .abar.warn span { background-color:#d5b04b; }
html[data-theme=dark] .abar.over span { background-color:var(--err); }
html[data-theme=dark] .sheet.loading::after { background:linear-gradient(100deg, rgba(255,255,255,0) 20%, rgba(27,29,31,0.85) 50%, rgba(255,255,255,0) 80%) -150% 0 / 50% 100% no-repeat,
    linear-gradient(#34373c, #34373c) 50% 8px / 46% 18px no-repeat,
    linear-gradient(#2d2f34, #2d2f34) 50% 36px / 30% 12px no-repeat,
    repeating-linear-gradient(180deg, #292b30 0 22px, transparent 22px 34px) 0 70px / 100% calc(100% - 70px) no-repeat #1b1d1f; }
html[data-theme=dark] .auth-head .auth-logo { animation:logoIn-dk .7s cubic-bezier(.2,.8,.2,1) both; }
html[data-theme=dark] .auth-service { color:#e7e8e9; text-shadow:0 1px 0 rgba(255,255,255,0.102); }
html[data-theme=dark] .auth-line { background-image:linear-gradient(90deg, rgba(255,255,255,0), #e0e0e2, rgba(255,255,255,0)); }
html[data-theme=dark] .auth-org { color:#bfc0c4; }
html[data-theme=dark] .formbar { background-color:rgba(27,29,31,0.97); border-color:var(--line); box-shadow:0 -8px 24px rgba(0,0,0,0.176); }
html[data-theme=dark] .fprog.bad .fprog-txt { color:var(--err); }
html[data-theme=dark] .fprog.bad .fprog-bar span { background-color:var(--err); }
html[data-theme=dark] .fbb { border-color:#3f4349; background-color:#26282c; color:var(--ink2); }
html[data-theme=dark] .fbb:hover { background-color:#2f3136; }
html[data-theme=dark] .fbb.cur { border-color:#a3a5a9; box-shadow:inset 0 0 0 1px #888888; }
html[data-theme=dark] .fbb.done { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .fbb.done::after { background-color:var(--ok); color:#2c2d30; box-shadow:0 0 0 2px rgba(255,255,255,0.12); }
html[data-theme=dark] .combo .combo-in { background:#1b1d1f url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.6'/></svg>") no-repeat right 11px center / 12px; }
html[data-theme=dark] .combo-list { background-color:#1b1d1f; border-color:#464950; box-shadow:0 14px 34px rgba(0,0,0,0.352); }
html[data-theme=dark] .combo-opt { color:var(--ink); }
html[data-theme=dark] .combo-opt.on { background-color:#2c2e33; }
html[data-theme=dark] .combo-empty { color:var(--muted); }
html[data-theme=dark] label.invalid input,
html[data-theme=dark] label.invalid select,
html[data-theme=dark] label.invalid textarea,
html[data-theme=dark] label.invalid .combo-in { border-color:var(--err); box-shadow:0 0 0 3px rgba(218,52,42,0.14); }
html[data-theme=dark] .ferr { color:var(--err); }
html[data-theme=dark] input.tm.bad { border-color:var(--err); }
html[data-theme=dark] .warnl { color:#eed39c; background-color:#42381b; border-color:#8c742f; }
html[data-theme=dark] .hist .ver { border-top-color:var(--line); }
html[data-theme=dark] .hist .vch { color:var(--ink2); }
html[data-theme=dark] .mst { color:#878a90; }
html[data-theme=dark] .mst .env { stroke:currentColor; }
html[data-theme=dark] .mst .bd { stroke:var(--card); fill:#777a80; }
html[data-theme=dark] .mst .g { stroke:#2c2d30; }
html[data-theme=dark] .mst.sent .bd { fill:var(--ok); }
html[data-theme=dark] .mst.pending .bd { fill:#e9d081; }
html[data-theme=dark] .mst.error .bd { fill:var(--err); }
html[data-theme=dark] .mst.none { color:#62656a; }
html[data-theme=dark] .mst.none .bd { fill:#56585d; }
html[data-theme=dark] .mst.error { color:#b89895; }
html[data-theme=dark] .mst-t { color:var(--muted); }
html[data-theme=dark] .mst.error .mst-t { color:var(--err); }
html[data-theme=dark] .fchip { background-color:#2c2e33; box-shadow:inset 0 0 0 1px #b2b2b2; color:var(--ink2); }
html[data-theme=dark] .fchip::before { color:#7a7d84; }
html[data-theme=dark] .fchip::after { color:#7a7d84; }
html[data-theme=dark] .fchip.unk { background-color:#1b1d1f; box-shadow:inset 0 0 0 1px #caa09b; color:#e4948d; }
html[data-theme=dark] .fchip.miss { background-color:#443a1c; box-shadow:inset 0 0 0 1px #e1ca84; color:#eedca1; }
html[data-theme=dark] button.fchip:hover { background-color:#5f5127; }
html[data-theme=dark] mark.fv { background-color:#223425; color:var(--ink); box-shadow:inset 0 -1px 0 #a2c3aa; }
html[data-theme=dark] .fabbtn { border-color:#4e5259; background-color:#1b1d1f; color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,0.11); }
html[data-theme=dark] .fabbtn:hover,
html[data-theme=dark] .fabbtn.on { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .fabbtn .fabn { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .fabbtn:hover .fabn,
html[data-theme=dark] .fabbtn.on .fabn { background-color:#1b1d1f; color:var(--dark); }
html[data-theme=dark] textarea.fabflash { animation:fabFlash-dk 1.1s ease-out; }
html[data-theme=dark] textarea.fabtick { animation:fabTick-dk .7s ease-out; }
@keyframes fabTick-dk { 0% { background:#1d3724; border-color:#539168; } 100% { background:#1b1d1f; } }
@keyframes fabFlash-dk { 0% { box-shadow:0 0 0 4px rgba(64,166,98,0.32); border-color:var(--ok); background:#1c3320; } 100% { box-shadow:none; } }
html[data-theme=dark] .fabstat { background-color:var(--soft); border-color:var(--line); color:var(--ink2); }
html[data-theme=dark] .fabstat .fabneed { color:#eedca1; }
html[data-theme=dark] .linkish { background:none; color:var(--muted); }
html[data-theme=dark] .linkish:hover { background:none; color:var(--ink); }
html[data-theme=dark] .fabpop { background-color:#1b1d1f; border-color:#3f4349; box-shadow:0 18px 44px rgba(0,0,0,0.396), 0 2px 8px rgba(0,0,0,0.132); }
html[data-theme=dark] .fabx { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .fabsec { color:var(--muted); }
html[data-theme=dark] .fabitem { border-color:var(--line); background-color:#1b1d1f; }
html[data-theme=dark] .fabitem:hover,
html[data-theme=dark] .fabitem:focus-visible { background-color:var(--soft); border-color:#565a62; box-shadow:0 0 0 3px rgba(178,178,178,0.3); }
html[data-theme=dark] .fabitem.just { animation:fabJust-dk 1.6s ease-out; }
@keyframes fabJust-dk { 0% { background:#233e2a; border-color:var(--ok); } 100% { background:#1b1d1f; } }
html[data-theme=dark] .fabmeta { color:var(--muted); }
html[data-theme=dark] .fabprev { color:var(--ink2); }
html[data-theme=dark] .fabprev.big { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .fabother summary { color:var(--ink2); }
html[data-theme=dark] .fabempty { color:var(--ink2); }
html[data-theme=dark] .fabpop-foot { border-top-color:var(--line); }
html[data-theme=dark] .fabsaveerr { color:var(--err); }
html[data-theme=dark] .tab .cnt { background-color:rgba(255,255,255,0.06); }
html[data-theme=dark] .tab.on .cnt { background-color:rgba(255,255,255,0.11); }
html[data-theme=dark] .tag.light { background-color:#25272b; color:var(--muted); }
html[data-theme=dark] .tplbody { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .tpl.just { animation:fabJust-dk 2.2s ease-out; }
html[data-theme=dark] .fabpal { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .palg small { color:var(--muted); }
html[data-theme=dark] .fabhl { color:transparent; }
html[data-theme=dark] .fabhl mark { color:transparent; background-color:rgba(165,220,183,0.23); box-shadow:0 0 0 2px rgba(64,166,98,0.2); }
html[data-theme=dark] .fabhl.on mark { animation:fabHlMark-dk 2.3s ease-out forwards; }
@keyframes fabHlMark-dk { 0% { box-shadow:0 0 0 0 rgba(64,166,98,0.45); } 18% { box-shadow:0 0 0 4px rgba(64,166,98,0.18); } 100% { box-shadow:0 0 0 2px rgba(64,166,98,0.12); } }
html[data-theme=dark] .mailalert .ma-r { color:var(--ink2); }
html[data-theme=dark] tr.fresh > td { animation:freshRow-dk 4.2s ease-out; }
@keyframes freshRow-dk { 0%, 40% { background:#23402a; } 100% { background:transparent; } }
@media (prefers-reduced-motion: reduce) {
html[data-theme=dark] tr.fresh > td { background-color:#23402a; }
}
html[data-theme=dark] .navcnt { background-color:#cfa931; color:#fff; }
html[data-theme=dark] .ap { background-color:#524621; color:#eedca1; }
html[data-theme=dark] .ap-mail { background-color:#421f1b; color:var(--err); }
html[data-theme=dark] .ap-gbr { background-color:#1a2a40; color:#a4bcd8; }
html[data-theme=dark] .ap-later { background-color:#2c2e33; color:var(--muted); }
html[data-theme=dark] .toast.attnrem .toast-ic { background-color:#cfa931; }
html[data-theme=dark] .toast.urgent { border-color:#5d2b26; border-left-color:var(--err); }
html[data-theme=dark] .toast.urgent .toast-ic { background-color:var(--err); animation:popIn .35s .1s both, urgPulse-dk 1.3s .5s 3; }
@keyframes urgPulse-dk { 0% { box-shadow:0 0 0 0 rgba(218,52,42,0.45); } 100% { box-shadow:0 0 0 12px rgba(218,52,42,0); } }
html[data-theme=dark] .dupdlg { background-color:rgba(20,20,20,0.38); }
html[data-theme=dark] .dupbox { background-color:#1b1d1f; box-shadow:0 24px 60px rgba(0,0,0,0.55); }
html[data-theme=dark] .duplist li { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .toast .ma-r { color:var(--ink2); }
html[data-theme=dark] .handbar { border-left-color:#cfa931; }
html[data-theme=dark] .draftbar { background-color:#3f361a; border-color:#b79c3d; }
html[data-theme=dark] .attn.late::before { background-color:var(--err); }
html[data-theme=dark] .ap-accept { background-color:#2f1a41; color:#b5a0ce; }
html[data-theme=dark] .ap.ap-over { background-color:#421f1b; color:var(--err); }
html[data-theme=dark] .pwtemp { color:var(--muted); }
html[data-theme=dark] .attach.keep label > span { color:var(--ok); }
html[data-theme=dark] .acc.ok { background-color:#223f2c; color:var(--ok); }
html[data-theme=dark] .acc.wait { background-color:#4b401f; color:var(--warn); }
html[data-theme=dark] .acc.overdue { background-color:#421f1b; color:var(--err); }
html[data-theme=dark] .toast.accalert .toast-ic { background-color:var(--err); }
html[data-theme=dark] .toast.escal { border-left-color:var(--err); }
html[data-theme=dark] .toast.escal .toast-ic { background-color:#c0392e; }
html[data-theme=dark] .toast.handover .toast-ic { background-color:#cfa931; }
html[data-theme=dark] .navcnt.feedcnt { background-color:var(--err); }
html[data-theme=dark] .fitem.urgent { border-left-color:var(--err); }
html[data-theme=dark] .fitem.st-wait { background-color:#312b14; }
html[data-theme=dark] .fitem.st-overdue { background-color:#321714; box-shadow:0 0 0 2px #e18e84, var(--shadow); }
html[data-theme=dark] .fitem.fnew { animation:freshRow-dk 4.2s ease-out; }
html[data-theme=dark] .ftime small { color:var(--muted); }
html[data-theme=dark] .fkind { color:var(--ink2); background-color:#1d2a37; }
html[data-theme=dark] .fkind.add { background-color:#26173a; color:#b5a0ce; }
html[data-theme=dark] .flines { color:var(--ink2); }
html[data-theme=dark] .fst.ok { color:var(--ok); }
html[data-theme=dark] .fst.none { color:var(--muted); }
html[data-theme=dark] .fdue { color:var(--muted); }
html[data-theme=dark] .fdue.late { color:var(--err); }
html[data-theme=dark] .gitem { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .gitem img,
html[data-theme=dark] .gitem video { background-color:#2f3136; }
html[data-theme=dark] .gitem video { background-color:#ededee; }
html[data-theme=dark] .gfile { color:var(--ink2); background-color:#2c2e33; }
html[data-theme=dark] .gfile small { color:var(--muted); }
html[data-theme=dark] .nlist li { background-color:var(--soft); border-left-color:#4b4f56; }
html[data-theme=dark] .nlist li.n-ok { border-left-color:var(--ok); }
html[data-theme=dark] .nlist li.n-late { border-left-color:#d5b04b; }
html[data-theme=dark] .nlist li.n-pending { border-left-color:#74879f; }
html[data-theme=dark] .nlist li.n-overdue { border-left-color:var(--err); background-color:#341715; }
html[data-theme=dark] .nlist li.n-overdue span { color:var(--err); }
html[data-theme=dark] table.norms tr.grp td { background-color:#26282c; color:var(--ink2); }
html[data-theme=dark] .an-editbar { background-color:#353116; border-color:#6b5e2c; }
html[data-theme=dark] .an-grid.editing .anw { outline-color:#766a3a; }
html[data-theme=dark] .kval small { color:var(--muted); }
html[data-theme=dark] .kdelta.good { color:var(--ok); }
html[data-theme=dark] .kdelta.bad { color:var(--err); }
html[data-theme=dark] .kdelta.flat { color:var(--ink2); }
html[data-theme=dark] .hb { color:var(--ink); }
html[data-theme=dark] a.hb:hover { background-color:#25272b; }
html[data-theme=dark] .view-bar .hb.rest .hb-b i { background-color:#50545c; }
html[data-theme=dark] .hb-v small { color:var(--muted); }
html[data-theme=dark] table.antable tr.rest td { color:var(--muted); }
html[data-theme=dark] .an-skel { background-image:linear-gradient(90deg, #282a2e 0, #212326 40%, #282a2e 80%); }
html[data-theme=dark] .preset { background-color:#202124; }
html[data-theme=dark] .preset:hover { background-color:#282a2e; border-color:#565a62; }
html[data-theme=dark] .preset small { color:var(--muted); }
html[data-theme=dark] .seg > .small { color:var(--ink2); }
html[data-theme=dark] .segb button.on { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] #snd.sndwait { background-color:#4f4420; color:var(--warn); border-color:#85702c; }
html[data-theme=dark] svg.ck { stroke:currentColor; }
html[data-theme=dark] .ap-bar { background-color:rgba(255,255,255,0.06); }
html[data-theme=dark] .ap-bar b { background-color:#b4a04d; }
html[data-theme=dark] .ap.ap-warn { background-color:#625028; color:#eed39c; }
html[data-theme=dark] .ap.ap-warn .ap-bar b { background-color:#d19f3c; }
html[data-theme=dark] .ap.ap-over .ap-bar b { background-color:var(--err); }
html[data-theme=dark] .nlist .nbar { background-color:#2f3136; }
html[data-theme=dark] .nbar .nb-in { background-color:#74879f; }
html[data-theme=dark] .nbar .nb-over { background-color:var(--err); }
html[data-theme=dark] .nbar .nb-mark { background-color:#d3d4d5; }
html[data-theme=dark] .n-ok .nbar .nb-in,
html[data-theme=dark] .n-late .nbar .nb-in { background-color:var(--ok); }
html[data-theme=dark] .n-warn .nbar .nb-in { background-color:#d19f3c; }
html[data-theme=dark] .n-overdue .nbar .nb-in { background-color:#d19f3c; }
html[data-theme=dark] .nlist li.n-warn { border-left-color:#d19f3c; }
html[data-theme=dark] .toast button.okdone { color:var(--ok); border-color:#386746; background-color:#1b3925; }
html[data-theme=dark] .handbar.hb-ok { border-left-color:var(--ok); background-color:#163620; }
html[data-theme=dark] .hb-ic { background-color:var(--ok); color:#2c2d30; }
html[data-theme=dark] .upbar { background-color:#1e272f; border-color:#2b3542; }
html[data-theme=dark] .upbar-t { color:var(--ink2); }
html[data-theme=dark] .upbar-b { background-color:#2e3640; }
html[data-theme=dark] .upbar-b i { background-color:#627b9a; }
html[data-theme=dark] .upbar.saving .upbar-b i { background-image:linear-gradient(90deg, #627b9a 0 40%, #5f7690 50%, #627b9a 60% 100%); }
html[data-theme=dark] .upbar.fail { background-color:#3b1a18; border-color:#5b2a25; }
html[data-theme=dark] .upbar.fail .upbar-t { color:var(--err); }
html[data-theme=dark] .upbar.fail .upbar-b i { background-color:var(--err); }
html[data-theme=dark] .draftsaved { background-color:#1b1d1f; border-color:var(--line); box-shadow:0 4px 12px rgba(0,0,0,0.176); color:var(--muted); }
html[data-theme=dark] .draftsaved svg.ck { color:var(--ok); }
html[data-theme=dark] .rst { animation:rstHl-dk 1.9s ease-out both; }
@keyframes rstHl-dk { 0%, 30% { background-color:#21412b; border-color:#539168; box-shadow:0 0 0 3px rgba(64,166,98,0.16); } 100% { background-color:#1b1d1f; } }
html[data-theme=dark] .pwmeter { color:var(--muted); }
html[data-theme=dark] .pwm-b { background-color:#313439; }
html[data-theme=dark] .pwm-b i { background-color:#4f535b; }
html[data-theme=dark] .pwmeter[data-l="0"] .pwm-b i,
html[data-theme=dark] .pwmeter[data-l="1"] .pwm-b i { background-color:var(--err); }
html[data-theme=dark] .pwmeter[data-l="2"] .pwm-b i { background-color:#d19f3c; }
html[data-theme=dark] .pwmeter[data-l="3"] .pwm-b i { background-color:#8dc05a; }
html[data-theme=dark] .pwmeter[data-l="4"] .pwm-b i { background-color:var(--ok); }
html[data-theme=dark] .pwmeter[data-l="0"] .pwm-t,
html[data-theme=dark] .pwmeter[data-l="1"] .pwm-t { color:var(--err); }
html[data-theme=dark] .pwmeter[data-l="4"] .pwm-t,
html[data-theme=dark] .pwmeter[data-l="3"] .pwm-t { color:var(--ok); }
html[data-theme=dark] .pwmatch.ok { color:var(--ok); }
html[data-theme=dark] .pwmatch.bad { color:var(--err); }
html[data-theme=dark] .pvl-fill { background-color:#313439; }
html[data-theme=dark] .pvl-fill i { background-color:var(--ink2); }
html[data-theme=dark] .pvl-fill.full i { background-color:var(--ok); }
html[data-theme=dark] .pv-wd { color:var(--muted); }
html[data-theme=dark] .pv-org { color:var(--ink2); }
html[data-theme=dark] .pv-stat > span { color:var(--muted); }
html[data-theme=dark] .pv-meter { background-color:#303237; }
html[data-theme=dark] .pv-meter i { background-color:var(--ink); }
html[data-theme=dark] .pv-meter.full i { background-color:var(--ok); }
html[data-theme=dark] .pv-alert { background-color:#3b1a18; color:#ea9994; }
html[data-theme=dark] .pv-jump { background:none; color:inherit; }
html[data-theme=dark] .pv-jump:hover { background:none; }
html[data-theme=dark] .pv-sheet { background-color:var(--card); border-color:var(--line); box-shadow:var(--shadow); }
html[data-theme=dark] .pvp { border-top-color:var(--line); }
html[data-theme=dark] .pvp.cont { border-top-color:#3f4349; }
html[data-theme=dark] .pvp-no { border-right-color:var(--line); background-color:#1f2023; }
html[data-theme=dark] .pvp-stamp { border-color:#41454b; background-color:#1b1d1f; color:var(--muted); }
html[data-theme=dark] .pvp.part .pvp-stamp { border-color:var(--ink); color:var(--ink); }
html[data-theme=dark] .pvp.full .pvp-stamp { border-color:var(--ink); background-color:var(--ink); color:#2c2d30; }
html[data-theme=dark] .pvp-cnt { color:var(--muted); }
html[data-theme=dark] .pvp-title span { color:var(--muted); }
html[data-theme=dark] .pvp-meta dt { color:var(--muted); }
html[data-theme=dark] .pvp-tog:hover { background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .pvp-edit { background-color:var(--soft); }
html[data-theme=dark] .pvgr-l { color:var(--ink2); }
html[data-theme=dark] .pvf input { background-color:#1b1d1f; }
html[data-theme=dark] .pvf input::placeholder { color:#6d7076; }
html[data-theme=dark] .pvf-in button { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .pvf-clear:hover { background-color:#2c2e33; color:var(--ink); }
html[data-theme=dark] .pvf-del:hover { background-color:#44201c; color:var(--err); }
html[data-theme=dark] .pvf.dup .pvf-in input { border-color:#a14036; background-color:#361916; }
html[data-theme=dark] .pvf .pvf-tm::placeholder { color:#83868c; }
html[data-theme=dark] .pvf.chg .pvf-tm:not(:placeholder-shown) { border-color:#d9b35c; background-color:#3d3319; color:#efd8a2; }
html[data-theme=dark] .pvf-nb { background-color:transparent; color:#7a7d84; }
html[data-theme=dark] .pvf-nb.on { color:var(--ink); }
html[data-theme=dark] .pvf-nb:hover { background-color:#2c2e33; color:var(--ink); }
html[data-theme=dark] .pvf-nb:focus-visible { outline-color:var(--ink); }
html[data-theme=dark] .pvf-note { background:#312b14 !important; }
html[data-theme=dark] .pvf-note.req { border-color:#d7b356; background:#40361a !important; box-shadow:0 0 0 3px rgba(222,179,69,0.16); }
html[data-theme=dark] .pvf-note.req::placeholder { color:#ebd090; }
html[data-theme=dark] .pv-alert.pv-alert-note { background-color:#43371b; color:#efd8a2; }
html[data-theme=dark] .pvgr-add { border-color:#51555d; background-color:transparent; color:var(--muted); }
html[data-theme=dark] .pvgr-add:hover { border-color:#87898e; background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .pvf-clear:focus-visible,
html[data-theme=dark] .pvf-del:focus-visible,
html[data-theme=dark] .pvgr-add:focus-visible,
html[data-theme=dark] .pvp-tog:focus-visible,
html[data-theme=dark] .pv-jump:focus-visible { outline-color:var(--ink); }
html[data-theme=dark] .pvdoc summary { color:var(--ink2); }
html[data-theme=dark] #pv_state.pv-dirty { color:var(--warn); }
html[data-theme=dark] .pv-orgact summary { color:var(--ink2); }
html[data-theme=dark] details.pvb[open] > summary { border-bottom-color:var(--line); }
html[data-theme=dark] .pvb-n { background-color:#2c2e33; }
html[data-theme=dark] .pvb-m { color:var(--muted); }
html[data-theme=dark] .pvg { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .pvg-h { color:var(--ink2); }
html[data-theme=dark] .pv-state .spin { border-color:rgba(255,255,255,0.105); border-top-color:var(--ink); }
html[data-theme=dark] #pv_state.pv-ok { color:var(--ok); }
html[data-theme=dark] #pv_state.pv-err { color:var(--err); }
html[data-theme=dark] .pv-savebtn.pv-saved { background-color:var(--ok); border-color:var(--ok); color:#2c2d30; }
html[data-theme=dark] .pv-mailst.ok { color:var(--ok); }
html[data-theme=dark] .pv-mailst.err { color:var(--err); }
html[data-theme=dark] .pv-mailst.wait { color:var(--ink2); }
html[data-theme=dark] .pv-ac { background-color:#1b1d1f; border-color:#3d4046; box-shadow:0 10px 28px rgba(0,0,0,0.308), 0 2px 6px rgba(0,0,0,0.132); }
html[data-theme=dark] .pv-ac-h { color:var(--muted); }
html[data-theme=dark] .pv-ac-h:not(:first-child) { border-top-color:var(--line); }
html[data-theme=dark] .pv-ac-it:hover,
html[data-theme=dark] .pv-ac-it.on { background-color:#212832; }
html[data-theme=dark] .pv-ac-n { color:var(--ink); }
html[data-theme=dark] .pv-ac-n mark { background-color:#645a29; color:inherit; }
html[data-theme=dark] .pv-ac-p { color:var(--muted); }
html[data-theme=dark] .pv-ac-b.busy { background-color:#422f1b; color:#edca96; }
html[data-theme=dark] .pv-ac-b.prev { background-color:#1a283f; color:#a0b8d9; }
html[data-theme=dark] .pvf-grip:hover { background:#2c2e33 !important; color:var(--ink) !important; }
html[data-theme=dark] .pv-ghost { background-color:var(--ink); color:#2c2d30; box-shadow:0 10px 26px rgba(0,0,0,0.55); }
html[data-theme=dark] .pvf.pv-droptgt .pvf-in input { border-color:var(--ink); background-color:#152234; box-shadow:0 0 0 3px rgba(0,0,0,0.308); }
html[data-theme=dark] table.pvt th,
html[data-theme=dark] table.pvt td { border-bottom-color:var(--line); border-right-color:#292b30; background-color:#1b1d1f; }
html[data-theme=dark] table.pvt thead th { background-color:#25272b; color:var(--ink2); }
html[data-theme=dark] table.pvt thead th small { color:var(--muted); }
html[data-theme=dark] table.pvt .pvt-n { color:var(--muted); }
html[data-theme=dark] table.pvt .pvt-fio { box-shadow:1px 0 0 var(--line); }
html[data-theme=dark] table.pvt .pvt-pos { color:var(--muted); }
html[data-theme=dark] table.pvt .pvt-d.we { background-color:#222428; }
html[data-theme=dark] table.pvt thead .pvt-d.we { background-color:#2c2e33; }
html[data-theme=dark] table.pvt thead .pvt-d.none { color:#65686d; }
html[data-theme=dark] table.pvt td.pvt-d.on { color:var(--ink); background-color:#18273a; }
html[data-theme=dark] table.pvt td.pvt-d.two { background-color:#3d1d19; color:var(--err); }
html[data-theme=dark] table.pvt .pvt-posts { color:var(--ink2); }
html[data-theme=dark] table.pvt tfoot td { background-color:#202124; border-top-color:var(--line); }
html[data-theme=dark] .pvb-sub { color:var(--ink2); }
html[data-theme=dark] .pvg-r { border-top-color:var(--line); }
html[data-theme=dark] .pvg-main label > span,
html[data-theme=dark] .pvg-own label > span { color:var(--muted); }
html[data-theme=dark] .pvg-ownbtn { border-color:#4f535b; color:var(--ink2) !important; }
html[data-theme=dark] .pvg-ownbtn.on { border-color:var(--ink2) !important; color:var(--ink) !important; }
html[data-theme=dark] .pvg-ownbtn[aria-expanded="true"] { background-color:#1b1d1f; }
html[data-theme=dark] .pvg-own { background-color:#1b1d1f; border-color:var(--line); }
html[data-theme=dark] .pvg-own-h { color:var(--muted); }
html[data-theme=dark] .pvg-foot { border-top-color:var(--line); }
html[data-theme=dark] .pvdoc-set .pvd-sec { background-color:var(--card); border-color:var(--line); box-shadow:var(--shadow); }
html[data-theme=dark] .pvdoc-in .pvd-sec { border-top-color:var(--line); }
html[data-theme=dark] .pvd-col { background-color:var(--soft); }
html[data-theme=dark] .pvd-col.off input[data-ctitle] { text-decoration-color:#6d7076; }
html[data-theme=dark] .pvd-sign { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .pvd-sign-h { border-bottom-color:var(--line); }
html[data-theme=dark] .pvd-prev { background-color:#1b1d1f; border-color:#464950; color:#ececed; }
html[data-theme=dark] .pvd-prev .pp-f i { border-bottom-color:#ededee; }
html[data-theme=dark] .pvd-prev small { color:#c1c3c6; }
html[data-theme=dark] .pvgr-head b { color:var(--ink); }
html[data-theme=dark] .pvgr-own { color:var(--ink2); background-color:#282a2e; }
html[data-theme=dark] .pvgr-total { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .pvgr-total b { color:var(--ink); }
html[data-theme=dark] .pvge-h { color:var(--ink2); }
html[data-theme=dark] .pvge { border-top-color:#3a3d43; }
html[data-theme=dark] .pvge-n { background-color:#2c2e33; color:var(--ink2); }
html[data-theme=dark] button.pv-bold { border-color:var(--line); background-color:#1b1d1f; color:var(--ink); }
html[data-theme=dark] button.pv-bold:hover { background-color:var(--soft); }
html[data-theme=dark] .pvgr-total.sub { background-color:#232529; }
html[data-theme=dark] .bk-need { color:#e4948d; }
html[data-theme=dark] .bk-state { border-top-color:var(--line); }
html[data-theme=dark] .bk-attn { border-left-color:#c0392e; }
html[data-theme=dark] .bk-attn p { color:#ea9994; }
html[data-theme=dark] .sidebar::-webkit-scrollbar-track { background-color:transparent; }
html[data-theme=dark] .sidebar::-webkit-scrollbar-thumb { background-color:var(--sb-thumb); border-color:transparent; }
html[data-theme=dark] .sidebar::-webkit-scrollbar-thumb:hover { background-color:var(--sb-thumb-h); }
html[data-theme=dark] .sidebar::-webkit-scrollbar-thumb:active { background-color:var(--sb-thumb-h); }
html[data-theme=dark] .sidebar::-webkit-scrollbar-corner { background-color:transparent; }
@supports not selector(::-webkit-scrollbar) {
html[data-theme=dark] .sidebar { scrollbar-color:var(--sb-thumb) transparent; }
html[data-theme=dark] .sidebar:hover { scrollbar-color:var(--sb-thumb-h) transparent; }
}
html[data-theme=dark] *:not(html):not(body)::-webkit-scrollbar-track { background-color:transparent; }
html[data-theme=dark] *:not(html):not(body)::-webkit-scrollbar-thumb { background-color:var(--sb-thumb); border-color:transparent; }
html[data-theme=dark] *:not(html):not(body)::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] *:not(html):not(body)::-webkit-scrollbar-thumb:active { background-color:var(--sb-thumb-h); }
html[data-theme=dark] *:not(html):not(body)::-webkit-scrollbar-corner { background-color:transparent; }
@supports not selector(::-webkit-scrollbar) {
html[data-theme=dark] *:not(html):not(body) { scrollbar-color:var(--sb-thumb) transparent; }
}
html[data-theme=dark] .themesw { background-color:rgba(255,255,255,0.068); box-shadow:inset 0 1px 2px rgba(0,0,0,0.176); }
html[data-theme=dark] .themesw button { background-color:transparent; color:var(--side-ink); }
html[data-theme=dark] .themesw button:hover { background-color:transparent; }
html[data-theme=dark] .themesw button:focus-visible { outline-color:var(--ink); }
html[data-theme=dark] .tsw-glide { background-color:#1b1d1f; box-shadow:0 1px 3px rgba(0,0,0,0.308), 0 2px 8px rgba(0,0,0,0.132); }
html[data-theme=dark] .guestsw { background-color:rgba(255,255,255,0.088); }
html[data-theme=dark] .talk-ic { background-color:var(--info-soft); color:var(--info); }
html[data-theme=dark] .tk-av { background-color:var(--brand-l); color:var(--ink2); }
html[data-theme=dark] .tk.mine .tk-av { background-color:var(--info-soft); color:var(--info); }
html[data-theme=dark] .tk-b { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .tk.mine .tk-b { background-color:var(--info-soft); border-color:transparent; }
html[data-theme=dark] .tk-h time { color:var(--muted); }
html[data-theme=dark] .tk.del .tk-t { color:var(--muted); }
html[data-theme=dark] .toast.talkn .toast-ic { background-color:var(--info); }
html[data-theme=dark] .toast .tn-t { background-color:var(--soft); }
html[data-theme=dark] .pp-link { color:var(--info); }
html[data-theme=dark] .phr-l { color:var(--muted); }
html[data-theme=dark] .phr-i { border-color:var(--brand-d); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .phr-i:hover { background-color:var(--hover); }
html[data-theme=dark] .phr-i.first { border-color:var(--info); background-color:var(--info-soft); color:var(--ink); }
html[data-theme=dark] .phr-i kbd { background-color:var(--card); border-color:var(--line); color:var(--muted); }
html[data-theme=dark] .phr-x { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .phr-x:hover { background-color:var(--hover); }
html[data-theme=dark] .cl-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .cl-n { background-color:var(--card); border-color:var(--line); color:var(--ink2); }
html[data-theme=dark] .cl-alert small { color:var(--muted); }
html[data-theme=dark] .cl-alert.over { background-color:var(--err-soft); border-color:transparent; color:var(--err); }
html[data-theme=dark] .cl-alert.over .dot { background-color:var(--err); }
html[data-theme=dark] .cl-alert.soon { background-color:var(--warn-soft); border-color:transparent; color:var(--warn); }
html[data-theme=dark] .cl-alert.soon .dot { background-color:#d3af45; }
html[data-theme=dark] .cl-search .ic { color:var(--muted); }
html[data-theme=dark] .ctile { background-color:var(--card); border-color:var(--line); box-shadow:var(--shadow); color:var(--ink); }
html[data-theme=dark] .ctile::before { background-color:var(--acc); }
html[data-theme=dark] .ctile:hover { box-shadow:0 12px 28px rgba(0,0,0,0.198); border-color:var(--brand-l); }
html[data-theme=dark] .ctile:focus-visible { outline-color:var(--acc); }
html[data-theme=dark] .ctile.arch::before { background-color:var(--muted); }
html[data-theme=dark] .ct-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .ct-name small { color:var(--ink2); }
html[data-theme=dark] .ct-flag { color:#2c2d30; }
html[data-theme=dark] .ct-flag.dl-over { background-color:var(--err); }
html[data-theme=dark] .ct-flag.dl-soon { background-color:#d3af45; }
html[data-theme=dark] .ct-kv { background-color:var(--soft); }
html[data-theme=dark] .ct-row > small { color:var(--muted); }
html[data-theme=dark] .ct-foot { color:var(--muted); }
html[data-theme=dark] .ct-fill i,
html[data-theme=dark] .cv-fill i { background-color:var(--line); }
html[data-theme=dark] .ct-fill i::after,
html[data-theme=dark] .cv-fill i::after { background-color:var(--acc); }
html[data-theme=dark] .dl.dl-ok { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .dl.dl-soon { background-color:var(--warn-soft); color:var(--warn); }
html[data-theme=dark] .dl.dl-over { background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .dl-t.dl-over { color:var(--err); }
html[data-theme=dark] .dl-t.dl-soon { color:var(--warn); }
html[data-theme=dark] .dl-t.dl-ok { color:var(--muted); }
html[data-theme=dark] .dlchip.dl-over { background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .dlchip.dl-soon { background-color:var(--warn-soft); color:var(--warn); }
html[data-theme=dark] .dlchip.dl-ok { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .cl-none .ic { color:var(--muted); }
html[data-theme=dark] .cl-zero-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .cv-hero { background-image:linear-gradient(120deg, var(--acc-soft) 0%, var(--card) 62%); }
html[data-theme=dark] .cv-hero::before { background-color:var(--acc); }
html[data-theme=dark] .cv-ic { background-color:var(--acc); color:#2c2d30; box-shadow:0 8px 20px -8px var(--acc); }
html[data-theme=dark] .cv-chips .pill { background-color:var(--card); border-color:var(--line); }
html[data-theme=dark] .cv-chips .pill.arch { background-color:var(--warn-soft); color:var(--warn); border-color:transparent; }
html[data-theme=dark] .cv-chips .pill.alias { color:var(--muted); }
html[data-theme=dark] .cv-fill { color:var(--muted); }
html[data-theme=dark] .cv-menu { background-color:var(--card); border-color:var(--line); box-shadow:0 14px 34px rgba(0,0,0,0.352); }
html[data-theme=dark] .cv-menu button { color:var(--ink); }
html[data-theme=dark] .cv-menu button.danger { color:var(--err); }
html[data-theme=dark] .cv-strip { border-top-color:var(--line); background:color-mix(in srgb, var(--card) 70%, transparent); }
html[data-theme=dark] .qcall { background-color:var(--card); border-color:var(--line); color:var(--ink); }
html[data-theme=dark] .qcall:hover { border-color:var(--acc); }
html[data-theme=dark] .qcall .ic { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .qcall small { color:var(--muted); }
html[data-theme=dark] .cv-sic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .cv-row { border-bottom-color:var(--line); }
html[data-theme=dark] .cv-row dt { color:var(--muted); }
html[data-theme=dark] .cv-row.empty dd { color:var(--muted); }
html[data-theme=dark] table.cv-t { border-color:var(--line); }
html[data-theme=dark] .cv-t th { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .cv-t td { border-top-color:var(--line); }
html[data-theme=dark] .cv-t tr:hover td { background-color:var(--soft); }
html[data-theme=dark] a.tel { color:var(--ok); }
html[data-theme=dark] .cv-ln { color:var(--info); }
html[data-theme=dark] .yes { color:var(--ok); }
html[data-theme=dark] .cv-blank > .ic { color:var(--acc); }
html[data-theme=dark] .cv-box h2 .ic { color:var(--muted); }
html[data-theme=dark] .cv-posts li { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .cv-msgs li { border-bottom-color:var(--line); }
html[data-theme=dark] .cv-shifts li { background-color:var(--soft); }
html[data-theme=dark] .cvs-d small { color:var(--muted); }
html[data-theme=dark] .cvs-a { color:var(--muted); }
html[data-theme=dark] .cvs-a:hover { background-color:var(--card); color:var(--ink); }
@media (max-width:700px) {
html[data-theme=dark] .cv-t tr { border-top-color:var(--line); }
html[data-theme=dark] .cv-t td::before { color:var(--muted); }
}
html[data-theme=dark] .ce-note { border-left-color:var(--info); }
html[data-theme=dark] .ce-f.invalid input,
html[data-theme=dark] .ce-f.invalid select,
html[data-theme=dark] .ce-f.invalid textarea { border-color:var(--err); box-shadow:0 0 0 3px var(--err-soft); }
html[data-theme=dark] .ce-check { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .ce-lbl { color:var(--ink2); }
html[data-theme=dark] .dlv.dl-ok { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .dlv.dl-soon { background-color:var(--warn-soft); color:var(--warn); }
html[data-theme=dark] .dlv.dl-over { background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .ce-t th { color:var(--muted); }
html[data-theme=dark] .ce-chip { background-color:var(--acc-soft); color:var(--acc-ink); }
html[data-theme=dark] .ce-chip button { background-color:transparent; color:inherit; }
html[data-theme=dark] .ce-chip button:hover { background-color:rgba(255,255,255,0.06); }
html[data-theme=dark] .ce-posts { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .ce-posts > summary .ic { color:var(--muted); }
html[data-theme=dark] .ce-pf legend { color:var(--ink2); }
html[data-theme=dark] .ce-nav-h { color:var(--muted); }
html[data-theme=dark] .ce-nav nav a { color:var(--ink2); }
html[data-theme=dark] .ce-nav nav a:hover { background-color:var(--soft); }
html[data-theme=dark] .ce-nav nav a.cur { background-color:var(--acc-soft); color:var(--acc-ink); }
html[data-theme=dark] .ce-nav nav a i { border-color:var(--brand-d); }
html[data-theme=dark] .ce-nav nav a.part i { border-color:var(--acc); background-image:linear-gradient(90deg, var(--acc) 50%, transparent 50%); }
html[data-theme=dark] .ce-nav nav a.done i { border-color:var(--acc); background-color:var(--acc); }
html[data-theme=dark] .ce-prog span { background-color:var(--line); }
html[data-theme=dark] .ce-prog i { background-color:var(--acc); }
html[data-theme=dark] .ce-prog small { color:var(--muted); }
@media (max-width:1100px) {
html[data-theme=dark] .ce-bar { background-image:linear-gradient(0deg, var(--bg) 72%, transparent); }
}
html[data-theme=dark] .tp-item { color:var(--ink); background-color:var(--card); border-color:var(--line); box-shadow:var(--shadow); }
html[data-theme=dark] .tp-item:hover { border-color:var(--brand-d); }
html[data-theme=dark] .tp-item.on { background-color:var(--acc-soft); border-color:var(--acc); }
html[data-theme=dark] .tp-item small { color:var(--muted); }
html[data-theme=dark] .tp-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .tp-item.on .tp-ic { background-color:var(--acc); color:#2c2d30; }
html[data-theme=dark] .tp-new button { color:var(--ink2); }
html[data-theme=dark] .te-lab { color:var(--ink2); }
html[data-theme=dark] .te-sw { background-color:var(--acc); border-color:var(--card); box-shadow:0 0 0 1px var(--line); }
html[data-theme=dark] .te-sw:hover { background-color:var(--acc); }
html[data-theme=dark] .te-sw.on { box-shadow:0 0 0 2px var(--ink); }
html[data-theme=dark] .te-ibig { background-color:var(--acc-soft); color:var(--acc); border-color:var(--acc); }
html[data-theme=dark] .te-ibig:hover { background-color:var(--acc-soft); }
html[data-theme=dark] .te-sic { background-color:var(--acc-soft); color:var(--acc); border-color:transparent; }
html[data-theme=dark] .te-sic:hover { border-color:var(--acc); background-color:var(--acc-soft); }
html[data-theme=dark] .te-stitle { border-color:transparent; background-color:transparent; }
html[data-theme=dark] .te-stitle:hover { border-color:var(--line); }
html[data-theme=dark] .te-stitle:focus { background-color:var(--input); }
html[data-theme=dark] .te-f { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .te-f.open { background-color:var(--card); border-color:var(--brand-d); }
html[data-theme=dark] .te-f.bad { border-color:var(--err); }
html[data-theme=dark] .te-flag { background-color:var(--card); color:var(--muted); border-color:var(--line); }
html[data-theme=dark] .te-flag.on { background-color:var(--acc-soft); color:var(--acc-ink); border-color:var(--acc); }
html[data-theme=dark] .te-more { border-top-color:var(--line); }
html[data-theme=dark] .te-add { color:var(--ink2); }
html[data-theme=dark] .te-adds { color:var(--ink2); background-color:transparent; }
html[data-theme=dark] .te-bar { background-color:var(--card); border-color:var(--line); box-shadow:0 -6px 24px rgba(0,0,0,0.176); }
html[data-theme=dark] .te-st.ok { color:var(--ok); }
html[data-theme=dark] .te-st.warn { color:var(--warn); }
html[data-theme=dark] .te-st.err { color:var(--err); }
html[data-theme=dark] .te-pop { background-color:var(--card); border-color:var(--line); box-shadow:0 16px 40px rgba(0,0,0,0.396); }
html[data-theme=dark] .te-ib { border-color:transparent; background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .te-ib:hover { background-color:var(--soft); }
html[data-theme=dark] .te-ib.on { background-color:var(--ink); color:var(--card); }
html[data-theme=dark] .tp-ph { color:var(--muted); }
html[data-theme=dark] .tp-card { background-color:var(--card); border-color:var(--line); box-shadow:var(--shadow); }
html[data-theme=dark] .tp-hero { background-image:linear-gradient(120deg, var(--acc-soft), var(--card) 70%); border-top-color:var(--acc); }
html[data-theme=dark] .tp-hero small { color:var(--muted); }
html[data-theme=dark] .tp-sec { border-top-color:var(--line); }
html[data-theme=dark] .tp-sh { color:var(--ink); }
html[data-theme=dark] .tp-sh .ic { color:var(--acc); }
html[data-theme=dark] .tp-row { border-bottom-color:var(--line); }
html[data-theme=dark] .tp-row dt { color:var(--muted); }
html[data-theme=dark] .tp-row.inlist dt::after { color:var(--acc); }
html[data-theme=dark] .si-g { border-color:var(--line); }
html[data-theme=dark] .evi { background-color:var(--acc-soft, #272c34); color:var(--acc, #b1b7c2); }
html[data-theme=dark] .evi.urg::after { background-color:#da6961; color:#fff; box-shadow:0 0 0 2px var(--card); }
html[data-theme=dark] .evchip .evt small { color:var(--acc-ink, var(--muted)); }
html[data-theme=dark] .evchip .evt b,
html[data-theme=dark] .evchip .evt span { color:var(--ink); }
html[data-theme=dark] .tcdot { background-color:var(--acc); }
html[data-theme=dark] .ictile { border-color:var(--line); background-color:var(--card); color:var(--ink); box-shadow:var(--shadow); }
html[data-theme=dark] .ictile:hover { background-color:var(--card); border-color:#3c424e; box-shadow:0 8px 20px rgba(0,0,0,0.176); }
html[data-theme=dark] .ictile .ict-t small { color:var(--muted); }
html[data-theme=dark] .ictile i { background-color:var(--soft); }
html[data-theme=dark] .ictile i.ict-k { background-color:var(--info-soft); color:var(--info); }
html[data-theme=dark] .icd-h { border-bottom-color:var(--line); }
html[data-theme=dark] .icd-pv { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .icd-sizes { color:var(--ink); }
html[data-theme=dark] .icd-msg.err { color:var(--err); }
html[data-theme=dark] .icd-msg.ok { color:var(--ok); }
html[data-theme=dark] .icd-msg.warn { color:var(--warn); }
html[data-theme=dark] .icd-use { color:var(--ink2); }
html[data-theme=dark] .icd-a { border-top-color:var(--line); }
html[data-theme=dark] .icpick { box-shadow:0 18px 44px rgba(0,0,0,0.44); }
html[data-theme=dark] .icp-i { border-color:transparent; background-color:transparent; color:var(--muted); }
html[data-theme=dark] .icp-i:hover { background-color:var(--hover, #27292d); }
html[data-theme=dark] .icp-i.on { border-color:var(--acc, #666f82); background-color:var(--soft); }
html[data-theme=dark] .bt-ic { background-color:transparent; }
html[data-theme=dark] .bt-ic:hover { background-color:transparent; }
html[data-theme=dark] .bt-ic:focus-visible { outline-color:var(--acc); }
html[data-theme=dark] #types .bblock { border-top-color:var(--acc); }
html[data-theme=dark] .bt-col { border-color:var(--card); background-color:var(--acc); box-shadow:0 0 0 1px rgba(0,0,0,0.264); }
html[data-theme=dark] .bt-col:hover { background-color:var(--acc); }
html[data-theme=dark] .bt-col.on { outline-color:var(--ink); }
html[data-theme=dark] .bt-col.on.guess { outline-color:var(--acc); }
html[data-theme=dark] .bt-auto.on { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .bt-emo small { color:var(--muted); }
html[data-theme=dark] .ph-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .ph-n { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .ph-sub { color:var(--muted); }
html[data-theme=dark] .es-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] table.jlist .jtime { color:var(--ink2); }
html[data-theme=dark] table.jlist .jreg { color:var(--ink2); }
html[data-theme=dark] .jmore { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .jmore:hover { background-color:var(--line); }
html[data-theme=dark] .jwrap.fit table.jlist thead th { box-shadow:0 1px 0 var(--line), 0 6px 12px -8px rgba(0,0,0,0.396); }
@media (max-width:700px) {
html[data-theme=dark] .jwrap.card { background-color:transparent; }
html[data-theme=dark] table.jlist tbody tr { border-color:var(--line); background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] table.jlist tbody tr:hover td { background-color:transparent; }
html[data-theme=dark] table.jlist .jauth { color:var(--muted); }
}
html[data-theme=dark] .urgdot { background-color:#da6961; color:#fff; }
html[data-theme=dark] .toast.sticky .toast-t b.tn-h .evi.urg::after { box-shadow:0 0 0 2px var(--card); }
html[data-theme=dark] .mh-type { color:var(--acc-ink); }
html[data-theme=dark] .mh-sep { color:var(--muted); }
html[data-theme=dark] .mh-urg { background-color:#411e1b; color:#e8817b; }
html[data-theme=dark] .mh-chip { color:var(--muted); }
html[data-theme=dark] .msecs { border-color:var(--line); }
html[data-theme=dark] .msec { border-top-color:var(--line); }
html[data-theme=dark] .ms-h { color:var(--muted); }
html[data-theme=dark] .ms-n { background-color:var(--acc-soft); color:var(--acc-ink); }
html[data-theme=dark] .msec.foot { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .tl::before { background-color:var(--line); }
html[data-theme=dark] .tl-dot { background-color:var(--card); border-color:#646f83; }
html[data-theme=dark] .tl-i.first .tl-dot { border-color:var(--acc, #666f82); background-color:var(--acc-soft, #2a2c31); }
html[data-theme=dark] .tl-i.last .tl-dot { border-color:#468bd2; background-color:#468bd2; box-shadow:0 0 0 3px rgba(62,133,208,0.18); }
html[data-theme=dark] .hist .tl .ver[open] .tl-dot { box-shadow:0 0 0 4px var(--acc-soft, rgba(0,0,0,0.132)); }
html[data-theme=dark] .td-k { border-color:var(--line); background-color:var(--card); box-shadow:var(--shadow); color:var(--ink); }
html[data-theme=dark] .td-k:hover { box-shadow:0 10px 26px rgba(0,0,0,0.198); border-color:#3c424e; }
html[data-theme=dark] .td-ki { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .td-kl { color:var(--muted); }
html[data-theme=dark] .td-k.hot { border-color:#5f2c27; background-image:linear-gradient(135deg, #321715, var(--card) 60%); }
html[data-theme=dark] .td-k.hot .td-kn { color:#e8817b; }
html[data-theme=dark] .td-k.warn .td-kn { color:#ebc38e; }
html[data-theme=dark] .td-all { color:var(--ink2); }
html[data-theme=dark] .td-tl::before { background-color:var(--line); }
html[data-theme=dark] .td-ev { color:var(--ink); }
html[data-theme=dark] .td-ev:hover { background-color:var(--hover, #24262a); }
html[data-theme=dark] .td-ev time { color:var(--ink2); }
html[data-theme=dark] .td-ev .evi { box-shadow:0 0 0 3px var(--card); }
html[data-theme=dark] .td-evt small { color:var(--muted); }
html[data-theme=dark] .td-row { color:var(--ink); }
html[data-theme=dark] .td-row + .td-row { border-top-color:var(--line); }
html[data-theme=dark] .td-row:hover { background-color:var(--hover, #24262a); }
html[data-theme=dark] .td-row.late::before { background-color:var(--err); }
html[data-theme=dark] .td-rt small { color:var(--muted); }
html[data-theme=dark] .td-late { color:var(--err); }
html[data-theme=dark] .nc-n { background-color:#da6961; color:#fff; box-shadow:0 0 0 2px var(--side-bg, rgba(255,255,255,0.12)); }
html[data-theme=dark] .ncp { box-shadow:0 24px 60px rgba(0,0,0,0.528); }
html[data-theme=dark] .ncp-h { border-bottom-color:var(--line); }
html[data-theme=dark] .ncp-h small { color:var(--muted); }
html[data-theme=dark] .nci a { color:var(--ink); }
html[data-theme=dark] .nci a:hover { background-color:var(--hover, #24262a); }
html[data-theme=dark] .nci .nci-ic { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .nci-b small { color:var(--muted); }
html[data-theme=dark] .nci time { color:var(--muted); }
html[data-theme=dark] .nci.unread .nci-b b::before { background-color:#468bd2; }
html[data-theme=dark] .nci .nci-live { background-color:#411e1b; color:#e8817b; }
html[data-theme=dark] .toasts .nc-ctl button { border-color:var(--line); background-color:var(--card); box-shadow:var(--shadow); color:var(--ink); }
html[data-theme=dark] .toasts .nc-ctl button.nc-show { border-color:#5f2c27; color:#e8817b; }
html[data-theme=dark] .motsw { color:var(--side-ink); }
html[data-theme=dark] .msw-track { background-color:rgba(255,255,255,0.135); }
html[data-theme=dark] .msw-track i { background-color:#1b1d1f; box-shadow:0 1px 3px rgba(0,0,0,0.55); }
html[data-theme=dark] .motsw input:checked + .msw-track { background-color:#40a662; }
html[data-theme=dark] .motsw input:focus-visible + .msw-track { outline-color:var(--ink); }
html[data-theme=dark] .lchart .gl { stroke:var(--an-grid); }
html[data-theme=dark] .lchart .ax { fill:var(--an-axis); }
html[data-theme=dark] .lchart .ln { stroke:var(--an-line); }
html[data-theme=dark] .lchart .ln.pv { stroke:var(--an-prev); }
html[data-theme=dark] .lchart .ar { fill:var(--an-area); }
html[data-theme=dark] .lchart .dt { fill:var(--card); stroke:var(--an-line); }
html[data-theme=dark] .lchart .lc-guide { stroke:var(--an-axis); }
html[data-theme=dark] .lc-leg { color:var(--muted); }
html[data-theme=dark] .lg-now,
html[data-theme=dark] .lg-pv { border-top-color:var(--an-line); }
html[data-theme=dark] .lg-pv { border-top-color:var(--an-prev); }
html[data-theme=dark] .hb-b { background-color:var(--an-track); }
html[data-theme=dark] .hb-b i { background-color:var(--an-bar); }
html[data-theme=dark] .hb.typed .hb-b i { background-color:var(--acc); }
html[data-theme=dark] .hb-pv { background-color:var(--ink2); }
html[data-theme=dark] .hb-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .dmk.bad { color:var(--err); }
html[data-theme=dark] .dmk.good { color:var(--ok); }
@keyframes dlPulse-dk { 0%, 100% { box-shadow:0 0 0 0 rgba(224,90,81,0); } 45% { box-shadow:0 0 0 6px rgba(224,90,81,0.22); } }
html[data-theme=dark] .dlchip.dl-over,
html[data-theme=dark] .ct-flag.dl-over,
html[data-theme=dark] .ap.ap-over,
html[data-theme=dark] .cl-alert.over,
html[data-theme=dark] .td-row.late::before,
html[data-theme=dark] .ap-timed.ap-over { animation:dlPulse-dk 1.3s .6s 2 ease-out; }
html[data-theme=dark] button.btn-done,
html[data-theme=dark] .btn.btn-done { background:var(--ok) !important; border-color:var(--ok) !important; color:#2c2d30 !important; }
html[data-theme=dark] .tk-fly { background-color:var(--info-soft); color:var(--ink); box-shadow:0 12px 30px rgba(0,0,0,0.33); }
html[data-theme=dark] .ms-dot { background-color:var(--acc); }
html[data-theme=dark] .ai-box .ic { color:var(--muted); }
html[data-theme=dark] .ai-go { color:var(--ink2); background-color:var(--soft); }
html[data-theme=dark] .ai-row:hover .ai-go { background-color:var(--ink); color:#2c2d30; }
html[data-theme=dark] .wp { color:var(--wp-ink); background-image:radial-gradient(130% 160% at 0% 0%, var(--wp-bg2) 0%, var(--wp-bg) 58%); box-shadow:var(--wp-sh); }
html[data-theme=dark] .wp::after { box-shadow:inset 0 1px 0 var(--wp-line); }
html[data-theme=dark] .wp-ic { color:var(--wp-snow); background-image:linear-gradient(135deg, var(--wp-id1), var(--wp-id2)); box-shadow:0 8px 20px -8px var(--wp-idg); }
html[data-theme=dark] .wp-title { color:var(--wp-ink); }
html[data-theme=dark] .wp-meta { color:var(--wp-ink2); }
html[data-theme=dark] .wp-meta span + span::before { background-color:var(--wp-ink2); }
html[data-theme=dark] .wp-time b { color:var(--wp-ink); }
html[data-theme=dark] .wp-time small { color:var(--wp-ink2); }
html[data-theme=dark] .wp-local { color:var(--wp-ink2); }
html[data-theme=dark] .wp-local b { color:var(--wp-ink); }
html[data-theme=dark] .wp-day { color:var(--wp-ink2); }
html[data-theme=dark] .wp-dayb { background-color:var(--wp-chip); }
html[data-theme=dark] .wp-dayb b { background-image:linear-gradient(90deg, var(--l-teal), var(--l-blue)); }
html[data-theme=dark] .wp-snd { border-color:var(--wp-line); background-color:var(--wp-chip); color:var(--wp-ink); }
html[data-theme=dark] .wp-snd:hover { background-color:var(--wp-hover); }
html[data-theme=dark] .wp-snd .ic { color:var(--l-green); }
html[data-theme=dark] .wp-snd.off .ic { color:var(--wp-ink2); }
html[data-theme=dark] .wp-snd.sndwait .ic { color:var(--l-amber); }
html[data-theme=dark] .wp-tabs { border-top-color:var(--wp-line); }
html[data-theme=dark] .wp-tab { color:var(--wp-ink); }
html[data-theme=dark] .wp-tab:hover { background-color:var(--wp-hover); }
html[data-theme=dark] .wp-tab:focus-visible { outline-color:var(--l-blue); }
html[data-theme=dark] .wp-ti { background-color:var(--wp-chip); color:var(--lamp, var(--wp-ink)); }
html[data-theme=dark] .wp-tab.on { background-color:var(--wp-on); color:var(--wp-on-ink); box-shadow:var(--wp-on-sh); }
html[data-theme=dark] .wp-tab.on .wp-ti { background-color:var(--lamp); color:var(--wp-on); }
html[data-theme=dark] .wp-act { color:var(--wp-snow); background-image:linear-gradient(135deg, var(--wp-id1), var(--wp-id2)); box-shadow:0 10px 22px -10px var(--wp-idg), inset 0 1px 0 var(--wp-line); }
html[data-theme=dark] .wp-act:focus-visible { outline-color:var(--wp-ink); }
html[data-theme=dark] .wp-act-i { background-color:var(--wp-chip); }
html[data-theme=dark] .wp-act.on { color:var(--wp-on-ink); background-color:var(--wp-on); box-shadow:var(--wp-on-sh); }
html[data-theme=dark] .wp-act.on .wp-act-i { color:var(--wp-snow); background-image:linear-gradient(135deg, var(--wp-id1), var(--wp-id2)); }
html[data-theme=dark] .wp-n.lamp-amber { background-color:var(--l-amber); color:var(--wp-amber-ink); box-shadow:var(--g-amber); }
html[data-theme=dark] .wp-n.lamp-red { background-color:var(--l-red); color:var(--wp-snow); box-shadow:var(--g-red); }
html[data-theme=dark] .wp-dot { background-color:var(--l-green); box-shadow:var(--g-green); }
html[data-theme=dark] .sidebar nav a.wpnav > .ic { color:#2c2d30; background-image:linear-gradient(135deg, var(--wpn1), var(--wpn2)); box-shadow:0 5px 12px -6px var(--wpn1); }
html[data-theme=dark] .td-ki { background-image:linear-gradient(135deg, var(--acc), var(--acc-ink)); color:#2c2d30; box-shadow:0 6px 14px -7px var(--acc); }
html[data-theme=dark] .td-k.warn { border-color:#6f5c2d; background-image:linear-gradient(135deg, #3b3218, var(--card) 62%); }
html[data-theme=dark] .td-k.hot { border-color:#5f2c27; background-image:linear-gradient(135deg, #371a16, var(--card) 62%); }
html[data-theme=dark] .td-sec.td-hot { border-color:#602e27; box-shadow:0 0 0 1px #e09085, var(--shadow); }
html[data-theme=dark] .td-sec.td-hot > .td-h h2::before { background-color:#da6961; box-shadow:0 0 0 3px rgba(224,90,81,0.16); }
html[data-theme=dark] .seg { background-color:#292b30; }
html[data-theme=dark] .seg button { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .seg button:hover { background-color:rgba(255,255,255,0.096); }
html[data-theme=dark] .seg button.on { background-color:var(--card); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.308); }
html[data-theme=dark] .td-arow > .td-rt { color:var(--ink); }
html[data-theme=dark] .td-go:hover { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .rg-tag { background-color:#1a283f; color:#8eb1e2; }
html[data-theme=dark] .fstate button[data-acc] { background-color:#40a662; border-color:#40a662; color:#fff; box-shadow:0 4px 12px -6px rgba(64,166,98,0.8); }
html[data-theme=dark] .fstate button[data-acc]:hover { background-color:#359757; border-color:#359757; }
html[data-theme=dark] .dch-new { background-color:#1a293f; color:#90bae7; }
html[data-theme=dark] .rgl { background-color:var(--rg); }
html[data-theme=dark] .rg { border-color:var(--line); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .rg::before { background-color:var(--rg); }
html[data-theme=dark] a.rg:hover { box-shadow:0 10px 22px rgba(0,0,0,0.198); }
html[data-theme=dark] .rg.st-red { border-color:#5b2b25; background-image:linear-gradient(135deg, #361a16, #1b1d1f 68%); }
html[data-theme=dark] .rg.st-amber { border-color:#69572b; background-image:linear-gradient(135deg, #3c3119, #1b1d1f 68%); }
html[data-theme=dark] .rg.st-green { border-color:#2a543a; background-image:linear-gradient(135deg, #183b25, #1b1d1f 68%); }
html[data-theme=dark] .rg-code { color:var(--rg-ink); }
html[data-theme=dark] .rg-name { color:var(--muted); }
html[data-theme=dark] .rg-stats { color:var(--ink2); }
html[data-theme=dark] .rg-s b { color:var(--ink); }
html[data-theme=dark] .rg-urg b,
html[data-theme=dark] .rg-open b { color:#e8817b; }
html[data-theme=dark] .rg-attn b { color:#eccb94; }
html[data-theme=dark] .rg-n { color:var(--ink2); }
html[data-theme=dark] .rg-n b { color:var(--ink); }
html[data-theme=dark] .rg-n small { color:var(--muted); }
html[data-theme=dark] .rg-c.rg-open { background-color:#401e1a; color:#e8817b; }
html[data-theme=dark] .rg-c.rg-urg { background-color:#452e1c; color:#eaac87; }
html[data-theme=dark] .rg-c.rg-attn { background-color:#4c3f1f; color:#edd19b; }
html[data-theme=dark] .rg-sep { background-color:var(--line); }
html[data-theme=dark] .rg.st-idle .rg-n b { color:var(--muted); }
html[data-theme=dark] .rg.st-idle { background-color:var(--soft); }
html[data-theme=dark] .rg-hand { border-top-color:var(--line); color:var(--muted); }
html[data-theme=dark] .rg-hand em { color:#eccb94; }
html[data-theme=dark] .rg-lt,
html[data-theme=dark] .rz-t { color:#edd399; background-color:#493d1e; }
html[data-theme=dark] .rg-lt.night,
html[data-theme=dark] .rz-t.night { color:#9da9d6; background-color:#1b2542; }
html[data-theme=dark] .rz { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .rz.night { background-image:linear-gradient(180deg, #19213c, var(--soft) 70%); }
html[data-theme=dark] .rz-h { color:var(--muted); }
html[data-theme=dark] .rz-tz { color:var(--ink); }
html[data-theme=dark] .rg-spark { border-bottom-color:var(--line); }
html[data-theme=dark] .rg-spark i { background-color:#2d3541; }
html[data-theme=dark] .rg-spark i.on { background-image:linear-gradient(0deg, #da6961 0 var(--u), #677a96 var(--u) 100%); }
html[data-theme=dark] .rg-spark i.f { background-color:#242a33; }
html[data-theme=dark] .rg-spark i.now { box-shadow:0 3px 0 -1px #79a1e7; }
html[data-theme=dark] .rg-spark i.now:not(.on) { background-color:#273b60; }
html[data-theme=dark] .rg.st-idle .rg-spark i.on { background-image:linear-gradient(0deg, #da6961 0 var(--u), #596577 var(--u) 100%); }
html[data-theme=dark] .rg-ax { color:var(--muted); }
html[data-theme=dark] .navtog { background-color:transparent; color:#d6d7d9; }
html[data-theme=dark] .navtog:hover { background-color:rgba(255,255,255,0.08); }
html[data-theme=dark] .navtog:focus-visible { outline-color:#dfe0e1; }
@media (min-width:861px) {
html[data-theme=dark] html[data-menu=mini] body:not(.touring) .sidebar .sep { background-color:rgba(255,255,255,0.12); }
}
@media (max-width:860px) {
html[data-theme=dark] .navtog { background-color:rgba(255,255,255,0.072); }
}
html[data-theme=dark] .td-tl > li.lv-new > .td-ev { animation:lvNew-dk 1.8s ease-out; }
@keyframes lvNew-dk { from { background-color:#1d2e46; } to { background-color:transparent; } }
html[data-theme=dark] .td-tl > li.lv-new.lv-urg > .td-ev { animation-name:lvUrg-dk; }
@keyframes lvUrg-dk { from { background-color:#502621; } to { background-color:transparent; } }
html[data-theme=dark] .sdlg { border-color:var(--line); background-color:var(--card); color:var(--ink); box-shadow:0 24px 60px rgba(0,0,0,0.55); }
html[data-theme=dark] .sdlg::backdrop { background-color:rgba(20,20,20,0.42); }
html[data-theme=dark] .sdlg-x { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .sdlg-x:hover { background-color:#292b2f; }
html[data-theme=dark] .sdlg-f { border-top-color:var(--line); }
html[data-theme=dark] .up-g legend { color:var(--muted); }
html[data-theme=dark] .up-r + .up-r { border-top-color:var(--line); }
html[data-theme=dark] .up-r.set { background-color:#162136; }
html[data-theme=dark] .up-tt small { color:var(--muted); }
html[data-theme=dark] .up-tt small.yes { color:#9ae1bb; }
html[data-theme=dark] .up-seg button[data-v="1"].on { background-color:#1d462d; color:#9fe5be; }
html[data-theme=dark] .up-seg button[data-v="0"].on { background-color:#41201b; color:#e78983; }
html[data-theme=dark] .up-btn { border-color:var(--line); background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .up-btn:hover { background-color:#26282c; }
html[data-theme=dark] .up-btn.own { border-color:#283a63; background-color:#172238; color:#8eb1e2; }
html[data-theme=dark] .uf-bar label { color:var(--muted); }
html[data-theme=dark] .uf-q .ic { color:var(--muted); }
html[data-theme=dark] .rz-edit small { color:var(--muted); }
html[data-theme=dark] .bd-r { border-bottom-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .bd-mv button { border-color:var(--line); background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .bd-mv button:hover { background-color:#292b2f; }
html[data-theme=dark] .ci-num { background-color:#576073; color:#2c2d30; }
html[data-theme=dark] .pill.ci-new { background-color:#1d462d; color:#9fe5be; }
html[data-theme=dark] .pill.ci-upd { background-color:#1a283f; color:#8eb1e2; }
html[data-theme=dark] .pill.ci-err { background-color:#41201b; color:#e78983; }
html[data-theme=dark] table.ci-t tr.bad td { background-color:#321a15; }
html[data-theme=dark] .wp-tablo { border-color:var(--wp-line); background-color:var(--wp-chip); color:var(--wp-ink); }
html[data-theme=dark] .wp-tablo:hover { background-color:var(--wp-hover); }
html[data-theme=dark] .wp-tablo:focus-visible { outline-color:var(--wp-ink); }
html[data-theme=dark] .wp-tablo .ic { color:var(--l-teal); }
html[data-theme=dark].tablo .wp-tablo { border-color:rgba(180,61,52,0.517); }
html[data-theme=dark] .ring .rr-bg { stroke:#373d48; }
html[data-theme=dark] .ring .rr-fg { stroke:var(--rc); }
html[data-theme=dark] .ring b { color:var(--rc); }
html[data-theme=dark] .ring small { color:var(--muted); }
html[data-theme=dark] .ring.rr-over .rr-bg { stroke:#6b1d14; }
@media (prefers-reduced-motion: no-preference) {
html[data-theme=dark] .ring.rr-blink { animation:ringBlink-dk .9s ease-in-out 3; }
}
@keyframes ringBlink-dk { 50% { transform:scale(1.12); filter:drop-shadow(0 0 6px rgba(224,90,81,0.75)); } }
html[data-theme=dark] .br { border-bottom-color:var(--line); }
html[data-theme=dark] .br-dot { background-color:var(--rg, #515a68); box-shadow:0 0 0 3px color-mix(in srgb, var(--rg, #a9b0bc) 18%, transparent); }
html[data-theme=dark] .br-name { color:var(--muted); }
html[data-theme=dark] html[data-wphead=legion] .wp-dayb b { background-image:linear-gradient(90deg, #cccdcf, #e8e8e9); }
html[data-theme=dark] .wp-tc { border-color:var(--wp-line); background-color:var(--wp-chip); color:var(--wp-ink); }
html[data-theme=dark] .wp-tc small { color:var(--wp-ink2); }
html[data-theme=dark] .wp-tc .dn-sun { color:#e1b057; }
html[data-theme=dark] .wp-tc .dn-moon { color:#13236c; }
html[data-theme=dark] .wp-tc-reg:hover { background-color:var(--wp-hover); }
html[data-theme=dark] .ah-bar label { color:var(--muted); }
html[data-theme=dark] .ah-bar label.ah-bad { color:var(--ink); }
html[data-theme=dark] .ah-dir { border-color:var(--line); background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .ah-dir b { color:var(--muted); }
html[data-theme=dark] .ah-dir:hover { border-color:#404957; }
html[data-theme=dark] .ah-dir.on { border-color:#464d58; background-color:#464d58; color:#2c2d30; }
html[data-theme=dark] .ah-dir.on b { color:#343d4c; }
html[data-theme=dark] .ah-day { background-color:var(--card); color:var(--muted); border-bottom-color:var(--line); }
html[data-theme=dark] .ah-r { border-bottom-color:var(--line); }
html[data-theme=dark] .ah-r time { color:var(--muted); }
html[data-theme=dark] .ah-ic { background-color:#202936; color:#b0b8c3; }
html[data-theme=dark] .ah-r.d-msg .ah-ic { background-color:#1a283f; color:#8eb1e2; }
html[data-theme=dark] .ah-r.d-mail .ah-ic { background-color:#1e193c; color:#8c83d3; }
html[data-theme=dark] .ah-r.d-posts .ah-ic,
html[data-theme=dark] .ah-r.d-shift .ah-ic { background-color:#1c442d; color:#9fe5be; }
html[data-theme=dark] .ah-r.d-cards .ah-ic { background-color:#1d4743; color:#9bede7; }
html[data-theme=dark] .ah-r.d-users .ah-ic,
html[data-theme=dark] .ah-r.d-login .ah-ic { background-color:#4c3f1f; color:#edd19b; }
html[data-theme=dark] .ah-r.bad .ah-ic { background-color:#41201b; color:#e78983; }
html[data-theme=dark] .ah-who { color:var(--muted); }
html[data-theme=dark] .ah-who:hover { color:var(--ink); }
html[data-theme=dark] .ah-d { color:var(--ink2); }
html[data-theme=dark] .bm { background-color:var(--bm-sea); }
html[data-theme=dark] .bm-sea { fill:var(--bm-sea); }
html[data-theme=dark] .bm-fg { fill:var(--bm-fg); }
html[data-theme=dark] .bm-ru { fill:var(--bm-line); }
html[data-theme=dark] .bm-s { fill:var(--bm-land); }
html[data-theme=dark] .bm-s.on.st-red { fill:var(--bm-red); }
html[data-theme=dark] .bm-s.on.st-amber { fill:var(--bm-amber); }
html[data-theme=dark] .bm-s.on.st-green { fill:var(--bm-green); }
html[data-theme=dark] .bm-s.on.st-idle { fill:var(--bm-idle); }
html[data-theme=dark] .bm-lb { stroke:var(--bm-lb); }
html[data-theme=dark] .bm-tw1,
html[data-theme=dark] .bm-tw2,
html[data-theme=dark] .bm-nt { fill:var(--bm-night); }
html[data-theme=dark] .bm-term { stroke:var(--bm-term); }
html[data-theme=dark] .bm-tlbl { fill:var(--bm-tag-ink); stroke:var(--bm-tag); }
html[data-theme=dark] .bm-m line { stroke:var(--bm-mer); }
html[data-theme=dark] .bm-mt rect { fill:var(--bm-tag); stroke:var(--bm-mer); }
html[data-theme=dark] .bm-mt text { fill:var(--bm-tag-ink); }
html[data-theme=dark] .bm-m-mid .bm-mt rect { fill:var(--bm-tag-ink); }
html[data-theme=dark] .bm-m-mid .bm-mt text { fill:var(--bm-tag); }
html[data-theme=dark] .bm-pt .bm-dot { fill:var(--rg, #444b57); stroke:var(--bm-dot-line); }
html[data-theme=dark] .bm-pt .bm-halo { fill:var(--rg, #444b57); }
html[data-theme=dark] .bm-lbl { fill:var(--bm-ink); stroke:var(--bm-halo); }
html[data-theme=dark] .bm-dl,
html[data-theme=dark] .bm-tl,
html[data-theme=dark] .bm-nl { border-color:rgba(255,255,255,0.09); }
html[data-theme=dark] .bm-dl { background-color:#4e525a; }
html[data-theme=dark] .bm-tl { background-color:#646973; }
html[data-theme=dark] .bm-nl { background-color:#9297aa; }
html[data-theme=dark] .bs-map .rgl.st-idle { box-shadow:inset 0 0 0 1px rgba(0,0,0,0.22); }
html[data-theme=dark] .pvgr-off { border-color:var(--line); color:var(--muted); }
html[data-theme=dark] .pvgr-off-t b { color:var(--ink2); }
html[data-theme=dark] .pvgr-hdel { color:var(--muted); }
html[data-theme=dark] .pvgr-hdel:hover { color:var(--err); }
html[data-theme=dark] .pvp.off .pvp-cnt { color:var(--muted); }
html[data-theme=dark] .jdn { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .jdn button { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .jdn button:hover { color:var(--ink); }
html[data-theme=dark] .jdn button[aria-checked=true] { background-color:var(--ink); color:var(--card); }
html[data-theme=dark] table.jlist tbody tr.jsel td { background-color:var(--soft); }
html[data-theme=dark] table.jlist tbody tr.jsel td:first-child { box-shadow:inset 3px 0 0 var(--ink); }
html[data-theme=dark] .jp { border-color:var(--line); background-color:var(--card); box-shadow:0 28px 64px -24px rgba(0,0,0,0.7), 0 2px 10px rgba(0,0,0,0.176); }
html[data-theme=dark] .jp-h { border-bottom-color:var(--line); }
html[data-theme=dark] .jp-f { background-color:var(--bg); }
html[data-theme=dark] .jp-load i { background-color:var(--soft); }
html[data-theme=dark] .rt-conflict { border-color:#8e6d2f; background-color:#392e17; color:#f0dba8; }
html[data-theme=dark] .rt-to summary { color:var(--ink2); }
html[data-theme=dark] .rt-to summary:hover { color:var(--ink); }
html[data-theme=dark] .rt-sub { color:var(--ink2); }
html[data-theme=dark] .rt-note { color:var(--ink2); }
html[data-theme=dark] .rt-note .bad,
html[data-theme=dark] #a1_cnt.bad { color:#edce96; }
html[data-theme=dark] .seg,
html[data-theme=dark] .mk { border-color:#464950; background-color:#1b1d1f; }
html[data-theme=dark] .seg span,
html[data-theme=dark] .mk span { border-left-color:#33363b; color:var(--ink2); }
html[data-theme=dark] .seg span:hover,
html[data-theme=dark] .mk span:hover { background-color:var(--soft); }
html[data-theme=dark] .seg input:checked + span { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .seg input:focus-visible + span,
html[data-theme=dark] .mk input:focus-visible + span { box-shadow:inset 0 0 0 2px #888888; }
html[data-theme=dark] .mk .mk1 input:checked + span { background-color:var(--ok); color:#2c2d30; }
html[data-theme=dark] .mk .mk2 input:checked + span { background-color:var(--err); color:#2c2d30; }
html[data-theme=dark] .mk .mk3 input:checked + span { background-color:#bcbdc0; color:#2c2d30; }
html[data-theme=dark] .mkx { color:#2c2d30; }
html[data-theme=dark] .mkx.mk1 { background-color:var(--ok); }
html[data-theme=dark] .mkx.mk2 { background-color:var(--err); }
html[data-theme=dark] .mkx.mk3 { background-color:#bcbdc0; }
html[data-theme=dark] .r2p-h,
html[data-theme=dark] .rr-h { color:var(--muted); }
html[data-theme=dark] .r2p { border-top-color:#292b30; }
html[data-theme=dark] .r2p-role b { color:var(--muted); }
html[data-theme=dark] .rr { border-top-color:#313439; }
html[data-theme=dark] .rr-x { border-color:transparent; background-color:transparent; color:#989a9f; }
html[data-theme=dark] .rr-x:hover { background-color:#401e1a; color:var(--err); }
html[data-theme=dark] .rr-n { color:var(--muted); }
html[data-theme=dark] .r32g { border-color:var(--line); }
html[data-theme=dark] .rt-legend { color:var(--ink2); }
html[data-theme=dark] .rt-tot { background-color:var(--card); border-bottom-color:#292b30; }
html[data-theme=dark] .rt-tot .mk1 { color:var(--ok); }
html[data-theme=dark] .rt-tot .mk2 { color:var(--err); }
html[data-theme=dark] .rt-tot .mk3 { color:#b3b5b9; }
html[data-theme=dark] .rt-tot span { color:#edce96; }
html[data-theme=dark] .ra-g > span { color:var(--muted); }
html[data-theme=dark] .ra-gc { color:var(--muted); }
html[data-theme=dark] .ra { border-color:var(--line); border-left-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .ra.m-plus { border-left-color:var(--ok); }
html[data-theme=dark] .ra.m-minus { border-left-color:var(--err); background-color:#321915; }
html[data-theme=dark] .ra.m-na { border-left-color:#87898e; }
html[data-theme=dark] .ra-n { color:var(--ink2); }
html[data-theme=dark] .ra-f > label > span { color:var(--muted); }
html[data-theme=dark] .ra.need textarea { border-color:#883b33; background-color:#311714; }
html[data-theme=dark] .rt-concl { border-color:var(--line); background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .r2t { border-color:var(--line); }
html[data-theme=dark] .r2 { border-top-color:#292b30; }
html[data-theme=dark] .r2h { background-color:#25272b; color:var(--ink2); }
html[data-theme=dark] .r2-n { color:var(--muted); }
html[data-theme=dark] .r2-u { color:var(--muted); }
html[data-theme=dark] .r2-out { background-color:var(--soft); }
html[data-theme=dark] .r2g { background-color:#2a2c31; }
html[data-theme=dark] .r2.diff { background-color:#382b17; }
html[data-theme=dark] .r2 .need { border-color:#883b33; background-color:#311714; }
html[data-theme=dark] .rf { border-color:var(--line); }
html[data-theme=dark] .rf-n { background-color:#292b30; }
html[data-theme=dark] .rf-st { color:var(--muted); }
html[data-theme=dark] .rf.na { background-color:#202124; }
html[data-theme=dark] .rf.na .rf-t { color:var(--muted); }
html[data-theme=dark] .rph-box { border-color:#4e5259; background-color:#202124; }
html[data-theme=dark] .rph-box:hover { border-color:#85878c; background-color:#26282c; }
html[data-theme=dark] .rph-box:focus-visible { box-shadow:0 0 0 4px rgba(178,178,178,0.45); }
html[data-theme=dark] .rph.has .rph-box { border-color:var(--line); background-color:#2b2d32; }
html[data-theme=dark] .rph.drop .rph-box { border-color:var(--ok); background-color:#1d3724; }
html[data-theme=dark] .rph.gone .rph-box { border-color:#65332c; background-color:#361a16; }
html[data-theme=dark] .rph-add { color:var(--muted); }
html[data-theme=dark] .rph-add b { color:var(--ink2); }
html[data-theme=dark] .rph-prog { background-color:rgba(27,29,31,0.95); }
html[data-theme=dark] .rph-prog i { background-color:var(--dark); }
html[data-theme=dark] .rph-prog small { color:var(--ink2); }
html[data-theme=dark] .rph figcaption { color:var(--ink2); }
html[data-theme=dark] .rv-cnt { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .rv-step { border-color:#464950; background-color:#1b1d1f; }
html[data-theme=dark] .rv { border-color:var(--line); border-left-color:var(--line); }
html[data-theme=dark] .rv.ok { border-left-color:var(--ok); }
html[data-theme=dark] .rv.bad { border-left-color:var(--err); }
html[data-theme=dark] .rv-ic { background-color:#292b30; color:var(--ink2); }
html[data-theme=dark] .rv-plate { color:var(--ink2); }
html[data-theme=dark] .rv-st { color:var(--muted); }
html[data-theme=dark] .rv.ok .rv-st { color:var(--ok); }
html[data-theme=dark] .rv-was { border-color:var(--line); background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .rv-pht { color:var(--ink2); }
html[data-theme=dark] .rph-act.has .rph-box { background-color:#1b1d1f; }
html[data-theme=dark] .rph-act .rph-a img { background-color:#1b1d1f; }
html[data-theme=dark] .ra-acts a,
html[data-theme=dark] .ra-acts button { background:none; color:var(--ink2); text-decoration-color:var(--line); }
html[data-theme=dark] .ra-acts a:hover,
html[data-theme=dark] .ra-acts button:hover { color:var(--ink); text-decoration-color:currentColor; }
html[data-theme=dark] .ra-acts .danger { color:var(--err); }
html[data-theme=dark] .ra-pdf { color:var(--muted); }
html[data-theme=dark] .ra-meta { color:var(--muted); }
html[data-theme=dark] .rts-bar { background-color:#2c2e33; }
html[data-theme=dark] .rts-bar span { background-image:linear-gradient(90deg, #727883, #dfe0e1); }
html[data-theme=dark] .rts-blocks a:hover { background-color:var(--soft); }
html[data-theme=dark] .rts-n { background-color:#292b30; }
html[data-theme=dark] .rts-blocks li.done .rts-n { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .rts-blocks small { color:var(--muted); }
html[data-theme=dark] .rts-blocks li.done small { color:var(--ok); }
html[data-theme=dark] .rts-blocks li.cur a { background-color:var(--soft); box-shadow:inset 0 0 0 1px var(--line); }
html[data-theme=dark] .rts-miss a { color:#edca99; }
html[data-theme=dark] .rts-ok { color:var(--ok); }
html[data-theme=dark] .rts-warn p { border-color:#6d592d; background-color:#3b3018; color:#efd8a2; }
html[data-theme=dark] .rt-state.error { color:var(--err); }
html[data-theme=dark] .rt-state.saved { color:var(--ok); }
html[data-theme=dark] .rt-dlg { background-color:var(--card); color:var(--ink); box-shadow:0 28px 64px -20px rgba(0,0,0,0.7); }
html[data-theme=dark] .rt-dlg::backdrop { background-color:rgba(0,0,0,0.38); }
html[data-theme=dark] .rtform .pair i { color:var(--muted); }
html[data-theme=dark] .rtform div.f { color:var(--ink2); }
html[data-theme=dark] .rtform div.f em { color:var(--err); }
html[data-theme=dark] .block h2 > span.blk-t { background:none; color:inherit; }
html[data-theme=dark] .rtform .blk-sum { color:var(--muted); }
html[data-theme=dark] .rtform .blk-tg { border-color:var(--line); background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .rtform .blk-tg:hover { border-color:var(--brand-d); }
html[data-theme=dark] .rtform .blk-tg svg { stroke:currentColor; }
html[data-theme=dark] .rx-sub { border-top-color:var(--line); }
html[data-theme=dark] .rx-h { color:var(--ink); }
html[data-theme=dark] .rx-h > b,
html[data-theme=dark] .rx-num { border-color:var(--line); background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .rx-hint { color:var(--muted); }
html[data-theme=dark] .rx-l { color:var(--ink2); }
html[data-theme=dark] .rx-l em.req { color:var(--err); }
html[data-theme=dark] .rx-card { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .rx-card-h .rx-n { color:var(--muted); }
html[data-theme=dark] .rx-chip { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .rx-chip input { background-color:transparent; }
html[data-theme=dark] .rx-chip:focus-within { border-color:var(--brand-d); }
html[data-theme=dark] .rx-role { color:var(--ink); }
html[data-theme=dark] .rx-auto { border-color:var(--brand-d); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .rx-auto.empty { color:var(--muted); }
html[data-theme=dark] .rx-box { border-color:var(--line); }
html[data-theme=dark] .rx-box legend { color:var(--muted); }
html[data-theme=dark] .rx-box label { color:var(--ink2); }
html[data-theme=dark] .rv-plan { color:var(--ink2); }
html[data-theme=dark] .rv-plan.bad { color:var(--warn); }
html[data-theme=dark] .rph-info { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .rpi-line { color:var(--ink2); }
html[data-theme=dark] .rpi-m { color:var(--ok); }
html[data-theme=dark] .rpi-m.warn { color:var(--warn); }
html[data-theme=dark] .rpi-m.fresh { color:var(--ok); }
html[data-theme=dark] .rtb-ex { border-color:var(--line); background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .rtb-err { border-color:var(--warn); background-color:var(--warn-soft); }
@media print {
html[data-theme=dark],
html[data-theme=dark] body,
html[data-theme=dark] main { background:#1b1d1f !important; }
}
html[data-theme=dark] .rts-fold button { border-color:var(--line); background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .rts-fold button:hover { border-color:var(--brand-d); color:var(--ink); }
html[data-theme=dark] .rx-h em.req { color:var(--err); }
html[data-theme=dark] .rx-auto.over { color:var(--muted); }
html[data-theme=dark] .rtside .rts-fold button.ghost { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .rt-strip i { background-color:var(--line); }
html[data-theme=dark] .rt-strip i.part { background-color:var(--brand); }
html[data-theme=dark] .rt-strip i.done { background-color:var(--ok); }
html[data-theme=dark] .rt-thumbs img { border-color:var(--line); }
html[data-theme=dark] .rt-rmk-b { background-color:var(--err-soft, #421f1b); color:var(--err); }
html[data-theme=dark] .rt-rmk-b.fixed { background-color:var(--warn-soft, #4d4320); color:var(--warn); }
html[data-theme=dark] .rtform .seg { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .rtform .seg span:hover { background-color:var(--card); }
html[data-theme=dark] .rtform .seg input:checked + span { background-color:var(--dark); color:#2c2d30; box-shadow:0 1px 4px rgba(0,0,0,0.396); }
html[data-theme=dark] .rtform .mk { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .rtform .mk span:hover { background-color:var(--card); }
html[data-theme=dark] .rf-day { border-top-color:var(--line); }
html[data-theme=dark] .rf-dl { color:var(--muted); }
html[data-theme=dark] .r2pl-x { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .r2pl-x:hover { background-color:var(--soft); color:var(--err); }
html[data-theme=dark] .r2pl-st { color:var(--muted); }
html[data-theme=dark] .r2pl-st.ok { color:var(--ok); }
html[data-theme=dark] .r2pl-st.bad { color:var(--warn); }
html[data-theme=dark] .r2pl.off::before { color:var(--muted); }
html[data-theme=dark] .rx-bad { border-color:var(--err) !important; box-shadow:0 0 0 3px rgba(218,52,42,0.13) !important; }
html[data-theme=dark] .rx-errmsg { color:var(--err); }
html[data-theme=dark] #gallery.moving .rph:not(.move-src) .rph-box { outline-color:var(--ok); }
html[data-theme=dark] .ph-ed-stage { background-color:#e6e7e8; }
html[data-theme=dark] .ph-ed-bar button.on { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .pa-flt button.on { background-color:var(--card); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.308); }
html[data-theme=dark] .pa-t { border-color:var(--line); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .pa-t:hover { border-color:var(--brand-d); }
html[data-theme=dark] .pa-t.warn { border-color:var(--warn); }
html[data-theme=dark] .pa-c { color:var(--ink2); }
html[data-theme=dark] .rmk-add { border-color:var(--line); background-color:var(--card); color:var(--muted); }
html[data-theme=dark] .rmk-add:hover { border-color:var(--err); color:var(--err); }
html[data-theme=dark] .blk-rmk { background-color:var(--err-soft, #421f1b); color:var(--err); }
html[data-theme=dark] .rmk { border-color:var(--err); background-color:var(--card); }
html[data-theme=dark] .rmk.st-fixed { border-color:var(--warn); }
html[data-theme=dark] .rmk.rmk-new { border-color:var(--brand-d); }
html[data-theme=dark] .rmk-h { color:var(--err); }
html[data-theme=dark] .rmk.st-fixed .rmk-h { color:var(--warn); }
html[data-theme=dark] .rmk-new .rmk-h { color:var(--ink); }
html[data-theme=dark] .rmk-l small { color:var(--muted); }
html[data-theme=dark] .rts-rmk small { color:var(--muted); }
html[data-theme=dark] .rts-rmk li.st-open a { color:var(--err); }
html[data-theme=dark] .rts-rmk li.st-fixed a { color:var(--warn); }
html[data-theme=dark] .ra.need .rmk textarea,
html[data-theme=dark] .rmk textarea { background-color:var(--card); border-color:var(--line); }
html[data-theme=dark] #b-a2 .r2pl:not(.off)::before { color:var(--muted); }
html[data-theme=dark] .rtside .rts-allph.ghost { border-color:var(--line); background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .rt-stale { border-color:var(--err); background-color:var(--err-soft, #421f1b); color:var(--ink); }
html[data-theme=dark] .rt-stale code { background-color:var(--card); }
html[data-theme=dark] table.users input.u-mail:placeholder-shown,
html[data-theme=dark] table.users input.u-pos:placeholder-shown { background-color:transparent; }
html[data-theme=dark] .rt-st { background-color:var(--soft); color:var(--ink2); border-color:var(--line); }
html[data-theme=dark] .rt-st::before { background-color:currentColor; }
html[data-theme=dark] .rt-st.st-sent { background-color:#1a293f; color:#87aedf; border-color:#243a58; }
html[data-theme=dark] .rt-st.st-returned { background-color:#43351b; color:#edce96; border-color:#6c572c; }
html[data-theme=dark] .rt-st.st-accepted { background-color:#1e412b; color:#97e5b8; border-color:#2d6441; }
html[data-theme=dark] .rt-note.lock { border-color:#243a58; background-color:#162336; }
html[data-theme=dark] .rt-note.back { border-color:#6c572c; background-color:#382d17; }
html[data-theme=dark] .rt-note-t { background-color:var(--card); border-color:var(--line); }
html[data-theme=dark] .rts-log summary { color:var(--ink2); }
html[data-theme=dark] .rts-log li { background-color:var(--soft); border-left-color:var(--line); }
html[data-theme=dark] .rts-log li.a-send { border-left-color:#3b7acb; }
html[data-theme=dark] .rts-log li.a-accept { border-left-color:#2bab61; }
html[data-theme=dark] .rts-log li.a-return { border-left-color:#c0912d; }
html[data-theme=dark] .rt-sts a { border-color:var(--line); background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .rt-sts a small { color:var(--muted); }
html[data-theme=dark] .rt-sts a.on { background-color:var(--ink); color:var(--card); border-color:var(--ink); }
html[data-theme=dark] .rt-sts a.on small { color:inherit; }
html[data-theme=dark] .rt-locked .blocks input:disabled,
html[data-theme=dark] .rt-locked .blocks select:disabled,
html[data-theme=dark] .rt-locked .blocks textarea:disabled { color:var(--ink); background-color:var(--soft); }
html[data-theme=dark] .rph.queued .rph-box { outline-color:#c0912d; }
html[data-theme=dark] .rph-wait { background-color:rgba(59,50,24,0.95); color:#eed39c; }
html[data-theme=dark] .rt-draft { border-color:#6c572c; background-color:#382d17; }
html[data-theme=dark] .mn-box { background-color:var(--card); border-color:var(--line); box-shadow:0 10px 28px rgba(0,0,0,0.308); }
html[data-theme=dark] .mn-box li small { color:var(--muted); }
html[data-theme=dark] .mn-box li.on,
html[data-theme=dark] .mn-box li:hover { background-color:var(--soft); }
html[data-theme=dark] b.mention { color:var(--brand-d, #b1bccb); background-color:rgba(136,145,158,0.161); }
html[data-theme=dark] .bk-dir { border-color:var(--line); }
html[data-theme=dark] .upd-pre { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .upd-d > summary { color:var(--ink2); }
html[data-theme=dark] .upd-files { background-color:var(--card); border-color:var(--line); }
html[data-theme=dark] .upd-files li.new small { color:var(--ok); }
html[data-theme=dark] .upd-notes,
html[data-theme=dark] .upd-err pre,
html[data-theme=dark] .upd-log { background-color:var(--card); border-color:var(--line); }
html[data-theme=dark] .upd-err { background-color:var(--err-soft); }
html[data-theme=dark] .upd-busy { background-color:var(--info-soft); }
html[data-theme=dark] .upd-spin { border-color:currentColor; border-right-color:transparent; }
html[data-theme=dark] .upd-hist th,
html[data-theme=dark] .upd-hist td { border-top-color:var(--line); }
html[data-theme=dark] .upd-hist tr.r-failed td:last-child,
html[data-theme=dark] .upd-hist tr.r-rolledback td:last-child { color:var(--err); }
html[data-theme=dark] .upd-hist tr.r-installed td:last-child,
html[data-theme=dark] .upd-hist tr.r-reverted td:last-child { color:var(--ok); }
html[data-theme=dark] .upd-hist td .muted { color:var(--muted); }
html[data-theme=dark] .upd-steps li { color:var(--muted); }
html[data-theme=dark] .upd-steps li.cur { background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .upd-steps li.ok { color:var(--ink2); }
html[data-theme=dark] .upd-steps li.fail { background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .upd-ic { border-color:var(--line); }
html[data-theme=dark] .upd-steps li.ok .upd-ic { border-color:var(--ok); background-color:var(--ok); color:#2c2d30; }
html[data-theme=dark] .upd-steps li.cur .upd-ic { border-color:var(--ink2); border-right-color:transparent; }
html[data-theme=dark] .upd-steps li.fail .upd-ic { border-color:var(--err); background-color:var(--err); color:#2c2d30; }
html[data-theme=dark] .upd-prog.is-ok .upd-msg { color:var(--ok); }
html[data-theme=dark] .upd-prog.is-fail .upd-msg { color:var(--err); }
@media (max-width: 640px) {
html[data-theme=dark] .upd-hist tr { border-top-color:var(--line); }
}
html[data-theme=dark] .ngrp-h { background-color:transparent; color:#e0e1e2; }
html[data-theme=dark] .ngrp-h:hover { background-color:rgba(255,255,255,0.072); }
html[data-theme=dark] .ngrp-h:focus-visible { outline-color:#dfe0e1; }
html[data-theme=dark] .ngrp-in { border-left-color:rgba(255,255,255,0.105); }
html[data-theme=dark] .sidebar nav.pilled .ngrp a.on { background-color:transparent; }
html[data-theme=dark] .sidebar nav:not(.pilled) .ngrp:not(.open) .ngrp-h.has-on { background-color:#1b1d1f; box-shadow:0 2px 8px rgba(0,0,0,0.176); }
@media (min-width:861px) {
html[data-theme=dark] html[data-menu=mini] body:not(.touring) .ngrp-in { background-color:rgba(255,255,255,0.15); }
}
html[data-theme=dark] .lr-qnav { border-color:var(--line); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .lr-qnav svg { stroke:currentColor; }
html[data-theme=dark] .lr-qnav:hover { border-color:var(--brand-d); }
html[data-theme=dark] .lr-qt small { color:var(--muted); }
html[data-theme=dark] .lr-q-run { color:#87aedf; }
html[data-theme=dark] .lr-q-late { color:var(--err); }
html[data-theme=dark] .lr-sum-l { color:var(--muted); }
html[data-theme=dark] .lr-sbar { background-color:var(--soft); }
html[data-theme=dark] .lr-sum-l i.st-accepted,
html[data-theme=dark] .lr-sbar i.st-accepted { background-color:#52b372; }
html[data-theme=dark] .lr-sum-l i.st-sent,
html[data-theme=dark] .lr-sbar i.st-sent { background-color:#6992cc; }
html[data-theme=dark] .lr-sum-l i.st-returned,
html[data-theme=dark] .lr-sbar i.st-returned { background-color:#d8af57; }
html[data-theme=dark] .lr-sum-l i.st-draft,
html[data-theme=dark] .lr-sbar i.st-draft { background-color:#717782; }
html[data-theme=dark] .lr-sum-l i.st-none,
html[data-theme=dark] .lr-sbar i.st-none { background-color:#383b41; }
html[data-theme=dark] .rt-st.st-none { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .lr-co { color:var(--muted); }
html[data-theme=dark] .lr-dc { background-color:#463a1c; color:#edce96; }
html[data-theme=dark] .lr-dc.bad { background-color:var(--err-soft, #421f1b); color:var(--err); }
html[data-theme=dark] .lr-okm { color:var(--ok); }
html[data-theme=dark] .lr-my-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .lr-my-t small { color:var(--muted); }
html[data-theme=dark] .lr-my-new { color:var(--ink2); }
html[data-theme=dark] .lrform .lr-when { border-color:var(--line); background-color:var(--soft); color:var(--muted); }
html[data-theme=dark] .lrform .lr-when.stock { border-color:#20354f; background-color:#172739; color:#87aedf; }
html[data-theme=dark] .lrform .rx-box legend { color:var(--ink2); }
html[data-theme=dark] .lrform .lr-negbox { border-color:#655129; }
html[data-theme=dark] .lr-out { color:var(--muted); }
html[data-theme=dark] .lr-out output { border-color:var(--line); background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .lrform input.lr-n::placeholder { color:#65686d; }
html[data-theme=dark] .lrform input.lr-n.neg { border-color:#9c7834; background-color:#3d3119; color:#eece9c; }
html[data-theme=dark] .lrform input.lr-n.bad { border-color:#89372e; background-color:#3a1b18; color:#eb918c; }
html[data-theme=dark] .lr-auto-l { color:var(--muted); }
html[data-theme=dark] .lr-auto-l output { color:var(--ink); }
html[data-theme=dark] .lr-early { border-color:#243a58; background-color:#162336; }
html[data-theme=dark] .lr-mx th { border-bottom-color:var(--line); background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .lr-mx td { border-bottom-color:var(--line); }
html[data-theme=dark] .lr-mx tbody th.lr-mx-k { background-color:transparent; color:var(--ink); }
html[data-theme=dark] .lr-mx th.lr-mx-k b { color:var(--muted); }
html[data-theme=dark] .lr-mx6 tbody td:nth-of-type(4),
html[data-theme=dark] .lr-mx6 thead tr:nth-child(2) th:nth-child(4),
html[data-theme=dark] .lr-mx6 thead tr:first-child th:nth-child(3) { border-left-color:var(--line); }
html[data-theme=dark] .lr-mx tr.lr-mx-t td,
html[data-theme=dark] .lr-mx tr.lr-mx-t th { background-color:var(--soft); }
html[data-theme=dark] .lr-mx tr.lr-mx-t th.lr-mx-k { background-color:var(--soft); }
html[data-theme=dark] .lr-ctl.ok { color:var(--ok); }
html[data-theme=dark] .lr-ctl.bad { color:var(--err); }
html[data-theme=dark] .lr-dx { border-color:#81652b; border-left-color:#d8af57; background-color:#352b16; }
html[data-theme=dark] .lr-dx.need { border-color:#70362e; border-left-color:#d65e52; background-color:#321715; }
html[data-theme=dark] .lr-dx-h { color:#efd8a2; }
html[data-theme=dark] .lr-dx.need .lr-dx-h { color:#eb918c; }
html[data-theme=dark] .lr-dx-f { color:var(--muted); }
html[data-theme=dark] .lx-box { border-color:#2d5c56; border-left-color:#2bb0a6; background-color:#163632; }
html[data-theme=dark] .lx-t { color:#a3eae5; }
html[data-theme=dark] .lx-c { border-color:#2d5c56; background-color:#1b1d1f; color:var(--muted); }
html[data-theme=dark] .lx-c.ok { border-color:#2d6441; background-color:#183b22; color:var(--ok); }
html[data-theme=dark] .lx-c.bad { border-color:#70362e; background-color:#391b17; color:var(--err); }
html[data-theme=dark] .lx-hd { color:var(--muted); }
html[data-theme=dark] .lx-r input { background-color:#1b1d1f; }
html[data-theme=dark] .lx-n { background-color:#224943; color:#a3eae5; }
html[data-theme=dark] .lx-r.done .lx-n { background-color:#2bb0a6; color:#fff; }
html[data-theme=dark] .lx-r.extra { background-color:#391b17; }
html[data-theme=dark] .lx-r.extra .lx-n { background-color:#d65e52; color:#fff; }
html[data-theme=dark] .lx-xn { color:var(--err); }
@media (max-width:640px) {
html[data-theme=dark] .lx-r > .lx-ml { color:var(--muted); }
}
html[data-theme=dark] .lrs-ctl li.bad a { color:var(--err); }
html[data-theme=dark] .lrs-ctl li.ok a { color:var(--ok); }
html[data-theme=dark] .lrs-ctl li.part a { color:#edce96; }
html[data-theme=dark] .lrs-okh { color:var(--ok); }
html[data-theme=dark] .rts-log li.a-edit { border-left-color:#4a37a6; }
html[data-theme=dark] .lrs-chip { border-color:var(--line); color:var(--muted); }
html[data-theme=dark] .lrs-chip.on { background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .lrs-chip small { color:var(--muted); }
html[data-theme=dark] .block h2 > span.blk-ic { background-color:#1f4440; color:#95e5df; }
html[data-theme=dark] .rts-ic { color:#95e5df; }
html[data-theme=dark] .rts-blocks li.done .rts-ic { color:var(--ok); }
html[data-theme=dark] table.lr-compact td.lr-upd .nowrap { color:var(--ink2); }
html[data-theme=dark] .rt-stamp { border-color:#40a662; color:#9cd9b0; }
html[data-theme=dark] .rtform input.chg,
html[data-theme=dark] .rtform textarea.chg,
html[data-theme=dark] .rtform select.chg { border-color:#4a37a6 !important; box-shadow:0 0 0 2px rgba(143,125,232,0.22); }
html[data-theme=dark] .rtform .mk.chg,
html[data-theme=dark] .rtform .seg.chg,
html[data-theme=dark] .rtform .r2pl.chg { box-shadow:0 0 0 2px rgba(143,125,232,0.5); }
html[data-theme=dark] .lr-was { background-color:#21183a; color:#9081ce; }
html[data-theme=dark] .lr-was-t { color:#9081ce; }
html[data-theme=dark] .rt-was { color:#9081ce; }
html[data-theme=dark] .lx-r.chg-new,
html[data-theme=dark] .rtform [data-row].chg-new { background-color:rgba(70,50,172,0.081); box-shadow:inset 3px 0 0 #8f7de8; }
html[data-theme=dark] .lx-gone { border-color:#31255b; color:#9081ce; }
html[data-theme=dark] .rph.chg .rph-box { box-shadow:0 0 0 3px #8f7de8; }
html[data-theme=dark] .rph.chg-gone .rph-box { box-shadow:0 0 0 3px #937de8; }
html[data-theme=dark] .rts-diff { border-color:#281f4c; border-left-color:#4a37a6; background-color:#1d1532; }
html[data-theme=dark] .rts-diff > b { color:#a392d4; }
html[data-theme=dark] .rts-diff > small { color:var(--muted); }
html[data-theme=dark] .rts-diff a { color:#a392d4; }
html[data-theme=dark] .rts-diff s { color:var(--muted); }
html[data-theme=dark] .rts-diff .rd-now { color:#d6d7d9; }
html[data-theme=dark] .toast.undo .toast-ic { background-color:var(--dark); }
html[data-theme=dark] .toast.undo .toast-ic::after { color:#2c2d30; }
html[data-theme=dark] .toast-undo { border-color:var(--dark); background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .toast-tm { background-color:var(--dark); }
html[data-theme=dark] .tri-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .tri-reg { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .tri-i { color:var(--ink2); }
html[data-theme=dark] .tri-m { color:var(--muted); }
html[data-theme=dark] .tri-left { color:var(--muted); }
html[data-theme=dark] .tri-left.soon { color:#e19c7c; }
html[data-theme=dark] .sp-sum::before { background-color:var(--sp-ok); }
html[data-theme=dark] .sp-sum.lv-warn::before { background-color:var(--sp-warn); }
html[data-theme=dark] .sp-sum.lv-error::before { background-color:var(--sp-err); }
html[data-theme=dark] .sp-sum.lv-error { background-image:linear-gradient(120deg, #341a15, var(--card) 55%); }
html[data-theme=dark] .sp-sum.lv-warn { background-image:linear-gradient(120deg, #352b16, var(--card) 55%); }
html[data-theme=dark] .sp-sum-ic { background-color:#223f2c; color:var(--sp-ok); }
html[data-theme=dark] .lv-warn > .sp-sum-h .sp-sum-ic { background-color:#48371d; color:var(--sp-warn); }
html[data-theme=dark] .lv-error > .sp-sum-h .sp-sum-ic { background-color:#421f1b; color:var(--sp-err); animation:spRing-dk 2.6s ease-out infinite; }
html[data-theme=dark] .sp-sum-t p { color:var(--muted); }
html[data-theme=dark] .sp-p { background-color:#3e3219; }
html[data-theme=dark] .sp-p.lv-error { background-color:#3b1a18; }
html[data-theme=dark] .sp-p-ic { color:var(--sp-warn); }
html[data-theme=dark] .sp-p.lv-error .sp-p-ic { color:var(--sp-err); }
html[data-theme=dark] .sp-p-h { color:var(--ink); }
html[data-theme=dark] .sp-p-t small { color:var(--ink2); }
html[data-theme=dark] .sp-card.lv-warn { box-shadow:inset 0 3px 0 #e1b665, var(--shadow); }
html[data-theme=dark] .sp-card.lv-error { box-shadow:inset 0 3px 0 #d46e67, var(--shadow); }
html[data-theme=dark] .sp-ic { background-color:var(--acc-soft); color:var(--acc); }
html[data-theme=dark] .sp-lv.lv-ok { background-color:#223f2c; color:#a9debb; }
html[data-theme=dark] .sp-lv.lv-warn { background-color:#48371d; color:#edca99; }
html[data-theme=dark] .sp-lv.lv-error { background-color:#421f1b; color:#eb928d; }
html[data-theme=dark] .sp-row { color:var(--ink2); }
html[data-theme=dark] .sp-big small { color:var(--muted); }
html[data-theme=dark] .sp-big-l { color:var(--muted); }
html[data-theme=dark] .sp-big b.sp-none { color:var(--sp-err); }
html[data-theme=dark] .sp-bar { background-color:#282f39; box-shadow:inset 0 1px 2px rgba(0,0,0,0.132); }
html[data-theme=dark] .sp-bar .sg + .sg { box-shadow:inset 1.5px 0 0 rgba(255,255,255,0.084); }
html[data-theme=dark] .sg-media { background-color:#468bd2; }
html[data-theme=dark] .sg-rot { background-color:#2cbab0; }
html[data-theme=dark] .sg-bk { background-color:#8b75c7; }
html[data-theme=dark] .sg-db { background-color:#d1973c; }
html[data-theme=dark] .sg-chat { background-color:#8f9296; }
html[data-theme=dark] .sg-etc { background-color:#8b8d92; }
html[data-theme=dark] .sg-oth { background-color:#464e58; }
html[data-theme=dark] .sg-free { background-color:#282f39; box-shadow:inset 0 0 0 1px rgba(255,255,255,0.12); }
html[data-theme=dark] .sp-leg li span { color:var(--ink2); }
html[data-theme=dark] .sp-fc { background-color:var(--soft); }
html[data-theme=dark] .sp-verdict .ic { color:var(--sp-ok); }
html[data-theme=dark] .lv-warn .sp-verdict .ic,
html[data-theme=dark] .lv-error .sp-verdict .ic,
html[data-theme=dark] .sp-verdict.warn .ic { color:var(--sp-warn); }
html[data-theme=dark] .sp-k { background-color:var(--soft); }
html[data-theme=dark] .sp-k small { color:var(--muted); }
html[data-theme=dark] .sp-k.bad { background-color:#3b1a18; }
html[data-theme=dark] .sp-k.bad b { color:var(--sp-err); }
html[data-theme=dark] .sp-k.warn { background-color:#3e3219; }
html[data-theme=dark] .sp-k.warn b { color:var(--sp-warn); }
html[data-theme=dark] .sp-stack { background-color:#212832; }
html[data-theme=dark] .cs-sent { background-color:#52b676; }
html[data-theme=dark] .cs-wait { background-color:#dab162; }
html[data-theme=dark] .cs-err { background-color:#d46f68; }
html[data-theme=dark] .sp-col small { color:var(--muted); }
html[data-theme=dark] .sp-col.today small { color:var(--ink); }
html[data-theme=dark] .sp-days i { background-image:repeating-linear-gradient(45deg, #272c34 0 4px, #2f353f 4px 8px); }
html[data-theme=dark] .sp-days i.ok { background-color:#52b676; }
html[data-theme=dark] .sp-days i.today { box-shadow:0 0 0 2px var(--card), 0 0 0 3.5px var(--ink2); }
html[data-theme=dark] .sp-days-l { color:var(--muted); }
html[data-theme=dark] .sp-facts li > .ic { color:var(--muted); }
html[data-theme=dark] .sp-facts li.bad,
html[data-theme=dark] .sp-facts li.bad > .ic { color:var(--sp-err); }
html[data-theme=dark] .sp-facts li.warn,
html[data-theme=dark] .sp-facts li.warn > .ic { color:var(--sp-warn); }
html[data-theme=dark] .sp-tip { background-color:#1a293f; color:var(--ink2); }
html[data-theme=dark] .sp-tip .ic { color:#7faee0; }
html[data-theme=dark] .sp-tip.sp-warn { background-color:#3e3219; }
html[data-theme=dark] .sp-tip.sp-warn .ic { color:var(--sp-warn); }
html[data-theme=dark] .sp-bad { color:var(--sp-err) !important; }
html[data-theme=dark] small.sp-warn,
html[data-theme=dark] span.sp-warn { color:var(--sp-warn); }
html[data-theme=dark] .sp-job { border-color:var(--line); }
html[data-theme=dark] .sp-job.bad { border-color:#5f2c27; background-color:#341915; }
html[data-theme=dark] .sp-job-ic { background-color:var(--soft); color:var(--muted); }
html[data-theme=dark] .sp-job.bad .sp-job-ic { background-color:#421f1b; color:var(--sp-err); }
html[data-theme=dark] .sp-job.run .sp-job-ic { background-color:#1a293f; color:#7faee0; animation:spRingB-dk 1.8s ease-out infinite; }
html[data-theme=dark] .sp-job-t small { color:var(--muted); }
html[data-theme=dark] .sp-job-t small.sp-job-i { color:var(--ink2); }
html[data-theme=dark] .sp-job-s small { color:var(--muted); }
html[data-theme=dark] .sp-chip.ok { background-color:#223f2c; color:#a9debb; }
html[data-theme=dark] .sp-chip.bad { background-color:#421f1b; color:#eb928d; }
html[data-theme=dark] .sp-chip.run { background-color:#1a2b40; color:#90bae7; }
html[data-theme=dark] .sp-chip.wait { background-color:var(--soft); color:var(--muted); }
html[data-theme=dark] .sp-chip.ok::before,
html[data-theme=dark] .sp-chip.run::before { background-color:currentColor; }
html[data-theme=dark] .sp-sw > .ic { color:var(--muted); }
html[data-theme=dark] .sp-sw input:checked + .msw-track { background-color:#40a662; }
html[data-theme=dark] .sp-sw input:focus-visible + .msw-track { outline-color:var(--ink); }
html[data-theme=dark] .navcnt.hlcnt.hl-err { background-color:var(--err); }
html[data-theme=dark] .sp-card.sp-flash { animation:spFlash-dk 1.6s ease-out; }
html[data-theme=dark] .sp-live.sp-flash { animation:spFlash-dk 1.6s ease-out; }
@keyframes spRing-dk { 0% { box-shadow:0 0 0 0 rgba(218,52,42,0.4); } 70%, 100% { box-shadow:0 0 0 12px rgba(218,52,42,0); } }
@keyframes spRingB-dk { 0% { box-shadow:0 0 0 0 rgba(62,133,208,0.35); } 70%, 100% { box-shadow:0 0 0 8px rgba(62,133,208,0); } }
@keyframes spFlash-dk { 0%, 35% { box-shadow:0 0 0 3px rgba(62,133,208,0.5), var(--shadow); } 100% { box-shadow:0 0 0 0 rgba(62,133,208,0), var(--shadow); } }
html[data-theme=dark] .toast.hln .toast-ic { background-color:#ca972f; }
html[data-theme=dark] .toast.hln.hl-warn { border-left-color:#dab162; }
html[data-theme=dark] .toast.hln.hl-err { border-left-color:var(--err); }
html[data-theme=dark] .toast.hln.hl-err .toast-ic { background-color:var(--err); }
html[data-theme=dark] .toast.hln .hl-i::before { background-color:#dab162; }
html[data-theme=dark] .toast.hln .hl-i.hl-err::before { background-color:var(--err); }
html[data-theme=dark] .rts-log li.a-agree { border-left-color:#6f99ce; }
html[data-theme=dark] .rts-log li.a-approve { border-left-color:#2bab61; }
html[data-theme=dark] .rts-log li.a-recall { border-left-color:#8b8d92; }
html[data-theme=dark] .rt-note.mine { border-color:#284161; background-image:linear-gradient(120deg, #18263a, var(--card) 70%); box-shadow:inset 3px 0 0 #3575c7, var(--shadow); }
html[data-theme=dark] .rtr-h > .ic { color:#8fe6df; }
html[data-theme=dark] .rtr-h small { background-color:var(--soft); color:var(--muted); }
html[data-theme=dark] .rtr-h .rtr-src { background-color:#3e3219; color:#edce96; }
html[data-theme=dark] .rtr-s::after { background-color:var(--line); }
html[data-theme=dark] .rtr-s.done::after { background-color:#4da673; }
html[data-theme=dark] .rtr-n { border-color:var(--line); background-color:var(--card); color:var(--muted); }
html[data-theme=dark] .rtr-k { color:var(--muted); }
html[data-theme=dark] .rtr-p small { color:var(--muted); }
html[data-theme=dark] .rtr-p q { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .rtr-p .d-ok::before { color:#97e5b8; }
html[data-theme=dark] .rtr-p .d-ret::before { color:#eacb88; }
html[data-theme=dark] .rtr-p .d-wait::before { color:#87aedf; }
html[data-theme=dark] .rtr-p .off { color:var(--muted); }
html[data-theme=dark] .rtr-s.done .rtr-n { border-color:#2bab61; background-color:#2bab61; color:#fff; }
html[data-theme=dark] .rtr-s.cur .rtr-n { border-color:#3b7acb; background-color:#3b7acb; color:#fff; box-shadow:0 0 0 0 rgba(53,117,199,0.45); animation:rtrPulse-dk 2s ease-out infinite; }
html[data-theme=dark] .rtr-s.ret .rtr-n { border-color:#c0912d; background-color:#43351b; color:#edce96; }
html[data-theme=dark] .rtr-s.cur b { color:#87aedf; }
html[data-theme=dark] .rtr-s.opt b { color:var(--ink2); }
html[data-theme=dark] .rt-mine { background-color:#3b7acb; color:#fff; animation:rtrPulse-dk 2.4s ease-out infinite; }
html[data-theme=dark] .rt-sts a.st-mine { border-color:#284161; background-color:#18263a; color:#87aedf; }
html[data-theme=dark] .rt-sts a.st-mine.on { background-color:#3b7acb; border-color:#3b7acb; color:#fff; }
html[data-theme=dark] .rt-minebox { border-color:#284161; background-image:linear-gradient(120deg, #18263a, var(--card) 70%); }
html[data-theme=dark] .rt-minebox > b { color:#87aedf; }
html[data-theme=dark] .navcnt.rtcnt { background-color:#3b7acb; }
html[data-theme=dark] .rtr-mini { background-color:var(--soft); }
html[data-theme=dark] .rtr-mini li small { color:var(--muted); }
html[data-theme=dark] .rtr-soc { border-color:var(--line); }
html[data-theme=dark] .rte-s { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .rte-s.fin { border-color:#2d6441; background-image:linear-gradient(120deg, #183724, var(--card) 60%); }
html[data-theme=dark] .rte-n { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .rte-s.fin .rte-n { background-color:#2bab61; color:#fff; }
html[data-theme=dark] .rte-k { background-color:var(--soft); color:var(--muted); }
html[data-theme=dark] .rte-s.fin .rte-k { background-color:#1e412b; color:#97e5b8; }
html[data-theme=dark] .rte-p { background-color:#1a293f; color:#90bae7; }
html[data-theme=dark] .rte-p button { background-color:transparent; color:inherit; }
html[data-theme=dark] .rte-p button:hover { background-color:rgba(163,194,228,0.172); }
html[data-theme=dark] .rte-anyn { color:var(--ink2); }
html[data-theme=dark] .rte-every { color:var(--muted); }
html[data-theme=dark] .rte-reg { border-color:var(--line); }
html[data-theme=dark] .rte-reg.own { border-color:#284161; }
html[data-theme=dark] .rte-gd { color:var(--muted); }
html[data-theme=dark] .rte-own-h { color:#87aedf; }
@keyframes rtrPulse-dk { 0% { box-shadow:0 0 0 0 rgba(53,117,199,0.4); } 70%, 100% { box-shadow:0 0 0 8px rgba(53,117,199,0); } }
html[data-theme=dark] .rtr-due { background-color:#1a293f; color:#87aedf; }
html[data-theme=dark] .rtr-due.today { background-color:#44371c; color:#edce96; }
html[data-theme=dark] .rtr-due.late { background-color:#401d1a; color:#e08882; animation:rtrBlinkBg-dk 2.4s ease-in-out infinite; }
html[data-theme=dark] .rtr-p .d-skip { color:var(--muted); }
html[data-theme=dark] .rtr-p .rtr-was { color:#87aedf; }
html[data-theme=dark] .rtr-s.skip .rtr-n { border-color:#657382; background-color:#222b34; color:#a7b1ba; }
html[data-theme=dark] .rtr-s.skip::after { background-image:repeating-linear-gradient(90deg, #657382 0 6px, transparent 6px 10px); }
html[data-theme=dark] .rtr-s::before { background-color:var(--line); }
html[data-theme=dark] .rtr-s.fl-done .rtr-n { animation:rtrDoneN-dk .45s cubic-bezier(.3,.8,.3,1.2) backwards; }
html[data-theme=dark] .rtr-s.fl-cur .rtr-n { animation:rtrLight .55s cubic-bezier(.3,.8,.3,1.3) backwards, rtrPulse-dk 2s 1s ease-out infinite; }
html[data-theme=dark] .rtr-s.fl-back::after { background-color:#4da673; }
html[data-theme=dark] .rtr-s.fl-back::before { background-color:#dab062; }
html[data-theme=dark] .rtr-s.fl-home .rtr-n { animation:rtrHome-dk 1s ease-out; }
html[data-theme=dark] .rtr-s.fl-skip .rtr-n { animation:rtrDoneN-dk .45s cubic-bezier(.3,.8,.3,1.2) backwards; }
@keyframes rtrDoneN-dk { 0% { transform:scale(.6); border-color:#3b7acb; background:#3b7acb; } 60% { transform:scale(1.15); } 100% { transform:none; } }
@keyframes rtrHome-dk { 0% { box-shadow:0 0 0 0 rgba(228,184,102,0.7); } 100% { box-shadow:0 0 0 12px rgba(228,184,102,0); } }
@keyframes rtrBlinkBg-dk { 50% { background:#502521; } }
html[data-theme=dark] .rtr-mini li.soc { color:#87aedf; }
html[data-theme=dark] .rtr-mini li.soc b { color:#87aedf; }
html[data-theme=dark] .rt-due { background-color:#1a293f; color:#87aedf; }
html[data-theme=dark] .rt-due.today { background-color:#44371c; color:#edce96; }
html[data-theme=dark] .rt-due.late { background-color:#401d1a; color:#e08882; }
html[data-theme=dark] .rt-minebox li.fresh { animation:freshLi-dk 2.4s ease-out; }
@keyframes freshLi-dk { 0% { background:rgba(135,172,220,0.207); } 100% { background:transparent; } }
html[data-theme=dark] .rte-grip { color:var(--muted); }
html[data-theme=dark] .rte-s.drop-b { box-shadow:0 -3px 0 0 #3575c7; }
html[data-theme=dark] .rte-s.drop-a { box-shadow:0 3px 0 0 #3575c7; }
html[data-theme=dark] .rte-days { color:var(--muted); }
html[data-theme=dark] .rte-p.bad { background-color:#401d1a; color:#e08882; }
html[data-theme=dark] .rte-p .rte-nm::after { background-color:currentColor; }
html[data-theme=dark] .rte-warn { color:#e08882; }
html[data-theme=dark] .rte-pv { border-color:#284161; }
html[data-theme=dark] .rte-pv-sel { color:var(--muted); }
html[data-theme=dark] .rte-ap-l { border-color:var(--line); }
html[data-theme=dark] .rte-ap-all { border-bottom-color:var(--line); }
html[data-theme=dark] .dep-f label { color:var(--ink2); }
html[data-theme=dark] .dep-none { color:#edce96; }
html[data-theme=dark] .dep-t tr.dep-past td { color:var(--muted); }
html[data-theme=dark] .dep-chip.now { background-color:#1f442d; color:#97e5b8; }
html[data-theme=dark] .dep-chip.soon { background-color:#1a293f; color:#87aedf; }
html[data-theme=dark] .dep-chip.past { background-color:var(--soft); color:var(--muted); }
html[data-theme=dark] .dep-w { color:#87aedf; }
html[data-theme=dark] .sp-late li small { color:#e08882; }
html[data-theme=dark] .rvr-lock { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .rvr-list > li { border-top-color:var(--line); }
html[data-theme=dark] .rvr-list > li.now { background-color:var(--soft); }
html[data-theme=dark] .rvr-t small { color:var(--muted); }
html[data-theme=dark] .rvr-why { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .rvr-list > li.now .rvr-why { background-color:var(--card); }
html[data-theme=dark] .rvr-m { color:var(--ink2); }
html[data-theme=dark] .rvr-d.more { color:var(--ok); }
html[data-theme=dark] .rvr-d.less { color:var(--muted); }
html[data-theme=dark] .rvr-lost { color:var(--err); }
html[data-theme=dark] .rt-verbar { border-color:#37275f; background-color:#1e1635; }
html[data-theme=dark] .rf-addsel { border-color:var(--line); background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .rf-addsel:hover,
html[data-theme=dark] .rf-addsel:focus-visible { border-color:var(--brand-d); color:var(--ink); }
html[data-theme=dark] .rts-miss details { border-color:var(--line); }
html[data-theme=dark] .rts-miss summary:hover { background-color:var(--soft); }
html[data-theme=dark] .rts-miss summary .rts-n { background-color:var(--soft); }
html[data-theme=dark] .rts-miss summary small { background-color:#524121; color:#edca99; }
html[data-theme=dark] .rts-miss summary::after { border-right-color:var(--muted); border-bottom-color:var(--muted); }
html[data-theme=dark] .eri > summary:hover { background-color:var(--soft); }
html[data-theme=dark] .eri.new > summary { box-shadow:inset 4px 0 0 var(--err); }
html[data-theme=dark] .eri-k { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .eri-k.k-server { background-color:#3b1a18; color:#ea9994; }
html[data-theme=dark] .eri-k.k-job { background-color:#524121; color:#edca99; }
html[data-theme=dark] .eri-k.k-browser { background-color:#1a2a3f; color:#8bb3e8; }
html[data-theme=dark] .eri-m { color:var(--muted); }
html[data-theme=dark] .eri-x { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .rq-opts label { border-color:var(--line); }
html[data-theme=dark] .rq-opts label:has(input:checked) { border-color:var(--dark); box-shadow:inset 0 0 0 1px var(--dark); }
html[data-theme=dark] .rq-opts label small { color:var(--muted); }
html[data-theme=dark] .rq-bar { background-color:var(--soft); }
html[data-theme=dark] .rq-bar > i { background-color:var(--dark); }
html[data-theme=dark] .sp-en { background-color:var(--err); color:#2c2d30; }
html[data-theme=dark] .bm-m path { stroke:var(--bm-mer); }
html[data-theme=dark] .bm.bm-zsel.bm-zoomed .bm-s.on.st-red:not(.zsel) { fill:color-mix(in srgb, var(--bm-red) 38%, var(--bm-land)); }
html[data-theme=dark] .bm.bm-zsel.bm-zoomed .bm-s.on.st-amber:not(.zsel) { fill:color-mix(in srgb, var(--bm-amber) 38%, var(--bm-land)); }
html[data-theme=dark] .bm.bm-zsel.bm-zoomed .bm-s.on.st-green:not(.zsel) { fill:color-mix(in srgb, var(--bm-green) 38%, var(--bm-land)); }
html[data-theme=dark] .bm.bm-zsel.bm-zoomed .bm-s.on.st-idle:not(.zsel) { fill:color-mix(in srgb, var(--bm-idle) 38%, var(--bm-land)); }
html[data-theme=dark] .bmd-fg { fill:var(--bm-fg); }
html[data-theme=dark] .bmd-lake { fill:var(--bm-sea); stroke:var(--bm-river); }
html[data-theme=dark] .bmd-riv { stroke:var(--bm-river); }
html[data-theme=dark] .bmd-road { stroke:var(--bm-road); }
html[data-theme=dark] .bmd-rail { stroke:var(--bm-rail); }
html[data-theme=dark] .bm-td { fill:var(--bm-town-dot); stroke:var(--bm-halo); }
html[data-theme=dark] .bm-tn { fill:var(--bm-town); stroke:var(--bm-halo); }
html[data-theme=dark] .bm-town.far .bm-tn { fill:var(--bm-town-far); }
html[data-theme=dark] .bm-town.far .bm-td { fill:var(--bm-town-far); }
html[data-theme=dark] .bm-obh { fill:var(--rg); }
html[data-theme=dark] .bm-obq { fill:var(--rg); stroke:var(--bm-dot-line); }
html[data-theme=dark] .bm-ob:focus-visible .bm-obq { stroke:var(--bm-sel); }
html[data-theme=dark] .bm-obt { fill:var(--bm-ink); stroke:var(--bm-halo); }
html[data-theme=dark] .bm-clh { fill:var(--rg); }
html[data-theme=dark] .bm-clc { fill:var(--rg); stroke:var(--bm-dot-line); }
html[data-theme=dark] .bm-cln { fill:var(--bm-wt); }
html[data-theme=dark] .bm-cl:focus-visible .bm-clc { stroke:var(--bm-sel); }
html[data-theme=dark] .bm-arc { stroke:var(--bm-arc-wait); }
html[data-theme=dark] .bm-arc.on { filter:drop-shadow(0 0 1.5px var(--bm-halo)); }
html[data-theme=dark] .bm-arc.late { stroke:var(--bm-arc-late); }
html[data-theme=dark] .bm-arc.ok { stroke:var(--bm-arc-ok); filter:drop-shadow(0 0 3px var(--bm-arc-ok)); }
html[data-theme=dark] .bm-trail { stroke:var(--bm-arc-new); filter:drop-shadow(0 0 2.5px var(--bm-arc-new)); }
html[data-theme=dark] .bm-cmh { fill:var(--bm-arc-new); }
html[data-theme=dark] .bm-cmc { fill:var(--bm-wt); stroke:var(--bm-arc-new); }
html[data-theme=dark] .bm-hubr { stroke:var(--bm-hub); }
html[data-theme=dark] .bm-hubc { fill:var(--bm-hub); }
html[data-theme=dark] .bm-fl { border-top-color:#ba7a2c; }
html[data-theme=dark] .bm-zb { border-color:var(--bm-ui-line); background-color:var(--bm-ui); color:var(--bm-ui-ink); box-shadow:var(--bm-ui-sh); }
html[data-theme=dark] .bm-zb:hover { background-color:#1b1d1f; }
html[data-theme=dark] .bm-zb:focus-visible { outline-color:var(--bm-ui-ink); }
html[data-theme=dark] .bm-zb svg { stroke:currentColor; }
html[data-theme=dark] .bm-zt { background-color:var(--bm-ui); color:var(--bm-ui-ink); box-shadow:var(--bm-ui-sh); }
html[data-theme=dark] .bm.bm-loading .bm-zt::after { color:#989ba0; }
html[data-theme=dark] .bm-zp { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .zp-r { border-top-color:var(--line); }
html[data-theme=dark] .zp-dot { background-color:var(--rg); }
html[data-theme=dark] .zp-n { color:var(--muted); }
html[data-theme=dark] .zp-c { color:var(--muted); }
html[data-theme=dark] .zp-c em { color:#eac287; }
html[data-theme=dark] .zp-c em.hot { color:var(--err); }
html[data-theme=dark] .zp-o,
html[data-theme=dark] .zp-e { color:var(--muted); }
html[data-theme=dark] .ce-geo-st { color:var(--muted); }
html[data-theme=dark] .ce-geo-st b { color:var(--ink); }
html[data-theme=dark] .ce-geo-st.ok::before { background-color:#43c777; }
html[data-theme=dark] .ce-geo-st.warn { color:#ebc690; }
html[data-theme=dark] .ce-geo-st.err { color:var(--err); }
html[data-theme=dark] .ce-gmap { border-color:var(--line); }
html[data-theme=dark] .ce-gmap-h { background-color:rgba(20,24,32,0.78); color:#2c2d30; }
html[data-theme=dark] .bm-me .bm-mk { fill:#e5716a; stroke:var(--bm-wt); }
html[data-theme=dark] .bm-me .bm-mkh { fill:#e5716a; }
html[data-theme=dark] .bm-me .bm-mkd { fill:var(--bm-wt); }
html[data-theme=dark] .cv-geo .cv-gmap { border-color:var(--line); }
html[data-theme=dark] .cv-geo .cv-gt small { color:var(--muted); }
html[data-theme=dark] .bm-ln-in,
html[data-theme=dark] .bm-ln-co { stroke:var(--bm-line); }
html[data-theme=dark] .bm-ln-fo { stroke:var(--bm-fg-line); }
html[data-theme=dark] .bm-ln-st { stroke:var(--bm-lb); }
html[data-theme=dark] .bm-sl.sel { stroke:var(--bm-sel); }
html[data-theme=dark] .bm.bm-zoomed .bm-sl.zsel { stroke:var(--bm-sel); }
html[data-theme=dark] .bmh-bg.st-red { fill:color-mix(in srgb, var(--bm-red) 42%, var(--bm-land)); }
html[data-theme=dark] .bmh-fg.st-red { fill:var(--bm-red); }
html[data-theme=dark] .bmh-bg.st-amber { fill:color-mix(in srgb, var(--bm-amber) 42%, var(--bm-land)); }
html[data-theme=dark] .bmh-fg.st-amber { fill:var(--bm-amber); }
html[data-theme=dark] .bmh-bg.st-green { fill:color-mix(in srgb, var(--bm-green) 42%, var(--bm-land)); }
html[data-theme=dark] .bmh-fg.st-green { fill:var(--bm-green); }
html[data-theme=dark] .bmh-bg.st-idle { fill:color-mix(in srgb, var(--bm-idle) 50%, var(--bm-land)); }
html[data-theme=dark] .bmh-fg.st-idle { fill:var(--bm-idle); }
html[data-theme=dark] .zp-ar .zp-dot { background-image:repeating-linear-gradient(45deg, var(--rg) 0 2px, transparent 2px 4px); box-shadow:inset 0 0 0 1px var(--rg); }
html[data-theme=dark] .bm.bm-deep .bmd-s.bmd-city { fill:var(--bmc-land); }
html[data-theme=dark] .bm.bm-deep { background-color:var(--bmc-water); }
html[data-theme=dark] .bm.bm-deep .bm-sea { fill:var(--bmc-water); }
html[data-theme=dark] .bmc-plt { fill:var(--bmc-ink); stroke:var(--bm-halo); }
html[data-theme=dark] .bmc-stt { fill:var(--bmc-st); stroke:var(--bm-halo); }
html[data-theme=dark] .bmc-mtc { fill:var(--bmc-metro); stroke:var(--bm-halo); }
html[data-theme=dark] .bmc-mtm { fill:#2c2d30; }
html[data-theme=dark] .bmc-mtt { fill:var(--bmc-metro); stroke:var(--bm-halo); }
html[data-theme=dark] .bmc-hn text { fill:var(--bmc-hn); stroke:var(--bmc-bld); }
html[data-theme=dark] .bm-src { background-color:rgba(255,255,255,0.12); color:#abb0bb; }
html[data-theme=dark] .bm-hb { fill:var(--rg); stroke:var(--rg); }
html[data-theme=dark] .bm-scale { background-color:var(--bm-ui); color:var(--bm-ui-ink); box-shadow:0 1px 5px rgba(57,96,172,0.14); }
html[data-theme=dark] .bm-scale i { border-color:currentColor; }
html[data-theme=dark] .bm-ob.owsel .bm-obq { stroke:var(--bm-sel); }
@media (prefers-reduced-motion: no-preference) {
html[data-theme=dark]:not([data-motion=less]) .ow.ow-ping { animation:owPing-dk .7s ease-out; }
}
@keyframes owPing-dk { 30% { box-shadow:0 24px 60px rgba(46,92,184,0.42), 0 0 0 3px var(--rg); } }
html[data-theme=dark] .ce-cams summary .ic { color:#95e5df; }
html[data-theme=dark] .ce-cam { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .ce-camic { background-color:#1f4440; color:#95e5df; }
html[data-theme=dark] .ce-camf small { color:var(--muted); }
html[data-theme=dark] .ce-campick { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .ce-chl small { color:var(--muted); }
html[data-theme=dark] .ce-camerr { color:var(--err); }
html[data-theme=dark] .csv-srv { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .csv-ic { background-color:#1f4440; color:#95e5df; }
html[data-theme=dark] .csv-st small { color:var(--muted); }
html[data-theme=dark] .csv-st em { color:#ebc690; }
html[data-theme=dark] .csv-n { color:var(--muted); }
html[data-theme=dark] .csv-chk { background-color:var(--soft); }
html[data-theme=dark] .csv-chk.ok { background-color:#1c3f27; }
html[data-theme=dark] .csv-chk.warn { background-color:#42361b; }
html[data-theme=dark] .csv-chk.err { background-color:#3c1c19; }
html[data-theme=dark] .csv-err,
html[data-theme=dark] .csv-need { color:var(--err); }
html[data-theme=dark] .tstack::before,
html[data-theme=dark] .tstack::after { border-color:var(--line); background-color:rgba(32,33,36,0.97); box-shadow:0 8px 18px rgba(0,0,0,0.22); }
html[data-theme=dark] .tstack::after { background-color:rgba(38,40,44,0.95); }
html[data-theme=dark] .ts-head { border-color:var(--line); background-color:rgba(27,29,31,0.98); box-shadow:0 14px 34px rgba(0,0,0,0.352), 0 2px 6px rgba(0,0,0,0.132); }
html[data-theme=dark] .ts-tog { background-color:transparent; color:var(--ink); }
html[data-theme=dark] .ts-tog:hover { background-color:var(--soft); }
html[data-theme=dark] .ts-tog:focus-visible { outline-color:var(--ink); }
html[data-theme=dark] .ts-ic { background-color:#cfa931; color:#fff; }
html[data-theme=dark] .ts-ov { background-color:#411e1b; color:#e8817b; }
html[data-theme=dark] .ts-li { color:var(--ink2); }
html[data-theme=dark] .ts-li i { background-color:#dab162; }
html[data-theme=dark] .ts-li.over i { background-color:var(--err); }
html[data-theme=dark] .ts-li.ts-more { color:var(--muted); }
html[data-theme=dark] .ts-chev { color:var(--muted); }
html[data-theme=dark] .pw-eye { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .pw-eye:hover { background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .pw-eye:focus-visible { outline-color:var(--ink); }
html[data-theme=dark] .pw-eye[aria-pressed="true"] { color:var(--ink); }
html[data-theme=dark] .pw-hint { background-color:#42361b; color:#eed69c; }
html[data-theme=dark] .cl-az { border-color:var(--line); background-color:rgba(27,29,31,0.95); box-shadow:0 4px 14px rgba(0,0,0,0.132); }
html[data-theme=dark] .cl-az button { background-color:transparent; color:var(--ink); }
html[data-theme=dark] .cl-az button:hover:not(:disabled) { background-color:var(--soft); }
html[data-theme=dark] .cl-az button:disabled { color:#5b5d62; }
html[data-theme=dark] .cl-az button.on { background-color:var(--ink); color:#2c2d30; }
html[data-theme=dark] .cl-az.off button:not(:disabled) { color:var(--ink2); }
html[data-theme=dark] .cl-let { color:var(--ink2); }
html[data-theme=dark] .cl-let::after { background-color:var(--line); }
html[data-theme=dark].clv-table .cgrid { border-color:var(--line); background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark].clv-table .cl-th { border-bottom-color:var(--line); background-color:var(--soft); color:var(--muted); }
html[data-theme=dark].clv-table .cgrid > .ctile { border-bottom-color:var(--line); }
html[data-theme=dark].clv-table .cgrid > .ctile:hover { background-color:var(--soft); }
html[data-theme=dark].clv-table .ctile > .ct-kv { background:none; }
html[data-theme=dark].clv-table .cl-let { border-bottom-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .sess-list li { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .sess-list li.cur { border-color:#41684f; background-color:#1a3422; }
html[data-theme=dark] .sess-t small { color:var(--muted); }
html[data-theme=dark] .auth-forgot { color:var(--ink2); }
html[data-theme=dark] .auth-forgot:hover { color:var(--ink); }
html[data-theme=dark] .auth-back { color:var(--muted); }
html[data-theme=dark] .auth-back:hover { color:var(--ink); }
html[data-theme=dark] .fg-steps li { border-top-color:var(--line); color:var(--muted); }
html[data-theme=dark] .fg-steps li.done { border-top-color:var(--brand-d); }
html[data-theme=dark] .fg-steps li.on { border-top-color:var(--dark); color:var(--ink); }
html[data-theme=dark] .fg-sent,
html[data-theme=dark] .fg-note { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .fg-note { border-left-color:var(--brand-d); }
html[data-theme=dark] input.fg-code::placeholder { color:#595c61; }
html[data-theme=dark] .linkbtn { background:none; color:var(--ink2); }
html[data-theme=dark] .linkbtn:hover { background:none; color:var(--ink); }
html[data-theme=dark] .linkbtn:disabled { color:var(--muted); }
html[data-theme=dark] .sms-log summary { color:var(--ink2); }
html[data-theme=dark] .sms-log li { border-top-color:var(--line); }
html[data-theme=dark] .sms-log .sl-t { color:var(--muted); }
html[data-theme=dark] .sms-log li b.ok { color:var(--ok); }
html[data-theme=dark] .sms-log li b.err { color:var(--err); }
html[data-theme=dark] .sms-log li b.muted { color:var(--muted); }
html[data-theme=dark] .sms-log li small { color:var(--muted); }
html[data-theme=dark] .u-warn { color:var(--warn); }
html[data-theme=dark] .navcnt.chatcnt { background-color:var(--ch-cnt); color:var(--ch-cnt-ink); }
html[data-theme=dark] .chat { background-color:var(--card); border-color:var(--ch-line); box-shadow:0 1px 2px rgba(0,0,0,0.088), 0 10px 30px -18px rgba(0,0,0,0.396); }
html[data-theme=dark] .ch-ib { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .ch-ib:hover { background-color:var(--ch-field); color:var(--ink); }
html[data-theme=dark] .ch-ib:focus-visible { outline-color:var(--ch-acc); }
html[data-theme=dark] .ch-ib.on { color:var(--ch-acc); background-color:var(--ch-field); }
html[data-theme=dark] .ch-list::-webkit-scrollbar-track,
html[data-theme=dark] .ch-msgs::-webkit-scrollbar-track { background-color:transparent; }
html[data-theme=dark] .ch-list::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-msgs::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-pps::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-mg::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-th-l::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-ask-l::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-mention::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-eds::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-card-full::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-v-page::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-v-sheet::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-v-info::-webkit-scrollbar-thumb,
html[data-theme=dark] #ch_text::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-dlg-in::-webkit-scrollbar-thumb,
html[data-theme=dark] .ch-tray::-webkit-scrollbar-thumb { background-color:var(--sb-thumb); border-color:transparent; }
html[data-theme=dark] .ch-list::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] .ch-msgs::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] .ch-list::-webkit-scrollbar-thumb:active,
html[data-theme=dark] .ch-msgs::-webkit-scrollbar-thumb:active,
html[data-theme=dark] .ch-pps::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] .ch-mg::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] .ch-v-page::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] #ch_text::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] .ch-v-sheet::-webkit-scrollbar-thumb:hover,
html[data-theme=dark] .ch-dlg-in::-webkit-scrollbar-thumb:hover { background-color:var(--sb-thumb-h); }
@supports not selector(::-webkit-scrollbar) {
html[data-theme=dark] .ch-list,
html[data-theme=dark] .ch-msgs,
html[data-theme=dark] .ch-pps,
html[data-theme=dark] .ch-mg,
html[data-theme=dark] .ch-th-l,
html[data-theme=dark] .ch-ask-l,
html[data-theme=dark] .ch-mention,
html[data-theme=dark] .ch-eds,
html[data-theme=dark] .ch-card-full,
html[data-theme=dark] .ch-v-page,
html[data-theme=dark] .ch-v-sheet,
html[data-theme=dark] #ch_text,
html[data-theme=dark] .ch-dlg-in,
html[data-theme=dark] .ch-tray { scrollbar-color:var(--sb-thumb) transparent; }
html[data-theme=dark] .ch-list:hover,
html[data-theme=dark] .ch-msgs:hover { scrollbar-color:var(--sb-thumb-h) transparent; }
}
html[data-theme=dark] .ch-side { background-color:var(--ch-side); border-right-color:var(--ch-line); }
html[data-theme=dark] .ch-side-h h1 .ic { color:#2c2d30; background-image:linear-gradient(135deg, var(--ch-g1), var(--ch-g2)); box-shadow:0 6px 14px -8px var(--ch-g2); }
html[data-theme=dark] .ch-new { background-color:var(--ch-field); }
html[data-theme=dark] .ch-search { background-color:var(--ch-field); color:var(--muted); }
html[data-theme=dark] .ch-search:focus-within { background-color:var(--input); box-shadow:0 0 0 2px var(--ch-sel); }
html[data-theme=dark] .ch-search input { background-color:transparent; }
html[data-theme=dark] .ch-tabs { background-color:var(--ch-field); }
html[data-theme=dark] .ch-tabs button { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .ch-tabs button:hover { background-color:rgba(255,255,255,0.096); }
html[data-theme=dark] .ch-tabs button.on { background-color:var(--card); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.22); }
html[data-theme=dark] .ch-tabs .n { background-color:var(--ch-wait); color:#2c2d30; }
html[data-theme=dark] .ch-it:hover { background-color:var(--ch-field); }
html[data-theme=dark] .ch-it:focus-visible { outline-color:var(--ch-acc); }
html[data-theme=dark] .ch-it.on { background-color:var(--ch-sel); }
html[data-theme=dark] .ch-code { background-color:var(--ch-field); color:var(--muted); }
html[data-theme=dark] .ch-it.on .ch-code { background-color:var(--card); }
html[data-theme=dark] .ch-it-at { color:var(--muted); }
html[data-theme=dark] .ch-it-l { color:var(--muted); }
html[data-theme=dark] .ch-it-who { color:var(--ink2); }
html[data-theme=dark] .ch-it-dr { color:var(--err); }
html[data-theme=dark] .ch-it.unread .ch-it-at { color:var(--ch-acc); }
html[data-theme=dark] .ch-it.unread .ch-it-l { color:var(--ink2); }
html[data-theme=dark] .ch-cnt { background-color:var(--ch-cnt); color:var(--ch-cnt-ink); }
html[data-theme=dark] .ch-it.muted .ch-cnt,
html[data-theme=dark] .ch-mut + .ch-cnt { background-color:#686d78; }
html[data-theme=dark] .ch-wait { background-color:var(--ch-wait); color:#2c2d30; }
html[data-theme=dark] .ch-men-b { background-color:var(--ch-cnt); color:var(--ch-cnt-ink); }
html[data-theme=dark] .ch-none { color:var(--muted); }
html[data-theme=dark] .ch-on { background-color:var(--ch-on); box-shadow:0 0 0 2px var(--ch-side); }
html[data-theme=dark] .ch-main { background-color:var(--ch-bg); background-image:radial-gradient(rgba(255,255,255,0.026) 1px, transparent 1.3px); }
html[data-theme=dark] .ch-empty { color:var(--muted); }
html[data-theme=dark] .ch-empty b { color:var(--ink2); }
html[data-theme=dark] .ch-empty-ic { background-color:var(--card); color:var(--ch-acc); box-shadow:var(--shadow); }
html[data-theme=dark] .ch-head { background-color:var(--card); border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-head .ch-on { box-shadow:0 0 0 2px var(--card); }
html[data-theme=dark] .ch-sub { color:var(--muted); }
html[data-theme=dark] .ch-sub.on { color:var(--ch-on); }
html[data-theme=dark] .ch-hwait { background-color:var(--ch-wait-soft); color:var(--ch-wait); }
html[data-theme=dark] .ch-find { background-color:var(--card); border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-find > .ic { color:var(--muted); }
html[data-theme=dark] .ch-find input { background-color:transparent; }
html[data-theme=dark] .ch-find-n { color:var(--muted); }
html[data-theme=dark] .ch-pin { background-color:var(--card); border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-pin-b { border-left-color:var(--ch-acc2); background-color:transparent; color:var(--ink); }
html[data-theme=dark] .ch-pin-b:hover { background-color:var(--ch-field); }
html[data-theme=dark] .ch-pin-b .ic { color:var(--ch-acc); }
html[data-theme=dark] .ch-pin-t b { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-loading i,
html[data-theme=dark] .ch-dr-load i { background-color:#646973; }
html[data-theme=dark] .ch-blank { background-color:var(--ch-pill); color:var(--ch-pill-ink); }
html[data-theme=dark] .ch-day span,
html[data-theme=dark] .ch-sys span { background-color:var(--ch-pill); color:var(--ch-pill-ink); box-shadow:0 1px 2px rgba(0,0,0,0.176); }
html[data-theme=dark] .ch-new-div { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-new-div::before,
html[data-theme=dark] .ch-new-div::after { background-color:var(--ch-acc); }
html[data-theme=dark] .ch-sk { background-image:linear-gradient(90deg, var(--ch-tile) 25%, var(--ch-field) 50%, var(--ch-tile) 75%); }
html[data-theme=dark] .ch-b { background-color:var(--ch-them); color:var(--ch-them-ink); box-shadow:0 1px 1px rgba(0,0,0,0.11), 0 1px 3px rgba(0,0,0,0.11); }
html[data-theme=dark] .ch-m.mine .ch-b { background-image:linear-gradient(160deg, var(--ch-mine), var(--ch-mine2)); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-who { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-m.mine .ch-who { color:var(--ch-mine-acc); }
html[data-theme=dark] .ch-t a { color:inherit; }
html[data-theme=dark] .ch-gone { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-gone { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-meta { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-meta { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-ed { background-color:transparent; color:inherit; }
html[data-theme=dark] .ch-ed:hover { background-color:rgba(152,152,152,0.184); }
html[data-theme=dark] .ch-tk.seen { color:var(--ch-seen); }
html[data-theme=dark] .ch-more { background-color:transparent; color:var(--ch-meta); }
html[data-theme=dark] .ch-more:hover { background-color:rgba(255,255,255,0.053); }
html[data-theme=dark] .ch-m.mine .ch-pend button { background-color:var(--ch-mine-quote); border-color:transparent; color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-m.men:not(.mine) .ch-b { box-shadow:0 0 0 2px var(--ch-acc2), 0 1px 1px rgba(0,0,0,0.132); }
html[data-theme=dark] .ch-men { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-m.mine .ch-men { color:var(--ch-mine-acc); }
html[data-theme=dark] .ch-t mark,
html[data-theme=dark] .ch-req-q mark { background-color:#73632f; color:#e2e3e5; }
html[data-theme=dark] .ch-q { border-left-color:var(--ch-acc); background-color:var(--ch-quote); color:inherit; }
html[data-theme=dark] .ch-q:hover { background-color:var(--ch-quote); }
html[data-theme=dark] .ch-q b { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-m.mine .ch-q { background-color:var(--ch-mine-quote); border-left-color:var(--ch-mine-acc); }
html[data-theme=dark] .ch-m.mine .ch-q b { color:var(--ch-mine-acc); }
html[data-theme=dark] .ch-fwd { border-left-color:var(--ch-acc2); }
html[data-theme=dark] .ch-fwd-h { color:var(--muted); }
html[data-theme=dark] .ch-m.mine .ch-fwd-h { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-fwd-card { background-color:var(--ch-quote); }
html[data-theme=dark] .ch-m.mine .ch-fwd-card { background-color:var(--ch-mine-quote); }
html[data-theme=dark] .ch-del-h { color:var(--err); }
html[data-theme=dark] .ch-m.mine .ch-del-h { color:#6c1b13; }
html[data-theme=dark] .ch-m.del-adm .ch-b { outline-color:var(--err); }
html[data-theme=dark] .ch-rx-c { border-color:var(--ch-line); background-color:var(--ch-field); color:var(--ink); }
html[data-theme=dark] .ch-rx-c.me { border-color:var(--ch-acc2); background-color:var(--ch-sel); }
html[data-theme=dark] .ch-m.mine .ch-rx-c { background-color:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.1); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-m.mine .ch-rx-c.me { background-color:rgba(255,255,255,0.13); }
html[data-theme=dark] .ch-b.only-f > .ch-meta { background-color:rgba(0,0,0,0.5); color:var(--ch-on-dark); }
html[data-theme=dark] .ch-b.only-f:has(.ch-docs) > .ch-meta { background:none; color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-b.only-f:has(.ch-docs) > .ch-meta { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-f { background-color:var(--ch-tile); }
html[data-theme=dark] .ch-f:hover { background-color:var(--ch-tile); }
html[data-theme=dark] .ch-f:focus-visible { outline-color:var(--ch-acc); }
html[data-theme=dark] .ch-f-no { color:var(--ch-pill-ink); }
html[data-theme=dark] .ch-f-play { background-color:rgba(0,0,0,0.5); }
html[data-theme=dark] .ch-f-play::after { border-color:transparent transparent transparent var(--ch-on-dark); }
html[data-theme=dark] .ch-f-dur { background-color:rgba(0,0,0,0.52); color:var(--ch-on-dark); }
html[data-theme=dark] .ch-f-more { background-color:rgba(0,0,0,0.46); color:var(--ch-on-dark); }
html[data-theme=dark] .ch-f-gone { background-color:rgba(0,0,0,0.55); color:var(--ch-on-dark); }
html[data-theme=dark] .ch-f-gone.bad { background-color:rgba(207,55,49,0.82); }
html[data-theme=dark] .ch-f-prog { background-color:rgba(255,255,255,0.072); }
html[data-theme=dark] .ch-f-prog i { background-color:var(--ch-on-dark); }
html[data-theme=dark] .ch-f-up { background-color:rgba(0,0,0,0.55); color:#2c2d30; }
html[data-theme=dark] .ch-f-up i { background-color:#1b1d1f; }
html[data-theme=dark] .ch-f-chk { color:#2c2d30; box-shadow:0 1px 4px rgba(0,0,0,0.7); }
html[data-theme=dark] .ch-f-chk.lv-warn { background-color:#d2a13e; }
html[data-theme=dark] .ch-f-chk.lv-bad { background-color:#d65e52; }
html[data-theme=dark] .ch-doc { background-color:var(--card); color:var(--ink); box-shadow:inset 0 0 0 1px var(--ch-line); }
html[data-theme=dark] .ch-m.mine .ch-doc { background-color:rgba(27,29,31,0.96); color:#e2e3e5; }
html[data-theme=dark] .ch-doc-open { background-color:transparent; color:inherit; }
html[data-theme=dark] .ch-doc-open:hover { background-color:transparent; }
html[data-theme=dark] .ch-doc-pv { background-image:linear-gradient(180deg, #22262e, #2b3037); border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-doc-pv.has { background-color:#1b1d1f; }
html[data-theme=dark] .ch-doc-pv:not(.img)::after { background-image:linear-gradient(180deg, rgba(255,255,255,0), #1b1d1f); }
html[data-theme=dark] .ch-doc-big { background-color:#1b1d1f; color:var(--ch-text); box-shadow:0 2px 8px rgba(0,0,0,0.264); }
html[data-theme=dark] .ch-doc.t-pdf .ch-doc-big { color:var(--ch-pdf); }
html[data-theme=dark] .ch-doc.t-word .ch-doc-big { color:var(--ch-word); }
html[data-theme=dark] .ch-doc.t-excel .ch-doc-big { color:var(--ch-excel); }
html[data-theme=dark] .ch-dm { color:#cecfd1; }
html[data-theme=dark] .ch-dm td { border-color:#3d4047; }
html[data-theme=dark] .ch-dm.xl td { border-color:#303840; }
html[data-theme=dark] .ch-dm.xl tr.hd td { background-color:#223425; }
html[data-theme=dark] .ch-doc-ic { background-color:var(--ch-text); color:#2c2d30; }
html[data-theme=dark] .ch-doc.t-pdf .ch-doc-ic { background-color:var(--ch-pdf); }
html[data-theme=dark] .ch-doc.t-word .ch-doc-ic { background-color:var(--ch-word); }
html[data-theme=dark] .ch-doc.t-excel .ch-doc-ic { background-color:var(--ch-excel); }
html[data-theme=dark] .ch-doc-tx small { color:#989ba0; }
html[data-theme=dark] .ch-doc-dl { color:#b8b9bd; }
html[data-theme=dark] .ch-doc-dl:hover { background-color:var(--ch-field); }
html[data-theme=dark] .ch-m.rep .ch-b { background:none; color:var(--ink); }
html[data-theme=dark] .ch-m.rep.mine .ch-who { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-m.rep .ch-meta,
html[data-theme=dark] .ch-m.req .ch-meta { color:var(--ch-meta); }
html[data-theme=dark] .ch-card { border-color:var(--ch-line); border-left-color:var(--acc, #85878c); background-color:var(--card); color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,0.11), 0 8px 18px -12px rgba(0,0,0,0.44); }
html[data-theme=dark] .ch-no { color:var(--acc-ink, var(--ink)); }
html[data-theme=dark] .ch-card-tt small { color:var(--muted); }
html[data-theme=dark] .ch-card-p { color:var(--ink2); }
html[data-theme=dark] .ch-card-ch { color:var(--ink2); }
html[data-theme=dark] .ch-card-ch small { color:var(--muted); }
html[data-theme=dark] .ch-card-full { border-top-color:var(--ch-line); }
html[data-theme=dark] .ch-acc.ok { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .ch-acc.wait { background-color:var(--warn-soft); color:var(--warn); }
html[data-theme=dark] .ch-acc.over { background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .ch-acc-ic { background-color:var(--ok); }
html[data-theme=dark] .ch-acc-ic svg { stroke:#2c2d30; }
html[data-theme=dark] .ch-card.acc-anim { animation:chAccFlash-dk 2.4s ease-out; }
@keyframes chAccFlash-dk { 0% { box-shadow:0 0 0 0 rgba(60,198,113,0); } 15% { box-shadow:0 0 0 4px rgba(60,198,113,0.45); background:var(--ok-soft); } 100% { box-shadow:0 0 0 0 rgba(60,198,113,0); } }
html[data-theme=dark] .ch-card-a .ghost { color:var(--ink2); background-color:var(--ch-field); }
html[data-theme=dark] .ch-card.gone { border-left-color:var(--ch-line); }
html[data-theme=dark] .ch-talk { border-color:var(--ch-line); background-color:var(--ch-field); color:var(--ink); }
html[data-theme=dark] .ch-talk:hover { background-color:var(--ch-sel); }
html[data-theme=dark] .ch-talk span:last-child:not(.ch-talk-ic) { color:var(--muted); }
html[data-theme=dark] .ch-talk.empty { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .ch-rt { border-color:var(--ch-line); border-left-color:#85878c; background-color:var(--card); color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,0.11), 0 8px 18px -12px rgba(0,0,0,0.44); }
html[data-theme=dark] .ch-rt.wait { border-left-color:#d2a13e; }
html[data-theme=dark] .ch-rt.r-agree,
html[data-theme=dark] .ch-rt.r-approve,
html[data-theme=dark] .ch-rt.o-agree,
html[data-theme=dark] .ch-rt.o-approve { border-left-color:var(--ok); }
html[data-theme=dark] .ch-rt.r-return,
html[data-theme=dark] .ch-rt.o-return { border-left-color:var(--err); }
html[data-theme=dark] .ch-rt-ic { background-color:var(--ch-field); color:var(--ink2); }
html[data-theme=dark] .ch-rt-tt small { color:var(--muted); }
html[data-theme=dark] .ch-rt-by { color:var(--muted); }
html[data-theme=dark] .ch-rt-t { background-color:var(--ch-field); color:var(--ink2); }
html[data-theme=dark] .ch-rt-t span { color:var(--ink); }
html[data-theme=dark] .ch-rt-res { background-color:var(--ch-field); color:var(--ink2); }
html[data-theme=dark] .ch-rt-res.a-agree,
html[data-theme=dark] .ch-rt-res.a-approve { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .ch-rt-res.a-return { background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .ch-rt-res.a-wait { background-color:var(--warn-soft); color:var(--warn); }
html[data-theme=dark] .ch-rt-rt { color:var(--ink2); }
html[data-theme=dark] .ch-rt-ret-a .danger-soft { border-color:#71352e; background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .ch-m.rt .ch-meta { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.req .ch-b { background-color:transparent; }
html[data-theme=dark] .ch-req { border-color:var(--ch-line); border-left-color:var(--ch-acc2); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .ch-m.mine .ch-req { color:var(--ink); }
html[data-theme=dark] .ch-req-ic { background-color:var(--ch-acc); color:#2c2d30; }
html[data-theme=dark] .ch-req-h .ch-no { color:var(--muted); }
html[data-theme=dark] .ch-req.st-wait .ch-req-s { background-color:var(--warn-soft); color:var(--warn); }
html[data-theme=dark] .ch-req.st-over { border-left-color:var(--err); }
html[data-theme=dark] .ch-req.st-over .ch-req-s { background-color:var(--err-soft); color:var(--err); }
html[data-theme=dark] .ch-req.st-done { border-left-color:var(--ok); }
html[data-theme=dark] .ch-req.st-done .ch-req-s { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .ch-vp { background-image:linear-gradient(135deg, var(--ch-g1), var(--ch-g2)); color:#2c2d30; }
html[data-theme=dark] .ch-m.mine .ch-vp { background-color:rgba(255,255,255,0.09); }
html[data-theme=dark] .ch-vp svg { fill:currentColor; }
html[data-theme=dark] .ch-vw i { background-color:currentColor; }
html[data-theme=dark] .ch-vt { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-vt { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-typing { background-color:var(--ch-pill); color:var(--ch-pill-ink); }
html[data-theme=dark] .ch-typing.on { background-color:transparent; }
html[data-theme=dark] .ch-ty-b { background-color:var(--ch-them); color:var(--ch-meta); box-shadow:0 1px 2px rgba(0,0,0,0.176); }
html[data-theme=dark] .ch-ty-d i { background-color:currentColor; }
html[data-theme=dark] .ch-down { border-color:var(--ch-line); background-color:var(--card); color:var(--ink2); box-shadow:0 4px 14px rgba(0,0,0,0.308); }
html[data-theme=dark] .ch-down-n { background-color:var(--ch-cnt); color:var(--ch-cnt-ink); }
html[data-theme=dark] .ch-foot { background-color:var(--card); border-top-color:var(--ch-line); }
html[data-theme=dark] .ch-att { color:var(--ink2); }
html[data-theme=dark] #ch_text { border-color:transparent; background-color:var(--ch-field); color:var(--ink); }
html[data-theme=dark] #ch_text:focus { border-color:#4a4e55; background-color:var(--input); box-shadow:0 0 0 3px rgba(178,178,178,0.28); }
html[data-theme=dark] #ch_text::placeholder { color:#75797f; }
html[data-theme=dark] .ch-send { background-image:linear-gradient(135deg, var(--ch-g1), var(--ch-g2)); color:#2c2d30; box-shadow:0 6px 14px -7px var(--ch-g2); }
html[data-theme=dark] .ch-send:hover { background-image:linear-gradient(135deg, var(--ch-g1), var(--ch-g2)); }
html[data-theme=dark] .ch-send.edit { background-image:linear-gradient(135deg, #69bf8a, #40a662); box-shadow:0 6px 14px -7px #40a662; }
html[data-theme=dark] .ch-send.upl::after { background:conic-gradient(var(--ch-acc2) calc(var(--p, 0) * 1turn), rgba(125,132,141,0.207) 0); }
html[data-theme=dark] .ch-rec-dot { background-color:#da6b62; }
html[data-theme=dark] .ch-rec-w { color:var(--ch-acc); }
html[data-theme=dark] .ch-rec-w i { background-color:currentColor; }
html[data-theme=dark] .ch-reply { border-left-color:var(--ch-acc); background-color:var(--ch-field); }
html[data-theme=dark] .ch-reply.edit { border-left-color:var(--ok); }
html[data-theme=dark] .ch-reply-t b { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-reply.edit .ch-reply-t b { color:var(--ok); }
html[data-theme=dark] .ch-reply-t span { color:var(--muted); }
html[data-theme=dark] .ch-tr { background-color:var(--ch-field); }
html[data-theme=dark] .ch-tr small { background-color:rgba(0,0,0,0.52); color:var(--ch-on-dark); }
html[data-theme=dark] .ch-tr > button { background-color:rgba(0,0,0,0.55); color:var(--ch-on-dark); }
html[data-theme=dark] .ch-tr.k-video::after { color:var(--ch-on-dark); text-shadow:0 0 4px rgba(0,0,0,0.7); }
html[data-theme=dark] .ch-tr.k-doc { background-color:var(--card); box-shadow:inset 0 0 0 1px var(--ch-line); }
html[data-theme=dark] .ch-tr-doc b { background-color:var(--ch-text); color:#2c2d30; }
html[data-theme=dark] .ch-tr.k-doc small { background-color:var(--ch-field); color:var(--ink2); }
html[data-theme=dark] .ch-tr.k-doc > button { background-color:var(--ch-field); color:var(--ink2); }
html[data-theme=dark] .ch-tr-note { color:var(--muted); }
html[data-theme=dark] .chat.drop .ch-main::after { border-color:var(--ch-acc); background-color:var(--ch-drop); color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-mention { border-color:var(--ch-line); background-color:var(--card); box-shadow:0 14px 34px rgba(0,0,0,0.396); }
html[data-theme=dark] .ch-mention button { background-color:transparent; color:var(--ink); }
html[data-theme=dark] .ch-mention button.on,
html[data-theme=dark] .ch-mention button:hover { background-color:var(--ch-field); }
html[data-theme=dark] .ch-mention small { color:var(--muted); }
html[data-theme=dark] .ch-qk { border-color:var(--ch-line); background-color:var(--ch-field); color:var(--ink); }
html[data-theme=dark] .ch-qk:hover { background-color:var(--ch-sel); }
html[data-theme=dark] .ch-rep-new { background-image:linear-gradient(135deg, var(--ch-g1), var(--ch-g2)); color:#2c2d30; box-shadow:0 10px 22px -12px var(--ch-g2); }
html[data-theme=dark] .ch-rep-new:hover { background-image:linear-gradient(135deg, var(--ch-g1), var(--ch-g2)); box-shadow:0 14px 26px -12px var(--ch-g2); }
html[data-theme=dark] .ch-rep-new .ic { background-color:rgba(255,255,255,0.11); }
html[data-theme=dark] .ch-qsel button { background-color:#dddddf; color:#2c2d30; box-shadow:0 8px 22px rgba(0,0,0,0.616); }
html[data-theme=dark] .ch-qsel button:hover { background-color:#e7e7e8; }
html[data-theme=dark] .ch-cmp { background-color:var(--bg); box-shadow:0 -14px 34px -16px rgba(0,0,0,0.7), 0 -1px 0 var(--ch-line); }
html[data-theme=dark] .ch-cmp-h { border-bottom-color:var(--ch-line); background-color:var(--card); }
html[data-theme=dark] .ch-cmp-ic { background-image:linear-gradient(135deg, var(--ch-g1), var(--ch-g2)); color:#2c2d30; }
html[data-theme=dark] .ch-cmp-tt small { color:var(--muted); }
html[data-theme=dark] .ch-cmp-b iframe { background-color:var(--bg); }
html[data-theme=dark] .ch-cmp-pill { border-color:var(--ch-acc2); background-color:var(--ch-field); color:var(--ink); }
html[data-theme=dark] .ch-cmp-pill:hover { background-color:var(--ch-sel); }
html[data-theme=dark] .ch-cmp-pill .ic { color:var(--ch-acc); }
html[data-theme=dark] .ch-cmp-pill small { color:var(--muted); }
html[data-theme=dark] .ch-cmp-pill-x { color:var(--ink2); }
html[data-theme=dark] .ch-cmp-pill-x:hover { background-color:var(--card); }
html[data-theme=dark] .ch-menu { border-color:var(--ch-line); background-color:var(--card); box-shadow:0 14px 36px rgba(0,0,0,0.396); }
html[data-theme=dark] .ch-menu button { background-color:transparent; }
html[data-theme=dark] .ch-menu button:hover,
html[data-theme=dark] .ch-menu button:focus-visible { background-color:var(--ch-field); }
html[data-theme=dark] .ch-menu button.danger { color:var(--err); }
html[data-theme=dark] .ch-menu-rx { border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-drawer { background-color:rgba(255,255,255,0); }
html[data-theme=dark] .ch-drawer.open { background-color:rgba(18,20,24,0.4); }
html[data-theme=dark] .ch-dr-in { background-color:var(--bg); box-shadow:-20px 0 50px rgba(0,0,0,0.44); }
html[data-theme=dark] .ch-dr-h { background-color:var(--card); border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-dr-body iframe { background-color:var(--bg); }
html[data-theme=dark] .ch-dlg { background-color:rgba(18,20,24,0.42); }
html[data-theme=dark] .ch-dlg-in { background-color:var(--card); box-shadow:0 24px 60px rgba(0,0,0,0.55); }
html[data-theme=dark] .ch-dlg-a .danger { color:var(--err); }
html[data-theme=dark] .ch-pp { background-color:transparent; color:var(--ink); }
html[data-theme=dark] .ch-pp:hover { background-color:var(--ch-field); }
html[data-theme=dark] .ch-pp .ch-on { box-shadow:0 0 0 2px var(--card); }
html[data-theme=dark] .ch-pp > span:not(.ch-av) small { color:var(--muted); }
html[data-theme=dark] .ch-pp.off:hover { background-color:transparent; }
html[data-theme=dark] .ch-pp-why { background-color:var(--warn-soft); color:var(--warn); }
html[data-theme=dark] .ch-pp-sep { color:var(--muted); }
html[data-theme=dark] .ch-seg { background-color:var(--ch-field); }
html[data-theme=dark] .ch-seg button { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .ch-seg button.on { background-color:var(--card); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.22); }
html[data-theme=dark] .ch-ask-q { border-color:var(--ch-line); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .ch-ask-q:hover { background-color:var(--ch-field); }
html[data-theme=dark] .ch-ask-q.on { border-color:var(--ch-acc); background-color:var(--ch-sel); }
html[data-theme=dark] .ch-ask-due { color:var(--ink2); }
html[data-theme=dark] .ch-mg-d { color:var(--ink2); }
html[data-theme=dark] .ch-mg-t { background-color:var(--ch-tile); }
html[data-theme=dark] .ch-mg-t.on { outline-color:var(--ch-acc); }
html[data-theme=dark] .ch-mg-doc { background-color:var(--card); color:var(--ink); box-shadow:inset 0 0 0 1px var(--ch-line); }
html[data-theme=dark] .ch-mg-doc b { background-color:var(--ch-text); color:#2c2d30; }
html[data-theme=dark] .ch-mg-doc.t-pdf b { background-color:var(--ch-pdf); }
html[data-theme=dark] .ch-mg-doc.t-word b { background-color:var(--ch-word); }
html[data-theme=dark] .ch-mg-doc.t-excel b { background-color:var(--ch-excel); }
html[data-theme=dark] .ch-mg-c { background-color:rgba(27,29,31,0.88); }
html[data-theme=dark] .ch-mg-w { background-color:rgba(0,0,0,0.5); color:#2c2d30; }
html[data-theme=dark] .ch-snd-v input { accent-color:var(--ch-acc); }
html[data-theme=dark] .ch-snd-n { background-color:var(--ch-field); }
html[data-theme=dark] .ch-snd-m { background-color:var(--ch-field); }
html[data-theme=dark] .ch-snd-m small { color:var(--muted); }
html[data-theme=dark] .ch-th-c { background-color:var(--ch-field); }
html[data-theme=dark] .ch-th-c.mine { background-color:var(--ch-sel); }
html[data-theme=dark] .ch-th-h small { color:var(--muted); }
html[data-theme=dark] .ch-ed-v { background-color:var(--ch-field); }
html[data-theme=dark] .ch-ed-v small { color:var(--muted); }
html[data-theme=dark] .ch-ed-v:not(.now) .ch-t { color:var(--ink2); }
html[data-theme=dark] .ch-ed-v.now { background-color:var(--ch-sel); box-shadow:inset 3px 0 0 var(--ch-acc); }
html[data-theme=dark] .ch-ck { border-color:var(--ch-acc2); background-color:var(--card); }
html[data-theme=dark] .chat.selmode .ch-m.pick .ch-ck { background-color:var(--ch-acc); border-color:var(--ch-acc); box-shadow:inset 0 0 0 3px var(--card); }
html[data-theme=dark] .chat.selmode .ch-m.pick .ch-b { box-shadow:0 0 0 2px var(--ch-acc2); }
html[data-theme=dark] .chat-sent-ic { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark].embed-chat body.app { background-color:var(--bg); }
html[data-theme=dark] label.lgc > input,
html[data-theme=dark] label.lgc > select,
html[data-theme=dark] label.lgc .combo-in { border-color:var(--ch-lgc); box-shadow:0 0 0 3px rgba(195,131,34,0.16); }
html[data-theme=dark] .lgc-m { color:var(--ch-lgc); }
html[data-theme=dark] .lgc-bar { border-color:#80642b; background-color:var(--ch-lgc-soft); color:var(--ch-lgc); }
html[data-theme=dark] .lgc-bar:hover { background-color:#514221; }
html[data-theme=dark] .chup-it { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .chup-th { background-color:var(--ch-field); }
html[data-theme=dark] .chup-th[data-k=video]::after { color:var(--ch-on-dark); text-shadow:0 0 4px rgba(0,0,0,0.7); }
html[data-theme=dark] .chup-s { color:var(--muted); }
html[data-theme=dark] .chup-bar { background-color:var(--line); }
html[data-theme=dark] .chup-bar i { background-color:var(--ch-acc); }
html[data-theme=dark] .chup-it.done .chup-bar i { background-color:var(--ok); }
html[data-theme=dark] .chup-it.bad { border-color:#5f2c27; }
html[data-theme=dark] .chup-it.bad .chup-s { color:var(--err); }
html[data-theme=dark] label.chup-add { color:var(--ink); }
html[data-theme=dark] .chup.drop { outline-color:var(--ch-acc); }
html[data-theme=dark] .chup-note { color:var(--ch-acc-ink); }
html[data-theme=dark] .hs-state { background-color:var(--soft); }
html[data-theme=dark] .hs-state.hs-on { background-color:var(--ok-soft); color:var(--ok); }
html[data-theme=dark] .hs-how summary,
html[data-theme=dark] .hs-more summary { color:var(--ink2); }
html[data-theme=dark] .hs-ports,
html[data-theme=dark] .hs-switch { border-top-color:var(--line); }
html[data-theme=dark] .gchk .lv-warn { color:var(--warn); }
html[data-theme=dark] .gchk .lv-bad { color:var(--err); }
html[data-theme=dark] .sidebar .me button.avatar { background-color:#1b1d1f; }
html[data-theme=dark] .sidebar .me .avatar:hover { box-shadow:0 0 0 2px rgba(0,0,0,0.396); }
html[data-theme=dark] .pwa-inst { border-color:rgba(255,255,255,0.188); background-color:rgba(255,255,255,0.088); color:var(--ink); }
html[data-theme=dark] .pwa-inst:hover { background-color:#1b1d1f; }
html[data-theme=dark] #chat_gallery .gfile small { background-color:rgba(27,29,31,0.88); color:var(--ink2); }
html[data-theme=dark] .cr-card { border-color:rgba(255,255,255,0.04); background-color:#e6e6e7; color:#373d48; box-shadow:0 18px 44px rgba(0,0,0,0.7); }
html[data-theme=dark] .cr-ph { background-color:#cecfd0; color:#2c2d30; }
html[data-theme=dark] .cr-rr { animation:crRing-dk 2.1s ease-out infinite; }
html[data-theme=dark] .cr-t small { color:#696c72; }
html[data-theme=dark] .cr-b { background-color:#d7d8da; color:#2c2d30; }
html[data-theme=dark] .cr-b:hover { background-color:#cecfd1; }
html[data-theme=dark] .cr-b:focus-visible { outline-color:#1b1d1f; }
html[data-theme=dark] .cr-b.no { background-color:#da6a62; }
html[data-theme=dark] .cr-b.no:hover { background-color:#d5645c; }
html[data-theme=dark] .cr-b.yes { background-color:#3aca7c; }
html[data-theme=dark] .cr-b.yes:hover { background-color:#2fbb6f; }
html[data-theme=dark] .cr-menu { border-color:rgba(255,255,255,0.04); background-color:#e0e0e2; }
html[data-theme=dark] .cr-menu button { background-color:transparent; color:#373d48; }
html[data-theme=dark] .cr-menu button:hover,
html[data-theme=dark] .cr-menu button:focus-visible { background-color:#d7d8da; }
html[data-theme=dark] .cr-card.still .cr-rr { box-shadow:0 0 0 6px rgba(178,178,178,0.25); }
html[data-theme=dark] .cr-live { background-color:#e6e6e7; color:#373d48; box-shadow:0 10px 30px rgba(0,0,0,0.66); }
html[data-theme=dark] .cr-live i { background-color:#4fd18c; }
html[data-theme=dark] .cr-live b { background-color:#272c34; color:#dfe0e2; }
html[data-theme=dark] .cr-live:focus-visible { outline-color:var(--accent, #a1a3a6); }
@keyframes crRing-dk { 0% { box-shadow:0 0 0 0 rgba(178,178,178,0.65); } 100% { box-shadow:0 0 0 20px rgba(178,178,178,0); } }
@media (prefers-reduced-motion: reduce) {
html[data-theme=dark] .cr-rr { box-shadow:0 0 0 6px rgba(178,178,178,0.25); }
}
html[data-theme=dark] html[data-motion=less] .cr-rr { box-shadow:0 0 0 6px rgba(178,178,178,0.25); }
html[data-theme=dark] .ch-call-ic { background-color:var(--ch-field); color:var(--ch-acc); }
html[data-theme=dark] .ch-m.mine .ch-call-ic { background-color:rgba(255,255,255,0.065); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-call.t-ok .ch-call-ic { color:var(--ch-on); }
html[data-theme=dark] .ch-call.t-miss .ch-call-ic { color:var(--err); }
html[data-theme=dark] .ch-m.mine .ch-call.t-ok .ch-call-ic { color:#258450; }
html[data-theme=dark] .ch-m.mine .ch-call.t-miss .ch-call-ic { color:#711d14; }
html[data-theme=dark] .ch-call.t-ring .ch-call-ic,
html[data-theme=dark] .ch-call.t-live .ch-call-ic { color:var(--ch-on); animation:chCallPulse-dk 1.5s ease-in-out infinite; }
html[data-theme=dark] .ch-call-t small { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-call-t small { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-m.mine .ch-call .small.ghost { border-color:rgba(255,255,255,0.14); color:var(--ch-mine-ink); }
@keyframes chCallPulse-dk { 0%, 100% { box-shadow:0 0 0 0 rgba(70,207,136,0.45); } 55% { box-shadow:0 0 0 7px rgba(70,207,136,0); } }
html[data-theme=dark] .ch-stt-h { color:var(--ch-meta); }
html[data-theme=dark] .ch-stt small { color:var(--ch-meta); }
html[data-theme=dark] .ch-stt.err small { color:var(--err); }
html[data-theme=dark] .ch-m.mine .ch-stt-h,
html[data-theme=dark] .ch-m.mine .ch-stt small { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-m.mine .ch-stt.err small { color:#6c1b13; }
html[data-theme=dark] .ch-stt-b { background:none; color:var(--ch-acc); }
html[data-theme=dark] .ch-m.mine .ch-stt-b { color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-stt-l { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-stt-l { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-stt-l i { background-color:currentColor; }
html[data-theme=dark] .ok-t { color:var(--ok); }
html[data-theme=dark] .ch-it.lift { animation:chItLift-dk 1.6s ease-out; }
@keyframes chItLift-dk { 0%, 25% { background:var(--ch-sel); box-shadow:0 8px 22px rgba(0,0,0,0.264); } }
html[data-theme=dark] mark.ch-chg { background-color:rgba(188,153,55,0.632); color:inherit; animation:chChg-dk .5s ease-out; }
html[data-theme=dark] .ch-m.mine mark.ch-chg { background-color:rgba(188,153,55,0.414); }
html[data-theme=dark] mark.ch-chg.off { background-color:transparent; }
@keyframes chChg-dk { from { background:rgba(188,153,55,0); } }
html[data-theme=dark] .ch-stamp { border-color:currentColor; }
html[data-theme=dark] .ch-stamp.s-agree,
html[data-theme=dark] .ch-stamp.s-approve { color:#92deb4; }
html[data-theme=dark] .ch-stamp.s-return { color:#e08177; }
html[data-theme=dark] .ch-stamp.s-recall { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-stamp.s-agree,
html[data-theme=dark] .ch-m.mine .ch-stamp.s-approve { color:#298d53; }
html[data-theme=dark] .ch-m.mine .ch-stamp.s-return { color:#6e1c13; }
html[data-theme=dark] .ch-m.mine .ch-stamp.s-recall { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-lift { box-shadow:0 16px 36px rgba(0,0,0,0.616); }
html[data-theme=dark] .ch-lift-bg { background-color:rgba(22,24,28,0.36); }
html[data-theme=dark] .ch-swipe-ic { background-color:var(--ch-field); color:var(--ch-acc); }
html[data-theme=dark] .ch-swipe-ic.hit { background-color:var(--ch-acc); color:#2c2d30; }
html[data-theme=dark] .navcnt.ordcnt.o-over { background-color:var(--err); }
html[data-theme=dark] .navcnt.ordcnt.o-day { background-color:#bbbcbf; }
html[data-theme=dark] .ord-st { background-color:#2c2e33; color:#bcbec1; }
html[data-theme=dark] .ord-st.s-new { background-color:#1b2c42; color:#87aedf; }
html[data-theme=dark] .ord-st.s-work { background-color:#4f4420; color:#eeda9c; }
html[data-theme=dark] .ord-st.s-rework { background-color:#48301d; color:#eaab85; }
html[data-theme=dark] .ord-st.s-check { background-color:#20193d; color:#7666de; }
html[data-theme=dark] .ord-st.s-done { background-color:#223f2c; color:#9cd9b0; }
html[data-theme=dark] .ord-st.s-cancel { background-color:#2b2d32; color:#9da0a5; }
html[data-theme=dark] .ord-st.s-over { background-color:#421f1b; color:#e8817b; }
html[data-theme=dark] .ord-due { color:var(--ink2); }
html[data-theme=dark] .ord-due.soon { color:#edd896; }
html[data-theme=dark] .ord-due.over { color:#e8817b; }
html[data-theme=dark] .ord-due.off { color:var(--muted); }
html[data-theme=dark] .ord-fl { border-color:#41454b; background-color:#1b1d1f; }
html[data-theme=dark] .ord-fl small { background-color:#2b2d32; color:var(--ink2); }
html[data-theme=dark] .ord-fl.on { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .ord-fl.on small { background-color:rgba(255,255,255,0.11); color:#2c2d30; }
html[data-theme=dark] .ord-fl.red:not(.on) small { background-color:#421f1b; color:#e8817b; }
html[data-theme=dark] .ord-it { border-color:var(--line); border-left-color:#595e67; background-color:var(--card); color:var(--ink); box-shadow:var(--shadow); }
html[data-theme=dark] .ord-it:hover { background-color:var(--soft); }
html[data-theme=dark] .ord-it.s-new { border-left-color:#3b7acb; }
html[data-theme=dark] .ord-it.s-work { border-left-color:#d7b856; }
html[data-theme=dark] .ord-it.s-rework { border-left-color:#d98d5c; }
html[data-theme=dark] .ord-it.s-check { border-left-color:#503ebb; }
html[data-theme=dark] .ord-it.s-done { border-left-color:#5abc80; }
html[data-theme=dark] .ord-it.s-over { border-left-color:#d65e52; }
html[data-theme=dark] .ord-it.s-cancel { border-left-color:#4f535b; }
html[data-theme=dark] .ord-it.new .ord-it-dot { background-color:#3b7acb; box-shadow:0 0 0 3px rgba(53,117,199,0.18); }
html[data-theme=dark] .ord-it-no { color:var(--muted); }
html[data-theme=dark] .ord-it-r2 { color:var(--ink2); }
html[data-theme=dark] .ord-it-by,
html[data-theme=dark] .ord-it-cl { color:var(--muted); }
html[data-theme=dark] .ord-it-rep .ic,
html[data-theme=dark] .od-rep-ic .ic,
html[data-theme=dark] .ord-tpl-ic .ic,
html[data-theme=dark] .od-tag .ic { color:var(--muted); }
html[data-theme=dark] .ord-it-ev { color:var(--muted); }
html[data-theme=dark] .ord-tpl-r { color:var(--ink2); }
html[data-theme=dark] .ord-eff-t td.ok { color:#9cd9b0; }
html[data-theme=dark] .ord-eff-t td.late { color:#edd896; }
html[data-theme=dark] .ord-eff-t td.over { color:#e8817b; }
html[data-theme=dark] .ord-eff-t tr.tot td { border-top-color:var(--line); }
html[data-theme=dark] .ord-pct-b { background-color:#2c2e33; }
html[data-theme=dark] .ord-pct-b i.g { background-color:#5abc80; }
html[data-theme=dark] .ord-pct-b i.y { background-color:#d7b856; }
html[data-theme=dark] .ord-pct-b i.r { background-color:#d65e52; }
html[data-theme=dark] .od1-back { color:var(--muted); }
html[data-theme=dark] .od1-back:hover { color:var(--ink); }
html[data-theme=dark] .od1-no { color:var(--muted); }
html[data-theme=dark] .od-tag { background-color:#292b30; color:var(--ink2); }
html[data-theme=dark] .od1-text { color:var(--ink2); }
html[data-theme=dark] .od1-meta dt { color:var(--muted); }
html[data-theme=dark] .od-late { color:#edd896; }
html[data-theme=dark] .od-prog { background-color:#2c2e33; }
html[data-theme=dark] .od-prog i { background-color:#bbbdbf; }
html[data-theme=dark] .od-cli { color:var(--ink); }
html[data-theme=dark] .od-cli.d > span { color:var(--muted); }
html[data-theme=dark] .od-res { border-color:var(--line); border-left-color:#503ebb; background-color:var(--soft); }
html[data-theme=dark] .od-res.d-accept { border-left-color:#5abc80; }
html[data-theme=dark] .od-res.d-return { border-left-color:#d65e52; }
html[data-theme=dark] .od-res-h small { color:var(--muted); }
html[data-theme=dark] .od-res-d.d-accept { color:#9cd9b0; }
html[data-theme=dark] .od-res-d.d-return { color:#e8817b; }
html[data-theme=dark] .od-res-d.d-wait { color:#7666de; }
html[data-theme=dark] .od-rf { background-color:#35383d; color:var(--ink2); }
html[data-theme=dark] .od-rf.k-doc { background-color:#242a33; border-color:var(--line); }
html[data-theme=dark] .od-rf-play { background-color:rgba(0,0,0,0.45); color:#2c2d30; }
html[data-theme=dark] .od-chk { background-color:#223f2c; color:#9cd9b0; }
html[data-theme=dark] .od-chk.l-warn { background-color:#4f4420; color:#eeda9c; }
html[data-theme=dark] .od-chk.l-bad { background-color:#421f1b; color:#e8817b; }
html[data-theme=dark] .od-res-c.d-return span { color:#e8817b; }
html[data-theme=dark] .od-gi { border-color:var(--line); background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .od1-log time { color:var(--muted); }
html[data-theme=dark] .od-viewer { background-color:rgba(12,12,12,0.94); color:#2c2d30; }
html[data-theme=dark] .od-v-cap > span { color:#505257; }
html[data-theme=dark] .od-v-x,
html[data-theme=dark] .od-v-p,
html[data-theme=dark] .od-v-n { background-color:rgba(255,255,255,0.07); color:#2c2d30; }
html[data-theme=dark] .od-h { border-bottom-color:var(--line); background-color:#1b1d1f; }
html[data-theme=dark] .od-ic { background-color:#2e3035; color:#b3b5b8; }
html[data-theme=dark] .od-ht small { color:var(--muted); }
html[data-theme=dark] .od-l { color:var(--ink2); }
html[data-theme=dark] .od-l em { color:var(--err); }
html[data-theme=dark] .od-ctx { border-left-color:#5f646e; background-color:var(--soft); }
html[data-theme=dark] .od-ctx small { color:var(--muted); }
html[data-theme=dark] .od-to { border-color:#464950; background-color:#1b1d1f; }
html[data-theme=dark] .od-chip { background-color:#2c2e33; }
html[data-theme=dark] .od-chip small { color:var(--muted); }
html[data-theme=dark] .od-chip.k-r { background-color:#212e3d; }
html[data-theme=dark] .od-chip button { background:none; color:var(--muted); }
html[data-theme=dark] .od-add { border-color:#595e67; background:none; }
html[data-theme=dark] .od-pick { box-shadow:0 18px 40px rgba(0,0,0,0.396); }
html[data-theme=dark] .od-ph { color:var(--muted); }
html[data-theme=dark] .od-pi { background:none; }
html[data-theme=dark] .od-pi:hover { background-color:var(--soft); }
html[data-theme=dark] .od-pi.on { background-color:#2c2e33; }
html[data-theme=dark] .od-ck { border-color:#757a86; }
html[data-theme=dark] .od-pi.on .od-ck { background-color:var(--dark); border-color:var(--dark); }
html[data-theme=dark] .od-pi.on .od-ck::after { border-color:#1b1d1f; }
html[data-theme=dark] .od-pt small { color:var(--muted); }
html[data-theme=dark] .od-warn { background-color:#4f4420; color:#eeda9c; }
html[data-theme=dark] .od-rad { color:var(--ink); }
html[data-theme=dark] .od-rad input { accent-color:var(--dark); }
html[data-theme=dark] .od-ib { border-color:#757a86; }
html[data-theme=dark] .od-rep { background-color:var(--soft); }
html[data-theme=dark] .od-wdi span { border-color:#464950; background-color:#1b1d1f; }
html[data-theme=dark] .od-wdi input:checked + span { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .od-wdi input:focus-visible + span { outline-color:#999b9f; }
html[data-theme=dark] .od-err { background-color:#421f1b; color:#e8817b; }
html[data-theme=dark] .od-needline { background-color:var(--soft); }
html[data-theme=dark] .od-needline.n-photo,
html[data-theme=dark] .od-needline.n-doc { background-color:#4f4420; }
html[data-theme=dark] .od-ret { color:#e8817b; }
html[data-theme=dark] .od-ft { border-color:var(--line); background-color:#1b1d1f; }
html[data-theme=dark] .od-ft.ok { border-color:#346443; }
html[data-theme=dark] .od-ft.bad { border-color:#6e342d; }
html[data-theme=dark] .od-ft-pic { background:#303237 center / cover no-repeat; color:var(--ink2); }
html[data-theme=dark] .od-ft-st { color:var(--muted); }
html[data-theme=dark] .od-ft.bad .od-ft-st { color:#e8817b; }
html[data-theme=dark] .od-ft-p { background-color:#2c2e33; }
html[data-theme=dark] .od-ft-bar { background-color:#bbbdbf; }
html[data-theme=dark] .odlg.drop { outline-color:#757a86; }
html[data-theme=dark] .msg-ord { color:var(--ink); }
html[data-theme=dark] .msg-ord:hover { background-color:var(--soft); }
html[data-theme=dark] .ch-ord { border-color:var(--ch-line); border-left-color:#757b87; background-color:var(--card); color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,0.11), 0 8px 18px -12px rgba(0,0,0,0.44); }
html[data-theme=dark] .ch-ord.s-new { border-left-color:#3b7acb; }
html[data-theme=dark] .ch-ord.s-work { border-left-color:#d7b856; }
html[data-theme=dark] .ch-ord.s-rework { border-left-color:#d98d5c; }
html[data-theme=dark] .ch-ord.s-check { border-left-color:#503ebb; }
html[data-theme=dark] .ch-ord.s-done { border-left-color:#5abc80; }
html[data-theme=dark] .ch-ord.s-cancel { border-left-color:#4f535b; }
html[data-theme=dark] .ch-ord.s-over { border-left-color:#d65e52; }
html[data-theme=dark] .ch-ord-ic { background-color:var(--ch-field); color:var(--ink2); }
html[data-theme=dark] .ch-ord-tt small { color:var(--muted); }
html[data-theme=dark] .ch-ord-to { color:var(--ink2); }
html[data-theme=dark] .ch-ord-cl small { color:var(--muted); }
html[data-theme=dark] .ch-ord-res { background-color:var(--ch-field); }
html[data-theme=dark] .ch-ord-res.ok { background-color:#223f2c; color:#9cd9b0; }
html[data-theme=dark] .ch-ord-res.wait { background-color:#20193d; color:#8679d9; }
html[data-theme=dark] .ch-ord-res.ret { background-color:#48301d; color:#eaab85; }
html[data-theme=dark] .ch-ord-res.new { background-color:#1b2c42; color:#87aedf; }
html[data-theme=dark] .ch-ord-res.off { color:var(--muted); }
html[data-theme=dark] .ch-ores { border-left-color:#503ebb; background-color:var(--ch-quote); }
html[data-theme=dark] .ch-m.mine .ch-ores { background-color:var(--ch-mine-quote); }
html[data-theme=dark] .ch-ores.d-accept { border-left-color:#5abc80; }
html[data-theme=dark] .ch-ores.d-return { border-left-color:#d65e52; }
html[data-theme=dark] .ch-m.mine .ch-ores .ch-ord-ic { background-color:rgba(255,255,255,0.07); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-m.mine .ch-ores .ch-ord-tt small { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-ores-d.d-accept b { color:#92deb4; }
html[data-theme=dark] .ch-ores-d.d-return b { color:#e08177; }
html[data-theme=dark] .ch-ores-d.d-wait b { color:#7666de; }
html[data-theme=dark] .ch-m.mine .ch-ores-d.d-accept b { color:#257442; }
html[data-theme=dark] .ch-m.mine .ch-ores-d.d-return b { color:#6c1e13; }
html[data-theme=dark] .ch-m.mine .ch-ores-d.d-wait b { color:#22136c; }
html[data-theme=dark] .ch-ack-b { background-color:#4f4420; color:#eeda9c; }
html[data-theme=dark] .ch-ack-me { color:#92deb4; }
html[data-theme=dark] .ch-m.mine .ch-ack-me { color:#257442; }
html[data-theme=dark] .ch-ack-n { background-color:var(--ch-field); color:var(--ink2); }
html[data-theme=dark] .ch-m.mine .ch-ack-n { background-color:rgba(255,255,255,0.07); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-ack-bar { background-color:rgba(255,255,255,0.09); }
html[data-theme=dark] .ch-m.mine .ch-ack-bar { background-color:rgba(255,255,255,0.1); }
html[data-theme=dark] .ch-ack-bar i { background-color:#5abc80; }
html[data-theme=dark] .ch-ack-n.all { color:#92deb4; }
html[data-theme=dark] .ch-chan-foot small { color:var(--muted); }
html[data-theme=dark] .ch-chan-ic .ic { color:#cbb796; }
html[data-theme=dark] .ch-ackp { background-color:var(--ch-field); }
html[data-theme=dark] .ch-ackp small { color:var(--muted); }
html[data-theme=dark] .ch-ackp time { color:#92deb4; }
html[data-theme=dark] .push-row { border-top-color:var(--line); }
html[data-theme=dark] .push-ic .ic { color:var(--ink2); }
html[data-theme=dark] .push-row[data-k=on] .push-ic .ic { color:#9cd9b0; }
html[data-theme=dark] .push-t small { color:var(--muted); }
html[data-theme=dark] .ord-ring { color:#a6a8ad; }
html[data-theme=dark] .ord-ring .ordr-bg { stroke:#424347; }
html[data-theme=dark] .ord-ring .ordr-fg { stroke:#87aedf; }
html[data-theme=dark] .ord-ring.r-soon { color:#e7ba79; }
html[data-theme=dark] .ord-ring.r-soon .ordr-fg { stroke:#e6bf74; }
html[data-theme=dark] .ord-ring.r-over { color:#e08177; }
html[data-theme=dark] .ord-ring.r-over .ordr-fg { stroke:#e08177; }
html[data-theme=dark] .ord-ring.r-over .ordr-svg { animation:ordOverPulse-dk 2.4s ease-in-out infinite; }
html[data-theme=dark] .ord-ring.r-check { color:#3823bd; }
html[data-theme=dark] .ord-ring.r-check .ordr-fg { stroke:#3823bd; }
html[data-theme=dark] .ord-ring.r-done { color:#8ed1a8; }
html[data-theme=dark] .ord-ring.r-done .ordr-fg { stroke:#8ed1a8; }
html[data-theme=dark] .ord-ring.r-none .ordr-fg { stroke:transparent; }
@keyframes ordOverPulse-dk { 0%, 100% { filter:none; } 50% { filter:drop-shadow(0 0 3px rgba(214,85,72,0.65)); } }
html[data-theme=dark] .ord-esc { background-color:#3a1b18; color:#e38a81; }
html[data-theme=dark] .ord-it-pp { color:var(--muted); }
html[data-theme=dark] .od-cli-t { background:linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0 1.6px; }
html[data-theme=dark] .od-cli.d > .od-cli-t { color:var(--muted); }
html[data-theme=dark] .od-send.od-ready { box-shadow:0 0 0 3px rgba(83,185,122,0.3); }
html[data-theme=dark] .od1-h { border-left-color:transparent; }
html[data-theme=dark] .od1-h.s-new { border-left-color:#3b7acb; }
html[data-theme=dark] .od1-h.s-work { border-left-color:#d7b856; }
html[data-theme=dark] .od1-h.s-rework { border-left-color:#d98d5c; }
html[data-theme=dark] .od1-h.s-check { border-left-color:#503ebb; }
html[data-theme=dark] .od1-h.s-done { border-left-color:#5abc80; }
html[data-theme=dark] .od1-h.s-over { border-left-color:#d65e52; }
html[data-theme=dark] .od1-h.s-cancel { border-left-color:#4f535b; }
html[data-theme=dark] .od-ppl-k { color:var(--muted); }
html[data-theme=dark] .od-chip { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .od-chip.me { border-color:#5f646e; }
html[data-theme=dark] .od-chip-x { background:none; color:var(--muted); }
html[data-theme=dark] .od-chip-x:hover { background-color:var(--line); color:var(--ink); }
html[data-theme=dark] .od-upick { box-shadow:0 12px 32px rgba(0,0,0,0.352); }
html[data-theme=dark] .od-upick-i { background:none; color:var(--ink); }
html[data-theme=dark] .od-upick-i:hover,
html[data-theme=dark] .od-upick-i:focus-visible { background-color:var(--soft); }
html[data-theme=dark] .ord-vsw { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .ord-vb { background:none; color:var(--ink2); }
html[data-theme=dark] .ord-vb.on { background-color:#1b1d1f; color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.22); }
html[data-theme=dark] .okb-col { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .okb-h small { background-color:#1b1d1f; color:var(--ink2); }
html[data-theme=dark] .okb-card { border-color:var(--line); border-left-color:#4f535b; background-color:#1b1d1f; color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,0.11); }
html[data-theme=dark] .okb-card:hover { box-shadow:0 6px 18px rgba(0,0,0,0.198); }
html[data-theme=dark] .okb-card.s-new { border-left-color:#3b7acb; }
html[data-theme=dark] .okb-card.s-work { border-left-color:#d7b856; }
html[data-theme=dark] .okb-card.s-rework { border-left-color:#d98d5c; }
html[data-theme=dark] .okb-card.s-check { border-left-color:#503ebb; }
html[data-theme=dark] .okb-card.s-done { border-left-color:#5abc80; }
html[data-theme=dark] .okb-card.s-over { border-left-color:#d65e52; }
html[data-theme=dark] .okb-card.new { box-shadow:0 0 0 2px rgba(53,117,199,0.18); }
html[data-theme=dark] .okb-grip { color:#75787f; }
html[data-theme=dark] .okb-card:hover .okb-grip { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .okb-to { color:var(--ink2); }
html[data-theme=dark] .okb-cl small { color:var(--muted); }
html[data-theme=dark] .okb-col.can { box-shadow:inset 0 0 0 2px rgba(53,117,199,0.25); }
html[data-theme=dark] .okb-col.over { background-color:#19293d; box-shadow:inset 0 0 0 2px #3575c7; }
html[data-theme=dark] .okb-ghost { box-shadow:0 18px 40px rgba(0,0,0,0.484); }
html[data-theme=dark] .ord-rule-ic { background-color:#3a1b18; color:#e08177; }
html[data-theme=dark] .ord-rule-on { color:var(--ink2); }
html[data-theme=dark] .ord-rule-d dt { color:var(--muted); }
html[data-theme=dark] .ch-poll-ic { background-color:#1b2839; color:#87aedf; }
html[data-theme=dark] .ch-poll-tt small { color:var(--muted); }
html[data-theme=dark] .ch-po { border-color:var(--line); background-color:#1b1d1f; color:var(--ink); }
html[data-theme=dark] .ch-po:hover:not(:disabled) { border-color:#5f646e; }
html[data-theme=dark] .ch-po-bar i { background-color:#1c2939; }
html[data-theme=dark] .ch-po.top .ch-po-bar i { background-color:#1b2d42; }
html[data-theme=dark] .ch-po.me .ch-po-bar i { background-color:#1e3249; }
html[data-theme=dark] .ch-po-mk { border-color:#5f646e; background-color:#1b1d1f; }
html[data-theme=dark] .ch-po.me .ch-po-mk,
html[data-theme=dark] .ch-po.pick .ch-po-mk { border-color:#3b7acb; background-color:#3b7acb; box-shadow:inset 0 0 0 3px rgba(255,255,255,0.12); }
html[data-theme=dark] .ch-poll.multi .ch-po.me .ch-po-mk::after,
html[data-theme=dark] .ch-poll.multi .ch-po.pick .ch-po-mk::after { color:#2c2d30; }
html[data-theme=dark] .ch-po-n small { color:var(--muted); }
html[data-theme=dark] .ch-poll-f { color:var(--ink2); }
html[data-theme=dark] .ch-polld-l > span { color:var(--ink2); }
html[data-theme=dark] .ch-b:has(> .ch-vnote) { background-color:transparent; border-color:transparent; }
html[data-theme=dark] .ch-vnote { background-color:#383e47; }
html[data-theme=dark] .ch-vn-v { background-color:#383e47; }
html[data-theme=dark] .ch-vn-pr circle { stroke:transparent; }
html[data-theme=dark] .ch-vnote.play .ch-vn-pr circle { stroke:#2c2d30; filter:drop-shadow(0 0 2px rgba(0,0,0,0.7)); }
html[data-theme=dark] .ch-vn-play { background-color:rgba(0,0,0,0.45); }
html[data-theme=dark] .ch-vn-play::after { border-color:transparent transparent transparent #1b1d1f; }
html[data-theme=dark] .ch-vn-t { background-color:rgba(0,0,0,0.55); color:#2c2d30; }
html[data-theme=dark] .ch-vr { background-color:rgba(14,16,19,0.84); color:#2c2d30; }
html[data-theme=dark] .ch-vr-live { background-color:#ededee; }
html[data-theme=dark] .ch-vr-ring circle { stroke:rgba(44,45,48,0.2); }
html[data-theme=dark] .ch-vr.on .ch-vr-ring circle { stroke:#e2685c; }
html[data-theme=dark] .ch-vr-b { background-color:rgba(255,255,255,0.08); color:#2c2d30; }
html[data-theme=dark] .ch-vr-b:hover { background-color:rgba(255,255,255,0.13); }
html[data-theme=dark] .ch-vr-rec { border-color:#1b1d1f; background:none; }
html[data-theme=dark] .ch-vr-rec::after { background-color:#c3564a; }
html[data-theme=dark] .sk { background-image:linear-gradient(90deg, #313439 25%, #25272b 50%, #313439 75%); }
html[data-theme=dark] .sk-card .sk-it { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .mglide { background-color:var(--dark); }
html[data-theme=dark] .ch-tabs.chg-box button.on { background-color:transparent; }
html[data-theme=dark] .ch-tabs .mglide { background-color:var(--card); box-shadow:0 1px 3px rgba(0,0,0,0.22); }
html[data-theme=dark] .ord-tabs.chg-box .tab { background-color:transparent; box-shadow:inset 0 0 0 1px rgba(0,0,0,0.286); }
html[data-theme=dark] .ord-tabs.chg-box .tab.on { background-color:transparent; color:#2c2d30; }
html[data-theme=dark] .ord-vsw.chg-box .ord-vb.on { background-color:transparent; }
html[data-theme=dark] .ord-vsw .mglide { background-color:#1b1d1f; box-shadow:0 1px 3px rgba(0,0,0,0.22); }
html[data-theme=dark] .mchips > button { background-color:transparent; box-shadow:inset 0 0 0 1px rgba(0,0,0,0.308); color:var(--ink2); }
html[data-theme=dark] .mchips > button:hover { box-shadow:inset 0 0 0 1px rgba(0,0,0,0.616); }
html[data-theme=dark] .mchips > button.on { color:#2c2d30; }
html[data-theme=dark] .mchips:not(.chg-box) > button.on { background-color:var(--dark); }
html[data-theme=dark] .mchips .mglide { background-color:var(--dark); }
html[data-theme=dark] .mchips > button:focus-visible { outline-color:var(--ink); }
html[data-theme=dark] .msearch { background-color:#2f3136; color:var(--muted); }
html[data-theme=dark] .msearch input { background-color:transparent; color:var(--ink); }
html[data-theme=dark] .mempty-ic { background-color:#313439; color:#a8aaae; }
html[data-theme=dark] .mback { color:var(--ink2); }
html[data-theme=dark] .mback:hover { background-color:rgba(255,255,255,0.038); }
html[data-theme=dark] .mcl-day { color:var(--muted); }
html[data-theme=dark] .mcl-it { border-bottom-color:var(--line); }
html[data-theme=dark] .mcl-main { background:none; color:inherit; }
html[data-theme=dark] .mcl-main:hover { background-color:rgba(255,255,255,0.026); }
html[data-theme=dark] .mcl-t small { color:var(--muted); }
html[data-theme=dark] .mcl-it.miss .mcl-t b { color:#e08177; }
html[data-theme=dark] .mcl-dir.d-in { color:#9cd9b0; }
html[data-theme=dark] .mcl-dir.d-out { color:#99a8be; }
html[data-theme=dark] .mcl-dir.d-miss { color:#e08177; }
html[data-theme=dark] .mcl-at { color:var(--muted); }
html[data-theme=dark] .mcl-it.live .mcl-t small { color:#9cd9b0; }
html[data-theme=dark] .mcl-i { color:#a8aaae; }
html[data-theme=dark] .mcl-i:hover { background-color:rgba(255,255,255,0.038); }
html[data-theme=dark] .pe-row { border-bottom-color:var(--line); color:inherit; }
html[data-theme=dark] .pe-row:hover { background-color:rgba(255,255,255,0.026); }
html[data-theme=dark] .pe-t small { color:var(--muted); }
html[data-theme=dark] .pe-seen.on { color:#9cd9b0; }
html[data-theme=dark] .pe-shift { background-color:#21422d; color:#a4d7b7; }
html[data-theme=dark] .pe-b { background-color:#2c2e33; color:#c0c2c5; }
html[data-theme=dark] .pe-b:hover { background-color:#37393f; }
html[data-theme=dark] .pe-av { color:#2c2d30; background-image:linear-gradient(135deg, #577396, #7c90ac); box-shadow:0 8px 24px rgba(0,0,0,0.264); }
html[data-theme=dark] .pe-av.ph { color:transparent; }
html[data-theme=dark] .pe-av.ring { box-shadow:0 0 0 4px var(--bg), 0 0 0 7px #63be85, 0 8px 24px rgba(0,0,0,0.264); }
html[data-theme=dark] .pe-av .ch-on { box-shadow:0 0 0 3px var(--bg); }
html[data-theme=dark] .pe-role { color:var(--ink2); }
html[data-theme=dark] .pe-st { color:var(--muted); }
html[data-theme=dark] .pe-st.on { color:#9cd9b0; }
html[data-theme=dark] .pe-bb { background-color:var(--card); box-shadow:var(--shadow); color:var(--ink); }
html[data-theme=dark] .pe-bb .ic { color:#b5b7bb; }
html[data-theme=dark] .pe-sec { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .pe-r { border-bottom-color:var(--line); }
html[data-theme=dark] .pe-r span { color:var(--muted); }
html[data-theme=dark] .pe-pct span { color:var(--muted); }
html[data-theme=dark] .pe-bar { background-color:#2c2e33; }
html[data-theme=dark] .pe-bar i { background-image:linear-gradient(90deg, #5bae79, #40a662); }
html[data-theme=dark] .pe-nums span { background-color:var(--soft); color:var(--muted); }
html[data-theme=dark] .pe-nums b { color:var(--ink); }
html[data-theme=dark] .pe-nums .ok b { color:#9cd9b0; }
html[data-theme=dark] .pe-nums .late b { color:#ebcf90; }
html[data-theme=dark] .pe-nums .over b { color:#e08177; }
html[data-theme=dark] .cal-arr { background-color:#2f3136; }
html[data-theme=dark] .cal-arr:hover { background-color:#383b41; }
html[data-theme=dark] .cal-wd span { color:var(--muted); }
html[data-theme=dark] .cal-wd .we { color:#c38c84; }
html[data-theme=dark] .cal-c { background-color:transparent; color:var(--ink); }
html[data-theme=dark] .cal-c:hover { background-color:rgba(255,255,255,0.034); }
html[data-theme=dark] .cal-c.out { color:#63666c; }
html[data-theme=dark] .cal-c.we .cal-n { color:#c38c84; }
html[data-theme=dark] .cal-c.out.we .cal-n { color:#63352e; }
html[data-theme=dark] .cal-c.today .cal-n { box-shadow:inset 0 0 0 2px var(--dark); }
html[data-theme=dark] .cal-c.sel .cal-n { background-color:var(--dark); color:#2c2d30 !important; }
html[data-theme=dark] .cal-dots i,
html[data-theme=dark] .cal-ev::before { background-color:#83868a; }
html[data-theme=dark] .cal-dots small { color:var(--muted); }
html[data-theme=dark] .cd-ord { background:#759bc7 !important; }
html[data-theme=dark] .cd-rep { background:#5e45ac !important; }
html[data-theme=dark] .cd-rot { background:#41c5b4 !important; }
html[data-theme=dark] .cd-lrr { background:#d6a652 !important; }
html[data-theme=dark] .cd-doc { background:#8d9094 !important; }
html[data-theme=dark] .cd-over { background:#da6c62 !important; }
html[data-theme=dark] .cal-dh small { color:var(--muted); }
html[data-theme=dark] .cal-ev { background-color:var(--card); box-shadow:var(--shadow); color:inherit; }
html[data-theme=dark] .cal-ev.k-ord::before { background-color:#759bc7; }
html[data-theme=dark] .cal-ev.k-rep::before { background-color:#5e45ac; }
html[data-theme=dark] .cal-ev.k-rot::before { background-color:#41c5b4; }
html[data-theme=dark] .cal-ev.k-lrr::before { background-color:#d6a652; }
html[data-theme=dark] .cal-ev.k-doc::before { background-color:#8d9094; }
html[data-theme=dark] .cal-ev.s-over::before { background-color:#da6c62; }
html[data-theme=dark] .cal-ev:hover { box-shadow:0 2px 4px rgba(0,0,0,0.132), 0 10px 22px rgba(0,0,0,0.154); }
html[data-theme=dark] .cal-ev-tm { color:var(--muted); }
html[data-theme=dark] .cal-ev-b small { color:var(--muted); }
html[data-theme=dark] .cal-ev-st { background-color:#272c34; color:#b8b9bd; }
html[data-theme=dark] .cal-ev-st.s-over { background-color:#3f1f1a; color:#e98980; }
html[data-theme=dark] .cal-ev-st.s-done { background-color:#21422d; color:#a4d7b7; }
html[data-theme=dark] .cal-ev-st.s-soon { background-color:#42341b; color:#edce96; }
html[data-theme=dark] .mm-me { background-color:var(--card); box-shadow:var(--shadow); color:inherit; }
html[data-theme=dark] .mm-av { color:#2c2d30; background-image:linear-gradient(135deg, #577396, #7c90ac); }
html[data-theme=dark] .mm-me-t small { color:var(--muted); }
html[data-theme=dark] .mm-me-t em { color:#7fa2cb; }
html[data-theme=dark] .mm-chev { color:#75787f; }
html[data-theme=dark] .mm-q { background-color:var(--card); box-shadow:var(--shadow); color:var(--ink); }
html[data-theme=dark] .mm-q .ic { color:#b5b7bb; }
html[data-theme=dark] .mm-qn { background-color:#da6961; color:#fff; }
html[data-theme=dark] .mm-g h2 { color:var(--muted); }
html[data-theme=dark] .mm-list { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .mm-list li + li .mm-it { border-top-color:var(--line); }
html[data-theme=dark] .mm-it { color:inherit; }
html[data-theme=dark] .mm-ic { background-image:linear-gradient(135deg, #565a62, #8f9195); color:#2c2d30; }
html[data-theme=dark] .mm-it-t small { color:var(--muted); }
html[data-theme=dark] .mm-out button { background-color:var(--card); box-shadow:var(--shadow); color:#e8817b; }
html[data-theme=dark] .mm-ver { color:var(--muted); }
html[data-theme=dark] .msh { background-color:rgba(255,255,255,0); }
html[data-theme=dark] .msh.show { background-color:rgba(20,20,20,0.36); }
html[data-theme=dark] .msh-in { background-color:var(--card); box-shadow:0 20px 60px rgba(0,0,0,0.616); }
html[data-theme=dark] .msh-grip { background-color:#45484f; }
html[data-theme=dark] .msh-x { background-color:#2a2c31; }
html[data-theme=dark] .msh-q { background-color:#2c2e33; color:var(--muted); }
html[data-theme=dark] .msh-q input { background-color:transparent; }
html[data-theme=dark] .msh-it:hover,
html[data-theme=dark] .msh-it:focus-visible { background-color:rgba(255,255,255,0.038); }
html[data-theme=dark] .msh-t small { color:var(--muted); }
html[data-theme=dark] .msh-v { background-color:#2c2e33; color:#c0c2c5; }
html[data-theme=dark] .phx { background-color:rgba(255,255,255,0); }
html[data-theme=dark] .phx.show { background-color:rgba(16,16,16,0.55); }
html[data-theme=dark] .phx-in { background-color:var(--card); box-shadow:0 24px 70px rgba(0,0,0,0.7); }
html[data-theme=dark] .phx-hic { background-image:linear-gradient(135deg, #565a62, #8f9195); color:#2c2d30; }
html[data-theme=dark] .phx-ht small { color:var(--muted); }
html[data-theme=dark] .phx-stage { background-color:#e0e0e2; }
html[data-theme=dark] .phx-stage:focus-visible { box-shadow:0 0 0 3px #a5a9ae; }
html[data-theme=dark] .phx-empty { color:#3d3f42; }
html[data-theme=dark] .phx-empty small { color:#62656a; }
html[data-theme=dark] .phx-pv { color:var(--muted); }
html[data-theme=dark] .phx-pv canvas { box-shadow:0 2px 8px rgba(0,0,0,0.33); }
html[data-theme=dark] .u-ph { background-image:linear-gradient(135deg, #577396, #7c90ac); color:#2c2d30; }
html[data-theme=dark] .u-ph:hover { box-shadow:0 0 0 3px rgba(0,0,0,0.264); }
html[data-theme=dark] .acc-role { background-color:var(--card); box-shadow:var(--shadow); color:var(--ink); }
html[data-theme=dark] .acc-role small { background-color:#2c2e33; color:var(--muted); }
html[data-theme=dark] .acc-role.on { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .acc-role.on small { background-color:rgba(255,255,255,0.1); color:#2c2d30; }
html[data-theme=dark] .acc-add { background-color:transparent; box-shadow:inset 0 0 0 1px rgba(0,0,0,0.396); color:var(--ink2); }
html[data-theme=dark] .acc-name { color:var(--muted); }
html[data-theme=dark] .acc-name input { color:var(--ink); }
html[data-theme=dark] .acc-state { color:#9cd9b0; }
html[data-theme=dark] .acc-state.dirty { color:#ebcf90; }
html[data-theme=dark] .acc-note { background-color:#41391d; color:#e4d59f; }
html[data-theme=dark] .acc-gh { color:var(--muted); }
html[data-theme=dark] .acc-s { background-color:var(--soft); box-shadow:inset 0 0 0 1px var(--line); }
html[data-theme=dark] .acc-s.on { background-color:var(--card); box-shadow:inset 0 0 0 1px #b2b2b2, 0 2px 8px rgba(0,0,0,0.088); }
html[data-theme=dark] .acc-s.diff { box-shadow:inset 0 0 0 1.5px #dbb848, 0 2px 8px rgba(0,0,0,0.088); }
html[data-theme=dark] .acc-ic { background-color:#3e4147; color:#2c2d30; }
html[data-theme=dark] .acc-s.on .acc-ic { background-image:linear-gradient(135deg, #828489, #c5c6c9); }
html[data-theme=dark] .acc-st small { color:var(--muted); }
html[data-theme=dark] .acc-sum { color:#99a8be; }
html[data-theme=dark] .acc-s:not(.on) .acc-sum { color:#75787f; }
html[data-theme=dark] .acc-mark { background-color:#544b22; color:#eedb9c; }
html[data-theme=dark] .acc-sw input:checked + .msw-track { background-color:#40a662; }
html[data-theme=dark] .acc-sw input:focus-visible + .msw-track { outline-color:var(--ink); }
html[data-theme=dark] .acc-lv { background-color:#2c2e33; }
html[data-theme=dark] .acc-lvb { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .acc-lvb.on { background-color:#1b1d1f; color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.264); }
html[data-theme=dark] .acc-o.dis { color:#7a7d84; }
html[data-theme=dark] .acc-panel.dirty [data-acc-save] { animation:accPulse-dk 1.6s ease-in-out infinite; }
@keyframes accPulse-dk { 0%, 100% { box-shadow:0 0 0 0 rgba(0,0,0,0); } 50% { box-shadow:0 0 0 5px rgba(0,0,0,0.264); } }
html[data-theme=dark] .od-astpl-p { background-color:var(--soft); box-shadow:inset 0 0 0 1px var(--line); }
html[data-theme=dark] .od-astpl-n { color:var(--muted); }
html[data-theme=dark] .ch-it.typing .ch-it-l { color:transparent !important; }
html[data-theme=dark] .ch-lty { color:#93dab2; }
@media (max-width:760px), (pointer:coarse) and (max-height:520px) and (max-width:1000px) {
html[data-theme=dark] .mbar { border-top-color:rgba(255,255,255,0.053); background-color:rgba(32,33,36,0.86); }
html[data-theme=dark] .mbar-pill { background-color:rgba(255,255,255,0.049); }
html[data-theme=dark] .mbar-i { color:#9fa1a6; }
html[data-theme=dark] .mbar-i.on { color:var(--ink); }
html[data-theme=dark] .mbar-n { background-color:#c8c9cb; color:#2c2d30; box-shadow:0 0 0 2px rgba(255,255,255,0.114); }
html[data-theme=dark] .mbar-n.red { background-color:#da6961; }
html[data-theme=dark] .mfab-b { color:#2c2d30; background-image:linear-gradient(140deg, #c8c9cb, #40454e); box-shadow:0 6px 18px rgba(0,0,0,0.616), 0 1px 3px rgba(0,0,0,0.44); }
html[data-theme=dark] .mfab.open .mfab-b { background-image:linear-gradient(140deg, #a1a2a6, #d3d3d5); }
html[data-theme=dark] .mfab-it { background:none; color:var(--ink); }
html[data-theme=dark] .mfab-t { background-color:var(--card); box-shadow:0 4px 14px rgba(0,0,0,0.352); }
html[data-theme=dark] .mfab-ic { background-color:var(--card); box-shadow:0 4px 14px rgba(0,0,0,0.396); color:#c4c6c9; }
html[data-theme=dark] .mfab-shade { background-color:rgba(255,255,255,0); }
html[data-theme=dark] .mfab-shade.show { background-color:rgba(255,255,255,0.115); }
html[data-theme=dark] .mhead { background-color:rgba(35,37,41,0.86); border-bottom-color:rgba(255,255,255,0.053); }
html[data-theme=dark] .main-chat .ch-side { background-color:var(--bg); }
}
html[data-theme=dark] .lift-shade { background-color:rgba(255,255,255,0); }
html[data-theme=dark] .lift.on .lift-shade { background-color:rgba(255,255,255,0.096); }
html[data-theme=dark] .lift.off .lift-shade { background-color:rgba(255,255,255,0); }
html[data-theme=dark] .lift-card { background:var(--card) !important; box-shadow:0 18px 44px rgba(0,0,0,0.44), 0 2px 6px rgba(0,0,0,0.176); }
html[data-theme=dark] .lift-sheet { background-color:var(--card); box-shadow:0 -10px 30px rgba(0,0,0,0.308); }
html[data-theme=dark] .lift-grip { background-color:rgba(255,255,255,0.12); }
html[data-theme=dark] .lift-a { background:none; color:var(--ink); }
html[data-theme=dark] .lift-a:active,
html[data-theme=dark] .lift-a:focus-visible { background-color:var(--soft); }
html[data-theme=dark] .lift-ic { background-color:#272c34; color:#b7b9bc; }
html[data-theme=dark] .ch-top { color:var(--muted); }
html[data-theme=dark] .ch-top svg { stroke:currentColor; }
html[data-theme=dark] .ord-ring.fx-acc .ordr-fg { stroke:#89dcb0 !important; }
html[data-theme=dark] .ord-ring.fx-acc { color:#89dcb0; }
html[data-theme=dark] .ord-ring .ordr-halo { border-color:#58c78a; }
html[data-theme=dark] .ch-rec-p svg { fill:currentColor; }
html[data-theme=dark] .ch-rec.paused .ch-rec-dot { background-color:#6e747f; }
html[data-theme=dark] .ch-rec.paused .ch-rec-t::after { color:var(--muted); }
@keyframes vpRing-dk { 0% { box-shadow:0 0 0 0 rgba(147,152,158,0.38); } 100% { box-shadow:0 0 0 9px rgba(147,152,158,0); } }
html[data-theme=dark] .ch-voice.run .ch-vp { animation:vpRing-dk 1.5s ease-out infinite; }
html[data-theme=dark] .ch-vr-b.vr-p svg { fill:currentColor; }
html[data-theme=dark] .ch-vr.paused .ch-vr-ring circle { stroke:#74777e; }
html[data-theme=dark] .splash { background-image:radial-gradient(120% 80% at 50% 38%, #1b1d1f 0%, #292b30 55%, #3a3d43 100%); }
html[data-theme=dark] .sp-in b { color:#95989e; }
html[data-theme=dark] .dv-back { color:var(--muted); }
html[data-theme=dark] .dv-g h2 { color:var(--muted); }
html[data-theme=dark] .dv-n { background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .dv-list,
html[data-theme=dark] .dv-hist { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .dv-it + .dv-it,
html[data-theme=dark] .dv-h + .dv-h { border-top-color:var(--line); }
html[data-theme=dark] .dv-ic { background-color:var(--soft); color:#b7b9bc; }
html[data-theme=dark] .dv-it.cur .dv-ic { background-color:#1f4330; color:#93dab2; }
html[data-theme=dark] .dv-b small { color:var(--muted); }
html[data-theme=dark] .dv-cur { background-color:#1f4330; color:#9cd9b6; }
html[data-theme=dark] .dv-hd { background-color:var(--soft); color:#a6a9ad; }
html[data-theme=dark] .dv-h.k-fail .dv-hd { background-color:#3d1d19; color:#e08177; }
html[data-theme=dark] .dv-h.k-fail .dv-b b { color:#e8817b; }
html[data-theme=dark] .dv-h.live .dv-st { color:#9cd9b6; }
html[data-theme=dark] .dv-new { background-color:#4f4420; color:#ecd794; }
html[data-theme=dark] .dv-tip { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .dv-tip .ic { color:#a6a9ad; }
@media (pointer:coarse) and (min-width:761px) and (max-width:1366px) and (min-height:521px) {
html[data-theme=dark] .mbar { border-right-color:rgba(255,255,255,0.053); background-color:rgba(32,33,36,0.9); }
html[data-theme=dark] .mbar-pill { background-color:rgba(255,255,255,0.049); }
html[data-theme=dark] .mbar-i { color:#9fa1a6; }
html[data-theme=dark] .mbar-i.on { color:var(--ink); }
html[data-theme=dark] .mbar-n { background-color:#c8c9cb; color:#2c2d30; box-shadow:0 0 0 2px rgba(255,255,255,0.12); }
html[data-theme=dark] .mbar-n.red { background-color:#da6961; }
html[data-theme=dark] .mfab-b { color:#2c2d30; background-image:linear-gradient(140deg, #c8c9cb, #40454e); box-shadow:0 6px 18px rgba(0,0,0,0.616), 0 1px 3px rgba(0,0,0,0.44); }
html[data-theme=dark] .mfab.open .mfab-b { background-image:linear-gradient(140deg, #a1a2a6, #d3d3d5); }
html[data-theme=dark] .mfab-it { background:none; color:var(--ink); }
html[data-theme=dark] .mfab-t { background-color:var(--card); box-shadow:0 4px 14px rgba(0,0,0,0.352); }
html[data-theme=dark] .mfab-ic { background-color:var(--card); box-shadow:0 4px 14px rgba(0,0,0,0.396); color:#c4c6c9; }
html[data-theme=dark] .mfab-shade { background-color:rgba(255,255,255,0); }
html[data-theme=dark] .mfab-shade.show { background-color:rgba(255,255,255,0.106); }
html[data-theme=dark] body.app .chat .ch-side { border-right-color:var(--ch-line); }
}
html[data-theme=dark] .ch-remc-h small { color:var(--muted); }
html[data-theme=dark] .ch-remc-ic { background-color:#46391c; }
html[data-theme=dark] .ch-rem-mk { background:none; }
html[data-theme=dark] .ch-tp-b { border-color:var(--line); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .ch-tp-b:hover,
html[data-theme=dark] .ch-tp-b:focus-visible { border-color:#4b4f56; background-color:var(--soft); }
html[data-theme=dark] .ch-tp-b small { color:var(--muted); }
html[data-theme=dark] .ch-tp-b.danger { color:var(--err); }
html[data-theme=dark] .ch-sched { border-color:#4a4e55; background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .ch-sched small { color:var(--muted); }
html[data-theme=dark] .ch-scl-it { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .ch-scl-t span { color:var(--ink2); }
html[data-theme=dark] .ch-it.sw { background:var(--sw-bg, var(--card)); box-shadow:0 2px 10px rgba(0,0,0,0.176); }
html[data-theme=dark] .ch-swa > span { color:#2c2d30; }
html[data-theme=dark] .ch-swa-l { background-color:#7a9a86; }
html[data-theme=dark] .ch-swa-r { background-color:#a1a2a6; }
html[data-theme=dark] .ch-swa[data-hit=l] .ch-swa-l { background-color:#40a66c; }
html[data-theme=dark] .ch-swa[data-hit=r] .ch-swa-r { background-color:#d1d2d4; }
html[data-theme=dark] .ch-swa > span.off { background-color:#666c76; }
html[data-theme=dark] .ch-swa i svg { stroke:currentColor; }
html[data-theme=dark] .ch-rds .ch-pp small { color:var(--muted); }
html[data-theme=dark] .ch-net { background-color:#3f321a; color:#edd49b; }
html[data-theme=dark] .ch-net small { color:#ecd794; }
html[data-theme=dark] .ch-net-dot { background-color:#d6af52; }
html[data-theme=dark] .ord-rep-r label span { color:var(--muted); }
html[data-theme=dark] .orp-f label span { color:var(--muted); }
html[data-theme=dark] .orp-h p { color:var(--ink2); }
html[data-theme=dark] .orp-sum > div { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .orp-sum span { color:var(--muted); }
html[data-theme=dark] .orp-sum .ok b { color:#9cd9b6; }
html[data-theme=dark] .orp-sum .late b { color:#ebcf90; }
html[data-theme=dark] .orp-sum .over b { color:#e8817b; }
html[data-theme=dark] .orp-t td.ok { color:#9cd9b6; }
html[data-theme=dark] .orp-t td.late { color:#ebcf90; }
html[data-theme=dark] .orp-t td.over { color:#e8817b; }
html[data-theme=dark] .orp-t tr.tot td { border-top-color:var(--line); }
html[data-theme=dark] .orp-i tr.st-over td:last-child { color:#e8817b; }
html[data-theme=dark] .orp-i tr.st-late td:last-child { color:#ebcf90; }
html[data-theme=dark] .orp-i tr.st-ok td:last-child { color:#9cd9b6; }
html[data-theme=dark] .orp-i tr.st-cancel td { color:var(--muted); }
@media print {
html[data-theme=dark] .orp-sum > div { border-color:#484c53; }
}
html[data-theme=dark] .dv-alert { border-color:#705a2e; background-color:#3a3018; }
html[data-theme=dark] .dv-alert.done { border-color:var(--line); background-color:var(--soft); }
html[data-theme=dark] .dv-alert-ic { background-color:#5c4b26; color:#ecd794; }
html[data-theme=dark] .dv-alert-b span { color:var(--ink2); }
html[data-theme=dark] .dv-alert-b small { color:var(--muted); }
html[data-theme=dark] .dv-new.nd { background-color:#1a293f; color:#94add1; }
html[data-theme=dark] .dv-new.nd.deny { background-color:#3d1d19; color:#e8817b; }
html[data-theme=dark] .dva-dev { background-color:var(--soft); }
html[data-theme=dark] .dva-ok { color:#9cd9b6; }
html[data-theme=dark] .mch::before { background-color:var(--line); }
html[data-theme=dark] .mch-dot { background-color:var(--card); border-color:#6f7580; box-shadow:0 0 0 3px var(--card); }
html[data-theme=dark] .mch-h time { color:var(--muted); }
html[data-theme=dark] .mch-who { color:var(--muted); }
html[data-theme=dark] .mch-t { color:var(--ink2); }
html[data-theme=dark] .mch-i.k-new .mch-dot { border-color:#657386; background-color:#657386; }
html[data-theme=dark] .mch-i.k-add .mch-dot { border-color:#9d9fa3; }
html[data-theme=dark] .mch-i.k-ack .mch-dot,
html[data-theme=dark] .mch-i.k-orda .mch-dot { border-color:#40a66c; }
html[data-theme=dark] .mch-i.k-ask .mch-dot { border-color:#d4a348; }
html[data-theme=dark] .mch-i.k-media .mch-dot,
html[data-theme=dark] .mch-i.k-cmt .mch-dot { border-color:#5f646e; }
html[data-theme=dark] .mch-i.k-ord .mch-dot,
html[data-theme=dark] .mch-i.k-ordx .mch-dot { border-color:#7a8aa4; }
html[data-theme=dark] .mch-i.k-out { background-color:var(--soft); }
html[data-theme=dark] .mch-i.k-out .mch-dot { border-color:#35465e; background-color:#35465e; }
html[data-theme=dark] .mch-i.k-out .mch-t { color:var(--ink); }
html[data-theme=dark] .mch-out summary { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .scn { background-color:rgba(18,20,24,0.55); }
html[data-theme=dark] .scn-in { background-color:var(--card); box-shadow:0 24px 60px rgba(0,0,0,0.66); }
html[data-theme=dark] .scn-cnt { color:var(--muted); }
html[data-theme=dark] .scn-empty { border-color:var(--line); }
html[data-theme=dark] .scn-stage { background-color:#ededee; }
html[data-theme=dark] .scn-q polygon { fill:rgba(44,45,48,0.14); stroke:#2c2d30; filter:drop-shadow(0 0 2px rgba(0,0,0,0.7)); }
html[data-theme=dark] .scn-h { background-color:rgba(255,255,255,0.125); border-color:#1b1d1f; box-shadow:0 1px 6px rgba(0,0,0,0.7); }
html[data-theme=dark] .scn-h:focus-visible,
html[data-theme=dark] .scn-h.on { background-color:rgba(255,255,255,0.088); }
html[data-theme=dark] .scn-modes button[aria-checked=true] { background-color:#dfe0e1; border-color:#dfe0e1; color:#2c2d30; }
html[data-theme=dark] .scn-resb { background-color:var(--soft); }
html[data-theme=dark] .scn-res { box-shadow:0 2px 12px rgba(0,0,0,0.396); background-color:#1b1d1f; }
html[data-theme=dark] .scn-pg img { border-color:var(--line); background-color:#1b1d1f; }
html[data-theme=dark] .scn-pg small { color:var(--muted); }
html[data-theme=dark] .scn-name span { color:var(--muted); }
html[data-theme=dark] .off-bar { background-color:#d3d3d5; color:#2c2d30; box-shadow:0 8px 24px rgba(0,0,0,0.484); }
html[data-theme=dark] .off-bar[data-st=back] { background-color:#40a66c; }
html[data-theme=dark] .off-bar button { background-color:#1b1d1f; color:#dddee0; }
html[data-theme=dark] .chup-th[data-k=doc]:empty::before { color:var(--muted); }
html[data-theme=dark] .es-lead { color:var(--ink2); }
html[data-theme=dark] .es-nav a { border-color:var(--line); background-color:var(--card); color:var(--ink); }
html[data-theme=dark] .es-nav a:hover { border-color:var(--brand); }
html[data-theme=dark] .es-n { background-color:#2c2e33; }
html[data-theme=dark] .es-cv { background-color:transparent; }
html[data-theme=dark] .es-prev .es-cv { background-color:var(--soft); }
html[data-theme=dark] .es-lstate { color:var(--muted); }
html[data-theme=dark] .es-colors legend { color:var(--ink2); }
html[data-theme=dark] .es-term { color:var(--ink2); }
html[data-theme=dark] .es-terms button.on { background-color:#dfe0e1; border-color:#dfe0e1; color:#2c2d30; }
html[data-theme=dark] .es-chip { background-color:#2c2e33; color:var(--ink2); }
html[data-theme=dark] .es-chip.st-ok { background-color:#1d462d; color:#9fe5be; }
html[data-theme=dark] .es-chip.st-wait { background-color:#1a283f; color:#8eb1e2; }
html[data-theme=dark] .es-chip.st-exp { background-color:#282a2e; color:#a1a3a8; }
html[data-theme=dark] .es-chip.st-rev { background-color:#41201b; color:#e78983; }
html[data-theme=dark] .es-r.st-rev td,
html[data-theme=dark] .es-r.st-exp td { color:var(--muted); }
html[data-theme=dark] .es-bad { color:#e78983; }
html[data-theme=dark] .es-good { color:#9fe5be; }
html[data-theme=dark] .es-rev summary { color:#e78983; }
html[data-theme=dark] .es-rev[open] { background-color:var(--soft); }
html[data-theme=dark] .es-how ul { color:var(--ink2); }
html[data-theme=dark] .es-res.lv-ok { border-color:#3d8557; }
html[data-theme=dark] .es-res.lv-bad { border-color:#6d342c; }
html[data-theme=dark] .es-verdict p { color:var(--ink2); }
html[data-theme=dark] .es-vi { background-color:#40a66c; }
html[data-theme=dark] .es-vi svg { stroke:#2c2d30; }
html[data-theme=dark] .lv-bad .es-vi { background-color:#d1453d; }
html[data-theme=dark] .es-checks li { background-color:var(--soft); }
html[data-theme=dark] .es-checks li::before { color:#fff; background-color:#40a66c; }
html[data-theme=dark] .es-checks li.no { background-color:#381b17; }
html[data-theme=dark] .es-checks li.no::before { background-color:#d1453d; }
html[data-theme=dark] .es-checks li.na::before { background-color:#85878c; }
html[data-theme=dark] .es-cert { background-color:var(--soft); border-left-color:#6f7580; }
html[data-theme=dark] .es-cert.lv-ok { border-left-color:#40a66c; }
html[data-theme=dark] .es-cert.lv-bad { border-left-color:#d1453d; }
html[data-theme=dark] .es-cert.lv-warn { border-left-color:#d4a348; }
html[data-theme=dark] .es-badge { background-color:#1d462d; color:#9fe5be; }
html[data-theme=dark] .es-badge:hover { background-color:#235436; }
html[data-theme=dark] .ch-doc-es { background-color:#1d462d; color:#9fe5be; }
html[data-theme=dark] .scn-stp { box-shadow:0 0 0 2px rgba(0,0,0,0), 0 6px 18px rgba(0,0,0,0.484); outline-color:rgba(43,43,43,0.55); }
html[data-theme=dark] .scn-stp.on,
html[data-theme=dark] .scn-stp:focus-visible { outline-color:#dfe0e1; box-shadow:0 10px 26px rgba(0,0,0,0.66); }
html[data-theme=dark] .scn-sg { border-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .scn-sg-pl button[aria-checked=true] { background-color:#dfe0e1; border-color:#dfe0e1; color:#2c2d30; }
html[data-theme=dark] .scn-sg-pw span { color:var(--muted); }
html[data-theme=dark] .scn-sg-i { color:var(--muted); }
html[data-theme=dark] .scn-f { background-color:var(--card); box-shadow:0 -10px 16px -14px rgba(0,0,0,0.55); }
html[data-theme=dark] .scn-stage.seek .scn-h { background-color:rgba(255,255,255,0.064); box-shadow:0 0 0 6px rgba(255,255,255,0.022); }
html[data-theme=dark] .scn-ghost { background-color:#1b1d1f; box-shadow:0 10px 30px rgba(0,0,0,0.7); }
html[data-theme=dark] .mch.anim.go .mch-i.k-out { animation:mchFlash-dk 1.5s ease-out calc(var(--d, 0ms) + 300ms) 1 both; }
@keyframes mchFlash-dk { 0% { box-shadow:0 0 0 0 rgba(168,168,168,0); } 28% { box-shadow:0 0 0 6px rgba(168,168,168,0.38); } 100% { box-shadow:0 0 0 14px rgba(168,168,168,0); } }
html[data-theme=dark] .ch-net.back { background-color:#1e412b; color:#a8e2c3; }
html[data-theme=dark] .ch-net.back small { color:#a4d7b9; }
html[data-theme=dark] .ch-net.back .ch-net-dot { background-color:#40a66c; }
html[data-theme=dark] .ptr { background-color:var(--card); box-shadow:0 4px 16px rgba(0,0,0,0.396); }
html[data-theme=dark] .ptr-bg { stroke:#3b3c40; }
html[data-theme=dark] .ptr-fg { stroke:#676a70; }
html[data-theme=dark] .ptr.ready .ptr-fg { stroke:#d6d7d9; }
html[data-theme=dark] .ptr.spin .ptr-fg { stroke:#d6d7d9; }
html[data-theme=dark] .ptr.done .ptr-fg { stroke:#9cd9b6; }
html[data-theme=dark] .cl-media { border-color:var(--line); }
html[data-theme=dark] .pvf-who { border-color:#333942; background-color:#22262e; color:var(--ink2); }
html[data-theme=dark] .pvf-who:hover { background-color:#282d37; border-color:#424853; }
html[data-theme=dark] .pvf-who:focus-visible { outline-color:var(--ink); }
html[data-theme=dark] .pvf-who small { color:var(--muted); }
html[data-theme=dark] .pvf-who-ch { color:var(--muted); }
html[data-theme=dark] .pvf-who.auto { background-color:transparent; }
html[data-theme=dark] .pvf-who.need { background-color:#463b1c; border-color:#c19b45; color:#efd8a2; box-shadow:0 0 0 3px rgba(231,196,118,0.14); }
html[data-theme=dark] .pvf-who.need:hover { background-color:#544622; }
html[data-theme=dark] .pvf-who.need .pvf-who-ch { color:#edd496; }
html[data-theme=dark] .pv-alert.pv-alert-who { background-color:#463b1c; color:#efd8a2; }
html[data-theme=dark] .pv-ac-full { color:var(--ink2); }
html[data-theme=dark] .pv-ac-b.reg { background-color:#272c34; color:#bbc0c8; }
html[data-theme=dark] .pv-ac-b.auto { background-color:#213f2b; color:#9fe5be; }
html[data-theme=dark] .pv-ac-it.cur { box-shadow:inset 3px 0 0 var(--ink); background-color:#1e232d; }
html[data-theme=dark] .pv-wm-clear { color:var(--muted); border-top-color:var(--line); }
html[data-theme=dark] .cv-unsure { background-color:#3b3218; border-color:#6e5c2d; }
html[data-theme=dark] .cv-unsure p { color:#f0dca8; }
html[data-theme=dark] .pvt-ns { color:var(--muted); }
html[data-theme=dark] .pvt-ns.unsure { color:#edca96; }
html[data-theme=dark] .pvl-ns { background-color:#1e232d; border-color:var(--line); }
html[data-theme=dark] .pvl-nsh { color:var(--muted); }
html[data-theme=dark] .pill.tfa-on { background-color:#1d462d; color:#9fe5be; }
html[data-theme=dark] .tfa-steps > li::marker { color:var(--muted); }
html[data-theme=dark] .tfa-qr { background-color:#1b1d1f; border-color:#34373c; box-shadow:0 1px 2px rgba(0,0,0,0.11); }
html[data-theme=dark] .tfa-key code { background-color:#22262e; }
html[data-theme=dark] .tfa-rc { background-color:#1e232d; border-color:#3d444d; }
html[data-theme=dark] .tfa-rc li::before { color:var(--muted); }
html[data-theme=dark] .tfa-devs li { background-color:#1e232d; }
html[data-theme=dark] .dg-line { color:var(--ink2); }
html[data-theme=dark] .dg-sec h2 .ic { color:var(--muted); }
html[data-theme=dark] .dg-cnt { background-color:#272c34; color:var(--ink2); }
html[data-theme=dark] .dg-sec.dg-bad .dg-cnt { background-color:#421f1b; color:#e78983; }
html[data-theme=dark] .dg-list li:hover { background-color:#20242d; }
html[data-theme=dark] .dg-list a { color:var(--ink); }
html[data-theme=dark] .dg-no { color:var(--muted); }
html[data-theme=dark] .dg-due { color:var(--muted); }
html[data-theme=dark] .dg-n { background-color:#272c34; }
html[data-theme=dark] .pill.dg-new { background-color:#1a283f; color:#8eb1e2; }
html[data-theme=dark] .dg-doc.st-over .dg-due { color:#e78983; }
html[data-theme=dark] .dg-doc.st-soon .dg-due { color:#edca96; }
html[data-theme=dark] .dg-hic { background-color:var(--acc-soft); color:var(--acc); }
@keyframes logoIn-dk { from { opacity:0; transform:translateY(8px) scale(.9); } to { opacity:1; transform:none; } }
html[data-theme=dark] .ch-b.ch-vnb { background:transparent !important; border-color:transparent !important; }
html[data-theme=dark] .ch-b.ch-vnb > .ch-meta { background-color:rgba(0,0,0,0.5); color:#2c2d30 !important; }
html[data-theme=dark] .ch-b.ch-vnb > :not(.ch-vnote):not(.ch-meta):not(.ch-rx):not(.ch-vnw):not(.ch-stt) { background-color:var(--ch-pill); color:var(--ch-pill-ink); }
html[data-theme=dark] .ch-hid:focus-visible { outline-color:var(--ch-acc2); }
html[data-theme=dark] .ch-hid:active { background-color:var(--ch-field); }
html[data-theme=dark] .ch-hacts .ch-call-b { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-menu button > .ic { color:var(--ch-acc); }
html[data-theme=dark] .ch-hs-n small { color:var(--muted); }
html[data-theme=dark] .ch-hs-n small.on { color:var(--ch-on); }
html[data-theme=dark] .ch-hs-q { border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-menu .ch-hs-q button { background-color:var(--ch-field); }
html[data-theme=dark] .ch-hs-qi { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-hs-q small { color:var(--ink2); }
html[data-theme=dark] .ch-hs-bd { background-color:rgba(15,18,22,0.38); }
html[data-theme=dark] .ch-menu.sheet::before { background-color:var(--ch-line); }
html[data-theme=dark] .ch-compose .ch-mic { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-compose .ch-att { color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-emo { color:var(--ch-acc2); }
html[data-theme=dark] .ch-emo.on { color:var(--ch-acc-ink); background-color:var(--ch-field); }
html[data-theme=dark] .ch-emop { border-color:var(--ch-line); background-color:var(--card); box-shadow:0 10px 26px rgba(0,0,0,0.264); }
html[data-theme=dark] .ch-emo-tabs { border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-emo-tabs button { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .ch-emo-tabs button.on { background-color:var(--ch-field); color:var(--ink); }
html[data-theme=dark] .ch-emo-b { background-color:transparent; }
html[data-theme=dark] .ch-emo-b:hover,
html[data-theme=dark] .ch-emo-b:focus-visible { background-color:var(--ch-field); }
html[data-theme=dark] .osh-bd { background-color:rgba(16,18,22,0.42); }
html[data-theme=dark] .osh { background-color:var(--card); color:var(--ink); box-shadow:0 24px 70px rgba(0,0,0,0.616); }
html[data-theme=dark] .osh.drop { outline-color:#454fa9; }
html[data-theme=dark] .osh-h { border-bottom-color:var(--line); }
html[data-theme=dark] .osh-hb { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .osh-hb:hover { background-color:var(--soft); }
html[data-theme=dark] .osh-f { border-top-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .osh-row { border-bottom-color:var(--line); background-color:transparent; color:var(--ink); }
html[data-theme=dark] .osh-row:hover { background-color:var(--soft); }
html[data-theme=dark] .osh-row:focus-visible { outline-color:#454fa9; }
html[data-theme=dark] .osh-row.static:hover { background-color:transparent; }
html[data-theme=dark] .osh-row.on { background-color:#171c39; }
html[data-theme=dark] .osh-row.danger .osh-rt b { color:var(--err); }
html[data-theme=dark] .osh-rt small { color:var(--muted); }
html[data-theme=dark] .osh-ck { border-color:#4c5058; color:#2c2d30; }
html[data-theme=dark] .osh-ck.on { background-color:#717bca; border-color:#717bca; }
html[data-theme=dark] .osh-lic { background-color:var(--soft); color:var(--ink2); }
html[data-theme=dark] .osh-row > .ic { color:var(--muted); }
html[data-theme=dark] .osh-qw { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .osh-qw .ic { color:var(--muted); }
html[data-theme=dark] .osh-q { background:transparent !important; }
html[data-theme=dark] .osh-sec { color:var(--muted); }
html[data-theme=dark] .osh-pk small { color:var(--ink2); }
html[data-theme=dark] .osh-pk-x { border-color:var(--card); background-color:#a1a3a6; color:#2c2d30; }
html[data-theme=dark] .osh-fld { color:var(--muted); }
html[data-theme=dark] .osh-fld input,
html[data-theme=dark] .osh-fld select,
html[data-theme=dark] .osh-fld textarea { color:var(--ink); }
html[data-theme=dark] .osh-add { background-color:transparent; color:#8089cf; }
html[data-theme=dark] .osh-cl-r { border-bottom-color:var(--line); }
html[data-theme=dark] .osh-cl-b { border-color:#4c5058; }
html[data-theme=dark] .osh-cl-r input { background:transparent !important; }
html[data-theme=dark] .osh-cl-x { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .osh-sw { border-bottom-color:var(--line); }
html[data-theme=dark] .osh-sw > span small { color:var(--muted); }
html[data-theme=dark] .osh-sw i { background-color:#42454c; }
html[data-theme=dark] .osh-sw i::after { background-color:#1b1d1f; box-shadow:0 1px 3px rgba(0,0,0,0.55); }
html[data-theme=dark] .osh-sw input:checked + i { background-color:#717bca; }
html[data-theme=dark] .osh-sw input:focus-visible + i { outline-color:#454fa9; }
html[data-theme=dark] .osh-seg,
html[data-theme=dark] .ord-seg { background-color:var(--soft); border-color:var(--line); }
html[data-theme=dark] .osh-seg button,
html[data-theme=dark] .ord-seg button { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .osh-seg button.on,
html[data-theme=dark] .ord-seg button.on { background-color:var(--card); color:var(--ink); box-shadow:0 1px 4px rgba(0,0,0,0.22); }
@media (max-width:760px), (pointer:coarse) and (max-height:520px) and (max-width:1000px) {
html[data-theme=dark] .osh,
html[data-theme=dark] .osh:not(.osh-new) { box-shadow:0 -10px 40px rgba(0,0,0,0.44); }
html[data-theme=dark] .osh-grab { background-color:#3f4249; }
}
html[data-theme=dark] .ont-ctx { border-left-color:#454fa9; background-color:var(--soft); }
html[data-theme=dark] .ont-ctx small { color:var(--muted); }
html[data-theme=dark] .ont-title,
html[data-theme=dark] .ont-text { background:transparent !important; color:var(--ink); }
html[data-theme=dark] .ont-text { color:var(--ink2); }
html[data-theme=dark] .ont-title::placeholder,
html[data-theme=dark] .ont-text::placeholder { color:#707379; }
html[data-theme=dark] .ont-hot { background-color:transparent; color:#62656a; }
html[data-theme=dark] .ont-hot.on { color:#e5986e; background-color:#3b2818; }
html[data-theme=dark] .ont-f { background-color:#2c3138; }
html[data-theme=dark] .ont-fp { color:#a6a9ad; }
html[data-theme=dark] .ont-fpr { background-color:rgba(255,255,255,0.096); }
html[data-theme=dark] .ont-fbar { background-color:#717bca; }
html[data-theme=dark] .ont-f.bad { outline-color:var(--err); }
html[data-theme=dark] .ont-fx { background-color:rgba(0,0,0,0.55); color:#2c2d30; }
html[data-theme=dark] .ont-chip { border-color:#3d4046; background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .ont-chip .ic { color:#9b9ea3; }
html[data-theme=dark] .ont-chip:hover { background-color:var(--soft); }
html[data-theme=dark] .ont-chip.on { border-color:#2a3267; background-color:#171c39; color:#929ad9; }
html[data-theme=dark] .ont-chip.on .ic { color:#8089cf; }
html[data-theme=dark] .ont-err { color:var(--err); }
html[data-theme=dark] .ont-to { background-color:transparent; }
html[data-theme=dark] .ont-to:hover { background-color:var(--soft); }
html[data-theme=dark] .ont-avs .oav { border-color:var(--card); }
html[data-theme=dark] .ont-tot small { color:var(--muted); }
html[data-theme=dark] .ont-to.none .ont-tot b { color:#8089cf; }
html[data-theme=dark] .ont-to > .ic { color:var(--muted); }
html[data-theme=dark] .ont-go { background-color:var(--dark); color:#2c2d30; box-shadow:0 6px 16px -6px rgba(0,0,0,0.7); }
html[data-theme=dark] .ont-go:disabled { background-color:#474b52; }
html[data-theme=dark] .oav { background-image:linear-gradient(140deg, #6d7a90, #7a8496); color:#2c2d30; }
html[data-theme=dark] .oav.reg { background-image:linear-gradient(140deg, #4551a7, #717bca); }
html[data-theme=dark] .oav.none { background-color:#2f333b; color:#81858b; }
html[data-theme=dark] .ord-role { border-color:#3d4046; background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .ord-role.on { background-color:var(--dark); border-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .ord-it-tag { background-color:#171c39; color:#929ad9; }
html[data-theme=dark] .otk-top { background:color-mix(in srgb, var(--bg) 88%, transparent); }
html[data-theme=dark] .otk-hb { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .otk-hb:hover { background-color:rgba(255,255,255,0.038); }
html[data-theme=dark] .otk-hot { color:#62656a; }
html[data-theme=dark] .otk-hot.on { color:#e5986e; }
html[data-theme=dark] .otk-ht { color:var(--muted); }
html[data-theme=dark] .otk-ht1 { color:var(--ink); }
html[data-theme=dark] .otk-desc { color:var(--ink2); }
html[data-theme=dark] .otk-dmore { background:none; color:#8089cf; }
html[data-theme=dark] .otk-f { background-color:#30343c; color:var(--ink2); }
html[data-theme=dark] .otk-f.k-doc { background-color:var(--card); border-color:var(--line); }
html[data-theme=dark] .otk-fi { color:#8089cf; }
html[data-theme=dark] .otk-fplay { background-color:rgba(0,0,0,0.45); color:#2c2d30; }
html[data-theme=dark] .otk-fx { border-color:var(--bg); background-color:#a1a3a6; color:#2c2d30; }
html[data-theme=dark] .otk-fadd { border-color:#4c5058; background-color:transparent; color:var(--muted); }
html[data-theme=dark] .otk-sec { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .otk-row { border-bottom-color:var(--line); background-color:transparent; color:var(--ink); }
html[data-theme=dark] .otk-row.tap:hover { background-color:transparent; }
html[data-theme=dark] .otk-ric { background-color:var(--soft); color:#a6a9ad; }
html[data-theme=dark] .otk-ric.ok { color:var(--ok); background-color:#223f2c; }
html[data-theme=dark] .otk-rt > small { color:var(--muted); }
html[data-theme=dark] .otk-pos { color:var(--muted); }
html[data-theme=dark] .otk-tt { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .otk-tt-t.over { color:var(--err); }
html[data-theme=dark] .otk-ttb { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .otk-ttb.run { background-color:#d88659; }
html[data-theme=dark] .otk-chip { border-color:#3d4046; background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .otk-chip .ic { color:#9b9ea3; }
html[data-theme=dark] .otk-chip.on { border-color:#2a3267; background-color:#171c39; color:#929ad9; }
html[data-theme=dark] .otk-chip.on .ic { color:#8089cf; }
html[data-theme=dark] .otk-like { border-color:#3d4046; background-color:var(--card); color:var(--ink2); }
html[data-theme=dark] .otk-like.on { border-color:#2a3267; background-color:#171c39; color:#929ad9; }
html[data-theme=dark] .otk-views { color:var(--muted); }
html[data-theme=dark] .otk-tag { background-color:var(--soft); border-color:var(--line); color:var(--ink2); }
html[data-theme=dark] .otk-addl { background:none; color:#8089cf; }
html[data-theme=dark] .otk-res .od-res { background-color:var(--soft); }
html[data-theme=dark] .otk-chatpill { background-color:var(--dark); color:#2c2d30; box-shadow:0 10px 26px -8px rgba(0,0,0,0.7); }
html[data-theme=dark] .otk-chatpill:hover { background-color:#ededee; }
html[data-theme=dark] .otk-cn { background-color:rgba(255,255,255,0.09); }
html[data-theme=dark] .otk-cn.new { background-color:#d26d40; }
html[data-theme=dark] .otk-pop { border-color:var(--line); background-color:var(--card); box-shadow:0 16px 40px rgba(0,0,0,0.396); }
html[data-theme=dark] .otk-pop button { background-color:transparent; }
html[data-theme=dark] .otk-pop button:hover,
html[data-theme=dark] .otk-pop button:focus-visible { background-color:var(--soft); }
html[data-theme=dark] .otk-pop button .ic { color:#9b9ea3; }
html[data-theme=dark] .otk-pop button.danger { color:var(--err); }
html[data-theme=dark] .otk-pop button.danger .ic { color:var(--err); }
html[data-theme=dark] .otc-bd { background-color:rgba(16,18,22,0.3); }
html[data-theme=dark] .otc { background-color:var(--bg); box-shadow:-12px 0 40px rgba(0,0,0,0.44); }
html[data-theme=dark] .otc-h { border-bottom-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .otc-hb { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .otc-av { background-image:linear-gradient(140deg, #4551a7, #717bca); color:#fff; }
html[data-theme=dark] .otc-ht { background-color:transparent; }
html[data-theme=dark] .otc-sub { color:var(--muted); }
html[data-theme=dark] .otc-day span { background-color:rgba(255,255,255,0.045); color:var(--ink2); }
html[data-theme=dark] .otc-ev > span { background-color:rgba(255,255,255,0.034); color:var(--ink2); }
html[data-theme=dark] .otc-ev i { color:var(--muted); }
html[data-theme=dark] .otc-ev small { color:var(--muted); }
html[data-theme=dark] .otc-ev.a-accept > span { background-color:#223f2c; color:#a9debb; }
html[data-theme=dark] .otc-ev.a-return > span,
html[data-theme=dark] .otc-ev.a-cancel > span,
html[data-theme=dark] .otc-ev.a-over > span { background-color:#421f1b; color:#eb928d; }
html[data-theme=dark] .otc-ev.a-send > span { background-color:#20193d; color:#8f84dc; }
html[data-theme=dark] .otc-card { background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] .otc-card dt { color:var(--muted); }
html[data-theme=dark] .otc-b { background-color:var(--card); box-shadow:0 1px 2px rgba(0,0,0,0.154); }
html[data-theme=dark] .otc-m.me .otc-b { background-color:var(--ch-mine); color:var(--ch-mine-ink); }
html[data-theme=dark] .otc-who b { color:#8089cf; }
html[data-theme=dark] .otc-who small { color:var(--muted); }
html[data-theme=dark] .otc-time { color:var(--muted); }
html[data-theme=dark] .otc-m.me .otc-time { color:var(--ch-mine-meta); }
html[data-theme=dark] .otc-doc { background-color:rgba(255,255,255,0.03); color:inherit; }
html[data-theme=dark] .otc-m.me .otc-doc { background-color:rgba(255,255,255,0.05); }
html[data-theme=dark] .otc-doc-x { background-color:#717bca; color:#fff; }
html[data-theme=dark] .otc-f { border-top-color:var(--line); background-color:var(--card); }
html[data-theme=dark] .otc-cmp textarea { border-color:transparent; background-color:var(--soft); }
html[data-theme=dark] .otc-cmp textarea:focus { background-color:var(--card); border-color:#4a4e55; box-shadow:0 0 0 3px rgba(178,178,178,0.25); }
html[data-theme=dark] .otc-ib { background-color:transparent; color:var(--ink2); }
html[data-theme=dark] .otc-send { background-color:var(--dark); color:#2c2d30; }
html[data-theme=dark] .otc-send:disabled { background-color:#474b52; }
html[data-theme=dark] .otk-ppg h3 { color:var(--muted); }
html[data-theme=dark] .otk-pp { border-bottom-color:var(--line); }
html[data-theme=dark] .otk-ppx { background-color:transparent; color:var(--muted); }
html[data-theme=dark] .otk-ppx:hover { background-color:var(--soft); color:var(--err); }
@media (max-width:760px), (pointer:coarse) and (max-height:520px) and (max-width:1000px) {
html[data-theme=dark] .tablewrap:has(> table.users) { background-color:transparent; }
html[data-theme=dark] table.users > tbody > tr { border-color:var(--line); background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] table.users > tbody > tr.uf-none { background-color:transparent; }
html[data-theme=dark] table.users > tbody > tr > td[data-l]::before { color:var(--muted); }
}
@media (max-width:760px), (pointer:coarse) and (max-height:520px) and (max-width:1000px) {
html[data-theme=dark] .tablewrap:has(> table.rtlist) { background-color:transparent; }
html[data-theme=dark] table.rtlist > tbody > tr { border-color:var(--line); background-color:var(--card); box-shadow:var(--shadow); }
html[data-theme=dark] table.rtlist > tbody > tr > td[data-l]::before { color:var(--muted); }
}
@media (max-width:760px) {
html[data-theme=dark] section.card.macc > h2::after { border-right-color:var(--muted); border-bottom-color:var(--muted); }
}
html[data-theme=dark] .otk-hcn { background-color:#d26d40; color:#fff; box-shadow:0 0 0 2px var(--bg); }
html[data-theme=dark] .osh-row:active,
html[data-theme=dark] .osh-sw:active { background-color:var(--soft); }
html[data-theme=dark] .otc-m:not(.me) .otc-b { color:var(--ch-them-ink); }
html[data-theme=dark] .ch-m.mine .ch-ores-d b,
html[data-theme=dark] .ch-m.mine .ch-ack-me,
html[data-theme=dark] .ch-m.mine .ch-stamp,
html[data-theme=dark] .ch-m.mine .ch-del-h,
html[data-theme=dark] .ch-m.mine .ch-stt.err small { color:#2c2d30; }
html[data-theme=dark] .ch-m.mine .ch-rx-c.me { background-color:rgba(255,255,255,0.15); }
html[data-theme=dark] .ch-m.mine mark.ch-chg { background-color:rgba(255,255,255,0.15); color:inherit; }
html[data-theme=dark] .ch-m.mine .ch-b .ch-tk.seen { color:#2c2d30; }
html[data-theme=dark] button.ch-call { background:none; color:inherit; }
html[data-theme=dark] button.ch-call:focus-visible { outline-color:currentColor; }
html[data-theme=dark] .ch-call-ic,
html[data-theme=dark] .ch-m.mine .ch-call-ic { background-color:var(--ch-field); color:var(--ch-them-ink); }
html[data-theme=dark] .ch-m.mine .ch-call-ic { background-color:rgba(255,255,255,0.1); color:#2c2d30; }
html[data-theme=dark] .ch-call.t-ok .ch-call-ic,
html[data-theme=dark] .ch-m.mine .ch-call.t-ok .ch-call-ic,
html[data-theme=dark] .ch-m.mine .ch-call.t-miss .ch-call-ic { color:inherit; }
html[data-theme=dark] .ch-m.them .ch-call.t-miss .ch-call-ic { color:#e2585c; }
html[data-theme=dark] .ch-m.mine .ch-call.t-miss .ch-call-ic { color:#2c2d30; }
html[data-theme=dark] .ch-call-t small { color:var(--ch-meta); }
html[data-theme=dark] .ch-m.mine .ch-call-t small { color:var(--ch-mine-meta); }
html[data-theme=dark] .ch-vnote { background-color:#383e47; }
html[data-theme=dark] .ch-vnote::after { box-shadow:inset 0 0 0 2px var(--vn-ring, #a9b0bc); }
html[data-theme=dark] .ch-vn-mute { background-color:rgba(0,0,0,0.42); color:#2c2d30; }
html[data-theme=dark] .ch-vnote.snd .ch-vn-pr circle { stroke:#2c2d30; filter:drop-shadow(0 0 2px rgba(0,0,0,0.7)); }
html[data-theme=dark] .ch-vn-dur,
html[data-theme=dark] .ch-vn-row > .ch-meta { background-color:var(--ch-them); color:var(--ch-them-ink); box-shadow:0 1px 2px rgba(0,0,0,0.176); }
html[data-theme=dark] .ch-m.mine .ch-vn-dur,
html[data-theme=dark] .ch-m.mine .ch-vn-row > .ch-meta { background-color:var(--ch-mine); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-vn-row > .ch-meta .ch-tk { color:inherit; }
html[data-theme=dark] .ch-vn-tr { background-color:var(--ch-them); color:var(--ch-them-ink); box-shadow:0 1px 3px rgba(0,0,0,0.352); }
html[data-theme=dark] .ch-m.mine .ch-vn-tr { background-color:var(--ch-mine); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-pbar { background-color:var(--card); border-bottom-color:var(--ch-line); }
html[data-theme=dark] .ch-pb-pp { background:none; color:var(--ch-mine); }
html[data-theme=dark] .ch-pb-t { background:none; color:var(--ink); }
html[data-theme=dark] .ch-pb-t small { color:var(--ch-meta); }
html[data-theme=dark] .ch-pb-sp { border-color:var(--ch-acc2); background:none; color:var(--ch-acc-ink); }
html[data-theme=dark] .ch-pb-x { background:none; color:var(--ch-acc); }
html[data-theme=dark] .ch-pb-x:hover,
html[data-theme=dark] .ch-pb-t:hover { background-color:var(--ch-field); }
html[data-theme=dark] .ch-pb-pr { background-color:var(--ch-mine); }
html[data-theme=dark] .toast.sticky.nt { border-color:var(--line); background-color:var(--card); box-shadow:0 12px 32px rgba(0,0,0,0.352), 0 2px 6px rgba(0,0,0,0.132); }
html[data-theme=dark] .nt-av { background-color:#252a35; color:#b1b8c3; }
html[data-theme=dark] .nt-av.k-person { background-color:#1d2e48; color:#9fb8da; }
html[data-theme=dark] .nt-av.k-chat { background-color:#1a3041; color:#7dbee8; }
html[data-theme=dark] .nt-av.k-task { background-color:#1e193d; color:#8277d5; }
html[data-theme=dark] .nt-av.k-alert { background-color:#3d1a19; color:#e07e77; }
html[data-theme=dark] .nt-av.k-shift,
html[data-theme=dark] .nt-av.k-health { background-color:#44361c; color:#eccc92; }
html[data-theme=dark] .nt-av.k-ev { background:none; }
html[data-theme=dark] .nt-src { background-color:var(--card); box-shadow:0 0 0 2px var(--card); color:#7dbee8; }
html[data-theme=dark] .nt-src.k-task { color:#8277d5; }
html[data-theme=dark] .nt-h time { color:var(--muted); }
html[data-theme=dark] .nt-cnt { background-color:var(--nt-acc); color:#2c2d30; }
html[data-theme=dark] .toast.sticky.nt .ma-r { color:var(--muted); }
html[data-theme=dark] .toast.sticky.nt .tn-t { background:none; color:var(--ink); }
html[data-theme=dark] .toast.sticky.nt .ma-acts .btn,
html[data-theme=dark] .toast.sticky.nt .ma-acts button { background-color:#242a33; color:var(--ink); }
html[data-theme=dark] .toast.sticky.nt .ma-acts .primary { background-color:var(--nt-acc); color:#2c2d30; }
html[data-theme=dark] .toast.sticky.nt .ma-acts .ghost { background:none; color:var(--muted); }
html[data-theme=dark] .toast.sticky.nt.urgent,
html[data-theme=dark] .toast.sticky.nt.accalert,
html[data-theme=dark] .toast.sticky.nt.escal { border-color:#6a312b; }
html[data-theme=dark] .toast.sticky.nt.urgent .ma-acts .primary,
html[data-theme=dark] .toast.sticky.nt.accalert .ma-acts .primary,
html[data-theme=dark] .toast.sticky.nt.escal .ma-acts .primary { background-color:#da6961; }
html[data-theme=dark] .nt-rep input { border-color:var(--line); background-color:var(--soft); color:var(--ink); }
html[data-theme=dark] .nt-rep input:focus { border-color:var(--nt-acc); box-shadow:0 0 0 3px rgba(75,169,223,0.18); }
html[data-theme=dark] .nt-send { background-color:var(--nt-acc); color:#2c2d30; }
html[data-theme=dark] .nt-err { color:var(--err); }
html[data-theme=dark] .ts-head { background-color:var(--card); }
html[data-theme=dark] .ts-ic { background-color:#44361c; color:#eccc92; }
html[data-theme=dark] .ch-b.ch-vnb > .ch-stt { background-color:var(--ch-them); color:var(--ch-them-ink); box-shadow:0 1px 2px rgba(0,0,0,0.176); }
html[data-theme=dark] .ch-m.mine .ch-b.ch-vnb > .ch-stt { background-color:var(--ch-mine); color:var(--ch-mine-ink); }
html[data-theme=dark] .ch-m.them .ch-b.ch-vnb > .ch-stt .ch-stt-h,
html[data-theme=dark] .ch-m.them .ch-b.ch-vnb > .ch-stt small,
html[data-theme=dark] .ch-m.them .ch-b.ch-vnb > .ch-stt .ch-stt-l { color:var(--ch-meta); }
html[data-theme=dark] .toast.toast .toast-ic::after { background-color:#1b1d1f; }
/* ---- из pvstyle.css ---- */
html[data-theme=dark] .pvs-m { border-color:var(--pvs-line); }
html[data-theme=dark] .pvs label { color:var(--pvs-muted); }
html[data-theme=dark] .pvs label.check { color:inherit; }
html[data-theme=dark] .pvs-note { color:var(--muted, #a1a3a8); }
html[data-theme=dark] .pvs-t th,
html[data-theme=dark] .pvs-t td { border-bottom-color:var(--pvs-line); }
html[data-theme=dark] .pvs-t thead th { color:var(--pvs-muted); }
html[data-theme=dark] .pvs-t tr.pvs-sub td { background-color:var(--pvs-soft); }
html[data-theme=dark] .pvs-t tr:has(+ tr.pvs-sub) th,
html[data-theme=dark] .pvs-t tr:has(+ tr.pvs-sub) td { background-color:var(--pvs-soft); }
html[data-theme=dark] .pp-panel { background-color:#1b1d1f; color:#e7e8e9; border-left-color:#464950; box-shadow:-10px 0 30px rgba(0,0,0,0.264); }
html[data-theme=dark] .pp-panel .pp-head { background-color:#1b1d1f; border-bottom-color:#313439; }
html[data-theme=dark] .pp-panel input:not([type=checkbox]),
html[data-theme=dark] .pp-panel select { border-color:#4e5259; background-color:#1b1d1f; color:inherit; }
html[data-theme=dark] .pp-panel input:focus-visible,
html[data-theme=dark] .pp-panel select:focus-visible,
html[data-theme=dark] .pp-panel button:focus-visible { outline-color:#468bd2; }
html[data-theme=dark] .pp-panel button { border-color:#565a62; background-color:#26282c; color:#ececed; }
html[data-theme=dark] .pp-panel button.ghost { background-color:transparent; }
html[data-theme=dark] .pp-panel button.primary { background-color:#e7e7e8; border-color:#e7e7e8; color:#2c2d30; }
html[data-theme=dark] .pp-panel label.check { color:inherit; }
html[data-theme=dark] .pp-save { background-color:#1b1d1f; border-top-color:#313439; }
html[data-theme=dark] .pvs-w { border-color:var(--pvs-line, #3a3d43); }
html[data-theme=dark] .pvs-sum { color:var(--muted, #a1a3a8); }
html[data-theme=dark] .pvs-pg { border-color:var(--pvs-line, #3a3d43); }
/* ---- уточнения (tools/dark_extra.css) ---- */
/* Ручные уточнения тёмной темы – добавляются в конец static/dark.css (tools/gen_dark.py). */
html[data-theme=dark] {
  color-scheme:dark;
  --brand:#3b3f47; --brand-l:#2d3037; --brand-d:#646a76; --dark:#e9eaed; --ink:#e6e7ea; --ink2:#c4c7cd; --muted:#99a0aa;
  --line:#2d3036; --bg:#111215; --card:#1a1c20; --soft:#212429; --ok:#63c385; --err:#f28a80; --warn:#dcb357;
  --shadow:0 1px 2px rgba(0,0,0,.45), 0 8px 22px rgba(0,0,0,.28);
  --ok-soft:#172d21; --err-soft:#371d1b; --warn-soft:#30280f; --info:#84b5f0; --info-soft:#1a283a;
  --input:#14161a; --input-line:#3a3e46; --hover:#24272d; --sb-thumb:rgba(255,255,255,.16); --sb-thumb-h:rgba(255,255,255,.32);
  --side-ink:#e6e7ea;
}
html[data-theme=dark] body { background:var(--bg); color:var(--ink); }
html[data-theme=dark] ::selection { background:#35577f; color:#fff; }

/* цвета шаблонов карточек */
html[data-theme=dark] .acc-graphite { --acc:#a3abb9; --acc-soft:#252a31; --acc-ink:#cdd3dd; }
html[data-theme=dark] .acc-blue { --acc:#6fa8ea; --acc-soft:#1a2a3e; --acc-ink:#acccf4; }
html[data-theme=dark] .acc-teal { --acc:#4fbfb4; --acc-soft:#14302d; --acc-ink:#a0e0d8; }
html[data-theme=dark] .acc-green { --acc:#68c28a; --acc-soft:#182d20; --acc-ink:#a8dfbb; }
html[data-theme=dark] .acc-amber { --acc:#e0a447; --acc-soft:#33270f; --acc-ink:#f1cd92; }
html[data-theme=dark] .acc-red { --acc:#ee7c73; --acc-soft:#3a1d1b; --acc-ink:#f6b4ae; }
html[data-theme=dark] .acc-violet { --acc:#ab95ec; --acc-soft:#29223f; --acc-ink:#d0c4f6; }
html[data-theme=dark] .cv-ic { color:#101114; }
html[data-theme=dark] .tp-item.on .tp-ic { color:#101114; }

/* поля ввода и кнопки – чуть темнее и светлее карточки, чтобы их было видно */
html[data-theme=dark] input, html[data-theme=dark] select, html[data-theme=dark] textarea { background-color:var(--input); border-color:var(--input-line); color:var(--ink); }
html[data-theme=dark] input:focus, html[data-theme=dark] select:focus, html[data-theme=dark] textarea:focus { border-color:#7b8494; box-shadow:0 0 0 4px rgba(132,181,240,.18); }
html[data-theme=dark] input::placeholder, html[data-theme=dark] textarea::placeholder { color:#6f7580; }
html[data-theme=dark] button, html[data-theme=dark] .btn { background-color:#23262b; border-color:#3a3e45; color:var(--ink); }
html[data-theme=dark] button:hover, html[data-theme=dark] .btn:hover { background-color:#2b2f35; }
html[data-theme=dark] .primary { background:#e9eaed; border-color:#e9eaed; color:#14161a; }
html[data-theme=dark] .primary:hover { background:#ffffff; }
html[data-theme=dark] .ghost { background:transparent; border-color:transparent; color:var(--muted); }
html[data-theme=dark] .ghost:hover { background:rgba(255,255,255,.06); color:var(--ink); }
html[data-theme=dark] .danger { background:#b8443b; border-color:#b8443b; color:#fff; }
html[data-theme=dark] .danger:hover { background:#c9554b; }
html[data-theme=dark] .ghost.danger { background:transparent; border-color:transparent; color:#f08a80; }
html[data-theme=dark] .ghost.danger:hover { background:rgba(240,138,128,.1); }
html[data-theme=dark] button:disabled, html[data-theme=dark] .btn[aria-disabled=true] { opacity:.45; }
html[data-theme=dark] a { color:var(--ink); }
html[data-theme=dark] a.tel { color:var(--ok); }
html[data-theme=dark] .cv-ln, html[data-theme=dark] .pp-link { color:var(--info); }
html[data-theme=dark] mark { background:#5c4a12; color:#fff3c4; }

/* меню слева */
html[data-theme=dark] .sidebar { background:linear-gradient(180deg, #1c1e23 0%, #17191d 46%, #121417 100%); color:var(--ink);
  box-shadow:inset -1px 0 0 rgba(255,255,255,.05); }
html[data-theme=dark] .brand { border-bottom-color:rgba(255,255,255,.08); }
html[data-theme=dark] .brand img, html[data-theme=dark] .auth-logo, html[data-theme=dark] .mbar-logo img { filter:invert(.9); }
html[data-theme=dark] .brand-text b, html[data-theme=dark] .brand-text small, html[data-theme=dark] .brand small { color:#eef0f3; }
html[data-theme=dark] .sidebar nav a { color:#d6d9df; }
html[data-theme=dark] .sidebar nav a:hover { background:rgba(255,255,255,.06); }
html[data-theme=dark] .sidebar nav a.on { background:#2a2e35; color:#fff; box-shadow:0 2px 10px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); }
html[data-theme=dark] .sidebar nav.pilled > a.on { background:transparent; box-shadow:none; }
html[data-theme=dark] .navpill { background:#2a2e35; box-shadow:0 2px 10px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); }
html[data-theme=dark] .sidebar .sep { color:#8b919c; opacity:1; }
html[data-theme=dark] .sidebar .me { border-top-color:rgba(255,255,255,.08); }
html[data-theme=dark] .sidebar .me .who small { color:#9aa0aa; }
html[data-theme=dark] .sidebar .me a, html[data-theme=dark] .sidebar .me button { background:none; border:0; color:#d6d9df; }
html[data-theme=dark] .sidebar .me a:hover, html[data-theme=dark] .sidebar .me button:hover { background:rgba(255,255,255,.08); }
html[data-theme=dark] .avatar { background:#2c3038; color:#e6e7ea; }
html[data-theme=dark] .themesw { background:rgba(255,255,255,.06); box-shadow:inset 0 1px 2px rgba(0,0,0,.45); }
html[data-theme=dark] .themesw button, html[data-theme=dark] .themesw button:hover { background:transparent; border:0; color:var(--side-ink); }
html[data-theme=dark] .tsw-glide { background:#31353d; box-shadow:0 1px 3px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06); }
html[data-theme=dark] .navcnt { color:#16181b; }

/* вход */
html[data-theme=dark] body.guest main { background:radial-gradient(circle at 20% 10%, #262a31 0, #17191d 42%, #0e0f12 100%); }
html[data-theme=dark] .guestsw { background:rgba(30,33,38,.7); }

/* таблицы, вкладки, плашки */
html[data-theme=dark] table.list th { background:#22252a; color:var(--ink2); }
html[data-theme=dark] table.list td { border-bottom-color:#26292e; }
html[data-theme=dark] table.list tbody tr:hover td { background:#1f2226; }
html[data-theme=dark] .tab { background:#23262b; color:var(--ink2); }
html[data-theme=dark] .tab.on { background:#e9eaed; color:#14161a; }
html[data-theme=dark] .pill { background:#2a2d33; color:var(--ink2); }
html[data-theme=dark] .msgtext.rich { background:var(--card); }
html[data-theme=dark] .flash { background:var(--card); }
html[data-theme=dark] .toast-x { color:var(--muted); }
html[data-theme=dark] .tk.mine .tk-b { background:#1d2b3d; }
html[data-theme=dark] .ctile:hover { border-color:#3a3e46; box-shadow:0 12px 30px rgba(0,0,0,.45); }
html[data-theme=dark] .cv-hero { background:linear-gradient(120deg, var(--acc-soft) 0%, var(--card) 62%); }
html[data-theme=dark] .ce-chip button:hover { background:rgba(255,255,255,.1); }
html[data-theme=dark] .ct-flag { color:#121316; }
html[data-theme=dark] .te-ib.on { background:#e6e7ea; color:#16181b; }
html[data-theme=dark] .tour-box { background:#1d2025; color:var(--ink); }
html[data-theme=dark] .tour-spot { outline-color:#e6e7ea; }

/* полоса прокрутки страницы – тёмная сама (color-scheme: dark) */

/* логотип на странице входа: анимация появления – со светлым логотипом */
@keyframes logoInDark { from { opacity:0; transform:translateY(8px) scale(.9); filter:invert(.9) blur(6px); }
  to { opacity:1; transform:none; filter:invert(.9) blur(0) drop-shadow(0 6px 14px rgba(0,0,0,.35)); } }
html[data-theme=dark] .auth-head .auth-logo { animation-name:logoInDark; }

/* сводка и письма – как лист бумаги (их текст и таблицы заданы для печати и почты) */
html[data-theme=dark] .mailpreview { background:#f7f7f5; color:#111; border-radius:10px; padding:16px 18px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
html[data-theme=dark] .mailpreview a { color:#1d4f86; }

/* 1.0.8: цвета типов событий */
html[data-theme=dark] .acc-orange { --acc:#f0904a; --acc-soft:#3a2414; --acc-ink:#f7c49c; }
html[data-theme=dark] .acc-indigo { --acc:#8c98ee; --acc-soft:#232846; --acc-ink:#c3c9f6; }
html[data-theme=dark] .evi.urg::after { background-color:#e5484d; }
html[data-theme=dark] .bt-auto.on { background:#e9eaed; border-color:#e9eaed; color:#14161a; }
html[data-theme=dark] .ictile:hover { border-color:#3a3e46; box-shadow:0 10px 26px rgba(0,0,0,.4); }
html[data-theme=dark] .icpick { box-shadow:0 18px 44px rgba(0,0,0,.55); }
html[data-theme=dark] .mh-urg { background:#3d1d1b; color:#f6b4ae; }
html[data-theme=dark] .tl-i.last .tl-dot { border-color:#6fa8ea; background:#6fa8ea; box-shadow:0 0 0 3px rgba(111,168,234,.2); }
html[data-theme=dark] .tl-dot { border-color:#5d6470; }
html[data-theme=dark] .td-k:hover { border-color:#3a3e46; box-shadow:0 12px 28px rgba(0,0,0,.4); }
html[data-theme=dark] .td-k.hot { border-color:#5a2a26; background:linear-gradient(135deg, #2c1a19, var(--card) 60%); }
html[data-theme=dark] .td-k.hot .td-kn { color:#f28a80; }
html[data-theme=dark] .td-k.warn .td-kn { color:#e0b24f; }
html[data-theme=dark] .ncp { box-shadow:0 24px 60px rgba(0,0,0,.6); }
html[data-theme=dark] .nci.unread .nci-b b::before { background:#6fa8ea; }
html[data-theme=dark] .nci .nci-live { background:#3d1d1b; color:#f6b4ae; }
html[data-theme=dark] .msw-track { background:rgba(255,255,255,.16); }
html[data-theme=dark] .motsw input:checked + .msw-track { background:#3f9a63; }
html[data-theme=dark] .msw-track i { background:#e9eaed; }
html[data-theme=dark] .nc-n { box-shadow:0 0 0 2px #17191d; }
html[data-theme=dark] { --an-line:#6fa8ea; --an-area:rgba(111,168,234,.13); --an-prev:#6d7480; --an-bar:#7f9cc7; --an-grid:#2e3137; --an-axis:#8b9099; --an-track:#25282d; }
html[data-theme=dark] .antip { background:rgba(236,238,241,.97); color:#16181b; box-shadow:0 10px 28px rgba(0,0,0,.55); }
html[data-theme=dark] .antip small { color:#5a606a; } html[data-theme=dark] .antip .at-h { color:#6b717b; }
html[data-theme=dark] .antip .lg-now { border-top-color:#2b6cb0; } html[data-theme=dark] .antip .lg-pv { border-top-color:#7d8592; }
html[data-theme=dark] .antip .at-d { color:#30343a; } html[data-theme=dark] .antip .at-d.bad { color:#b3261e; } html[data-theme=dark] .antip .at-d.good { color:#2f7a48; }
html[data-theme=dark] .tk-fly { background:#1d2b3d; color:var(--ink); box-shadow:0 12px 30px rgba(0,0,0,.5); }
html[data-theme=dark] button.btn-done, html[data-theme=dark] .btn.btn-done { background:#2f7a48 !important; border-color:#2f7a48 !important; color:#fff !important; }
html[data-theme=dark] .toasts .nc-ctl button.nc-show { border-color:#5a2a26; color:#f28a80; }
/* 1.0.9: строка охранника – время своё (замена), примечание; «Доп. информация» */
html[data-theme=dark] .pvf.chg .pvf-tm:not(:placeholder-shown) { border-color:#9a7a2e; background:#3a3020; color:#f1d28a; }
html[data-theme=dark] .pvf-note { background:#26282d !important; }
html[data-theme=dark] .pvf-note.req { border-color:#b8902c; background:#3a3020 !important; box-shadow:0 0 0 3px rgba(212,160,28,.18); }
html[data-theme=dark] .pvf-note.req::placeholder { color:#d9b75f; }
html[data-theme=dark] .pvf .pvf-tm::placeholder { color:#8b9099; }
html[data-theme=dark] .pv-alert.pv-alert-note { background:#3a3020; color:#f1d28a; }
html[data-theme=dark] .ai-row:hover .ai-go { background:#e8e8e8; color:#16181c; }
/* 1.0.10: рабочие места – пульт чуть светлее страницы и с тонкой рамкой; плитки-показатели – насыщенные, со светлым значком */
html[data-theme=dark] .wp { --wp-bg:#1b2232; --wp-bg2:#28354f; --wp-on:#eef2f8;
  --wp-sh:0 0 0 1px rgba(255,255,255,.07), 0 18px 40px -24px rgba(0,0,0,.9); }
html[data-theme=dark] .wp-dch { --wp-bg2:#2e2c55; }
html[data-theme=dark] .td-ki { background:linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 50%, #000)); color:#fff;
  box-shadow:0 6px 16px -8px var(--acc); }
html[data-theme=dark] .fstate button[data-acc] { background:#2f8a52; border-color:#2f8a52; color:#fff; box-shadow:0 4px 14px -6px rgba(47,138,82,.9); }
html[data-theme=dark] .fstate button[data-acc]:hover { background:#36a060; border-color:#36a060; }
html[data-theme=dark] .seg { background:#262a31; }
html[data-theme=dark] .seg button.on { background:#3a404a; color:#f2f4f7; }

/* 1.0.11: карточка с просрочкой – рамка и подсветка одного оттенка; плитки по поясам ночью – глубже */
html[data-theme=dark] .td-sec.td-hot { border-color:#6a302a; box-shadow:0 0 0 1px #6a302a, var(--shadow); }
html[data-theme=dark] .rz { border-color:var(--line); }

/* 1.0.13: шапка «Легион» в тёмной теме – графитовая; рабочее место руководителя – бирюзовое */
html[data-theme=dark] .wp-boss { --wp-bg2:#1d3540; }
html[data-theme=dark][data-wphead=legion] .wp { --wp-bg:#222222; --wp-bg2:#3a3a3a; --wp-ink:#f0f0f0; --wp-ink2:#b3b3b3;
  --wp-line:rgba(255,255,255,.09); --wp-chip:rgba(255,255,255,.07); --wp-hover:rgba(255,255,255,.09); --wp-on:#ededed; --wp-on-ink:#1d1d1d;
  --wp-id1:#8a8a8a; --wp-id2:#555555; --wp-idg:rgba(255,255,255,.18); }
html[data-theme=dark][data-wphead=legion] .wp-dch, html[data-theme=dark][data-wphead=legion] .wp-boss { --wp-bg2:#3a3a3a; --wp-id1:#8a8a8a; --wp-id2:#555555; }
html[data-theme=dark][data-wphead=legion] .wp-dayb b { background-image:linear-gradient(90deg, #8f8f8f, #e2e2e2); }
html[data-theme=dark] .bm-tip { background-color:#0f1115; }

/* 1.0.15: карта руководителя – свои цвета тёмной темы (ночь темнее дня, море и соседи – глубокие тона) */
html[data-theme=dark] .bm { --bm-sea:#132231; --bm-fg:#262a31; --bm-fg-line:#1d2026; --bm-land:#4a4e57; --bm-line:#24272d; --bm-lb:#8c9098;
  --bm-red:#d1453a; --bm-red2:#e46e63; --bm-amber:#d38b1c; --bm-green:#3f9a61; --bm-idle:#8b7a58; --bm-sel:#f1f3f6;
  --bm-night:#000000; --bm-tw1:.16; --bm-tw2:.17; --bm-nt:.21; --bm-term:rgba(205,215,240,.5); --bm-mer:rgba(205,215,240,.42);
  --bm-tag:#1b1f26; --bm-tag-ink:#d7dce6; --bm-ink:#eef1f6; --bm-halo:#15181d; --bm-dot-line:#15181d; }
html[data-theme=dark] .bm { --bm-road:#686d77; --bm-rail:#a3a9b4; --bm-river:#2c6c96; --bm-town:#e3e7ee; --bm-town-far:#9ea6b2;
  --bm-town-dot:#cdd3dc; --bm-arc-wait:#e3a43c; --bm-arc-late:#f0675c; --bm-arc-ok:#52c27f; --bm-arc-new:#79a3ff; --bm-hub:#d7dce6;
  --bm-dim:.55; --bm-ui:rgba(30,34,42,.92); --bm-ui-ink:#eef1f6; --bm-ui-line:rgba(255,255,255,.12); --bm-ui-sh:0 6px 18px rgba(0,0,0,.45);
  --bm-wt:#ffffff; }
html[data-theme=dark] .bm-zb:hover { background:#353b46; }
html[data-theme=dark] .bm.bm-loading .bm-zt::after { color:#9aa3b0; }
html[data-theme=dark] .ce-gmap-h { background:rgba(10,12,16,.82); color:#f1f3f6; }
html[data-theme=dark] .bm-dl { background:#4a4e57; border-color:rgba(255,255,255,.14); }
html[data-theme=dark] .bm-tl { background:#373a42; border-color:rgba(255,255,255,.14); }
html[data-theme=dark] .bm-nl { background:#25272c; border-color:rgba(255,255,255,.14); }
html[data-theme=dark] .bs-map .rgl.st-red { --rg:#d1453a; } html[data-theme=dark] .bs-map .rgl.st-amber { --rg:#d38b1c; }
html[data-theme=dark] .bs-map .rgl.st-green { --rg:#3f9a61; } html[data-theme=dark] .bs-map .rgl.st-idle { --rg:#8b7a58; }

/* 1.0.16: сводка региона на карте – тёмная карточка в обеих темах (раньше текст в тёмной теме становился тёмным) */
html[data-theme=dark] .bm-card { background-color:#232a35; color:#eef1f6; box-shadow:0 20px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); }
html[data-theme=dark] .bc-dot { box-shadow:0 0 0 3px rgba(255,255,255,.08), 0 0 10px var(--rg); }
html[data-theme=dark] .bc-h span { color:#aeb7c6; }
html[data-theme=dark] .bc-time { background-color:rgba(255,255,255,.08); }
html[data-theme=dark] .bc-dn { background-color:#e9edf3; }
html[data-theme=dark] .bc-time.dusk .bc-dn { background-image:linear-gradient(90deg, #e9edf3 50%, #5b6b8f 50%); }
html[data-theme=dark] .bc-time.night .bc-dn { background-color:#5b6b8f; }
html[data-theme=dark] .bc-kpi > div { background-color:rgba(255,255,255,.06); }
html[data-theme=dark] .bc-kpi small { color:#9aa6b8; }
html[data-theme=dark] .bc-kpi .hot b { color:#ff8a80; }
html[data-theme=dark] .bc-kpi .warn b { color:#ffd479; }
html[data-theme=dark] .bc-late { background-color:rgba(240,100,90,.18); color:#ffb4ab; }
html[data-theme=dark] .bc-sp { border-bottom-color:rgba(255,255,255,.12); }
html[data-theme=dark] .bc-sp i { background-color:rgba(255,255,255,.12); }
html[data-theme=dark] .bc-sp i.on { background-image:linear-gradient(0deg, #f0645a 0 var(--u), #8fb0e8 var(--u) 100%); }
html[data-theme=dark] .bc-sp i.f { background-color:rgba(255,255,255,.05); }
html[data-theme=dark] .bc-sp i.now { box-shadow:0 3px 0 -1px #ffd479; }
html[data-theme=dark] .bc-ax, html[data-theme=dark] .bc-sub, html[data-theme=dark] .bc-go { color:#8b95a7; }
html[data-theme=dark] .bc-top li i { background-color:rgba(143,176,232,.16); }
html[data-theme=dark] .bc-last, html[data-theme=dark] .bc-hand { color:#c3cad6; }
html[data-theme=dark] .bc-hand em { color:#ffd479; }

/* 1.0.19: проверка тёмной темы – тёмный текст на тёмном фоне и бледные значки */
html[data-theme=dark] .antip { box-shadow:0 12px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); }
html[data-theme=dark] .ah-dir.on { background-color:#e8eaee; border-color:#e8eaee; color:#16181c; }
html[data-theme=dark] .ah-dir.on b { color:#4a515e; }
html[data-theme=dark] .ci-num { background-color:#e8eaee; color:#16181c; }
html[data-theme=dark] .rg.st-red, html[data-theme=dark] .rgl.st-red { --rg-ink:#ff9d94; }
html[data-theme=dark] .rg.st-amber, html[data-theme=dark] .rgl.st-amber { --rg-ink:#f3c56c; }
html[data-theme=dark] .rg.st-green, html[data-theme=dark] .rgl.st-green { --rg-ink:#86d6a5; }
html[data-theme=dark] .rg.st-idle, html[data-theme=dark] .rgl.st-idle { --rg-ink:#c3c9d2; }
html[data-theme=dark] .urgdot, html[data-theme=dark] .nc-n, html[data-theme=dark] .evi.urg::after { background-color:#c8372d; color:#fff; }
html[data-theme=dark] .fstate button[data-acc] { background-color:#2a7a4b; border-color:#2a7a4b; color:#fff; }
html[data-theme=dark] .fstate button[data-acc]:hover { background-color:#23683f; border-color:#23683f; }

/* 1.0.20 (сборка 07.11.2026): раздел меню «Отчёты» и отчёт ЛРР */
html[data-theme=dark] .sidebar .ngrp-h { color:#d6d9df; }
html[data-theme=dark] .sidebar .ngrp-h:hover { background:rgba(255,255,255,.06); }
html[data-theme=dark] .sidebar .ngrp-h:focus-visible { outline-color:#c4c7cd; }
html[data-theme=dark] .sidebar .ngrp-in { border-left-color:rgba(255,255,255,.13); }
html[data-theme=dark] .sidebar nav.pilled .ngrp a.on { background:transparent; box-shadow:none; }
html[data-theme=dark] .sidebar nav:not(.pilled) .ngrp:not(.open) .ngrp-h.has-on { background:#2a2e35; color:#fff; box-shadow:0 2px 10px rgba(0,0,0,.35); }
html[data-theme=dark][data-menu=mini] .sidebar .ngrp-in { background:rgba(255,255,255,.05); }
html[data-theme=dark] .lrform .lr-when.stock { border-color:#2a3b52; background:#18222f; color:#8fb8ec; }
html[data-theme=dark] .lrform input.lr-n::placeholder { color:#5f6672; }
html[data-theme=dark] .lrform input.lr-n.neg { border-color:#7a5a1f; background:#2e2411; color:#f1cd92; }
html[data-theme=dark] .lrform input.lr-n.bad { border-color:#8a3a33; background:#361b19; color:#f6b4ae; }
html[data-theme=dark] .lx-box { border-color:#24423f; border-left-color:#4fbfb4; background:#132321; }
html[data-theme=dark] .lx-t { color:#a0e0d8; }
html[data-theme=dark] .lx-c { border-color:#24423f; background:#1a1c20; }
html[data-theme=dark] .lx-c.ok { border-color:#24513a; background:#172d21; color:#63c385; }
html[data-theme=dark] .lx-c.bad { border-color:#5a2a26; background:#371d1b; color:#f28a80; }
html[data-theme=dark] .lx-r input { background:var(--input); }
html[data-theme=dark] .lx-n { background:#1d3734; color:#a0e0d8; }
html[data-theme=dark] .lx-r.done .lx-n { background:#4fbfb4; color:#0d1a19; }
html[data-theme=dark] .lx-r.extra { background:#371d1b; }
html[data-theme=dark] .lr-dx { border-color:#5a4718; border-left-color:#dcb357; background:#241e0f; }
html[data-theme=dark] .lr-dx.need { border-color:#5a2a26; border-left-color:#f28a80; background:#2a1716; }
html[data-theme=dark] .lr-dx-h { color:#f1cd92; }
html[data-theme=dark] .lr-dx.need .lr-dx-h { color:#f6b4ae; }
html[data-theme=dark] .lrform .lr-negbox { border-color:#4a3d22; }
html[data-theme=dark] .lr-dc { background:#30280f; color:#dcb357; }
html[data-theme=dark] .lr-q-run { color:#8fb8ec; }
html[data-theme=dark] .lr-early { border-color:#2a3b52; background:#18222f; }
html[data-theme=dark] .lr-sum-l i.st-none, html[data-theme=dark] .lr-sbar i.st-none { background:#3a3e46; }
html[data-theme=dark] .lr-sum-l i.st-draft, html[data-theme=dark] .lr-sbar i.st-draft { background:#6f7580; }
html[data-theme=dark] .block h2 > span.blk-ic { background:#173230; color:#6fd3c8; }
html[data-theme=dark] .rts-ic { color:#6fd3c8; }
html[data-theme=dark] .rts-blocks li.done .rts-ic { color:#63c385; }
html[data-theme=dark] .rt-stamp { border-color:#63c385; color:#63c385; }
html[data-theme=dark] .lr-was { background:#2d2550; color:#c7b8ff; }
html[data-theme=dark] .lr-was-t, html[data-theme=dark] .lx-gone { border-color:#4a3f80; color:#c7b8ff; }
html[data-theme=dark] .rt-was { color:#c7b8ff; }
html[data-theme=dark] .rts-diff { border-color:#3c3466; border-left-color:#9a86ff; background:#1d1a2e; }
html[data-theme=dark] .rts-diff > b, html[data-theme=dark] .rts-diff a { color:#c7b8ff; }
html[data-theme=dark] .rts-diff .rd-now { color:#e8e8ea; }
html[data-theme=dark] .lx-r.chg-new, html[data-theme=dark] .rtform [data-row].chg-new { background:rgba(154,134,255,.1); box-shadow:inset 3px 0 0 #9a86ff; }
html[data-theme=dark] .rtform input.chg, html[data-theme=dark] .rtform textarea.chg { border-color:#9a86ff !important; box-shadow:0 0 0 2px rgba(154,134,255,.25); }
html[data-theme=dark] .toast.undo .toast-ic { background:#e8e8ea; }
html[data-theme=dark] .toast.undo .toast-ic::after { color:#16181c; }
html[data-theme=dark] .toast-undo { border-color:#e8e8ea; background:#e8e8ea; color:#16181c; }
html[data-theme=dark] .toast-tm { background:#e8e8ea; }
/* 1.0.20 – «Корзина» */
html[data-theme=dark] .tri-reg { background:#2c3038; color:#c9ced8; }
html[data-theme=dark] .tri-i { color:#b9bfca; }
html[data-theme=dark] .tri-left.soon { color:#f0a27c; }
/* 1.0.20 – «Состояние программы» */
html[data-theme=dark] .sp-days i.ok { background-image:none; }
/* 1.0.21 – версии записки */
html[data-theme=dark] .rt-verbar { border-color:#4a3f78; background:#221d38; }
/* 1.0.21 – «Не заполнено» по блокам */
html[data-theme=dark] .rts-miss summary small { background:#4a3a14; color:#f0cf8a; }
/* 1.0.22 – журнал ошибок */
html[data-theme=dark] .eri-k.k-server { background:#371d1b; color:#f28a80; }
html[data-theme=dark] .eri-k.k-job { background:#30280f; color:#dcb357; }
html[data-theme=dark] .eri-k.k-browser { background:#1a283a; color:#84b5f0; }

/* 1.0.23 (доработка): подробная карта Москвы и области в тёмной теме – тёмная земля, приглушённая зелень, светлые улицы */
html[data-theme=dark] .bm { --bmc-land:#2b2e34; --bmc-water:#1f3d55; --bmc-wood:#273a2d; --bmc-park:#2b4532; --bmc-grass:#2d3c30;
  --bmc-allot:#34392c; --bmc-wet:#273a3b; --bmc-cem:#2c3631; --bmc-res:#31343a; --bmc-ind:#37333b; --bmc-com:#3b3434; --bmc-mil:#3b3131;
  --bmc-raila:#35343a; --bmc-pitch:#2e4b38; --bmc-bld:#43464e; --bmc-bld-line:#50535c; --bmc-r1:#a7742f; --bmc-r2:#987338;
  --bmc-r3:#86714b; --bmc-r4:#6f6a5a; --bmc-r5:#5e626b; --bmc-r6:#53575f; --bmc-r7:#4a4d55; --bmc-r8:#474a52; --bmc-c1:#2a2420;
  --bmc-c2:#2a2521; --bmc-c3:#2a2622; --bmc-c4:#28272a; --bmc-c:#24262b; --bmc-tun:#70757e; --bmc-rail:#9ca2ac; --bmc-rail-d:#2b2e34;
  --bmc-river:#3478a6; --bmc-bnd:#b9a0d6; --bmc-ink:#e8ebf0; --bmc-st:#c5cad2; --bmc-hn:#9aa1aa; --bmc-metro:#ff6f63;
  --bmc-r2m:#ab731e; --bmc-r3m:#8d6219; --bmc-r4m:#6c4f13; --bmc-l12:#8d86a0; --bmc-l13:#a888ad; }
html[data-theme=dark] .bm-src { background:rgba(20,22,27,.78); color:#aab1bd; }
/* 1.0.24: масштабная линейка */
html[data-theme=dark] .bm-scale { box-shadow:0 1px 6px rgba(0,0,0,.45); }

/* 1.0.28: «Чат» – цвета переписки в тёмной теме */
html[data-theme=dark] {
  --ch-bg:#111317; --ch-side:#16181c; --ch-field:#23262c; --ch-sel:#2b2f36; --ch-them:#393e47; --ch-them-ink:#fff;
  --ch-mine:#1098e7; --ch-mine2:#1098e7; --ch-mine-ink:#fff; --ch-mine-meta:rgba(255,255,255,.84); --ch-mine-quote:rgba(255,255,255,.16);
  --ch-mine-acc:#fff; --ch-meta:#8d939c; --ch-pill:rgba(37,40,46,.9); --ch-pill-ink:#c9ccd2; --ch-quote:rgba(255,255,255,.06);
  --ch-acc:#b9bdc3; --ch-acc2:#8f959d; --ch-acc-ink:#cfd2d7; --ch-hl:rgba(170,176,184,.38); --ch-seen:#7fd9a4; --ch-on:#3cc47c;
  --ch-tile:#2a2d33; --ch-on-dark:#fff; --ch-drop:rgba(30,32,36,.92);
  --ch-g1:#7d828a; --ch-g2:#4a4f56; --ch-cnt:#d2d5da; --ch-cnt-ink:#17191c; --ch-wait:#d9534f; --ch-wait-soft:rgba(217,83,79,.16);
  --ch-line:#2c3036; --ch-page:#1d2024; --ch-page-ink:#e3e5e8; --ch-pdf:#c9645c; --ch-word:#5f87c2; --ch-excel:#5aa173; --ch-text:#80868e;
  --ch-lgc:#e0a243; --ch-lgc-soft:rgba(224,162,67,.13);
}
html[data-theme=dark] .ch-main { background-color:var(--ch-bg); }
html[data-theme=dark] .ch-tabs button:hover { background:rgba(255,255,255,.05); }
html[data-theme=dark] .ch-tabs button.on { background:#30343b; box-shadow:0 1px 3px rgba(0,0,0,.4); }
html[data-theme=dark] .ch-card { box-shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 18px -10px rgba(0,0,0,.6); }
html[data-theme=dark] #ch_text:focus { border-color:#41454d; background:var(--input); box-shadow:0 0 0 3px rgba(255,255,255,.06); }
html[data-theme=dark] .ch-down { background:#23262c; border-color:#33363d; }

/* 1.0.28 (доработка): чат – тёмная тема */
html[data-theme=dark] .ch-t mark, html[data-theme=dark] .ch-req-q mark { background:#8a6d12; color:#fff; }
html[data-theme=dark] .ch-mg-c { background:rgba(30,32,36,.88); }
html[data-theme=dark] .acc-chat { --acc:#b9bdc3; --acc-soft:#2b2f36; --acc-ink:#dfe1e5; }
html[data-theme=dark] .ch-req, html[data-theme=dark] .ch-m.mine .ch-req { background:var(--card); color:var(--ink); }

/* 1.0.28 (доработка 3): чат – документы, форма в окне чата, выделенный фрагмент, тёмная тема */
html[data-theme=dark] .ch-doc, html[data-theme=dark] .ch-m.mine .ch-doc { background:#24272c; color:var(--ink); }
html[data-theme=dark] .ch-doc-pv { background:linear-gradient(180deg, #2a2d33, #23262b); }
html[data-theme=dark] .ch-doc-pv.has { background:#1d2024; }
html[data-theme=dark] .ch-doc-pv:not(.img)::after { background:linear-gradient(180deg, rgba(29,32,36,0), #1d2024); }
html[data-theme=dark] .ch-dm { color:#c9ccd2; }
html[data-theme=dark] .ch-dm td { border-color:#3a3e45; }
html[data-theme=dark] .ch-dm.xl tr.hd td { background:#26322a; }
html[data-theme=dark] .ch-doc-big { background:#2d3036; box-shadow:0 2px 8px rgba(0,0,0,.4); }
html[data-theme=dark] .ch-doc-tx small { color:#9aa0a8; }
html[data-theme=dark] .ch-doc-dl { color:#c9ccd2; }
html[data-theme=dark] .ch-v-page td { border-color:#3a3e45; }
html[data-theme=dark] .ch-v-more { background:#2a2d33; color:#aab0b8; }
html[data-theme=dark] .ch-v-tabs { background:#24272c; }
html[data-theme=dark] .ch-v-tabs button { color:#aab0b8; }
html[data-theme=dark] .ch-v-tabs button.on { background:#1d2024; color:#eceef1; }
html[data-theme=dark] .ch-v-sheet th, html[data-theme=dark] .ch-v-sheet td { border-color:#33373e; }
html[data-theme=dark] .ch-v-sheet th { background:#24272c; color:#8d939c; }
html[data-theme=dark] .ch-v-sheet tr.hd td { background:#26322a; }
html[data-theme=dark] .ch-qsel button { background:#e6e7ea; color:#17191c; }
html[data-theme=dark] .ch-qsel button:hover { background:#fff; }
html[data-theme=dark] .ch-cmp { box-shadow:0 -14px 34px -16px rgba(0,0,0,.7), 0 -1px 0 var(--ch-line); }
html[data-theme=dark] .lgc-bar { border-color:rgba(224,162,67,.4); }
html[data-theme=dark] .lgc-bar:hover { background:rgba(224,162,67,.2); }
html[data-theme=dark] .ch-tr.k-doc { background:#24272c; }
html[data-theme=dark] .ch-mg-doc { background:#24272c; }
html[data-theme=dark] .ch-search:focus-within { background:var(--input); }
html[data-theme=dark] .ch-tabs button:hover { background:rgba(255,255,255,.05); }
html[data-theme=dark] .ch-m.mine .ch-del-h { color:#ff9b93; }

/* доработка 5: штамп согласования, подсветка правки – в тёмной теме */
html[data-theme=dark] .ch-stamp.s-agree, html[data-theme=dark] .ch-stamp.s-approve { color:#63d394; }
html[data-theme=dark] .ch-stamp.s-return { color:#ff8c80; }
html[data-theme=dark] mark.ch-chg { background:rgba(255, 205, 64, .3); }
html[data-theme=dark] .ch-m.mine .ch-call.t-ok .ch-call-ic { color:#2fb36f; }
html[data-theme=dark] .ch-m.mine .ch-call.t-miss .ch-call-ic { color:#e4675d; }

/* 1.0.28 (доработка 9): заставка, долгое нажатие, устройства, значок вкладки */
html[data-theme=dark] .splash { background:radial-gradient(120% 80% at 50% 38%, #2a2c31 0%, #1b1d21 55%, #111215 100%); }
html[data-theme=dark] .sp-in { filter:invert(.86); }
html[data-theme=dark] .lift.on .lift-shade { background:rgba(10,11,13,.55); }
html[data-theme=dark] .lift-card { box-shadow:0 18px 44px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.3); }
html[data-theme=dark] .lift-grip { background:rgba(255,255,255,.2); }
html[data-theme=dark] .lift-ic, html[data-theme=dark] .dv-ic, html[data-theme=dark] .dv-hd { color:#c9ced6; }
html[data-theme=dark] .dv-it.cur .dv-ic, html[data-theme=dark] .dv-cur { background:#173226; color:#7fd3a4; }
html[data-theme=dark] .dv-h.k-fail .dv-hd { background:#3a1d1b; color:#f28a80; }
html[data-theme=dark] .dv-h.k-fail .dv-b b { color:#f28a80; }
html[data-theme=dark] .dv-new { background:#3a300f; color:#e9c66a; }
html[data-theme=dark] .dv-h.live .dv-st { color:#7fd3a4; }
html[data-theme=dark] .mbar-n { box-shadow:0 0 0 2px #202124; }


/* 1.0.28 (доработка 10) */
html[data-theme=dark] .ch-remc-ic { background:#4a3f22; }
html[data-theme=dark] .ch-net { background:#3b3220; color:#f0d9a0; }
html[data-theme=dark] .ch-net small { color:#d9bf7a; }
html[data-theme=dark] .ch-sched { border-color:#4b4f56; }
html[data-theme=dark] .ch-swa-l { background:#3f5a49; } html[data-theme=dark] .ch-swa[data-hit=l] .ch-swa-l { background:#2f7a4f; }
html[data-theme=dark] .ch-swa-r { background:#4a4f57; } html[data-theme=dark] .ch-swa[data-hit=r] .ch-swa-r { background:#646a73; }
html[data-theme=dark] .dv-alert { background:#352d1c; border-color:#5a4a26; }
html[data-theme=dark] .dv-alert-ic { background:#4a3f22; color:#f0d9a0; }
html[data-theme=dark] .dv-new.nd { background:#26334a; color:#a9c3ea; }
html[data-theme=dark] .dv-new.nd.deny { background:#4a2622; color:#f0a59d; }
html[data-theme=dark] .orp-sum .ok b, html[data-theme=dark] .orp-t td.ok, html[data-theme=dark] .orp-i tr.st-ok td:last-child { color:#6fc795; }
html[data-theme=dark] .orp-sum .late b, html[data-theme=dark] .orp-t td.late, html[data-theme=dark] .orp-i tr.st-late td:last-child { color:#e0b14f; }
html[data-theme=dark] .orp-sum .over b, html[data-theme=dark] .orp-t td.over, html[data-theme=dark] .orp-i tr.st-over td:last-child { color:#f08a80; }
/* 1.0.28 (доработка 11): ход события, сканер, без связи */
html[data-theme=dark] .mch-dot { background:#232323; box-shadow:0 0 0 3px #232323; }
html[data-theme=dark] .mch-i.k-new .mch-dot { border-color:#c9c9c9; background:#c9c9c9; }
html[data-theme=dark] .mch-i.k-out { background:#2c2c2c; }
html[data-theme=dark] .mch-i.k-out .mch-dot { border-color:#e6e6e6; background:#e6e6e6; }
html[data-theme=dark] .scn-modes button[aria-checked=true] { background:#e6e6e6; border-color:#e6e6e6; color:#1b1b1b; }
html[data-theme=dark] .scn-resb { background:#2a2a2a; }
html[data-theme=dark] .off-bar { background:#4a4f56; }
html[data-theme=dark] .es-terms button.on, html[data-theme=dark] .scn-sg-pl button[aria-checked=true] { background:#e6e6e6; border-color:#e6e6e6; color:#1b1b1b; }
html[data-theme=dark] .ptr-logo { filter:invert(1); }
html[data-theme=dark] .ptr.ready .ptr-fg, html[data-theme=dark] .ptr.spin .ptr-fg { stroke:#e6e6e6; }
html[data-theme=dark] .es-n { background:#3a3a3a; }
html[data-theme=dark] .es-prev .es-cv { background:#2a2a2a; }

/* доработка 13: QR-код для приложения – на белом (так его лучше видит камера телефона) */
html[data-theme=dark] .tfa-qr { background:#fff; border-color:#3a3f47; }
/* 1.0.31: свой пузырь в чате тёмный и в тёмной теме – цвета внутри него остаются светлыми (раньше пересчитывались
   в тёмные и сливались с пузырём: «✓ Принято», «↩ Возвращено на доработку», штампы, звонки, «Ознакомлен») */
html[data-theme=dark] .ch-m.mine .ch-del-h { color:#ffb4ad; }
html[data-theme=dark] .ch-m.mine .ch-call.t-ok .ch-call-ic { color:#8fe0b4; }
html[data-theme=dark] .ch-m.mine .ch-call.t-miss .ch-call-ic { color:#ff9d93; }
html[data-theme=dark] .ch-m.mine .ch-stt.err small { color:#ffb1a9; }
html[data-theme=dark] .ch-m.mine .ch-ores-d.d-accept b { color:#9ee0b6; }
html[data-theme=dark] .ch-m.mine .ch-ores-d.d-return b { color:#ffb4aa; }
html[data-theme=dark] .ch-m.mine .ch-ores-d.d-wait b { color:#d6ceff; }
html[data-theme=dark] .ch-m.mine .ch-ack-me { color:#9ee0b6; }
html[data-theme=dark] .ch-m.mine .ch-stamp.s-agree, html[data-theme=dark] .ch-m.mine .ch-stamp.s-approve { color:#86dcaa; }
html[data-theme=dark] .ch-m.mine .ch-stamp.s-return { color:#ffa197; }

/* ================= 1.0.32: тёмные блоки в тёмной теме – значки и подписи видны. Генератор превращал тёмный градиент
   в «светлый → тёмный» и делал значок тёмным: «+» внизу справа, значки меню, кружки с инициалами, значки разделов в
   «Ролях», значки вкладок рабочего места почти пропадали */
html[data-theme=dark] .mfab-b { background-image:linear-gradient(140deg, #eceef1, #bfc3c9); color:#15171b; }
html[data-theme=dark] .mfab.open .mfab-b { background-image:linear-gradient(140deg, #d6d9dd, #aeb2b9); color:#15171b; }
html[data-theme=dark] .mm-ic { background-image:linear-gradient(135deg, #3d424b, #2b2f36); color:#e3e6ea; }
html[data-theme=dark] .u-ph { background-image:linear-gradient(135deg, #4d607c, #34455d); color:#eef2f8; }
html[data-theme=dark] .acc-ic { background:#2b2e34; color:#9aa0aa; }
html[data-theme=dark] .acc-s.on .acc-ic { background-image:linear-gradient(135deg, #626873, #41464f); color:#f3f4f6; }
html[data-theme=dark] .wp-tab.on .wp-ti { color:#121821; }
html[data-theme=dark] .td-ki { background:linear-gradient(135deg, color-mix(in srgb, var(--acc) 72%, #000), color-mix(in srgb, var(--acc) 42%, #000)); color:#fff; }
/* кружки людей и регионов (задачи, чат задачи) */
html[data-theme=dark] .oav { background-image:linear-gradient(140deg, #56627a, #3b4456); color:#eef1f6; }
html[data-theme=dark] .oav.reg { background-image:linear-gradient(140deg, #4c58b0, #353f8a); color:#f2f4fb; }
html[data-theme=dark] .oav.none { background:#2f333b; color:#8b9099; }
/* свой пузырь в чате задачи – как в мессенджере */
html[data-theme=dark] .otc-m.me .otc-b { background:linear-gradient(160deg, var(--ch-mine), var(--ch-mine2)); color:var(--ch-mine-ink); }
html[data-theme=dark] .otc-m.me .otc-time { color:var(--ch-mine-meta); }
html[data-theme=dark] .otc-m.me .otc-doc { background:rgba(255,255,255,.08); }
html[data-theme=dark] .otc-who b { color:#9aa5ea; }
html[data-theme=dark] .ont-hot.on, html[data-theme=dark] .otk-hot.on { color:#ff8a4c; }
html[data-theme=dark] .ont-hot.on { background:#3a2414; }
html[data-theme=dark] .otk-ttb.run { background:#d9692c; color:#fff; }
html[data-theme=dark] .otk-cn.new, html[data-theme=dark] .otk-hcn { background:#b9440f; color:#fff; }   /* белые цифры читаются (контраст ≥ 4,5) */
html[data-theme=dark] .otk-top { background:color-mix(in srgb, var(--bg) 86%, transparent); }
html[data-theme=dark] .otc-day span, html[data-theme=dark] .otc-ev > span { background:rgba(255,255,255,.07); color:#c4c7cd; }
html[data-theme=dark] .otc-ev.a-accept > span { background:#172d21; color:#9ee0b6; }
html[data-theme=dark] .otc-ev.a-return > span, html[data-theme=dark] .otc-ev.a-cancel > span, html[data-theme=dark] .otc-ev.a-over > span { background:#371d1b; color:#f6b4ae; }
html[data-theme=dark] .otc-ev.a-send > span { background:#29223f; color:#d0c4f6; }
html[data-theme=dark] .osh-bd, html[data-theme=dark] .otc-bd { background:rgba(0,0,0,.55); }
html[data-theme=dark] .osh-grab { background:#4a4e56; }
html[data-theme=dark] .ch-hs-bd { background:rgba(0,0,0,.55); }

/* ================= 1.0.33: цвета сообщений – чужие тёмные (как раньше свои) с белым текстом, свои – #1098E7 */
html[data-theme=dark] .otc-m:not(.me) .otc-b { background:var(--ch-them); color:var(--ch-them-ink); }
html[data-theme=dark] .ch-m.mine .ch-ores-d b, html[data-theme=dark] .ch-m.mine .ch-ack-me, html[data-theme=dark] .ch-m.mine .ch-stamp,
html[data-theme=dark] .ch-m.mine .ch-del-h, html[data-theme=dark] .ch-m.mine .ch-stt.err small { color:#fff; }
html[data-theme=dark] .ch-call-ic { background:rgba(255,255,255,.09); color:#fff; }
html[data-theme=dark] .ch-m.mine .ch-call-ic, html[data-theme=dark] .ch-m.mine .ch-call.t-ok .ch-call-ic,
html[data-theme=dark] .ch-m.mine .ch-call.t-miss .ch-call-ic { background:rgba(255,255,255,.2); color:#fff; }
html[data-theme=dark] .ch-m.them .ch-call.t-ok .ch-call-ic { color:#fff; }
html[data-theme=dark] .ch-m.them .ch-call.t-miss .ch-call-ic { color:#ff7b74; }
html[data-theme=dark] .ch-vnote { --vn-ring:#4b515c; }
html[data-theme=dark] .ch-m.mine .ch-vnote { --vn-ring:var(--ch-mine); }
html[data-theme=dark] .ch-vn-dur, html[data-theme=dark] .ch-vn-row > .ch-meta, html[data-theme=dark] .ch-vn-tr { background:var(--ch-them); color:var(--ch-them-ink); }
html[data-theme=dark] .ch-m.mine .ch-vn-dur, html[data-theme=dark] .ch-m.mine .ch-vn-row > .ch-meta,
html[data-theme=dark] .ch-m.mine .ch-vn-tr { background:var(--ch-mine); color:#fff; }
html[data-theme=dark] .ch-pbar { background:#1a1c21; border-color:var(--ch-line); }
html[data-theme=dark] .ch-pb-t { color:#fff; }
html[data-theme=dark] .ch-vnote, html[data-theme=dark] .ch-vn-v { background-color:#1d2025; }
html[data-theme=dark] .ch-vn-mute { background:rgba(0,0,0,.45); color:#fff; }
html[data-theme=dark] .ch-vnote.snd .ch-vn-pr circle { stroke:#fff; filter:drop-shadow(0 0 2px rgba(0,0,0,.45)); }
html[data-theme=dark] .ch-vn-play { background:rgba(0,0,0,.45); }
html[data-theme=dark] .ch-vn-play::after { border-color:transparent transparent transparent #fff; }
html[data-theme=dark] .ch-pb-pp { color:var(--ch-mine); }
/* 1.0.33: всплывающие уведомления */
html[data-theme=dark] { --nt-acc:#1098e7; }
html[data-theme=dark] .toast.sticky.nt { background:#1f2228; border-color:#343841; box-shadow:0 14px 34px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3); }
html[data-theme=dark] .nt-av { background:#2a2e35; color:#c2c7cf; }
html[data-theme=dark] .nt-av.k-person { background:#26344a; color:#c4d5ee; }
html[data-theme=dark] .nt-av.k-chat { background:#173a52; color:#7cc6f6; }
html[data-theme=dark] .nt-av.k-task { background:#2d2950; color:#b7aef6; }
html[data-theme=dark] .nt-av.k-alert { background:#4a2321; color:#ff9d95; }
html[data-theme=dark] .nt-av.k-shift, html[data-theme=dark] .nt-av.k-health { background:#47361a; color:#f3c56c; }
html[data-theme=dark] .nt-av.k-ev { background:none; }
html[data-theme=dark] .nt-src { background:#1f2228; box-shadow:0 0 0 2px #1f2228; color:#7cc6f6; }
html[data-theme=dark] .nt-src.k-task { color:#b7aef6; }
html[data-theme=dark] .toast.sticky.nt .tn-t { color:#e6e7ea; background:none; }
html[data-theme=dark] .toast.sticky.nt .ma-acts .btn, html[data-theme=dark] .toast.sticky.nt .ma-acts button { background:#2e323a; color:#e6e7ea; }
html[data-theme=dark] .toast.sticky.nt .ma-acts .primary { background:var(--nt-acc); color:#fff; }
html[data-theme=dark] .toast.sticky.nt .ma-acts .ghost { background:none; color:#9aa0a8; }
html[data-theme=dark] .toast.sticky.nt.urgent, html[data-theme=dark] .toast.sticky.nt.accalert, html[data-theme=dark] .toast.sticky.nt.escal { border-color:#7a2f2a; }
html[data-theme=dark] .toast.sticky.nt.urgent .ma-acts .primary, html[data-theme=dark] .toast.sticky.nt.accalert .ma-acts .primary,
html[data-theme=dark] .toast.sticky.nt.escal .ma-acts .primary { background:#d93025; color:#fff; }
html[data-theme=dark] .nt-cnt, html[data-theme=dark] .nt-send { background:var(--nt-acc); color:#fff; }
html[data-theme=dark] .nt-rep input { background:#16181c; border-color:#3a3f48; color:#eef0f3; }
html[data-theme=dark] .ts-ic { background:#47361a; color:#f3c56c; }
html[data-theme=dark] .ch-b.ch-vnb > .ch-stt { background:var(--ch-them); color:var(--ch-them-ink); }
html[data-theme=dark] .ch-m.mine .ch-b.ch-vnb > .ch-stt { background:var(--ch-mine); color:#fff; }
html[data-theme=dark] .ch-m.mine .ch-b.ch-vnb > .ch-stt .ch-stt-h { color:rgba(255,255,255,.84); }
/* 1.0.34: значок в кружке уведомления (рисунок-маска) – в тёмной теме тёмный на светлом кружке, как и раньше */
html[data-theme=dark] .toast.toast .toast-ic::after { background:#1b1d1f; }
html[data-theme=dark] .toast.toast.undo .toast-ic::after { background:#16181c; }

}
