/* components.css — shell layout + component styles. Driven by tokens.css.
 * Refine spacing/colors against the live machine as you replicate each screen. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-table);
  color: var(--font-grey-tier1);
  background: #1a2332;
  overflow: hidden;
  /* live DSM/PAS blocks text selection everywhere — dragging never highlights
   * text. Form fields and .selectable opt back in below. */
  -webkit-user-select: none;
  user-select: none;
}
/* selection opt-in: native editing needs it; mark anything else the user should
 * be able to copy with .selectable (per-screen exceptions, added on request) */
input, textarea, [contenteditable="true"],
.selectable, .selectable * {
  -webkit-user-select: text;
  user-select: text;
}
/* live never shows the browser's native drag ghost — press-and-hold on an
 * icon/status sprite/link must not lift a draggable copy. Intentional DnD
 * (Create Dual Pool drive tree) marks its sources draggable="true" and is
 * exempted by the dragstart guard in components.js. */
img, svg, a {
  -webkit-user-drag: none;
  user-drag: none;
}

/* ——— Shell ——————————————————————————————————————————————————————————— */
#desktop-bg {
  position: fixed; inset: 0;
  background: #0a0c0f url("../assets/img/wallpaper.jpg") center/cover no-repeat;
  z-index: 0;
}
#taskbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--taskbar-height);
  background: rgba(0,0,0,0.7);
  /* live inherits the DSM body text style — no visible text in the bar, but the
   * computed values match (13px Verdana, --font-grey-tier1) */
  color: var(--font-grey-tier1);
  font: 400 13px var(--font-family-base);
  /* BELOW #stage (10): app windows paint over the bar's bottom-rounded groups
   * that hang past the 39px line, like live. Mid-modal clickability comes from
   * the .dialog-backdrop starting at --taskbar-height instead — nothing ever
   * covers the bar, so app switching keeps working while a wizard/dialog is
   * open (the stash/restore in app.js is untouched). */
  z-index: 5;
  /* live has NO padding on the bar root — the tray's 12px right offset is the
   * tray-container's own margin */
  display: flex; align-items: center; justify-content: space-between;
}
.taskbar-left, .taskbar-right { display: flex; align-items: center; height: 100%; }
/* taskbar buttons carry no visible text, but live's computed font matches the
 * bar (13px Verdana) while color/text-align keep the button defaults (black,
 * center) — live never overrides those. Only the font is aligned. */
#taskbar button { font: inherit; }

/* The three grouped panels (launcher / open-apps / tray) share a grey, bottom-rounded
   box with thin light right/bottom/left borders + a soft drop shadow (live, pas80). */
.tb-launcher-group, .tb-apps, .taskbar-right {
  background: rgba(50,60,70,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-top-width: 0;         /* live: style/color stay set, width 0 (not "none") */
  box-shadow: 0 1px 2px rgba(10,20,30,0.5);
  /* NOTE: the panels darken over their bottom ~14px whenever an app window is
     MAXIMISED under the bar. That is not a bug and must not be "fixed": it is the
     window's own 0 4px 16px rgba(0,0,0,.6) shadow bleeding up through this 90%
     translucent background, and live does exactly the same — its cssX20 profile
     reads 45,45,45,44,44,44,43,41,40,55 with a maximised window (identical here)
     and flat 45..66 when its windows float clear of the bar. */
  /* NO overflow:hidden — live leaves all three panels `overflow: visible`
     (.taskbar-left-wrapper / .taskbar-buttons-wrapper / .tray-container, measured
     pas80 2026-08-19). Clipping here re-cut each app button's own 2px bottom
     corner into the group's 5px curve, carving fill away and letting the darker
     layer behind show: at the group's bottom-left corner the button read up to
     16 luma DARKER than live (cssX115 y36 was 72 vs live's 85, y36.5 64 vs 80).
     Live instead lets the button keep its 2px corner and fills the gap with the
     group's own background. The group's border arc itself was already identical —
     only the child was being over-carved. */
}

/* Launcher group: grey box offset 12px from the left edge (live: .taskbar-left-wrapper 96×39). */
.tb-launcher-group {
  display: flex; align-items: flex-start; height: 100%;
  margin: 0 6px 0 12px; border-radius: 0 0 3px 3px;
}
/* "show desktop" sliver: 17×36 empty strip, NO divider hairline (live). The only
   sprite-less taskbar button — it is also the only one whose hover changes the bg. */
.tb-show-all {
  position: relative;
  width: 17px; height: 36px; flex-shrink: 0;
  border: none; border-radius: 0 0 0 2px;
  background: transparent; cursor: pointer; padding: 0;
}
/* A permanent 1px separator line sits at the sliver's right edge (css x+17, full
   38px height, white α=.25 — sampled per-pixel from the pas80 shot; the DOM probe
   misses it because live paints it on a pseudo). Painted here on a width-0 ::after
   so the 17px layout never shifts; hover/press brighten it to .3, and the button's
   own border-color flips to .3 like live (invisible — border-style stays none). */
/* top:-1px, NOT 0 — live's ::after is `top:-1px; height:38px`, so the hairline's
 * box runs y -1..37 and its VISIBLE rows are 0..36. Anchored at 0 the same 38px
 * height paints one row further down (y37), where live already shows plain panel
 * background: measured on pas80 2026-08-19, column x=30 row y=37 is [39,47,54] on
 * live (identical to the bare-background column beside it) but was [82,87,93] here
 * — a stray light pixel 43 luma too bright at the bottom of the divider. */
.tb-show-all::after {
  content: ""; position: absolute; left: 17px; top: -1px; width: 0; height: 38px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.tb-show-all:hover  { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.tb-show-all:active { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
/* NO hover/active rule for the separator: live holds it at rgba(255,255,255,.25)
   in every state. Proven on a live capture that IS in the hover state (the Show
   Desktop sliver reads [61,70,78] = 8% white over the panel) while its separator
   column x=30 still reads [98,104,111] = alpha .25 — identical to the resting
   capture. The replica used to flip it to .3 ([108,115,121]), a 10-luma-lighter
   hairline, which is what read as "the border looks washed out on hover".
   The BUTTON's own border-color still flips to .3 (rule above) exactly like live;
   that one is invisible because border-style stays none. */
/* Start (Main Menu) 77×39: outer div + inner icon button, live DOM shape.
   Bg transparent in ALL states — hover/press only shift the icon sprite frame
   (live 3×24px vertical frames: rest / hover / pressed); hovering anywhere on
   the 77px div shifts the frame. */
.tb-start-btn {
  width: 77px; height: 39px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; background: transparent;
}
.tb-start-ico {
  width: 24px; height: 24px; padding: 0; border: none; cursor: pointer;
  /* rest position declared as % like live — its hover rule re-declares x in px,
     which must not read as a no-op against the rest value */
  background: url(../assets/img/tbar-start.png) 0% 0% / 24px 72px no-repeat;
}
/* longhand x/y so state-scan tooling (and live parity) sees both components */
.tb-start-btn:hover  .tb-start-ico, .tb-start-ico:hover  { background-position-x: 0; background-position-y: -24px; }
.tb-start-btn:active .tb-start-ico, .tb-start-ico:active { background-position-x: 0; background-position-y: -48px; }

/* Right tray (live: .tray-container, radius 3px, padding 0 8px): three bare 24×24
   sprite buttons at y=7 with 16px gaps (8px side margins). Hover/press never touch
   the background — the sprite frame turns the icon white / pressed-blue. */
.taskbar-right { height: 100%; border-radius: 0 0 3px 3px; padding: 0 8px; margin: 0 12px 0 0; align-items: flex-start; }
.tb-tray-btn {
  width: 24px; height: 24px; margin: 7px 8px 0; padding: 0; flex-shrink: 0;
  border: none; cursor: pointer;
  background: 0 0 / 24px 72px no-repeat;
}
.tb-tray-btn:hover  { background-position: 0 -24px; }
.tb-tray-btn:active { background-position: 0 -48px; }
.tb-tray-notify { background-image: url(../assets/img/tbar-notify.png); }
.tb-tray-user   { background-image: url(../assets/img/tbar-user.png); }
.tb-tray-search { background-image: url(../assets/img/tbar-search.png); }

/* Open-app buttons (live: .taskbar-buttons-wrapper 40px tall — overhangs the 39px
   bar by its 1px bottom border — radius 5px; each 44×38 button carries the state
   bg and its own small 2px outer-bottom corner on the first/last button). */
/* Live wraps the open-apps group in `.taskbar-buttons-container` — 39px tall,
   `overflow: hidden`, `padding: 0 8px 0 0` — while the group itself is 40px tall.
   The extra row is therefore CLIPPED, never painted. Measured on a bare live
   desktop (nothing covering the row) at the group's mid-column cssX137:
       cssY38  live [45,54,63]   cssY39  live [0,0,0]
   whereas this replica used to paint the group's own bottom border there,
   [66,74,83] — a delta of 83, a plainly visible 1px light line under the app
   tiles. It only hid itself when a maximised window happened to cover row 39.
   The same clip also trims the group's box-shadow at its left edge, which live
   likewise clips (live cssX113 is pure black). The launcher and tray groups are
   39px tall, do not overflow, and so are NOT wrapped — live doesn't wrap them
   either, and their shadows do spill below the bar on live. */
.tb-apps-clip {
  display: flex; align-items: flex-start;
  height: var(--taskbar-height);
  overflow: hidden;
  padding-right: 8px;          /* live .taskbar-buttons-container padding 0 8px 0 0 */
}
.tb-apps { display: flex; align-items: flex-start; align-self: flex-start; height: 40px; border-radius: 0 0 5px 5px; }
/* Two-layer app button like live (.taskbar-button-wrapper > .taskbar-button):
   the wrapper div carries the state background-color + corner radius + indicator;
   the inner div carries the centered 24px icon as background-image. */
.tb-app-btn { position: relative; width: 44px; height: 38px; cursor: pointer;
  background-color: rgba(255, 255, 255, 0.18); }
.tb-app-ico { width: 100%; height: 100%;
  background-position: 50% 50%; background-size: 24px 24px; background-repeat: no-repeat; }
.tb-app-btn:hover  { background-color: rgba(255, 255, 255, 0.24); }
.tb-app-btn:active { background-color: rgba(255, 255, 255, 0.2); }
/* longhand so a lone button (first AND last) keeps both 2px corners */
.tb-app-btn:first-child { border-bottom-left-radius: 2px; }
.tb-app-btn:last-child  { border-bottom-right-radius: 2px; }
.tb-app-btn.is-active        { background-color: rgba(255, 255, 255, 0.3); }
.tb-app-btn.is-active:hover  { background-color: rgba(255, 255, 255, 0.36); }
.tb-app-btn.is-active:active { background-color: rgba(255, 255, 255, 0.32); }
/* Focused-app indicator: a short white bar centered at the very top of the
   active app icon, flush against the browser edge (live: 10×2px, opacity .9). */
.tb-app-btn.is-active::after {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 10px; height: 2px; margin-left: -5px;
  background: #fff; border-radius: 1px; opacity: 0.9;
}

/* ——— Global Bar hint tooltip (live: v-tooltip hint — dark bubble at cursor+20/+20,
   350ms dwell, 0.5s fade-in, removed ~120ms after mouseout, no arrow). ——— */
.tb-hint {
  position: fixed; z-index: 20001; pointer-events: none;
  background: rgba(30,32,34,0.8); color: #fff;
  font: 400 13px/20px Verdana, Arial, sans-serif;
  padding: 2px 11px; border: 1px solid rgb(150,150,150); border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3); max-width: 600px; white-space: nowrap;
  opacity: 0; transition: opacity 0.5s;
}
.tb-hint.is-in { opacity: 1; }

/* ——— Taskbar app preview panel (live: .preview-box-wrapper — 178×142 dark panel
   13px below the bar, centered on the button, up-caret, 330ms dwell, 0.6s fade +
   1px slide-up, hidden instantly on mouseout; content = scaled clone of the app
   window, displayed 160px wide at left-inset 8). ——— */
.tb-preview {
  position: fixed; top: 52px; z-index: 15000; pointer-events: none;
  width: 178px; box-sizing: border-box;
  background: rgb(30,32,34); border: 1px solid rgb(150,150,150); border-radius: 4px;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(1px);
  transition: opacity 0.6s, transform 0.6s;
}
.tb-preview.is-in { opacity: 1; transform: translateY(0); }
.tb-preview-desc {
  height: 32px; padding: 6px 8px; box-sizing: border-box;
  font: 400 12px/20px Verdana, Arial, sans-serif; color: #fff; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tb-preview-box { position: relative; width: 176px; height: 108px; overflow: hidden; }
.tb-preview-clone { position: absolute; left: 8px; top: 0; transform-origin: 0 0; pointer-events: none; }
/* The cloned .appwin normally fills its window frame via inset:0 — inside the
   fixed-size clone box that same rule keeps it filling the pre-scale rect. */
.tb-preview-clone .appwin { position: absolute; inset: 0; }
.tb-preview-arrow { position: absolute; left: 76px; top: -18px; width: 24px; height: 18px; overflow: hidden; }
/* Up-caret = rotated square sunk so its WIDEST (left/right) corners sit exactly on
   the container's bottom clip line (= the panel's top edge): only the upper half
   shows → a clean upward triangle whose base merges into the panel (user-reported
   fix 2026-07-21 — with the square centered higher, the full diamond showed).
   Center (12,18): 14×14 rotated 45° → half-diagonal ≈9.9, tip at y≈8.1. */
.tb-preview-arrow::after {
  content: ""; position: absolute; left: 5px; top: 11px; width: 14px; height: 14px;
  background: rgb(30,32,34); border: 1px solid rgb(150,150,150);
  transform: rotate(45deg);
}

/* Persistent desktop layer (wallpaper shortcuts) — stays visible behind floating windows. */
#desktop-layer { position: fixed; top: var(--taskbar-height); left: 0; right: 0; bottom: 0; z-index: 1; }
/* App-window stage sits above the bar (z 10 > taskbar 5). pointer-events:none lets clicks in
   the empty area fall through to the desktop layer; each page root (e.g. .appwin) re-enables them. */
#stage { position: fixed; top: var(--taskbar-height); left: 0; right: 0; bottom: 0; z-index: 10; pointer-events: none; }
#stage > * { pointer-events: auto; }
#overlay-layer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
#overlay-layer .overlay-item { pointer-events: auto; }

/* ——— Desktop shortcuts (persistent #desktop-layer) — live: 132×120 cell, 64px icon ——— */
.desktop { position: relative; width: 100%; height: 100%; }
/* Live flow rule (10.17.32.21, 2026-07-16 multi-viewport probe): icons fill
 * top→bottom then wrap to the next column — cells 132×120, column gap 4,
 * container inset top 11 / left 4 / bottom 10 below the taskbar, so items per
 * column = floor((viewportHeight − 61) / 120). Native flex column wrap. */
.desktop-shortcuts {
  display: flex; flex-direction: column; flex-wrap: wrap; column-gap: 4px;
  height: 100%; box-sizing: border-box;
  padding: 12px 10px 10px 4px; align-content: flex-start;
}
.shortcut {
  width: 132px; height: 120px; text-align: center; color: #fff;
  cursor: pointer; user-select: none; padding: 16px 0 0;
}
/* No hover background — live desktop icons have none. */
.shortcut-icon-wrap {
  width: 64px; height: 64px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.shortcut-icon-wrap img { width: 64px; height: 64px; display: block; }
.shortcut-icon-wrap .shortcut-tile-fallback {
  width: 64px; height: 64px; border-radius: 12px; background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
}
.shortcut-label { display: block; margin-top: 4px; font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.6); line-height: 16px; }

/* ——— Main Menu (launcher overlay) — sizes measured from the live machine ———
 * Full-screen: the Global Bar is hidden while the menu is open (see openMainMenu),
 * so the menu covers from the very top. Paints its own darkened copy of the
 * wallpaper so it reads the same whatever is open behind it.
 *
 * Open animation — replicated from live (.syno-sds-appview): only the CONTENT
 * (search + icons) eases from scale(1.05) → scale(1) over 0.2s ease-in about the
 * viewport centre, with opacity snapping 0.4 → 1 (live transitions transform
 * only). The darkened-wallpaper BACKGROUND stays fixed — it does NOT scale (on
 * live the scaled layer only carries a flat scrim, so its zoom is invisible; the
 * wallpaper is a separate fixed layer). The .is-open class (added the frame after
 * mount) drives it; close reverses with a short fade + zoom-out. */
.main-menu {
  position: fixed; inset: 0;
  background:
    linear-gradient(rgba(6,9,13,0.62), rgba(6,9,13,0.74)),
    url("../assets/img/wallpaper.jpg") center/cover no-repeat;
  overflow: hidden;   /* no native scrollbars (live hides them); content always fits */
}
/* Contain the first child's margin-top so .main-menu-inner stays exactly 100%
   tall (min-height + a collapsing child margin would otherwise overflow). */
.main-menu-inner { display: flow-root; }
.main-menu.is-closing { opacity: 0; transition: opacity 0.16s ease-out; }
/* The animated layer: full-height so its centre is the viewport centre, matching
   live's transform-origin. Background is fixed (above) and unaffected. */
.main-menu-inner {
  min-height: 100%;
  opacity: 0.4;
  transform: scale(1.05);
  transform-origin: 50% 50%;
  transition: transform 0.2s ease-in;
}
.main-menu.is-open .main-menu-inner { opacity: 1; transform: scale(1); }
.main-menu.is-closing .main-menu-inner {
  opacity: 0; transform: scale(1.05);
  transition: opacity 0.16s ease-out, transform 0.16s ease-out;
}

/* Search field — measured on the live machine:
 *   outer .search-field: 280×36 border-box, #28323C fill, 4px radius, 1px border
 *     (unfocused #58626C grey → focused #2396FA blue)
 *   inner input.search-field-input: 278×24, transparent, 13px text #E0EAF4,
 *     padding 1px 12px 1px 33px, magnifier sprite 24×72 @ 5px 1px (icon 24×24). */
.mm-search {
  position: relative; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 280px; height: 36px;
  /* live .syno-sds-appview-container { padding-top: 32px } (pas80 2026-10-02; was 24) */
  margin: 32px auto 0;
  background: #28323C; border: 1px solid #58626C; border-radius: 4px;
}
.mm-search:focus-within { border-color: #2396FA; }
.mm-search input {
  width: 278px; height: 24px; box-sizing: border-box;
  border: 0; color: #E0EAF4;
  background: transparent url("../assets/img/search-icon-sprite.png") no-repeat 5px 1px;
  background-size: 24px 72px;
  font-family: var(--font-family-base); font-size: 13px; line-height: 15px;
  padding: 1px 12px 1px 33px; outline: none;
}
.mm-search input::placeholder { color: rgba(224, 234, 244, 0.4); }

/* App grid — tiles 172×156, icon 72×72, label 12px (live measurements).
 * Live rule, read from PAS7700_POC 172.21.3.80's own code + CSS (2026-10-02, checked at
 * 7 viewports 900–2560px): grid width = 172 × floor(0.76 × viewport / 172), clamped by
 * `.app-layout-wrapper { max-width: 1376px; min-width: 688px }` = 4 to 8 columns,
 * centred, row-first, last row left-aligned. The grid starts 48px below the search
 * field (live `.sds-app-panel { padding-top: 48px }`; was 24). Width is set by JS
 * (pages/desktop.js layoutMenu). The rule measured on 10.17.32.21 in July,
 * max(4, floor(viewport/172) − 2), agrees up to 1440px but kept adding columns on wide
 * screens (10 at ~2100px) where live stops at 8. */
.mm-grid {
  display: flex; flex-wrap: wrap; justify-content: flex-start;
  gap: 0; margin: 48px auto 0;
}
.mm-app {
  width: 172px; min-height: 156px; box-sizing: border-box; padding: 16px 8px;
  text-align: center; color: #fff; cursor: pointer; user-select: none;
}
/* No hover background — live launcher icons have none. */
/* Press feedback. Live rule (measured on 172.21.3.80, launcher tile
   `li.launch-icon.app-item-icon`):
       .launch-icon.app-item-icon:active { transform: scale(0.9, 0.9); }
   with transition-duration 0s and transform-origin at the tile's center — so the
   WHOLE tile (72px icon + label together) snaps to 90% while the button is held and
   snaps back on release. No opacity/filter/font change, and no easing: sampling the
   live press at 0/30/60/100/200/350ms gave matrix(0.9,0,0,0.9,0,0) every frame.
   Live keeps the scale while the button stays down even after the pointer leaves the
   tile, which is exactly what :active already does. Desktop shortcuts deliberately do
   NOT get this — live scopes the rule to .app-item-icon (menu) + .dropdown-item-icon. */
.mm-app:active { transform: scale(0.9, 0.9); }
.mm-app-icon { display: block; width: 72px; height: 72px; margin: 0 auto; }
.mm-app-icon img { width: 72px; height: 72px; display: block; }
.mm-app-label {
  display: block; width: 156px; margin: 8px auto 0;
  font-size: 12px; line-height: 18px; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.75);   /* live: rgba(0,0,0,0.75) 0px 1px 3px */
}

/* ——— App window ————————————————————————————————————————————————————— */
/* Responsive: the window fills available space with sensible minimums.
   (Confirm exact responsive behavior against the live machine.) */
/* ——— Multi-window host ——— #stage holds one .appwin-frame per open app.
   The FRAME carries position / size / stacking (z-index) and persists across the
   app's in-page navigations; the .appwin re-renders inside it and just fills the
   frame. This split lets each app coexist as its own window with independent
   geometry, while the 40+ page files keep returning a plain .appwin unchanged. */
.appwin-frame { position: absolute; }
/* Maximized = fills the area below the Global Bar (the bar stays visible above).
   Frames live in #stage, whose z-index is above the taskbar, so a frame's z is
   higher than the bar without covering it (stage starts below the bar). */
.appwin-frame.is-max { inset: 0; }
/* Windowed default rect (overridden by inline px once the window is dragged). */
.appwin-frame.is-windowed { top: 18px; left: 7%; right: 7%; bottom: 42px; }
/* Minimized = hidden but kept in the DOM (state + taskbar button preserved). */
.appwin-frame.is-minimized { display: none; }

/* ——— Window resize handles ——— live app windows resize by dragging any of 8
 * border strips (ExtJS .x-resizable-handle-*; measured on pas80 Log Center +
 * Storage Manager 2026-08-18, both identical). Exact live geometry:
 *   • 4 edges  6px thick, full span,                   z-index 100
 *   • NE/NW/SW 6x6 flush in their corner,              z-index 101
 *   • SE       12x12 INSET 3px — the outermost 3px of that corner still belongs
 *              to the E/S edge, so the cursor there is e-/s-resize, not se-
 * Every handle sits STRICTLY INSIDE the window box: live reaches 0px outside it
 * (1px elementFromPoint sweeps — 2px out already hits the desktop layer).
 * The layer is a SIBLING of .appwin (which is inset:0 with z-index auto) and is
 * appended last, so it paints over the content yet stays far below the window's
 * own modal layer (.win-overlay, 5000). */
.appwin-resize-layer { position: absolute; inset: 0; z-index: 100; pointer-events: none; }
.appwin-rz { position: absolute; display: block; pointer-events: auto; }
.appwin-rz.rz-n { left: 0; top: 0; width: 100%; height: 6px; cursor: n-resize; }
.appwin-rz.rz-s { left: 0; bottom: 0; width: 100%; height: 6px; cursor: s-resize; }
.appwin-rz.rz-w { left: 0; top: 0; width: 6px; height: 100%; cursor: w-resize; }
.appwin-rz.rz-e { right: 0; top: 0; width: 6px; height: 100%; cursor: e-resize; }
/* corners — live stacks them one step above the edges (101 vs 100) */
.appwin-rz.rz-nw, .appwin-rz.rz-ne, .appwin-rz.rz-sw, .appwin-rz.rz-se { z-index: 1; }
.appwin-rz.rz-nw { left: 0; top: 0; width: 6px; height: 6px; cursor: nw-resize; }
.appwin-rz.rz-ne { right: 0; top: 0; width: 6px; height: 6px; cursor: ne-resize; }
.appwin-rz.rz-sw { left: 0; bottom: 0; width: 6px; height: 6px; cursor: sw-resize; }
.appwin-rz.rz-se { right: 3px; bottom: 3px; width: 12px; height: 12px; cursor: se-resize; }
/* A maximized window is not resizable (live hides its handles too). */
.appwin-frame.is-max .appwin-resize-layer { display: none; }

/* The resize GHOST. Live never resizes the real window while dragging: it moves a
 * 1px dashed outline (div.x-resizable-proxy, child of body, z = window z + 4,
 * border 1px dashed rgb(65,75,85) = --font-grey-tier1, transparent background, no
 * shadow, no radius, content-box) and commits the new size only on mouseup — one
 * single step, no animation (transition-duration 0s; 20+ drags fired zero
 * transition events). content-box + width/height written as target-2 makes the
 * outline's OUTER box exactly the prospective window rect, as live's inline
 * style does. Distinct from the MOVE ghost (.x-window-proxy, opacity .5), which
 * stays display:none throughout a resize. */
.win-resize-proxy { position: absolute; box-sizing: content-box; background: transparent;
  border: 1px dashed var(--font-grey-tier1); pointer-events: none; }
/* Cursor lock. Live also drops a full-viewport transparent overlay
 * (div.x-resizable-overlay, opacity 0, z-index 200000) carrying the direction's
 * cursor, so the pointer keeps the resize cursor once it leaves the 6px strip.
 * Live adds NO class to body/html/the window root — this overlay is the whole
 * mechanism. Its user-select:none (live x-unselectable) also kills selection. */
.win-resize-overlay { position: fixed; inset: 0; z-index: 200000; opacity: 0; }
/* Per-window modal layer (phase 2): dialogs/wizards attach to their PARENT
   window's frame. The container spans the frame exactly, so the backdrop mask
   below covers ONLY that window — the taskbar, other windows, and the desktop
   stay clickable (live: mask scoped to the parent, modal z one step above it).
   z 5000 keeps the mask above any in-window popup (dropdowns ≤ 900). */
.appwin-frame > .win-overlay { position: absolute; inset: 0; z-index: 5000; pointer-events: none; }
.appwin-frame > .win-overlay .overlay-item { pointer-events: auto; }
/* Inside a window: the mask covers the frame, and modals center within it
   (their base rules further down are viewport-fixed for legacy/global use). */
.win-overlay .dialog-backdrop { position: absolute; inset: 0; }
.win-overlay .dialog, .win-overlay .wizard { position: absolute; }

.appwin {
  /* Fills its frame. Two visual states (toggled by the maximize/restore button):
     • is-max      = square corners, no shadow
     • is-windowed = rounded + shadow (desktop shows behind) */
  position: absolute; inset: 0;
  background: var(--white);
  overflow: hidden; display: flex; flex-direction: column;
}
.appwin.is-max { border-radius: 0; box-shadow: none; }
.appwin.is-windowed { border-radius: var(--radius-window); box-shadow: var(--shadow-window); }
/* Draggable title bars — live cursor is `move` (pas80 qa/pas80-r5b). Only a
 * windowed (non-maximized) app window can be dragged. */
.appwin.is-windowed > .appwin-header { cursor: move; }
/* While dragging, live shows the window at FULL SIZE as a 0.5-opacity
 * translucent frame — the body content blanks out but the window keeps its
 * dimensions (live .x-window-proxy: full-size, overflow:hidden, opacity 0.5;
 * pas80 qa/pas80-r5b/r6-2026-07-16). We keep the frame and hide only the body
 * CONTENT via visibility (the body box stays, reserving its space). */
.appwin.is-dragging,
.dialog.is-dragging,
.wizard.is-dragging {
  opacity: 0.5;
  transition: none;
  user-select: none;
  /* Blanked area paints GREY, not white — live's drag ghost root bg is
     rgb(242,242,242) (fsdna DOM-measured: ghost keeps only the header bar,
     everything below is this neutral grey; distinct from --bg-content's
     blue-tinted 244,248,250). Body/footer are visibility-hidden below, so
     this root color is what shows through. */
  background: #F2F2F2;
}
/* …but the kept HEADER BAR keeps its own white background — the grey is only the
   blanked area BELOW it (live's ghost "keeps only the header bar, everything below
   is neutral grey"). Without this the transparent header lets the grey through and
   the whole ghost reads as one grey slab (user-reported 2026-07-28). */
.dialog.is-dragging .dialog-header { background: var(--white); }
.appwin.is-dragging .appwin-body,
.dialog.is-dragging .dialog-body,
.wizard.is-dragging .wizard-body,
.wizard.is-dragging .wizard-scrollbar,
/* the footer is content too — Cancel/Apply blank out with the body while
 * dragging (user directive 2026-07-20; matches the live proxy, which keeps
 * only the frame + title) */
.dialog.is-dragging .dialog-footer,
.wizard.is-dragging .wizard-footer,
/* the step title is content too — hide it (the eyebrow name stays visible) */
.wizard.is-dragging .wizard-hero-title {
  visibility: hidden;
}
/* Wizard: keep the top "Create Volume" eyebrow on its blue bar; below it the
 * hero blue goes transparent so the white body shows through (the blue
 * "disappears" below the name). The bar height = eyebrow bottom + inset, set on
 * --wiz-drag-blue-h at drag start (fallback 42px). Frame stays full size. */
.wizard.is-dragging .wizard-hero {
  background: linear-gradient(
    var(--main-tier1) var(--wiz-drag-blue-h, 42px),
    transparent var(--wiz-drag-blue-h, 42px));
}
.appwin-header {
  height: var(--app-header-height); flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  /* live header divider is the .5 tier (same as the module-list rail), not --border-tier2 (.4) */
  /* live .v-window-header-wrapper (pas80 qa/pas80-r2-2026-07-16-measure.json):
   * padding 8 0 8 18 — left inset 18; the right inset stays on the tool cluster. */
  padding: 0 10px 0 18px; border-bottom: 1px solid rgba(198, 212, 224, 0.5); background: var(--white);
}
/* live title: rgba(65,75,85,.85) 12px bold, 10px gap after the 24px app icon */
.appwin-title { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: var(--font-weight-bold); color: rgba(65, 75, 85, 0.85); }
.appwin-title .icn { width: 24px; height: 24px; }
.appwin-ctrls { display: flex; align-items: center; gap: 4px; }
/* Window controls — real DSM sprites (48x144 = normal/hover/pressed stacked). */
.winctrl { width: 24px; height: 24px; cursor: pointer; background-repeat: no-repeat;
  background-position: 0 0; background-size: 24px auto; }
.winctrl:hover { background-position: 0 -24px; }
.winctrl-help  { background-image: url(../assets/img/winctrl/wdheader_bt_help.png); }
.winctrl-min   { background-image: url(../assets/img/winctrl/wdheader_bt_minimize.png); }
.winctrl-max     { background-image: url(../assets/img/winctrl/wdheader_bt_maximize.png); }
.winctrl-restore { background-image: url(../assets/img/winctrl/wdheader_bt_restore.png); }
.winctrl-close   { background-image: url(../assets/img/winctrl/wdheader_bt_close.png); }

.appwin-body { flex: 1 1 auto; display: flex; min-height: 0; }
.appwin-content { flex: 1 1 auto; overflow: auto; background: var(--bg-content); }
/* No reserved gutter: live's v-scrollbar overlays, so the Volume cards span the full
 * content width (drive-info grid 1127 @1440 / 1607 @1920). volume.js wires the
 * overlay app scrollbar unconditionally, so expanding a card never shifts the layout. */
.appwin-content:has(.volume-page) {
  background: var(--white);
}

/* ═══ Shared scrollbar — THE ONE scrollbar look ═══════════════════════════════
 * Live SVC ".y-bar bar": 8px thumb, rgba(0,0,0,.12) (#0000001F), radius 6px,
 * sitting 2px in from the right edge (right:2px) — NOT flush; track fully
 * transparent, no left border line, no top/bottom buttons.
 *
 * USAGE: add class "svc-scroll" to ANY natively-scrolling container. That is the
 * single, reusable scrollbar style — do not hand-roll per-element ::-webkit-
 * scrollbar rules. Synthetic overlay bars (tables with a frozen header, the
 * collapsing-hero wizard) reference the same --scrollbar-* tokens so they match.
 *
 * We reproduce the 8px thumb + 2px right gap with a (size + 2*inset) gutter and a
 * 2px transparent thumb border clipped to the padding box. Webkit-only (no
 * scrollbar-width/-color) so Chromium keeps this exact sizing over its thin preset. */
.svc-scroll::-webkit-scrollbar {
  width: calc(var(--scrollbar-size) + 2 * var(--scrollbar-inset));
  height: calc(var(--scrollbar-size) + 2 * var(--scrollbar-inset));
}
.svc-scroll::-webkit-scrollbar-track,
.svc-scroll::-webkit-scrollbar-track-piece,
.svc-scroll::-webkit-scrollbar-corner { background: transparent; border: 0; }
.svc-scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.svc-scroll::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb); border-radius: var(--scrollbar-radius);
  border: var(--scrollbar-inset) solid transparent; background-clip: padding-box;
}
.svc-scroll::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); background-clip: padding-box; }

/* Synthetic sibling of .svc-scroll — for data tables with a FROZEN header, where a
 * native scrollbar would reserve width on the body table and desync it from the
 * (non-scrolling) header table. The scroll container hides its native bar
 * (scrollbar-width:none + ::-webkit-scrollbar{display:none}) and JS draws this
 * overlay <div class="…-scrollbar svc-scroll-overlay"><span></span></div>, sizing/
 * moving the span from scroll state. Same tokens as .svc-scroll → identical look:
 * 8px thumb, rgba(0,0,0,.12), radius 6px, 2px from the right edge, no track.
 * `top` clears the 29px sticky header row. Used by the Drives + CAM Log tables. */
.svc-scroll-overlay {
  position: absolute;
  top: 29px; right: var(--scrollbar-inset); bottom: var(--scrollbar-inset);
  width: var(--scrollbar-size);
  background: transparent;
  pointer-events: none;
}
.svc-scroll-overlay span {
  display: block;
  width: var(--scrollbar-size);
  border-radius: var(--scrollbar-radius);
  background: var(--scrollbar-thumb);
  transform: translateY(0);
  transition: background-color .2s linear;   /* live: transition background-color 0.2s linear */
}
/* Hover: the thumb darkens to --scrollbar-thumb-hover while the cursor is over the
 * rail (live ".v-scrollbar .rail:hover .bar"). The bar keeps pointer-events:none, so
 * C.wireScrollbarHover toggles .is-hover from the pointer x instead (never blocks
 * wheel-scroll). Applies to EVERY synthetic overlay — CP, Drives, CAM Log. */
.svc-scroll-overlay.is-hover span { background: var(--scrollbar-thumb-hover); }

/* ═══ Control Panel scrollbars — ONE behaviour across every CP page ════════════
 * The native scrollbar's look is OS-dependent (macOS overlay/auto-hiding vs.
 * Windows/"always show" classic) — so to guarantee the live look on every machine
 * we do exactly what live DSM does: HIDE the native bar and draw a synthetic overlay
 * thumb (the shared .svc-scroll-overlay component, same --scrollbar-* tokens as the
 * live "y-bar": 8px, #0000001F, radius 6px, 2px inset). SM.controlpanel.wireScroll()
 * (in _shared.js, auto-run by wireNav on every CP page) sizes/moves the thumb from
 * scroll state; the bar stays visible the whole time the region overflows (like the
 * Drives / CAM-Log table bars) and disappears only when everything fits. Applied
 * uniformly to the left nav, settings-form body, Network Interface list, folder list
 * and user table. */
.cp-scroll-native { scrollbar-width: none; }               /* Firefox: hide native */
.cp-scroll-native::-webkit-scrollbar { width: 0; height: 0; display: none; }  /* Chromium */
/* The overlay bar itself: positioned + thumb style come from .svc-scroll-overlay;
 * here we just add stacking. Always visible while overflowing (JS toggles display). */
.cp-scrollbar { z-index: 6; }

/* ——— Module list ——— */
.module-list { width: var(--module-list-width); flex: 0 0 auto; background: var(--white);
  /* live rail divider is the .5 tier (measured on CP round-5 AND SAN nav), not --border-tier2 (.4) */
  border-right: 1px solid rgba(198, 212, 224, 0.5); padding: 16px 12px 6px; overflow: auto; }
.module-item { min-height: 42px; display: flex; align-items: center; gap: 6px; padding-right: 6px;
  border-radius: var(--radius-module); cursor: pointer; color: var(--font-grey-tier1);
  font-size: 14px; /* live module nav is 14px, not the 13px body size (probed) */ }
.module-item .icn { width: 22px; height: 22px; }
/* background-color LONGHAND: the QA engine's hover probe only pairs longhands. */
.module-item:hover { background-color: var(--main-hover); }
.module-item.is-active { background: var(--main-light); }
.module-ico-spacer { width: 16px; }
.module-label { flex: 1; font-size: 14px; line-height: 18px; }
.module-chevron { transition: transform .15s; color: var(--icon-dark-grey-tier1); }
.module-item.is-open + .module-children { display: block; }
.module-children { display: none; }
[data-toggle].is-open .module-chevron { transform: rotate(90deg); }

/* ——— Buttons ——— */
.btn { height: 28px; padding: 0 12px; border-radius: var(--radius-btn); border: 1px solid var(--border-tier3);
  background: var(--white); color: var(--font-grey-tier1); font: inherit; font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn:hover { background: #f3f7fb; }
.btn-primary { background: var(--main-tier1); border-color: var(--main-tier1); color: #fff; }
/* Live v-btn-blue hover/active (pas80 2026-08-20, qa/buttons.pas80.json — 5
   primary buttons, unanimous). Note the border is a DARKER step than the fill in
   both states; the replica used to paint border = fill, losing live's 1px rim. */
.btn-primary:hover {
  background: var(--main-tier1-hover);
  border-color: var(--main-tier1-hover-border);
  color: #fff;
}
.btn-primary:active {
  background: var(--main-tier1-dark);
  border-color: var(--main-tier1-active-border);
  color: #fff;
}
/* No :focus-visible ring — live paints none (focus computes identical to rest on
   every primary measured). The 2px rgba(5,127,235,.45) outline that used to live
   here was invented; three pages had already overridden it away with
   `outline: none`, one of them with !important. */
/* Danger red — now live-measured after all (pas80 2026-08-20). It looked
   unreachable because a destructive button sits behind a confirm, but Control
   Panel > Update & Restore > System Reset simply DISPLAYS an "Erase All Data"
   button: navigating to that tab is allowed by the read-only guard, and CDP
   forced pseudo-classes read every state without the button ever being pressed.
   The base was already right; the hover was not (#CF3A3A vs live's #D12E2E), the
   rim never darkened, and :active did not exist. No focus ring — like every
   other button on the machine, focus computes identical to rest. */
.btn-danger {
  background: var(--red-tier1);
  border-color: var(--red-tier1);
  color: #fff;
}
.btn-danger:hover {
  background: var(--danger-hover);
  border-color: var(--danger-hover-border);
  color: #fff;
}
.btn-danger:active {
  background: var(--danger-active);
  border-color: var(--danger-active-border);
  color: #fff;
}
/* NOTE on the label: live's outer span.syno-ux-button-red reports color #414B55,
   but that is the ExtJS WRAPPER, not the painted text — the inner <button> is
   what carries the label (the same two-layer nesting as Log Center's grey
   buttons). #fff is kept here; the inner layer was not captured in this pass. */
.btn.is-disabled, .btn:disabled { opacity: .5; cursor: default; }

/* ═══ Dropdown / split BUTTON caret — ONE arrow for the whole site ═══════════════
 * Live-measured on pas80 2026-08-18 (project/qa/arrow-buttons.pas80.json). Every
 * button that OPENS A MENU wears this, whatever shell it sits on (.toolbar-btn /
 * .btn-grey / .cam-log-btn / .lc-btn). Markup comes from C.caret() / C.splitInner().
 *
 *   .has-arrow   [pad][label][2 gap][12x24 caret][pad]            live v-btn-dropdown
 *   .has-split   [13][label][13][1x26 div +2][12x24 caret +2]     live v-btn-split
 *
 * The 12x24 box is mostly empty ON PURPOSE — live paints only a 5.99x3 glyph inside
 * it, which is why the caret reads so much lighter than the 8x4 CSS triangle these
 * buttons used until 2026-08-18. That triangle was a copy of the SELECT arrow
 * (.dropdown-arrow — which itself became live's 24x24 v-select2 icon on 2026-10-02,
 * see the Dropdown block below). Colour never changes: hover moves
 * only the shell border, and disabled fades the caret the way live fades its whole
 * .v-btn-text wrapper.
 *
 * PAGES MUST NOT re-declare a caret size, a text->caret gap or a split divider in
 * their inline <style>. Eight pages each had their own before this existed; that
 * drift (3 glyphs, 5 different gaps) is exactly what this replaced. */
/* Doubled class = specificity 0,2,0 so these resets beat the shell they are bolted
 * onto: .btn brings gap:6px and every toolbar shell brings its own horizontal padding,
 * and all of them are declared LATER in this file than this block. */
.has-arrow.has-arrow, .has-split.has-split { display: inline-flex; align-items: center; gap: 0; }
.btn-caret {
  display: block; flex: 0 0 12px; width: 12px; height: 24px;
  color: var(--icon-dark-grey-tier1);          /* #505A64 — live rgb(80,90,100) */
}
.btn-caret svg { display: block; width: 12px; height: 24px; }
.has-arrow > .btn-caret { margin-left: 2px; }  /* the ONE live text->caret gap */
/* On a blue primary shell live paints the caret in the buttons own white foreground
 * (pas80: the Identity Connect "Select" button — svg color rgb(255,255,255) on a
 * rgb(5,127,235) fill). Colour only; the 12x24 box and the 2px gap are unchanged. */
.btn-primary > .btn-caret { color: inherit; }
.has-arrow:disabled > .btn-caret, .has-arrow.is-disabled > .btn-caret,
.has-split:disabled > .btn-caret, .has-split.is-disabled > .btn-caret { opacity: .4; }

/* Split: live moves the 13px insets off the shell and onto the label so the divider
 * can run the full inner height, so padding:0 here is structural, not a restyle. */
.has-split.has-split { padding: 0; justify-content: flex-start; }
.btn-split-label { display: inline-flex; align-items: center; height: 100%; padding: 0 13px; }
.btn-split-div {
  flex: 0 0 1px; width: 1px; height: 26px; margin-right: 2px;
  background: rgba(198, 212, 224, 0.9);        /* live-measured, CP + SAN + CAM all agree */
}
.has-split > .btn-caret { padding-right: 2px; box-sizing: content-box; }

/* ——— Dropdown ——— */
.dropdown {
  position: relative;
  display: inline-block;
  font-size: 13px;
}
.dropdown-trigger {
  height: 28px;
  min-width: 98px;
  border: 1px solid var(--border-tier3);
  border-radius: 3px;
  background: var(--white);
  color: var(--font-grey-tier1);
  font: inherit;
  padding: 0 28px 0 13px;
  cursor: pointer;
  position: relative;
  text-align: left;
}
.dropdown-trigger:hover,
.dropdown.is-open .dropdown-trigger {
  border-color: var(--main-tier1);
  background: var(--white);
  color: var(--main-tier1);
}
/* Select arrow = live SVC v-select2 `.v-select2-dropdown-icon` (pas80 2026-10-02:
 * SAN Log / SAN Dashboard / CAM Overview / Package Center, all identical): a 24×24
 * filled triangle svg in --icon-dark-grey-tier1 #505A64, 2px from the trigger's outer
 * right and top edges (= 1px inside its 1px border). Grey at rest AND on hover; blue
 * while the menu is open and while the trigger keeps focus after a pick or Esc (live
 * `.focused`), grey again on blur. It is `currentColor`, so pages fade or tint it with
 * `color` / `opacity` only. Replaced the 8×4 CSS border-triangle used until then. */
.dropdown-arrow {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 24px;
  height: 24px;
  color: var(--icon-dark-grey-tier1);
  pointer-events: none;
}
.dropdown-arrow svg { display: block; width: 24px; height: 24px; }
/* `.dropdown` prefix = 0,4,0: a focused select stays blue even under a page's own
 * :hover border rule (.san-map-select / .ov-front-dd declare those later). */
.dropdown.is-open .dropdown-arrow,
.dropdown .dropdown-trigger:not(.has-caret):focus .dropdown-arrow { color: var(--main-tier1); }
.dropdown .dropdown-trigger:not(.has-caret):focus { border-color: var(--main-tier1); outline: 0; }
/* Dropdown BUTTON (C.dropdown caret:true — live v-btn-border-dropdown, e.g. Drives
 * "Show All"): [1][13][label][2][12×24 caret][13][1], caret inline, never recoloured
 * (the site-wide .btn-caret). Focus = rest, like every live v-btn. */
.dropdown-trigger.has-caret { display: inline-flex; align-items: center; padding: 0 13px; }
.dropdown-trigger.has-caret > .btn-caret { margin-left: 2px; }
.dropdown-menu {
  position: absolute;
  top: 30px;
  right: 0;
  z-index: 30;
  min-width: 128px;
  padding: 5px 0;
  border: 1px solid #d7e2ec;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  display: none;
}
.dropdown.is-open .dropdown-menu {
  display: block;
}
.dropdown-option {
  width: 100%;
  height: 30px;
  border: 0;
  background: var(--white);
  color: var(--font-grey-tier1);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  padding: 0 12px 0 12px;
}
.dropdown-option:hover {
  background: var(--row-selected);
}
.dropdown-option + .dropdown-option {
  border-top: 1px solid var(--border-tier2);
}
.dropdown-option + .dropdown-option + .dropdown-option {
  border-top: 0;
}
.dropdown-check {
  width: 14px;
  height: 14px;
  position: relative;
}
.dropdown-option.is-selected .dropdown-check::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--main-tier1);
  border-bottom: 2px solid var(--main-tier1);
  transform: rotate(-45deg);
}

/* ——— Dropdown: FORM variant (in-dialog/wizard selects, e.g. RAID type) ———
 * Label text stays dark in every state. Border: light-grey → dark-grey (hover)
 * → blue (open). Arrow: grey → blue (open). Menu opens LEFT-aligned, full
 * trigger width, directly below the trigger. Selected/hover rows = light-blue. */
.dropdown-form .dropdown-trigger {
  width: 100%;
  height: 28px;
  color: var(--dropdown-form-text);
  border-color: var(--dropdown-form-border);
  border-radius: var(--radius-input);
}
.dropdown-form .dropdown-trigger:hover {                 /* hover: dark-grey border, text stays dark */
  border-color: var(--dropdown-form-border-hover);
  color: var(--dropdown-form-text);
  background: var(--white);
}
.dropdown-form.is-open .dropdown-trigger {               /* open: blue border, text stays dark */
  border-color: var(--dropdown-form-border-active);
  color: var(--dropdown-form-text);
  background: var(--white);
}
.dropdown-form .dropdown-arrow { color: var(--dropdown-form-arrow); }
/* open / focused beat hover (the cursor is often still over the just-clicked trigger). */
.dropdown-form.is-open .dropdown-trigger .dropdown-arrow,
.dropdown-form .dropdown-trigger:focus .dropdown-arrow { color: var(--dropdown-form-arrow-active); }
.dropdown-form .dropdown-trigger:focus { border-color: var(--dropdown-form-border-active); }
.dropdown-form .dropdown-menu {                          /* below, left-aligned, full trigger width */
  left: 0;
  right: auto;
  top: 30px;
  min-width: 100%;
  width: 100%;
  padding: 8px;                       /* live v-select2 panel: items inset 8px all around */
  box-sizing: border-box;
  border-color: var(--dropdown-form-border);
  border-radius: var(--radius-input);
}
.dropdown-form .dropdown-option {                        /* no check column — single column */
  grid-template-columns: 1fr;
  padding: 0 12px;
  height: 28px;                       /* live v-select2 item: 28px, radius 3 (pas80 2026-07-22) */
  border-radius: 3px;
}
.dropdown-form .dropdown-check { display: none; }
.dropdown-form .dropdown-option + .dropdown-option { border-top: 0; }
/* live: ONE highlight bar, and it is CLASS-driven, not :hover-driven (live's SVC
 * select moves an "activated" class). It starts on the selected row, follows the
 * cursor to whichever row it last entered, and STAYS there when the cursor leaves
 * the menu — it only resets to the selected row on the next open. A :hover rule
 * would snap the bar back to the selected row on mouse-out, which live doesn't do.
 * Moved by the [data-dropdown] mouseover handler in components.js. */
.dropdown-form .dropdown-option.is-activated { background: var(--dropdown-form-option-selected); }

/* ——— Dropdown: optional icon / divider / toggle rows ———  C.dropdown option.icon,
 * { divider: true } and { toggle: true } (live v-select2 `has-icon` rows, its
 * `.v-select2-dropdown-divider`, and an on/off row such as Package Center's "Hide
 * installed packages"). LAYOUT ONLY: an icon's size and image belong to the page,
 * because they come from that app's own sprite. A dropdown that passes none of
 * these options renders no such element, so nothing else is affected. */
.dropdown-option[data-icon] { display: flex; align-items: center; }
.dropdown-icon { display: block; flex: 0 0 auto; background-repeat: no-repeat; }
.dropdown-prefix { display: inline-block; vertical-align: middle; }
/* live .v-select2-dropdown-divider (pas80 2026-10-02): 1px --border-tier2 with 4px above and below. */
.dropdown-divider { height: 0; margin: 4px 0; border-top: 1px solid var(--border-tier2); }

/* ——— Dropdown: ExtJS COMBOBOX variant (C.dropdown className 'ux-combo') ———
 * Live img.x-form-trigger.syno-ux-combobox-trigger (pas80 2026-10-02; Control Panel ›
 * Regional Options, which carried these rules page-locally until 2026-10-03): the
 * 27×28 trigger is its own box — 1px rgba(198,212,224,.7) on top/right/bottom, none on
 * the left, radius 0 4 4 0, white — painting live's combo_trigger.png (byte-identical to
 * select2-dropdown-arrow.png) at 24×72, cell 0 1px. Hover darkens ONLY the trigger border
 * to rgba(124,138,152,.5) — the text never turns blue; focus/open = blue border + cell
 * 0 -23px; disabled = the "Disabled select" block below. Laid over the field's own right
 * edge (top/right -1px) so field + trigger read as one rect. Width and the option list
 * stay with the page (Regional's x-combo-list is page-local). */
.ux-combo .dropdown-trigger { border-radius: 4px; }
.ux-combo .dropdown-trigger:hover { color: var(--font-grey-tier1); border-color: var(--border-tier3); }
.ux-combo .dropdown-arrow {
  top: -1px; right: -1px; width: 27px; height: 28px; box-sizing: border-box;
  border: 1px solid var(--border-tier3); border-left: 0; border-radius: 0 4px 4px 0;
  background: var(--white) url(../assets/img/select2-dropdown-arrow.png) no-repeat 0 1px / 24px 72px;
  pointer-events: auto;
}
.ux-combo .dropdown-arrow svg { display: none; }
.ux-combo .dropdown-arrow:hover { border-color: rgba(124, 138, 152, 0.5); }
.ux-combo.is-open .dropdown-arrow,
.ux-combo .dropdown-trigger:focus .dropdown-arrow { background-position: 0 -23px; border-color: var(--main-tier1); }
/* Open = focused field: blue border, the text stays dark (the shared .dropdown open
 * rule would turn it blue). */
.ux-combo.is-open .dropdown-trigger { color: var(--font-grey-tier1); border-color: var(--main-tier1); }

/* ——— Disabled select — ONE rule per live family ———
 * Measured on PAS7700_POC 172.21.3.80, 2026-10-03, on real, already-disabled instances of
 * BOTH live families — Vue SVC v-select2 (Control Panel › Notification Rule, Storage
 * Manager Modify Capacity unit) and the ExtJS combobox (Regional Options hh/mm/ss + date,
 * Hardware & Power UPS). They render the same pixels:
 *   · the whole control is ONE pale surface, --select-bg-disabled painted ONCE
 *     (#F4F6F9 on white) — the arrow area is never a second, darker box;
 *   · 1px --select-border-disabled border, --select-text-disabled text;
 *   · the arrow is #505A64 at 40% (core #B2B7BD): v-select2 fades its icon with opacity
 *     .4, the ExtJS trigger paints the sprite's disabled cell 0 -47px (alpha .4);
 *   · cursor default, and NO change on hover, focus or press; nothing else is faded.
 *
 * HOW TO DISABLE A SELECT — any one of these, never page CSS:
 *   · C.dropdown({ disabled: true })   → .dropdown.is-disabled + <button disabled>
 *   · put it in a block with .is-disabled (SM.controlpanel.dependent + its gate,
 *     .cp-rego-dep, .vs-alloc, …) — the CP gate also sets `disabled` on the trigger
 *   · aria-disabled="true" on the select or an ancestor, a disabled <fieldset>, or
 *     `disabled` on the trigger button
 * A hand-built select opts in with hook classes (they carry no enabled styling):
 *   v-select2 look → .svc-select (the bordered box) + .svc-select-icon (its arrow)
 *   ExtJS combobox → .ux-combo-input (text cell) + .ux-combo-trigger (27×28 sprite box)
 * and is disabled the same ways (.is-disabled may also sit on the hook element itself).
 * !important: a disabled select must beat every page's hover / focus / open rule, the
 * way live's own ExtJS rule pins the disabled sprite cell with !important. */
:is(.is-disabled, [aria-disabled="true"], fieldset:disabled) :is(.dropdown-trigger:not(.has-caret), .svc-select),
:is(.dropdown-trigger:not(.has-caret), .svc-select):is(.is-disabled, [aria-disabled="true"], :disabled) {
  background-color: var(--select-bg-disabled) !important;
  border-color: var(--select-border-disabled) !important;
  color: var(--select-text-disabled) !important;
  cursor: default !important;
  pointer-events: none !important;
}
:is(.is-disabled, [aria-disabled="true"], fieldset:disabled) :is(.dropdown-trigger:not(.has-caret), .svc-select) :is(.dropdown-label, input, .svc-select-text),
:is(.dropdown-trigger:not(.has-caret), .svc-select):is(.is-disabled, [aria-disabled="true"], :disabled) :is(.dropdown-label, input, .svc-select-text) {
  color: var(--select-text-disabled) !important;
  -webkit-text-fill-color: var(--select-text-disabled);
  cursor: default !important;
}
/* v-select2 arrow: keeps #505A64 and fades to .4 (live .v-select2-wrapper.disabled
 * .select-dropdown); a sprite-drawn icon (Package Center's is-bkg build) is pinned to its
 * grey rest cell, never the blue focus cell (live ….disabled .select-dropdown.is-bkg 0 0). */
:is(.is-disabled, [aria-disabled="true"], fieldset:disabled) :is(.dropdown-arrow, .svc-select-icon),
:is(.dropdown-trigger, .svc-select):is([aria-disabled="true"], :disabled) :is(.dropdown-arrow, .svc-select-icon) {
  color: var(--select-icon-disabled) !important;
  opacity: var(--select-icon-opacity-disabled) !important;
  background-position: 0 0 !important;
  cursor: default !important;
  pointer-events: none !important;
}
/* ExtJS combobox over C.dropdown (.ux-combo): the trigger box lies OVER the field, whose
 * own .2 surface and .7 border already show through — so the box adds no layer of its own
 * (a second .2 here was the darker, detached arrow box) and shows only the disabled cell. */
:is(.is-disabled, [aria-disabled="true"], fieldset:disabled) .ux-combo .dropdown-arrow,
.ux-combo:is(.is-disabled, [aria-disabled="true"]) .dropdown-arrow,
.ux-combo .dropdown-trigger:is(.is-disabled, [aria-disabled="true"], :disabled) .dropdown-arrow {
  opacity: 1 !important;
  background-color: transparent !important;
  border-color: transparent !important;
  background-position: var(--select-sprite-pos-disabled) !important;
}
/* Hand-built ExtJS combobox (live layout: input + trigger are SIBLINGS, each tinted once). */
:is(.is-disabled, [aria-disabled="true"], fieldset:disabled) .ux-combo-input,
.ux-combo-input:is(.is-disabled, [aria-disabled="true"], :disabled) {
  background-color: var(--select-bg-disabled) !important;
  background-image: none !important;
  border-color: var(--select-border-disabled) !important;
  color: var(--select-text-disabled) !important;
  -webkit-text-fill-color: var(--select-text-disabled);
  cursor: default !important;
  pointer-events: none !important;
}
:is(.is-disabled, [aria-disabled="true"], fieldset:disabled) .ux-combo-trigger,
.ux-combo-trigger:is(.is-disabled, [aria-disabled="true"], :disabled) {
  background-color: var(--select-bg-disabled) !important;
  background-position: var(--select-sprite-pos-disabled) !important;
  border-color: var(--select-border-disabled) !important;
  opacity: 1 !important;
  cursor: default !important;
  pointer-events: none !important;
}
/* The parts above stop taking the pointer, so the hover lands on the select's own wrapper
 * (a hand-built combo's span, the .dropdown box): when that wrapper is the disabled one,
 * or sits inside a disabled block, it shows the default cursor too, never a page's pointer. */
:is(.is-disabled, [aria-disabled="true"]):has(> :is(.dropdown-trigger:not(.has-caret), .svc-select, .ux-combo-input, .ux-combo-trigger), > * > .ux-combo-trigger),
:is(.is-disabled, [aria-disabled="true"], fieldset:disabled) :has(> :is(.svc-select, .ux-combo-input, .ux-combo-trigger), > * > .ux-combo-trigger) {
  cursor: default !important;
}

/* ——— Data table ——— every page table is C.dataTable (shared/data-table.css) or the
 * C.gridTable adv-grid (.cam-grid below); the legacy plain `.data-table` skin was
 * removed 2026-10-03 (C.table is now an alias of C.dataTable). */
.ta-right { text-align: right; } .ta-center { text-align: center; }

/* ——— Link ——— */
.link { color: var(--main-tier1); cursor: pointer; }
.link:hover { text-decoration: underline; }

/* ——— Notification stack (CAM overview) ——— */
.notif-stack {
  position: fixed; top: 52px; right: 16px;
  width: 310px; z-index: 900;
  display: flex; flex-direction: column; gap: 6px;
  pointer-events: auto;
}
.notif-card {
  background: var(--white); border: 1px solid rgba(198,212,224,0.9);
  border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,.14); overflow: hidden;
}
.notif-card-header {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 10px 5px;
}
.notif-card-title {
  flex: 1; font-weight: var(--font-weight-bold); font-size: 13px;
  color: var(--font-grey-tier1); line-height: 18px;
}
.notif-card-close {
  cursor: pointer; color: var(--icon-dark-grey-tier1);
  flex-shrink: 0; font-size: 11px; padding: 2px 4px; align-self: flex-start;
}
.notif-card-close:hover { color: var(--status-error); }
.notif-card-body {
  padding: 0 10px 8px; font-size: 12px; line-height: 18px;
  color: var(--font-grey-tier1);
}
.notif-card-body a { color: var(--main-tier1); }
.notif-card-footer { padding: 0 10px 10px; }

/* ——— Controller chassis area ——— */
.ctrl-chassis-area {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 0 16px; gap: 16px;
}
.ctrl-chassis-wrap { position: relative; }
.ctrl-chassis-img-clip { width: 368px; height: 122px; overflow: hidden; border-radius: 2px; }
/* Front/back are frames of the SAME 368×610 sprite — live .panel-container-
 * PAS7700-front = pos 0 0, -back = pos 0 -244px (qa/pas80-2026-07-16-measure2.json). */
.ctrl-chassis-sprite {
  width: 368px; height: 122px;
  background: url("../assets/icons/4f14b514514c401aae2d-368x122.svg") no-repeat 0 0;
}
.ctrl-chassis-sprite.is-back { background-position: 0 -244px; }
.ctrl-error-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.52); border-radius: 4px;
  padding: 6px 14px; color: #fff; font-size: 13px; white-space: nowrap;
}
.ctrl-tabs { display: flex; align-items: center; }
.ctrl-tab {
  /* live .left-node-normal: 20px box + 2px/10px padding, radius 3, bold 13 */
  min-width: 108px; height: 24px; padding: 2px 10px;
  box-sizing: border-box;
  border: 0; border-radius: 3px;
  background: var(--main-tier1); color: #fff; cursor: default;
  appearance: none;
  font: inherit; font-size: 13px; font-weight: var(--font-weight-bold);
  line-height: 20px;
}
.ctrl-tab:hover,
.ctrl-tab.is-active {
  background: var(--main-tier1);
  color: #fff;
}
/* Live (.heartbeat-normal-line, qa/pas80-2026-07-16-measure.json): the whole
 * grey track + travelling blue pulse is ONE animated GIF asset (a3d218d3…,
 * native 216×8 = 2× of the 108×4 box) — no CSS animation on live at all. */
.ctrl-tab-connector {
  width: 108px;
  height: 4px;
  background: url("../assets/img/cam-heartbeat-normal.gif") no-repeat 0 0 / cover;
}

/* ——— Host Utilization grid (CAM only) ———
 * Live pas80 (2026-07-24 round 2, user-reported: the grid is FLUID, not the
 * fixed 342px of the earlier round. Probed at BOTH 1440 & 1920): div-based,
 * not a table. THREE EQUAL columns; the non-column leftover is a constant
 * 92px, so cell = (container − 92)/3 (1440: (1118−92)/3 = 342 · 1920:
 * (1598−92)/3 = 502 — both probe-exact). The 92 splits differently per row:
 * header = 43+43 gutters + 6 right slack (skeleton x 385/770); data rows =
 * 44+44 gutters + 4 slack (live computed column-gap 44, engine-converged).
 * Header cells 20px high (lh 20, tier2) with bold tier-1 name span + loose
 * "(Online)" text. Sections carry border-top 1px tier2 + padding-top 4;
 * rows are 32px blocks holding 28px-high cells (line-height 28). */
.util-header-row { display: flex; gap: 43px; height: 20px; font-size: 13px; padding-right: 6px; }
.util-col-spacer { flex: 1 1 0; min-width: 0; }
.util-controller-cell {
  flex: 1 1 0; min-width: 0; height: 20px;
  line-height: 20px; color: var(--font-grey-tier2);
  white-space: nowrap; position: relative;
}
/* live div.login-node.icon-online: 8×8 #057FEB, 22px LEFT of the header cell */
.util-online-dot {
  position: absolute; left: -22px; top: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--main-tier1); color: var(--font-grey-tier1);
}
.util-controller-name { font-weight: var(--font-weight-bold); color: var(--font-grey-tier1); }
/* live: .cpu has padding-top 4; .mem-disk-container has NONE — its first row
 * carries a 4px margin-top instead (probed pas80) */
.util-section { border-top: 1px solid var(--border-tier2); }
.util-section-cpu { margin-top: 6px; padding-top: 4px; }
.util-section-memdisk .util-row:first-child { margin-top: 4px; }
.util-row {
  display: flex; align-items: flex-start; gap: 44px; height: 32px;
  padding-right: 4px;
  font-size: 13px; color: var(--font-grey-tier1);
}
.util-cell {
  flex: 1 1 0; min-width: 0; height: 28px; line-height: 28px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.util-label { color: var(--font-grey-tier1); }
.util-value { font-weight: var(--font-weight-bold); }
.util-unit { font-weight: var(--font-weight-regular); }

/* ——— Overview starter panels (CAM-only; live v-card values, pas80
 * qa/pas80-r2-2026-07-16-measure.json: content pad 16 20, card r4 +
 * border .4 + shadow 0 4 9 rgba(0,0,0,.02) + 16px stack gap) ——— */
.overview-page { padding: 16px 20px; }
.overview-panel { background: var(--white); border: 1px solid var(--border-tier2); border-radius: 4px;
  margin-bottom: 16px; box-shadow: 0 4px 9px rgba(0,0,0,.02); }
.overview-panel-title { min-height: 36px; display: flex; align-items: center; padding: 0 14px;
  font-weight: var(--font-weight-bold); border-bottom: 1px solid var(--border-tier2); }
.overview-panel-body { padding: 14px; }
/* Normal health panel (replaces the warning layout when status is normal) */
/* live .syno-aa-status-container (pas80 qa/pas80-r3-2026-07-16-measure.json):
 * icon 60×60 flush at the 32px padding corner (flex-start, NOT centered);
 * text block visual gap 28.6px = its margin-left 24 + a 4.6px whitespace
 * text node the live Vue template leaves between the two flex items. */
.overview-health { display: flex; align-items: flex-start; gap: 28.6px; }
.ov-health-title {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  line-height: 32px;
  color: var(--font-grey-tier1);
  margin: 2px 0 0;
}
.ov-health-desc {
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
  margin: 4px 0 12px;
}
/* Recent Important Events — level severity colors (CAM only). Live pas80
 * 2026-07-24: Warning = rgb(245,132,20), not the fsdna --status-warning.
 * Re-measured 2026-08-11 on pas80 CAM > Log (the same severity palette the
 * events panel mirrors): Info span.log-info = rgb(65,75,85),
 * Warning span.log-warning = rgb(245,132,20), Critical span.log-err =
 * rgb(230,64,64) — NOT --status-error (#E8462E), which this rule used to use. */
.ev-level { font-weight: var(--font-weight-regular); }
.ev-info { color: var(--font-grey-tier1); }
.ev-warning { color: rgb(245, 132, 20); }
.ev-critical, .ev-error { color: rgb(230, 64, 64); }

/* ——— CAM overview refinements ——— */
.module-list .module-item .icn {
  color: var(--icon-dark-grey-tier1);
}
/* ——— CAM window chrome (.appwin-cam, fresh pas80 2026-07-24) ———
 * Live CAM is a Vue window (div.vue-aa-app.v-layout) whose chrome box-model
 * differs from the classic appwin: same visual result, different computed
 * values. Scoped here so the classic windows (CP/SM/SAN/…) stay untouched. */
.appwin-cam.is-max {
  border-radius: 3px;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.6);
}
.appwin-cam .appwin-header {
  padding: 8px 0 8px 18px;
  border-radius: 3px 3px 0 0;
  cursor: move;
}
.appwin-cam .appwin-title span { line-height: 20px; }
/* live tool cluster: 24px icons on a 32px pitch (8px gaps), 16px right inset */
.appwin-cam .appwin-ctrls { gap: 8px; margin-right: 16px; }
/* live module icons are <i>-based v-icons — computed font-style: italic;
 * the header controls inherit rgb(80,90,100); the title icon resets to the
 * plain body font (13px/400/normal, tier-1) */
.appwin-cam .module-item .icn { font-style: italic; }
.appwin-cam .winctrl { color: rgb(80, 90, 100); font-style: italic; }
.appwin-cam .appwin-title .icn {
  color: var(--font-grey-tier1);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  font-style: normal;
}
.appwin-cam .appwin-content { background: rgb(247, 249, 251); border-radius: 0 0 3px 3px; }
/* live per-module content bg differs: Failover Group module is plain white
 * (pas80 rediff 2026-07-24); overview keeps F7F9FB, controller F4F8FA. */
.appwin-cam .appwin-content:has(.cam-failover-page) { background: #fff; }
/* live v-module-list: rail itself unpadded — the items carry the insets
 * (margins + icon offset) instead of container padding / flex gap */
.appwin-cam .module-list { padding: 0; }
.appwin-cam .module-item {
  margin: 0 12px;
  gap: normal;
  padding: 0 6px 0 0 !important; /* beats the inline depth padding-left */
}
.appwin-cam .module-item:first-child { margin-top: 16px; }
.appwin-cam .module-item .icn { margin: 0 6px 0 12px; }
/* live .syno-aa-status-container: pad 32 20 34 32, content 1106×70 */
.cam-health-panel .overview-panel-body {
  padding: 32px 20px 34px 32px;
}
/* live v-card-header: 10px below the card top, 28px title row (14px/700/lh28).
 * Fresh pas80 scan 2026-07-24: the live .section-label is SHRINK-TO-FIT
 * (121-197px × 28, no padding) — the row wrapper owns the 10/20 insets and
 * right-anchors the trailing control (Front dropdown / go-to-log button). */
.ov-panel-title-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px 0;
}
.ov-panel-title-row .overview-panel-title {
  min-height: 0;
  padding: 0;
  border-bottom: 0;
  font-size: 14px;
  line-height: 28px;
}
.cam-controller-panel .overview-panel-body {
  padding: 10px 20px 0;
}
/* live .panel: pad 16 0 24 around the chassis, 16px gap to the tab row */
.cam-controller-panel .ctrl-chassis-area {
  padding: 16px 0 24px;
}
.ov-front-dd .dropdown-trigger {
  width: 110px;
  min-width: 110px;
  height: 28px;
  border-color: var(--border-tier3);
  border-radius: 3px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  line-height: 26px;
  /* live v-select2 trigger: pad 0 1 0 11, cursor default (fresh pas80) */
  padding: 0 1px 0 11px;
  cursor: default;
}
.ov-front-dd .dropdown-trigger:hover {
  border-color: var(--border-control-hover);
  color: var(--font-grey-tier1);
}
/* live inner input: 68×26 flush at trigger content edge, pad 3 0, lh 20,
 * cursor pointer (on the input; the trigger itself is cursor default) */
.ov-front-dd .dropdown-label {
  display: block;
  width: 68px;
  padding: 3px 0;
  line-height: 20px;
  cursor: pointer;
}
.ov-front-dd.dropdown.is-open .dropdown-trigger {
  border-color: var(--main-tier1);
  color: var(--font-grey-tier1);
}
/* Live v-select2 dropdown popup (pas80 qa/pas80-2026-07-16-measure2.json):
 * items 28px / pad 0 12 / radius 3 / selected+hover rgba(5,127,235,.1); popup
 * = full trigger width (inner item row measured 94 = 110 − 2 border − 14 pad).
 * Same widget family as .san-map-select (measured SAN R3, same machine). */
.ov-front-dd .dropdown-menu {
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--border-tier3);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}
.ov-front-dd .dropdown-option {
  display: block;
  height: 28px;
  line-height: 28px;
  padding: 0 12px;
  color: var(--font-grey-tier1);
  /* regular weight (live 400) — the dropdown sits inside the bold panel title
   * row, so the inherited 700 must be reset here */
  font-weight: var(--font-weight-regular);
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ov-front-dd .dropdown-option + .dropdown-option { border-top: 0; }
.ov-front-dd .dropdown-check { display: none; }
.ov-front-dd .dropdown-option:hover,
.ov-front-dd .dropdown-option.is-selected { background: rgba(5, 127, 235, 0.1); }
/* live geometry: header row top = body start + 17; cpu section 6 below the
 * header cells; card bottom inset 8 → panel height 293 (= live v-card). */
.cam-host-panel .overview-panel-body {
  padding: 17px 20px 8px;
}
/* live v-table bottom inset 18 → events card height 243 (= live v-card) */
.cam-events-panel .overview-panel-body {
  padding: 10px 20px 18px;
}
/* 0 events: live scoped CSS [data-v-4c994600] .v-table-empty-body { margin-top: 20px }
 * above the EmptyView (120px icon + "No logs available") — tt-empty config-pas80 */
.cam-events-dt .v-table-empty-body { margin-top: 20px; }
/* Go-to-Log button in the events title row — live syno-aa-go-to-log-btn
 * (pas80 qa/pas80-r4-2026-07-16-measure.json): 24×24 two-frame PNG sprite,
 * idle = top frame (light), hover = bottom frame (darker, bg-pos 0 -24px);
 * image-set serves the 2x asset on retina. Click navigates to the Log page. */
.cam-goto-log {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  /* live button inherits the app font (Verdana 13, tier-1) — a bare <button>
   * would fall back to the UA default (Arial 13.33 black) */
  color: var(--font-grey-tier1);
  font-family: Verdana;
  font-size: 13px;
}
/* Live CSSOM declares hover/active bg tints, but the user confirmed the real
 * machine shows NO background change — only the sprite's light→dark frame swap
 * (2026-07-24). Registered in qa/deviations.json; keep the button bg-free. */
.cam-goto-log-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: image-set(url("../assets/img/cam-goto-log-24.png") 1x, url("../assets/img/cam-goto-log-48.png") 2x);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.cam-goto-log:hover .cam-goto-log-icon {
  /* live hover redeclares a plain url() (dropping the image-set) AND shifts
   * the frame via calc(-24px). The URL mirrors live's authored string
   * "./dist/assets/55bfac…" verbatim (QA compares the CSSOM text); the file
   * is the same sprite as cam-goto-log-24.png, aliased under
   * shared/dist/assets/ so the <link>-relative load resolves. */
  background-image: url("./dist/assets/55bfac429e5b2ce16e8b.png");
  background-position-y: calc(-24px);
}

/* ——— CAM Controller detail page ——— */
/* Live pas80 2026-07-24 (skeleton): white panel, computed padding 0 — the
 * children carry the insets as margins (cards @ t16 l20, gap 21, stretched
 * to the panel bottom minus 16). Card children inset t13/l21/r21 from the
 * OUTER edge (1px border + margins below). */
/* live CAM content bg differs per module: overview F7F9FB, controller F4F8FA.
 * Round 2 (user-reported, pas80 re-probed 2026-07-24): the GREY belongs to the
 * page area (live .syno-aa-controller-panel = rgb(244,248,250)); the cards are
 * the only white surfaces — the page container itself must stay transparent. */
.appwin-cam .appwin-content:has(.cam-controller-page) {
  background: rgb(244, 248, 250);
}
.cam-controller-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
}
.cam-controller-grid {
  display: flex;
  align-items: stretch;
  gap: 21px;
  margin: 16px 20px;
  flex: 1 0 auto;
}
.cam-controller-card {
  width: 402px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border-tier2);
  border-radius: 4px; /* live v-card-wrapper r4 (pas80 re-probe 2026-07-24) */
  box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.02);
}
.cam-controller-card-title {
  margin: 12px 20px 0; /* +1px border = live's 13/21 outer inset */
  width: fit-content;  /* live title is shrink-to-fit 94×28 */
  color: var(--font-grey-tier1);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 28px;
}
.cam-controller-visual {
  width: 360px;
  height: 177px;
  margin: 12px 20px 0; /* live: 12px below the title row */
  border-radius: 3px; /* live aa-host-server r3 (pas80 re-probe 2026-07-24) */
  background: rgba(198, 212, 224, 0.2);
  text-align: center; /* live computes center (inherited by the host) */
}
/* Live cards use ONE pre-composed 362×174 SVG per side (.host-image-PAS7700-
 * left/right) — blue frame and A/B badge are baked into the asset, no DOM
 * overlays. Assets re-verified 2026-07-24: sha256 byte-identical to live's
 * dist/assets/368b1187…svg / f7e83dc1…svg. Round 2 (user-reported): live's
 * host div carries NO background-color (the rgba tint is the WRAPPER's only —
 * doubling it made the box #EBEFF4) and the wrapper is plain block layout, so
 * the host sits top-left at integer offsets (flex-centering in a 177px-tall
 * wrapper put it at y=1.5px → half-pixel edge blur at 1x DPR). */
.cam-controller-host {
  width: 362px;
  height: 174px;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.cam-controller-host-a { background-image: url("../assets/icons/368b1187e78cba5c14bb-362x174.svg"); }
.cam-controller-host-b { background-image: url("../assets/icons/f7e83dc1feb0f217ab25-362x174.svg"); }
.cam-controller-details {
  margin: 12px 20px 0; /* live: first row starts 12px below the chassis visual */
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
/* Live v-data-view-item-wrap: 360×61 contiguous rows, computed padding 0 —
 * the 6px insets live on the children; 24px label + 24px value lines. */
.cam-controller-info-row {
  display: flow-root; /* keep the 6px child margins from collapsing out */
  padding: 0;
  border-bottom: 1px solid var(--border-tier2);
}
/* VISUAL NO-OP hover, mirroring live exactly: live's CSSOM declares this same
 * background-color var on .v-data-view-item-wrap:hover, but the var is
 * UNDEFINED at runtime (real-hover probe pas80 2026-07-24 shows zero visual
 * delta; the user confirmed the real machine has no hover tint). An undefined
 * var makes the declaration invalid → transparent → NO color change on hover.
 * Do NOT define --v-data-view-bkg-color__item-wrap--hover anywhere. */
.cam-controller-info-row:hover {
  background-color: var(--v-data-view-bkg-color__item-wrap--hover);
}
.cam-controller-field-label {
  margin: 6px 6px 0;
  line-height: 24px;
}
.cam-controller-field-value {
  margin: 0 6px 6px;
  color: var(--font-grey-tier1);
  line-height: 24px;
}
/* Live status/link values are shrink-to-fit 16px line boxes inside the 24px slot */
.cam-controller-field-value.cam-controller-link,
.cam-controller-field-value.cam-controller-ok {
  width: fit-content;
  line-height: 16px;
  margin: 4px 6px 10px;
}
.cam-controller-link {
  color: var(--main-tier1);
}
.cam-controller-ok {
  color: var(--status-green-text); /* live rgb(0, 158, 5) */
}
.cam-controller-mac-list {
  margin: 0 6px 6px;
  line-height: 24px;
}
.cam-controller-mac-line {
  display: flex;
  justify-content: space-between; /* live aa-place-left/right */
}
.cam-controller-mac-line span:first-child {
  flex: 0 0 208px; /* live aa-place-left fixed 208×24 */
}

/* ——— CAM Failover Group empty page ——— */
.cam-failover-page {
  position: relative;
  min-height: 100%;
  background: var(--white);
}
.cam-failover-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--font-grey-tier1);
}
.cam-failover-illustration {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eff5;
}
.cam-failover-dot,
.cam-failover-line {
  position: absolute;
  display: block;
  background: var(--white);
}
.cam-failover-dot {
  left: 26px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.cam-failover-line {
  left: 40px;
  width: 38px;
  height: 8px;
  border-radius: 2px;
}
.cam-failover-dot-1,
.cam-failover-line-1 { top: 30px; }
.cam-failover-dot-2,
.cam-failover-line-2 { top: 47px; }
.cam-failover-dot-3,
.cam-failover-line-3 { top: 64px; }
.cam-failover-title {
  margin: 0;
  color: var(--font-grey-tier1);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  line-height: 20px;
}
.cam-failover-desc {
  max-width: 560px;
  margin: 20px auto 0;
  color: rgba(65, 75, 85, 0.6);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}
.cam-failover-link {
  color: var(--main-tier1);
  text-decoration: underline;
}
.cam-failover-actions {
  margin-top: 22px;
}
.cam-failover-actions .btn-primary {
  width: 80px;
  height: 28px;
  justify-content: center;
  padding: 0 13px;
  border-color: var(--main-tier1);
  border-radius: 3px;
  background: var(--main-tier1);
  color: var(--white);
  line-height: 28px;
}
.cam-failover-actions .btn-primary:hover {
  border-color: var(--main-tier1-hover-border);
  background: var(--main-tier1-hover);
  color: var(--white);
  filter: none;
}
.cam-failover-actions .btn-primary:active {
  border-color: var(--main-tier1-active-border);
  background: var(--main-tier1-dark);
  color: var(--white);
  filter: none;
}

/* ——— CAM Log table page ——— */
.cam-log-page {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 6px;
  background: var(--white);
  color: var(--font-grey-tier1);
  font-size: 13px;
}
.cam-log-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 0 0 36px;
  padding-bottom: 8px;
}
/* CAM tables on C.dataTable (2026-10-03). Log: live `.syno-aa-log-table.v-table-wrapper`
 * pads 6px under its pager (+ the panel body's 6px = .cam-log-page pb → 12px; pas80
 * re-measure: wrapper 1168×763 = table 727 + pager 30 + 6) — the shared fill table's
 * own 6px (data-table.css), so this wrapper only stretches it. */
.cam-log-dt-wrap { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.cam-log-tools-left,
.cam-log-tools-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cam-log-btn {
  height: 28px;
  padding: 0 13px;
  border: 1px solid rgba(198, 212, 224, 0);
  border-radius: 3px;
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier1);
  font: inherit;
  line-height: 26px;
  cursor: pointer;
}
.cam-log-btn:hover {
  border-color: var(--btn-grey-border-hover);
  background: var(--btn-grey-bg);
}
.cam-log-btn:active {
  border-color: var(--btn-grey-border-active);
  background: var(--btn-grey-bg-active);
}
/* CAM / SAN Log "Export" is a live v-btn-split (pas80 2026-08-18: 87.58x28 on both),
   so all of its geometry comes from the shared .has-split component — this class is
   only a page hook now. It used to be a 88px space-between box with a 13px gap and
   no divider, which is why the two Logs disagreed with each other. */
.cam-log-export { }
.cam-log-filter-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--icon-dark-grey-tier1);
  line-height: 0;
}
.cam-log-filter-arrow {
  width: 24px;
  height: 24px;
  margin-right: -8px;
}
.cam-log-filter-arrow svg {
  display: block;
}
.cam-log-filter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--border-tier3);
  border-radius: 3px;
  background: var(--white);
  color: var(--font-grey-tier1);
  font: inherit;
  cursor: pointer;
}
.cam-log-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 216px;
  height: 28px;
  border: 1px solid var(--border-tier3);
  border-radius: 3px;
  background: var(--white);
}
.cam-log-search:focus-within,
.cam-log-filter:hover,
.cam-log-search:hover {
  border-color: var(--border-control-hover);
}
.cam-log-search input {
  width: 100%;
  height: 26px;
  padding: 0 10px 0 0;
  border: 0;
  outline: 0;
  color: var(--font-grey-tier1);
  font: inherit;
  background: transparent;
}
.cam-log-search input::placeholder {
  color: var(--font-grey-tier2);
}
.cam-log-search-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 24px;
  margin-left: 5px;
  margin-right: 1px;
  background: url("../assets/icons/cam-log-search-advanced.svg") 0 0 / 32px 72px no-repeat;
}
/* Level / status text inside a C.dataTable cell (CAM Log, Synology Tiering Logs).
 * The old hand-built .cam-log-table / .cam-log-pager markup it lived in is gone
 * (2026-10-03 data-table unify); only the coloured cell text remains. */
.cam-log-level {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 28px;
  padding: 0;
}
.cam-log-level.is-warning {
  color: #F58414;
}
.cam-log-level.is-critical {
  color: var(--red-tier1);
}
.cam-log-level.is-info {
  color: var(--font-grey-tier1);
}
/* Healthy status text in a v-table cell. Live SVC ships `.green-status`
 * (rgb(0,158,5), --status-green-text); this prototype uses the Dashboard checkmark green so
 * every "Healthy" in the product reads the same — see --status-healthy-banner. */
.cam-log-level.is-healthy {
  color: var(--status-healthy-banner);
}

/* ——— Table group node (C.dataTable `group` option) ———
 * Live SVC ".v-table-group-node-ct", measured on 10.17.194.77 SAN Manager ▸ vVols
 * (2026-08-11). A 29px title row (28px content + the shared cell rule) whose caret
 * box is 24×24 at +2px/+4px, so the group LABEL lands at the same x as the indented
 * first cell of its rows. The body wrapper clips (overflow:hidden) and is the only
 * thing that animates: `max-height 240ms ease` while .is-sliding is on it — the
 * live slide-up-down transition, ground-truthed by transitionstart/transitionend
 * (12.4ms → 246.0ms, elapsedTime 0.240). No transform, no opacity, no caret tween. */
.svc-tgroup-title {
  display: flex;
  align-items: center;
  height: 29px;
  box-sizing: border-box;
  padding-left: 4px;                       /* --v-table-cell-padding-left__group-title */
  border-bottom: 1px solid var(--border-tier2);
  color: var(--data-table-group-title-color);  /* --v-table-cell-color__group-title rgba(65,75,85,.5) */
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 13.8px;
  cursor: pointer;
  user-select: none;
}
.svc-tgroup-title:hover { color: rgba(65, 75, 85, 0.6); }
.svc-tgroup-title:active,
.svc-tgroup-title:focus { color: rgba(65, 75, 85, 0.7); }
.svc-tgroup-caret {
  flex: 0 0 24px;
  display: block;
  width: 24px;
  height: 24px;
  margin: 2px 4px 2px 0;
  color: var(--icon-dark-grey-tier1);
  fill-opacity: 0.5;                       /* icon-set31 normal; hover .6, active .7 */
  font-style: italic;                      /* live i.v-icon inherits the italic <i> */
  line-height: 0;
}
/* The caret's own hover, NOT the row's. Measured on live 2026-08-11: hovering the
 * title row 500px away from the icon lifts the LABEL to rgba(65,75,85,.6) but
 * leaves the caret at fill-opacity .5; only hovering the icon itself takes it to
 * .6 (live rule `.v-icon.icon-set31:not(.disabled):hover`, set31 vars
 * normal/hover/active = .5/.6/.7 with the colour #505A64 constant throughout). */
.svc-tgroup-caret:hover { fill-opacity: 0.6; }
.svc-tgroup-caret:active { fill-opacity: 0.7; }
.svc-tgroup-caret svg { display: block; }
.svc-tgroup-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-tgroup-body {
  position: relative;
  overflow: hidden;
}
.svc-tgroup-body.is-sliding {
  transition: max-height 240ms ease;
}
/* --v-table-cell-padding-left__group-node: rows inside a group indent to 32px so
 * their first cell's text is flush under the group label. */
.svc-tgroup-body table td:first-child {
  padding-left: 32px;
}

/* ——— Shared pagination bar (C.pagination → pg-*) ———
 * Values copied 1:1 from the converged CAM Log pager (the old .cam-log-pager block,
 * removed 2026-10-03 once every table footer became C.dataTable's) (live
 * v-pagination, sft-fsdna + pas80). pg-* names so legacy cam-log-* pages never
 * collide. font-size/color are baked in (the CAM page inherits them from
 * .cam-log-page, which a composing page may not provide); height mirrors the
 * 36px flex-basis so the bar measures the same outside a column flexbox. */
.pg-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 36px;
  height: 36px;
  margin-bottom: 6px;
  border-top: 1px solid var(--border-tier2);
  border-bottom: 1px solid var(--border-tier3);
  color: var(--font-grey-tier1);
  font-size: 13px;
}
.pg-left,
.pg-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pg-right {
  gap: 10px;
}
.pg-num,
.pg-icon,
.pg-size,
.pg-refresh {
  height: 24px;
  border: 0;
  background: transparent;
  color: var(--font-grey-tier1);
  font: inherit;
  cursor: pointer;
}
.pg-num {
  width: 24px;
  border-radius: 3px;
  line-height: 24px;
}
.pg-num.is-active {
  background: var(--main-tier1);
  color: var(--white);
  font-weight: var(--font-weight-regular);
}
/* Single-page state only (matches the CAM Log source rule, which the source
 * page hits with page "1"): the lone active number keeps the live 84px inset. */
.pg-pager.is-single .pg-icon.is-disabled + .pg-num.is-active {
  margin-left: 84px;
}
.pg-num + .pg-icon {
  margin-left: 28px;
}
.pg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  padding: 0;
  color: var(--icon-dark-grey-tier1);
}
.pg-icon.is-disabled {
  opacity: 0.35;
  cursor: default;
}
.pg-glyph,
.pg-glyph svg {
  display: block;
  width: 24px;
  height: 24px;
}
.pg-size {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 98px;
  padding: 0 10px;
  border: 1px solid var(--border-tier3);
  border-radius: 3px;
  background: var(--white);
}
/* Page-size dropdown triangle — same box as .cam-log-filter-arrow. */
.pg-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: -8px;
  color: var(--icon-dark-grey-tier1);
  line-height: 0;
}
.pg-arrow svg {
  display: block;
}
.pg-total {
  padding-left: 2px;
}
/* k of "k / N items Selected" — live v-pagination `span.selected-item` (opt-in:
   C.pagination({selectedItem}) / C.dataTable footer.selectedItem). */
.pg-total .selected-item {
  color: var(--main-tier1);
}
.pg-refresh {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--icon-dark-grey-tier1);
}
/* 1×20 divider before the refresh glyph (live v-pagination-refresh::before). */
.pg-refresh::before {
  content: "";
  flex: 0 0 auto;
  width: 1px;
  height: 20px;
  margin-right: 4px;
  background: var(--border-tier2);
}
.pg-refresh svg {
  display: block;
  width: 24px;
  height: 24px;
}
/* C.pagination({variant:'table'}) — the footer a C.dataTable attaches: live
 * div.v-pagination 30px border-box, white, pad 0 8px, border-top 1px rgba(198,212,224,.4)
 * AND border-bottom 1px rgba(198,212,224,.7) — every v-pagination measured draws both
 * (pas80 CAM Log / Edit / Set up / Adjust, SAN Log, CP User & Group, vVols; Tiering
 * Logs / Dashboard / Select shared folders 2026-10-03; the ExtJS paging bar of Log
 * Center / Task Scheduler the same). One rule here, no per-page override. */
.pg-pager.pg-pager--table {
  flex: 0 0 var(--data-table-pager-height);
  height: var(--data-table-pager-height);
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 0 8px;
  border-top: 1px solid var(--border-tier2);
  border-bottom: 1px solid var(--border-tier3);
  background: var(--white);
}

/* ——— Shared toolbar (C.toolbar → tb-*) ———
 * Values converged on the SAN Manager iSCSI Target toolbar (pas80): row =
 * .san-iscsi-toolbar (flex, 6px gap, 8px bottom pad); buttons = the .cam-log-btn
 * v-btn visual with the SAN inner .v-btn-text/.v-btn-content layers (padding on
 * the text layer, not the button); search = the CAM Log 216px advanced-search
 * box. tb-* names so legacy pages never collide. */
.tb-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  font-size: 13px;
}
.tb-btn {
  height: 28px;
  padding: 0;
  border: 1px solid rgba(198, 212, 224, 0);
  border-radius: 3px;
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier1);
  font: inherit;
  line-height: 26px;
  cursor: pointer;
}
.tb-btn-text {
  display: inline-block;
  padding: 0 13px;
}
.tb-btn-content {
  display: inline-block;
  line-height: 26px;
}
.tb-btn:hover {
  border-color: var(--btn-grey-border-hover);
  background: var(--btn-grey-bg);
}
/* :active only — live computes :focus identical to rest, and plain :focus here
   also fired on every mouse click, leaving the button stuck dark after a press. */
.tb-btn:active {
  background-color: var(--btn-grey-bg-active);
  border-color: var(--btn-grey-border-active);
}
/* Live disabled v-btn: label color unchanged — the .v-btn-text layer fades to
 * opacity .4 + cursor default (pas80 qa/san-r4-measure2.json). */
.tb-btn:disabled {
  color: var(--font-grey-tier1);
  cursor: default;
}
.tb-btn:disabled .tb-btn-text {
  opacity: 0.4;
}
.tb-btn:disabled:hover {
  border-color: rgba(198, 212, 224, 0);
  background: var(--btn-grey-bg);
}
.tb-btn:disabled:active {
  background-color: var(--btn-grey-bg);
  border-color: var(--btn-grey-border);
}
/* Primary variant — v-btn-main blue (hover #0075DB / active #006DCC measured on
 * the pas80 iSCSI empty-state Create button). */
.tb-btn-primary {
  border-color: var(--main-tier1);
  background: var(--main-tier1);
  color: var(--white);
}
.tb-btn-primary:hover {
  border-color: var(--main-tier1-hover-border);
  background: var(--main-tier1-hover);
}
.tb-btn-primary:active {
  border-color: var(--main-tier1-active-border);
  background-color: var(--main-tier1-dark);
}
.tb-btn-primary:disabled {
  color: var(--white);
}
.tb-btn-primary:disabled:hover {
  border-color: var(--main-tier1);
  background: var(--main-tier1);
}
.tb-btn-primary:disabled:active {
  background-color: var(--main-tier1);
  border-color: var(--main-tier1);
}
.tb-side {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.tb-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 216px;
  height: 28px;
  border: 1px solid var(--border-tier3);
  border-radius: 3px;
  background: var(--white);
}
.tb-search:focus-within,
.tb-search:hover {
  border-color: var(--border-control-hover);
}
.tb-search input {
  width: 100%;
  height: 26px;
  padding: 0 10px 0 0;
  border: 0;
  outline: 0;
  color: var(--font-grey-tier1);
  font: inherit;
  background: transparent;
}
.tb-search input::placeholder {
  color: var(--font-grey-tier2);
}
.tb-search-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 24px;
  margin-left: 5px;
  margin-right: 1px;
  background: url("../assets/icons/cam-log-search-advanced.svg") 0 0 / 32px 72px no-repeat;
}
/* Magnifier hover/active sprite states (same rows as the CAM Log source). */
.tb-search:hover .tb-search-icon,
.tb-search .tb-search-icon:active {
  background-position-y: -24px;
}

/* ——— Dialog / Wizard / Toast ——— */
/* The mask starts BELOW the Global Bar (live: the bar stays full-brightness and
 * clickable during modals, so apps can be switched mid-wizard/dialog). */
.dialog-backdrop { position: fixed; top: var(--taskbar-height); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.28); }
/* Mask-click blink — live SDS v-window (pas80 syno-vue-components.min.js +
 * stylesheet, qa/pas80-r7*-2026-07-17-flash.json): mousedown on a modal's mask
 * blinks the topmost modal — .blink stays 600ms (blinkShadow(3) = 100*3*2) while
 * this 0.2s steps(1) animation hard-toggles the box-shadow off/on = 3 blinks. */
@keyframes window-blink { 50% { box-shadow: none; } }
.dialog.blink, .wizard.blink { animation: 0.2s steps(1) 0s infinite normal none running window-blink; }

/* ——— Loading spin (SDS v-spin) ——— measured pas80 qa/pas80-r8*-2026-07-17-spin.json.
 * White 0.5 mask over the whole window (blocks every control beneath, incl. the
 * header X) + centered white pill (r3, shadow 0 1px 4px rgba(0,0,0,.16)) holding
 * the 24px arc spinner: 16px ring, 2px main-blue border, right-half clip;
 * outer wrap spins 2s linear 360°, middle sweeps 1.4s linear 0→200°, and the
 * ::after arc swings 1.4s ease-in −160°→−90°(40%)→160° (growing/shrinking arc). */
.spin-mask { position: absolute; inset: 0; z-index: 40; }
.spin-mask-bg { position: absolute; inset: 0; background: var(--white); opacity: 0.5; }
.spin-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--white); border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16); }
.spin-icon { display: inline-block; position: absolute; top: 4px; left: 8px;
  width: 24px; height: 24px; overflow: hidden; }
.spin-icon > i { position: absolute; width: 16px; height: 16px; top: 4px; left: 4px;
  animation: 2s linear infinite spin-icon-rotate; }
.spin-icon > i > i { display: block; position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px; clip: rect(0, 16px, 16px, 8px);
  animation: 1.4s linear infinite spin-icon-sweep; }
.spin-icon > i > i::after { content: ""; position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px; clip: rect(0, 16px, 16px, 8px);
  border: 2px solid var(--main-tier1); border-radius: 50%;
  animation: 1.4s ease-in infinite spin-icon-arc; }
@keyframes spin-icon-rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spin-icon-sweep  { 0% { transform: rotate(0deg); } 100% { transform: rotate(200deg); } }
@keyframes spin-icon-arc    { 0% { transform: rotate(-160deg); } 40% { transform: rotate(-90deg); } 100% { transform: rotate(160deg); } }
/* live .v-spin-text: 13px/20 rgb(65,75,85), padding 6 16 6 38 (38 = icon 8+24+6);
 * an empty text still sizes the pill snugly around the icon. */
.spin-text { min-height: 20px; line-height: 20px; padding: 6px 16px 6px 38px;
  font-size: 13px; color: rgb(65, 75, 85); }
.dialog, .wizard { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--white); border-radius: var(--radius-dialog); box-shadow: var(--shadow-dialog); overflow: hidden;
  /* Dialogs/wizards are FIXED size (not responsive), per design intent. */ }
/* Header title type is 12px/20 bold in BOTH live widget stacks (.v-window-header-title
 * and .sds-window-v5 .x-window-header-text, measured on pas80 2026-08-18) — not the
 * inherited 13px body size this used to fall through to. Six dialogs here had already
 * each re-declared 12px locally after being measured against live; those overrides are
 * now redundant but left in place because they also carry per-dialog padding. Live's
 * header colour is rgba(65,75,85,.85); NOT set here on purpose — the base rule would
 * cascade it into every header child, so it stays a per-dialog opt-in. */
.dialog-header { height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; font-size: 12px; line-height: 20px;
  font-weight: var(--font-weight-bold); border-bottom: 1px solid var(--border-tier2);
  cursor: move; }
.dialog-x { cursor: pointer; color: var(--icon-dark-grey-tier1); }
.dialog-body { padding: 16px; max-height: 70vh; overflow: auto; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--border-tier2); }
/* Message box (live SVC): headerless white panel used by BOTH C.alert (message
   + OK) and C.confirm (optional title + message + Cancel/OK). ONE shared spec so
   every message dialog reads consistently — measured on live fsdna (DevTools):
   the panel grows to its copy up to 654px (long copy wraps like live), body
   padding 24/30/0, footer 28/22/20/30, primary button 120×28 / #057FEB / 0 13px.
   Titled confirms cap the message at 420px so they stay compact. 8px radius. */
/* Live's message box is its OWN shadow tier: --v-message-box-window-box-shadow
 * (.v-window.v-message-box-window) = 0 4px 16px 0 rgba(0,0,0,.3), half the alpha
 * of a normal window. Without this override C.alert/C.confirm would inherit the
 * .6 window shadow off .dialog and read far too heavy. */
.dialog-msgbox { width: max-content; min-width: 480px; max-width: 654px; border-radius: 8px;
  box-shadow: var(--shadow-msgbox); }
/* Alert backdrop blocks clicks but does NOT dim (live shows the wizard at full brightness). */
.msgbox-backdrop { background: transparent; }
.dialog-msgbox-body { padding: 24px 30px 0; font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); }
/* Live authors the message-box title with its OWN token group (read off
 * .v-window.v-message-box-window on pas80 2026-08-18):
 *     --v-message-box-window-font-size__dialog-title      16px
 *     --v-message-box-window-line-height__dialog-title    var(--v-line-height-200) = 24px
 *     --v-message-box-window-margin-bottom__dialog-title  12px
 * with font-weight var(--v-font-weight-bold)=700 and colour rgb(65,75,85).
 * It is NOT the 18px this once used — the message-box title is one step BELOW a
 * wizard headline (22px), not above the 15px fieldset title. */
.dialog-msgbox-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  line-height: 24px;
}
.dialog-msgbox-message {
  max-width: 420px;
}
.dialog-msgbox-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 28px 30px 20px; }
/* C.messageBox — live `v-message-box-window` at its FIXED 580px (PAS7700_POC +
 * 10.17.91.98 remove-flow refs, 2026-10-02, panels measured 580 wide): body copy
 * spans the full 520px content box (no 420px cap), blocks sit 12px apart under
 * the title, a multi-reason list is a hanging-bullet list (bullet at the content
 * edge, text 12px in, items 6px apart), and "Note:" is the site's teal Note label. */
.dialog-msgbox-window { width: 580px; min-width: 0; max-width: none; }
.msgbox-blocks > * + * { margin-top: 12px; }
.msgbox-reasons { margin: 0; padding: 0; list-style: none; }
.msgbox-reasons > .msgbox-reason { position: relative; padding-left: 12px; }
.msgbox-reasons > .msgbox-reason + .msgbox-reason { margin-top: 6px; }
.msgbox-reasons > .msgbox-reason::before { content: '\2022'; position: absolute; left: 0; top: 0; }
.dialog-msgbox-window b { font-weight: var(--font-weight-bold); }
.msgbox-note-label { color: var(--note-teal); }
/* DSM wizard chrome — the LIVE model, measured on 10.17.91.98 (Container Manager >
 * Container > Create > "Advanced Settings") 2026-08-11.
 *
 * The blue band at the top of a wizard is TWO separate elements, not one:
 *   1. a FIXED 40px header (live `.v-window-header-wrapper.wizard-win`) carrying the
 *      wizard name + a step subtitle that is hidden until you scroll, and
 *   2. a same-blue block (live `.headline-wrap`, 740×56, bg #057FEB, padding 12px 40px
 *      20px) carrying the big step title — which lives INSIDE THE SCROLL CONTAINER as
 *      its first in-flow child.
 * That second point is the entire mechanism: nothing is animated or transformed. The
 * step title simply scrolls out of the viewport under the header (measured: its y
 * relative to the window top is exactly 40 − scrollTop, 1:1, all the way to −80; its
 * opacity never changes), and the header's subtitle ramps in over the first 24px of
 * scroll (see the linear ramp in C.openWizard).
 * Only the eyebrow row (wizard name) is the drag handle — the step title is not
 * draggable (live pas80 r5c, user-confirmed 2026-07-16); on this machine the draggable
 * region is exactly that 40px header, which is what the eyebrow now spans. */
/* ——— Wizard header band — ONE shared look for every wizard ———————————————
 * All of it measured on pas80 2026-08-18 (live CAM Create Failover Group wizard),
 * cross-checked against the SVC token block that authors it library-wide on
 * `.v-wizard-window.v-window`:
 *     --v-wizard-window-padding-top/right/bottom/left__header  8px / 0 / 8px / 18px
 *     --v-wizard-window-size__icon                             24px
 *       → header height = calc(8 + 24 + 8)                     = 40px
 *     --v-wizard-window-font-size__header-text    var(--v-font-size-small-tier1) = 12px
 *     --v-wizard-window-font-weight__header-text  var(--v-font-weight-bold)      = 700
 *     --v-wizard-window-line-height__header-text  var(--v-line-height-100)       = 20px
 *     --v-wizard-window-color__header-text        var(--v-color-white)           = #FFF
 *     --v-wizard-window-opacity__header-text      0.7
 *     --v-wizard-window-width/height__tool        24px / 24px
 * The header text's dimming is an OPACITY on the text wrapper with a pure-white
 * colour — NOT a white-with-alpha colour. That matters because the scroll-in step
 * subtitle nests inside it, so live's subtitle lands at 0.7 x its own ramp; two
 * wizards here used to fake the parent with rgba(255,255,255,.76) instead. */
.wizard-hero { position: relative; background: var(--main-tier1); color: var(--font-white-tier1);
  height: 40px; box-sizing: border-box; padding: 8px 0 8px 18px; overflow: hidden; }
.wizard-hero-eyebrow { cursor: move; }
/* Live's close tool is the SAME 24x24 icon the dialogs use (C.CLOSE_SVG). Its
 * colour is a constant pure white in every state; what changes on hover is the
 * SVG **fill-opacity**, 0.7 -> 0.85 -> 1 (rest / hover / active), straight off
 * SVC's library-wide --fill-opacity--* ladder. That is why the control reads
 * grey-ish at rest on the blue band and turns white under the pointer.
 * Measured on pas80 2026-08-19 by diffing EVERY computed property of the tool,
 * both its pseudo-elements, its <svg> and its <path> between rest and a
 * pointer-proven hover — `fill-opacity` is an SVG presentation property, so a
 * probe that only reads color / fill / opacity / background misses it entirely. */
.wizard-hero .dialog-x { position: absolute; top: 8px; right: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; color: var(--font-white-tier1); line-height: 0; }
.wizard-hero .dialog-x svg { display: block; width: 24px; height: 24px;
  fill-opacity: var(--icon-fill-opacity); }
.wizard-hero .dialog-x:hover svg { fill-opacity: var(--icon-fill-opacity-hover); }
.wizard-hero .dialog-x:active svg { fill-opacity: var(--icon-fill-opacity-active); }
/* This is live's `.v-window-header-text`, measured node-for-node on pas80:
 *   box at 18/10 inside the window, 20px tall — i.e. `margin: 2px 0` on top of
 *   the header's 8px padding-top (a MARGIN, not padding: the box itself sits at
 *   10, it is not a 20px line pushed down inside a 24px box)
 *   `padding-left: 2px` on top of the header's 18px, putting the title text at 20
 *   `opacity: 0.7` with a pure-white colour — the subtitle nests inside, so its
 *   scroll-in ramp multiplies against this 0.7 exactly as live does
 * margin-right 48px reserves what live reserves via flex siblings: the 24px close
 * tool + its 8px margin-left + the 16px right gap. Live's text wrapper is 834 wide
 * in a 900 window (834 + 18 + 48 = 900), so a long title clips before the ✕
 * instead of running under it. */
.wizard-hero-eyebrow { margin: 2px 48px 2px 0; padding-left: 2px; height: 20px;
  font-size: 12px; font-weight: var(--font-weight-bold);
  line-height: 20px; color: var(--font-white-tier1); opacity: 0.7; }
/* Ramps 0 → 1 over the first 24px of body scroll. C.openWizard writes the inline
 * opacity frame by frame (live writes the same inline style); this is only the
 * resting state before that runs. */
.wizard-hero-inline-step { display: inline; font-weight: var(--font-weight-regular); opacity: 0; }
/* Live `.headline-wrap` — same blue as the header, but it scrolls with the content. */
.wizard-headline { flex: 0 0 auto; background: var(--main-tier1); color: var(--font-white-tier1);
  padding: 12px 40px 20px; }
/* live .headline: 16/700/24 white, inset 40px from the window edge — the inset
 * comes from .wizard-headline's own 40px padding, so no margin here. */
.wizard-hero-title { font-size: 16px; font-weight: var(--font-weight-bold); line-height: 24px; }
/* ONE scrollbar per wizard: the synthetic .wizard-scrollbar C.openWizard draws (live
 * `.step-scrollbar.v-scrollbar`: its y-rail renders only while the step overflows —
 * pas80 CAM Create Failover Group / SM Create Volume 2026-10-03, view scrollbar-width
 * none + ::-webkit-scrollbar none). The native bar is hidden on EVERY wizard body, so
 * the two can never stack into one dark, wide bar (QA round 3 #2: the CAM wizard,
 * the only variant that had not hidden it, showed both).
 * The scroller itself carries NO padding — live's `.step-scrollbar` is bare and its two
 * children (.headline-wrap / .step-container) each pad themselves. That is what lets the
 * headline run full-bleed to the window edges while the step content stays inset. */
.wizard-body { padding: 0; max-height: 70vh; overflow: auto; scrollbar-width: none;
  color: var(--font-grey-tier1); font-size: 13px; }
.wizard-body::-webkit-scrollbar { display: none; }
.wizard-step { padding: 22px 40px 10px; }
/* live y-bar: 8px at the left of a 10px rail flush right → 2px off the window edge.
 * top / bottom = the scroll body's edges, written by C.openWizard on every sync. */
.wizard-scrollbar {
  position: absolute;
  right: var(--scrollbar-inset);
  top: 0;
  bottom: 0;
  width: var(--wizard-scrollbar-size);
  opacity: 0;
  pointer-events: none;
}
.wizard.has-scrollbar .wizard-scrollbar {
  opacity: 1;
}
.wizard-scrollbar-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--scrollbar-size);
  min-height: var(--scrollbar-thumb-min-height);
  border-radius: var(--scrollbar-radius);
  background: var(--scrollbar-thumb);
  transform: translateY(0);
  transition: background-color .2s linear;   /* live rail:hover darken */
}
.wizard-scrollbar.is-hover .wizard-scrollbar-thumb { background: var(--scrollbar-thumb-hover); }
.wizard-footer { position: relative; z-index: 2; display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px;
  border-top: 1px solid var(--border-tier2); background: var(--white); }
.wizard-footer .btn-primary { border-radius: 14px; padding: 0 26px; }
/* Every wizard's Back / Cancel is a bare .btn-default, and .btn's own fallback is
   WHITE — a fill live does not paint on any button (36 measured on pas80
   2026-08-20, all grey or blue). Only .dual-pool-wizard and .cam-fovr-wizard had
   ever scoped it back to grey, so Create Volume and the Tiering wizard rendered a
   white Back button. Give it to every wizard here instead, on the shared grey
   ladder: fill holds on hover and only the rim appears, fill darkens on press. */
.wizard-footer .btn-default {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border);
  color: var(--font-grey-tier1);
}
.wizard-footer .btn-default:hover { background: var(--btn-grey-bg); border-color: var(--btn-grey-border-hover); }
.wizard-footer .btn-default:active { background: var(--btn-grey-bg-active); border-color: var(--btn-grey-border-active); }
/* ——— Toast (live SVC ".v-toast") ———
   Measured on pas80 2026-07-28 (Control Panel > User & Group > User Home, via the
   window component's own getToastBox): a dark pill positioned INSIDE the app window
   — 16px below the window's top edge, centered on the WINDOW (proved by resizing the
   window: it re-centers on the window, not the viewport) — so it overlaps the window
   header. 300ms fadeInUp rising its own height, then a 5s lifetime and a HARD removal
   (live has no leave animation). The SUCCESS variant carries NO icon; only live's
   failure branches pass one (.has-icon + the red status-error glyph).
   The Storage Create-Dual-Pool wizard keeps its own converged .dp-toast (below). */
.toast {
  /* Centred with left:0/right:0 + margin:auto over a max-content width, NOT with
     left:50% + translateX(-50%). An absolutely-positioned box with only `left`
     shrink-to-fits into the space RIGHT OF that edge, i.e. half the container —
     fine on a 1440px app window, but inside the 600px Apply-License dialog it
     left the pill 300px and wrapped this one-line message onto two. max-width
     still caps it, so a genuinely long message wraps exactly like live. */
  position: absolute; top: 16px; left: 0; right: 0; margin: 0 auto; z-index: 2000;
  width: max-content;
  display: flex; align-items: center; box-sizing: border-box;
  background: rgba(30, 32, 34, 0.8);
  border: 1px solid rgba(30, 32, 34, 0);      /* live: 1px transparent, counted in the box (36px pill) */
  border-radius: 4px; padding: 5px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #fff; font: var(--font-weight-regular) 13px/20px Verdana, Arial, sans-serif;
  max-width: calc(100% - 40px);
  animation: toast-in 0.3s ease both;
}
/* Entrance played once — freeze it. SM.renderInto detaches and re-appends the
   window's .win-overlay across an in-app page change (so an open dialog survives),
   and re-inserting a node RESTARTS every CSS animation under it. Without this the
   pill faded up again on every module-list switch, reading as a brand-new toast. */
.toast.is-in { animation: none; }
.toast-text { padding: 2px 0; }                /* live .v-toast-text — 24px text box */
.toast.has-icon { padding-left: 7px; }
.toast svg { width: 24px; height: 24px; flex-shrink: 0; margin-right: 6px; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(100%); }   /* centring is margin:auto now, not a transform */
  to   { opacity: 1; transform: translateY(0); }
}

/* ——— Field-error balloon (shared) ———
   The red validation tip the Storage volume-size input already uses (.cv-alloc-error,
   which stays as-is on that converged screen): a red pill ABOVE the field with a
   downward caret near its left edge. Confirmed against live (pas80 2026-07-28, CAM >
   Failover Group > Edit with an empty name): the field paints #E64040 / 8% red and
   the balloon sits above it — and it OVERLAPS THE WINDOW HEADER, i.e. live does not
   clip it to the scrolling form. So the host parks this node on the .wizard/.dialog
   frame and sets left/top from the field's rect (see showNameTip() in cam/failover.js);
   a body-scroll hides it again. Visible only while .is-shown.
   Geometry re-measured off the live crop: 24px tall (2+20+2, the same SVC text-box
   arithmetic as the toast), 10px above the field, caret 5px tall centred 18px from the
   balloon's left edge. (Storage's older .cv-alloc-error keeps its own numbers — that
   screen was measured separately and is already signed off.) */
.form-error-tip {
  position: absolute; max-width: 440px; padding: 2px 11px;
  background: #FF6666; color: #fff;
  font-size: 13px; line-height: 20px;
  border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease; z-index: 6;
}
.form-error-tip.is-shown { opacity: 1; visibility: visible; }
.form-error-tip::after {
  content: ''; position: absolute; top: 100%; left: 13px;
  border: 5px solid transparent; border-top-color: #FF6666;
}

/* Storage Manager Create Dual Pool intro wizard. */
.dual-pool-overlay .dialog-backdrop {
  background: transparent;
}
.dual-pool-wizard {
  width: 820px !important;
  height: 580px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}
/* The blue band is still 96px tall at rest — it is just split into the fixed 40px
   header + the 56px headline that scrolls away (see the base .wizard-hero comment).
   Every measured position is preserved: eyebrow at y13, step title at y54. */
.dual-pool-wizard .wizard-hero {
  flex: 0 0 40px;
  overflow: hidden;
}
.dual-pool-wizard .wizard-headline {
  height: 56px;              /* 40 + 56 = the 96px blue band this wizard had as one hero */
  box-sizing: border-box;
  overflow: hidden;
}
/* Header band, close icon and step title all come from the shared base now.
 * The three rules that used to live here (a 16px text-glyph close, a
 * rgba(255,255,255,.76) 13/16 eyebrow, an 18px/600 title at margin-left 20) were
 * none of them live values; the `.is-scrolled` eyebrow re-colour went with them —
 * live keeps the header text at a constant 0.7 and animates ONLY the subtitle. */
.dual-pool-wizard .wizard-body {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
/* The step content's own inset (was the body's padding before the headline moved in).
   flex 1 0 auto = fill the leftover height like the step content used to as a direct
   flex child, but never shrink — so overflowing steps still scroll the body. */
.dual-pool-wizard .wizard-step {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding: 30px 40px 6px;
}
.dual-pool-wizard.is-configure-drives .wizard-body {
  overflow: visible;
}
/* This step does NOT scroll as a whole — the drive list and the RAID-array/Hot-Spare
   column each scroll on their own (.dp-panel-left / .dp-panel-right). For that the
   panels need a BOUNDED height to overflow against, so here the step must be a
   shrinkable, min-height:0 flex item instead of the default "grow to content, never
   shrink" (which is what lets a normal overflow-y:auto step scroll the whole body).
   Height works out identical to the pre-headline layout: 491 body − 56 headline = 435. */
.dual-pool-wizard.is-configure-drives .wizard-step {
  flex: 1 1 0;
  min-height: 0;
}
.dual-pool-wizard.is-configure-drives .wizard-scrollbar {
  display: none;
}
.dual-pool-wizard.is-confirm-settings .wizard-step {
  padding-top: 24px;
}
.dual-pool-wizard .wizard-footer {
  height: 49px;
  flex: 0 0 49px;
  padding: 10px 24px;
}
.dual-pool-wizard .wizard-footer .btn-primary,
.dialog-msgbox-footer .btn-primary {
  min-width: 120px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  justify-content: center;
  text-align: center;
}
.dialog-msgbox-footer .btn-default {
  min-width: 80px;
  border-radius: var(--radius-pill);
  background: var(--btn-grey-bg);
  border-color: var(--border-transparent);
  justify-content: center;
  text-align: center;
}
.dialog-msgbox-footer .btn-default:hover {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border-hover);
}
/* Back = grey pill: transparent border → grey on hover, no white bg (live). */
/* geometry only — the grey ladder comes from .wizard-footer .btn-default above */
.dual-pool-wizard .wizard-footer .btn-default {
  min-width: 80px;
  border-radius: var(--radius-pill);
  justify-content: center;
  text-align: center;
}
/* :hover/:active also inherited from .wizard-footer .btn-default */
.dual-pool-intro {
  max-width: 740px;
  margin: 0;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.dual-pool-intro .link {
  color: var(--main-tier1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dual-pool-figure {
  margin-top: 96px;
  text-align: center;
}
.dual-pool-title {
  margin-bottom: 10px;
  color: var(--font-grey-tier1);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 17px;
}
.dual-pool-box {
  width: 590px;
  height: 116px;
  margin: 0 auto;
  border: 2px solid #c8d7e4;
  background: var(--white);
  box-sizing: border-box;
}
.dual-pool-bars,
.dual-pool-numbers {
  display: grid;
  grid-template-columns: repeat(26, 18px);
  column-gap: 4px;
  justify-content: center;
}
.dual-pool-bars {
  position: relative;
  padding-top: 11px;
}
.dual-pool-drive {
  width: 18px;
  height: 72px;
}
.dual-pool-drive-a,
.dual-pool-drive-b {
  height: 36px;
  box-sizing: border-box;
}
.dual-pool-drive-a {
  border: 1px solid #0aa681;
  border-bottom: 0;
  background: #c7e8d8;
}
.dual-pool-drive-b {
  border: 1px solid var(--main-tier1);
  border-top: 0;
  background: #c8def7;
}
.dual-pool-midline {
  position: absolute;
  left: -18px;
  right: -18px;
  top: 47px;
  border-top: 2px dashed #3d4751;
}
.dual-pool-numbers {
  padding: 6px 11px 0;
}
.dual-pool-numbers span {
  min-width: 0;
  color: var(--font-grey-tier1);
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}
.dual-pool-legend {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 13px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 16px;
}
.dual-pool-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dual-pool-legend-swatch {
  width: 8px;
  height: 8px;
  display: inline-block;
}

/* Create Volume wizard — step 1 (Choose the location of the volume). */
.create-volume-overlay .dialog-backdrop {
  background: transparent;
}
.create-volume-wizard .wizard-step {
  padding-top: 24px;
}
.create-volume-wizard .wizard-body {
  overflow: hidden;
}
.cv-location-step {
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.cv-desc {
  max-width: 740px;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 20px;
}
.cv-form {
  display: grid;
  grid-template-columns: 300px 1fr;
  row-gap: 6px;
  align-items: start;
}
.cv-label {
  min-height: 28px;
  padding: 4px 0;
  margin-right: 8px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.cv-managed-label {
  display: inline-flex;
  align-items: center;
}
.cv-control {
  min-height: 28px;
}
.cv-pool-select {
  width: 300px;
}
.cv-figure {
  margin-top: 34px;
  text-align: center;
}
.cv-chart-title {
  margin-bottom: 10px;
  color: var(--font-grey-tier1);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 24px;
}
.cv-pool-chart {
  position: relative;
  width: 624px;
  height: 116px;
  margin: 0 auto;
}
.cv-chart-frame {
  position: absolute;
  left: 16px;
  top: 0;
  width: 592px;
  height: 116px;
  border: 2px solid rgba(198, 212, 224, 0.7);
  border-radius: 2px;
  box-sizing: border-box;
  background: var(--white);
}
.cv-chart-bars,
.cv-chart-numbers {
  position: absolute;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(26, 18px);
  column-gap: 4px;
}
.cv-chart-bars {
  top: 12px;
}
.cv-chart-drive {
  width: 18px;
  height: 72px;
}
.cv-chart-drive-a,
.cv-chart-drive-b {
  height: 36px;
  box-sizing: border-box;
}
/* The NON-selected controller's row is dimmed (fill .2 / border-alpha .5,
   verified live: fill-opacity:.4 × a .5 <g> wrapper = .2; border's own opacity
   1 × .5 = .5) while the selected row uses its full/normal tint (fill .4,
   solid border) — same recipe for either color, just swapped by selection.
   background-clip:padding-box keeps the dimmed border compositing against the
   white backdrop instead of the row's own already-tinted background. */
.cv-chart-drive-a {
  border-bottom: 0;
}
.cv-chart-drive-a.is-normal {
  border: 1px solid #0C997D;
  border-bottom: 0;
  background: rgba(12, 153, 125, 0.4);
}
.cv-chart-drive-a.is-dim {
  border: 1px solid rgba(12, 153, 125, 0.5);
  border-bottom: 0;
  background: rgba(12, 153, 125, 0.2);
  background-clip: padding-box;
}
.cv-chart-drive-b {
  border-top: 0;
}
.cv-chart-drive-b.is-normal {
  border: 1px solid #0A78D9;
  border-top: 0;
  background: rgba(10, 120, 217, 0.4);
}
.cv-chart-drive-b.is-dim {
  border: 1px solid rgba(10, 120, 217, 0.5);
  border-top: 0;
  background: rgba(10, 120, 217, 0.2);
  background-clip: padding-box;
}
/* Group-level highlight for the selected controller's whole row — a single rect
   over the individual bars (live: <rect fill-opacity=".2" stroke-width="2">),
   distinct from each bar's own 1px border. Color comes from the -a/-b modifier
   so the same shell works for either controller. */
.cv-chart-highlight {
  position: absolute;
  left: 28px;
  right: 28px;
  box-sizing: border-box;
  pointer-events: none;
}
.cv-chart-highlight-a {
  top: 12px;
  height: 36px;
  border: 2px solid #0C997D;
  background: rgba(12, 153, 125, 0.2);
}
.cv-chart-highlight-b {
  top: 48px;
  height: 36px;
  border: 2px solid #0A78D9;
  background: rgba(10, 120, 217, 0.2);
}
.cv-chart-midline {
  position: absolute;
  left: 0;
  right: 0;
  top: 47px;
  border-top: 2px dashed var(--icon-dark-grey-tier1);
}
/* left:0/right:0 + width:fit-content + margin:auto centers the label regardless
   of its text length (measured live: absolute width varies with "Controller A/B"). */
.cv-chart-callout {
  position: absolute;
  left: 0;
  right: 0;
  top: 55px;
  width: fit-content;
  margin: 0 auto;
  padding: 2px 8px;
  border-radius: 3px;
  background: #0A78D9;
  color: var(--font-white-tier1);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  font-family: Roboto, Verdana, Arial, sans-serif;
  line-height: 18px;
  white-space: nowrap;
}
/* Controller A variant (Figma node 28396:8779) — same badge, sits inside the
   green row instead of the blue one, and picks up Controller A's green. */
.cv-chart-callout.is-a {
  top: 19px;
  background: #0C997D;
}
/* Native <b> defaults to font-weight 700 (bolder than 400); live measures the
   "Controller B" run at 600 specifically — kept consistent for Controller A too. */
.cv-chart-callout b {
  font-weight: 600;
}
.cv-chart-numbers {
  top: 86px;
  color: var(--font-grey-tier1);
  font-size: 12px;
  line-height: 14px;
}
.cv-chart-numbers span {
  min-width: 0;
  text-align: center;
}
.cv-chart-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 12px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.cv-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cv-chart-swatch {
  width: 8px;
  height: 8px;
  display: inline-block;
}
.cv-chart-swatch-a {
  background: #0C997D;
}
.cv-chart-swatch-b {
  background: #0A78D9;
}

/* Create Volume wizard — step 2 (Allocate volume capacity) */
.input.cv-desc-input {
  width: 276px;
  height: 28px;
}
.cv-static-text {
  display: flex;
  align-items: center;
  min-height: 28px;
  color: var(--font-grey-tier1);
  font-size: 13px;
}
.cv-alloc-input-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.input.cv-alloc-input {
  width: 200px;
  height: 28px;
}
.cv-unit-select {
  width: 72px;
}
.cv-unit-select .dropdown-trigger {
  height: 28px;
  min-width: 72px;                 /* override shared 98px so the box hugs the unit + caret */
}
.cv-alloc-paren {
  margin-left: 6px;                /* clear the dropdown so "(… GB)" never tucks under it */
  color: var(--font-grey-tier2);
  font-size: 13px;
}
.cv-alloc-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
/* GB-only mode (< 1 TB available): the field is a 144×28 bordered box (live
   input-container) holding a borderless input + an inline grey "GB" suffix (live
   suffix-wrapper, margin-left 6px), with Max + tip on the same row (no "(N GB)"
   hint to push them down). */
.cv-alloc-inbox {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  width: 144px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--border-tier3);
  border-radius: var(--radius-input);
  background: var(--white);
}
.cv-alloc-inbox:focus-within { border-color: var(--main-tier1); }
.cv-alloc-inbox .cv-alloc-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--font-grey-tier1);
}
.cv-alloc-inbox .cv-alloc-input:focus { outline: none; }
.cv-alloc-suffix { margin-left: 6px; color: var(--font-grey-tier2); font-size: 13px; }
.cv-alloc-control.is-gb-only .cv-alloc-actions { margin-top: 0; margin-left: 4px; }
/* Error state paints the whole box (its inner input stays borderless/transparent). */
.cv-alloc-control.is-error .cv-alloc-inbox { border-color: var(--red-tier1); background: rgba(230, 64, 64, 0.08); }
.cv-alloc-control.is-error .cv-alloc-inbox .cv-alloc-input { background: transparent; }
/* Anchor for the absolutely-positioned validation balloon. */
.cv-alloc-control { position: relative; }
/* Red validation balloon above the amount field, with a downward pointer near
   the field's left edge — matches the live error tip. Hidden by default: it
   only shows on HOVER while the field is in error, or when PINNED (auto-shown
   after Next); it fades in like the live tooltip. */
.cv-alloc-error {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 9px;
  max-width: 440px;
  padding: 6px 11px;
  background: #FF6666;                 /* live error-tooltip red (rgb 255,102,102) */
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 6;
}
.cv-alloc-control.is-error:hover .cv-alloc-error,
.cv-alloc-control.tip-pinned .cv-alloc-error { opacity: 1; visibility: visible; }
.cv-alloc-error::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 26px;
  border: 6px solid transparent;
  border-top-color: #FF6666;
}
/* Invalid amount: live uses a distinct darker red border (#E64040) + 8% fill.
   Driven by the control's error state so border + tooltip stay in sync. */
.cv-alloc-control.is-error .cv-alloc-input,
.cv-alloc-control.is-error .cv-alloc-input:focus { border-color: var(--red-tier1); background: rgba(230, 64, 64, 0.08); }

/* Create Volume wizard — step 3 (Configure data deduplication) */
.cv-dedupe-step {
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.cv-dedupe-desc {
  max-width: 720px;
  margin: 8px 0 18px;
  font-size: 13px;
  line-height: 20px;
}
.cv-dedupe-link {
  margin-left: 0;
  color: var(--main-tier1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cv-dedupe-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
  cursor: pointer;
  user-select: none;
}
.cv-dedupe-note {
  margin: 0 0 0 28px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.cv-dedupe-note strong {
  font-weight: var(--font-weight-bold);
}

/* Create Dual Pool wizard — step 2 (Configure dual pool properties) */
.dp-config-desc { font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); margin: 0 0 20px; }
.dp-form-grid { display: grid; grid-template-columns: 250px 1fr; row-gap: 14px; align-items: start; }
.dp-form-label { font-size: 13px; color: var(--font-grey-tier1); line-height: 28px; }
.dp-form-ctrl { display: flex; flex-direction: column; }
/* Input and dropdown share one width + height so they line up (issue #1). */
input.dp-input-full { width: 300px; height: 28px; }
.dp-raid-select { width: 300px; margin-bottom: 10px; }
.dp-raid-info { background: var(--row-selected); border-radius: 3px; padding: 14px 20px; }
.dp-raid-info-list { list-style: none; margin: 0 0 10px; padding: 0; }
.dp-raid-info-list li { font-size: 13px; line-height: 24px; color: var(--font-grey-tier1); padding-left: 14px; position: relative; }
.dp-raid-info-list li::before { content: '•'; position: absolute; left: 0; }
.dp-raid-stat { color: var(--main-tier1); font-size: 13px; font-weight: var(--font-weight-bold); line-height: 24px; }
.dp-raid-info-desc { font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); margin: 0; }

/* Info icon (real "whitetip" asset) + hover white tooltip (issues #5, #6). */
.dp-raid-info-icon { display: block; width: 20px; height: 20px; }
/* Info-icon trigger; the bubble itself is the shared cursor-following .hover-tip
   (variant "white"), rendered in #overlay-layer so it is never clipped by the wizard. */
.dp-tip { display: inline-flex; align-items: center; vertical-align: -5px; margin-left: 4px; cursor: default; }

/* ——— Configure drives (wizard step 3): interactive drag-and-drop two-panel ——— */
.dp-cd-intro { font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); margin: 0 0 14px; }
.dp-cd-num { color: var(--main-tier1); font-weight: var(--font-weight-bold); }

/* Two-panel layout */
.dp-cd { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dp-two-panel { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.dp-two-panel.dp-right-no-scroll { overflow: visible; }
/* Both panels scroll with the shared .svc-scroll bar (class added in _shared.js). */
/* 4px bottom padding: at full scroll the last drive keeps a breather before the
   grey footer line (live: last-item margin-bottom 4 + grids margin-bottom 6 ≈ 10px
   total; the flex gap alone leaves no trailing space). */
.dp-panel-left { width: 327px; flex-shrink: 0; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.dp-panel-divider { width: 1px; background: rgba(198,212,224,0.4); flex-shrink: 0; margin: 0 16px; }
.dp-panel-right { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; gap: 12px; padding-bottom: 4px; }
.dp-panel-right.dp-no-scroll {
  overflow: visible;
}

/* Drive tree header */
.dp-drive-tree-header { font-weight: var(--font-weight-bold); font-size: 13px; line-height: 20px;
  color: var(--font-grey-tier1); cursor: pointer; display: flex; align-items: center;
  height: 28px; padding: 0 6px 0 4px; border-radius: 5px; user-select: none; flex-shrink: 0; }
.dp-drive-tree-header:hover { background: rgba(5,127,235,0.06); }
/* Real live sprite (ext-3.4/ux 2x cate_tree_arrow, 40×80 → 20×40 css, 2 frames):
   frame 0 = expanded (down), frame 1 = collapsed (right). Instant swap — live has
   NO rotation transition. */
.dp-tree-arrow { width: 20px; height: 20px; flex-shrink: 0;
  background: url(../assets/img/sm-cate-tree-arrow.png) 0 0 / 20px 40px no-repeat; }
.dp-tree-arrow.is-collapsed { background-position: 0 -20px; }
.dp-drive-back-icon { display: none; align-items: center; justify-content: center;
  margin-left: auto; width: 24px; height: 24px; flex-shrink: 0; cursor: pointer;
  color: rgba(80,90,100,0.5); }
.dp-drive-back-icon:hover { color: rgba(80,90,100,0.9); }
.dp-drive-tree-header:hover .dp-drive-back-icon.dp-show { display: flex; }

/* Drive items */
.dp-drive-tree-items { display: flex; flex-direction: column; gap: 6px; }
.dp-drive-item { height: 28px; padding: 0 8px 0 24px; font-size: 13px; line-height: 20px;
  color: var(--font-grey-tier1); cursor: pointer; display: flex; align-items: center;
  gap: 4px; border: 1px solid transparent; border-radius: 5px; box-sizing: border-box;
  user-select: none; overflow: hidden; }
.dp-drive-item .dp-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-drive-item:hover:not(.dp-assigned) { background: rgba(5,127,235,0.06); }
.dp-drive-item.dp-selected { background: rgba(5,127,235,0.12); border-color: transparent; }  /* live "chosen" */
.dp-drive-item.dp-dragging { background: rgba(5,127,235,0.06); opacity: 0.4; }
.dp-drive-item.dp-assigned { cursor: default; }
.dp-drive-item.dp-assigned .dp-drive-icon,
.dp-drive-item.dp-assigned .dp-item-name { opacity: 0.35; }
.dp-drive-item.dp-assigned:hover { background: rgba(0,0,0,0.02); }
.dp-item-back { display: none; align-items: center; justify-content: center;
  margin-left: auto; cursor: pointer; width: 24px; height: 24px; flex-shrink: 0;
  color: rgba(80,90,100,0.5); }
.dp-item-back:hover { color: rgba(80,90,100,0.9); }
.dp-drive-item.dp-assigned:hover .dp-item-back { display: flex; }
.dp-drive-icon { width: 24px; height: 24px; flex-shrink: 0; }

/* Drop sections (right panel) */
.dp-drop-section { display: flex; flex-direction: column; gap: 6px; }
.dp-drop-header { font-weight: var(--font-weight-bold); font-size: 13px; color: var(--font-grey-tier1);
  display: flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 42px 4px 0;
  position: relative; box-sizing: border-box; }
.dp-array-clear { display: none; position: absolute; top: 2px; right: 12px; cursor: pointer;
  width: 24px; height: 24px; border: none; background-color: transparent;
  background-image: url("../assets/img/sm-icn-remove.png"); background-size: 24px 72px;
  background-position: 0 0; background-repeat: no-repeat; padding: 0; }
.dp-array-clear:hover { background-position: 0 -24px; }
.dp-array-clear:active { background-position: 0 -48px; }
.dp-drop-header.dp-has-drives .dp-array-clear { display: flex; }
.dp-drop-slots { display: flex; flex-direction: column; gap: 6px; }

/* Drop slots */
.dp-slot { height: 28px; padding: 0 8px 0 12px; border: 1px dashed rgba(198,212,224,0.7);
  border-radius: 4px; display: flex; align-items: center;
  font-size: 13px; color: rgba(65,75,85,0.4); position: relative; }
.dp-slot.dp-over { border-style: solid; border-color: var(--main-tier1); background: rgba(5,127,235,0.1); }
/* Invalid target while the drag holds a hot-spare drive (live: drog-disk-hover-cls-invalid).
   #E64040 = live's field/drag error red (same family as .cv-alloc error) — distinct
   from --status-error #E8462E. */
.dp-slot.dp-over-invalid { border-style: solid; border-color: var(--red-tier1); background: rgba(230,64,64,0.1); }
.dp-slot.dp-filled { border-style: dashed; border-color: rgba(198,212,224,0.7);
  background: var(--white); color: var(--font-grey-tier1); gap: 4px; cursor: default;
  padding-right: 44px; }
.dp-slot-icon { width: 24px; height: 24px; flex-shrink: 0; }
.dp-slot-name { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-slot-remove { display: block; position: absolute; top: 1px; right: 12px;
  width: 24px; height: 24px; cursor: pointer; flex-shrink: 0;
  background-image: url("../assets/img/sm-icn-remove.png"); background-size: 24px 72px;
  background-position: 0 0; background-repeat: no-repeat; }
.dp-slot-remove:hover { background-position: 0 -24px; }
.dp-slot-remove:active { background-position: 0 -48px; }

/* Capacity footer */
.dp-cd-foot { display: flex; justify-content: flex-end; align-items: center;
  margin: 6px 0 0; padding: 4px 0; border-top: 1px solid rgba(198,212,224,0.4);
  font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); }
.dp-cap-value { margin-left: 4px; }
.dp-cd-foot strong { font-weight: var(--font-weight-bold); color: var(--main-tier1); }
.dp-cap-tip { display: inline-flex; align-items: center; }
.dp-cap-tip[hidden] { display: none; }

/* ——— Confirm settings (wizard step 4): host of the C.dataTable summary table ——— */
.dp-confirm {
  flex: 1;
  min-height: 0;
}

/* Drag ghost — live: 311px stacked cards flush at 28px each, cursor +20/+20;
   a hot-spare card flips to the red "drag-invalid" pair over a RAID slot. */
.dp-drag-ghost { position: fixed; pointer-events: none; z-index: 10001; display: none;
  flex-direction: column; gap: 0; font-size: 13px; color: var(--font-grey-tier1); white-space: nowrap; }
.dp-drag-ghost-item { width: 311px; height: 28px; box-sizing: border-box;
  background: #E6F3FD; border: 1px solid rgba(5,127,235,0.2);
  border-radius: 5px; padding: 0 8px 0 23px; display: flex; align-items: center;
  gap: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.dp-drag-ghost-item .dp-item-name { overflow: hidden; text-overflow: ellipsis; }
.dp-drag-ghost-item.dp-invalid,
.dp-drag-ghost-header.dp-invalid { background: rgb(253,236,236); border-color: rgba(230,64,64,0.2); }
.dp-drag-ghost-header { width: 311px; height: 28px; box-sizing: border-box; padding: 0 0 0 24px;
  background: rgb(227,238,252); border: 1px solid rgba(5,127,235,0.2); border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08); display: flex; align-items: center; cursor: move; }
.dp-drag-ghost-host-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-weight: var(--font-weight-bold); line-height: 26px; }
.dp-drag-ghost-count { flex: 0 0 auto; padding-right: 8px; color: rgba(65,75,85,0.6); line-height: 26px; }

/* Left-list sub-group headers (live .sds-space-disk-container.host-info — the
   "PAX224-5 (3/3)" / "Hot Spare" rows): 28px bold row, own collapse chevron.
   The chevron centers via the shared .dp-tree-arrow rule (same as the host
   header); spacing to the drives below is the list's own 6px flex gap. */
.dp-group-header { display: flex; align-items: center; height: 28px;
  padding: 0 6px 0 4px;   /* same inset as the host header — arrows/text line up */
  border-radius: 5px; cursor: pointer; user-select: none;
  font-weight: var(--font-weight-bold); font-size: 13px; line-height: 20px;
  color: var(--font-grey-tier1); }
.dp-group-header:hover { background: rgba(5,127,235,0.06); }
/* hover-revealed per-group Return button (same affordance as the host header) */
.dp-group-header:hover .dp-drive-back-icon.dp-show { display: flex; }

/* Wizard-scoped error toast (live .v-toast.has-icon: dark bar overlapping the blue
   header, centered, 300ms fadeInUp rising 36px, removed abruptly after ~5s). */
.dp-toast { position: absolute; top: 16px; left: 50%; z-index: 2000;
  display: flex; align-items: center; gap: 8px;
  background: rgba(30,32,34,0.8); border-radius: 4px; padding: 5px 15px 5px 7px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  color: #fff; font-size: 13px; line-height: 26px; white-space: nowrap;
  transform: translateX(-50%);
  animation: dp-toast-in 0.3s ease both; }
.dp-toast svg { width: 24px; height: 24px; flex-shrink: 0; }
@keyframes dp-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(36px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ——— Form fields ——— */
.field-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field-row label { font-size: 12px; color: var(--font-grey-tier2); }
.input { height: 30px; padding: 0 8px; border: 1px solid var(--border-tier3); border-radius: var(--radius-input);
  font: inherit; font-size: 13px; background: var(--white); }
.input::placeholder { color: var(--font-grey-tier3); }
/* Focus = clean 1px brand-blue border, no heavy UA outline (matches live). */
.input:focus { outline: none; border-color: var(--main-tier1); }

/* ——— Router placeholders ——— */
.router-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; background: var(--bg-content); }
.router-placeholder-inner { text-align: center; color: var(--font-grey-tier2); }
.rp-title { font-size: 16px; color: var(--font-grey-tier1); margin-bottom: 6px; }
.rp-route { font-family: monospace; color: var(--main-tier1); }
.rp-hint { margin-top: 8px; font-size: 12px; }
.router-placeholder.error .rp-err { text-align: left; background: #fff; border: 1px solid var(--status-error);
  padding: 10px; margin-top: 10px; max-width: 700px; overflow: auto; font-size: 12px; }

/* ——— Module list: divider + trailing affordance ——— */
.module-divider { height: 1px; background: var(--border-tier2); margin: 8px 6px; }
.module-trailing { display: inline-flex; opacity: .85; }
.module-trailing img { width: 22px; height: 22px; }
/* Right-aligned plan status dot (Synology Tiering left nav — live 8px rgb(20,180,26)). */
.module-trailing-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; margin-left: auto; margin-right: 10px; }
.module-trailing-healthy { background: rgb(20, 180, 26); }
/* Tiering "Plans +" — user-confirmed (R3 2026-07-16): same as the base
 * .module-action behavior — light glyph, darker on hover, background stays
 * white. The earlier rediff "grey bg on hover" reading was matcher noise. */

/* ——— Storage Manager dashboard ——— */
.sd-page { padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.sd-card { background: var(--white); border: 1px solid var(--border-tier2); border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.sd-card-title { font-weight: var(--font-weight-bold); font-size: 14px; color: var(--font-grey-tier1); padding: 16px 20px 0; }
.sd-card-body { padding: 18px 20px; }
.sd-card-center { display: flex; align-items: center; justify-content: center; min-height: 150px; color: var(--font-grey-tier2); }

.health-banner { display: flex; align-items: center; gap: 20px; padding: 30px 24px; }
.health-badge { flex: 0 0 auto; display: inline-flex; }
.health-title {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 28px;
  color: var(--font-grey-tier1);
}
.health-desc {
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
  margin-top: 0;
}

/* Dashboard Volume Usage card (live Storage Manager: .sm-dashboard-volume-card). */
.sd-volume-card {
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.02);
}
.sd-volume-card .sd-card-title {
  height: 59px;
  padding: 15px 19px 16px;
  display: flex;
  align-items: flex-start;
  line-height: 28px;
}
.sd-volume-card .sd-card-body {
  padding: 0 19px 15px;
}
.sd-volume-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sd-volume-item {
  position: relative;
  flex: 0 1 calc(50% - 6px);
  max-width: 580px;
  min-width: 0;
  height: 92px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  border-radius: 4px;
  background: rgba(198, 212, 224, 0.18);
  cursor: pointer;
}
.sd-volume-item:hover {
  background: var(--main-light);
}
.sd-volume-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
}
.sd-volume-avatar-img {
  width: 40px;
  height: 40px;
  display: block;
}
.sd-volume-status {
  position: absolute;
  right: -3px;
  bottom: -3px;
}
.sd-volume-info {
  min-width: 0;
  flex: 1 1 auto;
  margin-left: 12px;
}
.sd-volume-heading {
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-volume-name {
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  color: var(--font-grey-tier1);
}
.sd-volume-pool {
  margin-left: 4px;
  font-size: 13px;
  color: var(--font-grey-tier1);
}
.sd-volume-usage {
  margin-top: 8px;
}
.sd-volume-bar-wrap {
  position: relative;
  height: 8px;
}
.sd-volume-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(80, 90, 100, 0.15);
  overflow: hidden;
}
.sd-volume-fill {
  height: 8px;
  min-width: 0;
  border-radius: 3px 0 0 3px;
  background: var(--main-tier1);
}
.sd-volume-fill.has-usage {
  min-width: 8px;
}
.sd-volume-usage-line {
  margin-top: 6px;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-volume-used {
  color: var(--main-tier1);
}
.sd-volume-sep,
.sd-volume-free {
  color: var(--font-grey-tier2);
}
.sd-volume-tip-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  vertical-align: 1px;
}
.sd-volume-tip-used { background: var(--main-tier1); }
.sd-volume-tip-free { background: var(--font-white-tier1); }
.sd-volume-tip-total { padding-left: 15px; }

/* Enclosure hugs the grid (fixed width, not full-width) with a 2px frame (live). */
.drive-device { display: block; width: fit-content; padding: 14px 16px;
  border: 2px solid var(--border-tier3); border-radius: 2px; }
.drive-device + .drive-device { margin-top: 14px; }
.drive-device-name { font-weight: var(--font-weight-bold); color: var(--font-grey-tier1); margin-bottom: 14px; }
.drive-grid { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
/* Drive bays are FIXED size (not responsive) and left-aligned, like the live grid. */
.drive-row { display: flex; gap: 6px; flex-wrap: nowrap; }
.bay { position: relative; width: 20px; height: 62px; flex: 0 0 auto; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(198,212,224,0.9); }
.bay-num { font-size: 11px; color: var(--font-grey-tier2); }
/* Allocated (in a pool): solid green, white number. */
.bay-used { background: rgba(24,144,124,0.9); border: 1px solid rgba(24,144,124,0.9); }
.bay-used .bay-num { color: var(--white); }
/* Inserted but unassigned: green outline, light-green fill, dark number. */
.bay-unused { background: rgba(24,144,124,0.1); border: 1px solid rgba(24,144,124,0.9); }
.bay-unused .bay-num { color: var(--font-grey-tier1); }
.bay-empty { background: transparent; }
/* A populated bay is clickable → jumps to the Drives page focused on the drive. */
.bay-interactive { cursor: pointer; }
/* Hover darkens the drive fill itself (live behaviour) — no outline ring. */
.bay-used.bay-interactive:hover { background: rgb(24,144,124); }
.bay-unused.bay-interactive:hover { background: rgba(24,144,124,0.2); }
.bay-interactive:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--main-tier1); }
.bay-tip-title { font-weight: var(--font-weight-bold); }
.bay-tip-status { display: flex; align-items: center; gap: 6px; }
.bay-tip-dot { width: 8px; height: 8px; border-radius: 2px; background: rgba(24,144,124,0.9); flex: 0 0 auto; }
.bay-tip-sub { color: rgba(255,255,255,0.85); }
/* Floating cursor-following tooltip — rendered in #overlay-layer (above app windows,
   never clipped) by SM.tooltip; positioned at the cursor's lower-right. */
.hover-tip {
  position: absolute;
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(30,32,34,0.8); color: var(--white);
  border-radius: 4px; padding: 7px 11px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  white-space: nowrap; font-size: 13px; line-height: 1.45;
  z-index: 1001; pointer-events: none;
}
.hover-tip b { font-weight: var(--font-weight-regular); }
/* Volume Usage bar keeps its grey-bordered, wider look. */
.hover-tip.tip-volume {
  gap: 0; min-width: 188px; padding: 2px 11px;
  border: 1px solid rgb(150,150,150);
  font-family: Verdana, Arial, sans-serif; line-height: 20px;
}
/* Wizard "white-tip": white panel, dark text, wraps (width via data-tip-width). */
.hover-tip.tip-white {
  gap: 0; width: 320px; white-space: normal;
  background: var(--whitetip-bg); color: var(--whitetip-text);
  border-radius: var(--whitetip-radius); box-shadow: var(--whitetip-shadow);
  padding: 12px 20px; font-size: 13px; line-height: 20px;
  font-weight: var(--font-weight-regular); pointer-events: auto;
}
.hover-tip.tip-white.tip-nowrap {
  display: block; width: max-content; max-width: calc(100vw - 12px); white-space: nowrap;
}
/* Ellipsis-clipped cell hint — live SVC ".v-tooltip-directive.hint": dark bubble
   with a grey hairline at cursor +20/+20, 13px/20px Verdana, max-width 600.
   First measured on pas80 (Create Failover Group > IP Address cell); RE-measured
   2026-08-12 on 10.17.194.77 SAN Manager > Log against a genuinely long value,
   which corrected two things: the bubble **wraps** at the 600px cap (measured
   600×46 = two 20px lines + 2px padding + 1px borders) — the old `nowrap` here
   came from pas80 samples that were all shorter than 600px and so never had the
   chance to wrap — and it carries a soft drop shadow. Everything else confirmed
   identical on both machines. It does NOT auto-dismiss (still up after 6s). */
.hover-tip.tip-hint {
  display: block; padding: 2px 11px;
  border: 1px solid rgb(150, 150, 150);
  border-radius: 4px;
  font: var(--font-weight-regular) 13px/20px Verdana, Arial, sans-serif;
  max-width: 600px; white-space: normal;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3);
}
/* Dense-grid cell quicktip (Log Center tables): the live ExtJS QuickTip caps at
   ~500px and WRAPS long content (measured on pas80: outer 500px, white-space
   normal) instead of the default nowrap that made the bubble run very wide.
   box-sizing:border-box so 500 is the total width like live. Auto-dismiss after
   5s is handled by SM.tooltip (components.js DISMISS_DELAY). */
.hover-tip.tip-grid {
  display: block; box-sizing: border-box; max-width: 500px;
  white-space: normal; overflow-wrap: break-word;
  opacity: 0; transition: opacity 500ms ease;
}
.hover-tip.tip-grid.is-visible { opacity: 1; }

/* ——— Storage Manager drives ——— */
.drives-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 16px;
  box-sizing: border-box;
}
.drives-toolbar {
  height: 28px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.drives-toolbar-left,
.drives-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.drives-toolbar-separator {
  width: 1px;
  height: 24px;
  background: var(--border-tier2);
  margin: 0 1px;
}
/* ═══ Shared toolbar button (live "v-btn-grey" rect button) ═══════════════════
 * ONE toolbar button used by Storage Manager Drives AND Control Panel toolbars.
 * Rest = the alpha grey + a transparent border that reserves its 1px; hover
 * grows a rgba(124,138,152,.4) border and changes NOTHING else; :active darkens
 * the fill. All four states are the --btn-grey-* tokens — identical to
 * `.btn-grey`, because live draws both with the same widget. `.has-arrow` adds
 * the dropdown caret. Add `toolbar-btn` to any toolbar button; page-specific
 * tweaks (min-width) layer on.
 *
 * CORRECTED 2026-08-20: this class used --btn-rect-bg #EDF3F8 with a bg-darkening
 * hover, both disproved by re-measuring the very screen it cites (Drives). */
.toolbar-btn {
  display: inline-flex; align-items: center; height: 28px;
  border: 1px solid var(--btn-grey-border);
  border-radius: var(--radius-btn);
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier1);
  font-family: Verdana, Arial, sans-serif; font-size: 13px; font-weight: var(--font-weight-regular);
  /* 13px, not 14 — live v-btn pads 0 13px on every screen this class serves
     (re-measured pas80 2026-08-18/19: Drives "Action" 82.47x28, Shared Folder
     "Create" 85.05, User & Group "Export" 84.58). The stray 14 made every
     toolbar button 2px wider than live. */
  padding: 0 13px; cursor: pointer;
}
.toolbar-btn:hover, .toolbar-btn.is-menu-open { background: var(--btn-grey-bg); border-color: var(--btn-grey-border-hover); }
.toolbar-btn:active { background: var(--btn-grey-bg-active); border-color: var(--btn-grey-border-active); }
/* Disabled toolbar button (live: syno-ux-button .x-item-disabled) keeps the SAME
 * grey fill as the enabled button — only the label fades (span opacity .4 → we
 * fade the text color, which is the same composite since --font-grey-tier3 IS
 * rgba(65,75,85,.4)). Background is NOT washed out, and no state responds. */
.toolbar-btn:disabled, .toolbar-btn.is-disabled {
  color: var(--font-grey-tier3); background: var(--btn-grey-bg); cursor: default;
}
.toolbar-btn:disabled:hover, .toolbar-btn.is-disabled:hover,
.toolbar-btn:disabled:active, .toolbar-btn.is-disabled:active {
  background: var(--btn-grey-bg); border-color: var(--btn-grey-border);
}
/* .toolbar-btn.has-arrow needs no rule of its own — the site-wide .has-arrow
 * component (see the "Dropdown / split BUTTON caret" block above) carries the caret,
 * the 2px gap and the disabled fade. Superseded the 8x4 CSS triangle + 26px padding
 * this class used until 2026-08-18. */

/* Drives toolbar buttons: shared base + a drive-specific min-width. */
.drives-toolbar-btn { min-width: 80px; }
/* .drives-toolbar-btn.has-arrow needs no min-width — the shared .has-arrow caret
 * component makes Action 84px on its own, so an 82px floor could only hide a
 * regression. */
.drives-filter-dropdown .dropdown-trigger {
  min-width: 98px;
}
/* The Drives table is C.dataTable (pages/storage/drives.js, className 'drives-dt');
 * its focus-row tint is page-local there. */

/* Drives > Settings dialog */
/* ═══ Settings-modal chrome — the shell every "settings window" shares ═══════
 * These rules were authored on .drives-settings-dialog, but three dialogs already
 * borrowed that class purely for its chrome (Volume > Settings, Background Task
 * Windows) — their own comments say "live uses the SAME window shell here". The
 * chrome now answers to .settings-dialog as well, so a dialog can take the shell
 * WITHOUT inheriting the drives window's fixed 580px height. The three existing
 * call sites keep working unchanged: every selector below lists both names.
 *
 * What the shell carries (all live-measured on the Storage Manager settings
 * modal): a 40px header whose title is rgba(65,75,85,.85) 12/20 bold — lighter
 * than the body text; a 24px close glyph at rgba(80,90,100,.6) that turns
 * --red-tier1 on hover; a 48px footer of pill buttons (grey 80px / primary
 * 120px); and a TRANSPARENT backdrop — live does not dim the page behind a
 * settings window. */
.settings-dialog-backdrop,
.drives-settings-backdrop {
  background: transparent;
}
.settings-dialog,
.drives-settings-dialog {
  border-radius: 3px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
/* Drives / Volume / Background-Task are FIXED-height settings windows. That is
 * the one thing NOT shared — a dialog sized by its own content (the cold-tier
 * Sign In) takes .settings-dialog and keeps its natural height. */
.drives-settings-dialog {
  height: 580px;
}
.settings-dialog .dialog-header,
.drives-settings-dialog .dialog-header {
  height: 40px;
  padding: 8px 16px 8px 18px;
  border-bottom: 1px solid rgba(198, 212, 224, 0.5);
  box-sizing: border-box;
}
.settings-dialog .dialog-header > span:first-child,
.drives-settings-dialog .dialog-header > span:first-child {
  padding-left: 2px;
  color: rgba(65, 75, 85, 0.85);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 20px;
}
.settings-dialog .dialog-x,
.drives-settings-dialog .dialog-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(80, 90, 100, 0.6);
  line-height: 0;
}
.settings-dialog .dialog-x:hover,
.drives-settings-dialog .dialog-x:hover {
  color: rgb(230, 64, 64);
}
.settings-dialog .dialog-x svg,
.drives-settings-dialog .dialog-x svg {
  display: block;
  width: 24px;
  height: 24px;
}
.settings-dialog .dialog-body,
.drives-settings-dialog .dialog-body {
  max-height: none;
  padding: 16px 20px 6px;
  box-sizing: border-box;
}
.drives-settings-dialog .dialog-body {
  height: 492px;
  overflow: hidden;
}
.settings-dialog .dialog-footer,
.drives-settings-dialog .dialog-footer {
  height: 48px;
  padding: 9px 24px 10px;
  border-top: 1px solid rgba(198, 212, 224, 0.5);
  box-sizing: border-box;
}
.settings-dialog .dialog-footer .btn-default,
.settings-dialog .dialog-footer .btn-primary,
.drives-settings-dialog .dialog-footer .btn-default,
.drives-settings-dialog .dialog-footer .btn-primary {
  min-width: 120px;
  height: 28px;
  border-radius: var(--radius-pill);
  justify-content: center;
}
.settings-dialog .dialog-footer .btn-default,
.drives-settings-dialog .dialog-footer .btn-default {
  min-width: 80px;
  border-color: var(--border-transparent);
  background: var(--btn-grey-bg);
}
/* hover: grey border appears, bg stays — same as the Information dialog Close */
.settings-dialog .dialog-footer .btn-default:hover,
.drives-settings-dialog .dialog-footer .btn-default:hover {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border-hover);
}
/* Scrolls with the shared .svc-scroll bar (class added in drives.js). */
.drive-settings-body {
  width: 740px;
  height: 470px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  box-sizing: border-box;
}
/* Drives > Settings sections are shared collapsible C.fieldset()s; title +
 * chevron + dashed divider come from .fieldset-title / .fieldset-chevron. */
.drive-settings-section {
  width: 730px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.drive-settings-section + .drive-settings-section {
  padding-top: 8px;
}
.drive-settings-section .fieldset-body.drive-settings-section-body {
  padding: 8px;
}
.drive-settings-copy,
.drive-settings-note {
  margin: 0 0 6px;
  padding: 4px 0;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
  box-sizing: border-box;
}
.drive-settings-note {
  margin-left: 28px;
  max-width: calc(100% - 28px);
}
.drive-settings-copy a,
.drive-settings-note a {
  color: var(--main-tier1);
  text-decoration: underline;
}
.drive-settings-copy-strong {
  font-weight: var(--font-weight-bold);
}
.drive-settings-note span {
  color: rgb(0, 160, 160);
}
.drive-settings-checkbox-row {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 6px;
  gap: 8px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
  box-sizing: border-box;
}
.drive-settings-checkbox-row:has(.drive-settings-tip) {
  min-height: 28px;
}
.drive-settings-checkbox-row > span:not(.drive-settings-tip) {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
}
.drive-settings-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: -2px;
  color: var(--font-grey-tier1);
  cursor: default;
  line-height: 0;
}
.drive-settings-info-icon {
  display: block;
  width: 20px;
  height: 20px;
}
.drive-settings-row {
  display: grid;
  grid-template-columns: 188px 189px minmax(0, 1fr);
  align-items: center;
  min-height: 28px;
  margin: 0 0 6px;
  padding-left: 28px;
  box-sizing: border-box;
}
.drive-settings-row.is-input-row {
  min-height: 28px;
}
.drive-settings-row.is-disabled .drive-settings-label,
.drive-settings-row.is-disabled .drive-settings-value {
  color: var(--font-grey-tier3);
}
.drive-settings-row.is-wide-gap {
  margin-bottom: 18px;
}
.drive-settings-label,
.drive-settings-value {
  min-width: 0;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.drive-settings-value {
  display: flex;
  align-items: center;
}
.input.drive-settings-input {
  width: 189px;
  height: 28px;
  padding: 0 11px;
  border-color: rgba(198, 212, 224, 0.7);
  border-radius: 3px;
  box-sizing: border-box;
  color: var(--font-grey-tier1);
  background: var(--white);
}
.input.drive-settings-input:disabled {
  border-color: rgba(198, 212, 224, 0.7);
  color: var(--font-grey-tier3);
  background: rgba(198, 212, 224, 0.2);
  cursor: default;
  opacity: 1;
}
.drive-settings-action {
  display: flex;
  align-items: center;
  gap: 8px;
}
.drive-settings-standalone-action {
  min-height: 28px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}
.drive-settings-standalone-action.is-indented {
  padding-left: 28px;
}
.drive-settings-btn {
  height: 28px;
  min-width: 112px;
  border: 1px solid var(--btn-grey-border);
  border-radius: var(--radius-btn);
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier1);
  font: inherit;
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  padding: 0 14px;
  cursor: pointer;
}
.drive-settings-btn * {
  font-weight: var(--font-weight-regular);
}
.drive-settings-btn.is-wide {
  min-width: 206px;
}
.drive-settings-btn:hover:not(:disabled) {
  border-color: var(--btn-grey-border-hover);
  background: var(--btn-grey-bg);
}
.drive-settings-btn:active:not(:disabled) {
  border-color: var(--btn-grey-border-active);
  background: var(--btn-grey-bg-active);
}

/* ——— Storage Manager Hot Spare ——— */
.hot-spare-page {
  min-height: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  /* bottom 16 = Drives': live pas80 Hot Spare empty body is 1167×717 under the 30px
     header (scratchpad tt-empty/live.md §B.1), the same box as the Drives table */
  padding: 16px 16px 16px;
}
.hot-spare-toolbar {
  height: 28px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.hot-spare-toolbar-btn {
  height: 28px;
  min-width: 72px;
  border: 1px solid var(--btn-grey-border);
  border-radius: var(--radius-btn);
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier1);
  font: inherit;
  font-size: 13px;
  padding: 0 14px;
  cursor: pointer;
}
.hot-spare-toolbar-btn:hover {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border-hover);
}
.hot-spare-toolbar-btn:active {
  background: var(--btn-grey-bg-active);
  border-color: var(--btn-grey-border-active);
}
.hot-spare-toolbar-btn:disabled {
  color: var(--font-grey-tier3);
  cursor: default;
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border);
}
/* live gives a disabled grey no feedback in any state */
.hot-spare-toolbar-btn:disabled:hover, .hot-spare-toolbar-btn:disabled:active {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border);
}
/* The Hot Spare table is C.dataTable (pages/storage/hot-spare.js). */

/* ——— Storage Manager Data Scrubbing ——— */
.data-scrubbing-page {
  min-height: 100%;
  height: 100%;
  background: var(--white);
  padding: 22px 16px 0;
}
.data-scrubbing-intro {
  max-width: 1040px;
  margin-bottom: 16px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.data-scrubbing-toolbar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.data-scrubbing-toolbar-btn {
  height: 28px;
  min-width: 118px;
  border: 1px solid var(--btn-grey-border);
  border-radius: var(--radius-btn);
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier3);
  font: inherit;
  font-size: 13px;
  padding: 0 14px;
  cursor: default;
}
.data-scrubbing-toolbar-btn:first-child {
  min-width: 226px;
}
/* host of the C.dataTable (pages/storage/data-scrubbing.js) */
.data-scrubbing-table-area {
  overflow: hidden;
}
.data-scrubbing-note {
  margin-top: 66px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 20px;
}
.data-scrubbing-note span {
  color: #00a5a8;
  font-weight: var(--font-weight-regular);
}
.data-scrubbing-note a {
  color: var(--main-tier1);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Storage Manager Global Settings ——— */
.gs-page {
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Scrolls with the shared .svc-scroll bar (class added in global-settings.js). */
.gs-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 16px 0;               /* live sm-global-setting-panel: 16px frame, no bottom pad */
}
/* .gs-section is now a shared C.fieldset(); this only owns inter-section spacing.
 * Title + dashed divider come from .fieldset-title. */
.gs-section {
  padding-top: 8px;                   /* live v-fieldset: 8px above every section but the first */
  padding-bottom: 0;
}
.gs-section:first-of-type { padding-top: 0; }
/* live title-wrapper: 28px tall (24px line + 4px under, NO top pad) */
.gs-section > .fieldset-title { padding-top: 0; }
/* live fieldset body: rows inset 8px all around */
.gs-section .fieldset-body { padding: 8px; }
.gs-section-desc {
  font-size: 13px;
  color: var(--font-grey-tier1);
  line-height: 20px;
  padding: 4px 0;
  margin-bottom: 6px;
}
.gs-btn-outline {
  height: 28px;
  padding: 0 14px;
  border: 1px solid var(--btn-grey-border);
  border-radius: var(--radius-btn);
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier1);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 6px;
  display: inline-block;
}
.gs-btn-outline:hover:not(:disabled) {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border-hover);
}
.gs-btn-outline:active:not(:disabled) {
  background: var(--btn-grey-bg-active);
  border-color: var(--btn-grey-border-active);
}
/* Disabled keeps the full-strength grey fill and only fades the label — live
   never washes the shell out. (This used to be the sole consumer of
   --btn-rect-bg-disabled rgba(198,212,224,.14), a fill live does not paint;
   the token is now unused and has been dropped from tokens.css.) */
.gs-btn-outline:disabled {
  color: var(--font-grey-tier3);
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border);
  cursor: default;
}
.gs-btn-primary {
  height: 28px;
  min-width: 120px;
  padding: 0 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--main-tier1);
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
/* border:none above, so the rim colours have nothing to paint on — live draws
   this footbar Apply with a 1px border. Give it one so hover/active match. */
.gs-btn-primary { border: 1px solid var(--main-tier1); }
.gs-btn-primary:hover { background: var(--main-tier1-hover); border-color: var(--main-tier1-hover-border); }
.gs-btn-primary:active { background: var(--main-tier1-dark); border-color: var(--main-tier1-active-border); }
.gs-note-blue {
  font-size: 13px;
  color: var(--font-grey-tier1);
  line-height: 20px;
  padding: 4px 0;
  margin-bottom: 6px;
}
.gs-note-label {
  color: var(--note-teal);
  font-weight: var(--font-weight-regular);
}
.gs-note-gray {
  font-size: 13px;
  color: var(--font-grey-tier3);
  line-height: 20px;
  padding: 4px 0;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gs-note-label-gray {
  font-weight: var(--font-weight-regular);
  color: var(--note-teal-disabled);
}
.gs-link {
  color: var(--main-tier1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gs-section .gs-checkbox-row { min-height: 28px; padding: 2px 0; gap: 8px; margin-bottom: 6px; box-sizing: border-box; }
.gs-section .radio-group { gap: 6px; margin-bottom: 6px; }
.gs-section .radio-row { min-height: 28px; padding: 2px 0; gap: 8px; box-sizing: border-box; }

/* Gray note links: underline, disabled-looking live blue */
.gs-link-gray {
  color: rgba(5, 127, 235, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* "Volume > Settings" in EKV note: bold + slightly darker */
.gs-link-note-ref {
  font-weight: var(--font-weight-bold);
  color: var(--font-grey-tier2);
  text-decoration: none;
}
.gs-checkbox-row {
  display: flex;
  align-items: center;
  gap: var(--control-row-gap);
  font-size: 13px;
  color: var(--font-grey-tier1);
  cursor: default;
  margin-bottom: 10px;
  user-select: none;
}
.gs-checkbox {
  appearance: none;
  width: var(--control-checkbox-size);
  height: var(--control-checkbox-size);
  flex-shrink: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
  background-image: var(--checkbox-icon-normal);
  background-position: center;
  background-repeat: no-repeat;
  background-size: var(--control-checkbox-size) var(--control-checkbox-size);
  cursor: default;
}
.gs-checkbox:checked {
  background-image: var(--checkbox-icon-checked);
}
/* ——— Shared radio (native <input>, appearance:none) — built via C.radio(),
   used by any page that needs a radio group (Global Settings, Create Volume
   wizard, …). Keep this the ONE radio look in the app. ——— */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--control-radio-group-gap);
}
.radio-row {
  display: flex;
  align-items: center;
  gap: var(--control-row-gap);
  font-size: 13px;
  color: var(--font-grey-tier1);
  cursor: pointer;
  user-select: none;
}
/* Rendered from the exact Figma-exported SVGs (--radio-icon-normal/-checked)
   rather than a CSS border + radial-gradient — a real vector circle so the
   checked dot stays crisp instead of showing gradient-edge blur. */
.radio-input {
  appearance: none;
  width: var(--control-radio-size);
  height: var(--control-radio-size);
  flex-shrink: 0;
  cursor: pointer;
  background: var(--radio-icon-normal) center / contain no-repeat;
}
.radio-input:checked {
  background-image: var(--radio-icon-checked);
}
/* Disabled radio (e.g. a controller with < 10 GB free): greyed label + faded,
   non-interactive circle. The info tip beside it stays hoverable. */
.radio-row.is-disabled { cursor: default; color: var(--font-grey-tier3); }
.radio-row.is-disabled .radio-input,
.radio-input:disabled { cursor: default; opacity: 0.45; }
.gs-form-row {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 20px;
  color: var(--font-grey-tier1);
  min-height: 28px;
  margin-bottom: 6px;
}
.gs-form-label {
  width: 152px;
  margin-right: 8px;
  color: var(--font-grey-tier2);
}
.gs-form-value { color: var(--font-grey-tier1); }
.gs-section:nth-of-type(2) .gs-section-desc,
.gs-section:nth-of-type(2) .gs-form-row,
.gs-section:nth-of-type(2) .gs-btn-outline,
.gs-section:nth-of-type(2) .gs-note-gray {
  margin-left: 28px;                  /* live: everything under the EKV checkbox indents 28 */
}
.gs-page.is-ekv-enabled .gs-section:nth-of-type(2) .gs-form-label,
.gs-page.is-ekv-enabled .gs-section:nth-of-type(2) .gs-note-gray {
  color: var(--font-grey-tier1);
}
.gs-page.is-ekv-enabled .gs-section:nth-of-type(2) .gs-note-label-gray {
  color: var(--note-teal);
}
.gs-page.is-ekv-enabled .gs-section:nth-of-type(2) .gs-btn-outline {
  background: var(--btn-grey-bg);
  color: var(--font-grey-tier1);
  cursor: pointer;
}
.gs-page.is-ekv-enabled .gs-section:nth-of-type(2) .gs-link-gray:not(.gs-link-note-ref) {
  color: var(--main-tier1);
}
.gs-page.is-ekv-enabled .gs-section:nth-of-type(2) .gs-link-note-ref {
  color: var(--font-grey-tier1);
}
.gs-footer {
  flex: 0 0 auto;
  height: 48px;
  box-sizing: border-box;
  border-top: 1px solid rgba(198, 212, 224, 0.5);
  margin: 0 16px;
  padding: 9px 24px 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  background: var(--white);
}
.gs-footer .gs-btn-outline,
.gs-footer .gs-btn-primary {
  margin-bottom: 0;
}
.gs-footer .gs-btn-outline {
  min-width: 80px;
  padding: 0 13px;
  border-color: var(--border-transparent);
  border-radius: var(--radius-pill);
  background: var(--btn-grey-bg);
}
/* hover: grey border appears, bg stays — the shared settings-footbar look */
.gs-footer .gs-btn-outline:hover:not(:disabled) {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border-hover);
}

/* ——— Background Task Windows settings window (Global Settings > Settings) ———
   Live: a 700×520 modal, measured on pas80 2026-07-28. It does NOT dim the app window
   behind it (the mask element exists but is display:none), the title is the 12px/700
   window-chrome style, and the footer is the pill Cancel / OK pair. */
/* Chrome (header metrics, close X, footer bar, transparent backdrop) comes from the
   shared .drives-settings-dialog — live uses the SAME window shell here as for
   Drives/Volume > Settings. Only this window's own numbers live below. */
.bgtask-dialog {
  width: 700px !important; height: 520px;
  display: flex; flex-direction: column; overflow: hidden;
}
/* Live expresses the two header insets as MARGINS, not padding: the header is
   padded 18px left / 0 right, the title sits in a wrapper that adds 2, and the tool
   wrapper carries margin-right 16. Mirroring that (instead of the shared chrome's
   padding form) keeps the title box at live's 182×20 @ x+20 and the X 16px off the
   right edge, with identical rendering. The 700 stays on the title span alone, so the
   close-X glyph doesn't inherit it. */
.bgtask-dialog .dialog-header {
  flex: 0 0 40px; border-radius: 3px 3px 0 0;
  padding-right: 0; font-weight: var(--font-weight-regular);
}
.bgtask-dialog .dialog-header > span:first-child { padding-left: 0; margin-left: 2px; }
.bgtask-dialog .dialog-x { margin-right: 16px; }
.bgtask-dialog .dialog-body {
  flex: 1 1 auto; height: auto; min-height: 0;
  font-size: 13px; line-height: 20px; color: var(--font-grey-tier1);
}
.bgtask-dialog .dialog-footer { flex: 0 0 48px; }
.bgtask-desc { margin: 0 0 12px; padding: 4px 0; font-size: 13px; line-height: 20px; }
.bgtask-dialog .schedule-table { margin-bottom: 12px; }
.bgtask-note { margin: 0; padding: 4px 0; font-size: 13px; line-height: 20px; }

/* ═══ Module list: non-selectable parent, uncollapsible section, action menus ═══ */
/* Non-selectable parent ("Storage" once a pool exists): looks normal, no nav. */
.module-item.is-nonselectable { cursor: default; }
.module-item.is-nonselectable:hover { background: transparent; }

/* Trailing action button ("+" on Storage / "⋮" on a section). Live = styleless:
   light-grey glyph by default, darkens to slate on hover, no background box. */
.module-action {
  flex: 0 0 auto; width: 24px; height: 24px; margin-left: auto; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; border-radius: 4px; cursor: pointer;
  /* live (fsdna PIXEL-sampled — computed styles lie here, the hover swap is
     JS-driven): rest = rgba(80,90,100,.5) light glyph (darkest px 167 = exactly
     .5 alpha over white), hover = SOLID #505A64 (darkest px 80). Background
     stays transparent in both states. 24×24 box flush 6px from the row edge. */
  color: rgba(80, 90, 100, 0.5);
}
.module-action:hover { color: var(--icon-dark-grey-tier1); background: transparent; }
/* Inline SVG glyph fills with the button's currentColor (light → dark on hover). */
.module-action-ico { display: block; }

/* Uncollapsible section header ("Dual Pool 1") — live: 24px tall, 4px above,
 * and the child rows sit in an options container with padding-top 4 (fsdna
 * measured: header bottom → first volume top = 4px). */
.module-section {
  height: 24px; display: flex; align-items: center; gap: 6px; padding-right: 6px; margin: 4px 0 4px;
}
.module-section-label {
  flex: 1; font-size: 12px; font-weight: var(--font-weight-bold);
  color: rgba(65, 75, 85, 0.5); line-height: 24px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Small sub-module item (Volume 1). */
.module-item-small { min-height: 28px; }
.module-item-small .module-label { font-size: 13px; }

/* Status dot overlaid on a module icon (Volume health). */
.module-ico { position: relative; display: inline-flex; align-items: center; }
.module-status-dot {
  position: absolute; right: 1px; bottom: 1px; width: 8px; height: 8px;
  border-radius: 50%; border: 1px solid var(--white); box-sizing: border-box;
}
/* Live healthy green is the saturated rgb(0,158,5) — darker than --status-ok
   (#5FB336, kept for the camera screens that still use the lighter dot). */
.module-status-normal { background: var(--status-green-text); }
.module-status-warning { background: var(--status-warning); }
.module-status-error  { background: var(--status-error); }

/* ═══ Anchored menu popup (C.menu) — live SVC ".v-menu" ═══ */
.menu-popup {
  position: fixed; background: var(--white); border: 1px solid var(--border-tier3);
  border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
  padding: 7px; min-width: 120px; z-index: 16000;
}
.menu-popup-item {
  height: 28px; line-height: 28px; padding: 0 12px; border-radius: 3px;
  font-size: 13px; color: var(--font-grey-tier1); cursor: pointer; white-space: nowrap;
}
.menu-popup-item:hover { background: var(--main-light); }
.menu-popup-item.is-disabled { color: var(--font-grey-tier3); cursor: default; }
.menu-popup-item.is-disabled:hover { background: transparent; }
.menu-popup-divider { height: 1px; background: var(--border-tier2); margin: 4px 0; }
.menu-popup-item.has-submenu { display: flex; align-items: center; justify-content: space-between; }
.menu-popup-arrow { margin-left: 20px; font-size: 10px; line-height: 1; color: var(--font-grey-tier2); }

/* ═══ Storage ▸ Volume view (.volume-page) ═══ */
/* Live content area is white (not the grey --bg-content other modules use). */
.volume-page { padding: 16px 20px 16px; background: var(--white); min-height: 100%; box-sizing: border-box; }

/* Toolbar: grey buttons (Usage Details / Action ▾ / Settings). */
.vol-toolbar { display: flex; gap: 8px; margin-bottom: 8px; }
/* Grey button = the canonical "v-btn-grey" for content + toolbar buttons. All
 * four states come from the --btn-grey-* tokens; see their block in tokens.css
 * for the pas80 2026-08-20 measurement (30 enabled + 21 disabled buttons, 16
 * screens, unanimous).
 *
 * CORRECTED 2026-08-20 — this rule previously read "light --btn-rect-bg fill; on
 * hover a --border-control border APPEARS with a darker --btn-rect-bg-hover
 * fill", sourced to Storage Manager Hot Spare. Re-measuring Hot Spare itself
 * disproved all three halves of that: the fill is the ALPHA rgba(198,212,224,.4)
 * not opaque #EDF3F8, hover moves ONLY the border and leaves the fill alone, and
 * the border it grows is rgba(124,138,152,.4) — a real grey — not the pale
 * rgba(198,212,224,.75) of --border-control. The fill darkening lives on :active.
 *
 * The footer Reset is NOT an exception any more either: live paints it with this
 * very same grey (v-btn-footbar v-btn-grey on Global Settings reads .4/.4/.6
 * exactly like the toolbar buttons). Only its radius differs — 100px vs 3px. */
/* padding 13, not 14 — live's v-btn is 1px border + 13px inner padding = a 14px
   label inset, and .btn already contributes that 1px border. At 14 the inset came
   to 15 and every unpinned .btn-grey rendered 2px wider than the machine. This is
   the same correction .toolbar-btn got on 2026-08-19; .btn-grey was simply missed
   at the time (re-measured pas80 2026-08-20). Buttons with a min-width — the
   footer Reset, the dialog pills — never showed it, because the min-width pinned
   them regardless. */
.btn-grey { background: var(--btn-grey-bg); border-color: var(--btn-grey-border); color: var(--font-grey-tier1); padding: 0 13px; }
.btn-grey:hover, .btn-grey.is-menu-open { background: var(--btn-grey-bg); border-color: var(--btn-grey-border-hover); }
.btn-grey:active { background: var(--btn-grey-bg-active); border-color: var(--btn-grey-border-active); }
.btn-grey:disabled, .btn-grey.is-disabled { opacity: 1; background: var(--btn-grey-bg); color: var(--font-grey-tier3); }
/* Disabled greys get NO state feedback on live — the shell holds still and only
   the label sits at 40%. `.is-disabled` on a non-<button> would otherwise still
   pick up the hover/active rules above (Chrome only auto-suppresses :hover on a
   real disabled <button>), so reset all three explicitly. */
.btn-grey:disabled:hover, .btn-grey.is-disabled:hover,
.btn-grey:disabled:active, .btn-grey.is-disabled:active {
  background: var(--btn-grey-bg); border-color: var(--btn-grey-border);
}
/* Volume "Action" caret: the site-wide .has-arrow component (see the
 * "Dropdown / split BUTTON caret" block above) carries the 12x24 glyph, the 2px
 * gap and the colour. Superseded .vol-btn-dropdown / .vol-btn-arrow. */

/* Header: volume avatar + title on the left, usage block offset right. */
.vol-header { display: flex; align-items: center; min-height: 80px; }
.vol-id { display: flex; align-items: center; gap: 14px; width: 360px; flex: 0 0 auto; }
.vol-avatar { position: relative; width: 48px; height: 48px; flex: 0 0 auto; display: inline-flex; }
/* Badge centre matches live: (36,36) within the 48px avatar — a 20px badge at
   right/bottom 2px lands its centre there (live badge is 24px flush to corner). */
.vol-avatar-badge { position: absolute; right: 2px; bottom: 2px; }
.vol-title { font-size: 13px; font-weight: var(--font-weight-bold); color: var(--font-grey-tier1); line-height: 20px; }
.vol-usage { flex: 0 0 auto; width: 360px; }
.vol-usage-bar { height: 8px; border-radius: 99px; background: rgba(80, 90, 100, 0.15); overflow: hidden; }
.vol-usage-fill { height: 8px; background: var(--main-tier1); border-radius: 99px 0 0 99px; min-width: 0; }
.vol-usage-text { margin-top: 8px; font-size: 13px; color: var(--font-grey-tier1); }
/* Live is blue TEXT, not a link (pas80: span.sm-usage-used-text — #057FEB,
   text-decoration:none at rest AND on hover, cursor:default). */
.vol-usage-used { color: var(--main-tier1); cursor: default; }
.vol-usage-grey { color: var(--font-grey-tier2); }

/* Info + Drive Info cards. */
.vol-card { background: rgba(198, 212, 224, 0.18); border-radius: 4px; padding: 16px; margin-top: 12px; }
.vol-card-title { font-size: 13px; font-weight: var(--font-weight-bold); color: var(--font-grey-tier1); line-height: 20px; }
.vol-info-grid { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; margin-top: 8px; }
.vol-info-label, .vol-info-value { font-size: 13px; color: var(--font-grey-tier1); padding: 4px 0; line-height: 20px; }

/* Drive Info: collapsible (collapsed by default, like live). */
/* Live box-model (pas80 2026-07-28, .sm-disk-card): the CARD carries the 16px inset,
   the header is a constant 28px with padding 0, and the 4px gap above the table comes
   from the TABLE's own margin — the header never resizes, so collapsing is a pure
   body-height slide with nothing moving after it lands. */
.vol-card-collapsible { padding: 16px; }
/* Header itself is NOT clickable (live: cursor default) — only the arrow toggles. */
.vol-card-head { display: flex; align-items: center; justify-content: space-between; padding: 0; cursor: default; }
/* Arrow = the only toggle. Live is-svg icon renders #505A64 @50% (light grey),
   darkening to @60% on hover. No transition → instant flip, no rotate animation. */
.vol-card-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; padding: 0; cursor: pointer;
  color: rgba(80, 90, 100, 0.5);
}
.vol-card-arrow:hover { color: rgba(80, 90, 100, 0.6); }
/* Expanded = the shared C.slideSection state (is-collapsed absent). The glyph flips
   the instant the arrow is clicked — including at the START of a collapse, while the
   body is still sliding shut (live swaps card-arrow-down↔up as a class, never a
   rotation tween). */
.vol-card-collapsible:not(.is-collapsed) .vol-card-arrow { transform: rotate(180deg); }
.vol-card-collapsible.is-collapsing .vol-card-arrow { transform: none; }
/* Body slides open/shut over ~250ms (live-measured ~240ms) via C.slideSection —
   height only. The 4px header→table gap lives on the table (live: the body's first
   child carries margin-top:4px), so nothing but the body's height ever changes. */
.vol-card-collapsible.is-collapsed > .vol-card-collapse-body { display: none; }
/* overflow:hidden permanently, like live's .v-card-body — it also stops the table's
   4px margin collapsing out of the body between slides (which would shuffle the card
   height by 4px at each settle). */
.vol-card-collapse-body { padding: 0; overflow: hidden; font-size: 13px; color: var(--font-grey-tier2); }
.vol-card-collapse-body > .vol-drive-table { margin-top: 4px; }

/* Drive Info / Available Hot Spare Drives: C.gridTable({frame:true, frameClass:
   'vol-drive-table'}) — the frame itself is the shared .fovr-adv-grid. Row-hover
   (•••) action button (live ≈ 30×24): */
.drive-row-more {
  visibility: hidden; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 24px; border: 0; background: transparent; padding: 0; cursor: pointer;
  color: var(--icon-dark-grey-tier1);
}
.drive-row-more svg { width: 24px; height: 24px; }
/* Drive Info is a C.gridTable adv-grid since 2026-10-03 (live-pas80.md §1 Volume 1):
   live `div.row-hover-action` — the ••• overlays the right end of the LAST cell (no
   column of its own; the .fovr-adv-grid cell is position:relative), shown on row
   hover; `sm-show-row-pointer` rows take the pointer cursor. */
.vol-row-hover-action { position: absolute; top: 4px; right: 8px; line-height: 0; }
.vol-drive-table .cam-grid-row:hover .drive-row-more { visibility: visible; }
.sm-show-row-pointer .cam-grid-row { cursor: pointer; }

/* Dual Pool More > Information dialog. */
.dualpool-info-backdrop {
  background: transparent;
}
.dualpool-info-dialog {
  height: 520px;
  border-radius: 3px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 14.95px;
}
.dualpool-info-dialog .dialog-header {
  height: 40px;
  padding: 8px 16px 8px 18px;
  border-bottom: 1px solid rgba(198, 212, 224, 0.5);
  box-sizing: border-box;
  font-size: 13px;
  line-height: 40px;
}
.dualpool-info-dialog .dialog-header > span:first-child {
  padding-left: 2px;
  color: rgba(65, 75, 85, 0.85);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 20px;
}
.dualpool-info-dialog .dialog-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(80, 90, 100, 0.6);
  line-height: 0;
}
.dualpool-info-dialog .dialog-x:hover {
  color: rgb(230, 64, 64);
}
.dualpool-info-dialog .dialog-x svg {
  display: block;
  width: 24px;
  height: 24px;
}
.dualpool-info-dialog .dialog-body {
  height: 432px;
  max-height: none;
  padding: 16px 20px 6px;
  overflow: hidden;
  box-sizing: border-box;
  border-left: 0;
  background: transparent;
}
.dualpool-info-dialog .dialog-footer {
  height: 48px;
  padding: 9px 24px 10px;
  border-top: 1px solid rgba(198, 212, 224, 0.5);
  box-sizing: border-box;
}
.dualpool-info-dialog .dialog-footer .btn-default {
  min-width: 80px;
  border-radius: var(--radius-pill);
  background: var(--btn-grey-bg);
  border-color: var(--border-transparent);
  justify-content: center;
}
.dualpool-info-dialog .dialog-footer .btn-default:hover {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border-hover);
}
/* Scrolls with the shared .svc-scroll bar (class added in _shared.js). */
.dp-info-dialog-body {
  width: 700px;
  height: 410px;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 13px;
  line-height: 20px;
  color: var(--font-grey-tier1);
}
.dp-info-edit {
  /* live pas80 (qa/pas80-2026-07-16-measure4.json): 130.9×28 single line —
   * the fixed 131px box only fits "Edit Description" with wrapping disabled.
   * The local bg re-pin is GONE (2026-08-20): it existed because the global
   * .btn-grey had drifted to --btn-rect-bg #EDF3F8 while this dialog button
   * measured rgba(198,212,224,.4) on live — and .4 turned out to be the value
   * for every grey button on the machine, so .btn-grey now supplies it. This
   * button was, in effect, the one place that had it right. */
  width: 131px;
  justify-content: center;
  white-space: nowrap;
}
.dp-info-summary {
  display: grid;
  grid-template-columns: 48px 256px 1fr;
  align-items: center;
  width: 700px;
  height: 80px;
  margin: 12px 0 8px;
}
.dp-info-avatar {
  width: 48px;
  height: 48px;
  display: inline-flex;
  background-image: url("../assets/img/storage-pool-live.png");
  background-size: 48px 192px;
  background-position: 0 0;
  background-repeat: no-repeat;
}
.dp-info-name {
  margin-left: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 20px;
}
.dp-info-capacity {
  min-width: 0;
  line-height: 14.95px;
}
.dp-info-allocated {
  color: var(--main-tier1);
  cursor: default;
  text-decoration: none;
}
.dp-info-allocated:hover {
  text-decoration: none;
}
.dp-info-sep,
.dp-info-muted {
  color: var(--font-grey-tier2);
}
.dp-info-panel {
  width: 690px;
  min-height: 284px;
  box-sizing: border-box;
  background: rgba(198, 212, 224, 0.18);
  border-radius: 4px;
  padding: 16px;
}
.dp-info-panel-title {
  font-weight: var(--font-weight-bold);
  line-height: 20px;
  margin-bottom: 4px;
}
.dp-info-grid {
  display: grid;
  grid-template-columns: 200px 458px;
}
.dp-info-label,
.dp-info-value {
  min-width: 0;
  padding: 4px 0;
  color: var(--font-grey-tier1);
  line-height: 20px;
}
/* "Dual Pool N is not optimized. Run data scrubbing…" — orange warning copy with
   an inline blue link (live Information dialog of a freshly created pool). */
.dp-info-suggestion { color: #E8890C; }
.dp-info-suggestion .link { color: var(--main-tier1); }

/* ——— Simple responsive (desktop + app window fluid; dialogs fixed) ——— */
@media (max-width: 1100px) {
  .module-list { width: 200px; }
}
@media (max-width: 820px) {
  .module-list { width: 56px; padding: 12px 6px; }
  .module-label, .module-chevron { display: none; }
}
@media (max-width: 760px) {
  .sd-volume-item {
    flex-basis: 100%;
    max-width: none;
  }
}

/* ——— Fieldset (shared "titled section" = live SVC .v-fieldset) —————————————
 * One building block for every blue-title-over-dashed-divider section:
 * Control Panel groups, Storage Global Settings, Drives > Settings (collapsible).
 * Geometry from the live .v-fieldset-title-wrapper box model: 24px text line-box,
 * wrapper padding 4px 8px 4px 4px, PLUS the inner title's own 4px left pad — the
 * text sits 8px right of the dashed line's left edge (pas80 SM DevTools-confirmed
 * 2026-07-22). Pages own the inter-section spacing. */
.fieldset-title {
  display: flex; align-items: center;
  width: 100%; box-sizing: border-box;
  margin: 0; padding: 4px 8px 4px 4px;
  border: 0; border-bottom: 1px var(--fieldset-divider-style) var(--fieldset-divider-color);
  background: transparent; text-align: left;
  color: var(--fieldset-title-color);
  font-family: Verdana, Arial, "Microsoft JhengHei", sans-serif;
  font-size: var(--font-size-fieldset-title); font-weight: var(--font-weight-regular);
  line-height: 24px;
}
button.fieldset-title { cursor: pointer; }
/* Live collapsible-title hover: blue darkens (measured rgb(0,109,204)); the
 * chevron follows since it draws with currentColor. */
button.fieldset-title:hover,
button.fieldset-title:hover .fieldset-chevron { color: var(--fieldset-title-hover); }
.fieldset-title-text { flex: 1 1 auto; min-width: 0; padding-left: 4px; }
/* No rotation animation — the chevron flips to the up/down arrow instantly at
 * click (live swaps the glyph), so the flip also holds during is-collapsing. */
.fieldset-chevron {
  flex: 0 0 auto; display: block; width: 24px; height: 24px; line-height: 0;
  color: var(--fieldset-title-color);
}
.fieldset-chevron svg { display: block; width: 24px; height: 24px; }
.fieldset.is-collapsed .fieldset-chevron,
.fieldset.is-collapsing .fieldset-chevron { transform: rotate(180deg); }
.fieldset-body { padding: 4px 0; }
.fieldset.is-collapsed .fieldset-body { display: none; }

/* Collapse/expand slide shared by C.fieldset and the CP nav categories — the live
 * SVC "slide-up-down" transition (measured on sft-fsdna 2026-07-12): the body's
 * inline max-height + padding-top/bottom animate over 0.25s ease with overflow
 * hidden; ~250ms across cat nav and fieldset alike, easing fits CSS `ease`.
 * Applied/removed by C.slideSection(), which owns the inline values. */
.sm-slide { overflow: hidden; transition: max-height .25s ease, padding-top .25s ease, padding-bottom .25s ease; }

/* ——— Control Panel (launcher grid, no sidebar) ——— */
.cp-page { background: var(--white); min-height: 100%; padding: 8px 32px 40px; }
.cp-searchbar { display: flex; justify-content: center; padding: 0 0 5px; }
.cp-search { position: relative; width: 360px; }
.cp-search-ico {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  color: var(--icon-dark-grey-tier1, #6B7683); pointer-events: none;
}
.cp-search-input {
  width: 100%; height: 32px; box-sizing: border-box;
  padding: 0 10px 0 34px; border: 1px solid #C6D2DC; border-radius: 4px;
  font: 13px Verdana, sans-serif; color: var(--font-grey-tier1);
  background: var(--white); outline: none;
}
.cp-search-input::placeholder { color: rgba(65, 75, 85, .55); }
.cp-search-input:focus { border-color: var(--main-tier1); }

/* CP groups are shared C.fieldset()s; they stack back-to-back like live. */
.cp-grid { display: flex; flex-wrap: wrap; }
.cp-item {
  width: 128px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 12px 4px 14px; margin: 0;
  border: 0; border-radius: 6px; background: transparent; cursor: pointer;
  font: inherit; text-align: center;
}
.cp-item:hover { background: #EAF4FD; }
.cp-item:active { background: #DCEBFB; }
.cp-item-ico { position: relative; display: block; width: 48px; height: 48px; }
.cp-item-ico img { display: block; width: 48px; height: 48px; }
.cp-item-label {
  font: 13px/1.35 Verdana, sans-serif; color: var(--font-grey-tier1);
}

/* ——— Control Panel module view (left category nav + module content) ——— */
.cp-shell { display: flex; height: 100%; background: var(--white); }

/* Left category nav (bespoke — collapsible categories from D.controlPanelSections) */
.cp-nav {
  width: 240px; flex: 0 0 auto; box-sizing: border-box;
  border-right: 1px solid rgba(198, 212, 224, .5); /* live nav divider is .5, not the .4 tier */
  display: flex; flex-direction: column; overflow: hidden;
}
/* Live v-toolbar: 239×52, padding 16px 12px 8px. Fixed at the top of the nav —
 * NOT part of the scroll region, so the scrollbar sits below it (live: toolbar
 * ends at y=131, .v-scrollbar-view starts at y=131). */
.cp-nav-head { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 16px 12px 8px; }
/* Category list — the only scrolling region (scrollbar appears below the toolbar). */
.cp-nav-body { flex: 1 1 auto; overflow-y: auto; padding-bottom: 12px; }
/* Home = live grey v-btn (30×28, --btn-grey-bg, 3px radius). */
.cp-nav-home {
  flex: 0 0 auto; width: 30px; height: 28px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-transparent); border-radius: var(--radius-btn);
  background: var(--btn-grey-bg); cursor: pointer; color: var(--font-grey-tier1);
}
.cp-nav-home svg { width: 24px; height: 24px; }
.cp-nav-home:hover { background: var(--btn-rect-bg-hover); border-color: var(--border-control); }
.cp-nav-search { position: relative; flex: 1 1 auto; }
.cp-nav-search svg { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--icon-dark-grey-tier1, #6B7683); pointer-events: none; }
.cp-nav-search input {
  width: 100%; height: 28px; box-sizing: border-box; padding: 0 10px 0 34px;
  border: 1px solid #C6D2DC; border-radius: 4px; background: var(--white);
  font: 13px Verdana, sans-serif; color: var(--font-grey-tier1); outline: none;
}
.cp-nav-search input::placeholder { color: rgba(65, 75, 85, .4); }
.cp-nav-search input:focus { border-color: var(--main-tier1); }

/* Category inset 12px each side (live group li is 215px @x12 in the 239px scroll
 * column) so its bottom divider is inset too — not edge-to-edge. */
.cp-cat { margin: 0 12px; border-bottom: 1px solid var(--border-tier2); }
.cp-cat:last-child { border-bottom: 0; }
/* Live group li: every group after the first carries 8px top padding, and a
 * collapsed group keeps an 8px foot so its divider doesn't hug the header
 * (live collapsed li = 24px header + 8px + 1px divider). */
.cp-cat + .cp-cat { padding-top: 8px; }
.cp-cat.is-collapsed, .cp-cat.is-collapsing { padding-bottom: 8px; }
/* Header = live div.module-item: 24px flex row, padding 0 6px 0 11px; with the
 * caret's 5px margin the title text starts at x=52 in the nav, like live.
 * Live keeps the CONTAINER at 13px/400/#414B55 and puts the muted title styles
 * on the inner text node — mirror that split so machine diffs pair cleanly. */
.cp-cat-head {
  display: flex; align-items: center; width: 100%; height: 24px; box-sizing: border-box;
  padding: 0 6px 0 11px; border: 0; background: transparent; cursor: pointer;
  font: 13px Verdana, sans-serif; color: var(--font-grey-tier1); text-align: left;
}
/* Live title text (169×24 flex box): 12px/700 at .5 alpha; hover darkens
 * .5 → .6 (and .7 while pressed) with no background. The caret mirrors the same
 * alphas: rgb(80,90,100) at fill-opacity .5 → .6 on hover (measured; it is NOT
 * a solid dark glyph). */
.cp-cat-title { flex: 1 1 auto; line-height: 24px; font-size: 12px; font-weight: 700; color: rgba(65, 75, 85, .5); }
.cp-cat-head:hover .cp-cat-title { color: rgba(65, 75, 85, .6); }
.cp-cat-head:active .cp-cat-title { color: rgba(65, 75, 85, .7); }
.cp-cat-caret { display: flex; width: 24px; height: 24px; margin-right: 5px; color: #505A64; opacity: .5; }
.cp-cat-head:hover .cp-cat-caret { opacity: .6; }
.cp-cat-caret svg { width: 24px; height: 24px; }
/* Live swaps the arrow glyph instantly at click (no rotation transition), so the
 * flip also holds while the section is still sliding shut (is-collapsing). */
.cp-cat.is-collapsed .cp-cat-caret, .cp-cat.is-collapsing .cp-cat-caret { transform: rotate(180deg); }
.cp-cat.is-collapsed .cp-cat-items { display: none; }
/* Items container = live .module-options: padding 4px 0 8px. */
.cp-cat-items { padding: 4px 0 8px; }

/* Leaf item = live li.module-item-option: 42px row, padding 0 6px 0 0, radius 5;
 * icon 22×22 with margin 0 6px 0 12px so the label starts at x=40 in the group —
 * the same geometry as the shared .module-item rail (Storage/CAM). */
.cp-nav-item {
  display: flex; align-items: center; width: 100%; height: 42px;
  padding: 0 6px 0 0; border: 0; border-radius: 5px; background: transparent; cursor: pointer;
  font: 14px Verdana, sans-serif; color: var(--font-grey-tier1); text-align: left;
}
.cp-nav-item:hover { background: var(--main-hover); }
.cp-nav-item.is-active { background: var(--main-light); }
.cp-nav-ico { flex: 0 0 auto; width: 22px; height: 22px; margin: 0 6px 0 12px; display: block; }
.cp-nav-label { flex: 1 1 auto; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Module content (toolbar + folder list + footer) */
.cp-module { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; background: var(--white); }
/* Live .layout-panel-body: padding 16px 16px 6px 16px — wraps toolbar + table so
 * both are inset 16px each side (the table is NOT edge-to-edge). */
.cp-module-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 16px 16px 6px; }
.cp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px; }
.cp-tb-left { display: flex; align-items: center; gap: 8px; }
/* CP toolbar buttons use the shared .toolbar-btn (base/hover/caret). */
.cp-tb-right { display: flex; align-items: center; gap: 8px; }
.cp-filter { position: relative; width: 240px; }
.cp-filter svg { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--icon-dark-grey-tier1, #6B7683); pointer-events: none; }
.cp-filter input {
  width: 100%; height: 28px; box-sizing: border-box; padding: 0 10px 0 36px;
  border: 1px solid #C6D2DC; border-radius: 4px; background: var(--white);
  font: 13px Verdana, sans-serif; color: var(--font-grey-tier1); outline: none;
}
.cp-filter input::placeholder { color: rgba(65, 75, 85, .4); }
.cp-filter input:focus { border-color: var(--main-tier1); }
.cp-sort {
  width: 32px; height: 28px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-transparent); border-radius: 3px; background: var(--btn-rect-bg); cursor: pointer; color: var(--font-grey-tier1);
}
.cp-sort:hover { background: var(--btn-rect-bg-hover); border-color: var(--border-control); }
.cp-sort-ico { display: block; width: 24px; height: 24px; }

/* Table is inset 16px by .cp-module-body; rows add 16px so the folder icon sits
 * 32px from the content edge and the expand toggle 16px from the table's right. */
.cp-sf-list { flex: 1 1 auto; overflow-y: auto; border-top: 1px solid var(--border-tier2); }
.cp-sf-item { border-bottom: 1px solid var(--border-tier2); cursor: default; }
/* 58px of CONTENT — the separator sits on .cp-sf-item, outside this box, so the row
   keeps live's 8px above the name and 8px below the volume (pitch 59 collapsed /
   211 expanded, both live-exact). */
.cp-sf-row {
  display: flex; align-items: center; gap: 16px; height: 58px; padding: 0 16px;
}
/* No hover rule here: live paints hover AND selection on the whole item
   (.v-data-view-item-wrap), not the summary row, so hovering an expanded row's
   detail area lights the whole block too. Those two rules live in the page (see
   .cp-sf-item:hover / .is-selected). This used to be --row-selected #EBF4FD, which
   was both the wrong element and far stronger than live's rgba(5,127,235,.04). */
.cp-sf-ico { flex: 0 0 auto; width: 32px; height: 32px; display: block; }
.cp-sf-text { flex: 1 1 auto; min-width: 0; }
/* Live stacks two 20px-tall wrappers with a 2px gap: title-wrapper (margin 8px 0 0)
   over status-wrapper (margin 2px 0 0), both 13px/20px. 20 + 2 + 20 = 42 centred in
   the 58px row lands the name 8px below the top, exactly like live — the default
   ~15px line-height used before made the two lines read too close together. */
.cp-sf-name { font: 700 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-sf-vol { font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier2); margin-top: 2px; }
/* Live expand toggle: i.item-toggle-img.expandable-item-down (24×24 sprite). */
.cp-row-caret { flex: 0 0 auto; width: 24px; height: 24px; display: block; }

/* Footer / pagination — re-measured on pas80 2026-08-19 (qa/sharedfolder-pager.pas80.json).
   Live is a .layout-panel-fbar--fluid holding a white .v-pagination band:

     fbar   1168x50  margin 0 16px, padding 9px 0 10px, border-top 1px rgba(198,212,224,.5)
       pager  1168x30  padding 0 8px, white, border-top 1px rgba(198,212,224,.4)
         right  103.69x28  padding-left 2
           total  48.69x20  margin-left 12, 13px/20px rgb(65,75,85)
           refresh  24x24 + 5px left pad (content-box), margin-left 12, rgb(80,90,100)

   Was a single 40px strip with padding 0 16px and a 13px count at 60% opacity. */
.cp-module-footer {
  flex: 0 0 auto; display: flex; align-items: center; box-sizing: border-box;
  height: 50px; margin: 0 16px; padding: 9px 0 10px;
  border-top: 1px solid rgba(198, 212, 224, 0.5);
}
.cp-pager {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end;
  box-sizing: border-box; height: 30px; padding: 0 8px;
  background: var(--white);
  /* The band is ruled top AND bottom, in two different alphas — 30 = 1 + 28 + 1,
     matching live's 28px content box. The bottom rule is what makes the 10px of
     padding below it read as a gutter instead of the count floating on the window
     edge (pas80 2026-08-19; the vertical stack was already live-exact without it). */
  border-top: 1px solid rgba(198, 212, 224, 0.4);
  border-bottom: 1px solid rgba(198, 212, 224, 0.7);
}
.cp-pager-right { display: flex; align-items: center; height: 28px; padding-left: 2px; }
.cp-pager-total {
  margin-left: 12px; font: 13px/20px Verdana, Arial, sans-serif; color: var(--font-grey-tier1);
}
/* content-box: live's 29px slot is a 24px glyph plus a 5px left inset, and that
   inset is there to clear the divider the icon draws on its own left edge. */
.cp-pager-refresh {
  position: relative;
  box-sizing: content-box; width: 24px; height: 24px; margin-left: 12px; padding-left: 5px;
  display: block; border: 0; background: transparent; cursor: pointer;
  color: var(--icon-dark-grey-tier1);
}
/* 1x20 rule between the count and the glyph — live .v-pagination-refresh::before,
   absolute at the icon's left edge with a 2px vertical inset (24 - 2 - 2 = 20). */
.cp-pager-refresh::before {
  content: ""; position: absolute; left: 0; top: 0; margin: 2px 0;
  width: 1px; height: 20px; background: rgba(198, 212, 224, 0.4);
}
.cp-pager-refresh svg { display: block; width: 24px; height: 24px; }

/* ——— Control Panel tab bar (live SVC .v-tabs) — THE single tab component ———
 * Built by C.tabs()/C.tabPanel() and used by every CP tabbed module (Security,
 * File Services, Terminal & SNMP, Network, User & Group, Identity Connect).
 * Probed on Security (live ExtJS x-tab-strip) 2026-07-11: 12px/700 labels, active
 * blue / inactive grey, height 30px. The strip carries a thin grey bottom line
 * (`--border-tier3`), and the active indicator is a small WHITE diamond notch that
 * sits astride that line — a 9px square rotated 45° with a 1px grey border ONLY on
 * its two UPPER edges (`border-top` + `border-left`, which rotate to the ∧). No
 * bottom border, so the line and the ∧ read as ONE continuous line that points up
 * under the active tab; the diamond's white fill breaks the line beneath the notch.
 * NOT an underline bar, NOT a full blue triangle. `.dsm-*` are kept as aliases. */
.cp-sec-form .cp-form-body { padding-top: 12px; }
.cp-tabs, .dsm-tabs {
  position: relative;
  flex: 0 0 auto; display: flex; align-items: flex-end; gap: 8px;
  padding: 16px 16px 0;                 /* live v-tabs-bar: 16px top + L/R (DevTools box model) */
}
/* Bottom line drawn as a ::after so it is INSET 16px on each side (respects the
 * strip's L/R padding) instead of spanning edge-to-edge like a border would. The
 * active-tab diamond (z-index 1) paints over it, so the notch still breaks the line. */
.cp-tabs::after, .dsm-tabs::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px;
  background: var(--border-tier3);
}
.cp-tab, .dsm-tab {
  position: relative; border: 0; background: transparent; cursor: pointer;
  padding: 0 8px 8px; font: 700 12px Verdana, Arial, sans-serif; color: var(--font-grey-tier1);
  line-height: 22px;
}
/* 12px/700 on the span too, so it wins over the inherited 13px content font. */
.cp-tab-text, .dsm-tab-text { font: 700 12px Verdana, Arial, sans-serif; }
.cp-tab:hover, .dsm-tab:hover { color: var(--main-tier1); }
.cp-tab.is-active, .dsm-tab.is-active { color: var(--main-tier1); cursor: default; }
/* Active-tab notch: white 9px square rotated 45°, bordered ONLY on its two upper
 * edges (border-top + border-left → the ∧). bottom:-4px puts the diamond's CENTER
 * exactly on the strip's bottom line (measured), so the ∧'s two base corners land on
 * the line and it reads as one continuous line notched upward — no protruding legs.
 * The white fill breaks the line under the notch. */
.cp-tab.is-active::before, .dsm-tab.is-active::before {
  content: ""; position: absolute; left: 50%; bottom: -4px; z-index: 1;
  width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg);
  background: var(--white);
  border-top: 1px solid var(--border-tier3);
  border-left: 1px solid var(--border-tier3);
}

/* Dashed-legend section (live <fieldset>/<legend>). */
.cp-sec-section { border: 0; margin: 0 0 4px; padding: 0; }
.cp-sec-section + .cp-sec-section { margin-top: 18px; }
.cp-sec-legend {
  display: block; width: 100%; box-sizing: border-box; padding: 0 0 3px;
  margin-bottom: 14px; border-bottom: 1px dashed var(--border-tier3);
  font: 15px/28px Verdana, sans-serif; color: var(--main-tier1);
}
.cp-sec-desc { margin: 0 0 14px; font: 13px/18px Verdana, sans-serif; color: var(--font-grey-tier1); }

/* Checkbox row: real Synology sprite glyph + label, with optional indented extras. */
.cp-check-row { margin-bottom: 12px; }
/* The whole row (glyph + label) is clickable, but the cursor stays the DEFAULT
   arrow on hover (live) — NOT a pointer. */
.cp-check { display: flex; align-items: center; gap: var(--control-row-gap); cursor: default; }
.cp-check-label { font: 13px/18px Verdana, sans-serif; color: var(--font-grey-tier1); }
/* The SAME checkbox as Storage Manager > Global Settings (.gs-checkbox): a 20px
   Figma-exported sprite (normal → checked), matching live's syno-ux-checkbox-icon.
   Rendered on a <span> (live uses a sprite div too) toggled via .is-checked. */
.cp-cbx {
  flex: 0 0 auto; box-sizing: border-box;
  width: var(--control-checkbox-size); height: var(--control-checkbox-size);
  border: 0; border-radius: 0; padding: 0;
  background: var(--checkbox-icon-normal) center / var(--control-checkbox-size) var(--control-checkbox-size) no-repeat;
  cursor: default;
}
.cp-cbx.is-checked { background-image: var(--checkbox-icon-checked); }
/* Indented content under a checkbox (aligns past the 20px box + 10px gap). */
.cp-check-desc { margin: 4px 0 0 30px; font: 13px/18px Verdana, sans-serif; color: rgba(65, 75, 85, .4); }
.cp-check-sub { margin: 10px 0 0 30px; font: 13px/18px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-check-btn { margin: 8px 0 0 30px; }

/* Dependent block under a "master" checkbox — greyed + inert when the master is
   OFF (live behavior: e.g. Security "Do not allow iFrame" → Allowed websites;
   File Services "Enable SMB" → its sub-options). Wired by SM.controlpanel.wireChecks:
   the dep gains .is-disabled and its inputs/.btn are disabled. Mirrors network's
   .cpnet-dep so all three dependent-block classes look identical when disabled. */
.cp-check-dep.is-disabled, .cp-fs-dep.is-disabled { pointer-events: none; }
.cp-check-dep.is-disabled .cp-check-label,
.cp-check-dep.is-disabled .cp-check-sub,
.cp-check-dep.is-disabled .cp-check-desc,
.cp-fs-dep.is-disabled .cp-check-label,
.cp-fs-dep.is-disabled .cp-fs-field-label { color: rgba(65, 75, 85, .4); }
.cp-check-dep.is-disabled .cp-cbx,
.cp-fs-dep.is-disabled .cp-cbx { opacity: .5; }
/* A "Note:" inside a disabled dependent block follows its master checkbox: it stays
   greenish (the "Note:" label keeps a muted TEAL tint, NOT grey) while the body text
   greys — matching live fsdna (label rgba(0,166,166,.4), body rgba(173,177,181,.4)).
   When the master is checked the dep loses .is-disabled and the note reverts to the
   normal teal label + grey body (its enabled state). */
.cp-check-dep.is-disabled .cp-note,
.cp-fs-dep.is-disabled .cp-note { color: rgba(173, 177, 181, .4); }
.cp-check-dep.is-disabled .cp-note-label,
.cp-fs-dep.is-disabled .cp-note-label { color: rgba(0, 166, 166, .4); }
/* A text input inside a disabled dependent block (e.g. SMB Settings > Workgroup)
   reads as greyed too — wireChecks sets its `disabled`, this styles it (live). */
.cp-form-input:disabled,
.cpnet-input:disabled,
.cp-port-input:disabled {
  background: rgba(198, 212, 224, .18);
  color: var(--font-grey-tier3);
  border-color: var(--border-tier2);
  cursor: default;
}

/* Logout-timer label + input row. */
.cp-timer-row { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.cp-timer-label { flex: 0 0 auto; font: 13px/16px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-timer-input {
  width: 280px; height: 28px; box-sizing: border-box; padding: 3px 11px;
  border: 1px solid var(--border-control); border-radius: 4px;
  font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); background: var(--white);
}
.cp-timer-input:focus { border-color: var(--main-tier1); outline: none; }

/* ——— Terminal & SNMP: flat form intro + Port row + Note (live) ——— */
/* Top intro paragraph (no dashed legend on this module) — 2-line copy at 20px rhythm. */
.cp-form-intro { margin: 0 0 12px; line-height: 20px; }
/* Port label + input, indented under the SSH checkbox (label sits in a fixed column,
 * the input follows — matching the live form's 160px label width). */
.cp-port-row { display: flex; align-items: center; margin: 0 0 0 26px; }
.cp-port-label { flex: 0 0 auto; width: 160px; font: 13px/16px Verdana, sans-serif; color: var(--font-grey-tier1); }
/* Bordered box carries the border/radius (live .input-container); the input inside
 * is borderless (live: 189×28 container over a 165×26 borderless field). */
.cp-port-inbox {
  display: inline-flex; align-items: center; box-sizing: border-box;
  width: 189px; height: 28px; padding: 0 11px;
  border: 1px solid var(--border-tier3); border-radius: 4px; background: var(--white);
}
.cp-port-inbox:focus-within { border-color: var(--main-tier1); }
.cp-port-input {
  flex: 1 1 auto; width: 100%; min-width: 0; height: 100%;
  border: 0; padding: 0; background: transparent; outline: none;
  font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1);
}
/* Note line: teal "Note:" label + body copy with inline links. Box shrinks to its
 * one-line content (live note is intrinsic-width, not full panel width). */
.cp-note { margin: 16px 0 0; width: fit-content; max-width: 100%; font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-note-label { color: var(--note-teal); }
/* Inline links in the intro + note darken on hover/active (live SVC .link-font). */
.cp-form-intro a:hover, .cp-note a:hover { color: #006DCC; }
.cp-form-intro a:active, .cp-note a:active { color: #005CAD; }

/* ——— Empty-state placeholder (live SVC .v-empty-view) ——— */
/* Fills the module content below the tab bar and centers the illustration,
 * descriptive copy + link, and the primary action button. */
.cp-empty {
  flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.cp-empty-icon {
  width: 120px; height: 120px; display: block; margin: 0 0 20px;
}
.cp-empty-text {
  max-width: 720px; font: 13px Verdana, sans-serif; color: var(--font-grey-tier2);
  line-height: 20px; margin: 0 0 16px;
}
.cp-empty-text a { color: var(--main-tier1); text-decoration: underline; }
.cp-empty-text a:hover { color: #006DCC; text-decoration: underline; }
.cp-empty-text a:active { color: #005CAD; text-decoration: underline; }
/* "Select ▾" primary dropdown button: reuses .btn .btn-primary + a caret. */
.cp-select-btn { display: inline-flex; align-items: center; gap: 6px; }
.cp-select-caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; display: inline-block;
}
/* Tab panels (C.tabPanel): only the .is-active pane shows; it fills the module as
 * a flex column (scroll body + optional footer). The delegated tab handler toggles
 * .is-active. Legacy [hidden] panels are still honored. */
.cp-tab-panel { display: none; }
.cp-tab-panel.is-active { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.cp-empty[hidden], .cp-tab-panel[hidden] { display: none; }

/* ═══ Control Panel settings-form module view (External Access, …) ═════════════
 * Right-side content for a settings page: a blue section title, a description with
 * a "Learn more" link, label+input rows, and a right-aligned Reset/Apply footer.
 * Geometry from live sft-fsdna Control Panel → External Access (title @x264/y56,
 * label 260px, input 224×28, rows 34px pitch, footer pinned bottom). */
.cp-form { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; background: var(--white); }
.cp-form-title { flex: 0 0 auto; padding: 16px 24px 0; font: 15px/20px Verdana, sans-serif; color: var(--main-tier1); }
.cp-form-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 24px 16px; }
.cp-form-desc { margin: 0 0 12px; padding: 4px 0; font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-form-desc a { color: var(--main-tier1); text-decoration: underline; }
.cp-form-desc a:hover { color: #006DCC; }
.cp-form-desc a:active { color: #005CAD; }
/* External Access = one titled section (blue title + dashed divider), matching
 * Storage Global Settings. Reuses C.fieldset; this only owns the top spacing. */
.cp-ea-section { padding-top: 8px; }
.cp-form-row { display: flex; align-items: center; height: 28px; margin-bottom: 6px; }
.cp-form-label { flex: 0 0 260px; padding: 4px 0; font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-form-input {
  width: 224px; height: 28px; box-sizing: border-box; padding: 3px 8px;
  border: 1px solid var(--border-control); border-radius: 3px;
  font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); background: var(--white);
}
.cp-form-input::placeholder { color: rgba(65, 75, 85, .4); }
.cp-form-input:focus { border-color: var(--main-tier1); outline: none; }
.cp-form-footer {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  margin: 0 16px; padding: 9px 0 10px; border-top: 1px solid var(--border-tier2);
}
/* Footer buttons match the live syno-ux-button footer (same treatment as the
 * correct Storage Global Settings .gs-footer): pill-shaped, 0 13px padding, the
 * primary a fixed 120px min-width and the grey a ~78px min-width. The grey/blue
 * backgrounds already come from .btn-grey (--btn-grey-bg = #C6D4E066) and
 * .btn-primary (--main-tier1 = #057FEB). */
.cp-form-footer .btn { border-radius: var(--radius-pill); padding: 0 13px; }
.cp-form-footer .btn-grey { min-width: 78px; background: var(--btn-grey-bg); border-color: var(--border-transparent); }
/* live v-btn-footbar v-btn-grey hovers exactly like every other grey: fill
   holds, the rgba(124,138,152,.4) rim appears (pas80 2026-08-20, the Reset on
   Global Settings / External Access / Security / Login Portal / Notification). */
.cp-form-footer .btn-grey:hover { background: var(--btn-grey-bg); border-color: var(--btn-grey-border-hover); }
.cp-form-footer .btn-grey:active { background: var(--btn-grey-bg-active); border-color: var(--btn-grey-border-active); }
.cp-form-footer .btn-primary { min-width: 120px; }

/* ═══ Control Panel → File Services (SMB tab) ══════════════════════════════════
 * Tabs (SMB/NFS/Advanced) over three COLLAPSIBLE C.fieldset sections. Section
 * titles align to the content edge (live x256); body items indent 8px (x264), and
 * a master checkbox's dependent controls indent a further 26px (x292 → Log Settings
 * x320). Geometry from live sft-fsdna Control Panel → File Services. */
.cp-fs-form .cp-form-body { padding: 8px 16px 16px; }
/* Live tab bodies all share a uniform 16px horizontal padding (framework
 * --svc-layout-padding: 4px 16px 6px 16px) — so every TABBED CP settings form uses
 * 16px L/R, matching the 16px tab strip above it and letting the content-edge
 * scrollbar land 16px from the window edge. (Non-tabbed forms like External Access,
 * which aren't inside a .cp-tab-panel, keep the base 24px.) */
.cp-tab-panel .cp-form-body { padding-left: 16px; padding-right: 16px; }
.cp-fs-section { margin: 0; }
.cp-fs-section + .cp-fs-section { margin-top: 22px; }
.cp-fs-form .fieldset-body { padding: 10px 0 4px 8px; }
/* Dependent group indented under a master checkbox; Log Settings indents once more. */
.cp-fs-dep { margin-left: 26px; }
/* Button row indented UNDER a checkbox's label text (live: Log Settings/View Logs
   under Enable Transfer Log). Compound selector so it beats .cp-fs-btnrow's margin
   shorthand; 30px = 20px glyph + 10px gap, aligning with the label text. */
.cp-fs-btnrow.cp-fs-dep2 { margin-left: 30px; }
/* Workgroup label + input row. */
.cp-fs-field { display: flex; align-items: center; height: 28px; margin: 2px 0 10px; }
.cp-fs-field-label { flex: 0 0 160px; font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-fs-workgroup { width: 189px; }
/* Grey content-button rows. */
.cp-fs-btnrow { display: flex; gap: 6px; margin: 12px 0; }
/* Teal "Note:" block + disc list (links blue underlined; muted when the feature is off). */
.cp-note { margin: 16px 0 0; font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cp-note-label { color: var(--note-teal); }
.cp-note.is-muted { color: rgba(173, 177, 181, .4); }
.cp-note.is-muted .cp-note-label { color: rgba(0, 166, 166, .4); }
.cp-note-list { margin: 4px 0 0; padding-left: 22px; list-style: disc; }
.cp-note-list li { margin: 0; }
.cp-note a, .cp-note-list a { color: var(--main-tier1); text-decoration: underline; }
.cp-note-inline { margin-top: 12px; }

/* ═══ Control Panel → Network (General tab) ═══════════════════════════════════
 * Builds on .cp-fs-form (collapsible C.fieldset sections, body x264, deps x290).
 * A label+control/value row grid: General labels take a 238px column (value at
 * x502); DNS deps 212px (value stays at x502); Proxy deps 152px (value at x444).
 * Geometry from live sft-fsdna Control Panel → Network. */
.cpnet-desc { margin: 0 0 12px; font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cpnet-row { display: flex; align-items: flex-start; min-height: 28px; margin-bottom: 6px; }
.cpnet-label { flex: 0 0 238px; font: 13px/28px Verdana, sans-serif; color: var(--font-grey-tier1); }
.cpnet-value { font: 13px/28px Verdana, sans-serif; color: var(--font-grey-tier1); }
/* Live text input: 200×28, 4px radius, .7-alpha border; disabled → pale fill + faded text. */
.cpnet-input {
  width: 200px; height: 28px; box-sizing: border-box; padding: 3px 11px;
  border: 1px solid var(--border-tier3); border-radius: 4px;
  font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1); background: var(--white);
}
.cpnet-input::placeholder { color: rgba(65, 75, 85, .4); }
.cpnet-input:focus { border-color: var(--main-tier1); outline: none; }
.cpnet-input:disabled { background: rgba(198, 212, 224, .2); color: rgba(65, 75, 85, .4); border-color: var(--border-tier3); }
/* Dependent group under a master checkbox (inherits .cp-fs-dep 26px indent). When
 * the master is off the whole group is inert + faded (inputs keep the disabled fill). */
.cpnet-dep .cpnet-label { flex-basis: 212px; }
.cpnet-dep.cpnet-dep-proxy .cpnet-label { flex-basis: 152px; }
.cpnet-dep.is-disabled { pointer-events: none; }
.cpnet-dep.is-disabled .cpnet-label { color: rgba(65, 75, 85, .4); }
.cpnet-dep.is-disabled .cp-check-label { color: rgba(65, 75, 85, .4); }
.cpnet-dep.is-disabled .cp-cbx { opacity: .5; }
.cpnet-adv { margin: 12px 0 4px; }

/* Network tab panels now use the shared .cp-tab-panel (General / Network Interface /
 * Connectivity) — display + switching handled by the shared tab CSS + handler. */

/* ═══ Network Interface tab (list of collapsible interface groups) ════════════
 * Toolbar (Create ▾ / Edit / Create VLAN / Delete + right-side name search) over
 * collapsible C.fieldset groups; each interface row = 32px icon + name/status
 * stack + IP (@x578) + expand caret. Geometry from live sft-fsdna. */
.netif-toolbar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 10px; }
.netif-tb-left { display: flex; align-items: center; gap: 8px; }
.netif-search { position: relative; width: 240px; flex: 0 0 auto; }
.netif-search svg { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--icon-dark-grey-tier1, #6B7683); pointer-events: none; }
.netif-search input {
  width: 100%; height: 28px; box-sizing: border-box; padding: 0 28px 0 36px;
  border: 1px solid #C6D2DC; border-radius: 4px; background: var(--white);
  font: 13px Verdana, sans-serif; color: var(--font-grey-tier1); outline: none;
}
.netif-search input::placeholder { color: rgba(65, 75, 85, .4); }
.netif-search input:focus { border-color: var(--main-tier1); }
.netif-search-clear {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%;
  background: #C6D2DC; cursor: pointer;
}
.netif-search-clear[hidden] { display: none; }
.netif-search-clear:hover { background: #B7C3CE; }
.netif-search-clear:focus-visible { outline: 1px solid var(--main-tier1); outline-offset: 1px; }
.netif-search-clear-mark {
  display: block; width: 14px; height: 14px;
  background: url("../assets/img/sm-icn-remove.png") 0 0 / 14px 42px no-repeat;
  filter: brightness(0) invert(1); transform: scale(.72);
}
/* Scrolling list of groups; each group is a collapsible C.fieldset (blue title). */
.netif-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 16px 16px; }
.netif-list .fieldset-body { padding: 0; }
.netif-list .fieldset.cp-fs-section { margin-left: 8px; margin-right: 8px; }
.netif-list .fieldset.cp-fs-section + .fieldset.cp-fs-section { margin-top: 16px; }
.netif-item {
  position: relative; min-height: 59px; box-sizing: border-box; padding-left: 64px;
  border-bottom: 1px solid var(--border-tier2); background: transparent;
}
.netif-item:hover { background: rgba(5, 127, 235, .04); }
.netif-item.is-selected { background: rgba(5, 127, 235, .1); }
.netif-row {
  display: flex; align-items: center; min-height: 58px; padding: 0 2px;
  background: transparent;
}
.netif-icn {
  position: absolute; top: 13px; left: 16px; width: 32px; height: 32px; display: block;
  background-color: transparent;
  background-image: url("../assets/img/netif-icon-sprite.png");
  background-repeat: no-repeat; background-size: 32px 320px;
}
.netif-icn.is-lan-connected { background-position: 0 0; }
.netif-icn.is-lan-disconnected { background-position: 0 -32px; }
.netif-icn.is-mgmt { background-position: 0 -256px; }
.netif-item:hover .netif-icn, .netif-item.is-selected .netif-icn { background-color: transparent; }
.netif-text { flex: 0 0 248px; min-width: 0; align-self: stretch; }
.netif-titleline { display: flex; align-items: flex-start; gap: 6px; min-width: 0; height: 28px; }
.netif-name {
  display: inline-block; height: 28px; box-sizing: border-box; padding-top: 8px;
  font: 700 13px/18px Verdana, sans-serif; color: var(--font-grey-tier1);
}
.netif-vlan-tag {
  display: block; flex: 0 0 32px; width: 32px; height: 14px; margin: 12px 0 0;
  background: transparent url("../assets/icons/netif-vlan-tag.svg") no-repeat 0 0 / 32px 14px;
  font-size: 0;
}
.netif-vlan-tag::after { content: none; }
.netif-status { display: inline-block; margin-top: 4px; font: 13px/16px Verdana, sans-serif; }
.netif-status.is-connected { color: var(--main-tier1); }
.netif-status.is-disconnected { color: rgba(65, 75, 85, .6); }
.netif-ip {
  flex: 1 1 auto; align-self: flex-start; min-width: 0; margin-top: 31px;
  font: 13px/20px Verdana, sans-serif; color: var(--font-grey-tier1);
}
.netif-caret {
  position: absolute; top: 17px; right: 16px; width: 24px; height: 24px; display: block;
  color: var(--font-grey-tier1); font: 13px Verdana, sans-serif;
  border: 0; outline: 0; cursor: pointer; background-color: transparent;
  background-image: url("../assets/img/netif-caret-sprite.png");
  background-repeat: no-repeat; background-size: 48px 72px; background-position: 0 0;
}
.netif-caret:hover, .netif-item.is-selected .netif-caret { background-position: 0 -48px; }
.netif-item.is-expanded .netif-caret { background-position: -24px 0; }
.netif-item.is-expanded .netif-caret:hover,
.netif-item.is-expanded.is-selected .netif-caret { background-position: -24px -48px; }
.netif-item.is-collapsed > .netif-detail { display: none; }
.netif-detail { padding: 17px 16px 11px 0; overflow: hidden; }
.netif-detail.has-table { padding-top: 0; padding-bottom: 16px; }
.netif-detail-table { width: 100%; margin-bottom: 12px; color: var(--font-grey-tier1); }
.netif-detail-table-head {
  display: flex; align-items: center; width: 100%; height: 31px; box-sizing: border-box; padding-left: 8px;
  overflow: hidden; border-radius: 4px 4px 0 0; background: rgba(50, 60, 70, .5); color: var(--white);
}
.netif-detail-head-cell {
  height: 32px; box-sizing: border-box; padding: 6px 0;
  font: 400 13px/19px Verdana, sans-serif; white-space: nowrap;
}
.netif-detail-head-cell:first-child { flex: 0 0 235px; }
.netif-detail-head-cell:nth-child(2) { flex: 0 0 148px; }
.netif-detail-head-cell:nth-child(2), .netif-detail-head-cell:nth-child(3) { padding-left: 8px; }
.netif-detail-head-cell:nth-child(3) { flex: 0 0 auto; }
.netif-detail-table-body {
  display: grid; grid-template-columns: 235px 146px minmax(0, calc(100% - 392px)); grid-auto-rows: 32px;
  width: 100%; height: 66px; box-sizing: border-box; padding: 0 0 0 8px;
  overflow: hidden; border: 1px solid rgba(50, 60, 70, .5); border-top: 0; border-radius: 0 0 4px 4px;
  background: var(--white);
}
.netif-detail-body-cell {
  height: 32px; box-sizing: border-box; padding: 6px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 13px/20px Verdana, sans-serif;
}
.netif-detail-body-cell:nth-child(3n + 2) { padding-left: 6px; }
.netif-detail-body-cell:nth-child(3n) { padding-left: 8px; }
.netif-detail-fields { width: 802px; padding: 0 2px; }
.netif-detail-field {
  display: grid; grid-template-columns: 246px minmax(0, 1fr); align-items: center;
  min-height: 24px; color: var(--font-grey-tier1); font: 13px/20px Verdana, sans-serif;
}
.netif-detail-label, .netif-detail-value { min-width: 0; min-height: 24px; box-sizing: border-box; padding-bottom: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
 * CAM · Failover Group — Create wizard + configured card
 * Live source: 172.21.3.80 (pas_admin). Shared primitives: C.expandRow (live
 * ".v-expandable-item"), C.gridTable (live ".adv-grid"). Values machine-measured.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ——— Expandable item (C.expandRow) ——— */
.cam-exp { position: relative; }
.cam-exp.is-collapsed > .cam-exp-detail { display: none; }
.cam-exp.is-selected {
  border: 1px solid var(--main-tier1);
  border-radius: 4px;
  background: var(--main-light);
}
.cam-exp-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; flex: 0 0 24px;
  color: var(--icon-dark-grey-tier1); cursor: pointer;
  /* NO transform transition: live swaps the down/up glyph instantly (class
   * swap expandable-item-down → -up), never a rotation tween — user-confirmed
   * on both CAM Failover Group and SAN Namespace, 2026-07-16. */
}
.cam-exp-toggle:not(:hover) { fill-opacity: 0.5; }
.cam-exp-toggle svg { display: block; width: 24px; height: 24px; }
.cam-exp-toggle:hover { color: var(--main-tier1); }
.cam-exp:not(.is-collapsed) > .cam-exp-summary .cam-exp-toggle { transform: rotate(180deg); }
/* …but the glyph swaps back the instant the collapse starts (live flips down on
 * click while the body is still sliding shut) — only the body animates. */
.cam-exp.is-collapsing > .cam-exp-summary .cam-exp-toggle { transform: none; }

/* ——— Schedule Table (C.scheduleTable) ———
   Live SVC ".v-schedule-table", measured on pas80 2026-07-28 (Storage Manager > Global
   Settings > Background Task Windows). Geometry: 42px day column + 24×25px hour columns
   = 642px tbody inside a 1px ring; head row 24px, body rows 25px (24px cell + 1px top
   border). Borders are PER-CELL (top+left only) with the table's own ring closing the
   last row/column — border-collapse stays separate so the 4px radius survives. */
.schedule-legend {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 642px; height: 28px; margin-bottom: 12px;
}
.schedule-btn { display: flex; align-items: center; height: 28px; cursor: default; margin-right: 12px; }
.schedule-swatch {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; flex: 0 0 24px; margin-right: 4px;
  border-radius: 3px; background-color: transparent; cursor: pointer;
}
.schedule-swatch:hover { background-color: rgba(198, 212, 224, 0.2); }
/* the ONLY marker for the active cell type (live diff: background-color, nothing else) */
.schedule-swatch.is-pressed, .schedule-swatch.is-pressed:hover { background-color: var(--btn-grey-bg); }
/* "don't allow" glyph — the machine's own asset, as a background-image like live */
.schedule-swatch-clear {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd' transform='translate(5 5)'%3E%3Crect width='13' height='13' x='.5' y='.5' fill='%23FFF' stroke='%23DCDEE0' rx='1'/%3E%3Crect width='1' height='18' x='6.468' y='-2' fill='%23E6E8EA' transform='rotate(-45 6.968 7)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 24px 24px;
}
.schedule-swatch-inner {
  width: 14px; height: 14px; box-sizing: border-box;
  background: var(--main-tier1); border: 1px solid #DCDEE0; border-radius: 1px;
}
.schedule-btn-text {
  font-size: 13px; font-weight: var(--font-weight-regular); line-height: 28px;
  color: var(--font-grey-tier1); white-space: nowrap; overflow: hidden;
}
.schedule-grid {
  display: table; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border-tier3); border-radius: 4px;
  table-layout: fixed; user-select: none;
}
.schedule-grid td { padding: 0; }
/* head row + day column share the live tint; grid lines are a lighter blue-grey */
.schedule-corner, .schedule-hour-head, .schedule-day-head { background: rgba(198, 212, 224, 0.08); }
/* head row + day column inherit live's 12px/700 head typography; the two cells that
   sit in the table's rounded corners carry a 3px inner radius so they follow the ring */
.schedule-corner {
  width: 42px; height: 24px; text-align: center; vertical-align: bottom; cursor: default;
  font-size: 12px; font-weight: var(--font-weight-bold); border-radius: 3px 0 0 0;
}
.schedule-row:last-child .schedule-day-head { border-radius: 0 0 0 3px; }
.schedule-corner:hover { background: rgba(5, 127, 235, 0.06); }
/* "select all / clear all" mark — live draws it as a pure CSS border triangle (◢),
   flush to the corner cell's bottom-right with 3px insets. */
.schedule-corner-tri {
  display: block; float: right; width: 0; height: 0; margin: 0 3px 3px 0;
  border-bottom: 8px solid var(--main-tier1); border-left: 8px solid transparent;
}
.schedule-corner:hover .schedule-corner-tri { border-bottom-color: rgba(5, 127, 235, 0.8); }
.schedule-hour-head {
  width: 25px; height: 24px; border-left: 1px solid #E6ECF2;
  font-size: 12px; font-weight: var(--font-weight-bold); line-height: 13.8px;
  color: var(--font-grey-tier1); text-align: center; vertical-align: middle; cursor: default;
}
.schedule-day-head {
  width: 42px; height: 25px; border-top: 1px solid #E6ECF2;
  font-size: 12px; font-weight: var(--font-weight-regular); line-height: 24px;
  color: var(--font-grey-tier1); text-align: center; vertical-align: middle;
  cursor: pointer;                                  /* live: only the day header is a pointer */
}
.schedule-hour-head:hover, .schedule-day-head:hover { background: rgba(5, 127, 235, 0.06); }
.schedule-cell {
  width: 25px; height: 25px; background: var(--white); text-align: center;
  border-top: 1px solid #E6ECF2; border-left: 1px solid #E6ECF2; cursor: default;
}
/* the other two cells sitting in the table's rounded corners */
.schedule-head-row .schedule-hour-head:last-child { border-radius: 0 3px 0 0; }
.schedule-row:last-child .schedule-cell:last-child { border-radius: 0 0 3px 0; }
.schedule-cell.is-on { background: var(--main-tier1); }
/* Drag preview + hover share one neutral highlight — live never previews the
   prospective colour, it just lightens what the rectangle covers. Live's two rules,
   mirrored exactly: every body cell (the day header is one too) drops to opacity .8,
   and an EMPTY cell goes back to opacity 1 with a light-blue wash instead. */
.schedule-cell:hover, .schedule-cell.is-preview,
.schedule-day-head:hover { opacity: 0.8; }
.schedule-cell:not(.is-on):hover, .schedule-cell:not(.is-on).is-preview {
  opacity: 1; background: rgba(5, 127, 235, 0.06);
}

/* ——— Adv-grid table (C.gridTable) ——— */
.cam-grid { width: 100%; border-collapse: collapse; table-layout: fixed;
  font-size: 13px; color: var(--font-grey-tier1); }
.cam-grid .cam-grid-cell {
  padding: 6px 8px; text-align: left; vertical-align: middle; line-height: 20px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cam-grid .ta-right { text-align: right; }
.cam-grid .ta-center { text-align: center; }
.cam-grid-head-cell { font-weight: var(--font-weight-regular); }
/* solid grey header — wizard sub-table + configured card tables */
.cam-grid-solid .cam-grid-head-cell {
  height: 31px; padding: 5px 8px 6px;
  background: rgba(50, 60, 70, 0.5); color: #fff;
}
/* adv-grid rows (live AdvancePanelGrid, live-pas80.md §1 Volume Drive Info): NO row
 * dividers; hover rgba(153,177,204,.1) (set after the generic hover below). The outer
 * 1px rgba(50,60,70,.5) radius-4 frame is the wrapper's: C.gridTable({frame:true}). */
.cam-grid-solid tbody .cam-grid-row { border-bottom: 0; }
/* (The 'light' header + checkbox-column variants were removed 2026-10-03: their only
 * users — the CAM Set up / Edit / Adjust interface tables — are v-tables on live and
 * are now C.dataTable.) */
.cam-grid tbody .cam-grid-row:hover { background: rgba(5, 127, 235, 0.06); }
.cam-grid-solid tbody .cam-grid-row:hover { background: rgba(153, 177, 204, 0.1); }

/* ——— Create Failover Group wizard (variant on C.openWizard) ——— */
/* No dark scrim over the app window behind the CAM wizard (live leaves the
 * window undimmed). Backdrop stays for click-catching, just transparent. */
.cam-fovr-overlay .dialog-backdrop { background: transparent; }
.cam-fovr-wizard {
  width: 900px !important; height: 600px;
  border-radius: 6px;
  display: flex; flex-direction: column; overflow: hidden;
}
/* Same 40 + 56 split as the storage wizards: eyebrow stays at y12, step title at y52,
   blue band still 96px tall at rest — but the bottom 56px now scrolls away. */
.cam-fovr-wizard .wizard-hero { flex: 0 0 40px; }
.cam-fovr-wizard .wizard-headline { height: 56px; box-sizing: border-box; overflow: hidden; }
.cam-fovr-wizard .wizard-body {
  flex: 1 1 0; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto;
  background: var(--white);
  color: var(--font-grey-tier1); font-size: 13px;
  display: flex; flex-direction: column;
}
.cam-fovr-wizard .wizard-step { flex: 1 0 auto; display: flex; flex-direction: column; padding: 26px 40px 12px; }
.cam-fovr-wizard .fovr-wiz-step { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
/* live SVC .v-wizard-footer: 48 tall, border-top 1px .5, padding 9 24 10 16 → the
 * 28px buttons sit 10px under the footer's top edge (border 1 + 9) and 10px above
 * its bottom (QA round 3 review: padding 10 put Back/Done 1px low). */
.cam-fovr-wizard .wizard-footer {
  flex: 0 0 48px; height: 48px; padding: 9px 24px 10px 16px;
  border-top: 1px solid rgba(198, 212, 224, 0.5);
}
.cam-fovr-wizard .wizard-footer .btn {
  height: 28px; min-width: 80px; padding: 0 16px; border-radius: 100px; justify-content: center;
}
/* colours come from .wizard-footer .btn-default — nothing page-specific left here */
.cam-fovr-wizard .wizard-footer .btn-primary { min-width: 120px; border-radius: 100px; padding: 0 16px; }

/* ——— Wizard step 1: Auto-paired Failover Group ——— */
.fovr-wiz-desc { margin: 0; color: var(--font-grey-tier1); font-size: 13px; line-height: 20px; }
.fovr-wiz-link { color: var(--main-tier1); font-weight: 700; text-decoration: underline; }
.fovr-wiz-link:hover { text-decoration: underline; }
.fovr-search-bar { display: flex; justify-content: flex-end; margin: 10px 0 12px; }
.fovr-search {
  /* Live search-filter (pas80 2026-07-24): container padding 0 11px 0 5px,
   * inner input 165×26 with 3px vertical padding, 2px icon→input gap. */
  position: relative; display: inline-flex; align-items: center; width: 217px; height: 28px;
  box-sizing: border-box; padding: 0 11px 0 5px;
  border: 1px solid var(--border-tier3); border-radius: 3px; background: var(--white);
}
.fovr-search:hover, .fovr-search:focus-within { border-color: var(--border-control-hover); }
.fovr-search-ico {
  flex: 0 0 32px; width: 32px; height: 24px; cursor: pointer;
  color: var(--icon-dark-grey-tier1);
  background: url("../assets/icons/cam-log-search-advanced.svg") 0 0 / 32px 72px no-repeat;
}
.fovr-search > input { flex: 1 1 auto; min-width: 0; height: 26px; margin-left: 2px; padding: 3px 0; box-sizing: border-box; border: 0; outline: 0; background: transparent; color: var(--font-grey-tier1); font: inherit; }
.fovr-search > input::placeholder { color: var(--font-grey-tier2); }
.fovr-search-panel {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; width: 264px; box-sizing: border-box;
  padding: 16px 24px; background: var(--white); border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); z-index: 20;
}
.fovr-search.is-open .fovr-search-panel { display: block; }
/* Toolbar variant sits at the right edge, so its popover right-aligns (grows left). */
.fovr-search-right .fovr-search-panel { left: auto; right: 0; }
.fovr-search-field + .fovr-search-field { margin-top: 12px; }
.fovr-search-field label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--font-grey-tier1); }
.fovr-search-input { height: 28px; box-sizing: border-box; border: 1px solid var(--border-tier3); border-radius: 4px; background: var(--white); }
.fovr-search-input input { width: 100%; height: 26px; padding: 0 8px; border: 0; outline: 0; background: transparent; font: inherit; color: var(--font-grey-tier1); }
.fovr-search-input input::placeholder { color: var(--font-grey-tier3); }
.fovr-search-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.fovr-pill { height: 28px; padding: 0 16px; border: 1px solid var(--btn-grey-border); border-radius: 100px; font: inherit; font-size: 13px; cursor: pointer; }
.fovr-pill-grey { background: var(--btn-grey-bg); color: var(--font-grey-tier1); min-width: 60px; }
.fovr-pill-grey:hover { background: var(--btn-grey-bg); border-color: var(--btn-grey-border-hover); }
.fovr-pill-grey:active { background: var(--btn-grey-bg-active); border-color: var(--btn-grey-border-active); }
.fovr-pill-blue { background: var(--main-tier1); color: #fff; min-width: 100px; }
.fovr-pill-blue { border-color: var(--main-tier1); }
.fovr-pill-blue:hover { background: var(--main-tier1-hover); border-color: var(--main-tier1-hover-border); }
.fovr-pill-blue:active { background: var(--main-tier1-dark); border-color: var(--main-tier1-active-border); }

.fovr-cand-head, .fovr-cand > .cam-exp-summary {
  display: grid; grid-template-columns: 210px 180px 140px 80px 1fr; align-items: center;
}
.fovr-cand-head { padding: 0 14px; height: 28px; }
.fovr-cand-head .fovr-cand-cell { color: var(--font-grey-tier2); font-size: 13px; }
.fovr-cand.cam-exp { margin-top: 2px; }
.fovr-cand > .cam-exp-summary { min-height: 46px; padding: 0 14px; }
.fovr-cand .fovr-cand-cell { font-size: 13px; color: var(--font-grey-tier1); }
.fovr-col-nif { display: flex; align-items: center; justify-content: flex-end; gap: 2px; text-align: right; }
.fovr-col-nif b { font-weight: 700; }
.fovr-cand > .cam-exp-detail { padding: 0 12px 10px; }
/* Grey header must sit flush against the grey .fovr-adv-grid frame — no white
 * sliver at the top (the wrapper already supplies bg / radius / overflow). */
.fovr-cand-subtable { margin-top: 0; }

/* ——— Wizard step 2: Set up Failover Group ———
 * Live pas80 2026-10-03 (y from the wizard top): step-container pad 24 → .group-settings
 * at 120; six 28px rows on a 34px pitch (five form rows + the "Select to add…" line) →
 * table 324; table 186 + pager 30 → 540; .group-settings pb 6 + .step-wrap pb 6 → the
 * 48px footer at 552. Content = the 506px view exactly, so live draws NO scrollbar here
 * (scrollHeight 506 = clientHeight). The replica fills its 512px body exactly the same
 * way (pad 24 top / 12 bottom) — it used to run 10px long (pad 26, 34px rows, an 18px
 * label margin), which is what lit the wizard scrollbar (QA round 3 #2). */
.cam-fovr-wizard .wizard-step:has(> .fovr-setup) { padding-top: 24px; }
.fovr-setup-row { display: grid; grid-template-columns: 238px 1fr; align-items: center; min-height: 28px; margin-bottom: 6px; }
.fovr-setup-row label { font-size: 13px; color: var(--font-grey-tier1); }
.fovr-setup-row span { font-size: 13px; color: var(--font-grey-tier1); }
.fovr-setup-input input {
  width: 276px; height: 28px; padding: 0 8px; box-sizing: border-box;
  border: 1px solid var(--border-tier3); border-radius: 4px; background: var(--white);
  color: var(--font-grey-tier1); font: inherit;
}
.fovr-setup-select { height: 28px; margin: 0 0 6px; font-size: 13px; line-height: 28px; color: var(--font-grey-tier1); }
/* Interface picker sizes columns to content (IP value must not clip) + the count
 * is pinned to the bottom of the flex step, matching the live tall list box. */
.fovr-setup-input input:focus { border-color: var(--main-tier1); outline: none; }
/* Group-name validation (Create wizard + Edit dialog) — anchor for the shared
 * .form-error-tip balloon, plus the invalid-input paint (same reds as the Storage
 * volume-size field: var(--red-tier1) border over an 8% fill). */
.fovr-setup-input, .fovr-edit-input { position: relative; }
.fovr-setup-input.is-error input, .fovr-setup-input.is-error input:focus,
.fovr-edit-input.is-error input, .fovr-edit-input.is-error input:focus {
  border-color: var(--red-tier1); background: rgba(230, 64, 64, 0.08);
}

/* ——— Configured Failover Group page ——— */
.cam-failover-page.is-configured { position: static; padding: 16px 16px 16px; background: var(--white); }
.fovr-toolbar { padding-top: 0; }
.cam-log-btn:disabled { color: var(--font-grey-tier3); cursor: default; }
/* A disabled grey gets NO feedback in ANY state on live — :active needs the same
   reset as :hover, which was missing here (found 2026-08-20 by the CAM Failover
   sweep: its two disabled buttons still darkened to .6 with the pressed rim). */
.cam-log-btn:disabled:hover, .cam-log-btn:disabled:active {
  border-color: var(--btn-grey-border); background: var(--btn-grey-bg);
}
.fovr-card-list { display: flex; flex-direction: column; gap: 8px; }
/* Card frame — live wrap (pas80 2026-07-24, expanded 1168×406): padding 0 0 8px
 * on the wrap itself (user DevTools + MECH digest). */
.fovr-card.cam-exp { border: 1px solid var(--border-tier2); border-radius: 4px; background: var(--white); padding: 0 0 8px; }
.fovr-card.cam-exp:hover { background: var(--main-hover); }
/* Summary — live: icon/caret 12px below the border edge (abs y105); the title
 * line starts 8px lower (y113, via .fovr-card-main padding-top); NO bottom
 * padding — the detail sections start flush at the MTU row's 28px-row bottom. */
.fovr-card > .cam-exp-summary { position: relative; display: flex; gap: 16px; padding: 12px 20px 0 16px; }
.fovr-card-icon { position: relative; flex: 0 0 32px; width: 32px; height: 32px; display: inline-block; }
.fovr-card-icon-base { width: 32px; height: 32px; display: block; color: var(--icon-dark-grey-tier1); }
/* Live: 24x24 status badge, absolute right:-6 bottom:-6 on the 32px base icon
 * (the 16px green circle is centred in the 24px box → sits on the lower-right node). */
.fovr-card-icon-badge { position: absolute; right: -6px; bottom: -6px; left: auto; top: auto; width: 24px; height: 24px; color: rgb(255, 255, 255); }
.fovr-card-icon { overflow: visible; }
.fovr-card-main { flex: 1 1 auto; min-width: 0; padding-top: 8px; }
.fovr-card-titlerow { line-height: 20px; }
.fovr-card-title { font-size: 13px; font-weight: 700; color: var(--font-grey-tier1); }
.fovr-card-desc { font-size: 13px; color: var(--font-grey-tier1); opacity: 0.6; }
/* Live: 2px between the 20px title line and the first 28px info row (rows at
 * abs y135/163/191; MTU row bottom y219 = first section title top). */
.fovr-card-info { margin-top: 2px; }
.fovr-info-row { display: grid; grid-template-columns: 238px 1fr; min-height: 28px; align-items: center; }
.fovr-info-row label { font-size: 13px; color: var(--font-grey-tier1); justify-self: start; }
.fovr-info-row span { font-size: 13px; color: var(--font-grey-tier1); justify-self: start; line-height: 20px; }
.fovr-card-toggle { position: absolute; top: 12px; right: 16px; }
/* Detail — live content box x321 w1094 (left 64 + right 8 inside the border);
 * bottom: table2 ends abs y483, +6 detail pad + 8 card pad + 1 border = y498. */
.fovr-card > .cam-exp-detail { padding: 0 8px 6px 64px; }
.fovr-card-section + .fovr-card-section { margin-top: 6px; }
.fovr-card-section-title { font-size: 13px; font-weight: 700; color: var(--font-grey-tier1); line-height: 28px; margin-bottom: 4px; }
.fovr-blue { color: var(--main-tier1); }
.fovr-green { color: var(--status-green-text); }

/* Card is selectable — click selects it (toolbar Edit/Delete then enable).
 * Live cursor is default across the card body; only the expand chevron is a
 * pointer (its own .cam-exp-toggle rule keeps cursor:pointer). */
.fovr-card > .cam-exp-summary { cursor: default; }
/* Live selection = grey border UNCHANGED + light-blue wash only (measured:
 * border rgba(198,212,224,.4), bg rgba(5,127,235,.1)). */
.fovr-card.cam-exp.is-selected { border-color: var(--border-tier2); background: var(--main-light); }
.fovr-card.cam-exp.is-selected:hover { background: var(--main-light); }
/* No expand/collapse animation on the card: instant show/hide + instant chevron flip. */

/* Detail tables — live "adv-grid" (identical to Storage Manager Volume "Drive Info"):
 * grey frame + 4px radius, grey header bar, white rows with NO separators, 32px
 * rows, light row hover. */
/* White fill so table rows stay white even when the card is selected (blue wash). */
.fovr-adv-grid { border: 1px solid rgba(50, 60, 70, 0.5); border-radius: 4px; overflow: hidden; background: var(--white); }
.fovr-adv-grid .cam-grid { border-collapse: separate; border-spacing: 0; }
/* Live cells (pas80 2026-07-24): text 8px from the column edge, 6px vertical
 * (td 32px = 20px line + 6+6); header row 31px = 20px line + 5+6.
 * Order matters: the head-cell rule must come AFTER the cell rule (same
 * specificity — the generic cell padding would win on <th> otherwise). */
.fovr-adv-grid .cam-grid-cell { padding: 6px 8px; position: relative; }
.fovr-adv-grid .cam-grid-head-cell { height: 31px; padding: 5px 8px 6px; }
/* Expanded Failover-Group CARD only (live pas80 user-DevTools 2026-07-24):
 * body div.cell = padding 6px 0 (text flush at the column's content edge);
 * header div.head-cell = 5px 8px 6px 0px; BOTH keep an 8px left inset on the
 * first column. SAN pages + the fovr wizard keep the 6px/8px base above. */
.fovr-card .fovr-adv-grid .cam-grid-cell { padding: 6px 0; }
.fovr-card .fovr-adv-grid .cam-grid-cell:first-child { padding-left: 8px; }
.fovr-card .fovr-adv-grid .cam-grid-head-cell { padding: 5px 8px 6px 0; }
.fovr-card .fovr-adv-grid .cam-grid-head-cell:first-child { padding-left: 8px; }
.fovr-adv-grid .cam-grid-solid tbody .cam-grid-row { border-bottom: 0; }
.fovr-adv-grid .cam-grid tbody .cam-grid-row:hover { background: rgba(153, 177, 204, 0.1); }
/* Trailing row-hover "Go to Control Panel > Network" action (Network Interface
 * table). The goto cell trims its horizontal padding so the 30px button fits
 * INSIDE the content box: with the generic 12px cell padding the inline box
 * overflowed it, and Chrome rasterized a 1px dark seam "dot" at the button's
 * bottom-right corner. 4px right keeps the button's position pixel-identical. */
/* Live status cells: the coloured Connected/Healthy spans sit FLUSH at the
 * column start (measured x868 = col edge, no 8px inset) — live renders them
 * without the padded cell wrapper. */
/* Live bottom row corners carry the frame's inner 3px rounding. */
.fovr-adv-grid tbody .cam-grid-row:last-child .cam-grid-cell:first-child { border-radius: 0 0 0 3px; }
.fovr-adv-grid tbody .cam-grid-row:last-child .cam-grid-cell:last-child { border-radius: 0 0 3px 0; }
/* Live has NO separate goto column — the row-hover action overlays INSIDE the
 * Link Speed cell, right-aligned (live .row-hover-action, margin-left:auto). */
.fovr-goto-wrap { position: absolute; top: 4px; right: 5px; }
.fovr-goto-btn {
  /* Hidden with display:none, NOT visibility/opacity — those left a tiny dark SVG
   * artifact at the icon's edge in Chrome. Revealed on row hover. The button is
   * absolutely positioned, so toggling display doesn't shift the cell text. */
  display: none; align-items: center; justify-content: center;
  width: 30px; height: 24px; border: 0; background: transparent; padding: 0; cursor: pointer;
  color: var(--icon-dark-grey-tier1);
}
.fovr-goto-btn svg { width: 24px; height: 24px; display: block; }
.fovr-goto-btn:hover { color: var(--main-tier1); }
.fovr-goto-btn:active { color: #006DCC; }
.fovr-adv-grid .cam-grid-row:hover .fovr-goto-btn { display: inline-flex; }

/* Advanced-search magnifier hover/active (sprite states at y -24 / -48). */
.fovr-search:hover .fovr-search-ico,
.fovr-search-ico:hover { background-position-y: -24px; }
.cam-log-search:hover .cam-log-search-icon,
.fovr-toolbar .cam-log-search:hover .cam-log-search-icon { background-position-y: -24px; }
.fovr-search:active .fovr-search-ico, .fovr-search-ico:active,
.cam-log-search .cam-log-search-icon:active { background-position-y: -24px; }
.fovr-toolbar .cam-log-search { padding: 0 11px 0 5px; }
.fovr-toolbar .cam-log-search .cam-log-search-icon { margin-left: 0; }

/* ——— Edit Failover Group dialog (C.openDialog variant) ——— */
/* No dark scrim over the app window behind the Edit dialog (matches the CAM
 * wizard; the app default .dialog-backdrop is a 0.28 wash). */
.dialog-backdrop.fovr-edit-backdrop { background: transparent; }
.fovr-edit-dialog {
  height: 560px;
  border-radius: 3px;
  color: var(--font-grey-tier1);
  font-size: 13px;
  line-height: 14.95px;
}
.fovr-edit-dialog .dialog-header {
  height: 40px;
  padding: 8px 16px 8px 18px;
  border-bottom: 1px solid rgba(198, 212, 224, 0.5);
  border-radius: 3px 3px 0 0;
  background: var(--white);
  box-sizing: border-box;
  font-size: 13px;
  line-height: 40px;
}
.fovr-edit-dialog .dialog-header > span:first-child {
  padding-left: 2px;
  color: rgba(65, 75, 85, 0.85);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 20px;
}
.fovr-edit-dialog .dialog-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgb(80, 90, 100);
  fill-opacity: 0.6;
  line-height: 0;
}
.fovr-edit-dialog .dialog-x:hover {
  color: rgb(230, 64, 64);
  fill-opacity: 0.85;
}
.fovr-edit-dialog .dialog-x svg {
  display: block;
  width: 24px;
  height: 24px;
}
.fovr-edit-dialog.is-dragging { opacity: 0.65; }
.fovr-edit-dialog.is-dragging .dialog-header { background: var(--white); }
/* Tall white dialog: read-only group facts + editable group name, a light
 * interface table, and a bottom count pinned so a short 1-row table still fills
 * the ~520px live height (empty space above the count strip). */
/* pas80 re-probe 2026-10-03: live .group-settings-wrapper pads 16 top / 20 sides,
   form at x+20, rows 28 + 6 gap (34 cadence), the table (860×272) straight under
   the "Network interfaces" row, then 6 + 6 below. */
.fovr-edit-dialog .dialog-body {
  display: flex; flex-direction: column; height: 472px; max-height: none;
  padding: 16px 20px 12px; box-sizing: border-box;
}
/* Form rows — 238px label column (matches the wizard Set-up step). */
.fovr-edit-row { display: grid; grid-template-columns: 238px 1fr; align-items: center; min-height: 34px; }
.fovr-edit-row label { font-size: 13px; color: var(--font-grey-tier1); }
.fovr-edit-row span { font-size: 13px; color: var(--font-grey-tier1); }
.fovr-edit-input input {
  width: 276px; height: 28px; padding: 0 8px; box-sizing: border-box;   /* 276px = live-measured field width */
  border: 1px solid var(--border-tier3); border-radius: 4px; background: var(--white);
  color: var(--font-grey-tier1); font: inherit;
}
.fovr-edit-input input:focus { border-color: var(--main-tier1); outline: none; }
/* "Network interfaces" heading + info-icon whitetip. Keeps the same 34px row
 * rhythm as the form rows above (live keeps a uniform label cadence). */
.fovr-edit-netif { display: flex; align-items: center; min-height: 34px; margin: 0; }
.fovr-edit-netif-label { font-size: 13px; color: var(--font-grey-tier1); }
/* Whitetip "Learn more" link — live brand-blue (not the UA default/visited purple). */
.fovr-edit-tip a, .fovr-edit-tip a:visited { color: var(--main-tier1); text-decoration: underline; }
/* "No network interface" reminder — the Control Panel link is brand-blue + underlined. */
.fovr-alert-link, .fovr-alert-link:visited { color: var(--main-tier1); text-decoration: underline; }

/* ——— Wizard step-1 "N network interface cannot be grouped." (bottom-left) ——— */
.fovr-cannot-group { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--font-grey-tier1); }
.fovr-cannot-link, .fovr-cannot-link:visited { color: var(--main-tier1); font-weight: var(--font-weight-bold); text-decoration: underline; }

/* ——— Adjust Network Settings window (ungroupable DHCP interfaces) ——— */
/* Window chrome mirrors the Storage Manager > Drives > Settings window
 * (title colour, close-X colour + red hover, footer) + a taller body per live. */
.fovr-adjust-dialog { border-radius: 3px; }
.fovr-adjust-dialog .dialog-header { height: 40px; padding: 8px 16px 8px 18px; border-bottom: 1px solid rgba(198, 212, 224, 0.5); box-sizing: border-box; }
.fovr-adjust-dialog .dialog-header > span:first-child { padding-left: 2px; color: rgba(65, 75, 85, 0.85); font-size: 12px; font-weight: var(--font-weight-bold); line-height: 20px; }
.fovr-adjust-dialog .dialog-x { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: rgba(80, 90, 100, 0.6); line-height: 0; }
.fovr-adjust-dialog .dialog-x:hover { color: rgb(230, 64, 64); }
.fovr-adjust-dialog .dialog-x svg { display: block; width: 24px; height: 24px; }
/* live 780×480 (pas80 re-probe 2026-10-03): 392 body; the table wrapper (v-table +
   30 pager + 6 pad) ends 6px above the footer → 12px under the pager. */
/* bottom 6 + the fill table's own 6 under its pager = live's 12px (v-table-wrapper pad 6,
 * ending 6px above the footer — pas80 2026-10-03) */
.fovr-adjust-dialog .dialog-body { display: flex; flex-direction: column; min-height: 392px; padding: 20px 20px 6px; box-sizing: border-box; }
.fovr-adjust-desc { margin: 0 0 14px; font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); }
.fovr-adjust-desc a, .fovr-adjust-desc a:visited { color: var(--main-tier1); font-weight: var(--font-weight-bold); text-decoration: underline; }
.fovr-adjust-dialog .dialog-footer { height: 48px; padding: 9px 24px 10px; border-top: 1px solid rgba(198, 212, 224, 0.5); box-sizing: border-box; }
.fovr-adjust-dialog .dialog-footer .btn { min-width: 80px; height: 28px; padding: 0 16px; border-radius: var(--radius-pill); justify-content: center; }
.fovr-adjust-dialog .dialog-footer .btn-default { background: var(--btn-grey-bg); border-color: var(--btn-grey-border); color: var(--font-grey-tier1); }
.fovr-adjust-dialog .dialog-footer .btn-default:hover { background: var(--btn-grey-bg); border-color: var(--btn-grey-border-hover); }
.fovr-adjust-dialog .dialog-footer .btn-default:active { background: var(--btn-grey-bg-active); border-color: var(--btn-grey-border-active); }
/* Live footbar: 48px strip, Cancel 80px, Save 120px, 8px gap. */
.fovr-edit-dialog .dialog-footer {
  height: 48px;
  gap: 8px;
  padding: 9px 24px 10px;
  border-top: 1px solid rgba(198, 212, 224, 0.5);
  box-sizing: border-box;
}
.fovr-edit-dialog .dialog-footer .btn {
  min-width: 80px;
  height: 28px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  justify-content: center;
  text-align: center;
}
.fovr-edit-dialog .dialog-footer .btn-default {
  min-width: 80px;
  background: var(--btn-grey-bg);
  border-color: var(--border-transparent);
  color: var(--font-grey-tier1);
}
.fovr-edit-dialog .dialog-footer .btn-default:hover {
  background: var(--btn-grey-bg);
  border-color: var(--btn-grey-border-hover);
}
.fovr-edit-dialog .dialog-footer .btn-primary {
  min-width: 120px;
  background: var(--main-tier1);
  border-color: var(--main-tier1);
  color: var(--font-white-tier1);
}
.fovr-edit-dialog .dialog-footer .btn-primary:hover {
  background: var(--main-tier1-hover);
  border-color: var(--main-tier1-hover-border);
  color: var(--font-white-tier1);
}

/* ═══════════════ SAN Manager ═══════════════ */
/* Dashboard (pages/san/dashboard.js). Geometry + colors machine-measured on
 * 10.17.194.77 — specs/san-dashboard.probe.css + qa/san-dashboard.skeleton.txt.
 * Card frame (hero / status cards / large cards) shares one border/shadow. */
.san-dash { height: 100%; overflow-y: auto; padding: 16px 20px; box-sizing: border-box; }
.san-card-frame {
  border: 1px solid rgba(198, 212, 224, 0.4); border-radius: 4px;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.02); background: var(--white);
}

/* Service-health hero: 128px, 60px status badge, 24px gap. */
.san-hero { display: flex; align-items: center; height: 128px; padding: 0 21px 0 33px; box-sizing: border-box; }
.san-hero-ico { flex: 0 0 auto; width: 60px; height: 60px; }
.san-hero-text { flex: 1 1 auto; margin-left: 24px; min-width: 0; }
.san-hero-title { padding: 2px 0; font-size: 22px; font-weight: var(--font-weight-bold); line-height: 32px; color: var(--font-grey-tier1); }
.san-hero-desc { font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); }

/* Status cards: 3-up grid, clickable → their module. Height is content-driven
 * (live: 3-row health cards 165px, 2-row connection cards 133px). */
.san-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; align-items: start; }
.san-card { padding: 17px 21px 19px; box-sizing: border-box; font-size: 13px; cursor: pointer; }
.san-card:hover { box-shadow: 0 2px 9px rgba(0, 0, 0, 0.12); }
.san-card-head {
  display: flex; align-items: center; gap: 3px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(198, 212, 224, 0.4);
}
.san-card-head .icn { width: 22px; height: 22px; }
.san-card-label {
  flex: 1 1 auto; min-width: 0; padding: 0 3px; font-size: 14px;
  font-weight: var(--font-weight-bold); line-height: 22px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.san-card-count { font-size: 16px; font-weight: var(--font-weight-bold); line-height: 22px; }
.san-card-row { display: flex; justify-content: space-between; margin-top: 12px; line-height: 20px; color: var(--font-grey-tier1); }
.san-card-row:first-of-type { margin-top: 16px; }
.san-card-val { font-weight: var(--font-weight-bold); color: rgba(65, 75, 85, 0.6); }
.san-card-val.is-green { color: #14B41A; }

/* Large cards (Mappings / Log): full-width, live-fixed heights (280 / 303),
 * fixed-height table viewports (175 / 233), 13px bold titles. */
.san-large { margin-top: 12px; padding: 0 20px; box-sizing: border-box; }
.san-large.is-map-card { height: 280px; }
.san-large.is-log-card { height: 303px; }
.san-large-head { display: flex; align-items: center; height: 28px; margin-top: 11px; }
.san-large-title { font-size: 13px; font-weight: var(--font-weight-bold); line-height: 28px; color: var(--font-grey-tier1); }
/* live i.san-icon-go-to-details: 24px, HALF-opacity grey, no hover state */
.san-large-goto { display: inline-flex; width: 24px; height: 24px; margin-left: auto; color: rgba(80, 90, 100, 0.5); cursor: pointer; }
/* ——— Mappings select — live v-select2 (qa/san-r3-measure3/4.json) ———
 * Trigger: 200×28 r4, border .7 tier; OPEN = blue border, label text STAYS
 * dark rgb(65,75,85). Menu: same width as the trigger, 1px below it, white,
 * border .7 + r4 + shadow rgba(0,0,0,.16) 0 1 4, 7px padding; items 28px,
 * pad 0 12, NO separators / check column; selected AND hover = rgba(5,127,235,.1). */
.san-map-select { width: 200px; margin-left: auto; }
.san-map-select .dropdown-trigger { width: 100%; height: 28px; border-color: var(--border-tier3); border-radius: 4px; }
.san-map-select .dropdown-trigger:hover { border-color: var(--border-tier3); color: var(--font-grey-tier1); }
.san-map-select.is-open .dropdown-trigger { border-color: var(--main-tier1); color: var(--font-grey-tier1); }
/* Arrow: the shared .dropdown-arrow IS live's v-select2 icon since 2026-10-02 (it used to
 * be overridden here with a data-URI copy at top/right 2px — 1px further in than live,
 * which sits 2px from the OUTER edge, i.e. 1px inside the border). */
.san-map-select .dropdown-menu {
  top: calc(100% + 1px); left: 0; right: 0; min-width: 0;
  padding: 7px; border: 1px solid var(--border-tier3); border-radius: 4px;
  background: var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}
.san-map-select .dropdown-option {
  display: block; height: 28px; line-height: 28px; padding: 0 12px;
  color: var(--font-grey-tier1); border: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.san-map-select .dropdown-option + .dropdown-option { border-top: 0; }
.san-map-select .dropdown-check { display: none; }
.san-map-select .dropdown-option:hover,
.san-map-select .dropdown-option.is-selected { background: rgba(5, 127, 235, 0.1); }
/* overflow-x hidden: live v-table never shows a horizontal scrollbar — columns
 * shrink responsively instead (min(px,%) widths in san/dashboard.js ovTable). */
.san-large-table { margin-top: 10px; overflow-y: auto; overflow-x: hidden; }
.san-large-table.is-mappings { height: 175px; }
.san-large-table.is-log { height: 233px; }
/* The Dashboard tables inside .san-large-table are C.dataTable (pages/san/dashboard.js). */

/* ——— Volume > Settings dialog (.vol-settings-dialog + .vs-*) ————————————————
 * Live pas80 SM "v-sm-volume-setting-main" modal (700×580), measured 2026-07-22.
 * Chrome (header/body/footer) reuses .drives-settings-dialog — the same live
 * settings-modal chrome — via a doubled className on C.openDialog. Below are the
 * form-layer values probed from the live dialog: fieldset title-wrapper pad
 * 0 8 4 4 over the shared dashed divider, body pad 8, label column 330+8,
 * rows 6px apart, display text 13/20 padded 4px vertically. */
/* the dialog-body itself is overflow:hidden (drives chrome) — the FORM scrolls.
 * The svc-scroll bar overlays (no reserved gutter on macOS overlay scrollbars),
 * so the live 20px body padding + 660px content width hold as-is — the floating
 * thumb over the content's right edge matches live's v-scrollbar overlay. */
.vol-settings-dialog .vs-form { height: 100%; overflow-y: auto; overflow-x: hidden; }
.vol-settings-dialog .fieldset-title { padding: 0 8px 4px 4px; }
.vol-settings-dialog .fieldset-body { padding: 8px; }
.vs-form .fieldset + .fieldset { margin-top: 8px; }
.vs-row { display: flex; align-items: flex-start; margin-bottom: 6px; }
.vs-label { flex: 0 0 330px; margin-right: 8px; padding: 4px 0; font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); }
.vs-value { display: flex; align-items: center; gap: 6px; min-height: 28px; flex: 1 1 auto; min-width: 0; }
.vs-cap, .vs-inline-text { font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); }
.vs-gb { font-size: 13px; line-height: 20px; color: var(--font-grey-tier2); }
.vs-copy { margin: 0 0 6px; padding: 4px 0; font-size: 13px; line-height: 20px; color: var(--font-grey-tier1); }
.vs-head { margin: 0 0 6px; padding: 4px 0; font-size: 13px; line-height: 20px; font-weight: var(--font-weight-bold); color: var(--font-grey-tier1); }
.vs-indent { margin-left: 28px; }
.vs-note-label { color: var(--note-teal); }
.vs-copy a, .vs-link { color: var(--main-tier1); text-decoration: underline; }
.vs-check-row { margin-bottom: 6px; padding: 0; min-height: 28px; align-items: center; gap: 8px; }  /* live label pad-left 28 = 20 icon + 8 */
.vs-check-pad { padding: 4px 0; min-height: 36px; }  /* live: dedup checkbox block = 36px (28 row + 4/4 displayfield pad; border-box) */
.vs-row-tall { min-height: 34px; }       /* live: savings / last-run rows nest an extra form item → 34px */
.input.vs-input-desc { width: 200px; height: 28px; }
.input.vs-input-alloc { width: 130px; height: 28px; }
.input.vs-input-thres { width: 50px; height: 28px; }
.vs-alloc-line { display: flex; align-items: center; gap: 6px; }
.vs-alloc-line + .vs-alloc-line { margin-top: 6px; }
.vs-alloc-unit { width: 64px; }
.vs-alloc-unit .dropdown-trigger { height: 28px; min-width: 64px; }
.vs-freq { width: 200px; }
.vs-freq .dropdown-trigger { height: 28px; min-width: 200px; }
/* full-controller volume: the whole New-allocated group greys out (live:
 * input-container bg rgba(198,212,224,.2), text 40%). The unit select gets the shared
 * "Disabled select" look from .vs-alloc.is-disabled (+ C.dropdown({ disabled })). */
.vs-alloc.is-disabled .input { background: rgba(198, 212, 224, 0.2); color: var(--font-grey-tier3); pointer-events: none; }
/* live v-btn-grey disabled (pas80 Max/Set Schedule): bg + border UNCHANGED, only
 * the label fades to 40%, and hover gives no feedback — scoped to this dialog
 * (Ext-replica pages keep the shared .btn:disabled opacity fade) */
.vol-settings-dialog .btn-grey:disabled,
.vol-settings-dialog .btn-grey:disabled:hover {
  opacity: 1;
  background: var(--btn-grey-bg);
  border-color: var(--border-transparent);
  color: var(--font-grey-tier3);
}
.vs-standalone { margin-bottom: 6px; }
.vs-radio { padding: 2px 0; margin-bottom: 6px; gap: 8px; }
/* live: only the SSD TRIM closing note renders squeezed (~15px item, no
 * trailing margin) — the stripe-cache note keeps full spacing */
.vs-copy-tight { margin-bottom: 0; padding-bottom: 0; }

/* ——— SVC goto icon button (C.gotoIconBtn + C.gotoGlyph) ————————————————————
 * Live `.v-btn.x-scope-icon-height.v-btn-styleless.v-btn-grey.v-btn-normal
 * .v-btn-display-icon` holding `.v-icon.goto-img.icon-set01.is-svg`, measured on
 * pas80 (Control Panel ▸ User & Group ▸ User Home), 2026-08-21:
 *   button  20×28, padding 0, border 0, radius 0, background transparent,
 *           display inline-block, vertical-align top, line-height 0, cursor pointer
 *   .v-btn-text  inline-flex, align-items/justify-content center, 20×28, overflow hidden
 *   glyph   20×20 background-SVG, so the 20px box sits 4px down inside the 28px shell
 * STATES: none. `v-btn-styleless` rewrites the grey button's :hover
 * rgba(198,212,224,.4) / :active + :focus-visible rgba(198,212,224,.6) wash to
 * rgba(0,0,0,0), and the icon-set01 :hover only sets color/fill-opacity, which a
 * background-image glyph ignores — the control is pixel-identical in every state,
 * so there is deliberately NO :hover/:active/:focus rule below. */
.svc-goto-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 28px; padding: 0; margin: 0;
  border: 0; border-radius: 0; background: transparent;
  vertical-align: top; line-height: 0; cursor: pointer;
}
.svc-goto-btn svg { display: block; }

/* ——— Advance / expandable table row (C.dataTable `expand` option) ———
 * Live SVC "Expandable Table ( Advance mode )", svc-theme-default, measured
 * 2026-08-12. Every literal below is a measured value, not a token guess.
 * SPECIFICITY NOTE: these rules must out-rank a plain v-table cell rule (0-1-1), so
 * the cell rules carry two classes. They are last in this file on purpose. */
.svc-advexp-caret {
  display: block; flex: 0 0 auto;
  /* --v-table-cell-size__expand-icon 20px + --v-table-cell-margin__expand-icon */
  width: 20px; height: 20px; margin: 4px 4px 0 0;
  color: var(--font-grey-tier1); cursor: pointer;
}
.svc-advexp-caret svg { display: block; fill-opacity: 0.6; }
/* live hover: colour UNCHANGED, only the fill lifts .6 → 1 */
.svc-advexp-caret:hover svg { fill-opacity: 1; }
/* live .inner-cell in a .has-expand-icon cell: 28px tall, caret and text both
 * top-aligned so their 20px boxes land on the same 4px…24px band */
.svc-advexp-cell-inner { display: flex; align-items: flex-start; min-width: 0; height: 28px; }
/* Expanded data row: bold cells, and the bottom rule REMOVED (29px → 28px) —
 * it reappears under the detail block below. No background: the wash is selection. */
.svc-advexp-row.is-expanded > td { font-weight: var(--font-weight-bold); border-bottom: 0; height: 28px; }
/* Detail row. Collapsed it is a zero-height, border-less, padding-less cell holding
 * nothing at all (the wiring unmounts the nodes, exactly like live's Vue v-if). */
.svc-advexp-detail > .svc-advexp-cell { height: 0; padding: 0; border: 0; vertical-align: top; }
.svc-advexp-detail.is-expanded > .svc-advexp-cell { border-bottom: 1px solid var(--border-tier2); }
/* live div.expandable-slide-up-down — the only inset in the whole detail block:
 * 28px left aligns with the first cell's text, 25px right is the last column's gutter. */
.svc-advexp-slide { overflow: hidden; padding: 8px 25px 0 28px; }
/* The detail block sits INSIDE the host table, so that table's own `th`/`td` rules
 * (the v-table chassis' 29px height, 0 8px padding and 1px cell rules) descend into
 * whatever table the page nests in the detail and quietly break it — a leaked bottom
 * border alone turns the measured 31/32px sub-table rows into 32/33px. Neutralise
 * them here: 0-1-2 out-ranks a plain `.x td` cell rule (0-1-1) while still losing to the
 * nested widget's own two-class rules, so C.gridTable keeps its measured look. */
/* :where() keeps 0-1-2; a nested C.dataTable (.dt-table) keeps its own chassis. */
.svc-advexp-slide table:where(:not(.dt-table)) th,
.svc-advexp-slide table:where(:not(.dt-table)) td { height: auto; padding: 0; border: 0; }
/* live .slide-up-down-*-active: max-height + padding, 0.24s, `ease`, no delay.
 * Only present while a slide is in flight, like live's enter/leave classes. */
.svc-advexp-slide.is-sliding {
  transition: max-height 0.24s ease, padding-top 0.24s ease, padding-bottom 0.24s ease;
}
/* Row tints (hover / selected on the data row AND its detail sibling together) are
 * C.dataTable's row-hover / row-selected classes (shared/data-table.css); the old
 * .cam-log-table chassis overrides that lived here were removed 2026-10-03. */

/* ——— Availability badge (app-window title pill) ———————————————————————
   NEW block, nothing else uses these classes. A generic "status word" pill for
   an app-window title — first consumer: Synology Tiering's "Coming Soon" label.

   Styled after the live Control Panel ▸ Network VLAN tag. That tag is NOT a CSS
   badge on live: it is a 32×14 SVG image (.netif-vlan-tag above, assets/icons/
   netif-vlan-tag.svg), so there is no font-weight/radius to copy — these values
   are read straight out of that SVG's source and re-expressed as text:
     pill fill    #7C8A98 @ 16%  → rgba(124, 138, 152, 0.16)   (no token has this)
     text fill    #414B55 @ 72%  → rgba(65, 75, 85, 0.72)      (--font-grey-tier*
                                    only carries 1 / .6 / .4, so this is new)
     radius 2px · height 14px · h-inset 4.3/4.8px → padding 0 5px
     glyph cap-height 6.04px and stem/cap 0.21 (i.e. a BOLD face) ⇒ ~9px bold.
   The SVG's 32px width is specific to the 4-letter word VLAN and is deliberately
   NOT copied — the pill sizes to its own text.
   Gap from the title text is the 6px of live's .netif-titleline; .appwin-title
   is a 10px-gap flex row, hence the -4px pull-back in the scoped rule. */
.appwin-badge {
  display: inline-flex; align-items: center; box-sizing: border-box; flex: 0 0 auto;
  height: 14px; padding: 0 5px; border-radius: 2px;
  background: rgba(124, 138, 152, 0.16);
  color: rgba(65, 75, 85, 0.72);
  font-size: 9px; font-weight: var(--font-weight-bold); line-height: 14px;
  white-space: nowrap; cursor: default;
}
.appwin-title .appwin-badge { margin-left: -4px; }
