/* ColdGuard. No red anywhere: normal = blue, warning = amber, critical = deep orange, off = grey.
   Every state also carries an icon and a word, so nothing depends on colour alone. */
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --bg: #f3f2ee; --bg-glow: rgba(110, 150, 230, .16);
  --surface: #ffffff; --surface-2: #f8f7f4; --surface-3: #efeee9;
  --line: rgba(17, 24, 39, .08); --line-2: rgba(17, 24, 39, .14);
  --ink: #131a2a; --ink-2: #485166; --muted: #7c8496;
  --accent: #2f62d9; --accent-ink: #2453c2; --accent-tint: #e9effc; --accent-soft: rgba(47, 98, 217, .10);
  --ice: #1f86b8; --ice-tint: #e3f2f9;
  --warn: #b26a00; --warn-solid: #f0ae2e; --warn-tint: #fdf2db; --warn-line: rgba(214, 145, 18, .45);
  --crit: #a64a00; --crit-solid: #e8780c; --crit-tint: #fdeadb; --crit-line: rgba(232, 120, 12, .55); --crit-on: #ffffff;
  --off: #6a7385; --off-tint: #eceef2;
  --shadow: 0 1px 1px rgba(16, 24, 40, .04), 0 2px 4px -2px rgba(16, 24, 40, .05), 0 12px 32px -16px rgba(16, 24, 40, .16);
  --shadow-lg: 0 24px 64px -20px rgba(16, 24, 40, .35);
  --radius: 18px; --radius-sm: 12px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b101b; --bg-glow: rgba(70, 110, 220, .18);
  --surface: #121a29; --surface-2: #172031; --surface-3: #1d273a;
  --line: rgba(226, 232, 245, .07); --line-2: rgba(226, 232, 245, .13);
  --ink: #e9edf5; --ink-2: #aab3c5; --muted: #7d879b;
  --accent: #82a7ff; --accent-ink: #a8c1ff; --accent-tint: rgba(130, 167, 255, .13); --accent-soft: rgba(130, 167, 255, .16);
  --ice: #6cc4ea; --ice-tint: rgba(108, 196, 234, .12);
  --warn: #f5c35c; --warn-solid: #f5b83d; --warn-tint: rgba(245, 184, 61, .12); --warn-line: rgba(245, 184, 61, .4);
  --crit: #ffab5c; --crit-solid: #f48c26; --crit-tint: rgba(244, 140, 38, .14); --crit-line: rgba(244, 140, 38, .55); --crit-on: #1a1006;
  --off: #8f98aa; --off-tint: rgba(143, 152, 170, .13);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 16px 40px -20px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 14px/1.5 var(--font); color: var(--ink); background: var(--bg);
  background-image: radial-gradient(1200px 520px at 15% -120px, var(--bg-glow), transparent 70%),
                    radial-gradient(900px 420px at 100% -160px, var(--accent-soft), transparent 70%);
  background-repeat: no-repeat; min-height: 100vh;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.drawer-open { overflow: hidden; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.muted, .sub { color: var(--muted); }
.sub { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.i .fill { fill: currentColor; stroke: none; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.top-inner { max-width: 1440px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff;
  background: linear-gradient(145deg, #4b7cf0, #2349b8); box-shadow: 0 6px 16px -6px rgba(47, 98, 217, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.mark .i { width: 18px; height: 18px; stroke-width: 2; }
.ro-pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 550;
  color: var(--accent-ink); background: var(--accent-tint); border: 1px solid var(--accent-soft); }
.spacer { flex: 1; }
.top-meta { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.who { font-size: 13px; color: var(--ink-2); font-weight: 550; padding-left: 12px; border-left: 1px solid var(--line-2); }
.top form { margin: 0; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border-radius: 10px; padding: 7px 13px; font-size: 13px; font-weight: 560;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); box-shadow: 0 1px 1px rgba(16, 24, 40, .04); transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -8px var(--accent); }
:root[data-theme="dark"] .btn.primary { color: #0b1430; }
.btn.primary:hover { filter: brightness(1.06); color: #fff; }
:root[data-theme="dark"] .btn.primary:hover { color: #0b1430; }
.btn.quiet { background: transparent; box-shadow: none; }
.btn.link { border: 0; background: none; box-shadow: none; padding: 4px 2px 4px 8px; color: var(--accent-ink); }
.btn.link .i { width: 14px; height: 14px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--ink-2); }
.icon-btn:hover { color: var(--accent-ink); border-color: var(--accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

main { max-width: 1440px; margin: 0 auto; padding: 28px 28px 40px; }
.card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { padding: 20px 22px; margin-bottom: 28px; }
.panel h2 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.count { font-size: 12px; font-weight: 650; padding: 1px 9px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Status chips */
.chip { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 9px 5px 7px; border-radius: 999px; border: 1px solid transparent; }
.chip .i { width: 14px; height: 14px; stroke-width: 2; }
.chip.small { font-size: 11.5px; padding: 3px 8px 3px 6px; }
.s-ok { color: var(--accent-ink); background: var(--accent-tint); }
.s-defrost, .s-recovering { color: var(--ice); background: var(--ice-tint); }
.s-off, .s-nodata { color: var(--off); background: var(--off-tint); }
.s-warning { color: var(--warn); background: var(--warn-tint); border-color: var(--warn-line); }
.s-critical { color: var(--crit-on); background: var(--crit-solid); }
.row.s-warning { background: none; border-color: transparent; }

/* Hero */
.hero { margin-bottom: 28px; }
.hero-main { display: flex; align-items: center; gap: 18px; margin: 4px 0 22px; }
.hero-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; flex: none; }
.hero-icon .i { width: 28px; height: 28px; stroke-width: 1.8; }
.hero-main.st-ok .hero-icon { color: var(--accent); background: var(--accent-tint); }
.hero-main.st-warning .hero-icon { color: var(--warn); background: var(--warn-tint); }
.hero-main.st-critical .hero-icon { color: var(--crit-on); background: var(--crit-solid); box-shadow: 0 10px 24px -10px var(--crit-solid); }
.hero h1 { font: 400 40px/1.1 var(--serif); letter-spacing: -.005em; }
.hero-main p { color: var(--ink-2); margin-top: 6px; font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 15px; display: grid; gap: 2px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); opacity: .7; }
.stat.st-warning::before { background: var(--warn-solid); opacity: 1; }
.stat.st-critical::before { background: var(--crit-solid); opacity: 1; }
.stat-label { font-size: 12.5px; color: var(--muted); font-weight: 550; }
.stat b { font-size: 30px; font-weight: 620; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat b small { font-size: 16px; color: var(--muted); font-weight: 500; }
.stat-sub { font-size: 12.5px; color: var(--ink-2); }
.stat.st-warning .stat-sub { color: var(--warn); }
.stat.st-critical .stat-sub { color: var(--crit); font-weight: 560; }
.sys-problem { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--warn-line); background: var(--warn-tint); color: var(--warn); }
.sys-problem p { color: var(--ink-2); font-size: 13px; }

/* Active alerts */
.alert-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alert { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 13px 14px 13px 13px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); position: relative; }
.alert::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; }
.alert.st-critical::before { background: var(--crit-solid); }
.alert.st-warning::before { background: var(--warn-solid); }
.alert-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.alert-icon .i { width: 20px; height: 20px; }
.alert.st-critical .alert-icon { background: var(--crit-tint); color: var(--crit); }
.alert.st-warning .alert-icon { background: var(--warn-tint); color: var(--warn); }
.alert-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.alert-title b { font-weight: 620; font-size: 14px; }
.alert-body p { color: var(--ink-2); font-size: 13.5px; margin: 2px 0 1px; }
.alert.is-acked { opacity: .78; }
.acked { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.all-clear { display: flex; gap: 14px; align-items: center; padding: 6px 2px; color: var(--accent); }
.all-clear .i { width: 30px; height: 30px; }
.all-clear b { color: var(--ink); font-size: 15px; }
.all-clear p { color: var(--ink-2); }

/* Sites */
.site { margin-bottom: 36px; }
.site-head { display: flex; align-items: baseline; gap: 10px; margin: 0 4px 14px; }
.site-head .i { color: var(--accent); align-self: center; }
.site-head h2 { font: 400 28px/1.15 var(--serif); letter-spacing: 0; }
.site-meta { color: var(--muted); font-size: 13px; }
.device { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; margin-bottom: 18px; }
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }

/* Unit card */
.unit { padding: 18px 18px 12px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s; color: var(--accent); }
.unit:hover { transform: translateY(-1px); box-shadow: var(--shadow), 0 18px 40px -24px rgba(16, 24, 40, .35); }
.unit::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: currentColor; opacity: .85; }
.unit.st-ok::after { opacity: .35; }
.unit.st-warning { color: var(--warn-solid); border-color: var(--warn-line); }
.unit.st-critical { color: var(--crit-solid); border-color: var(--crit-line); background: linear-gradient(180deg, var(--crit-tint), var(--surface) 46%); }
.unit.st-off, .unit.st-nodata { color: var(--off); }
.unit.st-defrost, .unit.st-recovering { color: var(--ice); }
.unit.selected { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.unit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; color: var(--ink); }
.unit-head h3 { font-size: 15.5px; }
.unit-temp { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; color: var(--ink); }
.temp { font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1; font-feature-settings: "tnum", "case"; }
.t-int { font-size: 50px; font-weight: 560; }
.t-dec { font-size: 30px; font-weight: 500; color: var(--ink-2); }
.t-unit { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; vertical-align: 24px; }
.t-fault { font-size: 22px; font-weight: 600; color: var(--crit); letter-spacing: -.01em; }
.unit.st-critical .t-int, .unit.st-critical .t-dec { color: var(--crit); }
.unit.st-warning .t-int, .unit.st-warning .t-dec { color: var(--warn); }
.unit.st-off .t-int, .unit.st-off .t-dec { color: var(--off); }
.sp { margin: 0 0 4px; text-align: right; }
.sp dt { font-size: 11.5px; color: var(--muted); font-weight: 550; text-transform: uppercase; letter-spacing: .06em; }
.sp dd { margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.unit-why { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.unit.st-critical .unit-why { color: var(--crit); }
.unit.st-warning .unit-why { color: var(--warn); }
.range { width: 100%; height: 10px; display: block; }
.range-track { fill: var(--surface-3); }
.range-ok { fill: color-mix(in srgb, var(--accent) 35%, transparent); }
.range-mark { fill: var(--ink); }
.range.above .range-mark, .range.below .range-mark { fill: currentColor; }
.spark-wrap { margin: 2px -2px 0; }
.spark { width: 100%; height: 72px; display: block; overflow: visible; }
.spark-band { fill: var(--accent-soft); }
.spark-sp { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; opacity: .7; }
.spark-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark-stop-a { stop-color: currentColor; stop-opacity: .22; }
.spark-stop-b { stop-color: currentColor; stop-opacity: 0; }
.spark-dot { fill: var(--surface); stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 3px; }
.spark-empty { height: 72px; display: grid; place-items: center; color: var(--muted); font-size: 12.5px; border: 1px dashed var(--line-2); border-radius: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: 12.5px; }
.fact { display: inline-flex; align-items: center; gap: 5px; }
.fact .i { width: 14px; height: 14px; color: var(--muted); }
.fact.dim { color: var(--muted); }
.fact.hot-ice, .fact.hot-ice .i { color: var(--ice); font-weight: 560; }
.fact.s-warning { background: none; border: 0; font-weight: 600; }
.fact.s-warning .i { color: var(--warn); }
.flags { display: flex; flex-wrap: wrap; gap: 6px; }
.unit-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dot-sep::before { content: "·"; margin: 0 7px; }
.unit-foot .btn.link { margin-left: auto; }

/* Gateway card */
.gateway { padding: 18px; display: grid; gap: 14px; }
.gateway.st-critical { border-color: var(--crit-line); }
.gw-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gw-title { display: flex; align-items: center; gap: 10px; }
.gw-title > .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--surface-3); color: var(--ink-2); }
.gw-head h3 { font-size: 14.5px; }
.gw-seen { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.ups { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.ups.st-critical { background: var(--crit-tint); border-color: var(--crit-line); }
.ups.st-critical .ups-text b { color: var(--crit); }
.ups.none, .ups.st-warning { color: var(--muted); font-size: 13px; gap: 10px; }
.ups.st-warning { color: var(--warn); }
.ring-box { position: relative; width: 64px; height: 64px; flex: none; }
.ring { width: 64px; height: 64px; display: block; }
.ring-bg { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.ring.st-critical .ring-fg { stroke: var(--crit-solid); }
.ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 650; font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ring-label small { font-size: 10px; font-weight: 600; color: var(--muted); margin-left: 1px; }
.ups-text { display: grid; gap: 1px; }
.ups-text b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 620; }
.ups-text .sub { display: flex; align-items: center; gap: 5px; }
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.row:last-child { border-bottom: 0; }
.row > .i { width: 15px; height: 15px; color: var(--muted); }
.row .k { color: var(--ink-2); }
.row .v { font-weight: 560; font-variant-numeric: tabular-nums; text-align: right; }
.row.s-warning .k, .row.s-warning .v, .row.s-warning > .i { color: var(--warn); font-weight: 600; }
.meter-row { display: block; padding: 0 0 9px; }
.meter { width: 100%; height: 6px; display: block; }
.meter-bg { fill: var(--surface-3); }
.meter-fg { fill: var(--accent); }
.meter.warn .meter-fg { fill: var(--warn-solid); }
.meter-limit { fill: var(--muted); }
.gw-sys summary { cursor: pointer; font-size: 12.5px; color: var(--muted); font-weight: 560; list-style: none; }
.gw-sys summary::before { content: "+ "; }
.gw-sys[open] summary::before { content: "\2212  "; }
.gw-sys dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 0; font-size: 12.5px; }
.gw-sys dt { color: var(--muted); }
.gw-sys dd { margin: 0; overflow-wrap: anywhere; }

/* Tables and folding panels */
.fold > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .2s; }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold[open] > summary { margin-bottom: 12px; }
.fold-hint { font-size: 12.5px; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td, table tr:hover td { background: var(--surface-2); }
.numc { font-variant-numeric: tabular-nums; white-space: nowrap; }
.audit-detail { color: var(--ink-2); }
.kv { display: inline-block; margin: 0 12px 2px 0; }
.kv span { color: var(--muted); }
tr.na td { color: var(--muted); font-style: italic; }
tr.changed-row td { background: var(--crit-tint); }
.status-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.status-cell .btn { white-space: normal; text-align: left; padding: 6px 10px; }
.match { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-ink); font-weight: 560; }

/* Detail drawer */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(8, 12, 22, .38); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: fade .2s ease; }
.drawer { position: fixed; z-index: 31; top: 10px; right: 10px; bottom: 10px; width: min(760px, calc(100vw - 20px)); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); animation: slide .25s cubic-bezier(.2, .8, .2, 1); }
.drawer[hidden], .scrim[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 14px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 400 32px/1.1 var(--serif); }
.eyebrow { font-size: 12px; color: var(--muted); font-weight: 550; margin-bottom: 4px; }
.drawer-body { overflow-y: auto; padding: 8px 24px 28px; }
.drawer-live { display: flex; align-items: center; gap: 20px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.drawer-live .sub { margin-top: 6px; }
.drawer-live.st-critical .t-int, .drawer-live.st-critical .t-dec { color: var(--crit); }
.block { padding: 20px 0 6px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h3 { font-size: 14.5px; margin-bottom: 4px; }
.note { font-size: 12.5px; color: var(--muted); margin: 2px 0 12px; }
.form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 12px 0; }
.form label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 550; }
input { font: inherit; font-size: 13.5px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; min-width: 0; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form input[type="number"] { width: 110px; }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 560; font-size: 13px; box-shadow: var(--shadow-lg); }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 8px 0 0; }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Login */
.login-body { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.login-wrap { width: 100%; display: grid; place-items: center; }
.login-card { width: min(380px, 100%); display: grid; gap: 14px; padding: 32px 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.login-brand { display: grid; justify-items: center; text-align: center; gap: 4px; margin-bottom: 8px; }
.mark-lg { width: 52px; height: 52px; margin-bottom: 8px; filter: drop-shadow(0 10px 18px rgba(47, 98, 217, .35)); }
.mark-bg { fill: #2f62d9; }
.mark-fg { stroke: #fff; }
.login-brand h1 { font: 400 36px/1.1 var(--serif); }
.login-brand p { color: var(--muted); font-size: 13.5px; }
.login-card label { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); font-weight: 560; }
.login-card input { padding: 11px 12px; font-size: 14.5px; }
.login-card .btn.primary { justify-content: center; padding: 11px; font-size: 14.5px; margin-top: 4px; }
.login-error { padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 560; color: var(--warn); background: var(--warn-tint); border: 1px solid var(--warn-line); }
.login-foot { text-align: center; font-size: 12px; color: var(--muted); }
.nav-link { color: var(--ink-2); font-weight: 650; text-decoration: none; }
.label-sheet { background: #e4e4e4; color: #111; }
.label-card { max-width: 420px; margin: 24px auto; padding: 24px; background: #e4e4e4; }
.label-card h1, .label-card p { color: #111; }
.example-mark { font-weight: 800; letter-spacing: .08em; }

/* Narrow screens */
@media (max-width: 1100px) {
  .device { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .top-inner { padding: 10px 14px; gap: 8px; }
  .top .btn.quiet { padding: 6px 9px; font-size: 12.5px; }
  .mark { width: 30px; height: 30px; }
  .top-meta, .who { display: none; }
  .brand > span:last-child { font-size: 16px; }
  .ro-pill { padding: 3px 9px 3px 7px; font-size: 11.5px; }
  main { padding: 18px 14px 32px; }
  .hero-main { gap: 14px; margin-bottom: 18px; align-items: flex-start; }
  .hero-icon { width: 46px; height: 46px; border-radius: 15px; }
  .hero h1 { font-size: 30px; }
  .stats { gap: 10px; }
  .stat { padding: 13px 14px; }
  .stat b { font-size: 25px; }
  .panel { padding: 16px; border-radius: 16px; }
  .alert { grid-template-columns: auto 1fr; padding: 12px; gap: 12px; }
  .alert-act { grid-column: 2; }
  .units { grid-template-columns: 1fr; gap: 14px; }
  .site-head h2 { font-size: 24px; }
  .t-int { font-size: 46px; }
  .drawer { inset: 0; width: 100%; border-radius: 0; border: 0; }
  .drawer-head { padding: 18px 16px 12px; }
  .drawer-head h2 { font-size: 28px; }
  .drawer-body { padding: 4px 16px 24px; }
  .form input, .form input[type="number"] { width: 100%; }
  .form label { flex: 1 1 140px; }
}

/* Approved Snow White wordmark (live since 7 Nov). Margin crop of the approved bitmap; CSS scales it uniformly. */
.mark[hidden] { display: none; }
.top .brand { line-height: 0; }
.top .brand .brand-logo { display: block; width: auto; height: auto; max-width: 360px; max-height: 56px; object-fit: contain; }
.login-brand .brand-logo { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; margin-bottom: 6px; }
@media (max-width: 800px) { .top .brand .brand-logo { max-width: 200px; max-height: 44px; } }

/* Login card matches the logo's own background (#e7e7e7, sampled from the JPG edge pixels) in both themes. */
.login-card { background: #e7e7e7; --ink: #131a2a; --ink-2: #3f4759; --muted: #555d6e; color: var(--ink); }
.login-card input { background: #ffffff; color: #131a2a; }

/* TOTP enrolment QR: white background with the quiet zone inside the SVG, about 220 px on screen. */
.totp-qr-wrap { display: grid; place-items: center; }
.totp-qr { display: block; width: 220px; height: 220px; background: #ffffff; border-radius: 8px; }
.totp-manual summary { cursor: pointer; font-size: 12.5px; color: var(--muted); }
.totp-manual code { word-break: break-all; font-size: 12px; }

/* ---- Snow White dashboard (11 Nov 2026, approved mockup). Light only. ----
   Fridges: green in range, red too warm / too cold (requested by Christo; always with a warning icon and the words),
   amber near limit, ice blue defrost, grey no data. Everything else that is wrong uses amber or orange, never red.
   The Pi bar is blue with white text. Every state carries an icon and a word. */
body.sw {
  --sw-navy: #0b1f45; --sw-navy-2: #16325c; --sw-ink: #132039; --sw-ink-2: #3d475c; --sw-muted: #5c6678;
  --sw-logo-grey: #e7e7e7; --sw-page: #e6eaf1; --sw-line: rgba(11, 31, 69, .10); --sw-line-2: rgba(11, 31, 69, .16);
  --sw-pi: #1a5cd4; --sw-pi-deep: #1347a8; --sw-green: #147a3c; --sw-green-deep: #0e5f2e;
  --sw-red: #c62828; --sw-red-deep: #9b1c1c;
  --sw-orange: #c25a00; --sw-orange-deep: #8f4200; --sw-orange-tint: #fdeadb;
  --sw-ok-ink: #0a5b66; --sw-ok-tint: #e3f3f5; --sw-ok-line: #b5d9de;
  --sw-ice: #1a6f96; --sw-ice-fill: #d4ebf5; --sw-ice-line: #8ebfd4;
  --sw-warn: #8a6200; --sw-warn-solid: #e0a01a; --sw-warn-fill: #f0b429; --sw-warn-tint: #fdf3d6; --sw-warn-line: #c99312;
  --sw-off: #5e6778; --sw-off-fill: #d5d8de; --sw-off-tint: #eceef2; --sw-off-line: #c5cad3;
  background: var(--sw-page); background-image: none; color: var(--sw-ink); font-size: 15px;
}
body.sw .top.sw-top { position: sticky; top: 0; z-index: 20; background: var(--sw-navy); color: #f3f6fb; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.sw .sw-top .top-inner { padding: 8px 28px; }
.sw-logo-card { background: var(--sw-logo-grey); border-radius: 12px; padding: 6px 14px 6px 8px; display: flex; align-items: center; line-height: 0; flex: none; }
.sw-logo-card img { display: block; height: 88px; width: auto; object-fit: contain; }
body.sw .sw-top .top-meta { color: rgba(243, 246, 251, .72); white-space: nowrap; }
body.sw .sw-top .who { color: #f3f6fb; font-weight: 600; font-size: 13.5px; border-left-color: rgba(255, 255, 255, .18); }
body.sw .sw-top .btn, body.sw .sw-top .icon-btn { color: #f3f6fb; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); }
body.sw .sw-top .btn:hover, body.sw .sw-top .icon-btn:hover { border-color: #fff; color: #fff; }
.sw-gear { position: relative; width: 36px; height: 36px; }
.sw-gear .i { width: 18px; height: 18px; }
.sw-gear-dot { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--sw-warn-solid); border: 1.5px solid var(--sw-navy); }
.sw-gear-dot[hidden] { display: none; }

.sw-main { max-width: 1440px; margin: 0 auto; padding: 22px 28px 40px; }
.sw-page-head { margin: 2px 2px 18px; }
.sw-page-head h1 { font: 400 34px/1.15 var(--serif); color: var(--sw-navy); letter-spacing: 0; }
.sw-clients { display: grid; gap: 22px; margin-bottom: 24px; }

.sw-client { background: #fff; border: 1px solid var(--sw-line); border-radius: 16px; box-shadow: 0 1px 1px rgba(11,31,69,.04), 0 8px 24px -12px rgba(11,31,69,.18); overflow: hidden; }
.sw-client-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px 14px; border-bottom: 1px solid var(--sw-line); background: linear-gradient(180deg, #f7f8fb, #fff); }
.sw-client-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--sw-navy); }
.sw-client-counts { color: var(--sw-muted); font-size: 13px; margin-top: 3px; }
.sw-client-body { padding: 16px 18px 20px; display: grid; gap: 28px; }
.sw-pi-block + .sw-pi-block { border-top: 1px dashed var(--sw-line-2); padding-top: 22px; }

.sw-chip { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12.5px; font-weight: 700; line-height: 1; padding: 6px 10px 6px 8px; border-radius: 999px; border: 1px solid transparent; }
.sw-chip .i { width: 14px; height: 14px; stroke-width: 2.1; }
.sw-chip.s-ok { color: var(--sw-ok-ink); background: var(--sw-ok-tint); border-color: var(--sw-ok-line); }
.sw-chip.s-defrost { color: var(--sw-ice); background: #fff; border-color: var(--sw-ice-line); }
.sw-chip.s-warning { color: var(--sw-warn); background: var(--sw-warn-tint); border-color: var(--sw-warn-line); }
.sw-chip.s-crit { color: #fff; background: var(--sw-orange); border-color: var(--sw-orange-deep); }
.sw-chip.s-alarm { color: var(--sw-red-deep); background: #fff; border-color: #fff; }
.sw-chip.s-off { color: var(--sw-off); background: var(--sw-off-tint); border-color: var(--sw-off-line); }

.sw-topology { position: relative; display: grid; gap: 36px; }
.sw-connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.sw-line { fill: none; stroke: var(--sw-navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .4; }
.sw-dot { fill: var(--sw-navy); opacity: .55; }
.sw-pi, .sw-fridge-grid, .sw-no-fridges { position: relative; z-index: 1; }
.sw-fridge-grid { display: grid; grid-template-columns: repeat(auto-fill, 232px); gap: 14px; justify-content: start; }
.sw-no-fridges { display: flex; align-items: center; gap: 8px; color: var(--sw-muted); font-size: 13.5px; padding: 12px 14px; border: 1px dashed var(--sw-line-2); border-radius: 12px; background: #f7f8fb; margin-top: -20px; }

.sw-pi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--sw-pi); border: 1px solid var(--sw-pi-deep); border-radius: 14px; padding: 12px 14px; color: #fff; box-shadow: 0 4px 12px -6px rgba(19, 71, 168, .55); }
.sw-pi-id { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; row-gap: 2px; align-items: center; min-width: min(280px, 100%); }
.sw-pi-icon { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sw-pi-deep); color: #fff; }
.sw-pi-icon .i { width: 20px; height: 20px; }
.sw-pi-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.sw-pi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.sw-pi-seen { font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.sw-pi .sw-chip.s-ok { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.sw-pi .sw-chip.s-off { color: #fff; background: rgba(0, 0, 0, .22); border-color: rgba(255, 255, 255, .22); }

.sw-health, .sw-fridge-health { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sw-health li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: #fff; border: 1px solid transparent; font-size: 13px; font-weight: 600; cursor: help; }
.sw-health .lbl, .sw-fridge-health .lbl { font-weight: 550; }
.sw-health .lbl { color: var(--sw-ink-2); }
.sw-health .lbl::after, .sw-fridge-health .lbl::after { content: ":"; }
.sw-health .val, .sw-fridge-health .val { font-weight: 700; }
.sw-health .i { width: 16px; height: 16px; stroke-width: 2; }
.sw-health .h-ok { color: var(--sw-green-deep); }
.sw-health .h-warn { color: var(--sw-warn); background: var(--sw-warn-tint); border-color: var(--sw-warn-line); }
.sw-health .h-bad { color: #fff; background: var(--sw-orange); border-color: var(--sw-orange-deep); }
.sw-health .h-bad .lbl { color: rgba(255, 255, 255, .92); }
.sw-health .h-off { color: var(--sw-off); background: var(--sw-off-tint); border-color: var(--sw-off-line); }

.sw-fridge { border: 1px solid var(--sw-line); border-radius: 14px; padding: 12px 13px 10px; display: flex; flex-direction: column; gap: 7px; min-height: 232px; position: relative; overflow: hidden; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.sw-fridge:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(11, 31, 69, .45); }
.sw-fridge:focus-visible, .sw-fridge.selected { outline: 3px solid var(--sw-navy); outline-offset: 2px; }
.sw-fridge.is-ok { background: var(--sw-green); border-color: var(--sw-green-deep); color: #fff; }
.sw-fridge.is-alarm { background: var(--sw-red); border-color: var(--sw-red-deep); color: #fff; }
.sw-fridge.is-warning { background: var(--sw-warn-fill); border-color: var(--sw-warn-line); color: #3d2a00; }
.sw-fridge.is-defrost { background: var(--sw-ice-fill); border-color: var(--sw-ice-line); color: var(--sw-ink); }
.sw-fridge.is-off { background: var(--sw-off-fill); border-color: var(--sw-off-line); color: var(--sw-off); }
.sw-fridge-head { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.sw-fridge-head h3 { font-size: 14px; font-weight: 700; line-height: 1.25; color: inherit; letter-spacing: 0; }
.sw-fridge .sw-chip { font-size: 11px; padding: 4px 8px 4px 6px; }
.sw-fridge.is-ok .sw-chip.s-ok { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); }
.sw-fridge.is-warning .sw-chip.s-warning { color: #3d2a00; background: rgba(255, 255, 255, .7); border-color: rgba(61, 42, 0, .2); }
.sw-temps { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 2px; }
.sw-fridge .temp { font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1; color: inherit; }
.sw-fridge .t-int { font-size: 42px; font-weight: 700; color: inherit; }
.sw-fridge .t-dec { font-size: 22px; font-weight: 600; opacity: .88; color: inherit; }
.sw-fridge .t-unit { font-size: 14px; font-weight: 600; opacity: .8; margin-left: 2px; color: inherit; }
.sw-fridge .t-fault { font-size: 20px; font-weight: 700; }
.sw-fridge .setp { text-align: right; margin: 0; }
.sw-fridge .setp dt { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.sw-fridge .setp dd { margin: 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sw-fridge .why { font-size: 12.5px; font-weight: 700; min-height: 1.2em; }
.sw-fridge.is-ok .why { color: rgba(255, 255, 255, .92); font-weight: 650; }
.sw-fridge.is-defrost .why { color: var(--sw-ice); }
.sw-fridge-health { flex-direction: column; gap: 5px; margin-top: 2px; }
.sw-fridge-health li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; width: fit-content; max-width: 100%; cursor: help; }
.sw-fridge-health .i { width: 14px; height: 14px; stroke-width: 2; flex: none; }
.sw-fridge.is-ok .sw-fridge-health li, .sw-fridge.is-alarm .sw-fridge-health li { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.sw-fridge.is-warning .sw-fridge-health li, .sw-fridge.is-defrost .sw-fridge-health li, .sw-fridge.is-off .sw-fridge-health li { background: rgba(255, 255, 255, .7); border: 1px solid rgba(19, 32, 57, .12); color: var(--sw-ink); }
.sw-fridge.is-off .sw-fridge-health li { color: var(--sw-off); }
.sw-fridge .sw-fridge-health li.h-bad { background: #fff; border: 1px solid var(--sw-orange); color: var(--sw-orange-deep); }
.sw-fridge .sw-fridge-health li.h-warn { background: var(--sw-warn-tint); border: 1px solid var(--sw-warn-line); color: var(--sw-warn); }
.sw-spark { width: 100%; height: 32px; display: block; margin-top: auto; }
.sw-spark .spark-band { fill: rgba(255, 255, 255, .18); }
.sw-spark .spark-line { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sw-spark .spark-sp { stroke: rgba(255, 255, 255, .45); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.sw-fridge.is-warning .sw-spark .spark-band { fill: rgba(61, 42, 0, .12); }
.sw-fridge.is-warning .sw-spark .spark-line { stroke: #3d2a00; }
.sw-fridge.is-warning .sw-spark .spark-sp { stroke: rgba(61, 42, 0, .35); }
.sw-fridge.is-defrost .sw-spark .spark-band { fill: rgba(26, 111, 150, .16); }
.sw-fridge.is-defrost .sw-spark .spark-line { stroke: var(--sw-ice); }
.sw-fridge.is-off .sw-spark .spark-band { fill: rgba(94, 103, 120, .14); }
.sw-fridge.is-off .sw-spark .spark-line { stroke: var(--sw-off); stroke-dasharray: 3 3; }
.sw-spark-empty { margin-top: auto; font-size: 11.5px; opacity: .75; }

.sw-cust-alerts { background: #fff; }
.sw-sub-h { font-size: 14px; margin: 16px 0 8px; }
.sw-system .block h3 { display: flex; align-items: center; gap: 8px; }
.sw-system .count { font-size: 12px; color: var(--muted); font-weight: 600; }
.sw-sys-gws { display: grid; gap: 14px; }

@media (max-width: 1100px) {
  body.sw .sw-top .top-inner, .sw-main { padding-left: 18px; padding-right: 18px; }
  .sw-page-head h1 { font-size: 30px; }
  .sw-fridge-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 980px) { body.sw .sw-top .top-meta { display: none; } }
@media (max-width: 720px) {
  .sw-logo-card img { height: 64px; }
  body.sw .sw-top .who { display: none; }
  .sw-client-head { flex-direction: column; }
  .sw-fridge-grid { grid-template-columns: 1fr; }
}
.sw-system .nav-link { color: var(--accent-ink); font-weight: 600; }
.sw-fridge .t-unit { vertical-align: baseline; letter-spacing: 0; }

/* Admin-only status picture. Badges sit at percentage positions so they scale with the image. */
.sw-pic { margin: 18px 0 0; padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sw-pic-cap { font-size: 13px; color: var(--sw-muted); margin: 0 0 8px; }
.sw-pic-stage { position: relative; container-type: inline-size; border-radius: 14px; overflow: hidden; border: 1px solid var(--sw-line-2); max-width: 1280px; min-width: 760px; }
.sw-pic-stage img { display: block; width: 100%; height: auto; }
.sw-pb, .sw-pic-dev, .sw-pic-lcd { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; }
.sw-pb { font-weight: 600; font-size: max(10px, 1.12cqw); line-height: 1.15; padding: .35em .7em; border-radius: .45em; border: 1.5px solid; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.sw-pb.lv-good { background: #1e7e34; border-color: #145523; color: #fff; }
.sw-pb.lv-warn { background: #f08c00; border-color: #b86b00; color: #1b1b1b; }
.sw-pb.lv-bad { background: #c62828; border-color: #8e1b1b; color: #fff; }
.sw-pb.lv-nodata { background: #eceef2; border-color: #9aa1ab; color: #3d434c; }
.sw-pic-dev { font: 600 max(8px, 1.05cqw)/1 ui-monospace, Menlo, Consolas, monospace; color: #1b1b1b; }
.sw-pic-lcd { font: 600 max(8px, 1.15cqw)/1 ui-monospace, Menlo, Consolas, monospace; color: #6dff7a; text-shadow: 0 0 4px rgba(80,255,110,.8); transform: translate(-58%, -50%); }
.sw-neon-row { position: absolute; left: 59.2%; width: 24.6%; transform: translateY(-50%); display: flex; justify-content: space-between; gap: .4em; font-weight: 700; font-size: max(8px, .86cqw); line-height: 1; }
.sw-neon { white-space: nowrap; letter-spacing: .02em; }
.sw-neon.lv-good { color: #b9ffc4; text-shadow: 0 0 2px #fff, 0 0 5px #39ff5a, 0 0 10px #18d63c, 0 0 18px #0fa82c; }
.sw-neon.lv-warn { color: #ffe0b0; text-shadow: 0 0 2px #fff, 0 0 5px #ffa531, 0 0 10px #ff8c00, 0 0 18px #d06a00; }
.sw-neon.lv-bad { color: #ffd0d0; text-shadow: 0 0 2px #fff, 0 0 5px #ff4d4d, 0 0 10px #ff1f1f, 0 0 18px #c40000; }
.sw-neon.lv-nodata { color: #aeb6c4; text-shadow: none; }

/* Status picture positions, generated from admin_assets/status-picture.json. Kept in the stylesheet because the
   portal CSP (default-src 'self') blocks inline style attributes. */
.sw-pb.b-pi { left: 33.555%; top: 10.764%; }
.sw-pb.b-ssd { left: 11.68%; top: 37.708%; }
.sw-pb.b-tpm { left: 11.68%; top: 47.569%; }
.sw-pb.b-sdcard { left: 49.766%; top: 37.708%; }
.sw-pb.b-pico { left: 49.297%; top: 47.5%; }
.sw-pb.b-lan { left: 16.562%; top: 75.0%; }
.sw-pb.b-power { left: 27.656%; top: 78.611%; }
.sw-pb.b-rs485 { left: 46.445%; top: 70.278%; }
.sw-pb.b-fridge_power_cable { left: 92.07%; top: 93.542%; }
.sw-pic-dev { left: 33.906%; top: 53.472%; }
.sw-pic-lcd { left: 78.984%; top: 19.653%; }
.sw-neon-row { top: 11.875%; }
