:root {
  color-scheme: light;
  --color-forest-ink: #0a2414;
  --color-parchment-cream: #f3fbe9;
  --color-card-linen: #f9f6f1;
  --color-sage-charcoal: #283a2e;
  --color-muted-moss: #607166;
  --color-vivid-green: #1ad379;
  --color-deep-botanical: #17b267;
  --color-coral-blush: #ffbac3;
  --color-wine-plum: #360003;
  --ink: var(--color-forest-ink);
  --paper: #ffffff;
  --cream: var(--color-parchment-cream);
  --linen: var(--color-card-linen);
  --charcoal: var(--color-sage-charcoal);
  --muted: var(--color-muted-moss);
  --green: var(--color-vivid-green);
  --green-deep: var(--color-deep-botanical);
  --line: rgba(10, 36, 20, 0.1);
  --line-strong: rgba(10, 36, 20, 0.18);
  --shadow: 0 20px 40px -10px rgba(10, 36, 20, 0.12);
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-button: 6px;
  --radius-card: 9px;
  --max: 1200px;
  --header-space: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-space);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 15px;
  line-height: 1.33;
  letter-spacing: -0.15px;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.site-header,
.page-shell,
.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.page-tabs,
.header-actions,
.hero-actions,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.page-tabs {
  justify-content: center;
  gap: 8px;
}

.page-tabs a,
.text-link {
  border-radius: var(--radius-button);
  padding: 8px 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.15px;
  text-decoration: none;
}

.page-tabs a:hover,
.page-tabs a.is-active,
.text-link:hover {
  background: var(--cream);
}

.header-actions {
  justify-content: flex-end;
  gap: 8px;
}

.page-shell {
  min-height: calc(100vh - var(--header-space));
}

.page-view {
  display: none;
  padding: 64px 0 80px;
}

.page-view.is-active {
  display: block;
}

.page-tabs a:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
input:focus-visible,
textarea:focus-visible,
.product-trigger:focus-visible,
.duration-trigger:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
}

.button,
.text-button {
  min-height: 43px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--green-deep);
  border-radius: var(--radius-button);
  padding: 11px 20px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button.small {
  min-height: 38px;
  padding: 8px 14px;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.button.primary:hover,
.button.accent:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.button.secondary {
  border-color: var(--green-deep);
  background: transparent;
}

.button.secondary:hover,
.text-button:hover {
  background: var(--cream);
}

.button.accent {
  border-color: var(--green);
  background: var(--green);
}

.button.full {
  width: 100%;
}

.text-button {
  min-height: 34px;
  padding: 7px 12px;
  border-color: var(--line-strong);
  background: var(--linen);
  font-size: 13px;
}

.text-button:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.button.is-copied,
.text-button.is-copied,
.button.is-copied:disabled,
.text-button.is-copied:disabled {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
  cursor: default;
  transform: scale(0.98);
}

.hero {
  display: grid;
  justify-items: center;
  gap: 32px;
  padding: 20px 0 40px;
}

.hero-text {
  max-width: 760px;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  padding: 7px 12px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.announcement-pill span {
  color: var(--green);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 80px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -1.6px;
}

.lead {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: -0.18px;
}

.platform-line {
  margin: -8px 0 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0.015em;
}

.hero-actions,
.actions {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.panel,
.intro-grid article,
.guide-grid article,
.link-strip a,
.cta-card,
.dark-feature-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.eyebrow,
.field span,
legend,
dt,
.intro-grid article span,
.guide-grid article span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0.015em;
}

.logo-strip {
  display: grid;
  gap: 24px;
  padding: 40px 0 80px;
  text-align: center;
}

.logo-strip > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 24px;
}

.section-heading.centered {
  margin: 0 auto 40px;
  text-align: center;
}

h2,
h3,
p {
  margin-top: 0;
}

.section-heading h1,
h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.96px;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -0.18px;
}

p {
  margin-bottom: 0;
  color: var(--muted);
}

.intro-grid,
.checkout-grid,
.guide-grid,
.split-section,
.dark-feature-grid {
  display: grid;
  gap: 24px;
}

.intro-grid,
.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#page-home .intro-grid {
  max-width: 960px;
  margin: 0 auto;
}

.intro-grid article,
.guide-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background: var(--linen);
}

.intro-grid article p,
.guide-grid article p {
  margin: 0;
}

.dark-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
  margin-top: 80px;
  border-radius: var(--radius-card);
  padding: 40px;
  background: var(--charcoal);
}

.dark-feature h2,
.dark-feature p,
.dark-feature .eyebrow {
  color: var(--cream);
}

.dark-feature p {
  opacity: 0.82;
}

.dark-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dark-feature-grid article {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(249, 246, 241, 0.08);
}

.dark-feature-grid span {
  color: var(--cream);
  font-weight: 500;
}

#page-buy > .buy-workspace,
#page-buy > .order-panel {
  width: min(1040px, 100%);
  margin-inline: auto;
}

.checkout-grid,
.split-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buy-workspace,
.order-panel,
.account-panel,
.link-strip {
  margin-top: 24px;
}

.checkout-grid {
  align-items: stretch;
}

.panel {
  background: var(--linen);
  padding: 24px;
}

.purchase-panel {
  display: flex;
}

.purchase-panel .form {
  width: 100%;
}

.result-panel {
  position: sticky;
  top: calc(var(--header-space) + 24px);
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 100%;
}

.form {
  display: grid;
  gap: 18px;
}

.inline-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px;
  align-items: end;
}

.field {
  display: grid;
  gap: 8px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
  word-break: break-all;
}

.product-options {
  position: relative;
}

.selected-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  background: var(--paper);
}

.selected-product h3 {
  margin-bottom: 6px;
}

.selected-product-meta {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 4px;
}

.selected-product-meta strong {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.04;
}

.selected-product-meta span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.selected-product ul {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-product li {
  border-radius: var(--radius-button);
  padding: 6px 10px;
  background: var(--cream);
  color: var(--muted);
  font-size: 13px;
}

.product-options,
.duration-field,
.duration-select {
  position: relative;
}

.product-trigger,
.duration-trigger {
  width: 100%;
  min-height: 48px;
  display: grid;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-trigger {
  grid-template-columns: minmax(0, 1fr) 18px;
}

.duration-trigger {
  grid-template-columns: 1fr 18px;
}

.select-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.product-menu,
.duration-menu {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  z-index: 20;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-options.is-open .product-menu,
.duration-select.is-open .duration-menu {
  display: block;
}

.product-menu p,
.duration-menu p {
  padding: 14px;
}

.product-menu-item,
.duration-menu-item {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto 22px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-menu-item {
  grid-template-columns: minmax(0, 1fr) 22px;
}

.product-menu-item small {
  color: var(--muted);
  text-align: right;
}

.product-menu-item:last-child,
.duration-menu-item:last-child {
  border-bottom: 0;
}

.product-menu-item:hover,
.product-menu-item[aria-selected="true"],
.duration-menu-item:hover,
.duration-menu-item[aria-selected="true"] {
  background: var(--cream);
}

.product-menu-item small,
.duration-menu-item small,
.duration-clear {
  color: var(--muted);
}

.product-menu-item b,
.duration-menu-item b {
  color: var(--green-deep);
  font-size: 16px;
  text-align: right;
}

.duration-clear {
  justify-self: start;
  border: 0;
  padding: 2px 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.payment-method {
  min-height: 70px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: 12px;
  cursor: pointer;
}

.payment-method:has(input:checked) {
  border-color: var(--green-deep);
  background: var(--cream);
}

.payment-method input {
  width: 16px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.payment-method span {
  display: grid;
  gap: 3px;
}

.payment-method strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.payment-method small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.selected-price {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.price-line strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.04;
}

.selected-price p {
  color: var(--ink);
}

.selected-price p span {
  margin-left: 10px;
  color: var(--muted);
}

.duration-empty {
  color: var(--muted) !important;
  font-size: 14px !important;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.badge,
.status {
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-button);
  padding: 6px 10px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0.015em;
}

.badge.ok,
.status.active {
  background: var(--green);
}

.status.pending_payment {
  background: var(--cream);
}

.status.paid {
  background: var(--green);
}

.status.expired,
.status.revoked {
  color: var(--muted);
}

.expiry-badge {
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  padding: 6px 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.expiry-badge.active {
  border-color: var(--green-deep);
  background: var(--cream);
}

.expiry-badge.warning {
  border-color: var(--color-coral-blush);
  background: var(--color-coral-blush);
}

.expiry-badge.expired,
.expiry-badge.muted {
  color: var(--muted);
}

.empty-state {
  flex: 1;
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--cream);
  padding: 22px;
}

.payment-state {
  width: 100%;
  display: grid;
  gap: 10px;
  text-align: left;
}

.payment-state h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.12;
}

.payment-meta {
  display: grid;
  gap: 6px;
  margin: 0;
}

.payment-meta div {
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: 8px 10px;
}

.payment-qr {
  width: min(190px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  object-fit: contain;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(10, 36, 20, 0.38);
}

.payment-dialog {
  position: relative;
  width: min(380px, 100%);
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--linen);
  padding: 18px;
  box-shadow: var(--shadow);
}

.payment-dialog h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.payment-dialog .eyebrow {
  margin-bottom: 2px;
}

.payment-dialog .payment-qr {
  width: min(210px, 100%);
}

.payment-dialog .button {
  min-height: 38px;
  padding: 8px 14px;
}

.payment-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.key-result {
  display: grid;
  gap: 15px;
}

.hidden {
  display: none !important;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.meta-grid div {
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: 14px;
}

dd {
  margin: 4px 0 0;
  color: var(--ink);
  word-break: break-word;
}

.message {
  min-height: 22px;
  margin: 4px 0 0;
  color: var(--muted);
}

.message.error {
  color: var(--ink);
}

.link-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-strip a {
  min-height: 92px;
  display: grid;
  align-items: end;
  background: var(--linen);
  padding: 20px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.link-strip a:hover {
  border-color: var(--green-deep);
}

.split-section {
  align-items: start;
}

.split-section > div:first-child {
  padding-top: 18px;
}

.order-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: 13px;
}

.admin-body {
  padding-top: 0;
  background: var(--paper);
}

.admin-login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.admin-login-card {
  width: min(480px, 100%);
  display: grid;
  gap: 34px;
}

.admin-login-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.96px;
  text-align: center;
}

.admin-login-form {
  gap: 24px;
}

.admin-login-form input {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  padding: 14px 0;
  font-size: 16px;
}

.admin-login-button {
  min-height: 58px;
  margin-top: 10px;
  border-radius: var(--radius-button);
  font-size: 18px;
  letter-spacing: -0.18px;
}

.admin-login-message {
  min-height: 24px;
  text-align: center;
}

.admin-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  background: var(--paper);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 30px;
  border-right: 1px solid var(--line);
  background: var(--linen);
  padding: 24px 16px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.admin-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.admin-brand strong {
  font-size: 17px;
  font-weight: 500;
}

.admin-brand small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.admin-nav > p {
  margin: 0 10px 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.admin-nav a {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-radius: var(--radius-button);
  padding: 9px 10px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.admin-nav a:hover {
  background: var(--paper);
  color: var(--ink);
}

.admin-nav a.is-active {
  background: var(--green);
  color: var(--ink);
}

.admin-nav-count {
  min-width: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  padding: 2px 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

.admin-sidebar-footer {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.admin-sidebar-footer p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-workspace {
  min-width: 0;
  min-height: 100vh;
}

.admin-topbar {
  min-height: 116px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 24px 32px;
  background: var(--paper);
}

.admin-topbar h1 {
  margin: 3px 0 5px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.admin-topbar p:last-child {
  font-size: 14px;
}

.admin-dashboard-message {
  min-height: 38px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 9px 32px;
  background: var(--cream);
  font-size: 13px;
}

.admin-content {
  padding: 28px 32px 40px;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.admin-section-head h2 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: 0;
}

.admin-section-head > p {
  max-width: 420px;
  font-size: 14px;
  text-align: right;
}

.admin-search {
  width: min(380px, 100%);
  display: grid;
  gap: 6px;
}

.admin-search span {
  color: var(--muted);
  font-size: 13px;
}

.admin-key-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.admin-key-result {
  background: var(--cream);
}

.admin-generated-key {
  display: grid;
  gap: 14px;
}

.admin-generated-key textarea {
  min-height: 92px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.015em;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.admin-card strong {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  word-break: break-word;
}

.admin-card span {
  color: var(--muted);
}

.admin-count-label {
  min-width: 32px;
  display: inline-grid;
  place-items: center;
  margin-left: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  padding: 3px 8px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  vertical-align: middle;
}

.admin-list {
  max-height: calc(100vh - 310px);
  min-height: 240px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.admin-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-orders-table {
  min-width: 1360px;
}

.admin-keys-table {
  min-width: 1040px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--cream);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-table tbody tr {
  background: var(--linen);
}

.admin-table tbody tr:nth-child(even) {
  background: var(--paper);
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table strong,
.admin-table span,
.admin-table small {
  display: block;
}

.admin-table small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  word-break: break-all;
}

.admin-mono-cell,
.admin-key-cell {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
}

.admin-status-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.admin-actions {
  min-width: 220px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions .text-button {
  flex: 0 0 auto;
}

.admin-table-empty {
  min-height: 238px;
  display: grid;
  place-items: center;
  background: var(--linen);
  padding: 24px;
}

.admin-pagination {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.admin-pagination-controls,
.admin-pagination-controls label,
.admin-page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-pagination select,
.admin-pagination button {
  width: auto;
  min-width: 36px;
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 6px 10px;
}

.admin-pagination button {
  cursor: pointer;
}

.admin-pagination button:hover:not(:disabled),
.admin-pagination button.is-active {
  border-color: var(--green-deep);
  background: var(--cream);
}

.admin-pagination button.is-active {
  font-weight: 600;
}

.admin-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.admin-page-numbers > span {
  min-width: 24px;
  text-align: center;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(6, auto);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--linen);
  padding: 14px;
}

.admin-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  word-break: break-all;
}

.order-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  word-break: break-all;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: var(--cream);
}

.cta-card p {
  max-width: 620px;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 32px 0 54px;
}

.footer strong,
.footer h3 {
  display: block;
  margin: 0 0 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font: inherit;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 920px) {
  :root {
    --header-space: 116px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .brand,
  .header-actions {
    justify-content: center;
  }

  .page-tabs {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page-tabs::-webkit-scrollbar {
    display: none;
  }

  .hero h1 {
    font-size: 56px;
  }

  .intro-grid,
  .checkout-grid,
  .split-section,
  .guide-grid,
  .dark-feature,
  .dark-feature-grid,
  .admin-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .result-panel {
    position: static;
    min-height: auto;
  }

  .link-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  :root {
    --header-space: 154px;
  }

  .site-header,
  .page-shell,
  .footer {
    width: min(100% - 20px, var(--max));
  }

  .header-actions {
    display: none;
  }

  .page-tabs {
    justify-content: flex-start;
  }

  .page-tabs a {
    flex: 0 0 auto;
  }

  .page-view {
    padding: 40px 0 64px;
  }

  .hero {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -0.88px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .panel,
  .cta-card,
  .intro-grid article,
  .guide-grid article,
  .dark-feature {
    padding: 18px;
  }

  .product-options,
  .selected-product,
  .meta-grid,
  .inline-form,
  .link-strip,
  .order-item,
  .payment-methods,
  .admin-login-form,
  .admin-key-form,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .selected-product-meta {
    justify-items: start;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .admin-app-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-key-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-key-form .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .admin-app-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }

  .admin-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-nav > p {
    display: none;
  }

  .admin-nav a {
    flex: 0 0 auto;
  }

  .admin-sidebar-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 0;
    padding-top: 0;
  }

  .admin-sidebar-footer .button {
    width: auto;
  }

  .admin-sidebar-footer p {
    display: none;
  }

  .admin-topbar {
    min-height: auto;
    align-items: flex-start;
    padding: 20px 16px;
  }

  .admin-topbar .button {
    width: auto;
    flex: 0 0 auto;
  }

  .admin-topbar p:last-child {
    display: none;
  }

  .admin-dashboard-message {
    padding: 9px 16px;
  }

  .admin-content {
    padding: 20px 14px 32px;
  }

  .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-section-head > p {
    max-width: none;
    text-align: left;
  }

  .admin-search {
    width: 100%;
  }

  .admin-key-form {
    grid-template-columns: 1fr;
  }

  .admin-list {
    max-height: 58vh;
  }

  .admin-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-pagination-controls {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar h1 {
    font-size: 24px;
  }

  .admin-page-numbers {
    order: 3;
    width: 100%;
  }
}

/* Public portal redesign. Keep these rules scoped so the admin console remains independent. */
.site-body {
  --site-canvas: #f4f7f3;
  --site-surface: #ffffff;
  --site-quiet: #eef4ec;
  padding-top: var(--header-space);
  background: var(--site-canvas);
  font-family: "Segoe UI Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.site-body h1,
.site-body h2,
.site-body h3,
.site-body p,
.site-body a,
.site-body button,
.site-body input,
.site-body textarea,
.site-body select {
  letter-spacing: 0;
}

.site-body .site-header {
  left: 0;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  transform: none;
  background: rgba(255, 255, 255, 0.96);
}

.site-body .brand {
  font-size: 16px;
}

.site-body .brand-dot {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 5px rgba(26, 211, 121, 0.12);
}

.site-body .page-tabs {
  gap: 2px;
}

.site-body .page-tabs a,
.site-body .header-actions .text-link,
.site-body .header-actions .button.small {
  font-size: 16px;
}

.site-body .page-tabs a {
  font-weight: 600;
}

.site-body .current-page-label {
  background: var(--site-quiet);
  font-weight: 600;
  cursor: default;
}

.site-body .page-tabs a.is-active {
  background: var(--site-quiet);
  color: var(--ink);
  font-weight: 500;
}

.site-body .button {
  min-height: 44px;
  padding: 11px 19px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-body .button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.site-body .page-shell {
  width: 100%;
  min-height: calc(100vh - var(--header-space));
}

.site-body .page-view {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.site-body #page-home {
  width: 100%;
  padding: 0;
}

.site-body .hero {
  position: relative;
  width: 100%;
  min-height: clamp(640px, calc(100svh - var(--header-space) - 28px), 760px);
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 72px 32px 112px;
  background: linear-gradient(115deg, #f4fff7 0%, #e2f8e9 58%, #ccefdc 100%);
}

.site-body .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 83, 50, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 83, 50, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.site-body .hero-text {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-width: 980px;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.site-body .announcement-pill {
  border-color: rgba(20, 94, 55, 0.18);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.68);
  color: #28533b;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.site-body .announcement-pill span {
  color: #087a49;
}

.site-body .hero h1 {
  max-width: 980px;
  margin: 0;
  color: #092f1d;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.site-body .lead {
  max-width: 760px;
  color: #426451;
  font-size: 19px;
  line-height: 1.75;
  text-wrap: balance;
}

.site-body .platform-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0 9px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #557463;
  font-size: 14px;
  line-height: 1.5;
}

.site-body .platform-line a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-body .platform-line a:hover {
  color: #087a49;
  text-decoration-thickness: 2px;
}

.site-body .hero-actions {
  align-items: stretch;
  justify-content: center;
  gap: 14px;
}

.site-body .hero-actions .button {
  width: 220px;
  min-width: 220px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(9, 47, 29, 0.22);
  color: #092f1d;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.site-body .hero-actions .button.primary {
  border-color: #1ad379;
  background: #1ad379;
  color: #03150d;
}

.site-body .hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.site-body .hero-actions .button.secondary:hover {
  border-color: rgba(9, 47, 29, 0.34);
  background: rgba(255, 255, 255, 0.92);
}

.site-body #page-home .intro-grid {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 64px));
  max-width: none;
  margin: -36px auto 72px;
  gap: 14px;
}

.site-body .intro-grid article,
.site-body .guide-grid article {
  min-height: 168px;
  gap: 12px;
  border-color: rgba(10, 36, 20, 0.12);
  border-radius: 8px;
  padding: 24px;
  background: var(--site-surface);
  box-shadow: 0 12px 28px rgba(10, 36, 20, 0.06);
}

.site-body .intro-grid article {
  border-top: 3px solid var(--green);
}

.site-body .intro-grid article h3,
.site-body .guide-grid article h3 {
  margin: 3px 0 0;
  font-size: 19px;
  line-height: 1.25;
}

.site-body .intro-grid article p,
.site-body .guide-grid article p {
  font-size: 14px;
  line-height: 1.55;
}

.site-body .client-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 4px;
}

.site-body .client-downloads a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-body .client-downloads a:hover {
  color: var(--green-deep);
  text-decoration-thickness: 2px;
}

.site-body .section-heading,
.site-body .section-heading.centered {
  max-width: none;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  text-align: left;
}

.site-body .section-heading h2 {
  margin: 4px 0 9px;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.08;
}

.site-body .section-heading > p:last-child {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.55;
}

.site-body #page-buy .section-heading {
  text-align: center;
}

.site-body #page-buy .section-heading > p:last-child {
  margin-inline: auto;
}

.site-body .checkout-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.site-body #page-buy > .buy-workspace,
.site-body #page-buy > .order-panel {
  width: 100%;
}

.site-body .panel {
  border-color: rgba(10, 36, 20, 0.12);
  border-radius: 8px;
  background: var(--site-surface);
  padding: 28px;
}

.site-body .purchase-panel,
.site-body .result-panel {
  box-shadow: 0 12px 30px rgba(10, 36, 20, 0.05);
}

.site-body .form {
  gap: 20px;
}

.site-body .field,
.site-body fieldset.field {
  gap: 9px;
}

.site-body input,
.site-body textarea,
.site-body select,
.site-body .product-trigger,
.site-body .duration-trigger {
  min-height: 48px;
  border-color: rgba(10, 36, 20, 0.2);
  border-radius: 6px;
  background: #ffffff;
}

.site-body input:focus,
.site-body textarea:focus,
.site-body select:focus {
  border-color: var(--green-deep);
}

.site-body .selected-product {
  border-width: 1px 0;
  border-radius: 0;
  padding: 22px 0;
  background: transparent;
}

.site-body .selected-product li {
  border: 1px solid rgba(10, 36, 20, 0.1);
  background: var(--site-quiet);
}

.site-body .product-menu,
.site-body .duration-menu {
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(10, 36, 20, 0.12);
}

.site-body .payment-methods {
  gap: 8px;
}

.site-body .payment-method {
  min-height: 76px;
  border-radius: 6px;
  background: #ffffff;
}

.site-body .payment-method:has(input:checked) {
  border-color: var(--green-deep);
  background: var(--site-quiet);
  box-shadow: inset 0 0 0 1px var(--green-deep);
}

.site-body .selected-price {
  border-top-color: var(--line-strong);
}

.site-body .result-panel {
  top: calc(var(--header-space) + 20px);
  min-height: 520px;
}

.site-body .panel-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.site-body .empty-state {
  min-height: 300px;
  border-color: rgba(10, 36, 20, 0.16);
  border-radius: 8px;
  background: var(--site-quiet);
  text-align: center;
}

.site-body .order-panel,
.site-body .account-panel {
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: var(--site-surface);
}

.site-body .order-panel > .panel,
.site-body .account-panel > .panel {
  border: 0;
  padding: 0;
  background: transparent;
}

.site-body .order-panel h2,
.site-body .account-panel h2,
.site-body .cta-card h2 {
  margin: 4px 0 12px;
  font-size: 30px;
  line-height: 1.12;
}

.site-body .inline-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 140px;
}

.site-body .order-item {
  border-radius: 6px;
  background: var(--site-quiet);
}

.site-body .guide-grid {
  gap: 16px;
}

.site-body .guide-grid article span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
}

.site-body .faq-section {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.site-body .faq-heading {
  margin-bottom: 16px;
}

.site-body .faq-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.12;
}

.site-body .faq-list {
  border-top: 1px solid var(--line);
}

.site-body .faq-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.site-body .faq-index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
}

.site-body .faq-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.site-body .faq-item p,
.site-body .faq-item ol {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.site-body .faq-item ol {
  display: grid;
  gap: 6px;
  padding-left: 20px;
}

.site-body .faq-item a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-body .faq-item a:hover {
  color: var(--green-deep);
}

.site-body .link-strip {
  margin-top: 22px;
  gap: 10px;
}

.site-body .link-strip a {
  min-height: 54px;
  align-items: center;
  border-color: rgba(10, 36, 20, 0.14);
  border-radius: 6px;
  padding: 14px 18px;
  background: var(--site-surface);
  font-size: 14px;
}

.site-body .link-strip a:hover {
  border-color: var(--green-deep);
  background: var(--site-quiet);
}

.site-body .cta-card {
  min-height: 220px;
  border: 0;
  border-radius: 8px;
  padding: 40px;
  background: var(--charcoal);
}

.site-body .cta-card h2,
.site-body .cta-card p,
.site-body .cta-card .eyebrow {
  color: var(--cream);
}

.site-body .cta-card > div:first-child p:last-child {
  max-width: 620px;
  opacity: 0.8;
}

.site-body .cta-card .button.secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.site-body .cta-card .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-body .footer {
  width: 100%;
  max-width: none;
  margin: 0;
  border-top: 0;
  padding: 44px max(24px, calc((100% - var(--max)) / 2)) 52px;
  background: var(--charcoal);
}

.site-body .footer strong,
.site-body .footer h3,
.site-body .footer a,
.site-body .footer p {
  color: var(--cream);
}

.site-body .footer a,
.site-body .footer p {
  opacity: 0.72;
}

.site-body .footer a:hover {
  opacity: 1;
}

.site-body .footer a.footer-download {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-body .footer-download img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.site-body .chat-widget {
  z-index: 60;
  width: auto;
  min-width: 52px;
  height: 52px;
  right: 20px;
  bottom: 20px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 0 18px;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(10, 36, 20, 0.18);
}

.site-body .chat-widget svg {
  width: 25px;
  height: 25px;
}

.site-body .agent-toggle-label {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-body .chat-widget[aria-expanded="true"] {
  background: #0d5c37;
  transform: rotate(4deg);
}

.site-body .agent-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 45;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100svh - var(--header-space) - 100px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(10, 36, 20, 0.14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(10, 36, 20, 0.2);
  animation: agent-panel-in 180ms ease-out;
}

@keyframes agent-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-body .agent-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #123d28;
  color: #ffffff;
}

.site-body .agent-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.site-body .agent-avatar,
.site-body .agent-message-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #092f1d;
  font-weight: 700;
}

.site-body .agent-avatar {
  width: 42px;
  height: 42px;
  box-shadow: 0 0 0 4px rgba(26, 211, 121, 0.14);
}

.site-body .agent-header h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
}

.site-body .agent-header p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-body .agent-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.site-body .agent-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-body .agent-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-body .agent-messages {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px;
  background: #f3f7f2;
  overscroll-behavior: contain;
}

.site-body .agent-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.site-body .agent-message.is-user {
  justify-content: flex-end;
}

.site-body .agent-message-avatar {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.site-body .agent-message p {
  max-width: 79%;
  margin: 0;
  border: 1px solid rgba(10, 36, 20, 0.1);
  border-radius: 12px 12px 12px 3px;
  padding: 10px 12px;
  background: #ffffff;
  color: #183326;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 12px rgba(10, 36, 20, 0.04);
}

.site-body .agent-message.is-user p {
  border-color: #19bd6e;
  border-radius: 12px 12px 3px 12px;
  background: var(--green);
  color: #082819;
  box-shadow: none;
}

.site-body .agent-message.is-error p {
  border-color: rgba(167, 38, 57, 0.25);
  background: #fff2f3;
  color: #8b2031;
}

.site-body .agent-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 36px;
}

.site-body .agent-suggestions button {
  min-height: 32px;
  border: 1px solid rgba(10, 36, 20, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  background: #ffffff;
  color: #315541;
  font-size: 12px;
  cursor: pointer;
}

.site-body .agent-suggestions button:hover {
  border-color: var(--green-deep);
  color: #087a49;
}

.site-body .agent-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: end;
  border-top: 1px solid rgba(10, 36, 20, 0.1);
  padding: 12px 12px 8px;
  background: #ffffff;
}

.site-body .agent-form textarea {
  min-height: 42px;
  max-height: 96px;
  resize: none;
  border: 1px solid rgba(10, 36, 20, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  background: #f7faf6;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.site-body .agent-form button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #082819;
  cursor: pointer;
}

.site-body .agent-form button:disabled,
.site-body .agent-form textarea:disabled {
  opacity: 0.55;
  cursor: wait;
}

.site-body .agent-form button svg {
  width: 21px;
  height: 21px;
}

.site-body .agent-disclaimer {
  margin: 0;
  padding: 0 12px 10px;
  background: #ffffff;
  color: #7a8d81;
  font-size: 10px;
  text-align: center;
}

.site-body .agent-typing p {
  display: flex;
  gap: 4px;
  align-items: center;
  min-height: 38px;
}

.site-body .agent-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #759080;
  animation: agent-dot 900ms infinite alternate;
}

.site-body .agent-typing i:nth-child(2) { animation-delay: 180ms; }
.site-body .agent-typing i:nth-child(3) { animation-delay: 360ms; }

@keyframes agent-dot {
  to { transform: translateY(-4px); opacity: 0.45; }
}

.site-body .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-body .payment-modal {
  background: rgba(10, 36, 20, 0.52);
  backdrop-filter: blur(4px);
}

.site-body .payment-dialog {
  width: min(420px, 100%);
  border-radius: 8px;
  background: var(--site-surface);
  padding: 24px;
}

.site-body .payment-meta div,
.site-body .meta-grid div {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--site-quiet);
}

@media (max-width: 920px) {
  .site-body {
    --header-space: 112px;
  }

  .site-body .site-header {
    min-height: 104px;
    grid-template-columns: auto 1fr auto;
    gap: 10px 18px;
    padding: 10px 20px;
  }

  .site-body .brand {
    justify-content: flex-start;
  }

  .site-body .page-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-body .header-actions {
    justify-content: flex-end;
  }

  .site-body .hero {
    min-height: 620px;
    padding: 64px 28px 96px;
  }

  .site-body .hero h1 {
    font-size: 50px;
  }

  .site-body .hero-text {
    width: min(820px, 100%);
  }

  .site-body #page-home .intro-grid {
    width: min(680px, calc(100% - 48px));
    margin-top: -32px;
  }

  .site-body .checkout-grid,
  .site-body .order-panel,
  .site-body .account-panel {
    grid-template-columns: 1fr;
  }

  .site-body .result-panel {
    min-height: 420px;
  }

  .site-body .order-panel,
  .site-body .account-panel {
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .site-body {
    --header-space: 120px;
  }

  .site-body .site-header {
    width: 100%;
    min-height: 112px;
    grid-template-columns: 1fr;
    padding: 10px 14px;
  }

  .site-body .brand {
    justify-content: center;
  }

  .site-body .page-tabs {
    grid-column: auto;
    justify-content: flex-start;
  }

  .site-body .page-tabs a {
    padding: 7px 9px;
    font-size: 13px;
  }

  .site-body .page-view {
    width: min(100% - 24px, var(--max));
    padding: 32px 0 56px;
  }

  .site-body #page-home {
    width: 100%;
    padding-top: 0;
  }

  .site-body .hero {
    width: 100%;
    min-height: 540px;
    padding: 46px 18px 82px;
  }

  .site-body .hero-text {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .site-body .hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .site-body .lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .site-body .platform-line {
    justify-content: center;
    font-size: 13px;
  }

  .site-body .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: row;
  }

  .site-body .hero-actions .button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 12px;
  }

  .site-body #page-home .intro-grid {
    width: calc(100% - 40px);
    margin: -30px auto 48px;
  }

  .site-body .intro-grid article,
  .site-body .guide-grid article {
    min-height: 0;
    padding: 20px;
  }

  .site-body .faq-section {
    margin-top: 44px;
    padding-top: 22px;
  }

  .site-body .faq-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .site-body .faq-item h3 {
    font-size: 18px;
  }

  .site-body .faq-item p,
  .site-body .faq-item ol {
    font-size: 14px;
  }

  .site-body .section-heading,
  .site-body .section-heading.centered {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .site-body .section-heading h2 {
    font-size: 30px;
  }

  .site-body .panel,
  .site-body .order-panel,
  .site-body .account-panel,
  .site-body .cta-card {
    padding: 20px;
  }

  .site-body .payment-methods,
  .site-body .inline-form {
    grid-template-columns: 1fr;
  }

  .site-body .payment-method {
    min-height: 68px;
  }

  .site-body .result-panel {
    min-height: 360px;
  }

  .site-body .order-panel,
  .site-body .account-panel {
    margin-top: 36px;
  }

  .site-body .link-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-body .link-strip a {
    min-height: 58px;
    padding: 13px;
  }

  .site-body .cta-card {
    min-height: 0;
  }

  .site-body .footer {
    width: 100%;
    padding: 36px 20px 44px;
  }

  .site-body .payment-dialog {
    padding: 20px;
  }
}

/* Purchase workspace refinement. */
.site-body #page-buy {
  width: min(1280px, calc(100% - 40px));
  padding-top: 38px;
}

.site-body #page-buy .section-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.site-body #page-buy .section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 38px);
}

.site-body #page-buy .section-heading > p:last-child {
  max-width: 560px;
  font-size: 14px;
}

.site-body #page-buy .checkout-grid {
  grid-template-columns: minmax(400px, 0.86fr) minmax(500px, 1.14fr);
  gap: 18px;
  align-items: start;
}

.site-body #page-buy .purchase-panel {
  border-top: 3px solid var(--green);
  padding: 28px;
}

.site-body #page-buy .purchase-panel .form {
  gap: 17px;
}

.site-body #page-buy .purchase-panel .field > span,
.site-body #page-buy .purchase-panel legend {
  color: var(--ink);
  font-size: 12px;
}

.site-body #page-buy .product-trigger,
.site-body #page-buy .duration-trigger,
.site-body #page-buy input {
  min-height: 50px;
}

.site-body #page-buy .product-trigger > span:first-child,
.site-body #page-buy .product-menu-item > span:first-child {
  font-weight: 600;
}

.site-body #page-buy .selected-product {
  gap: 14px;
  border: 0;
  border-left: 3px solid var(--green-deep);
  padding: 4px 0 4px 18px;
  background: transparent;
}

.site-body #page-buy .selected-product h3 {
  margin-bottom: 4px;
  font-size: 21px;
}

.site-body #page-buy .selected-product p {
  max-width: 400px;
  font-size: 14px;
  line-height: 1.5;
}

.site-body #page-buy .selected-product-meta strong {
  font-size: 28px;
}

.site-body #page-buy .selected-product ul {
  gap: 6px;
}

.site-body #page-buy .selected-product li {
  padding: 5px 8px;
  font-size: 12px;
}

.site-body #page-buy .duration-field {
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.site-body #page-buy .duration-select,
.site-body #page-buy .selected-price {
  width: 100%;
}

.site-body #page-buy .selected-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  border-top: 0;
  padding: 0;
}

.site-body #page-buy .selected-price .price-line {
  padding: 0;
}

.site-body #page-buy .selected-price p {
  padding-bottom: 4px;
  font-size: 13px;
  text-align: right;
}

.site-body #page-buy .payment-methods {
  grid-template-columns: 1fr;
}

.site-body #page-buy .payment-method {
  min-height: 68px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px 14px;
}

.site-body #page-buy .payment-method small {
  grid-column: 2 / -1;
}

.site-body #page-buy .payment-method:has(input:checked) {
  background: #f2f9ed;
}

.site-body #page-buy .result-panel {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr);
  align-self: start;
  border-color: rgba(23, 178, 103, 0.28);
  border-top: 3px solid var(--green-deep);
  padding: 28px;
  background: #f2f8ed;
}

.site-body #page-buy .result-panel .panel-head {
  margin-bottom: 18px;
  border-bottom-color: rgba(10, 36, 20, 0.14);
}

.site-body #page-buy .result-panel .panel-head h3 {
  font-size: 22px;
}

.site-body #page-buy .result-panel .badge {
  border: 1px solid rgba(10, 36, 20, 0.14);
  background: #ffffff;
}

.site-body #page-buy .empty-state {
  min-height: 360px;
  align-content: center;
  border-style: solid;
  border-color: rgba(10, 36, 20, 0.12);
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
}

.site-body #page-buy .empty-state p {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.65;
}

.site-body #page-buy .key-result {
  align-content: start;
}

.site-body #page-buy .order-panel {
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 40px;
  margin-top: 32px;
  border-color: rgba(10, 36, 20, 0.12);
  border-radius: 8px;
  padding: 28px 30px;
  background: #eef5ea;
}

.site-body #page-buy .order-panel > div:first-child {
  border-right: 1px solid var(--line);
  padding-right: 34px;
}

.site-body #page-buy .order-panel h2 {
  font-size: 27px;
}

.site-body #page-buy .order-panel .form {
  gap: 14px;
}

.site-body #page-buy .inline-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 132px;
}

.site-body #page-buy .order-panel .button {
  min-height: 50px;
}

@media (max-width: 920px) {
  .site-body #page-buy {
    width: min(100% - 32px, var(--max));
  }

  .site-body #page-buy .checkout-grid,
  .site-body #page-buy .order-panel {
    grid-template-columns: 1fr;
  }

  .site-body #page-buy .result-panel {
    grid-template-rows: auto minmax(300px, 1fr);
  }

  .site-body #page-buy .order-panel > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
  }
}

@media (max-width: 620px) {
  .site-body #page-buy {
    width: min(100% - 24px, var(--max));
    padding-top: 28px;
  }

  .site-body #page-buy .checkout-grid {
    gap: 14px;
  }

  .site-body #page-buy .purchase-panel,
  .site-body #page-buy .result-panel {
    padding: 20px;
  }

  .site-body #page-buy .selected-product {
    grid-template-columns: 1fr;
    padding-left: 14px;
  }

  .site-body #page-buy .selected-product-meta {
    justify-items: start;
  }

  .site-body #page-buy .selected-price {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-body #page-buy .selected-price p {
    padding-bottom: 0;
    text-align: left;
  }

  .site-body #page-buy .result-panel {
    grid-template-rows: auto minmax(280px, 1fr);
  }

  .site-body #page-buy .empty-state {
    min-height: 280px;
    padding: 28px 20px;
  }

  .site-body #page-buy .order-panel {
    gap: 22px;
    margin-top: 24px;
    padding: 22px 20px;
  }

  .site-body #page-buy .inline-form {
    grid-template-columns: 1fr;
  }
}

/* Narrow-screen flow and touch-target refinement. */
@media (max-width: 620px) {
  .site-body .site-header {
    padding-bottom: 8px;
  }

  .site-body .page-tabs {
    gap: 4px;
    padding: 1px 0 3px;
    scrollbar-width: none;
  }

  .site-body .page-tabs::-webkit-scrollbar {
    display: none;
  }

  .site-body .page-tabs a {
    flex: 0 0 auto;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
  }

  .site-body #page-buy .section-heading {
    gap: 4px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .site-body #page-buy .section-heading h2 {
    font-size: 28px;
    line-height: 1.14;
  }

  .site-body #page-buy .section-heading > p:last-child {
    font-size: 13px;
    line-height: 1.5;
  }

  .site-body #page-buy .purchase-panel .form {
    gap: 16px;
  }

.site-body #page-buy .product-trigger {
    grid-template-columns: minmax(0, 1fr) 14px;
    gap: 8px;
    padding-inline: 12px;
  }

  .site-body #page-buy .duration-trigger,
  .site-body #page-buy input {
    padding-inline: 12px;
  }

  .site-body #page-buy .selected-product {
    gap: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .site-body #page-buy .selected-product h3 {
    font-size: 19px;
  }

  .site-body #page-buy .selected-product p {
    font-size: 13px;
  }

  .site-body #page-buy .selected-product-meta strong {
    font-size: 25px;
  }

  .site-body #page-buy .selected-product ul {
    gap: 5px;
  }

  .site-body #page-buy .selected-product li {
    max-width: 100%;
  }

  .site-body .client-downloads {
    gap: 6px;
  }

  .site-body .client-downloads a {
    font-size: 12px;
  }

  .site-body #page-buy .duration-field {
    gap: 9px;
    padding: 14px 0;
  }

  .site-body #page-buy .payment-method {
    min-height: 64px;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    padding: 11px 12px;
  }

  .site-body #page-buy .payment-method strong {
    font-size: 14px;
  }

  .site-body #page-buy .payment-method small {
    font-size: 11px;
  }

  .site-body #page-buy #submit,
  .site-body #page-buy .order-panel .button {
    min-height: 52px;
  }

  .site-body #page-buy .result-panel {
    min-height: 0;
    grid-template-rows: auto minmax(260px, 1fr);
  }

  .site-body #page-buy .result-panel .panel-head {
    margin-bottom: 14px;
    padding-bottom: 13px;
  }

  .site-body #page-buy .result-panel .panel-head h3 {
    font-size: 20px;
  }

  .site-body #page-buy .empty-state {
    min-height: 260px;
    padding: 24px 16px;
  }

  .site-body #page-buy .empty-state p {
    font-size: 14px;
    line-height: 1.6;
  }

  .site-body #page-buy .key-result .actions {
    gap: 8px;
  }

  .site-body #page-buy .key-result .actions .button {
    min-height: 48px;
  }

  .site-body #page-buy .order-panel h2 {
    font-size: 25px;
  }

  .site-body #page-buy .order-panel > div:first-child {
    padding-bottom: 16px;
  }

  .site-body .payment-modal {
    padding: 12px;
  }

  .site-body .payment-dialog {
    width: min(100%, 390px);
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }

  .site-body .payment-dialog h2 {
    font-size: 23px;
  }

  .site-body .payment-dialog .payment-meta div {
    padding: 8px 10px;
  }

  .site-body .payment-dialog .payment-qr {
    width: min(180px, 100%);
  }

  .site-body .chat-widget {
    width: auto;
    min-width: 48px;
    height: 48px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    padding: 0 14px;
    font-size: 21px;
  }

  .site-body .agent-panel {
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    height: min(570px, calc(100svh - var(--header-space) - 88px - env(safe-area-inset-bottom)));
    border-radius: 12px;
  }

  .site-body .footer {
    padding-bottom: calc(44px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .site-body {
    --header-space: 116px;
  }

  .site-body .hero {
    min-height: 520px;
    padding-inline: 14px;
  }

  .site-body .hero h1 {
    font-size: 32px;
  }

  .site-body .announcement-pill {
    padding-inline: 14px;
    font-size: 12px;
  }

  .site-body .hero-actions .button {
    font-size: 14px;
  }

  .site-body .page-tabs a {
    padding-inline: 7px;
    font-size: 12px;
  }

  .site-body #page-buy {
    width: calc(100% - 16px);
  }

  .site-body #page-buy .purchase-panel,
  .site-body #page-buy .result-panel,
  .site-body #page-buy .order-panel {
    padding-inline: 16px;
  }

  .site-body #page-buy .selected-product-meta span {
    font-size: 11px;
  }
}

/* Order-state workflow for the purchase page. */
.site-body #page-buy .buy-workspace.is-selecting-plan,
.site-body #page-buy .buy-workspace.is-processing-order,
.site-body #page-buy .buy-workspace.is-key-ready {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.site-body #page-buy .buy-workspace.is-selecting-plan .purchase-panel {
  width: 100%;
}

.site-body #page-buy .buy-workspace.is-processing-order .result-panel,
.site-body #page-buy .buy-workspace.is-key-ready .result-panel {
  position: relative;
  top: auto;
  width: 100%;
  min-height: 0;
}

.site-body #page-buy .buy-workspace.is-processing-order .empty-state {
  display: block;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.site-body #page-buy .buy-workspace.is-processing-order .payment-state {
  width: min(540px, 100%);
  margin: 0 auto;
  gap: 16px;
}

.site-body #page-buy .buy-workspace.is-processing-order .payment-state h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.site-body #page-buy .buy-workspace.is-processing-order .payment-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.site-body #page-buy .buy-workspace.is-processing-order .payment-meta div {
  min-height: 84px;
  border: 1px solid rgba(10, 36, 20, 0.12);
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
}

.site-body #page-buy .buy-workspace.is-processing-order .payment-qr {
  width: min(230px, 100%);
  border-radius: 8px;
}

.site-body #page-buy .buy-workspace.is-key-ready .key-result {
  width: min(620px, 100%);
  margin: 0 auto;
}

@media (max-width: 620px) {
  .site-body #page-buy .buy-workspace.is-selecting-plan,
  .site-body #page-buy .buy-workspace.is-processing-order,
  .site-body #page-buy .buy-workspace.is-key-ready {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-body #page-buy .buy-workspace.is-processing-order .payment-state h3 {
    font-size: 20px;
  }

  .site-body #page-buy .buy-workspace.is-processing-order .payment-meta {
    grid-template-columns: 1fr;
  }

  .site-body #page-buy .buy-workspace.is-processing-order .payment-meta div {
    min-height: 0;
    padding: 10px;
  }

  .site-body #page-buy .buy-workspace.is-processing-order .payment-qr {
    width: min(190px, 100%);
  }
}

/* Standalone public order lookup. */
.site-body .orders-page {
  width: min(960px, calc(100% - 40px));
  padding-top: 64px;
}

.site-body .orders-page .section-heading {
  margin-bottom: 30px;
}

.site-body .order-query-panel {
  display: grid;
  gap: 22px;
  box-shadow: 0 12px 30px rgba(10, 36, 20, 0.05);
}

.site-body .orders-page .inline-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 140px;
}

.site-body .order-query-panel .order-list {
  margin-top: 0;
}

.site-body .order-query-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 620px) {
  .site-body .orders-page {
    width: calc(100% - 24px);
    padding-top: 40px;
  }

  .site-body .orders-page .inline-form {
    grid-template-columns: 1fr;
  }

  .site-body .orders-page .order-query-panel {
    padding: 20px;
  }
}

/* Professional workspace redesign — 2026-08. */
:root {
  --pro-navy: #0b1220;
  --pro-navy-soft: #111b2e;
  --pro-blue: #335cff;
  --pro-blue-dark: #2448dc;
  --pro-cyan: #6ee7f5;
  --pro-surface: #ffffff;
  --pro-canvas: #f6f8fc;
  --pro-ink: #111827;
  --pro-muted: #657083;
  --pro-line: #e5eaf2;
  --pro-line-strong: #d7dfeb;
  --pro-green: #10b981;
  --pro-amber: #f59e0b;
  --pro-red: #ef4444;
  --pro-radius-sm: 10px;
  --pro-radius: 16px;
  --pro-radius-lg: 24px;
  --pro-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
  --pro-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.site-body,
.admin-body {
  color: var(--pro-ink);
  font-family: Inter, "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.site-body {
  --header-space: 80px;
  background:
    radial-gradient(circle at 8% 4%, rgba(51, 92, 255, 0.07), transparent 26rem),
    var(--pro-canvas);
}

.site-body .site-header {
  width: 100%;
  max-width: none;
  min-height: 80px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(215, 223, 235, 0.85);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.035);
  backdrop-filter: blur(18px) saturate(150%);
}

.site-body .page-shell,
.site-body .footer {
  width: min(1240px, calc(100% - 48px));
}

.brand,
.admin-brand,
.admin-login-brand {
  gap: 11px;
  text-decoration: none;
}

.brand > span:last-child,
.admin-brand > span:last-child {
  display: grid;
  gap: 0;
}

.brand strong,
.admin-brand strong {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand small,
.admin-brand small {
  color: #8490a3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #5c7cff, #2448dc);
  box-shadow: 0 8px 20px rgba(51, 92, 255, 0.26);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  position: absolute;
  content: "";
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
}

.brand-mark::before { width: 18px; height: 18px; }
.brand-mark::after { width: 6px; height: 6px; background: #fff; }
.brand-mark i { width: 27px; height: 9px; transform: rotate(-38deg); }

.site-body .page-tabs {
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--pro-line);
  border-radius: 13px;
  background: rgba(246, 248, 252, 0.86);
}

.site-body .page-tabs a,
.site-body .text-link {
  border-radius: 9px;
  padding: 8px 13px;
  color: #526075;
  font-size: 13px;
  font-weight: 650;
}

.site-body .page-tabs a:hover,
.site-body .page-tabs a.is-active,
.site-body .text-link:hover {
  background: #fff;
  color: var(--pro-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.button,
.text-button {
  border-radius: 10px;
  font-weight: 680;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button.primary {
  border-color: var(--pro-blue);
  background: linear-gradient(135deg, #456bff, var(--pro-blue));
  color: #fff;
  box-shadow: 0 8px 20px rgba(51, 92, 255, 0.2);
}

.button.primary:hover {
  border-color: var(--pro-blue-dark);
  background: linear-gradient(135deg, #3b61f0, var(--pro-blue-dark));
  box-shadow: 0 12px 26px rgba(51, 92, 255, 0.28);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--pro-line-strong);
  background: #fff;
  color: #273349;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.04);
}

.button.secondary:hover,
.text-button:hover {
  border-color: #bdc8d9;
  background: #f8faff;
}

.site-body .page-view {
  padding: 48px 0 88px;
}

.site-body .hero {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dbe3f1;
  border-radius: 30px;
  padding: 70px 72px;
  background:
    radial-gradient(circle at 85% 25%, rgba(110, 231, 245, 0.18), transparent 22rem),
    radial-gradient(circle at 12% 90%, rgba(98, 124, 255, 0.15), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, #f6f8ff 58%, #eef2ff 100%);
  color: var(--pro-ink);
  box-shadow: var(--pro-shadow-sm);
}

.site-body .hero::before {
  inset: auto -120px -160px auto;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(51, 92, 255, 0.11);
  border-radius: 50%;
  background: transparent;
  opacity: 1;
}

.site-body .hero::after {
  position: absolute;
  top: -160px;
  right: 160px;
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(51, 92, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.site-body .hero-text {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 650px;
  margin: 0;
  text-align: left;
}

.site-body .announcement-pill {
  width: fit-content;
  margin: 0 0 24px;
  border: 1px solid #d6def0;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #475569;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-body .announcement-pill > span { color: var(--pro-blue); }
.site-body .announcement-pill b { color: var(--pro-blue); }

.site-body .hero h1 {
  max-width: 680px;
  margin: 0;
  color: #0b1220;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.site-body .hero .lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: #5b6678;
  font-size: 18px;
  line-height: 1.75;
}

.site-body .hero-actions {
  justify-content: flex-start;
  margin-top: 32px;
}

.site-body .hero-actions .button {
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 12px;
}

.site-body .hero-actions .button.secondary {
  border-color: var(--pro-line-strong);
  background: #fff;
  color: #273349;
}

.site-body .platform-line {
  justify-content: flex-start;
  margin-top: 34px;
  color: #758197;
  font-size: 12px;
}

.site-body .platform-line a:hover { color: var(--pro-blue); }

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(89, 121, 255, 0.2), transparent 13rem),
    linear-gradient(145deg, #101a2f, #0b1220);
  color: #fff;
  box-shadow: 0 30px 70px rgba(12, 22, 44, 0.24);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-visual-top,
.hero-route,
.hero-visual-metrics {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-visual-top { justify-content: space-between; color: #b8c2d8; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual-top span { display: flex; gap: 8px; align-items: center; }
.hero-visual-top span i,
.hero-visual-metrics strong i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.11); }
.hero-visual-top b { border: 1px solid rgba(52,211,153,.28); border-radius: 999px; padding: 5px 8px; background: rgba(52,211,153,.09); color: #6ee7b7; font-size: 9px; }

.hero-orbit { position: relative; width: 220px; height: 220px; align-self: center; justify-self: center; display: grid; place-items: center; border: 1px solid rgba(135,154,255,.2); border-radius: 50%; }
.hero-orbit::before { position: absolute; width: 150px; height: 150px; border: 1px dashed rgba(135,154,255,.25); border-radius: 50%; content: ""; }
.hero-orbit::after { position: absolute; width: 76px; height: 76px; border-radius: 50%; background: rgba(68,98,255,.12); box-shadow: 0 0 45px rgba(74,107,255,.38); content: ""; }
.hero-orbit-core { position: relative; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: linear-gradient(145deg,#5d7cff,#3155ed); box-shadow: 0 12px 28px rgba(50,81,229,.4); font-weight: 800; }
.hero-orbit > i { position: absolute; z-index: 2; width: 12px; height: 12px; border: 3px solid #111b2e; border-radius: 50%; background: var(--pro-cyan); box-shadow: 0 0 16px rgba(110,231,245,.7); }
.hero-orbit > i:nth-of-type(1) { top: 25px; right: 45px; }
.hero-orbit > i:nth-of-type(2) { bottom: 38px; left: 25px; background: #a78bfa; }
.hero-orbit > i:nth-of-type(3) { right: 4px; bottom: 72px; background: #34d399; }

.hero-route { justify-content: center; gap: 10px; color: #9facbf; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.hero-route i { width: 38px; height: 1px; background: linear-gradient(90deg,transparent,#5d7cff); }
.hero-route i:nth-of-type(2) { transform: rotate(180deg); }
.hero-route strong { color: #e7ebff; font-weight: 700; }

.hero-visual-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-visual-metrics > div { display: grid; gap: 3px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px; background: rgba(255,255,255,.04); }
.hero-visual-metrics span { color: #8290a8; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual-metrics strong { display: flex; align-items: center; gap: 8px; font-size: 12px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 18px 0 0;
  border: 1px solid var(--pro-line);
  border-radius: 16px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--pro-shadow-sm);
}

.trust-strip span { position: relative; padding: 17px 20px 17px 42px; color: #5d687a; font-size: 12px; font-weight: 650; text-align: center; }
.trust-strip span::before { position: absolute; top: 50%; margin-left: -22px; width: 16px; height: 16px; display: inline-grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: #eaf8f3; color: var(--pro-green); content: "✓"; font-size: 10px; }
.trust-strip span + span { border-left: 1px solid var(--pro-line); }

.site-body .intro-grid { gap: 16px; margin-top: 18px; }
.site-body .intro-grid article,
.site-body .guide-grid article {
  min-height: 0;
  border: 1px solid var(--pro-line);
  border-radius: 18px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--pro-shadow-sm);
}
.site-body .intro-grid article { position: relative; overflow: hidden; }
.site-body .intro-grid article::after { position: absolute; top: -36px; right: -30px; width: 95px; height: 95px; border-radius: 50%; background: #f1f4ff; content: ""; }
.site-body .intro-grid article > span,
.site-body .guide-grid article > span { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eef2ff; color: var(--pro-blue); font-size: 11px; font-weight: 800; }
.site-body .intro-grid article h3,
.site-body .guide-grid article h3 { margin-top: 36px; color: var(--pro-ink); font-size: 18px; }
.site-body .intro-grid article p,
.site-body .guide-grid article p { color: var(--pro-muted); line-height: 1.65; }

.site-body .section-heading .eyebrow,
.admin-body .eyebrow,
.orders-body .eyebrow { color: var(--pro-blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-body .section-heading h2 { color: var(--pro-ink); font-size: clamp(34px,4vw,48px); letter-spacing: -.04em; }
.site-body .section-heading > p:last-child { color: var(--pro-muted); font-size: 16px; }

.purchase-steps { width: min(720px,100%); display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; margin: 0 auto 26px; }
.purchase-steps > div { display: flex; gap: 11px; align-items: center; }
.purchase-steps > div > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid var(--pro-line-strong); border-radius: 50%; background: #fff; color: #8a95a8; font-size: 11px; font-weight: 800; }
.purchase-steps > div.is-current > span { border-color: var(--pro-blue); background: var(--pro-blue); color: #fff; box-shadow: 0 8px 18px rgba(51,92,255,.2); }
.purchase-steps p { display: grid; margin: 0; line-height: 1.2; }
.purchase-steps strong { font-size: 12px; }
.purchase-steps small { margin-top: 4px; color: #8a95a8; font-size: 10px; }
.purchase-steps > i { height: 1px; background: var(--pro-line-strong); }

.site-body #page-buy { width: min(1120px,100%); }
.site-body #page-buy > .buy-workspace { margin-top: 0; }
.site-body #page-buy .purchase-panel,
.site-body #page-buy .result-panel,
.site-body .panel {
  border: 1px solid var(--pro-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--pro-shadow-sm);
}
.site-body #page-buy .purchase-panel { padding: 32px; }
.site-body #page-buy .purchase-panel .form { gap: 24px; }
.site-body #page-buy .purchase-panel .field > span,
.site-body #page-buy .purchase-panel legend,
.site-body .field > span { color: #344054; font-size: 12px; font-weight: 700; }
.site-body input,
.site-body textarea,
.site-body select,
.admin-body input,
.admin-body textarea,
.admin-body select { border: 1px solid var(--pro-line-strong); border-radius: 10px; background: #fff; color: var(--pro-ink); box-shadow: 0 1px 2px rgba(15,23,42,.02); }
.site-body input:focus,
.site-body textarea:focus,
.site-body select:focus,
.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus { border-color: #7891ff; outline: 3px solid rgba(51,92,255,.11); }
.site-body #page-buy .product-trigger,
.site-body #page-buy .duration-trigger { border: 1px solid var(--pro-line-strong); border-radius: 11px; background: #fff; }
.site-body #page-buy .selected-product { border: 1px solid #dce4ff; border-radius: 14px; background: linear-gradient(145deg,#f9faff,#f1f4ff); }
.site-body #page-buy .payment-method:has(input:checked) { border-color: #7891ff; background: #f3f5ff; box-shadow: 0 0 0 3px rgba(51,92,255,.08); }
.site-body #page-buy .selected-price { border-radius: 12px; background: #f7f9fc; }
.site-body #page-buy .result-panel .badge,
.site-body .badge { border-radius: 999px; background: #eef2ff; color: var(--pro-blue); }

.site-body .guide-grid { gap: 18px; }
.site-body .guide-grid article { min-height: 300px; }
.site-body .client-downloads a { border: 1px solid var(--pro-line); border-radius: 8px; background: #f8faff; color: #44506a; }
.site-body .client-downloads a:hover { border-color: #a8b8ee; color: var(--pro-blue); }
.site-body .faq-section { margin-top: 70px; border-top: 1px solid var(--pro-line); padding-top: 50px; }
.site-body .faq-item { border-color: var(--pro-line); }
.site-body .faq-index { color: var(--pro-blue); }
.site-body .faq-item a { color: var(--pro-blue); }

.site-body .cta-card { overflow: hidden; border: 0; border-radius: 24px; padding: 48px; background: radial-gradient(circle at 85% 30%,rgba(97,124,255,.28),transparent 22rem),linear-gradient(135deg,#101a2f,#0b1220); box-shadow: var(--pro-shadow); }
.site-body .cta-card::after { position: absolute; right: -60px; bottom: -110px; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.site-body .cta-card h2 { color: #fff; font-size: 40px; }
.site-body .cta-card p,
.site-body .cta-card .eyebrow { color: #a9b5c8; }
.site-body .cta-card .button.accent { border-color: #fff; background: #fff; color: #111b2e; }
.site-body .cta-card .button.secondary { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; }

.site-body .footer.footer-compact { grid-template-columns: minmax(260px,2fr) repeat(3,1fr); gap: 54px; margin-top: 22px; border-top: 1px solid var(--pro-line); padding: 48px 0 56px; color: #596579; }
.site-body .footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.site-body .footer-brand > div { display: grid; gap: 6px; }
.site-body .footer strong,
.site-body .footer h3 { color: #1e293b; font-size: 13px; }
.site-body .footer h3 { margin: 0 0 12px; }
.site-body .footer a { margin: 0 0 8px; color: #6d788b; font-size: 12px; }
.site-body .footer a:hover { color: var(--pro-blue); }
.site-body .footer p { max-width: 300px; margin: 0; color: #8a95a6; font-size: 12px; }

.site-body .chat-widget { min-width: 146px; border: 0; border-radius: 14px; background: linear-gradient(135deg,#456bff,var(--pro-blue-dark)); color: #fff; box-shadow: 0 15px 35px rgba(36,72,220,.3); }
.site-body .chat-widget:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(36,72,220,.36); }
.site-body .agent-panel { overflow: hidden; border: 1px solid var(--pro-line); border-radius: 20px; box-shadow: 0 28px 80px rgba(15,23,42,.22); }
.site-body .agent-header { background: linear-gradient(135deg,#111b2e,#0b1220); }
.site-body .agent-form { border-top-color: var(--pro-line); background: #fff; }
.site-body .agent-form button { background: var(--pro-blue); }
.site-body .agent-suggestions button { border-color: #dce4ff; background: #f4f6ff; color: #3b56b4; }

/* Public order center. */
.orders-body { min-height: 100vh; }
.orders-shell { padding-top: 38px; }
.orders-hero { display: flex; justify-content: space-between; align-items: end; gap: 30px; border-bottom: 1px solid var(--pro-line); padding: 48px 0 38px; }
.orders-hero > div { max-width: 720px; }
.orders-hero h1 { margin: 10px 0 12px; font-size: clamp(38px,5vw,58px); line-height: 1.08; letter-spacing: -.05em; }
.orders-hero p { margin: 0; color: var(--pro-muted); font-size: 16px; }
.orders-home-link { flex: 0 0 auto; margin-bottom: 8px; color: var(--pro-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.orders-workspace { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 24px; align-items: start; padding: 38px 0 90px; }
.orders-assurance { position: sticky; top: 104px; overflow: hidden; border-radius: 20px; padding: 32px; background: linear-gradient(145deg,#111b2e,#0b1220); color: #fff; box-shadow: var(--pro-shadow); }
.orders-assurance::after { position: absolute; right: -70px; bottom: -90px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.orders-assurance-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.07); color: #8fa6ff; font-size: 22px; }
.orders-assurance h2 { margin: 8px 0 12px; font-size: 29px; }
.orders-assurance > p:not(.eyebrow) { color: #a9b5c8; font-size: 13px; line-height: 1.7; }
.orders-assurance ul { display: grid; gap: 0; margin: 28px 0; padding: 0; list-style: none; }
.orders-assurance li { display: flex; gap: 12px; align-items: center; border-top: 1px solid rgba(255,255,255,.08); padding: 13px 0; color: #d5dbea; font-size: 12px; }
.orders-assurance li span { color: #7588d5; font-family: var(--font-mono); font-size: 9px; }
.orders-security-note { position: relative; z-index: 1; display: flex; gap: 10px; border: 1px solid rgba(110,231,245,.14); border-radius: 11px; padding: 12px; background: rgba(110,231,245,.06); }
.orders-security-note > span { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(110,231,245,.16); color: var(--pro-cyan); font-size: 10px; }
.orders-security-note p { margin: 0; color: #aebdd0; font-size: 10px; line-height: 1.55; }
.orders-security-note code { color: #dce8ff; }
.site-body .order-query-panel { gap: 24px; padding: 32px; }
.order-query-heading { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--pro-line); padding-bottom: 22px; }
.order-query-heading span { color: var(--pro-blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.order-query-heading h2 { margin: 5px 0 0; font-size: 24px; }
.order-query-heading small { color: #9aa4b5; font-size: 10px; }
.order-query-form { grid-template-columns: 1fr 1fr; gap: 18px; }
.order-query-form .field small { color: #98a2b3; font-size: 10px; }
.order-query-form .button { grid-column: 1/-1; min-height: 48px; }
.site-body .order-query-panel .order-list { display: grid; gap: 10px; }
.site-body .order-item { border: 1px solid var(--pro-line); border-radius: 13px; background: #fbfcfe; }
.site-body .order-query-note { display: flex; gap: 9px; align-items: flex-start; border: 1px solid #d9ede6; border-radius: 11px; padding: 12px 14px; background: #f2fbf7; color: #477163; }
.site-body .order-query-note > span { color: var(--pro-green); font-weight: 800; }

/* Admin console. */
.admin-body { min-width: 320px; min-height: 100vh; padding: 0; background: #f4f6fa; color: var(--pro-ink); }
.admin-login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(460px,1.18fr) minmax(420px,.82fr); padding: 0; background: #fff; }
.admin-login-intro { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 54px clamp(48px,7vw,110px); background: radial-gradient(circle at 78% 25%,rgba(88,119,255,.24),transparent 22rem),radial-gradient(circle at 14% 90%,rgba(110,231,245,.11),transparent 18rem),linear-gradient(145deg,#111b2e,#0b1220); color: #fff; }
.admin-login-intro::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 34px 34px; content: ""; }
.admin-login-brand { position: relative; z-index: 1; display: flex; align-items: center; color: #fff; font-size: 14px; font-weight: 750; }
.admin-login-copy { position: relative; z-index: 1; max-width: 680px; }
.admin-kicker { color: #8299ee; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.admin-login-copy h1 { margin: 18px 0 24px; font-size: clamp(42px,5vw,70px); font-weight: 760; letter-spacing: -.055em; line-height: 1.08; }
.admin-login-copy > p:last-child { max-width: 560px; color: #aab5c8; font-size: 16px; line-height: 1.8; }
.admin-login-proof { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.1); padding-top: 25px; }
.admin-login-proof div { display: grid; gap: 4px; }
.admin-login-proof strong { font-size: 13px; }
.admin-login-proof span { color: #78869e; font-size: 10px; }
.admin-login-card { width: min(430px,calc(100% - 56px)); align-self: center; justify-self: center; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.admin-login-heading { display: flex; gap: 15px; align-items: center; margin-bottom: 36px; }
.admin-login-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #edf1ff; color: var(--pro-blue); font-size: 20px; }
.admin-login-heading p { margin: 0 0 2px; color: #8b96a8; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.admin-login-heading h2 { margin: 0; font-size: 27px; letter-spacing: -.03em; }
.admin-login-form { gap: 20px; }
.admin-login-form .field span { color: #3f4b5f; font-size: 12px; font-weight: 700; }
.admin-login-form input { min-height: 50px; padding: 13px 15px; }
.admin-login-button { min-height: 50px; margin-top: 5px; }
.admin-login-message { min-height: 24px; margin-top: 12px; }
.admin-back-link { display: block; margin-top: 28px; color: #8490a3; font-size: 12px; font-weight: 650; text-align: center; text-decoration: none; }

.admin-app-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0,1fr); background: #f4f6fa; }
.admin-sidebar { position: sticky; top: 0; z-index: 20; width: auto; height: 100vh; display: flex; flex-direction: column; gap: 0; border-right: 1px solid rgba(255,255,255,.04); padding: 28px 18px 20px; background: linear-gradient(180deg,#10192b,#0b1220); color: #fff; }
.admin-brand { display: flex; align-items: center; margin: 0 8px 34px; color: #fff; }
.admin-brand small { color: #69768d; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav > p { margin: 0 11px 9px; color: #56647c; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.admin-nav a { min-height: 44px; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 9px; align-items: center; border-radius: 10px; padding: 8px 11px; color: #9ba7ba; font-size: 12px; font-weight: 650; text-decoration: none; }
.admin-nav a:hover { background: rgba(255,255,255,.045); color: #e5e9f2; }
.admin-nav a.is-active { background: linear-gradient(135deg,rgba(80,110,255,.2),rgba(51,92,255,.11)); color: #fff; box-shadow: inset 0 0 0 1px rgba(105,132,255,.12); }
.admin-nav-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #73819a; font-size: 15px; }
.admin-nav a.is-active .admin-nav-icon { background: rgba(80,110,255,.17); color: #8da2ff; }
.admin-nav-count { min-width: 22px; height: 20px; display: grid; place-items: center; border-radius: 999px; padding: 0 6px; background: #f59e0b; color: #fff; font-size: 9px; }
.admin-sidebar-status { display: flex; gap: 11px; align-items: center; margin: auto 4px 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; padding: 12px; background: rgba(255,255,255,.025); }
.status-pulse { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.08); }
.admin-sidebar-status div { display: grid; }
.admin-sidebar-status strong { color: #cdd4df; font-size: 10px; }
.admin-sidebar-status small { color: #65728a; font-size: 8px; }
.admin-sidebar-footer { display: grid; grid-template-columns: 34px minmax(0,1fr) 32px; gap: 9px; align-items: center; border-top: 1px solid rgba(255,255,255,.07); padding: 16px 4px 0; }
.admin-user-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #263653; color: #acb9ce; font-size: 11px; font-weight: 800; }
.admin-sidebar-footer > div:nth-child(2) { min-width: 0; }
.admin-sidebar-footer p { overflow: hidden; margin: 0; color: #dce2ec; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar-footer small { color: #65728a; font-size: 8px; }
.admin-icon-button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #758197; cursor: pointer; }
.admin-icon-button:hover { background: rgba(255,255,255,.06); color: #fff; }

.admin-workspace { min-width: 0; margin: 0; padding: 0; }
.admin-topbar { min-height: 126px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid var(--pro-line); padding: 24px clamp(24px,4vw,54px); background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
.admin-breadcrumb { margin: 0 0 10px; color: #98a2b3; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-breadcrumb span { margin: 0 7px; color: #c2c8d2; }
.admin-breadcrumb b { color: #667085; }
.admin-topbar h1 { margin: 0; font-size: 28px; line-height: 1.1; letter-spacing: -.035em; }
.admin-topbar > div:first-child > p:last-child { margin: 7px 0 0; color: #7a8597; font-size: 11px; }
.admin-topbar-actions { display: flex; gap: 10px; align-items: center; }
.admin-live-label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--pro-line); border-radius: 999px; padding: 8px 11px; background: #fff; color: #677386; font-size: 9px; font-weight: 700; }
.admin-live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--pro-green); }
.admin-dashboard-message { position: fixed; z-index: 80; right: 28px; top: 22px; min-height: 0; margin: 0; border-radius: 10px; padding: 10px 14px; background: #10192b; color: #dbe3ef; box-shadow: var(--pro-shadow); font-size: 10px; pointer-events: none; }
.admin-dashboard-message:empty { display: none; }
.admin-dashboard-message.error { background: #7f1d1d; color: #fff; }
.admin-content { width: min(1540px,100%); margin: 0 auto; padding: 36px clamp(24px,4vw,54px) 70px; }
.admin-section { display: grid; gap: 22px; }
.admin-section-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.admin-section-intro h2,
.admin-section-head h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.025em; }
.admin-section-intro > p { max-width: 390px; margin: 0; color: #7a8597; font-size: 11px; text-align: right; }
.admin-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.admin-card { min-height: 132px; display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--pro-line); border-radius: 15px; padding: 20px; background: #fff; box-shadow: var(--pro-shadow-sm); }
.admin-card-icon { position: relative; width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 11px; background: #eef2ff; color: var(--pro-blue); }
.admin-card-icon::before { font-size: 15px; font-weight: 800; content: "•"; }
.admin-card-icon.is-pulse::before { content: "◉"; }
.admin-card-icon.is-orders::before { content: "≡"; }
.admin-card-icon.is-key::before { content: "◇"; }
.admin-card-icon.is-wallet::before { content: "▱"; }
.admin-card.is-positive .admin-card-icon { background: #eaf9f3; color: var(--pro-green); }
.admin-card.is-violet .admin-card-icon { background: #f3efff; color: #8b5cf6; }
.admin-card.is-amber .admin-card-icon { background: #fff6df; color: var(--pro-amber); }
.admin-card.is-danger .admin-card-icon { background: #fff0f0; color: var(--pro-red); }
.admin-card-copy { min-width: 0; display: grid; }
.admin-card-copy p { margin: 0; color: #7d889a; font-size: 9px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.admin-card-copy strong { overflow: hidden; margin: 7px 0 3px; color: #152033; font-size: 22px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.admin-card-copy span { color: #98a2b3; font-size: 9px; }

.admin-overview-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.8fr) minmax(280px,.8fr); gap: 14px; }
.admin-overview-card { border: 1px solid var(--pro-line); border-radius: 15px; padding: 22px; box-shadow: var(--pro-shadow-sm); }
.admin-card-heading { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 22px; }
.admin-card-heading h3 { margin: 3px 0 0; font-size: 15px; }
.admin-card-badge { border-radius: 999px; padding: 5px 8px; background: #f2f4f8; color: #8791a2; font-size: 8px; font-weight: 700; }
.admin-overview-bars { display: grid; gap: 17px; }
.admin-overview-bar { display: grid; gap: 7px; }
.admin-overview-bar > div { display: flex; justify-content: space-between; color: #647084; font-size: 10px; }
.admin-overview-bar strong { color: #283449; font-size: 10px; }
.admin-overview-bar > i { height: 6px; overflow: hidden; border-radius: 999px; background: #edf0f5; }
.admin-overview-bar > i b { height: 100%; display: block; border-radius: inherit; background: var(--pro-blue); }
.admin-overview-bar > i b.is-amber { background: var(--pro-amber); }
.admin-overview-bar > i b.is-green { background: var(--pro-green); }
.admin-overview-bar > i b.is-slate { background: #94a3b8; }
.admin-focus-list { display: grid; gap: 0; margin: 0; }
.admin-focus-list > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid #edf0f5; padding: 11px 0; }
.admin-focus-list > div:first-child { border-top: 0; padding-top: 0; }
.admin-focus-list dt { color: #748095; font-size: 10px; }
.admin-focus-list dd { margin: 0; color: #263247; font-size: 11px; font-weight: 750; text-align: right; }
.admin-quick-actions { display: grid; gap: 7px; }
.admin-quick-actions a { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; border: 1px solid #e9edf4; border-radius: 10px; padding: 10px 12px; color: #344054; text-decoration: none; }
.admin-quick-actions a:hover { border-color: #ced8ff; background: #f8f9ff; }
.admin-quick-actions span { font-size: 10px; font-weight: 750; }
.admin-quick-actions small { grid-column: 1; color: #98a2b3; font-size: 8px; }
.admin-quick-actions b { grid-column: 2; grid-row: 1/3; color: var(--pro-blue); }

.admin-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 1px solid var(--pro-line); padding-bottom: 18px; }
.admin-section-note { display: flex; gap: 8px; align-items: center; border: 1px solid #f4dfb8; border-radius: 9px; padding: 8px 10px; background: #fffaf0; color: #8d6825; }
.admin-section-note p { margin: 0; font-size: 9px; }
.admin-count-label { min-width: 25px; height: 22px; display: inline-grid; place-items: center; vertical-align: 3px; border-radius: 999px; background: #fff1d6; color: #b7791f; font-size: 9px; }
.admin-section-head-stack { align-items: center; }
.admin-filter-bar { display: flex; gap: 8px; align-items: center; }
.admin-search input { width: 270px; min-height: 38px; padding: 9px 12px 9px 35px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 12px center; font-size: 10px; }
.admin-select-filter select { min-width: 108px; min-height: 38px; padding: 8px 28px 8px 11px; font-size: 10px; }
.admin-list { overflow: auto; border: 1px solid var(--pro-line); border-radius: 14px; background: #fff; box-shadow: var(--pro-shadow-sm); }
.admin-table { min-width: 980px; border-collapse: separate; border-spacing: 0; background: #fff; color: #344054; font-size: 10px; }
.admin-table th,
.admin-table td { border-bottom: 1px solid #edf0f5; padding: 13px 14px; vertical-align: middle; }
.admin-table th { background: #f8f9fb; color: #7d8797; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.admin-table tbody tr { background: #fff; }
.admin-table tbody tr:nth-child(even) { background: #fbfcfd; }
.admin-table tbody tr:hover { background: #f7f9ff; }
.admin-table strong { color: #253146; font-size: 10px; }
.admin-table small { color: #98a2b3; font-size: 8px; }
.admin-table .status,
.admin-table .expiry-badge { border-radius: 999px; padding: 4px 7px; font-size: 8px; font-weight: 750; }
.admin-actions { gap: 5px; }
.admin-actions .text-button { min-height: 28px; border: 1px solid var(--pro-line); border-radius: 7px; padding: 5px 8px; background: #fff; color: #536074; font-size: 8px; white-space: nowrap; }
.admin-actions .text-button.danger { color: #c84a4a; }
.admin-actions .text-button:disabled { opacity: .35; }
.admin-table-empty { min-height: 220px; display: grid; place-items: center; color: #98a2b3; }
.admin-pagination { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: #7d8797; font-size: 9px; }
.admin-pagination select,
.admin-pagination button { min-height: 30px; border: 1px solid var(--pro-line); border-radius: 7px; background: #fff; color: #5f6b7e; font-size: 9px; }
.admin-pagination button.is-active { border-color: var(--pro-blue); background: var(--pro-blue); color: #fff; }
.admin-create-block { border: 1px solid #dce4ff; border-radius: 14px; padding: 20px; background: linear-gradient(145deg,#fbfcff,#f5f7ff); }
.admin-create-heading { display: flex; gap: 11px; align-items: center; margin-bottom: 17px; }
.admin-create-heading > div { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #e8edff; color: var(--pro-blue); font-size: 18px; }
.admin-create-heading p { display: grid; margin: 0; }
.admin-create-heading strong { color: #2f3a4d; font-size: 11px; }
.admin-create-heading small { color: #8c97a8; font-size: 9px; }
.admin-key-form { display: grid; grid-template-columns: .9fr .8fr 1.2fr 1.1fr auto; gap: 10px; align-items: end; border: 0; padding: 0; background: transparent; box-shadow: none; }
.admin-key-form .field { gap: 5px; }
.admin-key-form .field span { color: #647084; font-size: 9px; font-weight: 700; }
.admin-key-form input,
.admin-key-form select { min-height: 38px; padding: 9px 10px; font-size: 10px; }
.admin-key-form .button { min-height: 38px; padding: 9px 16px; font-size: 10px; white-space: nowrap; }
.admin-key-result { border-color: #cdeade; background: #f4fbf8; }

@media (max-width: 1120px) {
  .site-body .hero { grid-template-columns: minmax(0,1fr) 380px; gap: 36px; padding: 56px 48px; }
  .site-body .hero h1 { font-size: 52px; }
  .hero-visual { min-height: 390px; }
  .admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-overview-layout { grid-template-columns: 1fr 1fr; }
  .admin-status-overview { grid-column: 1/-1; }
  .admin-key-form { grid-template-columns: repeat(2,1fr); }
  .admin-key-form .button { min-height: 42px; }
}

@media (max-width: 900px) {
  .site-body .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .site-body .page-tabs { order: 3; grid-column: 1/-1; width: 100%; justify-content: center; }
  .site-body { --header-space: 126px; }
  .site-body .site-header { min-height: 118px; align-content: center; gap: 8px; padding-block: 10px; }
  .site-body .hero { grid-template-columns: 1fr; }
  .hero-visual { width: min(540px,100%); justify-self: center; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip span:nth-child(3) { border-left: 0; border-top: 1px solid var(--pro-line); }
  .trust-strip span:nth-child(4) { border-top: 1px solid var(--pro-line); }
  .orders-workspace { grid-template-columns: 1fr; }
  .orders-assurance { position: relative; top: auto; }
  .admin-login-screen { grid-template-columns: 1fr; }
  .admin-login-intro { min-height: 420px; padding: 38px 40px; }
  .admin-login-copy h1 { font-size: 44px; }
  .admin-login-card { padding: 56px 0; }
  .admin-app-shell { grid-template-columns: 78px minmax(0,1fr); }
  .admin-sidebar { padding-inline: 11px; }
  .admin-brand { justify-content: center; margin-inline: 0; }
  .admin-brand > span:last-child,
  .admin-nav > p,
  .admin-nav a > span:nth-child(2),
  .admin-sidebar-status,
  .admin-sidebar-footer > div:nth-child(2) { display: none; }
  .admin-nav a { grid-template-columns: 1fr; justify-items: center; padding: 8px; }
  .admin-nav-count { position: absolute; margin: -25px 0 0 27px; }
  .admin-sidebar-footer { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 700px) {
  .site-body { --header-space: 118px; }
  .site-body .site-header { min-height: 110px; }
  .site-body .header-actions .text-link { display: none; }
  .site-body .page-shell,
  .site-body .footer { width: calc(100% - 24px); }
  .site-body .page-view { padding-top: 24px; }
  .site-body .hero { min-height: 0; gap: 34px; border-radius: 20px; padding: 36px 22px 24px; }
  .site-body .hero h1 { font-size: 39px; }
  .site-body .hero .lead { font-size: 15px; }
  .site-body .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; border-radius: 17px; padding: 18px; }
  .hero-orbit { width: 180px; height: 180px; }
  .hero-orbit::before { width: 125px; height: 125px; }
  .hero-route { gap: 6px; font-size: 8px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip span { text-align: left; }
  .trust-strip span + span,
  .trust-strip span:nth-child(3) { border-top: 1px solid var(--pro-line); border-left: 0; }
  .site-body .intro-grid,
  .site-body .guide-grid { grid-template-columns: 1fr; }
  .purchase-steps { grid-template-columns: repeat(3,1fr); gap: 6px; }
  .purchase-steps > i { display: none; }
  .purchase-steps > div { display: grid; justify-items: center; text-align: center; }
  .purchase-steps small { display: none; }
  .site-body #page-buy .purchase-panel { padding: 22px 18px; }
  .site-body .cta-card { display: grid; gap: 25px; border-radius: 18px; padding: 30px 22px; }
  .site-body .cta-card h2 { font-size: 32px; }
  .site-body .cta-card .actions { display: grid; grid-template-columns: 1fr; }
  .site-body .footer.footer-compact { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-body .footer-brand { grid-column: 1/-1; }
  .orders-hero { align-items: flex-start; padding-top: 34px; }
  .orders-hero h1 { font-size: 38px; }
  .orders-home-link { display: none; }
  .orders-workspace { padding-top: 24px; }
  .orders-assurance { padding: 25px; }
  .site-body .order-query-panel { padding: 22px 18px; }
  .order-query-form { grid-template-columns: 1fr; }
  .order-query-form .button { grid-column: auto; }
  .admin-login-intro { min-height: 360px; padding: 28px 24px; }
  .admin-login-copy h1 { font-size: 36px; }
  .admin-login-copy > p:last-child { font-size: 13px; }
  .admin-login-proof { gap: 12px; }
  .admin-login-card { width: calc(100% - 40px); padding-block: 44px; }
  .admin-app-shell { display: block; }
  .admin-sidebar { position: sticky; width: 100%; height: auto; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); padding: 10px 12px; }
  .admin-brand { margin: 0; }
  .admin-brand .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .admin-nav { display: flex; gap: 3px; overflow-x: auto; justify-content: center; }
  .admin-nav a { min-width: 38px; min-height: 38px; }
  .admin-sidebar-footer { display: block; border: 0; padding: 0; }
  .admin-user-avatar { display: none; }
  .admin-topbar { min-height: 112px; padding: 20px 18px; }
  .admin-topbar h1 { font-size: 23px; }
  .admin-topbar-actions .admin-live-label { display: none; }
  .admin-content { padding: 24px 14px 60px; }
  .admin-section-intro { display: block; }
  .admin-section-intro > p { margin-top: 8px; text-align: left; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-overview-layout { grid-template-columns: 1fr; }
  .admin-status-overview { grid-column: auto; }
  .admin-section-head { align-items: flex-start; }
  .admin-section-note { display: none; }
  .admin-section-head-stack { display: grid; }
  .admin-filter-bar { width: 100%; }
  .admin-search { flex: 1; }
  .admin-search input { width: 100%; }
  .admin-key-form { grid-template-columns: 1fr; }
  .admin-pagination { align-items: flex-start; flex-direction: column; }
  .admin-page-numbers { display: none; }
  .admin-dashboard-message { right: 12px; top: 64px; }
}

/* Final specificity corrections for legacy selectors. */
.site-body .hero-actions .button.primary {
  border-color: var(--pro-blue);
  background: linear-gradient(135deg, var(--pro-blue) 0%, var(--pro-blue-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(36, 80, 209, .2);
}

.site-body .hero-actions .button.primary:hover {
  border-color: var(--pro-blue-dark);
  background: linear-gradient(135deg, #315bdb 0%, #183baa 100%);
}

.site-body .orders-assurance h2 { color: #fff; }
.site-body .orders-assurance .eyebrow { color: #91a8ff; }
.site-body .current-page-label { background: #f3f5f9; color: #475569; }

/* Footer: restore the original business links with a high-contrast light surface. */
.site-body .footer.footer-compact {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(320px, 1.65fr) 1fr 1fr 1fr;
  gap: clamp(36px, 5vw, 82px);
  margin: 22px 0 0;
  border-top: 1px solid #dfe6f2;
  padding: 54px max(24px, calc((100% - var(--max)) / 2)) 62px;
  background: linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
  color: #253149;
}

.site-body .footer.footer-compact .footer-brand {
  gap: 16px;
}

.site-body .footer.footer-compact strong,
.site-body .footer.footer-compact h3 {
  color: #172033;
  font-size: 14px;
  font-weight: 750;
}

.site-body .footer.footer-compact p {
  max-width: 390px;
  color: #536178;
  font-size: 13px;
  line-height: 1.75;
  opacity: 1;
}

.site-body .footer.footer-compact a {
  width: fit-content;
  margin-bottom: 9px;
  color: #46546c;
  font-size: 13px;
  font-weight: 550;
  opacity: 1;
}

.site-body .footer.footer-compact a:hover {
  color: var(--pro-blue);
}

.site-body .footer.footer-compact .footer-download img {
  filter: brightness(0) saturate(100%);
  opacity: .74;
}

@media (max-width: 900px) {
  .site-body .footer.footer-compact {
    grid-template-columns: 1fr 1fr;
    gap: 34px 48px;
  }

  .site-body .footer.footer-compact .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-body .footer.footer-compact {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .site-body .footer.footer-compact .footer-brand {
    grid-column: auto;
  }
}

/* Order lookup sidebar: light surface consistent with the public pages. */
.orders-assurance {
  border: 1px solid #dfe6f2;
  background:
    radial-gradient(circle at 92% 88%, rgba(83, 116, 255, .12), transparent 15rem),
    linear-gradient(145deg, #ffffff 0%, #f1f5fc 100%);
  color: #172033;
  box-shadow: 0 18px 48px rgba(30, 49, 91, .1);
}

.orders-assurance::after {
  border-color: rgba(74, 105, 220, .12);
}

.orders-assurance-icon {
  border-color: #dbe3f1;
  background: #eaf0ff;
  color: var(--pro-blue);
}

.site-body .orders-assurance h2 {
  margin: 0 0 12px;
  color: #172033;
}

.orders-assurance > p:not(.eyebrow) {
  color: #59667b;
}

.orders-assurance li {
  border-top-color: #dfe6f2;
  color: #26344d;
}

.orders-assurance li span {
  color: var(--pro-blue);
}

.orders-assurance .orders-security-note {
  border-color: #cfe8e4;
  background: #edf9f7;
}

.orders-assurance .orders-security-note > span {
  background: #d9f3ed;
  color: #148f78;
}

.orders-assurance .orders-security-note p {
  color: #49665f;
}

.orders-assurance .orders-security-note code {
  color: #176f60;
}

/* Homepage cards should sit in normal flow without covering nearby copy. */
.site-body #page-home .intro-grid {
  margin-top: 18px;
}

/* High-contrast support center. */
.site-body #page-support {
  padding-top: clamp(34px, 6vw, 82px);
  padding-bottom: clamp(54px, 8vw, 110px);
}

.site-body .support-card {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  border: 1px solid rgba(130, 158, 255, .2);
  padding: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(circle at 12% 14%, rgba(70, 110, 255, .26), transparent 26rem),
    radial-gradient(circle at 91% 86%, rgba(42, 210, 225, .1), transparent 22rem),
    linear-gradient(135deg, #111c33 0%, #0c1426 56%, #172450 100%);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .2);
}

.site-body .support-card::before {
  position: absolute;
  top: 40px;
  right: 43%;
  width: 1px;
  height: calc(100% - 80px);
  background: linear-gradient(transparent, rgba(255,255,255,.14), transparent);
  content: "";
}

.site-body .support-copy,
.site-body .support-action-panel {
  position: relative;
  z-index: 1;
}

.site-body .support-kicker {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #9cb2ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-body .support-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37d5b0;
  box-shadow: 0 0 0 5px rgba(55,213,176,.12);
}

.site-body .support-card .support-copy h2 {
  max-width: 580px;
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.site-body .support-card .support-copy > p {
  max-width: 650px;
  margin: 0;
  color: #d5deef;
  font-size: 16px;
  line-height: 1.8;
  opacity: 1;
}

.site-body .support-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.site-body .support-topics span {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255,255,255,.06);
  color: #e9eeff;
  font-size: 12px;
  font-weight: 650;
}

.site-body .support-action-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 28px;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 20px 45px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
}

.site-body .support-action-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
}

.site-body .support-action-heading span {
  color: #9fb0cf;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-body .support-action-heading strong {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.site-body .support-card #support-email-link {
  min-height: 54px;
  justify-content: flex-start;
  border-color: #fff;
  padding-inline: 20px;
  background: #fff;
  color: #15213a;
  font-size: 14px;
  font-weight: 750;
}

.site-body .support-card #support-email-link[aria-disabled="true"] {
  background: #eef2f9;
  color: #53617a;
}

.site-body .support-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.site-body .support-card .support-secondary-actions .button.secondary {
  min-height: 50px;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.07);
  color: #fff;
}

.site-body .support-card .support-secondary-actions .button.secondary:hover {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.13);
}

.site-body .support-card .support-action-note {
  margin: 5px 0 0;
  color: #b6c3db;
  font-size: 11px;
  line-height: 1.65;
  opacity: 1;
}

@media (max-width: 900px) {
  .site-body .support-card {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .site-body .support-card::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-body #page-support {
    padding-top: 22px;
  }

  .site-body .support-card {
    min-height: 0;
    border-radius: 20px;
    padding: 34px 22px;
  }

  .site-body .support-card .support-copy h2 {
    font-size: 36px;
  }

  .site-body .support-card .support-copy > p {
    font-size: 14px;
  }

  .site-body .support-action-panel {
    padding: 20px;
  }

  .site-body .support-secondary-actions {
    grid-template-columns: 1fr;
  }
}

/* Support page: retain the original copy on the same light visual system. */
.site-body #page-support {
  padding-top: clamp(34px, 6vw, 72px);
  padding-bottom: clamp(54px, 8vw, 96px);
}

.site-body .support-card {
  min-height: 300px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  border: 1px solid #dfe6f2;
  padding: clamp(42px, 5vw, 64px);
  background:
    radial-gradient(circle at 92% 10%, rgba(86, 119, 255, .12), transparent 24rem),
    linear-gradient(135deg, #ffffff 0%, #f3f6fd 100%);
  box-shadow: 0 20px 54px rgba(30, 49, 91, .1);
}

.site-body .support-card::before,
.site-body .support-card::after {
  display: none;
}

.site-body .support-card .support-copy .eyebrow {
  margin: 0;
  color: var(--pro-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  opacity: 1;
}

.site-body .support-card .support-copy h2 {
  margin: 12px 0 16px;
  color: #172033;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.site-body .support-card .support-copy > p:last-child {
  max-width: 680px;
  margin: 0;
  color: #536178;
  font-size: 16px;
  line-height: 1.75;
  opacity: 1;
}

.site-body .support-actions {
  max-width: 520px;
  justify-content: flex-end;
}

.site-body .support-card .support-actions .button {
  min-height: 52px;
  border-radius: 12px;
  padding-inline: 20px;
  font-size: 13px;
  font-weight: 750;
}

.site-body .support-card #support-email-link {
  justify-content: center;
  border-color: var(--pro-blue);
  background: var(--pro-blue);
  color: #fff;
}

.site-body .support-card #support-email-link[aria-disabled="true"] {
  border-color: #dce3ef;
  background: #e9eef7;
  color: #536178;
}

.site-body .support-card .support-actions .button.secondary {
  border-color: #cfd8e8;
  background: #fff;
  color: #26344d;
}

.site-body .support-card .support-actions .button.secondary:hover {
  border-color: #9eb0d2;
  background: #f6f8fd;
}

@media (max-width: 900px) {
  .site-body .support-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-body .support-actions {
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-body .support-card {
    padding: 32px 22px;
  }

  .site-body .support-card .support-copy > p:last-child {
    font-size: 14px;
  }

  .site-body .support-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Admin console: restrained, unified light layout. */
.admin-body {
  background: #f5f7fb;
  color: #202939;
}

.admin-login-screen {
  grid-template-columns: minmax(360px, .9fr) minmax(430px, 1.1fr);
  background: #f5f7fb;
}

.admin-login-intro {
  justify-content: flex-start;
  border-right: 1px solid #dfe5ee;
  padding: 48px clamp(40px, 6vw, 88px);
  background: #edf2f8;
  color: #202939;
}

.admin-login-intro::before {
  display: none;
}

.admin-login-brand {
  color: #202939;
}

.admin-login-copy {
  margin: auto 0;
}

.admin-login-copy h1 {
  margin: 0;
  color: #172033;
  font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -.045em;
}

.admin-login-card {
  width: min(420px, calc(100% - 48px));
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(30, 48, 80, .08);
}

.admin-login-heading {
  margin-bottom: 28px;
}

.admin-login-icon {
  border-radius: 9px;
}

.admin-login-heading p {
  color: #667085;
  letter-spacing: 0;
  text-transform: none;
}

.admin-app-shell {
  grid-template-columns: 232px minmax(0, 1fr);
  background: #f5f7fb;
}

.admin-sidebar {
  border-right: 1px solid #dfe5ee;
  padding: 24px 16px 18px;
  background: #fff;
  color: #202939;
}

.admin-brand {
  margin: 0 8px 28px;
  color: #202939;
}

.admin-brand small {
  color: #7a8596;
}

.admin-nav a {
  border-radius: 8px;
  color: #536074;
}

.admin-nav a:hover {
  background: #f4f6fa;
  color: #202939;
}

.admin-nav a.is-active {
  background: #edf2ff;
  color: #2448dc;
  box-shadow: none;
}

.admin-nav-icon,
.admin-nav a.is-active .admin-nav-icon {
  background: transparent;
  color: #667085;
}

.admin-nav a.is-active .admin-nav-icon {
  color: #335cff;
}

.admin-sidebar-status {
  border-color: #dbe9e3;
  border-radius: 8px;
  background: #f3f9f6;
}

.admin-sidebar-status strong {
  color: #315b4b;
}

.admin-sidebar-status small {
  color: #6f817a;
}

.admin-sidebar-footer {
  border-top-color: #e5e9f0;
}

.admin-user-avatar {
  border-radius: 8px;
  background: #edf1f7;
  color: #536074;
}

.admin-sidebar-footer p {
  color: #344054;
}

.admin-sidebar-footer small,
.admin-icon-button {
  color: #7a8596;
}

.admin-icon-button:hover {
  background: #f1f3f7;
  color: #344054;
}

.admin-topbar {
  min-height: 82px;
  border-bottom-color: #dfe5ee;
  padding: 18px clamp(24px, 3vw, 42px);
  background: #fff;
  backdrop-filter: none;
}

.admin-topbar h1 {
  font-size: 23px;
  letter-spacing: -.025em;
}

.admin-live-label {
  border-radius: 8px;
  color: #667085;
}

.admin-content {
  padding: 28px clamp(24px, 3vw, 42px) 64px;
}

.admin-section {
  gap: 18px;
}

.admin-grid,
.admin-overview-layout {
  gap: 12px;
}

.admin-card,
.admin-overview-card,
.admin-list,
.admin-create-block {
  border-color: #dfe5ee;
  border-radius: 10px;
  box-shadow: none;
}

.admin-card {
  min-height: 120px;
  padding: 18px;
}

.admin-card-icon {
  border-radius: 8px;
}

.admin-card-copy p {
  color: #667085;
  letter-spacing: 0;
  text-transform: none;
}

.admin-card-copy strong {
  font-size: 21px;
}

.admin-card-heading {
  margin-bottom: 18px;
}

.admin-card-heading h3 {
  margin: 0;
  color: #273244;
  font-size: 14px;
}

.admin-quick-actions a {
  border-radius: 7px;
}

.admin-section-head {
  align-items: center;
  padding-bottom: 14px;
}

.admin-section-head h2 {
  margin: 0;
}

.admin-section-note,
.admin-count-label {
  border-radius: 7px;
}

.admin-table th {
  color: #667085;
  letter-spacing: 0;
  text-transform: none;
}

.admin-create-block {
  background: #fff;
}

.admin-create-heading > div {
  border-radius: 8px;
}

@media (max-width: 900px) {
  .admin-login-intro {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid #dfe5ee;
    padding: 28px 24px;
  }

  .admin-login-copy h1 {
    font-size: 34px;
  }

  .admin-login-card {
    width: calc(100% - 40px);
    margin-block: 34px;
    padding: 26px;
  }

  .admin-sidebar {
    border-bottom: 1px solid #dfe5ee;
    background: #fff;
  }

  .admin-sidebar-status {
    display: none;
  }

  .admin-topbar {
    min-height: 76px;
  }
}

/* Official Outline FAQ, adapted for the guide page. */
.site-body .official-faq-section {
  margin-top: 14px;
  border: 1px solid var(--pro-line);
  border-radius: 12px;
  padding: 34px;
  background: #fff;
  box-shadow: var(--pro-shadow-sm);
}

.site-body .official-faq-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid #e5e8ee;
  padding-bottom: 24px;
}

.site-body .official-faq-heading h2 {
  margin: 0 0 8px;
  color: #182230;
  font-size: 28px;
  letter-spacing: -.03em;
}

.site-body .official-faq-heading p {
  margin: 0;
  color: #667085;
  font-size: 12px;
}

.site-body .official-faq-heading > a,
.site-body .official-faq-help a {
  color: var(--pro-blue);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.site-body .official-faq-heading > a:hover,
.site-body .official-faq-help a:hover {
  text-decoration: underline;
}

.site-body .official-faq-list details {
  border-bottom: 1px solid #e5e8ee;
}

.site-body .official-faq-list summary {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 21px 42px 21px 0;
  color: #273244;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.site-body .official-faq-list summary::-webkit-details-marker {
  display: none;
}

.site-body .official-faq-list summary:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(49, 87, 213, .32);
  outline-offset: 2px;
}

.site-body .official-faq-list summary::after {
  position: absolute;
  right: 4px;
  color: #7a8494;
  font-size: 20px;
  font-weight: 400;
  content: "+";
}

.site-body .official-faq-list details[open] summary::after {
  content: "−";
}

.site-body .official-faq-list summary span {
  min-width: 25px;
  color: #77839a;
  font-size: 9px;
  font-weight: 700;
}

.site-body .official-faq-list details > p {
  max-width: 900px;
  margin: -2px 42px 22px 43px;
  color: #667085;
  font-size: 13px;
  line-height: 1.8;
}

.site-body .official-faq-help {
  margin: 22px 0 0;
  color: #667085;
  font-size: 12px;
}

@media (max-width: 700px) {
  .site-body .official-faq-section {
    border-radius: 10px;
    padding: 22px 18px;
  }

  .site-body .official-faq-heading {
    display: grid;
    gap: 12px;
    align-items: start;
  }

  .site-body .official-faq-list summary {
    gap: 10px;
    padding: 18px 34px 18px 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .site-body .official-faq-list details > p {
    margin: -2px 24px 19px 35px;
    font-size: 12px;
  }
}

/* Unified product system — restrained, clear and consistent. */
.site-body {
  --pro-blue: #3157d5;
  --pro-blue-dark: #2446b8;
  --pro-ink: #182230;
  --pro-muted: #667085;
  --pro-line: #dfe3ea;
  --pro-canvas: #f5f6f8;
  --pro-surface: #ffffff;
  --pro-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --pro-shadow: 0 16px 38px rgba(16, 24, 40, .08);
  --max: 1280px;
  background: var(--pro-canvas);
  color: var(--pro-ink);
}

.site-body .site-header {
  min-height: 72px;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  gap: 24px;
  border-bottom: 1px solid rgba(223, 227, 234, .92);
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, .94);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.site-body .brand { gap: 11px; color: var(--pro-ink); }
.site-body .brand-mark { border-radius: 10px; box-shadow: none; }
.site-body .brand strong { font-size: 15px; letter-spacing: -.01em; }
.site-body .brand small { margin-top: 1px; color: #7b8493; font-size: 9px; letter-spacing: .06em; text-transform: none; }
.site-body .page-tabs { gap: 2px; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.site-body .page-tabs a { min-height: 38px; border-radius: 7px; padding: 9px 15px; color: #5a6575; font-size: 12px; font-weight: 650; }
.site-body .page-tabs a:hover { background: #f5f6f8; color: var(--pro-ink); }
.site-body .page-tabs a.is-active,
.site-body .page-tabs a[aria-current="page"] { background: #eef1f7; color: var(--pro-ink); box-shadow: none; }
.site-body .header-actions { justify-self: end; gap: 16px; }
.site-body .header-actions .text-link { color: #596579; font-size: 11px; }

.site-body .button {
  min-height: 42px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: none;
}
.site-body .button.primary,
.site-body .hero-actions .button.primary { border-color: var(--pro-blue); background: var(--pro-blue); box-shadow: none; }
.site-body .button.primary:hover,
.site-body .hero-actions .button.primary:hover { border-color: var(--pro-blue-dark); background: var(--pro-blue-dark); transform: none; }
.site-body .button.secondary { border-color: #d7dce5; background: #fff; color: #344054; }
.site-body .button.secondary:hover { border-color: #bfc7d5; background: #f8f9fb; color: #1f2937; transform: none; }
.site-body .button.small { min-height: 36px; border-radius: 7px; padding: 8px 14px; }

.site-body .page-shell { width: min(var(--max), calc(100% - 48px)); }
.site-body .page-view { padding: 38px 0 72px; }
.site-body .hero {
  min-height: 570px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .72fr);
  gap: clamp(46px, 6vw, 86px);
  border: 1px solid var(--pro-line);
  border-radius: 18px;
  padding: clamp(50px, 6vw, 78px);
  background: #fff;
  box-shadow: var(--pro-shadow-sm);
}
.site-body .hero::before,
.site-body .hero::after { display: none; }
.site-body .hero-text { max-width: 650px; }
.site-body .announcement-pill {
  gap: 14px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #526071;
  box-shadow: none;
  font-size: 10px;
  letter-spacing: .04em;
}
.site-body .announcement-pill b { color: var(--pro-blue); font-weight: 700; }
.site-body .hero h1 { max-width: 620px; margin: 27px 0 20px; color: #131c2b; font-size: clamp(48px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.055em; }
.site-body .hero .lead { max-width: 580px; color: #5f6b7d; font-size: 16px; line-height: 1.8; }
.site-body .hero-actions { gap: 10px; margin-top: 30px; }
.site-body .hero-actions .button { min-height: 46px; border-radius: 8px; padding: 12px 20px; }
.site-body .platform-line { margin-top: 34px; color: #8a94a3; font-size: 9px; }
.site-body .platform-line a { color: #5f6b7d; }

.site-body .hero-visual {
  min-height: 410px;
  border: 1px solid #e0e4eb;
  border-radius: 14px;
  padding: 22px;
  background: #f7f8fa;
  color: #263244;
  box-shadow: none;
}
.site-body .hero-visual::before { display: none; }
.site-body .hero-visual-top { color: #697586; font-size: 9px; letter-spacing: .04em; text-transform: none; }
.site-body .hero-visual-top b { border-color: #cde7d9; border-radius: 6px; background: #edf8f2; color: #26704f; }
.site-body .hero-orbit { border-color: #cfd6e2; }
.site-body .hero-orbit::before { border-color: #c8d0df; }
.site-body .hero-orbit::after { background: #e9edff; box-shadow: none; }
.site-body .hero-orbit-core { border: 0; border-radius: 12px; background: var(--pro-blue); box-shadow: 0 8px 20px rgba(49, 87, 213, .18); color: #fff; }
.site-body .hero-orbit > i { border-color: #f7f8fa; background: #6f87df; box-shadow: none; }
.site-body .hero-orbit > i:nth-of-type(2) { background: #8a7fc0; }
.site-body .hero-orbit > i:nth-of-type(3) { background: #5b9b7d; }
.site-body .hero-route { color: #7b8493; text-transform: none; }
.site-body .hero-route i { background: #b9c3d2; }
.site-body .hero-route strong { color: #344054; }
.site-body .hero-visual-metrics > div { border-color: #e0e4ea; border-radius: 8px; background: #fff; }
.site-body .hero-visual-metrics span { color: #7a8493; text-transform: none; letter-spacing: 0; }
.site-body .hero-visual-metrics strong { color: #344054; }

.site-body .intro-grid,
.site-body .guide-grid { gap: 12px; margin-top: 14px; }
.site-body .intro-grid article,
.site-body .guide-grid article {
  min-height: 260px;
  border: 1px solid var(--pro-line);
  border-radius: 12px;
  padding: 32px;
  background: #fff;
  box-shadow: var(--pro-shadow-sm);
}
.site-body .intro-grid article::after,
.site-body .guide-grid article::after { display: none; }
.site-body .intro-grid article > span,
.site-body .guide-grid article > span { border-radius: 6px; background: #eef1f7; color: #40516c; }
.site-body .intro-grid h3,
.site-body .guide-grid h3 { margin-top: 52px; color: #202939; font-size: 20px; letter-spacing: -.02em; }
.site-body .intro-grid p,
.site-body .guide-grid p { color: #667085; font-size: 13px; line-height: 1.7; }

.site-body .section-heading,
.site-body .section-heading.centered { max-width: 760px; margin: 0; padding: 36px 0 28px; text-align: left; }
.site-body .section-heading h2 { margin: 0 0 12px; color: #182230; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; }
.site-body .section-heading > p:last-child { max-width: 660px; margin: 0; color: #667085; font-size: 14px; }
.site-body .eyebrow { color: #667085; letter-spacing: .04em; text-transform: none; }

.site-body .purchase-steps {
  border: 1px solid var(--pro-line);
  border-radius: 10px;
  padding: 18px 22px;
  background: #fff;
  box-shadow: var(--pro-shadow-sm);
}
.site-body .purchase-steps > div > span { border-radius: 6px; background: #eef1f7; color: #536074; }
.site-body .purchase-steps > div.is-current > span { background: var(--pro-blue); color: #fff; }
.site-body .purchase-steps > i { background: #e4e7ec; }
.site-body .checkout-grid { gap: 12px; margin-top: 12px; }
.site-body .panel,
.site-body .purchase-panel,
.site-body .result-panel { border-color: var(--pro-line); border-radius: 12px; background: #fff; box-shadow: var(--pro-shadow-sm); }
.site-body #page-buy .purchase-panel,
.site-body #page-buy .result-panel { padding: 30px; }
.site-body .field input,
.site-body .field textarea,
.site-body .field select { border-color: #d8dde6; border-radius: 8px; background: #fff; box-shadow: none; }
.site-body .field input:focus,
.site-body .field textarea:focus,
.site-body .field select:focus { border-color: #8ca2ee; box-shadow: 0 0 0 3px rgba(49, 87, 213, .08); }
.site-body .product-option,
.site-body .duration-option,
.site-body .payment-method { border-color: #dfe3ea; border-radius: 8px; box-shadow: none; }
.site-body .product-option:hover,
.site-body .duration-option:hover,
.site-body .payment-method:hover { border-color: #aebbdc; transform: none; }
.site-body .product-option.is-selected,
.site-body .duration-option.is-selected,
.site-body .payment-method.is-selected { border-color: var(--pro-blue); background: #f6f8ff; box-shadow: inset 0 0 0 1px var(--pro-blue); }
.site-body .selected-product,
.site-body .selected-price { border-radius: 8px; }

.site-body .faq-section { margin-top: 14px; border: 1px solid var(--pro-line); border-radius: 12px; padding: 34px; background: #fff; box-shadow: var(--pro-shadow-sm); }
.site-body .faq-heading { padding: 0 0 22px; }
.site-body .faq-heading h2 { margin: 0; font-size: 28px; }
.site-body .faq-item { border-color: #e5e8ee; padding: 24px 0; }
.site-body .faq-index { color: #8791a1; }

.site-body #page-support { min-height: calc(100vh - 290px); padding-top: 54px; }
.site-body .support-card {
  min-height: 300px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  border: 1px solid var(--pro-line);
  border-radius: 14px;
  padding: clamp(38px, 5vw, 64px);
  background: #fff;
  box-shadow: var(--pro-shadow-sm);
  color: var(--pro-ink);
}
.site-body .support-card::before,
.site-body .support-card::after { display: none; }
.site-body .support-card .support-copy h2 { margin: 0 0 18px; color: #182230; font-size: clamp(38px, 5vw, 56px); }
.site-body .support-card .support-copy > p:last-child { max-width: 620px; color: #667085; font-size: 15px; line-height: 1.8; }
.site-body .support-actions { align-self: center; display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 10px; }
.site-body .support-card .support-actions .button { min-width: 142px; }
.site-body .support-card #support-email-link { grid-column: 1 / -1; border-color: var(--pro-blue); background: var(--pro-blue); color: #fff; }
.site-body .support-card #support-email-link[aria-disabled="true"] { border-color: #d8dde6; background: #f3f5f8; color: #667085; }

.site-body .footer.footer-compact {
  gap: clamp(30px, 5vw, 70px);
  margin-top: 16px;
  border-top: 1px solid var(--pro-line);
  padding-top: 48px;
  padding-bottom: 54px;
  background: #fff;
  color: #344054;
}
.site-body .footer-brand strong,
.site-body .footer-links h3 { color: #344054; }
.site-body .footer-brand p,
.site-body .footer-links a { color: #737e8f; }
.site-body .footer-links a:hover { color: var(--pro-blue); }
.site-body .chat-widget { right: 24px; bottom: 24px; min-height: 50px; border-radius: 10px; background: var(--pro-blue); box-shadow: 0 10px 24px rgba(49, 87, 213, .18); }
.site-body .chat-widget:hover { background: var(--pro-blue-dark); transform: none; }
.site-body .agent-panel { border: 1px solid #dfe3ea; border-radius: 14px; box-shadow: var(--pro-shadow); }

.site-body.orders-body { min-height: 100vh; }
.site-body .orders-shell { padding-bottom: 72px; }
.site-body .orders-workspace { grid-template-columns: minmax(300px, .78fr) minmax(0, 1.35fr); gap: 12px; padding-top: 38px; }
.site-body .orders-assurance {
  border: 1px solid var(--pro-line);
  border-radius: 12px;
  padding: 34px;
  background: #fff;
  color: #344054;
  box-shadow: var(--pro-shadow-sm);
}
.site-body .orders-assurance::before,
.site-body .orders-assurance::after { display: none; }
.site-body .orders-assurance-icon { border-color: #dce2ee; border-radius: 8px; background: #f3f5f8; color: var(--pro-blue); }
.site-body .orders-assurance h2 { color: #182230; font-size: 36px; }
.site-body .orders-assurance > p { color: #667085; }
.site-body .orders-assurance li { border-color: #e5e8ee; color: #344054; }
.site-body .orders-assurance li span { color: #6479c8; }
.site-body .orders-security-note { border-color: #e0e4ea; background: #f7f8fa; color: #667085; }
.site-body .order-query-panel { border-radius: 12px; padding: 34px; }
.site-body .order-query-heading > div > span { color: #7a8494; letter-spacing: 0; text-transform: none; }
.site-body .order-query-note { border-radius: 8px; background: #f7f8fa; color: #667085; }

/* Admin uses the same component proportions and neutral palette. */
.admin-body { background: #f5f6f8; color: #182230; }
.admin-login-screen { grid-template-columns: minmax(360px, .85fr) minmax(440px, 1.15fr); background: #f5f6f8; }
.admin-login-intro { border-right: 1px solid #dfe3ea; padding: 48px clamp(42px, 6vw, 88px); background: #eef1f5; color: #182230; }
.admin-login-copy h1 { max-width: 500px; color: #182230; font-size: clamp(40px, 4.5vw, 58px); line-height: 1.08; }
.admin-login-brand { gap: 11px; color: #344054; font-size: 13px; }
.admin-login-card { width: min(420px, calc(100% - 48px)); border-color: #dfe3ea; border-radius: 12px; padding: 34px; box-shadow: 0 16px 38px rgba(16, 24, 40, .07); }
.admin-login-icon { display: none; }
.admin-login-heading p { color: #667085; }
.admin-login-heading h2 { color: #182230; font-size: 24px; }
.admin-login-card .button { border-radius: 8px; background: #3157d5; box-shadow: none; }

.admin-app-shell { grid-template-columns: 236px minmax(0, 1fr); background: #f5f6f8; }
.admin-sidebar { border-right: 1px solid #dfe3ea; padding: 24px 15px 18px; background: #fff; }
.admin-brand { margin-bottom: 26px; color: #182230; }
.admin-brand small { color: #7a8494; }
.admin-nav { gap: 4px; }
.admin-nav a { min-height: 42px; border-radius: 7px; color: #596579; font-size: 11px; }
.admin-nav a:hover { background: #f5f6f8; color: #182230; }
.admin-nav a.is-active { background: #edf1fb; color: #2449bc; }
.admin-nav-icon,
.admin-nav a.is-active .admin-nav-icon { border-radius: 6px; background: transparent; color: inherit; }
.admin-nav-count { border-radius: 5px; background: #f2a33b; }
.admin-sidebar-status { border-color: #d9e8df; border-radius: 8px; background: #f2f8f5; }
.admin-sidebar-footer { border-top-color: #e4e7ec; }
.admin-topbar { min-height: 72px; border-bottom-color: #dfe3ea; padding: 15px clamp(24px, 3vw, 40px); background: #fff; }
.admin-topbar h1 { font-size: 22px; }
.admin-live-label { border-radius: 7px; background: #fff; color: #667085; }
.admin-content { width: min(1480px, 100%); padding: 26px clamp(24px, 3vw, 40px) 64px; }
.admin-section { gap: 16px; }
.admin-grid,
.admin-overview-layout { gap: 12px; }
.admin-card,
.admin-overview-card,
.admin-list,
.admin-create-block { border-color: #dfe3ea; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .03); }
.admin-card { min-height: 116px; padding: 17px; }
.admin-card-icon { border-radius: 7px; }
.admin-card-copy p { color: #667085; letter-spacing: 0; text-transform: none; }
.admin-card-copy strong { color: #182230; font-size: 21px; }
.admin-overview-card { padding: 20px; }
.admin-card-heading { margin-bottom: 17px; }
.admin-card-heading h3 { color: #344054; font-size: 13px; }
.admin-quick-actions a { border-radius: 7px; }
.admin-section-head { align-items: center; border-color: #dfe3ea; padding-bottom: 13px; }
.admin-section-head h2 { margin: 0; color: #182230; font-size: 18px; }
.admin-section-note,
.admin-count-label { border-radius: 6px; }
.admin-search input,
.admin-select-filter select,
.admin-key-form input,
.admin-key-form select { border-color: #d8dde6; border-radius: 7px; background-color: #fff; }
.admin-table th { color: #667085; letter-spacing: 0; text-transform: none; }
.admin-table tbody tr:nth-child(even) { background: #fbfcfd; }
.admin-create-block { padding: 18px; background: #fff; }
.admin-create-heading > div { border-radius: 7px; }
.admin-actions .text-button,
.admin-pagination select,
.admin-pagination button { border-radius: 6px; }

@media (max-width: 900px) {
  .site-body { --header-space: 120px; }
  .site-body .site-header { min-height: 112px; grid-template-columns: 1fr auto; gap: 8px; padding-inline: 20px; }
  .site-body .page-tabs { order: 3; grid-column: 1 / -1; justify-content: center; }
  .site-body .hero { grid-template-columns: 1fr; }
  .site-body .hero-visual { width: 100%; }
  .site-body .orders-workspace { grid-template-columns: 1fr; }
  .admin-login-screen { grid-template-columns: 1fr; }
  .admin-login-intro { min-height: 220px; border-right: 0; border-bottom: 1px solid #dfe3ea; padding: 30px 28px; }
  .admin-login-copy h1 { font-size: 36px; }
  .admin-login-card { margin-block: 36px; }
}

@media (max-width: 700px) {
  .site-body { --header-space: 112px; }
  .site-body .site-header { min-height: 104px; }
  .site-body .brand small { display: none; }
  .site-body .page-tabs { justify-content: space-between; overflow-x: auto; }
  .site-body .page-tabs a { flex: 1; padding-inline: 10px; text-align: center; }
  .site-body .page-shell { width: calc(100% - 24px); }
  .site-body .page-view { padding: 20px 0 48px; }
  .site-body .hero { min-height: 0; gap: 30px; border-radius: 13px; padding: 34px 20px 20px; }
  .site-body .hero h1 { margin-top: 22px; font-size: 40px; }
  .site-body .hero .lead { font-size: 14px; }
  .site-body .hero-actions { grid-template-columns: 1fr; }
  .site-body .hero-visual { min-height: 340px; border-radius: 10px; padding: 17px; }
  .site-body .hero-orbit { width: 178px; height: 178px; }
  .site-body .hero-orbit::before { width: 124px; height: 124px; }
  .site-body .intro-grid article,
  .site-body .guide-grid article { min-height: 220px; padding: 25px; }
  .site-body .intro-grid h3,
  .site-body .guide-grid h3 { margin-top: 38px; }
  .site-body .section-heading,
  .site-body .section-heading.centered { padding: 24px 4px 22px; }
  .site-body .section-heading h2 { font-size: 34px; }
  .site-body .purchase-steps { padding: 14px 10px; }
  .site-body #page-buy .purchase-panel,
  .site-body #page-buy .result-panel,
  .site-body .faq-section,
  .site-body .order-query-panel { border-radius: 10px; padding: 22px 18px; }
  .site-body #page-support { min-height: 0; padding-top: 20px; }
  .site-body .support-card { grid-template-columns: 1fr; gap: 28px; border-radius: 11px; padding: 30px 22px; }
  .site-body .support-actions { grid-template-columns: 1fr; }
  .site-body .support-card #support-email-link { grid-column: auto; }
  .site-body .footer.footer-compact { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-body .footer-brand { grid-column: 1 / -1; }
  .site-body .orders-workspace { padding-top: 20px; }
  .site-body .orders-assurance { border-radius: 10px; padding: 24px 20px; }
  .site-body .chat-widget { right: 14px; bottom: 14px; }

  .admin-app-shell { display: block; }
  .admin-sidebar { position: sticky; width: 100%; height: auto; grid-template-columns: auto minmax(0, 1fr) auto; border-right: 0; border-bottom: 1px solid #dfe3ea; padding: 9px 12px; }
  .admin-nav { justify-content: center; }
  .admin-nav a { min-width: 38px; min-height: 38px; }
  .admin-topbar { min-height: 76px; padding: 15px 18px; }
  .admin-content { padding: 20px 14px 54px; }
  .admin-grid,
  .admin-overview-layout,
  .admin-key-form { grid-template-columns: 1fr; }
}

/* Homepage: focused single-column presentation. */
.site-body #page-home .hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 820px);
  place-content: center;
  text-align: center;
}

.site-body #page-home .hero-text {
  width: 100%;
  max-width: 820px;
  justify-self: center;
  align-items: center;
  text-align: center;
}

.site-body #page-home .hero h1 {
  max-width: none;
  margin: 0 0 22px;
}

.site-body #page-home .hero .lead {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

.site-body #page-home .hero-actions {
  justify-content: center;
}

.site-body #page-home .platform-line {
  justify-content: center;
  font-size: 18px;
}

@media (max-width: 700px) {
  .site-body #page-home .hero {
    min-height: 540px;
    grid-template-columns: 1fr;
    padding: 38px 20px;
  }

  .site-body #page-home .hero h1 {
    margin-top: 0;
  }
}

/* Shared Outline wordmark. */
.brand-logo {
  display: block;
  width: auto;
  height: auto;
}

.site-body .header-brand-logo {
  width: 122px;
  max-height: 32px;
}

.site-body .footer-brand {
  display: block;
  align-items: start;
}

.site-body .footer-brand-logo {
  width: 116px;
  margin-top: 2px;
}

.admin-login-logo {
  width: 148px;
}

.admin-sidebar-logo {
  width: 126px;
}

@media (max-width: 700px) {
  .site-body .header-brand-logo {
    width: 108px;
  }

  .site-body .footer-brand-logo {
    width: 100px;
  }

  .admin-sidebar-logo {
    width: 34px;
    height: 34px;
    object-fit: cover;
    object-position: left;
  }
}

/* Admin sign-in: centered single-panel layout. */
.admin-login-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 72px 24px 40px;
  background: #f5f6f8;
}

.admin-login-intro {
  position: absolute;
  top: 28px;
  left: 32px;
  min-height: 0;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
}

.admin-login-card {
  width: min(420px, 100%);
  margin: 0;
}

@media (max-width: 700px) {
  .admin-login-screen {
    padding: 92px 20px 32px;
  }

  .admin-login-intro {
    top: 24px;
    left: 24px;
    min-height: 0;
    border: 0;
    padding: 0;
  }

  .admin-login-logo {
    width: 128px;
  }

  .admin-login-card {
    width: min(420px, 100%);
    margin: 0;
    padding: 26px;
  }
}

/* Compact support contact card. */
.site-body #page-support {
  padding-top: 30px;
}

.site-body .support-card {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  border-radius: 12px;
  padding: 28px 34px;
}

.site-body .support-card .support-copy h2 {
  margin-bottom: 10px;
  font-size: 34px;
}

.site-body .support-card .support-copy > p:last-child {
  font-size: 13px;
  line-height: 1.65;
}

.site-body .support-actions {
  align-self: center;
  display: block;
}

.site-body .support-card .support-actions .button,
.site-body .support-card #support-email-link {
  min-width: 280px;
  min-height: 44px;
  grid-column: auto;
  border-color: var(--pro-blue);
  border-radius: 8px;
  background: var(--pro-blue);
  color: #fff;
}

@media (max-width: 700px) {
  .site-body #page-support {
    padding-top: 20px;
  }

  .site-body .support-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }

  .site-body .support-card .support-actions .button,
  .site-body .support-card #support-email-link {
    width: 100%;
    min-width: 0;
  }
}

/* Homepage hero: restrained animated ambient background. */
.site-body #page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(125deg, #edf9f5 0%, #f4f7ff 32%, #f4f0ff 65%, #eef9f6 100%);
  background-size: 260% 260%;
  animation: hero-surface-shift 10s ease-in-out infinite;
}

.site-body #page-home .hero::before,
.site-body #page-home .hero::after {
  position: absolute;
  display: block;
  pointer-events: none;
  content: "";
}

.site-body #page-home .hero::before {
  z-index: 0;
  inset: -35%;
  background:
    radial-gradient(circle at 30% 42%, rgba(63, 183, 143, .46) 0, rgba(63, 183, 143, 0) 30%),
    radial-gradient(circle at 69% 35%, rgba(67, 102, 221, .4) 0, rgba(67, 102, 221, 0) 32%),
    radial-gradient(circle at 56% 74%, rgba(136, 96, 207, .3) 0, rgba(136, 96, 207, 0) 27%);
  filter: blur(16px);
  animation: hero-ambient-drift 11s ease-in-out infinite alternate;
}

.site-body #page-home .hero::after {
  z-index: 1;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 96, 135, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 96, 135, .055) 1px, transparent 1px);
  background-position: center;
  background-size: 48px 48px;
  opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 68% 78% at center, #000 12%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 72% at center, #000 10%, transparent 76%);
  animation: hero-grid-flow 15s linear infinite;
}

.site-body #page-home .hero-text {
  position: relative;
  z-index: 2;
}

.site-body #page-home .hero h1 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

@keyframes hero-ambient-drift {
  0% { transform: translate3d(-3%, -2%, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.07); }
  100% { transform: translate3d(-1%, 4%, 0) scale(1.03); }
}

@keyframes hero-surface-shift {
  0%, 100% { background-position: 0% 45%; }
  50% { background-position: 100% 55%; }
}

@keyframes hero-grid-flow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-body #page-home .hero { animation-duration: 24s; }
  .site-body #page-home .hero::before { animation-duration: 28s; }
  .site-body #page-home .hero::after { animation-duration: 36s; }
}

/* Guide title refinement. */
.site-body #page-guide .section-heading h2 {
  font-size: clamp(29px, 3.6vw, 43px);
}

/* Header navigation: increase the existing labels by exactly 4px. */
.site-body .page-tabs a {
  font-size: 16px;
}

.site-body .header-actions .text-link {
  font-size: 15px;
}

/* Admin legibility and alignment. */
.admin-body {
  font-size: 15px;
}

.admin-nav a {
  min-height: 46px;
  font-size: 14px;
}

.admin-nav-count,
.admin-sidebar-status small,
.admin-sidebar-footer small {
  font-size: 11px;
}

.admin-sidebar-status strong,
.admin-sidebar-footer p {
  font-size: 13px;
}

.admin-topbar h1 {
  font-size: 26px;
}

.admin-live-label,
.admin-topbar .button,
.admin-dashboard-message {
  font-size: 13px;
}

.admin-content {
  width: min(1560px, 100%);
  padding-inline: clamp(24px, 2.6vw, 40px);
}

.admin-grid {
  gap: 16px;
}

.admin-card {
  min-height: 138px;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.admin-card-icon {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.admin-card-copy p {
  font-size: 13px;
}

.admin-card-copy strong {
  margin-block: 7px 4px;
  font-size: 30px;
}

.admin-card-copy span {
  font-size: 12px;
}

.admin-overview-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr) minmax(320px, .9fr);
  gap: 18px;
}

.admin-overview-card {
  padding: 26px;
}

.admin-card-heading h3 {
  font-size: 18px;
}

.admin-card-badge {
  font-size: 12px;
}

.admin-overview-bars {
  gap: 20px;
}

.admin-overview-bar > div,
.admin-overview-bar strong,
.admin-focus-list dt,
.admin-focus-list dd,
.admin-quick-actions span {
  font-size: 14px;
}

.admin-focus-list > div {
  min-height: 48px;
  padding-block: 13px;
}

.admin-quick-actions {
  gap: 10px;
}

.admin-quick-actions a {
  min-height: 54px;
  padding: 13px 16px;
}

.admin-section-head {
  min-height: 70px;
  align-items: center;
}

.admin-section-head h2 {
  font-size: 24px;
}

.admin-section-note p,
.admin-count-label {
  font-size: 12px;
}

.admin-filter-bar {
  gap: 12px;
}

.admin-search input {
  width: clamp(280px, 30vw, 410px);
}

.admin-search input,
.admin-select-filter select {
  min-height: 44px;
  font-size: 14px;
}

.admin-select-filter select {
  min-width: 160px;
}

.admin-create-block {
  padding: 26px;
}

.admin-create-heading {
  margin-bottom: 20px;
}

.admin-create-heading strong {
  font-size: 16px;
}

.admin-key-form {
  grid-template-columns: minmax(155px, .9fr) minmax(170px, .9fr) minmax(220px, 1.25fr) minmax(210px, 1.15fr) auto;
  gap: 14px;
  align-items: end;
}

.admin-key-form .field {
  min-width: 0;
  gap: 8px;
}

.admin-key-form .field span {
  font-size: 13px;
}

.admin-key-form input,
.admin-key-form select,
.admin-key-form .button {
  min-height: 46px;
  font-size: 14px;
}

.admin-list {
  width: 100%;
}

.admin-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-size: 14px;
}

.admin-orders-table {
  min-width: 1080px;
}

.admin-keys-table {
  min-width: 920px;
}

.admin-table th,
.admin-table td {
  padding: 17px 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  font-size: 12px;
}

.admin-table strong,
.admin-table span {
  font-size: 14px;
}

.admin-table small,
.admin-mono-cell,
.admin-key-cell {
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-table .status,
.admin-table .expiry-badge {
  padding: 6px 9px;
  font-size: 12px;
}

.admin-status-cell {
  gap: 8px;
  align-items: center;
}

.admin-actions {
  min-width: 0;
  gap: 7px;
  align-items: center;
}

.admin-actions .text-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.admin-orders-table th:nth-child(1),
.admin-orders-table td:nth-child(1) { width: 10%; }
.admin-orders-table th:nth-child(2),
.admin-orders-table td:nth-child(2) { width: 17%; }
.admin-orders-table th:nth-child(3),
.admin-orders-table td:nth-child(3) { width: 10%; }
.admin-orders-table th:nth-child(4),
.admin-orders-table td:nth-child(4) { width: 9%; }
.admin-orders-table th:nth-child(5),
.admin-orders-table td:nth-child(5) { width: 12%; }
.admin-orders-table th:nth-child(6),
.admin-orders-table td:nth-child(6) { width: 11%; }
.admin-orders-table th:nth-child(7),
.admin-orders-table td:nth-child(7) { width: 10%; }
.admin-orders-table th:nth-child(8),
.admin-orders-table td:nth-child(8) { width: 21%; }

.admin-keys-table th:nth-child(1),
.admin-keys-table td:nth-child(1) { width: 12%; }
.admin-keys-table th:nth-child(2),
.admin-keys-table td:nth-child(2) { width: 22%; }
.admin-keys-table th:nth-child(3),
.admin-keys-table td:nth-child(3) { width: 22%; }
.admin-keys-table th:nth-child(4),
.admin-keys-table td:nth-child(4) { width: 11%; }
.admin-keys-table th:nth-child(5),
.admin-keys-table td:nth-child(5) { width: 11%; }
.admin-keys-table th:nth-child(6),
.admin-keys-table td:nth-child(6) { width: 22%; }

.admin-pagination {
  min-height: 48px;
  font-size: 13px;
}

.admin-pagination select,
.admin-pagination button {
  min-height: 38px;
  font-size: 13px;
}

@media (max-width: 1240px) {
  .admin-overview-layout {
    grid-template-columns: 1fr 1fr;
  }

  .admin-status-overview {
    grid-column: 1 / -1;
  }

  .admin-key-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-key-form .button {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .admin-topbar h1 { font-size: 23px; }
  .admin-nav a { font-size: 13px; }
  .admin-overview-layout { grid-template-columns: 1fr; }
  .admin-status-overview { grid-column: auto; }
  .admin-section-head-stack { align-items: stretch; }
  .admin-filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) 140px; }
  .admin-search input,
  .admin-select-filter select { width: 100%; min-width: 0; }
  .admin-key-form { grid-template-columns: 1fr; }
}

/* Public footer: requested deep green surface with readable text. */
.site-body .footer.footer-compact {
  background: rgb(24, 55, 41);
  color: #fff;
}

.site-body .footer.footer-compact strong,
.site-body .footer.footer-compact h3 {
  color: #fff;
}

.site-body .footer.footer-compact p,
.site-body .footer.footer-compact a {
  color: rgba(255, 255, 255, .76);
}

.site-body .footer.footer-compact a:hover {
  color: #fff;
}

.site-body .footer.footer-compact .footer-download img {
  filter: brightness(0) invert(1);
  opacity: .76;
}

/* Guide: clear three-step flow. */
.site-body #page-guide .section-heading,
.site-body #page-guide .section-heading.centered {
  max-width: none;
  padding: 32px 0 22px;
  text-align: center;
}

.site-body #page-guide .section-heading h2 {
  margin: 0;
}

.site-body #page-guide .guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 4px;
}

.site-body #page-guide .guide-grid article {
  --guide-accent: #3157d5;
  position: relative;
  min-height: 250px;
  overflow: visible;
  border: 1px solid #d9e0eb;
  border-top: 4px solid var(--guide-accent);
  border-radius: 14px;
  padding: 26px 28px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .055);
}

.site-body #page-guide .guide-grid article:nth-child(2) {
  --guide-accent: #3157d5;
}

.site-body #page-guide .guide-grid article:nth-child(3) {
  --guide-accent: #3157d5;
}

.site-body #page-guide .guide-grid article:not(:last-child)::after {
  position: absolute;
  z-index: 3;
  top: 39px;
  right: -31px;
  width: 30px;
  display: grid;
  place-items: center;
  color: #8b9bb5;
  font-size: 24px;
  line-height: 1;
  content: "→";
}

.site-body #page-guide .guide-grid h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  color: #182230;
  font-size: 23px;
  line-height: 1.25;
}

.site-body #page-guide .guide-title-index {
  color: #182230;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
}

.site-body #page-guide .guide-grid p {
  margin: 0;
  color: #596579;
  font-size: 15px;
  line-height: 1.75;
}

.site-body #page-guide .client-downloads {
  gap: 8px;
  margin-top: 24px;
  padding-top: 0;
}

.site-body #page-guide .client-downloads a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0ec;
  border-radius: 7px;
  padding: 7px 11px;
  background: #f7f9fc;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-body #page-guide .client-downloads a:hover {
  border-color: #9fb1e9;
  background: #f0f4ff;
  color: #2449bc;
}

@media (max-width: 900px) {
  .site-body #page-guide .guide-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-body #page-guide .guide-grid article {
    min-height: 0;
  }

  .site-body #page-guide .guide-grid article:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -29px;
    width: auto;
    transform: translateX(50%) rotate(90deg);
  }
}

@media (max-width: 560px) {
  .site-body #page-guide .section-heading,
  .site-body #page-guide .section-heading.centered {
    padding: 28px 0 22px;
  }

  .site-body #page-guide .guide-grid article {
    padding: 24px 22px;
  }

  .site-body #page-guide .client-downloads a {
    flex: 1 1 calc(50% - 8px);
  }
}

/* Shared generated background for every public-facing page. */
.site-body,
.site-body.orders-body {
  background-color: #f5f7fa;
  background-image:
    linear-gradient(rgba(247, 249, 252, .56), rgba(247, 249, 252, .68)),
    url("/page-background-v1.jpg");
  background-position: center top, center center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat;
}

.site-body #page-home .hero {
  background-image:
    linear-gradient(125deg, rgba(237, 249, 245, .7) 0%, rgba(244, 247, 255, .68) 32%, rgba(244, 240, 255, .66) 65%, rgba(238, 249, 246, .72) 100%),
    url("/page-background-v1.jpg");
  background-position: 0% 45%, center center;
  background-size: 260% 260%, cover;
  background-repeat: no-repeat;
}

@keyframes hero-surface-shift {
  0%, 100% { background-position: 0% 45%, center center; }
  50% { background-position: 100% 55%, center center; }
}

@media (max-width: 700px) {
  .site-body,
  .site-body.orders-body {
    background-attachment: scroll, scroll;
    background-position: center top, center top;
  }
}
