/* Builds static/dark.css, the Dark look (37.0.10, Brian, 31 Oct 2026). Made by make_dark_css.py: do not edit by hand. */
@media screen {
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0e131b;
  --surface: #161c27;
  --card: #161c27;
  --ink: #e6eaf1;
  --ink-2: #b3bccb;
  --muted: #8b94a6;
  --hairline: #2a3242;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #6ea2ff;
  --good-tint: #12301c;
  --warning-tint: #3a2e10;
  --critical-tint: #3d1818;
  --neutral-tint: #1f2531;
  --good-text: #7fd59a;
  --warning-text: #f1c86a;
  --critical-text: #f19a9a;
}
:root[data-theme="dark"] .lbe-label {
  color-scheme: light;
  --page: #f9f9f7; --surface: #fcfcfb; --card: #fff; --ink: #0b0b0b; --ink-2: #52514e;
  --muted: #898781; --hairline: #e1e0d9; --border: rgba(11, 11, 11, 0.10); --accent: #1c5cab;
  background: #fff; color: #0b0b0b;
}
/* style.css */
:root[data-theme="dark"] .subnav a.active, :root[data-theme="dark"] .subnav a:hover { border-bottom: 2px solid #394352; }
:root[data-theme="dark"] .msgbtn .msgn { background: #181e28; color: #b4ccec; }
:root[data-theme="dark"] .flash { background: #12243e; border: 1px solid #353f4d; color: #99bff0; }
:root[data-theme="dark"] tr.rowlink:hover { background: #1c242f; }
:root[data-theme="dark"] .btn.secondary:hover { background: #1e2631; }
:root[data-theme="dark"] input:not([type]), :root[data-theme="dark"] input[type="time"], :root[data-theme="dark"] input[type="text"], :root[data-theme="dark"] input[type="number"], :root[data-theme="dark"] input[type="date"], :root[data-theme="dark"] input[type="email"], :root[data-theme="dark"] input[type="tel"], :root[data-theme="dark"] input[type="password"], :root[data-theme="dark"] input[type="search"], :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { border: 1px solid #3a4554; background: #181e28; }
:root[data-theme="dark"] input:focus, :root[data-theme="dark"] select:focus, :root[data-theme="dark"] textarea:focus { outline: 2px solid #3d4858; }
:root[data-theme="dark"] .login-title { color: #b4ccec; }
:root[data-theme="dark"] .calday.dim-day { background: #1c242f; }
:root[data-theme="dark"] .calday.today { background: #11233b; }
:root[data-theme="dark"] .doc { background: #181e28; color: #d8dbe0; }
:root[data-theme="dark"] .doc-head .issuer { color: #c3c8d0; }
:root[data-theme="dark"] .doc-title .meta { color: #aeb5bf; }
:root[data-theme="dark"] .doc-block h3 { color: #99a2af; }
:root[data-theme="dark"] .doc table th { color: #a4abb7; border-bottom: 1px solid #384251; }
:root[data-theme="dark"] .doc table td { border-bottom: 1px solid #2f3743; }
:root[data-theme="dark"] .sigline .l { color: #a4abb7; }
:root[data-theme="dark"] .cert-text { background: #1e222c; }
:root[data-theme="dark"] .unsigned { color: #e49393; }
:root[data-theme="dark"] .doc-foot { color: #a4abb7; }
:root[data-theme="dark"] .lbl { background: #181e28; color: #e2e5e9; }
:root[data-theme="dark"] .lbl-sig .cap { color: #c3c8d0; }
:root[data-theme="dark"] .lbl-esig { color: #b9bfc8; }
:root[data-theme="dark"] .notebar > summary { background: var(--card, #181e28); }
:root[data-theme="dark"] .notefrm { background: var(--card, #181e28); }
:root[data-theme="dark"] .notekinds .pill input:checked + span { color: var(--accent, #b4ccec); }
:root[data-theme="dark"] .dutybtn { color: var(--accent, #73a2e8); background: #181e28; }
:root[data-theme="dark"] .dutylog th, :root[data-theme="dark"] .dutylog td { border-bottom: 1px solid var(--line, #313946); }
:root[data-theme="dark"] .dutylog th { background: var(--card, #181e28); color: var(--ink-2, #aeb5bf); }
:root[data-theme="dark"] .login-aside { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .pwreveal { background: #181e28; }
:root[data-theme="dark"] .pwreveal:hover { background: #312e21; }
:root[data-theme="dark"] .login-note { color: var(--text, #c2cedd); }
:root[data-theme="dark"] .msg.mine { background: #12263e; }
:root[data-theme="dark"] .chip { background: #12263e; }
:root[data-theme="dark"] .bubble { background: #1f2734; color: #d8dbe0; }
:root[data-theme="dark"] .bubble.is-urgent { color: #d8dbe0; }
:root[data-theme="dark"] .bubble.is-pending { background: #193255; color: #a7bcd9; }
:root[data-theme="dark"] .chattag { background: #12263e; }
:root[data-theme="dark"] .notice.warn { background: #3f2f12; border: 1px solid #3f4a5b; color: #f1d29f; }
:root[data-theme="dark"] .notice.bad { background: #3d1212; border: 1px solid #384250; color: #ef9090; }
:root[data-theme="dark"] .notice.good { background: #173b21; border: 1px solid #3c4656; color: #aaeebf; }
:root[data-theme="dark"] .apptile.flag-bad .apptile-desc { color: #e87979; }
:root[data-theme="dark"] .apptile.flag-warn .apptile-desc { color: #f0d398; }
:root[data-theme="dark"] .checkrow.due { background: #392c11; }
:root[data-theme="dark"] .checkrow.overdue { background: #391010; }
:root[data-theme="dark"] .todaystrip { background: var(--surface, #181e28); border: 1px solid var(--border, #323a48); }
:root[data-theme="dark"] .todaystrip h2 { color: var(--ink-2, #b3bac4); }
:root[data-theme="dark"] .todaystrip li { border-left: 3px solid #3f4b5b; }
:root[data-theme="dark"] .linkbtn { color: var(--accent, #70a7ea); }
:root[data-theme="dark"] .verbar .btn { background: #181e28; color: #b4ccec; }
:root[data-theme="dark"] .ramptab.lvl-warn, :root[data-theme="dark"] .rampjob.lvl-warn { background: #4c4016; }
:root[data-theme="dark"] .ramptab.lvl-bad, :root[data-theme="dark"] .rampjob.lvl-bad { background: #461414; }
:root[data-theme="dark"] .rampjob .gradewarn { color: #e87973; }
:root[data-theme="dark"] .alertkind:has(input:checked) { background: #401313; }
:root[data-theme="dark"] .tilemenu { background: var(--surface, #181e28); border: 1px solid var(--border, #36404e); }
:root[data-theme="dark"] .tilemenu button:hover:not([disabled]), :root[data-theme="dark"] .tilemenu button:focus-visible { background: var(--neutral-tint, #1b2534); }
:root[data-theme="dark"] .arrange-bar { background: var(--neutral-tint, #1b2534); }
:root[data-theme="dark"] .fleetfold { border: 1px solid var(--border, #36404e); background: var(--neutral-tint, #1b2534); }
:root[data-theme="dark"] .fleetfold.has-attn { background: #3f2f12; color: #f1d29f; }
:root[data-theme="dark"] .pcard { border: 1px solid #323b48; background: #102238; }
:root[data-theme="dark"] .pc-when { color: #b4ccec; }
:root[data-theme="dark"] .pc-notes { background: #181e28; border: 1px solid #384150; }
:root[data-theme="dark"] .pc-notes b { color: #f0d998; }
:root[data-theme="dark"] .pc-issue { color: #e58686; }
:root[data-theme="dark"] .pc-from { background: #11233b; }
:root[data-theme="dark"] .pc-chip { background: #1a3b23; color: #a4e5a9; }
:root[data-theme="dark"] .pc-chip.warn { background: #433614; color: #f0d398; }
:root[data-theme="dark"] .pc-chip.bad { background: #401313; color: #e58686; }
:root[data-theme="dark"] .notelist .issue .nk { color: #e58686; }
:root[data-theme="dark"] .stale { color: #f0d398; }
:root[data-theme="dark"] .fuelsplit { border: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .poline { border-top: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .zswitch { border: 1px solid var(--hairline, #384251); }
:root[data-theme="dark"] .zswitch button { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .required-tag { color: #eb7084; }
:root[data-theme="dark"] .pilltab { border: 1px solid var(--hairline, #36404e); background: var(--card, #181e28); }
:root[data-theme="dark"] .fix-count { background: #3c1116; color: #ee8b9a; border: 1px solid #363f4e; }
:root[data-theme="dark"] .fixit-note.is-open { background: #3c1612; color: #eca0a0; }
:root[data-theme="dark"] .fixit-note.is-fixed { background: #193a1c; color: #afe3b3; }
:root[data-theme="dark"] mark.hl { background: #554b19; }
:root[data-theme="dark"] .pagestrip img { border: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .wopick-ghead .warn { color: var(--warning-text, #efce90); }
:root[data-theme="dark"] details.inline-menu[open] > .stackbtns { background: var(--card, #181e28); border: 1px solid #36404e; }
@media (min-width: 641px) { :root[data-theme="dark"] body.has-taskbar .taskbar { border: 1px solid var(--hairline, #343d4a); } }
@media all { :root[data-theme="dark"] body.has-taskbar .taskbar { background: var(--card, #181e28); border-top: 1px solid var(--hairline, #343d4a); } }
@media all { :root[data-theme="dark"] .taskbar a, :root[data-theme="dark"] .taskbar button { color: var(--ink-2, #c3c8d0); } }
@media all { :root[data-theme="dark"] .taskbar a[aria-current="page"] { color: var(--accent, #a0bcf1); } }
@media all { :root[data-theme="dark"] body.taskbar-small .taskbar-strip { border: 1px solid var(--hairline, #343d4a); background: var(--card, #181e28); } }
:root[data-theme="dark"] .planbox, :root[data-theme="dark"] .pm-item.sg-plan, :root[data-theme="dark"] .sg-item.sg-plan { background: #232830; color: #b7bdc7; }
:root[data-theme="dark"] .upcoming .up-off { background: repeating-linear-gradient(45deg, #2f2c1e, #2f2c1e 6px, #343023 6px, #343023 12px); }
:root[data-theme="dark"] .upcoming .sg-item { background: #12243e; }
:root[data-theme="dark"] .upcoming .sg-item .sg-crew { color: var(--muted, #aeb5bf); }
:root[data-theme="dark"] .upcoming .sg-item.sg-pos { background: #1d2430; }
:root[data-theme="dark"] .upcoming .sg-item.sg-135 { background: #3f1226; }
:root[data-theme="dark"] .upcoming .sg-item.sg-req { background: #181e28; }
:root[data-theme="dark"] .upcoming .sg-item.sg-plan, :root[data-theme="dark"] .sg-item.sg-plan, :root[data-theme="dark"] .pm-item.sg-plan { background: #232830; color: #b7bdc7; }
:root[data-theme="dark"] .upcoming .sg-offlabel { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] details.fold > summary h2::before { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] header .refreshbtn:hover { border-color: #394352; }
:root[data-theme="dark"] .changesbar { background: #473c15; color: #f4e6b5; }
:root[data-theme="dark"] .changesbar button { background: #181e28; }
:root[data-theme="dark"] .card.foldable > .card-head h2::before, :root[data-theme="dark"] .card.foldable > .card-head h3::before { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .foldcount { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .stillopen { color: #efce90; }
:root[data-theme="dark"] .suggestbox { border: 1px solid var(--border, #384251); background: var(--surface, #181e28); }
:root[data-theme="dark"] .suggestbox li { border-bottom: 1px solid var(--hairline, #2f3743); }
:root[data-theme="dark"] .suggestbox li:hover, :root[data-theme="dark"] .suggestbox li:focus { background: #11223c; }
:root[data-theme="dark"] .creport .crsec { border-bottom: 1px solid var(--line, #384251); }
:root[data-theme="dark"] .lbhead .lbk { color: var(--text-dim, #9ea7b3); }
:root[data-theme="dark"] .topfind input:focus { outline: 2px solid #394352; }
:root[data-theme="dark"] .sidemenu { background: #181e28; }
:root[data-theme="dark"] .sidemenu a:hover { background: #192335; }
:root[data-theme="dark"] .sidemenu a.active { background: #12233e; color: #b4ccec; }
:root[data-theme="dark"] .aclist-find input { border: 1px solid #37414f; }
:root[data-theme="dark"] .hubtabs a.active { color: #b4ccec; }
:root[data-theme="dark"] .wotools .popform, :root[data-theme="dark"] .wotools .stackbtns { background: #181e28; }
:root[data-theme="dark"] .partsoffer { background: #191f29; }
:root[data-theme="dark"] .discgroup .discbox { background: #181e28; }
:root[data-theme="dark"] .alertfold strong { background: #181e28; color: #eb7084; }
:root[data-theme="dark"] .moneysign { color: var(--ink-2, #aeb5bf); }
:root[data-theme="dark"] body.taskbar-small .taskbar-strip { border-bottom: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .boxmem { background: var(--surface,#181e28); border: 1px solid var(--hairline,#374150); }
:root[data-theme="dark"] .boxmem .bm-row { border-bottom: 1px solid var(--hairline,#2e3642); }
:root[data-theme="dark"] .boxmem .bm-row:hover, :root[data-theme="dark"] .boxmem .bm-row.on { background: var(--lbe-edit,#111f3c); }
:root[data-theme="dark"] .boxmem .bm-x { color: var(--muted,#99a2af); }
/* templates/_attachments.html */
:root[data-theme="dark"] .attachbox .aticks { color: var(--muted, #9ea7b3); }
:root[data-theme="dark"] .attachbox .atag { border: 1px solid var(--hairline, #36404e); }
/* templates/_fileshow.html */
:root[data-theme="dark"] .fv-pages img { background: #181e28; }
/* templates/_leg_head.html */
:root[data-theme="dark"] .vorwarn { background: #4a4016; }
:root[data-theme="dark"] .unitsw { border: 1px solid var(--hairline,#36404e); }
:root[data-theme="dark"] .unitsw input:checked + span { color: var(--accent,#b4ccec); }
:root[data-theme="dark"] .both { color: var(--muted,#a2aab6); }
:root[data-theme="dark"] .cardwarn { background: #3c3512; }
:root[data-theme="dark"] .saved { color: var(--good-text, #8fe7ab); }
:root[data-theme="dark"] .saved.bad { color: #efce90; }
/* templates/_pilot_month.html */
:root[data-theme="dark"] .pm-item { background: #12243e; }
:root[data-theme="dark"] .pm-item.sg-pos { background: #1d2430; }
:root[data-theme="dark"] .pm-item.sg-req { background: #181e28; }
:root[data-theme="dark"] td.pm-off { background: repeating-linear-gradient(45deg, #302d23, #302d23 6px, #212a38 6px, #212a38 12px); }
:root[data-theme="dark"] .pm-offlabel { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .pm-dayhead { background: var(--neutral-tint, #1c232f); }
/* templates/_quote_doc.html */
:root[data-theme="dark"] .qdoc .qgroup td { background: #1c232f; }
@media (max-width: 640px) { :root[data-theme="dark"] .qdoc table.qtable tr { border-bottom: 1px solid #343d4a; } }
@media (max-width: 640px) { :root[data-theme="dark"] .qdoc table.qtable td[data-l]::before { color: #a4abb7; } }
/* templates/_records_file.html */
:root[data-theme="dark"] .exp-lapsed { color: #e87973; }
:root[data-theme="dark"] .exp-soon { color: #efce90; }
/* templates/_records_tabs.html */
:root[data-theme="dark"] .reclist li { border-top: 1px solid var(--hairline, #323b49); }
:root[data-theme="dark"] .reclist a.recrow:hover { background: #2f2c1e; }
:root[data-theme="dark"] .recthumb { background: #1e2632; }
:root[data-theme="dark"] .recmain .s { color: var(--muted, #a2aab6); }
:root[data-theme="dark"] .recstat.waiting { color: #efce90; }
:root[data-theme="dark"] .recstat.accepted { color: #9ce4b7; }
:root[data-theme="dark"] .recstat.sent_back { color: #e87973; }
:root[data-theme="dark"] .recstat.not_needed { color: #a2aab6; }
:root[data-theme="dark"] .exp-lapsed { color: #e87973; }
:root[data-theme="dark"] .exp-soon { color: #efce90; }
/* templates/_wb_style.html */
:root[data-theme="dark"] .wbrow { border-top: 1px solid var(--line, #343d4a); }
:root[data-theme="dark"] .wbres div { border: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .wbstamp { color: var(--good-text, #93e4ac); }
:root[data-theme="dark"] .wbafter { color: var(--critical-text, #d98181); }
:root[data-theme="dark"] .wbleg { background: var(--card, #181e28); }
:root[data-theme="dark"] .wbmismatch { color: #ecb67c; }
:root[data-theme="dark"] .wbmissing { color: var(--critical-text, #d98181); }
/* templates/access.html */
:root[data-theme="dark"] .accessgrid td.ok { color: var(--ok-text, #9ce4b7); }
:root[data-theme="dark"] .accessgrid td.no { color: var(--muted, #99a2af); }
:root[data-theme="dark"] .accessgrid td.part { color: var(--warning-text, #efce90); }
/* templates/aircraft_poh.html */
:root[data-theme="dark"] .poh-note { background: #3d3112; color: #f2dea6; }
:root[data-theme="dark"] .poh-btn.poh-abnormal { background: #3f2f12; color: #f1d29f; }
:root[data-theme="dark"] .poh-btn.poh-abnormal .poh-btn-p { color: #e4c48a; }
/* templates/customer_form.html */
:root[data-theme="dark"] .ownerrow { border: 1px solid var(--hairline, #36404e); }
:root[data-theme="dark"] .addleg { color: var(--accent, #73a2e8); }
/* templates/dashboard.html */
:root[data-theme="dark"] .classhead td { background: var(--surface-2, #2e2e22); }
/* templates/form_doc.html */
:root[data-theme="dark"] .formfields td { border-bottom: 1px solid #384251; }
:root[data-theme="dark"] .tagrow .l { color: #b9bfc8; }
/* templates/part_labels.html */
:root[data-theme="dark"] .desc { color: #b9bfc8; }
:root[data-theme="dark"] .note { color: #aeb5bf; }
/* templates/payroll_print.html */
:root[data-theme="dark"] body { color: #d8dbe0; }
:root[data-theme="dark"] .meta { color: #b9bfc8; }
:root[data-theme="dark"] th, :root[data-theme="dark"] td { border-bottom: 1px solid #3d4858; }
:root[data-theme="dark"] th { background: #202936; }
:root[data-theme="dark"] .draft { color: #ed8181; }
:root[data-theme="dark"] .bar { background: #1e2631; }
/* templates/pilot_quals.html */
:root[data-theme="dark"] .qpill.q-green { background: var(--good-bg, #1a3b23); color: var(--good-text, #9ce3b1); }
:root[data-theme="dark"] .qpill.q-amber { background: var(--warning-bg, #4a4016); color: var(--warning-text, #efce90); }
:root[data-theme="dark"] .qpill.q-red, :root[data-theme="dark"] .qpill.q-lapsed, :root[data-theme="dark"] .qpill.q-short { background: var(--critical-bg, #3d1212); color: var(--critical-text, #ec7878); }
:root[data-theme="dark"] .qpill.q-missing { background: var(--warning-bg, #3f2f12); color: var(--warning-text, #efc990); }
:root[data-theme="dark"] .qpill.q-none { color: var(--muted, #a4abb7); border-color: var(--hairline, #343d4a); }
/* templates/postflights_owed.html */
:root[data-theme="dark"] .owedcount { color: #efce90; }
/* templates/punch.html */
:root[data-theme="dark"] .tapbox { background: #181e28; border: 1px solid var(--hairline, #323b49); }
:root[data-theme="dark"] .undobar { background: #212a38; }
/* templates/purchase_order_new.html */
:root[data-theme="dark"] .poline2 { border-bottom: 1px solid var(--line, #323b49); }
/* templates/qualifications.html */
:root[data-theme="dark"] .qpill.q-green { background: var(--good-bg, #1a3b23); color: var(--good-text, #9ce3b1); }
:root[data-theme="dark"] .qpill.q-amber { background: var(--warning-bg, #4a4016); color: var(--warning-text, #efce90); }
:root[data-theme="dark"] .qpill.q-red, :root[data-theme="dark"] .qpill.q-lapsed, :root[data-theme="dark"] .qpill.q-short { background: var(--critical-bg, #3d1212); color: var(--critical-text, #ec7878); }
:root[data-theme="dark"] .qpill.q-missing { background: var(--warning-bg, #3f2f12); color: var(--warning-text, #efc990); }
:root[data-theme="dark"] .qpill.q-none { color: var(--muted, #a4abb7); }
/* templates/record_item.html */
:root[data-theme="dark"] .recfile img { background: #2f2c21; }
:root[data-theme="dark"] .exp-lapsed { color: #e87973; }
:root[data-theme="dark"] .exp-soon { color: #efce90; }
/* templates/review_print.html */
:root[data-theme="dark"] .writelines { border-bottom: 1px solid #3d4858; background: repeating-linear-gradient(transparent, transparent 22px, #232d3b 23px); }
/* templates/scan_result.html */
:root[data-theme="dark"] .sr-thumb img { background: #181e28; }
/* templates/scans.html */
:root[data-theme="dark"] .scan-err { color: var(--critical, #eb7084); }
:root[data-theme="dark"] .scan-thumb img { background: #181e28; }
:root[data-theme="dark"] .scan-sure { background: #183e23; color: #9be6b4; }
:root[data-theme="dark"] .scan-guess { background: #3f2f12; color: #f1d29f; }
:root[data-theme="dark"] .scan-none { background: #3d1216; color: #ed808e; }
/* templates/schedule_grid.html */
:root[data-theme="dark"] .sgwrap { border: 1px solid var(--hairline, #36404e); background: #181e28; }
:root[data-theme="dark"] .sgrid th, :root[data-theme="dark"] .sgrid td { border-right: 1px solid var(--hairline, #333c4a); border-bottom: 1px solid var(--hairline, #333c4a); }
:root[data-theme="dark"] .sgrid thead th { background: #2f2c21; }
:root[data-theme="dark"] .sgrid .sg-row { background: #2f2c21; }
:root[data-theme="dark"] .sg-date { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .sg-sub { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .sg-down { color: #eb7084; }
:root[data-theme="dark"] .sgrid td.sg-wkend { background: #2f2a1a; }
:root[data-theme="dark"] .sgrid .sg-today { background: #12243c !important; }
:root[data-theme="dark"] .sgrid td.sg-off { background: repeating-linear-gradient(45deg, #302d23, #302d23 6px, #212a38 6px, #212a38 12px); }
:root[data-theme="dark"] .sg-offlabel { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .sg-item { background: #12243e; }
:root[data-theme="dark"] .sg-item .sg-crew { color: var(--muted, #aeb5bf); }
:root[data-theme="dark"] .sg-item.sg-pos { background: #1d2430; }
:root[data-theme="dark"] .sg-item.sg-135 { background: #3f1226; }
:root[data-theme="dark"] .sg-item.sg-req { background: #181e28; }
/* templates/shop_board.html */
:root[data-theme="dark"] .c-today { color: #f7e8c6; }
/* templates/trip_detail.html */
:root[data-theme="dark"] .tripno-head { color: var(--muted-text, #aeb5bf); }
:root[data-theme="dark"] .legsteps { color: var(--muted-text, #a4abb7); }
:root[data-theme="dark"] .checktime { color: #efce90; background: #473b15; }
:root[data-theme="dark"] .awayend { background: #392c11; }
:root[data-theme="dark"] .askchange { background: #392c11; }
:root[data-theme="dark"] .legrules.p135 { color: #dc7fa9; }
/* templates/trip_flight.html */
:root[data-theme="dark"] .legsteps { color: var(--muted-text, #a4abb7); }
/* templates/trip_form.html */
:root[data-theme="dark"] .reqleg { border: 1px solid var(--hairline, #36404e); }
:root[data-theme="dark"] .addleg { color: var(--accent, #73a2e8); }
/* templates/updating.html */
:root[data-theme="dark"] body { background: #1e222c; color: #b4ccec; }
:root[data-theme="dark"] .dim { color: #a0acbb; }
/* templates/workorder_detail.html */
:root[data-theme="dark"] .wobox { border: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .wobox > .k { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .linenote { border-left: 3px solid var(--hairline, #384251); }
:root[data-theme="dark"] .wostate.s-waiting, :root[data-theme="dark"] .wostate.s-unquoted, :root[data-theme="dark"] .wostate.s-approved { color: var(--warning-text, #efce90); }
:root[data-theme="dark"] .wostate.s-parts_in, :root[data-theme="dark"] .wostate.s-done, :root[data-theme="dark"] .wostate.s-signed { color: var(--ok, #95d898); }
:root[data-theme="dark"] .wostate.s-declined { color: var(--muted, #a4abb7); }
:root[data-theme="dark"] .procpanel { background: var(--card, #181e28); border: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .procbar { border-bottom: 1px solid var(--hairline, #343d4a); }
:root[data-theme="dark"] .procpanel iframe { background: #181e28; }
:root[data-theme="dark"] .proctab { border: 1px solid var(--hairline, #343d4a); }
/* style="" in the templates */
:root[data-theme="dark"] [style*="background:#f3f3f3"] { background: #1c232f !important; }
:root[data-theme="dark"] [style*="background:#f4f4f1"] { background: #1c242f !important; }
:root[data-theme="dark"] [style*="background:#fff"] { background: #181e28 !important; }
:root[data-theme="dark"] [style*="background:var(--panel-2, #f6f6f3)"] { background: #1b232e !important; }
:root[data-theme="dark"] [style*="background:var(--surface, #fff)"] { background: #181e28 !important; }
:root[data-theme="dark"] [style*="background:var(--surface-2, #f6f5f1)"] { background: #2f2c1e !important; }
:root[data-theme="dark"] [style*="background:var(--surface-2, #f6f7f9)"] { background: #1e222c !important; }
:root[data-theme="dark"] [style*="border-top:1px solid #ccc"] { border-top: #384251 !important; }
:root[data-theme="dark"] [style*="border-top:1px solid var(--hairline, #ddd)"] { border-top: #343d4a !important; }
:root[data-theme="dark"] [style*="border-top:1px solid var(--hairline,#e4e4de)"] { border-top: #323b49 !important; }
:root[data-theme="dark"] [style*="border:1px dashed var(--hairline, #ccc)"] { border: #384251 !important; }
:root[data-theme="dark"] [style*="border:1px solid var(--hairline,#e4e4de)"] { border: #323b49 !important; }
:root[data-theme="dark"] [style*="color:#1a7f37"] { color: #8fe8a8 !important; }
:root[data-theme="dark"] [style*="color:#444"] { color: #b9bfc8 !important; }
:root[data-theme="dark"] [style*="color:#555"] { color: #aeb5bf !important; }
:root[data-theme="dark"] [style*="color:#666"] { color: #a4abb7 !important; }
:root[data-theme="dark"] [style*="color:#777"] { color: #99a2af !important; }
:root[data-theme="dark"] [style*="color:#8a4b0f"] { color: #eeba89 !important; }
:root[data-theme="dark"] [style*="color:#8a5a00"] { color: #efce90 !important; }
:root[data-theme="dark"] [style*="color:#8f1d1d"] { color: #e68686 !important; }
:root[data-theme="dark"] [style*="color:#b00020"] { color: #ed7e92 !important; }
:root[data-theme="dark"] [style*="color:var(--critical,#b00020)"] { color: #ed7e92 !important; }
:root[data-theme="dark"] [style*="color:var(--critical,#c8102e)"] { color: #eb7084 !important; }
:root[data-theme="dark"] [style*="color:var(--critical-text, #a33)"] { color: #d98181 !important; }
:root[data-theme="dark"] [style*="color:var(--warning, #b26a00)"] { color: #ecbf7d !important; }
:root[data-theme="dark"] [style*="color:var(--warning-text, #9a6700)"] { color: #eecc88 !important; }
/* by hand */
:root[data-theme="dark"] .apptile-count { background: var(--accent); color: #0e131b; }
:root[data-theme="dark"] .h2-items .apptile-count { color: #fff; background: var(--h2-red); }
:root[data-theme="dark"] .h2-items .apptile.flag-warn .apptile-count { background: var(--h2-amber); }
:root[data-theme="dark"] .sidemenu-logo img { filter: brightness(0) invert(1) opacity(.92); }
:root[data-theme="dark"] .h2 { --h2-shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.3); --h2-navy: #5b8cff; }
:root[data-theme="dark"] a.apptile:hover { box-shadow: 0 4px 14px rgba(0,0,0,.5); }
:root[data-theme="dark"] img[src$="logo.svg"]:not(.sidemenu-logo img) { background: #fff; border-radius: 6px; padding: 4px; }
}
