/* Erzeugt von tools/theme_css.py aus style.css – nicht von Hand ändern. */
html[data-theme="contrast"]{--bg:#ffffff; --card:#ffffff; --ink:#000000; --muted:#3b3b3b; --line:#8c8c8c;
  --brand:#1e1510; --accent:#9c3f1b; --accent-ink:#fff; --link:#8a3412; --link-hover:#5a1f08; --ok:#24622f; --warn:#7a5000; --bad:#9a1c1c;
  --bean-soft:#f2f4e4; --bean-ink:#4a5512; --ok-ink:#1b4d2c; --warn-ink:#553a00; --bad-ink:#7a1a1a;}
:where(html[data-theme="contrast"]) input,:where(html[data-theme="contrast"]) select,:where(html[data-theme="contrast"]) textarea{background:#ffffff}
:where(html[data-theme="contrast"]) .langpick:focus-within{outline:2px solid #8c8c8c}
:where(html[data-theme="contrast"]) .wm-slogan{color:#342d28}
:where(html[data-theme="contrast"]) .logo-edit img{background:#ffffff}
:where(html[data-theme="contrast"]) .seg span,:where(html[data-theme="contrast"]) .chips span{background:#ffffff}
:where(html[data-theme="contrast"]) .qtag{background:#f5f5f5}
:where(html[data-theme="contrast"]) .q-segunda{background:#f5f5f5}
:where(html[data-theme="contrast"]) .q-tercera{background:#f5f5f5}
:where(html[data-theme="contrast"]) .outrow{background:#ffffff}
:where(html[data-theme="contrast"]) .lt tbody tr:hover td{background:#f5f5f5}
:where(html[data-theme="contrast"]) .lt-msb.on{background:#f5f5f5}
:where(html[data-theme="contrast"]) .scan-frame{border:3px solid #8c8c8ccc}
:where(html[data-theme="contrast"]) .ivtbl tr.uncounted td{background:#ffffff}
:where(html[data-theme="contrast"]) .ok{color:#263b21}
:where(html[data-theme="contrast"]) .ctag{background:#f5f5f5;color:#3c2d1f}
:where(html[data-theme="contrast"]) .avatar{background:var(--chip, #f5f5f5);color:var(--muted, #322e2a)}
:where(html[data-theme="contrast"]) .wrow{background:var(--card, #ffffff);border:1px solid var(--line, #8c8c8c)}
:where(html[data-theme="contrast"]) .wrow.on{background:color-mix(in srgb, #3d8b4f 8%, var(--card, #ffffff))}
:where(html[data-theme="contrast"]) body.portal #plogo{background:#ffffff}
:where(html[data-theme="contrast"]) .pqr{background:#ffffff}
:where(html[data-theme="contrast"]) .tlv-fuerte{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .tlv-nublado{background:#f5f5f5}
:where(html[data-theme="contrast"]) .tlv-pausa{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) #alarmbar.routine .abmore{color:#3d2e14}
:where(html[data-theme="contrast"]) #alarmbar .btn{background:#ffffff}
:where(html[data-theme="contrast"]) #alarmbar .btn.sec{border:1px solid #8c8c8c}
:where(html[data-theme="contrast"]) .dstate.wait{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .dtemp.err{background:#f5f5f5}
:where(html[data-theme="contrast"]) .chips span.avatar{background:#f5f5f5}
:where(html[data-theme="contrast"]) #e2ebar .btn{background:#ffffff;color:#262c35}
:where(html[data-theme="contrast"]) .cup-very_good{background:#f5f5f5;color:#223a29}
:where(html[data-theme="contrast"]) .cup-below{background:#f5f5f5;color:#332d29}
:where(html[data-theme="contrast"]) .tag.sst-tomada{background:#f5f5f5;color:#332e28}
:where(html[data-theme="contrast"]) .tag.sst-aprobada{background:#f5f5f5;color:#23392b}
:where(html[data-theme="contrast"]) .tag.sst-rechazada{background:#f5f5f5;color:#3d1f1f}
:where(html[data-theme="contrast"]) .tag.gr-premium{background:#f5f5f5;color:#23392b}
:where(html[data-theme="contrast"]) .tag.gr-below,:where(html[data-theme="contrast"]) .tag.gr-offgrade{background:#f5f5f5;color:#3d1f1f}
:where(html[data-theme="contrast"]) .fstep.warn{background:#f5f5f5}
:where(html[data-theme="contrast"]) .fstep.bad{background:#f5f5f5}
:where(html[data-theme="contrast"]) .waitbox.warn{background:#f5f5f5}
:where(html[data-theme="contrast"]) .waitbox.bad{background:#f5f5f5}
:where(html[data-theme="contrast"]) .pprow:hover,:where(html[data-theme="contrast"]) .pprow:focus-visible{background:#f5f5f5}
:where(html[data-theme="contrast"]) .ppsel{background:#f5f5f5}
:where(html[data-theme="contrast"]) .lt tr.lt-hist td{background:#f5f5f5}
:where(html[data-theme="contrast"]) .lt tr.lt-hist:hover td{background:#f5f5f5}
:where(html[data-theme="contrast"]) .lhc.on{background:#f5f5f5}
:where(html[data-theme="contrast"]) .lhq .pos{color:#233927}
:where(html[data-theme="contrast"]) .lhq .neg{color:#3f261c}
:where(html[data-theme="contrast"]) .stag{color:#2e411b;background:#f5f5f5}
:where(html[data-theme="contrast"]) .warnt{color:#493812}
:where(html[data-theme="contrast"]) .ldq small.ok{color:var(--ok,#213b22)}
:where(html[data-theme="contrast"]) .ywarn{color:#421c1a}
:where(html[data-theme="contrast"]) .btn.dangero:hover{background:#f5f5f5}
:where(html[data-theme="contrast"]) .tagbad{background:#f5f5f5}
:where(html[data-theme="contrast"]) .rmtbl tr:hover td{background:#f5f5f5}
:where(html[data-theme="contrast"]) .lbc.on{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) #demobar{border-bottom:1px solid #8c8c8c}
:where(html[data-theme="contrast"]) .eust li.ok{color:var(--ok,#213b22)}
:where(html[data-theme="contrast"]) .eust li.warn{color:var(--warn,#493312)}
:where(html[data-theme="contrast"]) .dsteps li.ok b{color:var(--ok,#213b22)}
:where(html[data-theme="contrast"]) .ps-done .psi{color:var(--ok,#213b22)}
:where(html[data-theme="contrast"]) .ps-late .psi{color:var(--err,#421c1a)}
:where(html[data-theme="contrast"]) .taskbox .tnow>summary:hover{background:#f5f5f5}
:where(html[data-theme="contrast"]) .task:hover{background:#f5f5f5}
:where(html[data-theme="contrast"]) .dexp.ok{background:#f5f5f5}
:where(html[data-theme="contrast"]) .btn.sec{border:1px solid #8c8c8c}
:where(html[data-theme="contrast"]) .btn.sec:hover:not([disabled]){background:#f5f5f5}
:where(html[data-theme="contrast"]) .chip.ok{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .chip.warn{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .chip.bad{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .sbox.ok{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .sbox.warn{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .sbox.bad{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) #alarmbar.routine{border-bottom:1px solid #8c8c8c}
:where(html[data-theme="contrast"]) .ctag.svc{background:#f5f5f5;color:#202e3c}
:where(html[data-theme="contrast"]) .chip.bad{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .turnlist li.monton{background:#f5f5f5}
:where(html[data-theme="contrast"]) .secw.clash{border-color:#8c8c8c}
:where(html[data-theme="contrast"]) .tourcard{background:var(--card,#ffffff);color:var(--ink,#27211c)}
@media (min-width:900px){
:where(html[data-theme="contrast"]) .tbl tr:hover td{background:#f5f5f5}
}
html[data-theme="contrast"] input,html[data-theme="contrast"] select,html[data-theme="contrast"] textarea{border-color:#6e6e6e}
html[data-theme="contrast"] .card,html[data-theme="contrast"] .tbl th,html[data-theme="contrast"] .tbl td{border-color:#8c8c8c}
html[data-theme="contrast"] :focus-visible{outline:3px solid #000;outline-offset:2px}
html[data-theme="contrast"] .muted,html[data-theme="contrast"] small.muted{color:#3b3b3b}
html[data-theme="dark"]{--bg:#15110e; --card:#201a16; --ink:#ece4da; --muted:#a99a8c; --line:#3b322b;
  --brand:#0e0a08; --accent:#c4602f; --accent-ink:#fff; --link:#e8946a; --link-hover:#f5b08c; --ok:#4c9a5f; --warn:#b98318; --bad:#c94f4f;
  --ok-bg:#1d2e22; --ok-ink:#9fd6ad; --warn-bg:#33270f; --warn-ink:#f0c879; --bad-bg:#3a1c1a; --bad-ink:#f3a8a0;
  --bean:#9aaa3a; --bean-soft:#262b15; --bean-ink:#b4c35a; --oro:#6f7d22; color-scheme:dark;}
:where(html[data-theme="dark"]) input,:where(html[data-theme="dark"]) select,:where(html[data-theme="dark"]) textarea{background:#1a1a1a}
:where(html[data-theme="dark"]) .langpick:focus-within{outline:2px solid #3d3d3d}
:where(html[data-theme="dark"]) .wm-slogan{color:#ded8d4}
:where(html[data-theme="dark"]) .logo-edit img{background:#1a1a1a}
:where(html[data-theme="dark"]) .seg span,:where(html[data-theme="dark"]) .chips span{background:#1a1a1a}
:where(html[data-theme="dark"]) .chips input:checked+span{background:#342218;color:#e7cfc6}
:where(html[data-theme="dark"]) .qtag{background:#2f2921}
:where(html[data-theme="dark"]) .q-segunda{background:#312e27}
:where(html[data-theme="dark"]) .q-tercera{background:#37332d}
:where(html[data-theme="dark"]) .q-brosa,:where(html[data-theme="dark"]) .q-relave{background:#35251f;color:#e7cfc6}
:where(html[data-theme="dark"]) .outrow{background:#281f0f}
:where(html[data-theme="dark"]) .pcell.draft{background:repeating-linear-gradient(45deg,var(--accent) 0 5px,#3f2c23 5px 10px)}
:where(html[data-theme="dark"]) .rainwarn{background:#322815;color:#ecdcbe}
:where(html[data-theme="dark"]) .lt tbody tr:hover td{background:#2c261e}
:where(html[data-theme="dark"]) .lt-msb.on{background:#2b1e16}
:where(html[data-theme="dark"]) .scan-frame{border:3px solid #3d3d3dcc}
:where(html[data-theme="dark"]) .tbl tr.late td{background:#312919}
:where(html[data-theme="dark"]) .ivtbl tr.uncounted td{background:#2b2210}
:where(html[data-theme="dark"]) .ok{color:#d3e2ce}
:where(html[data-theme="dark"]) .ctag{background:#2f2921;color:#e1d4c9}
:where(html[data-theme="dark"]) .avatar{background:var(--chip, #2f2921);color:var(--muted, #dddad7)}
:where(html[data-theme="dark"]) .wrow{background:var(--card, #1a1a1a);border:1px solid var(--line, #574d41)}
:where(html[data-theme="dark"]) .wrow.on{background:color-mix(in srgb, #3d8b4f 8%, var(--card, #1a1a1a))}
:where(html[data-theme="dark"]) .tbl tr.late td{background:color-mix(in srgb, #9a823a 12%, transparent)}
:where(html[data-theme="dark"]) body.portal #plogo{background:#1a1a1a}
:where(html[data-theme="dark"]) .pqr{background:#1a1a1a}
:where(html[data-theme="dark"]) .tlv-fuerte{background:#3b3116;border-color:#8d7947}
:where(html[data-theme="dark"]) .tlv-nublado{background:#1f2327}
:where(html[data-theme="dark"]) .tlv-pausa{background:#1b242f;border-color:#495d75}
:where(html[data-theme="dark"]) .turnlist li.over{background:#342c18}
:where(html[data-theme="dark"]) #alarmbar.routine{background:#42381f;color:#e7d8be}
:where(html[data-theme="dark"]) #alarmbar.routine .abmore{color:#e7d8be}
:where(html[data-theme="dark"]) #alarmbar .btn{background:#1a1a1a}
:where(html[data-theme="dark"]) #alarmbar .btn.sec{border:1px solid #3d3d3d}
:where(html[data-theme="dark"]) .dstate.on{background:#372015;color:#e7cfc6}
:where(html[data-theme="dark"]) .dstate.wait{background:#3b3116;border-color:#8d7947}
:where(html[data-theme="dark"]) .dtemp.err{background:#2c1614}
:where(html[data-theme="dark"]) .chips span.avatar{background:#332c26}
:where(html[data-theme="dark"]) #e2ebar .btn{background:#1a1a1a;color:#d0d4dc}
:where(html[data-theme="dark"]) .cup-very_good{background:#223022;color:#caded0}
:where(html[data-theme="dark"]) .cup-below{background:#2e2822;color:#ddd9d6}
:where(html[data-theme="dark"]) .tag.sst-tomada{background:#2e2822;color:#dcd7d3}
:where(html[data-theme="dark"]) .tag.sst-enviada{background:#1b242f;color:#cbd7e6}
:where(html[data-theme="dark"]) .tag.sst-recibida{background:#3b3116;color:#ece1bc}
:where(html[data-theme="dark"]) .tag.sst-aprobada{background:#1e2b1d;color:#cfe0d5}
:where(html[data-theme="dark"]) .tag.sst-rechazada{background:#2a1616;color:#e7d2d2}
:where(html[data-theme="dark"]) .tag.gr-premium{background:#223022;color:#cfe0d5}
:where(html[data-theme="dark"]) .tag.gr-exchange{background:#3b3116;color:#ece1bc}
:where(html[data-theme="dark"]) .tag.gr-below,:where(html[data-theme="dark"]) .tag.gr-offgrade{background:#2a1616;color:#e7d2d2}
:where(html[data-theme="dark"]) .fstep.warn{background:#2e2717}
:where(html[data-theme="dark"]) .fstep.bad{background:#2a1616}
:where(html[data-theme="dark"]) .waitbox.warn{background:#2e2717}
:where(html[data-theme="dark"]) .waitbox.bad{background:#2a1616}
:where(html[data-theme="dark"]) .pprow:hover,:where(html[data-theme="dark"]) .pprow:focus-visible{background:#2a1f16}
:where(html[data-theme="dark"]) .ppsel{background:#2a1f16}
:where(html[data-theme="dark"]) .lt tr.lt-hist td{background:#272118}
:where(html[data-theme="dark"]) .lt tr.lt-hist:hover td{background:#272118}
:where(html[data-theme="dark"]) .lhc.on{background:#2a1f16}
:where(html[data-theme="dark"]) .lhq .pos{color:#cfe0d2}
:where(html[data-theme="dark"]) .lhq .neg{color:#e7d4cd}
:where(html[data-theme="dark"]) .chipb.on{background:#342218;color:#e7cfc6}
:where(html[data-theme="dark"]) .stag{color:#d5e5c6;background:#262c1c}
:where(html[data-theme="dark"]) .stag.s-trans{color:#e7dec6;background:#302a1b}
:where(html[data-theme="dark"]) .warnt{color:#ede0c2}
:where(html[data-theme="dark"]) .ldq small.ok{color:var(--ok,#cfe3d0)}
:where(html[data-theme="dark"]) .lt-warn{background:#311b17!important;color:#eacbc8}
:where(html[data-theme="dark"]) .ywarn{color:#eacfce}
:where(html[data-theme="dark"]) .btn.dangero:hover{background:#2a1616}
:where(html[data-theme="dark"]) .tagbad{background:#2a1616}
:where(html[data-theme="dark"]) .rmtbl tr:hover td{background:#2a1f16}
:where(html[data-theme="dark"]) .lbc.on{border-color:#968550;background:#312a13}
:where(html[data-theme="dark"]) .corrtbl tr.corropen td{background:#312a13}
:where(html[data-theme="dark"]) #demobar{background:#352c14;border-bottom:1px solid #6e623e}
:where(html[data-theme="dark"]) .dline.warn{background:#322815}
:where(html[data-theme="dark"]) .eust li.ok{color:var(--ok,#cfe3d0)}
:where(html[data-theme="dark"]) .eust li.warn{color:var(--warn,#eeddc5)}
:where(html[data-theme="dark"]) .dsteps li.ok b{color:var(--ok,#cfe3d0)}
:where(html[data-theme="dark"]) .ps-done .psi{color:var(--ok,#cfe3d0)}
:where(html[data-theme="dark"]) .ps-late .psi{color:var(--err,#eacfce)}
:where(html[data-theme="dark"]) .taskbox .tnow>summary:hover{background:#2a241b}
:where(html[data-theme="dark"]) .task:hover{background:#2a241b}
:where(html[data-theme="dark"]) .dexp.ok{background:#1d271f}
:where(html[data-theme="dark"]) .dexp.warn{background:#342c18}
:where(html[data-theme="dark"]) .btn.sec{border:1px solid #61584e}
:where(html[data-theme="dark"]) .btn.sec:hover:not([disabled]){background:#2a241b}
:where(html[data-theme="dark"]) .chip.ok{border-color:#465d4c}
:where(html[data-theme="dark"]) .chip.warn{border-color:#72623b}
:where(html[data-theme="dark"]) .chip.bad{border-color:#613838}
:where(html[data-theme="dark"]) .sbox.ok{border-color:#465d4c}
:where(html[data-theme="dark"]) .sbox.warn{border-color:#72623b}
:where(html[data-theme="dark"]) .sbox.bad{border-color:#613838}
:where(html[data-theme="dark"]) #alarmbar.routine{background:#302917;border-bottom:1px solid #72623b}
:where(html[data-theme="dark"]) .ctag.svc{background:#1b232a;color:#ccd7e2}
:where(html[data-theme="dark"]) .chip.bad{border-color:#613838}
:where(html[data-theme="dark"]) .turnlist li.monton{background:#1c2025}
:where(html[data-theme="dark"]) .turnlist li.monton.over{background:#342c18}
:where(html[data-theme="dark"]) .secw.clash{border-color:#7e6e40}
:where(html[data-theme="dark"]) .tourcard{background:var(--card,#271f0f);color:var(--ink,#d8d0ca)}
:where(html[data-theme="dark"]) .chele .ch-spark{background:#513b2c}
@media (min-width:900px){
:where(html[data-theme="dark"]) .tbl tr:hover td{background:#272118}
}
html[data-theme="dark"] img:not(.keep){filter:brightness(.92)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#7d7066}
html[data-theme="dark"] .lt-menu,html[data-theme="dark"] .lt-ms,html[data-theme="dark"] .helpbox{box-shadow:0 8px 24px #0009}
html[data-theme="dark"] .stag{background:#22301a;color:#b9dc8f;border-color:#55743a}
html[data-theme="dark"] .wm-name,html[data-theme="dark"] .navfoot b{color:var(--ink)}
html[data-theme="dark"] .seg input:checked+span{background:var(--accent);border-color:var(--accent);color:#fff}
html[data-theme="dark"] .lt-warn{background:#4a1d17!important;color:#ffb4a8}
