/* WEBDESK_V2_LAYOUT_V1: UniFi-style skin for /v2 (body.wd-v2). Only loaded on
   /v2, so the classic page is untouched. Selectors start with
   "html body.wd-v2-app:not(#wdV2)" so they win over webdesk.css. */
:root{--v2-bg:#0f1012;--v2-nav:#141518;--v2-card:#1a1b1f;--v2-card2:#202126;--v2-line:#2a2c32;--v2-line2:#232429;
  --v2-text:#f2f3f5;--v2-muted:#9a9ea8;--v2-dim:#686c75;--v2-blue:#4797ff;--v2-blue2:#006fff;--v2-green:#37c26f;--v2-red:#f0484e;--v2-amber:#f2a93b}

html body.wd-v2:not(#wdV2){background:var(--v2-bg)!important;background-image:none!important;color:var(--v2-text)!important;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
html body.wd-v2:not(#wdV2)::before,html body.wd-v2:not(#wdV2)::after{display:none!important}
html body.wd-v2-app:not(#wdV2){padding:0 20px 40px 76px!important;margin:0!important;max-width:none!important}
html body.wd-v2:not(#wdV2) .page-loader{background:var(--v2-bg)!important}

/* Icon rail */
html body.wd-v2-app:not(#wdV2) .wd-v2-rail{position:fixed;left:0;top:0;bottom:0;width:56px;z-index:900;background:var(--v2-nav);border-right:1px solid var(--v2-line);
  display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 0}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-item{position:relative;width:40px;height:40px;border-radius:8px;display:grid;place-items:center;color:var(--v2-dim);
  background:none!important;border:0!important;box-shadow:none!important;cursor:pointer;text-decoration:none;padding:0}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-item:hover{color:var(--v2-text);background:#1d1e23}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-item.is-active{color:var(--v2-blue);background:rgba(71,151,255,.12)}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-logo{color:#d4b46a;margin-bottom:8px}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-logo:hover{color:#e9cc85}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-spacer{flex:1}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-badge{position:absolute;top:4px;right:3px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--v2-red);
  color:#fff;font-size:10px;font-weight:600;line-height:16px;text-align:center}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail-badge[hidden]{display:none}

/* Header -> top bar + widgets + toolbar */
html body.wd-v2-app:not(#wdV2) header.wd-header{display:flex!important;flex-direction:column!important;background:none!important;border:0!important;
  box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0 0 16px!important;backdrop-filter:none!important;position:static!important}
html body.wd-v2-app:not(#wdV2) header.wd-header::before,html body.wd-v2-app:not(#wdV2) header.wd-header::after{display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-header-main{order:1;position:sticky!important;top:0;z-index:800;height:52px!important;min-height:0!important;
  margin:0 -20px 18px!important;padding:0 20px!important;background:var(--v2-nav)!important;border:0!important;border-bottom:1px solid var(--v2-line)!important;
  border-radius:0!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:14px!important}
html body.wd-v2-app:not(#wdV2) .wd-header-main::before,html body.wd-v2-app:not(#wdV2) .wd-header-main::after{display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-brand{display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important}
html body.wd-v2-app:not(#wdV2) .wd-brand .brand-logo{height:16px!important;width:auto!important;max-width:none!important;filter:none!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-divider{height:18px!important;background:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-copy{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-title{font-size:14px!important;font-weight:600!important;color:var(--v2-text)!important;letter-spacing:0!important;display:inline-flex!important;align-items:center;gap:8px}
html body.wd-v2-app:not(#wdV2) .wd-control-center-subtitle{display:none!important}
.wd-v2-preview{font-size:11px;font-weight:600;color:#f6bf69;background:rgba(242,169,59,.14);border-radius:999px;padding:2px 8px;letter-spacing:0;text-transform:none}
html body.wd-v2-app:not(#wdV2) .wd-header-tools{margin-left:auto!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
html body.wd-v2-app:not(#wdV2) .wd-header-tools .btn.wd-premium-tool{height:32px!important;min-height:0!important;padding:0 12px!important;border-radius:8px!important;
  background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;color:var(--v2-muted)!important;font-size:12.5px!important;font-weight:500!important}
html body.wd-v2-app:not(#wdV2) .wd-header-tools .btn.wd-premium-tool:hover{color:var(--v2-text)!important;border-color:#3a3d45!important}
html body.wd-v2-app:not(#wdV2) .wd-user-welcome{display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-user-box{height:32px!important;padding:0 4px 0 12px!important;border-radius:8px!important;background:var(--v2-card)!important;
  border:1px solid var(--v2-line)!important;box-shadow:none!important;gap:8px!important}
html body.wd-v2-app:not(#wdV2) .wd-user-box .wd-user-text{color:var(--v2-text)!important;font-size:12.5px!important}
html body.wd-v2-app:not(#wdV2) .wd-user-box .wd-user-dot{background:var(--v2-green)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-user-box button{height:24px!important;border-radius:6px!important;background:#25262c!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important}

/* Widgets */
html body.wd-v2-app:not(#wdV2) .summary-grid{order:2;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 16px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .summary-link{text-decoration:none!important;display:block!important;min-width:0}
html body.wd-v2-app:not(#wdV2) .summary-box{position:relative!important;height:100%!important;min-height:96px!important;padding:14px 16px!important;border-radius:10px!important;
  background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;transform:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
html body.wd-v2-app:not(#wdV2) .summary-box::before,html body.wd-v2-app:not(#wdV2) .summary-box::after{display:none!important}
html body.wd-v2-app:not(#wdV2) .summary-box.clickable:hover{border-color:#3a3d45!important;background:var(--v2-card2)!important}
html body.wd-v2-app:not(#wdV2) .summary-head{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;margin:0 0 4px!important;flex-direction:row!important}
html body.wd-v2-app:not(#wdV2) .summary-label{font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;color:var(--v2-muted)!important;order:2}
html body.wd-v2-app:not(#wdV2) .summary-indicator{width:8px!important;height:8px!important;border-radius:2px!important;box-shadow:none!important;order:1;animation:none!important}
html body.wd-v2-app:not(#wdV2) .summary-indicator.total{background:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .summary-indicator.live{background:var(--v2-green)!important}
html body.wd-v2-app:not(#wdV2) .summary-indicator.offline{background:var(--v2-red)!important}
html body.wd-v2-app:not(#wdV2) .summary-profit-icon{order:1;display:inline-flex}
html body.wd-v2-app:not(#wdV2) .summary-profit-icon svg{width:14px;height:14px}
html body.wd-v2-app:not(#wdV2) .summary-value{font-size:26px!important;font-weight:600!important;line-height:1.2!important;text-align:left!important;letter-spacing:-.01em!important;
  color:var(--v2-text)!important;text-shadow:none!important;margin:0!important;font-variant-numeric:tabular-nums}
html body.wd-v2-app:not(#wdV2) .live-box .summary-value{color:var(--v2-green)!important}
html body.wd-v2-app:not(#wdV2) .offline-box .summary-value{color:var(--v2-red)!important}
html body.wd-v2-app:not(#wdV2) .summary-subtext{font-size:11.5px!important;color:var(--v2-dim)!important;margin:2px 0 0!important;text-align:left!important}
html body.wd-v2-app:not(#wdV2) .summary-box.total-box{padding-left:96px!important}
.wd-v2-donut{position:absolute;left:16px;top:50%;transform:translateY(-50%);line-height:0}

/* Filter toolbar */
html body.wd-v2-app:not(#wdV2) form.wd-filterbar{order:3;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;
  margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body.wd-v2-app:not(#wdV2) .wd-search-wrap{flex:1 1 320px!important;min-width:240px!important;height:34px!important;border-radius:8px!important;background:var(--v2-card)!important;
  border:1px solid var(--v2-line)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-search-wrap:focus-within{border-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-search-wrap input{background:none!important;color:var(--v2-text)!important;font-size:13px!important;height:32px!important;box-shadow:none!important;border:0!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar .btn,html body.wd-v2-app:not(#wdV2) form.wd-filterbar .wd-apply,html body.wd-v2-app:not(#wdV2) form.wd-filterbar .wd-select-trigger,
html body.wd-v2-app:not(#wdV2) form.wd-filterbar [class*="wd-select"] > button{height:34px!important;min-height:0!important;border-radius:8px!important;background:var(--v2-card)!important;
  border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important;font-size:12.5px!important;font-weight:500!important;padding:0 12px!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar .btn:hover,html body.wd-v2-app:not(#wdV2) form.wd-filterbar .wd-apply:hover{color:var(--v2-text)!important;border-color:#3a3d45!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar .wd-apply{background:var(--v2-blue2)!important;border-color:var(--v2-blue2)!important;color:#fff!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar .btn-danger{color:#ff7a7f!important}
html body.wd-v2-app:not(#wdV2) .wd-site-actions{display:flex!important;gap:8px!important}

/* Location groups */
html body.wd-v2-app:not(#wdV2) .group-card{margin:0 0 12px!important;border-radius:10px!important;background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;
  box-shadow:none!important;overflow:hidden!important;backdrop-filter:none!important}
html body.wd-v2-app:not(#wdV2) .group-card::before,html body.wd-v2-app:not(#wdV2) .group-card::after,html body.wd-v2-app:not(#wdV2) .wd-group-accent-bar{display:none!important}
html body.wd-v2-app:not(#wdV2) .group-header{min-height:0!important;padding:10px 14px!important;background:none!important;border:0!important;box-shadow:none!important;gap:12px!important}
html body.wd-v2-app:not(#wdV2) .group-card:not(.collapsed) .group-header{border-bottom:1px solid var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2) .group-header:hover{background:#1e1f24!important}
html body.wd-v2-app:not(#wdV2) .wd-group-site-icon{width:30px!important;height:30px!important;border-radius:7px!important;background:#25262c!important;border:1px solid #30323a!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-group-heading{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:12px!important;row-gap:2px!important}
html body.wd-v2-app:not(#wdV2) .group-title{font-size:14.5px!important;font-weight:600!important;color:var(--v2-text)!important;letter-spacing:0!important;text-shadow:none!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) .wd-group-local-time,html body.wd-v2-app:not(#wdV2) .wd-group-meta{font-size:12px!important;color:var(--v2-dim)!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) .wd-group-local-time strong,html body.wd-v2-app:not(#wdV2) .wd-group-meta strong{color:var(--v2-muted)!important;font-weight:500!important}
html body.wd-v2-app:not(#wdV2) .group-header [class*="pill"],html body.wd-v2-app:not(#wdV2) .group-header [class*="status-box"],html body.wd-v2-app:not(#wdV2) .group-header [class*="count-box"]{box-shadow:none!important}

/* Device table */
html body.wd-v2-app:not(#wdV2) .group-body{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .desktop-table{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;margin:0!important;border-collapse:collapse!important}
html body.wd-v2-app:not(#wdV2) .desktop-table thead th{font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;color:var(--v2-muted)!important;
  background:var(--v2-card)!important;border:0!important;border-bottom:1px solid var(--v2-line)!important;padding:9px 10px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .desktop-table tbody td{padding:7px 10px!important;border:0!important;border-bottom:1px solid var(--v2-line2)!important;background:none!important;
  color:#d3d6dd!important;font-size:12.5px!important;box-shadow:none!important;border-radius:0!important}
html body.wd-v2-app:not(#wdV2) .desktop-table tbody tr{background:none!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .desktop-table tbody tr:hover td{background:#1e1f24!important}
html body.wd-v2-app:not(#wdV2) .desktop-table tbody tr:last-child td{border-bottom:0!important}
html body.wd-v2-app:not(#wdV2) .wd-device-hostname{color:var(--v2-text)!important;font-weight:600!important;font-size:13px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html body.wd-v2-app:not(#wdV2) .wd-device-hostname:hover{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .desktop-table .mono,html body.wd-v2-app:not(#wdV2) .desktop-table .wd-device-primary-text{font-family:ui-monospace,"SF Mono",Menlo,monospace!important;font-size:12px!important;color:#c9cdd5!important}
html body.wd-v2-app:not(#wdV2) .rustdesk-id-link,html body.wd-v2-app:not(#wdV2) .anydesk-id-link{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;color:#c9cdd5!important;height:auto!important;min-height:0!important}
html body.wd-v2-app:not(#wdV2) .rustdesk-id-link:hover,html body.wd-v2-app:not(#wdV2) .anydesk-id-link:hover{color:var(--v2-blue)!important}

/* Status: dot -> pill-like dot */
html body.wd-v2-app:not(#wdV2) .wd-status-dot-only{width:9px!important;height:9px!important;box-shadow:none!important;animation:none!important}
html body.wd-v2-app:not(#wdV2) .status.online.wd-status-dot-only{background:var(--v2-green)!important;box-shadow:0 0 0 4px rgba(55,194,111,.14)!important}
html body.wd-v2-app:not(#wdV2) .status.offline.wd-status-dot-only{background:var(--v2-red)!important;box-shadow:0 0 0 4px rgba(240,72,78,.14)!important}

/* CPU / RAM / Disk: thin bar + value instead of rings */
html body.wd-v2-app:not(#wdV2) .table-mini-graph{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html body.wd-v2-app:not(#wdV2) .table-mini-track{display:block!important;position:relative!important;width:44px!important;height:4px!important;border-radius:9px!important;background:#2c2e35!important;overflow:hidden!important;border:0!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .table-mini-track span{display:block!important;height:100%!important;border-radius:9px!important;background:var(--v2-blue)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .table-mini-value.wd-metric-ring{width:auto!important;height:auto!important;min-width:30px!important;background:none!important;border:0!important;box-shadow:none!important;
  -webkit-mask:none!important;mask:none!important;padding:0!important;display:block!important}
html body.wd-v2-app:not(#wdV2) .table-mini-value.wd-metric-ring::before,html body.wd-v2-app:not(#wdV2) .table-mini-value.wd-metric-ring::after{display:none!important}
html body.wd-v2-app:not(#wdV2) .table-mini-value.wd-metric-ring span{position:static!important;font-size:12px!important;font-weight:400!important;color:var(--v2-muted)!important;background:none!important;
  transform:none!important;inset:auto!important;font-variant-numeric:tabular-nums}

/* Tags */
html body.wd-v2-app:not(#wdV2) .desktop-table .tag,html body.wd-v2-app:not(#wdV2) .desktop-table [class*="tag-chip"],html body.wd-v2-app:not(#wdV2) .desktop-table .tags span{background:#25262c!important;border:1px solid #30323a!important;
  color:var(--v2-muted)!important;box-shadow:none!important;border-radius:6px!important;font-size:11.5px!important}

/* Action buttons: flat monochrome squares, colour on hover */
html body.wd-v2-app:not(#wdV2) .desktop-table .btn-action,html body.wd-v2-app:not(#wdV2) .desktop-table .btn-more,html body.wd-v2-app:not(#wdV2) .desktop-table .btn-edit{width:28px!important;min-width:28px!important;height:28px!important;
  min-height:0!important;padding:0!important;border-radius:7px!important;background:#222329!important;border:1px solid #30323a!important;box-shadow:none!important;color:#cfd3db!important;filter:none!important}
html body.wd-v2-app:not(#wdV2) .desktop-table .btn-action:hover,html body.wd-v2-app:not(#wdV2) .desktop-table .btn-more:hover,html body.wd-v2-app:not(#wdV2) .desktop-table .btn-edit:hover{border-color:var(--v2-blue)!important;background:rgba(71,151,255,.10)!important}
html body.wd-v2-app:not(#wdV2) .desktop-table .btn-action.btn-disabled{opacity:.35!important}
html body.wd-v2-app:not(#wdV2) .action-menu{background:var(--v2-card2)!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.5)!important;backdrop-filter:none!important}
html body.wd-v2-app:not(#wdV2) .action-menu-item:hover{background:rgba(71,151,255,.10)!important}

/* Device window: full-height sheet from the right */
html body.wd-v2-app:not(#wdV2) .wd-device-modal{align-items:stretch!important;justify-content:flex-end!important;padding:0!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal-backdrop{background:rgba(5,6,8,.55)!important;backdrop-filter:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog{width:min(1180px,calc(100vw - 56px))!important;max-height:none!important;height:100vh!important;margin:0 0 0 auto!important;
  border-radius:0!important;border:0!important;border-left:1px solid var(--v2-line)!important;background:var(--v2-nav)!important;box-shadow:-24px 0 60px rgba(0,0,0,.45)!important;
  animation:wdV2Sheet .18s ease-out}
@keyframes wdV2Sheet{from{transform:translateX(40px);opacity:.4}to{transform:none;opacity:1}}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog-header{background:var(--v2-nav)!important;border-bottom:1px solid var(--v2-line)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-tab{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--v2-muted)!important;font-weight:500!important}
html body.wd-v2-app:not(#wdV2) .wd-device-tab.active,html body.wd-v2-app:not(#wdV2) .wd-device-tab[aria-selected="true"]{color:var(--v2-text)!important;box-shadow:inset 0 -2px 0 var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-tab:hover{color:var(--v2-text)!important}

@media (max-width:1250px){html body.wd-v2-app:not(#wdV2) .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2) .wd-v2-rail{top:auto;right:0;width:auto;height:52px;flex-direction:row;justify-content:space-around;padding:0 6px;border-right:0;border-top:1px solid var(--v2-line)}
  html body.wd-v2-app:not(#wdV2) .wd-v2-rail-spacer,html body.wd-v2-app:not(#wdV2) .wd-v2-rail-logo{display:none}
  html body.wd-v2-app:not(#wdV2) .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body.wd-v2-app:not(#wdV2) .summary-box{min-height:0!important;padding:10px 12px!important}
  html body.wd-v2-app:not(#wdV2) .summary-box.total-box{padding-left:12px!important}
  html body.wd-v2-app:not(#wdV2) .wd-v2-donut,html body.wd-v2-app:not(#wdV2) .summary-subtext{display:none!important}
  html body.wd-v2-app:not(#wdV2) .summary-value{font-size:20px!important}
  html body.wd-v2-app:not(#wdV2) .wd-brand .brand-logo{width:92px!important}
  html body.wd-v2-app:not(#wdV2) form.wd-filterbar > .wd-search-wrap{flex:1 1 100%!important}
  html body.wd-v2-app:not(#wdV2) form.wd-filterbar > select,html body.wd-v2-app:not(#wdV2) form.wd-filterbar > .wd-custom-select{flex:1 1 40%!important;min-width:0!important}
  html body.wd-v2-app:not(#wdV2) form.wd-filterbar select{height:34px!important;border-radius:8px!important;background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-text)!important;font-size:13px!important}
  html body.wd-v2-app:not(#wdV2) .wd-site-actions{flex:1 1 100%!important}
  html body.wd-v2-app:not(#wdV2) .wd-site-actions .btn{flex:1 1 0!important;width:auto!important;padding:0 6px!important;white-space:nowrap!important}
  html body.wd-v2-app:not(#wdV2){padding:0 12px 70px!important}
  html body.wd-v2-app:not(#wdV2) .wd-header-main{margin:0 -12px 14px!important;padding:0 12px!important}
  html body.wd-v2-app:not(#wdV2) .wd-header-tools .btn.wd-premium-tool:not(#wdCriticalAlertButton),html body.wd-v2-app:not(#wdV2) .wd-user-box{display:none!important}
  html body.wd-v2-app:not(#wdV2) .wd-device-dialog{width:100vw!important}
}

/* Pass 2: layout fixes over the classic fixed-width rules */
html body.wd-v2-app:not(#wdV2) .wd-brand .brand-logo{height:auto!important;width:118px!important;max-height:none!important}
html body.wd-v2-app:not(#wdV2) .summary-value{display:block!important;align-self:flex-start!important;width:auto!important;justify-content:flex-start!important;position:static!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar > *{flex:0 0 auto!important;width:auto!important;max-width:none!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar > .wd-search-wrap{flex:1 1 320px!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar .wd-custom-select{width:auto!important;min-width:150px!important}
html body.wd-v2-app:not(#wdV2) form.wd-filterbar .wd-custom-select-trigger{width:100%!important}
html body.wd-v2-app:not(#wdV2) .group-card .desktop-table{table-layout:auto!important;width:100%!important}
html body.wd-v2-app:not(#wdV2) .group-card .desktop-table th,html body.wd-v2-app:not(#wdV2) .group-card .desktop-table td{width:auto!important;min-width:0!important}
html body.wd-v2-app:not(#wdV2) .group-card .desktop-table td.col-rustdesk a,html body.wd-v2-app:not(#wdV2) .group-card .desktop-table td.col-anydesk a,html body.wd-v2-app:not(#wdV2) .group-card .desktop-table td.col-rustdesk span,html body.wd-v2-app:not(#wdV2) .group-card .desktop-table td.col-anydesk span{
  overflow:visible!important;text-overflow:clip!important;max-width:none!important;width:auto!important;font-size:12px!important;font-weight:400!important;min-height:0!important}
html body.wd-v2-app:not(#wdV2) .group-card .desktop-table .remote-id-status-dot,html body.wd-v2-app:not(#wdV2) .anydesk-id-link::before{display:none!important}
html body.wd-v2-app:not(#wdV2) .group-card .desktop-table .depot-cell,html body.wd-v2-app:not(#wdV2) .group-card .desktop-table .version-cell{overflow:visible!important;text-overflow:clip!important}
html body.wd-v2-app:not(#wdV2) .table-mini-value.wd-metric-ring{display:flex!important;align-items:center!important;line-height:1!important;margin:0!important;position:static!important;transform:none!important}
html body.wd-v2-app:not(#wdV2) .table-mini-value.wd-metric-ring span{line-height:1!important;display:inline!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) .wd-group-status-box{min-height:0!important;height:26px!important;padding:0 10px!important;border-radius:999px!important;display:inline-flex!important;flex-direction:row!important;
  align-items:center!important;gap:6px!important;background:#222329!important;border:1px solid #30323a!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-group-status-box .wd-group-status-label{font-size:11.5px!important;letter-spacing:0!important;text-transform:none!important;color:var(--v2-muted)!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) .wd-group-status-box .wd-group-status-value{font-size:12.5px!important;font-weight:600!important;line-height:1!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) .wd-group-status-online .wd-group-status-value{color:var(--v2-green)!important}
html body.wd-v2-app:not(#wdV2) .wd-group-status-offline .wd-group-status-value{color:var(--v2-red)!important}
html body.wd-v2-app:not(#wdV2) .wd-group-status-online .wd-group-status-dot{background:var(--v2-green)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-group-status-offline .wd-group-status-dot{background:var(--v2-red)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-group-chevron{color:var(--v2-dim)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-tab::after,html body.wd-v2-app:not(#wdV2) .wd-device-tab::before{background:var(--v2-blue)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-tab:not(.active)::after{opacity:0!important}

/* Pass 3: icons */
.wd-v2-ico{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex:0 0 auto}
.wd-v2-ico svg{width:16px;height:16px}
html body.wd-v2-app:not(#wdV2) .wd-v2-iconized{display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;color:#cfd3db!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-iconized > :not(.wd-v2-ico){display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-iconized::before,html body.wd-v2-app:not(#wdV2) .wd-v2-iconized::after{content:none!important;display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-iconized:hover{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-iconized.btn-disabled{color:var(--v2-dim)!important}
html body.wd-v2-app:not(#wdV2) .actions .wd-v2-iconized .wd-v2-ico svg{width:15px;height:15px}
html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized{display:grid!important;place-items:center!important;color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized > span:not(.wd-v2-ico){display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized .wd-v2-ico svg{width:15px;height:15px}
html body.wd-v2-app:not(#wdV2) .wd-premium-tool-icon[data-v2-ico]{display:inline-flex!important;line-height:0!important;color:var(--v2-muted)!important;filter:none!important}
html body.wd-v2-app:not(#wdV2) .wd-premium-tool-icon[data-v2-ico] svg{width:15px;height:15px}
html body.wd-v2-app:not(#wdV2) .summary-head .wd-v2-widget-ico{order:0;width:26px;height:26px;border-radius:7px;background:#25262c;border:1px solid #30323a;color:var(--v2-muted);margin-right:2px}
html body.wd-v2-app:not(#wdV2) .summary-head .wd-v2-widget-ico svg{width:14px;height:14px}
html body.wd-v2-app:not(#wdV2) .live-box .wd-v2-widget-ico{color:var(--v2-green)}
html body.wd-v2-app:not(#wdV2) .offline-box .wd-v2-widget-ico{color:var(--v2-red)}
html body.wd-v2-app:not(#wdV2) .profit-box .wd-v2-widget-ico{color:var(--v2-amber)}
html body.wd-v2-app:not(#wdV2) .summary-indicator,html body.wd-v2-app:not(#wdV2) .summary-profit-icon{display:none!important}
html body.wd-v2-app:not(#wdV2) .total-box .wd-v2-widget-ico{display:none}
.wd-v2-product{display:inline-flex;width:34px;height:34px;border-radius:8px;background:#222329;border:1px solid #30323a;align-items:center;justify-content:center;flex:0 0 auto;margin-right:10px;vertical-align:middle}
html body.wd-v2-app:not(#wdV2) .wd-device-name-with-roulette{display:flex!important;align-items:center!important}
.wd-v2-dialog-product{display:inline-flex;width:58px;height:58px;border-radius:12px;background:#222329;border:1px solid #30323a;align-items:center;justify-content:center;flex:0 0 auto;margin-right:14px}
html body.wd-v2-app:not(#wdV2) .wd-device-heading{display:flex!important;align-items:center!important}
html body.wd-v2-app:not(#wdV2) .wd-device-heading .wd-device-status-dot{display:none!important}

/* Pass 3: device window and modals use the v2 palette */
html body.wd-v2-app:not(#wdV2){--bg:#0f1012;--bg2:#0f1012;--bg3:#0f1012;--panel:#1a1b1f;--panel-2:#202126;--line:#2a2c32;--line-soft:#33353c;--text:#f2f3f5;--text-soft:#c9cdd5;--muted:#9a9ea8;
  --blue:#4797ff;--accent:#4797ff;--accent-rgb:71,151,255;--gold:#4797ff;--green:#37c26f;--red:#f0484e;--amber:#f2a93b;--bg-gradient:none;
  --panel-gradient:linear-gradient(#1a1b1f,#1a1b1f);--panel-gradient-2:linear-gradient(#202126,#202126);--accent-glow:0 0 0 3px rgba(71,151,255,.18);--shadow:none;--shadow-soft:none}
html body.wd-v2-app:not(#wdV2) .wd-device-modal{--wd-modal-border:#2a2c32;--wd-modal-border-soft:#232429;--wd-modal-surface:#141518;--wd-modal-card:#1a1b1f;--wd-modal-card-hover:#202126;--wd-modal-muted:#9a9ea8;--wd-modal-soft:#c9cdd5}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog :is(.wd-device-card,.wd-hw-card,.wd-profit-summary-card,.wd-counters-dashboard-kpi,.wd-pilot-kpi,.wd-device-metric,.wd-live-table-section,.wd-jackpot-section,.wd-device-profit-header,.wd-counters-table-wrap,.wd-hw-info-block,.wd-license-summary-item,.wd-hardware-history,.wd-device-history-chart){
  background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;border-radius:10px!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-tabs{background:var(--v2-nav)!important;border:0!important;border-bottom:1px solid var(--v2-line)!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-tab svg{color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-tab.active svg{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-card-title{font-size:13.5px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-card-title svg{color:var(--v2-blue)!important;stroke:currentColor}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog :is(.wd-device-kv-grid,.wd-hw-kv) span{font-size:12px!important;letter-spacing:0!important;text-transform:none!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog :is(.wd-device-kv-grid,.wd-hw-kv) > div{border-color:var(--v2-line2)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-counters-table th{font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;color:var(--v2-muted)!important;background:var(--v2-card)!important;border-color:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-counters-table td{border-color:var(--v2-line2)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-pilot-kpi-head span,html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-profit-header-label{letter-spacing:0!important;text-transform:none!important;color:var(--v2-muted)!important;font-size:12px!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-header-btn{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;color:var(--v2-muted)!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2) .wd-device-dialog .wd-device-header-btn:hover{color:var(--v2-text)!important;border-color:#3a3d45!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized::before,html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized::after{content:none!important;display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized{background:#222329!important;background-image:none!important;border:1px solid #30323a!important;box-shadow:none!important;width:34px!important;height:34px!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-product svg{width:28px;height:28px}
html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized > .wd-v2-ico{position:static!important;width:auto!important;height:auto!important;background:none!important;box-shadow:none!important;border:0!important;margin:0!important;transform:none!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized > .wd-v2-ico::before,html body.wd-v2-app:not(#wdV2) .wd-v2-site-iconized > .wd-v2-ico::after{content:none!important;display:none!important}

/* Pass 4: Admin center and the other dialogs */
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-dialog{background:var(--v2-nav)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-radius:12px!important;box-shadow:0 30px 80px rgba(0,0,0,.6)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-backdrop{background:rgba(5,6,8,.6)!important;backdrop-filter:none!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-head{background:var(--v2-nav)!important;border-bottom:1px solid var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-head small{color:var(--v2-dim)!important;letter-spacing:.08em!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-head h2{color:var(--v2-text)!important;font-weight:600!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-tabs{background:var(--v2-nav)!important;border-right:1px solid var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter button.wd-admin-tab{display:flex!important;align-items:center!important;gap:10px!important;background:none!important;border:1px solid transparent!important;color:var(--v2-muted)!important;border-radius:8px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter button.wd-admin-tab:hover{background:#1d1e23!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter button.wd-admin-tab.on{background:rgba(71,151,255,.12)!important;border-color:transparent!important;color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-tab-note{color:var(--v2-dim)!important;border-color:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-main{background:var(--v2-bg)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-sub{border-color:var(--v2-line)!important;background:var(--v2-nav)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-sub button{color:var(--v2-muted)!important;background:none!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-admin-sub button.on{color:var(--v2-text)!important;border-bottom-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-adm-btn,html body.wd-v2-app:not(#wdV2) #wdAdminCenter button.wd-adm-run{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter button.wd-adm-run:hover,html body.wd-v2-app:not(#wdV2) #wdAdminCenter .wd-adm-btn:hover{color:var(--v2-text)!important;border-color:#3a3d45!important;background:var(--v2-card2)!important}
html body.wd-v2-app:not(#wdV2) #wdAdminCenter button.wd-adm-link{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) {--accent:#4797ff;--accent-rgb:71,151,255;--gold:#4797ff;--blue:#4797ff}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) :is(.settings-dialog,.user-settings-dialog,.script-center-dialog,.user-list-panel,.user-editor-panel,.user-security-info,.user-permissions-section,[class*="-card"]:not(.wd-v2-product)){background-image:none!important;border-color:var(--v2-line)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) :is(.user-list-panel,.user-editor-panel){background:var(--v2-card)!important;border-radius:10px!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) input:not([type=checkbox]):not([type=radio]),html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) textarea{background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;border-radius:8px!important;color:var(--v2-text)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) input:not([type=checkbox]):not([type=radio]):focus,html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) textarea:focus{border-color:var(--v2-blue)!important;outline:none!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) input[type=checkbox],html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) input[type=radio]{accent-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .btn,html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) button.btn{background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;color:#d3d6dd!important;box-shadow:none!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .btn:hover{border-color:#3a3d45!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .btn.btn-primary,html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .btn-primary{background:var(--v2-blue2)!important;border-color:var(--v2-blue2)!important;color:#fff!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .btn.danger,html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .btn.btn-danger{color:#ff7a7f!important;border-color:rgba(240,72,78,.35)!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .user-editor-tabs button.active,html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .user-editor-tabs .active{color:var(--v2-text)!important;border-color:transparent!important;box-shadow:inset 0 -2px 0 var(--v2-blue)!important;background:none!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .user-editor-tabs button{color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) .user-avatar{background:#25262c!important;border-color:#33353c!important;color:var(--v2-text)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) [class*="user-list"] .active,html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) [class*="user-list"] [aria-selected="true"],html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) [class*="user-list"] .selected{background:rgba(71,151,255,.08)!important;border-color:rgba(71,151,255,.45)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) [class*="badge"],html body.wd-v2-app:not(#wdV2) :is(#wdAdminCenter,#settingsModal,#scriptCenterModal,#cylinderControlModal,#ltCardModal,#idatCardModal,#wdDeviceManagerModal,#backupDiffModal,#wdAttendantModal) [class*="role"]{border-color:#3a3d45!important}

/* Pass 5: menus, dropdowns, alerts and toasts */
html body.wd-v2-app:not(#wdV2) .action-menu,html body.wd-v2-app:not(#wdV2) .wd-device-actions-menu{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important}
html body.wd-v2-app:not(#wdV2) .wd-action-menu-search{background:none!important;border:0!important;border-bottom:1px solid var(--v2-line)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-action-menu-search input{background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;border-radius:7px!important;color:var(--v2-text)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-action-menu-search input:focus{border-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .action-menu-item{color:#d3d6dd!important;background:none!important;border-radius:6px!important}
html body.wd-v2-app:not(#wdV2) .action-menu-item:hover,html body.wd-v2-app:not(#wdV2) .action-menu-item:focus-visible{background:rgba(71,151,255,.10)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) .wd-action-item-icon{color:var(--v2-muted)!important;background:none!important;border:0!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-action-item-icon svg{stroke:currentColor!important;fill:none}
html body.wd-v2-app:not(#wdV2) .action-menu-item:hover .wd-action-item-icon{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .action-menu-danger,html body.wd-v2-app:not(#wdV2) .action-menu-danger .wd-action-item-icon{color:#ff7a7f!important}
html body.wd-v2-app:not(#wdV2) .action-menu-item-disabled,html body.wd-v2-app:not(#wdV2) .action-menu-item-disabled .wd-action-item-icon{color:var(--v2-dim)!important}
html body.wd-v2-app:not(#wdV2) .action-menu-separator,html body.wd-v2-app:not(#wdV2) .wd-device-actions-separator{background:var(--v2-line)!important;border-color:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select-menu{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select-search{background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;color:var(--v2-text)!important;border-radius:7px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select-option{color:#d3d6dd!important;background:none!important;border-radius:6px!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select-option:hover,html body.wd-v2-app:not(#wdV2) .wd-custom-select-option.is-active,html body.wd-v2-app:not(#wdV2) .wd-custom-select-option.active{background:rgba(71,151,255,.10)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select-option[aria-selected="true"],html body.wd-v2-app:not(#wdV2) .wd-custom-select-option.selected,html body.wd-v2-app:not(#wdV2) .wd-custom-select-option.is-selected{background:rgba(71,151,255,.14)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select-check{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select-trigger{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;color:#d3d6dd!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2) .wd-custom-select.open .wd-custom-select-trigger,html body.wd-v2-app:not(#wdV2) .wd-custom-select-trigger:focus-visible{border-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-panel{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:12px!important;box-shadow:0 24px 60px rgba(0,0,0,.6)!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-head{border-color:var(--v2-line)!important;background:none!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-head *{color:var(--v2-text)}
html body.wd-v2-app:not(#wdV2) .wd-critical-head button{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-alert-tabs button{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important;border-radius:999px!important}
html body.wd-v2-app:not(#wdV2) .wd-alert-tabs button[aria-selected="true"],html body.wd-v2-app:not(#wdV2) .wd-alert-tabs button.active,html body.wd-v2-app:not(#wdV2) .wd-alert-tabs button.on,html body.wd-v2-app:not(#wdV2) .wd-alert-tabs button.is-active{background:rgba(71,151,255,.12)!important;border-color:rgba(71,151,255,.45)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-device{background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-left:3px solid var(--v2-red)!important;border-radius:8px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-reason{color:#ff9a9e!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-status,html body.wd-v2-app:not(#wdV2) .wd-critical-empty,html body.wd-v2-app:not(#wdV2) .wd-critical-help{color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-toast{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-left:3px solid var(--v2-red)!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.5)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) .wd-critical-toast *{color:inherit}
html body.wd-v2-app:not(#wdV2) .wd-critical-toast button{background:none!important;border:0!important;color:var(--v2-muted)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-alert-button .wd-alert-badge,html body.wd-v2-app:not(#wdV2) .wd-alert-badge{background:var(--v2-red)!important;color:#fff!important;border:0!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .history-popover{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important}
html body.wd-v2-app:not(#wdV2) .history-stat{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .history-stat-label,html body.wd-v2-app:not(#wdV2) .history-footer,html body.wd-v2-app:not(#wdV2) .history-subtitle{color:var(--v2-muted)!important;letter-spacing:0!important;text-transform:none!important}
html body.wd-v2-app:not(#wdV2) .history-bar{background:var(--v2-blue)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .tag{background:#25262c!important;border:1px solid #30323a!important;color:var(--v2-muted)!important;box-shadow:none!important;border-radius:6px!important}

/* Pass 6: last gold accents in the device window and alerts */
html body.wd-v2-app:not(#wdV2) .wd-device-modal :is(.wd-device-card-title,.wd-pilot-kpi-head,.wd-device-profit-header,.wd-hw-card-head,.wd-counters-toolbar,.wd-jackpot-toolbar,.wd-device-metric-head,.wd-hardware-history-title,[class*="-title"]) svg{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal :is(.wd-device-card-title,.wd-pilot-kpi-head,.wd-device-profit-header,.wd-hw-card-head,.wd-counters-toolbar,.wd-jackpot-toolbar,.wd-device-metric-head,.wd-hardware-history-title,[class*="-title"]) svg :is([stroke]:not([stroke="none"])){stroke:currentColor!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal :is(.wd-device-card-title,.wd-pilot-kpi-head,.wd-device-profit-header,.wd-hw-card-head,.wd-counters-toolbar,.wd-jackpot-toolbar,.wd-device-metric-head,.wd-hardware-history-title,[class*="-title"]) svg[stroke]:not([stroke="none"]){stroke:currentColor!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-pilot-kpi-meter{background:#2c2e35!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-pilot-kpi-meter span{background:var(--v2-blue)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-device-meter span,html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-device-meter > *{background:var(--v2-blue)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-counters-dashboard-kpi::before{background:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-counters-dashboard-kpi.profit::before{background:var(--v2-green)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-counters-dashboard-kpi.payback::before{background:var(--v2-amber)!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-counters-dashboard-kpi.paid-in::before{background:#a78bfa!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-counters-dashboard-kpi span,html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-counters-dashboard-kpi small,html body.wd-v2-app:not(#wdV2) .wd-device-modal .wd-counters-dashboard-kpi label{letter-spacing:0!important;text-transform:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal :is(.wd-counters-mode,.wd-profit-mode-button,.wd-profit-show-button,.wd-profit-graph-button,.wd-counters-refresh,.wd-connected-filter,.wd-connected-sort,.wd-machine-restart-btn,.wd-cashier-all-btn) {box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal button:not(.wd-device-tab):not(.wd-device-header-btn):not([class*="danger"]):not([class*="restart"]):not(.wd-v2-iconized){border-color:var(--v2-line)!important;background-image:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal button.active:not(.wd-device-tab),html body.wd-v2-app:not(#wdV2) .wd-device-modal button.on:not(.wd-device-tab),html body.wd-v2-app:not(#wdV2) .wd-device-modal button[aria-pressed="true"]{background:rgba(71,151,255,.12)!important;border-color:rgba(71,151,255,.45)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal [class*="include"] ,html body.wd-v2-app:not(#wdV2) .wd-device-modal [class*="profit-toggle"]{border-color:var(--v2-line)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-device-modal [class*="badge"]:not(.wd-device-status-badge){box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) #wdCriticalAlertClose,html body.wd-v2-app:not(#wdV2) .wd-critical-head .wd-alert-help,html body.wd-v2-app:not(#wdV2) .wd-critical-head .wd-critical-help{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) #wdCriticalAlertClose:hover{color:var(--v2-text)!important;border-color:#3a3d45!important}

/* Pass 7: elements wd-v2.js found gold */
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-text{color:#8cbcff!important;-webkit-text-fill-color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-border{border-color:#33353c!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-bg{background-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-stroke{stroke:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-fill{fill:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-before::before{background-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-after::after{background-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-before-text::before{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-after-text::after{color:var(--v2-blue)!important}

/* Pass 8: mobile device cards, login page, loader */
html body.wd-v2-app:not(#wdV2) .device-card .wd-v2-iconized > .wd-v2-ico{visibility:visible!important;display:inline-flex!important;opacity:1!important;position:static!important}
html body.wd-v2-app:not(#wdV2) .device-card .wd-v2-iconized .wd-v2-ico svg{width:18px;height:18px}
html body.wd-v2-app:not(#wdV2) .device-card .wd-v2-iconized{background:#222329!important;background-image:none!important;border:1px solid #30323a!important;box-shadow:none!important;border-radius:10px!important}
html body.wd-v2-app:not(#wdV2) .device-card{background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;border-radius:12px!important}
html body.wd-v2-app:not(#wdV2) .device-card::before,html body.wd-v2-app:not(#wdV2) .device-card::after{display:none!important}
html body.wd-v2:not(#wdV2) .wd-login-card{background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;box-shadow:0 30px 80px rgba(0,0,0,.5)!important;border-radius:14px!important}
html body.wd-v2:not(#wdV2) .wd-login-card::before,html body.wd-v2:not(#wdV2) .wd-login-card::after{display:none!important}
html body.wd-v2:not(#wdV2) .wd-login-kicker{color:var(--v2-blue)!important;letter-spacing:.12em!important}
html body.wd-v2:not(#wdV2) .wd-login-title{color:var(--v2-text)!important;font-weight:600!important}
html body.wd-v2:not(#wdV2) .wd-login-subtitle,html body.wd-v2:not(#wdV2) .wd-login-field span{color:var(--v2-muted)!important;letter-spacing:0!important;text-transform:none!important}
html body.wd-v2:not(#wdV2) .wd-login-field input{background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;border-radius:8px!important;color:var(--v2-text)!important;box-shadow:none!important}
html body.wd-v2:not(#wdV2) .wd-login-field input:focus{border-color:var(--v2-blue)!important;box-shadow:0 0 0 3px rgba(71,151,255,.18)!important;outline:none!important}
html body.wd-v2:not(#wdV2) .wd-login-submit{background:var(--v2-blue2)!important;background-image:none!important;border:1px solid var(--v2-blue2)!important;color:#fff!important;box-shadow:none!important;border-radius:8px!important}
html body.wd-v2:not(#wdV2) .wd-login-submit:hover{background:#1a7dff!important}
html body.wd-v2:not(#wdV2) .wd-login-error{background:rgba(240,72,78,.1)!important;border-color:rgba(240,72,78,.4)!important;color:#ff9a9e!important}
html body.wd-v2:not(#wdV2) header.wd-header.wd-login-page{background:none!important;border:0!important;box-shadow:none!important}
html body.wd-v2:not(#wdV2) .page-loader .loader-bar{background:#2c2e35!important}
html body.wd-v2:not(#wdV2) .page-loader .loader-bar::before,html body.wd-v2:not(#wdV2) .page-loader .loader-bar::after{background:var(--v2-blue)!important;box-shadow:none!important}
html body.wd-v2:not(#wdV2) .loader-title{color:var(--v2-text)!important}
html body.wd-v2:not(#wdV2) .loader-sub{color:var(--v2-muted)!important}

/* Pass 9: Instances / live tables (CSS only; Cashier and Open menu behave as before) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar,html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-counters-toolbar{background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-radius:10px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-connected-table-wrap,.wd-counters-table-wrap){background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;border-radius:10px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-connected-table,.wd-counters-table) th{font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;color:var(--v2-muted)!important;background:var(--v2-card)!important;border-color:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-connected-table,.wd-counters-table) th *{letter-spacing:0!important;text-transform:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-connected-table,.wd-counters-table) td{border-color:var(--v2-line2)!important;background:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-connected-table,.wd-counters-table) tbody tr:hover td{background:#1e1f24!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-type{font-weight:500!important;color:var(--v2-text)!important;letter-spacing:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-filters{background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;border-radius:8px!important;box-shadow:none!important;padding:2px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-filter{background:none!important;border:0!important;box-shadow:none!important;color:var(--v2-muted)!important;border-radius:6px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-filter.active{background:var(--v2-card2)!important;color:var(--v2-text)!important;box-shadow:inset 0 0 0 1px #3a3d45!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-search{background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;border-radius:8px!important;color:var(--v2-text)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-search:focus{border-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-machine-restart-btn,.wd-connected-refresh,.wd-cashier-open-btn,.wd-attendant-open-btn,.wd-instance-wssh-btn,.wd-instance-reboot-btn,#wdLockAll,#wdUnlockAll){
  background:#222329!important;background-image:none!important;border:1px solid #30323a!important;box-shadow:none!important;color:#d3d6dd!important;border-radius:7px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-machine-restart-btn,.wd-connected-refresh,.wd-cashier-open-btn,.wd-attendant-open-btn,.wd-instance-wssh-btn,.wd-instance-reboot-btn,#wdLockAll,#wdUnlockAll):hover:not(:disabled):not(.is-blocked){
  border-color:var(--v2-blue)!important;background:rgba(71,151,255,.10)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-instance-reboot-btn,#wdRestartAllDevices,#wdMachineRestart){color:#ff8a8e!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-instance-reboot-btn,#wdRestartAllDevices,#wdMachineRestart):hover:not(:disabled):not(.is-blocked){border-color:rgba(240,72,78,.55)!important;background:rgba(240,72,78,.10)!important;color:#ffb3b5!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel :is(.wd-machine-restart-btn,.wd-cashier-open-btn,.wd-attendant-open-btn,.wd-instance-wssh-btn,.wd-instance-reboot-btn):is(:disabled,.is-blocked,[aria-disabled="true"]){opacity:.38!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-connected-summary{color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-gold-tint{background-color:rgba(71,151,255,.14)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal th .wd-v2-gold-tint,html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal th.wd-v2-gold-tint{background-color:transparent!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal td:has(> .wd-instance-actions),html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-instance-actions{background:none!important;border:0!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(#wdInstanceLiveTables,#wdInstanceIdat,.wd-instance-live-tables){padding:14px 16px!important;background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-radius:10px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(#wdInstanceLiveTables,#wdInstanceIdat) :is(.wd-counters-table-wrap,.wd-connected-table-wrap){border-radius:8px!important;margin-top:10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(#wdInstanceLiveTables,#wdInstanceIdat) .wd-counters-toolbar{background:none!important;border:0!important;padding:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-instance-actions{gap:6px!important;flex-wrap:nowrap!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-instance-actions :is(button,a){min-width:0!important;width:auto!important;height:30px!important;padding:0 12px!important;white-space:nowrap!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(.wd-connected-table,.wd-counters-table) :is(th,td){padding-left:10px!important;padding-right:10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(.wd-connected-status,[class*="status"]) {letter-spacing:0!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-warm-bg{background-color:var(--v2-card)!important;background-image:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-warm-tint{background-color:rgba(71,151,255,.12)!important;background-image:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-warm-border{border-color:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(#wdInstanceLiveTables,#wdInstanceIdat) table{min-width:0!important;width:100%!important;table-layout:auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(#wdInstanceLiveTables,#wdInstanceIdat) :is(th,td):last-child{width:1%!important;white-space:nowrap!important;position:static!important;box-shadow:none!important;border-left:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(#wdInstanceLiveTables,#wdInstanceIdat) .wd-instance-actions :is(button,a){width:auto!important;min-width:64px!important}
/* Rail logo: white mark on a blue tile instead of the classic gold */
html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo{width:36px!important;height:36px!important;margin:2px 0 12px!important;border-radius:9px!important;background:var(--v2-blue2)!important;color:#fff!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo:hover{background:#1a7dff!important;color:#fff!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo svg{width:18px;height:18px;stroke-width:2}

/* Pass 10: row WSSH picker and search icons */
html body.wd-v2-app:not(#wdV2) .wd-row-wssh-menu{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important;padding:6px!important}
html body.wd-v2-app:not(#wdV2) .wd-row-wssh-list{gap:2px!important;background:none!important}
html body.wd-v2-app:not(#wdV2) .wd-row-wssh-item{background:none!important;background-image:none!important;border:0!important;border-radius:7px!important;box-shadow:none!important;padding:8px 10px!important}
html body.wd-v2-app:not(#wdV2) .wd-row-wssh-item[href]:hover,html body.wd-v2-app:not(#wdV2) .wd-row-wssh-item[href]:focus-visible{background:rgba(71,151,255,.10)!important;outline:none!important}
html body.wd-v2-app:not(#wdV2) .wd-row-wssh-item strong{color:var(--v2-text)!important;font-weight:500!important;font-size:13px!important}
html body.wd-v2-app:not(#wdV2) .wd-row-wssh-item small{color:var(--v2-muted)!important;font-size:11.5px!important}
html body.wd-v2-app:not(#wdV2) .wd-row-wssh-item.unavailable{opacity:.45!important}
html body.wd-v2-app:not(#wdV2) :is(.wd-action-menu-search-icon,.wd-search-icon)[data-v2-ico]{display:inline-flex!important;align-items:center;color:var(--v2-dim)!important;font-size:0!important;line-height:0!important}
html body.wd-v2-app:not(#wdV2) :is(.wd-action-menu-search-icon,.wd-search-icon)[data-v2-ico] svg{width:15px;height:15px}
/* TRONIUS logo keeps its original colours (user choice 2026-10-09) */
/* Loading screen in the v2 style */
html body.wd-v2:not(#wdV2) .page-loader{background:var(--v2-bg)!important;background-image:none!important}
html body.wd-v2:not(#wdV2) .page-loader .loader-box{background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-radius:12px!important;box-shadow:0 24px 60px rgba(0,0,0,.45)!important}
html body.wd-v2:not(#wdV2) .page-loader .loader-box::before,html body.wd-v2:not(#wdV2) .page-loader .loader-box::after{display:none!important}
html body.wd-v2:not(#wdV2) .page-loader .loader-brand img{display:none!important}
html body.wd-v2:not(#wdV2) .page-loader .loader-logo-fallback{display:flex!important;width:40px!important;height:40px!important;min-width:40px!important;border-radius:10px!important;background:var(--v2-blue2)!important;border:0!important;box-shadow:none!important;font-size:0!important;color:transparent!important;align-items:center;justify-content:center}
html body.wd-v2:not(#wdV2) .page-loader .loader-logo-fallback::before{content:"";width:20px;height:20px;background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 8-8 10-8-10z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 8-8 10-8-10z'/%3E%3C/svg%3E") center/contain no-repeat}
html body.wd-v2:not(#wdV2) .page-loader .loader-title{font-weight:600!important;letter-spacing:0!important}

/* Tronius mark instead of the blue tile (rail and loading screen) */
html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo,html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo:hover{background:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo img{width:28px;height:28px;object-fit:contain;display:block}
html body.wd-v2:not(#wdV2) .page-loader .loader-logo-fallback{background:none!important}
html body.wd-v2:not(#wdV2) .page-loader .loader-logo-fallback::before{width:36px!important;height:36px!important;background:url("/static/img/tronius-mark-site.svg") center/contain no-repeat!important;-webkit-mask:none!important;mask:none!important}

/* Action column: plain cell; tabs and header lines run to the sheet edge */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal td.wd-connected-action,html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal th.wd-connected-action-head{background:none!important;background-image:none!important;border:0!important;border-bottom:1px solid var(--v2-line2)!important;box-shadow:none!important;border-radius:0!important;padding:6px 10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-device-dialog > .wd-device-tabs,html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-device-dialog > .wd-device-dialog-header{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:none!important;align-self:stretch!important}

/* Near-black classic panels and nested toolbar frames */
html body.wd-v2-app:not(#wdV2) .wd-v2-black-bg{background-color:transparent!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel .wd-counters-toolbar{background:none!important;border:0!important;box-shadow:none!important;padding:0 0 10px!important;border-radius:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(.wd-counters-table,.wd-connected-table) tbody :is(tr,td){background-color:transparent!important;background-image:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(.wd-counters-table,.wd-connected-table) tbody tr:hover td{background-color:#1e1f24!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(.wd-counters-loading,.wd-counters-empty,.wd-counters-error){background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;border-radius:8px!important}
/* EUR conversion tooltip */
html body.wd-v2-app:not(#wdV2) .wd-eur-tooltip{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) .wd-eur-tooltip::before,html body.wd-v2-app:not(#wdV2) .wd-eur-tooltip::after{border-color:#33353c transparent!important;background:var(--v2-card2)!important}
html body.wd-v2-app:not(#wdV2) .wd-eur-tooltip-value{color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) .wd-eur-tooltip-rate{color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2) .wd-eur-hover{text-decoration-color:rgba(71,151,255,.5)!important}
/* Device window actions popover (same look as the row ••• menu) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceActionsPopover,html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-device-actions-popover{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) :is(#wdDeviceActionsPopover,.wd-device-actions-popover)::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b) :is(#wdDeviceActionsPopover,.wd-device-actions-popover)::after{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) :is(#wdDeviceActionsPopover,.wd-device-actions-popover,.action-menu) .wd-action-menu-search{background:none!important;border:0!important;border-bottom:1px solid var(--v2-line)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-device-action{color:#d3d6dd!important;background:none!important;border:0!important;border-radius:6px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-device-action:hover,html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-device-action:focus-visible{background:rgba(71,151,255,.10)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-device-action .wd-action-item-icon{color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-device-action:hover .wd-action-item-icon{color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-device-actions-separator{background:var(--v2-line)!important;border-color:var(--v2-line)!important}
/* Search fields in menus: thin focus border like the rest of v2 */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-action-menu-search input{height:32px!important;border:1px solid var(--v2-line)!important;border-radius:7px!important;outline:none!important;box-shadow:none!important;background:var(--v2-bg)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-action-menu-search input:focus{border-color:rgba(71,151,255,.7)!important;box-shadow:0 0 0 3px rgba(71,151,255,.15)!important;outline:none!important}
/* Location cards: country flag (or the Tronius mark) instead of the pin */
html body.wd-v2-app:not(#wdV2) .wd-v2-flag-tile{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;border-radius:9px!important;
  background:#222329!important;background-image:none!important;border:1px solid #30323a!important;box-shadow:none!important;padding:0!important;overflow:hidden!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-flag-tile::before,html body.wd-v2-app:not(#wdV2) .wd-v2-flag-tile::after{content:none!important;display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-flag-tile > span{display:none!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-flag-tile > img.wd-v2-flag{display:block!important;width:28px!important;height:21px!important;border-radius:3px!important;object-fit:cover!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.12)!important;position:static!important;margin:0!important;opacity:1!important;visibility:visible!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-flag-tile > img.wd-v2-flag-mark{width:26px!important;height:26px!important;object-fit:contain!important;border-radius:0!important;box-shadow:none!important}
/* Alerts panel: help text and its buttons */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdCriticalAlertPanel button:not(.wd-alert-tabs button){background:var(--v2-card)!important;background-image:none!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdCriticalAlertPanel button:not(.wd-alert-tabs button):hover{color:var(--v2-text)!important;border-color:#3a3d45!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdCriticalAlertPanel button[aria-expanded="true"]:not(.wd-alert-tabs button),html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdCriticalAlertPanel button[aria-pressed="true"]:not(.wd-alert-tabs button){background:rgba(71,151,255,.12)!important;border-color:rgba(71,151,255,.45)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdCriticalAlertPanel :is(.wd-critical-help,.wd-alert-help-text,[id*="Help"]:not(button)){background:var(--v2-bg)!important;background-image:none!important;border-color:var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important}
/* Focus rings: v2 blue instead of the classic gold */
html body.wd-v2:not(#wdV2) :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid rgba(71,151,255,.75)!important;outline-offset:2px!important}
html body.wd-v2:not(#wdV2) :is(a,button,input,select,textarea,[tabindex]):focus:not(:focus-visible){outline:none!important}
/* Top bar spans the full content width */
html body.wd-v2-app:not(#wdV2) header.wd-header{width:auto!important;max-width:none!important;align-items:stretch!important}
html body.wd-v2-app:not(#wdV2) .wd-header-main{width:auto!important;max-width:none!important;align-self:stretch!important;box-sizing:border-box!important}
/* Tab panels sit directly on the sheet (classic used a translucent black layer) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal section.wd-device-panel{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}

/* Instances toolbar: line icons drawn in CSS, so JS text updates keep them */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdLockAll::before{content:""!important;display:inline-block!important;width:15px!important;height:15px!important;margin-right:7px!important;vertical-align:-2px!important;background:currentColor!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%274%27 y=%2711%27 width=%2716%27 height=%2710%27 rx=%272%27/%3E%3Cpath d=%27M8 11V7a4 4 0 0 1 8 0v4%27/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%274%27 y=%2711%27 width=%2716%27 height=%2710%27 rx=%272%27/%3E%3Cpath d=%27M8 11V7a4 4 0 0 1 8 0v4%27/%3E%3C/svg%3E") center/contain no-repeat!important;position:static!important;border:0!important;box-shadow:none!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdUnlockAll::before{content:""!important;display:inline-block!important;width:15px!important;height:15px!important;margin-right:7px!important;vertical-align:-2px!important;background:currentColor!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%274%27 y=%2711%27 width=%2716%27 height=%2710%27 rx=%272%27/%3E%3Cpath d=%27M8 11V7a4 4 0 0 1 7.8-1.2%27/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%274%27 y=%2711%27 width=%2716%27 height=%2710%27 rx=%272%27/%3E%3Cpath d=%27M8 11V7a4 4 0 0 1 7.8-1.2%27/%3E%3C/svg%3E") center/contain no-repeat!important;position:static!important;border:0!important;box-shadow:none!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdRestartAllDevices::before{content:""!important;display:inline-block!important;width:15px!important;height:15px!important;margin-right:7px!important;vertical-align:-2px!important;background:currentColor!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 12a9 9 0 1 0 3-6.7L3 8%27/%3E%3Cpath d=%27M3 3v5h5%27/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 12a9 9 0 1 0 3-6.7L3 8%27/%3E%3Cpath d=%27M3 3v5h5%27/%3E%3C/svg%3E") center/contain no-repeat!important;position:static!important;border:0!important;box-shadow:none!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdMachineRestart::before{content:""!important;display:inline-block!important;width:15px!important;height:15px!important;margin-right:7px!important;vertical-align:-2px!important;background:currentColor!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 2v10%27/%3E%3Cpath d=%27M18.4 6.6a9 9 0 1 1-12.8 0%27/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 2v10%27/%3E%3Cpath d=%27M18.4 6.6a9 9 0 1 1-12.8 0%27/%3E%3C/svg%3E") center/contain no-repeat!important;position:static!important;border:0!important;box-shadow:none!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdConnectedRefresh::before{content:""!important;display:inline-block!important;width:15px!important;height:15px!important;margin-right:7px!important;vertical-align:-2px!important;background:currentColor!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M21 12a9 9 0 0 1-15 6.7L3 16%27/%3E%3Cpath d=%27M3 21v-5h5%27/%3E%3Cpath d=%27M3 12a9 9 0 0 1 15-6.7L21 8%27/%3E%3Cpath d=%27M21 3v5h-5%27/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M21 12a9 9 0 0 1-15 6.7L3 16%27/%3E%3Cpath d=%27M3 21v-5h5%27/%3E%3Cpath d=%27M3 12a9 9 0 0 1 15-6.7L21 8%27/%3E%3Cpath d=%27M21 3v5h-5%27/%3E%3C/svg%3E") center/contain no-repeat!important;position:static!important;border:0!important;box-shadow:none!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdConnectedRefresh{font-size:0!important;width:34px!important;min-width:34px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdConnectedRefresh::before{margin-right:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal #wdConnectedRefresh::after{content:none!important;display:none!important}
/* Loading / empty / error strips: light card tone instead of a dark well */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal :is(.wd-counters-loading,.wd-counters-empty,.wd-counters-error,.wd-connected-error,.wd-inline-loading,.wd-unified-tab-loader){background:var(--v2-card2)!important;background-image:none!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;border-radius:8px!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-counters-error,html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-connected-error{color:#ff9a9e!important;border-color:rgba(240,72,78,.35)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-loading-spinner{border-color:#3a3d45!important;border-top-color:var(--v2-blue)!important}
/* Instances: pinned toolbar covers the rows above and below it (classic did
   this with a black shadow), pinned table head is opaque */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel[data-device-panel="connected"] .wd-connected-toolbar{background:var(--v2-card)!important;box-shadow:0 -40px 0 0 var(--v2-nav),0 var(--wd-inst-gap,12px) 0 0 var(--v2-nav)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel[data-device-panel="connected"] .wd-connected-table thead th{background:var(--v2-card)!important;background-color:var(--v2-card)!important;box-shadow:0 1px 0 var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel[data-device-panel="connected"] .wd-connected-table thead th :is(button,.wd-connected-sort,span){background:transparent!important;background-color:transparent!important;box-shadow:none!important;border:0!important;color:inherit!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel[data-device-panel="connected"] .wd-connected-table thead th :is(.wd-v2-gold-tint,.wd-v2-warm-tint,.wd-v2-gold-bg,.wd-v2-black-bg){background:transparent!important}

/* Header tools live in the left rail; only the (invisible) Alerts anchor stays */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-header-tools > :not(#wdCriticalAlertButton){display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdCriticalAlertButton{position:fixed!important;left:var(--wd-v2-bell-left,8px)!important;top:var(--wd-v2-bell-top,100px)!important;width:40px!important;height:40px!important;
  min-width:0!important;padding:0!important;margin:0!important;opacity:0!important;pointer-events:none!important;z-index:1!important}
/* Alerts "?" is a <details><summary>, not a button */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-alert-help>summary{border-color:var(--v2-line)!important;background:var(--v2-card)!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-alert-help>summary:hover,html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-alert-help[open]>summary{background:rgba(71,151,255,.12)!important;border-color:rgba(71,151,255,.45)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-alert-help>summary:focus-visible{outline:2px solid rgba(71,151,255,.75)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-alert-help .wd-critical-help{background:var(--v2-bg)!important;border-bottom-color:var(--v2-line)!important;color:var(--v2-muted)!important}

/* Cropped header logo, flush with the content edge */
html body.wd-v2-app:not(#wdV2) .wd-brand{margin:0!important;padding:0!important;gap:14px!important}
html body.wd-v2-app:not(#wdV2) .wd-brand .brand-logo[data-v2]{width:auto!important;height:18px!important;max-width:none!important;margin:0!important;padding:0!important}
/* One line: rail mark cell = top bar height, both diamonds 26px, centred */
html body.wd-v2-app:not(#wdV2) .wd-v2-rail{padding-top:0!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo,html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo:hover{width:56px!important;height:52px!important;margin:0 0 8px!important;border-radius:0!important;
  border-bottom:1px solid var(--v2-line)!important;display:grid!important;place-items:center!important;flex:0 0 auto!important}
html body.wd-v2-app:not(#wdV2) .wd-v2-rail .wd-v2-rail-logo img{width:26px!important;height:26px!important}
html body.wd-v2-app:not(#wdV2) .wd-header-main{height:52px!important;align-items:center!important}
html body.wd-v2-app:not(#wdV2) .wd-brand{height:52px!important;align-items:center!important}
html body.wd-v2-app:not(#wdV2) .wd-brand .brand-logo[data-v2]{height:26px!important;display:block!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-divider{height:22px!important;align-self:center!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-copy,html body.wd-v2-app:not(#wdV2) .wd-control-center-title{line-height:1!important;align-items:center!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-title{font-size:17px!important;font-weight:600!important}
/* Brand text as on the classic page: WebDesk + CONTROL CENTER below */
html body.wd-v2-app:not(#wdV2) .wd-control-center-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-title{font-size:18px!important;font-weight:500!important;line-height:1!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-subtitle{display:block!important;font-size:10.5px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase!important;line-height:1!important;color:var(--v2-muted)!important;margin:0!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-divider{height:30px!important;margin:0 6px!important}
/* WebDesk letters as tall as the TRONIUS letters (cap height ~15px) */
html body.wd-v2-app:not(#wdV2) .wd-control-center-title{font-size:22px!important;letter-spacing:.01em!important}
html body.wd-v2-app:not(#wdV2) .wd-control-center-copy{gap:5px!important}

/* Brand block copied from the classic page (measured computed values) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-brand{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;height:52px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-brand .brand-logo{display:block!important;width:190px!important;height:95px!important;max-width:none!important;max-height:none!important;margin:-21.5px 0!important;padding:0!important;object-fit:contain!important;flex:0 0 auto!important;
  filter:drop-shadow(0 0 12px rgba(212,175,55,.40)) drop-shadow(0 0 30px rgba(212,175,55,.20)) drop-shadow(0 6px 18px rgba(0,0,0,.30))!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-control-center-brand{display:flex!important;flex-direction:row!important;align-items:center!important;gap:15px!important;margin:0!important;padding:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-control-center-divider{display:block!important;width:1px!important;height:34px!important;margin:0!important;background:linear-gradient(rgba(0,0,0,0),rgba(255,255,255,.16) 20%,rgba(255,255,255,.16) 80%,rgba(0,0,0,0))!important;align-self:center!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-control-center-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:3px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-control-center-title{display:block!important;font-family:Inter,"Segoe UI",Roboto,Arial,Helvetica,sans-serif!important;font-size:18px!important;font-weight:500!important;letter-spacing:-0.27px!important;line-height:18px!important;color:rgb(229,232,239)!important;text-transform:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-control-center-subtitle{display:block!important;font-family:Inter,"Segoe UI",Roboto,Arial,Helvetica,sans-serif!important;font-size:9px!important;font-weight:600!important;letter-spacing:1.08px!important;line-height:9px!important;text-transform:uppercase!important;color:rgb(114,121,133)!important;margin:0!important}

/* Sheets: Admin center and the rail pages slide in from the right like the device window */
@keyframes wdV2SheetIn{from{transform:translateX(40px);opacity:.4}to{transform:none;opacity:1}}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter.wd-admin-center{justify-content:flex-end!important;align-items:stretch!important;padding:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .wd-admin-backdrop{background:rgba(5,6,8,.55)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .wd-admin-dialog{width:min(1180px,calc(100vw - 56px))!important;height:100vh!important;max-height:none!important;margin:0 0 0 auto!important;border-radius:0!important;
  border:0!important;border-left:1px solid var(--v2-line)!important;box-shadow:-24px 0 60px rgba(0,0,0,.45)!important;animation:wdV2SheetIn .18s ease-out}
.wd-v2-sheet{position:fixed;inset:0;z-index:13000;display:flex;justify-content:flex-end}
.wd-v2-sheet-backdrop{position:absolute;inset:0;background:rgba(5,6,8,.55)}
.wd-v2-sheet-panel{position:relative;width:min(1180px,calc(100vw - 56px));height:100vh;display:flex;flex-direction:column;background:var(--v2-nav);
  border-left:1px solid var(--v2-line);box-shadow:-24px 0 60px rgba(0,0,0,.45);animation:wdV2SheetIn .18s ease-out}
/* Big screens (4K): every side window (tool pages, device tools, Admin center) gets 75 % of the width;
   wd-v2.js shows the page inside larger (WEBDESK_V2_SHEET_SCALE_V1) */
@media (min-width:1900px){.wd-v2-sheet .wd-v2-sheet-panel{width:75vw}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .wd-admin-dialog{width:75vw!important}}
.wd-v2-sheet-head{height:52px;flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:0 14px 0 20px;border-bottom:1px solid var(--v2-line);color:var(--v2-text)}
.wd-v2-sheet-head strong{font-size:15px;font-weight:600;margin-right:auto}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-sheet-btn{width:32px!important;height:32px!important;min-width:0!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:8px!important;
  background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important;text-decoration:none!important;font-size:14px!important;cursor:pointer}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-sheet-btn:hover{color:var(--v2-text)!important;border-color:#3a3d45!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-sheet-btn svg{width:16px;height:16px}
.wd-v2-sheet-frame{flex:1;width:100%;border:0;background:var(--v2-bg)}
@media (max-width:820px){.wd-v2-sheet-panel,html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .wd-admin-dialog{width:100vw!important}}
/* Admin sheet: Scripts layout follows the sheet width (no side scrolling) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .script-center-grid{grid-template-columns:minmax(220px,320px) minmax(0,1fr)!important;max-width:100%!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter :is(.script-editor-panel,.script-list-panel,.script-center-grid > *){min-width:0!important;max-width:100%!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .script-target-bar{grid-template-columns:auto minmax(0,1fr) auto auto!important;max-width:100%!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .script-editor-panel :is([class*="actions"],[class*="buttons"],[class*="toolbar"]){flex-wrap:wrap!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter #wdAdminPane{overflow-x:hidden!important}
@media (max-width:900px){html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdAdminCenter .script-center-grid{grid-template-columns:minmax(0,1fr)!important}}

/* Mobile device cards: compact UniFi-style rows */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card{padding:12px 14px!important;border-radius:12px!important;background:var(--v2-card2)!important;background-image:none!important;border:1px solid var(--v2-line)!important;box-shadow:none!important;margin:0 0 10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-glow,html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card::after{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:0!important;margin:0 0 10px!important;min-height:0!important;background:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-headline{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-avatar{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-headline .wd-v2-product{width:38px!important;height:38px!important;margin:0!important;border-radius:9px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-headline .wd-v2-product svg{width:30px!important;height:30px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-title{font-size:15px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:0!important;padding:0!important;margin:0!important;color:var(--v2-text)!important;background:none!important;border:0!important;display:inline-flex!important;align-items:center!important;gap:4px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .mobile-device-open-chevron{font-size:15px!important;color:var(--v2-dim)!important;margin-left:2px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-subtitle{font-size:11.5px!important;color:var(--v2-dim)!important;margin-top:2px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-top > .status{flex:0 0 auto!important;font-size:11px!important;font-weight:600!important;letter-spacing:.02em!important;padding:3px 9px!important;border-radius:999px!important;box-shadow:none!important;text-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-top > .status.online{background:rgba(55,194,111,.14)!important;color:#5fd890!important;border:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-top > .status.offline{background:rgba(240,72,78,.14)!important;color:#ff7a7f!important;border:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-card-top > .status::before{width:6px!important;height:6px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-tags{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:0 0 10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .device-tags .tag{font-size:11px!important;padding:2px 8px!important;border-radius:6px!important;line-height:1.5!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .actions.actions-redesign{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .actions.actions-redesign > *{min-width:0!important;width:auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .actions.actions-redesign :is(.btn-action,.btn-edit,.btn-more){width:100%!important;min-width:0!important;height:38px!important;min-height:0!important;max-height:none!important;border-radius:9px!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .action-more{position:relative!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .action-more::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .action-more::after{content:none!important;display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .device-card .actions.actions-redesign .wd-v2-iconized .wd-v2-ico svg{width:17px!important;height:17px!important}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-rail .wd-v2-rail-logo,html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-rail .wd-v2-rail-spacer{display:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-rail{padding:0 6px!important}
}

/* Alerts popup in the style of the new pages */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel{width:min(420px,calc(100vw - 24px))!important;padding:0!important;border-radius:12px!important;background:var(--v2-card2)!important;border:1px solid #33353c!important;box-shadow:0 24px 60px rgba(0,0,0,.6)!important;overflow:auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-head{padding:14px 16px!important;border-bottom:1px solid var(--v2-line)!important;align-items:center!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-head h2,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel #wdCriticalAlertTitle{font-size:15px!important;font-weight:600!important;letter-spacing:0!important;color:var(--v2-text)!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-head button,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-help>summary{width:28px!important;height:28px!important;border-radius:7px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-help>summary{top:14px!important;right:52px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-tabs{display:inline-flex!important;gap:2px!important;margin:12px 16px 4px!important;padding:2px!important;background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-tabs button{display:inline-flex!important;align-items:center!important;gap:7px!important;height:28px!important;padding:0 11px!important;border:0!important;border-radius:6px!important;background:none!important;color:var(--v2-muted)!important;font-size:12.5px!important;font-weight:500!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-tabs button[aria-pressed="true"]{background:var(--v2-card2)!important;color:var(--v2-text)!important;box-shadow:inset 0 0 0 1px #3a3d45!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-tabs button span{min-width:18px!important;height:18px!important;padding:0 5px!important;border-radius:999px!important;background:#2c2e35!important;color:var(--v2-text)!important;font-size:11px!important;line-height:18px!important;text-align:center!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-list{display:flex!important;flex-direction:column!important;gap:2px!important;padding:8px!important;background:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;column-gap:12px!important;row-gap:2px!important;align-items:start!important;width:100%!important;
  padding:10px 10px!important;margin:0!important;text-align:left!important;background:none!important;border:0!important;border-left:0!important;border-radius:8px!important;box-shadow:none!important;cursor:pointer}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device:hover,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device:focus-visible{background:#25262c!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device::before{content:""!important;grid-column:1!important;grid-row:1 / span 6!important;width:32px!important;height:32px!important;border-radius:8px!important;
  background:rgba(240,72,78,.14)!important;-webkit-mask:none!important;mask:none!important;position:relative!important;display:block!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device::after{content:""!important;position:absolute!important;margin:8px 0 0 8px!important;width:16px!important;height:16px!important;background:#ff7a7f!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10.3 3.9L1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z%27/%3E%3Cpath d=%27M12 9v4M12 17h.01%27/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10.3 3.9L1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z%27/%3E%3Cpath d=%27M12 9v4M12 17h.01%27/%3E%3C/svg%3E") center/contain no-repeat!important;display:block!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device{position:relative!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device::after{left:10px!important;top:10px!important;margin:8px 0 0 8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device.wd-license-warning::before{background:rgba(242,169,59,.14)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device.wd-license-warning::after{background:#f6bf69!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%2711%27 width=%2718%27 height=%2710%27 rx=%272%27/%3E%3Cpath d=%27M7 11V7a5 5 0 0 1 10 0v4%27/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%2711%27 width=%2718%27 height=%2710%27 rx=%272%27/%3E%3Cpath d=%27M7 11V7a5 5 0 0 1 10 0v4%27/%3E%3C/svg%3E")!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device > *{grid-column:2!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel button.wd-critical-device > strong{font-size:13.5px!important;font-weight:600!important;color:var(--v2-text)!important;letter-spacing:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-site{font-size:12px!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-reason{font-size:12.5px!important;line-height:1.45!important;color:#ff9a9e!important;margin-top:4px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-license-warning .wd-critical-reason{color:#f6bf69!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-license-verification{font-size:11.5px!important;color:var(--v2-dim)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-empty{padding:22px 16px!important;text-align:center!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-status{display:block!important;padding:10px 16px 12px!important;border-top:1px solid var(--v2-line)!important;font-size:11.5px!important;line-height:1.5!important;color:var(--v2-dim)!important;background:none!important}
/* Mobile cards: hostname size and no empty space under the buttons */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card{min-height:0!important;height:auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .device-card-title > span:first-child{font-size:15px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.2!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card > :last-child,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .actions.actions-redesign{margin-bottom:0!important;padding-bottom:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card :is(.mini-metrics,.device-card-grid){margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .actions.actions-redesign{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;grid-template-rows:38px!important;align-items:stretch!important;height:38px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .actions.actions-redesign > *{height:38px!important;min-height:0!important;max-height:38px!important;padding:0!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .action-more{display:block!important;height:38px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-help .wd-critical-help{background:rgba(255,255,255,.025)!important;border-bottom:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;padding:12px 16px!important;font-size:12.5px!important;line-height:1.55!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-help>summary{top:18px!important}
/* Embedded tool popup (Games, Languages, User audit ...) as a right-hand sheet */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal.wd-manager-modal:not(.hidden){display:flex!important;justify-content:flex-end!important;align-items:stretch!important;padding:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-backdrop{background:rgba(5,6,8,.55)!important;backdrop-filter:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-dialog{position:relative!important;width:min(1180px,calc(100vw - 56px))!important;max-width:none!important;height:100vh!important;max-height:none!important;margin:0 0 0 auto!important;
  display:flex!important;flex-direction:column!important;border-radius:0!important;border:0!important;border-left:1px solid var(--v2-line)!important;background:var(--v2-nav)!important;background-image:none!important;
  box-shadow:-24px 0 60px rgba(0,0,0,.45)!important;animation:wdV2SheetIn .18s ease-out;transform:none!important;top:auto!important;left:auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-dialog::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-dialog::after{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-head{flex:0 0 auto!important;min-height:52px!important;padding:8px 14px 8px 20px!important;background:var(--v2-nav)!important;background-image:none!important;border-bottom:1px solid var(--v2-line)!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-kicker{color:var(--v2-dim)!important;font-size:10.5px!important;letter-spacing:.12em!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-head h2{color:var(--v2-text)!important;font-size:15px!important;font-weight:600!important;margin:2px 0 0!important;letter-spacing:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-close{width:32px!important;height:32px!important;min-width:0!important;padding:0!important;border-radius:8px!important;background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-close:hover{color:var(--v2-text)!important;border-color:#3a3d45!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-frame{flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;border:0!important;background:var(--v2-bg)!important;border-radius:0!important}
@media (max-width:820px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceManagerModal .wd-manager-dialog{width:100vw!important}}
/* Segmented controls on a light card tone instead of a black well */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-tabs,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-filters{background:rgba(255,255,255,.035)!important;border:1px solid var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-head{min-height:56px!important;display:flex!important;align-items:center!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-head :is(h2,#wdCriticalAlertTitle){line-height:28px!important;align-self:center!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-head > :is(h2,button){margin:0!important;align-self:center!important;position:static!important;transform:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-alert-help>summary{top:14px!important}

/* Classic / new look toggle */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-look{margin-left:auto!important;display:inline-flex!important;align-items:center!important;gap:9px!important;height:32px!important;padding:0 12px 0 8px!important;border-radius:8px!important;
  background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;font-size:12.5px!important;font-weight:500!important;text-decoration:none!important;white-space:nowrap!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-look:hover{color:var(--v2-text)!important;border-color:#3a3d45!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-look-track{position:relative;display:inline-block;width:32px;height:18px;border-radius:999px;background:var(--v2-blue2);transition:background .18s ease;flex:0 0 auto}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-look-knob{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transform:translateX(14px);transition:transform .18s ease}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-look.is-switching .wd-v2-look-track{background:#2c2e35}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-look.is-switching .wd-v2-look-knob{transform:none;background:#c8ccd4}

/* troniusgaming.com logo artwork (gold mark, white text centred on it) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand .brand-logo[data-v2logo]{width:auto!important;height:24px!important;margin:0!important;object-fit:contain!important;
  filter:drop-shadow(0 0 10px rgba(212,175,55,.30)) drop-shadow(0 4px 12px rgba(0,0,0,.30))!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-rail .wd-v2-rail-logo img{width:26px!important;height:24px!important;object-fit:contain!important}

/* Same size and place as the previous logo.png (visible 127x19 centred in a 190px box) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand .brand-logo[data-v2logo]{width:190px!important;height:19px!important;object-fit:contain!important;object-position:center!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-eur-tooltip{border:1px solid rgba(71,151,255,.65)!important;box-shadow:0 0 0 1px rgba(71,151,255,.12),0 18px 40px rgba(0,0,0,.55)!important}

/* ---- Phone fixes ---- */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-sheet-btn{flex:0 0 32px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertClose{flex:0 0 28px!important;width:28px!important;min-width:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertPanel .wd-critical-head :is(h2,#wdCriticalAlertTitle){flex:1 1 auto!important;white-space:nowrap!important}
@media (max-width:820px){
  /* device window: one scrolling sheet with a solid background */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-dialog{height:auto!important;min-height:100vh!important;min-height:100dvh!important;overflow:visible!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal{background:var(--v2-nav)!important}
  /* top bar: smaller brand, switch without text */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main{gap:10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand{gap:10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand .brand-logo[data-v2logo]{width:auto!important;height:14px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-divider{height:26px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-title{font-size:15px!important;line-height:15px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-subtitle{font-size:8px!important;letter-spacing:.9px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-look{font-size:0!important;gap:0!important;padding:0 7px!important;flex:0 0 auto!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main{flex-wrap:nowrap!important}
  /* widgets: long totals fit */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-box .summary-value{font-size:18px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .profit-box .summary-value{font-size:16px!important}
  /* Instances toolbar: two equal columns */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-connected-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-connected-controls > *{width:100%!important;min-width:0!important;margin:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-connected-filters{grid-column:1 / -1!important;display:flex!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-connected-filters > *{flex:1 1 0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdConnectedSearch{grid-column:1 / span 1!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal :is(#wdLockAll,#wdUnlockAll,#wdRestartAllDevices,#wdMachineRestart,#wdConnectedRefresh){width:100%!important;min-width:0!important;justify-content:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:0 8px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdConnectedRefresh{font-size:0!important}
  /* Instances table scrolls sideways instead of being cut */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-table thead th{position:static!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar{position:static!important;box-shadow:none!important}
}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main{position:sticky!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-look{position:absolute!important;right:12px!important;top:10px!important;margin:0!important;height:32px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand{max-width:calc(100% - 64px)!important;overflow:hidden!important}
}
@media (max-width:820px){
  /* Widgets: icon + label, value, subtext - same layout in all four */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:14px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-box{min-height:0!important;height:auto!important;padding:12px 14px!important;justify-content:flex-start!important;gap:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-box.total-box{padding-left:14px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-donut{display:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-head{margin:0 0 8px!important;gap:8px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-head .wd-v2-widget-ico{display:inline-flex!important;width:24px!important;height:24px!important;border-radius:6px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .total-box .wd-v2-widget-ico{color:var(--v2-blue)!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-label{font-size:11px!important;letter-spacing:.02em!important;text-transform:uppercase!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-box .summary-value{font-size:22px!important;line-height:1.15!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .profit-box .summary-value{font-size:16px!important;line-height:1.5!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-subtext{display:block!important;font-size:11px!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  /* Filters: tidy grid */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > *{grid-column:span 3!important;width:100%!important;min-width:0!important;margin:0!important;flex:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-search-wrap,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > select[name="site"],html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-site-actions{grid-column:1 / -1!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-site-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-site-actions .btn{width:100%!important;justify-content:center!important;text-align:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar :is(select,.btn,.wd-apply,.wd-v2-expand){height:40px!important;border-radius:9px!important;font-size:13px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar select{padding:0 12px!important;background-color:var(--v2-card)!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar .wd-search-wrap{height:40px!important;border-radius:9px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar :is(.wd-apply,.wd-v2-expand,.wd-clear-filters){display:inline-flex!important;align-items:center!important;justify-content:center!important}
}
@media (max-width:820px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > *{order:0!important}}
@media (max-width:820px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar{grid-auto-flow:row dense!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-v2-expand{grid-column:1 / span 3!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-apply{grid-column:4 / span 3!important}}
@media (max-width:820px){
  /* phone: logo + WebDesk as one centred group; the switch stays at the right */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main{justify-content:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand{margin:0 auto!important;max-width:calc(100% - 120px)!important;align-items:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand .brand-logo[data-v2logo]{width:auto!important;height:15px!important;margin:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-brand{align-items:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-copy{justify-content:center!important}
}
@media (max-width:820px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main{align-items:center!important;padding-top:0!important;padding-bottom:0!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand{height:auto!important;align-self:center!important;margin-top:0!important;margin-bottom:0!important}}
@media (max-width:820px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main{flex-direction:row!important;justify-content:center!important;align-items:center!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main > .wd-header-tools{position:absolute!important;width:0!important;height:0!important;overflow:visible!important}}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand{max-width:calc(100% - 104px)!important;overflow:visible!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-brand{gap:10px!important}
}
@media (max-width:400px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand{gap:8px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand .brand-logo[data-v2logo]{height:13px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-brand{gap:8px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-title{font-size:14px!important;line-height:14px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-control-center-subtitle{font-size:7.5px!important;letter-spacing:.6px!important}
}
@media (max-width:400px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-header-main{padding-right:62px!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-brand{max-width:none!important}}

/* Focus ring of form fields drawn inside the border (full-width fields clipped it) */
html body.wd-v2:not(#wdV2) :is(input,select,textarea,.wd-custom-select-trigger):focus-visible{outline:2px solid rgba(71,151,255,.75)!important;outline-offset:-2px!important}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-custom-select-site,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > .wd-custom-select:has(select[name="site"]){grid-column:1 / -1!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar .wd-custom-select-trigger{height:40px!important;border-radius:9px!important;font-size:13px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-custom-select-menu{max-width:calc(100vw - 24px)!important}
}

/* Row action icons in tool colours (classic had coloured icons too) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="terminal"]:not(.btn-disabled){color:#5fd890!important;background:rgba(55,194,111,.10)!important;border-color:rgba(55,194,111,.28)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="terminal"]:not(.btn-disabled):hover{background:rgba(55,194,111,.18)!important;border-color:rgba(55,194,111,.5)!important;color:#5fd890!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="monitor"]:not(.btn-disabled){color:#a3c95a!important;background:rgba(163,201,90,.10)!important;border-color:rgba(163,201,90,.28)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="monitor"]:not(.btn-disabled):hover{background:rgba(163,201,90,.18)!important;border-color:rgba(163,201,90,.5)!important;color:#a3c95a!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="globe"]:not(.btn-disabled){color:#5aa9ff!important;background:rgba(90,169,255,.10)!important;border-color:rgba(90,169,255,.28)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="globe"]:not(.btn-disabled):hover{background:rgba(90,169,255,.18)!important;border-color:rgba(90,169,255,.5)!important;color:#5aa9ff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="remote"]:not(.btn-disabled){color:#3fa2ff!important;background:rgba(63,162,255,.10)!important;border-color:rgba(63,162,255,.28)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="remote"]:not(.btn-disabled):hover{background:rgba(63,162,255,.18)!important;border-color:rgba(63,162,255,.5)!important;color:#3fa2ff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="link"]:not(.btn-disabled){color:#ff6b66!important;background:rgba(239,68,59,.10)!important;border-color:rgba(239,68,59,.28)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="link"]:not(.btn-disabled):hover{background:rgba(239,68,59,.18)!important;border-color:rgba(239,68,59,.5)!important;color:#ff6b66!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="edit"]:not(.btn-disabled){color:#e9b456!important;background:rgba(233,180,86,.10)!important;border-color:rgba(233,180,86,.28)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="edit"]:not(.btn-disabled):hover{background:rgba(233,180,86,.18)!important;border-color:rgba(233,180,86,.5)!important;color:#e9b456!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="more"]:not(.btn-disabled){color:#c9cdd5!important;background:rgba(201,205,213,.10)!important;border-color:rgba(201,205,213,.28)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized[data-v2-ico="more"]:not(.btn-disabled):hover{background:rgba(201,205,213,.18)!important;border-color:rgba(201,205,213,.5)!important;color:#c9cdd5!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized.btn-disabled{color:var(--v2-dim)!important;background:#1c1d21!important;border-color:#2a2c32!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-iconized :is(.wd-v2-ico,svg,svg *){color:inherit!important;stroke:currentColor!important;-webkit-text-fill-color:currentColor!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .device-card-top > .status::before{width:7px!important;height:7px!important;min-width:7px!important;border-radius:50%!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .actions.actions-redesign > .action-more{width:auto!important;max-width:none!important;min-width:0!important;justify-self:stretch!important;flex:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .actions.actions-redesign > .action-more > .btn-more{width:100%!important;max-width:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .device-card-top > .status::before{box-sizing:border-box!important;border:0!important;padding:0!important;width:7px!important;height:7px!important}
/* One focus indicator only: fields inside a framed wrapper show it on the frame */
html body.wd-v2:not(#wdV2):not(#wdV2b):not(#wdV2c) :is(.wd-search-wrap,.wd-action-menu-search,.wd-custom-select-search-wrap) input:focus-visible,html body.wd-v2:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-search-wrap input:focus{outline:none!important;box-shadow:none!important}
html body.wd-v2:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-search-wrap:focus-within{border-color:rgba(71,151,255,.8)!important;box-shadow:none!important;outline:none!important}
html body.wd-v2:not(#wdV2):not(#wdV2b):not(#wdV2c) :is(input,textarea,.wd-custom-select-search):not([type=checkbox]):not([type=radio]):focus-visible{outline:none!important;border-color:rgba(71,151,255,.8)!important}
html body.wd-v2:not(#wdV2):not(#wdV2b):not(#wdV2c) .device-card .device-card-top > .status::before{flex:0 0 7px!important;inline-size:7px!important;block-size:7px!important}

/* Gaming-style colour icons (own artwork, static/img/gicons) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-device-card-title[data-v2-gicon]:not([data-v2-gicon=""])::before{content:""!important;-webkit-mask:none!important;mask:none!important;
  background:var(--v2-gicon) center/contain no-repeat!important;background-color:transparent!important;width:26px!important;height:26px!important;min-width:26px!important;
  display:inline-block!important;vertical-align:middle!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-device-card-title[data-v2-gicon]:not([data-v2-gicon=""]){display:flex!important;align-items:center!important;gap:10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-head .wd-v2-widget-ico[data-v2-gicon]{background:none!important;border:0!important;width:28px!important;height:28px!important;display:inline-flex!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .summary-head .wd-v2-widget-ico[data-v2-gicon] img{width:28px;height:28px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .total-box .wd-v2-widget-ico[data-v2-gicon]{display:none!important}
@media (max-width:820px){ html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .total-box .wd-v2-widget-ico[data-v2-gicon]{display:inline-flex!important} }
/* Instances toolbar: summary text never runs under the filters */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:12px 16px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar > :first-child{flex:1 1 260px!important;min-width:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar > .wd-connected-controls{flex:0 1 auto!important;margin-left:auto!important;position:static!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal section.wd-device-panel .wd-connected-summary{white-space:normal!important;overflow-wrap:anywhere!important}

/* Row WSSH picker: icon tile, title, mono details */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-menu{padding:6px!important;min-width:300px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:1px!important;
  align-items:center!important;padding:8px 10px!important;border-radius:8px!important;background:none!important;text-decoration:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item + .wd-row-wssh-item{margin-top:2px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item:first-child{border-bottom:1px solid var(--v2-line)!important;border-radius:8px 8px 0 0!important;margin-bottom:4px!important;padding-bottom:10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item[href]:hover,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item[href]:focus-visible{background:rgba(71,151,255,.10)!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-wssh-ico{grid-row:1 / span 2;width:34px;height:34px;padding:6px;border-radius:9px;background:#25262c;border:1px solid #30323a;box-sizing:border-box}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item strong{grid-column:2!important;display:flex!important;align-items:center!important;gap:7px!important;font-size:13px!important;font-weight:600!important;color:var(--v2-text)!important;line-height:1.3!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item strong::before{width:7px!important;height:7px!important;flex:0 0 7px!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item small{grid-column:2!important;font-family:ui-monospace,"SF Mono",Menlo,monospace!important;font-size:11px!important;color:var(--v2-dim)!important;line-height:1.35!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-item.unavailable .wd-v2-wssh-ico{filter:grayscale(1);opacity:.5}
html body.wd-v2:not(#wdV2):not(#wdV2b) :is(input,textarea)[data-v2-pad="add"]{padding-left:12px!important;padding-right:12px!important}

/* Device window header KPIs: gaming-style icons */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdDeviceProfitHeader::before{-webkit-mask:none!important;mask:none!important;background:var(--gi-profit, url("/static/img/gicons/profit.svg")) center/contain no-repeat!important;background-color:transparent!important;width:26px!important;height:26px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(1)::before{-webkit-mask:none!important;mask:none!important;background:var(--gi-cpu, url("/static/img/gicons/cpu.svg")) center/contain no-repeat!important;background-color:transparent!important;width:26px!important;height:26px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(2)::before{-webkit-mask:none!important;mask:none!important;background:var(--gi-memory, url("/static/img/gicons/memory.svg")) center/contain no-repeat!important;background-color:transparent!important;width:26px!important;height:26px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(3)::before{-webkit-mask:none!important;mask:none!important;background:var(--gi-disk, url("/static/img/gicons/disk.svg")) center/contain no-repeat!important;background-color:transparent!important;width:26px!important;height:26px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab[data-v2-gicon] > svg{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab[data-v2-gicon]::before{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab .wd-v2-tab-ico{width:20px;height:20px;margin-right:8px;vertical-align:middle;opacity:.75;filter:saturate(.8)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab.active .wd-v2-tab-ico,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab:hover .wd-v2-tab-ico{opacity:1;filter:none}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-list > .wd-row-wssh-item:first-child{border-bottom:0!important;margin-bottom:0!important;padding-bottom:8px!important;border-radius:8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-menu > .wd-row-wssh-item:first-child{border-bottom:1px solid var(--v2-line)!important;border-radius:8px 8px 0 0!important;margin-bottom:4px!important;padding-bottom:10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-row-wssh-list{padding-top:2px!important}
@media (max-width:820px){
  /* device tabs on phones: icon above the label, natural width, side scroll */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-dialog > .wd-device-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:2px!important;padding:0 8px!important;scrollbar-width:none!important;grid-template-columns:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-dialog > .wd-device-tabs::-webkit-scrollbar{display:none}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab{flex:0 0 auto!important;width:auto!important;min-width:64px!important;max-width:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:8px 8px 9px!important;font-size:11px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab .wd-v2-tab-ico{width:22px!important;height:22px!important;margin:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab > span,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab > b{overflow:visible!important;text-overflow:clip!important;max-width:none!important}
}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdDeviceActionsToggle[data-v2-gicon]::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal #wdDeviceActionsToggle[data-v2-gicon]::after{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tab .wd-v2-tab-ico{width:22px;height:22px;opacity:.85}
/* Instances toolbar on one line: title block shrinks, controls never wrap */
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar{flex-wrap:nowrap!important;align-items:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar > :first-child{flex:1 1 auto!important;min-width:150px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar > .wd-connected-controls{flex:0 0 auto!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;margin-left:auto!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel .wd-connected-controls > *{flex:0 0 auto!important;white-space:nowrap!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel #wdConnectedSearch{width:170px!important;min-width:0!important}
}
/* Narrower windows: the four power/lock buttons become icon buttons (name on hover) */
@media (min-width:821px) and (max-width:1680px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel :is(#wdLockAll,#wdUnlockAll,#wdRestartAllDevices,#wdMachineRestart){font-size:0!important;width:36px!important;min-width:36px!important;padding:0!important;justify-content:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel :is(#wdLockAll,#wdUnlockAll,#wdRestartAllDevices,#wdMachineRestart)::before{margin-right:0!important;width:16px!important;height:16px!important}
}

/* Colour icon artwork everywhere (rail, row actions, menus, admin tabs, alerts) */
.wd-v2-gimg{display:block;object-fit:contain;flex:0 0 auto}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-rail-item .wd-v2-gimg{width:24px;height:24px;opacity:.8;transition:opacity .15s,transform .15s}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-rail-item:hover .wd-v2-gimg,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-rail-item.is-active .wd-v2-gimg{opacity:1;transform:scale(1.06)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-iconized[data-v2-ico]:not(.btn-disabled){background:#222329!important;border-color:#30323a!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-iconized[data-v2-ico]:not(.btn-disabled):hover{background:#2a2c33!important;border-color:#4797ff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-iconized .wd-v2-gimg{width:20px;height:20px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .device-card .wd-v2-iconized .wd-v2-gimg{width:22px;height:22px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-iconized.btn-disabled .wd-v2-gimg{filter:grayscale(1);opacity:.35}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-action-item-icon[data-v2img]{background:none!important;border:0!important;width:22px!important;height:22px!important;display:grid!important;place-items:center!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-action-item-icon[data-v2img] .wd-v2-gimg{width:20px;height:20px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .action-menu-item-disabled .wd-action-item-icon[data-v2img] .wd-v2-gimg{filter:grayscale(1);opacity:.4}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdAdminCenter .wd-admin-tab .wd-v2-gimg{width:20px;height:20px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdCriticalAlertPanel button.wd-critical-device::before{background:#25262c!important;border:1px solid #30323a!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdCriticalAlertPanel button.wd-critical-device::after{-webkit-mask:none!important;mask:none!important;background:var(--gi-warning, url("/static/img/gicons/warning.svg")) center/contain no-repeat!important;width:18px!important;height:18px!important;margin:7px 0 0 7px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdCriticalAlertPanel button.wd-critical-device.wd-license-warning::after{background-image:var(--gi-key, url("/static/img/gicons/key.svg"))!important}
/* User list: the first row's top border is not clipped by the scrolling list */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .webdesk-user-row{transform:none!important;transition:background .15s,border-color .15s!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .webdesk-user-row:first-child{margin-top:3px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .webdesk-user-row:hover{border-color:#3a3d45!important;background:#1e1f24!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .webdesk-user-row.active,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .webdesk-user-row.active:hover{border-color:rgba(71,151,255,.55)!important;background:rgba(71,151,255,.08)!important}
/* Main search: live results dropdown */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-search{background:var(--v2-card2)!important;background-image:none!important;border:1px solid #33353c!important;border-radius:10px!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important;padding:6px!important;overflow:hidden!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-result{background:none!important;background-image:none!important;border:0!important;border-radius:7px!important;box-shadow:none!important;padding:9px 10px!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-result + .wd-live-result{margin-top:2px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-result:hover,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-result.active{background:rgba(71,151,255,.10)!important;border:0!important;box-shadow:inset 2px 0 0 var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-host{color:var(--v2-text)!important;font-weight:600!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-alias,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-meta{color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-id{color:var(--v2-dim)!important;font-family:ui-monospace,"SF Mono",Menlo,monospace!important;font-size:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-search mark{background:rgba(71,151,255,.22)!important;color:#cfe2ff!important;border-radius:3px!important;padding:0 1px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-status{box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-status.online{background:var(--v2-green)!important;box-shadow:0 0 0 3px rgba(55,194,111,.15)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-status.offline{background:var(--v2-red)!important;box-shadow:0 0 0 3px rgba(240,72,78,.15)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-footer{background:none!important;border:0!important;border-top:1px solid var(--v2-line)!important;margin-top:4px!important;padding:8px 10px 4px!important;color:var(--v2-dim)!important;font-size:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-empty{color:var(--v2-muted)!important;padding:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-search :is(.wd-live-host,.wd-live-alias,.wd-live-meta,.wd-live-id,mark){-webkit-text-fill-color:currentColor!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;text-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-host{background:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-search{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;max-height:min(72vh,640px)!important;min-width:min(680px,calc(100vw - 120px))!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-result{min-width:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-live-meta > span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* Phones: alert toast replaced by a pulsing bell badge */
@keyframes wdV2BellPulse{0%{box-shadow:0 0 0 0 rgba(240,72,78,.7)}70%{box-shadow:0 0 0 10px rgba(240,72,78,0)}100%{box-shadow:0 0 0 0 rgba(240,72,78,0)}}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-rail-badge.is-pulsing{animation:wdV2BellPulse 1.2s ease-out 4}
@media (max-width:820px){ html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdCriticalAlertToast{display:none!important} }
/* CPU/RAM/Disk cards: icon and label side by side, no overlap */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi{position:relative!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi::before{width:22px!important;height:22px!important;left:14px!important;top:13px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi-head > span{display:block!important;margin-left:32px!important;line-height:22px!important;min-height:22px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi-head > strong{margin-top:6px!important}
/* Phones: Instances summary block takes only its own height */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar > :first-child{flex:0 0 auto!important;min-height:0!important;height:auto!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal section.wd-device-panel .wd-connected-toolbar{gap:12px!important}
}
/* User editor: v2 colours set in CSS so a re-render never shows the classic gold first */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-permission-grid{border-color:var(--v2-line)!important;background:var(--v2-card)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-permission-grid .user-permission-group{background:#1e1f24!important;border-top-color:var(--v2-line)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-permission-group button{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-permission-group button:hover{border-color:var(--v2-blue)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-permission-grid label{background:transparent!important;border-top-color:var(--v2-line2)!important;color:#d3d6dd!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-permission-grid label:hover{background:rgba(255,255,255,.025)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-permission-grid label:has(input:checked){background:rgba(71,151,255,.08)!important;border-color:var(--v2-line2)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal :is(.user-site-title,.user-site-group){background:var(--v2-card)!important;border-color:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-device-check:hover{background:rgba(255,255,255,.035)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-editor-tabs{border-color:var(--v2-line)!important;background:transparent!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal :is(.user-tab-count,.user-role-badge){background:#25262c!important;border-color:#33353c!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-role-badge.admin{background:rgba(71,151,255,.12)!important;border-color:rgba(71,151,255,.45)!important;color:#8cbcff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-avatar.admin{border-color:rgba(71,151,255,.45)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-security-info{background:var(--v2-bg)!important;border-color:var(--v2-line)!important;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal .user-editor-panel > .settings-actions{background:var(--v2-card)!important;border-color:var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #settingsModal input[type=checkbox]{accent-color:var(--v2-blue)!important}
/* CPU/RAM/Disk: icon drawn on the label itself, vertically centred with the text */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi::before{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi-head > span{display:flex!important;align-items:center!important;margin-left:0!important;padding-left:32px!important;min-height:24px!important;line-height:24px!important;background-repeat:no-repeat!important;background-position:left center!important;background-size:24px 24px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(1) .wd-pilot-kpi-head > span{background-image:var(--gi-cpu, url("/static/img/gicons/cpu.svg"))!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(2) .wd-pilot-kpi-head > span{background-image:var(--gi-memory, url("/static/img/gicons/memory.svg"))!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(3) .wd-pilot-kpi-head > span{background-image:var(--gi-disk, url("/static/img/gicons/disk.svg"))!important}

/* Variant B (top band removed 2026-10-11): colour per metric, tinted Total Profit card with details on the right */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi{overflow:hidden!important;position:relative!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi::after{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(1){--kpi-c:#4797ff;border-color:rgba(71,151,255,.4)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(2){--kpi-c:#37c26f;border-color:rgba(55,194,111,.4)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi:nth-child(3){--kpi-c:#f2a93b;border-color:rgba(242,169,59,.4)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdPilotSystemKpis .wd-pilot-kpi .wd-pilot-kpi-meter span{background:var(--kpi-c)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdDeviceProfitHeader{position:relative!important;container-type:inline-size;background:linear-gradient(135deg,rgba(55,194,111,.10),var(--v2-card) 55%)!important;border-color:rgba(55,194,111,.35)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdDeviceProfitHeader.profit-negative{background:linear-gradient(135deg,rgba(240,72,78,.10),var(--v2-card) 55%)!important;border-color:rgba(240,72,78,.35)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdDeviceProfitHeader .wd-v2-profit-mini{display:none;position:absolute;right:18px;top:50%;transform:translateY(-50%);text-align:right;gap:6px;font-size:12px;color:var(--v2-muted);line-height:1.3}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdDeviceProfitHeader .wd-v2-profit-mini b{color:#e5e8ef;font-weight:600;font-size:13px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdDeviceProfitHeader .wd-v2-profit-mini .is-off{color:#ff9a9e}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdDeviceProfitHeader .wd-v2-profit-mini .is-on{color:#5fd890}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal #wdDeviceProfitHeader.wd-v2-profit-wide .wd-v2-profit-mini{display:grid}

html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal .wd-v2-profit-switch{justify-self:end;position:relative;width:40px;height:22px;min-width:0;padding:0;border-radius:999px;border:1px solid rgba(240,72,78,.5);background:rgba(240,72,78,.18);cursor:pointer;transition:background .18s,border-color .18s;margin-top:2px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal .wd-v2-profit-switch i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#ff7a7f;transition:transform .18s,background .18s}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal .wd-v2-profit-switch.is-on{border-color:rgba(55,194,111,.55);background:rgba(55,194,111,.2)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal .wd-v2-profit-switch.is-on i{transform:translateX(18px);background:#5fd890}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal .wd-v2-profit-switch:disabled{opacity:.5;cursor:default}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal #wdDeviceProfitHeader button.wd-v2-profit-switch{all:unset!important;box-sizing:border-box!important;justify-self:end!important;position:relative!important;display:block!important;width:40px!important;height:22px!important;border-radius:999px!important;border:1px solid rgba(240,72,78,.55)!important;background:rgba(240,72,78,.18)!important;cursor:pointer!important;margin-top:2px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal #wdDeviceProfitHeader button.wd-v2-profit-switch i{position:absolute!important;top:2px!important;left:2px!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#ff7a7f!important;transition:transform .18s!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal #wdDeviceProfitHeader button.wd-v2-profit-switch.is-on{border-color:rgba(55,194,111,.55)!important;background:rgba(55,194,111,.2)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal #wdDeviceProfitHeader button.wd-v2-profit-switch.is-on i{transform:translateX(18px)!important;background:#5fd890!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal #wdDeviceProfitHeader button.wd-v2-profit-switch:focus-visible{outline:2px solid rgba(71,151,255,.75)!important;outline-offset:2px!important}
/* Hardware: no rounded boxes inside cards, the straight divider lines separate */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal :is(.wd-hw-info-block,.wd-memory-module,.wd-hardware-history){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal .wd-memory-module{border-top:1px solid var(--v2-line2)!important;padding-top:10px!important;padding-bottom:10px!important;margin:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal .wd-hw-info-block{color:var(--v2-muted)!important;font-size:12.5px!important;padding-top:6px!important;padding-bottom:6px!important}
/* No rounded boxes nested in cards: licence summary rows, tables inside sections */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal .wd-license-summary-item{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:10px 0!important;border-top:1px solid var(--v2-line2)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal :is(.wd-jackpot-section,.wd-live-table-section,#wdInstanceLiveTables,#wdInstanceIdat) .wd-counters-table-wrap{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin-left:0!important;margin-right:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal :is(.wd-jackpot-section,.wd-live-table-section,#wdInstanceLiveTables,#wdInstanceIdat) .wd-counters-table-wrap .wd-counters-table thead th{background:transparent!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal :is(.wd-memory-module){border-radius:0!important}
/* No nested rounded boxes: history popover stats, admin center blocks */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .history-popover :is(.history-stat,.history-bars){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .history-popover .history-stats{gap:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .history-popover .history-stat + .history-stat{border-left:1px solid var(--v2-line)!important;padding-left:10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .history-popover .history-bars{border-top:1px solid var(--v2-line2)!important;padding-top:8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #settingsModal .user-security-info{border:0!important;border-radius:0!important;background:transparent!important;border-top:1px solid var(--v2-line2)!important;padding:10px 0 0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdAdminCenter .wd-adm-stat{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;border-left:1px solid var(--v2-line)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdAdminCenter .wd-adm-stat:first-child{border-left:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #scriptCenterModal .script-output-card{border:0!important;border-radius:0!important;box-shadow:none!important;border-top:1px solid var(--v2-line)!important}

/* Country cards with their locations (variant A) */
.wd-v2-country{margin:0 0 12px;border:1px solid var(--v2-line);border-radius:10px;background:var(--v2-card);overflow:hidden}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-head{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;cursor:pointer}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-head:hover{background:#1e1f24}
.wd-v2-country-flag{display:grid;place-items:center;width:40px;height:40px;min-width:40px;border-radius:9px;background:#222329;border:1px solid #30323a}
.wd-v2-country-flag img{width:28px;height:21px;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.wd-v2-country-text{display:flex;flex-direction:column;min-width:0;gap:2px}
.wd-v2-country-name{font-size:14.5px;font-weight:600;color:var(--v2-text)}
.wd-v2-country-name small{font-weight:400;color:var(--v2-dim);font-size:13px}
.wd-v2-country-meta{font-size:12px;color:var(--v2-dim)}
.wd-v2-country-meta b,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-meta .wd-group-local-time-value{color:var(--v2-muted);font-weight:500}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-meta .wd-group-local-time{display:inline!important;font-size:12px!important;margin:0!important}
.wd-v2-country-status{margin-left:auto;display:flex;gap:6px;flex:0 0 auto}
.wd-v2-country-status span{font-size:11.5px;background:#222329;border:1px solid #30323a;border-radius:999px;padding:3px 9px}
.wd-v2-country-status .on{color:var(--v2-green)}.wd-v2-country-status .off{color:var(--v2-red)}
.wd-v2-country-chev{color:var(--v2-dim);font-size:16px;transition:transform .15s;margin-left:4px}
.wd-v2-country.is-open .wd-v2-country-chev{transform:rotate(90deg)}
.wd-v2-country-body{border-top:1px solid var(--v2-line)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-body > .group-card{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;border-top:1px solid var(--v2-line2)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-body > .group-card:first-child{border-top:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-body > .group-card .group-header{padding-left:66px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-body > .group-card .wd-group-site-icon{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-body > .group-card .group-title{font-size:13.5px!important;font-weight:500!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-body > .group-card .wd-group-local-time{display:none!important}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-head{flex-wrap:wrap}
  .wd-v2-country-status{order:5;margin-left:52px;width:100%}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-country-body > .group-card .group-header{padding-left:14px!important}
}
.wd-v2-country-status span{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px!important;color:var(--v2-muted)!important;font-size:11.5px;letter-spacing:.02em}
.wd-v2-country-status i{width:6px;height:6px;border-radius:50%;display:inline-block}
.wd-v2-country-status .on i{background:var(--v2-green)}.wd-v2-country-status .off i{background:var(--v2-red)}
.wd-v2-country-status .on b{color:var(--v2-green);font-weight:600}.wd-v2-country-status .off b{color:var(--v2-red);font-weight:600}
.wd-v2-country-chev{margin-left:14px!important}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-country-head{flex-wrap:wrap!important;row-gap:10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-country-text{flex:1 1 0!important;min-width:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-country-status{order:5!important;width:100%!important;margin-left:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-country-status span{flex:1 1 0;justify-content:space-between}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-country-body > .group-card .group-header-left{display:block!important;grid-template-columns:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-country-body > .group-card .wd-group-heading{width:100%!important;max-width:none!important}
}
/* Country tree: line from the flag down to every location */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card{position:relative!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card > .group-header{position:relative!important;padding-left:66px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card:not(:last-child)::before{content:""!important;display:block!important;position:absolute!important;left:33px!important;top:0!important;bottom:0!important;width:0!important;height:auto!important;border-left:2px solid #34363d!important;background:none!important;z-index:1}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card:last-child > .group-header::before{content:""!important;display:block!important;position:absolute!important;left:33px!important;top:0!important;height:50%!important;width:0!important;border-left:2px solid #34363d!important;background:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card > .group-header::after{content:""!important;display:block!important;position:absolute!important;left:33px!important;top:50%!important;width:22px!important;height:0!important;border-top:2px solid #34363d!important;background:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card:not(.collapsed) > .group-header::after{border-top-color:#4797ff!important}
@media (max-width:820px){ html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card > .group-header{padding-left:66px!important} }
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card > .group-header::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card > .group-header::after{box-shadow:none!important;filter:none!important;background-image:none!important;opacity:1!important;border-radius:0!important;margin:0!important;transform:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card::after,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card .wd-group-accent-bar{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body > .group-card{background-image:none!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-country-body .group-title{display:inline-flex!important;align-items:center!important;gap:8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-loc-flag{width:20px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.14);flex:0 0 auto;display:inline-block}
/* Phones: no tree lines (location headers are tall there); plain rows with the small flag */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-body > .group-card::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-body > .group-card > .group-header::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-body > .group-card > .group-header::after{display:none!important;content:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-body > .group-card > .group-header{padding-left:14px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-body{border-left:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-body > .group-card .group-title{font-size:14px!important;font-weight:600!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-status span{justify-content:flex-start!important;gap:8px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-country-status span b{margin-left:auto!important}
}

/* Small flag tile before each location; tree line pauses beside an open device list */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-loc-flag{display:inline-grid!important;place-items:center;width:30px!important;height:30px!important;border-radius:8px;background:#222329;border:1px solid #30323a;box-shadow:none!important;flex:0 0 auto;margin-right:2px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-loc-flag img{width:20px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.14);display:block}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-country-body .group-title{gap:10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-country-body > .group-card > .group-header{padding-left:60px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-country-body > .group-card > .group-header::after{width:20px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-country-body > .group-card:not(.collapsed):not(:last-child)::before{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-country-body > .group-card:not(.collapsed):not(:last-child) > .group-header::before{content:""!important;display:block!important;position:absolute!important;left:33px!important;top:0!important;bottom:0!important;width:0!important;border-left:2px solid #34363d!important;background:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-country-body > .group-card:not(.collapsed) > .group-header{border-radius:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{border-top:1px solid var(--v2-line2)!important}
@media (max-width:820px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .wd-v2-country-body > .group-card > .group-header::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .wd-v2-country-body > .group-card > .group-header::after,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .wd-v2-country-body > .group-card::before{display:none!important;content:none!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .wd-v2-country-body > .group-card > .group-header{padding-left:14px!important}}
@media (min-width:821px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .wd-v2-country-body > .group-card > .group-header::after{width:27px!important}}
/* Open location: its device list hangs under the location (indent + blue guide line + tint) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i) .wd-v2-country-body > .group-card:not(.collapsed){background:rgba(71,151,255,.035)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i) .wd-v2-country-body > .group-card:not(.collapsed) > .group-header .group-title{color:#cfe2ff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{margin:0 12px 12px 74px!important;border-top:0!important;border-left:2px solid rgba(71,151,255,.55)!important;background:var(--v2-card)!important;border-radius:0 8px 8px 0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i) .wd-v2-country-body > .group-card:not(.collapsed) .desktop-table thead th{background:transparent!important}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{margin:0 8px 10px 14px!important;padding-left:8px!important}
}
@media (min-width:821px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{margin:0 10px 12px 74px!important;overflow-x:auto!important;overflow-y:visible!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body .desktop-table{min-width:0!important}}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{width:auto!important;max-width:none!important;box-sizing:border-box!important}
/* Country cards polish: compact location rows, aligned text, consistent pills */
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card > .group-header{min-height:0!important;padding-top:9px!important;padding-bottom:9px!important;align-items:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card .wd-group-heading{align-items:center!important;column-gap:10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card .group-title{font-size:13.5px!important;font-weight:500!important;line-height:30px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card .wd-group-meta{font-size:12px!important;color:var(--v2-dim)!important;line-height:30px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card:hover:not(:has(.group-body:hover)){background:#1e1f24!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card:not(.collapsed) > .group-header{padding-bottom:10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{margin-top:0!important;margin-bottom:14px!important}
}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-status span,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body .wd-group-status-box{height:26px!important;font-size:11.5px!important;padding:0 10px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-head{padding-top:14px!important;padding-bottom:14px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country.is-open > .wd-v2-country-head{border-bottom:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card .wd-group-chevron{color:var(--v2-dim)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card:not(.collapsed) .wd-group-chevron{color:var(--v2-blue)!important}
@media (min-width:821px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k) .wd-v2-country-body > .group-card .wd-group-chevron{height:auto!important;min-height:0!important;line-height:1!important;font-size:16px!important;align-self:center!important}}
@media (min-width:821px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l) .wd-v2-country-body > .group-card .wd-group-chevron{font-size:22px!important;width:22px!important;text-align:center!important}} html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l) .wd-v2-country-chev{font-size:22px!important;width:22px!important;text-align:center!important;line-height:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l) .wd-v2-country-chev{margin-left:0!important;margin-right:-2px!important}
/* Softer country tree: v2 greys, rounded device box, rounded last elbow */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:not(.collapsed){background:transparent!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:not(.collapsed) > .group-header{background:#1e1f24!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:not(.collapsed) > .group-header .group-title{color:var(--v2-text)!important}
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{margin:10px 14px 14px 60px!important;border:1px solid var(--v2-line)!important;border-radius:10px!important;background:var(--v2-nav)!important;overflow:hidden auto!important}
}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{border:1px solid var(--v2-line)!important;border-radius:10px!important;background:var(--v2-nav)!important;padding-left:0!important}
}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:not(:last-child)::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card > .group-header::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card > .group-header::after{border-color:#3a3d45!important}
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:last-child > .group-header::before{width:22px!important;height:50%!important;border-left:2px solid #3a3d45!important;border-bottom:2px solid #3a3d45!important;border-bottom-left-radius:10px!important;border-top:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:last-child > .group-header::after{display:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card > .group-header::after{border-top-color:#3a3d45!important;border-radius:0 2px 2px 0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:not(.collapsed) > .group-header::after{border-top-color:var(--v2-blue)!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m) .wd-v2-country-body > .group-card:last-child:not(.collapsed) > .group-header::before{border-bottom-color:var(--v2-blue)!important}
}
/* Open location device box: v2 card grey, no black */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n) .wd-v2-country-body > .group-card:not(.collapsed){background:var(--v2-card)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{background:var(--v2-card2)!important;border-color:#2e3036!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body :is(table,thead,tbody,tr,th,td){background-color:transparent!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body tbody tr:hover td{background-color:rgba(255,255,255,.03)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body .device-card{background:var(--v2-card)!important}
@media (min-width:821px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n):not(#wdV2o) .wd-v2-country-body > .group-card:not(.collapsed):not(:last-child)::before{content:""!important;display:block!important;position:absolute!important;left:33px!important;top:0!important;bottom:0!important;width:0!important;border-left:2px solid #3a3d45!important;background:none!important}html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n):not(#wdV2o) .wd-v2-country-body > .group-card:not(.collapsed):not(:last-child) > .group-header::before{display:none!important}}
/* Alerts: right-hand sheet like the other windows (inline position from critical-alerts.js is overridden) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdCriticalAlertPanel:not([hidden]){position:fixed!important;left:auto!important;right:0!important;top:0!important;bottom:0!important;width:min(520px,100vw)!important;max-width:none!important;height:100vh!important;height:100dvh!important;max-height:none!important;
  border-radius:0!important;border:0!important;border-left:1px solid var(--v2-line)!important;background:var(--v2-nav)!important;z-index:13000!important;overflow-y:auto!important;
  box-shadow:-24px 0 60px rgba(0,0,0,.45),0 0 0 100vmax rgba(5,6,8,.55)!important;animation:wdV2SheetIn .18s ease-out;display:flex!important;flex-direction:column!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdCriticalAlertPanel .wd-critical-head{min-height:52px!important;padding:0 14px 0 20px!important;position:sticky!important;top:0!important;background:var(--v2-nav)!important;z-index:2}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdCriticalAlertPanel .wd-alert-help>summary{top:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdCriticalAlertPanel .wd-critical-list{flex:1 1 auto!important;padding:10px 12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdCriticalAlertPanel .wd-critical-status{margin-top:auto!important}
@media (max-width:820px){ html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdCriticalAlertPanel:not([hidden]){bottom:52px!important;height:auto!important} }
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdCriticalAlertPanel .wd-critical-list{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-content:flex-start!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdCriticalAlertPanel .wd-critical-list > *{flex:0 0 auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdCriticalAlertPanel .wd-alert-help>summary{z-index:3!important;position:absolute!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdCriticalAlertPanel .wd-critical-head{padding-right:96px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdCriticalAlertPanel #wdCriticalAlertClose{position:absolute!important;right:14px!important;top:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdCriticalAlertPanel .wd-alert-help>summary{right:52px!important;top:12px!important}

/* "+ Site" dialog */
.wd-v2-siteadd{position:fixed;inset:0;z-index:13500;display:grid;place-items:center}
.wd-v2-siteadd-backdrop{position:absolute;inset:0;background:rgba(5,6,8,.6)}
.wd-v2-siteadd-card{position:relative;width:min(440px,calc(100vw - 32px));background:var(--v2-card2);border:1px solid #33353c;border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.6);padding:0 0 16px}
.wd-v2-siteadd-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--v2-line);margin-bottom:14px}
.wd-v2-siteadd-head strong{font-size:15px;font-weight:600;color:var(--v2-text)}
.wd-v2-siteadd-field{display:grid;gap:6px;padding:0 16px;margin-bottom:12px}
.wd-v2-siteadd-field[hidden]{display:none}
.wd-v2-siteadd-field > span{font-size:12px;color:var(--v2-muted)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-siteadd-field input{height:38px!important;padding:0 12px!important;border-radius:8px!important;background:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;color:var(--v2-text)!important;font-size:13px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-siteadd-field .wd-custom-select,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-siteadd-field .wd-custom-select-trigger{width:100%!important;height:38px!important}
.wd-v2-siteadd-preview{margin:2px 16px 0;padding:10px 12px;border-radius:8px;background:var(--v2-bg);border:1px solid var(--v2-line);display:flex;align-items:center;gap:10px;font-size:12px;color:var(--v2-muted)}
.wd-v2-siteadd-preview b{display:inline-flex;align-items:center;gap:7px;color:var(--v2-text);font-weight:600;font-size:13px}
.wd-v2-siteadd-preview img{width:20px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.14)}
.wd-v2-siteadd-note{margin:8px 16px 0;font-size:12px;color:var(--v2-muted);min-height:16px}
.wd-v2-siteadd-note.is-error{color:#ff9a9e}
.wd-v2-siteadd-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px 0;margin-top:6px;border-top:1px solid var(--v2-line)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-siteadd-actions .btn{height:36px!important;padding:0 14px!important;border-radius:8px!important;background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:#d3d6dd!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-siteadd-actions .btn-primary{background:var(--v2-blue2)!important;border-color:var(--v2-blue2)!important;color:#fff!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-siteadd-actions .btn-primary:disabled{opacity:.45!important;cursor:default!important}

/* Location filter: countries only (the exact-site select stays hidden in the form) */
html body.wd-v2-app:not(#wdV2) #siteFilterSelect.wd-v2-site-real,
html body.wd-v2-app:not(#wdV2) #siteFilterSelect.wd-v2-site-real + .wd-custom-select { display: none !important; }
html body.wd-v2-app:not(#wdV2) .wd-v2-filtered-out { display: none !important; }

/* Scrollbars: neutral grey, blue on hover (no gold), incl. dropdown lists */
html body.wd-v2-app:not(#wdV2) *,
html body.wd-v2-app:not(#wdV2) .wd-custom-select-options:not(#wdV2x){scrollbar-color:rgba(255,255,255,.18) transparent!important}
html body.wd-v2-app:not(#wdV2) *::-webkit-scrollbar-thumb,
html body.wd-v2-app:not(#wdV2) .wd-custom-select-options:not(#wdV2x)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18)!important;border-radius:999px!important}
html body.wd-v2-app:not(#wdV2) *::-webkit-scrollbar-thumb:hover,
html body.wd-v2-app:not(#wdV2) .wd-custom-select-options:not(#wdV2x)::-webkit-scrollbar-thumb:hover{background:rgba(71,151,255,.55)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) form.wd-filterbar > #wdV2CountryFilter{grid-column:1 / -1!important}

/* WEBDESK_NETWORK_HISTORY_V1: device Network tab */
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-card{display:block!important;padding:16px 18px!important}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-body{margin-top:12px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi{background:var(--v2-card2);border:1px solid var(--v2-line);border-radius:10px;padding:12px 14px;min-width:0}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi-label{font-size:11px;color:var(--v2-muted);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi-value{font-size:24px;font-weight:600;color:var(--v2-text);margin-top:6px;line-height:1.15}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi-value.is-good{color:var(--v2-green)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi-value.is-warn{color:var(--v2-amber)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi-value.is-bad{color:var(--v2-red)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi-sub{font-size:11.5px;color:var(--v2-dim);margin-top:4px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-section{margin-top:16px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--v2-muted);margin-bottom:8px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-legend span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px;vertical-align:-1px;background:var(--c)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-strip{display:flex;gap:1px;height:26px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-strip i{flex:1;border-radius:1.5px;background:var(--c)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal :is(.wd-net-strip i,.wd-net-legend span).is-ok{--c:rgba(55,194,111,.85)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal :is(.wd-net-strip i,.wd-net-legend span).is-drop{--c:var(--v2-amber)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal :is(.wd-net-strip i,.wd-net-legend span):is(.is-network,.is-offline){--c:var(--v2-red)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal :is(.wd-net-strip i,.wd-net-legend span).is-restart{--c:#b07cff}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal :is(.wd-net-strip i,.wd-net-legend span).is-server{--c:#4b5466}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal :is(.wd-net-strip i,.wd-net-legend span).is-none{--c:#2c2e34}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-axis{display:flex;justify-content:space-between;font-size:10.5px;color:var(--v2-dim);margin-top:5px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-table-wrap{margin-top:16px;border:1px solid var(--v2-line);border-radius:10px;overflow:auto}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-table{width:100%;border-collapse:collapse;font-size:13px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-table th{font-size:11.5px;font-weight:500;color:var(--v2-dim);text-align:left;padding:9px 14px;background:none;border-bottom:1px solid var(--v2-line2);text-transform:none;letter-spacing:0}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-table td{padding:10px 14px;border-top:1px solid var(--v2-line2);color:var(--v2-text);white-space:nowrap;background:none}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-table tr:first-child td{border-top:0}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-muted{color:var(--v2-muted)!important;white-space:normal!important}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-badge{display:inline-block;font-size:10.5px;font-weight:600;letter-spacing:.03em;border-radius:999px;padding:3px 9px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-badge.is-bad{background:rgba(240,72,78,.13);color:var(--v2-red)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-badge.is-warn{background:rgba(176,124,255,.14);color:#c4a2ff}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-badge.is-muted{background:rgba(255,255,255,.06);color:var(--v2-muted)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-empty{padding:18px 4px;color:var(--v2-muted);font-size:13px}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-empty.is-error{color:var(--v2-red)}
html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-note{margin-top:12px;font-size:11.5px;color:var(--v2-dim)}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-kpi-value{font-size:20px}
  html body.wd-v2-app:not(#wdV2) #wdDeviceModal .wd-net-strip{height:22px}
}
/* Device tabs on desktop: one row for any number of tabs (Network added) */
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal.wd-device-modal > .wd-device-dialog > .wd-device-tabs{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;grid-template-columns:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal.wd-device-modal > .wd-device-dialog > .wd-device-tabs > *{flex:1 1 0!important;min-width:0!important;grid-column:auto!important;grid-row:auto!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal.wd-device-modal > .wd-device-dialog > .wd-device-tabs > .wd-tabs-profit-toggle{flex:0 0 auto!important}
}
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal.wd-device-modal > .wd-device-dialog > .wd-device-tabs > .wd-device-top-actions-wrap{min-width:120px!important;max-width:none!important;width:auto!important}
}
/* "Include in Total Profit" lives in the Total Profit card: the switch sits in
   its corner on narrow cards too, and the copy in the tab row is hidden. */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal #wdDeviceProfitHeader:not(.wd-v2-profit-wide) .wd-v2-profit-mini{display:block;top:10px;right:10px;transform:none}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal #wdDeviceProfitHeader:not(.wd-v2-profit-wide) .wd-v2-profit-mini > :not(.wd-v2-profit-switch){display:none}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal.wd-device-modal > .wd-device-dialog > .wd-device-tabs > .wd-tabs-profit-toggle{display:none!important}
/* Device tabs on desktop: label right next to its icon, centred in the tab */
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tabs .wd-device-tab{justify-content:center!important;gap:7px!important;padding:0 10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-device-tab .wd-v2-tab-ico{margin:0!important}
}
/* Device header on desktop: never overlap. One row when the dialog is wide;
   otherwise name + buttons on top, Total Profit + CPU/RAM/Disk below. */
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-device-dialog{container-type:inline-size;container-name:wddevice}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-dialog-header{display:grid!important;grid-template-columns:220px minmax(0,1fr) auto!important;grid-template-areas:"head head actions" "profit kpis kpis"!important;gap:14px 16px!important;align-items:center!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-dialog-header > .wd-device-heading{grid-area:head!important;min-width:0!important;max-width:none!important;justify-self:stretch!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-dialog-header > #wdDeviceProfitHeader{grid-area:profit!important;width:auto!important;min-width:0!important;justify-self:stretch!important;align-self:stretch!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-dialog-header > #wdPilotSystemKpis{grid-area:kpis!important;width:auto!important;min-width:0!important;max-width:none!important;justify-self:stretch!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-dialog-header > .wd-device-header-actions{grid-area:actions!important;justify-self:end!important;align-self:start!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-heading *{min-width:0;overflow-wrap:anywhere}
  @container wddevice (min-width:1400px){
    html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-dialog-header{grid-template-columns:minmax(0,1fr) 220px minmax(0,570px) auto!important;grid-template-areas:"head profit kpis actions"!important}
  }
}
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal.wd-device-modal .wd-device-dialog-header > :is(#wdDeviceProfitHeader,#wdPilotSystemKpis){transform:none!important}
}
/* Device header: Total Profit and CPU/RAM/Disk are four equal cards with the
   same gap; no coloured top stripe on the three system cards. */
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal.wd-device-modal .wd-device-dialog-header{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-areas:"head head head actions" "profit kpis kpis kpis"!important;column-gap:12px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal.wd-device-modal .wd-device-dialog-header > #wdPilotSystemKpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
  @container wddevice (min-width:1400px){
    html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal.wd-device-modal .wd-device-dialog-header{grid-template-columns:minmax(0,1fr) repeat(4,200px) auto!important;grid-template-areas:"head profit kpis kpis kpis actions"!important}
  }
}
@media (min-width:821px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal.wd-device-modal .wd-device-dialog-header > .wd-device-header-actions{align-self:center!important;margin-top:0!important;margin-bottom:0!important}
}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal #wdDeviceProfitHeader .wd-v2-profit-sub{grid-row:4;grid-column:1 / -1;font-size:11.5px;line-height:1.3;color:var(--v2-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal #wdDeviceProfitHeader .wd-v2-profit-sub b{color:#e5e8ef;font-weight:600}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal #wdDeviceProfitHeader:is(.wd-v2-profit-wide,:not(:has(.wd-v2-profit-sub b, .wd-v2-profit-sub:not(:empty)))) .wd-v2-profit-sub{display:none}
/* Cylinder Control opens on the right like the other windows */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #cylinderControlModal.cylinder-control-modal{justify-content:flex-end!important;align-items:stretch!important;padding:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #cylinderControlModal .script-center-backdrop{background:rgba(5,6,8,.55)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #cylinderControlModal .cylinder-control-dialog{width:min(520px,100vw)!important;max-width:none!important;height:100vh!important;height:100dvh!important;max-height:none!important;margin:0!important;border-radius:0!important;border:0!important;border-left:1px solid var(--v2-line)!important;background:var(--v2-nav)!important;box-shadow:-24px 0 60px rgba(0,0,0,.45)!important;overflow:auto!important;transform:none!important}

/* WEBDESK_V2_TOOLS_SHEET_V1: device tools window (menu of tools + device switcher) */
.wd-v2-sheet{z-index:1250000!important}
.wd-v2-tools .wd-v2-tools-head{height:60px;position:relative;z-index:3;gap:12px}
.wd-v2-tools-dev-ico{width:36px;height:36px;flex:0 0 36px;border-radius:9px;background:var(--v2-card2);border:1px solid #30323a;display:grid;place-items:center}
.wd-v2-tools-dev{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;min-width:0;line-height:1.25}
.wd-v2-tools-dev b{font-size:15px;font-weight:600;color:var(--v2-text)}
.wd-v2-tools-dev small{flex-basis:100%;font-size:11.5px;color:var(--v2-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wd-v2-tools-pill{font-size:10.5px;font-weight:600;border-radius:999px;padding:2px 8px}
.wd-v2-tools-pill.is-on{color:var(--v2-green);background:rgba(55,194,111,.12)}
.wd-v2-tools-pill.is-off{color:var(--v2-red);background:rgba(240,72,78,.12)}
.wd-v2-tools-switch{width:260px;flex:0 1 260px;min-width:150px;margin:0 0 0 8px}
.wd-v2-tools-spacer{flex:1}
.wd-v2-tools .wd-v2-sheet-head strong{display:none}
.wd-v2-tools-nav{display:flex;gap:2px;padding:0 10px;border-bottom:1px solid var(--v2-line);overflow-x:auto;scrollbar-width:none;flex:0 0 auto;position:relative;z-index:2}
.wd-v2-tools-nav::-webkit-scrollbar{display:none}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 14px;color:var(--v2-muted);font-size:13px;white-space:nowrap;cursor:pointer;position:relative;border-radius:0}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab img{width:20px;height:20px;opacity:.8}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab:hover{color:var(--v2-text)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab.is-active{color:var(--v2-text)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab.is-active img{opacity:1}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab.is-active::after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:2px;border-radius:2px;background:var(--v2-blue)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab:disabled{opacity:.4;cursor:not-allowed}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab:focus-visible{outline:2px solid rgba(71,151,255,.7);outline-offset:-2px}
.wd-v2-tools-ext{font-style:normal;font-size:11px;color:var(--v2-dim)}
.wd-v2-tools-body{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}
.wd-v2-tools-body > [hidden]{display:none!important}
.wd-v2-tools-dock{flex:1;min-height:0;overflow:auto;background:var(--v2-bg)}
.wd-v2-tools-empty{padding:28px 24px;color:var(--v2-muted)}
.wd-v2-docked-modal{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tools-dock > .wd-v2-docked{position:static!important;width:100%!important;max-width:none!important;min-height:100%!important;height:auto!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--v2-bg)!important;overflow:visible!important;transform:none!important;padding:18px 22px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-docked [onclick*="closeScriptCenter"],html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-docked [onclick*="closeCylinderControl"]{display:none!important}
@media (max-width:820px){
  .wd-v2-tools .wd-v2-tools-head{height:auto;display:grid!important;grid-template-columns:36px minmax(0,1fr) 32px 32px;grid-template-areas:"ico dev ext close" "sw sw sw sw";gap:10px 8px!important;padding:10px 12px!important;align-items:center}
  .wd-v2-tools-dev-ico{grid-area:ico}
  .wd-v2-tools-dev{grid-area:dev}
  .wd-v2-tools-head > a.wd-v2-sheet-btn{grid-area:ext}
  .wd-v2-tools-head > button.wd-v2-sheet-btn{grid-area:close}
  .wd-v2-tools-head > .wd-v2-sheet-btn{align-self:center}
  .wd-v2-tools-spacer{display:none}
  .wd-v2-tools-switch{grid-area:sw;width:auto;min-width:0;margin:0}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-tab{padding:0 10px}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tools-dock > .wd-v2-docked{padding:12px!important}
}
@media (max-width:820px){
  /* Phones use the native picker here, like the filter bar on the main page. */
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-tools-switch > .wd-custom-select{display:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-v2-tools-switch > select.wd-native-select-enhanced{display:block!important;width:100%!important;height:38px!important;padding:0 12px!important;border-radius:9px!important;border:1px solid var(--v2-line)!important;background:var(--v2-card)!important;color:var(--v2-text)!important;font-size:14px!important}
  .wd-v2-sheet{right:auto!important;width:100vw!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tools-head > .wd-v2-sheet-btn{height:32px!important;min-height:0!important;max-height:32px!important;padding:0!important}
}
/* Row "⋯" menu: actions that already have their own icon in the row are not repeated */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .action-menu-item:is([data-action-label="AnyDesk"],[data-action-label="RustDesk"],[data-action-label="WSSH"],[data-action-label="Epoptes"],[data-action-label="WEB"],[data-action-label="Edit"]){display:none!important}
/* RustDesk / AnyDesk confirmation */
.wd-v2-confirm{z-index:1300000!important}
.wd-v2-confirm-body{display:flex;gap:14px;align-items:flex-start;padding:20px 20px 14px}
.wd-v2-confirm-ico{width:52px;height:52px;flex:0 0 52px;border-radius:12px;background:var(--v2-card);border:1px solid #33353c;display:grid;place-items:center}
.wd-v2-confirm-body strong{display:block;font-size:16px;font-weight:600;color:var(--v2-text);margin:2px 0 6px}
.wd-v2-confirm-body p{margin:0;color:var(--v2-muted);font-size:13px;line-height:1.45}
.wd-v2-confirm-body p b{color:var(--v2-text);font-weight:600}
/* Tools window: Actions list (the rest of the row "⋯" menu) */
.wd-v2-tools-actions{position:relative}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-btn{all:unset;box-sizing:border-box;height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--v2-line);background:var(--v2-card);color:#d3d6dd;font-size:13px;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-btn:hover,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-btn[aria-expanded="true"]{border-color:#3a3d45;color:var(--v2-text)}
.wd-v2-tools-actions-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:230px;background:var(--v2-card2);border:1px solid #33353c;border-radius:10px;box-shadow:0 18px 40px rgba(0,0,0,.5);padding:6px}
.wd-v2-tools-actions-menu[hidden]{display:none}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-menu > button{all:unset;box-sizing:border-box;width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:7px;color:#d3d6dd;font-size:13px;cursor:pointer}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-menu > button:hover:not(:disabled){background:rgba(71,151,255,.1);color:var(--v2-text)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-menu > button.is-danger{color:#ff8a8f}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-menu > button.is-danger:hover:not(:disabled){background:rgba(240,72,78,.1)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-actions-menu > button:disabled{opacity:.4;cursor:not-allowed}
.wd-v2-tools-actions-menu > button span{flex:1}
.wd-v2-tools-actions-sep{height:1px;background:var(--v2-line);margin:5px 4px}
@media (max-width:820px){
  .wd-v2-tools .wd-v2-tools-head{grid-template-columns:36px minmax(0,1fr) auto 32px 32px!important;grid-template-areas:"ico dev act ext close" "sw sw sw sw sw"!important}
  .wd-v2-tools-actions{grid-area:act}
}
/* Data flowing along the tree line to the opened location */
html body.wd-v2-app:not(#wdV2) .wd-v2-country-body{position:relative}
.wd-v2-flow{position:absolute;left:33px;z-index:2;pointer-events:none;display:block;border-radius:2px;
  box-shadow:0 0 6px rgba(71,151,255,.55)}
.wd-v2-flow-v{top:0;width:2px;
  background:repeating-linear-gradient(180deg,rgba(71,151,255,.5) 0 16px,#d6eaff 21px,rgba(71,151,255,.5) 26px 44px);
  background-size:2px 44px;animation:wdV2FlowDown .9s linear infinite}
.wd-v2-flow-h{width:20px;height:2px;
  background:repeating-linear-gradient(90deg,rgba(71,151,255,.55) 0 7px,#d6eaff 10px,rgba(71,151,255,.55) 13px 20px);
  background-size:20px 2px;animation:wdV2FlowRight .45s linear infinite}
@keyframes wdV2FlowDown{to{background-position:0 44px}}
@keyframes wdV2FlowRight{to{background-position:20px 0}}
@media (prefers-reduced-motion:reduce){.wd-v2-flow{animation:none}}
@media (max-width:820px){.wd-v2-flow{display:none}}

/* Device | Tools switch in the tools window header (one window, two views). */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-mode{display:inline-flex;flex:0 0 auto;padding:3px;border:1px solid var(--v2-line);border-radius:9px;background:var(--v2-bg);gap:2px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-mode button{all:unset;box-sizing:border-box;height:26px;padding:0 12px;border-radius:6px;font-size:12.5px;font-weight:600;color:var(--v2-muted);cursor:pointer;display:inline-flex;align-items:center}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-mode button:hover{color:var(--v2-text)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-mode button.is-active{background:rgba(71,151,255,.16);color:var(--v2-blue);cursor:default}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-tools-mode button:focus-visible{outline:2px solid var(--v2-blue);outline-offset:1px}
@media (max-width:820px){
  .wd-v2-tools .wd-v2-tools-head{grid-template-areas:"ico dev ext close" "mode mode mode mode" "sw sw sw sw"!important}
  .wd-v2-tools-mode{grid-area:mode;justify-self:start}
}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-device-mode{margin-left:6px;align-self:center}

/* WEBDESK_V2_LOGIN_B_V1: sign-in page — card with logo over a device network */
html body.wd-v2.wd-v2-login:not(#wdV2){background:radial-gradient(1000px 700px at 50% 45%,rgba(71,151,255,.10),transparent 65%),#0d0e10!important}
.wd-v2-login-net{position:fixed;inset:0;width:100vw;height:100vh;z-index:0;pointer-events:none}
.wd-v2-login-net .wd-v2-node{fill:rgba(71,151,255,.55);animation:wdV2Twinkle 4.4s ease-in-out infinite}
.wd-v2-login-net .wd-v2-node-on{fill:#37c26f;filter:drop-shadow(0 0 4px #37c26f);animation:wdV2Twinkle 3.2s ease-in-out infinite}
.wd-v2-login-net .wd-v2-packet{fill:#d6eaff;filter:drop-shadow(0 0 5px #4797ff)}
@keyframes wdV2Twinkle{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.wd-v2-login-net *{animation:none!important}.wd-v2-login-net .wd-v2-packet{display:none}}
html body.wd-v2-login:not(#wdV2) .wd-header,html body.wd-v2-login:not(#wdV2) .wd-footer,html body.wd-v2-login:not(#wdV2) .wd-login-shell{position:relative;z-index:1}
html body.wd-v2-login:not(#wdV2) .wd-header.wd-login-page .wd-brand{display:none!important}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-login-card{background:rgba(26,27,31,.84)!important;border:1px solid #2c2e35!important;border-radius:18px!important;box-shadow:0 30px 80px rgba(0,0,0,.55)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:36px 34px 26px!important;max-width:440px!important;width:min(440px,calc(100vw - 32px))!important}
.wd-v2-login-logo{display:block;height:30px;margin:0 auto 24px}
html body.wd-v2-login:not(#wdV2) .wd-login-kicker{display:none!important}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-login-title{font-size:24px!important}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-login-field{position:relative}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-login-field input{height:46px!important;padding-left:42px!important;background-repeat:no-repeat!important;background-position:14px center!important;background-size:18px 18px!important}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-login-field input[name="username"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686c75' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E")!important}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-login-field input[name="password"]{padding-right:46px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686c75' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-v2-login-eye{all:unset;position:absolute;right:9px;bottom:5px;width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#686c75;cursor:pointer}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-v2-login-eye:hover,html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-v2-login-eye.is-on{color:var(--v2-blue)}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-v2-login-eye:focus-visible{outline:2px solid rgba(71,151,255,.7)}
html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-login-submit{height:46px!important;border-radius:10px!important;font-weight:600!important}
.wd-v2-login-status{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:20px;color:var(--v2-dim);font-size:12px}
.wd-v2-login-status i{width:7px;height:7px;border-radius:50%;background:#37c26f;box-shadow:0 0 8px #37c26f}
@media (min-width:821px){
  html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-header.wd-login-page{flex-direction:column!important;justify-content:center!important;align-items:center!important}
  html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-header.wd-login-page > .wd-header-main{margin:auto 0!important;padding:0!important;transform:none!important;top:auto!important}
}
/* Admin Center: "New look" switch setting */
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-admin-look{border-top-color:var(--v2-line)!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b) .wd-admin-look small:not(.is-ok):not(.is-error){color:var(--v2-dim)!important}

/* WEBDESK_V2_INLINE_TOOLS_V1: Device | Tools inside the device window — the
   header stays, the device tabs + panels are swapped for the tools. */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-dialog.wd-v2-tools-on > :is(.wd-device-tabs,#wdDeviceContent,#wdDeviceLoading){display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-tools{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;border-top:1px solid var(--v2-line);background:var(--v2-bg)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-bar{display:flex;align-items:center;gap:8px;background:var(--v2-nav);border-bottom:1px solid var(--v2-line);padding-right:12px;position:relative;z-index:3}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-bar > .wd-v2-tools-nav{flex:1 1 auto;min-width:0;border-bottom:0}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-tools-side{display:flex;align-items:center;gap:8px;flex:0 0 auto}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-tools-side .wd-v2-tools-newtab[hidden]{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-tools .wd-v2-tools-body{flex:1 1 auto;min-height:0}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-tools .wd-v2-sheet-frame{flex:1 1 auto;min-height:420px}
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-bar{flex-wrap:wrap;padding:0 8px 8px}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-bar > .wd-v2-tools-nav{flex:1 1 100%}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-tools-side{margin-left:auto}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-v2-inline-tools .wd-v2-sheet-frame{min-height:70vh}
}
/* Inline tools bar: same height, icon size and spacing as the device tabs; tabs share the width */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-v2-inline-bar{min-height:70px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-v2-inline-bar > .wd-v2-tools-nav{align-self:stretch;padding:0 6px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-tab{height:auto;min-height:68px;flex:1 1 auto;justify-content:center;padding:0 10px;gap:7px;font-weight:500}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-tab img{width:22px;height:22px}

/* WEBDESK_V2_EDIT_ROW_V1: device Edit row in the v2 colours (no gold) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) tr.edit-row > td{background:transparent!important;background-image:none!important;border:0!important;padding:6px 14px 14px!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel){background:var(--v2-card2)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-radius:10px!important;box-shadow:none!important;padding:14px 16px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel)::before,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel)::after{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-edit-labels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 6px;font-size:11.5px;color:var(--v2-muted)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .edit-panel .edit-grid{gap:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel) input[type="text"]{height:40px!important;background:var(--v2-bg)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-radius:8px!important;color:var(--v2-text)!important;box-shadow:none!important;padding:0 12px!important;font-size:13px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel) input[type="text"]::placeholder{color:var(--v2-dim)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel) input[type="text"]:focus{border-color:var(--v2-blue)!important;box-shadow:0 0 0 3px rgba(71,151,255,.18)!important;outline:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel) .wd-custom-select-trigger{height:40px!important;background:var(--v2-bg)!important;background-image:none!important;border:1px solid var(--v2-line)!important;border-radius:8px!important;color:var(--v2-text)!important;box-shadow:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel) select{height:40px!important;background-color:var(--v2-bg)!important;border:1px solid var(--v2-line)!important;border-radius:8px!important;color:var(--v2-text)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel .edit-actions,.mobile-edit-panel .actions){display:flex!important;gap:8px!important;margin-top:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel) button[type="submit"]{height:36px!important;padding:0 18px!important;border-radius:8px!important;background:var(--v2-blue2)!important;background-image:none!important;border:1px solid var(--v2-blue2)!important;color:#fff!important;box-shadow:none!important;font-weight:600!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) :is(.edit-panel,.mobile-edit-panel) a.btn-danger{height:36px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;border-radius:8px!important;background:transparent!important;background-image:none!important;border:1px solid rgba(240,72,78,.5)!important;color:#ff8a8f!important;box-shadow:none!important}
@media (max-width:820px){html body.wd-v2-app:not(#wdV2) .wd-v2-edit-labels{display:none}}
/* Rename / Delete location dialogs */
.wd-v2-siteadd-note.is-warn{color:var(--v2-amber)}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-v2-siteadd-actions .btn-danger{background:transparent!important;border-color:rgba(240,72,78,.6)!important;color:#ff8a8f!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-country-body .group-title.wd-v2-loc-bare{font-style:italic;color:var(--v2-muted)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-edit-labels span{text-align:left;padding-left:2px}
/* Phones: compact tools tabs (icon above label) that scroll; Actions stays on the same row */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-v2-inline-bar{flex-wrap:nowrap!important;min-height:0!important;padding:0 8px 0 0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-v2-inline-bar > .wd-v2-tools-nav{flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;padding:0 4px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-tab{flex:0 0 auto!important;flex-direction:column!important;min-height:62px!important;padding:8px 10px 6px!important;gap:4px!important;font-size:11.5px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-tab img{width:22px!important;height:22px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-v2-tools-side{margin-left:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-v2-tools-actions-btn{height:32px!important;padding:0 10px!important;font-size:12.5px!important}
}
/* Sign-in on phones: card centred horizontally and vertically */
@media (max-width:820px){
  html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-header.wd-login-page{min-height:calc(100vh - 110px)!important;min-height:calc(100dvh - 110px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;padding:102px 16px 16px!important;margin:0!important}
  html body.wd-v2-login:not(#wdV2):not(#wdV2b) .wd-header.wd-login-page > .wd-header-main{margin:0!important;padding:0!important;transform:none!important;width:100%!important}
  html body.wd-v2-login:not(#wdV2):not(#wdV2b) :is(.wd-header-tools,.wd-login-shell){width:100%!important;margin:0!important;padding:0!important;display:block!important}
  html body.wd-v2-login:not(#wdV2):not(#wdV2b):not(#wdV2c) .wd-login-card{width:100%!important;max-width:440px!important;margin:0 auto!important;box-sizing:border-box!important;padding:30px 22px 22px!important}
}
/* Scripts / Commands is in the left rail; no separate tab in Admin center. */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdAdminCenter .wd-admin-tab[data-admin-tab="scripts"]{display:none!important}
/* Edit row: tag picker (choose existing tags, add new ones) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) :is(.edit-panel,.mobile-edit-panel) input.wd-v2-tagpick-src{display:none!important}
.wd-v2-tagpick{min-width:0}
.wd-v2-tagpick-field{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:40px;padding:5px 8px;border:1px solid var(--v2-line);border-radius:8px;background:var(--v2-bg);cursor:text}
.wd-v2-tagpick-field:focus-within{border-color:var(--v2-blue);box-shadow:0 0 0 3px rgba(71,151,255,.18)}
.wd-v2-tagpick-sel{display:contents}
.wd-v2-tag{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 4px 0 9px;border-radius:6px;background:rgba(71,151,255,.14);color:#cfe2ff;font-size:12.5px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tag button{all:unset;width:18px;height:18px;display:grid;place-items:center;border-radius:4px;color:#8cbcff;cursor:pointer;font-size:14px;line-height:1}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tag button:hover{background:rgba(71,151,255,.25);color:#fff}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-tagpick-field input.wd-v2-tagpick-q{all:unset;flex:1 1 90px;min-width:80px;height:28px;color:var(--v2-text);font-size:13px}
.wd-v2-tagpick-q::placeholder{color:var(--v2-dim)}
.wd-v2-tagpick-sug{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tag-opt{all:unset;height:24px;padding:0 9px;border:1px solid var(--v2-line);border-radius:999px;color:var(--v2-muted);font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tag-opt:hover{border-color:rgba(71,151,255,.5);color:#cfe2ff;background:rgba(71,151,255,.08)}
.wd-v2-tag-opt small{color:var(--v2-dim);font-size:10.5px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-tag-opt.is-new{border-style:dashed;color:#8cbcff}
.wd-v2-tag-none{color:var(--v2-dim);font-size:12px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-edit-labels span{text-align:left!important;padding-left:2px}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) :is(.edit-panel,.mobile-edit-panel) .wd-v2-tagpick-field input.wd-v2-tagpick-q{border:0!important;background:transparent!important;box-shadow:none!important;height:28px!important;padding:0 4px!important;text-align:left!important;min-width:80px!important;flex:1 1 90px!important;width:auto!important}
/* WEBDESK_NO_PERMISSION_ICONS_V1: actions the user is not allowed to use stay visible, grey */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .actions-redesign .btn-no-permission{opacity:.35!important;cursor:not-allowed!important;pointer-events:auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .actions-redesign .btn-no-permission:hover{border-color:var(--v2-line,rgba(255,255,255,.08))!important;background:transparent!important}
/* Date pickers: light calendar icon and dark calendar popup on the dark UI */
html body.wd-v2-app input:is([type="date"],[type="datetime-local"],[type="month"],[type="week"],[type="time"]){color-scheme:dark!important}
html body.wd-v2-app input:is([type="date"],[type="datetime-local"],[type="month"],[type="week"],[type="time"])::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.75}
html body.wd-v2-app input:is([type="date"],[type="datetime-local"],[type="month"],[type="week"],[type="time"])::-webkit-calendar-picker-indicator:hover{opacity:1}
/* Hostname column: room for the product picture + 12-character names; longer names end with … instead of running into RustDesk ID */
@media (min-width:769px){
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .group-card .desktop-table th:nth-child(2),html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .group-card .desktop-table td:nth-child(2){width:186px!important;min-width:186px!important;max-width:186px!important}
}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .desktop-table .wd-device-name-with-roulette{min-width:0!important;max-width:100%!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .desktop-table .wd-device-name-with-roulette .wd-v2-product{flex:0 0 auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .desktop-table .wd-device-name-with-roulette .wd-device-hostname{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding-right:4px!important}
/* CPU / RAM / Disk history popover: real bars on a 0–100 % grid (25 % lines) instead of rounded blobs */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .history-popover .history-bars{box-sizing:content-box!important;height:64px!important;padding:0 2px!important;margin:12px 0 10px!important;gap:6px!important;align-items:flex-end!important;border-top:0!important;border-bottom:1px solid #3a3d45!important;background-image:repeating-linear-gradient(to top,transparent 0 15px,rgba(255,255,255,.06) 15px 16px)!important;background-origin:content-box!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .history-popover .history-bar{min-width:6px!important;border-radius:3px 3px 0 0!important;opacity:1!important;box-shadow:none!important;background:linear-gradient(180deg,#6aaeff,#3b7ff0)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .history-popover .history-bar.ram{background:linear-gradient(180deg,#5fe09a,#2fae63)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) .history-popover .history-bar.disk{background:linear-gradient(180deg,#ffc061,#e8921f)!important}
/* Device table fits its card: Tags takes only the space that is left (fades out, full list in the tooltip),
   slimmer Status/Depot/Version/graph columns; on very narrow screens the table scrolls instead of cutting Actions. */
@media (min-width:769px){
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .group-body{overflow-x:auto!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table{width:100%!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(1){width:44px!important;min-width:44px!important;max-width:44px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(5),html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(6){width:118px!important;min-width:118px!important;max-width:118px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):is(:nth-child(7),:nth-child(8),:nth-child(9)){width:92px!important;min-width:92px!important;max-width:92px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(11){width:100%!important;min-width:56px!important;max-width:0!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table tbody td:nth-child(11){-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent)}
}
/* Actions stay pinned on the right when the table has to scroll; tighter columns up to 1500px wide */
@media (min-width:769px){
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table tr:not(.edit-row) > :is(th,td):last-child{position:sticky!important;right:0!important;z-index:2!important;background:#1a1b1f!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table tbody tr:not(.edit-row):hover > td:last-child{background:#1e1f24!important}
}
@media (min-width:769px) and (max-width:1500px){
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(2){width:176px!important;min-width:176px!important;max-width:176px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(5),html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(6){width:104px!important;min-width:104px!important;max-width:104px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):is(:nth-child(7),:nth-child(8),:nth-child(9)){width:80px!important;min-width:80px!important;max-width:80px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .group-card .desktop-table :is(th,td):nth-child(10){width:72px!important;min-width:72px!important;max-width:72px!important}
}
/* RustDesk / AnyDesk: connect from the ID columns (same Yes/No confirm), not from extra Actions icons */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .actions-redesign :is(.btn-rustdesk-action,.btn-anydesk){display:none!important}
/* (sticky Actions needs the table itself not to clip; the card body scrolls sideways instead) */
@media (min-width:769px){
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n):not(#wdV2o) .group-card:not(.collapsed) > .group-body{overflow-x:auto!important;overflow-y:hidden!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h):not(#wdV2i):not(#wdV2j):not(#wdV2k):not(#wdV2l):not(#wdV2m):not(#wdV2n):not(#wdV2o) .group-card .group-body > .desktop-table{overflow:visible!important}
}
/* Depot / Version: never run into the next column (… + tooltip) */
@media (min-width:769px){
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .group-card .desktop-table tbody td:is(:nth-child(5),:nth-child(6)){overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .group-card .desktop-table tbody td:is(:nth-child(5),:nth-child(6)) > *{display:inline!important}
}
/* Tools view: Actions looks like the Device view's Actions tab (icon + label, no box / caret) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-tools-actions-btn{height:auto!important;min-height:48px!important;padding:0 14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--v2-muted)!important;font-size:13px!important;font-weight:500!important;gap:8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-tools-actions-btn img{width:22px!important;height:22px!important;opacity:.85}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-tools-actions-btn:is(:hover,[aria-expanded="true"]){color:var(--v2-text)!important;background:transparent!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .wd-v2-tools-actions-btn:is(:hover,[aria-expanded="true"]) img{opacity:1}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-actions-btn{min-height:68px!important;font-size:13px!important}
/* WEBDESK_TOPOLOGY_V1: full-screen network map over the page */
.wd-v2-topology{position:fixed;inset:0;z-index:1200000;background:#0f1012}
.wd-v2-topology[hidden]{display:none}
.wd-v2-topology iframe{display:block;width:100%;height:100%;border:0}
html.wd-v2-topology-open,html.wd-v2-topology-open body{overflow:hidden}
/* Topology split: map on the left, the real device window on the right */
html.wd-v2-topology-split{--wd-topo-dev-w:min(1180px,62vw)}
html.wd-v2-topology-split .wd-v2-topology{right:var(--wd-topo-dev-w)}
html.wd-v2-topology-split body.wd-v2-app #wdDeviceModal{z-index:1200001!important;pointer-events:none!important}
html.wd-v2-topology-split body.wd-v2-app #wdDeviceModal .wd-device-modal-backdrop{display:none!important}
html.wd-v2-topology-split body.wd-v2-app:not(#wdV2):not(#wdV2b) #wdDeviceModal .wd-device-dialog{pointer-events:auto!important;width:var(--wd-topo-dev-w)!important;box-shadow:-24px 0 50px rgba(0,0,0,.45)!important}
@media (max-width:820px){
html.wd-v2-topology-split .wd-v2-topology{right:0}
html.wd-v2-topology-split{--wd-topo-dev-w:100vw}
}
/* Device Edit: Country / Location pickers (WEBDESK_V2_SITE_PICKER_V1). */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-site-hidden{display:none!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-sitepick{display:flex;flex-direction:column;gap:8px;min-width:0}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-sitepick .wd-custom-select{width:100%!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-sitepick-new[hidden]{display:none!important}
/* Depot / Version: a long value wraps instead of being cut (MacBook widths) — Depot after "/"
   (prod/ | no-certificate), Version after its first "-" (7.4.18- | develop.1013) */
@media (min-width:769px){
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .group-card .desktop-table tbody td:is(.depot-cell,.version-cell){white-space:normal!important;text-overflow:clip!important;line-height:1.3!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f) .group-card .desktop-table tbody td:is(.depot-cell,.version-cell) .wd-nb{white-space:nowrap;font:inherit!important;color:inherit!important;letter-spacing:inherit!important}
}
/* Dialogs moved into the tools window (Scripts, Cylinder Control …) leave
   their #…Modal parent, so give their main button the same blue here. */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-docked .btn-primary{background:var(--v2-blue2)!important;background-image:none!important;border-color:var(--v2-blue2)!important;color:#fff!important;opacity:1!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-docked .btn-primary:hover:not(:disabled){background:var(--v2-blue)!important;border-color:var(--v2-blue)!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-v2-docked .btn-primary:disabled{opacity:.45!important;cursor:not-allowed!important}
/* Phones: FlameRobin's ↗ in the corner of its tab, Actions stacked like the other tool tabs (2026-10-24) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-tab{position:relative!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-ext{position:absolute!important;top:7px!important;right:3px!important;font-size:10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g) #wdDeviceModal .wd-v2-inline-bar .wd-v2-tools-actions-btn{flex-direction:column!important;justify-content:center!important;gap:4px!important;min-height:62px!important;height:auto!important;padding:8px 10px 6px!important;font-size:11.5px!important}
}
/* Phones: Scripts "Target devices" label on its own line, the picker gets the width */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdAdminCenter .script-target-bar{grid-template-columns:minmax(0,1fr) auto auto!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdAdminCenter .script-target-bar > .script-target-label{grid-column:1 / -1!important}
}
/* Phones: the device tabs fade out at the right edge so it is clear the row scrolls */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tabs{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 34px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 34px),transparent);scrollbar-width:none}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) #wdDeviceModal .wd-device-tabs::-webkit-scrollbar{display:none}
}
/* Phones: the top row of a device card keeps a little room inside, and a tap leaves no frame behind (no hover on touch) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .mobile-cards .device-card .device-card-top.mobile-device-open-zone{padding:5px 6px!important;margin:-5px -6px 5px!important}
}
@media (hover:none){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c) .mobile-cards .device-card .mobile-device-open-zone:is(:hover,:focus,:focus-visible){background:none!important;box-shadow:none!important}
}
/* Phones: one blue line under the active device tab (at the bottom of the bar), icon + label centred in the bar */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-device-tabs{align-items:stretch!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-device-tabs .wd-device-tab{height:auto!important;min-height:0!important;align-self:stretch!important;justify-content:center!important;box-shadow:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-device-tabs .wd-device-tab.active::after{bottom:0!important;left:8px!important;right:8px!important;width:auto!important;height:2px!important;border-radius:2px!important}
}
/* Device window → System usage: CPU / RAM / Disk boxes get room inside (text and bar were touching the frame) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-overview-system-card .wd-device-metric{padding:10px 12px 11px!important;box-sizing:border-box!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-overview-system-card .wd-device-metric-head{margin:0 0 8px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-overview-system-card .wd-device-metric + .wd-device-metric{margin-top:8px!important}
/* Device window: Depot is a normal row on phones too (it was shown as a block, value on a second line) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-device-kv-grid > div:has(> #wdvDepot){display:flex!important}
@media (max-width:760px){html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-device-kv-grid > div:has(> #wdvDepot){display:grid!important}}
/* copy buttons (IPv4, MAC, RustDesk, AnyDesk) smaller, so those rows are as high as the others */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-pilot-copy{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;flex:0 0 28px!important;padding:0!important;border-radius:8px!important;gap:0!important;line-height:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-pilot-copy svg{width:14px!important;height:14px!important}
/* Hardware cards: the lines under two-column fields run through (no gap in the middle) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-hw-kv{column-gap:0!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-hw-kv > div:not(.wd-hw-full):nth-child(odd){padding-right:12px!important}
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-hw-kv > div:not(.wd-hw-full):nth-child(even){padding-left:12px!important}
/* Phones: Instances toolbar in tidy rows — filter; search + refresh; Lock all | Unlock all; Restart all | Machine restart.
   Row buttons (Cashier, Open menu, Info, WSSH, Reboot) all the same height, sharing the row. */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > *{grid-column:span 3!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;box-sizing:border-box!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > [hidden]{display:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > .wd-connected-filters{order:1!important;grid-column:1 / -1!important;display:flex!important;align-items:stretch!important;padding:3px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-filters > *{flex:1 1 0!important;height:auto!important;min-height:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > #wdConnectedSearch{order:2!important;grid-column:1 / 6!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > #wdConnectedRefresh{order:3!important;grid-column:6 / 7!important;padding:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > #wdLockAll{order:4!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > #wdUnlockAll{order:5!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > #wdRestartAllDevices{order:6!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-connected-controls > #wdMachineRestart{order:7!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-instance-actions{flex-wrap:nowrap!important;gap:6px!important;justify-content:flex-end!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-instance-actions > :is(button,a){flex:0 0 auto!important;min-width:76px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 12px!important;box-sizing:border-box!important;margin:0!important}
}
/* Phones: Jackpot Counters — JP source + Save in one row, Connect to JP server below, all the same height (the static "Live" label is left out) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-counters-controls:has(> #wdJackpotSaveSource){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:8px!important;width:100%!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-counters-controls:has(> #wdJackpotSaveSource) > *{width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;margin:0!important;box-sizing:border-box!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-counters-controls:has(> #wdJackpotSaveSource) > #wdJpConnectOpen{grid-column:1 / -1!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-counters-controls:has(> #wdJackpotSaveSource) > [hidden],html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-counters-controls:has(> #wdJackpotSaveSource) > .wd-counters-mode{display:none!important}
}
/* Phones: the filter dropdowns (country, state, sort) are WebDesk's own dark lists too, not the phone's light system menu */
@media (max-width:768px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) form.wd-filterbar > .wd-custom-select:not(#siteFilterSelect + .wd-custom-select){display:block!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) form.wd-filterbar > select.wd-native-select-enhanced{display:none!important}
}
/* any native list that is still left opens dark (iOS / Android follow color-scheme) */
html body.wd-v2-app select{color-scheme:dark}
/* Phones: the same dropdown styles as on the desktop (webdesk.css has them only from 769px; the v2 colours above still apply) */
@media (max-width:768px){
  .wd-custom-select {
    position:relative !important;
    min-width:0 !important;
    height:36px !important;
    z-index:1 !important;
  }


  .wd-custom-select.open {
    z-index:12000 !important;
  }

  .wd-custom-select-trigger {
    width:100% !important;
    height:36px !important;
    min-height:36px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding:0 11px !important;
    border:1px solid rgba(255,255,255,.09) !important;
    border-radius:8px !important;
    background:#060708 !important;
    color:#bcc1ca !important;
    font-size:13px !important;
    font-weight:400 !important;
    text-align:left !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018) !important;
    cursor:pointer !important;
  }

  .wd-custom-select-trigger:hover,
  .wd-custom-select.open .wd-custom-select-trigger,
  .wd-custom-select-trigger:focus-visible {
    border-color:rgba(221,184,47,.48) !important;
    outline:none !important;
    box-shadow:0 0 0 2px rgba(221,184,47,.07),inset 0 1px 0 rgba(255,255,255,.025) !important;
  }

  .wd-custom-select-value {
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .wd-custom-select-chevron {
    width:7px !important;
    height:7px !important;
    flex:0 0 7px !important;
    margin:-3px 2px 0 0 !important;
    border-right:1.5px solid #9299a5 !important;
    border-bottom:1.5px solid #9299a5 !important;
    transform:rotate(45deg) !important;
    transition:transform .16s ease,margin .16s ease !important;
  }

  .wd-custom-select.open .wd-custom-select-chevron {
    margin:3px 2px 0 0 !important;
    transform:rotate(225deg) !important;
  }

  .wd-custom-select-menu {
    position:absolute !important;
    top:calc(100% + 7px) !important;
    left:0 !important;
    width:100% !important;
    min-width:190px !important;
    overflow:hidden !important;
    padding:7px !important;
    border:1px solid rgba(221,184,47,.38) !important;
    border-radius:12px !important;
    background:linear-gradient(180deg,rgba(20,20,19,.995),rgba(7,8,9,.995)) !important;
    box-shadow:0 24px 65px rgba(0,0,0,.62),inset 0 1px 0 rgba(255,255,255,.035) !important;
    -webkit-backdrop-filter:blur(18px) !important;
    backdrop-filter:blur(18px) !important;
  }

  .wd-custom-select-site .wd-custom-select-menu {
    width:max(100%,290px) !important;
  }

  .wd-custom-select-menu[hidden] {
    display:none !important;
  }

  .wd-custom-select-search-wrap {
    position:relative !important;
    margin-bottom:6px !important;
  }

  .wd-custom-select-search-wrap > span {
    position:absolute !important;
    left:11px !important;
    top:50% !important;
    z-index:1 !important;
    transform:translateY(-50%) !important;
    color:#7f8793 !important;
    font-size:13px !important;
    pointer-events:none !important;
  }

  .wd-custom-select-search {
    width:100% !important;
    height:34px !important;
    padding:0 10px 0 31px !important;
    border:1px solid rgba(255,255,255,.09) !important;
    border-radius:8px !important;
    background:#050607 !important;
    color:#d8dbe2 !important;
    font-size:12px !important;
    font-weight:400 !important;
    outline:none !important;
  }

  .wd-custom-select-search:focus {
    border-color:rgba(221,184,47,.42) !important;
    box-shadow:0 0 0 2px rgba(221,184,47,.06) !important;
  }

  .wd-custom-select-options {
    max-height:318px !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
    scrollbar-width:thin !important;
    scrollbar-color:rgba(221,184,47,.38) transparent !important;
  }

  .wd-custom-select-options::-webkit-scrollbar {
    width:7px !important;
  }

  .wd-custom-select-options::-webkit-scrollbar-thumb {
    border-radius:999px !important;
    background:rgba(221,184,47,.32) !important;
  }

  .wd-custom-select-option {
    width:100% !important;
    min-height:34px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    padding:7px 9px !important;
    border:0 !important;
    border-radius:7px !important;
    background:transparent !important;
    color:#b8bdc7 !important;
    font-size:12.5px !important;
    font-weight:400 !important;
    line-height:1.25 !important;
    text-align:left !important;
    cursor:pointer !important;
  }

  .wd-custom-select-option:hover,
  .wd-custom-select-option:focus-visible {
    color:#f2eee2 !important;
    background:rgba(221,184,47,.075) !important;
    outline:none !important;
  }

  .wd-custom-select-option[aria-selected="true"] {
    color:#f1dda0 !important;
    background:linear-gradient(90deg,rgba(221,184,47,.14),rgba(221,184,47,.045)) !important;
  }

  .wd-custom-select-check {
    flex:0 0 auto !important;
    color:#ddb82f !important;
    font-size:13px !important;
    opacity:0 !important;
  }

  .wd-custom-select-option[aria-selected="true"] .wd-custom-select-check {
    opacity:1 !important;
  }

  .wd-custom-select-empty {
    padding:18px 10px !important;
    color:#777f8b !important;
    font-size:12px !important;
    text-align:center !important;
  }}
/* Phones: Network outages as cards (start · duration · type, the details below in full), RAM Clear stays inside the screen */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table thead{display:none!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table tbody{display:block!important;width:100%!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 12px!important;align-items:center!important;padding:11px 12px!important;border-top:1px solid var(--v2-line2)!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table tr:first-child{border-top:0!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table td{display:block!important;padding:0!important;border:0!important;white-space:nowrap!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table td:nth-child(1){grid-row:1!important;grid-column:1!important;font-weight:600!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table td:nth-child(3){grid-row:1!important;grid-column:2!important;justify-self:end!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table td:nth-child(2){grid-row:2!important;grid-column:1 / -1!important;font-size:12.5px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-net-table td:nth-child(4){grid-row:3!important;grid-column:1 / -1!important;white-space:normal!important;font-size:12px!important;color:var(--v2-muted)!important;line-height:1.4!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-ram-clear-wrap,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-ram-clear-wrap > *,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal #wdJpRamClear,html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal #wdJpRamClear > *{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-ram-clear-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-ram-clear-heading{flex-wrap:wrap!important;gap:10px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-ram-clear-heading > div{min-width:0!important;flex:1 1 200px!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-ram-clear-summary{white-space:normal!important;overflow-wrap:anywhere!important}
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e):not(#wdV2f):not(#wdV2g):not(#wdV2h) #wdDeviceModal .wd-ram-clear-refresh{flex:0 0 auto!important;width:auto!important;height:36px!important;min-height:36px!important;padding:0 12px!important;font-size:13px!important}
}
/* Phones: Device | Tools starts on the same line as the badges above it (no extra left margin when it wraps) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-v2-device-mode{margin-left:0!important}
}

/* ==== WEBDESK_MOBILE_LOCATION_ROWS_V1 (2026-10-24, user chose mockup "A"): phones only.
   A country is one card; its locations are rows (flag · name · devices/profit · online/offline bar + n/m · chevron);
   an open location shows its devices as rows hanging off a blue tree line, each device: icon · name · status, buttons below. ==== */
@media (max-width:820px){
  /* country card */
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;border-radius:14px!important;overflow:hidden!important;margin:0 0 12px!important;padding:0!important;box-shadow:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head > *{width:auto!important;max-width:none!important;grid-area:auto!important;order:0!important;position:static!important;margin:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head{display:flex!important;flex-wrap:nowrap!important;flex-direction:row!important;text-align:left!important;align-items:center!important;gap:11px!important;padding:12px 14px!important;min-height:0!important;background:none!important;border:0!important;width:100%!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-flag{flex:0 0 auto!important;margin:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-text{flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-name{font-size:16px!important;font-weight:600!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-meta{display:block!important;font-size:11.5px!important;color:var(--v2-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-meta *{display:inline!important;font-size:11.5px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status{display:flex!important;align-items:center!important;gap:0!important;flex:0 0 auto!important;margin:0!important;width:auto!important;grid-column:auto!important;background:none!important;border:0!important;padding:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status::before{content:""!important;display:block!important;width:42px!important;height:5px!important;border-radius:3px!important;margin-right:8px!important;background:linear-gradient(90deg,#37c26f var(--wd-on,0%),rgba(240,72,78,.7) var(--wd-on,0%))!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status.wd-v2-none::before{background:#2a2c32!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > span{font-size:0!important;display:inline-flex!important;align-items:center!important;padding:0!important;border:0!important;background:none!important;min-width:0!important;width:auto!important;height:auto!important;box-shadow:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > span i{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > span b{font-size:12.5px!important;font-weight:700!important;line-height:1!important;margin:0!important;padding:0!important;min-width:0!important;width:auto!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > span{gap:0!important;margin:0!important;flex:0 0 auto!important;white-space:nowrap!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > span b{display:inline-block!important;flex:0 0 auto!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > .on b{color:#5fd890!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > .off b{color:#ff7a7f!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-status > .off::before{content:"/"!important;color:var(--v2-dim)!important;font-size:12.5px!important;margin:0 4px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-chev{flex:0 0 auto!important;margin:0 0 0 2px!important;color:var(--v2-dim)!important;width:auto!important;min-width:10px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body{padding:0!important;margin:0!important;gap:0!important;display:block!important;border:0!important;background:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body[hidden]{display:none!important}

  /* location row (inside a country) */
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card{background:none!important;border:0!important;border-top:1px solid var(--v2-line2)!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .wd-group-accent-bar{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;grid-template-rows:auto!important;align-items:center!important;gap:0 10px!important;padding:11px 14px!important;min-height:0!important;margin:0!important;background:none!important;border:0!important;position:relative!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header > .group-header-left{grid-column:1 / 3!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;margin:0!important;padding:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-heading{min-width:0!important;display:block!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .group-title{font-size:14px!important;font-weight:600!important;line-height:1.25!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:flex!important;align-items:center!important;gap:8px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-group-local-time{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-meta > *{display:inline!important;position:static!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-meta{display:block!important;font-size:11.5px!important;color:var(--v2-dim)!important;margin:2px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-meta *{font-size:11.5px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-meta .wd-group-device-count{display:inline!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-mobile-footer{display:none!important}
  /* online/offline: mini bar + "n/m" */
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header > .wd-group-status{grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:0!important;margin:0!important;padding:0!important;width:auto!important;background:none!important;border:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header > .wd-group-status::before{content:""!important;display:block!important;width:42px!important;height:5px!important;border-radius:3px!important;margin-right:8px!important;background:linear-gradient(90deg,#37c26f var(--wd-on,0%),rgba(240,72,78,.7) var(--wd-on,0%))!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header > .wd-group-status.wd-v2-none::before{background:#2a2c32!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-box{display:inline-flex!important;align-items:center!important;padding:0!important;margin:0!important;border:0!important;background:none!important;min-width:0!important;width:auto!important;height:auto!important;box-shadow:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-label{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-value{font-size:12.5px!important;font-weight:700!important;line-height:1!important;margin:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-online .wd-group-status-value{color:#5fd890!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-offline .wd-group-status-value{color:#ff7a7f!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-offline::before{content:"/"!important;color:var(--v2-dim)!important;font-size:12.5px!important;margin:0 4px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-box > *{margin:0!important;padding:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-status-value:is(:empty,[data-zero]){opacity:.5}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header > .wd-group-chevron{grid-column:4!important;grid-row:1!important;position:static!important;transform:none!important;margin:0!important;font-size:18px!important;color:var(--v2-dim)!important;width:auto!important;height:auto!important;line-height:1!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.collapsed) > .group-header > .wd-group-chevron{color:var(--v2-blue)!important;transform:rotate(90deg)!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.collapsed) > .group-header{background:#1d1f25!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-site-icon{width:30px!important;height:22px!important;min-width:30px!important;border-radius:5px!important;margin:0!important;padding:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-header .wd-group-site-icon img{width:30px!important;height:22px!important;border-radius:4px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-v2-loc-flag{display:none!important}

  /* a location without a country box (one location in its country, Tronius devices) keeps its own card */
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.wd-v2-country-body > .group-card){background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;border-radius:14px!important;overflow:hidden!important;margin:0 0 12px!important;padding:0!important;box-shadow:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.wd-v2-country-body > .group-card) > .group-header{padding:12px 14px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.wd-v2-country-body > .group-card) > .group-header .group-title{font-size:16px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.wd-v2-country-body > .group-card) > .group-header .wd-group-site-icon,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.wd-v2-country-body > .group-card) > .group-header .wd-group-site-icon img{width:38px!important;height:28px!important;min-width:38px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.wd-v2-country-body > .group-card) > .group-header .wd-group-local-time{display:block!important;font-size:11.5px!important;color:var(--v2-muted)!important;margin:2px 0 0!important}

  /* the open location: devices as rows on a blue tree line */
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.collapsed) > .group-body{display:block!important;background:#1d1f25!important;border:0!important;border-radius:0!important;margin:0!important;padding:0 0 8px 22px!important;width:auto!important;max-width:none!important;box-shadow:none!important;position:relative!important;overflow:visible!important;min-height:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card:not(.collapsed) > .group-body::before{content:none!important;display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card::after{content:""!important;display:block!important;position:absolute!important;left:6px!important;top:0!important;bottom:0!important;width:0!important;height:auto!important;border-left:2px solid rgba(71,151,255,.45)!important;background:none!important;opacity:1!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card:last-child::after{bottom:auto!important;height:27px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-body > .desktop-table{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-card > .group-body > .mobile-cards{display:block!important;padding:0!important;margin:0!important;gap:0!important;background:none!important;border:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:9px 12px 9px 20px!important;position:relative!important;min-height:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card::before{content:""!important;display:block!important;position:absolute!important;left:6px!important;top:26px!important;width:10px!important;height:0!important;border-top:2px solid rgba(71,151,255,.45)!important;background:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card + .device-card{border-top:1px solid rgba(255,255,255,.04)!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card :is(.device-card-glow,.mini-metrics,.device-card-grid){display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-top{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important;min-height:0!important;background:none!important;box-shadow:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-headline{gap:10px!important;min-width:0!important;flex:1 1 auto!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-headline .wd-v2-product{width:34px!important;height:34px!important;border-radius:9px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-headline .wd-v2-product svg,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-headline .wd-v2-product img{width:22px!important;height:22px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-title{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-top > .status{font-size:10.5px!important;padding:2px 8px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-tags{margin:0 0 0 44px!important;gap:4px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-tags > *{font-size:10.5px!important;padding:1px 6px!important;border-radius:6px!important;min-height:0!important;height:auto!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:5px!important;margin:0 0 0 44px!important;padding:0!important;border:0!important;grid-template-columns:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > :is(.btn,a,span,.action-more){flex:0 0 auto!important;width:34px!important;min-width:34px!important;height:30px!important;min-height:30px!important;padding:0!important;border-radius:8px!important;margin:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > .action-more > *{width:34px!important;min-width:34px!important;height:30px!important;min-height:30px!important;padding:0!important;border-radius:8px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions .wd-v2-ico svg,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions img{width:16px!important;height:16px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card:has(.device-card-top > .status.offline) :is(.device-card-headline,.device-tags){opacity:.6}
}
/* Phones, mockup A device rows: icon · name + status line on the left, Terminal · Epoptes · ••• on the right, all in one row */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:10px!important;row-gap:6px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card > .device-card-top{grid-column:1!important;grid-row:1!important;min-width:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card > .actions{grid-column:2!important;grid-row:1!important;margin:0!important;flex-wrap:nowrap!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card > :not(.device-card-top):not(.actions):not(.mobile-edit-panel){display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card > .mobile-edit-panel{grid-column:1 / -1!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-top > .status{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-headline > .device-avatar{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-card-headline > div:not(.device-avatar){min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .device-subtitle{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .mobile-device-open-chevron{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub{display:flex!important;align-items:center!important;gap:6px!important;font-size:11.5px!important;color:var(--v2-dim)!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub i{width:7px!important;height:7px!important;border-radius:50%!important;flex:0 0 auto!important;background:#37c26f!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub i.is-off{background:#f0484e!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > :not(.btn-wssh):not(.btn-epoptes):not(.btn-rustdesk-action):not(.action-more){display:none!important}
  /* RustDesk is a row button on phones too (no ID column there); hidden without permission */
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > .btn-rustdesk-action:not(.btn-no-permission){display:inline-flex!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > .btn-rustdesk-action.btn-no-permission{display:none!important}
  /* ••• icon in the middle: the hidden "•••" text and the 10px gap pushed it left */
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > .action-more > .btn-more{gap:0!important;letter-spacing:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > :is(.btn,a,span,.action-more){width:36px!important;min-width:36px!important;height:34px!important;min-height:34px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > .action-more > .btn-more{width:36px!important;min-width:36px!important;height:34px!important;min-height:34px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card:has(.device-card-top > .status.offline) .device-card-headline{opacity:.7}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card::before{top:50%!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .mobile-cards > .device-card:last-child::after{height:50%!important}
}
/* Phones: every control of the filter bar is 40px high (dropdown boxes were 36px with a 40px button inside -> uneven gaps) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) form.wd-filterbar{row-gap:8px!important;column-gap:8px!important;align-items:stretch!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) form.wd-filterbar > :is(.wd-search-wrap,.wd-custom-select,.wd-site-actions,.wd-v2-expand,.wd-apply,.wd-clear-filters,select){height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;box-sizing:border-box!important;align-self:stretch!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) form.wd-filterbar > .wd-custom-select > .wd-custom-select-trigger,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) form.wd-filterbar > .wd-site-actions > .btn{height:40px!important;min-height:40px!important;max-height:40px!important;box-sizing:border-box!important;margin:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) form.wd-filterbar > .wd-search-wrap > input{height:100%!important}
}
/* Side window header (Support, Sales, Account): "new tab" and close are the same 32px squares (phones made the close button taller) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) .wd-v2-sheet-head > .wd-v2-sheet-btn{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;flex:0 0 32px!important;align-self:center!important;margin:0!important}
/* Phones: every WebDesk dropdown is visible (an old phone rule hid them all, so e.g. "Role" in Users was empty);
   the ones hidden on purpose stay hidden (exact site filter, tools device switch) */
@media (max-width:768px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) .wd-custom-select:not(#siteFilterSelect + .wd-custom-select):not(.wd-v2-tools-switch > .wd-custom-select):not([hidden]){display:block!important}
}
/* Phones: locations in a country hang on a grey tree line like on the desktop — flag tile, name + "n device(s)" on one line */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card{position:relative!important;overflow:visible!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card::before{content:""!important;display:block!important;position:absolute!important;left:22px!important;top:0!important;bottom:0!important;width:0!important;height:auto!important;border-left:2px solid #3a3d45!important;background:none!important;z-index:1!important;opacity:1!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card:last-child::before{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card:last-child > .group-header::after{content:""!important;display:block!important;position:absolute!important;left:22px!important;top:0!important;height:50%!important;width:0!important;border-left:2px solid #3a3d45!important;background:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header::before{content:""!important;display:block!important;position:absolute!important;left:22px!important;top:calc(50% - 1px)!important;width:14px!important;height:0!important;border-top:2px solid #3a3d45!important;background:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header{padding-left:42px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-v2-loc-flag{display:inline-grid!important;place-items:center!important;width:30px!important;height:26px!important;flex:0 0 auto!important;border-radius:7px!important;background:#222329!important;border:1px solid #30323a!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-v2-loc-flag img{width:20px!important;height:15px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-group-heading{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:9px!important;min-width:0!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .group-title{flex:0 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-group-meta{flex:0 1 auto!important;margin:0!important;min-width:0!important;width:auto!important;color:var(--v2-dim)!important;font-size:12px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-group-meta .wd-group-profit,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-group-meta .wd-group-profit-separator,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card > .group-header .wd-group-meta .wd-group-profit-coverage{display:none!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .group-card:not(.collapsed) > .group-body{padding-left:50px!important}
}
/* Phones: the "electricity" runs along the grey tree line to the opened location, as on the desktop (it was off on phones) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .wd-v2-flow{display:block!important;left:22px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-body > .wd-v2-flow-h{width:14px!important;background-size:14px 2px!important}
}
/* Phones: info line that does not fit — "n devices ·" stays, the Total profit part runs right to left (wd-v2.js metaTickers) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta).wd-v2-split{display:flex!important;align-items:baseline!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-fix{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-fix > *{display:inline!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov{display:block!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important;margin-left:.3em!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta).wd-v2-ticking > .wd-v2-mov{-webkit-mask-image:linear-gradient(to right,transparent,#000 8px,#000 calc(100% - 14px),transparent);mask-image:linear-gradient(to right,transparent,#000 8px,#000 calc(100% - 14px),transparent)}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov span,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov b{white-space:nowrap!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov > .wd-v2-tick{display:inline-flex!important;will-change:transform;animation:wdV2Tick var(--tick-s,12s) linear infinite}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov > .wd-v2-tick > span{display:inline-block!important;padding-right:40px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov > .wd-v2-tick > span > *,html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov > span > *{display:inline!important}
}
@media (max-width:820px){ html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-meta.wd-v2-two{flex-wrap:wrap!important} html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .wd-v2-country-head .wd-v2-country-meta.wd-v2-two > .wd-v2-mov{flex:1 1 100%!important;margin:2px 0 0!important} }
@keyframes wdV2Tick{0%,10%{transform:translateX(0)}100%{transform:translateX(calc(-1 * var(--tick-w,300px)))}}
@media (prefers-reduced-motion:reduce){ html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) :is(.group-card > .group-header .wd-group-meta,.wd-v2-country-head .wd-v2-country-meta) > .wd-v2-mov > .wd-v2-tick{animation:none!important} }
/* Device window → Hardware cards: no line under the last row of a block (the next block draws its own line, so there were two) */
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-hw-kv > div:last-child,
html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d):not(#wdV2e) #wdDeviceModal .wd-hw-kv > div:nth-last-child(2):nth-child(odd):not(.wd-hw-full){border-bottom:0!important}

/* Narrow phones (iPhone ~390px): four row buttons at 32px so the device name is not cut ("500-25-…") */
@media (max-width:480px){
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions{gap:4px!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > :is(.btn,a,span,.action-more),html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .actions > .action-more > .btn-more{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
}

/* Phones: the line under a device name runs right to left when it does not fit (wd-v2.js devTickers) */
@media (max-width:820px){
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub.wd-v2-ticking{text-overflow:clip!important}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub > .wd-v2-mov{display:block!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 14px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 14px),transparent)}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub > .wd-v2-mov > .wd-v2-tick{display:inline-flex!important;will-change:transform;animation:wdV2Tick var(--tick-s,10s) linear infinite}
  html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub > .wd-v2-mov > .wd-v2-tick > span{display:inline-block!important;padding-right:32px!important}
}
@media (prefers-reduced-motion:reduce){ html body.wd-v2-app:not(#wdR0):not(#wdR1):not(#wdR2):not(#wdR3):not(#wdR4):not(#wdR5):not(#wdR6):not(#wdR7):not(#wdR8):not(#wdR9):not(#wdR10):not(#wdR11):not(#wdR12):not(#wdR13):not(#wdR14):not(#wdR15):not(#wdR16):not(#wdR17) .group-body .device-card .wd-v2-devsub > .wd-v2-mov > .wd-v2-tick{animation:none!important} }

/* Big screens: the device window and Device manager are as wide as the other side windows (75 %); topology split keeps its own width */
@media (min-width:1900px){
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-device-dialog,
  html body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceManagerModal .wd-manager-dialog{width:75vw!important}
  html.wd-v2-topology-split body.wd-v2-app:not(#wdV2):not(#wdV2b):not(#wdV2c):not(#wdV2d) #wdDeviceModal .wd-device-dialog{width:var(--wd-topo-dev-w)!important}
}
