:root {
  --ink: #050607;
  --panel: #0b0f0f;
  --panel-soft: #111616;
  --panel-lift: #161b1b;
  --silver: #e6e7e3;
  --muted: #929895;
  --line: rgba(226, 231, 225, 0.16);
  --line-strong: rgba(226, 231, 225, 0.34);
  --green: #20d18b;
  --green-soft: rgba(32, 209, 139, 0.18);
  --green-line: rgba(32, 209, 139, 0.45);
  --gold: #d3b35f;
  --gold-soft: rgba(211, 179, 95, 0.18);
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
  --font: "Segoe UI", Arial, Helvetica, sans-serif;
}

/* Billing operations */
.billing-notice {
  display: grid;
  gap: 3px;
  min-height: 64px;
  align-content: center;
  padding: 14px 18px;
}

.billing-notice strong {
  color: #fff;
  font-size: 15px;
}

.billing-notice span {
  color: #b8c1bc;
  font-size: 13px;
}

.cancel-control form {
  margin: 12px auto 0;
}

.cancel-control form > label:not(.consent-row) {
  display: grid;
  gap: 6px;
  color: #d9dedd;
  font-size: 12px;
  font-weight: 800;
}

.cancel-control form label span small {
  color: #8c9690;
  font-weight: 500;
}

.cancel-control select,
.cancel-control textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--silver);
  background: #090d0d;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.cancel-control textarea {
  min-height: 88px;
  resize: vertical;
}

.billing-cancellation-state {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  color: #b8c0bb;
  background: #0c1110;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  font-size: 12px;
}

.billing-cancellation-state strong {
  color: #f0dfad;
}

.billing-cancellation-state time {
  color: var(--muted);
  white-space: nowrap;
}

.refund-center {
  display: grid;
  gap: 20px;
}

.refund-status-list {
  display: grid;
  gap: 10px;
}

.refund-status-list > article {
  overflow: hidden;
  background: #0d1211;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.refund-status-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  background: #111716;
  border-bottom: 1px solid var(--line);
}

.refund-status-list header > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
}

.refund-status-list h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.refund-status-list code {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
}

.refund-status-list header > strong {
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

.refund-status-list dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0 17px;
}

.refund-status-list dl > div {
  min-width: 0;
  padding: 13px 0;
  border-right: 1px solid var(--line);
}

.refund-status-list dl > div + div {
  padding-left: 15px;
}

.refund-status-list dl > div:last-child {
  border-right: 0;
}

.refund-status-list dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.refund-status-list dd {
  margin: 3px 0 0;
  color: #dce1de;
  font-size: 12px;
}

.refund-member-message {
  margin: 0;
  padding: 13px 17px;
  color: #bbc4bf;
  background: #0a0f0e;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.refund-member-message.success {
  color: #b9f2d8;
  background: rgba(32, 209, 139, 0.06);
  border-top-color: var(--green-line);
}

.refund-request-options {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.refund-request-options > h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.refund-request-options > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.refund-request-control {
  overflow: hidden;
  background: #0d1211;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.refund-request-control summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 12px 16px;
  color: #dce1de;
  cursor: pointer;
  list-style: none;
}

.refund-request-control summary::-webkit-details-marker {
  display: none;
}

.refund-request-control summary span,
.refund-request-control summary strong,
.refund-request-control summary small {
  display: block;
}

.refund-request-control summary small {
  margin-top: 3px;
  color: var(--muted);
}

.refund-request-control summary b {
  color: var(--green);
  font-size: 13px;
  white-space: nowrap;
}

.refund-request-control[open] summary {
  background: #121918;
  border-bottom: 1px solid var(--green-line);
}

.refund-request-control form {
  max-width: 720px;
  padding: 18px;
}

.refund-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  border: 0;
}

.refund-type-options legend {
  width: 100%;
  margin-bottom: 2px;
  color: #c8ceca;
  font-size: 13px;
  font-weight: 800;
}

.refund-type-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c1c9c4;
  font-size: 12px;
}

.refund-type-options input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.admin-section-tabs {
  display: flex;
  gap: 4px;
  min-height: 46px;
  align-items: end;
  padding: 0 4px;
  background: #0d1110;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-section-tabs a {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  padding: 0 15px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 850;
}

.admin-section-tabs a:hover,
.admin-section-tabs a:focus-visible {
  color: #fff;
}

.admin-section-tabs a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.admin-form h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.refund-processing-panel {
  display: grid;
  gap: 16px;
}

.refund-processing-panel > .admin-panel-heading {
  margin-bottom: 0;
}

.refund-processing-grid {
  gap: 12px;
}

.refund-processing-grid > form {
  min-width: 0;
  padding: 18px;
  background: #0c1110;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.refund-processing-grid > .admin-danger-panel {
  border-top: 2px solid rgba(255, 107, 107, 0.7);
}

.billing-event-timeline {
  display: grid;
}

.billing-event-timeline article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.billing-event-timeline article:last-child {
  border-bottom: 0;
}

.billing-event-timeline time,
.billing-event-timeline span {
  color: var(--muted);
  font-size: 11px;
}

.billing-event-timeline strong,
.billing-event-timeline span {
  display: block;
}

.billing-event-timeline strong {
  color: #e2e6e3;
  font-size: 13px;
}

.billing-event-timeline p {
  margin: 5px 0 0;
  color: #b8c0bb;
  font-size: 12px;
  white-space: pre-wrap;
}

@media (max-width: 640px) {
  .billing-cancellation-state,
  .refund-status-list dl,
  .billing-event-timeline article {
    grid-template-columns: 1fr;
  }

  .refund-status-list header,
  .refund-request-control summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .refund-status-list header > strong,
  .refund-request-control summary b {
    white-space: normal;
  }

  .refund-status-list dl > div,
  .refund-status-list dl > div + div {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .refund-status-list dl > div:last-child {
    border-bottom: 0;
  }

  .admin-section-tabs {
    overflow-x: auto;
    align-items: stretch;
  }

  .admin-section-tabs a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .billing-event-timeline article {
    gap: 4px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--silver);
  background:
    radial-gradient(circle at 50% -10%, rgba(32, 209, 139, 0.14), transparent 32rem),
    linear-gradient(180deg, #030404 0%, #08100f 48%, #040505 100%);
  font-family: var(--font);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.045)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 5px);
  opacity: 0.38;
}

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

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

main,
section,
.hero-inner,
.hero-copy,
.section-block {
  min-width: 0;
}

p,
h1,
h2,
h3,
li,
dd {
  overflow-wrap: break-word;
}

button,
input,
select {
  font: inherit;
}

form {
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  display: block;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.48));
}

.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  color: #f5f6f1;
  font-size: 17px;
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 28% 78%, rgba(32, 209, 139, 0.65), transparent 48%),
    #111;
  border: 1px solid var(--green-line);
  border-radius: 8px;
  box-shadow: inset 0 0 18px rgba(32, 209, 139, 0.18), 0 10px 34px rgba(0, 0, 0, 0.42);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  width: 1px;
  height: 70%;
  background: rgba(32, 209, 139, 0.55);
}

.brand-mark::after {
  width: 76%;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.brand-lockup strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-lockup small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.topnav a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: #c9ceca;
  font-size: 14px;
  border: 0;
  border-radius: 999px;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.nav-cta {
  color: #02110b;
  font-weight: 800;
  background: linear-gradient(135deg, #a8ffd9, var(--green));
  box-shadow: 0 12px 28px rgba(32, 209, 139, 0.22);
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-actions button {
  cursor: pointer;
}

.muted-cta {
  color: var(--silver);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(720px, calc(100vh - 180px), 980px);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}

.market-grid {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 44.15% 44.25%, transparent 44.4%),
    linear-gradient(180deg, transparent 0 70%, rgba(255, 255, 255, 0.08) 70.1% 70.2%, transparent 70.35%),
    radial-gradient(circle at 76% 36%, rgba(211, 179, 95, 0.12), transparent 20rem),
    radial-gradient(circle at 15% 20%, rgba(32, 209, 139, 0.1), transparent 18rem);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: 52px;
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-brand-showcase {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin: -22px 0 2px;
}

.hero-logo {
  width: min(620px, 72vw);
  height: auto;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.72));
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 60px;
  line-height: 1.02;
  font-weight: 900;
  text-wrap: balance;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #c5cbc7;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  color: #f4f7f4;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #02110b;
  background: linear-gradient(135deg, #c0ffe2, #20d18b 54%, #13a46c);
  box-shadow: 0 16px 42px rgba(32, 209, 139, 0.24);
}

.button-secondary {
  color: white;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  border-color: var(--line-strong);
}

.button-gold {
  color: #100d04;
  background: linear-gradient(135deg, #ffe8a2, var(--gold));
  box-shadow: 0 16px 42px rgba(211, 179, 95, 0.22);
}

.button-ghost {
  color: var(--silver);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
}

.button-icon {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #06140f;
  line-height: 1;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #c9ceca;
  font-size: 13px;
}

.trust-strip span {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.radar-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  opacity: 0.85;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.18) 49.8% 50.2%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(255, 255, 255, 0.18) 49.8% 50.2%, transparent 50.3%),
    radial-gradient(circle, transparent 0 23%, rgba(255, 255, 255, 0.12) 23.2% 23.8%, transparent 24% 47%, rgba(255, 255, 255, 0.12) 47.2% 47.8%, transparent 48% 70%, rgba(255, 255, 255, 0.12) 70.2% 70.8%, transparent 71%);
  box-shadow: inset 0 0 60px rgba(32, 209, 139, 0.08);
}

.radar-ring {
  position: absolute;
  inset: 48px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.radar-ring-two {
  inset: 110px;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 155px;
  transform-origin: 50% 0%;
  transform: rotate(48deg);
  background: linear-gradient(180deg, var(--green), transparent);
  box-shadow: 0 0 18px var(--green);
}

.candle {
  position: absolute;
  bottom: 110px;
  width: 16px;
  background: linear-gradient(180deg, #8ff8c8, #188b62);
  box-shadow: 0 0 18px rgba(32, 209, 139, 0.36);
}

.candle::before {
  position: absolute;
  top: -22px;
  left: 7px;
  width: 2px;
  height: calc(100% + 44px);
  content: "";
  background: rgba(166, 255, 214, 0.62);
}

.candle-one {
  left: 146px;
  height: 72px;
}

.candle-two {
  left: 186px;
  height: 112px;
}

.candle-three {
  left: 230px;
  height: 148px;
}

.phone-shell {
  position: absolute;
  right: 28px;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    #0b0f0f;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 0 34px rgba(255, 255, 255, 0.035);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 5px 2px 14px;
  color: var(--muted);
  font-size: 13px;
}

.whatsapp-phone {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    #0b141a;
}

.wa-header,
.wa-demo-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  background: #202c33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-header strong,
.wa-demo-header strong,
.wa-header small,
.wa-demo-header small {
  display: block;
}

.wa-header strong,
.wa-demo-header strong {
  color: white;
  font-size: 15px;
  line-height: 1.1;
}

.wa-header small,
.wa-demo-header small,
.wa-header em,
.wa-demo-time {
  color: #aeb9b4;
  font-size: 12px;
  font-style: normal;
}

.wa-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #04120c;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, #b8ffdc, var(--green));
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(32, 209, 139, 0.2);
}

.wa-chat-mini,
.wa-chat-window {
  position: relative;
  padding: 18px;
  background: #08100e;
}

.wa-date-pill,
.wa-admin-notice {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 5px 11px;
  color: #cad5d0;
  font-size: 12px;
  background: rgba(32, 44, 51, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.wa-bubble {
  position: relative;
  width: fit-content;
  max-width: min(76%, 680px);
  margin-left: 8px;
  padding: 8px 10px 6px 11px;
  color: #f3f6f4;
  background: #202c33;
  border-radius: 7px;
  border-top-left-radius: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
}

.wa-bubble::before {
  position: absolute;
  top: -1px;
  left: -8px;
  width: 0;
  height: 0;
  content: "";
  border-top: 10px solid #202c33;
  border-left: 10px solid transparent;
}

.wa-sender {
  margin-bottom: 5px;
  color: #53bdeb;
  font-size: 12.5px;
  font-weight: 800;
}

.wa-sender span {
  margin-left: 6px;
  padding: 1px 5px 2px;
  color: #9de9c2;
  font-size: 9px;
  text-transform: uppercase;
  background: rgba(124, 227, 173, 0.08);
  border: 1px solid rgba(124, 227, 173, 0.45);
  border-radius: 999px;
}

.wa-message-text {
  color: #e9edef;
  font-size: 14.5px;
  line-height: 1.36;
}

.wa-message-text p {
  margin-bottom: 8px;
}

.wa-message-text p:last-child {
  margin-bottom: 0;
}

.wa-message-text strong {
  color: white;
  font-size: 15.5px;
  line-height: 1.25;
}

.wa-demo-line {
  color: #7ce3ad;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.wa-message-meta {
  margin-top: 5px;
  color: #a4b1ab;
  font-size: 10.5px;
  line-height: 1;
  text-align: right;
}

.whatsapp-demo {
  overflow: hidden;
  background: #101715;
  border: 1px solid rgba(32, 209, 139, 0.26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.whatsapp-demo .wa-admin-notice {
  margin-top: 14px;
  margin-bottom: 0;
}

.whatsapp-demo .wa-chat-window {
  padding: 18px 24px 24px;
}

.compact-bubble {
  max-width: min(84%, 340px);
}

.full-bubble {
  max-width: min(76%, 620px);
}

.wa-alert-section {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.wa-alert-section p {
  margin-bottom: 0;
}

.wa-score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.wa-score-grid div {
  padding: 13px;
  background: rgba(32, 209, 139, 0.11);
  border: 1px solid rgba(32, 209, 139, 0.25);
  border-radius: 8px;
}

.wa-score-grid span,
.wa-score-grid strong,
.wa-link-preview span,
.wa-link-preview strong {
  display: block;
}

.wa-score-grid span,
.wa-link-preview span {
  color: #aab5b0;
  font-size: 13px;
}

.wa-score-grid strong {
  color: white;
  font-size: 24px;
}

.wa-link-preview {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  color: #dffcf0;
  background: #1a262d;
  border-left: 3px solid #53bdeb;
  border-radius: 7px;
}

.wa-link-preview strong {
  color: #53bdeb;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.alert-preview,
.terminal-alert {
  background:
    linear-gradient(180deg, rgba(32, 209, 139, 0.08), transparent 32%),
    rgba(6, 10, 10, 0.92);
  border: 1px solid rgba(32, 209, 139, 0.22);
  border-radius: 8px;
}

.alert-preview {
  padding: 18px;
}

.demo-tag {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 5px 8px;
  color: #06140f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: #9cf5ca;
  border-radius: 6px;
}

.alert-preview h2,
.terminal-alert h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.15;
}

.alert-preview dl {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.alert-preview dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alert-preview dt {
  color: var(--muted);
  font-weight: 700;
}

.alert-preview dd {
  margin: 0;
  text-align: right;
}

.summary {
  margin-bottom: 0;
  color: #d4d9d4;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 13px;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}

.signal-band div {
  padding: 22px;
  background: rgba(9, 13, 13, 0.88);
}

.signal-band strong,
.signal-band span {
  display: block;
}

.signal-band strong {
  font-size: 18px;
}

.signal-band span {
  color: var(--muted);
  font-size: 14px;
}

.section-block {
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.5fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: #b4bbb6;
}

.compact-heading {
  display: block;
  max-width: 760px;
}

.compact-heading .eyebrow {
  margin-bottom: 12px;
}

.compact-heading h2 {
  margin-bottom: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  overflow: hidden;
  background: #111615;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.plan-scout {
  --tier-accent: rgba(226, 231, 225, 0.72);
  --tier-line: rgba(226, 231, 225, 0.3);
  --tier-panel: rgba(226, 231, 225, 0.035);
}

.plan-operative {
  --tier-accent: var(--green);
  --tier-line: rgba(32, 209, 139, 0.44);
  --tier-panel: rgba(32, 209, 139, 0.06);
}

.plan-phantom {
  --tier-accent: var(--gold);
  --tier-line: rgba(211, 179, 95, 0.48);
  --tier-panel: rgba(211, 179, 95, 0.07);
}

.plan-card::before {
  display: none;
}

.featured-plan {
  border-color: var(--green-line);
  box-shadow: 0 0 0 1px rgba(32, 209, 139, 0.08), 0 26px 80px rgba(32, 209, 139, 0.12);
}

.plan-phantom {
  border-color: rgba(211, 179, 95, 0.45);
}

.plan-identity {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-height: 236px;
  margin: -4px -4px 22px;
  padding: 18px 16px 26px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, var(--tier-panel), transparent 12rem),
    rgba(0, 0, 0, 0.08);
  border: 1px solid var(--tier-line);
  border-radius: 8px;
}

.plan-identity::before,
.plan-identity::after {
  position: absolute;
  left: 50%;
  pointer-events: none;
  content: "";
  transform: translateX(-50%);
}

.plan-identity::before {
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  transform: none;
  background: linear-gradient(90deg, transparent, var(--tier-accent), transparent);
  opacity: 0.78;
}

.plan-identity::after {
  bottom: -1px;
  width: 0;
  height: 0;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--tier-accent);
  border-left: 8px solid transparent;
}

.tier-status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 9px;
  color: #06140f;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
}

.tier-status-gold {
  color: #161103;
  background: linear-gradient(135deg, #ffe8a2, var(--gold));
  box-shadow: 0 12px 28px rgba(211, 179, 95, 0.18);
}

.plan-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #191d1d;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.035), 0 16px 34px rgba(0, 0, 0, 0.24);
}

.plan-icon svg {
  width: 66px;
  height: 66px;
  overflow: visible;
}

.plan-icon-scout {
  border-color: rgba(226, 231, 225, 0.34);
}

.plan-icon-operative {
  border-color: var(--green-line);
  background: #0e211b;
}

.plan-icon-phantom {
  border-color: rgba(211, 179, 95, 0.48);
  background: #211d12;
}

.icon-ring,
.icon-axis,
.icon-sweep,
.icon-cross,
.icon-case-line,
.phantom-ring,
.phantom-hood-glow,
.phantom-shoulder {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-ring {
  stroke: rgba(230, 231, 227, 0.62);
  stroke-width: 1.6;
}

.icon-ring.muted,
.icon-axis {
  stroke: rgba(230, 231, 227, 0.28);
  stroke-width: 1.1;
}

.icon-sweep {
  stroke: #f2f3ef;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 8px rgba(230, 231, 227, 0.42));
}

.icon-cross.strong {
  stroke: var(--green);
  stroke-width: 2.6;
  filter: drop-shadow(0 0 8px rgba(32, 209, 139, 0.42));
}

.icon-case {
  fill: rgba(32, 209, 139, 0.2);
  stroke: var(--green);
  stroke-width: 2;
}

.icon-case-line {
  stroke: #92f2c5;
  stroke-width: 1.7;
}

.icon-dot {
  fill: #f5f7f3;
}

.phantom-ring {
  stroke: rgba(211, 179, 95, 0.84);
  stroke-width: 1.5;
}

.phantom-hood-glow {
  stroke: rgba(211, 179, 95, 0.28);
  stroke-width: 7;
  filter: drop-shadow(0 0 9px rgba(211, 179, 95, 0.26));
}

.phantom-hood-left {
  fill: #d3b35f;
  filter: drop-shadow(0 0 7px rgba(211, 179, 95, 0.24));
}

.phantom-hood-right {
  fill: #a37a2f;
}

.phantom-hood-left-light {
  fill: #f0d47a;
  opacity: 0.94;
}

.phantom-hood-right-shade {
  fill: #5c461e;
  opacity: 0.92;
}

.phantom-crown-fold {
  fill: #f4d679;
  opacity: 0.34;
}

.phantom-face {
  fill: #070706;
  stroke: rgba(238, 203, 110, 0.58);
  stroke-width: 1.25;
  stroke-linejoin: round;
}

.phantom-face-cut {
  fill: #020202;
}

.phantom-shoulder {
  stroke: #d2b059;
  stroke-width: 2;
  opacity: 0.86;
}

.tier-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.plan-identity .tier-label::before,
.plan-identity .tier-label::after {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.45;
}

.plan-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
  color: white;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.plan-copy {
  position: relative;
  z-index: 1;
  max-width: 260px;
  min-height: 0;
  margin-bottom: 0;
  color: #b9c0bb;
  font-size: 14px;
  line-height: 1.48;
}

.price-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
}

.price {
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
}

.feature-stack {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 24px 0;
  gap: 12px;
}

.feature-block {
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(226, 231, 225, 0.12);
  border-radius: 8px;
}

.feature-block h4 {
  margin: 0 0 10px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-addition {
  background: rgba(32, 209, 139, 0.06);
  border-color: rgba(32, 209, 139, 0.24);
}

.phantom-addition {
  background: rgba(211, 179, 95, 0.07);
  border-color: rgba(211, 179, 95, 0.28);
}

.plan-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 24px;
  color: #d0d5d1;
}

.plan-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  transform: translateY(-50%);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(32, 209, 139, 0.54);
}

.plan-phantom li::before {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(211, 179, 95, 0.5);
}

.plan-phantom .feature-block:not(.phantom-addition) li::before {
  background: var(--green);
  box-shadow: 0 0 14px rgba(32, 209, 139, 0.54);
}

.plan-card .button {
  position: relative;
  z-index: 1;
  width: 100%;
}

.plan-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.plan-actions .button {
  min-height: 60px;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}

.plan-actions .button small {
  color: inherit;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
}

.billing-callout {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 20px;
  color: #dce3dd;
  background: linear-gradient(90deg, rgba(32, 209, 139, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--green-line);
  border-radius: 8px;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.54fr);
  gap: 28px;
  align-items: start;
}

.tier-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.tier-demo {
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.tier-demo.plan-scout {
  border-color: rgba(226, 231, 225, 0.28);
}

.tier-demo.plan-operative {
  border-color: var(--green-line);
}

.tier-demo.plan-phantom {
  border-color: rgba(211, 179, 95, 0.5);
}

.tier-demo .wa-demo-header {
  padding: 14px 15px;
}

.tier-demo .wa-chat-window {
  min-height: 560px;
  padding: 14px 14px 18px;
}

.tier-demo .full-bubble {
  max-width: 100%;
}

.tier-demo .wa-message-text {
  font-size: 13px;
}

.tier-demo .wa-message-text strong {
  font-size: 14.5px;
}

.tier-demo .wa-link-preview {
  margin-top: 10px;
  padding: 10px;
}

.terminal-alert {
  padding: 24px;
  box-shadow: var(--shadow);
}

.terminal-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: -8px 0 20px;
  padding-bottom: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.terminal-top span:first-child {
  display: inline-flex;
  width: 38px;
  height: 12px;
  background:
    radial-gradient(circle at 6px 6px, #ff6b6b 0 4px, transparent 4.5px),
    radial-gradient(circle at 19px 6px, #ffd166 0 4px, transparent 4.5px),
    radial-gradient(circle at 32px 6px, var(--green) 0 4px, transparent 4.5px);
}

.terminal-top span:last-child {
  justify-self: end;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.alert-lines {
  margin: 18px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.alert-lines p {
  margin-bottom: 7px;
}

.alert-lines p:last-child {
  margin-bottom: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.metric-grid div {
  padding: 14px;
  background: rgba(32, 209, 139, 0.08);
  border: 1px solid rgba(32, 209, 139, 0.22);
  border-radius: 8px;
}

.metric-grid span,
.metric-grid strong {
  display: block;
}

.metric-grid span {
  color: var(--muted);
  font-size: 13px;
}

.metric-grid strong {
  color: white;
  font-size: 24px;
}

.source-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-weight: 800;
}

.anatomy-list {
  display: grid;
  gap: 16px;
}

.anatomy-list div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.anatomy-list span {
  color: var(--green);
  font-weight: 900;
}

.anatomy-list h3 {
  margin: 8px 0 8px;
  font-size: 22px;
}

.anatomy-list p {
  margin-bottom: 0;
  color: #b4bbb6;
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.58fr);
  gap: 36px;
  padding: 36px;
  background:
    radial-gradient(circle at 90% 12%, rgba(32, 209, 139, 0.13), transparent 22rem),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.access-panel h2 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.08;
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding-left: 22px;
  color: #d1d7d2;
}

.gateway-card,
.access-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--green-line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.gateway-card h3,
.access-form h3 {
  margin-bottom: 4px;
  font-size: 26px;
}

.gateway-card div {
  display: grid;
  gap: 3px;
  padding: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gateway-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.gateway-card strong {
  color: white;
}

.gateway-card p {
  margin: 0;
  color: #b7beb9;
  font-size: 14px;
}

.access-form label:not(.consent-row) {
  color: #c7cec9;
  font-size: 14px;
  font-weight: 800;
}

.access-form input,
.access-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.access-form input:focus,
.access-form select:focus {
  outline: 2px solid rgba(32, 209, 139, 0.5);
  outline-offset: 2px;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  color: #c5cbc7;
  font-size: 13px;
  line-height: 1.35;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}

.consent-row a {
  color: var(--green);
  font-weight: 800;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.form-note.success {
  color: var(--green);
}

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

details {
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  color: white;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 14px 0 0;
  color: #b8bfba;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050707;
}

.coming-soon-page {
  position: relative;
  display: grid;
  min-height: calc(100vh - 94px);
  place-items: center;
  padding: 72px 18px;
  overflow: hidden;
}

.coming-soon-page::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 20%, rgba(32, 209, 139, 0.16), transparent 24rem),
    linear-gradient(180deg, transparent 0 64%, rgba(211, 179, 95, 0.08));
}

.coming-soon-shell {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  text-align: center;
}

.coming-soon-logo {
  display: block;
  width: min(560px, 86vw);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 28px 62px rgba(0, 0, 0, 0.72));
}

.coming-soon-shell h1 {
  max-width: 780px;
  margin: 0 auto 18px;
  font-size: clamp(38px, 8vw, 68px);
}

.coming-soon-shell p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto 26px;
  color: #c5cbc7;
  font-size: 18px;
}

.coming-soon-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.coming-soon-status span {
  padding: 8px 12px;
  color: #dbe4df;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  color: white;
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-brand:hover,
.footer-brand:focus-visible {
  color: var(--green);
  outline: none;
}

.legal-page {
  width: calc(100% - 36px);
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 0;
}

.legal-page h1 {
  font-size: 46px;
}

.legal-page h2 {
  margin-top: 34px;
  color: white;
}

.legal-page p,
.legal-page li {
  color: #c1c8c3;
}

.legal-page a {
  color: var(--green);
  font-weight: 800;
}

.auth-page,
.checkout-page {
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 0 92px;
}

.auth-brand {
  margin-bottom: 64px;
}

.auth-shell,
.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: 36px;
  align-items: start;
}

.auth-copy h1,
.checkout-panel h1,
.confirmation-panel h1 {
  max-width: 720px;
  font-size: 48px;
}

.auth-copy p,
.checkout-panel p,
.confirmation-panel p {
  max-width: 700px;
  color: #bec5c0;
}

.auth-signal {
  display: grid;
  gap: 2px;
  max-width: 520px;
  margin-top: 14px;
  padding: 16px 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-signal span:first-child {
  color: var(--green);
  font-weight: 900;
}

.auth-signal strong {
  color: white;
}

.auth-signal span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.auth-card,
.checkout-card,
.checkout-panel,
.confirmation-panel,
.account-panel {
  position: relative;
  padding: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(32, 209, 139, 0.12), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-card,
.checkout-card {
  display: grid;
  gap: 12px;
}

.auth-card-narrow {
  max-width: 520px;
  margin: 0 auto;
}

.compact-auth {
  max-width: 760px;
}

.auth-card h1,
.auth-card h2,
.checkout-card h2 {
  margin-bottom: 0;
  color: white;
  font-size: 32px;
  line-height: 1.08;
}

.auth-card p,
.checkout-card p {
  margin-bottom: 6px;
  color: #b9c0bb;
}

.auth-card a,
.checkout-card a,
.confirmation-panel a:not(.button) {
  color: var(--green);
  font-weight: 800;
}

.auth-card label:not(.consent-row),
.checkout-card label:not(.consent-row) {
  color: #c7cec9;
  font-size: 14px;
  font-weight: 800;
}

.auth-card input,
.auth-card select,
.checkout-card input,
.checkout-card select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-card input:focus,
.auth-card select:focus,
.checkout-card input:focus,
.checkout-card select:focus {
  outline: 2px solid rgba(32, 209, 139, 0.5);
  outline-offset: 2px;
}

.auth-card select {
  color-scheme: dark;
}

.auth-card select option {
  color: var(--silver);
  background: #121915;
}

.phone-field-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(180px, 1.1fr);
  gap: 12px;
}

.auth-form-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.auth-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.auth-card span.field-validation-error,
.checkout-card span.field-validation-error,
.validation-summary {
  color: var(--danger);
  font-size: 13px;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.checkout-summary div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-summary dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-summary dd {
  margin: 0;
  color: white;
  font-weight: 800;
}

.registration-summary {
  gap: 0;
  margin: 8px 0 0;
  padding: 4px 16px;
  background: rgba(32, 209, 139, 0.07);
  border: 1px solid var(--green-line);
  border-radius: 8px;
}

.registration-summary div:last-child {
  border-bottom: 0;
}

.change-selection-link {
  justify-self: start;
  margin-bottom: 6px;
  font-size: 13px;
}

.gateway-note {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 16px;
  background: rgba(32, 209, 139, 0.1);
  border: 1px solid var(--green-line);
  border-radius: 8px;
}

.gateway-note span {
  color: #c6cec8;
}

.compact-gateway-note {
  margin-top: 4px;
}

.sandbox-buyer-note {
  margin-top: 22px;
}

.sandbox-buyer-note code {
  color: #effbf6;
  font-family: Consolas, "Courier New", monospace;
}

.sandbox-buyer-note a {
  color: var(--green-bright);
}

.payfast-redirect-panel form {
  margin-top: 24px;
}

.redirect-copy {
  margin-top: 14px;
  font-size: 14px;
}

.confirmation-panel {
  max-width: 900px;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.subscription-table {
  display: grid;
  gap: 16px;
}

.subscription-table article,
.empty-state {
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subscription-table article > span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.subscription-table h2,
.empty-state h2 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.subscription-table dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 0;
}

.subscription-table dl div {
  padding: 12px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subscription-table dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subscription-table dd {
  margin: 0;
  color: white;
}

@media (max-width: 1040px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-inner,
  .demo-layout,
  .tier-demo-grid,
  .access-panel,
  .auth-shell,
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 48px;
  }

  .hero-visual {
    display: grid;
    min-height: auto;
    padding-top: 42px;
    place-items: center;
  }

  .phone-shell {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 430px;
    transform: none;
  }

  .radar-panel {
    top: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .hero-brand-showcase {
    margin: -8px 0 0;
  }

  .hero-logo {
    width: min(560px, 86vw);
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 12px;
  }

  .section-heading h2 {
    margin-bottom: 14px;
  }

  .signal-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .phone-field-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    width: calc(100% - 40px);
    gap: 12px;
    padding: 12px 0;
  }

  .brand-lockup small,
  .account-actions {
    display: none;
  }

  .brand-mark,
  .brand-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .topnav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: stretch;
    padding: 4px;
  }

  .topnav a {
    justify-content: center;
    min-height: 34px;
    padding: 0 8px;
    white-space: nowrap;
  }

  .hero-section {
    min-height: auto;
    padding: 36px 0 38px;
  }

  .scroll-cue {
    position: static;
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    transform: none;
  }

  .hero-inner,
  .section-block,
  .signal-band,
  .footer-inner {
    width: calc(100% - 40px);
  }

  h1 {
    max-width: 620px;
    font-size: clamp(34px, 8vw, 48px);
  }

  .hero-lead {
    max-width: 620px;
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 340px;
  }

  .hero-visual {
    padding-top: 34px;
  }

  .radar-panel {
    width: 270px;
    height: 270px;
  }

  .phone-shell {
    width: 100%;
    max-width: 360px;
  }

  .alert-preview dl div {
    display: block;
  }

  .alert-preview dd {
    text-align: left;
  }

  .signal-band,
  .metric-grid,
  .wa-score-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 64px 0;
  }

  .section-heading h2,
  .access-panel h2 {
    font-size: 32px;
  }

  .plan-card,
  .terminal-alert,
  .access-panel,
  .access-form,
  .gateway-card,
  .auth-card,
  .checkout-card,
  .checkout-panel,
  .confirmation-panel,
  .account-panel {
    padding: 20px;
  }

  .auth-page,
  .checkout-page {
    padding-top: 24px;
  }

  .auth-brand {
    margin-bottom: 40px;
  }

  .auth-copy h1,
  .checkout-panel h1,
  .confirmation-panel h1 {
    font-size: 34px;
  }

  .checkout-summary div,
  .subscription-table dl {
    grid-template-columns: 1fr;
  }

  .whatsapp-demo .wa-chat-window {
    padding: 16px;
  }

  .full-bubble {
    max-width: 100%;
  }

  .wa-bubble dl div {
    display: block;
  }

  .wa-bubble dd {
    text-align: left;
  }

  .billing-callout {
    display: block;
  }

  .billing-callout strong {
    display: block;
    margin-bottom: 6px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 520px) {
  .topbar,
  .hero-inner,
  .section-block,
  .signal-band,
  .footer-inner,
  .auth-page,
  .checkout-page {
    width: 320px;
    margin-right: 0;
    margin-left: 28px;
  }

  .topnav a {
    padding: 0 3px;
    font-size: 12px;
  }

  h1 {
    max-width: 300px;
    font-size: 32px;
  }

  .hero-lead {
    max-width: 300px;
    font-size: 16px;
  }

  .hero-actions .button {
    max-width: 300px;
  }

  .trust-strip span {
    width: 100%;
  }

  .phone-shell {
    max-width: 300px;
  }
}

@media (max-width: 340px) {
  .topbar,
  .hero-inner,
  .section-block,
  .signal-band,
  .footer-inner,
  .auth-page,
  .checkout-page {
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
  }
}

.member-body {
  min-height: 100vh;
  background: #070a0a;
}

.member-body::after {
  display: none;
}

.member-body > main {
  min-height: 100vh;
}

.member-app {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100vh;
}

.member-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  padding: 26px 18px 20px;
  background: #080c0b;
  border-right: 1px solid var(--line);
}

.member-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 8px 24px;
  border-bottom: 1px solid var(--line);
}

.member-brand img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.member-brand strong,
.member-brand small {
  display: block;
}

.member-brand strong {
  color: white;
  font-size: 18px;
  line-height: 1.1;
}

.member-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.member-nav {
  display: grid;
  gap: 4px;
  margin-top: 24px;
}

.member-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #aeb6b1;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.member-nav a span {
  color: #626b67;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.member-nav a:hover,
.member-nav a:focus-visible {
  color: white;
  background: #111716;
  border-color: var(--line);
}

.member-nav a.active {
  color: white;
  background: #12201c;
  border-color: var(--green-line);
}

.member-nav a.active span {
  color: var(--green);
}

.member-sidebar-footer {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid var(--line);
}

.member-sidebar-footer span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.member-sidebar-footer strong {
  overflow: hidden;
  color: #d8ddd9;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-sidebar-footer button {
  margin-top: 10px;
  padding: 0;
  color: #aeb6b1;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.member-sidebar-footer button:hover,
.member-sidebar-footer button:focus-visible {
  color: var(--green);
}

.member-workspace {
  min-width: 0;
  padding: 34px clamp(24px, 4vw, 58px) 72px;
}

.member-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.member-topbar h1 {
  margin-bottom: 4px;
  color: white;
  font-size: 34px;
  line-height: 1.15;
}

.member-topbar p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.member-content {
  display: grid;
  gap: 22px;
  max-width: 1240px;
  margin: 26px auto 0;
}

.member-notice {
  padding: 13px 16px;
  color: #d8e1dc;
  background: #101616;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 6px;
}

.member-notice.success {
  border-left-color: var(--green);
}

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

.member-status-band,
.member-empty-band,
.member-guidance-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  background: #101715;
  border: 1px solid var(--green-line);
  border-radius: 8px;
}

.member-status-band.phantom {
  background: #18170f;
  border-color: rgba(211, 179, 95, 0.56);
}

.member-status-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  background: var(--green);
  border: 3px solid rgba(32, 209, 139, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(32, 209, 139, 0.08);
}

.member-status-band h2,
.member-empty-band h2,
.member-guidance-band h2 {
  margin-bottom: 3px;
  color: white;
  font-size: 24px;
}

.member-status-band p,
.member-empty-band p,
.member-guidance-band p {
  margin-bottom: 0;
  color: #aeb7b1;
}

.member-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.member-metric-grid article {
  display: grid;
  min-height: 128px;
  padding: 18px;
  background: #101515;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.member-metric-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-metric-grid strong {
  align-self: end;
  color: white;
  font-size: 20px;
}

.member-metric-grid small {
  color: #89918d;
}

.member-two-column,
.member-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.member-panel,
.member-form,
.member-info-panel {
  min-width: 0;
  padding: 22px;
  background: #101515;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.member-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.member-panel-heading h2 {
  margin-bottom: 0;
  color: white;
  font-size: 22px;
}

.member-panel-heading > a,
.member-panel-heading > span,
.member-guidance-band a,
.member-info-panel > a {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.member-panel-heading > span {
  color: var(--muted);
  text-align: right;
}

.member-progress-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-progress-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.member-progress-list li:last-child {
  border-bottom: 0;
}

.member-progress-list li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #69716e;
  background: #080b0b;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.member-progress-list li.complete > span {
  color: #07100d;
  background: var(--green);
  border-color: var(--green);
}

.member-progress-list li.current > span {
  color: var(--green);
  border-color: var(--green-line);
}

.member-progress-list strong,
.member-progress-list small {
  display: block;
}

.member-progress-list strong {
  color: white;
}

.member-progress-list small {
  color: var(--muted);
}

.member-activity-list {
  display: grid;
}

.member-activity-list > div {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.member-activity-list > div:last-child {
  border-bottom: 0;
}

.member-activity-list > div > span,
.member-activity-list small {
  color: var(--muted);
  font-size: 12px;
}

.member-activity-list p,
.member-activity-list strong,
.member-activity-list small {
  margin: 0;
}

.member-activity-list p strong,
.member-activity-list p small {
  display: block;
}

.member-muted {
  color: var(--muted);
}

.access-list,
.billing-list,
.support-request-list {
  display: grid;
  gap: 14px;
}

.access-record {
  overflow: hidden;
  background: #101515;
  border: 1px solid var(--line);
  border-bottom: 2px solid #8a928e;
  border-radius: 8px;
}

.access-record.operative {
  border-bottom-color: var(--green);
}

.access-record.phantom {
  border-color: rgba(211, 179, 95, 0.4);
  border-bottom-color: var(--gold);
}

.access-record > header {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 24px;
}

.access-record header h2 {
  margin-bottom: 4px;
  color: white;
  font-size: 24px;
}

.access-record header p:last-child {
  max-width: 760px;
  margin: 0;
  color: #aeb6b1;
}

.access-plan-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #dce1dd;
  background: #080b0b;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.access-plan-mark span {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.operative .access-plan-mark {
  color: var(--green);
  border-color: var(--green-line);
}

.phantom .access-plan-mark {
  color: var(--gold);
  border-color: rgba(211, 179, 95, 0.56);
}

.member-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  color: #adb5b0;
  background: #090c0c;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.member-status-pill.active {
  color: var(--green);
  background: rgba(32, 209, 139, 0.08);
  border-color: var(--green-line);
}

.access-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0 24px 22px;
}

.access-facts > div {
  padding: 14px 16px;
  background: #0b0f0f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.access-facts > div:first-child {
  border-left: 1px solid var(--line);
  border-radius: 6px 0 0 6px;
}

.access-facts > div:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 6px 6px 0;
}

.access-facts dt,
.member-info-panel dt,
.billing-list dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.access-facts dd,
.member-info-panel dd,
.billing-list dd {
  margin: 3px 0 0;
  color: #e0e4e1;
}

.access-next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  background: #0a1110;
  border-top: 1px solid var(--green-line);
}

.access-next-step strong,
.access-next-step span {
  display: block;
}

.access-next-step span {
  color: var(--muted);
  font-size: 13px;
}

.member-guidance-band {
  display: block;
  background: #111412;
  border-color: rgba(211, 179, 95, 0.38);
}

.member-guidance-band a {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
}

.billing-list article {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.billing-list article:last-child {
  border-bottom: 0;
}

.billing-plan-summary h3 {
  margin: 7px 0 2px;
  color: white;
  font-size: 20px;
}

.billing-plan-summary p {
  margin: 0;
  color: var(--muted);
}

.billing-list dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.billing-list dl > div {
  min-width: 0;
  padding: 12px;
  background: #0a0e0e;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.billing-list dd {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cancel-control {
  grid-column: 1 / -1;
  padding: 0;
  border-top: 1px solid var(--line);
}

.cancel-control summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  box-sizing: border-box;
  color: #b9c0bc;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
  text-align: center;
}

.cancel-control summary::-webkit-details-marker {
  display: none;
}

.cancel-control form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 12px;
  padding: 16px;
  background: #160f10;
  border: 1px solid rgba(255, 107, 107, 0.34);
  border-radius: 6px;
}

.cancel-control form p {
  margin: 0;
  color: #c4b9ba;
}

.button-danger {
  color: white;
  background: #9d353b;
  border-color: #c84b52;
}

.member-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.member-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.member-table th,
.member-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.member-table th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.member-table td {
  color: #d7dcd8;
  font-size: 13px;
}

.member-inline-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-inline-empty p {
  margin: 0;
  color: var(--muted);
}

.member-inline-empty a {
  color: var(--green);
  font-weight: 800;
}

.member-form {
  display: grid;
  gap: 10px;
}

.member-form label:not(.consent-row) {
  color: #c8ceca;
  font-size: 13px;
  font-weight: 800;
}

.member-form input:not([type="checkbox"]),
.member-form select,
.member-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--silver);
  background: #090d0d;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.member-form textarea {
  min-height: 150px;
  resize: vertical;
}

.member-form input:focus,
.member-form select:focus,
.member-form textarea:focus {
  outline: 2px solid rgba(32, 209, 139, 0.42);
  outline-offset: 2px;
}

.member-form input:disabled {
  color: #7d8581;
  background: #0d1010;
}

.member-form > small {
  margin-top: -5px;
  color: var(--muted);
}

.member-form .field-validation-error,
.cancel-control .field-validation-error {
  color: var(--danger);
  font-size: 12px;
}

.member-form .button {
  justify-self: start;
  margin-top: 10px;
}

.member-info-panel {
  position: sticky;
  top: 24px;
  border-top: 2px solid var(--green);
}

.member-info-panel h2 {
  margin-bottom: 8px;
  color: white;
  font-size: 24px;
}

.member-info-panel > p:not(.eyebrow) {
  color: #aeb6b1;
}

.member-info-panel dl {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
}

.member-info-panel dl > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.support-history {
  margin-top: 4px;
  padding: 0;
  overflow: hidden;
}

.support-confirmation {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 15px 18px;
  color: #eafff5;
  background: rgba(32, 209, 139, 0.12);
  border: 1px solid rgba(65, 231, 165, 0.62);
  border-left-width: 1px;
  box-shadow: 0 0 24px rgba(32, 209, 139, 0.08);
}

.support-confirmation-mark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #06110c;
  background: var(--green);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.support-confirmation strong {
  color: white;
  font-size: 16px;
}

.support-history > .member-panel-heading {
  margin: 0;
  padding: 22px 24px 18px;
}

.support-ticket-tabs {
  display: flex;
  gap: 4px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.support-ticket-tabs button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.support-ticket-tabs button:hover,
.support-ticket-tabs button:focus-visible {
  color: white;
}

.support-ticket-tabs button.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.support-ticket-tabs button span {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  color: #cbd3ce;
  background: #090d0c;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
}

.support-ticket-list-head,
.support-ticket-summary {
  display: grid;
  grid-template-columns: minmax(108px, 0.8fr) minmax(220px, 2fr) 88px 138px 44px;
  gap: 14px;
  align-items: center;
}

.support-ticket-list-head {
  min-height: 38px;
  padding: 0 24px;
  color: #7f8883;
  background: #0c1110;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-ticket {
  background: #101515;
  border-bottom: 1px solid var(--line);
}

.support-ticket:last-child {
  border-bottom: 0;
}

.support-ticket[hidden] {
  display: none;
}

.support-ticket-summary {
  min-height: 72px;
  padding: 12px 24px;
  cursor: pointer;
  list-style: none;
  transition: background 150ms ease;
}

.support-ticket-summary::-webkit-details-marker {
  display: none;
}

.support-ticket-summary:hover,
.support-ticket-summary:focus-visible,
.support-ticket[open] > .support-ticket-summary {
  background: #151c1a;
}

.support-ticket-reference {
  color: #aeb8b2;
  font-size: 12px;
  letter-spacing: 0;
}

.support-ticket-subject {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.support-ticket-subject strong {
  overflow: hidden;
  color: white;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-subject small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-ticket-summary time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.support-ticket-view {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.support-ticket-view span:last-child,
.support-ticket[open] .support-ticket-view span:first-child {
  display: none;
}

.support-ticket[open] .support-ticket-view span:last-child {
  display: inline;
}

.support-ticket-detail {
  padding: 24px;
  background: #0b100f;
  border-top: 1px solid var(--line);
}

.support-ticket-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.support-ticket-detail-heading span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.support-ticket-detail-heading h3 {
  margin: 3px 0 0;
  color: white;
  font-size: 21px;
}

.support-ticket-detail-heading p,
.support-ticket-closed {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.support-thread {
  display: grid;
  gap: 12px;
}

.support-thread-message {
  max-width: calc(100% - 48px);
  padding: 14px 16px;
  background: #111716;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.support-thread-message.member {
  margin-left: 48px;
}

.support-thread-message.admin {
  margin-right: 48px;
  background: rgba(32, 209, 139, 0.055);
  border-color: rgba(32, 209, 139, 0.28);
}

.support-thread-message.system {
  max-width: 100%;
  padding-block: 10px;
  color: #b8b18f;
  background: rgba(211, 179, 95, 0.05);
  border-color: rgba(211, 179, 95, 0.26);
}

.support-thread-message > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.support-thread-message strong {
  color: white;
  font-size: 13px;
}

.support-thread-message.admin strong {
  color: var(--green);
}

.support-thread-message p {
  margin-bottom: 0;
  color: #c1c9c4;
  white-space: pre-wrap;
}

.support-thread-message time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.support-ticket-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.support-ticket-actions > form {
  justify-self: end;
}

.support-reply-control summary {
  display: flex;
  width: fit-content;
  min-width: 112px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #07110d;
  background: linear-gradient(135deg, #a8ffd9, var(--green));
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.support-reply-control summary::-webkit-details-marker {
  display: none;
}

.support-reply-control[open] summary {
  margin-bottom: 12px;
}

.support-reply-control[open] {
  grid-column: 1 / -1;
}

.support-reply-control form {
  display: grid;
  gap: 10px;
}

.support-reply-control label {
  color: #c7cec9;
  font-size: 13px;
  font-weight: 800;
}

.support-reply-control textarea {
  width: 100%;
  min-height: 112px;
  padding: 12px;
  resize: vertical;
  color: white;
  background: #101514;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font: inherit;
}

.support-ticket-closed {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.support-filter-empty {
  margin: 0;
  padding: 30px 24px;
  color: var(--muted);
  text-align: center;
}

.admin-support-thread {
  padding-top: 0;
}

@media (max-width: 1100px) {
  .member-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-facts > div,
  .access-facts > div:first-child,
  .access-facts > div:last-child {
    border: 1px solid var(--line);
    border-radius: 0;
  }
}

@media (max-width: 900px) {
  .member-app {
    display: block;
  }

  .member-sidebar {
    position: static;
    height: auto;
    padding: 16px 20px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .member-brand {
    padding: 0 0 14px;
  }

  .member-nav {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .member-nav::-webkit-scrollbar {
    display: none;
  }

  .member-nav a {
    flex: 0 0 auto;
    grid-template-columns: auto 1fr;
    column-gap: 6px;
    min-height: 38px;
    white-space: nowrap;
  }

  .member-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 0 0;
  }

  .member-sidebar-footer span {
    display: none;
  }

  .member-sidebar-footer strong {
    max-width: 60%;
  }

  .member-sidebar-footer form {
    margin-left: auto;
  }

  .member-sidebar-footer button {
    margin-top: 0;
  }

  .member-workspace {
    padding: 28px 24px 60px;
  }

  .member-two-column,
  .member-form-layout {
    grid-template-columns: 1fr;
  }

  .member-info-panel {
    position: static;
  }

  .billing-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .member-workspace {
    padding: 22px 16px 48px;
  }

  .member-topbar {
    display: block;
  }

  .member-topbar h1 {
    font-size: 28px;
  }

  .member-plans-link {
    margin-top: 16px;
  }

  .member-status-band,
  .member-empty-band,
  .access-next-step,
  .member-inline-empty {
    display: grid;
  }

  .member-status-band .button,
  .member-empty-band .button,
  .access-next-step .button {
    width: 100%;
  }

  .member-metric-grid,
  .access-facts,
  .billing-list dl {
    grid-template-columns: 1fr;
  }

  .member-metric-grid article {
    min-height: 108px;
  }

  .access-record > header {
    grid-template-columns: 64px 1fr;
    padding: 18px;
  }

  .access-plan-mark {
    width: 56px;
    height: 56px;
  }

  .access-record header .member-status-pill {
    grid-column: 1 / -1;
  }

  .access-facts {
    gap: 8px;
    padding: 0 18px 18px;
  }

  .access-facts > div,
  .access-facts > div:first-child,
  .access-facts > div:last-child {
    border-radius: 6px;
  }

  .access-next-step {
    padding: 16px 18px;
  }

  .member-panel,
  .member-form,
  .member-info-panel {
    padding: 18px;
  }

  .member-panel-heading {
    display: grid;
  }

  .member-panel-heading > span,
  .support-ticket-summary time {
    text-align: left;
  }

  .support-history > .member-panel-heading {
    padding: 18px;
  }

  .support-ticket-tabs {
    padding: 0 12px;
    overflow-x: auto;
  }

  .support-ticket-list-head {
    display: none;
  }

  .support-ticket-summary {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 14px 18px;
  }

  .support-ticket-reference {
    grid-column: 1;
    grid-row: 1;
  }

  .support-ticket-summary .member-status-pill {
    grid-column: 2;
    grid-row: 1;
  }

  .support-ticket-subject {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .support-ticket-summary time {
    grid-column: 1;
    grid-row: 3;
  }

  .support-ticket-view {
    grid-column: 2;
    grid-row: 3;
  }

  .support-ticket-detail {
    padding: 18px;
  }

  .support-ticket-detail-heading {
    display: block;
  }

  .support-ticket-detail-heading > p {
    margin-top: 8px;
  }

  .support-thread-message,
  .support-thread-message.member,
  .support-thread-message.admin {
    max-width: 100%;
    margin-inline: 0;
  }

  .support-ticket-actions {
    grid-template-columns: 1fr;
  }

  .support-ticket-actions > details,
  .support-ticket-actions > form,
  .support-ticket-actions .button,
  .support-reply-control summary {
    width: 100%;
  }

  .support-ticket-actions > form {
    justify-self: stretch;
  }

  .member-activity-list > div {
    grid-template-columns: 44px 1fr;
  }

  .member-activity-list > div > strong {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Administration console */
.admin-body {
  min-height: 100vh;
  background: #070909;
}

.admin-body::before,
.admin-body::after {
  display: none;
}

.admin-body > main {
  min-height: 100vh;
}

.admin-app {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  padding: 24px 18px 20px;
  background: #090c0c;
  border-right: 1px solid var(--line);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 8px 22px;
  border-bottom: 1px solid var(--line);
}

.admin-brand img {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.admin-brand small {
  margin-top: 3px;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
}

.admin-nav {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.admin-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #aab2ad;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
}

.admin-nav a span {
  color: #5f6763;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  color: #fff;
  background: #121716;
  border-color: var(--line);
}

.admin-nav a.active {
  color: #fff;
  background: #18201d;
  border-color: rgba(211, 179, 95, 0.44);
}

.admin-nav a.active span {
  color: var(--gold);
}

.admin-sidebar-footer {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid var(--line);
}

.admin-sidebar-footer span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.admin-sidebar-footer strong {
  overflow: hidden;
  color: #d8ddd9;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-sidebar-footer button {
  margin-top: 8px;
  padding: 0;
  color: #aeb6b1;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.admin-sidebar-footer button:hover,
.admin-sidebar-footer button:focus-visible {
  color: var(--gold);
}

.admin-workspace {
  min-width: 0;
  padding: 30px clamp(22px, 3.3vw, 52px) 64px;
}

.admin-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 32px;
  line-height: 1.15;
}

.admin-topbar p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.admin-content {
  display: grid;
  gap: 18px;
  max-width: 1480px;
  margin: 24px auto 0;
}

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

.admin-metric-grid article {
  display: grid;
  min-height: 122px;
  padding: 16px;
  background: #111615;
  border: 1px solid var(--line);
  border-top: 2px solid #707874;
  border-radius: 6px;
}

.admin-metric-grid article.attention {
  border-top-color: var(--gold);
}

.admin-metric-grid span,
.admin-summary-strip span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-metric-grid strong {
  align-self: end;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
}

.admin-metric-grid small {
  color: #818985;
  font-size: 11px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.admin-panel-wide {
  grid-row: span 2;
}

.admin-panel {
  min-width: 0;
  padding: 20px;
  background: #111615;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-heading h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: 20px;
}

.admin-panel-heading > a {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.admin-panel-heading > span,
.admin-panel-heading > time {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.admin-record-list,
.admin-compact-list {
  display: grid;
}

.admin-record-list > a {
  display: grid;
  grid-template-columns: 42px minmax(180px, 1fr) minmax(180px, 0.8fr);
  gap: 12px;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.admin-record-list > a:last-child,
.admin-compact-list > a:last-child,
.admin-compact-list > div:last-child {
  border-bottom: 0;
}

.admin-record-list > a:hover strong,
.admin-compact-list > a:hover strong {
  color: var(--green);
}

.admin-record-list strong,
.admin-record-list small,
.admin-compact-list strong,
.admin-compact-list small {
  display: block;
}

.admin-record-list strong,
.admin-compact-list strong {
  color: #e2e6e3;
  font-size: 13px;
}

.admin-record-list small,
.admin-compact-list small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
}

.admin-record-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #d6dcd8;
  background: #090d0c;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.admin-record-mark.operative {
  color: var(--green);
  border-color: var(--green-line);
}

.admin-record-mark.phantom {
  color: var(--gold);
  border-color: rgba(211, 179, 95, 0.55);
}

.admin-compact-list > a,
.admin-compact-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.admin-compact-list time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.admin-empty {
  display: grid;
  gap: 2px;
  min-height: 82px;
  align-content: center;
  color: var(--muted);
}

.admin-empty strong {
  color: #dce1dd;
}

.admin-filter-bar {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 14px;
  background: #0e1212;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-filter-bar label {
  display: grid;
  flex: 1 1 220px;
  gap: 5px;
  min-width: 150px;
}

.admin-filter-bar label span,
.admin-inline-form label > span,
.admin-form-grid label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-filter-bar input,
.admin-filter-bar select,
.admin-inline-form input,
.admin-inline-form select,
.admin-form input:not([type="checkbox"]),
.admin-form select,
.admin-form textarea,
.admin-form-grid input:not([type="checkbox"]),
.admin-form-grid textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--silver);
  background: #080b0b;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.admin-filter-bar input:focus,
.admin-filter-bar select:focus,
.admin-inline-form input:focus,
.admin-inline-form select:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-form-grid input:focus,
.admin-form-grid textarea:focus {
  outline: 2px solid rgba(32, 209, 139, 0.38);
  outline-offset: 1px;
}

.admin-filter-bar .button {
  flex: 0 0 auto;
  min-height: 42px;
}

.admin-export {
  margin-left: auto;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

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

.admin-table th {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.admin-table td {
  color: #d6dbd8;
  font-size: 12px;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  color: var(--muted);
}

.admin-table code {
  color: #b9c1bc;
  font-size: 11px;
}

.admin-table a:not(.admin-row-link) {
  color: var(--green);
}

.admin-message-disclosure {
  margin-top: 7px;
}

.admin-message-disclosure summary {
  color: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.admin-message-disclosure pre {
  width: min(440px, 72vw);
  max-height: 260px;
  overflow: auto;
  margin: 8px 0 0;
  padding: 10px;
  color: #cdd5d1;
  background: #080b0a;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 11px/1.5 Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-row-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: #18201d;
  border: 1px solid var(--green-line);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 850;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 0 8px;
  color: #b6bdb9;
  background: #090c0c;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-pill.active {
  color: var(--green);
  background: rgba(32, 209, 139, 0.07);
  border-color: var(--green-line);
}

.admin-pill.danger {
  color: #ff9b9b;
  background: rgba(255, 107, 107, 0.07);
  border-color: rgba(255, 107, 107, 0.42);
}

.admin-muted {
  color: var(--muted);
}

.admin-pagination {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.admin-pagination a,
.admin-pagination span,
.admin-pagination strong {
  font-size: 11px;
}

.admin-pagination a {
  color: var(--green);
  font-weight: 850;
}

.admin-pagination span {
  color: #555d59;
}

.admin-pagination strong {
  color: var(--muted);
}

.admin-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-detail-heading > a {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.admin-detail-heading > div {
  display: flex;
  gap: 6px;
}

.admin-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0e1312;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-summary-strip.compact {
  grid-template-columns: repeat(2, minmax(0, 280px));
}

.admin-summary-strip > div {
  min-width: 0;
  padding: 15px 18px;
  border-right: 1px solid var(--line);
}

.admin-summary-strip > div:last-child {
  border-right: 0;
}

.admin-summary-strip strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.admin-detail-grid.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.admin-form label {
  color: #c7cdca;
  font-size: 12px;
  font-weight: 800;
}

.admin-form textarea {
  min-height: 150px;
  resize: vertical;
}

.admin-form input:disabled {
  color: #7c8480;
  background: #0d1010;
}

.admin-form small,
.admin-danger-panel small,
.admin-form-note {
  color: var(--muted);
  font-size: 11px;
}

.admin-form .field-validation-error {
  color: var(--danger);
  font-size: 11px;
}

.admin-form .button {
  justify-self: start;
  margin-top: 8px;
}

.admin-danger-panel {
  border-top: 2px solid rgba(255, 107, 107, 0.7);
}

.admin-danger-panel p {
  color: #b9c0bc;
}

.admin-access-list {
  display: grid;
  gap: 10px;
}

.admin-access-list > article {
  overflow: hidden;
  background: #0d1211;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-access-summary {
  display: grid;
  grid-template-columns: 42px minmax(210px, 1fr) minmax(210px, 0.85fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
}

.admin-access-summary strong,
.admin-access-summary small {
  display: block;
}

.admin-access-summary strong {
  color: #e3e7e4;
  font-size: 13px;
}

.admin-access-summary small {
  color: var(--muted);
  font-size: 11px;
}

.admin-disclosure {
  border-top: 1px solid var(--line);
}

.admin-disclosure summary {
  width: fit-content;
  padding: 10px 15px;
  color: var(--green);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.admin-inline-form {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 0 15px 15px;
}

.admin-inline-form label {
  display: grid;
  gap: 4px;
  min-width: 180px;
}

.admin-inline-form .admin-form-grow {
  flex: 1 1 360px;
}

.admin-check {
  display: flex !important;
  align-items: center;
  gap: 7px;
  color: #bdc4c0;
  font-size: 11px;
  font-weight: 750;
}

.admin-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.admin-inline-form .button {
  flex: 0 0 auto;
  min-height: 42px;
}

.admin-form-note {
  margin: -4px 15px 14px;
}

.admin-support-list {
  display: grid;
}

.admin-support-list > a {
  display: grid;
  grid-template-columns: 90px minmax(210px, 0.7fr) minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.admin-support-list > a:last-child {
  border-bottom: 0;
}

.admin-support-list strong,
.admin-support-list small {
  display: block;
}

.admin-support-list strong {
  color: #e1e5e2;
  font-size: 13px;
}

.admin-support-list small,
.admin-support-list time,
.admin-support-preview {
  color: var(--muted);
  font-size: 11px;
}

.admin-support-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-support-list time {
  white-space: nowrap;
}

.admin-message {
  padding: 18px;
  color: #d8ddda;
  white-space: pre-wrap;
  background: #090d0c;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 5px;
}

.admin-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}

.admin-facts > div {
  padding: 11px;
  background: #0b0f0f;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.admin-facts dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-facts dd {
  margin: 2px 0 0;
  color: #dce0dd;
  font-size: 12px;
}

.admin-facts a {
  color: var(--green);
}

.admin-guidance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  background: #17150e;
  border: 1px solid rgba(211, 179, 95, 0.38);
  border-radius: 6px;
}

.admin-guidance strong,
.admin-guidance span {
  display: block;
}

.admin-guidance strong {
  color: #f0dfad;
}

.admin-guidance span {
  color: #b9b39f;
  font-size: 12px;
}

.admin-guidance a {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.admin-plan-list {
  display: grid;
  gap: 14px;
}

.admin-plan-form {
  padding: 0;
  overflow: hidden;
  border-bottom: 2px solid #7b837f;
}

.admin-plan-form.operative {
  border-bottom-color: var(--green);
}

.admin-plan-form.phantom {
  border-color: rgba(211, 179, 95, 0.4);
  border-bottom-color: var(--gold);
}

.admin-plan-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #131817;
  border-bottom: 1px solid var(--line);
}

.admin-plan-header h2 {
  margin-bottom: 2px;
  color: #fff;
  font-size: 21px;
}

.admin-plan-header p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.admin-form-grid label {
  display: grid;
  gap: 5px;
}

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

.admin-form-grid textarea {
  min-height: 82px;
  resize: vertical;
}

.admin-plan-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: #0c100f;
  border-top: 1px solid var(--line);
}

.admin-plan-footer .button {
  margin-left: auto;
}

.admin-audit-list {
  display: grid;
}

.admin-audit-list article {
  display: grid;
  grid-template-columns: 132px 110px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.admin-audit-list article:last-child {
  border-bottom: 0;
}

.admin-audit-list time,
.admin-audit-list p,
.admin-audit-list small {
  color: var(--muted);
  font-size: 11px;
}

.admin-audit-list strong {
  color: #dfe4e0;
  font-size: 13px;
}

.admin-audit-list p {
  margin: 2px 0;
}

.support-admin-response {
  margin-top: 14px;
  padding: 13px;
  color: #d7ddd9;
  background: #0a1310;
  border: 1px solid var(--green-line);
  border-left-width: 3px;
  border-radius: 5px;
}

.support-admin-response strong,
.support-admin-response small {
  display: block;
}

.support-admin-response p {
  margin: 4px 0;
}

.support-admin-response small {
  color: var(--muted);
}

@media (max-width: 1280px) {
  .admin-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .admin-inline-form {
    flex-wrap: wrap;
  }
}

@media (max-width: 960px) {
  .admin-app {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 15px 20px 11px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-brand {
    padding: 0 0 12px;
  }

  .admin-nav {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav a {
    flex: 0 0 auto;
    grid-template-columns: auto 1fr;
    gap: 6px;
    min-height: 38px;
    white-space: nowrap;
  }

  .admin-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 9px 0 0;
  }

  .admin-sidebar-footer span {
    display: none;
  }

  .admin-sidebar-footer form {
    margin-left: auto;
  }

  .admin-sidebar-footer button {
    margin-top: 0;
  }

  .admin-workspace {
    padding: 26px 22px 54px;
  }

  .admin-dashboard-grid,
  .admin-detail-grid,
  .admin-detail-grid.equal {
    grid-template-columns: 1fr;
  }

  .admin-panel-wide {
    grid-row: auto;
  }

  .admin-filter-bar {
    flex-wrap: wrap;
  }

  .admin-export {
    margin-left: 0;
  }

  .admin-access-summary {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .admin-access-summary > div:nth-of-type(2) {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .admin-workspace {
    padding: 20px 14px 44px;
  }

  .admin-topbar {
    display: block;
  }

  .admin-topbar h1 {
    font-size: 27px;
  }

  .admin-topbar .button {
    margin-top: 14px;
  }

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

  .admin-metric-grid article {
    min-height: 108px;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-panel-heading,
  .admin-detail-heading,
  .admin-guidance {
    display: grid;
  }

  .admin-panel-heading > span,
  .admin-panel-heading > time {
    text-align: left;
  }

  .admin-record-list > a {
    grid-template-columns: 40px 1fr;
  }

  .admin-record-list > a > span:last-child {
    grid-column: 2;
  }

  .admin-filter-bar label,
  .admin-filter-bar .button,
  .admin-filter-bar > a {
    flex: 1 1 100%;
    width: 100%;
  }

  .admin-summary-strip,
  .admin-summary-strip.compact {
    grid-template-columns: 1fr;
  }

  .admin-summary-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-summary-strip > div:last-child {
    border-bottom: 0;
  }

  .admin-access-summary {
    grid-template-columns: 38px 1fr;
    padding: 13px;
  }

  .admin-access-summary > .admin-pill {
    grid-column: 1 / -1;
  }

  .admin-inline-form,
  .admin-plan-footer {
    display: grid;
  }

  .admin-inline-form label,
  .admin-inline-form .button,
  .admin-plan-footer .button {
    width: 100%;
    margin-left: 0;
  }

  .admin-support-list > a {
    grid-template-columns: 1fr;
  }

  .admin-support-preview {
    white-space: normal;
  }

  .admin-facts,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-plan-header {
    grid-template-columns: 48px 1fr;
  }

  .admin-plan-header > .admin-pill {
    grid-column: 1 / -1;
  }

  .admin-audit-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
