:root {
  --font: "Google Sans", "Product Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --p-700: #5b21b6;
  --p-600: #6d28d9;
  --p-500: #7c3aed;
  --p-300: #a78bfa;
  --p-100: #ede9fe;
  --p-50:  #f5f3ff;

  --ink:   #202124;
  --ink-2: #5f6368;
  --ink-3: #80868b;
  --line:  #e4e0ef;
  --line-2: #efedf6;
  --bg:    #faf9ff;
  --surface: #ffffff;

  --green: #1e7d39;
  --green-bg: #e7f4ea;
  --danger: #c5221f;
  --danger-bg: #fce8e6;

  --radius-lg: 28px;
  --radius:    20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { display: block; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--p-500); outline-offset: 2px; border-radius: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 500; font-size: 0.95rem; line-height: 1; height: 44px; padding: 0 24px;
  border-radius: 999px; white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { width: 19px; height: 19px; }
.btn--filled { background: var(--p-600); color: #fff; }
.btn--filled:hover { background: var(--p-500); }
.btn--filled:active { background: var(--p-700); }
.btn--text { background: transparent; color: var(--p-700); padding: 0 18px; }
.btn--text:hover { background: var(--p-50); }
.btn--tonal { background: var(--p-50); color: var(--p-700); }
.btn--tonal:hover { background: var(--p-100); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #a91b18; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.link { color: var(--p-700); font-weight: 500; font-size: 0.95rem; padding: 10px 4px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.field { position: relative; }
.field + .field { margin-top: 20px; }
.field__input {
  width: 100%; padding: 16px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--surface);
  transition: border-color 0.18s var(--ease); resize: none;
}
.field__input--area { min-height: 96px; line-height: 1.55; }
.field__input::placeholder { color: transparent; }
.field__input:hover { border-color: var(--ink-3); }
.field__input:focus { outline: 1.5px solid var(--p-600); outline-offset: -2px; border-color: var(--p-600); }
.field__label {
  position: absolute; left: 12px; top: 16px; padding: 0 5px;
  color: var(--ink-3); font-size: 1rem; background: var(--surface); pointer-events: none;
  transition: top 0.16s var(--ease), font-size 0.16s var(--ease), color 0.16s var(--ease);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { top: -9px; font-size: 0.76rem; color: var(--p-700); }
.field__input--area + .field__label { top: 16px; }

.form__error { margin-top: 14px; color: var(--danger); font-size: 0.9rem; font-weight: 400; min-height: 1.1em; }
.form__error:empty { margin-top: 0; }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; margin-top: 22px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.switch__text { display: grid; gap: 3px; }
.switch__label { font-weight: 500; font-size: 0.96rem; color: var(--ink); }
.switch__hint { font-size: 0.86rem; color: var(--ink-2); }
.switch__input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { position: relative; width: 52px; height: 32px; border-radius: 999px; background: #c8c2d6;
  flex-shrink: 0; transition: background 0.2s var(--ease); }
.switch__thumb { position: absolute; top: 50%; left: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; transform: translateY(-50%); transition: left 0.2s var(--ease), width 0.2s var(--ease), height 0.2s var(--ease); }
.switch__input:checked + .switch__track { background: var(--p-600); }
.switch__input:checked + .switch__track .switch__thumb { left: 28px; width: 20px; height: 20px; }
.switch__input:focus-visible + .switch__track { outline: 2px solid var(--p-500); outline-offset: 2px; }

.signin { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center;
  gap: 18px; padding: 40px 20px; background: radial-gradient(1100px 720px at 50% -10%, var(--p-50), var(--bg) 60%); }
.signin__card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 44px); }
.signin__logo { width: 52px; height: 52px; }
.signin__logo svg { width: 100%; height: 100%; border-radius: 15px; }
.signin__title { margin-top: 22px; font-size: 1.7rem; font-weight: 400; letter-spacing: -0.01em; }
.signin__sub { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; }
.signin .form { margin-top: 28px; }
.signin__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.signin__hint { color: var(--ink-2); font-size: 0.9rem; text-align: center; }
.signin__hint b { font-weight: 500; color: var(--ink); }

.shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding-top: 64px; }

.appbar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: 64px;
  padding: 0 clamp(14px, 2.5vw, 24px); background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line); }
.appbar__menu { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; color: var(--ink-2); flex-shrink: 0; }
.appbar__menu:hover { background: var(--p-50); color: var(--p-700); }
.appbar__menu svg { width: 22px; height: 22px; }
.appbar__brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.appbar__mark { width: 30px; height: 30px; }
.appbar__mark svg { width: 100%; height: 100%; border-radius: 9px; }
.appbar__name { font-size: 1.2rem; letter-spacing: -0.01em; }
.appbar__name b { font-weight: 500; color: var(--ink); }
.appbar__name > span { font-weight: 400; color: var(--p-500); }
.appbar__name .appbar__path { color: var(--ink-3); font-weight: 400; }
.appbar__spacer { flex: 1; }

.layout { flex: 1; display: flex; align-items: stretch; min-height: 0; }
.sidenav { width: 256px; flex-shrink: 0; border-right: 1px solid var(--line); background: var(--surface);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 64px; align-self: flex-start; height: calc(100vh - 64px); height: calc(100dvh - 64px); }
.sidenav__nav { display: flex; flex-direction: column; gap: 2px; }
.navitem { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px; border-radius: 999px;
  font-size: 0.96rem; font-weight: 500; color: var(--ink-2); text-align: left;
  transition: background 0.16s var(--ease), color 0.16s var(--ease); }
.navitem svg { width: 21px; height: 21px; flex-shrink: 0; }
.navitem:hover { background: var(--p-50); color: var(--ink); }
.navitem.is-active { background: var(--p-100); color: var(--p-700); }
.navitem.is-active svg { color: var(--p-700); }
.sidecard { margin-top: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg); }
.sidecard__label { font-size: 0.82rem; color: var(--ink-2); }
.sidecard__plan { font-size: 1.3rem; font-weight: 500; margin: 4px 0 14px; letter-spacing: -0.01em; }
.sidecard__btn { width: 100%; }

.topbar__account { position: relative; }

.account { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); transition: background 0.18s var(--ease), border-color 0.18s var(--ease); }
.account:hover { background: var(--p-50); border-color: var(--p-300); }
.account__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--p-600); color: #fff;
  display: grid; place-items: center; font-weight: 500; font-size: 0.92rem; flex-shrink: 0; }
.account__domain { font-weight: 400; font-size: 0.95rem; color: var(--ink); }
.account__chev { width: 18px; height: 18px; color: var(--ink-2); }

.menu { position: absolute; top: calc(100% + 10px); right: 0; width: 280px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu[hidden] { display: none; }
.menu__head { display: flex; align-items: center; gap: 14px; padding: 14px 12px 16px; border-bottom: 1px solid var(--line-2); }
.account__avatar--lg { width: 44px; height: 44px; font-size: 1.15rem; }
.menu__domain { font-weight: 500; font-size: 0.98rem; }
.menu__plan { color: var(--ink-2); font-size: 0.88rem; margin-top: 2px; }
.menu__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 12px; border-radius: 12px;
  font-size: 0.95rem; color: var(--ink); margin-top: 6px; transition: background 0.16s var(--ease); }
.menu__item:hover { background: var(--p-50); }
.menu__item svg { width: 19px; height: 19px; color: var(--ink-2); }

.content { flex: 1; min-width: 0; padding: clamp(24px, 3.5vw, 44px) clamp(18px, 3.5vw, 44px) 96px; }
.view[hidden] { display: none; }
.view__head { margin-bottom: 26px; }
.view__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.view__title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 400; letter-spacing: -0.015em; }
.view__sub { margin-top: 8px; color: var(--ink-2); font-size: 1.02rem; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.metric { text-align: left; display: flex; flex-direction: column; gap: 6px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; min-height: 132px; }
.metric--btn { cursor: pointer; transition: border-color 0.18s var(--ease), background 0.18s var(--ease); }
.metric--btn:hover { border-color: var(--p-300); background: #fcfbff; }
.metric__label { font-size: 0.9rem; color: var(--ink-2); }
.metric__value { font-size: 2rem; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); margin-top: 2px; }
.metric__sub { font-size: 0.86rem; color: var(--ink-3); margin-top: auto; }
.metric--btn .metric__sub { color: var(--p-700); }
.split { margin-top: 8px; }
.split__bar { height: 10px; border-radius: 999px; background: #e9e6f4; overflow: hidden; }
.split__mobile { display: block; height: 100%; background: var(--p-500); border-radius: 999px; }
.split__legend { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.86rem; color: var(--ink-2); }
.split__legend b { color: var(--ink); font-weight: 500; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 10px; }
.panel__title { font-size: 1.1rem; font-weight: 500; }

.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.stat__label { font-size: 0.88rem; color: var(--ink-2); }
.stat__value { font-size: 1.9rem; font-weight: 400; letter-spacing: -0.02em; }
.stat__sub { font-size: 0.82rem; color: var(--ink-3); }

.vtable { width: 100%; }
.vtable__head, .vtable__row { display: grid; grid-template-columns: 2fr 1fr 1.4fr 0.7fr 1.1fr; gap: 14px; align-items: center; padding: 14px 18px; }
.vtable__head { font-size: 0.78rem; font-weight: 500; color: var(--ink-3); }
.vtable__row { border-top: 1px solid var(--line-2); font-size: 0.94rem; }
.vtable__row:hover { background: #fcfbff; }
.vt-ip { display: flex; flex-direction: column; gap: 2px; font-weight: 500; color: var(--ink); }
.vt-ip small { font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.vt-device { display: inline-flex; align-items: center; align-self: start; font-size: 0.82rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.vt-device--mobile { background: var(--p-50); color: var(--p-700); }
.vt-device--desktop { background: #eef0f3; color: var(--ink-2); }
.vt-page { color: var(--ink-2); }
.vt-visits { font-weight: 500; }
.vt-seen { color: var(--ink-3); font-size: 0.88rem; }

.planbanner { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(120deg, var(--p-600), var(--p-700)); color: #fff; border-radius: var(--radius); padding: 22px 26px; margin-bottom: 22px; }
.planbanner__label { display: block; font-size: 0.86rem; opacity: 0.82; }
.planbanner__name { font-size: 1.7rem; font-weight: 500; letter-spacing: -0.01em; }
.planbanner .chip--live { background: rgba(255, 255, 255, 0.22); color: #fff; }

.plancards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plancard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color 0.18s var(--ease), background 0.18s var(--ease); }
.plancard:hover { border-color: var(--p-300); }
.plancard.is-current { border-color: var(--p-500); background: var(--p-50); }
.plancard__head { display: flex; align-items: center; gap: 10px; }
.plancard__name { font-size: 1.2rem; font-weight: 500; }
.plancard__tag { font-size: 0.7rem; font-weight: 500; color: var(--p-700); background: var(--p-100); padding: 4px 10px; border-radius: 999px; }
.plancard__price { font-size: 1.7rem; font-weight: 400; letter-spacing: -0.02em; }
.plancard__price small { font-size: 0.84rem; color: var(--ink-3); }
.plancard__for { color: var(--ink-2); font-size: 0.92rem; min-height: 3.6em; }
.plancard__list { display: grid; gap: 9px; }
.plancard__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; color: var(--ink-2); }
.plancard__list svg { width: 16px; height: 16px; color: var(--p-500); flex-shrink: 0; margin-top: 3px; }
.plancard__btn { width: 100%; margin-top: auto; }
.plannote { margin-top: 20px; color: var(--ink-3); font-size: 0.9rem; max-width: 70ch; }

.domaincard { padding: 0; }
.domaincard__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 26px; border-bottom: 1px solid var(--line-2); }
.domaincard__name { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }
.domaincard__hint { color: var(--ink-2); font-size: 0.92rem; margin-top: 4px; }
.deflist { padding: 6px 0; }
.deflist__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 15px 26px; border-top: 1px solid var(--line-2); }
.deflist__row:first-child { border-top: none; }
.deflist dt { color: var(--ink-2); font-size: 0.94rem; }
.deflist dd { color: var(--ink); font-size: 0.96rem; font-weight: 500; }

.domainform { margin-top: 18px; padding: 24px 26px; }
.domainform .form { margin-top: 18px; }
.domainform__hint { color: var(--ink-2); font-size: 0.92rem; margin-top: 6px; max-width: 60ch; }
.dialog__actions--start { justify-content: flex-start; }

.navscrim { position: fixed; inset: 0; z-index: 25; background: rgba(32, 33, 36, 0.45); opacity: 0; transition: opacity 0.24s var(--ease); }
.navscrim[hidden] { display: none; }
.navscrim.show { opacity: 1; }

.features { display: grid; gap: 14px; }
.feature { display: flex; align-items: flex-start; gap: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.feature:hover { border-color: var(--p-300); }
.feature.is-paused { background: #fcfbff; }
.feature__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--p-50); color: var(--p-600);
  display: grid; place-items: center; flex-shrink: 0; }
.feature__icon svg { width: 24px; height: 24px; }
.feature__body { flex: 1; min-width: 0; }
.feature__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feature__name { font-size: 1.16rem; font-weight: 500; letter-spacing: -0.01em; word-break: break-word; }
.feature__desc { margin-top: 7px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; word-break: break-word; }
.feature__desc:empty { display: none; }
.feature__actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.chip { font-size: 0.78rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; line-height: 1; }
.chip--live { background: var(--green-bg); color: var(--green); }
.chip--paused { background: #eef0f3; color: var(--ink-2); }

.iconbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2);
  transition: background 0.16s var(--ease), color 0.16s var(--ease); }
.iconbtn:hover { background: var(--p-50); color: var(--p-700); }
.iconbtn svg { width: 20px; height: 20px; }

.empty { text-align: center; padding: clamp(50px, 9vw, 90px) 20px; display: grid; justify-items: center; gap: 8px; }
.empty__icon { width: 72px; height: 72px; border-radius: 22px; background: var(--p-50); color: var(--p-500);
  display: grid; place-items: center; margin-bottom: 14px; }
.empty__icon svg { width: 36px; height: 36px; }
.empty__title { font-size: 1.4rem; font-weight: 400; }
.empty__sub { color: var(--ink-2); font-size: 1rem; }
.empty .btn { margin-top: 18px; }

.dialog { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.dialog[hidden] { display: none; }
.dialog__scrim { position: absolute; inset: 0; background: rgba(32, 33, 36, 0.5); opacity: 0; transition: opacity 0.22s var(--ease); }
.dialog.open .dialog__scrim { opacity: 1; }
.dialog__card { position: relative; width: min(480px, 100%); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 32px);
  opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.22s var(--ease), transform 0.28s var(--ease); }
.dialog__card--sm { width: min(400px, 100%); }
.dialog.open .dialog__card { opacity: 1; transform: none; }
.dialog__title { font-size: 1.4rem; font-weight: 400; letter-spacing: -0.01em; }
.dialog__text { margin-top: 12px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }
.dialog .form { margin-top: 24px; }
.dialog__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 26px; }

.snackbar { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 22px); z-index: 60;
  background: #2c2933; color: #fff; padding: 15px 22px; border-radius: 14px; font-size: 0.94rem; font-weight: 400;
  opacity: 0; transition: opacity 0.22s var(--ease), transform 0.26s var(--ease); max-width: calc(100% - 40px); }
.snackbar[hidden] { display: none; }
.snackbar.show { opacity: 1; transform: translate(-50%, 0); }

/* --- Trackers: shared ---------------------------------------------------- */
.panel--pad { padding: 22px 24px; }
.panel--pad + .panel--pad, .twocol + .twocol, .panel--pad + .twocol, .twocol + .panel--pad,
.statgrid + .panel, .panel + .statgrid, .panel + .panel { margin-top: 16px; }
.panel__head--flush { padding: 0 0 14px; align-items: flex-start; }
.panel__sub { color: var(--ink-3); font-size: 0.88rem; margin-top: 3px; }
.panel__title--gap { margin-bottom: 16px; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.linkbtn { color: var(--p-700); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 0 2px; }
.linkbtn:hover { color: var(--p-500); }
.chip--down { background: var(--danger-bg); color: var(--danger); }

/* --- Trackers: pageview chart --------------------------------------------- */
.chart { display: flex; align-items: stretch; gap: 5px; height: 190px; padding: 8px 4px 0; }
.chart__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.chart__stack { flex: 1; display: flex; align-items: flex-end; border-radius: 7px; background: linear-gradient(to top, var(--line-2), transparent 55%); }
.chart__bar { display: block; width: 100%; border-radius: 7px 7px 3px 3px; background: var(--p-500);
  min-height: 5px; transition: background 0.18s var(--ease); }
.chart__col:hover .chart__bar { background: var(--p-700); }
.chart__bar--zero { height: 3px; min-height: 3px; background: var(--line); border-radius: 999px; align-self: flex-end; }
.chart__label { height: 15px; font-size: 0.7rem; color: var(--ink-3); text-align: center; white-space: nowrap; overflow: visible; }

/* --- Trackers: snippet box ------------------------------------------------ */
.codebox { display: flex; align-items: center; gap: 14px; background: #17131f; border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; }
.codebox code { flex: 1; font-family: Consolas, "SF Mono", Menlo, monospace; font-size: 0.85rem; color: #e6dff7;
  white-space: pre; word-break: normal; }
.codebox__copy { flex-shrink: 0; height: 38px; padding: 0 20px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.codebox__copy:hover { background: rgba(255, 255, 255, 0.2); }
.tracker__note { margin-top: 14px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.6; max-width: 75ch; }
.tracker .panel__sub code { font-family: Consolas, "SF Mono", Menlo, monospace; font-size: 0.82em; background: var(--p-50); color: var(--p-700); padding: 2px 6px; border-radius: 6px; }

/* --- Trackers: top lists -------------------------------------------------- */
.toplist { display: grid; gap: 4px; }
.toplist__row { display: grid; grid-template-columns: minmax(90px, 1.2fr) 2fr auto; align-items: center; gap: 14px; padding: 9px 2px; }
.toplist__name { font-size: 0.92rem; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toplist__meter { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.toplist__meter span { display: block; height: 100%; border-radius: 999px; background: var(--p-500); }
.toplist__count { font-size: 0.88rem; font-weight: 500; color: var(--ink-2); min-width: 2.5ch; text-align: right; }
.toplist__empty { color: var(--ink-3); font-size: 0.92rem; line-height: 1.6; padding: 6px 2px 10px; max-width: 48ch; }
.split--roomy { margin-top: 16px; }

/* --- Trackers: uptime ------------------------------------------------------ */
.upstatus { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; margin-bottom: 16px; }
.upstatus__main { display: flex; align-items: center; gap: 18px; }
.upstatus__word { font-size: 1.6rem; font-weight: 400; letter-spacing: -0.015em; }
.upstatus__detail { color: var(--ink-2); font-size: 0.92rem; margin-top: 3px; }
.updot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: #c8c2d6; flex-shrink: 0; vertical-align: baseline; margin-right: 10px; }
.updot--lg { width: 22px; height: 22px; margin-right: 0; }
.updot--up { background: var(--green); box-shadow: none; animation: uppulse 2.4s var(--ease) infinite; }
.updot--down { background: var(--danger); }
@keyframes uppulse {
  0% { outline: 0 solid rgba(30, 125, 57, 0.25); outline-offset: 0; }
  55% { outline: 7px solid rgba(30, 125, 57, 0); outline-offset: 3px; }
  100% { outline: 0 solid rgba(30, 125, 57, 0); outline-offset: 0; }
}
.vtable--checks .vtable__head, .vtable--checks .vtable__row { grid-template-columns: 1fr 0.8fr 1.2fr 1.4fr; }
.vtable__row--empty { grid-template-columns: 1fr; color: var(--ink-3); font-size: 0.92rem; }

/* --- Trackers: requests ---------------------------------------------------- */
.requestlist-panel { margin-top: 16px; }
.requestlist { padding: 4px 10px 10px; }
.requestlist__empty { padding: 10px 10px 16px; }
.request { padding: 16px 10px; border-top: 1px solid var(--line-2); }
.request:first-child { border-top: none; }
.request__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.request__subject { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; word-break: break-word; }
.request__body { margin-top: 7px; color: var(--ink-2); font-size: 0.94rem; line-height: 1.6; word-break: break-word; }
.request__meta { margin-top: 8px; color: var(--ink-3); font-size: 0.82rem; }

@media (max-width: 1080px) {
  .metrics, .statgrid, .plancards { grid-template-columns: repeat(2, 1fr); }
  .twocol { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .appbar__menu { display: grid; }
  .appbar__path { display: none; }
  .sidenav { position: fixed; top: 64px; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); width: auto; max-width: none; z-index: 26;
    overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s var(--ease); }
  .sidenav.open { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .panel--scroll { overflow-x: auto; }
  .panel--scroll .vtable { min-width: 580px; }
}
@media (max-width: 640px) {
  .account__domain { display: none; }
  .metrics, .statgrid, .plancards { grid-template-columns: 1fr; }
  .view__head--row { flex-direction: column; align-items: stretch; }
  .view__head--row .btn { width: 100%; }
  .feature { flex-wrap: wrap; padding: 18px 20px; gap: 14px; }
  .feature__actions { width: 100%; justify-content: flex-end; border-top: 1px solid var(--line-2); padding-top: 10px; }
  .signin__card { padding: 28px 22px; }
  .planbanner { flex-direction: column; align-items: flex-start; }
  .deflist__row { grid-template-columns: 1fr; gap: 4px; }
}
