/* TỆP SINH TỰ ĐỘNG từ style.css bởi tools/gen-dark-css.js — KHÔNG sửa tay (sửa MANUAL trong công cụ). */
html[data-theme="dark"] { --bg: #1f222a; --panel: #1f1f1f; --border: #2c2f34; --text: #e3e5e8; --muted: #82858b; --brand-green-dark: #39ac70; --brand-blue: #488a9d; --accent-dark: #3aac70; --accent-soft: #29332d; --accent-soft-2: #365141; --col-todo: #6a6e75; }
html[data-theme="dark"] .btn { background: #1f1f1f; }
html[data-theme="dark"] .btn:hover { background: #24262b; }
html[data-theme="dark"] .btn.primary { color: #ffffff; }
html[data-theme="dark"] .btn.danger { border-color: #5b3232; }
html[data-theme="dark"] .btn.danger:hover { background: #451f1f; }
html[data-theme="dark"] input[type=text], html[data-theme="dark"] input[type=password], html[data-theme="dark"] input[type=date], html[data-theme="dark"] input[type=search], html[data-theme="dark"] select, html[data-theme="dark"] textarea { background: #1f1f1f; }
html[data-theme="dark"] input:disabled, html[data-theme="dark"] select:disabled, html[data-theme="dark"] textarea:disabled { background: #212327; }
html[data-theme="dark"] .topbar { background: #1f1f1f; }
html[data-theme="dark"] .nav a:hover { background: #24262b; }
html[data-theme="dark"] .icon-btn:hover { background: #24262b; }
html[data-theme="dark"] .badge { color: #ffffff; }
html[data-theme="dark"] .user-chip:hover { background: #24262b; }
html[data-theme="dark"] .avatar { color: #ffffff; }
html[data-theme="dark"] .avatar.empty { background: #2f3136 !important; }
html[data-theme="dark"] .pf-field label { color: #9a9a9a; }
html[data-theme="dark"] .pf-lock { color: #7c7b7b; }
html[data-theme="dark"] .sess-row { border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] .dropdown { background: #1f1f1f; }
html[data-theme="dark"] .dropdown button.item:hover { background: #1f222a; }
html[data-theme="dark"] .dropdown button.item .dd-ico { color: #9a9a9a; }
html[data-theme="dark"] .notif { border-bottom: 1px solid #24262b; }
html[data-theme="dark"] .notif:hover { background: #1e2028; }
html[data-theme="dark"] .tree-pinned { border-bottom: 1px solid #323232; }
html[data-theme="dark"] .tree-sec { color: #9a9a9a; }
html[data-theme="dark"] .chan-team-hint { color: #7c7b7b; }
html[data-theme="dark"] .conv-more { background: #1f1f1f; }
html[data-theme="dark"] .conv-flag { color: #7c7b7b; }
html[data-theme="dark"] .unread.muted-badge { background: #5c5c5c !important; }
html[data-theme="dark"] .rail { background: #2a2a2e; border-right: 1px solid #373737; }
html[data-theme="dark"] .rail-btn { color: #9a9a9a; }
html[data-theme="dark"] .rail-btn:hover { background: rgba(31, 31, 31, 0.7); }
html[data-theme="dark"] .rail-me:hover { background: rgba(31, 31, 31, 0.7); }
html[data-theme="dark"] .pane { background: #262626; border-right: 1px solid #373737; }
html[data-theme="dark"] .pane-group { color: #e6e6e6; }
html[data-theme="dark"] .pane-group-ico { color: #9a9a9a; }
html[data-theme="dark"] .pane-item { color: #e6e6e6; }
html[data-theme="dark"] .pane-item:hover { background: #1f1f1f; }
html[data-theme="dark"] .pane-item.active { background: #1f1f1f; }
html[data-theme="dark"] .pane-item-ico { color: #9a9a9a; }
html[data-theme="dark"] .pane-tools .icon-btn.compose { color: #b2b2b2; }
html[data-theme="dark"] .pane-tools .icon-btn.compose:hover { background: #313131; }
html[data-theme="dark"] .pane-tools .icon-btn.compose .caret { color: #9a9a9a; }
html[data-theme="dark"] .team-row:hover { background: #1f1f1f; }
html[data-theme="dark"] .team-chev { color: #9a9a9a; }
html[data-theme="dark"] .team-badge { color: #ffffff; }
html[data-theme="dark"] .team-name { color: #e6e6e6; }
html[data-theme="dark"] .chan { color: #b2b2b2; }
html[data-theme="dark"] .chan:hover { background: #1f1f1f; }
html[data-theme="dark"] .chan.active { background: #1f1f1f; color: #e6e6e6; }
html[data-theme="dark"] .chan-ico { color: #9a9a9a; }
html[data-theme="dark"] .chan-count { color: #7c7b7b; }
html[data-theme="dark"] .tree-more { color: #9a9a9a; }
html[data-theme="dark"] .tree-more:hover { background: #313131; color: #e6e6e6; }
html[data-theme="dark"] .pop-menu { background: #1f1f1f; border: 1px solid #373737; }
html[data-theme="dark"] .pop-item { color: #e6e6e6; }
html[data-theme="dark"] .pop-item:hover:not(:disabled) { background: #262626; }
html[data-theme="dark"] .pop-item:disabled { color: #5a5a5a; }
html[data-theme="dark"] .pop-ico { color: #9a9a9a; }
html[data-theme="dark"] .pop-hint { color: #7c7b7b; }
html[data-theme="dark"] .pop-sep { background: #302e2d; }
html[data-theme="dark"] .set-search input { background: #1f1f1f; border-color: #373737; }
html[data-theme="dark"] .set-group { color: #9a9a9a; }
html[data-theme="dark"] .set-item { color: #e6e6e6; }
html[data-theme="dark"] .set-item:hover { background: #1f1f1f; }
html[data-theme="dark"] .set-item.active { background: #1f1f1f; }
html[data-theme="dark"] .set-ico { color: #9a9a9a; }
html[data-theme="dark"] .page.set-bg { background: #262626; }
html[data-theme="dark"] .set-card { background: #1f1f1f; border: 1px solid #373737; }
html[data-theme="dark"] .set-card-ico { color: #b2b2b2; }
html[data-theme="dark"] .set-card-title { color: #e6e6e6; }
html[data-theme="dark"] .set-card-desc { color: #9a9a9a; }
html[data-theme="dark"] .set-check small, html[data-theme="dark"] .set-row small { color: #9a9a9a; }
html[data-theme="dark"] .set-check.disabled { color: #7c7b7b; }
html[data-theme="dark"] .set-tile { border: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .set-tile:hover { border-color: #4a4a4a; }
html[data-theme="dark"] .set-tile-foot { color: #b2b2b2; }
html[data-theme="dark"] .set-row { border-bottom: 1px solid #282828; }
html[data-theme="dark"] .set-section { color: #e6e6e6; }
html[data-theme="dark"] .set-sub { color: #b2b2b2; }
html[data-theme="dark"] .set-row-ico > svg { color: #b2b2b2; }
html[data-theme="dark"] .set-note { color: #9a9a9a; background: #222427; }
html[data-theme="dark"] .set-note.warn { background: #533f1c; color: #e4b267; }
html[data-theme="dark"] .set-switch { color: #b2b2b2; }
html[data-theme="dark"] .set-switch i { border: 1px solid #9a9a9a; }
html[data-theme="dark"] .set-switch i::after { background: #9a9a9a; }
html[data-theme="dark"] .set-switch input:checked + i::after { background: #1f1f1f; }
html[data-theme="dark"] .set-num { color: #b2b2b2; }
html[data-theme="dark"] .set-kv > div:nth-child(odd) { color: #9a9a9a; }
html[data-theme="dark"] .set-kv code, html[data-theme="dark"] .set-card-desc code { background: #282828; }
html[data-theme="dark"] .set-card.about p { color: #b2b2b2; }
html[data-theme="dark"] .chip { border: 1px solid #424242; background: #1f1f1f; }
html[data-theme="dark"] .chip.on { color: #ffffff; }
html[data-theme="dark"] .icon-btn.small { color: #9a9a9a; }
html[data-theme="dark"] .pane .conv:hover { background: #1f1f1f; }
html[data-theme="dark"] .pane .conv.active { background: #1f1f1f; }
html[data-theme="dark"] .page.flush { background: #1f1f1f; }
html[data-theme="dark"] .main-empty-ico { color: #4c4b4a; }
html[data-theme="dark"] .act:hover { background: #1f1f1f; }
html[data-theme="dark"] .act.active { background: #1f1f1f; }
html[data-theme="dark"] .avatar.sys { background: #313131; }
html[data-theme="dark"] .act-kind { border: 2px solid #262626; color: #ffffff; }
html[data-theme="dark"] .act-title { color: #e6e6e6; }
html[data-theme="dark"] .act-time { color: #9a9a9a; }
html[data-theme="dark"] .act-preview { color: #b2b2b2; }
html[data-theme="dark"] .act-where { color: #9a9a9a; }
html[data-theme="dark"] .act-detail { background: #262626; }
html[data-theme="dark"] .act-detail-head { background: #1f1f1f; border-bottom: 1px solid #373737; }
html[data-theme="dark"] .act-detail-ico { color: #ffffff; }
html[data-theme="dark"] .act-thread .order-side.oc { border-left: 1px solid #373737; border-right: 1px solid #373737; }
html[data-theme="dark"] .act-thread .order-side.oc.tt { background: #262626; }
html[data-theme="dark"] .tt .oc-list { background: #262626; }
html[data-theme="dark"] .tt .oc-list > * { background: #1f1f1f; border-left: 1px solid #323232; border-right: 1px solid #323232; }
html[data-theme="dark"] .tt .oc-list > :first-child { border-top: 1px solid #323232; }
html[data-theme="dark"] .tt .oc-list > :last-child { border-bottom: 1px solid #323232; }
html[data-theme="dark"] .tt-post { border-bottom: 1px solid #2d2d2d !important; }
html[data-theme="dark"] .tt-name { color: #e6e6e6; }
html[data-theme="dark"] .pp-x { color: #7c7b7b; }
html[data-theme="dark"] .pp-x:hover { background: rgba(0, 0, 0, 0.08); }
html[data-theme="dark"] .tt-ref { background: #1f1f1f; border: 1px solid #373737; }
html[data-theme="dark"] .tt-ref-ico { color: #ffffff; }
html[data-theme="dark"] .tt-ref-txt small { color: #9a9a9a; }
html[data-theme="dark"] .tt .oc-msg:hover { background: #232323; }
html[data-theme="dark"] .tt .oc-day { color: #7c7b7b; }
html[data-theme="dark"] .tt-empty { color: #7c7b7b; }
html[data-theme="dark"] .column { background: #282a30; }
html[data-theme="dark"] .column.drop-over { background: #232e50; }
html[data-theme="dark"] .column-head .count { background: #1f1f1f; }
html[data-theme="dark"] .card { background: #1f1f1f; }
html[data-theme="dark"] .due { background: #24262b; }
html[data-theme="dark"] .due.overdue { background: #4b1f1f; }
html[data-theme="dark"] .due.today { background: #56401c; color: #e4b367; }
html[data-theme="dark"] .prio.urgent { background: #4b1f1f; }
html[data-theme="dark"] .prio.high { background: #56401c; color: #e4b367; }
html[data-theme="dark"] .prio.normal { background: #25282d; color: #8f9298; }
html[data-theme="dark"] .prio.low { background: #242d27; color: #90bca0; }
html[data-theme="dark"] .status-pill { color: #ffffff; }
html[data-theme="dark"] table.data th, html[data-theme="dark"] table.data td { border-bottom: 1px solid #26282c; }
html[data-theme="dark"] table.data th { background: #1d2026; }
html[data-theme="dark"] table.data tr.clickable:hover td { background: #1e2028; }
html[data-theme="dark"] .tabs { background: #282a30; }
html[data-theme="dark"] .tabs button.active { background: #1f1f1f; }
html[data-theme="dark"] .progress { background: #26282c; }
html[data-theme="dark"] .tag-off { background: #24262b; }
html[data-theme="dark"] .modal-backdrop { background: rgba(20, 28, 45, 0.45); }
html[data-theme="dark"] .modal { background: #1f1f1f; }
html[data-theme="dark"] .comment .bubble { background: #1f222a; }
html[data-theme="dark"] .toast { color: #ffffff; }
html[data-theme="dark"] .nav-badge { color: #ffffff; }
html[data-theme="dark"] .conv { border-bottom: 1px solid #232429; }
html[data-theme="dark"] .conv:hover { background: #1e2028; }
html[data-theme="dark"] .avatar.group { background: #282a30; }
html[data-theme="dark"] .unread { color: #ffffff; }
html[data-theme="dark"] .msg-list { background: #202227; }
html[data-theme="dark"] .day-sep span { background: #2a2c32; }
html[data-theme="dark"] .bubble { background: #1f1f1f; border: 1px solid #292b30; }
html[data-theme="dark"] .msg.mine .bubble { background: #28312c; border-color: #36413a; color: #e6e6e6; }
html[data-theme="dark"] .bubble.is-deleted { border: 1px dashed #3e4046 !important; }
html[data-theme="dark"] .bubble:has(.msg-img) { background: #1f1f1f !important; border-color: #292b30 !important; }
html[data-theme="dark"] .fcard { background: #1f1f1f; color: #e6e6e6; border: 1px solid #373737; }
html[data-theme="dark"] .msg.mine .bubble .fcard a.fcard-name, html[data-theme="dark"] .fcard-name { color: #e6e6e6; }
html[data-theme="dark"] .fcard-size { color: #9a9a9a; }
html[data-theme="dark"] .msg.mine .bubble .fcard a.fcard-btn, html[data-theme="dark"] .fcard-btn { color: #b2b2b2; }
html[data-theme="dark"] .fcard-btn:hover { background: #2a2a2a; }
html[data-theme="dark"] .fcard-prev { border-top: 1px solid #373737; background: #262626; }
html[data-theme="dark"] .fcard-prev iframe { background: #1f1f1f; }
html[data-theme="dark"] .fcard-prev:hover::after { background: rgba(0, 0, 0, 0.04); }
html[data-theme="dark"] .msg.mine .bubble:has(.fcard), html[data-theme="dark"] .msg.mine .bubble:has(.msg-quote) { background: #28312c; border-color: #36413a; color: #e6e6e6; }
html[data-theme="dark"] .msg-tools { background: #1f1f1f; border: 1px solid #373737; }
html[data-theme="dark"] .mt-emo:hover { background: #282828; }
html[data-theme="dark"] .mt-sep { background: #373737; }
html[data-theme="dark"] .mt-btn { color: #9a9a9a; }
html[data-theme="dark"] .mt-btn:hover { background: #282828; }
html[data-theme="dark"] .react { border: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .react span { color: #9a9a9a; }
html[data-theme="dark"] .msg-quote { background: rgba(0, 0, 0, 0.04); }
html[data-theme="dark"] .msg-quote:hover { background: rgba(0, 0, 0, 0.07); }
html[data-theme="dark"] .msg-quote.deleted { color: #7c7b7b; }
html[data-theme="dark"] .mq-head span { color: #7c7b7b; }
html[data-theme="dark"] .mq-text { color: #b2b2b2; }
html[data-theme="dark"] .oc-reply { background: #262626; }
html[data-theme="dark"] .oc-reply-body span { color: #9a9a9a; }
html[data-theme="dark"] #chat-head { background: #1f1f1f; }
html[data-theme="dark"] .ch-btn { color: #b2b2b2; }
html[data-theme="dark"] .ch-btn:hover, html[data-theme="dark"] .ch-btn.on { background: #2a2a2a; }
html[data-theme="dark"] .ch-sep { background: #373737; }
html[data-theme="dark"] .chat-findpane { background: #1f1f1f; }
html[data-theme="dark"] .cf-count { color: #7c7b7b; }
html[data-theme="dark"] .cf-empty { color: #7c7b7b; }
html[data-theme="dark"] .cf-item:hover { background: #262626; }
html[data-theme="dark"] .cf-top span { color: #7c7b7b; }
html[data-theme="dark"] .cf-text { color: #b2b2b2; }
html[data-theme="dark"] .chan-tabs button { color: #b2b2b2; }
html[data-theme="dark"] .chan-tabs button.on { color: #e6e6e6; }
html[data-theme="dark"] .chtab-dd { color: #9a9a9a; }
html[data-theme="dark"] .chtab-dd:hover { background: #2a2a2a; }
html[data-theme="dark"] .chan-tabs .chtab-add { color: #9a9a9a; }
html[data-theme="dark"] .posts-wrap { background: #262626; border-top: 1px solid #323232; }
html[data-theme="dark"] .posts-empty { color: #9a9a9a; }
html[data-theme="dark"] .post-card { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .pc-msg:hover { background: #232323; }
html[data-theme="dark"] .msg-edited { color: #7c7b7b; }
html[data-theme="dark"] .pc-meta { color: #9a9a9a; }
html[data-theme="dark"] .pc-meta b { color: #e6e6e6; }
html[data-theme="dark"] .pc-file { border: 1px solid #373737; color: #e6e6e6; }
html[data-theme="dark"] .pc-img img { border: 1px solid #323232; }
html[data-theme="dark"] .pc-reply { border-top: 1px solid #2a2a2a; }
html[data-theme="dark"] .pc-reply-btn { color: #9a9a9a; }
html[data-theme="dark"] .pc-reply-btn:hover { background: #232323; }
html[data-theme="dark"] .gf-av-edit { background: #1f1f1f; border: 1px solid #424242; }
html[data-theme="dark"] .avatar.group.has-img { background: #282a30; }
html[data-theme="dark"] .oc-prio.important { background: #4c1f23; }
html[data-theme="dark"] .oc-prio.urgent { color: #ffffff; }
html[data-theme="dark"] .oc-prio.urgent .oc-fbtn { color: #ffffff; }
html[data-theme="dark"] .bubble.p-urgent { background: #47181c !important; }
html[data-theme="dark"] .bubble.k-poll, html[data-theme="dark"] .bubble.k-praise { background: #1f1f1f !important; border-color: #373737 !important; color: #e6e6e6 !important; }
html[data-theme="dark"] .poll-sub { color: #7c7b7b; }
html[data-theme="dark"] .poll-opt { border: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .poll-foot { color: #9a9a9a; }
html[data-theme="dark"] .praise-emo { background: color-mix(in srgb, var(--c) 16%, #1f1f1f); }
html[data-theme="dark"] .praise-who { color: #b2b2b2; }
html[data-theme="dark"] .pb { border: 1px solid #373737; background: #1f1f1f; color: #b2b2b2; }
html[data-theme="dark"] .pb.on { background: color-mix(in srgb, var(--c) 8%, #1f1f1f); }
html[data-theme="dark"] .sch-row { border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] .sch-when { color: #9a9a9a; }
html[data-theme="dark"] .ch-join { color: #ffffff; }
html[data-theme="dark"] .ch-incall { color: #75da71; }
html[data-theme="dark"] .call-ui { color: #e6e6e6; background: linear-gradient(135deg, #28342e 0%, #23252d 45%, #2c2732 100%); }
html[data-theme="dark"] .call-bar { background: #1f1f1f; border-bottom: 1px solid #373737; }
html[data-theme="dark"] .call-title #call-timer { color: #b2b2b2; }
html[data-theme="dark"] .cbar-btn { color: #b2b2b2; }
html[data-theme="dark"] .cbar-btn:hover { background: #282828; }
html[data-theme="dark"] .cbar-sep { background: #373737; }
html[data-theme="dark"] .cbar-btn.hang:hover { background: #4c1f23; }
html[data-theme="dark"] .call-wait span { color: #b2b2b2; }
html[data-theme="dark"] .call-tile { background: rgba(31, 31, 31, 0.55); border: 1px solid rgba(230, 230, 230, 0.06); }
html[data-theme="dark"] .ct-status { color: #9a9a9a; }
html[data-theme="dark"] .ct-name { background: rgba(36, 36, 36, 0.72); color: #ffffff; }
html[data-theme="dark"] .ct-name i { color: #3f3f3f; }
html[data-theme="dark"] .ct-pin { background: rgba(36, 36, 36, 0.65); color: #ffffff; }
html[data-theme="dark"] .call-tile.main { border-color: rgba(230, 230, 230, 0.08); }
html[data-theme="dark"] .cbar-drop { color: #9a9a9a; }
html[data-theme="dark"] .cbar-drop:hover, html[data-theme="dark"] .cbar-drop.active { background: #2a2a2a; }
html[data-theme="dark"] .cbar-btn sup.unread-dot { color: #ffffff; }
html[data-theme="dark"] .call-pop { background: #1f1f1f; color: #e6e6e6; }
html[data-theme="dark"] .call-pop hr { border-top: 1px solid #313131; }
html[data-theme="dark"] .cp-sec { color: #9a9a9a; }
html[data-theme="dark"] .cp-note { color: #7c7b7b; }
html[data-theme="dark"] .cp-radio:hover { background: #262626; }
html[data-theme="dark"] .cp-ico { color: #9a9a9a; }
html[data-theme="dark"] .cp-meter i { background: #343434; }
html[data-theme="dark"] .cp-switch small { color: #7c7b7b; }
html[data-theme="dark"] .cp-switch b { background: #4a4a4a; }
html[data-theme="dark"] .cp-switch b::after { background: #1f1f1f; }
html[data-theme="dark"] .cp-prev-off { color: #4a4a4a; }
html[data-theme="dark"] .cc-list { background: #232323; }
html[data-theme="dark"] .cc-sys { color: #7c7b7b; }
html[data-theme="dark"] .cc-meta { color: #7c7b7b; }
html[data-theme="dark"] .cc-meta b { color: #b2b2b2; }
html[data-theme="dark"] .cc-bubble { background: #1f1f1f; border: 1px solid #313131; }
html[data-theme="dark"] .cc-msg.mine .cc-bubble { background: #28312c; border-color: #36413a; }
html[data-theme="dark"] .call-ui.with-side .call-side { background: #1f1f1f; border-left: 1px solid #373737; }
html[data-theme="dark"] .call-ic { color: #b2b2b2; }
html[data-theme="dark"] .call-ic:hover { background: #282828; }
html[data-theme="dark"] .cs-sec { color: #9a9a9a; }
html[data-theme="dark"] .cs-row:hover { background: #262626; }
html[data-theme="dark"] .cs-mic { color: #b2b2b2; }
html[data-theme="dark"] .cs-inv { border: 1px solid #424242; background: #1f1f1f; }
html[data-theme="dark"] .cs-inv.ringing { color: #75da71; }
html[data-theme="dark"] .cs-note { color: #9a9a9a; }
html[data-theme="dark"] .call-ring { background: #1f1f1f; color: #e6e6e6; }
html[data-theme="dark"] .cr-txt span { color: #9a9a9a; }
html[data-theme="dark"] .cr-btn { color: #ffffff; }
@media (max-width: 600px) {
html[data-theme="dark"] #call-rings .call-ring { color: #ffffff; }
html[data-theme="dark"] #call-rings .cr-txt b { color: #ffffff; }
html[data-theme="dark"] #call-rings .cr-txt span { color: rgba(255, 255, 255, 0.75); }
html[data-theme="dark"] #call-rings .cr-lbl { color: rgba(255, 255, 255, 0.85); }
}
html[data-theme="dark"] .fv { background: rgba(20, 20, 20, 0.86); }
html[data-theme="dark"] .fv-head { background: #1f1f1f; color: #e6e6e6; }
html[data-theme="dark"] .fv-title span { color: #9a9a9a; }
html[data-theme="dark"] .fv-pos { color: #9a9a9a; }
html[data-theme="dark"] .fv-btn { color: #b2b2b2; }
html[data-theme="dark"] .fv-btn:hover { background: #2a2a2a; }
html[data-theme="dark"] .fv-img { background: #1f1f1f; }
html[data-theme="dark"] .fv-frame { background: #1f1f1f; }
html[data-theme="dark"] .fv-media { background: #000000; }
html[data-theme="dark"] .fv-msg { color: #ffffff; }
html[data-theme="dark"] .fv-msg.small { color: #9a9a9a; }
html[data-theme="dark"] .fv-text { background: #1f1f1f; color: #e6e6e6; }
html[data-theme="dark"] .fv-table-wrap { background: #1f1f1f; }
html[data-theme="dark"] .fv-table { color: #e6e6e6; }
html[data-theme="dark"] .fv-table th, html[data-theme="dark"] .fv-table td { border: 1px solid #373737; }
html[data-theme="dark"] .fv-table th { background: #282828; }
html[data-theme="dark"] .fv-table tr:nth-child(even) td { background: #232323; }
html[data-theme="dark"] .fv-nav { background: rgba(31, 31, 31, 0.15); color: #ffffff; }
html[data-theme="dark"] .fv-nav:hover { background: rgba(31, 31, 31, 0.3); }
html[data-theme="dark"] .chat-tabs button { color: #b2b2b2; }
html[data-theme="dark"] .chat-tabs button.on { color: #e6e6e6; }
html[data-theme="dark"] .chat-main.tab-shared .shared-view { background: #1f1f1f; }
html[data-theme="dark"] .sh-chip { border: 1px solid #424242; background: #1f1f1f; color: #b2b2b2; }
html[data-theme="dark"] .sh-table th { color: #b2b2b2; border-bottom: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .sh-table td { border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] .sh-table tr:hover td { background: #232323; }
html[data-theme="dark"] .sh-name a { color: #e6e6e6; }
html[data-theme="dark"] .sh-name small { color: #7c7b7b; }
html[data-theme="dark"] .sh-link-ico { border: 1px solid #373737; color: #9a9a9a; }
html[data-theme="dark"] .sh-empty { color: #7c7b7b; }
html[data-theme="dark"] .pin-bar { background: #1f1f1f; }
html[data-theme="dark"] .pin-ico { color: #9a9a9a; }
html[data-theme="dark"] .pin-main b { color: #b2b2b2; }
html[data-theme="dark"] .pin-count, html[data-theme="dark"] .pin-date { color: #7c7b7b; }
html[data-theme="dark"] .cs-head { background: #262626; }
html[data-theme="dark"] .cs-toggle { color: #b2b2b2; }
html[data-theme="dark"] .cs-toggle:hover { background: rgba(0, 0, 0, 0.04); }
html[data-theme="dark"] .cs-chev { color: #9a9a9a; }
html[data-theme="dark"] .cs-unread { color: #ffffff; }
html[data-theme="dark"] .cs-empty { color: #7c7b7b; }
html[data-theme="dark"] .set-check.disabled small { color: #696969; }
html[data-theme="dark"] .kbd-row { border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] kbd { border: 1px solid #424242; background: #232323; color: #e6e6e6; }
html[data-theme="dark"] .pick { border-bottom: 1px solid #232429; }
html[data-theme="dark"] .pick:hover { background: #1e2028; }
html[data-theme="dark"] .pick-btn { border-bottom: 1px solid #232429; }
html[data-theme="dark"] .c-gray { background: #28292e; color: #9ea1a6; }
html[data-theme="dark"] .c-blue { background: #1d2e56; color: #7893d3; }
html[data-theme="dark"] .c-green { background: #304f37; color: #7fcc9a; }
html[data-theme="dark"] .c-red { background: #522020; color: #d27e79; }
html[data-theme="dark"] .c-pink { background: #4f233a; color: #c784a5; }
html[data-theme="dark"] .c-yellow { background: #655522; color: #e4b967; }
html[data-theme="dark"] .c-purple { background: #35234e; }
html[data-theme="dark"] .c-orange { background: #5f3d20; color: #e4a067; }
html[data-theme="dark"] .c-teal { background: #315252; color: #76d2d6; }
html[data-theme="dark"] .order-modal > .order-top { border-bottom: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .o-top-sep { background: #373737; }
html[data-theme="dark"] .order-banner { color: #ffffff; }
html[data-theme="dark"] .order-section-title { color: #e3e5e8; }
html[data-theme="dark"] .order-label { color: #b2b2b2; }
html[data-theme="dark"] .order-label .ico { color: #9a9a9a; }
html[data-theme="dark"] .o-tool { color: #b2b2b2; }
html[data-theme="dark"] .o-close { color: #b2b2b2; }
html[data-theme="dark"] .order-banner-icon svg { color: #ffffff; }
html[data-theme="dark"] .act-detail-ico svg { color: #ffffff; }
html[data-theme="dark"] .meta-ico { color: #9a9a9a; }
html[data-theme="dark"] .order-value .placeholder { color: #616368; }
html[data-theme="dark"] .order-field.inline-editable:hover .order-value { background: #232429; border-color: #2e3035; }
html[data-theme="dark"] .person-chip { background: #4c1f31; color: #c784a5; }
html[data-theme="dark"] .att-zone { border: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .att-zone-head { border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] .att-zone-title { color: #e6e6e6; }
html[data-theme="dark"] .att-zone-count { color: #9a9a9a; background: #2a2a2a; }
html[data-theme="dark"] .att-zone-desc { color: #9a9a9a; }
html[data-theme="dark"] .att-row:hover { background: #252525; }
html[data-theme="dark"] .att-type { color: #ffffff; }
html[data-theme="dark"] .att-main a { color: #e6e6e6; }
html[data-theme="dark"] .att-meta { color: #7c7b7b; }
html[data-theme="dark"] .att-btn { color: #7c7b7b; }
html[data-theme="dark"] .att-btn:hover { background: #2d2d2d; }
html[data-theme="dark"] .att-btn.del:hover { background: #4a1f1f; }
html[data-theme="dark"] .att-empty { color: #7c7b7b; border: 1px dashed #373737; }
html[data-theme="dark"] .order-side.oc { background: #1f1f1f; border-left: 1px solid #373737; }
html[data-theme="dark"] .oc-head { border-bottom: 1px solid #373737; }
html[data-theme="dark"] .oc-title { color: #e6e6e6; }
html[data-theme="dark"] .oc-list { background: #1f1f1f; }
html[data-theme="dark"] .oc-empty { color: #9a9a9a; }
html[data-theme="dark"] .oc-day { color: #9a9a9a; }
html[data-theme="dark"] .oc-meta { color: #9a9a9a; }
html[data-theme="dark"] .oc-name { color: #b2b2b2; }
html[data-theme="dark"] .oc-bubble { background: #262626; }
html[data-theme="dark"] .oc-bubble:hover { background: #2a2a2a; }
html[data-theme="dark"] .oc-text { color: #e6e6e6; }
html[data-theme="dark"] .oc-img img { border: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .oc-file { background: #1f1f1f; border: 1px solid #373737; color: #e6e6e6; }
html[data-theme="dark"] .oc-file:hover { background: #232323; border-color: #4a4a4a; }
html[data-theme="dark"] .oc-file-ico { color: #ffffff; }
html[data-theme="dark"] .oc-file-size { color: #9a9a9a; }
html[data-theme="dark"] .oc-edited { color: #9a9a9a; }
html[data-theme="dark"] .oc-actions { background: #1f1f1f; border: 1px solid #373737; }
html[data-theme="dark"] .oc-actions button { color: #9a9a9a; }
html[data-theme="dark"] .oc-actions button:hover { background: #2a2a2a; }
html[data-theme="dark"] .oc-composer { border: 1px solid #373737; background: #1f1f1f; }
html[data-theme="dark"] .oc-input { color: #e6e6e6; }
html[data-theme="dark"] .oc-input.empty::before { color: #7c7b7b; }
html[data-theme="dark"] .oc-tool { color: #9a9a9a; }
html[data-theme="dark"] .oc-tool:hover, html[data-theme="dark"] .oc-tool.on { background: #2a2a2a; }
html[data-theme="dark"] .voice-head .fcard-name { color: #e6e6e6; }
html[data-theme="dark"] .m-sheet-bg.open { background: rgba(0, 0, 0, 0.4); }
html[data-theme="dark"] .m-sheet { background: #1f1f1f; }
html[data-theme="dark"] .m-sheet-grip { background: #4a4a4a; }
html[data-theme="dark"] .m-sheet-title { color: #e6e6e6; }
html[data-theme="dark"] .m-sheet-sep { background: #2d2d2d; }
html[data-theme="dark"] .m-sheet-item { color: #e6e6e6; }
html[data-theme="dark"] .m-sheet-item:active { background: #2a2a2a; }
html[data-theme="dark"] .m-sheet-txt small { color: #8e8e8e; }
html[data-theme="dark"] .upd-prog { background: #343434; }
html[data-theme="dark"] .upd-prog-txt { color: #9a9a9a; }
html[data-theme="dark"] .m-banner { background: #1f1f1f; }
html[data-theme="dark"] .m-banner-app { color: #ffffff; }
html[data-theme="dark"] .m-banner-top b { color: #e6e6e6; }
html[data-theme="dark"] .m-banner-top span { color: #8e8e8e; }
html[data-theme="dark"] .m-banner-txt small { color: #9a9a9a; }
html[data-theme="dark"] .m-banner-txt p { color: #b2b2b2; }
html[data-theme="dark"] .m-banner-x { color: #8e8e8e; }
html[data-theme="dark"] .m-sheet.m-pick .m-sheet-title { border-bottom: 1px solid #2d2d2d; }
html[data-theme="dark"] .m-sheet-head { color: #9a9a9a; }
html[data-theme="dark"] .oc-cam { background: #000000; }
html[data-theme="dark"] .oc-cam video { background: #000000; }
html[data-theme="dark"] .oc-cam-bar { background: linear-gradient(transparent, rgba(0, 0, 0, 0.45)); }
html[data-theme="dark"] .oc-cam-btn { background: rgba(0, 0, 0, 0.35); color: #ffffff; }
html[data-theme="dark"] .oc-cam-shot { border: 4px solid #1f1f1f; }
html[data-theme="dark"] .oc-cam-shot span { background: #1f1f1f; }
html[data-theme="dark"] .oc-sep { background: #373737; }
html[data-theme="dark"] .oc-fmt { border-bottom: 1px solid #302e2d; }
html[data-theme="dark"] .oc-fbtn { color: #b2b2b2; }
html[data-theme="dark"] .oc-fbtn:hover { background: #2a2a2a; }
html[data-theme="dark"] .oc-pop { background: #1f1f1f; border: 1px solid #373737; }
html[data-theme="dark"] .oc-swatch { border: 2px solid #1f1f1f; }
html[data-theme="dark"] .oc-size:hover { background: #2a2a2a; }
html[data-theme="dark"] .oc-emo:hover { background: #2a2a2a; }
html[data-theme="dark"] .oc-att { border: 1px solid #373737; background: #232323; }
html[data-theme="dark"] .oc-att.file { background: #1f1f1f; }
html[data-theme="dark"] .oc-att-size { color: #7c7b7b; }
html[data-theme="dark"] .oc-att-x { background: rgba(0, 0, 0, 0.55); color: #ffffff; }
html[data-theme="dark"] .oc-att.file .oc-att-x { color: #9a9a9a; }
html[data-theme="dark"] .oc-att.file .oc-att-x:hover { background: #2c2c2c; }
html[data-theme="dark"] .oc-att-busy { border: 3px solid rgba(230, 230, 230, 0.15); }
html[data-theme="dark"] .oc-att-err { color: #ffffff; }
html[data-theme="dark"] .oc-hint { color: #9a9a9a; }
html[data-theme="dark"] .hist-person:hover { border-color: #40454f; }
html[data-theme="dark"] .mention-pop { background: #1f1f1f; }
html[data-theme="dark"] .mention-item:hover, html[data-theme="dark"] .mention-item:first-child { background: #19264a; }
html[data-theme="dark"] .opt-row { border-bottom: 1px solid #25262a; }
html[data-theme="dark"] .ft-type { color: #b2b2b2; }
@media (max-width: 860px) {
html[data-theme="dark"] .shell[data-section=work] .pane, html[data-theme="dark"] .shell[data-section=settings] .pane { border-bottom: 1px solid #373737; }
}
html[data-theme="dark"] .search-box { background: #1f1f1f; }
html[data-theme="dark"] .view-tab + .view-tab::before, html[data-theme="dark"] .view-add::before { background: #3b3d42; }
html[data-theme="dark"] .view-tab:hover { background: #26292c; }
html[data-theme="dark"] .view-add:hover { background: #26292c; }
html[data-theme="dark"] .view-summary b { color: #9ea1a6; }
html[data-theme="dark"] .view-summary .sep { color: #3e4046; }
html[data-theme="dark"] tr.group-row td { background: #202227; color: #e3e5e8; }
html[data-theme="dark"] tr.group-row:hover td { background: #25282d; }
html[data-theme="dark"] .list-foot { border-top: 1px solid #26282c; }
html[data-theme="dark"] .cell-text { color: #9ea1a6; }
html[data-theme="dark"] .ve-cond { background: #202227; }
html[data-theme="dark"] .dirty-note { color: #e4b367; background: #56441c; }
html[data-theme="dark"] tr.row-c-red td { background: #522320; }
html[data-theme="dark"] tr.row-c-red:hover td { background: #5c2925; }
html[data-theme="dark"] tr.row-c-orange td { background: #5a3a1e; }
html[data-theme="dark"] tr.row-c-orange:hover td { background: #684323; }
html[data-theme="dark"] tr.row-c-yellow td { background: #5f5220; }
html[data-theme="dark"] tr.row-c-yellow:hover td { background: #736326; }
html[data-theme="dark"] tr.row-c-green td { background: #2a382e; }
html[data-theme="dark"] tr.row-c-green:hover td { background: #385942; }
html[data-theme="dark"] tr.row-c-blue td { background: #1c2e53; }
html[data-theme="dark"] tr.row-c-blue:hover td { background: #1f305d; }
html[data-theme="dark"] tr.row-c-purple td { background: #35234b; }
html[data-theme="dark"] tr.row-c-purple:hover td { background: #3d2a56; }
html[data-theme="dark"] tr.row-c-gray td { background: #292a2e; }
html[data-theme="dark"] tr.row-c-gray:hover td { background: #303235; }
html[data-theme="dark"] .ocard.row-c-red { background: #522320; }
html[data-theme="dark"] .ocard.row-c-orange { background: #5a3a1e; }
html[data-theme="dark"] .ocard.row-c-yellow { background: #5f5220; }
html[data-theme="dark"] .ocard.row-c-green { background: #2a382e; }
html[data-theme="dark"] .ocard.row-c-blue { background: #1c2e53; }
html[data-theme="dark"] .ocard.row-c-purple { background: #35234b; }
html[data-theme="dark"] .ocard.row-c-gray { background: #292a2e; }
html[data-theme="dark"] .fm-rule.row-c-gray { border-left-color: #6c6e74; }
html[data-theme="dark"] .fm-cond .ve-cond { background: #202227; }
html[data-theme="dark"] .ve-tile { background: #1f1f1f; }
html[data-theme="dark"] .ve-tile:hover { border-color: #484b51; background: #1d2026; }
html[data-theme="dark"] .ve-tile-ico { background: #26292c; color: #9ea1a6; }
html[data-theme="dark"] .ve-tile.on .ve-tile-ico { background: #1f1f1f; }
html[data-theme="dark"] .ve-tab:hover { background: #222529; }
html[data-theme="dark"] .ve-count { background: #2c2e32; color: #9ea1a6; }
html[data-theme="dark"] .ve-hint { color: #9ea1a6; background: #222529; }
html[data-theme="dark"] .view-editor .ve-cond { border: 1px solid #2c2e32; background: #1d2026; }
html[data-theme="dark"] .ve-del-cond:hover { background: #481f1f; }
html[data-theme="dark"] .cp-head { background: #202227; }
html[data-theme="dark"] .cp-item.on:hover { background: #222529; }
html[data-theme="dark"] .cp-btn { color: #9ea1a6; }
html[data-theme="dark"] .cp-btn:hover:not(:disabled) { background: #292c30; }
html[data-theme="dark"] .cp-btn.danger:hover:not(:disabled) { background: #481f1f; }
html[data-theme="dark"] .upd-banner.ok { background: #29332d; color: #72daa3; }
html[data-theme="dark"] .upd-banner.bad { background: #481f1f; color: #ce807d; }
html[data-theme="dark"] .upd-state.new { border-color: #243f6b; background: #182c48; }
html[data-theme="dark"] .upd-ico { background: #26292c; color: #9ea1a6; }
html[data-theme="dark"] .upd-state.new .upd-ico { background: #1d3056; color: #7893d3; }
html[data-theme="dark"] .upd-state.ready .upd-ico { background: #1f1f1f; }
html[data-theme="dark"] .ok-text { color: #72daa3; }
html[data-theme="dark"] .restart-overlay { background: rgba(20, 28, 45, 0.55); }
html[data-theme="dark"] .restart-card { background: #1f1f1f; }
html[data-theme="dark"] .client-steps code { background: #26292c; }
html[data-theme="dark"] .client-invite { background: #1f1f1f; }
html[data-theme="dark"] .tm-head { border-bottom: 1px solid #323232; background: #1f1f1f; }
html[data-theme="dark"] .tm-title span { color: #9a9a9a; }
html[data-theme="dark"] .tm-tabs a { color: #b2b2b2; }
html[data-theme="dark"] .tm-tabs a.on { color: #e6e6e6; }
html[data-theme="dark"] .tm-search { border: 1px solid #424242; }
html[data-theme="dark"] .tm-table { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .tm-table th { color: #9a9a9a; background: #232323; border-bottom: 1px solid #323232; }
html[data-theme="dark"] .tm-table td { border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] .tm-link-row:hover td { background: #252525; }
html[data-theme="dark"] .tm-role { border: 1px solid #424242; background: #1f1f1f; }
html[data-theme="dark"] .tm-pick { border: 1px solid #323232; }
html[data-theme="dark"] .tm-row { border-bottom: 1px solid #282828; }
html[data-theme="dark"] .tm-row:hover { background: #252525; }
html[data-theme="dark"] .tm-tile { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .tm-tile b { color: #e6e6e6; }
html[data-theme="dark"] .tm-tile span { color: #9a9a9a; }
html[data-theme="dark"] .tm-tile.warn b { color: #e4b267; }
html[data-theme="dark"] .tm-card { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .tm-col span { color: #b2b2b2; }
html[data-theme="dark"] .tm-col em { color: #7c7b7b; }
html[data-theme="dark"] .tm-htrack { background: #2a2a2a; }
html[data-theme="dark"] .tm-set { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .tm-set-row { border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] .tm-add-link { color: #e6e6e6; }
html[data-theme="dark"] .tm-sec-head { color: #e6e6e6; }
html[data-theme="dark"] .tm-table.flat th { color: #b2b2b2; }
html[data-theme="dark"] .tm-table.flat td { border-bottom: 1px solid #2d2d2d; }
html[data-theme="dark"] .tm-table.flat tbody tr:hover td { background: #262626; }
html[data-theme="dark"] .tm-tag { background: #2a2a2a; color: #b2b2b2; }
html[data-theme="dark"] .tm-x { color: #b2b2b2; }
html[data-theme="dark"] .tm-x:hover { background: #2d2d2d; }
html[data-theme="dark"] .tm-table.flat .tm-role:hover { border-color: #424242; background: #1f1f1f; }
html[data-theme="dark"] .tm-badge { color: #ffffff; }
html[data-theme="dark"] .app-ico { color: #ffffff; }
html[data-theme="dark"] .app-count { color: #7c7b7b; }
html[data-theme="dark"] .app-none { color: #7c7b7b; }
html[data-theme="dark"] .app-ext { color: #7c7b7b; }
html[data-theme="dark"] .apps-sec h3 { color: #b2b2b2; }
html[data-theme="dark"] .app-tile { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] a.app-tile:hover { border-color: #4a4a4a; }
html[data-theme="dark"] .app-tile-txt span { color: #9a9a9a; }
html[data-theme="dark"] .app-tile.soon { background: #232323; }
html[data-theme="dark"] .app-tile.soon em { color: #7c7b7b; }
html[data-theme="dark"] .app-head { border-bottom: 1px solid #323232; background: #1f1f1f; }
html[data-theme="dark"] .app-head-txt span { color: #9a9a9a; }
html[data-theme="dark"] .app-frame { background: #1f1f1f; }
html[data-theme="dark"] .app-frame-hint { color: #7c7b7b; border-top: 1px solid #2c2c2c; background: #232323; }
html[data-theme="dark"] .app-icon-opt:hover { background: #2a2a2a; border-color: #373737; }
html[data-theme="dark"] .ct-pill { background: #2a2a2a; color: #b2b2b2; }
html[data-theme="dark"] .ct-pill.ok { background: #28312c; color: #75d675; }
html[data-theme="dark"] .ct-pill.warn { background: #5e501f; color: #e4b267; }
html[data-theme="dark"] .ct-pill.bad { background: #4c1f23; color: #db707a; }
html[data-theme="dark"] .ct-pill.mute { background: #2a2a2a; color: #9a9a9a; }
html[data-theme="dark"] .att-today { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .att-clock span { color: #9a9a9a; }
html[data-theme="dark"] .att-times span { color: #9a9a9a; }
html[data-theme="dark"] .att-times em.warn { color: #e4b267; }
html[data-theme="dark"] .att-table tr.sun td { background: #421f23; }
html[data-theme="dark"] .att-table tr.sat td { background: #202027; }
html[data-theme="dark"] .att-grid-wrap { border: 1px solid #323232; background: #1f1f1f; }
html[data-theme="dark"] .att-grid th, html[data-theme="dark"] .att-grid td { border: 1px solid #2a2a2a; }
html[data-theme="dark"] .att-grid th small { color: #7c7b7b; }
html[data-theme="dark"] .att-grid th.sun, html[data-theme="dark"] .att-grid th.sat { color: #db707a; }
html[data-theme="dark"] .att-grid .att-name { background: #1f1f1f; }
html[data-theme="dark"] .att-c.on { color: #75d675; background: #212a23; }
html[data-theme="dark"] .att-c.late { color: #e4b267; background: #53461c; }
html[data-theme="dark"] .dir-card { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .dir-card:hover { border-color: #4a4a4a; }
html[data-theme="dark"] .dir-txt { color: #b2b2b2; }
html[data-theme="dark"] .dir-txt b { color: #e6e6e6; }
html[data-theme="dark"] .field input[type="number"], html[data-theme="dark"] .field input[type="time"] { border: 1px solid #424242; background: #1f1f1f; }
html[data-theme="dark"] .field input[type="url"] { border: 1px solid #424242; background: #1f1f1f; }
html[data-theme="dark"] .app-ico .svg-ico { color: #ffffff; }
html[data-theme="dark"] .app-cat-ico { color: #9a9a9a; }
html[data-theme="dark"] .apps-sec-ico { color: #9a9a9a; }
html[data-theme="dark"] .app-tile-txt em.have { color: #9a9a9a; }
html[data-theme="dark"] .app-icon-opt { color: #b2b2b2; border: 1px solid #323232; background: #1f1f1f; }
html[data-theme="dark"] .tm-empty-ico { color: #7c7b7b; }
html[data-theme="dark"] .dir-txt span .svg-ico { color: #7c7b7b; }
html[data-theme="dark"] .tm-tile.info b { color: #70a9db; }
html[data-theme="dark"] .ct-pill.info { background: #233549; color: #73abd8; }
html[data-theme="dark"] .rc-note { background: #262626; }
html[data-theme="dark"] .rc-decide { border-top: 1px solid #2c2c2c; background: #232323; }
html[data-theme="dark"] .rc-table tr.today td { background: #212a23; }
html[data-theme="dark"] .avatar.sys { color: #9a9a9a; }
html[data-theme="dark"] button.rail-btn { color: #9a9a9a; }
html[data-theme="dark"] .dl-panel { background: #1f1f1f; border: 1px solid #373737; }
html[data-theme="dark"] .dl-item:hover { background: #262626; }
html[data-theme="dark"] .dl-name { color: #e6e6e6; }
html[data-theme="dark"] .dl-item.dead .dl-name { color: #7a7a7a; }
html[data-theme="dark"] .dl-sub { color: #9a9a9a; }
html[data-theme="dark"] .dl-warn { color: #de9e6d; }
html[data-theme="dark"] .dl-prog { background: #323232; }
html[data-theme="dark"] .dl-empty { color: #9a9a9a; }
html[data-theme="dark"] .dl-empty svg { color: #6a6a6a; }
html[data-theme="dark"] .dl-empty small { color: #7a7a7a; }
html[data-theme="dark"] .dl-foot { color: #9a9a9a; border-top: 1px solid #2d2d2d; }
html[data-theme="dark"] .set-row small { color: #9a9a9a; }
html[data-theme="dark"] .dv-prev-off { color: #434343; }
html[data-theme="dark"] .dv-prev-lbl { color: #ffffff; background: rgba(0, 0, 0, 0.45); }
html[data-theme="dark"] .sw-hero { border-bottom: 1px solid #2d2d2d; }
html[data-theme="dark"] .sw-sum { color: #b2b2b2; }
html[data-theme="dark"] .sw-meta { color: #9a9a9a; }
html[data-theme="dark"] .sw-badge.mute { color: #9a9a9a; background: #2b2b2b; }
html[data-theme="dark"] .sw-sec { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .sw-md { color: #e6e6e6; }
html[data-theme="dark"] .sw-md code { background: #282828; }
html[data-theme="dark"] .sw-file { border-top: 1px solid #292929; }
html[data-theme="dark"] .sw-file-txt span { color: #9a9a9a; }
html[data-theme="dark"] .sw-prog { background: #2c2c2c; }
html[data-theme="dark"] .app-color:has(input:checked) { outline: 2px solid #e6e6e6; }
html[data-theme="dark"] .sw-clamp { -webkit-mask-image: linear-gradient(#e6e6e6 70%, transparent); mask-image: linear-gradient(#e6e6e6 70%, transparent); }
html[data-theme="dark"] .sw-tabs { border-bottom: 1px solid #343434; background: var(--bg, #262626); }
html[data-theme="dark"] .sw-tab { color: #9a9a9a; }
html[data-theme="dark"] .sw-tab:hover { color: #e6e6e6; }
html[data-theme="dark"] .sw-tab-n { background: #2d2d2d; color: #b2b2b2; }
html[data-theme="dark"] .sw-ex { color: #b2b2b2; }
html[data-theme="dark"] img.app-ico.app-img { background: #1f1f1f; border: 1px solid #323232; }
html[data-theme="dark"] .logo-prev { border: 1px dashed #4a4a4a; color: #6a6a6a; background: #232323; }
@media (max-width: 600px) {
html[data-theme="dark"] .rail { border-top: 1px solid #343434; background: #232323; }
html[data-theme="dark"] .rail-btn { color: #9a9a9a; }
html[data-theme="dark"] .rail .badge { border: 2px solid #232323; }
html[data-theme="dark"] .pane { background: #1f1f1f; }
html[data-theme="dark"] .pane-chips .chip { border-color: #424242; }
html[data-theme="dark"] .act-kind { border-color: #1f1f1f; }
html[data-theme="dark"] .cs-head { background: #1f1f1f; }
html[data-theme="dark"] .shell[data-section=chat]:not(.show-main) .m-fab { color: #ffffff; }
html[data-theme="dark"] .chat-main .chat-head, html[data-theme="dark"] .act-detail-head { border-bottom: 1px solid #2d2d2d; background: #1f1f1f; }
html[data-theme="dark"] .chat-head .back, html[data-theme="dark"] .act-detail-head .back { color: #e6e6e6; }
html[data-theme="dark"] .bubble { background: #2a2a2a; }
html[data-theme="dark"] .msg.mine .bubble:not(:has(.fcard)):not(:has(.msg-quote)):not(:has(.msg-img)):not(.is-deleted):not(.k-poll):not(.k-praise):not(.p-urgent):not(.p-important) { color: #ffffff !important; }
html[data-theme="dark"] .msg.mine .bubble a, html[data-theme="dark"] .msg.mine .bubble .mention { color: #ffffff; }
html[data-theme="dark"] .oc-composer { border-top: 1px solid #2d2d2d !important; background: #1f1f1f; }
html[data-theme="dark"] .oc-composer > .oc-input { border: 1px solid #3f3f3f; background: #1f1f1f; }
html[data-theme="dark"] #oc-emoji-btn { color: #8e8e8e; }
html[data-theme="dark"] .oc-rec-time { color: #e6e6e6; }
html[data-theme="dark"] .oc-rec-txt { color: #9a9a9a; }
html[data-theme="dark"] .m-crumb { background: #1f1f1f; border-bottom: 1px solid #2d2d2d; }
html[data-theme="dark"] .m-crumb-back { color: #e6e6e6; }
html[data-theme="dark"] .m-crumb-txt small { color: #9a9a9a; }
html[data-theme="dark"] .team-tree:not(.apps-tree) .team-channels .chan { color: #b2b2b2; }
html[data-theme="dark"] .modal-head { background: #1f1f1f; }
html[data-theme="dark"] .modal-foot { background: #1f1f1f; }
}

html[data-theme="dark"] { color-scheme: dark; }
/* Hình minh hoạ trong Cài đặt, ảnh SVG vẽ bằng màu cố định → đảo màu cho hợp nền tối */
html[data-theme="dark"] .set-tile-art svg:not([data-keep]) { filter: invert(.88) hue-rotate(180deg) saturate(1.2); }
html[data-theme="dark"] img.msg-img, html[data-theme="dark"] .rail-brand img { filter: none; }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { background-color: #1f1f1f; color: #e8e8e8; border-color: #3d3d3d; }
html[data-theme="dark"] input:disabled, html[data-theme="dark"] select:disabled, html[data-theme="dark"] textarea:disabled { background-color: #262626; }
html[data-theme="dark"] ::placeholder { color: #8a8a8a; }
