/* The stacked site thumbnail (site_thumb.js). Uses the app's level colours (--l0 .. --l4, --l35) and --surface.
   Light theme: the plates carry 21% of their level's colour (it was 13%; Jon, 2026-11-23, on the Sites widget full screen:
   "very white and not a finished page"); the dark theme is as it was. */
.st-host { height: auto !important; min-height: 0 !important; background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; overflow: visible !important; }
.st { display: block; overflow: visible; --t: 1; --st-tint: 21%; --st-edge: 42%; --st-rim: 55%; --st-wire: #7D8BA3; --st-muted: var(--muted, #5B6880); --st-line: color-mix(in srgb, var(--title, #1f2a37) 14%, transparent);   /* the bar track: a token, not a fixed light grey (dark mode drew a white line) */
  --st-good: #1E7F4E; --st-fair: #B7791F; --st-poor: #D94B4B; }
:root[data-theme="dark"] .st { --st-tint: 20%; --st-edge: 42%; --st-rim: 38%; --st-wire: #6F7F9C; --st-good: #4FD18B; --st-fair: #F2B84B; --st-poor: #FF7A7A; }
.st .lv4 { --lv: var(--l4); } .st .lv35 { --lv: var(--l35); } .st .lv3 { --lv: var(--l3); } .st .lv2 { --lv: var(--l2); } .st .lv1 { --lv: var(--l1); } .st .lv0 { --lv: var(--l0); } .st .lv5 { --lv: var(--l5); }
.st .pl-face { fill: color-mix(in srgb, var(--lv) var(--st-tint), var(--surface)); }
.st .pl-rim { fill: none; stroke: color-mix(in srgb, var(--lv) var(--st-rim), transparent); stroke-width: 1; }
.st .pl-edge { fill: color-mix(in srgb, var(--lv) var(--st-edge), var(--surface)); }
.st .rail { font: 600 8px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .06em; fill: var(--lv); }
.st .rail .n { fill: var(--st-muted); font-weight: 500; }
.st .rail.more { fill: var(--st-muted); font-weight: 500; }      /* "+N": a level's devices past what its band can draw */
.st .dot { fill: var(--lv); }
.st .lk { fill: none; stroke: var(--st-wire); stroke-width: .8; stroke-opacity: .42; stroke-linecap: round; }
.st .flag { fill: none; stroke: var(--st-poor); stroke-width: 1.4; stroke-linecap: round; }
.st .flag-glow { fill: none; stroke: var(--st-poor); stroke-width: 4; stroke-linecap: round; opacity: 0; }
.st .flag-end { fill: var(--surface); stroke: var(--st-poor); stroke-width: 1.2; }
.st .sc-track { fill: var(--st-line); }
.st .sc-fill.good { fill: var(--st-good); } .st .sc-fill.fair { fill: var(--st-fair); } .st .sc-fill.poor { fill: var(--st-poor); }
.st .sc-n { font: 600 8px "IBM Plex Mono", ui-monospace, monospace; }
.st .sc-n.good { fill: var(--st-good); } .st .sc-n.fair { fill: var(--st-fair); } .st .sc-n.poor { fill: var(--st-poor); }
/* motion: resting styles are the final state; the animations fill backwards, so reduced motion just drops them */
.st .pl { animation: st-land calc(440ms * var(--t)) ease-in-out calc(var(--d) * var(--t)) both; }
.st .nd { animation: st-fade calc(360ms * var(--t)) ease-in-out calc(var(--d) * var(--t)) both; }
.st .lk, .st .flag { stroke-dasharray: 1; animation: st-draw calc(420ms * var(--t)) ease-in-out calc(var(--d) * var(--t)) both; }
.st .flag-glow { animation: st-pulse calc(1000ms * var(--t)) ease-in-out calc(1500ms * var(--t)) 2; }
.st .flag-end { transform-box: fill-box; transform-origin: center; animation: st-pop calc(300ms * var(--t)) ease-in-out calc(1500ms * var(--t)) both; }
.st .sc-track { animation: st-fade calc(300ms * var(--t)) ease-in-out calc(1100ms * var(--t)) both; }
.st .sc-fill { transform-box: fill-box; transform-origin: left center; animation: st-fill calc(420ms * var(--t)) ease-in-out calc(1200ms * var(--t)) both; }
.st .sc-n { animation: st-fade calc(300ms * var(--t)) ease-in-out calc(1350ms * var(--t)) both; }
@keyframes st-land { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: none; } }
@keyframes st-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes st-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes st-pulse { 0%, 100% { opacity: 0; } 45% { opacity: .28; } }
@keyframes st-fill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes st-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .st, .st * { animation: none !important; } }
/* a redraw after a resize: no replay */
.st.still, .st.still * { animation: none !important; }
/* Physical and Virtual: neutral slabs, enclosure blocks, host units, VM dots */
.st .lvn { --lv: #64748B; }
:root[data-theme="dark"] .st .lvn { --lv: #94A3B8; }
.st { --st-accent: #2669C7; }
:root[data-theme="dark"] .st { --st-accent: #5EA8FF; }
.st .enc { fill: var(--surface); stroke: color-mix(in srgb, var(--st-accent) 70%, transparent); stroke-width: .8; }
.st .enc-fill { fill: color-mix(in srgb, var(--st-accent) 70%, var(--surface)); }
.st .more { font: 600 7px "IBM Plex Mono", ui-monospace, monospace; fill: var(--st-muted); }
.st .hostu { fill: color-mix(in srgb, #64748B 55%, var(--surface)); stroke: #64748B; stroke-width: .6; }
:root[data-theme="dark"] .st .hostu { fill: color-mix(in srgb, #94A3B8 45%, var(--surface)); stroke: #94A3B8; }
.st .hostu.maint { stroke-dasharray: 1.5 1; }
.st .vm { fill: var(--lv); } .st .vm.off { fill: none; stroke: var(--lv); stroke-width: .7; }
/* the old .sig rules set crispEdges and width 100%: the stacked thumbnail draws at its host width, smooth */
.st-host svg.st, svg.st { shape-rendering: geometricPrecision; width: 100%; max-width: 100%; height: auto; }
