/* PasarGuard tab: usage and live statistics of a panel. Every class starts with .pg-usage- (or .pg-uk / .pg-ust / .pg-useg / .pg-ubar / .pg-uu).
   Rebuilt in 1.55.0 as a dashboard (the owner: "very professional"): one bar, a band of counters, two columns of cards, a chart with a scale. The page scrolls; the lists inside keep their own height. */
html body #page .pg-usage { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
html body .main:has(.pg-usage) { overflow-y: auto; }
html body #page .pg-usage [hidden] { display: none !important; }
html body #page .pg-usage .pg-bar { margin: 0; padding: 6px 10px; gap: 8px; flex-wrap: wrap !important; } html body #page .pg-usage .pg-bar > *, html body #page .pg-usage .pg-bar .tabs button { flex: none; min-width: max-content; } html body #page .pg-usage .pg-bar > .sp { flex: 1 1 0; min-width: 0; } html body #page .pg-usage .pg-bar input[type=date] { width: 138px; }
html body #page .pg-usage .pg-bar select, html body #page .pg-usage .pg-bar button.sm { height: 30px; }
html body #page .pg-usage-j { font-size: 11.5px; color: var(--acc-2); margin: 0 6px 0 -2px; white-space: nowrap; }
html body #page .pg-usage-dates { font-size: 12.5px; white-space: nowrap; } html body #page .pg-usage-dates small { color: var(--acc-2); font-size: 11.5px; }

/* the segmented control (the UI kit: a dark track, the open one lifted) */
html body #page .pg-useg { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
html body #page .pg-useg button { height: 24px; padding: 0 11px; border: 0; border-radius: 7px; background: none; color: var(--mut); font-size: 12.5px; font-weight: 500; cursor: pointer; box-shadow: none; white-space: nowrap; }
html body #page .pg-useg button:hover { color: var(--text); background: rgba(255,255,255,.06); }
html body #page .pg-useg button.on { background: #2a3a5e; color: #fff; box-shadow: inset 0 0 0 1px rgba(120,170,255,.35); }

/* the band of counters: two groups, users and server */
html body #page .pg-ukpi { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
html body #page .pg-ukg { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px 10px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
html body #page .pg-ukg h4 { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--mut); } html body #page .pg-ukg h4 small { margin-left: auto; font-size: 11px; letter-spacing: 0; text-transform: none; }
html body #page .pg-ukr { display: grid; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); gap: 6px; }
html body #page .pg-uk { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 7px 10px 8px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); }
html body #page .pg-uk small { font-size: 10.5px; color: var(--mut); white-space: nowrap; } html body #page .pg-uk b { font-size: 18px; font-weight: 650; letter-spacing: -.2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
html body #page .pg-uk b span { font-size: 13px; font-weight: 500; color: var(--mut); }
html body #page .pg-uk.wide { grid-column: span 2; } html body #page .pg-uk.wide b { font-size: 15px; padding-top: 2px; }
html body #page .pg-uk.ok b { color: var(--ok); } html body #page .pg-uk.warn b { color: var(--warn); } html body #page .pg-uk.bad b { color: var(--bad); }
html body #page .pg-uk.ok::before, html body #page .pg-uk.warn::before, html body #page .pg-uk.bad::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: currentColor; }
html body #page .pg-uk.ok { color: var(--ok); } html body #page .pg-uk.warn { color: var(--warn); } html body #page .pg-uk.bad { color: var(--bad); } html body #page .pg-uk small { color: var(--mut); }
/* a meter (CPU, memory, disk; the limit of a user) */
html body #page .pg-ubar { display: block; height: 4px; margin-top: 3px; border-radius: 2px; background: rgba(255,255,255,.09); overflow: hidden; } html body #page .pg-ubar u { display: block; height: 100%; border-radius: 2px; background: var(--acc); text-decoration: none; }
html body #page .pg-uk.warn .pg-ubar u, html body #page .pg-ubar.warn u { background: var(--warn); } html body #page .pg-uk.bad .pg-ubar u, html body #page .pg-ubar.bad u { background: var(--bad); }

/* the two columns of cards */
html body #page .pg-usage-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 10px; align-items: start; }
html body #page .pg-usage-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; } html body #page .pg-usage-col > div { min-width: 0; }
html body #page .pg-usage-pair { display: flex; flex-direction: column; gap: 10px; }
html body #page .pg-usage-card { margin: 0; padding: 12px 14px; min-width: 0; border-radius: 14px; }
html body #page .pg-usage-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; } html body #page .pg-usage-ch h3 { margin: 0; font-size: 13.5px; font-weight: 650; } html body #page .pg-usage-ch small { font-size: 11.5px; text-align: right; }
html body #page .pg-usage-sub { margin: 12px 0 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--mut); }
html body #page .pg-usage-busy { opacity: .55; transition: opacity .2s; }
html body #page .pg-usage-look .pg-usage-ch { margin-bottom: 8px; }

/* the four numbers of a card */
html body #page .pg-ustats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
html body #page .pg-ust { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); }
html body #page .pg-ust small { font-size: 10.5px; color: var(--mut); } html body #page .pg-ust b { font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
html body #page .pg-ust.big b { font-size: 22px; letter-spacing: -.4px; } html body #page .pg-ust > span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body #page .pg-usage-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 6px; } html body #page .pg-usage-head > span.mut { font-size: 12px; }
html body #page .pg-usage-big { font-size: 24px; font-weight: 700; letter-spacing: -.3px; }

/* the chart: a scale on the left, bars that lift on hover */
html body #page .pg-usage-chart { margin: 0 0 6px; } html body #page .pg-usage-svg { display: block; width: 100%; height: auto; max-height: 240px; }
html body #page .pg-usage-bar { fill: var(--acc); opacity: .8; } html body #page .pg-usage-bar.top { fill: var(--acc-2); opacity: 1; }
html body #page .pg-usage-hit { fill: transparent; } html body #page .pg-usage-hit:hover { fill: rgba(255,255,255,.06); }
html body #page .pg-usage-ax { fill: var(--mut); font-size: 10px; } html body #page .pg-usage-none { fill: var(--mut); font-size: 12px; }
html body #page .pg-usage-line { stroke: rgba(255,255,255,.22); stroke-width: 1; } html body #page line.pg-usage-gl { stroke: rgba(255,255,255,.07); stroke-width: 1; stroke-dasharray: 3 4; }

/* controls of a card, tables */
html body #page .pg-usage-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; } html body #page .pg-usage-row select, html body #page .pg-usage-row input, html body #page .pg-usage-row button.sm { height: 30px; font-size: 12.5px; } html body #page .pg-usage-row input { flex: 1; min-width: 130px; }
html body #page .pg-usage-row > small { margin-left: auto; } html body #page .pg-usage-total { margin-left: auto; font-size: 12.5px; } html body #page .pg-usage-total b { font-size: 16px; }
html body #page .pg-usage-nodes { max-height: 270px; overflow: auto; margin: 0; } html body #page .pg-usage-topbox { max-height: 400px; overflow: auto; margin: 0; }
html body #page .pg-usage-th { cursor: pointer; user-select: none; white-space: nowrap; } html body #page .pg-usage-th.on { color: var(--acc-2); }
html body #page .pg-usage-num { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
html body #page .pg-usage-share { display: inline-block; width: 72px; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; vertical-align: middle; } html body #page .pg-usage-share i { display: block; height: 100%; background: var(--acc); }
html body #page .pg-usage-nw { white-space: nowrap; }
html body #page .pg-usage-use { min-width: 150px; } html body #page .pg-uu { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; } html body #page .pg-uu b { font-weight: 600; } html body #page .pg-uu small { font-size: 11px; }
html body #page .pg-usage-use .pg-ubar { margin-top: 3px; }
html body #page .pg-usage-hint { padding: 12px 2px; font-size: 12.5px; }
html body #page .pg-usage-stale { margin: 0 0 6px; padding: 5px 8px; border: 1px solid rgba(255,196,77,.45); border-radius: 8px; color: var(--warn); font-size: 12px; }

/* a narrow window: one column, the four numbers in two rows */
@media (max-width: 1099px) {
  html body #page .pg-usage-grid, html body #page .pg-ukpi { grid-template-columns: minmax(0, 1fr); }
  html body #page .pg-ustats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html body #page .pg-usage-card .tbl td.name small { display: block; font-size: 10.5px; line-height: 1.2; } html body #page .pg-usage-card .tbl td.name .ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 1.57.0 - the Usage tab as round stats (the owner: "short, useful, packed; easy on the eye, like a round stats menu; a section of the nodes' usage only"): the section chips, the cards of the overview (rings, gauges, a strip of bars), the Nodes section */
html body #page .pg-usec { align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
html body #page .pg-usec button { height: 28px; padding: 0 14px; font-size: 13px; }
html body #page .pg-rcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 10px; }
html body #page .pg-rc { margin: 0; padding: 10px 14px 12px; min-width: 0; border-radius: 14px; }
html body #page .pg-rc-h { display: flex; align-items: center; gap: 10px; min-height: 24px; margin: 0 0 8px; }
html body #page .pg-rc-h h3 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; font-weight: 650; }
html body #page .pg-rc-h small { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
html body #page .pg-rc-go { flex: none; width: 24px; height: 24px; min-height: 0; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; font-size: 17px; line-height: 1; color: var(--mut); background: rgba(255,255,255,.06); border: 0; }
html body #page .pg-rc-go:hover { color: #fff; background: rgba(255,255,255,.16); }
html body #page .pg-rc-b { display: flex; align-items: center; gap: 14px; min-width: 0; }
html body #page .pg-rc-pill { flex: none; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 11.5px; color: var(--mut); white-space: nowrap; }
html body #page .pg-rc-pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
html body #page .pg-rc-none { padding: 22px 4px; font-size: 12.5px; }
html body #page .pg-ring { display: block; flex: none; }
html body #page .pg-ring-track { fill: none; stroke: rgba(255,255,255,.07); }
html body #page .pg-ring-arc { fill: none; stroke: var(--pc, var(--acc)); stroke-linecap: round; }
html body #page .pg-ring-arc:hover { filter: brightness(1.25); }
html body #page .pg-ring-big { fill: var(--text); font-size: 21px; font-weight: 700; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
html body #page .pg-ring-small { fill: var(--mut); font-size: 11px; }
html body #page .pg-leg { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
html body #page .pg-leg li { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; }
html body #page .pg-leg i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pc, var(--acc)); }
html body #page .pg-leg .ell { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mut); }
html body #page .pg-leg b { flex: none; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
html body #page .pg-leg em { flex: none; width: 34px; text-align: right; font-style: normal; font-size: 11px; color: var(--mut); }
html body #page :is(.pg-ring-arc, .pg-leg i).ok { --pc: var(--ok); } html body #page :is(.pg-ring-arc, .pg-leg i).warn { --pc: var(--warn); } html body #page :is(.pg-ring-arc, .pg-leg i).bad { --pc: var(--bad); }
html body #page :is(.pg-ring-arc, .pg-leg i).hold { --pc: #4da3ff; } html body #page :is(.pg-ring-arc, .pg-leg i).off { --pc: #7c869f; } html body #page :is(.pg-ring-arc, .pg-leg i).po { --pc: #6b7694; }
html body #page :is(.pg-ring-arc, .pg-leg i).p0 { --pc: #4da3ff; } html body #page :is(.pg-ring-arc, .pg-leg i).p1 { --pc: #3ddc97; } html body #page :is(.pg-ring-arc, .pg-leg i).p2 { --pc: #ffc44d; }
html body #page :is(.pg-ring-arc, .pg-leg i).p3 { --pc: #ff6b8b; } html body #page :is(.pg-ring-arc, .pg-leg i).p4 { --pc: #a78bfa; } html body #page :is(.pg-ring-arc, .pg-leg i).p5 { --pc: #22d3ee; }
html body #page .pg-rc-gs { display: flex; justify-content: space-around; align-items: flex-start; gap: 8px; padding: 2px 0 4px; }
html body #page .pg-gau { display: flex; flex-direction: column; align-items: center; gap: 3px; } html body #page .pg-gau small { font-size: 11px; color: var(--mut); }
html body #page .pg-gau .pg-ring-big { font-size: 17px; }
html body #page .pg-rc-foot { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 6px; font-size: 11.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
html body #page .pg-rc-tr { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; margin: 0 0 8px; } html body #page .pg-rc-tr .mut { font-size: 12px; }
html body #page .pg-rc-big { font-size: 28px; font-weight: 700; letter-spacing: -.5px; font-variant-numeric: tabular-nums; } html body #page .pg-rc-big small { font-size: 13px; font-weight: 500; color: var(--mut); letter-spacing: 0; }
html body #page .pg-spark { display: block; width: 100%; height: 52px; } html body #page .pg-spark-b { fill: var(--acc); opacity: .7; } html body #page .pg-spark-b.top { fill: var(--acc-2); opacity: 1; } html body #page .pg-spark-b:hover { opacity: 1; }
html body #page .pg-mini-l { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
html body #page .pg-mini-l li { display: grid; grid-template-columns: minmax(0, 1fr) 64px auto; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 8px; font-size: 12.5px; cursor: pointer; }
html body #page .pg-mini-l li:hover { background: rgba(255,255,255,.06); }
html body #page .pg-mini-l .ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } html body #page .pg-mini-l b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
html body #page .pg-mini { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.09); overflow: hidden; } html body #page .pg-mini u { display: block; height: 100%; border-radius: 3px; background: var(--acc); text-decoration: none; }
html body #page .pg-ns { display: grid; grid-template-columns: minmax(230px, 310px) minmax(0, 1fr); gap: 18px; align-items: start; }
html body #page .pg-ns-ring { display: flex; flex-direction: column; align-items: center; gap: 12px; } html body #page .pg-ns-ring .pg-leg { width: 100%; }
html body #page .pg-ns .pg-usage-nodes { max-height: calc(100vh - 360px); min-height: 160px; }
html body #page .pg-usage-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 10px; align-items: start; } html body #page .pg-usage-two > div:empty { display: none; }
html[data-mode="light"] body #page .pg-ring-track { stroke: rgba(30,50,100,.10); } html[data-mode="light"] body #page .pg-rc-go { background: rgba(30,50,100,.07); }
@media (max-width: 760px) { html body #page .pg-ns { grid-template-columns: minmax(0, 1fr); } }
/* 1.57.6 - the range of the Usage tab is ONE button; a small panel opens softly under it: tabs Relative / Absolute, rows of chips, the chosen one in blue (the owner's picture) */
html body #page .pg-rng { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 11px; border-radius: 11px; font-size: 13px; font-weight: 600; white-space: nowrap; }
html body #page .pg-rng-i svg, html body #page .pg-rng-c svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } html body #page .pg-rng-i { color: var(--mut); display: inline-grid; }
html body #page .pg-rng-c { display: inline-grid; opacity: .7; transition: transform .25s cubic-bezier(.2, .9, .25, 1); } html body #page .pg-rng[aria-expanded="true"] .pg-rng-c { transform: rotate(180deg); }
.pg-pop { position: fixed; z-index: 75; width: 430px; max-width: calc(100vw - 16px); overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: #1b2133; box-shadow: 0 18px 48px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: 24px 0; pointer-events: none; transition: opacity .2s ease, transform .3s cubic-bezier(.2, .9, .25, 1); }
.pg-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.pg-pop-tabs { position: relative; display: flex; padding: 0 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
html body .pg-pop-tabs button { height: 42px; padding: 0 20px; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: #98a2bd !important; font-size: 14px; font-weight: 600; cursor: pointer; transition: color .2s; }
html body .pg-pop-tabs button.on { color: #6aa7ff !important; }
.pg-pop-ul { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; border-radius: 2px; background: #4a8bf0; transition: transform .3s cubic-bezier(.3, .8, .3, 1), width .3s ease; }
.pg-pop-body { padding: 14px 16px 16px; }
.pg-pp { display: none; gap: 10px; } .pg-pp.on { display: grid; animation: pgPopIn .26s ease both; }
@keyframes pgPopIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.pg-pr { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 10px; } .pg-pr > span { font-size: 13.5px; font-weight: 500; color: #e8ebf7; } .pg-pr > span small { display: block; font-size: 10.5px; font-weight: 400; color: #98a2bd; }
.pg-pr > div { display: flex; flex-wrap: wrap; gap: 8px; }
html body .pg-pop button.pg-pc { min-width: 50px; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .12) !important; background: #222a40 !important; background-image: none !important; color: #dfe5f5 !important; font-size: 13px; font-weight: 500; cursor: pointer; box-shadow: none !important; transition: background-color .15s, border-color .15s, transform .1s; }
html body .pg-pop button.pg-pc:hover { background: #2b3652 !important; border-color: rgba(255, 255, 255, .24) !important; } html body .pg-pop button.pg-pc:active { transform: translateY(1px); }
html body .pg-pop button.pg-pc.on { background: #3570e8 !important; border-color: #3570e8 !important; color: #fff !important; box-shadow: 0 2px 10px rgba(53, 112, 232, .4) !important; }
.pg-pa { display: grid; gap: 12px; } .pg-pa label { display: flex; align-items: center; gap: 10px; } .pg-pa label > span:first-child { width: 44px; font-size: 13px; color: #98a2bd; } .pg-pa input[type=date] { flex: 0 1 170px; height: 34px; padding: 0 10px; border-radius: 10px; } .pg-pa .pri { justify-self: start; }
html[data-mode="light"] .pg-pop { background: #fff; border-color: rgba(30, 50, 100, .16); box-shadow: 0 14px 40px rgba(30, 50, 100, .22); } html[data-mode="light"] .pg-pop-tabs { border-bottom-color: rgba(30, 50, 100, .12); }
html[data-mode="light"] body .pg-pop-tabs button { color: #5b6b8c !important; } html[data-mode="light"] body .pg-pop-tabs button.on { color: #1456c8 !important; } html[data-mode="light"] .pg-pr > span { color: #1b2540; }
html[data-mode="light"] body .pg-pop button.pg-pc { background: #fff !important; border-color: rgba(30, 50, 100, .16) !important; color: #1b2540 !important; } html[data-mode="light"] body .pg-pop button.pg-pc:hover { background: #eef3fc !important; } html[data-mode="light"] body .pg-pop button.pg-pc.on { background: #3570e8 !important; color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .pg-pop, .pg-pop-ul, .pg-pp.on, html body #page .pg-rng-c { transition: none; animation: none; } }
/* 1.57.7 - the cards of the overview: TWO rows of three, every box the same fixed size, in the kit's look (the owner: "put them in two rows, fixed boxes, like a MacBook") */
html body #page .pg-rcs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
html body #page .pg-rc { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; padding: 12px 16px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(180deg, #181e30, #141a2b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
html body #page .pg-rc > :not(.pg-rc-h) { flex: 1 1 auto; min-height: 0; }
html body #page .pg-rc > .pg-rc-tr, html body #page .pg-rc > .pg-rc-foot, html body #page .pg-rc > .pg-spark { flex: none; }
html body #page .pg-rc > .pg-spark { margin-top: auto; }
html body #page .pg-rc-h h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #e8ebf7; }
html body #page .pg-rc-go { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(180deg, #232b42, #1b2133); border: 1px solid rgba(255, 255, 255, .12); color: #c7d0e6; transition: background .15s, border-color .15s, color .15s; }
html body #page .pg-rc-go:hover { background: linear-gradient(180deg, #2f8bff, #0b5ad9); border-color: rgba(120, 180, 255, .55); color: #fff; }
html[data-mode="light"] body #page .pg-rc { background: #fff; border-color: rgba(30, 50, 100, .14); box-shadow: 0 1px 2px rgba(30, 50, 100, .06); }
html[data-mode="light"] body #page .pg-rc-h h3 { color: #14213d; } html[data-mode="light"] body #page .pg-rc-go { background: #f2f5fb; border-color: rgba(30, 50, 100, .16); color: #4a5a7e; }
@media (max-width: 980px) { html body #page .pg-rcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { html body #page .pg-rcs { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(210px, auto); } }
/* 1.57.11 - the range button is in the row of the sections, and both rows are alike: the same segmented track (36 px, radius 11), the same lifted blue open segment, the same type */
html body #page .pg-usec-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
html body #page .pg-usec-row .pg-usec { align-self: auto; height: 36px; box-sizing: border-box; border-radius: 11px; background: #151a2b; border: 1px solid var(--uk-line); }
html body #page .pg-usec-row .pg-usec button { height: 28px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
html body #page .pg-useg.pg-usec button.on { background: #2d3f68; box-shadow: inset 0 0 0 1px rgba(120, 170, 255, .4); }
html body #page .pg-usec-row .pg-rng { height: 36px; margin-left: auto; box-sizing: border-box; border-radius: 11px; background-image: none !important; background-color: #151a2b !important; border: 1px solid var(--uk-line) !important; box-shadow: none !important; font-size: 13px; font-weight: 600; color: #e8ebf7; }
html body #page .pg-usec-row .pg-rng:hover { background-color: #1b2236 !important; border-color: var(--uk-line-2) !important; }
html body :is(#page, #pn-body) :is(.pn-bars, .pn-tabs, #pn-ctl, .pg-bar) .tabs { background: #151a2b !important; border: 1px solid var(--uk-line) !important; border-radius: 11px !important; padding: 3px !important; gap: 2px !important; }
html body :is(#page, #pn-body) :is(.pn-bars, .pn-tabs, #pn-ctl, .pg-bar) .tabs button { height: 28px !important; border-radius: 8px !important; background: transparent; box-shadow: none; }
html[data-mode="light"] body #page .pg-usec-row .pg-usec, html[data-mode="light"] body #page .pg-usec-row .pg-rng { background: #eef2fa !important; border-color: rgba(30, 50, 100, .14) !important; color: #14213d; }
html[data-mode="light"] body #page .pg-useg.pg-usec button.on { background: #fff; color: #14213d; box-shadow: 0 1px 3px rgba(30, 50, 100, .18), inset 0 0 0 1px rgba(47, 111, 224, .35); }
html[data-mode="light"] body :is(#page, #pn-body) :is(.pn-bars, .pn-tabs, #pn-ctl, .pg-bar) .tabs { background: #eef2fa !important; border-color: rgba(30, 50, 100, .14) !important; }
/* 1.57.11 - the tab buttons of a panel are ONE size everywhere (every tab of the Panel page, open or not): a 36 px track of the kit (radius 11) and 28 px buttons (radius 8), no halo around the open one */
html body :is(#page, #pn-body) :is(.pn-bars, .pn-tabs, #pn-ctl, .pg-bar) .tabs { height: 36px; box-sizing: border-box; align-items: center; }
html body :is(#page, #pn-body) :is(.pn-bars, .pn-tabs, #pn-ctl, .pg-bar) .tabs button { padding: 0 14px; font-size: 13px; line-height: 1; min-width: 0; margin: 0; }
/* 1.57.17 - the section chips are hidden; the row under the bar holds the range button, and - inside a section - the way back and where you are */
html body #page .pg-usec-row .pg-back { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border-radius: 11px; font-size: 13px; font-weight: 600; box-sizing: border-box; }
html body #page .pg-usec-row .pg-back i { display: inline-grid; } html body #page .pg-usec-row .pg-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html body #page .pg-usec-row .pg-sec-title { font-size: 15px; font-weight: 650; color: var(--text); }
/* 1.57.18 - (1) the Look up button stands in the row beside the range button, the same size and kit look (blue and lifted while its section is open); (2) the boxes of the Panel bar keep their sizes: the segment buttons are 28 px inside the 36 px track and the icon buttons 28 px (an older rule made them 32 px and they stuck out of the track) */
html body #page .pg-usec-row .pg-usec-r { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
html body #page .pg-usec-row .pg-usec-r .pg-rng { margin-left: 0; }
html body #page .pg-usec-row .pg-lk { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 11px; box-sizing: border-box; border-radius: 11px; background-image: none !important; background-color: #151a2b !important; border: 1px solid var(--uk-line) !important; box-shadow: none !important; font-size: 13px; font-weight: 600; color: #e8ebf7; }
html body #page .pg-usec-row .pg-lk i { display: inline-grid; color: var(--mut); } html body #page .pg-usec-row .pg-lk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html body #page .pg-usec-row .pg-lk:hover { background-color: #1b2236 !important; border-color: var(--uk-line-2) !important; }
html body #page .pg-usec-row .pg-lk.on { background-color: #2d3f68 !important; border-color: rgba(120, 170, 255, .5) !important; color: #fff; box-shadow: inset 0 0 0 1px rgba(120, 170, 255, .4) !important; } html body #page .pg-usec-row .pg-lk.on i { color: inherit; }
html[data-mode="light"] body #page .pg-usec-row .pg-lk { background-color: #eef2fa !important; border-color: rgba(30, 50, 100, .14) !important; color: #14213d; } html[data-mode="light"] body #page .pg-usec-row .pg-lk.on { background-color: #e3edff !important; color: #1456c8; }
/* 1.57.18 - the look-up card in the kit's look ("like a MacBook" = the sheet): a dark card with a normal-case title, the segmented control (36 px), the search field (a dark well with the blue ring) and an ICON button (a slate rounded square, blue when pointed at) in place of the "Show usage" text button */
html body #page .pg-usage-look { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(180deg, #181e30, #141a2b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); padding: 12px 16px 14px; }
html body #page .pg-usage-look .pg-usage-ch h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #e8ebf7; }
html body #page .pg-usage-look .pg-usage-row { flex-wrap: nowrap; align-items: center; gap: 10px; }
html body #page .pg-usage-look .pg-useg { height: 36px; box-sizing: border-box; padding: 3px; border-radius: 11px; background: #151a2b; border: 1px solid var(--uk-line); }
html body #page .pg-usage-look .pg-useg button { height: 28px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
html body #page .pg-usage-look .pg-usage-row input { flex: 1 1 auto; min-width: 0; width: auto; height: 36px; box-sizing: border-box; padding: 0 14px; border-radius: 11px; font-size: 13px; }
html body #page .pg-usage-look .pg-ibtn { flex: none; width: 36px; height: 36px; min-height: 0; padding: 0; display: inline-grid; place-items: center; border-radius: 11px; background-image: linear-gradient(180deg, #44577f, #37486c) !important; border: 1px solid rgba(255, 255, 255, .18) !important; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12) !important; }
html body #page .pg-usage-look .pg-ibtn:hover { background-image: linear-gradient(180deg, #2f8bff, #0b5ad9) !important; border-color: rgba(120, 180, 255, .55) !important; box-shadow: 0 2px 10px rgba(10, 98, 255, .38) !important; }
html body #page .pg-usage-look .pg-ibtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[data-mode="light"] body #page .pg-usage-look { background: #fff; border-color: rgba(30, 50, 100, .14); box-shadow: 0 1px 2px rgba(30, 50, 100, .06); } html[data-mode="light"] body #page .pg-usage-look .pg-usage-ch h3 { color: #14213d; }
/* 1.57.22 - the gauges (CPU, memory, disk) are the owner's soft blue while they are quiet (amber and red when busy); the green stays for "active" in the ring of the users */
html body #page :is(.pg-ring-arc, .pg-leg i).cool { --pc: #8db4ff; }
/* 1.57.23 - the Users box of the old System tab, at the top of Usage > Users */
html body #page .pg-ub { margin: 0 0 10px; }
html body #page .pg-ub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
html body #page .pg-ub-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 13px; } html body #page .pg-ub-row b { font-weight: 650; font-variant-numeric: tabular-nums; } html body #page .pg-ub-row small { margin-left: auto; }
/* 1.57.27 - the boxes of Usage > Users alike and fixed (the owner): the same kit card as the overview (normal-case title, 16 px corners), the Users box one fixed height, the two cards below one fixed height with their content scrolling inside, every control 36 px */
html body #page .pg-usage [data-for="users"] .pg-usage-card, html body #page .pg-ub { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(180deg, #181e30, #141a2b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); padding: 12px 16px 14px; box-sizing: border-box; margin: 0; }
html body #page .pg-usage [data-for="users"] .pg-usage-ch h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #e8ebf7; }
html body #page .pg-ub { height: 128px; overflow: hidden; margin: 0 0 10px; }
html body #page .pg-usage-two { grid-auto-rows: 380px; }
html body #page .pg-usage-two > div { display: flex; flex-direction: column; min-height: 0; }
html body #page .pg-usage-two > div > .pg-usage-card { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
html body #page .pg-usage-two .pg-usage-card .pg-usage-topbox, html body #page .pg-usage-two .pg-usage-card .pg-usage-nodes { flex: 1 1 auto; min-height: 0; max-height: none; overflow: auto; }
html body #page .pg-usage-two .pg-usage-chart { flex: 1 1 auto; min-height: 0; }
html body #page .pg-usage-two .pg-usage-row { flex: none; flex-wrap: nowrap; gap: 8px; margin: 0 0 10px; }
html body #page .pg-usage-two .pg-usage-row select, html body #page .pg-usage-two .pg-usage-row input { height: 36px; border-radius: 11px; font-size: 13px; }
html body #page .pg-usage-two .pg-useg { height: 36px; box-sizing: border-box; padding: 3px; border-radius: 11px; background: #151a2b; border: 1px solid var(--uk-line); }
html body #page .pg-usage-two .pg-useg button { height: 28px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
@media (max-width: 760px) { html body #page .pg-usage-two { grid-auto-rows: minmax(340px, auto); } html body #page .pg-ub { height: auto; min-height: 128px; } }
html[data-mode="light"] body #page .pg-usage [data-for="users"] .pg-usage-card, html[data-mode="light"] body #page .pg-ub { background: #fff; border-color: rgba(30, 50, 100, .14); box-shadow: 0 1px 2px rgba(30, 50, 100, .06); } html[data-mode="light"] body #page .pg-usage [data-for="users"] .pg-usage-ch h3 { color: #14213d; }

/* 1.59.0 - every card of the overview is in its place from the first frame: while its data is on its way it shows grey shapes where the numbers will be, and when the data comes nothing moves (the owner, 2026-10-16: "these boxes load late - boxes fixed, solve the late loading") */
html body #page .pg-sk { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, .05) 20%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .05) 80%) 0 0 / 240% 100%; animation: pgSk 1.5s linear infinite; }
@keyframes pgSk { from { background-position: 120% 0; } to { background-position: -120% 0; } }
html body #page .pg-sk-ring { flex: none; width: 118px; height: 118px; border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 41px, #000 42px); mask: radial-gradient(circle, transparent 41px, #000 42px); }
html body #page .pg-sk-gau { flex: none; width: 82px; height: 82px; border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 29px, #000 30px); mask: radial-gradient(circle, transparent 29px, #000 30px); }
html body #page .pg-sk-lines { display: grid; flex: 1 1 auto; gap: 12px; min-width: 0; } html body #page .pg-sk-lines .pg-sk { height: 12px; }
html body #page .pg-sk-rows { align-content: start; } html body #page .pg-sk-rows .pg-sk { width: 100% !important; height: 22px; border-radius: 6px; }
html body #page .pg-sk-line { width: 70%; height: 12px; } html body #page .pg-sk-big { width: 42%; height: 30px; }
html body #page .pg-rc > .pg-sk-spark { flex: none; width: 100%; height: 104px; margin-top: auto; }
html body #page .pg-rc-err { padding: 18px 2px; font-size: 12.5px; line-height: 1.4; color: var(--uk-red, #ff6577); overflow: hidden; }
html[data-mode="light"] body #page .pg-sk { background-image: linear-gradient(90deg, rgba(30, 50, 100, .06) 20%, rgba(30, 50, 100, .12) 50%, rgba(30, 50, 100, .06) 80%); }
@media (prefers-reduced-motion: reduce) { html body #page .pg-sk { animation: none; } }