/* Server page (Virtual machines tab first) and the side menu, P008. Sources: Fable's design and two visual verdicts
   (docs/ai/evidence/P008/), the Gemini critique and the owner's comments of 2026-11-30. Loaded after site.css and
   p008.css and overrides them. Sizes are in rem on a root that grows with the screen (14 px below 1800 px wide, 15 px
   at 1800+, 16 px at 2400+), so the page is the same composition on a laptop and a 32" monitor. Tokens only.
   Alignment rule: every row of small things (label, dot, text, icon) is a flex row with align-items: center and one
   line-height, so their centres coincide; nothing is positioned with ::before tricks.
   Whole pixels: every rem size is written round(Xrem, 1px), so rows, lines and edges never land between pixels at
   any root size (review r1: rows of 72.52 px drew dividers 72/73 px apart). Keep that form for new sizes; the lab
   layout checker reports fractional rows. */
html { font-size: 14px; }   /* P009: Fluent's standard sizes, like the local app; Windows scaling and browser zoom handle big monitors */
:root { --radius-ctl: 8px; --radius-lg: 12px; --rowline: var(--line); --row-hover: color-mix(in srgb, var(--accent) 4%, var(--surface)); --sel-tint: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rowline: color-mix(in srgb, var(--line-strong) 60%, transparent); --row-hover: color-mix(in srgb, var(--accent) 8%, var(--surface)); --sel-tint: color-mix(in srgb, var(--accent) 12%, var(--surface)); } }
:root[data-theme="dark"] { --rowline: color-mix(in srgb, var(--line-strong) 60%, transparent); --row-hover: color-mix(in srgb, var(--accent) 8%, var(--surface)); --sel-tint: color-mix(in srgb, var(--accent) 12%, var(--surface)); }

/* ---------- Side menu (every page) ---------- */
.side { width: round(17rem, 1px); padding: 0 round(0.8rem, 1px) round(0.8rem, 1px); gap: 0; }
.side .brand { height: round(4.267rem, 1px); padding: 0 round(0.8rem, 1px); font-size: round(1.133rem, 1px); gap: round(0.667rem, 1px); }
.side .brand svg { width: round(1.6rem, 2px); height: round(1.6rem, 2px); }
.side .group { font-size: round(0.8rem, 1px); line-height: round(1rem, 1px); letter-spacing: .6px; padding: round(1.6rem, 1px) round(0.8rem, 1px) round(0.533rem, 1px); }
.side nav { gap: round(0.133rem, 1px); }
.side nav a, .side > a:not(.brand) { height: round(2.667rem, 1px); padding: 0 round(0.8rem, 1px); gap: round(0.8rem, 1px); border-radius: var(--radius-ctl); font-size: round(1rem, 1px); line-height: round(1.467rem, 1px); font-weight: 500; }
.side nav a .ico, .side nav a > svg { width: round(1.333rem, 2px); height: round(1.333rem, 2px); }
.side nav a .count { font-size: round(0.733rem, 1px); min-width: round(1.333rem, 2px); height: round(1.333rem, 2px); line-height: round(1.333rem, 1px); }
.side .foot { border-top: 1px solid var(--line); padding-top: round(0.8rem, 1px); margin-top: auto; }
.side .user { display: flex; align-items: center; height: round(3.467rem, 1px); padding: 0 round(0.267rem, 1px) 0 round(0.8rem, 1px); gap: round(0.667rem, 1px); margin-top: round(0.267rem, 1px); }
.side .user .avatar { width: round(2.133rem, 2px); height: round(2.133rem, 2px); font-size: round(0.933rem, 1px); line-height: 1; }
.side .user .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: round(0.067rem, 1px); }
.side .user .n1 { font-size: round(0.933rem, 1px); line-height: round(1.2rem, 1px); font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .user .n2 { font-size: round(0.8rem, 1px); line-height: round(1.067rem, 1px); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .iconbtn { width: round(2.4rem, 2px); height: round(2.4rem, 2px); flex: none; }
.side .iconbtn svg { width: round(1.333rem, 2px); height: round(1.333rem, 2px); }
@media (max-width: 1279px) { .side { width: 200px; } }

/* ---------- Page frame ---------- */
main.hp { max-width: round(100rem, 1px); padding: round(2.667rem, 1px) round(3.2rem, 1px) round(3.2rem, 1px); font-size: round(1rem, 1px); line-height: round(1.467rem, 1px); }
@media (max-width: 1799px) { main.hp { padding: round(2.286rem, 1px) round(2.286rem, 1px) round(2.857rem, 1px); } }
@media (max-width: 1279px) { main.hp { padding: round(1.714rem, 1px) round(1.429rem, 1px) round(2.286rem, 1px); } }

/* Breadcrumb: Customers › Secure Micro › OVH-HV02 */
.hp .crumbs { display: flex; align-items: center; gap: round(0.4rem, 1px); font-size: round(0.867rem, 1px); line-height: round(1.2rem, 1px); margin: 0 0 round(0.667rem, 1px); color: var(--ink-3); }
.hp .crumbs a { color: var(--ink-3); }
.hp .crumbs a:hover { color: var(--accent); text-decoration: none; }
.hp .crumbs .sep { margin: 0; color: var(--ink-3); }
.hp .crumbs .here { color: var(--ink-2); font-weight: 500; }

/* Header: title + state, primary action, facts with hairline dividers. */
.hp .pagehead { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title btn" "facts facts"; align-items: center; column-gap: round(1.6rem, 1px); row-gap: round(0.667rem, 1px); margin: 0 0 round(1.6rem, 1px); }
.hp .titlerow { grid-area: title; display: flex; align-items: center; gap: round(0.8rem, 1px); min-width: 0; }
.hp .titlerow h1 { margin: 0; font-size: round(2.133rem, 1px); line-height: round(2.667rem, 1px); font-weight: 700; letter-spacing: -0.5px; display: block; }
.hp .pill { display: inline-flex; align-items: center; height: round(1.733rem, 1px); padding: 0 round(0.733rem, 1px) 0 round(0.6rem, 1px); gap: round(0.4rem, 1px); font-size: round(0.867rem, 1px); line-height: round(1.733rem, 1px); }
.hp .pill::before { width: 6px; height: 6px; }
.hp .hbtnform, .hp .pagehead > a.hbtn { grid-area: btn; margin: 0; }
.hp .hbtn { height: round(2.667rem, 1px); padding: 0 round(1.2rem, 1px); border-radius: var(--radius-ctl); font-size: round(1rem, 1px); line-height: round(1.467rem, 1px); font-weight: 600; gap: round(0.533rem, 1px); }
.hp .hbtn .ico { width: round(1.067rem, 2px); height: round(1.067rem, 2px); }
.hp .hbtn.sec, .hp .hbtn.sec:hover { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
/* Dividers sit on each pair's left edge; the list is shifted left by one divider and clipped, so the first pair on
   every line (also after wrapping) shows no divider and its text lines up with the breadcrumb. */
.hp dl.facts { grid-area: facts; display: flex; flex-wrap: wrap; align-items: center; row-gap: round(0.4rem, 1px); margin: 0 0 0 round(-1.067rem, 1px); overflow: hidden; font-size: round(1rem, 1px); line-height: round(1.467rem, 1px); }
.hp dl.facts > div { display: flex; align-items: center; gap: round(0.4rem, 1px); height: round(1.467rem, 1px); padding: 0 round(1.067rem, 1px); margin-left: -1px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.hp dl.facts dt { color: var(--ink-3); font-weight: 400; }
.hp dl.facts dd { margin: 0; display: inline-flex; align-items: center; gap: round(0.4rem, 1px); color: var(--ink); font-weight: 500; }
.hp dl.facts dd a { color: var(--ink); display: inline-flex; align-items: center; gap: round(0.333rem, 1px); }
.hp dl.facts dd a:hover { color: var(--accent); text-decoration: none; }
.hp dl.facts dd .arr { color: var(--accent); font-weight: 500; }
.hp dl.facts dd .unit { color: var(--ink-3); font-weight: 400; }
.hp dl.facts dd.late { color: var(--warn-ink); }
.hp .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--off); flex: none; }
.hp .kv dd > .dot { margin-right: 8px; vertical-align: middle; }   /* P030: a status dot before text in a details list */
.hp .dot.warn { background: var(--warn); } .hp .dot.bad { background: var(--bad); } .hp .dot.good { background: var(--good); } .hp .dot.run { background: var(--run); }

/* Tabs, grounded on a full-width hairline. */
.hp .tabs { display: flex; gap: round(1.867rem, 1px); margin: 0 0 round(1.6rem, 1px); border-bottom: 1px solid var(--line); }
.hp .tabs a { height: round(3.2rem, 1px); display: inline-flex; flex-direction: column; justify-content: center; padding: 0; font-size: round(1rem, 1px); line-height: round(1.467rem, 1px); margin-bottom: -1px; border-bottom: 2px solid transparent; }
.hp .tabs a.on { border-bottom-color: var(--accent); }
.hp .tabs a .lab { display: inline-flex; align-items: center; gap: round(0.4rem, 1px); }
.hp .tabs a .n { display: inline-grid; place-items: center; height: round(1.333rem, 1px); min-width: round(1.333rem, 1px); padding: 0 round(0.4rem, 1px); border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--ink-2); font-size: round(0.8rem, 1px); line-height: 1; font-weight: 600; }
.hp .tabs a.on .n { background: var(--accent-tint); color: var(--accent); }

/* ---------- Toolbar ---------- */
.hp .vmbar { display: flex; align-items: center; height: round(2.933rem, 1px); margin-bottom: round(0.8rem, 1px); gap: round(0.8rem, 1px); }
.hp .seg { display: inline-flex; align-items: center; height: round(2.4rem, 1px); padding: 2px; gap: 2px; border-radius: var(--radius-ctl); background: var(--surface-sunken); flex: none; }
.hp .seg .chip { height: 100%; border: none; background: none; border-radius: 6px; padding: 0 round(0.8rem, 1px); color: var(--ink-2); font: 500 round(0.933rem, 1px)/round(1.333rem, 1px) var(--font-sans); display: inline-flex; align-items: center; gap: round(0.4rem, 1px); white-space: nowrap; }
.hp .seg .chip .cnt { color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.hp .seg .chip .cnt.zero { color: var(--off); }
.hp .seg .chip .adot { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); flex: none; }
.hp .seg .chip:hover { color: var(--ink); background: none; }
.hp .seg .chip.on, .hp .seg .chip.on:hover { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-card); }
.hp .vmbar .btn { height: round(2.4rem, 1px); padding: 0 round(0.933rem, 1px); border-radius: var(--radius-ctl); font-size: round(0.933rem, 1px); line-height: round(1.333rem, 1px); gap: round(0.4rem, 1px); flex: none; }
.hp .vmbar .btn .ico { width: round(1.067rem, 2px); height: round(1.067rem, 2px); }
.hp .vmbar .age { margin-left: auto; display: inline-flex; align-items: center; gap: round(0.4rem, 1px); font-size: round(0.867rem, 1px); line-height: round(1.2rem, 1px); color: var(--ink-3); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hp .vmbar .age .ico { width: round(1rem, 2px); height: round(1rem, 2px); flex: none; }
.hp .vmbar .age.good { color: var(--good-ink); } .hp .vmbar .age.warn { color: var(--warn-ink); } .hp .vmbar .age.bad { color: var(--bad-ink); }
/* Edit mode: the bar sits on the card as one unit, in the toolbar's place, so the card does not move (review r1). */
/* Its contents sit on the table's text edges (review r2). The tab's blocks don't share margins with the tabs above
   (flow-root), so the bar's top margin is the toolbar's gap and the card stays put. */
#vmtab, #notices { display: flow-root; }
.hp .editbar { padding: 0 round(1.6rem, 1px); margin: calc(round(0.8rem, 1px) - 1px) 0 0; }   /* one less: the bar is one hairline taller than the toolbar */
.hp .editbar { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: none; }
.hp .editbar:not([hidden]) + .vmcard { border-top-left-radius: 0; border-top-right-radius: 0; }
.hp .editbar .offl { display: none; } html.hv-offline .hp .editbar .offl { display: inline; }
.hp .editbar .sep { color: var(--ink-3); }
.hp .editbar .msg { display: inline-flex; align-items: center; font-size: round(0.933rem, 1px); line-height: round(1.333rem, 1px); gap: round(0.533rem, 1px); min-width: 0; }
.hp .editbar .msg .ico { width: round(1.067rem, 2px); height: round(1.067rem, 2px); color: var(--accent); flex: none; }
.hp .editbar.warn .msg .ico { color: var(--warn-ink); } .hp .editbar.bad .msg .ico { color: var(--bad-ink); }
.hp .editbar .right { margin-left: auto; display: flex; gap: round(0.533rem, 1px); }

/* ---------- Notices: the card's width, so their edges line up with it (review r1) ---------- */
@keyframes hvin { from { opacity: 0; transform: translateY(-4px); } }
.hp .notice { display: flex; align-items: center; width: auto; max-width: none; animation: hvin .2s ease-out; min-height: round(2.933rem, 1px); padding: round(0.6rem, 1px) round(1.067rem, 1px); border-radius: var(--radius-ctl); font-size: round(0.933rem, 1px); line-height: round(1.333rem, 1px); gap: round(0.667rem, 1px); margin-bottom: round(0.8rem, 1px); }
.hp .notice .ico { width: round(1.067rem, 2px); height: round(1.067rem, 2px); flex: none; }
.hp .notice .btn { height: round(2.133rem, 1px); font-size: round(0.867rem, 1px); border-radius: var(--radius-ctl); margin-left: round(0.533rem, 1px); }

/* ---------- The table card ---------- */
.hp .vmcard { border-radius: var(--radius-lg); overflow: hidden; }
.hp .vmcard .tscroll { overflow-x: auto; }
.hp table.vms { width: 100%; table-layout: fixed; border: none; box-shadow: none; border-radius: 0; min-width: 0; }
/* Wide screens: every column sized to its content and the slack left at the far right, after App verification's
   short text, so no column opens a gap in the middle of a row (review r2: 570 px void in Last backup at 2560). */
.hp table.vms col.c1 { width: round(20rem, 1px); } .hp table.vms col.c2 { width: round(14rem, 1px); } .hp table.vms col.c3 { width: round(24rem, 1px); }
.hp table.vms col.c4 { width: round(9rem, 1px); } .hp table.vms col.c5 { width: round(9rem, 1px); } .hp table.vms col.c6 { width: auto; }
.hp table.vms th { height: round(2.933rem, 1px); padding: 0 round(1.333rem, 1px); vertical-align: middle; background: var(--surface-sunken); color: var(--ink-3); font-size: round(0.867rem, 1px); line-height: round(1.2rem, 1px); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp table.vms thead tr:hover th { background: var(--surface-sunken); }
.hp table.vms th .hd { cursor: help; text-decoration: underline dotted transparent; text-underline-offset: 3px; }
.hp table.vms th .hd:hover, .hp table.vms th .hd:focus-visible { text-decoration-color: var(--ink-3); outline: none; }
.hp table.vms tr td { box-shadow: none; }
.hp table.vms td { height: round(4.533rem, 1px); padding: round(0.533rem, 1px) round(1.333rem, 1px); vertical-align: middle; border-bottom: 1px solid var(--rowline); background: var(--surface); }
.hp table.vms th:first-child, .hp table.vms td:first-child { padding-left: round(1.6rem, 1px); }
.hp table.vms th:last-child, .hp table.vms td:last-child { padding-right: round(1.6rem, 1px); }
.hp table.vms th.num, .hp table.vms td.num { text-align: right; padding-right: round(3.2rem, 1px); }
.hp table.vms tbody tr:last-child td { border-bottom: none; }

/* Two-line cells: each line is a flex row, centred, one line-height; an empty second line takes no space. */
.hp table.vms .l1 { display: flex; align-items: center; min-width: 0; height: auto; min-height: round(1.467rem, 1px); font-size: round(1rem, 1px); line-height: round(1.467rem, 1px); gap: round(0.4rem, 1px); white-space: nowrap; }
.hp table.vms .l2 { display: flex; align-items: center; min-width: 0; height: auto; min-height: round(1.333rem, 1px); margin-top: round(0.133rem, 1px); font-size: round(0.867rem, 1px); line-height: round(1.333rem, 1px); gap: round(0.4rem, 1px); color: var(--ink-3); white-space: nowrap; }
.hp table.vms .l2:not(:has(> :not([hidden]))) { display: none; }
.hp table.vms td.num .l1 { justify-content: flex-end; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hp table.vms td.num .l2 { justify-content: flex-end; font-variant-numeric: tabular-nums; }   /* P013: the size the last backup processed */
.hp table.vms .cut { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hp table.vms .off { color: var(--ink-3); }

/* VM column. */
.hp table.vms .vmcell { gap: round(0.667rem, 1px); }
.hp table.vms .vmico { display: inline-flex; color: var(--ink-3); flex: none; }
.hp table.vms .vmico .ico20 { width: round(1.333rem, 2px); height: round(1.333rem, 2px); display: block; }
.hp table.vms .vmico.dim { color: var(--off); }
.hp table.vms a.vmname { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hp table.vms a.vmname:hover { text-decoration: none; }
.hp table.vms .chev { display: inline-flex; color: var(--accent); opacity: 0; flex: none; transition: opacity .12s; }
.hp table.vms .chev .ico { width: round(1rem, 2px); height: round(1rem, 2px); display: block; }
.hp table.vms td:first-child .l2.power { padding-left: round(2rem, 1px); }
.hp table.vms tr.rowoff a.vmname { color: var(--ink-2); font-weight: 500; }
.hp table.vms tr.rowoff .vmico { color: var(--off); }

/* Row hover: the whole row, the icon turns accent, a chevron shows where the name leads. */
.hp table.vms tbody tr[data-vm]:hover td { background: var(--row-hover); }
.hp table.vms tbody tr[data-vm]:hover .vmico { color: var(--accent); opacity: 1; }
.hp table.vms tbody tr[data-vm]:hover .chev { opacity: 1; }
.hp .vmcard.editing table.vms tbody tr[data-vm]:hover .chev { opacity: 0; }

/* Left bars: problem rows (also in Edit mode), an edited row (accent wins), the row whose guest editor is open and the
   editor itself (one accent bar). A bar runs over the row's bottom hairline only when the next row's bar has the same
   colour, so same-colour bars join (review r1) and different colours keep the hairline between them (review r2). */
.hp table.vms td:first-child { position: relative; }
.hp table.vms tr.sev-warn { --bar: var(--warn); } .hp table.vms tr.sev-bad { --bar: var(--bad); }
.hp .vmcard.editing table.vms tr.changed { --bar: var(--accent); }   /* an open guest editor keeps its row's own bar colour (r4) */
.hp table.vms tr.sev-warn > td:first-child::before, .hp table.vms tr.sev-bad > td:first-child::before, .hp table.vms tr.opened > td:first-child::before,
.hp table.vms tr.editor > td:first-child::before, .hp .vmcard.editing table.vms tr.changed > td:first-child::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bar); pointer-events: none; }
.hp table.vms tr.sev-warn:not(.opened):has(+ tr.sev-warn:not(.opened)) > td:first-child::before, .hp table.vms tr.sev-bad:not(.opened):has(+ tr.sev-bad:not(.opened)) > td:first-child::before,
.hp table.vms tr.opened:has(+ tr.editor) > td:first-child::before { bottom: -1px; }
.hp .vmcard.editing table.vms tr.changed:has(+ tr.changed) > td:first-child::before { bottom: -1px; }

/* State column. */
.hp table.vms .plain { color: var(--ink-3); }
.hp table.vms .statecell .ed { gap: round(0.533rem, 1px); }
.hp table.vms .mini { width: round(5.333rem, 1px); height: 4px; }

/* Last backup: the date, then how it was captured and what went wrong. The duration after the date shows only where
   the Took column folds away. Tags align their box to the column edge, like the State pills (review r2: one rule). */
.hp table.vms .lastb .sep { color: var(--ink-3); }
.hp table.vms .lastb time { color: var(--ink); }
.hp table.vms .lastb .tk { display: none; } .hp table.vms .lastb span.tk:not(.sep) { color: var(--ink-2); }
.hp table.vms .capw { color: var(--ink-2); }
.hp table.vms .tag { display: inline-flex; align-items: center; height: round(1.333rem, 1px); padding: 0 round(0.4rem, 1px); border-radius: 4px; font-size: round(0.8rem, 1px); line-height: round(1.333rem, 1px); font-weight: 600; white-space: nowrap; }
.hp table.vms .tag.warn { background: var(--warn-tint); color: var(--warn-ink); }
.hp table.vms .tag.bad { background: var(--bad-tint); color: var(--bad-ink); }

/* Copies: the same two line pitches as every other column (so "Offsite" sits on the second line's centre) and the
   same small text as the guest line beside it (review r1). */
.hp table.vms .l1.copy { font-size: round(0.867rem, 1px); line-height: round(1.467rem, 1px); min-height: round(1.467rem, 1px); color: var(--ink-2); gap: round(0.4rem, 1px); }
.hp table.vms .l2.copy { font-size: round(0.867rem, 1px); line-height: round(1.333rem, 1px); min-height: round(1.333rem, 1px); color: var(--ink-2); gap: round(0.4rem, 1px); }
.hp table.vms .copy .ck { width: round(1.067rem, 2px); height: round(1.067rem, 2px); color: var(--good); display: block; flex: none; }
.hp table.vms .copy.no, .hp table.vms .copy.no .ck { color: var(--bad-ink); }
.hp table.vms .copy .nodash { width: round(1.067rem, 1px); text-align: center; }

/* App verification. */
.hp table.vms .vercell .ed { gap: round(0.533rem, 1px); }
.hp table.vms .guestline { gap: round(0.4rem, 1px); }
.hp table.vms .gs, .hp table.vms .gn { display: inline-flex; align-items: center; gap: round(0.4rem, 1px); font-size: round(0.867rem, 1px); line-height: round(1.333rem, 1px); }
.hp table.vms .gs { color: var(--ink-2); } .hp table.vms .gs .ck { width: round(1.067rem, 2px); height: round(1.067rem, 2px); color: var(--good); display: block; }
.hp table.vms .gn { color: var(--warn-ink); } .hp table.vms .gn .ico { width: round(1.067rem, 2px); height: round(1.067rem, 2px); color: var(--warn); display: block; }
.hp table.vms button.lb { font-size: round(0.867rem, 1px); line-height: round(1.333rem, 1px); font-weight: 500; margin-left: round(0.4rem, 1px); }
.hp table.vms .lock { width: round(0.8rem, 2px); height: round(0.8rem, 2px); }
.hp table.vms .busyline { display: inline-flex; align-items: center; gap: round(0.4rem, 1px); }
.hp table.vms .busyline .ico, .hp table.vms .busyline .spin { width: round(1rem, 2px); height: round(1rem, 2px); flex: none; }

/* Footer: outside the scroller, so it never scrolls away. */
.hp .vmcard .cardfoot .more { margin-left: auto; display: inline-flex; align-items: center; gap: round(0.333rem, 1px); color: var(--ink-2); font-weight: 500; }
.hp .vmcard .cardfoot .more:hover { color: var(--accent); text-decoration: none; }
.hp .vmcard .cardfoot .more .arr { color: var(--accent); }
.hp .vmcard .cardfoot { display: flex; align-items: center; height: round(2.933rem, 1px); padding: 0 round(1.6rem, 1px); border-top: 1px solid var(--rowline); color: var(--ink-3); font-size: round(0.867rem, 1px); line-height: round(1.2rem, 1px); background: var(--surface); }
.hp .vmcard tr.nomatch td { color: var(--ink-3); height: round(4.533rem, 1px); }

/* Edit mode: switches appear in the State and App verification cells; view-only bits hide. */
.hp .vmcard:not(.editing) table.vms .ed { display: none; }
.hp .vmcard.editing table.vms .ed { display: inline-flex; align-items: center; }
.hp .vmcard.editing table.vms .vw { display: none; }
.hp .vmcard.editing table.vms button.lb.viewonly { display: inline; }   /* shown, disabled by script while editing */
.hp .vmcard.editing table.vms .vercell .swword { display: inline; color: var(--ink-2); min-width: round(1.6rem, 1px); }
.hp .vmcard.editing table.vms .gs.viewonly, .hp .vmcard.editing table.vms .gn.viewonly { display: inline-flex; }
.hp .vmcard.editing table.vms tr.changed .statecell .l2 > :not(.busyline):not(.was) { visibility: hidden; }
/* The "Was on/off" note shows (p008.css still hid it, review r2); a changed Backup switch says On/Off instead of the
   old state pill (Edit mode pins first lines, see "One first line per row", so a switch never moves when a note appears). */
.hp .vmcard.editing table.vms tr.changed .statecell .l2 > .was { visibility: visible; }
.hp .vmcard.editing table.vms td.statecell.chg .pill, .hp .vmcard.editing table.vms td.statecell.chg .sbadge, .hp .vmcard.editing table.vms td.statecell.chg .plain { display: none; }
.hp .vmcard.editing table.vms td.statecell.chg .swword { display: inline; color: var(--ink-2); }
.hp table.vms .was { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hp table.vms .was { color: var(--ink-3); } .hp table.vms .was.pending { color: var(--run-ink); } .hp table.vms .was.needafter { color: var(--warn-ink); }
/* Switches fit inside the text line (20 x 40 at 15 px), so a switch never pushes its second line down (review r2). */
.hp input.sw { width: round(2.667rem, 2px); height: round(1.333rem, 2px); display: block; }
.hp input.sw::after { top: 2px; left: 2px; width: calc(round(1.333rem, 2px) - 4px); height: calc(round(1.333rem, 2px) - 4px); }
.hp input.sw:checked::after, .hp input.sw.on::after { transform: translateX(calc(round(2.667rem, 2px) - round(1.333rem, 2px))); }
.hp input.sw.offx::after { transform: none; }
.hp .swword { display: none; }

/* Guest-account editor: one block, title above its fields, starting on the Last backup column's text edge (the State
   column's below 1280 px), so it lines up with the table and sits near the button that opened it (reviews r1, r2).
   The script measures that edge into --gx. */
.hp table.vms tr.opened td, .hp table.vms tr.opened:hover td, .hp table.vms tr.editor td, .hp table.vms tr.editor:hover td { background: var(--sel-tint); }
.hp table.vms tr.opened td { border-bottom-color: transparent; }
.hp table.vms tr.editor td { height: auto; padding: round(0.533rem, 1px) round(1.6rem, 1px) round(1.067rem, 1px); }
.hp .ged { display: grid; grid-template-columns: var(--gx, 0px) minmax(round(12rem, 1px), round(18rem, 1px)) minmax(round(11rem, 1px), round(16rem, 1px)) auto minmax(0, 1fr); grid-template-areas: ". ttl ttl ttl ." ". f1 f2 btns ." ". st st st ."; column-gap: round(1.067rem, 1px); row-gap: round(0.533rem, 1px); align-items: end; }
.hp .ged .ttl { grid-area: ttl; min-width: 0; font-weight: 600; font-size: round(1rem, 1px); line-height: round(1.467rem, 2px); }
.hp .ged input::placeholder { color: var(--ink-3); opacity: 1; }
.hp .ged .gt { cursor: help; text-decoration: underline dotted transparent; text-underline-offset: 3px; }
.hp .ged .gt:hover, .hp .ged .gt:focus-visible { text-decoration-color: var(--ink-3); outline: none; }
.hp .ged .f1 { grid-area: f1; min-width: 0; } .hp .ged .f2 { grid-area: f2; min-width: 0; position: relative; }
.hp .ged .btns { grid-area: btns; display: flex; gap: round(0.533rem, 1px); margin: 0; }
.hp .ged label { display: block; margin: 0 0 round(0.267rem, 1px); font-size: round(0.867rem, 1px); line-height: round(1.2rem, 1px); font-weight: 500; color: var(--ink-2); }
.hp .ged input { width: 100%; max-width: none; height: round(2.4rem, 1px); font-size: round(0.933rem, 1px); border-radius: var(--radius-ctl); }
.hp .ged .f2 input { padding-right: round(2.4rem, 1px); }
.hp .ged .eye { position: absolute; right: round(0.267rem, 1px); bottom: round(0.267rem, 1px); width: round(1.867rem, 2px); height: round(1.867rem, 2px); }
.hp .ged .btns .btn { height: round(2.4rem, 1px); border-radius: var(--radius-ctl); font-size: round(0.933rem, 1px); }
.hp .ged .status { grid-area: st; display: flex; align-items: center; gap: round(0.533rem, 1px); margin: 0; max-width: round(56rem, 1px); font-size: round(0.867rem, 1px); line-height: round(1.2rem, 1px); color: var(--ink-3); white-space: normal; }
.hp .ged .status.bad { color: var(--bad-ink); } .hp .ged .status.warn { color: var(--warn-ink); }
.hp .ged .status .ico, .hp .ged .status .spin { width: round(1rem, 2px); height: round(1rem, 2px); flex: none; }
@media (max-width: 1279px) { .hp .ged { grid-template-columns: var(--gx, 0px) minmax(round(9rem, 1px), round(13rem, 1px)) minmax(round(9rem, 1px), round(12rem, 1px)) auto minmax(0, 1fr); } }

/* Dialogs and tooltips at the same scale. */
dialog.hv { border-radius: var(--radius-lg); }
.hp dialog.hv { width: round(34rem, 1px); padding: round(1.6rem, 1px); }
.hp dialog.hv h3 { font-size: round(1.2rem, 1px); line-height: round(1.6rem, 1px); }
.hp dialog.hv p, .hp dialog.hv label.check { font-size: round(1rem, 1px); line-height: round(1.467rem, 1px); }
.hp dialog.hv .btns .btn { height: round(2.4rem, 1px); border-radius: var(--radius-ctl); font-size: round(0.933rem, 1px); }
#hvtip { font-size: round(0.867rem, 1px); line-height: round(1.2rem, 1px); max-width: round(22rem, 1px); }

/* ---------- Optical alignment ----------
   Letters sit low in their line box, so a mark centred on the line looks 1–1.5 px high next to text (measured:
   1.2–1.4 px at 14–16 px Segoe UI Variable, the owner's "reason, red dot ... not lined up"). Every mark that sits
   beside text moves down one whole pixel (whole, so nothing lands between pixels). */
.hp .dot, .hp .seg .chip .adot, .hp .pill::before,
.side nav a .ico, .side .brand svg, .hp .hbtn .ico,
.hp .vmbar .btn .ico, .hp .vmbar .age .ico, .hp .editbar .msg .ico, .hp .notice .ico,
.hp table.vms .vmico, .hp table.vms .chev, .hp table.vms .copy .ck, .hp table.vms .copy .nodash,
.hp table.vms .gs .ck, .hp table.vms .gn .ico, .hp table.vms .busyline .ico, .hp table.vms .lock,
.hp .ged .status .ico { position: relative; top: 1px; }

/* ---------- Even vertical metrics ----------
   Review r2: rows of 68 px with a 1 px hairline centred their contents in 67 px, so pills, ticks and text landed on
   half pixels. Everything centred inside a row or bar now has an even height and every box with one hairline adds
   that pixel on top, so each centring gap is a whole number at the 14, 15 and 16 px roots. The last row keeps a
   transparent hairline for the same reason. */
.hp table.vms th { height: calc(round(2.933rem, 2px) + 1px); line-height: round(1.2rem, 2px); }
.hp table.vms td { height: calc(round(4.533rem, 2px) + 1px); }
.hp table.vms tbody tr:last-child td { border-bottom: 1px solid transparent; }
.hp table.vms .l1, .hp table.vms .l1.copy { min-height: round(1.467rem, 2px); line-height: round(1.467rem, 2px); }
.hp table.vms .l2, .hp table.vms .l2.copy { min-height: round(1.333rem, 2px); line-height: round(1.333rem, 2px); margin-top: round(0.267rem, 2px); }
.hp table.vms .tag { height: round(1.333rem, 2px); line-height: round(1.333rem, 2px); }
.hp table.vms .gs, .hp table.vms .gn, .hp table.vms button.lb { line-height: round(1.333rem, 2px); }
.hp .pill { height: round(1.733rem, 2px); line-height: round(1.733rem, 2px); }
.hp .vmbar { height: round(2.933rem, 2px); }
.hp .seg { height: round(2.4rem, 2px); }
.hp .seg .chip { line-height: round(1.333rem, 2px); }
.hp .vmbar .btn { height: round(2.4rem, 2px); line-height: round(1.333rem, 2px); }
.hp .vmbar .age { line-height: round(1.2rem, 2px); }
.hp .editbar { height: calc(round(2.933rem, 2px) + 1px); }
.hp .editbar .msg { line-height: round(1.333rem, 2px); }
.hp .vmcard .cardfoot { height: calc(round(2.933rem, 2px) + 1px); line-height: round(1.2rem, 2px); }

/* Dark: the selected filter is lighter than its track, as on iOS (review r2: it looked pressed in). */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hp .seg .chip.on { background: color-mix(in srgb, #fff 9%, var(--surface-sunken)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 8%, transparent); } }
:root[data-theme="dark"] .hp .seg .chip.on { background: color-mix(in srgb, #fff 9%, var(--surface-sunken)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 8%, transparent); }

/* Hover labels in the header facts, like the column headers. */
.hp dl.facts .hd { cursor: help; text-decoration: underline dotted transparent; text-underline-offset: 3px; }
.hp dl.facts .hd:hover, .hp dl.facts .hd:focus-visible { text-decoration-color: var(--ink-3); outline: none; }

/* ---------- Narrower windows: the same table, tighter, never overlapping ---------- */
@media (max-width: 1799px) {
  .hp table.vms col.c1 { width: round(15rem, 1px); } .hp table.vms col.c2 { width: round(12rem, 1px); } .hp table.vms col.c3 { width: auto; } .hp table.vms col.c4 { width: round(7.5rem, 1px); } .hp table.vms col.c5 { width: round(7rem, 1px); } .hp table.vms col.c6 { width: round(16rem, 1px); }
  .hp table.vms th, .hp table.vms td { padding-left: round(1rem, 1px); padding-right: round(1rem, 1px); }
  .hp table.vms th.num, .hp table.vms td.num { padding-right: round(2.286rem, 1px); }   /* clear of App verification's text (review r2) */
}
.hp table.vms .sh { display: none; }
/* 1280–1439 px (e.g. 1366 laptops): the same content; only the guest labels shorten ("Account set"). */
@media (max-width: 1439px) {
  .hp table.vms col.c1 { width: round(15rem, 1px); } .hp table.vms col.c2 { width: round(12rem, 1px); } .hp table.vms col.c4 { width: round(7rem, 1px); } .hp table.vms col.c5 { width: round(7rem, 1px); } .hp table.vms col.c6 { width: round(14rem, 1px); }
  .hp table.vms th.num, .hp table.vms td.num { padding-right: round(2rem, 1px); }
  .hp table.vms .lg { display: none; } .hp table.vms .sh { display: inline; }
  .side { width: round(15rem, 1px); }   /* a narrower menu leaves the VM names whole beside their icons */
}
/* Below 1280 px the content tightens instead of wrapping: no VM icon, the Took column folds into Last backup (after
   the date), the customer fact goes (the breadcrumb names it), and in Edit mode the Backup switch says On/Off in
   place of the state pill. Nothing wraps inside a cell, nothing leaves its column. */
@media (max-width: 1279px) {
  .side { width: 200px; }
  .hp table.vms col.c1 { width: round(12rem, 1px); } .hp table.vms col.c2 { width: round(8.5rem, 1px); } .hp table.vms col.c4 { width: round(6.5rem, 1px); } .hp table.vms col.c5 { width: 0; } .hp table.vms col.c6 { width: round(12.9rem, 1px); }
  .hp .vmcard.editing table.vms .statecell .pill, .hp .vmcard.editing table.vms .statecell .sbadge, .hp .vmcard.editing table.vms .statecell .plain { display: none; }
  .hp .vmcard.editing table.vms .statecell .swword { display: inline; color: var(--ink-2); }
  .hp table.vms th:nth-child(5), .hp table.vms td:nth-child(5) { padding: 0 !important; border-left: none; }
  .hp table.vms th:nth-child(5) > *, .hp table.vms td:nth-child(5) > * { display: none; }
  .hp table.vms th:nth-child(5) { font-size: 0; }
  .hp table.vms th, .hp table.vms td { padding-left: round(0.6rem, 1px); padding-right: round(0.6rem, 1px); }
  .hp table.vms th:first-child, .hp table.vms td:first-child { padding-left: round(1.143rem, 1px); }
  .hp .editbar { padding-left: round(1.143rem, 1px); }
  html.hv-offline .hp .editbar .offl { display: none; }   /* the header says it; the bar must stay one line (review r2) */
  .hp table.vms .vmico { display: none; }
  .hp table.vms td:first-child .l2.power { padding-left: 0; }
  .hp table.vms .wd { display: none; }
  .hp dl.facts > .cust { display: none; }
  .hp table.vms .lastb .tk { display: inline; }
  .hp dl.facts > div { padding: 0 round(0.8rem, 1px); } .hp dl.facts { margin-left: round(-0.8rem, 1px); }
  .hp .vmbar { height: auto; min-height: round(2.933rem, 2px); flex-wrap: wrap; }
  .hp .editbar { height: calc(round(2.933rem, 2px) + 1px); flex-wrap: nowrap; }
}

/* A guest-editor message that wraps keeps its icon on the first line. */
.hp .ged .status { align-items: flex-start; }
.hp .ged .status .ico, .hp .ged .status .spin { margin-top: calc((round(1.2rem, 2px) - round(1rem, 1px)) / 2); }

/* ---------- One first line per row ----------
   Review r2: "On" sat on the first line in one row and centred in the next; r3: one-line rows then sat 12 px lower
   than their neighbours. Every row, in both modes, pins every cell's first line to the same height (the two-line block
   centred in the row), like a mail list, so nothing steps between rows or moves when a note appears. Pills
   are taller than the text line and overlap it evenly instead of stretching it. */
:root { --pin: calc((round(4.533rem, 2px) - round(1.467rem, 2px) - round(0.267rem, 2px) - round(1.333rem, 2px)) / 2); }
.hp table.vms tbody tr[data-vm] > td { vertical-align: top; padding-top: var(--pin); padding-bottom: 0; }
.hp table.vms .l1 > .pill { margin-top: calc((round(1.467rem, 2px) - round(1.733rem, 2px)) / 2); margin-bottom: calc((round(1.467rem, 2px) - round(1.733rem, 2px)) / 2); }

/* ---------- Review r3 ----------
   Edit mode: the Backup column is switch + On/Off in every row (one word set, one gap); the state pills return in
   view. The card keeps its neutral border while editing, so the blue never runs against an amber bar; the blue bar on
   top marks the mode. Disabled buttons look disabled the same way everywhere (neutral, grey text), including the
   blue ones. A disabled row action is quiet, and the row whose editor is open doesn't repeat its own Replace…. Empty
   filters are grey. The guest editor's buttons never wrap. */
.hp .vmcard.editing table.vms .statecell .pill, .hp .vmcard.editing table.vms .statecell .sbadge, .hp .vmcard.editing table.vms .statecell .plain { display: none; }
.hp .vmcard.editing table.vms .statecell .swword { display: inline; color: var(--ink-2); }
.hp .vmcard.editing, .hp .editbar:not([hidden]) + .vmcard { border-color: var(--line); }
.hp button.primary:disabled, .hp .btn.primary:disabled, .hp button.primary:disabled:hover { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-3); box-shadow: none; }
.hp button.primary:disabled .ico, .hp button.primary:disabled svg { color: var(--ink-3); }
.hp .hbtn.sec:disabled { color: var(--ink-3); }
.hp table.vms button.lb:disabled { color: var(--ink-3); font-weight: 400; }
.hp table.vms tr.opened button.lb { visibility: hidden; }
.hp .seg .chip:has(.cnt.zero):not(.on) { color: var(--ink-3); }
.hp .seg .chip:disabled { color: var(--ink-3); cursor: default; }
.hp .seg .chip.on:disabled { color: var(--ink-2); }
.hp .ged .btns .btn { white-space: nowrap; }

/* ---------- Whole-pixel page frame (review r3 re-check) ----------
   The page centres beside the menu, and an odd amount of spare width put every block on a half pixel (left 385.5 at
   1920). The spare width is measured in container units and rounded down, so the centring margin is a whole pixel at
   any window width, scrollbar or not. The menu and page widths are even for the same reason. */
:root { --sidew: round(17rem, 2px); --mainw: round(100rem, 2px); }
@media (max-width: 1439px) { :root { --sidew: round(15rem, 2px); } }
@media (max-width: 1279px) { :root { --sidew: 200px; } }
.side { width: var(--sidew); }
.shell:has(> main.hp) { container-type: inline-size; }
main.hp { max-width: var(--mainw); margin-left: max(0px, round(down, calc((100cqw - var(--sidew) - var(--mainw)) / 2), 1px)); margin-right: 0; }
.hp .hbtn { height: round(2.667rem, 2px); line-height: round(1.467rem, 2px); }
.side nav a, .side > a:not(.brand) { height: round(2.667rem, 2px); }
.side .iconbtn { width: round(2.4rem, 2px); height: round(2.4rem, 2px); }
.side .user { height: round(3.467rem, 2px); }
.hp .titlerow h1 { line-height: round(2.667rem, 2px); }
/* r4: the "Powered off" indent is the icon plus its gap, from the same rounded values; the header facts line is even,
   so the 6 px reason dot centres on a whole pixel. */
.hp table.vms td:first-child .l2.power { padding-left: calc(round(1.333rem, 2px) + round(0.667rem, 1px)); }
.hp dl.facts { line-height: round(1.467rem, 2px); }
.hp dl.facts > div { height: round(1.467rem, 2px); }
@media (max-width: 1279px) { .hp table.vms td:first-child .l2.power { padding-left: 0; } }
/* r4: the edit bar's outline is the card's neutral one (its tint and icon mark the mode); every disabled button,
   blue or not, has the one disabled look; the guest editor row keeps its own padding (it carries data-vm, so the
   row pinning above would otherwise apply to it). */
.hp .editbar, .hp .editbar.warn, .hp .editbar.bad { border-color: var(--line); }
.hp .vmbar .btn:disabled, .hp .ged .btn:disabled, .hp .editbar .btn:disabled { background: var(--surface); border-color: var(--line-strong); color: var(--ink-3); opacity: 1; box-shadow: none; }
.hp .vmbar .btn:disabled svg, .hp .editbar .btn:disabled svg { color: var(--ink-3); }
.hp table.vms tbody tr.editor[data-vm] > td { vertical-align: top; padding: round(0.533rem, 1px) round(1.6rem, 1px) round(1.067rem, 1px); }

/* A failed VM's reason is read in full (owner, 2026-12-02: the reason was cut off mid-word). */
.hp table.vms .tag.wrap { white-space: normal; overflow-wrap: anywhere; height: auto; line-height: 1.35; padding-top: 2px; padding-bottom: 2px; text-align: left; }

