/* ======================================================================
   GENERATED FILE -- do not edit directly.
   Rebuilt from css/_head.css (+ css/_extra.css, where present) and
   apps/_shared/css/app-shell.css by apps/_shared/sync-apps.py.
   Edit one of those source files, then re-run the sync script.
   ====================================================================== */

/*
  Resistor Toolkit — standalone PWA
  ------------------------------------------------------------------
  This tool has always had its own independent design tokens (see the
  :root block below, carried over from the site's resistor-toolkit.css),
  separate from the --tbc-* tokens the bias/tone-stack tools share.
  Rather than rewrite the shared app-shell/install-gate layer, we
  alias --tbc-* to this tool's own token names so that layer works
  unmodified and everything still matches this page's real palette.
*/

:root{
  --bg:#ffffff;
  --panel:#f7f7f7;
  --panel-alt:#efefef;
  --border:#cccccc;
  --border-soft:#dddddd;
  --text:#111111;
  --text-muted:#444444;
  --text-faint:#666666;
  --amber:#000000;
  --amber-dim:#333333;
  --copper:#555555;
  --readout:#111111;
  --readout-dim:#555555;
  --danger:#000000;
  --radius: 0px;
  --font-head:'Roboto Slab', Georgia, serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:'JetBrains Mono', 'Courier New', monospace;

  /* aliases so the shared app-shell/install-gate layer (written
     against --tbc-*) matches this tool's own palette automatically */
  --tbc-bg: var(--bg);
  --tbc-panel: var(--panel);
  --tbc-panel-raised: var(--panel-alt);
  --tbc-well: #fafafa;
  --tbc-border: var(--border);
  --tbc-border-soft: var(--border-soft);
  --tbc-ink: var(--text);
  --tbc-ink-muted: var(--text-muted);
  --tbc-ink-faint: var(--text-faint);
  --tbc-glow: var(--amber);
  --tbc-glow-dim: var(--amber-dim);
  --tbc-glow-soft: rgba(0, 0, 0, 0.06);
  --tbc-warn: #333333;
  --tbc-warn-soft: rgba(0, 0, 0, 0.05);
  --tbc-cold: #333333;
  --tbc-safe: #111111;
  --tbc-danger: #000000;
  --tbc-danger-soft: rgba(0, 0, 0, 0.06);
  --tbc-font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --tbc-font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --tbc-font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --tbc-radius: 0px;
  --tbc-radius-sm: 0px;
}
  *{box-sizing:border-box;}
  body{
    margin:0;
    background:var(--bg);
    background-image:
      radial-gradient(ellipse at top, rgba(232,137,47,0.05), transparent 55%),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
    color:var(--text);
    font-family:var(--font-body);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  .rt-wrap{
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(120% 140% at 15% -10%, rgba(245, 245, 245, 1) 0%, transparent 55%),
    linear-gradient(175deg, rgba(247, 247, 247, 1) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  max-width: 1480px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
  .rt-eyebrow{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--amber); margin:0 0 6px; }
  .rt-title{ font-family:var(--font-head); font-weight:600; font-size:26px; line-height:1.15; margin:0 0 6px; color:var(--text); }
  .rt-sub{ color:var(--text-muted); font-size:13.5px; margin:0; max-width:100ch; }

  /* Tabs */
  .rt-tabs{
    display:flex;
    gap:6px;
    border-bottom:1px solid var(--border);
    margin-bottom:28px;
    flex-wrap:wrap;
  }
  .rt-tab{
    appearance:none;
    background:none;
    border:none;
    color:var(--text-muted);
    font-family:var(--font-body);
    font-weight:600;
    font-size:14.5px;
    padding:12px 4px;
    margin-right:22px;
    cursor:pointer;
    position:relative;
    border-bottom:2px solid transparent;
    transition:color 0.15s ease;
  }
  .rt-tab:hover{ color:var(--text); }
  .rt-tab.active{
    color:var(--amber);
    border-bottom-color:var(--amber);
  }

  .rt-panel{ display:none; }
  .rt-panel.active{ display:block; animation:fadein 0.25s ease; }
  @keyframes fadein{ from{opacity:0; transform:translateY(4px);} to{opacity:1; transform:none;} }

  .rt-panel-head{
    font-family:var(--font-head);
    font-size:20px;
    font-weight:700;
    margin:0 0 6px;
  }
  .rt-panel-desc{
    color:var(--text-muted);
    font-size:14.5px;
    margin:0 0 28px;
    max-width:600px;
  }

  /* Card */
  .rt-card{
    background:var(--panel);
    border:1px solid var(--border-soft);
    border-radius: 0;
    padding:26px;
  }

  /* Band count selector */
  .rt-segmented{
    display:inline-flex;
    background:var(--panel-alt);
    border:1px solid var(--border);
    border-radius: 0;
    padding:3px;
    margin-bottom:26px;
  }
  .rt-segmented button{
    appearance:none;
    border:none;
    background:none;
    color:var(--text-muted);
    font-family:var(--font-mono);
    font-size:13px;
    font-weight:700;
    padding:8px 16px;
    border-radius: 0;
    cursor:pointer;
    transition:background 0.15s ease, color 0.15s ease;
  }
  .rt-segmented button.active{
    background:var(--amber);
    color:#ffffff;
  }

  /* Resistor SVG */
  .rt-resistor-stage{
    background:var(--panel-alt);
    border:1px solid var(--border);
    border-radius: 0;
    padding:20px 10px;
    margin-bottom:22px;
  }
  .rt-resistor-stage svg{ width:100%; height:auto; display:block; }

  /* Band controls */
  .rt-band{
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid var(--border-soft);
  }
  .rt-band:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
  .rt-band-label{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--text-faint);
    margin-bottom:10px;
  }
  .rt-band-current{
    font-family:var(--font-body);
    font-weight:600;
    font-size:13.5px;
    text-transform:none;
    letter-spacing:0;
    color:var(--text);
  }
  .rt-swatches{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .rt-swatch{
    width:34px;
    height:34px;
    border-radius: 0;
    border:2px solid transparent;
    cursor:pointer;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35);
    transition:transform 0.1s ease, border-color 0.1s ease;
    position:relative;
  }
  .rt-swatch:hover{ transform:translateY(-2px); }
  .rt-swatch.selected{
    border-color:var(--amber);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35), 0 0 0 3px rgba(232,137,47,0.18);
  }
  .rt-swatch.selected::after{
    content:'';
    position:absolute;
    inset:0;
    border-radius: 0;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.5);
  }

  /* Readout */
  .rt-readout{
    text-align:center;
    padding:22px 16px 24px;
    background:var(--panel-alt);
    border:1px solid var(--border);
    border-radius: 0;
  }
  .rt-readout-value{
    font-family:var(--font-mono);
    font-size:clamp(32px, 6vw, 44px);
    font-weight:700;
    color:var(--readout);
    text-shadow:0 0 18px rgba(127,214,138,0.25);
    letter-spacing:0.01em;
  }
  .rt-readout-row{
    display:flex;
    justify-content:center;
    gap:22px;
    margin-top:10px;
    flex-wrap:wrap;
    font-family:var(--font-mono);
    font-size:13px;
    color:var(--text-muted);
  }
  .rt-readout-row b{ color:var(--text); font-weight:600; }

  /* Two column layout for reverse/smd */
  .rt-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  @media (max-width:720px){ .rt-grid-2{ grid-template-columns:1fr; } }

  .rt-field{ margin-bottom:18px; }
  .rt-field label{
    display:block;
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--text-faint);
    margin-bottom:8px;
  }
  .rt-input-row{ display:flex; gap:8px; }
  .rt-input, select.rt-input{
    width:100%;
    background:var(--panel-alt);
    border:1px solid var(--border);
    color:var(--text);
    font-family:var(--font-mono);
    font-size:15px;
    padding:11px 12px;
    border-radius: 0;
    outline:none;
    transition:border-color 0.15s ease;
  }
  .rt-input:focus{ border-color:var(--amber); }
  select.rt-input{ cursor:pointer; }

  .rt-note{
    font-size:13px;
    color:var(--text-faint);
    margin-top:14px;
    line-height:1.6;
  }
  .rt-note code{
    background:var(--panel-alt);
    border:1px solid var(--border);
    padding:1px 6px;
    border-radius: 0;
    font-family:var(--font-mono);
    color:var(--copper);
    font-size:12.5px;
  }

  .rt-chip-row{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:14px;
  }
  .rt-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:var(--panel-alt);
    border:1px solid var(--border);
    padding:6px 10px;
    border-radius: 0;
    font-family:var(--font-mono);
    font-size:12.5px;
    color:var(--text-muted);
  }
  .rt-chip .dot{ width:10px; height:10px; border-radius: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4); }

  .rt-warn{
    color:var(--danger);
    font-size:13.5px;
    margin-top:10px;
    display:none;
  }
  .rt-warn.show{ display:block; }

  .rt-btn{
    appearance:none;
    background:var(--panel-alt);
    border:1px solid var(--border);
    color:var(--text);
    font-family:var(--font-body);
    font-weight:600;
    font-size:13px;
    padding:9px 14px;
    border-radius: 0;
    cursor:pointer;
  }
  .rt-btn:hover{ border-color:var(--amber); color:var(--amber); }

   APP SHELL — standalone PWA layer
   ================================================================== */

/* ======================================================================
   Shared PWA app-shell layer — canonical source
   ----------------------------------------------------------------------
   Generic standalone-app chrome shared by every DiMastro GTA PWA
   (safe-area insets, .install-gate, .tbc-db-notice, and related
   install/offline UI). Written against the --tbc-* custom properties;
   each app's own :root block (in its own css/_head.css) either
   declares --tbc-* directly, or aliases its own token names to them.

   DO NOT EDIT apps/<name>/css/styles.css directly for anything in this
   section — edit this file instead, then run:
     python3 apps/_shared/sync-apps.py
   to regenerate every app's actual served styles.css. Edits made
   straight to a generated styles.css will be overwritten on next sync.

   Tool-specific widget CSS (the calculator itself) lives in each app's
   own css/_head.css and is untouched by this file or the sync script.
   ====================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--tbc-bg);
  color: var(--tbc-ink);
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

body {
  font-family: var(--tbc-font-body);
  /* Safe-area padding so content clears the iPhone notch / home
     indicator when running standalone (added to home screen). */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(env(safe-area-inset-top) + 14px) 18px 14px;
  background: linear-gradient(180deg, #000000 0%, #000000 100%);
  border-bottom: 1px solid var(--tbc-border-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}

.app-header img {
  width: 26px;
  height: 26px;
  border-radius: 0;
}

.app-header h1 {
  font-family: var(--tbc-font-display);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.01em;
}

.app-header-brand {
  font-family: var(--tbc-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-left: auto;
  white-space: nowrap;
}

.app-header-brand-gta {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #cccccc;
}

main.app-main {
  padding: 20px 14px calc(40px + env(safe-area-inset-bottom));
}

/* the .tbc widget already caps at 760px and centers itself, this just
   removes its normal page-embedded spacing assumptions */
/* Tools with their own content wrapper (not .tbc) already set their
   own width in the section above — this rule only matters on tools
   that actually use .tbc for their widget. */

.app-footer {
  max-width: 960px;
  margin: 18px auto 0;
  padding: 0 4px;
  font-size: 11.5px;
  color: var(--tbc-ink-faint);
  text-align: center;
  line-height: 1.6;
}

.app-footer a { color: var(--tbc-glow-dim); }

/* Offline / update banners */
.app-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 50;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--tbc-panel-raised);
  border: 1px solid var(--tbc-border);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--tbc-ink-muted);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.6);
}

.app-banner.is-visible { display: flex; }

.app-banner button {
  margin-left: auto;
  background: var(--tbc-glow);
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 7px 14px;
  font-family: var(--tbc-font-display);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
}

.app-banner .app-banner-dismiss {
  background: transparent;
  color: var(--tbc-ink-faint);
  padding: 7px 8px;
}

@media (max-width: 420px) {
  .app-header h1 { font-size: 14.5px; }
  .app-header-brand,
  .app-header-brand-gta { font-size: 16px; }
}

/* ==================================================================
   INSTALL GATE
   ================================================================== */

.install-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 140% at 50% -10%, transparent 0%, transparent 55%),
    var(--tbc-bg);
}

.install-gate.is-hidden { display: none; }

.install-gate-card {
  max-width: 380px;
  width: 100%;
  text-align: center;
  background: var(--tbc-panel);
  border: 1px solid var(--tbc-border);
  border-radius: 0;
  padding: 34px 26px 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.install-gate-icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
  margin-bottom: 18px;
}

.install-gate-card h2 {
  font-family: var(--tbc-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--tbc-ink);
  margin: 0 0 10px;
}

.install-gate-sub {
  font-size: 13.5px;
  color: var(--tbc-ink-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.install-gate-btn {
  width: 100%;
  background: var(--tbc-glow);
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 13px 18px;
  font-family: var(--tbc-font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background-color 140ms ease;
}
.install-gate-btn:hover { background: var(--tbc-glow-dim); }

.install-gate-ios-hint {
  font-size: 13px;
  color: var(--tbc-ink-muted);
  background: rgba(247, 247, 247, 1);
  border: 1px solid var(--tbc-border-soft);
  border-radius: 0;
  padding: 12px 14px;
  margin: 0 0 16px;
  line-height: 1.6;
}
.install-gate-ios-hint svg { vertical-align: -3px; margin: 0 2px; color: var(--tbc-glow); }
.install-gate-ios-hint strong { color: var(--tbc-ink); }

.install-gate.is-ios .install-gate-btn,
.install-gate.is-ios #installGateAndroidNotice,
.install-gate.is-ios .install-gate-ios-hint,
.install-gate.is-ios #dmPlatformRow {
  display: none !important;
}
.install-gate-ios-panel {
  text-align: left;
  background: rgba(245, 245, 245, 1);
  border: 1px solid var(--tbc-border-soft);
  border-radius: 0;
  padding: 14px 16px 12px;
  margin: 0 0 18px;
  color: var(--tbc-ink-muted);
}
.install-gate-ios-lead {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--tbc-ink);
}
.install-gate-ios-steps {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--tbc-ink-muted);
}
.install-gate-ios-steps li { margin: 0 0 8px; }
.install-gate-ios-steps li:last-child { margin-bottom: 0; }
.install-gate-ios-steps strong { color: var(--tbc-ink); }
.install-gate-ios-steps svg { vertical-align: -3px; margin: 0 2px; color: var(--tbc-glow); }
.install-gate-ios-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--tbc-ink-faint, var(--tbc-ink-muted));
  opacity: 0.9;
}




.install-gate-link {
  display: block;
  font-size: 13px;
  color: var(--tbc-glow-dim);
  text-decoration: underline;
  margin-bottom: 12px;
}
.install-gate-link:hover { color: var(--tbc-glow); }

.install-gate-back-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--tbc-ink-faint);
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(205, 156, 96, 0.35);
  border-radius: 0;
  text-decoration: none;
}
.install-gate-back-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--tbc-ink);
}

.install-gate-skip {
  display: inline-block;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(77, 163, 255, 0.35);
  color: var(--tbc-cold);
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
  padding: 6px 14px;
  margin-bottom: 10px;
}
.install-gate-skip:hover { background: rgba(0, 0, 0, 0.08); color: var(--tbc-ink); }

.tbc-db-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--tbc-warn-soft);
  border: 1px solid rgba(231, 184, 79, 0.35);
  border-radius: 0;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--tbc-ink-muted);
  margin-bottom: 22px;
}
.tbc-db-notice[hidden] { display: none; }
.tbc-db-notice svg { flex: none; margin-top: 2px; color: var(--tbc-warn); }
.tbc-db-notice strong { color: var(--tbc-warn); }


/* PWA desktop 2-column — match site bench tools */
.rt-wrap, .ct-wrap {
  max-width: 1480px !important;
  width: 100% !important;
  box-sizing: border-box;
}
.vo-desktop-cols {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 24px 32px !important;
  align-items: start !important;
  width: 100%;
}
.vo-col { min-width: 0; }
.vo-col-left {
  padding-right: 16px;
  border-right: 1px solid rgba(47, 38, 28, 0.55);
}
.vo-col-right { padding-left: 8px; }
.vo-full { grid-column: 1 / -1 !important; width: 100%; }

@media (min-width: 981px) {
  .rt-tabs, .ct-tabs { display: none !important; }
  .rt-panel, .ct-panel { display: block !important; }
  /* Capacitor: third panel (reverse) full width under the 2-col */
  .vo-desktop-cols + .ct-panel,
  #ct-panel-reverse {
    display: block !important;
    margin-top: 24px;
  }
}

@media (max-width: 980px) {
  .vo-desktop-cols {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .vo-col-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(47, 38, 28, 0.55);
    padding-bottom: 18px;
    margin-bottom: 8px;
  }
  .vo-col-right { padding-left: 0; }
}


/* B&W media: grayscale decorative photos only.
   Keep amp faceplates, brand badges, knobs art, color swatches, and canvases in color. */
img, video { filter: grayscale(1); }
canvas,
.ct-swatch, .rt-swatch, [class*="swatch"],
.ts-knobs-row img, .ts-knobs-row,
[class*="faceplate"] img, [class*="knobs"] img,
[class*="brand"] img, .app-header img,
.install-gate-icon, .install-tip-icon,
button img, .tbc-header img {
  filter: none;
}

/* Header: black bar needs white text (ink token is dark for page body) */
.app-header h1,
.app-header-brand,
.app-header-brand-gta {
  color: #ffffff !important;
}

/* Install gate — pure B&W contrast (local, no shared dependency) */
.install-gate-btn {
  background: #000000;
  color: #ffffff;
}
.install-gate-btn:hover {
  background: #333333;
  color: #ffffff;
}
.install-gate-folder-tip {
  background: #f0f0f0;
  border: 1px solid #cccccc;
  color: #333333;
}
.install-gate-folder-tip strong {
  color: #111111;
}
.tbc-db-notice,
#installGateAndroidNotice {
  background: #f5f5f5;
  border: 1px solid #cccccc;
  color: #333333;
}
.tbc-db-notice strong,
#installGateAndroidNotice strong {
  color: #111111;
}
.install-gate-back-btn,
.install-gate-skip {
  background: #f5f5f5;
  border: 1px solid #cccccc;
  color: #444444;
}


/* ======================================================================
   DiMastro dark B&W — matches main site /bw/ (app-wide final override)
   ====================================================================== */
:root {
  --tbc-bg:            #000000 !important;
  --tbc-panel:         #0d0d0d !important;
  --tbc-panel-raised:  #181818 !important;
  --tbc-well:          #111111 !important;
  --tbc-border:        #333333 !important;
  --tbc-border-soft:   #252525 !important;

  --tbc-ink:           #e8e8e8 !important;
  --tbc-ink-muted:     #c9c9c9 !important;
  --tbc-ink-faint:     #838383 !important;

  --tbc-glow:          #ffffff !important;
  --tbc-glow-dim:      #aaaaaa !important;
  --tbc-glow-soft:     rgba(255, 255, 255, 0.06) !important;

  --tbc-cold:          #666666 !important;
  --tbc-safe:          #cccccc !important;
  --tbc-warn:          #aaaaaa !important;
  --tbc-warn-soft:     rgba(255, 255, 255, 0.05) !important;
  --tbc-danger:        #ffffff !important;
  --tbc-danger-soft:   rgba(255, 255, 255, 0.06) !important;

  --tbc-radius:    0px !important;
  --tbc-radius-sm: 0px !important;

  /* Tone-stack functional plot colors (keep hot filament) */
  --live:     #ff9142 !important;
  --edit:     #4da3ff !important;
  --band-1: #8f5c3a !important;
  --band-2: #d8453c !important;
  --band-3: #e8843a !important;
  --band-4: #e2c44a !important;
  --band-5: #4fa96b !important;
  --band-6: #4a79c4 !important;
  --band-7: #9d6cc6 !important;
  --band-8: #9c97a8 !important;

  /* Generic toolkit aliases some apps use */
  --bg: #000000 !important;
  --panel: #0d0d0d !important;
  --ink: #e8e8e8 !important;
  --muted: #c9c9c9 !important;
  --faint: #838383 !important;
  --border: #333333 !important;
  --chassis: #000000 !important;
  --panel-hi: #181818 !important;
  --rule: #252525 !important;
  --dim: #a8a8a8 !important;
  --grid: #252525 !important;
  --grid-key: #333333 !important;
}

html, body {
  background: #000000 !important;
  color: #c9c9c9 !important;
  color-scheme: dark !important;
}

*, *::before, *::after {
  border-radius: 0 !important;
}

/* Shell chrome */
.app-header {
  background: #000000 !important;
  border-bottom: 1px solid #222 !important;
}
.app-header h1,
.app-header-brand,
.app-header-brand-gta,
.app-header * {
  color: #ffffff !important;
}

.app-footer,
.tbc-footer {
  color: #a8a8a8 !important;
}

/* Main cards / widgets */
.tbc, .ts, .rt, .ct, .vo, .app-main, .app-shell, main {
  background: #0d0d0d !important;
  color: #c9c9c9 !important;
  border-color: #252525 !important;
  box-shadow: none !important;
}

.tbc-setup,
.tbc-panel,
.tbc-ref-col,
.tbcp-safety-card,
.ts-panel,
.ts-scope,
.rt-card,
.ct-card,
.vo-card,
[class*="-setup"],
[class*="-panel"]:not(.app-header):not([class*="badge"]) {
  background: #0d0d0d !important;
  border-color: #333 !important;
  color: #c9c9c9 !important;
}

.tbc-warning,
.tbc-db-notice,
[class*="-warning"],
[class*="-notice"] {
  background: #141414 !important;
  border-color: #333 !important;
  color: #c9c9c9 !important;
}
.tbc-warning strong,
.tbc-db-notice strong {
  color: #ffffff !important;
}

/* Inputs */
input, select, textarea,
.tbc-input, .tbc-select,
.ts input, .ts select,
.rt input, .rt select,
.ct input, .ct select {
  background: #181818 !important;
  color: #e8e8e8 !important;
  border: 1px solid #3a3a3a !important;
  color-scheme: dark;
}
input:focus, select:focus, textarea:focus {
  border-color: #888 !important;
  outline: none !important;
  box-shadow: none !important;
}
option {
  background: #181818 !important;
  color: #e8e8e8 !important;
}

/* Buttons */
button:not(.is-active):not([aria-pressed="true"]):not(.rt-swatch):not(.ct-swatch),
.tbc-mode-btn,
.tbc-export-btn,
.ts button {
  background: #181818 !important;
  color: #c9c9c9 !important;
  border: 1px solid #3a3a3a !important;
}
button:hover,
.tbc-mode-btn:hover,
.tbc-export-btn:hover {
  border-color: #888 !important;
  color: #fff !important;
}
.tbc-mode-btn.is-active,
button.is-active,
button[aria-pressed="true"],
.ts-mode-btn.is-active {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

/* Readouts / results */
.tbc-readout,
.tbc-result-item,
[class*="readout"],
[class*="result-item"] {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #333 !important;
}
.tbc-num,
.tbc-result-value {
  color: #ffffff !important;
}

/* Labels */
.tbc-field-label,
.tbc-eyebrow,
.tbcp-step-label,
.tbc-hint,
label {
  color: #a8a8a8 !important;
}
.tbc-title, h1, h2, h3 {
  color: #e8e8e8 !important;
}
p, .tbc-sub, .tbc-lede {
  color: #c9c9c9 !important;
}

/* Tables */
table, .tbc-bench-table, .dm-table {
  background: #0d0d0d !important;
  color: #e8e8e8 !important;
}
th {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #333 !important;
}
td {
  background: #0d0d0d !important;
  color: #e8e8e8 !important;
  border-color: #333 !important;
}
tr:nth-child(even) td {
  background: #141414 !important;
}

/* Install gate / tip */
.install-tip {
  background: rgba(0,0,0,0.72) !important;
}
.install-tip-card,
.install-gate-card,
.install-gate-folder-tip,
.install-gate-ios-hint,
.install-gate-ios-panel,
.dm-platform-item {
  background: #0d0d0d !important;
  border-color: #333 !important;
  color: #e8e8e8 !important;
}
.install-tip-card h2,
.install-tip-box-title {
  color: #ffffff !important;
}
.install-tip-lead,
.install-tip-box p,
.install-tip-steps {
  color: #c9c9c9 !important;
}
.install-tip-box {
  background: #141414 !important;
  border-color: #333 !important;
}
.install-tip-btn,
.install-gate-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}
.install-gate-skip,
.install-gate-back-btn {
  background: #181818 !important;
  color: #c9c9c9 !important;
  border-color: #333 !important;
}

/* Scope / VO specific light cards */
.vs-scope-card,
.vs-siggen-card,
.vs-compare-card {
  background: #0d0d0d !important;
  border-color: #333 !important;
  color: #c9c9c9 !important;
}

/* Keep functional gauges & tone plot colored */
svg.tbc-gauge,
.tbc-gauge-wrap svg,
canvas#plot,
canvas#scope,
img.ts-badge,
img.ts-badge--sm,
img.vo-brand-badge {
  filter: none !important;
}

/* Gray out decorative photos only — never SVG diagrams or band art */
img:not(.ts-badge):not(.ts-badge--sm):not(.vo-brand-badge),
video {
  filter: grayscale(1) !important;
}
svg, svg * {
  filter: none !important;
}

/* Column dividers */
.vo-col-left {
  border-right-color: #333 !important;
}


/* ======================================================================
   Resistor / Capacitor toolkit — force full dark page (native --bg tokens)
   ====================================================================== */
:root {
  --bg: #000000 !important;
  --panel: #0d0d0d !important;
  --panel-alt: #141414 !important;
  --border: #333333 !important;
  --border-soft: #252525 !important;
  --text: #e8e8e8 !important;
  --text-muted: #c9c9c9 !important;
  --text-faint: #838383 !important;
  --amber: #ffffff !important;
  --amber-dim: #aaaaaa !important;
  --copper: #888888 !important;
  --readout: #ffffff !important;
  --readout-dim: #c9c9c9 !important;
  --danger: #ffffff !important;
  --tbc-well: #111111 !important;
}

html, body {
  background: #000000 !important;
  background-image: none !important;
  color: #c9c9c9 !important;
}

.app-main,
main.app-main,
.rt-wrap,
.ct-wrap,
.rt-grid-2,
.ct-grid-2 {
  background: #000000 !important;
  background-image: none !important;
  color: #c9c9c9 !important;
}

.rt-card,
.ct-card,
.rt-panel,
.ct-panel {
  background: #0d0d0d !important;
  border-color: #333 !important;
  color: #c9c9c9 !important;
}

.rt-resistor-stage,
.ct-cap-stage,
.ct-resistor-stage,
[class*="-stage"] {
  background: #141414 !important;
  border-color: #333 !important;
}

/* Diagram canvas area — was pure white */
.rt-resistor-stage svg,
.ct-cap-stage svg,
.rt-resistor-stage,
.ct-preview,
.ct-body-preview {
  background: #181818 !important;
}

.rt-readout,
.ct-readout {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #333 !important;
}
.rt-readout-value,
.ct-readout-value {
  color: #ffffff !important;
}

.rt-segmented,
.ct-segmented {
  background: #141414 !important;
  border-color: #333 !important;
}
.rt-segmented button,
.ct-segmented button {
  background: transparent !important;
  color: #c9c9c9 !important;
}
.rt-segmented button.active,
.ct-segmented button.active {
  background: #ffffff !important;
  color: #000000 !important;
}

.rt-input, select.rt-input,
.ct-input, select.ct-input {
  background: #181818 !important;
  color: #e8e8e8 !important;
  border-color: #3a3a3a !important;
}

.rt-title, .ct-title, .rt-panel-head, .ct-panel-head {
  color: #e8e8e8 !important;
}
.rt-sub, .ct-sub, .rt-panel-desc, .ct-panel-desc, .rt-note, .ct-note {
  color: #a8a8a8 !important;
}
.rt-eyebrow, .ct-eyebrow, .rt-field label, .ct-field label, .rt-band-label, .ct-band-label {
  color: #838383 !important;
}

/* Band swatches keep real resistor/cap colors — no grayscale on them */
.rt-swatch, .ct-swatch {
  filter: none !important;
}


/* ======================================================================
   Functional color — resistor/capacitor bands MUST stay in real color
   (grayscale made the decoder useless). No filter on diagrams or swatches.
   ====================================================================== */
.rt-wrap,
.ct-wrap,
.rt-resistor-stage,
.ct-cap-stage,
.ct-resistor-stage,
.rt-swatches,
.ct-swatches,
.rt-swatch,
.ct-swatch,
.rt-chip .dot,
.ct-chip .dot,
.rt-resistor-stage svg,
.ct-cap-stage svg,
.ct-resistor-stage svg,
.rt-resistor-stage svg *,
.ct-cap-stage svg *,
[class*="swatch"],
[class*="swatch"] * {
  filter: none !important;
  -webkit-filter: none !important;
}

/* Kill the blanket svg grayscale from the shared dark override */
.rt-wrap svg,
.ct-wrap svg,
.app-main svg {
  filter: none !important;
  -webkit-filter: none !important;
}

/* Swatches: real band colors come from inline background set by JS */
.rt-swatch,
.ct-swatch {
  filter: none !important;
  opacity: 1 !important;
}

/* Sharp UI corners only — do NOT zero out SVG geometry (rx/ry ellipses
   on the component body are intentional drawing, not CSS radius).
   Keep UI controls square. */
.rt-swatch,
.ct-swatch,
.rt-segmented,
.ct-segmented,
.rt-input,
.ct-input,
button {
  border-radius: 0 !important;
}


/* Swatches MUST keep inline band colors (never !important background) */
button.rt-swatch,
button.ct-swatch,
.rt-swatch,
.ct-swatch {
  background-image: none !important;
  /* do not set background / background-color with !important */
  color: transparent !important;
  border: 2px solid transparent !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35) !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  filter: none !important;
}
button.rt-swatch.selected,
button.ct-swatch.selected,
.rt-swatch.selected,
.ct-swatch.selected {
  border-color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.45), 0 0 0 2px rgba(255,255,255,0.35) !important;
}


/* ---- restore original card padding; keep box-shadow ---- */
.tbc,
.ts,
.rt-wrap,
.ct-wrap,
section.tbc,
main .tbc {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 60px -30px rgb(255 255 255 / 60%) !important;
  padding: 28px 28px 24px !important;
}

/* Dropdown chevron — must sit ON TOP of dark select background */
select,
.tbc-select,
select.tbc-select,
select.rt-input,
select.ct-input,
.ts select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #181818 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9c9c9' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
  padding-right: 36px !important;
  color: #e8e8e8 !important;
}

/* Scope pitch / time / volts knob captions under the knobs */
.vs-pitch-col .ts-ctl-name,
.vs-pitch-col .ts-ctl-num,
.vs-scope-card .ts-ctl-name,
.vs-scope-card .ts-ctl-num {
  color: #e8e8e8 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.vs-pitch-col .ts-ctl-num {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* ======================================================================
   INSTALL GATE — canonical shared block (identical on every app)
   Source of truth: apps/_shared/css/install-gate.css
   Do not edit a copy inside an individual app; change the shared file
   and re-run sync (or re-append this block to each styles.css).
   Dark theme, self-contained — overrides inline styles, tokens, and
   inherited body fonts so every app matches 1:1.
   ====================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

/* Lock page scroll while the gate is visible */
html.gate-open,
html.gate-open body {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
}

/* ---- Root card: force font + color on the whole subtree ---- */
.install-gate,
.install-gate *,
.install-gate *::before,
.install-gate *::after {
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif !important;
  box-sizing: border-box !important;
}

.install-gate {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  padding-top: calc(24px + env(safe-area-inset-top, 0px)) !important;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  background: #000000 !important;
  color: #e8e8e8 !important;
}

.install-gate.is-hidden,
.install-gate[hidden] {
  display: none !important;
}

.install-gate-card {
  max-width: 380px !important;
  width: 100% !important;
  text-align: center !important;
  background: #0d0d0d !important;
  border: 1px solid #333333 !important;
  border-radius: 0 !important;
  padding: 34px 26px 26px !important;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7) !important;
  color: #e8e8e8 !important;
}

.install-gate-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 0 !important;
  margin: 0 auto 18px !important;
  display: block !important;
  filter: grayscale(1) !important;
}

/* Titles — display face */
.install-gate-card h2,
.install-gate h2 {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #e8e8e8 !important;
  margin: 0 0 10px !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.install-gate-sub,
.install-gate p.install-gate-sub {
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: #c9c9c9 !important;
  line-height: 1.6 !important;
  margin: 0 0 24px !important;
}

/* Primary install button */
.install-gate-btn,
button.install-gate-btn,
#installGateBtn,
.install-gate button.install-gate-btn {
  width: 100% !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  padding: 13px 18px !important;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  margin: 0 0 16px !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: background-color 140ms ease !important;
}

.install-gate-btn:hover,
button.install-gate-btn:hover,
#installGateBtn:hover {
  background: #dddddd !important;
  color: #000000 !important;
}

.install-gate-btn[hidden],
#installGateBtn[hidden] {
  display: none !important;
}

/* iOS panel */
.install-gate-ios-panel,
.install-gate #installGateIOSPanel {
  text-align: left !important;
  background: #111111 !important;
  border: 1px solid #333333 !important;
  border-radius: 0 !important;
  padding: 14px 16px 12px !important;
  margin: 0 0 18px !important;
  color: #c9c9c9 !important;
}

.install-gate-ios-panel[hidden],
#installGateIOSPanel[hidden] {
  display: none !important;
}

.install-gate-ios-lead {
  margin: 0 0 10px !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #e8e8e8 !important;
}

.install-gate-ios-steps {
  margin: 0 0 10px !important;
  padding-left: 20px !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: #c9c9c9 !important;
}

.install-gate-ios-steps li {
  margin: 0 0 8px !important;
  color: #c9c9c9 !important;
}

.install-gate-ios-steps li:last-child {
  margin-bottom: 0 !important;
}

.install-gate-ios-steps strong {
  color: #e8e8e8 !important;
  font-weight: 600 !important;
}

.install-gate-ios-steps svg {
  vertical-align: -3px !important;
  margin: 0 2px !important;
  color: #ffffff !important;
  fill: none !important;
}

.install-gate-ios-note {
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #838383 !important;
}

.install-gate-ios-hint,
#installGateIOSHint {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #c9c9c9 !important;
  background: #111111 !important;
  border: 1px solid #333333 !important;
  border-radius: 0 !important;
  padding: 12px 14px !important;
  margin: 0 0 16px !important;
  line-height: 1.6 !important;
}

.install-gate-ios-hint[hidden],
#installGateIOSHint[hidden] {
  display: none !important;
}

.install-gate-ios-hint svg {
  vertical-align: -3px !important;
  margin: 0 2px !important;
  color: #ffffff !important;
}

.install-gate-ios-hint strong {
  color: #e8e8e8 !important;
  font-weight: 600 !important;
}

/* iOS mode hides */
.install-gate.is-ios .install-gate-btn,
.install-gate.is-ios #installGateBtn,
.install-gate.is-ios #installGateAndroidNotice,
.install-gate.is-ios .install-gate-ios-hint,
.install-gate.is-ios #dmPlatformRow,
.install-gate.is-ios .dm-platform-row {
  display: none !important;
}

/* Platform row — beat inline styles on the row and every child */
#dmPlatformRow,
.dm-platform-row,
.install-gate #dmPlatformRow,
.install-gate .dm-platform-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 18px !important;
  text-align: left !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.dm-platform-item,
.install-gate .dm-platform-item,
#dmPlatformIOS,
#dmPlatformAndroid,
#dmPlatformDesktop {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  gap: 10px !important;
  background: #111111 !important;
  border: 1px solid #333333 !important;
  padding: 8px 14px !important;
  color: #c9c9c9 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

/* Override inline color/font on spans/strongs inside platform chips */
.dm-platform-item span,
.dm-platform-item strong,
.install-gate .dm-platform-item span,
.install-gate .dm-platform-item strong,
#dmPlatformIOS span,
#dmPlatformIOS strong,
#dmPlatformAndroid span,
#dmPlatformAndroid strong,
#dmPlatformDesktop span,
#dmPlatformDesktop strong {
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
  font-size: 12.5px !important;
  color: #c9c9c9 !important;
  background: transparent !important;
}

.dm-platform-item strong,
.install-gate .dm-platform-item strong,
#dmPlatformIOS strong,
#dmPlatformAndroid strong,
#dmPlatformDesktop strong {
  color: #e8e8e8 !important;
  font-weight: 600 !important;
}

.dm-platform-item[hidden],
#dmPlatformIOS[hidden],
#dmPlatformAndroid[hidden],
#dmPlatformDesktop[hidden],
#dmPlatformRow[hidden] {
  display: none !important;
}

/* Android / desktop notice */
.install-gate .tbc-db-notice,
#installGateAndroidNotice,
.install-gate #installGateAndroidNotice {
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start !important;
  background: #111111 !important;
  border: 1px solid #333333 !important;
  border-radius: 0 !important;
  padding: 10px 14px !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #c9c9c9 !important;
  margin: 0 0 16px !important;
  text-align: left !important;
}

.install-gate .tbc-db-notice[hidden],
#installGateAndroidNotice[hidden] {
  display: none !important;
}

.install-gate .tbc-db-notice span,
.install-gate .tbc-db-notice strong,
#installGateAndroidNotice span,
#installGateAndroidNotice strong {
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
  color: #c9c9c9 !important;
  font-size: 12.5px !important;
}

.install-gate .tbc-db-notice strong,
#installGateAndroidNotice strong {
  color: #e8e8e8 !important;
  font-weight: 600 !important;
}

.install-gate .tbc-db-notice svg,
#installGateAndroidNotice svg {
  flex: none !important;
  margin-top: 2px !important;
  color: #ffffff !important;
}

/* Folder tip */
.install-gate-folder-tip,
.install-gate p.install-gate-folder-tip {
  margin: 12px 0 4px !important;
  padding: 10px 12px !important;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: #c9c9c9 !important;
  background: #111111 !important;
  border: 1px solid #333333 !important;
  border-radius: 0 !important;
  text-align: left !important;
}

.install-gate-folder-tip strong,
.install-gate .install-gate-folder-tip strong {
  color: #e8e8e8 !important;
  font-weight: 600 !important;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
}

/* Secondary actions */
.install-gate-skip,
.install-gate-back-btn,
.install-gate button.install-gate-skip,
.install-gate a.install-gate-back-btn {
  display: inline-block !important;
  background: transparent !important;
  border: 1px solid #333333 !important;
  color: #c9c9c9 !important;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  padding: 6px 14px !important;
  margin: 4px 4px 10px !important;
  line-height: 1.3 !important;
}

.install-gate-skip:hover,
.install-gate-back-btn:hover {
  background: #181818 !important;
  color: #e8e8e8 !important;
}

.install-gate-link,
.install-gate a.install-gate-link {
  display: block !important;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #aaaaaa !important;
  text-decoration: underline !important;
  margin-bottom: 12px !important;
}

.install-gate-link:hover {
  color: #ffffff !important;
}

/* Version stamp */
.install-gate-version,
#installGateVersion,
.install-gate #installGateVersion {
  margin-top: 14px !important;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  opacity: 0.55 !important;
  color: #838383 !important;
  line-height: 1.3 !important;
}


/* Keep platform OS logos in full color (Windows blue, etc.) */
.install-gate .dm-platform-item svg,
.install-gate #dmPlatformDesktop svg,
.install-gate #dmPlatformAndroid svg,
.install-gate #dmPlatformIOS svg,
.install-gate .dm-platform-item svg path {
  filter: none !important;
}

@media print {
  .install-gate {
    display: none !important;
  }
}
