:root {
  --font-ui: "JetBrains Mono", "JetBrainsMono Nerd Font", "Cascadia Mono", Consolas, monospace;
  --ink: #29292e;
  --muted: #8a8a94;
  --line: #ededf1;
  --bg: #fafafa;
  --paper: #fff;
  --sidebar: 238px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --rainbow: linear-gradient(
    105deg,
    #b3edee,
    #bdc5f6 35%,
    #e7b8ec 65%,
    #f5d4cb
  );
  --purple: #aa91c5;
  --green: #52866e;
  --amber: #a38044;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 14px/1.65 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  user-select: none;
  transition:
    transform 140ms var(--ease),
    background 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}
button:active {
  transform: scale(0.97);
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #aa91c5;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.35;
}
h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
strong {
  font-weight: 650;
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.between {
  justify-content: space-between;
}
.grow {
  flex: 1;
  min-width: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.stack {
  display: grid;
  gap: 20px;
}
.button {
  min-height: 40px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e6e6eb;
  background: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: #2e2d33;
  color: #fff;
  border-color: #2e2d33;
  box-shadow: 0 3px 5px #00000006;
}
.button.soft {
  background: #f6f5f8;
  border-color: transparent;
}
.button.danger {
  color: #ad6069;
  background: #fcf2f3;
  border-color: #f1e2e5;
}
.button.text {
  border: 0;
  background: transparent;
  padding: 6px 0;
  min-height: 28px;
  color: #92909a;
  font-weight: 500;
}
.button.full {
  width: 100%;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
.icon-button .icon {
  width: 17px;
  height: 17px;
}
.card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
  box-shadow: 0 3px 8px #25203202;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 21px;
}
.card-head p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 6px;
  background: #f4f3f6;
  color: #92909a;
  font-size: 10px;
  font-weight: 500;
}
.badge.green {
  background: #eff7f2;
  color: #54896d;
}
.badge.amber {
  background: #fbf6ec;
  color: #a28652;
}
.badge.red {
  background: #faf0f1;
  color: #b27077;
}
.badge.purple {
  background: #f4eff9;
  color: #9a7bb2;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  color: #7caa8a;
  flex-shrink: 0;
}
.badge .status-dot {
  color: inherit;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #eee6e1;
  color: #9c8a80;
  font-size: 10px;
  font-weight: 600;
  border: 0;
}
.avatar.lilac,
.tile.lilac {
  background: #f1ebf7;
  color: #a08bb5;
}
.avatar.blue,
.tile.blue {
  background: #eaf1f8;
  color: #829bb6;
}
.avatar.mint,
.tile.mint {
  background: #eaf3ee;
  color: #83a390;
}
.avatar.peach,
.tile.peach {
  background: #f8efea;
  color: #b59b88;
}
.tile {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f5f4f8;
  color: #a095ad;
  flex-shrink: 0;
}
.tile .icon {
  width: 17px;
  height: 17px;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 400;
  background: #fff;
  padding: 10px 18px;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 30px 17px 18px;
  background: #f6f6f7;
  border-right: 1px solid #ededee;
  display: flex;
  flex-direction: column;
  z-index: 40;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  margin-bottom: 31px;
}
.brand img {
  width: 29px;
  height: 36px;
  object-fit: contain;
}
.brand > span {
  font-size: 27px;
  letter-spacing: -1.25px;
  font-weight: 800;
}
.brand sup {
  font-size: 8px;
  letter-spacing: 1px;
  color: #a7a1ae;
  margin: 7px 0 0 2px;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #a6a4ae;
  padding: 0 16px;
  margin: 0 0 11px;
}
.nav-separator {
  height: 1px;
  background: #e9e9ed;
  margin: 17px 13px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  min-height: 43px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #81818b;
  font-size: 11px;
  font-weight: 500;
  position: relative;
  margin-bottom: 4px;
  transition:
    background 160ms ease,
    color 160ms ease;
}
.nav-link .icon {
  width: 17px;
  height: 17px;
}
.nav-link.active {
  color: #34313b;
  background: #fff;
  border-color: #e9e7ed;
  box-shadow: 0 3px 8px #00000003;
}
.nav-link.active:before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 3px;
  border-radius: inherit;
  background: var(--rainbow);
  background-size: 10px 100%;
  background-repeat: no-repeat;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  clip-path: inset(0 calc(100% - 10px) 0 0);
  pointer-events: none;
}
.nav-count {
  margin-left: auto;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  font-size: 9px;
  background: #ebe7f0;
  color: #9e8db0;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.system-card {
  padding: 15px 12px;
  margin: 0 4px 21px;
  background: linear-gradient(120deg, #ffffffb0, #ffffff40);
  border: 1px solid #e7e7eb;
  border-radius: 12px;
}
.system-card strong {
  font-size: 9px;
}
.system-card p {
  font-size: 8px;
  color: #a4a1aa;
  margin: 7px 0 13px;
}
.system-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: #94909f;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid #e6e6ea;
  text-align: left;
  padding: 17px 12px 0;
}
.account strong {
  display: block;
  font-size: 10px;
}
.account small {
  display: block;
  font-size: 8px;
  color: #a6a2ad;
  margin-top: 3px;
}
.account-more {
  margin-left: auto;
  color: #9e98a5;
}
.workspace {
  margin-left: var(--sidebar);
}
.topbar {
  height: 77px;
  border-bottom: 1px solid #ededf1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 37px;
  background: #ffffffa8;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: #a8a5ae;
}
.breadcrumbs span:last-child {
  color: #65616d;
}
.breadcrumb-chevron {
  color: #cfccd4;
}
.demo-badge {
  font-size: 9px;
  color: #9d8cae;
  border: 1px solid #eae5f0;
  border-radius: 5px;
  padding: 2px 6px;
}
.top-avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
}
.mobile-menu {
  display: none;
}
.content {
  max-width: 1450px;
  padding: 32px 37px 22px;
  margin: 0 auto;
}
.page {
  min-height: 640px;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}
.page-intro p {
  font-size: 11px;
  color: #96919f;
  margin-top: 8px;
}
.intro-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.period-control {
  display: flex;
  align-items: center;
  gap: 7px;
}
.intro-actions select {
  width: auto;
  min-width: 162px;
  background: #fff;
  font-size: 10px;
  padding: 9px 36px 9px 12px;
  height: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2391849b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}
.period-calendar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  color: #92839d;
  background: #fff;
  border: 1px solid #e9e0f0;
  border-radius: 9px;
}
.period-calendar .icon {
  width: 15px;
  height: 15px;
}
.date-note {
  font-size: 10px;
  color: #aaa3b1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.date-note .icon {
  width: 13px;
  height: 13px;
}
.welcome {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 154px;
  padding: 25px 29px;
  margin-bottom: 22px;
  border: 1px solid #e9e4ee;
  border-radius: 18px;
  background: linear-gradient(100deg, #fff 5%, #fcfbfd 50%, #f8f4fb);
}
.welcome:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -100% -5% -160% 43%;
  background: conic-gradient(
    from 60deg,
    #f1deed,
    #dcebf7,
    #e2f5ef,
    #f8e6df,
    #f1deed
  );
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.65;
}
.welcome h2 {
  font-size: 23px;
  letter-spacing: -0.85px;
  font-weight: 500;
  margin-bottom: 8px;
}
.welcome p {
  font-size: 11px;
  color: #9a90a3;
}
.welcome-copy {
  max-width: 65%;
  position: relative;
  z-index: 2;
}
.welcome .badge {
  margin-top: 17px;
  background: #ffffffa8;
  border: 1px solid #e9e9ec;
  font-size: 9px;
  color: #898190;
}
.hero-art {
  position: absolute;
  right: 50px;
  top: 0;
  width: 235px;
  height: 155px;
  display: grid;
  place-items: center;
  perspective: 700px;
}
.hero-ring {
  position: absolute;
  width: 133px;
  height: 133px;
  border: 1px solid #ffffffea;
  border-radius: 50%;
  background: linear-gradient(150deg, #ffffff91, #ffffff10);
  box-shadow: 0 8px 30px #b99bcd0d;
  transform: rotate(-15deg);
}
.hero-orbit {
  position: absolute;
  width: 195px;
  height: 68px;
  transform: rotate(-30deg);
  border: 1px solid #ffffffb0;
  border-radius: 50%;
}
.hero-art img {
  width: 64px;
  height: 89px;
  filter: drop-shadow(0 12px 12px #baa3d52b);
  animation: crystal-float 7s ease-in-out infinite;
}
.hero-spark {
  position: absolute;
  right: 25px;
  top: 33px;
  font-size: 17px;
  color: #c8b5d6;
}
.hero-label {
  position: absolute;
  bottom: 21px;
  left: -6px;
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #fff;
  border-radius: 7px;
  background: #ffffffb5;
  color: #9f91ac;
  backdrop-filter: blur(8px);
}
.hero-label .icon {
  width: 11px;
  height: 11px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.stat {
  padding: 19px 20px;
  position: relative;
  overflow: hidden;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #96929e;
  margin-bottom: 14px;
}
.stat-top .icon {
  width: 16px;
  height: 16px;
  color: #afa7b9;
}
.stat-value {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.stat-value small {
  font-size: 13px;
  color: #aaa2b2;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 4px;
}
.stat-bottom {
  font-size: 9px;
  color: #a7a1ae;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trend {
  color: #7a9b84;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.trend .icon {
  width: 11px;
  height: 11px;
}
.sparkline {
  position: absolute;
  right: 18px;
  bottom: 35px;
  width: 63px;
  height: 26px;
  opacity: 0.8;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(285px, 1fr);
  gap: 21px;
  margin-bottom: 21px;
}
.chart-card {
  padding-bottom: 16px;
}
.chart-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.chart-summary strong {
  font-size: 23px;
  letter-spacing: -0.8px;
}
.chart-summary .badge {
  font-size: 9px;
}
.chart {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 218px;
  margin-top: 12px;
}
.chart-plot {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid #eee8f1;
  background: repeating-linear-gradient(to bottom, transparent 0 40px, #f1ecf440 40px 41px);
}
.chart-bars,
.chart-x {
  display: grid;
  grid-template-columns: repeat(var(--chart-columns, 31), minmax(0, 1fr));
  column-gap: 2px;
}
.chart-bars {
  position: absolute;
  inset: 0;
  align-items: stretch;
}
.day-bar {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: transparent;
}
.chart-bar {
  position: absolute;
  right: 20%;
  bottom: 0;
  left: 20%;
  min-height: 2px;
  height: var(--bar-size);
  border-radius: 4px 4px 1px 1px;
  background: var(--bar-material);
  transform-origin: center bottom;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease;
  pointer-events: none;
}
.chart[data-baseline="middle"] .chart-zero-line { top: 50%; }
.chart[data-baseline="top"] .chart-zero-line { top: 0; }
.chart[data-baseline="bottom"] .chart-zero-line { top: auto; bottom: 0; }
.chart-zero-line {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  border-top: 1px solid #c9bdcf90;
  pointer-events: none;
}
.chart[data-baseline="middle"] .chart-bar[data-direction="positive"] { bottom: 50%; }
.chart[data-baseline="middle"] .chart-bar[data-direction="negative"] { top: 50%; bottom: auto; }
.chart[data-baseline="top"] .chart-bar[data-direction="negative"] { top: 0; bottom: auto; }
.chart-bar[data-direction="negative"] {
  border-radius: 1px 1px 4px 4px;
  background: linear-gradient(180deg, #c59cae, #9a6e84);
  transform-origin: center top;
}
.chart-bar[data-direction="zero"] { opacity: .24; }
.chart-bar.is-selected { background: var(--bar-highlight); box-shadow: 0 0 0 2px #ffffffb3, 0 8px 16px #60486626; }
.chart-x { color: #8c8193; font-size: 10px; line-height: 1; }
.chart-day-label { min-width: 0; overflow: hidden; text-align: center; text-overflow: clip; }
.chart-grid {
  stroke: #f0edf4;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.chart-tooltip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  padding: 8px 11px;
  background: #fff;
  border: 1px solid #ebe4f2;
  box-shadow: 0 6px 20px #48365412;
  border-radius: 9px;
  font-size: 10px;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition:
    opacity 120ms ease,
    transform 120ms var(--ease);
  white-space: nowrap;
}
.chart-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.chart-hit { cursor: crosshair; }
.chart-hit:focus {
  outline: 2px solid #8a6b9d;
  outline-offset: -2px;
}
.chart-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  padding-top: 12px;
  border-top: 1px solid #f3f0f6;
  font-size: 9px;
  color: #a69dab;
}
.chart-bottom strong {
  font-weight: 500;
  color: #898090;
}
.segmented {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: #f5f3f7;
  border: 1px solid #f0edf4;
  border-radius: 8px;
}
.segmented button {
  background: none;
  border: 0;
  border-radius: 6px;
  min-height: 28px;
  padding: 5px 10px;
  font-size: 9px;
  color: #a49aaa;
}
.segmented button.selected {
  background: white;
  box-shadow: 0 2px 5px #00000006;
  color: #776a85;
}
.region-row {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f4f1f6;
}
.region-row:last-child {
  border: 0;
}
.flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #00000005;
  flex-shrink: 0;
}
.flag.nl {
  background: linear-gradient(#be8b94 33.3%, #fff 33.3% 66.6%, #8b9ab9 66.6%);
}
.flag.de {
  background: linear-gradient(
    #64636b 33.3%,
    #c6949a 33.3% 66.6%,
    #e9d9a1 66.6%
  );
}
.flag.fi {
  background:
    linear-gradient(transparent 38%, #8fabc3 38% 60%, transparent 60%),
    linear-gradient(90deg, #f8fafb 30%, #8fabc3 30% 46%, #f8fafb 46%);
}
.flag.us {
  background: repeating-linear-gradient(#c6a0ab 0 2px, #fff 2px 4px);
  position: relative;
}
.flag.us:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  background: #8b9ab9;
  border-top-left-radius: 3px;
}
.flag.sg {
  background: linear-gradient(#cda0aa 50%, #fff 50%);
}
.region-name {
  font-size: 10px;
  font-weight: 500;
}
.region-sub {
  font-size: 8px;
  color: #aaa1b1;
  margin-top: 2px;
}
.region-load {
  width: 71px;
}
.progress {
  height: 4px;
  background: #f1eef5;
  border-radius: 5px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--rainbow);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 350ms var(--ease);
  border-radius: 5px;
}
.progress.amber > span {
  background: #dcc69e;
}
.progress.green > span {
  background: #b4d1c0;
}
.load-value {
  font-size: 9px;
  color: #a198aa;
  min-width: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.server-foot {
  padding: 13px 12px;
  background: #faf8fc;
  border: 1px solid #f0ecf5;
  border-radius: 9px;
  color: #a494b0;
  font-size: 9px;
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.server-foot .icon {
  width: 13px;
  height: 13px;
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-card > .card-head {
  padding: 22px 23px 0;
}
.table-scroll {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 10px;
  white-space: nowrap;
}
th {
  background: #fcfbfd;
  color: #a59cac;
  font-size: 9px;
  font-weight: 500;
  padding: 12px 22px;
  border-block: 1px solid #f0edf4;
}
td {
  padding: 14px 22px;
  border-bottom: 1px solid #f3f0f6;
  color: #8f829b;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #62586c;
  font-weight: 500;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person .avatar {
  width: 30px;
  height: 30px;
  font-size: 9px;
}
.person strong {
  font-size: 10px;
  display: block;
  color: #675c70;
}
.person small {
  display: block;
  font-size: 8px;
  color: #b1a6ba;
  margin-top: 2px;
}
.person-button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.table-id {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  color: #aa9db4;
}
.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9481a5;
  font-size: 10px;
}
.plan-tag img {
  height: 15px;
  width: 12px;
}
.amount {
  font-variant-numeric: tabular-nums;
  color: #6b5e76;
  font-weight: 600;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid #f0edf4;
  font-size: 9px;
  color: #a79aaf;
}
.pagination {
  display: flex;
  gap: 5px;
}
.pagination button {
  border: 1px solid #eee9f3;
  background: #fff;
  border-radius: 6px;
  min-width: 28px;
  height: 28px;
  font-size: 10px;
  color: #9e8cab;
}
.pagination button.selected {
  background: #f2edf7;
  color: #8e72a5;
  border-color: #e9def1;
}
.pagination button:disabled {
  cursor: default;
  opacity: 0.35;
}
.event {
  display: flex;
  gap: 11px;
  position: relative;
  padding-bottom: 22px;
}
.event:last-child {
  padding-bottom: 0;
}
.event:not(:last-child):after {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 5px;
  width: 1px;
  background: #f0eaf5;
}
.event strong {
  display: block;
  font-size: 10px;
  color: #81718f;
  font-weight: 500;
  margin-top: 1px;
}
.event p {
  font-size: 8px;
  color: #b0a1bc;
  margin-top: 5px;
}
.event time {
  font-size: 8px;
  color: #b3a6bd;
  margin-left: auto;
  flex-shrink: 0;
  margin-top: 3px;
}
.event-link {
  display: block;
}
.event .tile {
  width: 34px;
  height: 34px;
}
.events-card .card-head {
  margin-bottom: 25px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #e9e5ef;
  border-radius: 10px;
  padding: 0 12px;
  min-width: 220px;
}
.search-field .icon {
  width: 16px;
  height: 16px;
  color: #aa9bb6;
}
.search-field input {
  padding: 11px 0;
  border: 0;
  background: none;
  outline: none;
  width: 100%;
  font-size: 11px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 9px;
}
.filter-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-chips button {
  padding: 7px 12px;
  min-height: 35px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  font-size: 10px;
  color: #a294ac;
}
.filter-chips button.selected {
  background: #fff;
  border-color: #e7dfed;
  color: #8c749f;
  box-shadow: 0 2px 4px #a99ab407;
}
.traffic-cell {
  min-width: 100px;
}
.traffic-cell > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  margin-bottom: 7px;
  gap: 15px;
}
.empty {
  padding: 46px 20px;
  text-align: center;
  color: #a698b2;
}
.empty .tile {
  margin: 0 auto 12px;
}
.empty h3 {
  color: #80718e;
  margin-bottom: 5px;
}
.empty p {
  font-size: 11px;
  white-space: normal;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.plan-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  background: linear-gradient(160deg, #fff 55%, #fcfafc);
}
.plan-card.featured {
  border-color: #e4d7ee;
  background: linear-gradient(155deg, #fff 50%, #f6f1fb);
}
.plan-art {
  width: 76px;
  height: 82px;
  object-fit: contain;
  display: block;
  margin: 9px auto 25px;
  filter: drop-shadow(0 9px 10px #b49bcb1a);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-delete {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  color: #aaa0b1;
  background: #fff9;
  border: 1px solid #eee8f2;
  border-radius: 8px;
}
.plan-delete .icon {
  width: 14px;
  height: 14px;
}
.plan-card h2 {
  font-size: 22px;
  letter-spacing: -0.7px;
  font-weight: 600;
}
.plan-card .description {
  font-size: 11px;
  color: #a293ae;
  margin-top: 5px;
}
.plan-price {
  font-size: 33px;
  letter-spacing: -1.1px;
  margin: 25px 0 0;
}
.plan-price small {
  font-size: 11px;
  color: #aa9eb4;
  letter-spacing: 0;
}
.plan-features {
  display: grid;
  gap: 15px;
  padding: 25px 0;
  border-block: 1px solid #efe8f5;
  margin: 24px 0;
}
.plan-features > div {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #9e8baa;
}
.plan-features .icon {
  width: 16px;
  height: 16px;
  color: #b29ac4;
}
.plan-features strong {
  margin-left: auto;
  color: #7d6b8a;
  font-weight: 500;
}
.note {
  font-size: 11px;
  color: #a295ac;
  background: #f6f3f9;
  border: 1px solid #ebe4f1;
  padding: 14px 17px;
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 23px;
}
.note .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.server-card {
  padding: 22px;
}
.server-card .card-head {
  margin-bottom: 22px;
}
.server-title {
  margin: 15px 0 4px;
  font-size: 15px;
  color: #73647f;
  font-weight: 600;
}
.server-caption {
  font-size: 10px;
  color: #aa9bb5;
}
.server-metrics {
  display: flex;
  justify-content: space-between;
  margin: 24px 0 19px;
  gap: 12px;
}
.server-metrics strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: #877395;
}
.server-metrics small {
  font-size: 9px;
  color: #b0a0bc;
}
.server-load {
  font-size: 9px;
  color: #a997b4;
}
.server-load .row {
  margin-bottom: 10px;
}
.server-card .button.full {
  margin-top: 23px;
  font-size: 10px;
  min-height: 35px;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #eae4f0;
  margin-bottom: 23px;
  overflow-x: auto;
}
.tabs button {
  white-space: nowrap;
  padding: 0 0 14px;
  border: 0;
  background: none;
  font-size: 11px;
  color: #a398ad;
  position: relative;
}
.tabs button.selected {
  color: #8a6c9f;
}
.tabs button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rainbow);
  transform: scaleX(0);
  transition: transform 180ms var(--ease);
}
.tabs button.selected:after {
  transform: scaleX(1);
}
.referral-hero {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 32px;
  min-height: 196px;
  background: linear-gradient(105deg, #fdfcfe, #f5effb 75%, #edf7f5);
  margin-bottom: 23px;
  overflow: hidden;
}
.referral-hero h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 10px 0;
}
.referral-hero p {
  font-size: 11px;
  color: #a090ad;
  max-width: 365px;
  line-height: 1.9;
}
.referral-art {
  position: relative;
  width: 150px;
  height: 135px;
  margin: 0 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.referral-art:before {
  content: "";
  position: absolute;
  inset: 8px 15px;
  background: linear-gradient(135deg, #ffffffcc, #f0dff64d, #d7f0ed60);
  border: 1px solid white;
  border-radius: 30px;
  transform: rotate(-10deg);
  box-shadow: 0 14px 30px #b595c117;
}
.referral-art .icon {
  width: 57px;
  height: 57px;
  stroke-width: 1.1;
  color: #b69ecb;
  z-index: 1;
}
.referral-art .badge {
  position: absolute;
  right: -20px;
  bottom: 5px;
  background: #ffffffcc;
  font-size: 12px;
  color: #aa8dc0;
  padding: 7px 12px;
  border: 1px solid #fff;
  box-shadow: 0 6px 17px #b29ac414;
}
.two-column {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.toggle {
  position: relative;
  display: block;
  border: 0;
  background: #e9e4ee;
  width: 35px;
  height: 20px;
  border-radius: 20px;
  padding: 0;
  flex-shrink: 0;
  transition: background 160ms ease;
}
.toggle:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px #00000012;
  transition: transform 180ms var(--ease);
}
.toggle[aria-checked="true"] {
  background: #c5b3d5;
}
.toggle[aria-checked="true"]:after {
  transform: translateX(15px);
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a390b0;
  font-size: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: block;
  margin-bottom: 17px;
}
.field > span {
  font-size: 11px;
  color: #8f789e;
  font-weight: 500;
  display: block;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  color: #7e698d;
  background: #fbf9fd;
  border: 1px solid #e9e0f0;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12px;
  outline-offset: 3px;
}
input::placeholder,
textarea::placeholder {
  color: #bcb0c6;
}
textarea {
  resize: vertical;
  min-height: 105px;
}
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #b49dc6;
}
.field small {
  display: block;
  font-size: 9px;
  color: #b09dbc;
  margin-top: 7px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 23px;
}
.form-error {
  font-size: 11px;
  color: #ae687a;
  margin-top: 12px;
}
.support-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 0;
  min-height: 470px;
  overflow: hidden;
  padding: 0;
}
.ticket-list {
  padding: 17px;
  border-right: 1px solid #eee6f4;
  background: #fdfcfe;
}
.ticket-list .search-field {
  min-width: 0;
  margin-bottom: 16px;
}
.ticket-button {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: none;
  padding: 14px 12px;
  border-radius: 10px;
  margin: 4px 0;
}
.ticket-button.selected {
  background: #f3edf8;
  border-color: #eae0f3;
}
.ticket-button strong {
  display: block;
  font-size: 11px;
  color: #91739f;
  margin: 8px 0 5px;
  font-weight: 500;
}
.ticket-button p {
  font-size: 9px;
  color: #b49ac3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-button .row {
  font-size: 9px;
  color: #b19ac0;
}
.ticket-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.thread-head {
  padding: 20px 23px;
  border-bottom: 1px solid #eee6f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.thread-head h2 {
  font-size: 13px;
  color: #8c6a9f;
}
.thread-head p {
  font-size: 9px;
  color: #b79ec6;
  margin-top: 5px;
}
.messages {
  padding: 25px 23px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  flex: 1;
  max-height: 450px;
  min-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.message {
  align-self: flex-start;
  max-width: 87%;
}
.message.admin {
  align-self: flex-end;
}
.message p {
  font-size: 11px;
  line-height: 1.8;
  background: #f7f3fa;
  color: #9f83b1;
  padding: 12px 15px;
  border: 1px solid #eee5f4;
  border-radius: 12px 12px 12px 3px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.admin p {
  background: #eee5f5;
  color: #8d6c9f;
  border-color: #e7d9f0;
  border-radius: 12px 12px 3px 12px;
}
.message small {
  display: block;
  font-size: 8px;
  color: #b79cc7;
  margin-top: 5px;
}
.message.admin small {
  text-align: right;
}
.reply-form {
  padding: 17px 23px;
  border-top: 1px solid #eee6f4;
}
.reply-form textarea {
  min-height: 75px;
  font-size: 11px;
}
.reply-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 12px;
}
.reply-bottom span {
  font-size: 9px;
  color: #b298c1;
}
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
}
.donut {
  width: 150px;
  height: 150px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(#c4b0d7 0 58%, #c5d5eb 58% 84%, #e2d3e8 84%);
}
.donut:before {
  content: "";
  position: absolute;
  inset: 18px;
  background: #fff;
  border-radius: 50%;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #9277a3;
  font-size: 22px;
  letter-spacing: -0.6px;
}
.donut-center small {
  font-size: 9px;
  color: #b097c0;
  letter-spacing: 0;
}
.donut-legend {
  display: grid;
  gap: 17px;
  flex: 1;
  font-size: 11px;
  color: #a389b4;
}
.donut-legend > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.funnel-row {
  margin-top: 22px;
}
.funnel-row .row {
  justify-content: space-between;
  font-size: 10px;
  color: #ab8fbc;
  margin-bottom: 9px;
}
.funnel-row .progress {
  height: 6px;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.integration-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid #efe5f4;
  background: linear-gradient(130deg, #f1f4fb, #f6eefb);
  display: grid;
  place-items: center;
  color: #ab92be;
  margin-bottom: 20px;
}
.integration-card p {
  font-size: 11px;
  color: #ad98bb;
  margin: 8px 0 20px;
  line-height: 1.8;
}
.role-table td:first-child {
  font-weight: 600;
}
.check-icon {
  color: #91ac9c;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 0;
}
.profile-card .avatar {
  width: 56px;
  height: 56px;
  font-size: 17px;
}
.profile-card h3 {
  font-size: 17px;
}
.profile-card p {
  color: #a18aac;
  font-size: 11px;
  margin-top: 3px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #eeeaf2;
  padding-top: 19px;
  margin-top: 29px;
  color: #b4aabd;
  font-size: 8px;
}
footer img {
  height: 13px;
  width: 11px;
  opacity: 0.5;
}
footer .row {
  gap: 6px;
}
footer a {
  color: #a99bb4;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + var(--sidebar) / 2);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #322a3ded;
  color: #fff;
  padding: 13px 20px;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  box-shadow: 0 8px 25px #27163220;
  font-size: 11px;
  max-width: calc(100vw - 32px);
  width: max-content;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 15px);
  transition:
    opacity 200ms var(--ease),
    transform 200ms var(--ease);
  backdrop-filter: blur(12px);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast .icon {
  width: 16px;
  height: 16px;
  color: #d0bedf;
}
dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  margin: auto;
  border: 1px solid #ffffffeb;
  border-radius: 21px;
  background: #fffffff7;
  box-shadow: 0 25px 100px #30203926;
  padding: 27px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition:
    opacity 200ms var(--ease),
    transform 240ms var(--ease);
}
dialog.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
dialog::backdrop {
  background: #33233e30;
  backdrop-filter: blur(4px);
}
dialog.wide {
  width: min(680px, calc(100vw - 32px));
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.dialog-head h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.7px;
  color: #65526f;
}
.dialog-head .icon-button {
  border: 0;
  background: #f7f2fa;
  color: #a78bb9;
}
.dialog-copy {
  color: #a087b0;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 22px 0;
}
.detail-grid span {
  font-size: 10px;
  color: #b39cc2;
  display: block;
  margin-bottom: 6px;
}
.detail-grid strong {
  font-size: 13px;
  color: #9474a4;
  font-weight: 500;
}
.detail-section {
  border-top: 1px solid #eee5f4;
  margin-top: 17px;
  padding-top: 19px;
}
.detail-section h3 {
  color: #9679a6;
  font-size: 12px;
  margin-bottom: 13px;
}
.detail-section .button {
  margin-right: 6px;
  margin-top: 7px;
}
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.skeleton-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 22px;
  border-bottom: 1px solid #f2edf6;
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: #f0eaf5;
  border-radius: 5px;
  height: 10px;
}
.skeleton:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #ffffffa0, transparent);
  animation: shimmer 1.2s linear infinite;
}
.skeleton-avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  flex-shrink: 0;
}
.skeleton-copy {
  display: grid;
  gap: 9px;
  width: 40%;
}
.skeleton-cell {
  width: 15%;
  margin-left: auto;
}
.splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #fdfcfe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 420ms ease;
}
.splash.leaving {
  opacity: 0;
  pointer-events: none;
}
.splash-art {
  width: 70px;
  height: 89px;
  position: relative;
  animation: splash-in 700ms var(--ease) both;
}
.splash-art:before {
  content: "";
  position: absolute;
  inset: -45px;
  z-index: -1;
  background: conic-gradient(#ecddf5, #dff6f4, #f6e0ec, #ecddf5);
  filter: blur(35px);
  opacity: 0.7;
}
.splash-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.splash-word {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 700;
  margin-top: 19px;
}
.splash-word span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #b09abc;
  margin-left: 9px;
}
.splash p {
  font-size: 10px;
  color: #ad9ab9;
  margin-top: 10px;
}
.splash-track {
  width: 80px;
  height: 2px;
  border-radius: 3px;
  background: #f0eaf4;
  overflow: hidden;
  margin-top: 25px;
}
.splash-track span {
  display: block;
  height: 100%;
  background: var(--rainbow);
  transform-origin: left;
  animation: load 850ms var(--ease) both;
}
.noscript {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #fff;
  display: grid;
  place-items: center;
}
.menu-backdrop {
  display: none;
}
.keyboard-input *,
.keyboard-input *:before,
.keyboard-input *:after {
  animation-duration: 0ms !important;
  transition-duration: 0ms !important;
}
.event-link {
  display: flex;
}
.welcome h2 {
  line-height: 1.35;
}
.stat-value {
  position: relative;
  z-index: 1;
}
.stat:has(.sparkline) .stat-value {
  max-width: calc(100% - 52px);
  white-space: nowrap;
}
.chart-hit {
  outline-offset: -2px;
}
.keyboard-input .chart-hit:focus {
  fill: #b4a0cc14;
}
/* Keep the soft palette in surfaces; working content needs clearer contrast. */
.nav-link {
  font-size: 12px;
}
.region-name,
.person strong,
.event strong {
  font-size: 11px;
}
.region-sub,
.person small,
.event p {
  font-size: 9px;
}
.person strong,
td strong,
.event strong,
.server-title,
.ticket-button strong,
.thread-head h2 {
  color: #68606f;
}
td {
  font-size: 11px;
  color: #817789;
}
.person small,
.region-sub,
.event p,
.ticket-button p,
.thread-head p {
  color: #94869f;
}
.message p {
  font-size: 12px;
  color: #80718c;
}
.message.admin p {
  color: #756082;
}
.dialog-copy {
  color: #82708e;
}
.field > span {
  color: #807089;
}
.detail-grid strong {
  color: #7b628c;
}
.plan-card > .button {
  align-self: end;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes splash-in {
  from {
    opacity: 0;
    transform: translateY(9px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes load {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes crystal-float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: #f8f5fb;
    border-color: #ddd0e8;
  }
  .button.primary:hover {
    background: #44404c;
    border-color: #44404c;
  }
  .button.danger:hover {
    background: #f8e9ed;
  }
  .icon-button:hover {
    background: #f3edf8;
  }
  .nav-link:hover:not(.active) {
    background: #eeeaf3;
    color: #8d789c;
  }
  .person-button:hover strong {
    color: #a17abf;
  }
  .ticket-button:hover:not(.selected) {
    background: #faf6fd;
  }
  .account:hover {
    background: #eeebf2;
  }
  .plan-card {
    transition:
      transform 220ms var(--ease),
      box-shadow 220ms ease;
  }
  .plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #a38aae0c;
  }
  tbody tr:hover {
    background: #fdfbfe;
  }
  .event-link:hover strong {
    color: #a382bb;
  }
  .toggle:hover {
    opacity: 0.85;
  }
  .plan-delete:hover {
    color: #ad6069;
    background: #fcf2f3;
    border-color: #f1e2e5;
  }
}
@media (min-width: 1600px) {
  .content {
    padding-top: 40px;
  }
  .welcome {
    min-height: 176px;
  }
  .hero-art {
    height: 176px;
    right: 70px;
  }
  .chart {
    height: 215px;
  }
  .stat {
    padding: 24px;
  }
  .stat-value {
    font-size: 31px;
  }
  .page-intro {
    margin-bottom: 30px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 218px;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .content {
    padding: 28px 25px 20px;
  }
  .topbar {
    padding-inline: 25px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .stat-value {
    font-size: 24px;
  }
  .sparkline {
    width: 45px;
    right: 13px;
    bottom: 37px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(265px, 1fr);
    gap: 17px;
  }
  .hero-art {
    right: 17px;
  }
  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-grid {
    gap: 15px;
  }
  .plan-card {
    padding: 22px;
  }
  .support-layout {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  th,
  td {
    padding-inline: 16px;
  }
}
@media (max-width: 1000px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-value {
    font-size: 27px;
  }
  .sparkline {
    width: 70px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .server-overview .regions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }
  .events-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .event {
    padding-bottom: 8px;
  }
  .event:after {
    display: none;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }
  .plan-card .plan-top,
  .plan-card .plan-features,
  .plan-card > .button {
    grid-column: 2;
  }
  .plan-card .plan-top {
    grid-row: 1;
  }
  .plan-card .plan-art {
    grid-row: 1 / span 3;
    margin: 15px auto;
    width: 90px;
    height: 105px;
  }
  .plan-card h2,
  .plan-card > .description,
  .plan-card .plan-price {
    grid-column: 1;
  }
  .plan-card .plan-features {
    grid-row: 2 / span 4;
    margin: 10px 0;
  }
  .plan-card > .button {
    grid-row: 6;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .support-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .thread-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .intro-actions .button {
    padding-inline: 11px;
  }
  .page-intro {
    align-items: flex-start;
  }
  .page-intro h1 {
    font-size: 26px;
  }
  .referral-art {
    margin: 0;
  }
  .donut-wrap {
    justify-content: center;
  }
  footer > span:nth-child(2) {
    max-width: 220px;
    text-align: center;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .workspace {
    margin-left: 0;
  }
  .sidebar {
    width: 248px;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 260ms cubic-bezier(0.32, 0.72, 0, 1),
      visibility 260ms;
    max-height: 100dvh;
    padding-top: calc(23px + env(safe-area-inset-top));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
  }
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: #38283e33;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 220ms ease,
      visibility 220ms;
  }
  .menu-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu {
    display: grid;
    border: 0;
    background: none;
    color: #a18cab;
  }
  .topbar {
    height: 67px;
    padding: env(safe-area-inset-top) 19px 0;
  }
  .topbar > .row {
    gap: 9px;
  }
  .breadcrumbs {
    font-size: 9px;
    gap: 9px;
  }
  .breadcrumbs > span:first-child {
    display: none;
  }
  .breadcrumb-chevron {
    display: none;
  }
  .content {
    padding: 25px 20px 20px;
  }
  .page-intro {
    gap: 13px;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .page-intro h1 {
    font-size: 27px;
  }
  .page-intro p {
    font-size: 10px;
  }
  .intro-actions {
    gap: 8px;
  }
  .welcome {
    padding: 24px;
    min-height: 159px;
  }
  .welcome h2 {
    font-size: 23px;
  }
  .welcome-copy {
    max-width: 64%;
  }
  .welcome p {
    font-size: 10px;
    max-width: 210px;
  }
  .hero-art {
    right: -23px;
    transform: scale(0.83);
  }
  .hero-label {
    left: 25px;
    bottom: 11px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .stat-label {
    font-size: 10px;
  }
  .dashboard-grid {
    gap: 18px;
  }
  .card {
    border-radius: 16px;
  }
  .chart {
    height: 190px;
  }
  .server-grid {
    gap: 13px;
  }
  .server-card {
    padding: 18px;
  }
  .server-metrics {
    gap: 7px;
  }
  .server-metrics strong {
    font-size: 17px;
  }
  .server-title {
    font-size: 13px;
  }
  .support-layout {
    grid-template-columns: 1fr;
  }
  .ticket-list {
    border-right: 0;
    border-bottom: 1px solid #eee6f4;
    max-height: 245px;
    overflow: auto;
  }
  .thread-head {
    flex-direction: row;
    align-items: center;
    padding: 19px;
  }
  .thread-head h2 {
    font-size: 12px;
  }
  .messages {
    padding: 20px;
  }
  .reply-form {
    padding: 17px 20px;
  }
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .referral-hero {
    padding: 25px;
    min-height: 195px;
  }
  .referral-hero h2 {
    font-size: 24px;
  }
  .referral-art {
    width: 100px;
    margin: 0 5px;
  }
  .referral-art .badge {
    right: -5px;
    font-size: 10px;
  }
  .referral-art:before {
    inset: 20px 0;
  }
  .referral-art .icon {
    width: 46px;
    height: 46px;
  }
  .toolbar {
    gap: 12px;
  }
  .search-field {
    min-width: 180px;
    flex: 1;
  }
  .filters {
    flex-wrap: wrap;
  }
  .toast {
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
  footer {
    flex-wrap: wrap;
    font-size: 8px;
    gap: 12px;
  }
  footer > span:nth-child(2) {
    order: 3;
    width: 100%;
    max-width: none;
    text-align: left;
  }
  dialog {
    padding: 23px;
    max-height: calc(100dvh - 32px);
  }
  .dialog-head h2 {
    font-size: 19px;
  }
}
@media (max-width: 430px) {
  .content {
    padding-inline: 16px;
  }
  .topbar {
    padding-inline: 12px;
  }
  .intro-actions {
    width: 100%;
    justify-content: space-between;
  }
  .welcome {
    padding: 22px 19px;
  }
  .welcome h2 {
    font-size: 21px;
  }
  .welcome p {
    max-width: 180px;
    font-size: 9px;
  }
  .hero-art {
    right: -48px;
    transform: scale(0.72);
  }
  .hero-label {
    display: none;
  }
  .welcome .badge {
    font-size: 8px;
  }
  .stat {
    padding: 15px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-bottom {
    font-size: 8px;
    gap: 4px;
  }
  .sparkline {
    width: 42px;
    right: 12px;
    bottom: 37px;
  }
  .stat-top {
    font-size: 9px;
  }
  .card {
    padding: 19px;
  }
  .table-card,
  .support-layout {
    padding: 0;
  }
  .server-grid {
    grid-template-columns: 1fr;
  }
  .server-overview .regions {
    grid-template-columns: 1fr;
  }
  .events-list {
    grid-template-columns: 1fr;
  }
  .chart-card .card-head {
    align-items: flex-start;
  }
  .chart-card .segmented button {
    padding-inline: 8px;
  }
  .chart-summary strong {
    font-size: 21px;
  }
  .referral-hero {
    padding: 22px;
  }
  .referral-art {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .plan-card {
    grid-template-columns: 1fr 1fr;
    padding: 22px;
  }
  .plan-card .plan-art {
    width: 65px;
    height: 80px;
  }
  .plan-card .plan-features {
    gap: 13px;
  }
  .plan-features > div {
    font-size: 9px;
    gap: 5px;
  }
  .plan-features .icon {
    width: 13px;
    height: 13px;
  }
  .plan-card > .description {
    font-size: 10px;
  }
  .plan-price {
    font-size: 28px;
  }
  .plan-price small {
    font-size: 9px;
  }
  .filter-chips button {
    padding-inline: 10px;
  }
  .thread-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .donut-wrap {
    gap: 20px;
  }
  .donut {
    width: 130px;
    height: 130px;
  }
  .donut-legend {
    font-size: 10px;
  }
  .tabs {
    gap: 23px;
  }
  .table-footer {
    padding-inline: 15px;
  }
  .reply-bottom span {
    max-width: 135px;
  }
  .intro-actions select {
    flex: 1;
  }
  .detail-grid {
    gap: 16px;
  }
}
@media (max-width: 430px) {
  .sparkline {
    display: none;
  }
  .stat:has(.sparkline) .stat-value {
    max-width: none;
  }
  .card-head .badge {
    white-space: normal;
    text-align: center;
  }
  .plan-top .badge {
    font-size: 8px;
    max-width: 96px;
    text-align: left;
  }
}
@media (pointer: coarse) {
  input,
  textarea,
  select,
  .search-field input,
  .reply-form textarea,
  .intro-actions select {
    font-size: 16px;
  }
  .icon-button {
    min-width: 40px;
    min-height: 40px;
  }
  .button {
    min-height: 42px;
  }
  .toggle:before {
    content: "";
    position: absolute;
    inset: -12px -5px;
  }
  .nav-link {
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 80ms !important;
  }
  button:active {
    transform: none;
  }
  .hero-art img {
    animation: none;
  }
  .splash-art {
    animation: none;
  }
  dialog {
    transform: none;
  }
  .sidebar {
    transition: opacity 80ms ease;
  }
  .toast {
    transform: translate(-50%, 0);
  }
}
/* Pearl glass: the material and motion language of personal-account.
   styles.css supplies the data views; this file owns their visual presentation. */
:root {
  --ink: #302d35;
  --muted: #78717f;
  --line: #ffffffa6;
  --bg: #efeced;
  --paper: #ffffff60;
  --sidebar: 0px;
  --purple: #69616f;
  --green: #527b65;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --glass: linear-gradient(145deg, #ffffffa8, #ffffff58);
  --glass-shadow: inset 0 1px #fff, 0 12px 28px #63536a0b;
  --graphite: linear-gradient(145deg, #49454d, #27242c);
  --bar-material: linear-gradient(180deg, #514c59, #29262f);
  --bar-highlight: linear-gradient(180deg, #9c7db3, #72588c);
}
body { background: var(--bg); color: var(--ink); font-size: 14px; }
::selection { background: #c5bed5; color: #29252e; }
.ambient-light { position: fixed; inset: 0; z-index: -1; background: #efeced; overflow: hidden; isolation: isolate; pointer-events: none; }

/* A framed studio, with a separate floating dock. */
.workspace { position: relative; margin: 36px 30px 36px 110px; min-height: calc(100dvh - 72px); border: 1px solid #ffffffeb; border-radius: 30px; background: linear-gradient(125deg, #ffffff38, #ffffff18 50%, #ffffff40); box-shadow: 0 25px 80px #64596714, inset 0 1px #fff; }
.topbar { position: relative; height: 80px; padding: 0 28px; border-bottom: 1px solid #ffffff80; background: transparent; gap: 16px; border-radius: 30px 30px 0 0; }
.brand { margin: 0; padding: 0; gap: 9px; }
.brand img { width: 27px; height: 31px; opacity: .88; filter: drop-shadow(0 2px 3px #625b6650); }
.brand > span { font-size: 28px; letter-spacing: -1.5px; font-weight: 800; }
.brand sup { font-size: 8px; margin: 4px 0 0 4px; color: #827985; letter-spacing: 1.4px; }
.section-capsule { display: grid; place-items: center; position: absolute; isolation: isolate; left: 50%; transform: translateX(-50%); width: 280px; min-height: 43px; padding: 10px 20px; overflow: hidden; border: 1px solid #ffffffbf; border-radius: 999px; background: #ffffff35; box-shadow: inset 0 1px #ffffffd9; font-size: 14px; font-weight: 650; }
.section-capsule::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(100deg, transparent 18%, #ffffff8c 47%, transparent 76%); transform: translateX(-135%); animation: capsule-sheen 7s var(--ease-in-out) infinite; pointer-events: none; }
.section-capsule > * { position: relative; z-index: 1; }
@keyframes capsule-sheen { 0%, 68% { transform: translateX(-135%); } 88%, 100% { transform: translateX(135%); } }
.profile-chip { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 4px 12px 4px 5px; border: 1px solid #fff; border-radius: 999px; color: #534c59; background: #ffffff52; font-size: 11px; }
.profile-chip > span:last-child { font-size: 21px; line-height: 1; margin-left: 3px; }
.avatar, .avatar.lilac, .avatar.blue, .avatar.mint, .avatar.peach { background: linear-gradient(145deg, #fefefe, #dedce2); border: 1px solid #fff; color: #59515f; box-shadow: inset 0 1px #fff, 0 4px 12px #3b35430b; }
.content { padding: 0 28px 23px; max-width: none; min-height: calc(100dvh - 154px); display: flex; flex-direction: column; }
.route-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 0 23px; color: #726b78; font-size: 10px; }
.route-line > div { display: flex; align-items: center; gap: 21px; }
.route-line > div > span:first-child { font-size: 8px; letter-spacing: .85px; color: #8a818f; }
.route-divider { color: #a19aa5; }
.demo-badge { display: flex; align-items: center; gap: 6px; border: none; color: #807685; padding: 0; font-size: 9px; }
.demo-badge .status-dot { width: 4px; height: 4px; color: #a99dac; }
.page { flex: 1; min-width: 0; }
.sidebar { inset: 50% auto auto 25px; width: 66px; max-height: calc(100dvh - 36px); padding: 9px 7px; transform: translateY(-50%); overflow: visible; border: 1px solid #ffffffdd; border-radius: 999px; background: linear-gradient(140deg, #ffffff80, #ffffff35); box-shadow: inset 0 1px #fff, 0 15px 35px #45354e14; }
.dock-heading, .dock-close { display: none; }
#main-nav { display: flex; flex-direction: column; gap: 4px; position: relative; }
.nav-caption { display: none; }
.nav-separator { flex-shrink: 0; height: 1px; margin: 7px 12px; background: #ffffff91; }
.nav-link { position: relative; display: flex; align-items: center; justify-content: center; width: 50px; height: 48px; min-height: 48px; margin: 0; padding: 0; border-radius: 999px; border: 0; color: #756b7e; font-size: 11px; background: transparent; z-index: 1; }
.nav-link .icon { width: 19px; height: 19px; }
.nav-link.active { color: #302a37; background: transparent; box-shadow: none; border: 0; }
.nav-link.active::before { display: none; }
.nav-link > span:not(.nav-count) { position: absolute; left: 65px; top: 50%; transform: translate(-5px, -50%); display: block; white-space: nowrap; padding: 9px 14px; border: 1px solid #ffffff60; border-radius: 12px; background: #39343fed; color: #fff; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 140ms ease, transform 180ms var(--ease), visibility 140ms; box-shadow: 0 8px 20px #39343f14; }
.nav-count { position: absolute; right: 5px; top: 3px; min-width: 14px; height: 14px; padding: 0 3px; border: 1px solid #fff; border-radius: 50%; background: #e9e1ee; color: #62576e; font-size: 8px; }
.dock-selection { position: absolute; top: 0; left: 0; width: 50px; height: 48px; pointer-events: none; border: 1px solid #fffffff0; border-radius: 999px; background: radial-gradient(ellipse at 32% 14%, #fffd 0, #efedf5dc 35%, #d8d5e1ae 100%); box-shadow: inset 0 2px 2px #fff, inset 0 -2px 5px #aea4b454, 0 4px 11px #574a6720, 0 0 16px #fff9; }
.dock-selection.is-ready { transition: transform 480ms linear(0, .08, .27, .57, .84, 1.025, 1.075, 1.045, 1.012, 1), height 250ms ease; }
.sidebar-bottom { padding-top: 6px; margin-top: 7px; border-top: 1px solid #ffffff91; }
.network-status { position: relative; display: grid; place-items: center; height: 28px; color: #64826e; }
.network-status .status-dot { width: 6px; height: 6px; box-shadow: 0 0 0 4px #ffffff80; }
.network-status > span:last-child { position: absolute; left: 63px; white-space: nowrap; border: 1px solid #fff; border-radius: 12px; padding: 9px 14px; background: #f7f5f8ed; color: #615b68; font-size: 10px; opacity: 0; visibility: hidden; }
.network-status:hover > span:last-child, .network-status:focus-visible > span:last-child { opacity: 1; visibility: visible; }

/* The white rim and translucent pearl body are shared by every view. */
h1 { font-size: 32px; font-weight: 600; letter-spacing: -1.15px; }
h2 { color: #35303b; font-size: 17px; font-weight: 650; }
.page-intro { margin-bottom: 23px; align-items: center; gap: 18px; }
.page-intro p { color: #807786; font-size: 12px; margin-top: 6px; }
.card, .stat { background: var(--glass); border: 1px solid #fffffff0; border-radius: 22px; box-shadow: var(--glass-shadow); }
.card { padding: 24px; }
.card-head { margin-bottom: 22px; }
.card-head p { color: #8b8093; line-height: 1.6; }
.stats-grid { gap: 14px; margin-bottom: 18px; }
.stat { padding: 19px 20px; overflow: hidden; }
.stat-top { color: #786e81; font-size: 10px; margin-bottom: 14px; }
.stat-top .icon { color: #8d8198; }
.stat-value { font-size: clamp(25px, 2.25vw, 36px); letter-spacing: -1.3px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.stat:has(.sparkline) .stat-value { max-width: none; }
.stat-value small { color: #8e8395; font-size: 11px; }
.stat-bottom { margin-top: 12px; font-size: 10px; color: #8c8193; flex-wrap: wrap; gap: 4px; }
.trend { color: #607c69; }
.sparkline { right: 19px; bottom: 48px; width: 44px; opacity: .28; }
.sparkline path { stroke: #6d6277; }
.dashboard-grid { grid-template-columns: minmax(0, 1.65fr) minmax(310px, 1fr); gap: 18px; margin-bottom: 18px; }
.chart-card { padding: 26px; }
.chart-summary strong { font-size: 37px; font-weight: 500; letter-spacing: -1.6px; color: #38313e; }
.chart-summary { gap: 12px; }
.chart { margin-top: 22px; min-height: 228px; }
.chart-grid { stroke: #b4a8bb25; stroke-dasharray: none; }
.chart-label { fill: #95889f; font-size: 9px; }
.chart-bar { background: var(--bar-material); transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease; }
.chart-bar.is-selected { background: var(--bar-highlight); }
.chart-bottom { border-color: #ffffff85; color: #8b7e93; font-size: 10px; padding-top: 16px; }
.chart-bottom strong { color: #7a6d83; }
.chart-tooltip { border: 1px solid #fff; color: #473b50; background: linear-gradient(145deg, #fffffff0, #f0eaf4eb); box-shadow: 0 12px 25px #5f4c7320; border-radius: 13px; transition: opacity 130ms ease, left 150ms var(--ease); z-index: 5; }
.region-row { border-color: #ffffff80; padding-block: 16px; }
.region-name, .person strong { color: #50455d; }
.region-sub, .person small, .event p { color: #94869f; }
.flag { box-shadow: 0 0 0 1px #ffffff90, 0 3px 5px #5b456714; }
.load-value { color: #8a7a96; }
.progress { background: #ada0b621; height: 5px; }
.progress > span { background: linear-gradient(90deg, #95879f, #c6bccd); }
.progress.green > span { background: linear-gradient(90deg, #8ca499, #b6ccc1); }
.progress.amber > span { background: linear-gradient(90deg, #a5957e, #d4c2a8); }
.server-foot { border-color: #ffffff9c; background: #ffffff38; color: #8c7b97; border-radius: 12px; }
.server-grid { gap: 18px; }
.server-card { padding: 24px; }
.server-title { color: #51465d; margin-top: 22px; font-size: 18px; font-weight: 550; }
.server-caption { color: #8e7f99; }
.server-metrics { padding-block: 21px; border-color: #ffffff70; }
.server-metrics strong { color: #554960; font-size: 23px; font-weight: 550; }
.server-metrics small, .server-load { color: #92829d; }
.table-card, .support-layout { padding: 0; }
.table-card > .card-head { padding: 23px 24px 0; }
table { font-size: 12px; }
th { color: #8c7d97; font-size: 10px; font-weight: 550; background: #ffffff32; border-color: #ffffff85; padding: 14px 22px; }
td { color: #675774; border-color: #ffffff80; padding: 16px 22px; }
td strong, .amount { color: #4f405c; }
.table-id { color: #96879f; }
.table-footer { border-color: #ffffff80; color: #8a7d95; }
.person .avatar { width: 34px; height: 34px; }
.person strong { font-size: 11px; }
.person small { font-size: 9px; }
.plan-tag { color: #74647f; }
.plan-tag img { filter: saturate(.15); opacity: .85; }
.badge { padding: 5px 10px; border-radius: 999px; color: #807189; background: #f7f3fa85; font-size: 9px; }
.badge.green { color: #537360; background: #e4efe68f; }
.badge.amber { color: #8f744e; background: #f5ecda9c; }
.badge.red { color: #a7646c; background: #f4e0e490; }
.badge.purple { color: #7b688c; background: #e9e1f09c; }
.tile, .tile.lilac, .tile.blue, .tile.mint, .tile.peach { background: linear-gradient(145deg, #ffffffad, #ffffff60); color: #887696; border: 1px solid #ffffffeb; border-radius: 13px; box-shadow: inset 0 1px #fff, 0 5px 12px #57456908; }
.event { padding: 17px 0; border-color: #ffffff80; }
.event strong { color: #665272; }
.event time { color: #9a8ca2; }
.event:not(:last-child)::after { background: #ffffffb0; }
.event .tile { width: 34px; height: 34px; }

/* Controls use the same graphite action and pill silhouettes as the cabinet. */
.button { min-height: 40px; padding: 10px 17px; border-radius: 999px; background: linear-gradient(140deg, #ffffff99, #f7f5f66b); border-color: #ffffffee; color: #3b353f; box-shadow: inset 0 1px #fff, 0 7px 14px #5145570b; font-size: 11px; transition: transform 160ms var(--ease), background 160ms ease, box-shadow 160ms ease; }
.button.primary { color: #fff; background: var(--graphite); border-color: #605968; box-shadow: inset 0 1px #ffffff30, 0 9px 20px #3a2e421f; }
.button.soft { background: linear-gradient(130deg, #ffffffc2, #ffffff73); border-color: #fff; color: #3b353f; }
.button.danger { color: #a65e69; background: #f6e5e9a3; border-color: #ffffffb3; }
.button.text { color: #897395; padding: 4px 0; min-height: 28px; background: transparent; box-shadow: none; }
.button .icon { width: 15px; height: 15px; }
.icon-button, .period-calendar { color: #7c6a87; border-color: #ffffffdf; background: linear-gradient(145deg, #ffffff7d, #ffffff28); box-shadow: inset 0 1px #fff, 0 5px 10px #4234470b; border-radius: 50%; }
.period-control { gap: 7px; }
.intro-actions select { border: 1px solid #ffffffd9; border-radius: 999px; background-color: #ffffff70; color: #897795; min-height: 40px; box-shadow: inset 0 1px #fff; }
.period-calendar { width: 40px; height: 40px; }
.date-note { color: #92829a; }
.toolbar { gap: 12px; margin-bottom: 20px; }
.search-field { background: #ffffff80; border-color: #ffffffef; border-radius: 999px; box-shadow: inset 0 1px #fff; min-height: 42px; }
.search-field .icon { color: #93829f; }
.search-field input { color: #675374; padding-block: 10px; }
.search-field input::placeholder { color: #a08dac; }
.segmented, .filter-chips { gap: 4px; padding: 4px; background: #ffffff3d; border: 1px solid #ffffff9c; border-radius: 999px; }
.segmented button, .filter-chips button { border: 1px solid transparent; border-radius: 999px; color: #92809f; font-size: 10px; min-height: 32px; padding: 7px 13px; background: transparent; }
.segmented button.selected, .filter-chips button.selected { color: #665271; border-color: #fff; background: linear-gradient(145deg, #ffffffd4, #ffffff70); box-shadow: inset 0 1px #fff, 0 4px 11px #6955750d; }
.has-selection { position: relative; isolation: isolate; }
.control-selection { position: absolute; top: 0; left: 0; z-index: -1; pointer-events: none; border: 1px solid #fff; border-radius: 999px; background: linear-gradient(145deg, #ffffffd4, #ffffff70); box-shadow: inset 0 1px #fff, 0 4px 11px #6955750d; }
.has-selection > button.selected { background: transparent; border-color: transparent; box-shadow: none; }
.pagination button { background: #ffffff4a; border: 1px solid transparent; color: #94849f; border-radius: 50%; }
.pagination button.selected { color: #5c466b; background: #ffffffa8; border-color: #fff; box-shadow: inset 0 1px #fff; }
.toggle { background: #c9c0d1; border: 1px solid #ffffffba; box-shadow: inset 0 2px 3px #54405e15; }
.toggle[aria-checked="true"] { background: #82718c; }
.toggle::after { box-shadow: 0 2px 5px #4c3a6420; }
.note { background: #ffffff3d; border-color: #ffffffb8; color: #96839f; border-radius: 16px; }
.note .icon { color: #9e84ac; }
.thread-head, .ticket-list, .reply-form { border-color: #ffffff85; }
.ticket-button { border-color: #ffffff70; }
.ticket-list { background: #ffffff24; }
.ticket-button.selected { background: #ffffff73; border-color: #ffffff70; box-shadow: inset 3px 0 #ab94b9; }
.ticket-button strong, .thread-head h2 { color: #514456; }
.ticket-button p, .thread-head p { color: #9e85aa; }
.message p { border: 1px solid #ffffffbf; border-radius: 18px 18px 18px 4px; background: #ffffff73; color: #706975; }
.message.admin p { color: #fff; background: var(--graphite); border-color: #605968; border-radius: 18px 18px 4px 18px; }
.message small { color: #a08bae; }
.message.admin small { color: #86708f; }
.reply-bottom span { color: #a58baf; }
.donut { background: conic-gradient(#706376 0 58%, #ac9bb9 58% 84%, #d2c3da 84%); box-shadow: 0 0 0 5px #ffffff50, 0 12px 25px #75637e16; }
.donut::before { background: linear-gradient(145deg, #f7f2f7, #ebe5ed); }
.donut-center { color: #796584; }
.donut-legend { color: #937b9f; }
.funnel-row .row { color: #8c6d9b; }
.integration-mark { background: #ffffff60; color: #9275a0; border: 1px solid #fff; }
.integration-card p { color: #a086ad; }
.check-icon { color: #7d927e; }

/* Dialogs and floating feedback are the same material, with denser inputs. */
dialog { border: 1px solid #fffffff0; border-radius: 26px; background: linear-gradient(145deg, #fdfbfded, #eee8f2eb); backdrop-filter: blur(32px) saturate(1.2); box-shadow: inset 0 1px #fff, 0 30px 100px #4c3b6838; color: #514456; transform: translateY(10px) scale(.98); transition: opacity 180ms ease, transform 240ms var(--ease); }
dialog.visible { transform: translateY(0) scale(1); }
dialog::backdrop { background: #5f4d6b40; backdrop-filter: blur(8px); }
.dialog-head h2 { color: #363038; font-size: 23px; font-weight: 550; }
.dialog-copy { color: #716878; }
.field > span { color: #363038; font-size: 11px; }
input, select, textarea { border-color: #ffffffee; background: linear-gradient(145deg, #fffffff0, #e8dfedd4); color: #584660; border-radius: 13px; box-shadow: inset 0 1px #fff, inset 0 -2px 8px #6c518509; }
input::placeholder, textarea::placeholder { color: #ad8dbc; }
.search-field input { background: transparent; box-shadow: none; }
.field small { color: #a586b4; }
.field :is(input, select, textarea):focus { border-color: #a68eb3; }
.form-actions { border-color: #ffffffb0; }
.detail-grid { border-color: #ffffffb3; }
.detail-grid span { color: #a387af; }
.detail-grid strong { color: #514456; }
.detail-section h3 { color: #514456; }
.profile-card { background: #ffffff6e; border-color: #fff; }
.profile-card h3 { color: #363038; }
.profile-card p { color: #a183b0; }
.toast { border: 1px solid #ffffff6b; border-radius: 999px; background: #39313fec; color: #fff; box-shadow: 0 16px 35px #4b365b26; backdrop-filter: blur(20px); }
.toast .icon { color: #e7d7f0; }
footer { margin-top: 38px; border-color: #ffffff9c; color: #a18baa; font-size: 9px; gap: 15px; }
footer img { width: 14px; height: 16px; opacity: .7; }
footer a { color: #9b82a8; }
.splash { background: linear-gradient(125deg, #efe9ede8, #e6eeeceb, #ede4f1e8); }
.splash-art { animation: none; }
.splash-art::before { background: radial-gradient(circle, #ffffffd0, #d6c9df38 50%, transparent 70%); }
.splash-art img { filter: drop-shadow(0 10px 17px #75608020); }
.splash-word { color: #4b3d54; }
.splash-word span, .splash p { color: #a080b0; }
.splash-track { background: #cbbcd630; }
.splash-track span { background: linear-gradient(90deg, #b6abc0, #807388); }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid #82768d; outline-offset: 4px; }
.keyboard-input *, .keyboard-input *::before, .keyboard-input *::after { transition-duration: 0ms !important; }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover:not(.active) { color: #403346; background: #ffffff45; }
  .nav-link:hover > span:not(.nav-count), .nav-link:focus-visible > span:not(.nav-count) { opacity: 1; visibility: visible; transform: translate(0, -50%); }
  .button:hover { background: #ffffffc7; border-color: #fff; box-shadow: inset 0 1px #fff, 0 8px 19px #69557416; }
  .button.primary:hover { background: linear-gradient(145deg, #58515e, #343038); border-color: #726379; box-shadow: 0 10px 25px #3a2e4229; }
  .button.text:hover { background: transparent; color: #675171; box-shadow: none; }
  .button.danger:hover { background: #f5dce3ba; }
  .icon-button:hover, .profile-chip:hover { background: #ffffffa3; border-color: #fff; }
  tbody tr:hover, .ticket-button:hover:not(.selected) { background: #ffffff48; }
  .person-button:hover strong, .event-link:hover strong { color: #7f5d91; }
}
.nav-link:focus-visible > span:not(.nav-count) { opacity: 1; visibility: visible; transform: translate(0, -50%); }
@media (min-width: 1660px) {
  .workspace { width: 1450px; margin-left: auto; margin-right: auto; }
  .sidebar { left: calc(50% - 810px); }
  .content { padding-inline: 32px; }
  .topbar { padding-inline: 32px; }
}
@media (min-width: 901px) and (max-height: 660px) {
  .sidebar { border-radius: 28px; padding-block: 7px; }
  .nav-link { height: 39px; min-height: 39px; }
  #main-nav { gap: 2px; }
  .nav-separator { margin-block: 4px; }
  .sidebar-bottom { margin-top: 4px; padding-top: 4px; }
}
@media (min-width: 1101px) {
  .server-overview .regions { display: block; }
  .events-list { display: block; }
}
@media (max-width: 1250px) and (min-width: 901px) {
  .workspace { margin: 24px 20px 24px 100px; min-height: calc(100dvh - 48px); }
  .sidebar { left: 19px; }
  .section-capsule { width: 220px; }
  .content, .topbar { padding-inline: 22px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr); }
  .server-overview .regions, .events-list { display: block; }
  .chart-summary strong { font-size: 30px; }
  .chart-card { padding: 22px; }
  .event { padding: 14px 0; }
  .sparkline { width: 56px; }
}
@media (max-width: 1100px) {
  .two-column { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .workspace { margin: 16px; min-height: calc(100dvh - 32px); border-radius: 25px; }
  .topbar { height: 74px; border-radius: 25px 25px 0 0; padding-inline: 22px; gap: 10px; }
  .topbar > .row { gap: 12px; }
  .mobile-menu { display: inline-grid; border-radius: 50%; width: 38px; height: 38px; }
  .section-capsule { width: 195px; min-height: 38px; font-size: 12px; }
  .brand > span { font-size: 25px; }
  .brand sup { display: none; }
  .brand img { width: 23px; height: 27px; }
  .profile-chip { min-height: 38px; }
  .profile-name { display: none; }
  .content { padding: 0 22px 21px; min-height: calc(100dvh - 108px); }
  .route-line { padding-block: 18px; }
  .stat-value { font-size: 29px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .server-overview .regions, .events-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }
  .sidebar { inset: 16px auto 16px 16px; width: 260px; max-height: calc(100dvh - 32px); padding: 24px 17px 18px; border-radius: 24px; background: linear-gradient(145deg, #fdfbf8f5, #efe8f4f0); transform: translateX(calc(-100% - 32px)); visibility: hidden; overflow-y: auto; transition: transform 300ms cubic-bezier(.32, .72, 0, 1), visibility 300ms; }
  .sidebar.open { transform: translateX(0); visibility: visible; }
  .dock-heading { display: block; margin: 0 35px 23px 9px; font-size: 14px; font-weight: 650; color: #6c517b; }
  .dock-close { display: inline-grid; position: absolute; top: 17px; right: 15px; }
  .nav-link { justify-content: flex-start; gap: 13px; width: 100%; height: 45px; min-height: 45px; padding-inline: 14px; border-radius: 14px; }
  .nav-link > span:not(.nav-count), .nav-link:hover > span:not(.nav-count), .nav-link:focus-visible > span:not(.nav-count) { position: static; padding: 0; white-space: normal; background: none; border: 0; border-radius: 0; color: inherit; font-size: 11px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .nav-link .nav-count { position: static; margin-left: auto; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; }
  .dock-selection { width: 100%; border-radius: 14px; }
  .nav-caption { display: block; font-size: 8px; margin: 3px 0 6px; color: #a087af; }
  .nav-separator { margin: 10px 12px 4px; }
  .sidebar-bottom { margin-top: auto; padding-top: 17px; }
  .network-status { display: flex; justify-content: flex-start; gap: 11px; padding: 9px 15px; }
  .network-status > span:last-child { position: static; padding: 0; border: 0; background: none; font-size: 10px; opacity: 1; visibility: visible; color: #9582a0; }
  .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 35; pointer-events: none; opacity: 0; visibility: hidden; background: #5f40753a; transition: opacity 260ms ease, visibility 260ms; }
  .menu-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }
}
@media (max-width: 650px) {
  .workspace { margin: 9px; border-radius: 22px; min-height: calc(100dvh - 18px); }
  .topbar { padding-inline: 15px; height: 68px; }
  .topbar > .row { gap: 8px; }
  .brand { gap: 6px; }
  .brand > span { font-size: 24px; }
  .section-capsule { display: none; }
  .profile-chip { padding: 0; border: none; background: transparent; min-height: 34px; }
  .profile-chip > span:last-child { display: none; }
  .profile-chip .avatar { width: 34px; height: 34px; }
  .content { padding: 0 16px 20px; min-height: calc(100dvh - 86px); }
  .route-line { padding-block: 17px; }
  .route-line > div { gap: 10px; }
  .route-line > div > span:first-child { font-size: 7px; letter-spacing: .5px; }
  .route-line .demo-badge { font-size: 0; }
  .route-line .demo-badge .status-dot { width: 5px; height: 5px; }
  .page-intro { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
  .page-intro h1 { font-size: 25px; letter-spacing: -.9px; }
  .page-intro p { font-size: 10px; line-height: 1.8; }
  .intro-actions { gap: 8px; width: 100%; justify-content: flex-start; }
  .intro-actions select { min-width: 0; font-size: 10px; padding-inline: 13px; }
  .period-control { flex: 1; min-width: 0; }
  .period-control select { flex: 1; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .stat { padding: 17px; border-radius: 20px; }
  .stat-value { font-size: 26px; }
  .stat-top { font-size: 9px; margin-bottom: 12px; }
  .stat-bottom { font-size: 8px; }
  .sparkline { display: none; }
  .card { padding: 21px; border-radius: 20px; }
  .chart-card { padding: 22px 18px; }
  .chart-card h2 { font-size: 14px; }
  .chart-card .card-head { align-items: flex-start; gap: 8px; }
  .chart-card .segmented { gap: 1px; padding: 3px; }
  .chart-card .segmented button { padding-inline: 9px; font-size: 9px; min-height: 28px; }
  .chart-summary strong { font-size: 30px; }
  .chart-summary { gap: 8px; flex-wrap: wrap; }
  .chart { min-height: 215px; }
  .chart-bottom { font-size: 8px; gap: 12px; align-items: flex-start; }
  .chart-bottom strong { text-align: right; }
  .server-overview .regions, .events-list { display: block; }
  .table-card, .support-layout { padding: 0; }
  .table-card > .card-head { padding: 21px 18px 0; }
  th, td { padding-inline: 18px; }
  .table-footer { padding-inline: 16px; }
  .toolbar { align-items: stretch; gap: 12px; }
  .filter-chips { max-width: 100%; flex-wrap: wrap; border-radius: 18px; width: fit-content; }
  .filter-chips button { font-size: 9px; padding-inline: 11px; }
  .server-grid { grid-template-columns: 1fr; }
  .server-metrics strong { font-size: 24px; }
  .support-layout { grid-template-columns: 1fr; }
  .ticket-list { max-height: 250px; overflow: auto; border-right: 0; border-bottom: 1px solid #ffffff85; }
  .thread-head { align-items: flex-start; flex-direction: column; padding: 20px; }
  .messages { padding: 20px; }
  .reply-form { padding: 18px 20px; }
  .integration-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .donut-wrap { gap: 24px; }
  .donut { width: 135px; height: 135px; }
  footer { flex-wrap: wrap; margin-top: 25px; justify-content: space-between; font-size: 8px; }
  footer > span:nth-child(2) { max-width: none; text-align: left; order: 3; width: 100%; font-size: 7px; }
  dialog { padding: 23px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 23px; }
  .dialog-head h2 { font-size: 21px; }
  .toast { bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .brand img { width: 20px; height: 24px; }
  .brand > span { font-size: 21px; }
  .topbar { padding-inline: 11px; }
  .content { padding-inline: 12px; }
  .stat { padding: 15px 13px; }
  .stat-value { font-size: 23px; }
  .chart-card .card-head { flex-wrap: wrap; }
  .chart-summary strong { font-size: 27px; }
  .donut-wrap { flex-direction: column; }
}
@media (pointer: coarse) {
  .field input, .field select, .field textarea, .search-field input, .reply-form textarea { font-size: 16px; }
  .button { min-height: 44px; }
  .nav-link { min-height: 46px; }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  .workspace, .card, .stat, .sidebar, dialog { background: #f8f5faf5; backdrop-filter: none; border-color: #83768e; }
  :root { --muted: #63516e; }
}
@media (prefers-reduced-motion: reduce) {
  .section-capsule::after { animation: none; }
  .dock-selection.is-ready, .chart-tooltip, .chart-bar { transition: none; }
  .chart-bar { transform: none !important; }
  dialog { transform: none !important; }
  button:active { transform: none; }
}

/* Admin demo views built on the shared pearl surface. */
.storage-warning { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: #fff4df; color: #765a28; font-size: 12px; }
.storage-warning[hidden] { display: none; }
.admin-range { display: flex; align-items: end; flex-wrap: nowrap; gap: 10px; }
.admin-range label, .admin-field, .admin-sort { display: grid; gap: 5px; color: #786e81; font-size: 11px; }
.admin-range input, .admin-field input, .admin-field select, .admin-sort select { min-height: 40px; border: 1px solid #fff; border-radius: 12px; background: #ffffffa8; color: #51465d; padding: 8px 12px; font: inherit; }
.admin-date-field { position: relative; display: grid; gap: 5px; width: 150px; }
.admin-date-control { position: relative; }
.admin-date-control input { display: block; width: 100%; padding-right: 42px; }
.admin-date-control > button { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #81738d; cursor: pointer; }
.admin-date-control .icon { width: 16px; height: 16px; }
.admin-calendar { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: min(286px,calc(100vw - 72px)); padding: 14px; border: 1px solid #ffffffee; border-radius: 18px; background: #f8f5f8f2; backdrop-filter: blur(24px); box-shadow: 0 20px 42px #55455f2c, inset 0 1px #fff; }
.admin-calendar[hidden] { display: none; }
#calendar-to { left: auto; right: 0; }
.admin-calendar-head { display: grid; grid-template-columns: 34px minmax(0,1fr) 34px; align-items: center; gap: 8px; margin-bottom: 12px; text-align: center; }
.admin-calendar-head strong { color: #443a49; font-size: 12px; text-transform: capitalize; }
.admin-calendar-head button, .admin-calendar-days button { display: grid; place-items: center; min-width: 34px; min-height: 34px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #504657; cursor: pointer; }
.admin-calendar-head button { border: 1px solid #fff; background: #ffffffad; font-size: 22px; }
.admin-calendar-week, .admin-calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 2px; text-align: center; }
.admin-calendar-week { margin-bottom: 5px; color: #938898; font-size: 10px; }
.admin-calendar-days button { min-width: 0; font-size: 11px; }
.admin-calendar-days button:hover, .admin-calendar-days button:focus-visible { background: #e7dfe9; }
.admin-calendar-days button[aria-pressed="true"] { background: #504653; color: #fff; }
.admin-range #range-error { width: 100%; margin: 0; color: #9b5361; font-size: 10px; }
.admin-range #range-error:empty { display: none; }
.admin-chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.admin-chart-grid > .card { min-width: 0; }
.admin-chart-grid .chart-card .card-head { flex-wrap: wrap; gap: 12px; }
.active-plan-card .card-head { margin-bottom: 14px; }
.active-plan-list { display: grid; gap: 20px; margin-top: 30px; }
.active-plan-row { display: grid; grid-template-columns: minmax(90px,.8fr) minmax(0,1fr) auto; align-items: center; gap: 12px; color: #695c73; font-size: 12px; }
.active-plan-row strong { min-width: 18px; text-align: right; color: #4f405c; font-size: 14px; }
.active-plan-track { height: 9px; overflow: hidden; border-radius: 999px; background: #afa0bb24; }
.active-plan-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#9e86ac,#786689); }
.active-plan-row[data-plan="Plus"] .active-plan-track > span { background: linear-gradient(90deg,#8ca3bb,#718ba7); }
.active-plan-row[data-plan="Max"] .active-plan-track > span { background: linear-gradient(90deg,#83aaa1,#679689); }
.active-plan-row[data-plan="unknown"] .active-plan-track > span { background: #aaa0ae; }
.active-plan-empty { margin-top: 34px; color: #8e8299; font-size: 12px; }
.admin-monitor-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-monitor-actions .admin-search { width: min(320px,38vw); min-width: 0; }
.admin-action-row { cursor: pointer; }
.admin-action-row:focus-visible { outline: 2px solid #72588c; outline-offset: -3px; background: #eee7f2; }
.admin-cell-sub { display: block; margin-top: 4px; color: #a196aa; font-size: 9px; }
.admin-toolbar { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.admin-toolbar .admin-search { width: min(440px, 100%); flex: 1 1 360px; }
.admin-toolbar .filters { flex: 1 1 420px; display: flex; align-items: center; gap: 10px; }
.admin-toolbar .filters .admin-search { min-width: 240px; }
.admin-table-footer { position: relative; justify-content: center; min-height: 58px; }
.admin-table-footer > span { position: absolute; left: 22px; }
.admin-server-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 0 14px; }
.admin-server-metrics .server-metric { min-width: 0; padding: 10px; border: 1px solid #ffffff9c; border-radius: 12px; }
.admin-server-metrics span { display: block; font-size: 10px; color: #94869d; }
.admin-server-metrics strong { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.admin-field { margin: 12px 0; }
.admin-hint { margin: 12px 0; color: #8e8299; font-size: 10px; }
.admin-link { overflow-wrap: anywhere; }
#campaigns td, #campaigns th { padding-inline: 12px; }
.campaign-sort-button { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-align: left; cursor: pointer; }
.campaign-sort-button:hover { color: #65526f; }
.campaign-sort-indicator { color: #72588c; font-size: 12px; line-height: 1; }
#campaigns th[aria-sort="ascending"], #campaigns th[aria-sort="descending"] { color: #65526f; }
.campaign-code { color: #62586c; font-variant-numeric: tabular-nums; }
.campaign-vpn-usage { font-variant-numeric: tabular-nums; }
.campaign-copy-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.campaign-copy-button { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #e8e0ee; border-radius: 50%; background: #fff; color: #72588c; cursor: pointer; }
.campaign-copy-button .icon { width: 14px; height: 14px; }
.campaign-copy-button:hover { border-color: #d7c6e2; background: #f8f3fb; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.admin-field-note { margin: -5px 0 12px; color: #8e8299; font-size: 10px; }
:where(button,a,input,select,textarea):focus-visible { outline: 2px solid #72588c; outline-offset: 3px; }
@media (max-width: 1100px) {
  .admin-chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .admin-toolbar .admin-search, .admin-toolbar .filters { flex-basis: 100%; width: 100%; }
  .admin-toolbar .filters { flex-wrap: wrap; }
  .admin-table-footer { display: grid; justify-items: center; gap: 8px; }
  .admin-table-footer > span { position: static; }
  .page-intro .admin-monitor-actions { width: 100%; }
  .admin-monitor-actions .admin-search { flex: 1 1 220px; width: auto; }
  .admin-range { flex-wrap: wrap; }
}
@media (max-width: 430px) {
  .admin-range { width: 100%; }
  .admin-date-field { flex: 1 1 125px; min-width: 0; }
  .admin-date-control input { width: 100%; min-width: 0; }
  .admin-server-metrics { grid-template-columns: 1fr; }
  .admin-monitor-actions { flex-wrap: wrap; }
  .admin-monitor-actions .admin-search { flex-basis: 100%; }
  .active-plan-row { grid-template-columns: minmax(80px,.8fr) minmax(0,1fr) auto; gap: 8px; }
}
@media (pointer: coarse) {
  .campaign-copy-button { width: 40px; height: 40px; }
}
@font-face { font-family: Geologica; src: url('/assets/geologica-latin-wght-normal-BBL8hQxZ.woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Geologica; src: url('/assets/geologica-cyrillic-wght-normal-DbeVG3Ps.woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0400-052F; }
@font-face { font-family: Unbounded; src: url('/assets/unbounded-latin-wght-normal-D5afBTBx.woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Unbounded; src: url('/assets/unbounded-cyrillic-wght-normal-C627f1f8.woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0400-052F; }
@font-face { font-family: Michroma; src: url('/assets/michroma-latin-400-normal-4gS0VCia.woff2'); font-display: swap; }
/* Visual tokens from packages/web/src/styles/{tokens,ui,base}.css. */
:root {
  color-scheme: dark;
  --ink-0: #04040b;
  --ink-1: #0a0915;
  --ink-2: #121024;
  --text-1: #f7f6ff;
  --text-2: rgb(238 236 255 / .74);
  --text-3: rgb(228 226 255 / .54);
  --text-on-light: #0b0a16;
  --surface-1: rgb(255 255 255 / .045);
  --surface-2: rgb(255 255 255 / .075);
  --surface-3: rgb(255 255 255 / .12);
  --line: rgb(255 255 255 / .09);
  --line-strong: rgb(255 255 255 / .16);
  --ok: #5ee6a8;
  --warn: #ffc94a;
  --danger: #ff6b7d;
  --info: #6cc8ff;
  --max: #c86bff;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-xs: 8px;
  --r-pill: 999px;
  --font-display: Michroma, Unbounded, system-ui, sans-serif;
  --font-heading: Unbounded, Geologica, system-ui, sans-serif;
  --font-body: Geologica, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --content: 1200px;
  --nav-bottom-space: 0px;
  --spectrum: linear-gradient(90deg, #6d5cff 0%, #2f8bff 20%, #19d3c5 40%, #a8ef6b 56%, #ffc94a 70%, #ff7a45 84%, #ff3e9d 100%);
  /* Default cabinet glass, with the tint and highlight in a static background stack. */
  --glass: radial-gradient(80% 60% at 12% 0%, rgb(255 255 255 / .088), transparent 60%),
    linear-gradient(rgb(255 255 255 / .12), rgb(255 255 255 / .12)), rgb(18 16 36 / .70);
  --glass-shadow: inset 0 1px 0 rgb(255 255 255 / .60),
    inset 0 0 0 1px rgb(255 255 255 / .204), 0 20px 52px -25px rgb(0 0 0 / .70);
  --control-fill: rgb(255 255 255 / .06);
  --control-thumb: linear-gradient(180deg, rgb(255 255 255 / .24), rgb(255 255 255 / .12));
  --control-rim: inset 0 0 0 1px rgb(255 255 255 / .3), 0 6px 18px -6px rgb(0 0 0 / .6);
  --ink: var(--text-1);
  --muted: var(--text-2);
  --bg: var(--ink-0);
  --paper: var(--ink-2);
  --purple: var(--max);
  --green: var(--ok);
  --amber: var(--warn);
  --rainbow: var(--spectrum);
}
@media (max-width: 760px) {
  :root { --r-xl: 26px; --r-lg: 20px; --nav-bottom-space: calc(84px + env(safe-area-inset-bottom)); }
}
html { background: var(--ink-0); }
body { color: var(--text-1); background: transparent; font: 15px/1.5 var(--font-body); font-optical-sizing: auto; }
::selection { background: rgb(180 76 255 / .45); color: white; }
/* The default frame of the working cabinet's Mesh Drift shader, plus its original veil. */
.ambient-light {
  --mesh-frame: url('/assets/cabinet-mesh-desktop-DL6OUL9i.webp?v=1');
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgb(4 4 11 / .45) 100%),
    linear-gradient(180deg, rgb(4 4 11 / .18), rgb(4 4 11 / .40)),
    var(--mesh-frame) center / cover,
    radial-gradient(45% 55% at 18% 22%, rgb(0 163 255 / .55), transparent 70%),
    radial-gradient(40% 50% at 78% 18%, rgb(0 214 180 / .45), transparent 70%),
    radial-gradient(45% 50% at 62% 70%, rgb(180 76 255 / .55), transparent 70%),
    linear-gradient(160deg, #140b3a, var(--ink-0) 70%);
}
@media (max-width: 760px) and (orientation: portrait) {
  .ambient-light { --mesh-frame: url('/assets/cabinet-mesh-mobile-D_9JsVI3.webp?v=1'); }
}
.topbar, .route-line, .chart-bottom, .region-row, .server-metrics, .event, .table-footer, .thread-head, .ticket-list, .reply-form, .form-actions, .detail-grid, footer { border-color: var(--line); }
.brand > span { font: 400 19px Michroma, Unbounded, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.brand sup, .route-line, .route-line > div > span:first-child, .route-divider, .demo-badge, .page-intro p, .card-head p, .stat-top, .stat-bottom, .stat-value small, .chart-bottom, .chart-bottom strong, .region-sub, .person small, .event p, .event time, .server-caption, .server-metrics small, .server-load, .table-id, .table-footer, .date-note, .ticket-button p, .thread-head p, .message small, .reply-bottom span, .donut-legend, .integration-card p, .dialog-copy, .field small, .detail-grid span, .profile-card p, footer, footer a { color: var(--muted); }
h1 { font: 350 clamp(28px, 3.6vw, 44px)/1.08 var(--font-heading); letter-spacing: -.035em; text-wrap: balance; }
h2, h3, .region-name, .person strong, .server-title, .server-metrics strong, td strong, .amount, .event strong, .ticket-button strong, .thread-head h2, .dialog-head h2, .field > span, .detail-grid strong, .detail-section h3, .profile-card h3, .chart-summary strong { color: var(--ink); }
.stat-value, .chart-summary strong { font-variant-numeric: tabular-nums; }
.card, .stat { background: var(--glass); border: 0; border-radius: var(--r-xl); box-shadow: var(--glass-shadow); }
.sidebar, .section-capsule, .icon-button, .period-calendar, .profile-chip, .search-field, .segmented, .filter-chips, .intro-actions select, .integration-mark { background: rgba(255,255,255,.045); border-color: var(--line); color: #e7e5f7; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.sidebar { background: rgba(18,16,36,.92); }
.nav-link { color: #b0adca; }
.nav-link.active { color: #fff; }
.dock-selection, .control-selection { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.18); box-shadow: inset 0 1px rgba(255,255,255,.16); }
.nav-link > span:not(.nav-count), .network-status > span:last-child { background: #201c36; border-color: var(--line); color: #f7f6ff; }
.nav-count { background: #3a3260; color: #fff; border-color: #68618a; }
.nav-separator, .sidebar-bottom { border-color: var(--line); }
.card .progress, .progress { background: rgba(255,255,255,.09); }
.progress > span, .progress.green > span { background: var(--rainbow); }
.progress.amber > span { background: #ffc94a; }
.chart-grid { stroke: #ffffff18; }.chart-label { fill: #b0adca; }.sparkline path { stroke: #6cc8ff; }
.chart-tooltip, .admin-calendar { background: #201d36; color: var(--ink); border-color: var(--line); box-shadow: var(--glass-shadow); }
th { background: rgba(255,255,255,.035); color: #b0adca; border-color: var(--line); }
td { color: #dddbee; border-color: var(--line); }
.badge, .badge:is(.green, .amber, .red, .purple, .blue) {
  --tone: var(--text-2);
  gap: 7px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--tone) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 34%, transparent);
  color: color-mix(in srgb, var(--tone) 72%, white);
  font-size: 12px;
  font-weight: 600;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 10px var(--tone); }
.badge.green { --tone: var(--ok); }
.badge.amber { --tone: var(--warn); }
.badge.red { --tone: var(--danger); }
.badge.purple { --tone: var(--max); }
.badge.blue { --tone: var(--info); }
.tile, .tile.lilac, .tile.blue, .tile.mint, .tile.peach, .avatar, .avatar.lilac, .avatar.blue, .avatar.mint, .avatar.peach { background: #ffffff10; border-color: var(--line); color: #d5c9ff; box-shadow: none; }
.button, .button.soft, .icon-button, .dialog-head .icon-button {
  border: 0;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / .08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .12);
  color: var(--text-1);
}
.button { min-height: 40px; padding: 0 16px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.button.primary {
  background: var(--text-1);
  color: var(--text-on-light);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .60), 0 10px 30px -12px rgb(160 140 255 / .70);
}
.button.danger { background: rgb(255 107 125 / .16); color: #ffd5db; box-shadow: inset 0 0 0 1px rgb(255 107 125 / .40); }
.button.text { color: var(--text-2); background: transparent; box-shadow: none; }
.button:active:not(:disabled) { transform: scale(.97); }
.button:disabled, .button[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
input, select, textarea, .intro-actions select, .search-field {
  color: var(--text-1);
  background: var(--surface-1);
  border-color: var(--line-strong);
  box-shadow: none;
}
input::placeholder, textarea::placeholder, .search-field input::placeholder { color: var(--text-2); }
.search-field input { color: var(--text-1); background: transparent; }
.search-field .icon { color: var(--text-2); }
.search-field:focus-within { outline: 2px solid var(--text-1); outline-offset: 3px; }
.search-field input:focus-visible { outline: 0; }
.segmented, .filter-chips { background: var(--control-fill); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-pill); }
.segmented button, .filter-chips button, .pagination button { color: var(--text-2); }
.pagination button { background: var(--surface-2); }
.segmented button.selected, .filter-chips button.selected, .pagination button.selected { color: var(--text-1); border-color: transparent; background: var(--control-thumb); box-shadow: var(--control-rim); }
.has-selection > button.selected { background: transparent; box-shadow: none; }
.control-selection { background: var(--control-thumb); border: 0; box-shadow: var(--control-rim); }
.note, .server-foot, .profile-card, .ticket-list { background: #ffffff0a; border-color: var(--line); color: #d1cee4; }.note .icon, .check-icon { color: #6cc8ff; }
.ticket-button.selected { background: #ffffff10; border-color: var(--line); box-shadow: inset 3px 0 #6d5cff; }
.message p { background: #ffffff0d; border-color: var(--line); color: #e7e5f7; }.message.admin p { background: #343061; border-color: #ffffff20; color: #fff; }
.donut { background: conic-gradient(#6d5cff 0 58%,#2f8bff 58% 84%,#19d3c5 84%); box-shadow: none; }.donut::before { background: #171527; }.donut-center { color: #f7f6ff; }
dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(860px, calc(100dvh - 48px));
  padding: 28px;
  border: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #242137f5, #121021fa);
  color: var(--text-1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .20), 0 50px 100px -30px rgb(0 0 0 / .80);
  backdrop-filter: none;
}
dialog::backdrop { background: rgb(4 4 11 / .55); backdrop-filter: none; }
.dialog-head { align-items: flex-start; margin-bottom: 20px; }
.dialog-head h2 { font: 400 22px/1.2 var(--font-heading); letter-spacing: -.03em; }
.dialog-head .icon-button { flex: none; }
.toast { background: #242039; border-color: var(--line-strong); color: var(--text-1); }
.splash { background: var(--ink-1); }.splash-word { color: var(--text-1); }.splash-word span, .splash p { color: var(--text-2); }.splash-track span { background: var(--spectrum); }
:focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media (hover: hover) {
  .button:hover:not(:disabled), .icon-button:hover:not(:disabled), .dialog-head .icon-button:hover { background: rgb(255 255 255 / .14); color: var(--text-1); }
  .button.primary:hover:not(:disabled) { background: white; color: var(--text-on-light); box-shadow: inset 0 0 0 1px white, 0 14px 40px -10px rgb(170 120 255 / .85), 0 0 24px -4px rgb(60 200 255 / .50); }
  .button.danger:hover:not(:disabled) { background: rgb(255 107 125 / .26); color: #ffd5db; }
  .button.text:hover:not(:disabled) { background: var(--surface-2); }
  tbody tr:hover, .ticket-button:hover:not(.selected) { background: var(--surface-1); }
}
/* Dense administrative controls and detail surfaces. */
.admin-range label, .admin-field, .admin-sort, .admin-hint, .admin-field-note, .admin-cell-sub, .active-plan-empty { color: #b0adca; }
.admin-range input, .admin-field input, .admin-field select, .admin-sort select { background: var(--surface-1); border-color: var(--line-strong); color: var(--text-1); }
.admin-date-control > button { color: #c3bfdc; }
.admin-calendar-head strong, .admin-calendar-head button, .admin-calendar-days button { color: #f7f6ff; }
.admin-calendar-head button { background: #ffffff10; border-color: #ffffff20; }
.admin-calendar-days button:hover, .admin-calendar-days button:focus-visible { background: #ffffff20; }
.admin-calendar-days button[aria-pressed="true"] { background: var(--control-thumb); color: var(--text-1); box-shadow: var(--control-rim); }
.admin-range #range-error { color: #ff8997; }
.campaign-copy-button { background: #ffffff0b; border-color: #ffffff18; color: #e7e5f7; }
.active-plan-row strong { color: #f7f6ff; }
.active-plan-row, .campaign-code { color: #d7d4e8; border-color: var(--line); }
.admin-server-metrics .server-metric { border-color: var(--line); }
.server-card .card-head, .server-status { flex-wrap: wrap; gap: 8px; }
.server-status { display: flex; align-items: center; }
.server-ping { font-variant-numeric: tabular-nums; white-space: nowrap; }
.server-ping::before { content: none; }
.server-ping .icon { width: 14px; height: 14px; }
.campaign-copy-button:hover { background: #ffffff20; border-color: #ffffff35; }
@media (max-width:650px) { .chart-day-label:not(:nth-child(5n + 1)):not(:last-child) { visibility: hidden; } }

.content {
  width: min(var(--content), calc(100% - 2 * var(--gutter)));
  max-width: none;
  min-height: 0;
  margin: 0 auto;
  padding: 8px 0 calc(72px + var(--nav-bottom-space));
}
.page { min-height: 0; }
.page-intro { margin: 28px 0; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.page-intro p { margin-top: 9px; color: var(--text-3); font-size: 13px; }
.admin-range label { font-size: 11px; }.admin-range input { border-radius: var(--r-sm); font-size: 12px; }.admin-date-field { width: 140px; }
.card { padding: 28px; }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.card-head { margin-bottom: 20px; }.card-head p { font-size: 12px; }
.chart { min-height: 0; margin-top: 24px; }
.chart-empty { position: absolute; inset: 0 0 28px; display: grid; place-items: center; pointer-events: none; color: var(--text-2); }
.segmented { padding: 4px; }.segmented button { padding: 6px 14px; min-height: 40px; font-size: 13px; font-weight: 600; }
.table-card, .support-layout { padding: 0; }
.table-card > .table-scroll { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.table-scroll th { padding: 14px 22px; font-size: 12px; background: var(--surface-1); }
.table-scroll td { padding: 17px 22px; font-size: 13px; }.table-scroll td strong { font-weight: 550; }
.admin-cell-sub { margin-top: 6px; font-size: 11px; }.table-footer { min-height: 64px; }
.table-scroll.responsive-table { overflow: visible; }
.responsive-table table { table-layout: fixed; white-space: normal; }
.responsive-table :is(th, td) { padding-inline: clamp(10px, 1.6vw, 22px); overflow-wrap: anywhere; }
.responsive-table .badge { max-width: 100%; padding-inline: 8px; gap: 5px; white-space: normal; font-size: 11px; }
.responsive-table .badge::before { flex: none; }
#clients-results th:first-child { width: 38%; }
@media (min-width: 761px) {
  #payments-results :is(th, td) { padding-inline: clamp(6px, .8vw, 14px); }
  #payments-results th:first-child { width: 12%; }
  #payments-results th:is(:nth-child(2), :nth-last-child(3)) { width: 14%; }
  #payments-results th:nth-child(3) { width: 11.5%; }
  #payments-results th:nth-last-child(-n + 2) { width: 12%; }
  #payments-results td:is([data-label="Период"], [data-label="Создан"], [data-label="Изменён"]) {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  #payments-results .badge { white-space: nowrap; }
}
@media (max-width: 760px) {
  .page-intro { margin: 18px 0 20px; }
  .card { padding: 22px 20px; }.table-card,.support-layout { padding: 0; }
  .admin-date-field { width: auto; flex: 1; }.admin-range { width: 100%; }.intro-actions { width: 100%; }
  .toast { bottom: var(--nav-bottom-space); }

  .responsive-table table { display: block; }
  .responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .responsive-table tbody { display: grid; gap: 8px; padding: 12px; }
  .responsive-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface-1);
  }
  .responsive-table td { min-width: 0; padding: 0; border: 0; }
  .responsive-table td[data-label]::before {
    display: block;
    margin-bottom: 3px;
    color: var(--text-2);
    content: attr(data-label);
    content: attr(data-label) / "";
    font-size: 11px;
  }
  .responsive-table td[colspan], #clients-results td:first-child,
  #payments-results tr[data-payment] td[data-label="Статус"] { grid-column: 1 / -1; }
  .responsive-table .admin-cell-sub { margin-top: 2px; }
}
@media (max-width: 760px) and (hover: hover) {
  .responsive-table .admin-action-row:hover { background: var(--surface-2); }
}
@media (max-width: 640px) {
  dialog { width: 100%; max-width: none; max-height: calc(100dvh - 24px); margin: auto 0 0; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; }
  dialog::before { content: ''; display: block; width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 2px; background: rgb(255 255 255 / .25); }
}
.chart-plot { border-bottom-color: #ffffff14; background: repeating-linear-gradient(to bottom,transparent 0 40px,#ffffff08 40px 41px); }
.chart-card .chart { grid-template-rows: auto auto; }
@media (max-width:650px) {
 .chart-x { display: flex; justify-content: space-between; }
 .chart-day-label { display: none; }
 .chart-day-label:nth-child(5n + 1),.chart-day-label:last-child { display: block; visibility: visible; }
}

.active-plan-row { color: #eeecff; }
.active-plan-row[data-plan="Start"] .active-plan-track > span { background: #a6f07a; }
.active-plan-row[data-plan="Plus"] .active-plan-track > span { background: #45b4ff; }
.active-plan-row[data-plan="Max"] .active-plan-track > span { background: #c86bff; }
.admin-action-row:focus-visible { outline-color: #fff; background: #ffffff0a; }
@media (prefers-reduced-motion:reduce) { .sidebar,.menu-backdrop { transition: none; } }

.overview { --overview-gap: 20px; }
.overview .page-intro { text-align: start; }
.overview .page-intro:has(#range-error:not(:empty)) { margin-bottom: 38px; }
.overview .page-intro > div { flex-shrink: 0; }
.overview-period, .overview-period-controls { display: flex; align-items: end; gap: 12px; }
.overview-period-controls { align-items: center; }
#overview-period-label { color: var(--muted); font-size: 12px; font-weight: 550; }
.overview-period-buttons {
  display: flex;
  min-height: 40px;
  padding: 4px;
  gap: 2px;
  border-radius: var(--r-pill);
  background: var(--control-fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.overview-period-buttons button {
  min-width: 40px;
  padding: 5px 10px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.overview-period-buttons button:hover { background: #ffffff0c; color: var(--ink); }
.overview-period-buttons button[aria-pressed="true"] { background: var(--control-thumb); color: var(--text-1); box-shadow: var(--control-rim); }
.overview-period .admin-range { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.overview-period .admin-date-field { width: 136px; }
.overview-period .admin-range #range-error { position: absolute; inset: calc(100% + 3px) 0 auto; }

.overview-stats, .overview-grid { display: grid; gap: var(--overview-gap); }
.overview-stats { grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: var(--overview-gap); }
.overview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.overview .card, .overview .stat { min-width: 0; }
.overview .card { padding: 22px; }
.overview-stats .stat { padding: 18px 20px; border-radius: var(--r-lg); }
.overview-stats .stat-top { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.4; }
.overview-stats .stat-value {
  margin-block: 10px 8px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.overview-stats .stat-bottom { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.overview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px 14px;
  min-height: 28px;
  margin-bottom: 12px;
}
.overview-card-head h2 { display: flex; align-items: center; gap: 12px; }
.panel-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.panel-icon .icon { width: 18px; height: 18px; }
.overview-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 13px; font-weight: 600; min-height: 24px; }
.overview-link:hover { color: var(--ink); text-decoration: underline; }
.overview-deadline-note { color: var(--muted); font-size: 11px; }
.overview-deadline-note { margin: 2px 0 8px; }

.overview .chart-card { --chart-ink: #bcaaff; }
.overview .chart-card:has([data-chart="sales"]) { --chart-ink: #69ddc7; }
.overview-line-chart { margin-top: 8px; }
.overview-line-chart .chart-plot { height: 170px; }
.overview-chart-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.overview-chart-line polyline { fill: none; stroke: var(--chart-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.overview-line-chart .chart-bars, .overview-line-chart .chart-x { column-gap: 0; }
.overview-line-chart .chart-x { display: grid; color: var(--muted); }
.overview-line-chart .chart-day-label { display: block; visibility: hidden; justify-self: center; overflow: visible; white-space: nowrap; }
.overview-line-chart .chart-day-label.axis-visible { visibility: visible; }
.overview-line-chart .chart-day-label:first-child { justify-self: start; }
.overview-line-chart .chart-day-label:last-child { justify-self: end; }
.chart-point {
  position: absolute;
  top: var(--point-y);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border: 2px solid #161327;
  border-radius: 50%;
  background: var(--chart-ink);
  box-shadow: 0 0 0 1px var(--chart-ink);
  opacity: 0;
  pointer-events: none;
}
.chart-point.is-selected, .chart-single-point:has(.overview-chart-line) .chart-point { opacity: 1; }
.overview-line-chart .chart-empty { inset: 0 0 18px; text-align: center; }
.overview-chart-modes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 16px; }
.overview-chart-modes button { font-size: 13px; min-height: 40px; }

.overview-payments { display: flex; flex-direction: column; }
.overview-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 550;
}
.overview-total small { display: block; font-size: 11px; font-weight: 400; }
.overview-total strong {
  color: var(--text-1);
  font: 400 clamp(23px, 3vw, 34px)/1.25 var(--font-display);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.overview-channel-bar {
  display: flex;
  height: 8px;
  overflow: hidden;
  margin: 14px 0 8px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
}
.overview-payments [data-channel] { --channel: #a59cbf; }
.overview-payments [data-channel="sbp"] { --channel: #bcaaff; }
.overview-payments [data-channel="crypto"] { --channel: #69ddc7; }
.overview-payments [data-channel="stars"] { --channel: #f4cd86; }
.overview-channel-bar span { flex: var(--share, 0) 1 0; min-width: 0; background: var(--channel); }
.overview-channels { margin: 0; }
.overview-channels > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.overview-channels > div:last-child { padding-bottom: 0; border: 0; }
.overview-channels dt { display: flex; align-items: center; gap: 9px; color: var(--text-2); }
.overview-channels dt::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--channel);
}
.overview-channels dd { margin: 0; text-align: end; font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.overview-pulse-card { container-type: inline-size; }
.overview-pulse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.overview-pulse > div {
  display: grid;
  grid-template-rows: minmax(2.6em, auto) auto auto;
  align-items: start;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
  font-size: 12px;
}
.overview-pulse dt { color: var(--text-2); font-weight: 550; line-height: 1.3; overflow-wrap: anywhere; }
.overview-pulse dd { margin: 0; }
.pulse-ping { display: flex; align-items: baseline; gap: 4px; }
.pulse-ping strong { font: 400 clamp(17px, 2.2vw, 26px)/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.pulse-ping small, .overview-pulse [data-online="false"] .pulse-ping { color: var(--text-2); }
.pulse-ping small { font-size: 11px; }
.pulse-meta { display: grid; grid-template-rows: 24px auto; gap: 8px; }
.pulse-trend { width: 100%; height: 24px; color: var(--ok); fill: none; stroke: currentColor; }
.pulse-status { display: flex; grid-row: 2; align-items: center; gap: 6px; color: var(--text-2); font-size: 11px; }
.pulse-status::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.overview-pulse [data-online="true"] .pulse-status { color: var(--ok); }
@container (max-width: 365px) {
  .overview-pulse { grid-template-columns: minmax(0, 1fr); }
  .overview-pulse > div {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 3px 12px;
    border-radius: var(--r-sm);
  }
  .pulse-ping { grid-area: 1 / 2 / 3; align-self: center; }
  .pulse-meta { display: block; }
  .pulse-trend { display: none; }
}

.overview-deadlines { display: grid; margin: 0; }
.overview-deadlines > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 8px 14px;
  min-height: 37px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}
.overview-deadlines > div:last-child { border-bottom: 0; }
.overview-deadlines dt { color: #ded9ed; font-size: 13px; overflow-wrap: anywhere; }
.overview-deadlines dd {
  margin: 0;
  color: var(--muted);
  text-align: end;
  font-size: 11px;
  font-weight: 520;
  font-variant-numeric: tabular-nums;
}
.overview-deadlines time[data-urgent="true"] { color: #f4cd86; }

/* Cabinet's glass navigation capsule and CSS active drop. */
.cabinet-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 16px var(--gutter);
}
.cabinet-header::before {
  content: '';
  position: absolute;
  inset: 0 0 -16px;
  z-index: -1;
  background: linear-gradient(180deg, rgb(4 4 11 / .84), rgb(4 4 11 / .54) 78%, transparent);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
}
.cabinet-header.is-scrolled::before { opacity: 1; }
.cabinet-logo { display: inline-flex; align-items: center; gap: 12px; border-radius: var(--r-sm); }
.cabinet-logo img { display: block; }
.cabinet-logo span { font: 15px/1 var(--font-display); letter-spacing: .34em; margin-right: -.34em; }
#main-nav {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: var(--r-pill);
  color: #f1f7ff;
  background: rgb(10 18 40 / .26);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .34), inset 0 0 0 1px rgb(255 255 255 / .20), 0 12px 32px -14px rgb(0 40 90 / .50);
}
#main-nav .nav-link {
  display: inline-flex;
  justify-content: center;
  width: auto;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  gap: 8px;
  border-radius: var(--r-pill);
  background: transparent;
  color: rgb(241 247 255 / .76);
  font: 500 14px/1 var(--font-body);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color 250ms;
}
#main-nav .nav-link:is(:hover, .active) { color: #f1f7ff; }
#main-nav .nav-link:focus-visible { outline-color: #00a2ff; outline-offset: 2px; }
#main-nav .nav-link .icon { width: 18px; height: 18px; flex: none; }
#main-nav .nav-link > .nav-label { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; border: 0; background: none; box-shadow: none; color: inherit; font: inherit; }
#main-nav .dock-selection {
  z-index: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: radial-gradient(120% 140% at 30% 0%, rgb(255 255 255 / .44), transparent 55%), rgb(255 255 255 / .15);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55), inset 0 1px 5px rgb(255 255 255 / .80), inset 2px -2px 7px rgb(133 227 239 / .48), inset -2px 0 7px rgb(192 150 255 / .55), 0 6px 16px -6px rgb(0 70 140 / .45);
}
#main-nav .dock-selection.is-ready { transition: transform 420ms var(--ease-spring), width 420ms var(--ease-spring); }
@media (max-width: 760px) {
  .cabinet-header { padding: 12px var(--gutter); }
  #main-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 520px); background: rgb(10 18 40 / .70); }
  #main-nav .nav-link { flex: 1 1 0; min-width: 0; flex-direction: column; height: 56px; padding: 0 2px; gap: 5px; font-size: clamp(8px, 2.5vw, 11px); }
}
@media (prefers-reduced-motion: reduce) {
  .cabinet-header::before, #main-nav .dock-selection.is-ready, #main-nav .nav-link { transition: none; }
}
@media (max-width: 780px) {
  .overview .page-intro { align-items: flex-start; gap: 14px; }
  .overview .intro-actions { width: 100%; }
  .overview-period { width: 100%; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .overview { --overview-gap: 14px; }
  .overview .card { padding: 20px; }
  .overview .stat { padding: 14px; }
  .overview-grid { grid-template-columns: minmax(0,1fr); }
  .overview-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-period .admin-range, .overview-period .admin-date-field { width: 100%; }
  .overview-line-chart .chart-plot { height: 146px; }
}

.client-profile {
  --profile-gap: clamp(14px, 2vw, 22px);
  display: grid;
  gap: var(--profile-gap);
  margin-top: 20px;
}
.profile-back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  min-height: 36px;
  color: var(--text-2);
  font-size: 13px;
  text-decoration: none;
}
.profile-back:hover { color: var(--text-1); }
.profile-back .icon { width: 16px; height: 16px; }
.profile-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.profile-heading h1 { text-wrap: initial; overflow-wrap: anywhere; }
.profile-id, .profile-email { margin: 0; font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.profile-id { margin-bottom: 9px; font-variant-numeric: tabular-nums; }
.profile-id span { color: var(--text-3); }
.profile-email { margin-top: 8px; }
.profile-account-actions, .profile-tickets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.profile-meta, .profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
}
.profile-meta {
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px clamp(24px, 5vw, 72px);
  padding-block: 14px;
  border-block: 1px solid var(--line);
}
.profile-meta dt, .profile-facts dt, .receipt-details dt, .receipt-client span {
  color: var(--text-2);
  font-size: 12px;
}
.profile-meta dd, .profile-facts dd, .receipt-details dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.profile-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--profile-gap);
}
.profile-panel {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 26px);
  border-radius: var(--r-lg);
}
.profile-section-head, .profile-section-head h2, .profile-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.profile-section-head { margin-bottom: 18px; }
.profile-plan { margin-bottom: 16px; }
.profile-plan h3 {
  font: 400 clamp(19px, 2vw, 25px)/1.2 var(--font-heading);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.profile-plan p, .profile-note { margin: 5px 0 0; font-size: 12px; color: var(--text-2); }
.profile-note { line-height: 1.6; }
.profile-expiry.button { padding: 0; margin-top: 3px; font-size: 12px; }
.profile-expiry.button:hover { background: transparent; text-decoration: underline; }
.profile-access { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.profile-access-states [data-state="active"] { color: var(--ok); }
.profile-access-states [data-state="blocked"] { color: #ff8997; }
.profile-balance { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.profile-traffic-head, .profile-nodes li > div, .profile-traffic-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
}
.profile-traffic-head { margin-top: 20px; }
.profile-traffic-head h3 { font-size: 13px; }
.profile-traffic-head > span, .profile-traffic-total > span { color: var(--text-2); font-size: 12px; }
.profile-nodes { display: grid; gap: 13px; padding: 0; margin: 12px 0 16px; list-style: none; }
.profile-nodes strong, .profile-traffic-total strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.profile-traffic-track { display: block; height: 4px; margin-top: 5px; background: var(--surface-2); border-radius: var(--r-pill); }
.profile-traffic-track > span { display: block; height: 100%; border-radius: inherit; background: #b8aeff; }
.profile-traffic-total { border-top: 1px solid var(--line); padding-top: 10px; }
.profile-history { border-radius: var(--r-lg); }
.profile-history > header { padding: 18px clamp(16px, 2.4vw, 26px); margin: 0; }
.profile-history > .table-scroll { border-radius: 0 0 var(--r-lg) var(--r-lg); }

#modal:has(.payment-receipt) {
  background: #1b182c;
}
#modal:has(.payment-receipt) #modal-title { font-size: clamp(16px, 2.4vw, 21px); overflow-wrap: anywhere; }
.receipt-total, .receipt-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.receipt-total {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(110deg, rgb(184 174 255 / .16), var(--surface-1));
}
.receipt-total > div > span { display: block; color: var(--text-2); font-size: 12px; }
.receipt-total strong {
  display: block;
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.receipt-details { margin: 12px 0 0; }
.receipt-details > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.receipt-details dd { margin: 0; text-align: end; }
.receipt-client { margin-top: 16px; }
.receipt-client strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.receipt-client .button { text-decoration: none; }
.receipt-client .button .icon { width: 16px; height: 16px; }
.receipt-client .button.primary:hover { background: #ded6ff; color: var(--text-on-light); }

@media (max-width: 840px) {
  .profile-columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .client-profile { margin-top: 10px; }
  .profile-heading { align-items: start; flex-direction: column; }
  .profile-meta { column-gap: 20px; }
  .profile-balance { gap: 8px; }
  .profile-balance dt { font-size: 11px; }
}

#main-nav[hidden] { display: none; }
.admin-request-state { display: grid; justify-items: start; gap: 12px; margin-block: 16px; }
.admin-request-state p { margin: 0; }
.admin-login-card { max-width: 400px; }
#sign-out[hidden] { display: none; }
#modal .stop-campaign-error:empty { display: none; }
[data-payment][aria-busy="true"], [data-transaction][aria-busy="true"] { cursor: progress; }
