@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #0a183f;
  background: #f5f7fa;
  font-synthesis: none;
  --navy: #0a183f;
  --navy-deep: #071432;
  --burgundy: #7b0505;
  --burgundy-hover: #940909;
  --cloud: #f5f7fa;
  --muted: #5f6f86;
  --border: #d8dee9;
  --white: #fff;
}

* { box-sizing: border-box; }
.ui-icon { width: 1em; height: 1em; display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.plans-section button:focus-visible, .plans-section a:focus-visible { outline-color: var(--burgundy); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-shell { min-height: 100vh; background: var(--cloud); }

.site-header {
  height: 78px; padding: 0 max(32px, calc((100vw - 1320px) / 2)); display: flex; align-items: center; gap: 40px;
  background: var(--navy-deep); color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; z-index: 5;
}
.brand-lockup { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-lockup img { width: 268px; height: auto; display: block; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.desktop-nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); }
.desktop-nav a:hover { color: #fff; }
.desktop-nav { gap: clamp(16px, 2vw, 30px); }
.desktop-nav .server-nav-link { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.25); white-space: nowrap; }
@media (max-width: 1040px) {
  header.site-header { height: auto; min-height: 78px; padding-block: 16px; flex-wrap: wrap; gap: 16px; }
  .site-header .desktop-nav { display: flex; order: 3; width: 100%; margin-left: 0; padding-bottom: 4px; overflow-x: auto; flex: 0 0 100%; }
  .site-header .desktop-nav a { flex-shrink: 0; }
}
.login-button { min-height: 40px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: transparent; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; }
.login-button:hover { background: rgba(255,255,255,.08); }

.customer-journey { min-height: 60px; margin: 0; padding: 9px max(32px, calc((100vw - 1320px) / 2)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; color: #fff; background: #0d1c45; border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.customer-journey li { min-width: 0; padding: 0 28px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; border-left: 1px solid rgba(255,255,255,.15); }
.customer-journey li:first-child { padding-left: 0; border-left: 0; }
.customer-journey li:last-child { padding-right: 0; }
.customer-journey li > span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 7px; background: rgba(255,255,255,.06); color: #fff; font-size: 13px; font-weight: 800; }
.customer-journey li:last-child > span { background: var(--burgundy); }
.customer-journey strong, .customer-journey small { display: block; }
.customer-journey strong { margin-bottom: 2px; font-size: 12px; }
.customer-journey small { color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.3; }

.hero {
  min-height: 520px; padding: 52px max(48px, calc((100vw - 1320px) / 2)) 58px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); gap: 76px;
  position: relative; overflow: hidden; color: #fff; background: var(--navy);
}
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; pointer-events: none; }
.hero-copy, .lifecycle { position: relative; z-index: 1; }
.hero-copy { align-self: center; max-width: 720px; }
.eyebrow { margin: 0 0 14px; color: #d96060; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.hero h1 { margin: 0; font-size: clamp(42px, 4.1vw, 64px); line-height: 1.06; letter-spacing: -.045em; max-width: 690px; }
.hero-lead { margin: 22px 0 28px; max-width: 660px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.domain-form { min-height: 64px; display: grid; grid-template-columns: auto minmax(180px,1fr) auto; align-items: center; border-radius: 8px; overflow: hidden; background: #fff; color: var(--navy); box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.domain-form .form-icon { margin-left: 20px; color: var(--muted); }
.domain-form input { width: 100%; height: 64px; border: 0; padding: 0 18px; color: var(--navy); outline: 0; }
.domain-form input::placeholder { color: #8290a6; }
.domain-form button { align-self: stretch; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 0; background: var(--burgundy); color: #fff; font-weight: 700; cursor: pointer; }
.domain-form button:hover { background: var(--burgundy-hover); }
.domain-form button:disabled { cursor: wait; opacity: .78; }
.domain-message { min-height: 20px; margin: 10px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }
.domain-message.invalid { color: #ffb4b4; }
.domain-message.ready { color: #c6f6e5; }

.lifecycle { list-style: none; margin: 0; padding: 0; align-self: center; }
.lifecycle::before { content: ""; position: absolute; left: 26px; top: 34px; bottom: 34px; width: 1px; background: rgba(255,255,255,.24); }
.lifecycle li { min-height: 78px; display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; position: relative; }
.lifecycle-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: var(--navy); color: rgba(255,255,255,.88); position: relative; z-index: 1; }
.lifecycle strong { display: block; margin-bottom: 4px; font-size: 18px; }
.lifecycle small { display: block; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.45; }

.plans-section { padding: 32px max(48px, calc((100vw - 1320px) / 2)) 28px; background: #fff; }
.domain-catalog-section { padding: 46px max(48px, calc((100vw - 1320px) / 2)); background: var(--cloud); }
.plans-section, .domain-catalog-section, .public-page { position: relative; isolation: isolate; }
.light-plexus { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.plans-section > :not(.light-plexus), .domain-catalog-section > :not(.light-plexus), .public-page > :not(.light-plexus) { position: relative; z-index: 1; }
.domain-roller-section { padding-top: 26px; padding-bottom: 20px; overflow: hidden; }
.domain-roller-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 16px; }
.domain-roller-heading h2 { margin: 0; font-size: clamp(23px, 2vw, 29px); line-height: 1.2; letter-spacing: -.035em; }
.domain-roller-actions { display: flex; align-items: center; gap: 20px; }
.domain-roller-toggle { padding: 4px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.domain-roller-toggle:hover, .domain-roller-toggle:focus-visible { color: var(--burgundy); }
.domain-roller-toggle:focus-visible { outline-color: var(--burgundy); }
.domain-roller-heading .text-link { white-space: nowrap; }
.domain-roller { width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
.domain-roller-track { width: max-content; display: flex; }
.domain-roller-section:not(.is-enhanced) .domain-roller { overflow-x: auto; }
.domain-roller-section.is-enhanced .domain-roller-track { animation: domain-roller-scroll 40s linear infinite; }
.domain-roller:hover .domain-roller-track, .domain-roller:focus-within .domain-roller-track, .domain-roller-section.is-paused .domain-roller-track { animation-play-state: paused; }
.domain-roller-group { display: flex; gap: 10px; flex: none; padding-right: 10px; }
.domain-roller-item { min-width: 106px; min-height: 54px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--navy); text-decoration: none; font-size: 20px; font-weight: 800; white-space: nowrap; }
.domain-roller-item:hover { border-color: var(--burgundy); color: var(--burgundy); }
.domain-roller-item:focus-visible { outline-color: var(--burgundy); }
.domain-roller-loading { display: inline-block; padding: 16px 0; color: var(--muted); }
.domain-roller-section .domain-catalog-note { margin: 12px 0 0; }
@keyframes domain-roller-scroll { to { transform: translateX(-50%); } }
.server-services { padding: 48px max(32px, calc((100vw - 1320px) / 2)) 56px; background: var(--cloud); }
.server-services-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.server-services-intro h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; }
.server-services-intro p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.7; }
.server-services-intro > a { flex-shrink: 0; }
.server-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.server-service-card { padding: 24px; display: flex; flex-direction: column; align-items: start; border: 1px solid var(--border); border-radius: 8px; background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.server-service-card:hover { border-color: var(--burgundy); box-shadow: 0 6px 20px #0a183f0a; }
.server-services a:focus-visible { outline-color: var(--burgundy); }
.server-service-icon { padding: 12px; display: inline-flex; border-radius: 8px; background: var(--cloud); font-size: 26px; }
.server-service-card h3 { margin: 20px 0 10px; font-size: 21px; }
.server-service-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.server-service-cta { margin-top: auto; color: var(--burgundy); font-size: 14px; font-weight: 700; }
@media (max-width: 720px) {
  .server-services { padding: 32px 20px; }
  .server-services-intro { flex-direction: column; align-items: start; gap: 16px; }
  .server-services-grid { grid-template-columns: 1fr; gap: 12px; }
  .server-service-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .domain-roller { overflow-x: auto; mask-image: none; }
  .domain-roller-section.is-enhanced .domain-roller-track { animation: none; }
  .domain-roller-group[aria-hidden="true"] { display: none; }
}
.domain-catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.domain-catalog-grid.compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
.domain-catalog-card, .domain-catalog-loading { min-height: 150px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.domain-catalog-card > strong { color: var(--navy); font-size: 27px; }
.domain-catalog-card > span { margin-top: 16px; color: var(--navy); font-size: 21px; font-weight: 800; }
.domain-catalog-card > small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.domain-catalog-card > button { margin-top: auto; padding: 8px 0 0; border: 0; background: transparent; color: var(--burgundy); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.domain-catalog-card > button:disabled { color: var(--muted); cursor: default; }
.domain-catalog-loading { grid-column: 1 / -1; min-height: 90px; justify-content: center; color: var(--muted); }
.domain-catalog-loading.error { color: var(--burgundy); }
.domain-catalog-note { min-height: 18px; margin: 14px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--burgundy); font-size: 13px; font-weight: 800; text-decoration: none; }
.section-heading { max-width: 1000px; margin-bottom: 20px; }
.eyebrow.dark { color: var(--burgundy); margin-bottom: 10px; }
.section-heading h2 { margin: 0 0 8px; font-size: clamp(28px,2.4vw,34px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.6; }
.plans-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.plan { min-width: 0; padding: 18px 24px 14px; border-left: 1px solid var(--border); position: relative; background: #fff; }
.plan:last-child { border-right: 1px solid var(--border); }
.plan.featured { background: #fafbfd; }
.recommended { position: absolute; top: -13px; right: 22px; padding: 6px 10px; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: 11px; font-weight: 700; }
.plan-title-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; min-height: 68px; }
.plan-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); }
.plan h3 { margin: 0 0 4px; font-size: 21px; }
.plan-title-row p { margin: 0; color: var(--burgundy); font-size: 13px; line-height: 1.45; font-weight: 600; }
.highlights { min-height: 94px; margin: 12px 0 0; padding: 0; list-style: none; }
.highlights li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin: 0 0 10px; color: #34415c; font-size: 13px; line-height: 1.4; }
.highlights svg { color: var(--navy); margin-top: 1px; }
.price-row { min-height: 68px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); }
.price-row strong { display: inline-block; font-size: 28px; letter-spacing: -.035em; }
.price-row span { color: var(--muted); font-size: 12px; }
.price-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.details-button { min-height: 42px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); font-weight: 700; cursor: pointer; }
.details-button:hover { background: var(--cloud); }
.details-button svg { transition: transform .2s ease; }
.plan.open .details-button svg { transform: rotate(180deg); }
.plan-details { padding-top: 20px; border-top: 1px solid var(--border); }
.details-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.plan-details dl { margin: 0; }
.plan-details dl div { min-height: 36px; display: flex; justify-content: space-between; gap: 14px; align-items: center; border-bottom: 1px solid #e8ecf2; font-size: 12px; }
.plan-details dt { color: var(--muted); }
.plan-details dd { margin: 0; color: var(--navy); font-weight: 600; text-align: right; }
.technology-strip { margin-top: 14px; padding: 10px; display: flex; align-items: center; gap: 8px; border-radius: 8px; background: var(--cloud); color: #3f4c67; font-size: 11px; }
.pricing-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.wordpress-banner { margin-top: 18px; padding: 14px 20px; display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--border); border-radius: 8px; background: var(--cloud); }
.wordpress-mark { width: 50px; height: 50px; display: grid; place-items: center; color: var(--muted); font-size: 46px; }
.wordpress-mark .ui-icon, .wp-visual .ui-icon { fill: currentColor; stroke: none; }
.wordpress-banner strong { font-size: 17px; }
.wordpress-banner p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.wordpress-banner a { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; gap: 12px; border-radius: 8px; background: var(--burgundy); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.wordpress-banner a:hover { background: var(--burgundy-hover); }
footer { padding: 24px max(32px, calc((100vw - 1320px) / 2)); display: flex; justify-content: space-between; gap: 20px; background: var(--navy-deep); color: rgba(255,255,255,.64); font-size: 12px; }
footer a { color: #fff; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .login-button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: none; }
  .lifecycle { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
  .lifecycle::before { display: none; }
  .lifecycle li { min-height: 0; grid-template-columns: 44px 1fr; gap: 12px; }
  .lifecycle-icon { width: 44px; height: 44px; }
  .launch-letter { width: 44px; height: 44px; font-size: 21px; }
  .plans-grid { grid-template-columns: 1fr; border: 0; gap: 18px; }
  .plan, .plan:last-child { border: 1px solid var(--border); border-radius: 8px; }
  .highlights { min-height: 0; }
}

@media (max-width: 700px) {
  .site-header { height: 64px; padding: 0 20px; }
  .brand-lockup img { width: 176px; }
  .login-button { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .customer-journey { min-height: 58px; padding: 8px 20px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(245px,80vw); gap: 0; overflow-x: auto; scroll-snap-type: x proximity; }
  .customer-journey li { padding: 0 18px; scroll-snap-align: start; }
  .customer-journey li:first-child { padding-left: 0; }
  .hero { min-height: auto; padding: 44px 20px 52px; }
  .hero h1 { font-size: clamp(38px,12vw,54px); }
  .hero-lead { font-size: 16px; }
  .domain-form { grid-template-columns: auto 1fr; overflow: visible; background: transparent; box-shadow: none; }
  .domain-form .form-icon { margin-left: 18px; position: relative; z-index: 2; }
  .domain-form input { margin-left: -42px; padding-left: 54px; border-radius: 8px; }
  .domain-form button { min-height: 56px; grid-column: 1 / -1; margin-top: 10px; border-radius: 8px; }
  .lifecycle { grid-template-columns: 1fr; gap: 8px; }
  .lifecycle li { min-height: 62px; }
  .plans-section { padding: 52px 20px 60px; }
  .plan { padding: 26px 22px 22px; }
  .price-row { align-items: flex-end; }
  .wordpress-banner { grid-template-columns: 48px 1fr; }
  .wordpress-banner a { grid-column: 1 / -1; justify-content: center; }
  footer { padding: 22px 20px; }
}

/* Nette server-rendered port: anchors replace the React navigation buttons. */
.login-button, .primary-button, .secondary-button, .danger-button, .card-cta, .text-button { text-decoration: none; }
.public-footer a { color: #fff; text-decoration: none; }
.form-icon { width: 24px; height: 24px; margin-left: 20px; display: grid; place-items: center; color: var(--muted); font-size: 24px; }
.domain-message.available { color: #c6f6e5; }
.domain-message.unavailable, .domain-message.error { color: #ffb4b4; }
.highlights b { color: var(--navy); }
.wp-visual .ui-icon { color: #fff; }
.portal-sidebar nav a, .sidebar-bottom a, .portal-logout { min-height: 46px; padding: 0 14px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.68); font: inherit; font-size: 13px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.portal-sidebar nav a:hover, .sidebar-bottom a:hover, .portal-logout:hover { background: rgba(255,255,255,.07); color: #fff; }
.portal-sidebar nav a.active { background: #fff; color: var(--navy); }
.portal-sidebar nav a b { min-width: 22px; margin-left: auto; padding: 3px 6px; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: 10px; text-align: center; }
.service-row { text-decoration: none; }
.status-dashboard[hidden] { display: none; }
.checkout-step[hidden], [data-service-panel][hidden] { display: none !important; }
.availability > b, .health-banner > b, .attention-banner > b { font-size: 24px; text-align: center; }
.toast > span { flex: 1; }

@media (max-width: 820px) {
  .portal-sidebar nav a { flex: 0 0 auto; }
}

@media (max-width: 700px) {
  .domain-form .form-icon { margin-left: 18px; position: relative; z-index: 2; }
}

@media (max-width: 520px) {
  .site-header .brand-lockup img { width: 164px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Expanded product prototype */
select, textarea { font: inherit; }
.brand-lockup { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; }
.brand-lockup.compact img { width: 190px; }
.portal-sidebar .brand-lockup.compact img { width: 178px; }
.desktop-nav button, .public-footer button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.desktop-nav button { color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600; }
.desktop-nav button:hover { color: #fff; }
.wordpress-banner button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 8px; background: var(--burgundy); color: #fff; font-size: 13px; font-weight: 700; }
.wordpress-banner button:hover { background: var(--burgundy-hover); }
.public-footer { min-height: 74px; padding: 22px max(32px,calc((100vw - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--navy-deep); color: rgba(255,255,255,.64); font-size: 12px; }
.public-footer nav { display: flex; gap: 20px; }
.public-footer button { color: #fff; }

.primary-button, .secondary-button, .danger-button, .card-cta { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.primary-button, .card-cta { border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff; }
.primary-button:hover, .card-cta:hover { border-color: var(--burgundy-hover); background: var(--burgundy-hover); }
.primary-button:disabled { cursor: not-allowed; opacity: .45; }
.secondary-button { border: 1px solid var(--border); background: #fff; color: var(--navy); }
.secondary-button:hover { border-color: #aab5c6; background: var(--cloud); }
.danger-button { border: 1px solid #b42318; background: #b42318; color: #fff; }
.text-button { min-height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: var(--burgundy); font-weight: 700; cursor: pointer; }
.text-button.light { color: rgba(255,255,255,.8); }
.text-button.danger { color: #b42318; }
.full { width: 100%; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--navy); cursor: pointer; }

.public-page { min-height: calc(100vh - 146px); padding: 72px max(48px,calc((100vw - 1260px)/2)) 88px; background: #fff; }
.public-page.narrow { padding-inline: max(48px,calc((100vw - 980px)/2)); }
.page-intro { margin-bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.page-intro > div:first-child { max-width: 760px; }
.page-intro h1 { margin: 0; font-size: clamp(34px,4vw,52px); line-height: 1.08; letter-spacing: -.045em; }
.page-intro > div:first-child > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.page-actions { flex-shrink: 0; }
.segmented { padding: 4px; display: inline-flex; border: 1px solid var(--border); border-radius: 10px; background: var(--cloud); }
.segmented button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.segmented button.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(10,24,63,.08); }
.segmented.small button { min-height: 34px; font-size: 12px; }
.plans-grid.standalone { margin-top: 52px; }
.card-cta { width: 100%; margin-top: 18px; }
.comparison-panel { margin-top: 32px; padding: 30px 32px; border: 1px solid var(--border); border-radius: 16px; background: var(--cloud); }
.comparison-panel h2 { margin: 0 0 8px; font-size: 24px; }
.comparison-panel p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.55; }
.tech-badges { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.tech-badges span { padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; }
.tech-badges .preferred { border-color: var(--navy); background: var(--navy); color: #fff; }

.large-search { min-height: 68px; padding-left: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: 0 16px 50px rgba(10,24,63,.08); }
.large-search > svg { color: var(--muted); }
.large-search input { height: 66px; padding: 0 16px; border: 0; outline: 0; color: var(--navy); }
.large-search button { align-self: stretch; margin: -1px; border-radius: 0 10px 10px 0; }
.availability { margin-top: 20px; padding: 20px 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border: 1px solid var(--border); border-radius: 10px; }
.availability.available { border-color: #9ed5c3; background: #f0faf7; color: #0d6348; }
.availability.unavailable { border-color: #f0b8b3; background: #fff5f4; color: #8a2119; }
.availability h2 { margin: 0 0 4px; font-size: 18px; }
.availability p { margin: 0; color: currentColor; font-size: 13px; opacity: .8; }
.domain-suggestions { margin-top: 16px; padding: 16px 18px; border: 1px solid #bfd9cf; border-radius: 10px; background: #f0faf7; color: #0d6348; }
.domain-suggestions[hidden] { display: none !important; }
.domain-suggestions > strong { display: block; font-size: 14px; }
.domain-suggestions > p { margin: 4px 0 12px; color: currentColor; font-size: 12px; opacity: .82; }
.domain-suggestion-list { display: flex; flex-wrap: wrap; gap: 8px; }
.domain-suggestion-list button { min-height: 36px; padding: 0 12px; border: 1px solid #8fc4b0; border-radius: 7px; background: #fff; color: #0d6348; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.domain-suggestion-list button:hover, .domain-suggestion-list button:focus-visible { border-color: #0d6348; background: #dff3eb; outline: 0; }
.checkout-domain-suggestions { margin-top: 10px; }
.content-panel { margin-top: 24px; padding: 26px 28px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.content-panel h2 { margin: 0 0 8px; font-size: 21px; }
.content-panel > p { color: var(--muted); }
.content-panel table { width: 100%; border-collapse: collapse; }
.content-panel th { padding: 13px 12px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 11px; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.content-panel td { padding: 16px 12px; border-bottom: 1px solid #e9edf3; color: #34415c; font-size: 13px; }
.review-order { padding: 14px 0; border-top: 1px solid var(--border); color: #34415c; font-size: 13px; }
.review-order summary { cursor: pointer; line-height: 1.6; }
.review-order > div { margin: 14px 0 0 20px; }
.review-order ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.8; }
.data-caveat { margin: 16px 12px 0; font-size: 12px; }
.split-hero { min-height: 430px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.split-hero h1 { max-width: 720px; margin: 0; font-size: clamp(42px,5vw,66px); line-height: 1.03; letter-spacing: -.05em; }
.split-hero p:not(.eyebrow) { max-width: 650px; margin: 24px 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.wp-visual { min-height: 330px; display: grid; place-items: center; align-content: center; gap: 22px; border-radius: 16px; background: var(--navy); color: #fff; }
.wp-visual svg { font-size: 110px; }
.wp-visual span { color: rgba(255,255,255,.68); font-size: 13px; }
.process-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); }
.process-grid article { padding: 28px; border-left: 1px solid var(--border); }
.process-grid article:last-child { border-right: 1px solid var(--border); }
.process-grid span { color: var(--burgundy); font-size: 12px; font-weight: 800; }
.process-grid h2 { margin: 20px 0 8px; font-size: 22px; }
.process-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

.auth-page { min-height: calc(100vh - 146px); padding: 72px 20px; display: grid; place-items: center; background: var(--cloud); }
.auth-card { width: min(100%,480px); padding: 40px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: 0 22px 70px rgba(10,24,63,.1); }
.auth-card h1 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.auth-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.auth-card form { margin-top: 26px; }
.auth-card form > label { margin-bottom: 18px; display: block; font-size: 13px; font-weight: 700; }
.auth-card form input { width: 100%; height: 48px; margin-top: 7px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--navy); }
.auth-card > .text-button { margin-top: 12px; }
.admin-login-brand { margin: -14px 0 30px; padding: 18px; border-radius: 10px; background: var(--navy-deep); }
.admin-login-brand .brand-lockup img { width: 210px; }
.real-form form { display: grid; gap: 15px; }
.real-form label { display: grid; gap: 7px; color: var(--navy); font-size: 12px; font-weight: 700; }
.real-form input:not([type="checkbox"]), .real-form select { width: 100%; min-height: 46px; margin: 0; padding: 0 13px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--navy); }
.real-form input.primary-button { border-color: var(--burgundy); background: var(--burgundy); color: #fff; cursor: pointer; }
.real-form input.primary-button:hover { border-color: var(--burgundy-hover); background: var(--burgundy-hover); }
.real-form input:focus { border-color: var(--navy); outline: 3px solid rgba(10,24,63,.1); }
.real-form label small { color: var(--muted); font-weight: 400; line-height: 1.45; }
.form-errors { margin: 0; padding: 12px 15px 12px 32px; border: 1px solid #edb9b6; border-radius: 8px; background: #fff1f0; color: #8b1e18; font-size: 12px; }
.database-action-form { margin-top: 22px; padding-top: 4px; border-top: 1px solid var(--border); }
.database-action-form > .primary-button, .database-action-form > .secondary-button { margin-top: 18px; }
.flash { position: fixed; top: 18px; left: 50%; z-index: 100; width: min(calc(100% - 32px),640px); padding: 14px 18px; transform: translateX(-50%); border-radius: 8px; background: var(--navy); color: #fff; box-shadow: 0 12px 36px rgba(7,20,50,.24); font-size: 13px; font-weight: 700; }
.flash.success { background: #16634c; }
.flash.error { background: #941d17; }
.demo-note { margin-top: 26px; padding: 14px; display: flex; gap: 10px; border-radius: 8px; background: var(--cloud); color: var(--muted); font-size: 12px; line-height: 1.45; }

.checkout-shell { min-height: 100vh; background: var(--cloud); }
.checkout-header { height: 72px; padding: 0 max(32px,calc((100vw - 1280px)/2)); display: flex; align-items: center; justify-content: space-between; background: var(--navy-deep); color: #fff; }
.checkout-progress { min-height: 78px; padding: 0 max(32px,calc((100vw - 1120px)/2)); display: grid; grid-template-columns: repeat(6,1fr); align-items: center; border-bottom: 1px solid var(--border); background: #fff; }
.checkout-progress.seven { grid-template-columns: repeat(7,1fr); }
.checkout-progress button { position: relative; height: 78px; display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: #8793a7; font-size: 12px; font-weight: 700; text-align: left; }
.checkout-progress button:after { content: ""; position: absolute; right: 8px; left: 43px; bottom: -1px; height: 3px; background: transparent; }
.checkout-progress button span { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; }
.checkout-progress button.active { color: var(--navy); }
.checkout-progress button.active:after { background: var(--burgundy); }
.checkout-progress button.active span { border-color: var(--burgundy); color: var(--burgundy); }
.checkout-progress button.done { color: var(--success); cursor: pointer; }
.checkout-progress button.done span { border-color: var(--success); background: var(--success); color: #fff; }
.checkout-main { width: min(1180px,calc(100% - 48px)); margin: 0 auto; padding: 48px 0 80px; display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 32px; align-items: start; }
.checkout-content { min-height: 620px; padding: 36px 40px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.checkout-content .page-intro { margin-bottom: 28px; }
.checkout-content .page-intro h1 { font-size: 36px; }
.domain-manager-field { margin-top: 8px; }
.domain-search-results { margin-top: 24px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.domain-search-results[hidden] { display: none !important; }
.domain-search-results > header { min-height: 82px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); background: var(--cloud); }
.domain-search-results > header .eyebrow { margin-bottom: 4px; font-size: 10px; }
.domain-search-results > header h2 { margin: 0; font-size: 20px; }
.domain-search-results > header > span { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.domain-result-list { display: grid; }
.domain-result-row { min-height: 82px; padding: 16px 20px; display: grid; grid-template-columns: minmax(0,1fr) 132px auto 124px; align-items: center; gap: 18px; border-bottom: 1px solid #e8ecf2; }
.domain-result-row:last-child { border-bottom: 0; }
.domain-result-row.selected { background: #effaf6; box-shadow: inset 4px 0 0 #0d7b58; }
.domain-result-identity { min-width: 0; }
.domain-result-identity strong, .domain-result-identity small { display: block; }
.domain-result-identity strong { color: var(--navy); font-size: 16px; overflow-wrap: anywhere; }
.domain-result-identity small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.domain-result-price { min-width: 0; text-align: right; }
.domain-result-price strong, .domain-result-price small { display: block; }
.domain-result-price strong { color: var(--navy); font-size: 14px; white-space: nowrap; }
.domain-result-price small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.domain-result-status { padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.domain-result-status.available { background: #e4f5ef; color: #0d6348; }
.domain-result-status.unavailable { background: #f2f4f7; color: #68758a; }
.domain-result-status.blocked { background: #fff1dc; color: #7a5000; }
.domain-result-action { min-height: 38px; padding: 0 16px; border: 1px solid var(--burgundy); border-radius: 8px; background: var(--burgundy); color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.domain-result-action:hover, .domain-result-action:focus-visible { background: #5e0303; outline: 3px solid rgba(123,5,5,.14); outline-offset: 2px; }
.domain-result-action:disabled { border-color: #91c8b6; background: #e4f5ef; color: #0d6348; cursor: default; outline: 0; }
.domain-result-unavailable { color: var(--muted); font-size: 11px; font-weight: 700; text-align: right; }
.domain-result-message { margin: 0; padding: 24px 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.domain-result-message.loading:before { content: ""; width: 14px; height: 14px; margin-right: 10px; display: inline-block; vertical-align: -2px; border: 2px solid var(--border); border-top-color: var(--burgundy); border-radius: 50%; animation: domain-result-spin .8s linear infinite; }
.domain-result-message.error { color: var(--burgundy); }
@keyframes domain-result-spin { to { transform: rotate(360deg); } }
.domain-extension-options { margin-top: 14px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.domain-extension-options[hidden], .domain-extension-panel[hidden] { display: none !important; }
.domain-extension-toggle { width: 100%; min-height: 68px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: #fff; color: var(--navy); font: inherit; text-align: left; cursor: pointer; }
.domain-extension-toggle:hover, .domain-extension-toggle:focus-visible { background: #f8fafc; outline: 3px solid rgba(10,24,63,.1); outline-offset: -3px; }
.domain-extension-toggle span, .domain-extension-toggle strong, .domain-extension-toggle small { display: block; }
.domain-extension-toggle strong { font-size: 14px; }
.domain-extension-toggle small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.domain-extension-toggle b { flex: 0 0 auto; color: var(--burgundy); font-size: 11px; }
.domain-extension-panel { padding: 4px 18px 18px; border-top: 1px solid #edf0f4; background: var(--cloud); }
.domain-extension-panel > p { margin: 14px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.domain-extension-search { margin: 14px 0 16px; display: block; color: var(--navy); font-size: 11px; font-weight: 800; }
.domain-extension-search input { width: 100%; min-height: 42px; margin-top: 7px; padding: 0 13px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--navy); font: inherit; font-size: 12px; font-weight: 600; }
.domain-extension-search input:focus { border-color: var(--burgundy); outline: 3px solid rgba(123,5,5,.08); }
.domain-extension-list-heading { margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--navy); font-size: 12px; }
.domain-extension-list-heading span { color: var(--muted); font-size: 10px; font-weight: 600; }
.domain-extension-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.domain-extension-card { min-width: 0; padding: 12px 13px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.domain-extension-card span, .domain-extension-card strong, .domain-extension-card small { min-width: 0; display: block; }
.domain-extension-card strong { color: var(--navy); font-size: 12px; overflow-wrap: anywhere; }
.domain-extension-card small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.domain-extension-card button { min-height: 32px; padding: 0 10px; border: 1px solid var(--burgundy); border-radius: 7px; background: #fff; color: var(--burgundy); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.domain-extension-card button:hover, .domain-extension-card button:focus-visible { background: var(--burgundy); color: #fff; outline: 0; }
.domain-extension-card em { color: #8a6200; font-size: 9px; font-style: normal; font-weight: 800; text-align: right; }
.domain-extension-card.recommended { border-color: #b9c8df; box-shadow: inset 3px 0 0 var(--navy); }
.domain-extension-card small b { margin-left: 5px; color: #405d8a; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.domain-extension-more { min-height: 38px; margin: 14px auto 0; padding: 0 15px; display: block; border: 1px solid var(--burgundy); border-radius: 8px; background:#fff; color: var(--burgundy); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.domain-extension-more:hover, .domain-extension-more:focus-visible { background: var(--burgundy); color: #fff; outline: 0; }
.domain-extension-empty { padding: 16px; border: 1px dashed var(--border); border-radius: 8px; background:#fff; text-align:center; }
.selected-domain-strip { margin-bottom: 24px; padding: 18px 20px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 24px; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--cloud); }
.selected-domain-strip span { display: grid; gap: 4px; }
.selected-domain-strip small { color: var(--muted); font-size: 11px; }
.selected-domain-strip strong { font-size: 15px; word-break: break-word; }
.selected-domain-strip button { border: 0; background: transparent; color: var(--burgundy); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.service-topology { display: grid; gap: 16px; }
.service-group { overflow: visible; border: 1px solid var(--border); border-radius: 10px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.service-group.drag-target { border-color: #2f74d0; background: #f4f8ff; box-shadow: 0 0 0 3px rgba(47,116,208,.12); }
.service-group.empty { border-style: dashed; }
.service-group-header { min-height: 72px; padding: 15px 18px; display: grid; grid-template-columns: 24px 34px minmax(0,1fr) auto; align-items: center; gap: 12px; border-radius: 10px 10px 0 0; background: var(--cloud); }
.service-group-toggle { width: 24px; height: 24px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.service-group-toggle svg { transition: transform .16s ease; }
.service-group.collapsed .service-group-toggle svg { transform: rotate(-90deg); }
.service-group-icon, .topology-domain-icon { display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--navy); }
.service-group-icon { width: 34px; height: 34px; }
.service-group-title { min-width: 0; }
.service-group-title strong, .service-group-title small { display: block; }
.service-group-title strong { font-size: 15px; }
.service-group-title small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.service-group-badge, .topology-role-badge { padding: 6px 9px; border-radius: 999px; background: #e8eef7; color: #40506b; font-size: 10px; font-weight: 800; white-space: nowrap; }
.topology-role-badge.primary { background: #e4f5ef; color: #0d6348; }
.service-domain-list { position: relative; padding: 0 18px 2px 58px; }
.service-group.collapsed .service-domain-list { display: none; }
.service-domain-list:before { content: ""; position: absolute; top: 0; bottom: 28px; left: 30px; width: 1px; background: #9eb0c9; }
.topology-domain-row { position: relative; min-height: 82px; display: grid; grid-template-columns: 24px 42px minmax(0,1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid #e8ecf2; background: #fff; }
.topology-domain-row:last-of-type { border-bottom: 0; }
.topology-domain-row:before { content: ""; position: absolute; top: 50%; left: -28px; width: 28px; height: 1px; background: #9eb0c9; }
.topology-domain-row:after { content: ""; position: absolute; top: calc(50% - 3px); left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #9eb0c9; }
.topology-domain-row.dragging { opacity: .42; }
.topology-drag-handle { width: 24px; height: 38px; padding: 0; border: 0; background: transparent; color: #8290a6; font-size: 18px; line-height: 1; cursor: grab; }
.topology-drag-handle:active { cursor: grabbing; }
.topology-domain-icon { width: 42px; height: 42px; }
.topology-domain-copy { min-width: 0; }
.topology-domain-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.topology-domain-heading strong { font-size: 14px; overflow-wrap: anywhere; }
.topology-domain-copy > small { margin-top: 5px; display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
.topology-row-actions { position: relative; display: flex; align-items: center; gap: 7px; }
.topology-row-actions > button { min-height: 34px; padding: 0 10px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--navy); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.topology-row-actions > button:hover, .topology-row-actions > button:focus-visible { border-color: var(--navy); outline: 2px solid rgba(10,24,63,.09); outline-offset: 1px; }
.topology-row-actions > button.danger { border-color: transparent; color: var(--burgundy); text-decoration: underline; text-underline-offset: 2px; }
.topology-move-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 8; width: 240px; padding: 6px; display: grid; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(10,24,63,.16); }
.topology-move-menu[hidden] { display: none !important; }
.topology-move-menu button { min-height: 36px; padding: 8px 10px; border: 0; border-radius: 6px; background: #fff; color: var(--navy); font: inherit; font-size: 10px; font-weight: 700; text-align: left; cursor: pointer; }
.topology-move-menu button:hover, .topology-move-menu button:focus-visible { background: var(--cloud); outline: 0; }
.service-dropzone { min-height: 72px; margin: 12px 18px 18px; display: grid; place-items: center; border: 1px dashed #9eb0c9; border-radius: 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; }
.topology-actions { margin-top: 16px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.topology-actions button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--burgundy); border-radius: 8px; background: #fff; color: var(--burgundy); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.topology-actions button:hover, .topology-actions button:focus-visible { background: #fff7f7; outline: 3px solid rgba(123,5,5,.1); outline-offset: 2px; }
.topology-error { margin-top: 14px; }
.topology-info span, .topology-integration-note span { display: grid; gap: 3px; }
.topology-info small, .topology-integration-note small { color: inherit; font-size: 10px; }
.topology-integration-note { border: 1px solid #efd69b; background: #fff8e8; color: #6f4d00; }
.topology-dialog { width: min(520px,calc(100% - 32px)); padding: 0; border: 0; border-radius: 12px; color: var(--navy); box-shadow: 0 28px 80px rgba(4,14,38,.3); }
.topology-dialog::backdrop { background: rgba(4,14,38,.62); backdrop-filter: blur(2px); }
.topology-dialog form { padding: 26px; }
.topology-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.topology-dialog header h2 { margin: 0; font-size: 25px; }
.topology-dialog header > button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--cloud); color: var(--navy); font-size: 22px; cursor: pointer; }
.topology-dialog-hint { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.topology-dialog footer { margin-top: 24px; padding-top: 18px; display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--border); }
.hosting-plan-groups { display: grid; gap: 18px; }
.hosting-plan-group { padding: 18px; border: 1px solid var(--border); border-radius: 10px; background: #fbfcfe; }
.hosting-plan-group > header { margin-bottom: 14px; display: flex; justify-content: space-between; gap: 16px; }
.hosting-plan-group h2 { margin: 0; font-size: 17px; }
.hosting-plan-group header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.hosting-plan-group header span { color: var(--muted); font-size: 10px; font-weight: 700; text-align: right; }
.service-plan-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.service-plan-options .choice-card { min-height: 102px; padding: 14px; }
.summary-service-groups { display: grid; border-top: 1px solid #e8ecf2; }
.summary-service-group { padding: 16px 0; border-bottom: 1px solid #e8ecf2; }
.summary-service-group > header { margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.summary-service-group > header strong:last-child { white-space: nowrap; }
.summary-domain-line { padding: 7px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; color: var(--muted); font-size: 10px; line-height: 1.35; }
.summary-domain-line span,
.summary-domain-line strong,
.summary-domain-line small { display: block; }
.summary-domain-line strong { color: var(--navy); overflow-wrap: anywhere; }
.summary-domain-line em { font-style: normal; white-space: nowrap; }
.summary-domain-remove { grid-column: 1 / -1; width: fit-content; padding: 0; border: 0; background: transparent; color: var(--burgundy); font: inherit; font-weight: 700; cursor: pointer; }
.summary-domain-remove:hover { text-decoration: underline; }
.summary-empty { margin: 0; padding: 16px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.review-service-groups { display: grid; gap: 12px; margin-bottom: 20px; }
.review-service-card { padding: 16px 18px; border: 1px solid var(--border); border-radius: 9px; background: #fbfcfe; }
.review-service-card header { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-service-card h2 { margin: 0; font-size: 16px; }
.review-service-card header button { border: 0; background: transparent; color: var(--burgundy); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.review-service-card dl { margin: 0; }
.review-service-card dl div { padding: 8px 0; display: grid; grid-template-columns: 110px minmax(0,1fr) auto; gap: 12px; border-top: 1px solid #e8ecf2; font-size: 11px; }
.review-service-card dt { color: var(--muted); }
.review-service-card dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.order-summary { position: sticky; top: 24px; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.order-summary h2 { margin: 0 0 24px; font-size: 22px; word-break: break-word; }
.order-summary dl { margin: 0; }
.order-summary dl div { padding: 14px 0; display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #e8ecf2; font-size: 13px; }
.order-summary dt { color: var(--muted); }
.order-summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary-continue { margin: 18px 0; }
.summary-continue[hidden] { display: none; }
.summary-total { padding: 22px 0; }
.summary-total span { display: block; color: var(--muted); font-size: 12px; }
.summary-total strong { display: block; margin-top: 5px; font-size: 20px; }
.order-summary > p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid.three { grid-template-columns: repeat(3,1fr); }
.choice-card { min-height: 112px; padding: 18px; display: grid; grid-template-columns: 24px 1fr; gap: 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy); text-align: left; cursor: pointer; }
.choice-card:hover { border-color: #aeb8c8; }
.choice-card.active { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.choice-card:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.choice-card .radio { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; }
.choice-card.active .radio { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice-card strong, .choice-card small, .choice-card em { display: block; }
.choice-card strong { margin-bottom: 7px; font-size: 15px; }
.choice-card small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.choice-card em { margin-top: 8px; color: var(--burgundy); font-size: 11px; font-style: normal; font-weight: 700; }
.field { margin-top: 22px; display: block; color: #34415c; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; margin-top: 7px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--navy); }
.field textarea { padding-block: 12px; resize: vertical; }
.field input[aria-invalid="true"] { border-color: #b42318; }
.field small { margin-top: 6px; display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.field small.field-error { color: #8b1e18; font-weight: 700; }
.address-suggestions { position: relative; z-index: 3; margin-top: 6px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 10px 20px rgba(10,24,63,.12); }
.address-suggestions[hidden] { display: none !important; }
.address-suggestions button { width: 100%; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--border); background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.address-suggestions button:last-child { border-bottom: 0; }
.address-suggestions button:hover, .address-suggestions button:focus-visible { background: #f2f6fc; outline: 0; }
.step-error, .terms-error { margin: 0 0 6px; padding: 12px 14px; border: 1px solid #edb9b6; border-radius: 8px; background: #fff1f0; color: #8b1e18; font-size: 12px; font-weight: 700; line-height: 1.45; }
.step-error[hidden], .terms-error[hidden] { display: none !important; }
.step-error:before, .terms-error:before { content: "!"; width: 20px; height: 20px; margin-right: 9px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; }
.terms-error { margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
.span-2 { grid-column: 1 / -1; }
.postal-validation { min-height: 42px; margin: -2px 0 10px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--border); border-radius: 8px; background: #f8fafc; color: var(--muted); font-size: 11px; line-height: 1.45; }
.postal-validation:before { content: "i"; width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 20px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 800; }
.postal-validation [data-postal-message] { margin-right: auto; }
.postal-validation button { padding: 7px 10px; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 6px; background: #fff; color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.postal-validation[data-state="checking"] { color: #405d8a; background: #f2f6fc; }
.postal-validation[data-state="checking"]:before { content: "…"; }
.postal-validation[data-state="success"] { border-color: #b8dfd0; background: #eef8f4; color: #175d48; }
.postal-validation[data-state="success"]:before { content: "✓"; }
.postal-validation[data-state="error"] { border-color: #edb9b6; background: #fff1f0; color: #8b1e18; }
.postal-validation[data-state="error"]:before { content: "!"; }
.checkout-profile-memory { margin: 2px 0 10px; padding: 11px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.45; }
.checkout-profile-memory .check-row { flex: 1 1 420px; margin: 0; }
.checkout-profile-memory button { margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--burgundy); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.checkout-profile-memory button:hover { color: #530303; }
.checkout-profile-memory button:focus-visible { color: #530303; outline: 2px solid var(--burgundy); outline-offset: 4px; border-radius: 2px; }
.checkout-profile-memory small { width: 100%; color: #175d48; }
.billing-choice { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.billing-choice > span { font-size: 13px; font-weight: 700; }
.checkout-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.inline-info, .warning-box { margin-top: 20px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 10px; border-radius: 8px; background: var(--cloud); color: #40506b; font-size: 12px; line-height: 1.5; }
.inline-info.secure { background: #eef8f4; color: #175d48; }
.wp-choice { padding: 22px; display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--cloud); }
.wp-choice > svg { color: var(--navy); font-size: 48px; }
.wp-choice h2 { margin: 0 0 5px; font-size: 18px; }
.wp-choice p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.wp-service-options { display: grid; gap: 12px; margin-top: 16px; }
.wp-service-option { margin: 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; }
.wp-service-option strong, .wp-service-option small { display: block; }
.wp-service-option strong { color: var(--navy); font-size: 14px; }
.wp-service-option small { margin-top: 4px; color: var(--muted); }
.toggle { width: 48px; height: 28px; padding: 3px; border: 0; border-radius: 999px; background: #b8c1ce; cursor: pointer; }
.toggle span { width: 22px; height: 22px; display: block; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.toggle.on { background: var(--success); }
.toggle.on span { transform: translateX(20px); }
.review-list { border-top: 1px solid var(--border); }
.review-list > div { min-height: 66px; display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--border); font-size: 13px; }
.review-list > div > span:first-child { color: var(--muted); }
.review-list button { border: 0; background: transparent; color: var(--burgundy); font-weight: 700; }
.check-row { margin-top: 24px; display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: #40506b; font-size: 12px; line-height: 1.5; }
.check-row input { width: 18px; height: 18px; accent-color: var(--burgundy); }
.payment-mock { width: min(100%,520px); padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: #fbfcfe; }
.stripe-label { margin-bottom: 18px; display: flex; align-items: center; gap: 8px; color: #635bff; font-size: 13px; font-weight: 800; }
.payment-mock > p { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.checkout-actions { margin-top: 36px; padding-top: 24px; display: flex; justify-content: flex-end; gap: 12px; border-top: 1px solid var(--border); }
.checkout-actions .secondary-button { margin-right: auto; }

.status-page { min-height: calc(100vh - 146px); padding: 72px 20px 90px; display: grid; justify-items: center; background: #fff; }
.status-hero { max-width: 690px; text-align: center; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #e9f7f2; color: var(--success); }
.status-hero h1 { margin: 0; font-size: 46px; letter-spacing: -.045em; }
.status-hero > p:last-child { color: var(--muted); line-height: 1.6; }
.provisioning-timeline { width: min(100%,680px); margin: 42px 0; padding: 0; list-style: none; }
.provisioning-timeline li { min-height: 68px; display: grid; grid-template-columns: 38px 1fr; gap: 15px; align-items: start; position: relative; }
.provisioning-timeline li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--muted); font-size: 12px; font-weight: 800; z-index: 1; }
.provisioning-timeline li:not(:last-child):after { content: ""; position: absolute; top: 34px; left: 16px; width: 2px; height: 34px; background: var(--border); }
.provisioning-timeline li.done > span { border-color: var(--success); background: var(--success); color: #fff; }
.provisioning-timeline li.done:not(:last-child):after { background: var(--success); }
.provisioning-timeline li.working > span { border-color: var(--burgundy); color: var(--burgundy); box-shadow: 0 0 0 5px rgba(123,5,5,.08); }
.provisioning-timeline strong, .provisioning-timeline small { display: block; }
.provisioning-timeline small { margin-top: 4px; color: var(--muted); font-size: 12px; }

.portal-shell { min-height: 100vh; display: grid; grid-template-columns: 264px minmax(0,1fr); background: var(--cloud); }
.portal-sidebar { position: sticky; top: 0; height: 100vh; padding: 25px 18px 20px; display: flex; flex-direction: column; background: var(--navy-deep); color: #fff; }
.portal-sidebar .brand-lockup { padding: 0 8px; }
.portal-sidebar nav { margin-top: 48px; display: grid; gap: 5px; }
.portal-sidebar nav button, .sidebar-bottom button { min-height: 46px; padding: 0 14px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.portal-sidebar nav button:hover, .sidebar-bottom button:hover { background: rgba(255,255,255,.07); color: #fff; }
.portal-sidebar nav button.active { background: #fff; color: var(--navy); }
.portal-sidebar nav button b { min-width: 22px; margin-left: auto; padding: 3px 6px; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: 10px; text-align: center; }
.sidebar-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.sidebar-bottom form { margin: 0; }
.portal-main { min-width: 0; }
.portal-topbar { height: 68px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: #fff; }
.portal-topbar > div { display: flex; align-items: center; gap: 10px; }
.mobile-brand { display: none; font-weight: 800; }
.admin-label { padding: 5px 8px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.avatar { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; }
.portal-content { width: min(1260px,calc(100% - 64px)); margin: 0 auto; padding: 48px 0 80px; }
.portal-content .page-intro h1 { font-size: 42px; }
.health-banner, .attention-banner { margin: 0 0 22px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1px solid #a8dbc9; border-radius: 10px; background: #f0faf7; color: #145d47; }
.health-banner.neutral { border-color: var(--border); background: #fff; color: var(--navy); }
.attention-banner { border-color: #efd08a; background: #fff9e8; color: #805800; }
.health-banner strong, .attention-banner strong { display: block; font-size: 14px; }
.health-banner p, .attention-banner p { margin: 4px 0 0; font-size: 12px; opacity: .78; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.metric { min-height: 138px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.metric > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.metric > strong { margin: 16px 0 5px; font-size: 28px; letter-spacing: -.035em; }
.metric > small { margin-top: auto; color: var(--muted); font-size: 11px; }
.panel-header { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.panel-header h2 { margin: 0 0 4px; }
.panel-header p { margin: 0; color: var(--muted); font-size: 12px; }
.service-list { padding: 8px 24px; }
.service-list .panel-header { padding: 18px 4px 10px; }
.service-row { width: 100%; min-height: 82px; padding: 14px 4px; display: grid; grid-template-columns: 46px minmax(180px,1fr) auto 170px 24px; gap: 15px; align-items: center; border: 0; border-top: 1px solid #e9edf3; background: transparent; color: var(--navy); text-align: left; cursor: pointer; }
.service-icon, .setting-icon, .job-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; background: var(--cloud); color: var(--navy); }
.service-icon.large { width: 50px; height: 50px; }
.service-row strong, .service-row small, .mail-list strong, .mail-list small, .settings-list strong, .settings-list small, .backup-list strong, .backup-list small, .session-row strong, .session-row small, .job-list strong, .job-list small { display: block; }
.service-row small, .mail-list small, .settings-list small, .backup-list small, .session-row small, .job-list small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.portal-domain-list { margin: 10px 0 0; padding: 8px 0 0; list-style: none; border-top: 1px solid #e9edf3; }
.portal-domain-list li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding: 3px 0; font-size: 12px; overflow-wrap: anywhere; }
.portal-domain-list li > span { font-weight: 650; }
.portal-domain-list li > small { margin: 0; }
.status-pill { width: max-content; padding: 6px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #eef1f5; color: #4d5a70; font-size: 10px; font-weight: 800; }
.status-pill > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.active, .status-pill.paid { background: #e8f7f1; color: var(--success); }
.status-pill.attention, .status-pill.waiting, .status-pill.retry { background: #fff4d8; color: #896000; }
.status-pill.manual { background: #fff0ef; color: #9b251d; }
.status-pill.provisioning { background: #eaf1ff; color: #2e5aac; }
.usage { position: relative; height: 5px; border-radius: 999px; background: #e3e8ef; }
.usage i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--navy); }
.usage small { position: absolute; top: 10px; left: 0; white-space: nowrap; }
.service-heading { margin-bottom: 26px; }
.back-link { padding: 0; display: flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.service-heading > div { margin-top: 20px; display: flex; align-items: center; gap: 15px; }
.service-heading h1 { margin: 0 0 3px; font-size: 34px; letter-spacing: -.04em; }
.service-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.service-heading .status-pill { margin-left: 8px; }
.tabs { margin-bottom: 22px; display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.tabs button { min-height: 48px; padding: 0; flex-shrink: 0; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.tabs button.active { border-bottom-color: var(--burgundy); color: var(--navy); }
.two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.two-columns.wide-main { grid-template-columns: 1.5fr .5fr; }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { min-height: 42px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #e9edf3; color: #40506b; font-size: 13px; }
.check-list svg { color: var(--success); }
.quick-actions { margin-top: 18px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.quick-actions button { min-height: 72px; padding: 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--cloud); color: var(--navy); font-size: 12px; font-weight: 700; text-align: left; }
.settings-list > div, .mail-list > div, .backup-list > div, .session-row, .job-list > div { min-height: 76px; padding: 13px 0; display: grid; align-items: center; gap: 14px; border-top: 1px solid #e9edf3; }
.settings-list > div { grid-template-columns: 44px minmax(170px,1fr) auto auto; }
.version-stack { margin-top: 18px; }
.version-stack > div { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e9edf3; font-size: 13px; font-weight: 700; }
.helper { color: var(--muted); font-size: 11px; line-height: 1.5; }
.table-wrap { width: 100%; overflow-x: auto; }
code { padding: 3px 5px; border-radius: 4px; background: var(--cloud); color: #3a4861; font-family: "Cascadia Code",Consolas,monospace; font-size: 11px; }
.mail-list > div { grid-template-columns: 44px minmax(180px,1fr) auto auto; }
.backup-list > div { grid-template-columns: minmax(180px,1fr) auto auto; }
.security-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #e9edf3; }
.security-row strong, .security-row small { display: block; }
.security-row small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.session-row { grid-template-columns: 32px minmax(180px,1fr) auto; }
.support-form { padding: 34px; }
.support-actions { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.support-actions p { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.empty-state { min-height: 260px; padding: 40px; display: grid; place-items: center; align-content: center; border: 1px dashed #b9c2cf; border-radius: 12px; background: var(--cloud); text-align: center; }
.empty-state.success { border-style: solid; border-color: #a8dbc9; background: #f0faf7; color: var(--success); }
.empty-state h2 { margin: 14px 0 5px; }
.empty-state p { max-width: 520px; margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.job-list > div { grid-template-columns: 44px minmax(240px,1fr) 100px auto auto; }
.table-search { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; }
.table-search input { width: 240px; border: 0; outline: 0; }
.whm-connection { margin-bottom: 18px; padding: 16px 18px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.whm-connection.ready { border-color: #a8dbc9; background: #f0faf7; color: #145d47; }
.whm-connection.error { border-color: #edb9b6; background: #fff1f0; color: #8b1e18; }
.whm-connection.not-configured, .whm-connection.disabled { border-color: #efd08a; background: #fff9e8; color: #805800; }
.whm-connection strong, .whm-connection p { display: block; margin: 0; }
.whm-connection p { margin-top: 3px; font-size: 12px; opacity: .78; }
.integration-summary { margin-bottom: 18px; padding: 16px 18px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; border: 1px solid #efd08a; border-radius: 10px; background: #fff9e8; color: #805800; }
.integration-summary.ready { border-color: #a8dbc9; background: #f0faf7; color: #145d47; }
.integration-summary strong, .integration-summary p { display: block; margin: 0; }
.integration-summary p { margin-top: 3px; font-size: 12px; opacity: .82; }
.integration-panel { margin-top: 0; }
.integration-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.integration-card { min-height: 190px; padding: 18px; display: flex; align-items: flex-start; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; background: var(--cloud); }
.integration-card.ready { border-color: #a8dbc9; background: #f0faf7; }
.integration-card.attention { border-color: #efd08a; background: #fff9e8; }
.integration-card.error { border-color: #edb9b6; background: #fff1f0; }
.integration-card-heading { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; color: var(--navy); }
.integration-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 8px; }
.integration-card p { margin: auto 0 0; padding-top: 16px; color: #526078; font-size: 12px; line-height: 1.55; }
.status-pill.ready { background: #e8f7f1; color: var(--success); }
.status-pill.disabled { background: #eef1f5; color: #4d5a70; }
.status-pill.error { background: #fff0ef; color: #9b251d; }
.customer-admin-grid { align-items: start; }
.client-list article { min-height: 82px; padding: 14px 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto auto; gap: 14px; align-items: center; border-top: 1px solid #e9edf3; }
.client-list strong, .client-list small { display: block; }
.client-list small { margin: 4px 0 6px; color: var(--muted); font-size: 11px; }
.cpanel-button { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; background: #ff6c2c; color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; }
.empty-state.compact { min-height: 220px; }
.client-form { margin-top: 22px; }
.input-suffix { margin-top: 7px; display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.input-suffix input { margin: 0; border: 0; border-radius: 0; }
.input-suffix span { padding: 0 12px; display: flex; align-items: center; background: var(--cloud); color: var(--muted); font-size: 12px; font-weight: 600; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 24px; display: grid; place-items: center; background: rgba(7,20,50,.58); }
.modal { width: min(100%,560px); border-radius: 14px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.modal-header, .modal-actions { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.modal-header { border-bottom: 1px solid var(--border); }
.modal-header h2 { margin: 0; font-size: 20px; }
.modal-body { padding: 4px 24px 26px; }
.modal-actions { justify-content: flex-end; border-top: 1px solid var(--border); }
.toast { position: fixed; right: 28px; bottom: 28px; z-index: 60; max-width: 440px; min-height: 54px; padding: 9px 9px 9px 16px; display: flex; align-items: center; gap: 10px; border-radius: 10px; background: var(--navy); color: #fff; box-shadow: 0 16px 50px rgba(7,20,50,.28); font-size: 12px; }
.toast .icon-button { margin-left: auto; border-color: rgba(255,255,255,.22); background: transparent; color: #fff; }

@media (max-width: 1100px) {
  .checkout-main { grid-template-columns: 1fr; }
	.order-summary { position: static; }
	.service-plan-options { grid-template-columns: 1fr; }
	.domain-catalog-grid, .domain-catalog-grid.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .portal-content { width: min(100% - 40px,1260px); }
  .choice-grid.three, .checkout-plans { grid-template-columns: 1fr; }
	.integration-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .public-page { padding: 52px 24px 68px; }
  .page-intro { align-items: flex-start; flex-direction: column; }
  .split-hero, .process-grid, .two-columns, .two-columns.wide-main { grid-template-columns: 1fr; }
  .process-grid article:last-child { border-right: 0; }
  .portal-shell { grid-template-columns: minmax(0,1fr); overflow-x: hidden; }
  .portal-sidebar { position: static; width: 100%; min-width: 0; height: auto; padding: 14px 18px; display: block; }
  .portal-sidebar .brand-lockup, .portal-sidebar .sidebar-bottom { display: none; }
  .portal-sidebar nav { max-width: 100%; min-width: 0; margin: 0; display: flex; gap: 6px; overflow-x: auto; }
  .portal-sidebar nav button { flex: 0 0 auto; }
  .portal-topbar { padding: 0 20px; }
  .mobile-brand { display: inline; }
  .service-row { grid-template-columns: 44px 1fr auto; }
  .service-row .usage { display: none; }
  .service-row > svg { display: none; }
  .job-list > div { grid-template-columns: 44px 1fr auto; }
  .job-list > div > span:nth-child(3), .job-list > div > button { grid-column: 2 / -1; }
}

@media (max-width: 700px) {
	.domain-catalog-section { padding: 38px 20px; }
	.domain-roller-section { padding-top: 24px; padding-bottom: 16px; }
	.domain-roller-heading { align-items: start; flex-direction: column; gap: 8px; }
	.domain-roller-actions { width: 100%; justify-content: space-between; }
	.domain-catalog-grid, .domain-catalog-grid.compact { grid-template-columns: 1fr; }
  .public-footer { padding: 22px 20px; align-items: flex-start; flex-direction: column; }
  .public-footer nav { order: -1; }
  .wordpress-banner button { grid-column: 1 / -1; justify-content: center; }
  .large-search { padding: 0; grid-template-columns: 1fr; border: 0; box-shadow: none; }
  .large-search > svg { display: none; }
  .large-search input { border: 1px solid var(--border); border-radius: 8px; }
  .large-search button { margin: 10px 0 0; border-radius: 8px; }
  .availability { grid-template-columns: auto 1fr; }
  .availability .primary-button { grid-column: 1 / -1; }
  .split-hero { min-height: auto; }
  .split-hero h1 { font-size: 42px; }
  .wp-visual { min-height: 260px; }
  .process-grid article { border-right: 1px solid var(--border); }
  .auth-card { padding: 30px 24px; }
  .checkout-header { padding: 0 18px; }
  .checkout-header .brand-lockup img { width: 150px; }
  .checkout-progress, .checkout-progress.seven { padding: 0 18px; grid-template-columns: repeat(7,44px); overflow-x: auto; }
  .checkout-progress button { width: 44px; justify-content: center; font-size: 0; }
  .checkout-progress button:after { right: 4px; left: 4px; }
  .checkout-main { width: calc(100% - 28px); padding-top: 18px; gap: 14px; }
  .checkout-content { min-height: 0; padding: 26px 20px; }
  .checkout-content .page-intro h1 { font-size: 30px; }
	.service-group-header { grid-template-columns: 24px 34px minmax(0,1fr); }
	.service-group-badge { grid-column: 3; justify-self: start; }
	.service-domain-list { padding-right: 12px; padding-left: 42px; }
	.service-domain-list:before { left: 20px; }
	.topology-domain-row { padding: 12px 0; grid-template-columns: 22px 38px minmax(0,1fr); }
	.topology-domain-row:before { left: -22px; width: 22px; }
	.topology-domain-icon { width: 38px; height: 38px; }
	.topology-row-actions { grid-column: 2 / -1; justify-content: flex-start; flex-wrap: wrap; }
	.topology-move-menu { right: auto; left: 0; }
	.topology-actions { grid-template-columns: 1fr; }
	.hosting-plan-group > header { align-items: flex-start; flex-direction: column; }
	.hosting-plan-group header span { text-align: left; }
	.review-service-card dl div { grid-template-columns: 88px minmax(0,1fr); }
	.review-service-card dl div > :last-child { grid-column: 2; }
	.domain-search-results > header { align-items: flex-start; flex-direction: column; gap: 10px; }
	.domain-result-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
	.domain-result-identity { grid-column: 1 / -1; }
	.domain-result-price { text-align: left; }
	.domain-result-action, .domain-result-unavailable { grid-column: 1 / -1; width: 100%; text-align: center; }
	.domain-extension-toggle { align-items: flex-start; }
	.domain-extension-list { grid-template-columns: 1fr; }
  .order-summary { padding: 20px; }
	.selected-domain-strip { grid-template-columns: 1fr; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .wp-choice { grid-template-columns: 44px 1fr; }
  .wp-choice .toggle { grid-column: 1 / -1; }
  .review-list > div { padding: 12px 0; grid-template-columns: 86px 1fr auto; }
  .checkout-actions { align-items: stretch; flex-direction: column-reverse; }
  .checkout-actions .secondary-button { width: 100%; }
  .status-hero h1 { font-size: 36px; }
  .portal-content { width: calc(100% - 28px); padding-top: 32px; }
  .portal-main, .portal-content, .content-panel, .table-wrap { min-width: 0; }
  .portal-content .page-intro h1 { font-size: 34px; }
  .metric-grid { grid-template-columns: 1fr; }
  .health-banner, .attention-banner { grid-template-columns: auto 1fr; }
  .health-banner .secondary-button, .attention-banner .primary-button { grid-column: 1 / -1; }
  .content-panel { padding: 22px 18px; }
  .service-list { padding: 5px 16px; }
  .service-row { grid-template-columns: 38px 1fr; }
  .service-row .status-pill { grid-column: 2; }
  .quick-actions { grid-template-columns: 1fr; }
  .settings-list > div, .mail-list > div, .backup-list > div, .session-row { grid-template-columns: 44px minmax(0,1fr); }
  .job-list > div { grid-template-columns: 44px minmax(0,1fr) auto; }
  .client-list article { grid-template-columns: 44px minmax(0,1fr); }
  .client-list article > .status-pill, .client-list article > .cpanel-button { grid-column: 2; justify-self: start; }
  .settings-list > div > b, .settings-list > div > button, .mail-list > div > .status-pill, .mail-list > div > button, .backup-list > div > .status-pill, .backup-list > div > button, .session-row > .status-pill, .session-row > button { grid-column: 2; justify-self: start; }
  .panel-header { align-items: flex-start; flex-direction: column; }
  .support-actions { align-items: stretch; flex-direction: column; }
  .modal-backdrop { padding: 12px; }
  .toast { right: 14px; bottom: 14px; left: 14px; }
}
