.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;font-weight:400}.setting-toggle input{width:24px;height:24px;margin:0;flex:0 0 auto;accent-color:#0079b3}
html[data-theme=dark]{color-scheme:dark;background:#101b25;color:#e3edf4;--dock-bg:rgba(34,51,67,.96);--dock-border:#41556a;--dock-ink:#e0e9f1;--dock-active-bg:#344e6a;--dock-active-ink:#8bc8ff;--dock-shadow:0 5px 18px #0005,0 1px 4px #0003}
html[data-theme=dark] body,html[data-theme=dark] #content{background:#101b25;color:#e3edf4}
html[data-theme=dark] body>header{background:linear-gradient(90deg,#abc6d7 0%,#55728a 22%,#274760 48%,#0d1c2b 100%);border-bottom-color:#4583aa}
html[data-theme=dark] .brand-logo{background:transparent;border-radius:0;padding:0}
html[data-theme=dark] #menu-toggle:disabled{opacity:1}
html[data-theme=dark] #notification-bell span{background:#a64102;color:#fff}
html[data-theme=dark] :is(.card,.ticket,.ticket-card,dialog,#account-nav,.organization-panel,.organization-summary,.equipment-card,.chat-members,.chat-composer){background:#1b2c3a;color:#e3edf4;border-color:#395264}
html[data-theme=dark] :is(input,textarea,select){background:#132330;color:#edf5fa;border-color:#486071}
html[data-theme=dark] :is(h1,h2,h3,strong,label,summary,.ticket-heading,.meta span){color:inherit}
html[data-theme=dark] :is(.hint,.updated-at,.ticket-number,.task-person,.profile-data dt,.organization-trigger,small,time){color:#adbfce}
html[data-theme=dark] :is(.secondary,.tag,.organization-trigger,.org-stat,.equipment-stat){background:#283f51;color:#d4e8f6;border-color:#395264}
html[data-theme=dark] :is(.chat-bubble,.chat-message:not(.mine) .chat-content){background:#223746;color:#e8eff5}
html[data-theme=dark] :is(.chat-message.mine .chat-bubble,.chat-message.mine .chat-content){background:#154867;color:#f1f7fc}
html[data-theme=dark] a{color:#68c9ff}html[data-theme=dark] .rich-content{color:#e3edf4}
html[data-theme=dark] :is(.journey-current,.journey-step,.journey-timeline,.service-level){background-color:#203848;color:#e3edf4;border-color:#3b596c}
html[data-theme=dark] #notice:not(:empty),html[data-theme=dark] :is(.connection-hint,.push-reminder){background:#423623;color:#ffe1aa}
html[data-theme=dark] .push-reminder{border-color:#84663c}
html[data-theme=dark] :is(.app-update-banner,#progress){background:#233d51;color:#deeffb}
html[data-theme=dark] .organization-drawer{background:transparent}
html[data-theme=dark] .organization-drawer:not(.is-open) #organization-panel{box-shadow:none}
html[data-theme=dark] .organization-drawer :is(.organization-body,.organization-content){background:#1b2c3a;color:#e3edf4}

html[data-theme=dark] :is(form,#organization-panel,.organization-users,.organization-counts div){background:#1b2c3a;color:#e3edf4;border-color:#395264}
html[data-theme=dark] p{color:#b8cad9}html[data-theme=dark] #organization-handle{background:#1b2c3a;color:#b8cad9}
html[data-theme=dark] :is(.organization-users strong,.organization-counts strong){color:#77d0f6}
html[data-theme=dark] .organization-usage{--usage-gradient:linear-gradient(90deg,#38302c,#75451e)}
html[data-theme=dark] :is(.chat-message,.chat-date span,.chat-quote,.attachment-card,.participant-card){background:#223746;color:#e8eff5;border-color:#395264}
html[data-theme=dark] .chat-message.chat-mine{background:#154867;border-color:#356380}
html[data-theme=dark] .chat-message>strong{color:#77d0f6}
html[data-theme=dark] :is(.chat-text p,.rich-content p){color:inherit}
html[data-theme=dark] :is(.journey-current h2,.journey-event strong){color:#d7ecfa}
html[data-theme=dark] .changed-value{background:#423623;color:#ffe4bd;box-shadow:inset 0 0 0 1px #9f7849}
html[data-theme=dark] .assignment-removed,html[data-theme=dark] .journey-changed .journey-current h2{color:#ffc88d}
html[data-theme=dark] :is(.journey-current p,.journey-event p,.journey-deadline small){color:#bed1df}
html[data-theme=dark] .journey-current{background:transparent}
html[data-theme=dark] .journey-deadline{background:#213747;border-color:#3b596c}
html[data-theme=dark] .journey-deadline.deadline-changed{border-color:#ffc88d}
html[data-theme=dark] .journey-deadline .deadline-fill{background:linear-gradient(90deg,#224c64,#306781)}
html[data-theme=dark] .journey-deadline.deadline-overdue .deadline-fill{background:linear-gradient(90deg,#503b29,#64442b)}
html[data-theme=dark] .journey-overdue{color:#ffc491}
html[data-theme=dark] .journey-track .is-active{color:#77d0f6}
html[data-theme=dark] :is(.notification-card,.attachment,.chat-mine .attachment,.chat-status,.chat-new,.ticket-heading .favorite-toggle,.ticket-actions .toolbar-icon){background:#223746;color:#cbe5f5;border-color:#395264}
html[data-theme=dark] #notification-items .notification-unread{border-left-color:#ffad6b}
html[data-theme=dark] .notification-body{color:#deebf4}
html[data-theme=dark] .notice-category{background:#304a60;color:#c4e7ff}
html[data-theme=dark] .notice-incident{background:#573920;color:#ffce9c}
html[data-theme=dark] .notice-recovery{background:#244b3e;color:#b6efd2}
html[data-theme=dark] :is(.equipment-form input,.equipment-form textarea,.equipment-form select){background:#132330;color:#edf5fa;border-color:#486071}
html[data-theme=dark] .chat-header{background:#1b2c3a;border-color:#395264}
html[data-theme=dark] .chat-header .chat-back{color:#e3edf4}
html[data-theme=dark] .chat-header .chat-members-toggle{color:#9ed8fa}
html[data-theme=dark] .chat-members-toggle[aria-expanded=true]{background:#284e68}
html[data-theme=dark] :is(.refresh-footer,.ticket-card-deadline,.chat-meta,.chat-pending,.notification-card small,.attachment small,.chat-typing,.task-expand){color:#b2c8d7}
html[data-theme=dark] .ticket-card-deadline time{color:inherit}
html[data-theme=dark] .ticket-card-deadline.deadline-overdue{color:#ffab91}
html[data-theme=dark] .chat-delivered{color:#68c9ff}
html[data-theme=dark] .person-avatar{background:#2b4c64;color:#dceeff}
html[data-theme=dark] .scanned-equipment{border-color:#395264}
html[data-theme=dark] .scanned-equipment small{color:#b2c8d7}
html[data-theme=dark] .favorite-toggle.is-favorite{background:#4b3422;color:#ffaf74;border-color:#8e5a31}

html[data-theme=dark] :is(.ticket-content .ticket-heading,.ticket-section-body,.ticket-equipment li+li){border-color:#395264}
html[data-theme=dark] .ticket-section [data-section-count]{background:#294456;color:#c4e3f3}
html[data-theme=dark] .ticket-equipment small{color:#b4c8d5}
html[data-theme=dark] .ticket-card{--stage-bg:#203e5b;--stage-ink:#b4d8ff;--stage-accent:#65a9df}
html[data-theme=dark] .ticket-card:is([data-stage=received],[data-stage=awaiting],[data-stage=transferred],[data-stage=waiting]){--stage-bg:#493823;--stage-ink:#ffd7a7;--stage-accent:#e8a14c}
html[data-theme=dark] .ticket-card[data-stage=planned]{--stage-bg:#3e3358;--stage-ink:#dcc5ff;--stage-accent:#b79ce1}
html[data-theme=dark] .ticket-card[data-stage=solved]{--stage-bg:#284c3b;--stage-ink:#a5edc4;--stage-accent:#64c898}
html[data-theme=dark] .ticket-card[data-stage=closed]{--stage-bg:#33434f;--stage-ink:#c4d2dc;--stage-accent:#8b9ba5}
html[data-theme=dark] #app .ticket-card{background:transparent}
html[data-theme=dark] #app .ticket-card>.ticket{border-left-color:var(--stage-accent)}
html[data-theme=dark] .ticket-card .ticket-stage{background:var(--stage-bg);color:var(--stage-ink)}
