/* ============================================================================
   skin.css — the finish over the design system (owner, 2026-11-18: "modern
   premium"; not sci-fi, little motion).
   Loaded after wy.css and the page stylesheets. wy.css stays the layout and
   state contract and stays linted; this file only changes how surfaces look:
   a soft colour wash behind the page, hairline-bordered panels with depth,
   a gradient primary action, pill badges and a tighter type scale.
   It is outside the design lint on purpose (literals, gradients, blur).
   No animation beyond short hover and focus transitions; nothing clips
   overflow, so menus and tooltips behave as before.
   ========================================================================== */

:root {
  --sk-brand: linear-gradient(135deg, #7d6bff 0%, #5b6ef5 55%, #3d8ff0 100%);
  --sk-brand-hover: linear-gradient(135deg, #8f7fff 0%, #6d80ff 55%, #4f9df5 100%);
  --sk-hair: rgb(255 255 255 / 0.08);
  --sk-hair-strong: rgb(255 255 255 / 0.14);
  --sk-panel: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.018));
  --sk-shadow: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 1px 2px rgb(0 0 0 / 0.4), 0 24px 48px -28px rgb(0 0 0 / 0.75);
  --sk-shadow-pop: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 0 0 1px rgb(0 0 0 / 0.5), 0 28px 64px -16px rgb(0 0 0 / 0.8);
  --sk-ring: 0 0 0 3px rgb(145 140 255 / 0.28);
}

/* ---- Page ------------------------------------------------------------------ */
body.wy-root {
  background:
    radial-gradient(70rem 36rem at 86% -12%, rgb(114 104 245 / 0.36), transparent 62%),
    radial-gradient(52rem 30rem at 6% -16%, rgb(61 143 240 / 0.18), transparent 60%),
    radial-gradient(44rem 26rem at 52% -18%, rgb(214 92 200 / 0.1), transparent 60%),
    radial-gradient(60rem 30rem at 50% 118%, rgb(114 104 245 / 0.1), transparent 60%),
    var(--wy-neutral-950);
  background-attachment: fixed;
  letter-spacing: -0.006em;
  text-rendering: optimizeLegibility;
}
.wy-root ::selection { background: rgb(145 140 255 / 0.4); }

/* ---- Shell ----------------------------------------------------------------- */
.wy-sidebar { background: transparent; border-right-color: transparent; }
.wy-sidebar__header, .wy-sidebar__footer { border-color: var(--sk-hair); }
@media (min-width: 1024px) {
  .wy-shell::before { border-right: 1px solid var(--sk-hair); background: rgb(13 14 19 / 0.6); backdrop-filter: blur(18px) saturate(1.4); }
}
@media (max-width: 1023px) {
  .wy-sidebar { background: var(--wy-neutral-900); }
}
.wy-topbar { border-bottom-color: var(--sk-hair); background: rgb(11 12 16 / 0.62); backdrop-filter: blur(18px) saturate(1.4); }
.wy-logo__text { font-weight: 650; letter-spacing: -0.02em; }
.wy-logo__mark { filter: drop-shadow(0 4px 10px rgb(114 104 245 / 0.45)); }

.wy-nav__group { color: var(--wy-neutral-500); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.wy-nav__item { border-radius: 8px; color: var(--wy-neutral-300); font-weight: 500; transition: background-color var(--wy-motion-fast) var(--wy-ease), color var(--wy-motion-fast) var(--wy-ease); }
.wy-nav__item > .wy-icon { color: var(--wy-neutral-500); transition: color var(--wy-motion-fast) var(--wy-ease); }
.wy-nav__item:hover { background: rgb(255 255 255 / 0.05); color: var(--wy-neutral-0); }
.wy-nav__item:hover > .wy-icon { color: var(--wy-neutral-200); }
.wy-nav__item[aria-current="page"] {
  background: linear-gradient(90deg, rgb(145 140 255 / 0.2), rgb(106 124 255 / 0.07));
  box-shadow: inset 0 0 0 1px rgb(145 140 255 / 0.22);
  color: var(--wy-neutral-0);
}
.wy-nav__item[aria-current="page"] > .wy-icon { color: var(--wy-accent-300); }
.wy-nav__item[aria-current="page"]::before { content: none; }

/* ---- Headings --------------------------------------------------------------- */
.wy-page-header__title { font-size: 1.75rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.wy-page-header__desc { color: var(--wy-neutral-400); }
.wy-page-header__count, .wy-tab__count { border: 1px solid var(--sk-hair); background: rgb(255 255 255 / 0.06); color: var(--wy-neutral-200); font-weight: 500; }
.wy-auth__title { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; }

/* ---- Panels ----------------------------------------------------------------- */
.wy-card, .wy-table-wrap {
  border-color: var(--sk-hair);
  border-radius: 14px;
  background: var(--sk-panel), rgb(19 21 27 / 0.72);
  box-shadow: var(--sk-shadow);
  backdrop-filter: blur(14px);
}
.wy-card .wy-card, .wy-card .wy-table-wrap { border-radius: 10px; background: rgb(255 255 255 / 0.02); box-shadow: none; backdrop-filter: none; }
/* an open menu's panel rises above its neighbours (each glass panel is its own layer) */
.wy-card, .wy-table-wrap, .wy-page-header { position: relative; }
.wy-card:has(.is-open), .wy-table-wrap:has(.is-open), .wy-page-header:has(.is-open) { z-index: 6; }
.wy-card__header { border-bottom-color: var(--sk-hair); }
.wy-card__footer { border-top-color: var(--sk-hair); }
.wy-card__title { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.012em; }

.wy-root .wy-table th { color: var(--wy-neutral-400); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; }
.wy-root .wy-table thead th { border-bottom-color: var(--sk-hair); background: rgb(255 255 255 / 0.02); }
.wy-root .wy-table td { border-color: rgb(255 255 255 / 0.055); }
.wy-root .wy-table tbody tr { transition: background-color var(--wy-motion-fast) var(--wy-ease); }
.wy-root .wy-table tbody tr:hover { background: rgb(255 255 255 / 0.035); }
.wy-root .wy-table a:not(.wy-btn) { text-decoration-color: transparent; font-weight: 500; transition: text-decoration-color var(--wy-motion-fast) var(--wy-ease); }
.wy-root .wy-table a:not(.wy-btn):hover { text-decoration-color: currentColor; }

.wy-stat__value { font-family: var(--wy-font-sans); font-size: 1.75rem; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wy-stat__label, .wy-quota__label { color: var(--wy-neutral-400); font-weight: 500; }
.wy-quota__bar { height: 6px; border-radius: 999px; background: rgb(255 255 255 / 0.08); }
.wy-quota__fill { border-radius: 999px; background: var(--sk-brand); box-shadow: 0 0 12px -2px rgb(114 104 245 / 0.7); }
.wy-quota--warn .wy-quota__fill { background: linear-gradient(90deg, #d99a2b, #f3c15f); box-shadow: none; }
.wy-quota--over .wy-quota__fill { background: linear-gradient(90deg, #e5484d, #ff7a7f); box-shadow: 0 0 12px -2px rgb(229 72 77 / 0.7); }
.wy-kv__row { border-bottom-color: rgb(255 255 255 / 0.06); }

/* ---- Controls --------------------------------------------------------------- */
.wy-btn { border-radius: 9px; font-weight: 550; letter-spacing: -0.006em; transition: background-color var(--wy-motion-fast) var(--wy-ease), border-color var(--wy-motion-fast) var(--wy-ease), box-shadow var(--wy-motion-fast) var(--wy-ease), color var(--wy-motion-fast) var(--wy-ease), filter var(--wy-motion-fast) var(--wy-ease); }
.wy-btn:not(.wy-btn--primary, .wy-btn--ghost, .wy-btn--danger, :disabled, [aria-disabled="true"]) {
  border-color: var(--sk-hair-strong);
  background: rgb(255 255 255 / 0.05);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 1px 2px rgb(0 0 0 / 0.35);
}
.wy-btn:not(.wy-btn--primary, .wy-btn--ghost, .wy-btn--danger, :disabled, [aria-disabled="true"]):hover { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.09); }
.wy-btn--primary:not(.wy-btn--danger, :disabled, [aria-disabled="true"]) {
  border-color: transparent;
  background: var(--sk-brand);
  color: #fff;
  text-shadow: 0 1px 1px rgb(30 20 90 / 0.35);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.28) inset, 0 0 0 1px rgb(60 48 170 / 0.6), 0 8px 22px -8px rgb(114 104 245 / 0.75);
}
.wy-btn--primary:not(.wy-btn--danger, :disabled, [aria-disabled="true"]):hover { background: var(--sk-brand-hover); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / 0.32) inset, 0 0 0 1px rgb(60 48 170 / 0.6), 0 10px 28px -8px rgb(114 104 245 / 0.9); }
.wy-btn--ghost:hover { background: rgb(255 255 255 / 0.07); }
.wy-btn:focus-visible { outline: none; box-shadow: var(--sk-ring), 0 0 0 1px var(--wy-accent-400); }

.wy-segmented { border-color: var(--sk-hair); border-radius: 10px; background: rgb(0 0 0 / 0.3); }
.wy-segmented > [aria-pressed="true"] { background: rgb(255 255 255 / 0.1); box-shadow: 0 1px 0 rgb(255 255 255 / 0.08) inset, 0 1px 3px rgb(0 0 0 / 0.5); color: var(--wy-neutral-0); }

.wy-input, .wy-select, .wy-textarea { border-color: var(--sk-hair-strong); border-radius: 9px; background-color: rgb(0 0 0 / 0.28); box-shadow: 0 1px 2px rgb(0 0 0 / 0.3) inset; transition: border-color var(--wy-motion-fast) var(--wy-ease), box-shadow var(--wy-motion-fast) var(--wy-ease); }
.wy-input:hover, .wy-select:hover, .wy-textarea:hover { border-color: rgb(255 255 255 / 0.22); }
.wy-input:focus, .wy-select:focus, .wy-textarea:focus { outline: none; border-color: var(--wy-accent-400); box-shadow: 0 1px 2px rgb(0 0 0 / 0.3) inset, var(--sk-ring); }
.wy-label { font-weight: 550; }

.wy-option { border-color: var(--sk-hair); border-radius: 12px; background: rgb(255 255 255 / 0.025); transition: border-color var(--wy-motion-fast) var(--wy-ease), background-color var(--wy-motion-fast) var(--wy-ease), box-shadow var(--wy-motion-fast) var(--wy-ease); }
.wy-option:hover { border-color: rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.045); }
.wy-option:has(.wy-option__input:checked) { border-color: var(--wy-accent-400); background: linear-gradient(135deg, rgb(145 140 255 / 0.16), rgb(74 168 255 / 0.05)); box-shadow: var(--sk-ring); }

.wy-tabs, .wy-tabs__list { border-bottom-color: var(--sk-hair); }
.wy-tab { font-weight: 500; color: var(--wy-neutral-400); }
.wy-tab:hover { color: var(--wy-neutral-100); }
.wy-tab[aria-selected="true"] { color: var(--wy-neutral-0); font-weight: 600; border-image: var(--sk-brand) 1; }

/* ---- Status ----------------------------------------------------------------- */
.wy-badge { border-color: transparent; border-radius: 999px; font-weight: 550; }
.wy-badge--success { background: rgb(48 196 120 / 0.14); }
.wy-badge--danger { background: rgb(240 82 82 / 0.16); }
.wy-badge--warning { background: rgb(240 180 60 / 0.15); }
.wy-badge--info { background: rgb(145 140 255 / 0.17); }
.wy-badge--neutral { background: rgb(255 255 255 / 0.07); }
.wy-notice { border-radius: 12px; backdrop-filter: blur(14px); }
.wy-toast { border-color: var(--sk-hair-strong); border-radius: 12px; background: rgb(26 28 36 / 0.92); box-shadow: var(--sk-shadow-pop); backdrop-filter: blur(16px); }
.wy-empty__icon { color: var(--wy-accent-300); }
.wy-code, .wy-cmd { border-color: var(--sk-hair); border-radius: 10px; background: rgb(0 0 0 / 0.35); }

/* ---- Overlays ---------------------------------------------------------------- */
.wy-dialog { border-color: var(--sk-hair-strong); border-radius: 16px; background: linear-gradient(180deg, #1d2029, #15171d); box-shadow: var(--sk-shadow-pop); }
.wy-dialog::backdrop { background: rgb(5 6 9 / 0.62); backdrop-filter: blur(6px); }
.wy-dialog__header { border-bottom-color: var(--sk-hair); }
.wy-dialog__footer { border-top-color: var(--sk-hair); }
.wy-dialog__title { font-weight: 650; letter-spacing: -0.02em; }
.wy-menu__list { border-color: var(--sk-hair-strong); border-radius: 12px; background: rgb(28 30 39 / 0.96); box-shadow: var(--sk-shadow-pop); backdrop-filter: blur(16px); }
.wy-menu__item { border-radius: 7px; }
.wy-menu__item:hover, .wy-menu__item:focus-visible { background: rgb(255 255 255 / 0.08); }

/* ---- Sign-in ----------------------------------------------------------------- */
.wy-auth { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--wy-space-16) - var(--wy-space-4)); }
.wy-auth::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(46rem, 100vw); /* never wider than the screen: 120vw made phones scroll sideways */
  height: 30rem;
  transform: translate(-50%, -55%);
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(124 108 255 / 0.55), rgb(74 140 255 / 0.2) 55%, transparent);
  filter: blur(20px);
}
.wy-auth__brand { margin-bottom: var(--wy-space-6); }
.wy-auth__brand .wy-logo__mark { width: 40px; height: 40px; }
.wy-auth__brand .wy-logo__text { font-size: 1.25rem; }
.wy-auth .wy-card { border-radius: 18px; background: var(--sk-panel), rgb(19 21 27 / 0.8); box-shadow: var(--sk-shadow-pop); }

@media (forced-colors: active) {
  .wy-auth::before { content: none; }
  .wy-tab[aria-selected="true"] { border-image: none; }
}


/* ============================================================================
   2026-11-19 — life pass (owner: "professional but a bit dull"; still no sci-fi,
   still almost no motion). Four things: a display face for titles and big
   numbers, one hue per kind of thing, live traces, and a little texture.
   ========================================================================== */
@font-face {
  font-family: "Bricolage Grotesque Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
}
:root {
  --sk-display: "Bricolage Grotesque Variable", var(--wy-font-sans);
  --sk-num: linear-gradient(180deg, #ffffff 20%, #c9c4ff 100%);
}

/* ---- Display face: page titles and the numbers people look for ---- */
.wy-page-header__title, .wy-auth__title, .wy-start__title { font-family: var(--sk-display); font-weight: 700; letter-spacing: -0.03em; }
.wy-page-header__title { font-size: 2.125rem; line-height: 1.1; }
.wy-stat__value, .wy-ring-stat__value, .wy-count > dd, .wy-server__specs dd { font-family: var(--sk-display); font-weight: 700; letter-spacing: -0.02em; }
.wy-stat__value, .wy-ring-stat:not(.wy-ring-stat--over) .wy-ring-stat__value, .wy-server__specs dd {
  background: var(--sk-num); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.wy-ring-stat__of { -webkit-text-fill-color: var(--wy-neutral-400); font-family: var(--wy-font-sans); letter-spacing: 0; }
.wy-ring-stat__value { font-size: 1.75rem; }
.wy-count > dd { font-size: 1.75rem; }

/* ---- Overview: rings with a soft light, the card with a lit edge ---- */
.wy-card:has(> .wy-card__body > .wy-overview), .wy-server > .hero > .wy-card {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgb(24 26 34 / 0.92), rgb(17 19 25 / 0.92)) padding-box,
    linear-gradient(120deg, rgb(145 140 255 / 0.55), rgb(76 201 240 / 0.22) 38%, rgb(255 255 255 / 0.06) 70%) border-box;
}
.wy-ring { width: 3.5rem; height: 3.5rem; }
.wy-ring__track { stroke: rgb(255 255 255 / 0.09); }
.wy-ring__fill { stroke: #8f89ff; filter: drop-shadow(0 0 5px rgb(145 140 255 / 0.65)); }
.wy-ring-stat--warn .wy-ring__fill { stroke: var(--wy-warning-fg); filter: drop-shadow(0 0 5px rgb(226 176 74 / 0.55)); }
.wy-ring-stat--over .wy-ring__fill { stroke: var(--wy-danger-fg); filter: drop-shadow(0 0 5px rgb(244 115 110 / 0.6)); }
.wy-count { padding-left: 1rem; border-left: 1px solid var(--sk-hair-strong); }

/* ---- One hue per kind: the tile, the trace, the row's edge on hover ---- */
.wy-kind {
  border-color: color-mix(in srgb, var(--wy-kind) 42%, transparent);
  border-radius: 9px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--wy-kind) 26%, transparent), color-mix(in srgb, var(--wy-kind) 8%, transparent));
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08) inset, 0 6px 16px -8px color-mix(in srgb, var(--wy-kind) 80%, transparent);
}
.wy-kind--lg { border-radius: 11px; }
.wy-spark__line polyline { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--wy-kind) 70%, transparent)); }
.wy-spark__now { color: var(--wy-neutral-300); }
.wy-srv-list .wy-table tbody tr[data-type] > td:first-child { transition: box-shadow var(--wy-motion-fast) var(--wy-ease); }
.wy-srv-list .wy-table tbody tr[data-type]:hover > td:first-child { box-shadow: inset 2px 0 0 var(--wy-kind); }
.wy-root .wy-srv-name__label { color: var(--wy-neutral-50); letter-spacing: -0.01em; text-decoration: none; }
.wy-root .wy-srv-name__label:hover { color: color-mix(in srgb, var(--wy-kind) 75%, #fff); text-decoration: underline; }
.wy-tag { border-color: color-mix(in srgb, var(--wy-kind, #918cff) 34%, transparent); color: color-mix(in srgb, var(--wy-kind, #918cff) 70%, #fff); }

/* ---- Starting points on an empty list: each in its own hue ---- */
.wy-start__item:nth-child(1) { --wy-kind: var(--wy-kind-server); }
.wy-start__item:nth-child(2) { --wy-kind: var(--wy-kind-app); }
.wy-start__item:nth-child(3) { --wy-kind: var(--wy-kind-site); }
.wy-start__item { border-color: var(--sk-hair-strong); background: linear-gradient(160deg, color-mix(in srgb, var(--wy-kind) 12%, transparent), transparent 60%), rgb(255 255 255 / 0.03); }
.wy-start__item:hover { border-color: color-mix(in srgb, var(--wy-kind) 60%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--wy-kind) 20%, transparent), transparent 70%), rgb(255 255 255 / 0.04); }
.wy-start__item > .wy-icon { color: var(--wy-kind); }

/* ---- Texture: a faint grain over the whole page, so flat areas are not dead flat ---- */
body.wy-root::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (forced-colors: active) { body.wy-root::after { content: none; } }

/* Server summary: the CPU figure in the display face, its trace in the server's own hue */
.wy-server__load-now { font-family: var(--sk-display); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
