:root {
  color-scheme: dark;
  --bg: #070609;
  --sidebar: rgba(9, 8, 12, 0.94);
  --surface: #100e15;
  --surface-2: #15121d;
  --surface-3: #1b1724;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #f6f4fa;
  --muted: #8d8898;
  --muted-2: #696472;
  --purple: #8b4dff;
  --purple-bright: #a36bff;
  --purple-dark: #4f16c9;
  --blue: #3497ff;
  --mint: #39d7b2;
  --green: #42d894;
  --orange: #ff9b55;
  --pink: #ec5dba;
  --danger: #ff626f;
  --sidebar-width: 252px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 25px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #2f2939 var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 58% -20%, rgba(102, 37, 199, 0.16), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

body.no-motion *,
body.no-motion *::before,
body.no-motion *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition-duration: 0.001ms !important;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.1;
}

.ambient-one {
  top: -20rem;
  left: 35%;
  background: var(--purple);
}

.ambient-two {
  right: -20rem;
  top: 35%;
  background: #341987;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 27px 18px 18px;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
  backdrop-filter: blur(22px);
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand-dot,
.mobile-brand span {
  color: var(--purple-bright);
}

.brand-mark {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 5px;
  border-radius: 8px;
  background: linear-gradient(145deg, #a675ff, #5f25da 62%, #301175);
  box-shadow: 0 6px 20px rgba(126, 67, 242, 0.4), inset 0 1px rgba(255, 255, 255, 0.32);
  transform: rotate(-4deg);
}

.brand-mark span {
  width: 3px;
  border-radius: 4px;
  background: white;
}

.brand-mark span:nth-child(1) { height: 8px; opacity: 0.65; }
.brand-mark span:nth-child(2) { height: 14px; }
.brand-mark span:nth-child(3) { height: 11px; opacity: 0.82; }

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-label {
  margin: 8px 12px 9px;
  color: #57525f;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-label-secondary {
  margin-top: 24px;
}

.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  color: #827d8d;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-item::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -18px;
  width: 2px;
  border-radius: 4px;
  background: var(--purple-bright);
  box-shadow: 0 0 16px var(--purple);
  content: "";
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 180ms, transform 250ms var(--ease);
}

.nav-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item:hover {
  color: #d6d1dd;
  background: rgba(255, 255, 255, 0.035);
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(122, 62, 246, 0.17), rgba(130, 66, 249, 0.05));
}

.nav-item.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.nav-count {
  min-width: 22px;
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(145, 85, 255, 0.2);
  border-radius: 99px;
  color: #b791ff;
  background: rgba(125, 59, 246, 0.1);
  font-size: 0.65rem;
  text-align: center;
}

.sidebar-spacer {
  flex: 1;
}

.server-mini-card {
  position: relative;
  margin: 16px 0 12px;
  overflow: hidden;
  padding: 13px;
  border: 1px solid rgba(81, 121, 194, 0.25);
  border-radius: 14px;
  background: linear-gradient(145deg, #132445, #0a142b 72%);
  box-shadow: inset 0 1px rgba(170, 202, 255, 0.08), 0 14px 32px rgba(2, 8, 22, 0.25);
}

.server-mini-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 0%, rgba(90, 148, 255, 0.2), transparent 42%),
    linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.025));
  content: "";
}

.server-mini-card > * {
  position: relative;
  z-index: 1;
}

.server-mini-top,
.profile {
  display: flex;
  align-items: center;
}

.server-mini-top {
  gap: 9px;
}

.server-mini-top > span:nth-child(2),
.profile-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.server-mini-top strong,
.profile-copy strong {
  overflow: hidden;
  color: #dedbe4;
  font-size: 0.71rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-mini-top small,
.profile-copy small {
  color: var(--muted-2);
  font-size: 0.61rem;
}

.server-mini-top strong { color: #f5f8ff; }
.server-mini-top small { color: #7891b8; }

.server-cube,
.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: #fff;
  background: linear-gradient(145deg, #2b2437, #17131f);
}

.server-cube {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  color: #071423;
  background: linear-gradient(145deg, #e5ff63, #9de63e 70%, #6fc92c);
  box-shadow: 0 7px 18px rgba(159, 229, 57, 0.22), inset 0 1px rgba(255, 255, 255, 0.65);
}

.server-cube svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.status-orb {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #c8f34b;
  box-shadow: 0 0 0 4px rgba(200, 243, 75, 0.08), 0 0 12px rgba(200, 243, 75, 0.5);
}

.mini-progress {
  height: 3px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(189, 215, 255, 0.1);
}

.mini-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a6e93e, #e1ff62);
  box-shadow: 5px 0 10px rgba(203, 249, 77, 0.3);
  transition: width 600ms var(--ease);
}

.server-mini-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: #7088ad;
  font-size: 0.56rem;
}

.server-mini-meta strong {
  color: #c5d4ec;
  font-weight: 500;
}

.profile {
  gap: 10px;
  min-height: 50px;
  padding: 7px 8px;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #d5c3ff;
  background: linear-gradient(145deg, #2d2145, #16111f);
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-more {
  width: 31px;
  height: 31px;
  margin-left: auto;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #8c8795;
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
  transition: color 180ms, border-color 180ms, background 180ms, transform 180ms;
}

.icon-button:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.icon-button:active {
  transform: scale(0.96);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-close,
.menu-toggle,
.mobile-brand {
  display: none;
}

.main-content {
  min-width: 0;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 9, 0.75);
  backdrop-filter: blur(22px) saturate(130%);
}

.topbar-left,
.top-actions {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 13px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.75rem;
}

.breadcrumb span { color: #5e5966; }
.breadcrumb b { color: #39353e; font-weight: 400; }
.breadcrumb strong { color: #aaa5b1; font-weight: 500; }

.top-actions {
  gap: 10px;
}

.search-trigger {
  display: flex;
  width: 220px;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #615c69;
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.7rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms, background 180ms;
}

.search-trigger:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.search-trigger svg,
.dialog-search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.search-trigger kbd,
.dialog-search kbd,
.command-body kbd {
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #625c6a;
  background: rgba(255, 255, 255, 0.025);
  font: 0.57rem/1 Inter, sans-serif;
}

.live-badge,
.status-badge,
.connection-summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #898391;
  background: rgba(255, 255, 255, 0.018);
}

.live-badge {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.62rem;
}

.live-badge span,
.status-badge i,
.connection-summary i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c7781;
}

.live-badge.connected span,
.status-badge i,
.connection-summary i {
  background: var(--green);
  box-shadow: 0 0 8px rgba(66, 216, 148, 0.5);
}

.live-badge.connected span {
  animation: livePulse 1.9s ease-in-out infinite;
}

.notification-button {
  width: 38px;
  height: 38px;
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border: 1px solid #0b0910;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 8px var(--purple);
}

.notification-panel {
  position: fixed;
  top: 61px;
  right: 34px;
  z-index: 50;
  width: min(370px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: rgba(17, 14, 23, 0.97);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(22px);
  transform-origin: top right;
  animation: popIn 260ms var(--ease) both;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.panel-head button {
  border: 0;
  color: #9d77ef;
  background: none;
  font-size: 0.65rem;
  cursor: pointer;
}

.notification-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: start;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
}

.notification-item.unread { background: rgba(130, 72, 255, 0.04); }

.notification-item > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.notification-item strong { font-size: 0.69rem; font-weight: 600; }
.notification-item small { color: var(--muted); font-size: 0.61rem; line-height: 1.5; }
.notification-item time { color: #55505d; font-size: 0.55rem; }

.notice-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  font-size: 0.62rem;
}

.notice-icon.success { color: var(--green); background: rgba(66, 216, 148, 0.09); }
.notice-icon.info { color: #ab82ff; background: rgba(138, 76, 255, 0.1); }

.dashboard-wrap {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 32px clamp(24px, 4vw, 56px) 30px;
}

.section-anchor {
  scroll-margin-top: 92px;
}

.hero-card {
  position: relative;
  display: flex;
  min-height: 280px;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(159, 104, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(105deg, rgba(31, 17, 48, 0.92) 0%, rgba(15, 11, 22, 0.85) 50%, rgba(14, 10, 21, 0.84) 100%),
    var(--surface);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.035);
  isolation: isolate;
}

.hero-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 590px;
}

.eyebrow,
.section-kicker {
  color: #888291;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9c7bdc;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--purple-bright);
  box-shadow: 0 0 12px rgba(163, 107, 255, 0.7);
  transform: rotate(45deg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 16px 0 16px;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.hero-content > p {
  max-width: 510px;
  margin-bottom: 25px;
  color: #8f8998;
  font-size: 0.82rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms, border-color 200ms, box-shadow 200ms;
}

.primary-button {
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #fff;
  background: linear-gradient(135deg, #9f63ff, #6d2ee3 58%, #571fc8);
  box-shadow: 0 9px 24px rgba(91, 36, 203, 0.28), inset 0 1px rgba(255, 255, 255, 0.3);
  font-size: 0.69rem;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 32px rgba(103, 43, 221, 0.4), inset 0 1px rgba(255, 255, 255, 0.35);
}

.ghost-button {
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  color: #a8a2b0;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.67rem;
}

.ghost-button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.065);
}

.ghost-button.compact {
  min-height: 36px;
  padding-inline: 12px;
}

.refreshing .refresh-icon {
  animation: spin 800ms linear infinite;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: 0;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-art::before {
  top: -43%;
  right: -5%;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(168, 113, 255, 0.14);
  background: radial-gradient(circle, rgba(120, 60, 230, 0.16), transparent 59%);
  box-shadow: inset 0 0 90px rgba(144, 78, 255, 0.07);
}

.hero-art::after {
  top: 4%;
  right: 8%;
  width: 390px;
  height: 390px;
  background:
    repeating-conic-gradient(from 15deg, rgba(155, 99, 255, 0.13) 0 1deg, transparent 1deg 8deg),
    radial-gradient(circle, rgba(105, 50, 205, 0.1), transparent 64%);
  mask-image: radial-gradient(circle, black 18%, transparent 69%);
  animation: rotateSlow 28s linear infinite;
}

.hero-ring {
  position: absolute;
  right: 12%;
  top: 50%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(177, 126, 255, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ring-two { width: 208px; height: 208px; right: calc(12% + 41px); opacity: 0.75; }
.ring-three { width: 116px; height: 116px; right: calc(12% + 87px); opacity: 0.55; }

.hero-flare {
  position: absolute;
  top: 49%;
  right: calc(12% + 133px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #9b62ff;
  box-shadow: 0 0 34px 13px rgba(125, 63, 236, 0.48), 0 0 120px 55px rgba(78, 29, 168, 0.25);
  transform: translate(50%, -50%);
  animation: orbBreathe 3.4s ease-in-out infinite;
}

.hero-status-stack {
  position: absolute;
  right: clamp(25px, 4vw, 52px);
  bottom: 25px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.glass-stat {
  display: flex;
  min-width: 150px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(12, 9, 17, 0.62);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.glass-icon,
.metric-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
}

.glass-icon {
  width: 28px;
  height: 28px;
  font-size: 0.64rem;
}

.glass-icon.purple { color: #b590ff; background: rgba(137, 75, 255, 0.13); }
.glass-icon.green { color: var(--green); background: rgba(66, 216, 148, 0.1); }

.glass-stat > span:last-child { display: grid; gap: 2px; }
.glass-stat small { color: #696371; font-size: 0.53rem; }
.glass-stat strong { font-size: 0.65rem; font-weight: 600; }

.section-block {
  padding-top: 41px;
}

.section-heading,
.panel-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading {
  margin-bottom: 17px;
}

.section-kicker {
  margin-bottom: 6px;
  color: #655f6c;
  font-size: 0.57rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-heading > p,
.muted-label {
  margin: 0;
  color: #5c5662;
  font-size: 0.6rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 13px;
}

.metric-card,
.panel,
.table-panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(20, 17, 27, 0.97), rgba(13, 11, 18, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.015);
}

.metric-card {
  min-width: 0;
  overflow: hidden;
  padding: 17px 17px 14px;
  border-radius: 16px;
  transition: transform 250ms var(--ease), border-color 250ms, background 250ms;
}

.metric-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, rgba(143, 81, 255, 0.08), transparent 46%);
  content: "";
  opacity: 0;
  transition: opacity 250ms;
}

.metric-card:hover {
  z-index: 2;
  border-color: rgba(151, 96, 255, 0.17);
  transform: translateY(-3px);
}

.metric-card:hover::after { opacity: 1; }

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-icon {
  width: 30px;
  height: 30px;
}

.metric-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-icon.purple { color: #af89ff; background: rgba(139, 77, 255, 0.1); }
.metric-icon.blue { color: #66b1ff; background: rgba(52, 151, 255, 0.1); }
.metric-icon.mint { color: #67e6c8; background: rgba(57, 215, 178, 0.1); }
.metric-icon.orange { color: #ffae70; background: rgba(255, 155, 85, 0.1); }
.metric-icon.pink { color: #ef78c5; background: rgba(236, 93, 186, 0.1); }

.trend-pill {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.trend-pill.neutral { color: #7c7684; }
.trend-pill.positive { color: var(--green); border-color: rgba(66, 216, 148, 0.15); background: rgba(66, 216, 148, 0.05); }
.trend-pill.warning { color: var(--orange); border-color: rgba(255, 155, 85, 0.18); background: rgba(255, 155, 85, 0.05); }

.metric-card > p {
  margin: 17px 0 5px;
  color: #77717f;
  font-size: 0.62rem;
}

.metric-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.metric-value strong {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.metric-value span {
  color: #6d6774;
  font-size: 0.73rem;
}

.metric-value.network-value strong {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

.metric-chart {
  position: relative;
  height: 48px;
  margin: 8px -5px 0;
  overflow: hidden;
  border-radius: 4px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 22px 13px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 100%);
}

.metric-chart::after {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 2;
  width: 18%;
  pointer-events: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025));
  content: "";
}

.metric-chart svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.line,
.large-line {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line { stroke-width: 1.5; }
.purple-line { stroke: #945cff; }
.blue-line { stroke: #46a1ff; }
.gpu-line { color: var(--mint); stroke: var(--mint); }

.chart-point {
  vector-effect: non-scaling-stroke;
  stroke-width: 5;
  animation: chart-point-pulse 1.25s ease-out infinite;
}

.purple-point { fill: #c6a6ff; stroke: rgba(148, 92, 255, 0.2); }
.blue-point { fill: #8bc7ff; stroke: rgba(70, 161, 255, 0.2); }
.gpu-point { fill: #91f2dc; stroke: rgba(57, 215, 178, 0.2); }

.gpu-card {
  border-color: rgba(57, 215, 178, 0.13);
  background: linear-gradient(145deg, rgba(17, 27, 28, 0.98), rgba(12, 16, 20, 0.98));
}

.gpu-card::after {
  background: radial-gradient(circle at 18% 0%, rgba(57, 215, 178, 0.11), transparent 48%);
}

.metric-footer {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #57515f;
  font-size: 0.54rem;
}

.metric-footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-footer strong { color: #817b88; font-weight: 500; white-space: nowrap; }

.storage-bar {
  height: 7px;
  margin-top: 31px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 155, 85, 0.18);
}

.storage-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7040d7, #a45dff);
  box-shadow: 6px 0 12px rgba(142, 76, 255, 0.3);
  transition: width 650ms var(--ease);
}

.storage-legend {
  display: flex;
  gap: 13px;
  margin: 11px 0 6px;
  color: #5e5865;
  font-size: 0.52rem;
}

.storage-legend span,
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.purple-dot { background: var(--purple-bright); box-shadow: 0 0 6px rgba(163, 107, 255, 0.5); }
.orange-dot { background: var(--orange); }
.blue-dot { background: var(--blue); }
.mint-dot { background: var(--mint); box-shadow: 0 0 6px rgba(57, 215, 178, 0.48); }

.network-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 16px;
}

.network-split > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.network-split i { grid-row: 1 / 3; align-self: center; color: #b888ff; font-style: normal; font-size: 0.7rem; }
.network-split small { color: #5f5966; font-size: 0.48rem; }
.network-split strong { font-size: 0.57rem; font-weight: 500; white-space: nowrap; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 13px;
  padding-top: 41px;
}

.panel {
  min-width: 0;
  border-radius: var(--radius-md);
  padding: 20px;
}

.panel-title-row {
  align-items: center;
}

.panel-title-row h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.segmented-control {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}

.segmented-control button {
  min-width: 35px;
  min-height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 6px;
  color: #5e5865;
  background: none;
  font-size: 0.51rem;
  cursor: pointer;
}

.segmented-control button.active {
  color: #d9d4e0;
  background: #24202c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 5px;
  color: #625c69;
  font-size: 0.53rem;
}

.chart-legend strong {
  margin-left: auto;
  color: #77717e;
  font-weight: 500;
}

.large-chart {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  margin-top: 10px;
}

.chart-axis {
  display: flex;
  height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 2px;
  color: #4f4a55;
  font-size: 0.46rem;
  text-align: right;
}

.chart-canvas {
  position: relative;
  min-width: 0;
  height: 250px;
}

.grid-lines {
  position: absolute;
  inset: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 10% 25%;
}

.chart-canvas svg {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.large-line { stroke-width: 1.7; filter: drop-shadow(0 0 4px currentColor); }
.cpu-line { color: #9a61ff; stroke: #9a61ff; }
.memory-line { color: #3e9eff; stroke: #3e9eff; }

@keyframes chart-point-pulse {
  0%, 100% { stroke-width: 3; }
  50% { stroke-width: 7; }
}

.chart-times {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  color: #4e4853;
  font-size: 0.46rem;
}

.status-badge {
  padding: 6px 9px;
  color: #8b8592;
  font-size: 0.52rem;
}

.system-list {
  display: grid;
  margin: 19px 0 15px;
}

.system-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.system-list dt {
  color: #615b68;
  font-size: 0.58rem;
}

.system-list dd {
  max-width: 58%;
  overflow: hidden;
  margin: 0;
  color: #aca6b4;
  font-size: 0.59rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-button {
  min-height: 36px;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  color: #9770e7;
  background: none;
  font-size: 0.6rem;
}

.text-button:hover { color: #b08aff; transform: translateX(2px); }

.services-panel,
.process-panel {
  min-height: 332px;
}

.panel-action {
  width: 34px;
  height: 34px;
}

.service-list,
.process-list {
  display: grid;
  margin-top: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.service-symbol {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #9f78ec;
  background: rgba(137, 78, 246, 0.06);
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-copy,
.process-name {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.service-copy strong,
.process-name strong {
  overflow: hidden;
  color: #aaa4b1;
  font-size: 0.62rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-copy small,
.process-name small {
  color: #55505c;
  font-size: 0.5rem;
}

.service-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6c6673;
  font-size: 0.51rem;
}

.service-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #56515a;
}

.service-state.up { color: #6f9d86; }
.service-state.up i { background: var(--green); box-shadow: 0 0 7px rgba(66, 216, 148, 0.5); }

.skeleton-row {
  height: 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.process-head,
.process-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 55px 50px 50px;
  gap: 10px;
  align-items: center;
}

.process-head {
  padding: 7px 0 9px;
  border-bottom: 1px solid var(--line);
  color: #4f4a55;
  font-size: 0.49rem;
}

.process-row {
  min-height: 51px;
  border-bottom: 1px solid var(--line);
  color: #78727f;
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
}

.process-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.process-bar::before {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--purple) var(--usage), rgba(255, 255, 255, 0.04) var(--usage));
  content: "";
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.connection-summary {
  min-height: 36px;
  padding: 0 11px;
  font-size: 0.55rem;
}

.connection-summary strong { color: #beb8c6; font-variant-numeric: tabular-nums; }

.table-panel {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

th {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: #514c57;
  background: rgba(255, 255, 255, 0.012);
  font-size: 0.49rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

td {
  height: 53px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #8a8491;
  font-size: 0.59rem;
  font-variant-numeric: tabular-nums;
}

tbody tr {
  transition: background 160ms;
}

tbody tr:hover { background: rgba(255, 255, 255, 0.018); }

.protocol-badge,
.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 0.49rem;
  font-weight: 600;
}

.protocol-badge { color: #a27dea; background: rgba(139, 77, 255, 0.08); }
.state-badge { color: #75b292; background: rgba(66, 216, 148, 0.06); }
.state-badge i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.empty-state {
  display: grid;
  min-height: 160px;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #605a67;
}

.empty-state span { color: #8b61dc; font-size: 1.15rem; }
.empty-state strong { color: #88818f; font-size: 0.66rem; font-weight: 500; }
.empty-state small { font-size: 0.54rem; }

.table-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 18px;
  color: #4f4955;
  background: rgba(255, 255, 255, 0.01);
  font-size: 0.49rem;
}

.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 3px 0;
  color: #4a454f;
  font-size: 0.52rem;
}

.dashboard-footer p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.footer-logo {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #8b63d6;
  font-size: 0.5rem;
}

.command-dialog,
.settings-dialog {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--text);
  background: rgba(16, 13, 22, 0.98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 40, 200, 0.12);
  backdrop-filter: blur(24px);
}

.command-dialog {
  width: min(570px, calc(100% - 28px));
  border-radius: 18px;
}

.command-dialog[open],
.settings-dialog[open] {
  animation: dialogIn 300ms var(--ease) both;
}

.command-dialog::backdrop,
.settings-dialog::backdrop {
  background: rgba(3, 2, 5, 0.75);
  backdrop-filter: blur(5px);
}

.dialog-search {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: #827c89;
}

.dialog-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #e8e4ec;
  background: transparent;
  font-size: 0.78rem;
}

.dialog-search input::placeholder { color: #5c5662; }

.command-body {
  display: grid;
  gap: 3px;
  padding: 11px;
}

.command-body > p {
  margin: 5px 9px 8px;
  color: #58525f;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.command-body > button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  min-height: 56px;
  padding: 7px 9px;
  border: 0;
  border-radius: 10px;
  color: #d6d1dc;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.command-body > button:hover,
.command-body > button.selected {
  background: rgba(137, 77, 255, 0.09);
}

.command-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #a77ef2;
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.75rem;
}

.command-body button > span:nth-child(2) { display: grid; gap: 3px; }
.command-body strong { font-size: 0.68rem; font-weight: 500; }
.command-body small { color: #65606b; font-size: 0.56rem; }

.command-empty {
  padding: 30px;
  color: #66606d;
  font-size: 0.65rem;
  text-align: center;
}

.dialog-footer {
  display: flex;
  gap: 13px;
  padding: 10px 17px;
  border-top: 1px solid var(--line);
  color: #504a56;
  font-size: 0.49rem;
}

.dialog-footer i {
  padding: 2px 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #736d78;
  font-style: normal;
}

.settings-dialog {
  width: min(520px, calc(100% - 28px));
  border-radius: 20px;
}

.settings-head,
.settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px;
}

.settings-head { border-bottom: 1px solid var(--line); }
.settings-head h2 { margin: 0; font-size: 1.1rem; font-weight: 500; }
.settings-head .icon-button { width: 36px; height: 36px; }

.settings-body {
  display: grid;
  gap: 2px;
  padding: 12px 20px;
}

.setting-row,
.setting-select {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.setting-row > span,
.setting-select > span {
  display: grid;
  gap: 4px;
}

.setting-row strong,
.setting-select strong { font-size: 0.66rem; font-weight: 500; }
.setting-row small,
.setting-select small { color: #65606b; font-size: 0.53rem; }

.setting-row input {
  position: absolute;
  opacity: 0;
}

.setting-row > i {
  position: relative;
  width: 36px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: #28232f;
  cursor: pointer;
  transition: background 180ms;
}

.setting-row > i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #817a88;
  content: "";
  transition: transform 220ms var(--ease), background 180ms;
}

.setting-row input:checked + i { background: #6731cf; }
.setting-row input:checked + i::after { background: #fff; transform: translateX(16px); }
.setting-row input:focus-visible + i { outline: 2px solid #b48aff; outline-offset: 3px; }

.setting-select select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  color: #aaa4b0;
  background: #1b1722;
  font-size: 0.58rem;
}

.endpoint-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 13px 0 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
}

.endpoint-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #aa82f5;
  background: rgba(139, 77, 255, 0.09);
}

.endpoint-card > span:nth-child(2) { display: grid; gap: 2px; }
.endpoint-card strong { font-size: 0.61rem; font-weight: 500; }
.endpoint-card code { color: #6e6875; font-size: 0.52rem; }

.settings-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

.settings-footer .primary-button {
  border: 0;
}

.toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  min-width: 260px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: #bcb6c4;
  background: rgba(22, 18, 29, 0.96);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  font-size: 0.61rem;
  animation: toastIn 320ms var(--ease) both;
}

.toast i {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(66, 216, 148, 0.1);
  font-style: normal;
}

.toast.leaving { animation: toastOut 250ms ease forwards; }

:focus-visible {
  outline: 2px solid #ad83ff;
  outline-offset: 3px;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(66, 216, 148, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(66, 216, 148, 0); }
}

@keyframes orbBreathe {
  0%, 100% { opacity: 0.75; transform: translate(50%, -50%) scale(0.92); }
  50% { opacity: 1; transform: translate(50%, -50%) scale(1.08); }
}

@keyframes rotateSlow { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes shimmer {
  to { background-position: -200% 0; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) translateX(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(15px); }
}

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-status-stack { display: none; }
  .hero-content { max-width: 600px; }
}

@media (max-width: 980px) {
  :root { --sidebar-width: 232px; }
  .content-grid { grid-template-columns: 1fr; }
  .system-panel { min-height: auto; }
  .process-panel { min-height: auto; }
}

@media (max-width: 760px) {
  .sidebar {
    width: min(286px, 86vw);
    transform: translateX(-103%);
    transition: transform 350ms var(--ease);
  }

  body.nav-open { overflow: hidden; }
  body.nav-open .sidebar { transform: translateX(0); }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(3, 2, 5, 0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms;
    backdrop-filter: blur(3px);
  }

  body.nav-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .sidebar-close, .menu-toggle { display: inline-grid; }
  .mobile-brand { display: inline-block; }
  .sidebar-close { width: 36px; height: 36px; }

  .main-content { margin-left: 0; }
  .topbar { min-height: 64px; padding: 0 16px; }
  .menu-toggle { width: 38px; height: 38px; }
  .mobile-brand { font-size: 0.86rem; font-weight: 700; letter-spacing: -0.04em; }
  .breadcrumb { display: none; }
  .search-trigger { width: 38px; justify-content: center; padding: 0; }
  .search-trigger span, .search-trigger kbd, .live-badge strong { display: none; }
  .live-badge { min-width: 38px; justify-content: center; padding: 0; }
  .dashboard-wrap { padding: 18px 16px 24px; }

  .hero-card {
    min-height: 385px;
    align-items: flex-start;
    padding: 31px 25px;
  }

  .hero-card::before { mask-image: linear-gradient(black, transparent); }
  .hero-content { z-index: 4; }
  .hero-content h1 { margin-top: 13px; font-size: clamp(2.1rem, 10vw, 3.25rem); }
  .hero-content > p { max-width: 94%; }
  .hero-art { inset: 35% -22% -20% 13%; opacity: 0.7; }
  .hero-art::before { right: -4%; width: 430px; height: 430px; }
  .hero-art::after { right: 3%; width: 330px; height: 330px; }
  .hero-ring { right: 9%; width: 240px; height: 240px; }
  .ring-two { right: calc(9% + 35px); width: 170px; height: 170px; }
  .ring-three { right: calc(9% + 73px); width: 94px; height: 94px; }
  .hero-flare { right: calc(9% + 108px); }

  .section-block,
  .content-grid { padding-top: 31px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 205px; }
  .metric-chart { height: 58px; }
  .section-heading { align-items: flex-start; }
  .section-heading > p { display: none; }
  .table-actions { align-items: flex-end; flex-direction: column; }
  .connection-summary { min-height: auto; padding: 0; border: 0; background: transparent; }
  .chart-canvas, .chart-axis { height: 190px; }
  .chart-canvas svg { height: 190px; }
  .chart-canvas { padding-bottom: 20px; }
  .dashboard-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .notification-panel { top: 57px; right: 16px; }
  .table-footer { flex-direction: column; }
}

@media (max-width: 440px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .primary-button, .ghost-button { width: 100%; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 1.1rem; }
  .table-actions .ghost-button { width: auto; }
  .process-head, .process-row { grid-template-columns: minmax(100px, 1fr) 43px 43px; }
  .process-head span:nth-child(2), .process-row > span:nth-child(2) { display: none; }
  .settings-body { padding-inline: 15px; }
  .setting-row, .setting-select { align-items: flex-start; padding: 14px 0; }
  .setting-select { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
