:root {
  color-scheme: dark;
  --bg: #06111f;
  --bg-2: #081a2e;
  --panel: rgba(12, 29, 49, .78);
  --panel-solid: #0b1c31;
  --text: #f7fbff;
  --muted: #9fb3c8;
  --cyan: #22d3ee;
  --blue: #1d4ed8;
  --line: rgba(148, 190, 218, .18);
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 8%, rgba(34, 211, 238, .18), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(29, 78, 216, .22), transparent 30rem),
    linear-gradient(180deg, #030912 0%, var(--bg) 38%, #04101d 100%);
  line-height: 1.6;
  opacity: 1;
  overflow-x: hidden;
  transition: opacity .35s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(34, 211, 238, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.22));
  animation: gridDrift 18s linear infinite;
}
body.page-booting { opacity: 0; }
body > * {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), #67e8f9, var(--blue));
  box-shadow: 0 0 18px rgba(34, 211, 238, .72);
  transition: width .12s linear;
}
.cursor-glow {
  position: fixed;
  left: var(--cursor-x, 50vw);
  top: var(--cursor-y, 50vh);
  z-index: 2;
  width: 260px;
  height: 260px;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34,211,238,.14), rgba(29,78,216,.05) 38%, transparent 68%);
  filter: blur(6px);
  transition: opacity .22s ease;
}
.cursor-glow.visible { opacity: 1; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 12, 23, .82);
  backdrop-filter: blur(18px);
}

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, .55);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(34, 211, 238, .95), rgba(29, 78, 216, .8));
  box-shadow: 0 12px 30px rgba(34, 211, 238, .22);
  color: #03111e;
  animation: breatheGlow 3.2s ease-in-out infinite;
}
.nav-menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 14px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-menu a {
  position: relative;
}
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 45%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  opacity: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { animation: buttonShine .9s ease; }
.btn.loading::after {
  content: "";
  width: 13px;
  height: 13px;
  margin-left: 9px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: spin .7s linear infinite;
}
.btn.copied, button.copied {
  border-color: rgba(94, 234, 212, .75) !important;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, .1);
}
.btn-primary {
  color: #04101d;
  background: linear-gradient(135deg, var(--cyan), #67e8f9);
  box-shadow: 0 14px 36px rgba(34, 211, 238, .24);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
}
.btn-large { min-height: 52px; padding: 0 24px; }

.hero { min-height: calc(100vh - 76px); display: flex; align-items: center; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 29, .9));
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: 0; font-size: 12px; font-weight: 800; margin: 0 0 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: .98; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 18px; line-height: 1.2; }
.hero-text, .section-heading p { color: var(--muted); font-size: 18px; max-width: 680px; }
.hero h1, .hero .hero-text, .hero .hero-actions, .hero .trust-row {
  opacity: 0;
  animation: heroStage .65s ease forwards;
}
.hero .hero-text { animation-delay: .12s; }
.hero .hero-actions { animation-delay: .24s; }
.hero .trust-row { animation-delay: .36s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 24px; }
.center-actions { justify-content: center; margin-top: 24px; margin-bottom: 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: #cae8f2; font-size: 13px; }
.trust-row span, .advantage-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
}

.hero-panel, .admin-preview, .price-card, .feature-card, .benefit, details {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 35, 59, .9), rgba(5, 17, 31, .84));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-panel {
  padding: 20px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  overflow: hidden;
  animation: floatPanel 5.8s ease-in-out infinite;
}
.hero-art {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  height: 260px;
  margin: -20px -20px 18px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  opacity: .9;
}
.panel-topbar, .chart-head, .admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-topbar span, .metric-card span, .chart-head span, .admin-header span, .mini-stats span { color: var(--muted); font-size: 13px; }
.status-pill { color: #07251e !important; background: #5eead4; padding: 6px 10px; border-radius: 999px; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric-card { padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.metric-card strong { display: block; font-size: 24px; margin: 5px 0; }
.metric-card small { color: #76e4f5; }
.chart-card { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(3, 12, 23, .52); }
.bars { height: 150px; display: flex; align-items: end; gap: 10px; }
.bars span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--cyan), rgba(29, 78, 216, .55)); transform-origin: bottom; animation: barGrow .9s ease both, floatBar 2.6s ease-in-out .9s infinite alternate; }
.bars span:nth-child(even) { animation-delay: .45s; }
.order-list { margin-top: 12px; display: grid; gap: 8px; }
.order-list div { display: flex; justify-content: space-between; padding: 12px; border-radius: var(--radius); background: rgba(255,255,255,.04); color: var(--muted); }
.order-list strong { color: var(--cyan); }

.section-heading { text-align: center; margin: 0 auto 46px; max-width: 760px; }
.align-left { text-align: left; margin-left: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card, .benefit { padding: 22px; min-height: 210px; transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease; }
.feature-card:hover, .benefit:hover, .price-card:hover, .code-card:hover, .content-card:hover, .authdash-card:hover, .panel-card:hover, .status-card:hover, .security-card:hover, .compare-card:hover {
  transform: translateY(-6px) rotateX(1deg) rotateY(-1deg);
  border-color: rgba(34, 211, 238, .48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38), 0 0 0 1px rgba(34, 211, 238, .08);
}
.feature-card .icon { display: inline-grid; place-items: center; width: 42px; height: 32px; border-radius: var(--radius); background: rgba(34, 211, 238, .12); color: var(--cyan); font-weight: 800; margin-bottom: 22px; }
.feature-card p, .benefit p, .price-card p, details p, .footer p { color: var(--muted); }

.section-split { background: rgba(255,255,255,.025); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split-grid, .dashboard-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 46px; align-items: center; }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); }
.step span { flex: 0 0 38px; height: 38px; display: grid; place-items: center; color: #04101d; background: var(--cyan); border-radius: var(--radius); font-weight: 800; }
.step p { color: var(--muted); margin-bottom: 0; }
.step { transition: transform .24s ease, border-color .24s ease; }
.step:hover { transform: translateX(6px); border-color: rgba(34, 211, 238, .42); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(34,211,238,.65); transform: translateY(-10px); }
.badge { position: absolute; top: 16px; right: 16px; color: #04101d; background: var(--cyan); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }
.price-card strong { font-size: 36px; margin: 18px 0; }
.price-card strong span { color: var(--muted); font-size: 15px; }
.price-card ul { padding: 0; margin: 0 0 24px; list-style: none; color: #d9ebf7; }
.price-card li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.price-card .btn { margin-top: auto; }

.dashboard-section { background: linear-gradient(180deg, rgba(6,17,31,.25), rgba(7,28,47,.65)); }
.dashboard-grid { grid-template-columns: 1.08fr .92fr; }
.admin-preview { min-height: 420px; display: grid; grid-template-columns: 170px 1fr; overflow: hidden; }
.admin-sidebar { padding: 18px; display: grid; align-content: start; gap: 12px; border-right: 1px solid var(--line); background: rgba(0,0,0,.18); }
.admin-sidebar a { color: var(--muted); padding: 10px 12px; border-radius: var(--radius); }
.admin-sidebar .active { color: var(--text); background: rgba(34,211,238,.12); }
.admin-main { padding: 22px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stats div { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.045); }
.mini-stats strong { display: block; font-size: 24px; }
.line-chart { height: 130px; margin: 18px 0; display: flex; gap: 10px; align-items: center; }
.line-chart span { height: 3px; flex: 1; background: var(--cyan); box-shadow: 0 0 30px var(--cyan); transform: rotate(var(--r, -8deg)); }
.line-chart span:nth-child(2) { --r: 7deg; }
.line-chart span:nth-child(3) { --r: -2deg; }
.line-chart span:nth-child(4) { --r: 10deg; }
.line-chart span:nth-child(5) { --r: -4deg; }
.recent { display: grid; gap: 10px; }
.recent p { margin: 0; color: var(--muted); padding: 12px; background: rgba(255,255,255,.04); border-radius: var(--radius); }
.recent span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 999px; background: var(--cyan); }
.advantage-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { min-height: 160px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.security-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 35, 59, .72), rgba(3, 12, 23, .78));
  min-height: 190px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.security-card strong {
  color: var(--cyan);
  display: inline-block;
  margin-bottom: 18px;
}
.security-card p { color: var(--muted); }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.compare-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.compare-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; color: #d9ebf7; }
.compare-card li { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 10px; }
.muted-card { background: rgba(255,255,255,.035); }
.accent-card { border-color: rgba(34, 211, 238, .5); background: linear-gradient(180deg, rgba(34,211,238,.13), rgba(4,16,29,.82)); }
.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.flow-strip::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 38px;
  height: 2px;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .78), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: flowLine 2.2s ease forwards;
}
.flow-strip div {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  padding: 20px;
  min-height: 156px;
  transition: transform .25s ease, border-color .25s ease;
}
.flow-strip div:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .48); }
.flow-strip span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: #03111e;
  background: var(--cyan);
  font-weight: 800;
}
.flow-strip strong, .flow-strip small { display: block; }
.flow-strip small { color: var(--muted); margin-top: 8px; line-height: 1.5; }
.flow-strip.compact { grid-template-columns: repeat(4, 1fr); margin: 18px 0; }
.flow-strip.compact div { min-height: 130px; }
.code-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.code-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 49, .9), rgba(3, 12, 23, .82));
  padding: 20px;
  box-shadow: var(--shadow);
}
.code-card pre {
  position: relative;
  margin: 16px 0 0;
  overflow-x: auto;
  border: 1px solid rgba(34, 211, 238, .16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .24);
  padding: 16px;
}
.code-card pre::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--cyan);
  animation: blinkCursor .9s steps(2, end) infinite;
}
.code-card code {
  color: #d9f7ff;
  font: 13px/1.7 Consolas, Monaco, "Courier New", monospace;
  display: inline-block;
  animation: codeReveal .65s ease both;
}
.code-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.code-head h3 { margin-bottom: 0; }
.code-head button, .tab-row button, .filter-row button, .dashboard-nav button, .table-list button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255,255,255,.04);
  min-height: 34px;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}
.code-head button:hover, .tab-row button:hover, .filter-row button:hover, .dashboard-nav button:hover, .table-list button:hover { border-color: rgba(34, 211, 238, .48); }
.tab-row, .filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.tab-row button.active, .filter-row button.active {
  color: #03111e;
  background: var(--cyan);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(34, 211, 238, .18);
}
.code-tab-panels .code-card { display: none; }
.code-tab-panels .code-card.active { display: block; animation: tabSlide .28s ease both; }
.sdk-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.sdk-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #cae8f2;
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 700;
}
.faq-band { border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
details { padding: 18px 20px; box-shadow: none; }
summary { cursor: pointer; font-weight: 800; }
details p { margin: 12px 0 0; }

.footer { padding: 56px 0 24px; background: #020811; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.footer h3 { font-size: 14px; text-transform: uppercase; color: #dceefa; }
.footer a:not(.brand) { display: block; color: var(--muted); margin: 8px 0; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.page-hero { padding: 84px 0 34px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 58px); }
.content-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.terms { max-width: 860px; }
.terms h2 { font-size: 28px; margin-top: 34px; }

.docs-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.docs-sidebar {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0,0,0,.18);
  padding: 12px;
}
.docs-sidebar a {
  display: block;
  color: var(--muted);
  padding: 11px 12px;
  border-radius: var(--radius);
  font-weight: 700;
}
.docs-sidebar a.active, .docs-sidebar a:hover { color: var(--text); background: rgba(34,211,238,.12); }
.docs-sidebar a.active { box-shadow: inset 3px 0 0 var(--cyan); }
.docs-content { display: grid; gap: 28px; }
.doc-section, .panel-card, .incident-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14,35,59,.74), rgba(4,16,29,.82));
  box-shadow: var(--shadow);
  padding: 24px;
}
.endpoint-list { display: grid; gap: 12px; }
.endpoint-list.two-col { grid-template-columns: repeat(2, 1fr); }
.endpoint-list article {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 16px;
}
.endpoint-list article strong { display: inline-block; margin: 0 0 6px 8px; }
.endpoint-list article p { color: var(--muted); margin-bottom: 0; }
.method {
  display: inline-block;
  border-radius: 6px;
  padding: 4px 8px;
  color: #03111e;
  background: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}
.method.get { background: #93c5fd; }
.method.post { background: #5eead4; }
.error-table { display: grid; gap: 10px; }
.error-table div {
  display: grid;
  grid-template-columns: 1fr auto 1.7fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.error-table span {
  color: #03111e;
  background: var(--cyan);
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 900;
  font-size: 12px;
}
.error-table p { color: var(--muted); margin: 0; }

.dashboard-shell {
  display: grid;
  grid-template-columns: 210px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 25, 43, .94), rgba(3, 12, 23, .92));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dashboard-nav {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.dashboard-nav a, .dashboard-nav button {
  color: var(--muted);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 700;
  text-align: left;
  background: transparent;
  border: 0;
}
.dashboard-nav .active { color: var(--text); background: rgba(34,211,238,.12); }
.dashboard-workspace { padding: 22px; display: grid; gap: 16px; }
.workspace-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.workspace-header span { display: block; color: var(--muted); font-size: 13px; }
.workspace-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dashboard-metrics { grid-template-columns: repeat(4, 1fr); }
.dashboard-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dashboard-panel { display: none; }
.dashboard-panel.active { display: grid; gap: 16px; animation: tabSlide .3s ease both; }
.dashboard-panel.panel-enter { animation: panelPop .32s ease both; }
.panel-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.table-list { display: grid; gap: 10px; }
.table-list div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 12px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.table-list div:hover { transform: translateX(5px); border-color: rgba(34, 211, 238, .34); background: rgba(34, 211, 238, .055); }
.table-list span { color: var(--muted); font-size: 13px; }
.table-list em {
  color: var(--cyan);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.table-list.rich div { grid-template-columns: 1fr auto auto auto; }
.status-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.status-mini div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.status-mini span { display: block; color: var(--cyan); margin-top: 6px; font-weight: 800; }
.key-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(0,0,0,.2);
  padding: 14px;
  margin-top: 10px;
}
.key-box code {
  color: #d9f7ff;
  font: 13px/1.6 Consolas, Monaco, "Courier New", monospace;
  overflow-wrap: anywhere;
}
.ring-meter {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  margin: 18px auto 0;
  border-radius: 999px;
  background: conic-gradient(var(--cyan) 0 70%, rgba(255,255,255,.08) 70% 100%);
  position: relative;
  animation: ringFill .85s ease both, ringGlow 2.6s ease-in-out .85s infinite;
}
.ring-meter.ring-animate { animation: ringFill .85s ease both, ringGlow 2.6s ease-in-out .85s infinite; }
.ring-meter::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: #06111f;
}
.ring-meter span { position: relative; z-index: 1; font-size: 34px; font-weight: 900; }
.form-preview { display: grid; gap: 10px; }
.form-preview label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--muted);
}
.form-preview label span { color: var(--text); font-weight: 800; }

.status-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(94, 234, 212, .34);
  border-radius: var(--radius);
  background: rgba(20, 184, 166, .1);
  padding: 22px;
  margin-bottom: 18px;
}
.status-summary p { color: var(--muted); margin: 4px 0 0; }
.status-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: #5eead4;
  box-shadow: 0 0 0 8px rgba(94,234,212,.12);
  animation: pulseStatus 1.8s ease-in-out infinite;
}
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
  overflow: hidden;
}
.status-card p { color: var(--muted); margin-bottom: 14px; }
.status-card strong { color: #5eead4; }
.status-card > span {
  display: block;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), #1d4ed8);
  transform-origin: left;
  animation: progressFill 1.4s ease both;
}
.incident-panel { margin-top: 18px; }

.auth-page { min-height: calc(100vh - 76px); display: flex; align-items: center; }
.auth-layout { display: grid; grid-template-columns: 1fr 440px; gap: 52px; align-items: center; }
.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14,35,59,.9), rgba(3,12,23,.88));
  box-shadow: var(--shadow);
  padding: 24px;
}
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.segmented button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-weight: 800;
  cursor: pointer;
}
.segmented button.active { color: #03111e; background: var(--cyan); border-color: transparent; }
.auth-panel { display: none; }
.auth-panel.active { display: grid; gap: 14px; animation: tabSlide .28s ease both; }
.auth-panel h2 { font-size: 30px; margin-bottom: 0; }
.auth-panel label { display: grid; gap: 8px; color: #d9ebf7; font-weight: 700; }
.auth-panel input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0,0,0,.22);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.auth-panel input:focus {
  outline: 0;
  border-color: rgba(34, 211, 238, .72);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .1);
  transform: translateY(-1px);
}
.checkbox-line { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 10px !important; color: var(--muted) !important; font-size: 14px; }
.checkbox-line input { width: 16px; min-height: 16px; }
.auth-panel p { color: var(--muted); }

.dev-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.app-list { display: grid; gap: 10px; }
.app-list article {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.app-list article.active { border-color: rgba(34,211,238,.42); background: rgba(34,211,238,.08); }
.app-list strong, .app-list span, .app-list small { display: block; }
.app-list span, .app-list small { color: var(--muted); margin-top: 4px; }
.log-feed p[hidden] { display: none; }

.changelog-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.timeline, .roadmap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
}
.timeline { display: grid; gap: 18px; }
.timeline article {
  position: relative;
  border-left: 2px solid rgba(34,211,238,.42);
  padding: 0 0 0 22px;
  transition: transform .24s ease, border-color .24s ease;
}
.timeline article:hover { transform: translateX(6px); border-left-color: var(--cyan); }
.timeline article::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cyan);
}
.timeline span {
  display: inline-block;
  color: #03111e;
  background: var(--cyan);
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 10px;
}
.timeline p, .timeline small, .roadmap span { color: var(--muted); }
.roadmap { display: grid; gap: 12px; }
.roadmap div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.roadmap span { display: block; margin-top: 5px; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(360px, calc(100% - 36px));
  border: 1px solid rgba(94,234,212,.38);
  border-radius: var(--radius);
  background: rgba(3,12,23,.94);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.visible { opacity: 1; transform: translateY(0); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .48);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  width: min(440px, 100%);
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14,35,59,.98), rgba(3,12,23,.98));
  box-shadow: var(--shadow);
  padding: 20px;
  transform: translateY(18px) scale(.96);
  transition: transform .22s ease;
}
.modal-backdrop.visible .modal-card {
  transform: translateY(0) scale(1);
}
.modal-head, .modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.modal-head button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.04);
  min-height: 34px;
  padding: 0 10px;
  cursor: pointer;
}
.modal-card p {
  color: var(--muted);
  margin: 16px 0 18px;
}

.dashboard-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 6%, rgba(34, 211, 238, .16), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(29, 78, 216, .2), transparent 30rem),
    #030912;
}
.auth-dashboard-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px 1fr;
}
.authdash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 12, 23, .96), rgba(5, 17, 31, .92));
  padding: 20px;
  overflow-y: auto;
}
.authdash-brand { padding-bottom: 8px; }
.authdash-profile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.authdash-profile strong, .authdash-profile span { display: block; }
.authdash-profile span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.authdash-sidebar nav {
  display: grid;
  gap: 8px;
}
.authdash-sidebar nav button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  text-align: left;
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.authdash-sidebar nav button:hover { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.035); }
.authdash-sidebar nav button.active {
  color: var(--text);
  border-color: rgba(34, 211, 238, .34);
  background: linear-gradient(90deg, rgba(34,211,238,.15), rgba(29,78,216,.1));
}
.authdash-sidebar nav button.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, .72);
  animation: activeSlide .24s ease;
}
.authdash-sidebar-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(94, 234, 212, .26);
  border-radius: var(--radius);
  background: rgba(20, 184, 166, .08);
  padding: 14px;
}
.authdash-sidebar-card strong, .authdash-sidebar-card small { display: block; }
.authdash-sidebar-card small { color: var(--muted); }
.authdash-main {
  min-width: 0;
  padding: 28px;
}
.authdash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.authdash-topbar h1 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 0;
}
.authdash-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.authdash-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.authdash-kpis article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14,35,59,.76), rgba(4,16,29,.82));
  padding: 16px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.authdash-kpis article:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .44);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34), 0 0 32px rgba(34, 211, 238, .08);
}
.authdash-kpis span, .authdash-kpis small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.authdash-kpis strong {
  display: block;
  font-size: 27px;
  margin: 5px 0;
}
.authdash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.authdash-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 29, 49, .82), rgba(3, 12, 23, .82));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
  padding: 18px;
}
.authdash-card.span-2 { grid-column: span 2; }
.authdash-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.authdash-card-head span {
  color: var(--muted);
  font-size: 13px;
}
.authdash-bars {
  height: 250px;
  display: flex;
  align-items: end;
  gap: 9px;
}
.authdash-bars span {
  flex: 1;
  min-width: 8px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(29, 78, 216, .45));
  box-shadow: 0 0 28px rgba(34, 211, 238, .12);
  transform-origin: bottom;
  animation: barGrow 1s ease both, floatBar 2.8s ease-in-out 1s infinite alternate;
}
.authdash-bars span.bar-animate, .bars span.bar-animate { animation: barGrow 1s ease both, floatBar 2.8s ease-in-out 1s infinite alternate; }
.authdash-bars span:nth-child(2n) { animation-delay: .3s; }
.risk-list, .service-list {
  display: grid;
  gap: 10px;
}
.risk-list div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.risk-list div:first-child {
  animation: riskPulse 2.6s ease-in-out infinite;
}
.risk-list strong, .risk-list span { display: block; }
.risk-list strong { color: var(--cyan); font-size: 24px; }
.risk-list span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.service-list div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 12px;
}
.service-list strong, .service-list span { display: flex; justify-content: space-between; }
.service-list span { color: #5eead4; font-size: 13px; margin: 3px 0 8px; }
.service-list em {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform-origin: left;
  animation: progressFill 1.3s ease both;
}
.authdash-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  padding: 18px;
}
.authdash-section-head h2 {
  font-size: 30px;
  margin-bottom: 4px;
}
.authdash-section-head p {
  color: var(--muted);
  margin-bottom: 0;
}
.authdash-table {
  display: grid;
  gap: 10px;
}
.authdash-table div {
  display: grid;
  grid-template-columns: 1.1fr .75fr .75fr auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 13px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.authdash-table div:hover {
  transform: translateX(5px);
  border-color: rgba(34, 211, 238, .34);
  background: rgba(34, 211, 238, .055);
}
.authdash-table.compact div {
  grid-template-columns: 1.1fr .8fr .8fr auto;
}
.authdash-table span {
  color: var(--muted);
  font-size: 13px;
}
.authdash-table em {
  color: var(--cyan);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}
.authdash-table button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255,255,255,.04);
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}
.authdash-table button:hover {
  border-color: rgba(34, 211, 238, .5);
}
.authdash-feed.large p { min-height: 46px; display: flex; align-items: center; }
.authdash-feed span { flex: 0 0 8px; }
.key-box span {
  color: var(--muted);
  font-size: 13px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.cascade-item {
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .5s ease var(--cascade-delay, 0ms), transform .5s ease var(--cascade-delay, 0ms), border-color .24s ease, box-shadow .24s ease;
}
.cascade-item.visible, .visible .cascade-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.live-entry {
  animation: logIn .28s ease both, logPulse 1.2s ease .28s both;
}
@keyframes floatBar { to { filter: brightness(1.2); transform: translateY(-8px); } }
@keyframes pulseStatus {
  0%, 100% { box-shadow: 0 0 0 8px rgba(94,234,212,.12); }
  50% { box-shadow: 0 0 0 14px rgba(94,234,212,.04); }
}
@keyframes gridDrift {
  to { background-position: 54px 54px; }
}
@keyframes breatheGlow {
  0%, 100% { box-shadow: 0 12px 30px rgba(34, 211, 238, .22); }
  50% { box-shadow: 0 14px 42px rgba(34, 211, 238, .42); }
}
@keyframes buttonShine {
  0% { left: -55%; opacity: 0; }
  20% { opacity: .7; }
  100% { left: 120%; opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatPanel {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes barGrow {
  from { transform: scaleY(.08); opacity: .55; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes progressFill {
  from { transform: scaleX(.08); }
  to { transform: scaleX(1); }
}
@keyframes flowLine {
  to { transform: scaleX(1); }
}
@keyframes blinkCursor {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}
@keyframes codeReveal {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes tabSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes panelPop {
  from { opacity: .2; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes activeSlide {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes ringFill {
  from { transform: scale(.92); opacity: .72; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes ringGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(34,211,238,0); }
  50% { box-shadow: 0 0 34px rgba(34,211,238,.14); }
}
@keyframes logIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes logPulse {
  0% { background: rgba(34,211,238,.12); }
  100% { background: rgba(255,255,255,.04); }
}
@keyframes heroStage {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes riskPulse {
  0%, 100% { border-color: rgba(255,255,255,.08); box-shadow: 0 0 0 rgba(34,211,238,0); }
  50% { border-color: rgba(34,211,238,.42); box-shadow: 0 0 28px rgba(34,211,238,.1); }
}

@media (max-width: 980px) {
  .hero-grid, .split-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .hero-panel { transform: none; }
  .feature-grid, .benefit-grid, .code-grid, .security-grid, .status-grid, .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-strip, .flow-strip.compact, .dashboard-shell, .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .pricing-grid, .support-grid, .footer-grid { grid-template-columns: 1fr; }
  .dashboard-metrics { grid-template-columns: repeat(2, 1fr); }
  .auth-layout, .changelog-layout, .dev-panel-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .auth-dashboard-app { grid-template-columns: 1fr; }
  .authdash-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .authdash-sidebar nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .authdash-sidebar-card { margin-top: 0; }
  .authdash-kpis { grid-template-columns: repeat(3, 1fr); }
  .authdash-grid { grid-template-columns: 1fr; }
  .authdash-card.span-2 { grid-column: auto; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 70px 0; }
  .menu-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #06111f;
  }
  .nav-menu.open { display: flex; }
  h1 { font-size: 42px; }
  .hero { min-height: auto; padding-top: 68px; }
  .metric-grid, .feature-grid, .benefit-grid, .code-grid, .security-grid, .status-grid, .compare-grid, .endpoint-list.two-col, .dashboard-metrics, .dashboard-columns, .mini-stats { grid-template-columns: 1fr; }
  .admin-preview { grid-template-columns: 1fr; }
  .admin-sidebar { grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .dashboard-shell { display: block; }
  .dashboard-nav { grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-header, .table-list div, .table-list.rich div, .form-preview label, .key-box, .error-table div { grid-template-columns: 1fr; display: grid; }
  .segmented { grid-template-columns: 1fr; }
  .status-mini { grid-template-columns: 1fr; }
  .authdash-main { padding: 18px 14px; }
  .authdash-topbar, .authdash-section-head { display: grid; align-items: start; }
  .authdash-actions { justify-content: start; }
  .authdash-sidebar nav { grid-template-columns: repeat(2, 1fr); }
  .authdash-kpis { grid-template-columns: 1fr; }
  .authdash-table div, .authdash-table.compact div { grid-template-columns: 1fr; }
  .authdash-bars { height: 180px; }
}
