:root {
  color-scheme: light;
  --ink: #14382e;
  --ink-strong: #09271f;
  --ink-soft: #48645b;
  --muted: #536b62;
  --surface: #ffffff;
  --surface-soft: #f4f7f1;
  --surface-tint: #edf4e8;
  --page: #f7f8f4;
  --line: #dce5dc;
  --line-strong: #c7d4c8;
  --brand: #1c5744;
  --brand-hover: #123f31;
  --accent: #b9e768;
  --accent-strong: #89bf36;
  --accent-soft: #effbd9;
  --danger: #a53b31;
  --danger-soft: #fff0ed;
  --warning: #93640c;
  --warning-soft: #fff7dc;
  --info: #23628c;
  --info-soft: #eaf5fc;
  --shadow-sm: 0 1px 2px rgb(14 43 34 / 6%), 0 6px 18px rgb(14 43 34 / 5%);
  --shadow-md: 0 18px 50px rgb(14 43 34 / 12%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shell: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

img,
svg {
  display: block;
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--ink-strong);
  line-height: 1.13;
  letter-spacing: -0.032em;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.narrow-shell {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink-strong);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #0b5d47;
  outline-offset: 3px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-small {
  width: 16px;
  height: 16px;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(220 229 220 / 78%);
  background: rgb(247 248 244 / 88%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.verification-banner {
  border-bottom: 1px solid #ead89c;
  background: var(--warning-soft);
}

.verification-banner-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
  padding-block: 11px;
}

.verification-banner-inner > div {
  display: grid;
  gap: 2px;
}

.verification-banner-inner strong {
  color: var(--ink-strong);
}

.verification-banner-inner span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.verification-banner-status {
  min-height: 18px;
  grid-column: 1 / -1;
  color: var(--danger) !important;
}

.verification-banner-status.success {
  color: #286829 !important;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.site-footer .brand img {
  height: 30px;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
}

.guest-nav,
.account-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink-strong);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -25px;
  left: 0;
  height: 2px;
  border-radius: 4px;
  background: var(--accent-strong);
  content: "";
}

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

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease,
    box-shadow 150ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 7px 18px rgb(28 87 68 / 16%);
}

.button-primary:hover:not(:disabled) {
  background: var(--brand-hover);
  box-shadow: 0 9px 22px rgb(28 87 68 / 22%);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--surface-soft);
}

.button-quiet {
  color: var(--ink-soft);
  background: transparent;
}

.button-quiet:hover:not(:disabled) {
  color: var(--ink-strong);
  background: var(--surface-tint);
}

.button-inverse {
  color: var(--ink-strong);
  background: var(--accent);
  box-shadow: 0 8px 22px rgb(0 0 0 / 14%);
}

.button-inverse:hover:not(:disabled) {
  background: #caf27e;
}

.button-danger {
  color: #fff;
  background: var(--danger);
}

.button-large {
  min-height: 50px;
  padding: 14px 20px;
}

.button-small {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 0.88rem;
}

.button-block {
  width: 100%;
}

.account-menu {
  position: relative;
}

.account-chip {
  max-width: 220px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--ink-strong);
  background: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.account-email {
  overflow: hidden;
  font-size: 0.83rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-popover {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: 230px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.account-beta-balance {
  display: grid;
  gap: 1px;
  margin: 1px 1px 7px;
  padding: 10px;
  border-radius: 9px;
  color: var(--ink-soft);
  background: var(--accent-soft);
}

.account-beta-balance span,
.account-beta-balance small {
  font-size: 0.7rem;
}

.account-beta-balance strong {
  color: var(--ink-strong);
  font-size: 1.12rem;
}

.account-popover a,
.account-popover button {
  width: 100%;
  display: block;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 650;
  text-align: left;
}

.account-popover a:hover,
.account-popover button:hover {
  color: var(--ink-strong);
  background: var(--surface-soft);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
  padding-block: 84px 100px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-centered {
  justify-content: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px rgb(137 191 54 / 15%);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.83rem;
  list-style: none;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-notes .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-strong);
  stroke-width: 2.4;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
}

.hero-visual::before {
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgb(185 231 104 / 28%), rgb(185 231 104 / 4%) 66%, transparent 70%);
}

.hero-visual::after {
  width: 330px;
  height: 330px;
  border: 1px dashed rgb(28 87 68 / 22%);
}

.server-preview {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 93%);
  box-shadow: 0 35px 85px rgb(13 51 39 / 18%);
}

.preview-topline {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.preview-label {
  max-width: 180px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 780;
}

.status-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.preview-topline .status-badge {
  justify-self: end;
}

.status-ready,
.status-running,
.status-active,
.status-approved {
  color: #286829;
  background: #e8f8dc;
}

.status-building,
.status-queued,
.status-provisioning,
.status-pending,
.status-safe-zone {
  color: var(--warning);
  background: var(--warning-soft);
}

.status-stopped,
.status-offline,
.status-failed,
.status-error,
.status-denied,
.status-revoked {
  color: var(--danger);
  background: var(--danger-soft);
}

.status-unknown,
.status-expired,
.status-used,
.status-stale {
  color: var(--muted);
  background: var(--surface-soft);
}

.preview-body {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 28px 26px 20px;
}

.preview-mark {
  width: 54px;
  height: 54px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: var(--brand);
  background: var(--accent-soft);
}

.muted-label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.preview-address {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 750;
}

.preview-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 26px 24px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}

.preview-specs div {
  padding-inline: 14px;
  border-right: 1px solid var(--line);
}

.preview-specs div:first-child {
  padding-left: 0;
}

.preview-specs div:last-child {
  padding-right: 0;
  border-right: 0;
}

.preview-specs dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-specs dd {
  margin: 0;
  color: var(--ink-strong);
  font-size: 0.86rem;
  font-weight: 750;
}

.preview-terminal {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 26px;
  color: #c8ef91;
  background: var(--ink-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.83rem;
}

.terminal-prompt {
  color: #79c166;
}

.terminal-cursor {
  width: 7px;
  height: 15px;
  background: #c8ef91;
  animation: blink 1.15s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 13px;
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 760;
}

.floating-card-ai {
  top: 65px;
  right: -6px;
  color: #65520e;
}

.floating-card-ai .icon {
  color: #b88911;
}

.floating-card-shield {
  bottom: 65px;
  left: -20px;
  color: var(--brand);
}

.configurator-section {
  padding: 104px 0 110px;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

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

.centered-heading {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

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

.section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.configurator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 28px;
}

.config-main {
  min-width: 0;
}

.choice-step {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}

.choice-step legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  padding: 0;
}

.choice-step legend > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.choice-step legend strong {
  color: var(--ink-strong);
  font-size: 1.08rem;
}

.choice-step legend small {
  color: var(--muted);
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--ink-strong);
  background: var(--accent);
  font-size: 0.83rem;
  font-weight: 830;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

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

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

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

.choice-card {
  position: relative;
  min-width: 0;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.choice-card:hover {
  border-color: #9eb8a5;
  transform: translateY(-1px);
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid #0b5d47;
  outline-offset: 3px;
}

.choice-card.selected,
.choice-card:has(input:checked) {
  border-color: var(--brand);
  background: #fbfef8;
  box-shadow: inset 0 0 0 1px var(--brand), var(--shadow-sm);
}

.choice-card input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.choice-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.choice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand);
  background: var(--surface-tint);
}

.choice-check {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  background: var(--surface);
}

.selected .choice-check,
.choice-card:has(input:checked) .choice-check {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.choice-check .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.choice-card h3 {
  margin: 15px 0 5px;
  font-size: 1rem;
}

.choice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.choice-card .pool-location,
.choice-card .package-specs {
  color: var(--ink-strong);
  font-weight: 690;
}

.choice-card .package-specs {
  margin-top: 11px;
  line-height: 1.6;
}

.choice-detail {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

.pool-choice-footer {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 18px;
}

.pool-choice-footer strong {
  color: var(--ink-strong);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.pool-choice-footer small {
  color: var(--muted);
  font-size: 0.72rem;
}

.choice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.choice-pill {
  padding: 4px 7px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.7rem;
  font-weight: 680;
}

.plan-price {
  margin-top: auto;
  padding-top: 15px;
  color: var(--ink-strong);
  font-size: 1.42rem;
  font-weight: 820;
  letter-spacing: -0.035em;
}

.plan-price small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

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

.term-choice {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.term-choice:hover {
  border-color: #9eb8a5;
}

.term-choice:has(input:focus-visible) {
  outline: 3px solid #0b5d47;
  outline-offset: 3px;
}

.term-choice.selected,
.term-choice:has(input:checked) {
  border-color: var(--brand);
  background: #fbfef8;
  box-shadow: inset 0 0 0 1px var(--brand);
}

.term-choice:has(input:disabled) {
  opacity: 0.52;
  cursor: not-allowed;
}

.term-choice input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
}

.term-choice strong {
  color: var(--ink-strong);
  font-size: 0.84rem;
}

.term-choice span {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 780;
}

.popular-tag {
  padding: 4px 7px;
  border-radius: 999px;
  color: #456814;
  background: var(--accent-soft);
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.loading-card,
.state-card {
  min-height: 130px;
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-soft);
  text-align: center;
}

.spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid var(--line-strong);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

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

.advanced-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.advanced-panel summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
}

.advanced-panel summary::-webkit-details-marker {
  display: none;
}

.advanced-panel summary > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.advanced-panel summary small {
  color: var(--muted);
  font-size: 0.78rem;
}

.summary-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--brand);
  background: var(--surface);
}

.summary-chevron {
  transition: transform 150ms ease;
}

.advanced-panel[open] .summary-chevron {
  transform: rotate(180deg);
}

.advanced-content {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.advanced-image-picker {
  margin: 0 0 24px;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.advanced-image-picker legend {
  padding: 0;
  color: var(--ink-strong);
  font-weight: 760;
}

.advanced-image-picker > p {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.advanced-image-picker .choice-card {
  min-height: 150px;
}

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

.connection-step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.connection-fields {
  margin-left: 47px;
}

.guest-password-toggle,
.guest-password-fields {
  margin-top: 16px;
}

.ssh-key-help {
  margin: 16px 0 0 47px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.customer-order-list {
  display: grid;
  gap: 10px;
}

.customer-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.customer-order > div:first-child,
.customer-order-status {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.customer-order small {
  color: var(--muted);
}

.customer-order-status {
  align-items: flex-end;
}

.customer-order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > span:first-child,
.field > label {
  color: var(--ink-strong);
  font-size: 0.8rem;
  font-weight: 750;
}

.field small,
.check-field small {
  color: var(--muted);
  font-size: 0.73rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

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

input:hover,
select:hover,
textarea:hover {
  border-color: #9eb8a5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(28 87 68 / 10%);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 25px;
  cursor: pointer;
}

.check-field input {
  width: 19px;
  min-height: 19px;
  margin-top: 1px;
  accent-color: var(--brand);
}

.check-field > span {
  display: flex;
  flex-direction: column;
}

.custom-specs {
  margin: 20px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.custom-specs legend {
  padding-inline: 7px;
  color: var(--ink-strong);
  font-size: 0.8rem;
  font-weight: 750;
}

.catalog-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--danger);
  background: var(--danger-soft);
  font-size: 0.86rem;
}

.order-summary {
  min-width: 0;
}

.summary-sticky {
  position: sticky;
  top: 98px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}

.summary-kicker {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.summary-sticky h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.summary-lines {
  margin: 0 0 20px;
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.summary-lines dt {
  color: var(--muted);
}

.summary-lines dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 700;
  text-align: right;
}

.summary-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0;
}

.summary-price span {
  color: var(--muted);
  font-size: 0.78rem;
}

.summary-price strong {
  color: var(--ink-strong);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.summary-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.quote-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote-result h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.quote-result p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.beta-order-notice {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #cbe5a3;
  border-radius: 11px;
  color: var(--ink-soft);
  background: var(--accent-soft);
}

.beta-order-notice > strong {
  color: var(--ink-strong);
}

.beta-order-notice p,
.quote-result .beta-order-notice p {
  margin: 0;
}

.beta-order-lines {
  display: grid;
  gap: 5px;
  margin: 2px 0;
}

.beta-order-lines div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.beta-order-lines dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 750;
  text-align: right;
}

.order-error {
  margin: 10px 0 0 !important;
  color: var(--danger) !important;
  text-align: center;
}

.quote-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  padding: 11px;
  border-radius: 9px;
  background: var(--surface);
}

.quote-total strong {
  color: var(--ink-strong);
}

.how-section {
  padding: 110px 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.how-grid li {
  position: relative;
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.how-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--line-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.how-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 16px;
  color: var(--brand);
  background: var(--accent-soft);
}

.how-grid h3 {
  margin-bottom: 8px;
  font-size: 1.32rem;
}

.how-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.ai-section {
  padding: 0 0 110px;
}

.ai-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 65px;
  padding: clamp(35px, 6vw, 70px);
  border-radius: 30px;
  color: #e9f3ee;
  background: var(--ink-strong);
  box-shadow: 0 28px 70px rgb(9 39 31 / 20%);
}

.ai-card h2 {
  margin-bottom: 17px;
  color: #fff;
}

.ai-card .eyebrow {
  color: var(--accent);
}

.ai-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: #b9cbc4;
}

.section-icon,
.large-section-icon {
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--brand);
  background: var(--accent);
}

.section-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 25px;
}

.large-section-icon {
  width: 72px;
  height: 72px;
}

.large-section-icon .icon {
  width: 32px;
  height: 32px;
}

.compact-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
}

.safety-list,
.permission-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 14px;
  background: rgb(255 255 255 / 5%);
}

.safety-list .icon {
  margin-top: 2px;
  color: var(--accent);
}

.safety-list span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.safety-list strong {
  color: #fff;
}

.safety-list small {
  color: #a9beb6;
}

.app-view {
  min-height: calc(100vh - 72px);
  padding: 58px 0 100px;
}

.handoff-shell {
  max-width: 760px;
}

.handoff-heading {
  align-items: center;
}

.handoff-heading .large-section-icon {
  flex: 0 0 auto;
}

.handoff-card,
.account-action-card {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.account-password-card {
  max-width: 580px;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.account-password-card h2 {
  margin-bottom: 20px;
  font-size: 1.45rem;
}

.account-password-form {
  max-width: 460px;
}

.password-required-note {
  margin: -3px 0 22px;
  padding: 14px;
  border: 1px solid #ead89c;
  border-radius: 11px;
  color: var(--ink-soft);
  background: var(--warning-soft);
}

.password-required-note strong {
  color: var(--ink-strong);
}

.password-required-note p {
  margin: 4px 0 0;
  font-size: 0.84rem;
}

.account-action-card {
  text-align: center;
}

.account-action-card .large-section-icon {
  margin: 0 auto 20px;
}

.account-action-card h2,
.handoff-card h2 {
  margin-bottom: 9px;
}

.account-action-card > p,
.handoff-card > p {
  color: var(--ink-soft);
}

.account-action-card .account-form {
  max-width: 460px;
  margin: 25px auto 0;
  text-align: left;
}

.account-action-card .state-actions {
  margin-top: 22px;
}

.handoff-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.handoff-review-head p {
  margin: 0;
  color: var(--muted);
}

.handoff-price {
  flex: 0 0 auto;
  text-align: right;
}

.handoff-price strong,
.handoff-price span {
  display: block;
}

.handoff-price strong {
  color: var(--ink-strong);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.handoff-price span {
  color: var(--muted);
  font-size: 0.78rem;
}

.handoff-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  padding: 14px;
  border-radius: 12px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.84rem;
}

.handoff-ssh {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.handoff-ssh .content-heading {
  margin-bottom: 14px;
}

.handoff-ssh .content-heading h2 {
  margin-bottom: 3px;
}

.handoff-ssh .content-heading p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.78rem;
}

.handoff-ssh .catalog-check {
  margin-top: 13px;
}

.handoff-note .icon {
  margin-top: 1px;
  color: var(--brand);
}

.handoff-status {
  min-height: 22px;
  margin: 13px 0 0;
  color: var(--danger);
  font-size: 0.84rem;
  text-align: center;
}

.app-shell {
  max-width: 1120px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.page-heading h1 {
  margin-bottom: 9px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.page-heading > div > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.dashboard-overview,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.beta-credit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid #cbe5a3;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}

.beta-credit-copy .summary-kicker {
  margin-bottom: 5px;
}

.beta-credit-copy h2 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.beta-credit-copy p,
.beta-credit-copy small,
[data-beta-credit-status] {
  margin: 0;
  color: var(--ink-soft);
}

.beta-credit-copy small {
  font-size: 0.75rem;
}

.beta-credit-actions {
  min-width: 210px;
  display: grid;
  justify-items: end;
  gap: 9px;
  text-align: right;
}

.beta-credit-amount {
  display: grid;
  justify-items: end;
  color: var(--ink-strong);
}

.beta-credit-amount strong {
  font-size: 2rem;
  font-weight: 830;
  letter-spacing: -0.04em;
}

.beta-credit-amount span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
}

[data-beta-credit-status] {
  min-height: 20px;
  font-size: 0.78rem;
}

.metric-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.metric-card .metric-label {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.metric-card .metric-value {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.7rem;
  font-weight: 820;
  letter-spacing: -0.035em;
}

.metric-card .metric-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.content-section {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.content-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

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

.server-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fdfefd;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.server-row:hover {
  border-color: #a7bbaa;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.server-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand);
  background: var(--surface-tint);
}

.server-main {
  min-width: 0;
}

.server-name {
  display: block;
  overflow: hidden;
  margin-bottom: 2px;
  color: var(--ink-strong);
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--muted);
  font-size: 0.76rem;
}

.server-specs-inline {
  display: flex;
  gap: 13px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 680;
}

.row-arrow {
  color: var(--muted);
  transform: rotate(-90deg);
}

.empty-state,
.error-state,
.loading-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 35px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: center;
}

.state-inner {
  max-width: 420px;
}

.state-inner .section-icon {
  margin-inline: auto;
}

.state-inner h3 {
  margin-bottom: 8px;
}

.state-inner p {
  color: var(--muted);
}

.state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.error-state {
  border-color: #ebc5bf;
  background: var(--danger-soft);
}

.error-state .section-icon {
  color: var(--danger);
  background: #fff;
}

.connect-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px;
  border: 1px solid #cbe5a3;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}

.connect-prompt > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
}

.connect-prompt .section-icon {
  grid-row: 1 / 3;
}

.connect-prompt h2 {
  margin: 1px 0 5px;
  font-size: 1.18rem;
}

.connect-prompt p {
  margin: 0;
  color: var(--ink-soft);
}

.back-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.back-link:hover {
  color: var(--brand);
}

.detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 24px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail-identity {
  display: flex;
  align-items: center;
  gap: 17px;
}

.detail-identity .server-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.detail-identity h1 {
  margin-bottom: 7px;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
}

.detail-identity p {
  margin: 0;
  color: var(--muted);
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.detail-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail-card-wide {
  grid-column: 1 / -1;
}

.detail-card h2 {
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  max-width: 65%;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink-strong);
  font-weight: 700;
  text-align: right;
}

.ssh-command-field {
  margin-top: 18px;
}

.ssh-command-field .copy-field {
  display: flex;
  gap: 8px;
}

.ssh-command-field .copy-field input {
  min-width: 0;
  padding-right: 12px;
}

.ssh-command-field .copy-field .button {
  flex: 0 0 auto;
}

.connection-guidance {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.connection-guidance > strong {
  color: var(--ink-strong);
}

.connection-guidance p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.connection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 32px 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.timeline li small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 500;
}

.timeline li::before {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--line-strong);
  box-shadow: 0 0 0 1px var(--line-strong);
  content: "";
}

.timeline li::after {
  position: absolute;
  top: 12px;
  right: 0;
  left: 14px;
  height: 2px;
  background: var(--line);
  content: "";
}

.timeline li:last-child::after {
  display: none;
}

.timeline li.complete,
.timeline li.active {
  color: var(--ink-strong);
  font-weight: 720;
}

.timeline li.complete::before,
.timeline li.active::before {
  background: var(--accent-strong);
  box-shadow: 0 0 0 1px var(--accent-strong);
}

.timeline li.complete::after {
  background: var(--accent-strong);
}

.connect-heading {
  align-items: center;
}

.connect-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  gap: 22px;
  margin-bottom: 22px;
}

.connect-steps,
.connector-card,
.permission-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.connect-steps h2,
.connector-card h2,
.permission-card h2 {
  font-size: 1.35rem;
}

.connect-steps ol {
  display: grid;
  gap: 18px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.connect-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
}

.connect-steps li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--ink-strong);
  background: var(--accent);
  font-size: 0.77rem;
  font-weight: 820;
}

.connect-steps strong {
  display: block;
  margin: 3px 0 4px;
  color: var(--ink-strong);
}

.connect-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.connector-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.connector-heading h2 {
  margin: 0;
}

.copy-field {
  position: relative;
  display: block;
}

.copy-field input {
  padding-right: 48px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--brand);
  background: var(--surface-tint);
}

.copy-field .icon-button {
  position: absolute;
  top: 4px;
  right: 4px;
}

.connector-card .field {
  margin-bottom: 17px;
}

.permission-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.permission-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.permission-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.85rem;
  font-weight: 680;
}

.permission-list .icon {
  width: 17px;
  height: 17px;
  color: var(--accent-strong);
  stroke-width: 2.4;
}

.permission-list .permission-denied .icon {
  color: var(--muted);
}

.subnav {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.subnav button {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 720;
  white-space: nowrap;
}

.subnav button:hover {
  color: var(--ink-strong);
  background: var(--surface-soft);
}

.subnav button.active {
  color: #fff;
  background: var(--brand);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 16px;
}

.admin-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-card h2 {
  margin-bottom: 17px;
  font-size: 1.13rem;
}

.admin-onboarding-layout {
  align-items: start;
  margin-bottom: 28px;
}

.admin-invite-form > p,
.admin-section-heading p {
  margin: -8px 0 18px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.admin-invite-form .form-grid {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

.admin-invitation-link {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
}

.admin-invitation-link strong {
  color: var(--ink-strong);
}

.admin-invitation-link p {
  margin: 4px 0 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.admin-invitation-link .copy-row {
  display: flex;
  gap: 8px;
  margin: 0;
}

.admin-invitation-link input {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
}

.admin-section-heading,
.admin-customer-heading,
.admin-customer-footer,
.admin-list-item,
.admin-list-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-section-heading h2,
.admin-section-heading p {
  margin-bottom: 0;
}

.admin-section-heading {
  margin-bottom: 16px;
}

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

.admin-list-item {
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.admin-list-item-main {
  min-width: 0;
}

.admin-list-item-main strong,
.admin-list-item-main small,
.admin-customer-heading strong,
.admin-customer-heading small {
  display: block;
}

.admin-list-item-main strong,
.admin-list-item-main small {
  overflow-wrap: anywhere;
}

.admin-list-item-main small,
.admin-customer-heading small,
.admin-customer-footer small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.admin-customer-section {
  margin-top: 10px;
}

.admin-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-customer-card {
  display: grid;
  gap: 16px;
}

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

.admin-customer-facts > div {
  min-width: 0;
  padding: 10px;
  border-radius: 9px;
  background: var(--surface-soft);
}

.admin-customer-facts dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-customer-facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-credit-form {
  display: grid;
  grid-template-columns: minmax(90px, 0.5fr) minmax(120px, 1fr) auto;
  gap: 8px;
}

.admin-credit-form .form-status {
  grid-column: 1 / -1;
  margin: 0;
}

.delivery-order-list,
.delivery-unit-list,
.delivery-checklist {
  display: grid;
  gap: 14px;
}

.ovh-owned-inventory {
  margin-bottom: 22px;
}

.inventory-warning {
  margin: 0 0 16px;
  padding: 11px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.8rem;
}

.ovh-inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.ovh-inventory-grid h3,
.ovh-inventory-grid summary {
  margin: 0 0 10px;
  color: var(--ink-strong);
  font-size: 0.88rem;
  font-weight: 750;
}

.ovh-inventory-grid summary {
  cursor: pointer;
}

.ovh-ip-list {
  margin-top: 10px;
}

.ovh-owned-inventory .admin-list-item-actions {
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
}

.ovh-owned-inventory .admin-list-item-actions small,
.ovh-owned-inventory .admin-list-item > small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.delivery-order-heading,
.delivery-unit-heading,
.delivery-unit-meta,
.delivery-order-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.delivery-order-heading {
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.delivery-order-heading h2,
.delivery-order-heading .eyebrow {
  margin-bottom: 4px;
}

.delivery-order-heading small,
.delivery-unit-heading small,
.delivery-order-progress small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.delivery-order-progress {
  align-items: flex-end;
  flex-direction: column;
  min-width: 130px;
  text-align: right;
}

.delivery-unit-list {
  margin-top: 16px;
}

.delivery-unit {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.delivery-unit.is-busy {
  opacity: 0.72;
}

.delivery-unit-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.delivery-unit-meta span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 0.72rem;
}

.delivery-match-form,
.delivery-target-form,
.delivery-evidence-form {
  display: grid;
  gap: 9px;
}

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

.delivery-match-form .form-help,
.delivery-target-form .form-help {
  grid-column: 1 / -1;
  margin: 0;
}

.delivery-target-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
}

.delivery-target-form .field {
  margin: 0;
}

.delivery-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.delivery-check strong,
.delivery-check small {
  display: block;
}

.delivery-check small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.delivery-evidence {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.delivery-evidence summary {
  cursor: pointer;
  color: var(--ink-strong);
  font-weight: 750;
}

.delivery-evidence > p {
  margin: 10px 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

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

.delivery-evidence-form .button {
  justify-self: start;
}

.queue-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.queue-item strong {
  display: block;
  overflow: hidden;
  color: var(--ink-strong);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item small {
  color: var(--muted);
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.83rem;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.data-table th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.catalog-warning {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
  padding: 17px;
  border: 1px solid #ead89c;
  border-radius: 13px;
  background: var(--warning-soft);
}

.catalog-warning > .icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--warning);
}

.catalog-warning strong {
  color: var(--ink-strong);
}

.catalog-warning p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.vault-boundary {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
  padding: 17px;
  border: 1px solid #b9d1bd;
  border-radius: 13px;
  background: #f0f7f1;
}

.vault-boundary > .icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand);
}

.vault-boundary p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.vault-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.vault-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.vault-card .content-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.vault-form {
  display: grid;
  gap: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.vault-list {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.vault-item {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfefd;
}

.vault-item-head,
.vault-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vault-item p,
.vault-item small {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.vault-public-key {
  max-height: 82px;
  overflow: auto;
  padding: 9px;
  border-radius: 8px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.vault-rotate-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

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

.catalog-section {
  margin-bottom: 18px;
}

.catalog-section .content-heading > div > p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-items {
  display: grid;
  gap: 11px;
}

.catalog-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfefd;
}

.catalog-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
  cursor: pointer;
  list-style: none;
}

.catalog-item > summary::-webkit-details-marker {
  display: none;
}

.catalog-item > summary > span:first-child {
  min-width: 0;
}

.catalog-item > summary strong,
.catalog-item > summary small {
  display: block;
}

.catalog-item > summary strong {
  overflow: hidden;
  color: var(--ink-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-item > summary small {
  color: var(--muted);
}

.catalog-item[open] > summary {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.catalog-form {
  padding: 18px;
}

.catalog-form .form-grid {
  margin-bottom: 0;
}

.catalog-check {
  align-self: center;
}

.catalog-advanced {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.catalog-advanced > summary {
  padding: 13px 15px;
  color: var(--ink-strong);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
}

.catalog-advanced > .form-grid,
.catalog-advanced > .catalog-mapping-note {
  margin-inline: 15px;
}

.catalog-advanced > .form-grid {
  padding-bottom: 15px;
}

.catalog-mapping-note,
.catalog-readonly {
  color: var(--muted);
  font-size: 0.78rem;
}

.catalog-readonly {
  align-self: center;
  margin: 0;
}

.catalog-confirm {
  margin-top: 18px;
  border-color: #ead89c;
  background: var(--warning-soft);
}

.catalog-save-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.catalog-form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 0.82rem;
  text-align: right;
}

.catalog-form-status.success {
  color: #286829;
}

.provider-status-card,
.supply-list-card,
.supply-drafts-card,
.marketplace-create-form,
.package-list-card {
  margin-bottom: 18px;
}

.provider-status-card .content-heading p,
.supply-list-card .content-heading p,
.supply-drafts-card .content-heading p,
.marketplace-create-form .content-heading p,
.system-delivery-card .content-heading p,
.marketplace-list-section .content-heading p,
.package-list-card .content-heading p,
.pool-subsection .content-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.provider-status-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.provider-status-actions small,
.provider-safety-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.provider-safety-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.provider-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-size: 0.82rem;
}

.provider-check-succeeded,
.provider-check-ready {
  color: #286829;
  background: #edf7ed;
}

.provider-check-failed {
  color: var(--danger);
  background: var(--danger-soft);
}

.provider-preview-result {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.provider-preview-result small {
  color: inherit;
}

.supply-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 9px;
  margin-bottom: 16px;
}

.supply-search .field {
  margin: 0;
}

.supply-offers,
.provider-drafts,
.pool-workspaces,
.pool-backends,
.pool-system-list {
  display: grid;
  gap: 10px;
}

.supply-offer {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfefd;
}

.supply-offer > summary,
.pool-workspace-card > summary,
.pool-backend > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px;
  list-style: none;
  cursor: pointer;
}

.supply-offer > summary::-webkit-details-marker,
.pool-workspace-card > summary::-webkit-details-marker,
.pool-backend > summary::-webkit-details-marker {
  display: none;
}

.supply-offer[open] > summary,
.pool-workspace-card[open] > summary,
.pool-backend[open] > summary {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.supply-offer-main,
.supply-offer-price,
.pool-workspace-card > summary > div,
.pool-backend > summary > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.supply-offer-main strong,
.pool-workspace-card > summary strong,
.pool-backend > summary strong {
  overflow: hidden;
  color: var(--ink-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.supply-offer-main small,
.supply-offer-price small,
.pool-workspace-card > summary small,
.pool-backend > summary small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.supply-offer-price {
  flex: 0 0 auto;
  justify-items: end;
  text-align: right;
}

.supply-offer-price strong {
  color: var(--ink-strong);
  font-size: 1.05rem;
}

.supply-offer-price .supply-price-note {
  max-width: 340px;
  line-height: 1.3;
  white-space: normal;
}

.ovh-preview-form {
  padding: 18px;
}

.ovh-price-estimate-slot {
  margin-top: 16px;
}

.ovh-price-estimate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.ovh-price-estimate > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.ovh-price-estimate strong {
  color: var(--ink-strong);
}

.ovh-price-estimate small {
  color: var(--muted);
  font-size: 0.74rem;
}

.ovh-price-estimate > small {
  grid-column: 1 / -1;
}

.ovh-price-estimate-incomplete {
  grid-template-columns: 1fr;
}

.ovh-price-details {
  flex: 1 0 100%;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  color: var(--ink-soft);
}

.ovh-price-details > summary {
  color: var(--ink-strong);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.ovh-price-totals {
  display: grid;
  gap: 5px;
  margin: 11px 0;
}

.ovh-price-totals > div,
.ovh-price-lines > li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ovh-price-totals dt,
.ovh-price-totals dd {
  margin: 0;
}

.ovh-price-totals dd,
.ovh-price-lines strong {
  flex: 0 0 auto;
  color: var(--ink-strong);
  font-weight: 800;
}

.ovh-price-lines {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.ovh-price-lines > li > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ovh-price-lines span {
  overflow-wrap: anywhere;
}

.ovh-price-lines small,
.ovh-price-disclaimer {
  color: var(--muted);
  font-size: 0.7rem;
}

.ovh-price-disclaimer {
  display: block;
  margin-top: 7px;
  line-height: 1.45;
}

.ovh-check-actions {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ovh-check-actions small {
  color: var(--muted);
}

.provider-draft,
.pool-system-list article,
.system-delivery-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fdfefd;
}

.provider-draft > div,
.pool-system-list article > div,
.system-delivery-item > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.provider-draft > div:last-child {
  justify-items: end;
  text-align: right;
}

.provider-draft-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.provider-draft-actions .button {
  white-space: nowrap;
}

.provider-draft small,
.pool-system-list small,
.system-delivery-item small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-draft-price {
  color: var(--ink-strong);
}

.marketplace-create-layout {
  align-items: start;
  margin-bottom: 28px;
}

.system-delivery-card {
  margin-bottom: 28px;
}

.system-delivery-list {
  display: grid;
  gap: 10px;
}

.marketplace-create-form .form-grid {
  margin-bottom: 0;
}

.marketplace-list-section {
  margin-top: 10px;
}

.pool-workspace-card {
  padding: 0;
}

.pool-workspace-body {
  padding: 20px;
}

.pool-description {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.pool-capacity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.pool-capacity > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.pool-capacity-label {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 0.75rem;
}

.pool-capacity dt {
  color: var(--muted);
}

.pool-capacity dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 700;
}

.pool-capacity-track {
  width: 100%;
  height: 6px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  appearance: none;
}

.pool-capacity-track::-webkit-progress-bar {
  background: var(--line);
}

.pool-capacity-track::-webkit-progress-value {
  background: var(--brand);
}

.pool-capacity-track::-moz-progress-bar {
  background: var(--brand);
}

.pool-subsection {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.pool-subsection h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pool-subsection > .catalog-advanced {
  margin-top: 12px;
}

.pool-inline-form {
  padding: 16px;
}

.pool-backend {
  border: 1px solid var(--line);
  border-radius: 11px;
}

.pool-backend > .catalog-readonly {
  padding: 15px 16px 0;
}

.backend-image-editor {
  margin: 0 16px 16px;
}

.backend-image-form .form-grid {
  align-items: end;
}

.backend-image-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.pool-publish-form {
  margin-top: 24px;
  padding-top: 4px;
}

.pool-publish-form .catalog-confirm {
  margin-top: 0;
}

.package-create-form {
  max-width: 900px;
}

.package-price-banner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 11px;
  background: var(--surface-tint);
}

.package-price-banner strong {
  color: var(--ink-strong);
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.package-price-banner span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.lease-card {
  border-color: #cbe5a3;
  background: #fbfef8;
}

.lease-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.lease-heading h2 {
  margin: 2px 0 5px;
  font-size: 1.3rem;
}

.lease-heading p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.lease-catchup-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: var(--warning-soft);
  font-size: 0.82rem;
}

.lease-term-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.lease-term-choice {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
}

.lease-term-choice:hover,
.lease-term-choice:has(input:checked) {
  border-color: var(--brand);
}

.lease-term-choice:has(input:checked) {
  box-shadow: inset 0 0 0 1px var(--brand);
}

.lease-term-choice:has(input:focus-visible) {
  outline: 3px solid #0b5d47;
  outline-offset: 3px;
}

.lease-term-choice input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
}

.lease-term-choice strong {
  color: var(--ink-strong);
}

.lease-term-choice span {
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 800;
}

.lease-term-choice small {
  color: var(--muted);
  font-size: 0.7rem;
}

.lease-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.lease-payment-status,
.lease-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 0.82rem;
  text-align: right;
}

.approval-shell {
  max-width: 800px;
}

.approval-heading {
  align-items: center;
}

.approval-heading > div:first-child {
  max-width: 620px;
}

.approval-heading-icon {
  flex: 0 0 auto;
}

.approval-card {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.approval-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.approval-action-icon {
  width: 50px;
  height: 50px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: var(--surface-tint);
}

.approval-title {
  min-width: 0;
  flex: 1;
}

.approval-title .status-badge {
  margin-bottom: 8px;
}

.approval-title h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.approval-summary {
  margin: 0 0 24px;
  padding: 17px 18px;
  border-left: 3px solid var(--accent-strong);
  border-radius: 0 11px 11px 0;
  color: var(--ink-strong);
  background: var(--surface-tint);
  font-size: 1rem;
  line-height: 1.65;
}

.approval-effects {
  margin-bottom: 24px;
}

.approval-effects h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.effect-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.effect-list li {
  position: relative;
  padding: 13px 15px 13px 37px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: var(--surface-soft);
}

.effect-list li::before {
  position: absolute;
  top: 19px;
  left: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
  content: "";
}

.effect-list strong,
.effect-list span {
  display: block;
}

.effect-list strong {
  margin-bottom: 3px;
  color: var(--ink-strong);
}

.effect-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.approval-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--line);
}

.approval-meta div {
  min-width: 0;
  padding: 13px 15px;
  background: var(--surface);
}

.approval-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.approval-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.approval-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.83rem;
}

.approval-note .icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--brand);
}

.approval-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 10px;
}

.approval-decision-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.approval-decision-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 650;
}

.approval-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 17px;
  border-radius: 12px;
  color: var(--ink-soft);
  background: var(--surface-soft);
}

.approval-result .icon {
  flex: 0 0 auto;
  color: var(--brand);
}

.approval-result strong,
.approval-result span {
  display: block;
}

.approval-result strong {
  margin-bottom: 3px;
  color: var(--ink-strong);
}

.centered-empty {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.centered-empty .large-section-icon {
  margin-bottom: 22px;
}

.centered-empty h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.centered-empty > p:not(.eyebrow) {
  color: var(--muted);
}

.site-footer {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-inner > p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 650;
}

.footer-inner nav a:hover {
  color: var(--brand);
}

.dialog {
  width: min(calc(100% - 28px), 470px);
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: var(--shadow-md);
}

.dialog::backdrop {
  background: rgb(6 26 20 / 62%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.dialog-panel {
  position: relative;
  overflow-y: auto;
  padding: 29px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.ovh-order-dialog {
  width: min(calc(100% - 28px), 680px);
}

.ovh-order-panel {
  display: grid;
  gap: 18px;
}

.ovh-order-panel .dialog-brand {
  margin-bottom: 0;
}

.ovh-order-summary {
  display: grid;
  gap: 11px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.ovh-order-system {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ovh-order-system > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.ovh-order-system strong {
  color: var(--ink-strong);
}

.ovh-order-system small,
.ovh-order-options,
.ovh-contracts p {
  color: var(--muted);
  font-size: 0.76rem;
}

.ovh-order-total {
  flex: 0 0 auto;
  color: var(--ink-strong);
  font-size: 1.45rem;
  line-height: 1;
  text-align: right;
}

.ovh-order-total small {
  display: block;
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 600;
}

.ovh-order-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.ovh-contracts {
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ovh-contracts h3 {
  margin: 0 0 7px;
  font-size: 0.9rem;
}

.ovh-contracts p,
.ovh-contracts ul {
  margin: 0;
}

.ovh-contracts ul {
  display: grid;
  gap: 5px;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.ovh-contracts a {
  color: var(--ink);
  font-weight: 700;
}

.ovh-contract-text {
  margin-top: 5px;
}

.ovh-contract-text summary {
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.ovh-contract-text div {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 6px;
  max-height: 18rem;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
}

.ovh-approval-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ovh-approval-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  padding: 0;
}

.ovh-order-status {
  min-height: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}

.ovh-order-status.pending {
  color: var(--ink-soft);
}

.ovh-order-status.warning {
  color: #7b5800;
}

.ovh-order-status.success {
  color: #286829;
}

.ovh-order-payment {
  display: grid;
  gap: 8px;
}

.ovh-order-payment:empty {
  display: none;
}

.ovh-order-payment p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.ovh-order-payment .button {
  width: fit-content;
}

.ovh-reconciliation {
  background: var(--warning-soft);
  border: 1px solid color-mix(in srgb, var(--warning) 35%, var(--line));
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.ovh-reconciliation[hidden] {
  display: none;
}

.ovh-reconciliation h3,
.ovh-reconciliation p {
  margin: 0;
}

.ovh-reconciliation p,
.ovh-reconciliation > small {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.ovh-manager-fallback {
  width: fit-content;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
}

.ovh-manager-fallback:hover {
  text-decoration: underline;
}

.ovh-order-panel .dialog-actions {
  margin-top: 0;
}

.compact-dialog {
  text-align: center;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface-soft);
}

.dialog-close:hover {
  color: var(--ink-strong);
}

.dialog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.dialog-brand img {
  width: auto;
  height: 34px;
  object-fit: contain;
}

.dialog-brand h2 {
  margin: 0;
  font-size: 1.45rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-bottom: 21px;
  padding: 4px;
  border-radius: 11px;
  background: var(--surface-soft);
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 720;
}

.auth-tabs button[aria-selected="true"] {
  color: var(--ink-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-link {
  width: fit-content;
  margin: -7px 0 -4px auto;
  padding: 0;
  border: 0;
  color: var(--brand);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
}

.auth-link:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

.auth-intro h3 {
  margin-bottom: 6px;
}

.auth-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.terms-field {
  padding-top: 0;
  font-size: 0.82rem;
}

.dialog-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--danger);
  font-size: 0.82rem;
  text-align: center;
}

.dialog-status.success {
  color: #286829;
}

.dialog-footnote {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.71rem;
  text-align: center;
}

.warning-icon {
  margin: 5px auto 20px;
  color: var(--warning);
  background: var(--warning-soft);
}

.compact-dialog h2 {
  margin-bottom: 9px;
}

.compact-dialog > p {
  color: var(--ink-soft);
}

.dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 24px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100% - 40px));
  padding: 13px 16px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
  color: #fff;
  background: var(--ink-strong);
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  font-weight: 650;
}

.toast.error {
  background: #7d2d26;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr 0.85fr;
    gap: 35px;
  }

  .floating-card {
    display: none;
  }

  .configurator {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .image-grid,
  .plan-grid,
  .pool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 65px 80px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .configurator {
    grid-template-columns: 1fr;
  }

  .supply-search,
  .pool-capacity,
  .lease-term-grid {
    grid-template-columns: 1fr;
  }

  .provider-status-actions,
  .ovh-check-actions,
  .package-price-banner,
  .lease-heading,
  .provider-draft,
  .pool-system-list article,
  .system-delivery-item {
    align-items: stretch;
    flex-direction: column;
  }

  .provider-preview-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .ovh-price-estimate {
    grid-template-columns: 1fr;
  }

  .ovh-price-estimate > small {
    grid-column: auto;
  }

  .provider-draft > div:last-child,
  .supply-offer-price {
    justify-items: start;
    text-align: left;
  }

  .provider-draft-actions {
    justify-content: flex-start;
  }

  .ovh-order-system {
    flex-direction: column;
  }

  .ovh-order-total {
    text-align: left;
  }

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

  .summary-sticky {
    position: static;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-grid li {
    min-height: auto;
  }

  .how-icon {
    margin-bottom: 24px;
  }

  .ai-card,
  .permission-card {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .connect-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

  .connector-card {
    order: -1;
  }

  .server-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .server-specs-inline {
    display: none;
  }

  .detail-hero {
    flex-direction: column;
  }

  .action-group {
    justify-content: flex-start;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .shell,
  .narrow-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-actions > .button-quiet,
  .header-start {
    display: none;
  }

  .verification-banner-inner {
    grid-template-columns: 1fr;
    padding-block: 14px;
  }

  .verification-banner-inner .button {
    width: 100%;
  }

  .verification-banner-status {
    grid-column: auto;
  }

  .account-email {
    max-width: 110px;
  }

  .hero {
    padding-block: 48px 70px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-notes {
    display: grid;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-visual::before {
    width: 320px;
    height: 320px;
  }

  .hero-visual::after {
    width: 260px;
    height: 260px;
  }

  .preview-topline {
    grid-template-columns: 1fr auto;
  }

  .window-dots {
    display: none;
  }

  .preview-label {
    justify-self: start;
  }

  .preview-specs {
    margin-inline: 18px;
  }

  .preview-body,
  .preview-terminal {
    padding-inline: 18px;
  }

  .configurator-section,
  .how-section {
    padding-block: 78px;
  }

  .ai-section {
    padding-bottom: 78px;
  }

  .image-grid,
  .plan-grid,
  .pool-grid,
  .term-grid,
  .form-grid,
  .three-fields,
  .detail-grid,
  .dashboard-overview,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .choice-card:last-child:nth-child(odd),
  .field-wide,
  .detail-card-wide {
    grid-column: auto;
  }

  .connection-fields,
  .ssh-key-help {
    margin-left: 0;
  }

  .customer-order {
    grid-template-columns: 1fr;
  }

  .customer-order-status {
    align-items: flex-start;
  }

  .customer-order-actions {
    justify-content: flex-start;
  }

  .advanced-content,
  .summary-sticky,
  .content-section,
  .detail-card,
  .connect-steps,
  .connector-card,
  .permission-card,
  .admin-card {
    padding: 18px;
  }

  .catalog-form {
    padding: 15px;
  }

  .catalog-save-row .button {
    width: 100%;
  }

  .catalog-form-status {
    text-align: left;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .page-heading .button {
    width: 100%;
  }

  .app-view {
    padding-top: 38px;
  }

  .server-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .server-row .status-badge {
    grid-column: 2;
  }

  .row-arrow {
    display: none;
  }

  .connect-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .beta-credit-card {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }

  .beta-credit-amount,
  .beta-credit-actions {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

  .detail-identity {
    align-items: flex-start;
  }

  .detail-identity .server-mark {
    width: 48px;
    height: 48px;
  }

  .action-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline li {
    min-height: 58px;
    padding: 3px 0 25px 33px;
  }

  .timeline li::before {
    top: 3px;
  }

  .timeline li::after {
    top: 17px;
    bottom: 0;
    left: 6px;
    width: 2px;
    height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }

  .approval-heading-icon {
    display: none;
  }

  .approval-card {
    padding: 20px;
  }

  .handoff-card,
  .account-action-card,
  .account-password-card {
    padding: 22px 18px;
  }

  .handoff-heading .large-section-icon {
    display: none;
  }

  .handoff-review-head {
    flex-direction: column;
  }

  .handoff-price {
    text-align: left;
  }

  .approval-card-top {
    gap: 12px;
  }

  .approval-action-icon {
    width: 44px;
    height: 44px;
  }

  .approval-meta,
  .approval-actions {
    grid-template-columns: 1fr;
  }

  .approval-decision-feedback {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-panel {
    padding: 24px 20px;
  }

  .admin-credit-form {
    grid-template-columns: 1fr;
  }

  .admin-invitation-link .copy-row {
    flex-direction: column;
  }

  .delivery-order-heading,
  .delivery-unit-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .delivery-order-progress {
    align-items: flex-start;
    text-align: left;
  }

  .delivery-match-form,
  .delivery-target-form,
  .delivery-evidence-form {
    grid-template-columns: 1fr;
  }

  .ovh-inventory-grid {
    grid-template-columns: 1fr;
  }

  .ovh-owned-inventory .admin-list-item-actions {
    align-items: flex-start;
    text-align: left;
  }

  .delivery-match-form .form-help,
  .delivery-target-form .form-help {
    grid-column: auto;
  }

  .admin-credit-form .form-status {
    grid-column: auto;
  }

  .admin-customer-facts {
    grid-template-columns: 1fr;
  }

  .admin-list-item,
  .admin-customer-footer {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
