select {
  width: 100%;
  border: 1px solid #31446f;
  background: #08142c;
  color: var(--ink);
  border-radius: 11px;
  padding: .86rem .95rem;
  outline: none;
  font: inherit;
}

.billing-center {
  margin: 1rem 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18,33,67,.96), rgba(10,22,48,.94));
  box-shadow: var(--shadow);
}

.billing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.billing-option {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #08142c;
}

.billing-option h3 { margin: .35rem 0 .55rem; }
.billing-option p { color: var(--muted); line-height: 1.55; }
.billing-option-label { color: var(--mint); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.refund-guarantee-card[data-tone="eligible"] { border-color: rgba(85,214,190,.55); }
.refund-guarantee-card[data-tone="pending"] { border-color: rgba(103,166,255,.55); }
.refund-guarantee-card[data-tone="action"] { border-color: rgba(255,212,122,.55); }
.refund-guarantee-card[data-tone="success"] { border-color: rgba(85,214,190,.55); background: rgba(85,214,190,.07); }
.refund-guarantee-card[data-tone="error"] { border-color: rgba(255,137,146,.55); }
.refund-guarantee-detail, .refund-cancellation-state { font-size: .86rem; overflow-wrap: anywhere; }
.refund-cancellation-state { padding: .75rem; border-radius: 10px; background: rgba(103,166,255,.1); color: #b9d3ff!important; }
.refund-guarantee-form { margin-top: 1rem; }
.refund-confirmation { padding: .85rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); }
.refund-button { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.refund-button:not(:disabled):hover { background: rgba(255,137,146,.1); }
.refund-button:disabled { opacity: .55; cursor: not-allowed; }
.refund-guarantee-status { text-align: left; margin: .7rem 0 0; }
.refund-guarantee-refresh { margin-top: .75rem; }

@media (max-width: 760px) {
  .billing-options { grid-template-columns: 1fr; }
  .billing-center .section-title-row { align-items: stretch; }
  .billing-center .section-title-row .button { width: 100%; }
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #31446f;
  background: #08142c;
  color: var(--ink);
  border-radius: 11px;
  padding: .86rem .95rem;
  outline: none;
  font: inherit;
}

textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(85, 214, 190, .13);
}

select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(85, 214, 190, .13);
}

.team-invite-form {
  margin-top: 1rem;
}

.team-invite-form .button {
  margin-top: .2rem;
}

.team-card .field-help {
  margin: .8rem 0 0;
  line-height: 1.5;
}

.domain-search-result .button {
  margin-top: .85rem;
}

.domain-search-suggestions {
  margin-top: 1rem;
}

.domain-search-suggestions h3 {
  margin: 0 0 .65rem;
  font-size: .92rem;
}

.domain-search-suggestion-list {
  display: grid;
  gap: .55rem;
}

.domain-search-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .65rem;
  align-items: center;
  padding: .8rem .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #09152d;
}

.domain-search-suggestion.is-available {
  border-color: rgba(85,214,190,.42);
}

.domain-search-suggestion-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.domain-search-suggestion-state {
  color: var(--muted);
  font-size: .76rem;
  white-space: nowrap;
}

.domain-search-suggestion.is-available .domain-search-suggestion-state {
  color: var(--mint);
}

.domain-search-suggestion .button {
  margin: 0;
  padding: .6rem .75rem;
  font-size: .76rem;
}

@media (max-width: 620px) {
  .domain-search-suggestion {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .domain-search-suggestion .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.domain-request-list {
  display: grid;
  gap: .55rem;
  margin-top: .8rem;
}

.domain-request-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .25rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #09152d;
}

.domain-request-item div {
  display: grid;
  gap: .25rem;
}

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

.domain-request-cancel {
  white-space: nowrap;
}

.domain-checkout-draft {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 15, 35, .48);
}

.domain-checkout-heading,
.domain-checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.domain-checkout-heading h3,
.domain-checkout-heading .eyebrow {
  margin: 0;
}

.domain-checkout-heading span,
.domain-checkout-summary span,
.domain-checkout-summary small,
.domain-checkout-line small,
.domain-checkout-empty {
  color: var(--muted);
}

.domain-checkout-lines {
  display: grid;
  gap: .5rem;
  margin: .9rem 0;
}

.domain-checkout-line {
  display: grid;
  gap: .2rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #09152d;
}

.domain-quote-refresh {
  justify-self: start;
  padding: .25rem 0;
  font-size: .78rem;
}

.domain-quote-accept {
  justify-self: start;
  margin: .25rem 0 0;
  padding: .55rem .8rem;
  font-size: .78rem;
}

.domain-readiness-checklist {
  display: grid;
  gap: .25rem;
  margin: .5rem 0 0;
  padding: .6rem .7rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 20, 43, .65);
}

.domain-readiness-checklist li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .72rem;
}

.domain-readiness-checklist span {
  color: var(--muted);
}

.domain-readiness-checklist strong {
  color: var(--text);
  text-align: right;
}

.domain-checkout-summary {
  align-items: end;
  flex-wrap: wrap;
}

.domain-checkout-summary div {
  display: grid;
  gap: .2rem;
}

.domain-checkout-summary .button {
  margin: 0;
}

.domain-test-checkout-notice {
  display: grid;
  gap: .8rem;
  margin: .9rem 0;
  padding: .9rem;
  border: 1px solid rgba(103, 166, 255, .42);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(18, 42, 81, .78), rgba(8, 20, 43, .9));
}

.domain-test-checkout-notice h4,
.domain-test-checkout-notice p {
  margin: 0;
}

.domain-test-checkout-notice>div {
  display: grid;
  gap: .3rem;
}

.domain-test-checkout-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: .7rem;
  border-radius: 10px;
  background: rgba(103, 166, 255, .08);
  line-height: 1.45;
}

.domain-test-checkout-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: .15rem;
}

.domain-test-checkout-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .55rem;
}

.domain-test-checkout-controls .button {
  margin: 0;
  padding: .6rem .8rem;
  font-size: .78rem;
}

.domain-payment-state {
  display: grid;
  gap: .3rem;
  margin-top: .55rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 20, 43, .75);
}

.domain-payment-state p,
.domain-payment-state small {
  margin: 0;
}

.domain-payment-state.is-paid {
  border-color: rgba(85, 214, 190, .5);
  background: rgba(85, 214, 190, .08);
}

.domain-payment-state.is-failed,
.domain-payment-state.is-expired {
  border-color: rgba(255, 137, 146, .42);
}

.domain-checkout-empty {
  margin: 0;
}

.domain-registration-profile-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.activation-pending {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 6vw, 5rem);
}

.activation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 1.25rem;
}

.activation-heading .activation-account {
  margin: 0;
  position: relative;
  z-index: 1;
}

.activation-workspace .included-designs {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.customer-shell {
  display: grid;
  gap: 1.25rem;
}

.account-hero,
.account-summary,
.service-storefront,
.included-designs,
.domain-service-center,
.account-security {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(18, 33, 67, .96), rgba(10, 22, 48, .94));
  box-shadow: var(--shadow);
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden;
  position: relative;
}

.account-hero::after {
  content: "";
  position: absolute;
  width: 20rem;
  height: 20rem;
  right: -8rem;
  top: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 214, 190, .19), transparent 68%);
  pointer-events: none;
}

.account-hero h1 {
  max-width: 850px;
  margin: .45rem 0 1rem;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  line-height: .99;
  letter-spacing: -.052em;
}

.account-hero>div>p:last-child,
.section-title-row>p,
.catalog-group-heading>p,
.domain-service-center p,
.account-security p,
.included-designs .section-title-row p {
  color: var(--muted);
  line-height: 1.65;
}

.account-hero .activation-account {
  margin: 0;
  position: relative;
  z-index: 1;
}

.portal-section-nav {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 20, 44, .88);
  overflow-x: auto;
}

.portal-section-nav a {
  min-width: max-content;
  padding: .75rem 1rem;
  border-radius: 10px;
  color: #cbd6ea;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.portal-section-nav a:hover {
  color: var(--ink);
  background: var(--panel2);
}

.portal {
  width: min(1240px, calc(100% - 2rem));
}

.portal-heading-lead {
  max-width: 42rem;
  margin: .65rem 0 0;
  color: #b8c5da;
  line-height: 1.55;
  font-size: .95rem;
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(210px, 236px) minmax(0, 1fr);
  gap: clamp(.85rem, 2vw, 1.35rem);
  margin-top: .5rem;
  align-items: start;
}

.workspace-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(10, 22, 48, .94), rgba(8, 18, 40, .9));
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}

.workspace-nav-title {
  margin: 0 0 .35rem;
  padding: 0 .55rem;
  color: var(--mint);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.workspace-nav-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .78rem .85rem;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #cbd6ea;
  font-size: .84rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.workspace-nav-icon {
  flex: 0 0 auto;
  opacity: .82;
}

.workspace-nav-btn:hover,
.workspace-nav-btn:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .06);
}

.workspace-nav-btn.is-active,
.workspace-nav-btn[aria-selected="true"] {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(85, 214, 190, .12), rgba(103, 166, 255, .08));
  border-color: rgba(85, 214, 190, .28);
  box-shadow: inset 3px 0 0 var(--mint);
}

.workspace-nav-btn.is-active .workspace-nav-icon,
.workspace-nav-btn[aria-selected="true"] .workspace-nav-icon {
  color: var(--mint);
  opacity: 1;
}

.workspace-main {
  min-width: 0;
  display: grid;
  gap: .85rem;
}

.portal-workspace-status {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(103, 166, 255, .35);
  background: rgba(103, 166, 255, .08);
  text-align: left;
}

.workspace-panel {
  display: grid;
  gap: 1rem;
  animation: workspace-panel-in .22s ease;
}

@keyframes workspace-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-panel {
    animation: none;
  }

  .workspace-nav-btn,
  .workspace-shortcut {
    transition: none;
  }
}

.workspace-panel-heading {
  display: grid;
  gap: .35rem;
  max-width: 760px;
}

.workspace-panel-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -.03em;
}

.workspace-panel-heading p {
  margin: 0;
  color: #b8c5da;
  line-height: 1.55;
}

.workspace-panel-card {
  max-width: none;
  border-radius: 18px;
}

.workspace-panel-card .icon {
  display: none;
}

.workspace-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.workspace-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18, 33, 67, .72), rgba(10, 22, 48, .82));
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.workspace-shortcut-copy {
  display: grid;
  gap: .35rem;
}

.workspace-shortcut strong {
  font-size: .95rem;
}

.workspace-shortcut span {
  color: #b8c5da;
  font-size: .84rem;
  line-height: 1.45;
}

.workspace-shortcut-arrow {
  color: var(--mint);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.workspace-shortcut:hover,
.workspace-shortcut:focus-visible {
  border-color: rgba(85, 214, 190, .35);
  background: rgba(12, 28, 58, .92);
  transform: translateY(-1px);
}

.workspace-empty-state {
  margin: .25rem 0 0;
  padding: 1.1rem 1.15rem;
  border: 1px dashed rgba(103, 166, 255, .28);
  border-radius: 14px;
  background: rgba(8, 20, 44, .55);
  color: #b8c5da;
  line-height: 1.55;
}

.workspace-empty-state strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--ink);
}

.workspace-empty-state p {
  margin: 0;
}

#workspace-panel-overview .metrics {
  margin: 0;
}

#workspace-panel-overview .session-card {
  margin-top: .25rem;
}

#workspace-panel-billing .account-summary {
  margin: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 33, 67, .96), rgba(10, 22, 48, .94));
  box-shadow: var(--shadow);
}

#workspace-panel-billing .billing-center {
  margin: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
}

#workspace-panel-services .service-storefront {
  margin: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 33, 67, .96), rgba(10, 22, 48, .94));
  box-shadow: var(--shadow);
}

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

  .workspace-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .workspace-nav-title {
    display: none;
  }

  .workspace-nav-btn {
    min-width: max-content;
    white-space: nowrap;
    scroll-snap-align: start;
    box-shadow: none;
  }

  .workspace-nav-btn.is-active,
  .workspace-nav-btn[aria-selected="true"] {
    box-shadow: inset 0 -3px 0 var(--mint);
  }

  .workspace-shortcuts {
    grid-template-columns: 1fr;
  }

  .portal-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }
}

.account-summary,
.service-storefront,
.included-designs,
.domain-service-center,
.account-security {
  padding: clamp(1.35rem, 4vw, 2.5rem);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 3rem);
}

.section-title-row h2,
.domain-service-center h2,
.account-security h2 {
  margin: .25rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -.035em;
}

.section-title-row>p {
  max-width: 560px;
  margin: 0;
}

.section-title-row>.button {
  margin: 0;
  white-space: nowrap;
  text-decoration: none;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.35rem;
}

.account-summary-grid article {
  display: grid;
  align-content: start;
  gap: .45rem;
  min-height: 155px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #09152d;
}

.account-summary-grid span,
.account-summary-grid small {
  color: var(--muted);
  line-height: 1.5;
}

.account-summary-grid span {
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.purchase-order-list {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}

.purchase-order-item {
  display: grid;
  gap: .35rem;
  padding: .95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1833;
}

.purchase-order-item small {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-confirmation {
  margin: 1.25rem 0;
}

.checkout-confirmation-card {
  display: grid;
  gap: .75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(85, 214, 190, .42);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 33, 67, .98), rgba(8, 20, 43, .94));
  box-shadow: var(--shadow);
}

.checkout-confirmation-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.03em;
}

.checkout-confirmation-price {
  margin: 0;
  color: var(--mint);
  font-size: 1.15rem;
  font-weight: 850;
}

.checkout-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .35rem;
}

.checkout-result-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #09152d;
}

.checkout-result-banner.is-success {
  border-color: rgba(85, 214, 190, .45);
  background: rgba(85, 214, 190, .08);
}

.checkout-result-banner.is-error {
  border-color: rgba(255, 137, 146, .45);
  background: rgba(255, 137, 146, .08);
}

.checkout-result-banner.is-pending {
  border-color: rgba(103, 166, 255, .4);
  background: rgba(103, 166, 255, .08);
}

.checkout-result-banner-copy {
  display: grid;
  gap: .35rem;
}

.checkout-result-banner-copy strong {
  font-size: 1rem;
}

.checkout-result-banner-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-catalog-skeleton {
  pointer-events: none;
}

.service-catalog-skeleton span,
.service-catalog-skeleton strong,
.service-catalog-skeleton p,
.service-catalog-skeleton div {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, #172a51 0%, #24345a 45%, #172a51 100%);
  background-size: 200% 100%;
  animation: catalog-skeleton-shimmer 1.2s linear infinite;
}

.service-catalog-skeleton span { width: 38%; height: .7rem; }
.service-catalog-skeleton strong { width: 62%; height: 1.2rem; margin-top: .5rem; }
.service-catalog-skeleton p { width: 92%; height: .7rem; margin-top: .65rem; }
.service-catalog-skeleton p + p { width: 78%; }
.service-catalog-skeleton div { width: 100%; height: 2.4rem; margin-top: 1rem; border-radius: 11px; }

@keyframes catalog-skeleton-shimmer {
  to { background-position: -200% 0; }
}

.domain-checkout-terms {
  margin-top: .75rem;
}

.domain-checkout-terms summary {
  cursor: pointer;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 750;
}

.domain-checkout-terms[open] summary {
  margin-bottom: .5rem;
}

.catalog-group {
  margin-top: 2rem;
}

.catalog-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: .85rem;
}

.catalog-group-heading>div {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.catalog-group-heading span {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10px;
  background: #172a51;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

.catalog-group-heading h3 {
  margin: 0;
  font-size: 1.2rem;
}

.catalog-group-heading>p {
  max-width: 610px;
  margin: 0;
  font-size: .83rem;
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.service-catalog-grid-addons {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(155deg, #102044, #09152d);
}

.service-catalog-card-featured {
  border-color: rgba(85, 214, 190, .62);
  box-shadow: inset 0 0 0 1px rgba(85, 214, 190, .14), 0 16px 42px rgba(0, 0, 0, .2);
}

.service-catalog-topline {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-catalog-topline small {
  color: var(--mint);
  font-size: inherit;
  text-align: right;
}

.service-catalog-card h4 {
  margin: 1rem 0 .3rem;
  font-size: 1.25rem;
}

.service-catalog-price {
  margin: 0 0 .75rem;
  color: var(--mint);
  font-size: 1.35rem;
  font-weight: 900;
}

.service-catalog-summary {
  min-height: 3.1rem;
  margin: 0;
  color: #cbd6ea;
  font-size: .88rem;
  line-height: 1.55;
}

.service-catalog-card ul {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.service-catalog-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem;
}

.service-catalog-card li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 900;
}

.service-catalog-requirement {
  margin: auto 0 .75rem;
  padding: .65rem;
  border-radius: 9px;
  background: rgba(103, 166, 255, .08);
  color: #b8c9e7;
  font-size: .72rem;
  line-height: 1.45;
}

.service-catalog-checkout {
  display: block;
  margin-top: auto;
  padding: .78rem .8rem;
  text-align: center;
  text-decoration: none;
  font-size: .78rem;
}

.portal-cart-button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1090;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  background: #063b33;
  box-shadow: 0 14px 36px rgba(2,31,27,.24);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.portal-cart-button b { display: grid; place-items: center; min-width: 1.55rem; height: 1.55rem; padding: 0 .35rem; border-radius: 999px; color: #063b33; background: #b7ef3f; font-size: .76rem; }
.portal-cart-drawer.hidden { display: none; }
.portal-cart-drawer { position: fixed; inset: 0; z-index: 1200; }
.portal-cart-scrim { position: absolute; inset: 0; background: rgba(2,24,21,.62); backdrop-filter: blur(4px); }
.portal-cart-panel { position: absolute; top: 0; right: 0; width: min(480px,100%); height: 100%; padding: clamp(1.4rem,4vw,2.25rem); overflow-y: auto; color: #082f29; background: #fff; box-shadow: -24px 0 64px rgba(2,31,27,.25); }
.portal-cart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #d5e2dd; }
.portal-cart-heading p { margin: 0 0 .2rem; color: #087f6e; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.portal-cart-heading h2 { margin: 0; font-size: clamp(1.8rem,5vw,2.35rem); }
.portal-cart-heading button { border: 0; color: #063b33; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; }
.portal-cart-items { display: grid; gap: .8rem; margin: 1.25rem 0; }
.portal-cart-item { display: grid; gap: .85rem; padding: 1rem; border: 1px solid #d5e2dd; border-radius: 16px; background: #f3f8f6; }
.portal-cart-item>div:first-child { display: grid; gap: .2rem; }
.portal-cart-item span,.portal-cart-note,.portal-cart-empty { color: #526a64; line-height: 1.55; }
.portal-cart-item-actions { display: flex; align-items: center; gap: .75rem; }
.portal-cart-item-actions .button { flex: 1; justify-content: center; }
.portal-cart-remove { border: 0; color: #087f6e; background: transparent; font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer; }
.cart-open { overflow: hidden; }

.service-catalog-tax {
  display: block;
  margin-top: .65rem;
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.45;
  text-align: center;
}

.catalog-terms {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .8rem 1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 20, 43, .68);
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.5;
}

.catalog-terms strong,
.catalog-terms a {
  color: var(--ink);
}

.included-design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.2rem;
}

.included-design-grid article {
  min-height: 150px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: radial-gradient(circle at 90% 5%, rgba(103, 166, 255, .18), transparent 8rem), #09152d;
}

.included-design-grid span {
  color: var(--blue);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.included-design-grid h3 {
  margin: 1.2rem 0 .35rem;
}

.included-design-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.domain-service-center,
.account-security {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.domain-service-center>div:first-child,
.account-security>div:first-child {
  max-width: 760px;
}

.domain-service-actions,
.account-security-actions {
  display: grid;
  min-width: 260px;
  gap: .65rem;
}

.domain-service-actions .button,
.account-security-actions .button {
  margin: 0;
  text-align: center;
  text-decoration: none;
}

.full-workspace-storefront {
  margin: 1rem 0;
}

@media (max-width: 1050px) {
  .account-summary-grid,
  .service-catalog-grid-addons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .account-hero,
  .service-catalog-grid,
  .included-design-grid {
    grid-template-columns: 1fr;
  }

  .section-title-row,
  .catalog-group-heading,
  .domain-service-center,
  .account-security {
    align-items: flex-start;
    flex-direction: column;
  }

  .domain-service-actions,
  .account-security-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .activation-pending {
    width: calc(100% - 1rem);
    padding: .5rem 0 1.5rem;
  }

  .account-hero,
  .account-summary,
  .service-storefront,
  .included-designs,
  .domain-service-center,
  .account-security {
    padding: 1.15rem;
    border-radius: 16px;
  }

  .account-summary-grid,
  .service-catalog-grid-addons {
    grid-template-columns: 1fr;
  }

  .catalog-terms {
    grid-template-columns: 1fr;
  }
}

/* DIY website template gallery and responsive editor preview */
.website-card {
  grid-column: 1 / -1;
}

.website-create-form {
  gap: 1.25rem;
}

.template-picker {
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 14, 32, .52);
}

.template-picker legend {
  padding: 0 .4rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
}

.template-picker > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.template-picker-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: .8rem;
}

.template-results {
  min-height: 1.3rem;
  margin: .85rem 0 .65rem !important;
  color: #b8c8e6 !important;
  font-weight: 750;
}

.website-template-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  max-height: 760px;
  margin-bottom: 1rem;
  padding: .15rem .2rem .3rem .1rem;
  overflow: auto;
  scrollbar-color: #3b527f #08142c;
}

.website-template-card {
  --template-surface: #f7f9fc;
  --template-surface-alt: #e8eef7;
  --template-ink: #10203b;
  --template-detail: #69778d;
  --template-radius: 8px;
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(4.9rem, auto) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2d416b;
  border-radius: 15px;
  background: #0b1934;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}

.website-template-card.is-selected {
  border-color: var(--mint);
  box-shadow: 0 0 0 2px rgba(85, 214, 190, .22), 0 18px 42px rgba(0, 0, 0, .28);
}

.website-template-card.is-selected::after {
  content: "Selected";
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: #06172b;
  color: var(--mint);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.template-card-visual {
  min-height: 145px;
  padding: .65rem;
  background: var(--template-surface-alt);
  color: var(--template-ink);
}

.template-card-browser {
  display: flex;
  gap: .23rem;
  height: 18px;
  padding: .42rem .55rem;
  border-radius: var(--template-radius) var(--template-radius) 0 0;
  background: color-mix(in srgb, var(--template-ink) 12%, var(--template-surface));
}

.template-card-browser i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--template-ink) 44%, transparent);
}

.template-card-mock {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 105px;
  padding: 1rem;
  border-radius: 0 0 var(--template-radius) var(--template-radius);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent, #55d6be) 32%, transparent), transparent 4rem),
    var(--template-surface);
}

.template-card-mock span,
.template-card-mock strong,
.template-card-mock small,
.template-card-mock b {
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.template-card-mock span { width: 32%; height: 4px; opacity: .42; }
.template-card-mock strong { width: 72%; height: 10px; margin-top: .55rem; }
.template-card-mock small { width: 58%; height: 5px; margin-top: .48rem; opacity: .42; }
.template-card-mock b { width: 28%; height: 16px; margin-top: .8rem; background: var(--preview-accent, #55d6be); }

.template-card-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 10px 10px;
}

.website-preview-hero.has-launchpad-hero {
  background-size: cover;
  background-position: center;
}

.template-card-meta,
.template-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}

.template-card-meta {
  padding: .9rem 1rem .25rem;
}

.template-card-meta span,
.template-card-footer > span {
  color: #9eb0ce;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.website-template-card h3,
.template-card-label,
.template-card-description {
  margin: 0;
  padding-inline: 1rem;
}

.website-template-card h3 {
  margin-top: .35rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.template-card-label {
  margin-top: .18rem;
  color: var(--mint) !important;
  font-size: .72rem;
  font-weight: 800;
}

.template-card-description {
  margin-top: .65rem !important;
  color: var(--muted) !important;
  font-size: .78rem;
  line-height: 1.55 !important;
}

.template-card-footer {
  align-self: end;
  margin-top: .9rem;
  padding: .8rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.template-choice-button {
  padding: .58rem .7rem;
  white-space: nowrap;
  font-size: .76rem;
}

.website-template-card.is-selected .template-choice-button {
  border-color: rgba(85, 214, 190, .5);
  color: var(--mint);
}

.template-gallery-empty {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 2rem;
  border: 1px dashed #31446f;
  border-radius: 14px;
  text-align: center;
}

.website-create-actions {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(260px, .65fr);
  gap: .8rem;
  align-items: end;
}

.website-create-actions .button {
  min-height: 46px;
  margin: 0;
}

.template-category-home-services { --template-surface: #fbf8f1; --template-surface-alt: #dfe9de; --template-ink: #17362a; --template-detail: #587064; }
.template-category-professional-services { --template-surface: #f7f9fd; --template-surface-alt: #dfe8f6; --template-ink: #122c55; --template-detail: #64758e; }
.template-category-automotive-mobile { --template-surface: #151a23; --template-surface-alt: #313b49; --template-ink: #f3f6fb; --template-detail: #aeb9c8; }
.template-category-restaurant-cafe { --template-surface: #fff7ed; --template-surface-alt: #f2d6bd; --template-ink: #4c2617; --template-detail: #8b6758; }
.template-category-retail-boutique { --template-surface: #fbf6fa; --template-surface-alt: #eadbe7; --template-ink: #41273e; --template-detail: #80657d; }
.template-category-beauty-wellness { --template-surface: #f8f7f1; --template-surface-alt: #dfe8df; --template-ink: #294138; --template-detail: #6b7c75; }
.template-category-creative-portfolio { --template-surface: #f8f4ff; --template-surface-alt: #ded4f3; --template-ink: #2d2050; --template-detail: #766992; }
.template-category-ecommerce { --template-surface: #f2fbfa; --template-surface-alt: #cfe9e6; --template-ink: #123d3a; --template-detail: #547c78; }

.template-direction-classic { --template-radius: 5px; }
.template-direction-classic .template-card-mock { border-top: 3px solid var(--template-ink); }
.template-direction-editorial { --template-radius: 0; }
.template-direction-editorial .template-card-mock { justify-items: center; text-align: center; }
.template-direction-editorial .template-card-mock strong { width: 82%; height: 8px; }
.template-direction-vibrant { --template-radius: 15px; }
.template-direction-vibrant .template-card-mock { transform: rotate(-.5deg); }
.template-direction-vibrant .template-card-mock b { width: 38%; height: 19px; }

.website-preview-workbench {
  margin-top: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #050d1e;
}

.website-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #09152d;
}

.website-preview-toolbar > div:first-child {
  display: grid;
  gap: .2rem;
}

.website-preview-toolbar small {
  color: var(--muted);
  font-size: .72rem;
}

.preview-viewport-controls {
  display: inline-flex;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid #2a3e68;
  border-radius: 11px;
  background: #061126;
}

.preview-viewport-button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: .45rem .7rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
}

.preview-viewport-button.is-active {
  background: #18305a;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(103, 166, 255, .24);
}

.website-preview-stage {
  display: flex;
  justify-content: center;
  min-height: 360px;
  padding: clamp(.7rem, 2vw, 1.4rem);
  overflow: auto;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, .025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .025) 75%),
    #061126;
  background-size: 24px 24px;
}

.website-preview-stage .website-private-preview {
  width: 100%;
  height: max-content;
  margin: 0;
  transition: width .2s ease;
}

.website-preview-stage.preview-viewport-tablet .website-private-preview { width: min(768px, 100%); }
.website-preview-stage.preview-viewport-mobile .website-private-preview { width: min(390px, 100%); }

.website-private-preview.template-category-home-services .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 30%, transparent), transparent 13rem), linear-gradient(145deg, #fbf8f1, #e9f0e8); }
.website-private-preview.template-category-professional-services .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 30%, transparent), transparent 13rem), linear-gradient(145deg, #f8faff, #e7eef9); }
.website-private-preview.template-category-automotive-mobile { color: #f5f7fb; background: #111722; }
.website-private-preview.template-category-automotive-mobile .website-preview-bar,
.website-private-preview.template-category-automotive-mobile .website-preview-footer { background: #171f2c; border-color: #354151; color: #abb6c5; }
.website-private-preview.template-category-automotive-mobile .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 38%, transparent), transparent 13rem), linear-gradient(145deg, #202a38, #0d131d); }
.website-private-preview.template-category-automotive-mobile .website-preview-hero > p:not(.website-preview-eyebrow) { color: #b6c1d0; }
.website-private-preview.template-category-restaurant-cafe .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 25%, transparent), transparent 13rem), linear-gradient(145deg, #fff7ec, #f6e1cd); }
.website-private-preview.template-category-retail-boutique .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 25%, transparent), transparent 13rem), linear-gradient(145deg, #fbf6fa, #eee1eb); }
.website-private-preview.template-category-beauty-wellness .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 24%, transparent), transparent 13rem), linear-gradient(145deg, #f8f7f1, #e8eee8); }
.website-private-preview.template-category-creative-portfolio .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 32%, transparent), transparent 13rem), linear-gradient(145deg, #faf7ff, #e9e1f6); }
.website-private-preview.template-category-ecommerce .website-preview-hero { background: radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--preview-accent) 34%, transparent), transparent 13rem), linear-gradient(145deg, #f3fbfa, #deefed); }

.website-private-preview {
  font-family: var(--preview-font-body, "Segoe UI", system-ui, sans-serif);
  letter-spacing: var(--preview-font-body-spacing, normal);
}

.website-private-preview .website-preview-hero h3,
.website-private-preview .website-preview-page h4,
.website-private-preview .website-preview-lead-form-heading,
.website-private-preview .website-preview-map h4,
.website-private-preview .website-preview-social h4 {
  font-family: var(--preview-font-heading, Georgia, "Times New Roman", serif);
  letter-spacing: var(--preview-font-heading-spacing, -.025em);
}

.website-private-preview.template-direction-classic .website-preview-hero h3 { letter-spacing: var(--preview-font-heading-spacing, -.025em); }

.website-studio-type-group {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}

.website-studio-type-heading {
  margin: 0;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #536176;
}

.website-studio-font-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.website-studio-font-card {
  display: grid;
  gap: .25rem;
  padding: .75rem;
  border: 1px solid rgb(6 59 51 / .12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.website-studio-font-card:has(input:checked) {
  border-color: color-mix(in srgb, var(--mint) 55%, #dfe5ee);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 35%, transparent);
}

.website-studio-font-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.website-studio-font-card-sample {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.website-studio-font-card-label {
  font-size: .82rem;
  font-weight: 850;
}

.website-studio-font-card-copy {
  font-size: .72rem;
  color: #697588;
  line-height: 1.35;
}

.website-font-classic .website-studio-font-card-sample { font-family: Georgia, "Times New Roman", serif; }
.website-font-modern .website-studio-font-card-sample { font-family: "Segoe UI", system-ui, sans-serif; letter-spacing: -.03em; }
.website-font-clean .website-studio-font-card-sample { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; }
.website-font-editorial .website-studio-font-card-sample { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.website-font-bold .website-studio-font-card-sample { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; letter-spacing: -.01em; }
.website-font-friendly .website-studio-font-card-sample { font-family: "Trebuchet MS", "Segoe UI", sans-serif; }

.website-studio-type-sample {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgb(6 59 51 / .1);
  background: linear-gradient(145deg, #fff, #f4f7fb);
  font-family: var(--preview-font-body, "Segoe UI", system-ui, sans-serif);
  letter-spacing: var(--preview-font-body-spacing, normal);
}

.website-studio-type-sample-eyebrow {
  margin: 0 0 .45rem;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #697588;
}

.website-studio-type-sample-title {
  margin: 0 0 .55rem;
  font-family: var(--preview-font-heading, Georgia, "Times New Roman", serif);
  letter-spacing: var(--preview-font-heading-spacing, -.025em);
  font-size: 1.45rem;
  line-height: 1.08;
}

.website-studio-type-sample-body {
  margin: 0;
  color: #536176;
  font-size: .92rem;
  line-height: 1.55;
}

.website-private-preview.template-direction-classic .website-preview-hero h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.website-private-preview.heading-font-classic .website-preview-hero h3 { font-family: var(--preview-font-heading, Georgia, "Times New Roman", serif); letter-spacing: var(--preview-font-heading-spacing, -.025em); }
.website-private-preview.heading-font-modern .website-preview-hero h3 { font-family: var(--preview-font-heading, "Segoe UI", system-ui, sans-serif); letter-spacing: var(--preview-font-heading-spacing, -.03em); }
.website-private-preview.heading-font-clean .website-preview-hero h3 { font-family: var(--preview-font-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif); letter-spacing: var(--preview-font-heading-spacing, -.02em); }
.website-preview-logo {
  width: auto;
  max-width: 7rem;
  max-height: 1.75rem;
  object-fit: contain;
}
.website-preview-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.website-preview-hero.has-hero-image {
  background-size: cover;
  background-position: center;
  position: relative;
}
.website-preview-hero.has-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / .82), rgb(255 255 255 / .92));
  pointer-events: none;
}
.website-preview-hero.has-hero-image > * {
  position: relative;
  z-index: 1;
}
.website-studio-media-field {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(6 59 51 / .08);
}
.website-studio-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.website-studio-media-preview {
  border: 1px solid rgb(6 59 51 / .12);
  border-radius: .75rem;
  overflow: hidden;
  min-height: 4.5rem;
  background: rgb(248 250 252);
}
.website-studio-media-preview img {
  display: block;
  width: 100%;
  max-height: 8rem;
  object-fit: cover;
}
.website-studio-media-preview.is-logo img {
  max-height: 4rem;
  object-fit: contain;
  padding: .75rem;
  background: #fff;
}
.website-private-preview.template-direction-editorial .website-preview-hero { text-align: center; }
.website-private-preview.template-direction-editorial .website-preview-hero h3,
.website-private-preview.template-direction-editorial .website-preview-hero > p { margin-inline: auto; }
.website-private-preview.template-direction-vibrant .website-preview-bar { border-bottom: 4px solid var(--preview-accent); }
.website-private-preview.template-direction-vibrant .website-preview-cta { border-radius: 999px; padding-inline: 1.25rem; }

.preview-viewport-mobile .website-preview-bar {
  align-items: flex-start;
  flex-direction: column;
}

.preview-viewport-mobile .website-preview-hero {
  padding: 2rem 1.2rem;
}

.preview-viewport-mobile .website-preview-hero h3 {
  font-size: 2.15rem;
}

.preview-viewport-mobile .website-preview-footer {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .website-template-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .template-picker-controls,
  .website-create-actions,
  .website-template-gallery {
    grid-template-columns: 1fr;
  }

  .website-template-gallery { max-height: 680px; }
  .website-preview-toolbar { align-items: flex-start; flex-direction: column; }
  .preview-viewport-controls { width: 100%; }
  .preview-viewport-button { flex: 1; padding-inline: .35rem; }
}

@media (forced-colors: active) {
  .template-picker,
  .website-template-card,
  .website-preview-workbench,
  .preview-viewport-controls { border: 1px solid CanvasText; }
  .website-template-card.is-selected,
  .preview-viewport-button.is-active { border: 2px solid Highlight; }
}

@media (forced-colors: active) {
  .account-hero,
  .account-summary,
  .service-storefront,
  .included-designs,
  .domain-service-center,
  .account-security,
  .account-summary-grid article,
  .service-catalog-card,
  .included-design-grid article {
    border: 1px solid CanvasText;
  }
}

.domain-registration-profile-form .form-heading h4 {
  margin: 0 0 .25rem;
}

.domain-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

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

.domain-profile-result {
  min-height: 1.2rem;
  margin: .75rem 0 0;
  color: var(--mint);
  font-size: .82rem;
}

.domain-profile-review-approval {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(85, 214, 190, .38);
  border-radius: 12px;
  background: rgba(13, 39, 67, .72);
}

.domain-profile-review-approval .form-heading h4,
.domain-profile-review-approval .form-heading p,
.domain-profile-review-approval .field-help {
  margin: 0;
}

.domain-profile-review-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .65rem;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.5;
}

.domain-profile-review-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .15rem;
  accent-color: var(--mint);
}

.domain-profile-review-approval .button {
  margin: 0;
  justify-self: start;
}

@media (max-width: 700px) {
  .domain-profile-grid,
  .domain-profile-grid-three {
    grid-template-columns: 1fr;
  }
}

.website-create-form {
  margin-top: 1rem;
}

.color-field input[type="color"] {
  min-height: 46px;
  padding: .35rem;
  cursor: pointer;
}

.website-list {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}

.design-projects-section {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.design-projects-heading {
  display: grid;
  gap: .55rem;
  margin-bottom: .85rem;
}

.design-projects-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.design-project-list {
  display: grid;
  gap: .65rem;
}

.design-project-card {
  display: grid;
  gap: .75rem;
  padding: .85rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(103, 166, 255, .08), rgba(9, 21, 45, .95));
}

.design-project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.design-project-card-top strong {
  font-size: 1rem;
}

.design-project-status {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 166, 255, .35);
  background: rgba(103, 166, 255, .12);
  color: #c8ddff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

.design-project-status.is-ready {
  border-color: rgba(85, 214, 190, .45);
  background: rgba(85, 214, 190, .12);
  color: #b8f0e4;
}

.design-project-status.is-waiting {
  border-color: rgba(249, 115, 22, .4);
  background: rgba(249, 115, 22, .12);
  color: #ffd7b0;
}

.design-project-message {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.design-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}

.design-project-actions .button {
  min-height: 38px;
}

.design-project-meta {
  margin: 0;
  color: #8ea3c7;
  font-size: .78rem;
}

.website-list-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #09152d;
}

.website-edit-button {
  margin-left: auto;
  white-space: nowrap;
}

.website-item-actions {
  display: flex !important;
  align-items: center;
  gap: .35rem !important;
  margin-left: auto;
}

.website-item-actions .website-edit-button {
  margin-left: 0;
}

.site-preview-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(.65rem, 2vw, 1.5rem);
  background: rgba(2, 7, 18, .88);
  backdrop-filter: blur(14px);
}

.site-preview-shell {
  width: min(1440px, 100%);
  height: min(920px, calc(100vh - 1.3rem));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #31446f;
  border-radius: 20px;
  background: #071126;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .55);
}

.site-preview-heading-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.site-preview-viewport-controls {
  border-color: rgba(103, 166, 255, .28);
  background: rgba(103, 166, 255, .08);
}

.site-preview-browser-bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: #0d1830;
}

.site-preview-browser-url {
  overflow: hidden;
  min-width: 0;
  font-size: .82rem;
  font-weight: 700;
  color: #d8e8ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-preview-stage {
  position: relative;
  min-height: 0;
  overflow: auto;
  padding: 1rem;
  background: #eef2f8;
  display: grid;
  place-items: start center;
}

.site-preview-stage.preview-viewport-tablet .site-preview-frame {
  width: min(768px, 100%);
}

.site-preview-stage.preview-viewport-mobile .site-preview-frame {
  width: min(390px, 100%);
}

.site-preview-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(7, 17, 38, .72);
}

.site-preview-frame {
  width: min(1200px, 100%);
  height: min(820px, calc(100vh - 14rem));
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.site-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.site-preview-heading h2,
.site-preview-heading p {
  margin: 0;
}

.site-preview-heading h2 {
  margin: .15rem 0 .25rem;
}

.site-preview-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: .82rem;
}

.website-list-item div {
  display: grid;
  gap: .15rem;
}

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

.website-swatch {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  flex: 0 0 auto;
}

.editor-panel {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 33, 67, .96), rgba(10, 22, 48, .94));
  box-shadow: var(--shadow);
  scroll-margin-top: 1rem;
}

.editor-heading,
.release-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.editor-heading h2 {
  margin: .25rem 0 0;
}

.editor-heading-actions,
.editor-save-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.editor-heading-actions .button,
.editor-save-actions .button {
  margin: 0;
}

.editor-access {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.revision-pill {
  padding: .45rem .7rem;
  border: 1px solid rgba(103, 166, 255, .35);
  border-radius: 999px;
  color: #a8caff;
  font-size: .76rem;
  font-weight: 800;
}

.website-publish-status {
  padding: .45rem .7rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  border: 1px solid rgba(103, 166, 255, .35);
  color: #d7e7ff;
  background: rgba(103, 166, 255, .08);
}

.website-publish-status[data-state='submitted'],
.website-publish-status[data-state='in-review'] {
  border-color: rgba(255, 196, 86, .45);
  color: #ffe3a1;
  background: rgba(255, 196, 86, .12);
}

.website-publish-status[data-state='live'] {
  border-color: rgba(85, 214, 190, .45);
  color: #b8fff0;
  background: rgba(85, 214, 190, .12);
}

.website-publish-status[data-state='needs-changes'] {
  border-color: rgba(255, 120, 120, .45);
  color: #ffc9c9;
  background: rgba(255, 120, 120, .12);
}

.website-editor-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.editor-fieldset {
  display: grid;
  gap: .8rem;
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(103, 166, 255, .24);
  border-radius: 14px;
  background: rgba(5, 13, 30, .42);
}

.editor-fieldset legend {
  padding: 0 .35rem;
  color: #f3f7ff;
  font-size: .9rem;
  font-weight: 850;
}

.editor-control {
  display: grid;
  gap: .45rem;
  min-width: 0;
}

.editor-field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}

.field-counter,
.editor-control-help {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}

.field-counter {
  white-space: nowrap;
}

.editor-control-help {
  margin: 0;
  line-height: 1.45;
}

.editor-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #08142c;
}

.editor-save-status {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 750;
}

.editor-save-status[data-state="dirty"] { color: #ffd29a; }
.editor-save-status[data-state="saving"] { color: #a8caff; }
.editor-save-status[data-state="saved"] { color: var(--mint); }

.editor-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.website-private-preview {
  --preview-accent: #55d6be;
  overflow: hidden;
  margin-top: 1.4rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: #f7f9fc;
  color: #0b1730;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.website-preview-bar,
.website-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #dfe5ee;
  font-size: .78rem;
}

.website-preview-bar span {
  padding: .3rem .55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--preview-accent) 18%, white);
  color: #162238;
  font-weight: 800;
}

.website-preview-hero {
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 88% 15%, color-mix(in srgb, var(--preview-accent) 30%, transparent), transparent 14rem),
    linear-gradient(145deg, #ffffff, #edf2f8);
}

.website-preview-eyebrow {
  margin: 0 0 .7rem;
  color: color-mix(in srgb, var(--preview-accent) 72%, #09152d);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.website-preview-hero h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.website-preview-hero > p:not(.website-preview-eyebrow) {
  max-width: 650px;
  margin: 1rem 0 1.4rem;
  color: #536176;
  font-size: clamp(.95rem, 2vw, 1.12rem);
  line-height: 1.65;
}

.website-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--preview-accent);
  color: #071126;
  font-weight: 900;
  border: 2px solid transparent;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--preview-accent) 28%, transparent);
}
.website-preview-cta.cta-size-large { padding: .95rem 1.3rem; font-size: 1.02rem; }
.website-preview-cta.cta-style-solid.cta-color-brand { background: var(--preview-accent); color: #071126; }
.website-preview-cta.cta-style-solid.cta-color-accent { background: var(--preview-accent-secondary); color: #071126; box-shadow: 0 8px 22px color-mix(in srgb, var(--preview-accent-secondary) 28%, transparent); }
.website-preview-cta.cta-style-outline.cta-color-brand { background: transparent; color: var(--preview-accent); border-color: color-mix(in srgb, var(--preview-accent) 70%, #10203b); box-shadow: none; }
.website-preview-cta.cta-style-outline.cta-color-accent { background: transparent; color: var(--preview-accent-secondary); border-color: color-mix(in srgb, var(--preview-accent-secondary) 70%, #10203b); box-shadow: none; }
.website-preview-cta.cta-style-soft.cta-color-brand { background: color-mix(in srgb, var(--preview-accent) 18%, white); color: #10203b; border-color: color-mix(in srgb, var(--preview-accent) 24%, #dfe5ee); box-shadow: none; }
.website-preview-cta.cta-style-soft.cta-color-accent { background: color-mix(in srgb, var(--preview-accent-secondary) 18%, white); color: #10203b; border-color: color-mix(in srgb, var(--preview-accent-secondary) 24%, #dfe5ee); box-shadow: none; }

.website-private-preview.headline-scale-compact .website-preview-hero h3 { font-size: clamp(1.55rem, 4vw, 2.35rem); }
.website-private-preview.headline-scale-display .website-preview-hero h3 { font-size: clamp(2.1rem, 5.5vw, 3.35rem); }

.website-studio-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.website-studio-theme-card {
  display: grid;
  gap: .35rem;
  padding: .75rem;
  border: 1px solid rgb(6 59 51 / .12);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.website-studio-theme-card:hover,
.website-studio-theme-card:focus-visible {
  border-color: color-mix(in srgb, var(--mint) 55%, #dfe5ee);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 35%, transparent);
}

.website-studio-theme-card strong {
  font-size: .82rem;
}

.website-studio-theme-card span:last-child {
  color: #697588;
  font-size: .72rem;
  line-height: 1.35;
}

.website-studio-theme-swatches {
  display: inline-flex;
  gap: .35rem;
}

.website-studio-theme-swatches span {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgb(6 59 51 / .12);
}

.website-preview-footer {
  justify-content: flex-start;
  border-top: 1px solid #dfe5ee;
  border-bottom: 0;
  color: #697588;
}

.product-catalog-panel {
  margin-top: 1.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #09152d;
}

.product-catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-catalog-heading h3 {
  margin: .2rem 0 0;
}

.product-catalog-heading > span,
.product-list-item em {
  padding: .3rem .55rem;
  border: 1px solid rgba(103, 166, 255, .35);
  border-radius: 999px;
  color: #a8caff;
  font-size: .72rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.product-create-form {
  margin-top: 1rem;
}

.product-inventory-form {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(85, 214, 190, .32);
  border-radius: 14px;
  background: #0e1d3d;
}

.product-inventory-form.hidden {
  display: none;
}

.product-variant-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(103, 166, 255, .35);
  border-radius: 14px;
  background: #0e1d3d;
}

.product-variant-panel.hidden {
  display: none;
}

.product-variant-form {
  display: grid;
  gap: .8rem;
}

.variant-list {
  display: grid;
  gap: .6rem;
}

.variant-list-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #09152d;
}

.variant-list-item > div {
  display: grid;
  gap: .18rem;
}

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

.variant-list-item code {
  color: #86e6d5;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .76rem;
}

.variant-list-item > span {
  font-weight: 850;
}

.variant-thumbnail {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0e1d3d;
}

.variant-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-thumbnail span {
  color: var(--muted);
  font-size: .62rem;
  text-align: center;
}

.variant-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: .55rem !important;
}

.inventory-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inventory-form-heading h4 {
  margin: .15rem 0 0;
  font-size: 1.05rem;
}

.inventory-form-heading > span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.inventory-track-option {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.inventory-track-option input {
  width: auto;
}

.product-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.product-list {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}

.product-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: .8rem;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0e1d3d;
}

.product-list-item div {
  display: grid;
  gap: .2rem;
}

.product-list-item .product-list-content {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
}

.product-list-item .product-thumbnail {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #09152d;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnail span {
  color: var(--muted);
  font-size: .66rem;
  text-align: center;
}

.product-list-item small {
  color: var(--muted);
  line-height: 1.45;
}

.product-list-item .product-inventory-summary {
  color: #86e6d5;
  font-weight: 750;
}

.product-list-item > span {
  font-weight: 900;
}

.product-edit-button {
  white-space: nowrap;
}

.product-list-item .product-item-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.product-archive-button {
  white-space: nowrap;
}

.product-image-button {
  white-space: nowrap;
}

.product-inventory-button {
  white-space: nowrap;
}

.product-variants-button {
  white-space: nowrap;
}

.product-cart-controls {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: end;
  flex-wrap: wrap;
  gap: .65rem !important;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
}

.product-cart-controls label {
  min-width: 150px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
}

.product-cart-controls select,
.product-cart-controls input {
  margin-top: .3rem;
  padding: .55rem .65rem;
}

.product-cart-controls input {
  width: 78px;
}

.product-cart-controls .button {
  margin: 0;
  min-height: 40px;
}

.preview-cart-panel {
  display: grid;
  gap: .9rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(85, 214, 190, .36);
  border-radius: 14px;
  background: linear-gradient(145deg, #0e1d3d, #0a1731);
}

.preview-cart-heading,
.preview-cart-summary,
.preview-cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preview-cart-heading h4 {
  margin: .15rem 0 0;
  font-size: 1.1rem;
}

.preview-cart-heading > span {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-cart-notice {
  margin: 0;
  padding: .7rem .8rem;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: rgba(85, 214, 190, .08);
  color: #b9c9e3;
  font-size: .82rem;
  line-height: 1.5;
}

.preview-cart-lines {
  display: grid;
  gap: .55rem;
}

.preview-cart-line {
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #09152d;
}

.preview-cart-line-copy {
  display: grid;
  gap: .18rem;
  min-width: 0;
}

.preview-cart-line-copy small {
  color: var(--muted);
}

.preview-cart-line-copy .cart-line-warning {
  color: #ffb5b5;
}

.preview-cart-line-price {
  white-space: nowrap;
  font-weight: 850;
}

.preview-cart-line-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.preview-cart-line-actions input {
  width: 70px;
  padding: .5rem;
}

.preview-cart-summary {
  align-items: end;
  flex-wrap: wrap;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

.preview-cart-summary > div {
  display: grid;
  gap: .2rem;
}

.preview-cart-summary > div span,
.preview-cart-summary small {
  color: var(--muted);
  font-size: .78rem;
}

.preview-cart-summary > div strong {
  font-size: 1.25rem;
}

.preview-cart-summary .button {
  margin: 0;
}

.release-controls {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.release-controls p {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.invitation-center {
  width: min(720px, calc(100% - 2rem));
  text-align: left;
}

.invitation-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}

.invitation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 1rem;
  background: #09152d;
}

.invitation-card h2,
.invitation-card p {
  margin: 0;
}

.invitation-card h2 {
  font-size: 1.05rem;
}

.invitation-card p {
  color: var(--muted);
  font-size: .82rem;
}

.invitation-card .button {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

@media (max-width: 560px) {
  .editor-two-column {
    grid-template-columns: 1fr;
  }

  .editor-heading,
  .editor-save-bar,
  .release-controls,
  .site-preview-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .editor-heading-actions,
  .editor-save-actions {
    width: 100%;
  }

  .editor-heading-actions .button,
  .editor-save-actions .button {
    flex: 1;
  }

  .website-list-item {
    flex-wrap: wrap;
  }

  .website-item-actions {
    width: 100%;
    justify-content: flex-end;
  }

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

  .invitation-card .button {
    grid-column: 1;
    grid-row: auto;
    margin-top: .55rem;
  }

  .product-list-item {
    grid-template-columns: 1fr auto;
  }

  .product-list-item .product-list-content,
  .product-list-item .product-item-actions {
    grid-column: 1 / -1;
  }

  .variant-list-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .variant-list-item code,
  .variant-list-item .variant-actions {
    grid-column: 2 / -1;
  }

  .preview-cart-line,
  .preview-cart-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-cart-line-actions {
    flex-wrap: wrap;
  }
}

/* Website Studio — Wix/GoDaddy-style builder with CCN branding */
.website-studio-shell {
  --studio-bg: #e8edf5;
  --studio-panel: #ffffff;
  --studio-line: #d5deea;
  --studio-ink: #0b1a33;
  --studio-muted: #5a6d8c;
  --studio-topbar: #071022;
  --studio-rail: #0a1730;
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: var(--studio-bg);
  overflow: hidden;
  color: var(--studio-ink);
}

.website-studio-shell.hidden {
  display: none;
}

body.guest-studio .masthead,
body.guest-studio .journey-shell,
body.guest-studio .portal-heading,
body.guest-studio .workspace-layout,
body.guest-studio .checkout-confirmation,
body.guest-studio [data-checkout-result-banner] {
  display: none !important;
}

body.guest-studio #portal-view {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.auth-studio-try {
  text-align: center;
  margin-top: 1rem;
}

.website-studio-legacy,
.website-studio-legacy-toolbar {
  display: none !important;
}

.website-builder-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #f4efe4;
}

.website-builder-connection {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid #d8d0c4;
  background: #fffaf3;
  color: #3c352d;
  font-size: .875rem;
}

.website-builder-connection p { flex: 1 1 22rem; margin: 0; overflow-wrap: anywhere; }
.website-builder-connection .button { color: #0d6b5c; border-color: #0d6b5c; }
.website-studio-shell.is-account-setup .website-studio-create { display: block !important; overflow: auto; }
.website-studio-shell.is-account-setup .website-builder-frame { display: none; }

.studio-account-launch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  padding: .65rem 1rem;
  background: #f4efe4;
  color: #3c352d;
  border-bottom: 1px solid #d8d0c4;
  font-size: .84rem;
}
.studio-account-launch p { flex: 1 1 18rem; margin: 0; }
.studio-account-launch details { flex-basis: 100%; }
.studio-account-launch summary { cursor: pointer; font-weight: 600; }
.studio-account-launch ol { margin: .65rem 0; padding-left: 1.3rem; }
.studio-account-launch .button, .studio-launch-dialog .button { color: #0d6b5c; border-color: #0d6b5c; }
.studio-account-launch .button-primary, .studio-launch-dialog .button-primary { color: #fffaf3; background: #0d6b5c; }
.studio-launch-dialog {
  color-scheme: light;
  width: min(1120px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  box-sizing: border-box;
  overflow: auto;
  border: 1px solid #d8d0c4;
  border-radius: 16px;
  padding: 1.25rem;
  background: #fffaf3;
  color: #302a24;
}
.studio-launch-dialog::backdrop { background: rgba(15,20,25,.72); }
.studio-launch-heading, .studio-launch-options, .studio-launch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.studio-launch-heading { justify-content: space-between; }
.studio-launch-heading h2, .studio-launch-heading p { margin: 0; }
.studio-launch-options label { flex: 1 1 22rem; display: grid; gap: .4rem; }
.studio-launch-options select, #studio-restore-revision { width: 100%; color: #302a24; background: #fff; border: 1px solid #9b9388; border-radius: 8px; padding: .65rem; }
#studio-restore-dialog { max-width: 720px; }
#studio-restore-dialog .studio-launch-actions { margin-top: 1rem; }
.studio-launch-preview { width: 100%; height: min(52dvh, 600px); min-height: 260px; border: 1px solid #bdb5a8; border-radius: 8px; background: white; }
.studio-launch-acknowledgment { display: flex; align-items: flex-start; gap: .65rem; padding: 1rem 0; }
.studio-launch-acknowledgment input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-top: .1rem; }
.studio-launch-dialog [role="status"], #studio-launch-domain-note { overflow-wrap: anywhere; }

/* Keep the light review dialogs independent of the dark portal form defaults. */
.studio-launch-dialog label,
.studio-launch-dialog [role="status"],
.studio-launch-dialog #studio-launch-domain-note { color: #302a24; }
.studio-launch-dialog #studio-launch-warning,
.studio-launch-dialog #studio-restore-warning { color: #5c564e; }
.studio-launch-dialog .status,
.studio-launch-dialog .danger,
.studio-launch-dialog [role="alert"] { color: #9b2c2c; }
.studio-launch-dialog :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #0d6b5c;
  outline-offset: 3px;
}
@media (forced-colors: active) {
  .studio-launch-dialog :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline-color: Highlight; }
}

body.studio-open {
  overflow: hidden;
}

body.studio-open [data-shopping-cart-open],
body.studio-open [data-shopping-cart] {
  display: none !important;
}

.website-studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem clamp(.85rem, 2.5vw, 1.25rem);
  border-bottom: 1px solid rgba(85, 214, 190, .18);
  background: linear-gradient(180deg, var(--studio-topbar), #0a1730);
  color: #f3f7ff;
}

.website-studio-topbar-start,
.website-studio-topbar-end {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.website-studio-topbar-start {
  flex: 1 1 auto;
}

.website-studio-topbar-end {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.website-studio-brand-mark {
  display: none;
  flex: 0 0 auto;
}

.website-studio-site-meta h2 {
  margin: .1rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: #fff;
}

.website-studio-site-meta .eyebrow {
  color: #8ef0dc;
}

.website-studio-site-meta .editor-access {
  margin: .25rem 0 0;
  color: #9db0cf;
  font-size: .78rem;
}

.website-studio-release {
  display: none !important;
  margin-left: .45rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  background: rgb(85 214 190 / .14);
  color: #8ef0dc;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.website-studio-canvas-hint {
  margin: 0 0 .85rem;
  padding: .65rem .85rem;
  border: 1px solid color-mix(in srgb, var(--mint, #55d6be) 28%, var(--studio-line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--mint, #55d6be) 10%, #f8fafc);
  color: #234;
  font-size: .84rem;
  line-height: 1.45;
}

.website-studio-assist .button.button-quiet {
  margin-bottom: .75rem;
}

.website-studio-topbar .website-studio-back {
  flex-shrink: 0;
}

.website-studio-toolbar-btn {
  min-height: 36px;
  border-color: rgba(103, 166, 255, .35);
  background: rgba(103, 166, 255, .08);
  color: #d8e8ff;
}

.website-studio-publish {
  min-height: 38px;
  padding-inline: 1.1rem;
  border-color: rgba(85, 214, 190, .55);
  background: linear-gradient(135deg, #55d6be, #3fbea8);
  color: #042018;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(85, 214, 190, .22);
}

.website-studio-publish:disabled {
  opacity: .55;
  box-shadow: none;
}

.website-studio-create,
.website-studio-edit {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.website-studio-create {
  padding: clamp(1rem, 3vw, 1.75rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(85, 214, 190, .12), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(103, 166, 255, .1), transparent 24%),
    var(--studio-bg);
}

.website-studio-create .website-create-form,
.website-studio-create .website-studio-steps {
  max-width: 1100px;
  margin-inline: auto;
}

.website-studio-shell .product-catalog-panel,
.website-studio-shell .preview-cart-panel,
.website-studio-shell .product-variant-panel {
  border-color: var(--studio-line);
  background: #f8fafc;
}

.website-studio-shell .product-catalog-heading span,
.website-studio-shell .inventory-form-heading span {
  color: var(--studio-muted);
}

.website-studio-edit {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.website-studio-steps {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.website-studio-step {
  padding: .55rem .85rem;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: var(--studio-panel);
  color: var(--studio-muted);
  font-size: .78rem;
  font-weight: 800;
}

.website-studio-step.is-active {
  border-color: rgba(85, 214, 190, .55);
  background: rgba(85, 214, 190, .14);
  color: #0d5f52;
}

.website-studio-step-panel {
  display: grid;
  gap: 1rem;
  max-width: 1100px;
}

.website-studio-step-copy h3 {
  margin: 0 0 .35rem;
  color: var(--studio-ink);
}

.website-studio-step-copy p {
  margin: 0;
  color: var(--studio-muted);
  line-height: 1.55;
}

.website-studio-step-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.website-studio-brand-preview {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid var(--studio-line);
  border-radius: 14px;
  background: var(--studio-panel);
}

.website-studio-brand-swatch {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid rgba(11, 26, 51, .12);
  flex: 0 0 auto;
}

.website-studio-brand-preview strong {
  display: block;
  color: var(--studio-ink);
}

.website-studio-brand-preview small {
  color: var(--studio-muted);
}

.website-studio-summary {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--studio-line);
  border-radius: 14px;
  background: var(--studio-panel);
}

.website-studio-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.website-studio-summary dt {
  margin: 0;
  color: var(--studio-muted);
  font-size: .78rem;
  font-weight: 700;
}

.website-studio-summary dd {
  margin: 0;
  font-weight: 800;
  color: var(--studio-ink);
}

.website-studio-workspace {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(300px, 360px);
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.website-studio-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .35rem;
  padding: .75rem .45rem;
  border-right: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, var(--studio-rail), #071022);
}

.website-studio-rail-btn {
  display: grid;
  justify-items: center;
  gap: .25rem;
  padding: .55rem .35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #9db0cf;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
}

.website-studio-rail-btn:hover {
  background: rgba(103, 166, 255, .1);
  color: #d8e8ff;
}

.website-studio-rail-btn.is-active {
  border-color: rgba(85, 214, 190, .45);
  background: rgba(85, 214, 190, .14);
  color: #d8fff6;
}

.website-studio-rail-divider {
  height: 1px;
  margin: .35rem .25rem;
  background: rgba(255, 255, 255, .08);
}

.website-studio-canvas-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(11, 26, 51, .025) 25%, transparent 25%, transparent 75%, rgba(11, 26, 51, .025) 75%),
    var(--studio-bg);
  background-size: 24px 24px, auto;
}

.website-studio-browser-chrome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--studio-line);
  background: var(--studio-panel);
}

.website-studio-browser-dots {
  display: inline-flex;
  gap: .35rem;
}

.website-studio-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d5deea;
}

.website-studio-browser-dots span:nth-child(1) { background: #ff6b6b; }
.website-studio-browser-dots span:nth-child(2) { background: #ffd166; }
.website-studio-browser-dots span:nth-child(3) { background: #55d6be; }

.website-studio-browser-address {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .45rem .75rem;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: #f4f7fb;
}

.website-publish-dns-note {
  margin: .45rem 0 0;
  max-width: 46rem;
}

.website-studio-browser-url {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: .15rem .35rem;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  color: var(--studio-ink);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.website-studio-browser-url:focus-visible {
  outline: 2px solid rgba(85, 214, 190, .55);
  outline-offset: 1px;
}

.website-studio-connect-domain {
  flex: 0 0 auto;
  padding: .2rem .55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(85, 214, 190, .18);
  color: #0d5f52;
  font: inherit;
  font-size: .68rem;
  font-weight: 850;
  cursor: pointer;
}

.website-studio-connect-domain:hover {
  background: rgba(85, 214, 190, .28);
}

.website-studio-browser-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.website-studio-viewport-controls {
  border-color: var(--studio-line);
  background: #f4f7fb;
}

.website-studio-viewport-controls .preview-viewport-button {
  color: var(--studio-muted);
}

.website-studio-viewport-controls .preview-viewport-button.is-active {
  background: #fff;
  color: var(--studio-ink);
  box-shadow: inset 0 0 0 1px rgba(85, 214, 190, .45);
}

.website-studio-canvas {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: clamp(.75rem, 2vw, 1.25rem);
}

.website-studio-preview-frame {
  height: 100%;
  margin-top: 0;
  border: 1px solid var(--studio-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 26, 51, .12);
  overflow: hidden;
}

.website-studio-canvas .website-preview-stage {
  min-height: min(72vh, 720px);
  padding: clamp(.85rem, 2vw, 1.25rem);
  background: #eef2f8;
}

.website-studio-iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.website-studio-iframe:not(.hidden) + .website-private-preview {
  display: none;
}

.website-studio-preview-mode {
  display: inline-flex;
  padding: .2rem;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: #f4f7fb;
}

.website-studio-preview-mode-btn {
  padding: .35rem .65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--studio-muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.website-studio-preview-mode-btn.is-active {
  background: #fff;
  color: var(--studio-ink);
  box-shadow: inset 0 0 0 1px rgba(85, 214, 190, .45);
}

.website-studio-live-badge {
  flex: 0 0 auto;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(85, 214, 190, .18);
  color: #0d5f52;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.website-studio-live-stale {
  margin: 0 0 .75rem;
  padding: .65rem .85rem;
  border: 1px solid rgba(255, 212, 122, .35);
  border-radius: 12px;
  background: rgba(255, 212, 122, .08);
  color: #6a5520;
  font-size: .84rem;
  line-height: 1.45;
}

.website-studio-live-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(238, 242, 248, .88);
  color: #536176;
  font-size: .9rem;
  font-weight: 700;
}

.website-studio-live-error {
  margin: 0 auto 1rem;
  max-width: 520px;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 137, 146, .35);
  border-radius: 12px;
  background: rgba(255, 137, 146, .08);
  color: #8b3040;
  text-align: center;
  line-height: 1.45;
}

.website-studio-refresh-preview {
  min-height: 32px;
  padding: .35rem .7rem;
  font-size: .78rem;
}

.studio-preview-mode-live .website-preview-stage {
  position: relative;
}

.studio-preview-mode-live .website-studio-iframe {
  min-height: min(72vh, 720px);
}

.website-preview-stage.preview-viewport-tablet .website-studio-iframe {
  width: min(768px, 100%);
  margin-inline: auto;
  display: block;
}

.website-preview-stage.preview-viewport-mobile .website-studio-iframe {
  width: min(390px, 100%);
  margin-inline: auto;
  display: block;
}

@media (max-width: 1100px) {
  .website-studio-browser-chrome {
    grid-template-columns: 1fr;
  }

  .website-studio-browser-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.website-studio-inspector {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--studio-line);
  background: var(--studio-panel);
}

.website-studio-inspector-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  padding: .65rem .65rem 0;
  border-bottom: 1px solid var(--studio-line);
}

.website-studio-inspector-tab {
  padding: .55rem .65rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--studio-muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.website-studio-inspector-tab.is-active {
  color: var(--studio-ink);
  border-bottom-color: #55d6be;
  background: rgba(85, 214, 190, .08);
}

.website-studio-inspector-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: .85rem;
}

.website-studio-inspector-panel {
  display: none;
}

.website-studio-inspector-panel.is-active {
  display: block;
}

.website-studio-inspector-title {
  margin: 0;
  font-size: 1rem;
}

.website-studio-inspector-lead {
  margin: .35rem 0 1rem;
  color: var(--studio-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.website-studio-shell .website-editor-form {
  margin-top: 0;
  gap: .85rem;
}

.website-studio-shell .editor-fieldset {
  border-color: var(--studio-line);
  background: #f8fafc;
}

.website-studio-shell .editor-fieldset legend {
  color: var(--studio-ink);
}

.website-studio-shell .editor-hint,
.website-studio-shell .field-help {
  color: var(--studio-muted);
}

.website-studio-shell label {
  color: var(--studio-ink);
}

.website-studio-shell input,
.website-studio-shell textarea,
.website-studio-shell select {
  border-color: var(--studio-line);
  background: #fff;
  color: var(--studio-ink);
}

.website-studio-assist {
  display: grid;
  gap: .85rem;
}

.website-studio-assist h3 {
  margin: 0;
  font-size: 1.05rem;
}

.website-studio-assist p {
  margin: 0;
  color: var(--studio-muted);
  line-height: 1.55;
}

.website-studio-assist-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--studio-ink);
  line-height: 1.55;
}

.website-studio-assist-list li + li {
  margin-top: .55rem;
}

.website-studio-choice-group {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: .75rem;
  border: 1px solid var(--studio-line);
  border-radius: 12px;
  background: #fff;
}

.website-studio-choice-group legend {
  padding: 0 .25rem;
  font-size: .78rem;
  font-weight: 800;
  color: var(--studio-muted);
}

.website-studio-choice {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
}

.website-studio-cta-presets {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.website-studio-cta-preset {
  padding: .4rem .65rem;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: #fff;
  color: var(--studio-ink);
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.website-studio-cta-preset.is-active {
  border-color: rgba(85, 214, 190, .55);
  background: rgba(85, 214, 190, .12);
  color: #0d5f52;
}

.website-studio-style-preview {
  display: flex;
  gap: .55rem;
  margin: .35rem 0;
}

.website-studio-style-swatch {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid rgba(11, 26, 51, .1);
}

.website-seo-preview {
  margin-top: .85rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgb(6 59 51 / .1);
  background: rgb(255 255 255 / .88);
}

.website-seo-preview-label {
  margin: 0 0 .45rem;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgb(6 59 51 / .58);
}

.website-seo-preview strong {
  display: block;
  color: #1a0dab;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 500;
}

.website-seo-preview-url {
  display: block;
  margin-top: .15rem;
  color: #006621;
  font-size: .82rem;
}

.website-seo-preview p:last-child {
  margin: .45rem 0 0;
  color: rgb(6 59 51 / .78);
  font-size: .86rem;
  line-height: 1.45;
}

.website-preview-lead-form {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid rgb(6 59 51 / .08);
  background: rgb(255 255 255 / .78);
}

.website-preview-lead-form h4 {
  margin: 0 0 .75rem;
  font-size: 1.05rem;
}

.website-preview-lead-form-fields {
  display: grid;
  gap: .45rem;
  margin-bottom: .85rem;
}

.website-preview-lead-form-fields span {
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
  border: 1px dashed rgb(6 59 51 / .18);
  background: rgb(255 255 255 / .72);
  color: rgb(6 59 51 / .55);
  font-size: .86rem;
}

.website-preview-map {
  padding: 1rem 1.5rem 1.1rem;
  border-top: 1px solid rgb(6 59 51 / .08);
  background: rgb(255 255 255 / .82);
}

.website-preview-map h5 {
  margin: 0 0 .75rem;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgb(6 59 51 / .72);
}

.website-preview-map-frame {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgb(6 59 51 / .12);
  background: linear-gradient(145deg, rgb(237 242 248), rgb(255 255 255));
  min-height: 180px;
}

.website-preview-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 180px;
  border: 0;
}

.website-preview-map-frame span {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 1rem;
  color: rgb(6 59 51 / .58);
  font-size: .88rem;
  text-align: center;
}

.website-preview-street-address {
  margin: .75rem 0 0;
  color: rgb(6 59 51 / .78);
  font-size: .9rem;
  line-height: 1.45;
}

.website-preview-social {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: .85rem 1.5rem 1rem;
  border-top: 1px solid rgb(6 59 51 / .08);
  background: rgb(255 255 255 / .78);
}

.website-preview-social-link {
  display: inline-flex;
  align-items: center;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--preview-accent) 28%, rgb(6 59 51 / .18));
  background: color-mix(in srgb, var(--preview-accent) 10%, white);
  color: rgb(6 59 51 / .88);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.website-preview-social-link:focus-visible,
.website-preview-street-address:focus-visible,
#website-preview-map-label:focus-visible {
  outline: 2px solid var(--preview-accent);
  outline-offset: 2px;
}

.website-leads-panel {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgb(6 59 51 / .1);
}

.website-leads-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}

.website-leads-heading h3 {
  margin: .15rem 0 0;
}

.website-leads-list {
  display: grid;
  gap: .75rem;
  margin-top: .75rem;
}

.website-lead-item {
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgb(6 59 51 / .1);
  background: rgb(255 255 255 / .88);
}

.website-lead-item strong {
  display: block;
  margin-bottom: .2rem;
}

.website-lead-email {
  display: block;
  color: rgb(6 59 51 / .72);
  font-size: .88rem;
}

.website-lead-item p {
  margin: .55rem 0 .35rem;
  line-height: 1.45;
}

.website-lead-item small {
  color: rgb(6 59 51 / .58);
}

.website-analytics-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: .75rem 0 1rem;
}

.website-analytics-metric {
  padding: .75rem .85rem;
  border-radius: 14px;
  border: 1px solid rgb(6 59 51 / .1);
  background: rgb(255 255 255 / .88);
}

.website-analytics-metric span {
  display: block;
  font-size: .78rem;
  color: rgb(6 59 51 / .62);
  margin-bottom: .25rem;
}

.website-analytics-metric strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
}

.website-structured-data-preview {
  margin: .35rem 0 0;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgb(6 59 51 / .1);
  background: rgb(6 59 51 / .04);
  color: rgb(6 59 51 / .82);
  font-size: .78rem;
  line-height: 1.45;
  overflow: auto;
  max-height: 16rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.website-preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  align-items: center;
}

.website-preview-page {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgb(6 59 51 / .08);
  background: rgb(255 255 255 / .72);
}
.website-preview-page h4 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
}
.website-preview-page p {
  margin: 0;
  color: rgb(6 59 51 / .78);
  line-height: 1.55;
}
.website-preview-page.is-editing {
  outline: 2px solid var(--preview-accent, #55d6be);
  outline-offset: -2px;
}

.website-preview-updates {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgb(6 59 51 / .08);
  background: rgb(255 255 255 / .72);
}

.website-preview-updates h4 {
  margin: 0 0 .85rem;
  font-size: 1.05rem;
}

.website-preview-updates-list {
  display: grid;
  gap: .85rem;
}

.website-preview-update {
  padding: .95rem 1rem;
  border: 1px solid rgb(6 59 51 / .1);
  border-radius: 12px;
  background: rgb(255 255 255 / .92);
}

.website-preview-update strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .95rem;
}

.website-preview-update time {
  display: block;
  margin-bottom: .45rem;
  color: #536176;
  font-size: .72rem;
}

.website-preview-update p {
  margin: 0;
  color: rgb(6 59 51 / .78);
  font-size: .82rem;
  white-space: pre-wrap;
}

.website-updates-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 .75rem;
}

.website-updates-list {
  display: grid;
  gap: 1rem;
}

.website-update-editor {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.website-update-editor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.website-update-editor-top strong {
  font-size: .82rem;
  color: var(--slate);
}

.website-update-editor label {
  display: grid;
  gap: .35rem;
  margin-bottom: .75rem;
}

.website-update-editor input[type="text"],
.website-update-editor input[type="date"],
.website-update-editor textarea {
  width: 100%;
}

.website-private-preview.content-width-narrow { max-width: 720px; margin-inline: auto; }
.website-private-preview.content-width-wide { max-width: 1120px; margin-inline: auto; }
.website-private-preview.hero-spacing-compact .website-preview-hero { padding-block: clamp(1.25rem, 4vw, 2.5rem); }
.website-private-preview.hero-spacing-roomy .website-preview-hero { padding-block: clamp(2.75rem, 8vw, 5.5rem); }
.website-private-preview.page-style-cards .website-preview-page,
.website-preview-page.page-style-cards {
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--preview-text, #10203b) 10%, #dfe5ee);
  border-radius: 14px;
  background: var(--preview-surface, #ffffff);
}
.website-private-preview.page-style-split .website-preview-page,
.website-preview-page.page-style-split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: .75rem 1.25rem;
  align-items: start;
}
.website-private-preview.page-style-split .website-preview-page h4,
.website-preview-page.page-style-split h4 { margin-top: 0; }
.preview-viewport-mobile .website-private-preview.page-style-split .website-preview-page,
.preview-viewport-mobile .website-preview-page.page-style-split { grid-template-columns: 1fr; }

.website-preview-inline-target[contenteditable="true"],
.website-preview-inline-target[contenteditable="plaintext-only"] {
  cursor: text;
  outline-offset: 4px;
}
.website-preview-inline-target:focus {
  outline: 2px solid color-mix(in srgb, var(--preview-accent, #55d6be) 72%, white);
  border-radius: 6px;
}

.website-studio-color-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .35rem;
}

.website-studio-onboarding {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgb(7 17 38 / .58);
  backdrop-filter: blur(4px);
}
.website-studio-onboarding.hidden { display: none; }
.website-studio-onboarding-card {
  width: min(420px, 100%);
  padding: 1.35rem 1.4rem;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 18px;
  background: linear-gradient(160deg, rgb(18 28 48 / .96), rgb(10 18 34 / .98));
  color: #eef3fb;
  box-shadow: 0 24px 60px rgb(0 0 0 / .35);
}
.website-studio-onboarding-card h3 {
  margin: .35rem 0 .65rem;
  font-size: 1.35rem;
}
.website-studio-onboarding-card p {
  margin: 0;
  color: rgb(214 223 236 / .92);
  line-height: 1.55;
}
.website-studio-onboarding-steps {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.website-studio-onboarding-steps li {
  padding: .45rem .65rem;
  border-radius: 10px;
  background: rgb(255 255 255 / .04);
  color: rgb(198 208 223 / .88);
  font-size: .88rem;
}
.website-studio-onboarding-steps li.is-active {
  background: color-mix(in srgb, var(--mint, #55d6be) 18%, rgb(255 255 255 / .06));
  color: #ffffff;
  font-weight: 700;
}
.website-studio-onboarding-steps li.is-complete {
  color: rgb(170 220 205 / .95);
}
.website-studio-onboarding-actions {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.1rem;
}

.website-private-preview.hero-align-center .website-preview-hero h3,
.website-private-preview.hero-align-center .website-preview-hero > p:not(.website-preview-eyebrow) {
  margin-inline: auto;
}

.website-preview-cta {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--preview-accent-secondary, #67a6ff) 35%, transparent);
}

#website-preview-eyebrow[role="button"],
#website-preview-headline[role="button"],
#website-preview-subheadline[role="button"],
#website-preview-phone[role="button"],
#website-preview-location[role="button"] {
  cursor: pointer;
  outline-offset: 4px;
}

#website-preview-eyebrow[role="button"]:focus-visible,
#website-preview-headline[role="button"]:focus-visible,
#website-preview-subheadline[role="button"]:focus-visible,
#website-preview-phone[role="button"]:focus-visible,
#website-preview-location[role="button"]:focus-visible {
  outline: 2px solid rgba(85, 214, 190, .75);
}

.website-studio-release-note {
  padding: .65rem 1rem;
  border-top: 1px solid var(--studio-line);
  background: rgba(255, 255, 255, .72);
  color: var(--studio-muted);
}

.website-launch-checklist-details {
  flex: 0 0 auto;
}

.website-launch-checklist-details[open] {
  max-height: min(42vh, 360px);
  overflow: auto;
}

.website-launch-checklist-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  cursor: pointer;
  list-style: none;
}

.website-launch-checklist-summary::-webkit-details-marker {
  display: none;
}

.website-launch-checklist-summary-copy strong {
  display: block;
  color: var(--studio-ink);
}

.website-launch-checklist-progress {
  flex: 0 0 auto;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--studio-line);
  background: var(--studio-panel);
  color: var(--studio-ink);
  font-size: .72rem;
  font-weight: 800;
}

.website-launch-checklist-lead {
  margin: .55rem 0 0;
  font-size: .82rem;
}

.domain-dns-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.domain-dns-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.domain-dns-domain-select {
  display: grid;
  gap: .25rem;
  min-width: min(100%, 220px);
}

.domain-dns-records {
  margin-top: .85rem;
}

.domain-dns-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}

.domain-dns-table th,
.domain-dns-table td {
  padding: .55rem .45rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.domain-dns-table td:nth-child(3) {
  white-space: pre-line;
  word-break: break-word;
}

.domain-dns-sync {
  text-transform: capitalize;
  white-space: nowrap;
}

.domain-dns-sync-public_ready { color: #0b7a53; font-weight: 750; }
.domain-dns-sync-failed { color: #a42929; font-weight: 750; }

.domain-dns-managed {
  display: inline-flex;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--text);
  font-size: .72rem;
  font-weight: 700;
}

.domain-dns-form {
  margin-top: 1rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.domain-dns-form-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: .75rem 0;
}

.domain-dns-value-field { grid-column: span 2; }
.domain-dns-value-field textarea { min-height: 5.5rem; resize: vertical; }

.website-studio-shell.is-focus-mode .website-studio-rail,
.website-studio-shell.is-focus-mode .website-studio-inspector,
.website-studio-shell.is-focus-mode #website-launch-checklist {
  display: none;
}

.website-studio-shell.is-focus-mode .website-studio-workspace {
  grid-template-columns: minmax(0, 1fr);
}

.website-studio-shell.is-focus-mode .website-studio-canvas-column {
  padding-inline: clamp(.5rem, 2vw, 1.25rem);
}

.website-studio-shell:fullscreen {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
}

.website-studio-shell:fullscreen .website-studio-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
}

.website-studio-release-note strong {
  color: var(--studio-ink);
}

.website-studio-release-note p {
  margin: .15rem 0 0;
  font-size: .82rem;
}

.editor-hint {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}

#website-preview-headline[role="button"],
#website-preview-subheadline[role="button"],
#website-preview-cta[role="button"],
#website-preview-contact[role="button"],
#website-preview-eyebrow[role="button"],
#website-preview-phone[role="button"],
#website-preview-location[role="button"] {
  cursor: pointer;
  outline-offset: 4px;
}

#website-preview-headline[role="button"]:focus-visible,
#website-preview-subheadline[role="button"]:focus-visible,
#website-preview-cta[role="button"]:focus-visible,
#website-preview-contact[role="button"]:focus-visible,
#website-preview-eyebrow[role="button"]:focus-visible,
#website-preview-phone[role="button"]:focus-visible,
#website-preview-location[role="button"]:focus-visible {
  outline: 2px solid rgba(85, 214, 190, .75);
}

.website-studio-launcher {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}

.website-list-item .website-edit-button {
  font-weight: 800;
}

.website-domain-connect-dialog {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 16, 34, .55);
}

.website-domain-connect-dialog.hidden {
  display: none;
}

.website-domain-connect-shell {
  width: min(520px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--studio-line, #d5deea);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(11, 26, 51, .18);
}

.website-domain-connect-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.website-domain-connect-heading h2 {
  margin: .15rem 0 0;
  font-size: 1.15rem;
}

.website-domain-connect-heading p {
  margin: .35rem 0 0;
  color: #5a6d8c;
  font-size: .84rem;
  line-height: 1.5;
}

.website-domain-connect-current {
  margin-bottom: .85rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(85, 214, 190, .35);
  border-radius: 12px;
  background: rgba(85, 214, 190, .08);
  color: #0d5f52;
  font-size: .84rem;
}

.website-domain-connect-list {
  display: grid;
  gap: .55rem;
}

.website-domain-connect-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .85rem;
  border: 1px solid #d5deea;
  border-radius: 12px;
  background: #f8fafc;
}

.website-domain-connect-option strong {
  display: block;
  font-size: .92rem;
}

.website-domain-connect-option small {
  color: #5a6d8c;
  font-size: .74rem;
}

.website-domain-connect-empty {
  padding: 1rem;
  border: 1px dashed #d5deea;
  border-radius: 12px;
  color: #5a6d8c;
  font-size: .84rem;
  line-height: 1.5;
}

.website-domain-connect-actions {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Portal domain results — GoDaddy-style cards */
.domain-search-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}

.domain-search-more h4 {
  margin: 0 0 .55rem;
  font-size: .82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.domain-search-suggestion-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #09152d;
}

.domain-result-card {
  display: grid;
  gap: .35rem;
  min-height: 148px;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #09152d;
}

.domain-result-card.is-available {
  border-color: rgba(85, 214, 190, .42);
  background: linear-gradient(180deg, rgba(85, 214, 190, .12), rgba(9, 21, 45, .95));
}

.domain-result-card.is-unavailable {
  opacity: .78;
}

.domain-result-badge {
  display: inline-flex;
  width: fit-content;
  padding: .22rem .55rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.is-available .domain-result-badge {
  color: #8ef0dc;
  background: rgba(85, 214, 190, .16);
  border: 1px solid rgba(85, 214, 190, .35);
}

.is-unavailable .domain-result-badge {
  color: #d9a8a8;
  background: rgba(180, 90, 90, .14);
  border: 1px solid rgba(180, 90, 90, .35);
}

.domain-result-tld {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.domain-result-name {
  margin: 0;
  overflow: hidden;
  font-size: .95rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-result-price {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.domain-result-card .domain-result-price {
  color: #f3f7ff;
  font-size: .86rem;
}

.domain-result-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: .25rem;
  padding: .5rem .75rem;
  border: 1px solid rgba(85, 214, 190, .45);
  border-radius: 10px;
  background: rgba(85, 214, 190, .16);
  color: #d8fff6;
  font-size: .74rem;
  font-weight: 850;
}

.domain-result-card .domain-result-buy {
  width: 100%;
  margin-top: auto;
}

.domain-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .85rem;
  border-bottom: 1px solid var(--line);
}

.domain-result-row:last-child {
  border-bottom: 0;
}

.domain-result-row.is-available {
  background: rgba(85, 214, 190, .06);
}

.domain-result-main {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  flex: 1 1 auto;
}

.domain-result-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}

.domain-result-meta .domain-result-buy {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .website-studio-workspace {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .website-studio-inspector {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 2;
    max-height: 46vh;
    border-left: 0;
    border-top: 1px solid var(--studio-line);
    box-shadow: 0 -12px 40px rgba(11, 26, 51, .12);
  }
}

@media (max-width: 900px) {
  .website-studio-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .website-studio-rail {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: .45rem;
  }

  .website-studio-rail-btn span {
    display: none;
  }

  .website-studio-rail-divider {
    width: 1px;
    height: auto;
    margin: .25rem .15rem;
  }

  .domain-search-featured {
    grid-template-columns: 1fr;
  }

  .website-studio-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .website-studio-brand-mark {
    display: block;
  }

  .website-studio-site-meta .editor-access {
    display: none;
  }

  .website-studio-browser-chrome {
    grid-template-columns: 1fr;
  }

  .website-studio-browser-dots {
    display: none;
  }
}

@media (max-width: 560px) {
  .domain-result-row {
    flex-direction: column;
    align-items: stretch;
  }

  .domain-result-meta {
    justify-content: space-between;
    width: 100%;
  }
}

/* Portal cross-view polish — 20260825-01 */
body:has(#website-studio:not(.hidden)) .masthead {
  border-bottom-color: rgba(85, 214, 190, .14);
}

#loading-view.center-card {
  min-height: min(52vh, 440px);
  display: grid;
  place-content: center;
  gap: 1rem;
}

#loading-view.center-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

#loading-view.center-card .field-help {
  max-width: 28rem;
  margin-inline: auto;
}

.center-card,
.invitation-center {
  width: min(680px, calc(100% - 2rem));
}

.center-card h1,
.invitation-center h1 {
  text-wrap: balance;
}

.auth-card {
  border: 1px solid rgba(103, 166, 255, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.welcome-panel {
  text-wrap: balance;
}

.welcome-panel .trust-list li {
  padding-left: .15rem;
}

.portal-section-nav a[aria-current="true"],
.portal-section-nav a:focus-visible {
  color: var(--ink);
  background: rgba(85, 214, 190, .12);
  box-shadow: inset 0 0 0 1px rgba(85, 214, 190, .35);
}

.status:not(:empty) {
  margin-top: 1rem;
  padding: .75rem .95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 20, 44, .72);
}

.notice {
  border-left: 3px solid rgba(85, 214, 190, .55);
}

.invitation-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.invitation-card:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 214, 190, .45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.onboarding-domain-intent {
  text-align: left;
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .welcome-panel {
    text-align: center;
  }

  .welcome-panel .trust-list {
    text-align: left;
    max-width: 34rem;
    margin-inline: auto;
  }

  .portal-section-nav {
    top: 70px;
  }
}

@media (max-width: 760px) {
  .activation-pending {
    width: min(100%, calc(100% - 1.25rem));
    padding-top: 1rem;
  }

  .activation-heading {
    grid-template-columns: 1fr;
  }

  .account-hero {
    grid-template-columns: 1fr;
  }
}

.journey-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0.75rem auto 0;
  display: grid;
  gap: 0.75rem;
}

.journey-shell.hidden {
  display: none;
}

.journey-checkout-banner {
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.journey-checkout-banner.hidden {
  display: none;
}

.website-launch-checklist {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.website-launch-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.website-launch-checklist li.is-complete {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.website-launch-checklist li.is-blocked {
  border-color: color-mix(in srgb, #d97706 45%, var(--line));
}

.website-launch-checklist-status {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--line);
  color: var(--muted);
}

.website-launch-checklist li.is-complete .website-launch-checklist-status {
  background: var(--accent);
  color: #041018;
}

.website-launch-checklist-copy strong {
  display: block;
}

.website-launch-checklist-copy small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.website-launch-remediation {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #d97706 45%, var(--line));
  background: color-mix(in srgb, #d97706 8%, var(--surface));
}

.website-launch-remediation.hidden {
  display: none;
}

.business-email-center { display: grid; gap: 1.25rem; }
.business-email-mailboxes { display: grid; gap: .75rem; }
.business-email-mailbox {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.business-email-mailbox div { display: grid; gap: .25rem; }
.business-email-mailbox span { color: var(--muted); font-size: .92rem; }
.business-email-form { padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.business-email-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin: 1rem 0; }
@media (max-width: 720px) {
  .business-email-form-grid { grid-template-columns: 1fr; }
  .business-email-mailbox { align-items: flex-start; flex-direction: column; }
}

.shop-desk-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(85, 214, 190, .38);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(85, 214, 190, .16), rgba(12, 28, 58, .92));
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}
.shop-desk-primary-copy { display: grid; gap: .4rem; }
.shop-desk-primary strong { font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -.03em; }
.shop-desk-primary span:not(.workspace-shortcut-arrow) { color: #c5d2e6; font-size: .95rem; line-height: 1.5; }
.shop-desk-primary .workspace-shortcut-arrow { color: var(--mint); font-size: 1.45rem; font-weight: 900; }
.shop-desk-primary:hover,
.shop-desk-primary:focus-visible {
  border-color: rgba(85, 214, 190, .62);
  background: linear-gradient(145deg, rgba(85, 214, 190, .22), rgba(14, 32, 64, .96));
  transform: translateY(-1px);
}
.shop-desk-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.shop-desk-status article { padding: .85rem .95rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(8, 20, 44, .55); }
.shop-desk-status span { display: block; color: var(--mint); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.shop-desk-status strong { display: block; margin: .35rem 0 .15rem; font-size: 1.35rem; }
.shop-desk-status small { color: #b8c5da; line-height: 1.4; }
@media (max-width: 720px) {
  .shop-desk-status { grid-template-columns: 1fr; }
  .shop-desk-primary { padding: 1.15rem 1.1rem; }
}

/* Paper shop: throw out the navy control-plane look. */

:root {
  color-scheme: light;
  --ink: #1a1612;
  --muted: #5c564e;
  --navy: #f4efe4;
  --panel: #fffaf3;
  --panel2: #f7f3ea;
  --line: #d8d0c4;
  --mint: #0d6b5c;
  --blue: #3d5a73;
  --danger: #9b2c2c;
  --shadow: 0 16px 36px rgba(46, 36, 22, .08);
  --surface: #fffaf3;
  --accent: #0d6b5c;
  --studio-topbar: #f7f3ea;
  --studio-line: #d8d0c4;
}

html,
body {
  background: #f4efe4 !important;
  color: #1a1612 !important;
}

.masthead {
  background: #f7f3ea !important;
  border-bottom: 1px solid #d8d0c4 !important;
  backdrop-filter: none !important;
}

.masthead #billing-link,
#tenant-plan,
.plan-pill {
  display: none !important;
}

.portal-cart-button:not(.is-cart-visible) {
  display: none !important;
}

.portal-cart-button.is-cart-visible {
  color: #1a1612;
  background: #fffaf3;
  border: 1px solid #d8d0c4;
  box-shadow: 0 10px 24px rgba(46, 36, 22, .1);
}

.eyebrow {
  color: #7a7268 !important;
  letter-spacing: .08em !important;
}

.eyebrow.danger {
  color: #9b2c2c !important;
}

.button-primary,
.button.button-primary {
  color: #f4efe4 !important;
  background: #0d6b5c !important;
  border-color: #0d6b5c !important;
}

.button-primary:hover:not(:disabled),
.button.button-primary:hover:not(:disabled) {
  background: #128574 !important;
}

.button-quiet,
.button.button-quiet {
  color: #3f3a34 !important;
  background: transparent !important;
  border-color: #d8d0c4 !important;
}

.text-button {
  color: #0d6b5c !important;
}

.center-card,
.auth-card,
.invitation-center,
.notice,
.checkout-confirmation-card {
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
  box-shadow: 0 16px 36px rgba(46, 36, 22, .08) !important;
  color: #1a1612 !important;
}

.welcome-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

[data-view-heading]:focus,
[data-view-heading]:focus-visible,
.welcome-panel [data-view-heading]:focus,
.welcome-panel [data-view-heading]:focus-visible {
  outline: none !important;
}

.welcome-panel p,
.auth-card p,
.center-card p,
.field-help,
.trust-list,
.portal-heading-lead,
.workspace-panel-heading p {
  color: #5c564e !important;
}

.tab {
  color: #5c564e !important;
  background: transparent !important;
  border-color: transparent !important;
}

.tab.active {
  color: #1a1612 !important;
  background: #f4efe4 !important;
}

input,
select,
textarea {
  color: #1a1612 !important;
  background: #fffdf8 !important;
  border-color: #d8d0c4 !important;
}

.portal-heading h1,
.workspace-panel-heading h2,
.form-heading h2,
[data-view-heading] {
  color: #1a1612 !important;
}

.workspace-nav {
  background: #f7f3ea !important;
  border: 1px solid #d8d0c4 !important;
  box-shadow: none !important;
}

.workspace-nav-title {
  color: #7a7268 !important;
}

.workspace-nav-btn {
  color: #3f3a34 !important;
}

.workspace-nav-btn:hover,
.workspace-nav-btn:focus-visible {
  color: #1a1612 !important;
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
}

.workspace-nav-btn.is-active,
.workspace-nav-btn[aria-selected="true"] {
  color: #1a1612 !important;
  background: #fffaf3 !important;
  border-color: #c4bbb0 !important;
  box-shadow: inset 3px 0 0 #0d6b5c !important;
}

.workspace-nav-btn.is-active .workspace-nav-icon,
.workspace-nav-btn[aria-selected="true"] .workspace-nav-icon {
  color: #0d6b5c !important;
}

.workspace-shortcut,
.action-card,
.session-card,
.workspace-panel-card,
.billing-center,
.billing-option,
.service-catalog-card,
.account-deletion-entry,
.website-list-item,
.domain-request-item,
.workspace-empty-state,
.design-projects-section,
.included-design-grid article {
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
  color: #1a1612 !important;
  box-shadow: none !important;
}

.workspace-shortcut span,
.session-card span,
.website-list-item small,
.domain-request-item small {
  color: #5c564e !important;
}

.workspace-shortcut:hover,
.workspace-shortcut:focus-visible {
  border-color: #0d6b5c !important;
  background: #fffdf8 !important;
}

.workspace-shortcut-arrow,
.shop-desk-primary .workspace-shortcut-arrow {
  color: #0d6b5c !important;
}

.shop-desk-status,
.shop-desk-footnotes {
  display: none !important;
}

.shop-table {
  display: grid;
  gap: 1rem;
}

.shop-table-page {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  border: 1px solid #d8d0c4;
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--shop-swatch, #c8b8a0) 18%, #fffaf3), #fffaf3 42%),
    #fffaf3;
  box-shadow: 0 22px 40px rgba(46, 36, 22, .08);
}

.shop-table-chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid #e6ddd0;
  background: #f7f3ea;
}

.shop-table-chrome span {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: #d8d0c4;
}

.shop-table-chrome i {
  flex: 1;
  margin-left: .65rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: #fffaf3;
  color: #7a7268;
  font-style: normal;
  font-size: .78rem;
}

.shop-table-preview {
  display: grid;
  align-content: center;
  min-height: 12rem;
  padding: 1.6rem 1.5rem 1.8rem;
  gap: .45rem;
}

.shop-table-kicker {
  margin: 0;
  color: #7a7268;
  font-size: .78rem;
}

.shop-table-preview strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.shop-table-preview p:last-child {
  max-width: 28rem;
  margin: 0;
  color: #5c564e;
  line-height: 1.5;
}

.shop-desk-primary {
  border: 1px solid #0d6b5c !important;
  background: #0d6b5c !important;
  color: #f4efe4 !important;
}

.shop-desk-primary span:not(.workspace-shortcut-arrow) {
  color: #dceeea !important;
}

.shop-desk-primary .workspace-shortcut-arrow {
  color: #f4efe4 !important;
}

.shop-desk-primary:hover,
.shop-desk-primary:focus-visible {
  border-color: #128574 !important;
  background: #128574 !important;
}

.metrics article,
.shop-desk-status article {
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
}

.account-deletion-dialog,
.account-provider-dialog {
  background: #fffaf3 !important;
  color: #1a1612 !important;
  border-color: #d8d0c4 !important;
}

.account-deletion-dialog::backdrop,
.account-provider-dialog::backdrop {
  background: rgba(36, 28, 18, .45) !important;
}

.website-studio-shell,
.website-studio-topbar {
  background: #f7f3ea !important;
  color: #1a1612 !important;
  border-color: #d8d0c4 !important;
}

.website-studio-site-meta h2,
.website-studio-site-meta .editor-access {
  color: #1a1612 !important;
}

.website-studio-site-meta .eyebrow {
  color: #7a7268 !important;
}

.website-studio-toolbar-btn {
  color: #3f3a34 !important;
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
}

.website-studio-publish {
  color: #f4efe4 !important;
  background: #0d6b5c !important;
  border-color: #0d6b5c !important;
  box-shadow: none !important;
}

.service-catalog-topline,
.catalog-group-heading span,
.billing-option-label {
  color: #7a7268 !important;
}

.portal-workspace-status {
  color: #1a1612 !important;
  background: #fff3d6 !important;
  border-color: #e0c48a !important;
}

.password-requirements li.met,
.password-requirements li.met:before,
.password-match-status.is-match {
  color: #0d6b5c !important;
}

@media (max-width: 720px) {
  .shop-table-page {
    min-height: 13.5rem;
  }

  .shop-table-preview {
    min-height: 10rem;
    padding: 1.2rem 1.1rem 1.4rem;
  }
}

.tabs {
  background: #f4efe4 !important;
}

.tab:not(.active) {
  color: #5c564e !important;
  background: transparent !important;
}

.account-hero,
.account-summary,
.service-storefront,
.included-designs,
.domain-service-center,
.account-security,
#workspace-panel-services .service-storefront,
#workspace-panel-billing .billing-center,
.workspace-panel-card,
.full-workspace-storefront {
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
  box-shadow: none !important;
}

.account-hero::after {
  display: none !important;
}

.catalog-group-heading span {
  background: #f4efe4 !important;
  color: #5c564e !important;
}

.service-catalog-card {
  background: #fffdf8 !important;
  border-color: #d8d0c4 !important;
}

.service-catalog-card-featured {
  border-color: #0d6b5c !important;
  box-shadow: none !important;
}

.section-title-row > p,
.catalog-group-heading > p,
.domain-service-center p,
.account-security p,
.federated-auth-heading {
  color: #5c564e !important;
}


.account-summary-grid article,
.purchase-order-item {
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
  color: #1a1612 !important;
}

.account-summary-grid span,
.account-summary-grid small,
.purchase-order-item small {
  color: #5c564e !important;
}

.catalog-group-heading span {
  display: none !important;
}

.domain-dns-panel {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #d8d0c4;
}

select,
textarea {
  background: #fffaf3 !important;
  color: #1a1612 !important;
  border-color: #d8d0c4 !important;
}

.billing-option,
.refund-guarantee-card,
.refund-confirmation {
  background: #fffdf8 !important;
  border-color: #d8d0c4 !important;
  color: #1a1612 !important;
}

.refund-cancellation-state {
  background: #f4efe4 !important;
  color: #3f3a34 !important;
}

/* One paper shop: same type and Studio chrome as the public face. */

html,
body,
button,
input,
select,
textarea {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

h1,
h2,
h3,
strong,
.button,
.website-studio-publish,
.website-studio-rail-btn,
.workspace-nav-btn,
.header-cta,
.header-sign-in {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif !important;
}

.website-studio-shell {
  --studio-bg: #f4efe4;
  --studio-panel: #fffaf3;
  --studio-line: #d8d0c4;
  --studio-ink: #1a1612;
  --studio-muted: #5c564e;
  --studio-topbar: #f7f3ea;
  --studio-rail: #f7f3ea;
  background: #f4efe4 !important;
  color: #1a1612 !important;
}

.website-studio-topbar {
  background: #f7f3ea !important;
  border-bottom: 1px solid #d8d0c4 !important;
  color: #1a1612 !important;
}

.website-studio-rail {
  background: #f7f3ea !important;
  border-right: 1px solid #d8d0c4 !important;
}

.website-studio-rail-btn {
  color: #5c564e !important;
}

.website-studio-rail-btn:hover {
  background: #fffaf3 !important;
  color: #1a1612 !important;
}

.website-studio-rail-btn.is-active {
  border-color: #0d6b5c !important;
  background: #fffaf3 !important;
  color: #0d6b5c !important;
}

.website-studio-rail-divider {
  background: #d8d0c4 !important;
}

.website-studio-canvas-column,
.website-studio-create {
  background: #f4efe4 !important;
}

.website-studio-browser-address,
.website-studio-viewport-controls,
.website-studio-preview-mode {
  background: #fffaf3 !important;
  border-color: #d8d0c4 !important;
}

.website-studio-canvas .website-preview-stage {
  background: #f4efe4 !important;
}

.website-studio-preview-frame {
  box-shadow: 0 18px 50px rgba(46, 36, 22, .08) !important;
}

.website-studio-inspector {
  background: #fffaf3 !important;
  border-left-color: #d8d0c4 !important;
}

.website-studio-inspector-tab.is-active {
  border-bottom-color: #0d6b5c !important;
  background: rgba(13, 107, 92, .08) !important;
  color: #1a1612 !important;
}

.website-studio-shell .editor-fieldset {
  background: #fffdf8 !important;
  border-color: #d8d0c4 !important;
}

.website-studio-onboarding {
  background: rgba(36, 28, 18, .45) !important;
}

.website-studio-onboarding-card {
  background: #fffaf3 !important;
  color: #1a1612 !important;
  border-color: #d8d0c4 !important;
  box-shadow: 0 16px 36px rgba(46, 36, 22, .08) !important;
}

.website-studio-onboarding-card p {
  color: #5c564e !important;
}

.website-studio-onboarding-steps li {
  color: #5c564e !important;
  background: #f7f3ea !important;
}

.website-studio-step.is-active {
  border-color: #0d6b5c !important;
  background: rgba(13, 107, 92, .1) !important;
  color: #0d6b5c !important;
}

.website-studio-connect-domain,
.website-studio-live-badge {
  background: rgba(13, 107, 92, .12) !important;
  color: #0d6b5c !important;
}

.website-publish-dns-note {
  color: #5c564e;
}

.website-studio-live-loading {
  background: rgba(244, 239, 228, .88) !important;
  color: #5c564e !important;
}
.ccn-assistant-launcher { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; border: 1px solid #87ffee; border-radius: 999px; padding: .8rem 1.2rem; background: #073b34; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ccn-assistant-launcher[hidden] { display: none; }
.ccn-assistant { box-sizing: border-box; display: flex; flex-direction: column; width: min(26rem, calc(100vw - 1.5rem)); height: min(42rem, calc(100dvh - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow: hidden; padding: 0; border: 1px solid #59718b; border-radius: 1rem; background: #0d1a2e; color: #f4f8fc; font: 1rem/1.5 system-ui, sans-serif; }
.ccn-assistant:not([open]) { display: none; }
.ccn-assistant fieldset { min-width: 0; margin: .75rem 0 0; padding: .75rem; border: 1px solid #59718b; border-radius: .5rem; overflow-wrap: anywhere; }
.ccn-assistant::backdrop { background: rgb(0 0 0 / 55%); }
.ccn-assistant header, .ccn-assistant-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 0 0 auto; padding: 1rem 1.1rem; border-bottom: 1px solid #40566e; }
.ccn-assistant h2 { margin: 0; font-size: 1.15rem; }
.ccn-assistant-disclosure { color: #c4d1df; font-size: .92rem; }
.ccn-assistant-consent { flex: 1 1 auto; overflow: auto; padding: 1.1rem; display: grid; gap: .85rem; align-content: start; }
.ccn-assistant-consent[hidden] { display: none; }
.ccn-assistant-consent p { margin: 0; }
.ccn-assistant-privacy { margin: .35rem 0 0; color: #c4d1df; font-size: .86rem; overflow-wrap: anywhere; }
.ccn-assistant-privacy summary { min-height: 44px; display: list-item; align-content: center; cursor: pointer; color: #f4f8fc; }
.ccn-assistant .ccn-assistant-log { flex: 1 1 auto; min-height: 0; overflow: auto; padding: .85rem 1.1rem; }
.ccn-assistant .ccn-assistant-log[hidden] { display: none; }
.ccn-assistant .ccn-assistant-turn { height: auto; max-height: none; overflow: visible; padding: .75rem; margin: 0 0 .65rem; border: 1px solid #40566e; border-radius: .6rem; }
.ccn-assistant-user { background: #172d43; }
.ccn-assistant-assistant { background: #101c2d; }
.ccn-assistant-turn p, .ccn-assistant-copy { white-space: pre-wrap; overflow-wrap: anywhere; margin: .35rem 0 0; }
.ccn-assistant-copy { font: inherit; padding: .6rem; background: #172d43; }
.ccn-assistant-composer { flex: 0 0 auto; display: grid; gap: .45rem; padding: .85rem 1.1rem; border-top: 1px solid #40566e; }
.ccn-assistant-composer label { display: block; margin: 0; font-weight: 600; }
.ccn-assistant textarea { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: .65rem; background: #061225; color: #fff; border: 1px solid #8298b0; border-radius: .4rem; font: inherit; resize: vertical; min-height: 2.8rem; }
.ccn-assistant-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.ccn-assistant-actions button { flex: 1 1 8rem; margin: 0; }
.ccn-assistant-actions button[hidden] { display: none; }
.ccn-assistant-status { margin: 0; min-height: 1.25rem; color: #c4d1df; font-size: .88rem; }
.ccn-assistant-footer { flex: 0 1 auto; min-height: 0; max-height: 35%; overflow-y: auto; padding: .55rem 1.1rem .9rem; border-top: 1px solid #40566e; }
.ccn-assistant-human { display: inline-flex; min-height: 44px; align-items: center; }
.ccn-assistant button { min-height: 44px; padding: .5rem .8rem; margin: 0; border: 1px solid #87ffee; border-radius: .4rem; background: #87ffee; color: #061225; font: inherit; cursor: pointer; }
.ccn-assistant-secondary { background: transparent; color: #f4f8fc; border-color: #8298b0; }
.ccn-assistant button:disabled { opacity: .6; cursor: wait; }
.ccn-assistant a { color: #87ffee; }
.ccn-assistant :focus-visible, .ccn-assistant-launcher:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ccn-assistant-prompts { display: flex; flex-wrap: wrap; gap: .4rem; }
.ccn-assistant-prompts[hidden] { display: none; }
.ccn-assistant-prompts button { background: #172d43; color: #f4f8fc; border-color: #8298b0; font-weight: 600; }
