/* R45 dark view – generated by tools/dunkel45.py from the light styles; do not edit. */
/* scene-audio.css */
html[data-theme=dark] .scene-sound-toggle{border-left:1px solid var(--dk-bd-line,var(--line));color:#b6c1bc}
html[data-theme=dark] .scene-sound-toggle svg{fill:none;stroke:currentColor}
html[data-theme=dark] .scene-sound-toggle[aria-pressed=false]{color:#afb7ba}
html[data-theme=dark] .scene-sound-toggle:focus-visible{outline:2px solid var(--dk-fg-blue,var(--blue))}
html[data-theme=dark] .scene-after{border-left:2px solid #5d7666;color:#bec7c0;background:rgba(36,39,43,0.333)}
html[data-theme=dark] .station-tech.scene-resolved{background-color:#111e19}
html[data-theme=dark] .scene-resolved .monitor-frame{border-color:#72847e;box-shadow:0 8px 35px rgba(127,190,151,0.107)}
html[data-theme=dark] .scene-resolved .monitor-bottom .sound-state{color:#bec8c3}
html[data-theme=dark] .scene-resolved .sound-state i{background:#0e1f15;color:#bec8c3}
html[data-theme=dark] .scene-resolved .call-avatar{background:#111e17;color:#c5d0cb}
html[data-theme=dark] .station-service.scene-resolved .message-slip{border-color:#b9a165}
html[data-theme=dark] .station-service .scene-after{border-color:#ab8e4e;color:#ccc8be}
html[data-theme=dark] .station-process .scene-after{border-color:#7a6582;color:#c9c3cc}
html[data-theme=dark] .close-laptop{fill:none;stroke:currentColor}
html[data-theme=dark] .sound-settings-toggle{border:0;background:transparent;color:#afb7ba}
html[data-theme=dark] .sound-settings-toggle svg{fill:none;stroke:currentColor}
html[data-theme=dark] .sound-settings-toggle:hover,html[data-theme=dark] .sound-settings-toggle[aria-expanded=true]{background:rgba(32,60,75,0.039);color:var(--dk-fg-ink,var(--ink,#d9e3e9))}
html[data-theme=dark] .sound-settings-toggle:focus-visible,html[data-theme=dark] .sound-controls button:focus-visible,html[data-theme=dark] .sound-controls input:focus-visible{outline:2px solid var(--dk-fg-blue,var(--blue,#a6beff))}
html[data-theme=dark] .sound-controls{border:1px solid rgba(128,149,161,0.149);background:#1f2226;color:#d9e3e9;box-shadow:0 13px 35px rgba(1,7,12,0.178),0 2px 5px rgba(1,7,12,0.078)}
html[data-theme=dark] .sound-controls h2,html[data-theme=dark] .sound-controls h3,html[data-theme=dark] .sound-controls .sound-panel-title{color:#d9e3e9}
html[data-theme=dark] .sound-controls output{color:#b3bcc3}
html[data-theme=dark] .sound-controls input[type=range]{accent-color:#b6c1bc;background:transparent;border:0}
html[data-theme=dark] .sound-preview{border:1px solid rgba(128,149,161,0.188);background:#1a1e15;color:#cad5cf}
html[data-theme=dark] .sound-preview:hover{background:#181d12;border-color:rgba(108,129,119,0.4)}
html[data-theme=dark] .sound-preview svg{fill:none;stroke:currentColor}
html[data-theme=dark] .sound-controls .sound-help{color:#b2babe}
html[data-theme=dark] .sound-controls .sound-close{color:#b2babe}
html.sound-active[data-theme=dark] .scene-sound-toggle[aria-pressed=true] svg{color:var(--dk-fg-blue,var(--blue,#a6beff));filter:drop-shadow(0 0 4px rgba(49,73,237,0.116))}
html[data-theme=dark] button.sound-response,html[data-theme=dark] a.sound-response,html[data-theme=dark] summary.sound-response{box-shadow:0 0 0 3px rgba(101,136,255,0.094)}
html[data-theme=dark] .station-heading::after{background:var(--dk-bg-accent,var(--accent,#4f6058))}
html[data-theme=dark] .thread-hero-art::before{background:radial-gradient(ellipse,rgba(32,27,19,0.11),transparent 66%)}
@media(prefers-reduced-motion:no-preference){html[data-theme=dark] button.sound-response,html[data-theme=dark] a.sound-response,html[data-theme=dark] summary.sound-response{animation:dk45-sound-touch .55s ease-out both}}
@media(max-width:420px){html[data-theme=dark] .sound-toolbar .scene-sound-toggle{border-left:0}}
@media(prefers-reduced-motion:reduce){html.sound-active[data-theme=dark] .scene-sound-toggle svg{filter:none}html[data-theme=dark] button.sound-response,html[data-theme=dark] a.sound-response,html[data-theme=dark] summary.sound-response{box-shadow:none}}
html[data-theme=dark] .thread-discovery{border:1px solid rgba(196,92,81,0.239);background:#1e2125;color:#e88577}
html[data-theme=dark] .thread-discovery:hover{background:#17191d;border-color:rgba(196,92,81,0.4)}
html[data-theme=dark] .thread-discovery:focus-visible{outline:2px solid #ed8174}
html[data-theme=dark] .thread-audio-invite>span{color:#b7ada8}
html[data-theme=dark] .workbench.sound-response{outline:2px solid color-mix(in srgb,var(--dk-fg-accent,var(--accent,#b6c1bc)) 24%,transparent)}
/* ticket.css */
:root[data-theme=dark]{--dk-bd-ink:#8d9a9c;--dk-bg-ink:#203033;--dk-bgs-ink:#203033;--dk-fg-ink:#e2ecee;--dk-fg-muted:#bbc2c0;--dk-bd-blue:#6389ff;--dk-bg-blue:#2d438a;--dk-fg-blue:#a4beff;--dk-ink-blue:#a4beff;--dk-bg-paper:#181a1e;--dk-fg-paper:#f5f3ec;--dk-bd-line:#3e4249;--dk-sh-line:rgba(255,255,255,0.07);--dk-bg-white:#23262a;--dk-fg-white:#fffef9;--dk-bd-green:#56a76b;--dk-bg-green:#2f5839;--dk-fg-green:#7ac68c;--dk-ink-green:#7ac68c}
html[data-theme=dark] body{color:var(--dk-fg-ink,var(--ink));background:var(--dk-bg-paper,var(--paper));background-image:linear-gradient(rgba(32,48,51,0.045) 1px,transparent 1px),linear-gradient(90deg,rgba(32,48,51,0.045) 1px,transparent 1px)}
html[data-theme=dark] a{color:var(--dk-fg-blue,var(--blue))}
html[data-theme=dark] .tk-brand{color:var(--dk-fg-ink,var(--ink));text-decoration:none}
html[data-theme=dark] .tk-brand b i{color:var(--dk-fg-blue,var(--blue))}
html[data-theme=dark] .tk-tools .scene-sound-toggle{border:0;background:transparent}
html[data-theme=dark] .tk-lang{border:1px solid var(--dk-bd-line,var(--line));background:var(--dk-bg-white,var(--white))}
html[data-theme=dark] .tk-lang a{color:var(--dk-fg-muted,var(--muted));text-decoration:none}
html[data-theme=dark] .tk-lang a[aria-current]{background:var(--dk-bgs-ink,var(--ink));color:#ffffff}
html[data-theme=dark] .tk-card{background:var(--dk-bg-white,var(--white));border:1px solid var(--dk-bd-line,var(--line));box-shadow:0 26px 70px rgba(1,6,13,0.232),0 2px 8px rgba(1,6,13,0.12)}
html[data-theme=dark] .tk-head{background:#1b1e22;border-bottom:1px solid #3c4046}
html[data-theme=dark] .tk-app{color:var(--dk-fg-muted,var(--muted))}
html[data-theme=dark] .tk-app svg{fill:none;stroke:var(--dk-ink-blue,var(--blue))}
html[data-theme=dark] .tk-chip{background:#171b28;color:#b6cbff}
html[data-theme=dark] .tk-chip:before{background:currentColor;box-shadow:0 0 0 3px rgba(99,137,255,0.16)}
html[data-theme=dark] [data-state=working] .tk-chip{background:#201b15;color:#e4b881}
html[data-theme=dark] [data-state=working] .tk-chip:before{box-shadow:0 0 0 3px rgba(196,140,47,0.18)}
html[data-theme=dark] [data-state=assigned] .tk-chip{background:#121f16;color:#9cd9aa}
html[data-theme=dark] [data-state=assigned] .tk-chip:before{box-shadow:0 0 0 3px rgba(86,167,107,0.18)}
html[data-theme=dark] .tk-meta{color:var(--dk-fg-muted,var(--muted))}
html[data-theme=dark] .tk-meta span+span:before{color:#b7c0bb}
html[data-theme=dark] .tk-desc{color:#cdd7da}
html[data-theme=dark] .tk-assignee{border:1px solid #3c4046;background:#1f2226}
html[data-theme=dark] [data-state=assigned] .tk-assignee{background:#1b241e;border-color:#35473b}
html[data-theme=dark] .tk-label{color:var(--dk-fg-blue,var(--blue))}
html[data-theme=dark] [data-state=assigned] .tk-label{color:var(--dk-fg-green,var(--green))}
html[data-theme=dark] .tk-who img{border:2px solid #ffffff;box-shadow:0 0 0 1px var(--dk-bd-line,var(--line))}
html[data-theme=dark] .tk-who span{color:#ced8db}
html[data-theme=dark] .tk-who em{color:var(--dk-fg-muted,var(--muted))}
html[data-theme=dark] .tk-dot{background:var(--dk-ink-green,var(--green));box-shadow:0 0 0 3px rgba(86,167,107,0.18)}
html[data-theme=dark] .tk-tags li{background:#17191d;color:#cdd9db}
html[data-theme=dark] .tk-log h2{color:var(--dk-fg-muted,var(--muted))}
html[data-theme=dark] .tk-log ol:before{background:#15171b}
html[data-theme=dark] .tk-log li{color:#cdd7da}
html[data-theme=dark] .tk-log li:before{background:#24272b;border:2px solid #4a4e54}
html[data-theme=dark] .tk-log li.tk-new:before{border-color:var(--dk-bd-green,var(--green));background:var(--dk-bg-green,var(--green))}
html[data-theme=dark] .tk-log time{color:var(--dk-fg-muted,var(--muted))}
html[data-theme=dark] .tk-log b{color:var(--dk-fg-ink,var(--ink))}
html[data-theme=dark] .tk-btn{border:1px solid #454950;background:#24272b;color:var(--dk-fg-ink,var(--ink));text-decoration:none}
html[data-theme=dark] .tk-btn.primary{background:var(--dk-bg-blue,var(--blue));border-color:var(--dk-bd-blue,var(--blue));color:#ffffff;box-shadow:0 6px 18px rgba(48,78,231,0.176)}
html[data-theme=dark] .tk-btn.primary:hover{background:#26397d}
html[data-theme=dark] .tk-btn:focus-visible,html[data-theme=dark] .tk-lang a:focus-visible,html[data-theme=dark] .tk-docs a:focus-visible,html[data-theme=dark] .tk-skip a:focus-visible{outline:3px solid #9db4ff}
html[data-theme=dark] .tk-done{border-top:1px solid #3c4046}
html[data-theme=dark] .tk-done-title{color:#9cd9aa}
html[data-theme=dark] .tk-done-title svg{background:var(--dk-bg-green,var(--green));fill:none;stroke:#ffffff}
html[data-theme=dark] .tk-docs{color:var(--dk-fg-muted,var(--muted))}
html[data-theme=dark] .tk-skip{color:var(--dk-fg-muted,var(--muted))}
html[data-theme=dark] .tk-note{color:var(--dk-fg-muted,var(--muted))}
/* extras.css */
html[data-theme=dark] .hero-art .portrait-credit{background:rgba(25,27,31,0.851);color:#b4bdc0}
html[data-theme=dark] .contact-grid .vcard-link{color:#c7d0c4;text-decoration:underline}
html[data-theme=dark] .contact-grid .vcard-link:hover{color:var(--dk-fg-lime,var(--lime,#d7f36b))}
html[data-theme=dark] .status-legend i.base{background:#2d438a}
html[data-theme=dark] .status-quote{border-left:3px solid #6389ff;background:rgba(36,39,43,0.702)}
html[data-theme=dark] .status-quote p{color:var(--dk-fg-ink,var(--ink,#e2ecee))}
html[data-theme=dark] .status-quote footer{color:var(--dk-fg-muted,var(--muted,#bbc2c0))}
html[data-theme=dark] .status-actions .vcard{color:var(--dk-fg-blue,var(--blue,#a4beff));text-decoration:underline}
html[data-theme=dark] .components .state.base,html[data-theme=dark] .status-block .state.base{color:#b6cbff}
html[data-theme=dark] .scene-sound-toggle[aria-pressed=false]{color:#ff7360!important}
html[data-theme=dark] .sound-toolbar .scene-sound-toggle[aria-pressed=false],html[data-theme=dark] .tk-tools .scene-sound-toggle[aria-pressed=false]{background:#261715;box-shadow:inset 0 0 0 1px #5a4542}
html[data-theme=dark] #motion-toggle.header-motion[aria-pressed=true],html[data-theme=dark] .header-motion[aria-pressed=true]{color:#ff7360;border-color:#f29387;background:#3e2e2c}
html[data-theme=dark] #motion-toggle.header-motion[aria-pressed=true] span,html[data-theme=dark] .header-motion[aria-pressed=true] span{color:#ff7360}
html[data-theme=dark] .j-family{background:#171a1e;border-top:1px solid #3f4349}
html[data-theme=dark] .j-family h2{color:#e1ecf1}
html[data-theme=dark] .family-lead{color:#c6d1d5}
html[data-theme=dark] .family-ticket{border:1px solid #3e4248;background:#23262a;box-shadow:0 1px 0 rgba(137,156,165,0.031),0 10px 24px rgba(1,7,11,0.09)}
html[data-theme=dark] .ft-icon{background:#171b27;color:#a6beff}
html[data-theme=dark] .ft-icon svg{fill:none;stroke:currentColor}
html[data-theme=dark] .ft-tag{color:#adb5b8}
html[data-theme=dark] .ft-tag b{background:#16191d;color:#c9c4bb}
html[data-theme=dark] .family-ticket h3{color:#e1ecf1}
html[data-theme=dark] .family-ticket p{color:#bec8cc}
html[data-theme=dark] .family-close{background:#152d38;color:#eef2f0}
html[data-theme=dark] .family-close a{background:#24272b;color:#e1ecf1;text-decoration:none}
html[data-theme=dark] .family-close a:hover{background:#171b27}
html[data-theme=dark] .family-close a:focus-visible{outline:3px solid #9db4ff}
html[data-theme=dark] .fn-ink{fill:none;stroke:#e1ecf1}
html[data-theme=dark] .fn-cable path{fill:none;stroke:#a6beff}
html[data-theme=dark] .fn-heart{fill:#f08a6b}
html[data-theme=dark] .fn-t{fill:#e1ecf1}
html[data-theme=dark] .fn-me{fill:#a6beff}
html[data-theme=dark] .family-ticket{background:#222529;border-color:#3e4248}
html[data-theme=dark] .family-ticket::before{background:var(--magnet,#f08a6b);box-shadow:inset 0 -2px 0 rgba(190,190,190,0.122),0 3px 5px rgba(1,7,11,0.297)}
html[data-theme=dark] .family-mark g{fill:none;stroke:#ffffff}
html[data-theme=dark] .family-btn{border:0;background:#24272b;color:#e1ecf1!important;text-decoration:none}
html[data-theme=dark] .family-btn:hover{background:#171b27}
html[data-theme=dark] .family-btn:focus-visible,html[data-theme=dark] .family-link:focus-visible{outline:3px solid #9db4ff}
html[data-theme=dark] .family-close a.family-link{background:none;color:#dfe7ff;text-decoration:underline}
html[data-theme=dark] .family-close a.family-link:hover{background:none;color:#ffffff}
html[data-theme=dark] .family-close[data-state=assigned] p::before{color:#a6e6c0}
html[data-theme=dark] .j-family{background:#171a1e none repeat}
html[data-theme=dark] .fm-g figcaption b{color:#e1ecf1}
html[data-theme=dark] .fm-g figcaption span{color:#bec8cc}
html[data-theme=dark] .fm-fr figcaption span{color:#a6beff}
/* language.css */
html[data-theme=dark] .language-switch{border:1px solid rgba(132,151,165,0.141)}
html[data-theme=dark] .language-switch a{color:#bac4ca;text-decoration:none}
html[data-theme=dark] .language-switch a[aria-current=page]{color:#ffffff;background:#203c4b}
html[data-theme=dark] .language-switch a:not([aria-current]):hover{background:#131c23;color:#dce7ed}
html[data-theme=dark] .language-switch a:focus-visible,html[data-theme=dark] .language-suggestion :is(a,button):focus-visible{outline:3px solid #9ebaff}
html[data-theme=dark] .language-suggestion{border:1px solid #44484e;border-top:3px solid #6189ff;background:#212328;color:#e0ebf1;box-shadow:0 16px 60px rgba(1,6,15,0.266)}
html[data-theme=dark] .language-suggestion .language-eyebrow{color:#9ebaff}
html[data-theme=dark] .language-suggestion p{color:#bac4ca}
html[data-theme=dark] .language-suggestion button{border:0;background:none}
html[data-theme=dark] .language-dismiss{color:#bac4ca}
html[data-theme=dark] .language-accept{background:#203c4b;color:#ffffff;text-decoration:none}
html[data-theme=dark] .language-suggestion .language-stay{color:#bac4ca;text-decoration:underline}
/* paperfox.css */
html[data-theme=dark] .fox-root{--dk-fg-fox-accent:#acb6bc;color:#d7e0e8}
html[data-theme=dark] .fox-toggle{border:0;background:transparent;color:#d7e0e8}
html[data-theme=dark] .fox-toggle:focus-visible{outline:2px solid #c8d1d8;background:#152025}
html[data-theme=dark] .fox-toggle:hover{background:transparent}
html[data-theme=dark] .fox-art{filter:drop-shadow(0 4px 4px rgba(1,7,12,0.136))}
html[data-theme=dark] .fox-name{color:#c8d1d8}
html[data-theme=dark] .fox-panel{background:#23252a;color:#d7e0e8;border:1px solid #364b54;box-shadow:0 12px 44px rgba(1,6,12,0.296)}
html[data-theme=dark] .fox-panel:after{background:#23252a;border-right:1px solid #364b54;border-bottom:1px solid #364b54}
html[data-theme=dark] .fox-close{border:0;color:#c8d1d8;background:#151f24}
html[data-theme=dark] .fox-close:hover{background:#0c1d24}
html[data-theme=dark] .fox-root .fox-station{color:var(--dk-fg-fox-accent,var(--fox-accent))}
html[data-theme=dark] .fox-root .fox-message{color:#d7e0e8}
html[data-theme=dark] .fox-actions button{border:1px solid #3e4248;background:#1c1e22;color:#d7e0e8}
html[data-theme=dark] .fox-actions button:hover{background:#0e1d24}
html[data-theme=dark] .fox-actions button:focus-visible,html[data-theme=dark] .fox-close:focus-visible{outline:2px solid #c8d1d8}
html[data-theme=dark] .fox-actions button:disabled{color:#a9b3b9;background:#1e2125}
html[data-theme=dark] .fox-root[data-open=true] .fox-toggle{background:rgba(21,33,39,0.55)}
html[data-theme=dark] .fox-root .fox-station{color:#bdc7cd}
html[data-theme=dark] .fox-greeting{background:#23252a;border:1px solid #364b54;box-shadow:0 5px 18px rgba(1,6,12,0.203);color:#d7e0e8}