/* tastemaker - admin app-shell refresh - shadcndashboard reference - mood technical - critique: ShowTell 4, Phil 4, Hier 5, Spec 4, Restr 4, Var 4 */
:root {
  --black: #020405;
  --near-black: #070b0d;
  --ink: #0d1417;
  --panel: rgba(9, 15, 18, 0.76);
  --panel-solid: #10181b;
  --text: #f5f7f8;
  --muted: #a5afb5;
  --soft: #dbe2e5;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --signal: #8df0d2;
  --signal-strong: #c8fff1;
  --warning: #ffc66d;
  --danger: #ff7d6e;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  overflow-x: hidden;
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.demo-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 0 44px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  transition-property: background-color, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

body.is-scrolled .site-header {
  background-color: rgba(2, 4, 5, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand,
.primary-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 30px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 2px;
  transform: skewX(-16deg);
  box-shadow: 11px 0 0 -6px var(--signal);
}

.primary-nav {
  justify-content: center;
  gap: 28px;
}

.primary-nav a,
.header-actions a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.9);
  transition-property: color, opacity;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.primary-nav a::after,
.header-actions a:not(.header-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: translateY(3px);
  transition-property: opacity, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.primary-nav a:hover,
.header-actions a:hover {
  color: #fff;
}

.primary-nav a:hover::after,
.header-actions a:not(.header-cta):hover::after {
  opacity: 1;
  transform: translateY(0);
}

.header-actions {
  justify-content: flex-end;
  gap: 22px;
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 140px 44px 32px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 26%, rgba(141, 240, 210, 0.18), rgba(141, 240, 210, 0) 30%),
    radial-gradient(circle at 20% 78%, rgba(92, 125, 255, 0.1), rgba(92, 125, 255, 0) 28%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 34%),
    linear-gradient(130deg, #020405 0%, #071012 46%, #020405 100%);
  background-size: auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 98px -10% auto 48%;
  z-index: 0;
  height: 560px;
  border: 1px solid rgba(141, 240, 210, 0.1);
  background:
    linear-gradient(115deg, rgba(141, 240, 210, 0.16), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 50px 140px rgba(0, 0, 0, 0.42);
  transform: skewX(-12deg);
  transform-origin: top right;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 4, 5, 0.18), rgba(2, 4, 5, 0.08) 48%, rgba(2, 4, 5, 0.5)),
    linear-gradient(180deg, rgba(2, 4, 5, 0.08), rgba(2, 4, 5, 0.84));
  box-shadow: inset 0 -130px 120px rgba(2, 4, 5, 0.78);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: end;
  width: min(100%, var(--max));
  margin: 0 auto 34px;
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 430px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(7, 13, 15, 0.82);
  box-shadow:
    0 0 0 1px rgba(141, 240, 210, 0.08),
    0 34px 100px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(90deg, transparent 0 31%, rgba(141, 240, 210, 0.08) 31% 31.4%, transparent 31.4% 100%),
    linear-gradient(0deg, transparent 0 24%, rgba(255, 255, 255, 0.055) 24% 24.35%, transparent 24.35% 100%);
  background-size: 96px 96px;
  opacity: 0.55;
  pointer-events: none;
}

.visual-toolbar,
.visual-score,
.visual-address,
.visual-grid,
.visual-bars,
.visual-result {
  position: relative;
  z-index: 1;
}

.visual-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-toolbar strong {
  color: var(--signal-strong);
}

.visual-score {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.visual-score span,
.visual-grid span,
.visual-result span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-score strong {
  font-size: 52px;
  line-height: 0.95;
  text-transform: uppercase;
}

.visual-address {
  min-height: 54px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7f8;
  font-size: 18px;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.visual-grid div {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 16px;
  background: rgba(7, 13, 15, 0.86);
}

.visual-grid div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-grid strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.visual-bars {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.visual-bars span {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--signal), rgba(255, 255, 255, 0.14));
}

.visual-bars span:nth-child(1) {
  width: 94%;
}

.visual-bars span:nth-child(2) {
  width: 72%;
  opacity: 0.72;
}

.visual-bars span:nth-child(3) {
  width: 44%;
  opacity: 0.42;
}

.visual-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-result strong {
  color: var(--signal-strong);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.image-band h2 {
  margin: 0;
  max-width: 820px;
  font-weight: 900;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 {
  font-size: 64px;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 138px;
  padding: 0 22px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition-property: background-color, border-color, color, transform, opacity;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

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

.button-primary {
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
}

.button-primary:hover {
  background: var(--signal-strong);
  border-color: var(--signal-strong);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.hero-check {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 210px minmax(220px, 1fr) auto 140px;
  align-items: center;
  gap: 14px;
  width: min(100%, var(--max));
  min-height: 78px;
  margin: 0 auto;
  padding: 14px;
  background: rgba(2, 4, 5, 0.66);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.check-copy {
  display: grid;
  gap: 4px;
}

.check-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-copy strong {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-check input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
  transition-property: border-color, background-color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.hero-check input:focus {
  border-color: var(--signal);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(141, 240, 210, 0.14);
}

.quick-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.result-band {
  padding: 24px 44px;
  background: #070a0c;
}

section[id],
footer[id] {
  scroll-margin-top: 74px;
}

.result-shell {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(400px, 1fr);
  gap: 28px;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: center;
}

.result-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-summary strong {
  display: block;
  font-size: 26px;
  text-transform: uppercase;
}

.result-summary p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.result-metrics div {
  min-height: 88px;
  padding: 16px;
  background: #0b1113;
}

.result-metrics span,
.ops-row span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-metrics strong,
.ops-row strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.section {
  padding: 108px 44px;
  background: var(--near-black);
}

.section-compact {
  padding-top: 96px;
}

.section-heading,
.split-section,
.pricing-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section h2,
.image-band h2 {
  font-size: 46px;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, var(--max));
  margin: 44px auto 0;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.feature-grid article {
  min-height: 236px;
  padding: 24px;
  background: #0b1012;
  transition-property: background-color, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.feature-grid article:hover {
  background: #111a1d;
  transform: translateY(-2px);
}

.feature-grid span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-grid h3 {
  margin: 42px 0 10px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-grid h3 a {
  color: inherit;
}

.feature-grid h3 a:hover {
  color: var(--signal);
}

.feature-grid p,
.image-band p,
.split-section p,
.pricing-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.image-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
  min-height: 720px;
  padding: 120px 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 34%, rgba(141, 240, 210, 0.13), rgba(141, 240, 210, 0) 30%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, #040709, #0a1113 48%, #040709);
  background-size: auto;
}

.image-band::before {
  content: "";
  position: absolute;
  inset: 96px 7% 96px auto;
  width: min(44vw, 620px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(141, 240, 210, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.018);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.42);
  transform: skewX(-9deg);
  pointer-events: none;
}

.image-band-copy,
.code-sample {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
}

.image-band .ops-panel {
  position: relative;
  z-index: 1;
}

.image-band-copy {
  justify-self: end;
}

.image-band p {
  max-width: 580px;
  font-size: 17px;
}

.code-sample {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  border-radius: 6px;
  background: rgba(8, 13, 16, 0.78);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 32px 90px rgba(0, 0, 0, 0.44);
  color: #e7f6f2;
  font-size: 14px;
  line-height: 1.7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 0.8fr);
  gap: 60px;
  align-items: center;
}

.split-section h2 {
  max-width: 640px;
}

.split-section p {
  max-width: 560px;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  transition-property: transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.text-link:hover::after {
  transform: translateX(7px);
}

.ops-panel {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.ops-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 22px;
  background: #0c1214;
}

.ops-row strong {
  margin: 0;
}

.ops-row.pass strong {
  color: var(--signal-strong);
}

.ops-row.warn strong {
  color: var(--warning);
}

.ops-row.fail strong {
  color: var(--danger);
}

.pricing-section {
  background: #090d0f;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.pricing-grid article {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 26px;
  background: #0d1315;
}

.pricing-grid .featured-price {
  background:
    linear-gradient(180deg, rgba(141, 240, 210, 0.12), rgba(255, 255, 255, 0)),
    #0d1516;
}

.pricing-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-grid strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(42px, 4vw, 52px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.pricing-grid p {
  min-height: 76px;
  margin: 18px 0 28px;
}

.pricing-grid ul {
  display: grid;
  gap: 12px;
  min-height: 116px;
  margin: 0 0 28px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.pricing-grid .button {
  align-self: flex-start;
  margin-top: auto;
}

.pricing-custom-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 1px auto 0;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(141, 240, 210, 0.1), rgba(255, 255, 255, 0)),
    #0b1113;
  box-shadow: 0 0 0 1px var(--line-soft);
}

.pricing-custom-panel span {
  display: block;
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-custom-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
}

.pricing-custom-panel p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.pricing-custom-panel .button {
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 32px;
  align-items: start;
  padding: 46px 44px;
  background: #030506;
  box-shadow: inset 0 1px 0 var(--line-soft);
}

.site-footer > div,
.site-footer nav {
  width: min(100%, var(--max));
}

.site-footer strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0.02em;
}

.site-footer p {
  max-width: 520px;
  margin: 10px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  max-width: 780px;
}

.site-footer nav a {
  min-height: 40px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer nav a:hover {
  color: #fff;
}

.subpage {
  background:
    radial-gradient(circle at 70% 0, rgba(141, 240, 210, 0.12), rgba(141, 240, 210, 0) 32%),
    var(--black);
}

.site-header.is-solid {
  background: rgba(2, 4, 5, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-body .site-header.is-solid {
  background: #020405;
}

.subpage-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 162px 44px 82px;
}

.subpage-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: 58px;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.subpage-hero p:last-child {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.doc-layout,
.contact-layout,
.trust-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 44px 110px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.doc-sidebar a {
  min-height: 48px;
  padding: 15px 16px;
  background: #0b1113;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition-property: background-color, color;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.doc-sidebar a:hover {
  background: #111a1d;
  color: #fff;
}

.doc-content {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.doc-block,
.contact-card,
.trust-grid article {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    #0b1113;
  box-shadow: 0 0 0 1px var(--line-soft);
}

.doc-block {
  padding: 32px;
  scroll-margin-top: 98px;
}

.doc-block h2,
.contact-card h2,
.trust-grid h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}

.doc-block > p:not(.eyebrow),
.contact-card > p:not(.eyebrow),
.trust-grid p {
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.doc-grid div {
  min-height: 150px;
  padding: 20px;
  background: #10181b;
}

.doc-grid span,
.trust-grid span,
.contact-list span {
  display: block;
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doc-grid strong,
.contact-list strong {
  display: block;
  margin-top: 16px;
  font-size: 17px;
}

.doc-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.doc-block .code-sample {
  width: 100%;
  max-width: none;
  margin-top: 18px;
}

.doc-block pre,
.doc-block code {
  max-width: 100%;
}

.api-field-list {
  display: grid;
  gap: 1px;
  margin-top: 22px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.api-field-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px 18px;
  background: #10181b;
}

.api-field-list span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.api-field-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.trust-grid article {
  min-height: 280px;
  padding: 26px;
}

.trust-grid h2 {
  margin-top: 48px;
  font-size: 21px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}

.contact-card {
  min-height: 460px;
  padding: 32px;
}

.contact-card .button {
  margin-top: 28px;
}

.contact-list {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.contact-list div {
  padding: 18px 20px;
  background: #10181b;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  opacity: 0;
  transition-property: opacity;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.contact-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    #0b1113;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.11),
    0 22px 70px rgba(0, 0, 0, 0.52);
  opacity: 0;
  transform: translateY(10px);
  transition-property: opacity, transform;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.contact-modal.is-open .contact-modal-backdrop,
.contact-modal.is-open .contact-dialog {
  opacity: 1;
}

.contact-modal.is-open .contact-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition-property: background-color, border-color, color, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.modal-close:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.modal-close:active {
  transform: scale(0.96);
}

.contact-dialog h2 {
  max-width: 560px;
  margin: 0;
  padding-right: 84px;
  font-size: 34px;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact-dialog > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  outline: 0;
  transition-property: border-color, background-color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 138px;
  resize: vertical;
  padding: 14px;
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--signal) 50%),
    linear-gradient(135deg, var(--signal) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form option {
  color: #020405;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--signal);
  background-color: rgba(141, 240, 210, 0.08);
  box-shadow: 0 0 0 4px rgba(141, 240, 210, 0.13);
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-status {
  min-height: 24px;
  margin: 0;
  color: var(--signal-strong);
  line-height: 1.45;
}

.contact-status.is-error {
  color: var(--danger);
}

body.has-modal-open {
  overflow: hidden;
}

.app-body {
  background:
    radial-gradient(circle at 76% 0, rgba(141, 240, 210, 0.12), rgba(141, 240, 210, 0) 34%),
    #05080a;
}

.auth-main {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 150px 44px 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(141, 240, 210, 0.16), rgba(141, 240, 210, 0) 30%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #020405, #071012 48%, #020405);
  background-size: auto;
}

.auth-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 18%, rgba(141, 240, 210, 0.22), rgba(141, 240, 210, 0) 28%),
    linear-gradient(180deg, rgba(2, 4, 5, 0), rgba(2, 4, 5, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-main {
  min-height: 100vh;
  padding: 122px 44px 80px;
}

.auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 460px);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  width: min(100%, var(--max));
  min-height: calc(100vh - 236px);
  margin: 0 auto;
}

.auth-copy {
  max-width: 650px;
}

.auth-copy h1,
.app-content h1 {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 74px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.app-content h1 {
  font-size: 48px;
}

.auth-copy p:not(.eyebrow) {
  max-width: 570px;
  margin: 22px 0 0;
  font-size: 18px;
}

.auth-copy p:not(.eyebrow),
.page-title-row p,
.app-panel p,
.metric-grid p,
.billing-card p,
.form-note {
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.auth-card,
.app-panel,
.metric-grid article,
.billing-card,
.secret-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0)),
    #0b1113;
  box-shadow:
    0 0 0 1px var(--line-soft),
    0 28px 80px rgba(0, 0, 0, 0.26);
}

.auth-card {
  display: grid;
  gap: 20px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 13, 15, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.auth-card h2,
.app-panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  text-transform: uppercase;
}

.auth-card h2 {
  font-size: 28px;
  text-wrap: balance;
}

.auth-card label,
.panel-form label,
.admin-edit-grid label,
.batch-form label {
  display: grid;
  gap: 8px;
}

.auth-card label span,
.panel-form label span,
.admin-edit-grid label span,
.batch-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-card input,
.panel-form input,
.inline-form input,
.admin-edit-grid select,
.batch-form input,
.batch-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  outline: none;
  transition-property: border-color, background-color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.auth-card input:focus,
.panel-form input:focus,
.inline-form input:focus,
.admin-edit-grid select:focus,
.batch-form input:focus,
.batch-form textarea:focus {
  border-color: var(--signal);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(141, 240, 210, 0.14);
}

.auth-card input:disabled,
.panel-form input:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.auth-card .button {
  width: 100%;
  min-height: 52px;
  margin-top: 2px;
}

.auth-card .form-note {
  text-align: center;
}

.form-note {
  margin: 0;
  font-size: 14px;
}

.form-note a {
  color: var(--signal-strong);
}

.notice {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--soft);
  line-height: 1.45;
  box-shadow: 0 0 0 1px var(--line-soft);
}

.notice-success {
  color: var(--signal-strong);
}

.notice-error {
  color: var(--danger);
}

.notice-warn {
  color: var(--warning);
}

.app-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  width: min(100%, 1320px);
  margin: 0 auto;
  align-items: start;
}

.app-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.app-sidebar a {
  min-height: 50px;
  padding: 17px;
  background: #0b1113;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition-property: background-color, color;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.app-sidebar a:hover,
.app-sidebar a.is-active {
  background: #111a1d;
  color: #fff;
}

.app-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  min-width: 0;
}

.app-content > * {
  min-width: 0;
}

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

.page-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-title-row > *,
.panel-heading > * {
  min-width: 0;
}

.metric-grid,
.billing-grid,
.result-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.metric-grid article,
.billing-card,
.result-strip div {
  min-width: 0;
  min-height: 150px;
  padding: 22px;
}

.metric-grid span,
.billing-card span,
.result-strip span,
.secret-box span,
.health-list span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-grid strong,
.billing-card strong,
.result-strip strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.app-panel {
  padding: 28px;
}

.app-panel h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  margin-top: 24px;
}

.batch-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.batch-form textarea {
  min-height: 220px;
  padding: 15px;
  resize: vertical;
  line-height: 1.5;
}

.batch-form input[type="file"] {
  display: flex;
  align-items: center;
  padding: 13px 15px;
  color: var(--muted);
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.result-strip {
  margin-top: 22px;
}

.result-strip div {
  min-height: 112px;
  background: #10181b;
}

.batch-result-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.progress-track {
  width: 100%;
  height: 8px;
  margin: 22px 0 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--signal), var(--signal-strong));
  transition: width 180ms ease;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.table-wrap {
  width: 100%;
  margin-top: 20px;
  overflow-x: auto;
}

.batch-table-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.batch-table-toolbar strong {
  color: #fff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.pagination-actions,
.per-page-actions,
.batch-filter-actions,
.batch-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.pagination-actions a,
.per-page-actions a,
.batch-filter-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition-property: background-color, color, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.pagination-actions a:not(.is-disabled):hover,
.per-page-actions a:hover,
.per-page-actions a.is-active,
.batch-filter-actions a:hover,
.batch-filter-actions a.is-active {
  background: rgba(141, 240, 210, 0.16);
  color: var(--signal-strong);
}

.pagination-actions a:not(.is-disabled):active,
.per-page-actions a:active,
.batch-filter-actions a:active {
  transform: scale(0.96);
}

.pagination-actions a.is-disabled {
  color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.pagination-actions span {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.batch-filter-actions {
  margin-top: 16px;
  gap: 6px;
  flex-wrap: nowrap;
}

.batch-filter-actions a {
  flex: 0 1 auto;
  min-width: 0;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  white-space: nowrap;
}

.batch-filter-actions a strong {
  color: #fff;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.batch-filter-actions a span {
  color: inherit;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.batch-inline-search {
  display: inline-flex;
  align-items: center;
  flex: 1 1 150px;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  min-height: 36px;
}

.batch-inline-search input {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  outline: none;
  transition-property: border-color, background-color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.batch-inline-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.batch-inline-search input:focus {
  border-color: var(--signal);
  background: rgba(141, 240, 210, 0.08);
  box-shadow: 0 0 0 3px rgba(141, 240, 210, 0.12);
}

.sort-link {
  color: inherit;
  transition-property: color;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.sort-link:hover,
.sort-link.is-active {
  color: var(--signal-strong);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.batch-table {
  min-width: 760px;
}

[data-batch-status-panel].is-loading [data-batch-items] {
  opacity: 0.56;
  transition-property: opacity;
  transition-duration: 140ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td {
  color: var(--soft);
  line-height: 1.45;
}

td span {
  color: var(--muted);
  font-size: 13px;
}

.contact-request-status-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
}

.contact-request-status-form select {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.contact-request-status-form .button {
  min-width: 0;
  min-height: 36px;
  padding: 0 12px;
}

code {
  color: var(--signal-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill.pass {
  color: var(--signal-strong);
}

.status-pill.warn {
  color: var(--warning);
}

.status-pill.fail {
  color: var(--danger);
}

.billing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.billing-card {
  min-height: 380px;
  background:
    linear-gradient(180deg, rgba(141, 240, 210, 0.08), rgba(255, 255, 255, 0)),
    #0b1113;
}

.billing-card.is-current {
  background:
    linear-gradient(180deg, rgba(141, 240, 210, 0.15), rgba(255, 255, 255, 0)),
    #0d1516;
}

.billing-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.secret-box {
  display: grid;
  gap: 12px;
  padding: 20px;
  overflow-x: auto;
}

.secret-box code {
  font-size: 15px;
  white-space: nowrap;
}

.health-list {
  display: grid;
  gap: 1px;
  margin-top: 20px;
  background: var(--line-soft);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.health-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: #10181b;
}

.health-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 800;
}

.panel-form,
.admin-edit-grid {
  display: grid;
  gap: 18px;
  max-width: 620px;
  padding: 28px;
  background: #0b1113;
  box-shadow: 0 0 0 1px var(--line-soft);
}

.admin-edit-grid {
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.text-button {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--signal-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--signal-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition-property: color, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  margin: 0;
}

.table-action:hover {
  color: #fff;
}

.table-action:active {
  transform: scale(0.96);
}

.batch-actions form {
  margin: 0;
}

.empty-selection {
  min-height: 190px;
}

.app-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 0 24px;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 126px 24px 24px;
  }

  .hero::before {
    inset: 120px -24% auto 18%;
    height: 520px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-visual {
    width: min(100%, 640px);
    min-height: 360px;
  }

  .hero-check {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .quick-result {
    justify-content: flex-start;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .result-band,
  .section,
  .image-band,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .result-shell,
  .image-band,
  .split-section,
  .site-footer,
  .doc-layout,
  .contact-layout,
  .auth-shell,
  .app-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .result-metrics,
  .feature-grid,
  .pricing-grid,
  .trust-grid,
  .doc-grid,
  .metric-grid,
  .billing-grid,
  .result-strip,
  .admin-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subpage-hero,
  .doc-layout,
  .contact-layout,
  .trust-grid,
  .auth-main,
  .app-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .auth-main {
    padding-top: 132px;
    padding-bottom: 64px;
  }

  .auth-shell {
    align-items: start;
    min-height: auto;
  }

  .subpage-hero h1 {
    font-size: 46px;
  }

  .doc-sidebar {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-sidebar {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .image-band-copy {
    justify-self: start;
  }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .pricing-custom-panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .pricing-custom-panel .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand span:last-child {
    max-width: 120px;
  }

  .header-actions a:not(.header-cta) {
    display: none;
  }

  .header-cta {
    padding: 0 12px;
    font-size: 11px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-visual {
    display: none;
  }

  .section h2,
  .image-band h2 {
    font-size: 34px;
  }

  .result-metrics,
  .feature-grid,
  .pricing-grid,
  .trust-grid,
  .doc-grid,
  .doc-sidebar,
  .metric-grid,
  .billing-grid,
  .result-strip,
  .admin-edit-grid,
  .app-sidebar,
  .inline-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid article,
  .trust-grid article {
    min-height: 190px;
  }

  .subpage-hero {
    padding-top: 126px;
    padding-bottom: 54px;
  }

  .subpage-hero h1 {
    font-size: 36px;
  }

  .doc-block,
  .contact-card,
  .auth-card,
  .app-panel,
  .panel-form {
    padding: 24px;
  }

  .auth-main {
    padding-top: 104px;
  }

  .api-field-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .app-main {
    padding: 116px 16px 56px;
  }

  .app-layout {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .app-content {
    gap: 22px;
  }

  .app-sidebar {
    display: flex;
    gap: 1px;
    min-width: 0;
    max-width: calc(100vw - 32px);
    margin: 0 -16px;
    padding: 0 16px 2px;
    overflow-x: auto;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .app-sidebar::-webkit-scrollbar {
    display: none;
  }

  .app-sidebar a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 14px 16px;
    white-space: nowrap;
    box-shadow: 0 0 0 1px var(--line-soft);
  }

  .auth-main {
    padding: 118px 18px 54px;
  }

  .auth-copy h1,
  .app-content h1 {
    font-size: 30px;
    line-height: 1.04;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .auth-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .page-title-row,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .page-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .metric-grid article,
  .billing-card,
  .result-strip div {
    min-height: 120px;
  }

  .app-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 22px;
  }

  .app-panel h2 {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1.08;
  }

  .inline-form {
    gap: 10px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-form .button,
  .page-title-row .button,
  .form-actions .button {
    width: 100%;
  }

  .metric-grid article,
  .billing-card,
  .result-strip div {
    padding: 20px;
  }

  .metric-grid strong,
  .billing-card strong,
  .result-strip strong {
    font-size: 28px;
  }

  .table-wrap {
    max-width: 100%;
  }

  .batch-table-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .pagination-actions,
  .per-page-actions,
  .batch-filter-actions {
    justify-content: flex-start;
  }

  .batch-filter-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .batch-filter-actions a {
    min-height: 40px;
    padding: 0 12px;
  }

  .batch-filter-actions a span {
    font-size: inherit;
    letter-spacing: inherit;
  }

  .batch-filter-actions a strong {
    font-size: 12px;
  }

  .batch-inline-search {
    flex-basis: 100%;
    max-width: none;
    min-height: 40px;
    width: 100%;
  }

  .batch-inline-search input {
    min-height: 40px;
    font-size: 13px;
  }

  .health-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ops-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }

  .pricing-grid strong {
    font-size: 42px;
  }

  .pricing-custom-panel {
    padding: 24px;
  }

  .pricing-custom-panel strong {
    font-size: 21px;
  }

  .pricing-custom-panel .button {
    width: 100%;
  }

  .contact-modal {
    align-items: end;
    padding: 12px;
  }

  .contact-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 24px;
  }

  .contact-dialog h2 {
    padding-right: 0;
    font-size: 28px;
  }

  .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .modal-close {
    position: static;
    justify-self: end;
    margin: -4px -4px 12px 0;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-actions .button {
    width: 100%;
  }
}

/* Admin dashboard. */
.admin-dashboard-body {
  --admin-bg: #070808;
  --admin-frame: #070808;
  --admin-card: #0c0f0f;
  --admin-card-strong: #111515;
  --admin-sidebar: #050606;
  --admin-hover: rgba(255, 255, 255, 0.045);
  --admin-border: rgba(255, 255, 255, 0.085);
  --admin-border-strong: rgba(255, 255, 255, 0.14);
  --admin-muted: #a1a8a8;
  --admin-text: #f5f7f8;
  background: var(--admin-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.admin-dashboard-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--admin-text);
}

.admin-rail {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  height: 100vh;
  min-width: 0;
  padding: 18px 12px;
  border-right: 1px solid var(--admin-border);
  background: var(--admin-sidebar);
}

.admin-rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.admin-rail-nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.admin-rail-nav a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 750;
  transition-property: background-color, color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.admin-rail-nav a:hover,
.admin-rail-nav a.is-active {
  background: var(--admin-hover);
  color: #fff;
}

.admin-nav-dot {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.72;
}

.admin-rail-nav a.is-active .admin-nav-dot {
  border-color: var(--signal);
  background: var(--signal);
  opacity: 1;
}

.admin-rail-profile {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(141, 240, 210, 0.1);
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.admin-rail-profile strong,
.admin-rail-profile a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-rail-profile strong {
  font-size: 13px;
}

.admin-rail-profile a {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-rail-profile a:hover {
  color: var(--signal-strong);
}

.admin-dashboard-frame {
  min-width: 0;
  margin: 0;
  overflow: visible;
  background: var(--admin-frame);
}

.admin-topbar {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--admin-border);
  background: rgba(255, 255, 255, 0.012);
}

.admin-topbar span,
.admin-command-panel span,
.admin-plan-chart span {
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-topbar strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 760;
}

.admin-topbar-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition-property: border-color, background-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.admin-topbar-search input::placeholder {
  color: rgba(245, 247, 248, 0.42);
}

.admin-topbar-search input:focus {
  border-color: rgba(141, 240, 210, 0.74);
  background: rgba(141, 240, 210, 0.052);
  box-shadow: 0 0 0 3px rgba(141, 240, 210, 0.12);
}

.admin-topbar-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.admin-topbar-actions .button {
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.admin-dashboard-content {
  gap: 22px;
  max-width: 1480px;
  padding: 28px;
  transition: opacity 140ms cubic-bezier(0.2, 0, 0, 1);
}

.admin-dashboard-content.is-loading {
  opacity: 0.56;
  pointer-events: none;
}

.admin-page-heading {
  display: grid;
  gap: 8px;
  padding-bottom: 2px;
}

.admin-page-heading h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  text-transform: none;
  letter-spacing: 0;
  text-wrap: balance;
}

.admin-page-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--admin-muted);
  font-size: 15px;
  line-height: 1.45;
  text-wrap: pretty;
}

.admin-command-card,
.admin-dashboard-body .app-panel,
.admin-dashboard-body .metric-grid article,
.admin-dashboard-body .result-strip div,
.admin-dashboard-body .billing-card,
.admin-dashboard-body .secret-box {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-command-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 24px;
  padding: 0 0 6px;
}

.admin-dashboard-body .app-content h1 {
  max-width: 720px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  text-transform: none;
  letter-spacing: 0;
}

.admin-command-card p:not(.admin-live-line) {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--admin-muted);
  font-size: 16px;
  line-height: 1.5;
}

.admin-live-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 800;
}

.admin-live-line span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
}

.admin-command-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--admin-border);
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.028);
}

.admin-command-panel div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--admin-border);
}

.admin-command-panel div:last-child {
  border-right: 0;
}

.admin-command-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.admin-work-queue {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--admin-border);
  border-bottom: 1px solid var(--admin-border);
}

.admin-work-card {
  display: grid;
  min-height: 118px;
  padding: 18px 20px;
  border-right: 1px solid var(--admin-border);
  background: transparent;
  color: var(--admin-text);
  transition-property: background-color, color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.admin-work-card:hover {
  background: rgba(255, 255, 255, 0.032);
}

.admin-work-card:last-child {
  border-right: 0;
}

.admin-work-card:focus-visible,
.admin-dashboard-body .button:focus-visible,
.admin-dashboard-body .text-link:focus-visible,
.admin-filter-chip:focus-visible,
.admin-customer-header a:focus-visible,
.admin-pagination a:focus-visible,
.admin-dashboard-body select:focus-visible,
.admin-dashboard-body input:focus-visible {
  outline: 2px solid rgba(141, 240, 210, 0.86);
  outline-offset: 3px;
}

.admin-work-card span,
.admin-customer-stat span,
.admin-request-meta span {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-work-card strong {
  margin-top: 12px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.admin-work-card p {
  margin: 10px 0 14px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.35;
}

.admin-work-card em {
  align-self: end;
  color: var(--signal-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
}

.admin-work-card.is-attention {
  box-shadow: inset 0 2px 0 rgba(255, 118, 101, 0.68);
}

.admin-work-card.is-active {
  box-shadow: inset 0 2px 0 rgba(255, 204, 118, 0.62);
}

.admin-dashboard-body .metric-grid,
.admin-dashboard-body .result-strip {
  gap: 0;
  border-top: 1px solid var(--admin-border);
  border-bottom: 1px solid var(--admin-border);
  background: transparent;
  box-shadow: none;
}

.admin-dashboard-body .metric-grid article,
.admin-dashboard-body .result-strip div {
  min-height: 94px;
  padding: 16px 18px;
  border-right: 1px solid var(--admin-border);
}

.admin-dashboard-body .metric-grid article:last-child,
.admin-dashboard-body .result-strip div:last-child {
  border-right: 0;
}

.admin-dashboard-body .metric-grid strong,
.admin-dashboard-body .result-strip strong {
  margin-top: 8px;
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1;
}

.admin-dashboard-body .metric-grid p {
  margin: 12px 0 0;
  font-size: 14px;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.78fr);
  gap: 32px;
  align-items: start;
}

.admin-side-stack,
.admin-lower-grid {
  display: grid;
  gap: 28px;
}

.admin-lower-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.admin-dashboard-body .two-column {
  gap: 28px;
}

.admin-dashboard-body .app-panel {
  padding: 0;
  border-top: 1px solid var(--admin-border);
}

.admin-dashboard-body .panel-heading {
  min-height: 40px;
  padding: 18px 0 14px;
  border-bottom: 0;
}

.admin-dashboard-body .app-panel h2 {
  font-size: 18px;
  font-weight: 780;
  line-height: 1.2;
  text-transform: none;
}

.admin-dashboard-body .panel-heading p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-dashboard-body .eyebrow {
  margin: 0 0 5px;
  color: var(--admin-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.admin-dashboard-body .table-wrap {
  margin: 0;
  overflow: auto;
  background: transparent;
}

.admin-customer-list,
.admin-request-list {
  display: grid;
  gap: 0;
}

.admin-list-controls {
  display: grid;
  gap: 12px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--admin-border);
}

.admin-filter-set {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.admin-filter-set > span,
.admin-customer-header a {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.052);
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  transition-property: background-color, border-color, color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.admin-filter-chip strong {
  color: var(--admin-text);
  font-size: 11px;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.admin-filter-chip:hover,
.admin-filter-chip.is-active {
  border-color: rgba(141, 240, 210, 0.28);
  background: rgba(141, 240, 210, 0.1);
  color: #fff;
}

.admin-filter-set-compact .admin-filter-chip {
  min-width: 44px;
}

.admin-customer-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 62px 92px 124px;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  border-top: 1px solid var(--admin-border);
}

.admin-customer-header a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  color: var(--admin-muted);
}

.admin-customer-header a:hover,
.admin-customer-header a.is-active {
  color: var(--signal-strong);
}

.admin-customers-panel .admin-customer-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.admin-customer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 62px 92px 124px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 0;
  border-top: 1px solid var(--admin-border);
  background: transparent;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0, 1), border-color 140ms cubic-bezier(0.2, 0, 0, 1);
}

.admin-customer-row:hover,
.admin-request-card:hover {
  background: rgba(255, 255, 255, 0.025);
}

.admin-customer-id,
.admin-request-person,
.admin-request-message {
  min-width: 0;
}

.admin-customer-id strong,
.admin-request-person strong {
  display: block;
  overflow: hidden;
  color: var(--admin-text);
  font-size: 14px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-customer-id span,
.admin-request-person span,
.admin-request-message p,
.admin-request-meta strong {
  display: block;
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-customer-stat strong {
  display: block;
  margin-top: 5px;
  color: var(--admin-text);
  font-size: 14px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.admin-customer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.admin-customer-actions .button,
.contact-request-actions .button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 11px;
}

.admin-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr) minmax(340px, auto);
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--admin-border);
  background: transparent;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0, 1), border-color 140ms cubic-bezier(0.2, 0, 0, 1);
}

.admin-request-main {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.admin-request-message span {
  display: block;
  margin-bottom: 4px;
  color: var(--admin-text);
  font-size: 13px;
  font-weight: 760;
}

.admin-request-message p {
  margin: 0;
  max-width: 72ch;
}

.admin-request-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-request-meta div {
  min-width: 0;
}

.admin-request-meta strong {
  overflow: hidden;
  margin-top: 5px;
  color: var(--admin-text);
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-request-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.contact-request-status-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.contact-request-status-form select {
  min-width: 118px;
  min-height: 34px;
  padding: 0 10px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.06);
}

.contact-request-inline-form {
  display: flex;
  margin: 0;
}

.button-danger-soft {
  border-color: rgba(255, 197, 110, 0.38);
  color: #ffd18a;
}

.button-danger-soft:hover,
.button-danger-soft:focus-visible {
  border-color: rgba(255, 197, 110, 0.68);
  background: rgba(255, 197, 110, 0.08);
}

.button-danger {
  border-color: rgba(255, 123, 112, 0.42);
  color: #ff9b92;
}

.button-danger:hover,
.button-danger:focus-visible {
  border-color: rgba(255, 123, 112, 0.72);
  background: rgba(255, 123, 112, 0.08);
}

.admin-inline-note {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-empty-state {
  padding: 18px;
  border-top: 1px solid var(--admin-border);
  color: var(--admin-muted);
  font-size: 14px;
}

.admin-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--admin-border);
}

.admin-list-footer p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.admin-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-pagination a,
.admin-pagination span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 780;
}

.admin-pagination a {
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--admin-text);
}

.admin-pagination a:hover {
  border-color: rgba(141, 240, 210, 0.38);
  background: rgba(141, 240, 210, 0.08);
}

.admin-pagination a.is-disabled {
  cursor: default;
  opacity: 0.42;
  pointer-events: none;
}

.admin-dashboard-body table {
  min-width: 680px;
}

.admin-dashboard-body th,
.admin-dashboard-body td {
  padding: 13px 14px;
}

.admin-dashboard-body th {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.admin-dashboard-body tbody tr {
  transition-property: background-color;
  transition-duration: 140ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.admin-dashboard-body tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.admin-dashboard-body td {
  color: var(--soft);
  font-size: 14px;
}

.admin-dashboard-body td strong {
  font-weight: 760;
}

.admin-dashboard-body .text-link,
.admin-dashboard-body .table-action {
  color: var(--signal-strong);
}

.admin-dashboard-body .status-pill {
  min-height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.admin-dashboard-body .health-list {
  gap: 0;
  margin-top: 0;
  background: transparent;
  box-shadow: none;
}

.admin-dashboard-body .health-list div {
  grid-template-columns: minmax(145px, 0.82fr) minmax(0, 1fr);
  min-height: 40px;
  padding: 9px 0;
  border-top: 1px solid var(--admin-border);
  background: transparent;
}

.admin-plan-chart {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.admin-plan-chart div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
}

.admin-plan-chart strong {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.admin-plan-chart i {
  grid-column: 1 / -1;
  display: block;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--signal), rgba(141, 240, 210, 0.38)) 0 0 / var(--admin-plan-width) 100% no-repeat,
    rgba(255, 255, 255, 0.08);
}

.admin-dashboard-body .admin-edit-grid,
.admin-dashboard-body .panel-form {
  margin-top: 18px;
  border-top: 1px solid var(--admin-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-dashboard-body select,
.admin-dashboard-body input,
.admin-dashboard-body textarea {
  border-radius: 6px;
}

@keyframes admin-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-dashboard-content > * {
    animation-duration: 1ms;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .admin-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .admin-rail {
    position: static;
    height: auto;
    grid-template-rows: auto auto;
    border-right: 0;
    border-bottom: 1px solid var(--admin-border);
  }

  .admin-rail-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-rail-nav a {
    grid-template-columns: 12px auto;
    flex: 0 0 auto;
  }

  .admin-rail-profile {
    display: none;
  }

  .admin-dashboard-frame {
    margin: 0;
  }

  .admin-topbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-topbar-actions {
    justify-content: flex-start;
  }

  .admin-command-card {
    grid-template-columns: 1fr;
  }

  .admin-work-queue,
  .admin-overview-grid,
  .admin-lower-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-customers-panel,
  #requests {
    grid-column: 1 / -1;
  }

  .admin-side-stack {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .admin-request-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-request-main {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  }

  .admin-request-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-request-actions,
  .contact-request-status-form {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .admin-dashboard-frame {
    margin: 0;
  }

  .admin-dashboard-content {
    gap: 20px;
    padding: 18px;
  }

  .admin-command-card,
  .admin-dashboard-body .app-panel {
    padding: 0;
  }

  .admin-command-panel,
  .admin-work-queue,
  .admin-overview-grid,
  .admin-side-stack,
  .admin-lower-grid,
  .admin-dashboard-body .metric-grid,
  .admin-dashboard-body .result-strip,
  .admin-dashboard-body .two-column,
  .admin-dashboard-body .admin-edit-grid {
    grid-template-columns: 1fr;
  }

  .admin-command-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--admin-border);
  }

  .admin-command-panel div:last-child {
    border-bottom: 0;
  }

  .admin-dashboard-body .health-list div {
    grid-template-columns: 1fr;
  }

  .admin-customers-panel .admin-customer-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .admin-work-queue,
  .admin-dashboard-body .metric-grid,
  .admin-dashboard-body .result-strip {
    border-top: 1px solid var(--admin-border);
    border-bottom: 0;
  }

  .admin-work-card,
  .admin-dashboard-body .metric-grid article,
  .admin-dashboard-body .result-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--admin-border);
  }

  .admin-customer-row,
  .admin-customer-header,
  .admin-request-main,
  .admin-request-meta {
    grid-template-columns: 1fr;
  }

  .admin-customer-header {
    align-items: stretch;
    gap: 6px;
    padding: 10px 0;
  }

  .admin-customer-header a {
    justify-content: space-between;
    padding: 0 2px;
  }

  .admin-customer-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-customer-id,
  .admin-customer-actions {
    grid-column: 1 / -1;
  }

  .admin-customer-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .admin-list-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-pagination {
    flex-wrap: wrap;
    width: 100%;
  }

  .contact-request-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .contact-request-status-form {
    display: grid;
    grid-template-columns: 1fr auto;
    flex: 1 1 220px;
    width: 100%;
  }

  .contact-request-status-form select {
    width: 100%;
  }

  .contact-request-inline-form {
    flex: 0 0 auto;
  }

  .admin-topbar-actions .button {
    flex: 1 1 0;
  }
}
