:root,
:root[data-theme="light"] {
  --bg: #f7f5f2;
  --page: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f5f2ee;
  --surface-3: #fff7f1;
  --line: rgba(24, 32, 44, 0.11);
  --text: #111827;
  --muted: #657084;
  --soft: #374151;
  --accent: #ff5a1f;
  --accent-2: #ff8a1d;
  --accent-soft: rgba(255, 90, 31, 0.1);
  --accent-line: rgba(255, 90, 31, 0.28);
  --storefront-brand-color: var(--accent);
  --storefront-accent: var(--accent-2);
  --storefront-accent-rgb: 255 90 31;
  --api-token-bg: rgba(255, 90, 31, 0.11);
  --api-token-border: rgba(255, 90, 31, 0.32);
  --api-token-text: #b83b0f;
  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.1);
  --warning: #d97706;
  --warning-soft: rgba(245, 158, 11, 0.13);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.1);
  --shadow: 0 22px 55px rgba(31, 41, 55, 0.08);
  --topbar-bg: rgba(255, 255, 255, 0.88);
  --sidebar-bg: rgba(255, 255, 255, 0.7);
  --input-bg: #ffffff;
}

:root[data-theme="dark"] {
  --bg: #071019;
  --page: #09131d;
  --surface: #101b27;
  --surface-2: #142232;
  --surface-3: #1c2635;
  --line: rgba(203, 213, 225, 0.13);
  --text: #f8fafc;
  --muted: #9aa9bc;
  --soft: #d7dee8;
  --accent: #ff6a1a;
  --accent-2: #ff8a22;
  --accent-soft: rgba(255, 106, 26, 0.14);
  --accent-line: rgba(255, 106, 26, 0.38);
  --storefront-brand-color: var(--accent);
  --storefront-accent: var(--accent-2);
  --storefront-accent-rgb: 255 106 26;
  --api-token-bg: rgba(255, 138, 34, 0.14);
  --api-token-border: rgba(255, 138, 34, 0.42);
  --api-token-text: #ffb46b;
  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.13);
  --danger: #fb7185;
  --danger-soft: rgba(251, 113, 133, 0.13);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
  --topbar-bg: rgba(7, 16, 25, 0.9);
  --sidebar-bg: rgba(10, 22, 34, 0.72);
  --input-bg: #0b1621;
}

/* === CSS ownership index ===
 * Dashboard styles: public/store/modules/developer/dashboard.js
 * Products styles: public/store/modules/developer/products.js
 * Licensing styles: public/store/modules/developer/licensing.js
 * Email marketing styles: public/store/modules/developer/marketing.js
 * Marketplace styles: public/store/modules/developer/products.js
 * Library styles: public/store/modules/library/index.js
 * Storefront styles: public/store/modules/storefront/index.js
 * Checkout/auth styles: public/store/store.js
 * Shared shell, tokens, and controls: public/store/store.css
 */

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--page);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.store-topbar {
  align-items: center;
  backdrop-filter: blur(16px);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 3vw, 34px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.store-topbar[hidden] {
  display: none !important;
}

.store-brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.store-brand-mark {
  align-items: center;
  background: transparent;
  border-radius: 10px;
  color: var(--accent);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  width: 42px;
}

.store-brand-mark img {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.store-brand strong,
.store-brand small {
  display: block;
  line-height: 1.1;
}

.store-brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 4px;
  text-transform: uppercase;
}

.store-topbar-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.store-nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}

.store-nav a {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

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

.store-top-search {
  align-items: center;
  background: rgba(2, 6, 12, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 40px;
  min-height: 40px;
  overflow: hidden;
}

.store-top-search label {
  display: block;
  min-width: 0;
}

.store-top-search label span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.store-top-search input {
  background: transparent;
  border: 0;
  color: var(--text);
  height: 40px;
  outline: none;
  padding: 0 12px;
  width: 100%;
}

.store-top-search button,
.store-icon-button {
  align-items: center;
  background: rgba(2, 6, 12, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: relative;
  width: 40px;
}

.store-top-search button {
  border-bottom: 0;
  border-right: 0;
  border-top: 0;
}

.store-top-search button span,
.store-icon-button i {
  border: 2px solid currentColor;
  border-radius: 999px;
  height: 14px;
  position: relative;
  width: 14px;
}

.store-top-search button span::after {
  background: currentColor;
  content: "";
  height: 7px;
  position: absolute;
  right: -5px;
  top: 9px;
  transform: rotate(45deg);
  width: 2px;
}

.store-icon-button i {
  border-radius: 3px;
  height: 16px;
  width: 16px;
}

.store-icon-button i::before {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
  height: 6px;
  left: 2px;
  position: absolute;
  top: -7px;
  width: 8px;
}

.store-icon-button.library i {
  border-radius: 2px;
}

.store-icon-button.library i::before {
  border: 0;
  border-left: 2px solid currentColor;
  border-radius: 0;
  height: 14px;
  left: 5px;
  top: 0;
}

.store-icon-button span {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 17px;
  justify-content: center;
  position: absolute;
  right: -5px;
  top: -6px;
  width: 17px;
}

.theme-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  padding: 0;
}

.theme-toggle:focus-visible,
.store-button:focus-visible,
.store-avatar:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle-track {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  display: inline-flex;
  height: 24px;
  padding: 2px;
  width: 44px;
}

.theme-toggle-track span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(255, 90, 31, 0.26);
  display: block;
  height: 18px;
  transform: translateX(0);
  transition: transform 0.18s ease;
  width: 18px;
}

:root[data-theme="dark"] .theme-toggle-track span {
  transform: translateX(20px);
}

.store-avatar {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.store-app {
  margin: 0;
  max-width: none;
  min-width: 0;
  padding: 0;
}

[data-test-mode-banner-root]:empty {
  display: none;
}

.test-mode-banner,
.test-mode-inline-notice {
  align-items: center;
  background: color-mix(in srgb, var(--warning-soft) 78%, var(--surface) 22%);
  border: 1px solid color-mix(in srgb, var(--warning) 28%, transparent);
  color: var(--soft);
  display: flex;
  font-size: 13px;
  font-weight: 650;
  gap: 9px;
  line-height: 1.35;
  min-width: 0;
}

.test-mode-banner {
  border-left: 0;
  border-right: 0;
  justify-content: center;
  min-height: 36px;
  padding: 7px clamp(16px, 3vw, 34px);
  text-align: center;
}

.test-mode-inline-notice {
  border-radius: 8px;
  justify-content: flex-start;
  padding: 10px 12px;
}

.test-mode-banner-icon {
  align-items: center;
  background: color-mix(in srgb, var(--warning) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--warning) 32%, transparent);
  border-radius: 999px;
  color: var(--warning);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.test-data-label {
  align-items: center;
  background: var(--warning-soft);
  border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
  border-radius: 999px;
  color: var(--warning);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  justify-self: start;
  letter-spacing: 0;
  line-height: 1;
  min-height: 24px;
  padding: 0 9px;
  text-transform: uppercase;
}

.store-hero {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 26px;
  min-width: 0;
}

.store-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.store-hero h1,
.product-detail h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
  margin: 0;
  max-width: 830px;
}

.store-hero p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 720px;
}

.store-summary {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 190px;
  padding: 16px;
}

.store-summary strong {
  display: block;
  font-size: 28px;
}

.store-summary span {
  color: var(--muted);
  font-size: 13px;
}

.store-controls {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(128px, 1fr)) auto;
  margin-bottom: 24px;
  padding: 14px;
}

.store-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.store-field label,
.store-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.store-field input,
.store-field select {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 44px;
  outline: none;
  padding: 0 12px;
  width: 100%;
}

.store-field input:focus,
.store-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.store-price-fields {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.store-button {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.18);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 780;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.store-button.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--text);
}

.store-button.ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--soft);
}

.store-button:hover:not(:disabled) {
  border-color: var(--accent-line);
  box-shadow: 0 12px 26px rgba(255, 90, 31, 0.23);
  transform: translateY(-1px);
}

.store-button.secondary:hover:not(:disabled),
.store-button.ghost:hover:not(:disabled) {
  background: var(--accent-soft);
  box-shadow: none;
}

.store-button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.store-actions {
  align-self: end;
  display: flex;
  gap: 8px;
}

.store-actions.center {
  align-self: center;
  justify-content: center;
}

.store-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 360px));
  justify-content: start;
  min-width: 0;
}

/* === Products domain styles ===
 * Owner: public/store/modules/developer/products.js
 * Notes: public marketplace product cards/details are shared with storefront compatibility renderers.
 */

.product-card {
  background: rgba(15, 21, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.product-card-media,
.product-detail-media {
  align-items: center;
  background: linear-gradient(135deg, #101826, #182438);
  color: rgba(244, 247, 251, 0.5);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card-media {
  aspect-ratio: 16 / 10;
}

.product-card-media img,
.product-detail-media img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-card h2 {
  font-size: 20px;
  line-height: 1.18;
  margin: 0;
}

.product-card p,
.product-detail p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.product-meta {
  align-items: center;
  color: var(--soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.product-price {
  color: var(--text);
  display: grid;
  gap: 3px;
  font-size: 18px;
  font-weight: 850;
  margin-top: auto;
}

.product-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.product-price s {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-price.is-free {
  color: var(--success);
}

.store-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.store-pill {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  padding: 5px 9px;
}

.store-pill span {
  color: var(--muted);
}

.product-card.featured {
  grid-column: span 2;
}

.product-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 24px;
}

.deal-badge {
  align-items: center;
  background: var(--success-soft);
  border: 1px solid color-mix(in srgb, var(--success) 34%, transparent);
  border-radius: 999px;
  color: var(--success);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  min-height: 24px;
  padding: 0 9px;
  text-transform: uppercase;
}

.deal-badge.free {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.deal-badge.subscription {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
  color: #3b82f6;
}

.product-card-footer {
  align-items: flex-end;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 4px;
}

.product-card-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-link {
  color: var(--accent);
  font-weight: 800;
}

.store-button.compact {
  font-size: 13px;
  min-height: 36px;
  padding: 0 12px;
}

.store-pagination {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.store-pagination span {
  color: var(--muted);
  min-width: 128px;
  text-align: center;
}

.marketplace-developer-page {
  display: grid;
  gap: 24px;
}

.marketplace-developer-hero {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.16), rgba(24, 36, 56, 0.56)),
    rgba(15, 21, 32, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
}

.marketplace-developer-title {
  align-items: center;
  display: flex;
  gap: 14px;
  margin: 10px 0 12px;
  min-width: 0;
}

.marketplace-developer-title img,
.marketplace-developer-title .store-brand-mark {
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  flex: 0 0 auto;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.marketplace-developer-title h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  margin: 0;
  overflow-wrap: anywhere;
}

.marketplace-developer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-pill.muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--soft);
}

.marketplace-developer-section {
  display: grid;
  gap: 14px;
}

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

.marketplace-homepage-hero {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(3, 7, 12, 0.98) 0%, rgba(7, 14, 23, 0.94) 46%, rgba(8, 15, 24, 0.72) 100%),
    radial-gradient(circle at 77% 42%, rgba(255, 106, 26, 0.2), transparent 28%),
    #050a11;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  margin-bottom: 18px;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 52px);
  position: relative;
}

.marketplace-homepage-hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
}

.marketplace-hero-copy,
.marketplace-hero-visual {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.marketplace-hero-copy {
  align-content: center;
  display: grid;
  gap: 16px;
}

.marketplace-limited-badge {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), #ff3d00);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  justify-self: start;
  margin: 0;
  min-height: 28px;
  padding: 0 10px;
  text-transform: uppercase;
}

.marketplace-homepage-hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.8vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 650px;
}

.marketplace-homepage-hero h1 span,
.marketplace-homepage-hero h1 b {
  display: block;
  overflow-wrap: anywhere;
}

.marketplace-homepage-hero h1 b {
  color: var(--accent);
}

.marketplace-homepage-hero .marketplace-hero-copy > p:not(.marketplace-limited-badge) {
  color: #c3ccd8;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 500px;
}

.marketplace-hero-trust {
  color: #b2bfce;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  margin-top: 12px;
}

.marketplace-hero-trust span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.marketplace-hero-trust span::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  height: 6px;
  width: 6px;
}

.marketplace-hero-visual {
  align-items: center;
  display: grid;
  justify-items: center;
}

.marketplace-hero-art {
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 106, 26, 0.22), transparent 34%),
    linear-gradient(135deg, #0a121c, #151f2c);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  color: rgba(248, 250, 252, 0.8);
  display: grid;
  font-size: 22px;
  font-weight: 950;
  justify-items: center;
  max-height: 330px;
  overflow: hidden;
  width: min(100%, 620px);
}

.marketplace-hero-art img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.marketplace-hero-discount {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), #ff3d00);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(255, 90, 31, 0.28);
  color: #fff;
  display: grid;
  height: 112px;
  justify-items: center;
  line-height: 0.9;
  padding: 15px;
  position: absolute;
  right: clamp(8px, 2vw, 28px);
  top: clamp(16px, 3vw, 44px);
  width: 112px;
}

.marketplace-hero-discount strong {
  font-size: 36px;
  font-weight: 950;
}

.marketplace-hero-discount small {
  font-size: 15px;
  font-weight: 950;
}

.marketplace-hero-product-link {
  background: rgba(2, 6, 12, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  max-width: min(420px, 90%);
  overflow: hidden;
  padding: 9px 12px;
  position: absolute;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-hero-product-rail {
  bottom: -34px;
  display: flex;
  gap: 10px;
  justify-content: center;
  position: absolute;
}

.marketplace-hero-product-rail a {
  background: rgba(148, 163, 184, 0.38);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.marketplace-hero-product-rail a.active {
  background: var(--accent);
}

.marketplace-hero {
  align-items: end;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 106, 26, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(16, 27, 39, 0.92), rgba(25, 39, 55, 0.68));
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 44px);
}

:root[data-theme="light"] .marketplace-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 106, 26, 0.13), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef5f8);
}

.marketplace-hero h1 {
  font-size: clamp(36px, 6vw, 70px);
  line-height: 0.96;
  max-width: 980px;
}

.marketplace-hero-actions,
.marketplace-promo-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.marketplace-main-promo,
.marketplace-featured-deal,
.marketplace-email-cta {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  margin-bottom: 18px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
}

.marketplace-main-promo h2,
.marketplace-featured-deal h2,
.marketplace-email-cta h2,
.marketplace-section h2 {
  margin: 0;
}

.marketplace-main-promo p,
.marketplace-featured-deal p,
.marketplace-email-cta p {
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 660px;
}

.marketplace-promo-art,
.marketplace-featured-art {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #111827, #233144);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.marketplace-promo-art img,
.marketplace-featured-art img,
.marketplace-promo-thumb img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.marketplace-promo-grid,
.marketplace-chip-grid,
.marketplace-developer-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 22px;
}

.marketplace-promo-card,
.marketplace-chip-card,
.marketplace-developer-card {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 106, 26, 0.08), transparent 35%),
    rgba(12, 20, 31, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.marketplace-promo-card {
  grid-template-columns: minmax(0, 1fr) 72px;
  min-height: 136px;
}

.marketplace-promo-card > span:not(.marketplace-promo-icon),
.marketplace-promo-card strong,
.marketplace-promo-card em {
  grid-column: 1;
}

.marketplace-promo-icon {
  align-self: center;
  background:
    radial-gradient(circle, rgba(255, 106, 26, 0.16), rgba(255, 106, 26, 0.03) 62%),
    rgba(2, 6, 12, 0.42);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 3;
  height: 72px;
  place-items: center;
  width: 72px;
}

.marketplace-promo-icon::before {
  color: var(--accent);
  content: "";
  font-size: 30px;
  font-weight: 950;
}

.marketplace-promo-icon[data-promo-icon="0"]::before {
  content: "%";
}

.marketplace-promo-icon[data-promo-icon="1"]::before {
  content: ">";
}

.marketplace-promo-icon[data-promo-icon="2"]::before {
  content: "+";
}

.marketplace-promo-icon[data-promo-icon="3"]::before {
  content: "*";
}

.marketplace-promo-card strong,
.marketplace-chip-card strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.marketplace-promo-card span,
.marketplace-promo-card em,
.marketplace-chip-card span,
.marketplace-developer-card p {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.marketplace-promo-thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
}

.marketplace-featured-deal {
  background:
    linear-gradient(135deg, rgba(5, 150, 105, 0.12), transparent 42%),
    var(--surface);
}

.marketplace-deal-price {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.marketplace-section {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  min-width: 0;
}

.marketplace-section-header {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-width: 0;
}

.marketplace-carousel {
  display: grid;
  gap: 14px;
  grid-auto-columns: minmax(230px, 300px);
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 8px;
  scroll-snap-type: inline proximity;
}

.marketplace-carousel > .product-card {
  scroll-snap-align: start;
}

.marketplace-carousel > .product-card.featured {
  grid-column: auto;
}

.marketplace-section .product-card {
  background:
    linear-gradient(180deg, rgba(15, 23, 34, 0.96), rgba(8, 14, 22, 0.96));
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.marketplace-section .product-card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #08101a, #151f2d);
}

.marketplace-section .product-card-body {
  gap: 8px;
  padding: 12px;
}

.marketplace-section .product-card h2 {
  font-size: 16px;
  line-height: 1.18;
}

.marketplace-section .product-card p {
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.42;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.marketplace-section .product-meta {
  font-size: 12px;
}

.marketplace-section .product-card-footer {
  align-items: center;
}

.marketplace-section .product-card-actions {
  gap: 7px;
}

.marketplace-section .store-button.compact {
  min-height: 34px;
}

.marketplace-section .store-pills {
  display: none;
}

.marketplace-chip-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-chip-strip .store-pill {
  color: var(--accent);
}

.marketplace-developer-card {
  align-items: start;
  grid-template-columns: auto minmax(0, 1fr);
}

.marketplace-developer-card > a {
  grid-column: 2;
}

.marketplace-developer-card h3 {
  margin: 0;
}

.marketplace-email-cta {
  grid-template-columns: 96px minmax(0, 1fr) minmax(320px, 0.72fr);
  margin-top: 28px;
}

.marketplace-email-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), #ff3d00);
  border-radius: 999px;
  display: flex;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.marketplace-email-icon::before {
  border: 3px solid #fff;
  border-radius: 4px;
  content: "";
  height: 24px;
  position: relative;
  width: 36px;
}

.marketplace-email-form {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.marketplace-email-form input[type="email"] {
  background: rgba(2, 6, 12, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  color: var(--text);
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.marketplace-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 26px;
  margin-top: 20px;
  padding: 24px 8px 8px;
}

.marketplace-footer-brand {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.marketplace-footer-brand strong {
  color: #fff;
  font-size: 18px;
}

.marketplace-footer-brand strong::first-letter {
  color: var(--accent);
}

.marketplace-footer-brand small,
.marketplace-footer p {
  color: var(--muted);
}

.marketplace-footer nav {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.marketplace-footer h3 {
  font-size: 13px;
  margin: 0 0 8px;
}

.marketplace-footer a,
.marketplace-footer span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 6px;
}

.marketplace-trust-strip {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-top: 24px;
  padding: 18px 0 4px;
}

.marketplace-trust-strip span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.marketplace-trust-strip span::before {
  background: var(--success);
  border-radius: 999px;
  content: "";
  height: 7px;
  width: 7px;
}

.product-meta a {
  color: inherit;
  text-decoration: none;
}

.product-meta a:hover {
  color: var(--accent);
}

.store-state {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 280px;
  padding: 32px;
  text-align: center;
}

.store-state h2 {
  color: var(--text);
  margin: 0;
}

.store-state p {
  margin: 0;
  max-width: 540px;
}

.store-spinner {
  animation: store-spin 0.9s linear infinite;
  border: 3px solid rgba(244, 247, 251, 0.16);
  border-top-color: var(--accent);
  border-radius: 50%;
  height: 34px;
  width: 34px;
}

.store-error {
  color: var(--danger);
}

.product-detail {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.7fr);
  min-width: 0;
}

.product-detail.developer-detail {
  justify-self: start;
  max-width: 920px;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.product-detail-media {
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-detail-panel {
  align-self: start;
  background: rgba(15, 21, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 20px;
}

.product-page {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1500px;
  padding: 28px clamp(24px, 3vw, 48px) 34px;
}

.product-back-link {
  justify-self: start;
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
}

.product-hero-premium {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(560px, 1.42fr) minmax(280px, 0.78fr) minmax(330px, 0.58fr);
}

.product-media-column,
.product-content-main,
.product-content-side,
.product-side-grid {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.product-media-column {
  grid-template-columns: 86px minmax(0, 1fr);
}

.product-media-stage {
  align-items: center;
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 58% 28%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 34%, transparent), transparent 34%),
    radial-gradient(circle at 30% 16%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 24%, transparent), transparent 32%),
    linear-gradient(135deg, #08111c, #101b2a 58%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 24%, #101b2a));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  display: flex;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  justify-content: center;
  min-height: 418px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.product-media-stage img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-media-stage span {
  color: rgba(248, 250, 252, 0.74);
  font-weight: 850;
}

.product-play-overlay {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  border: 0;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  color: var(--storefront-brand-color, var(--accent));
  display: inline-flex;
  font-size: 26px;
  height: 70px;
  justify-content: center;
  left: 50%;
  padding-left: 4px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  z-index: 2;
  cursor: pointer;
}

.product-inline-video {
  grid-column: 1 / -1;
  margin-top: 14px;
  width: 100%;
}

.product-media-stage .product-inline-video {
  background: #020617;
  inset: 0;
  margin: 0;
  position: absolute;
  z-index: 4;
}

.product-media-controls {
  align-items: center;
  bottom: 14px;
  color: #fff;
  display: grid;
  font-size: 13px;
  gap: 12px;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  left: 18px;
  position: absolute;
  right: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.product-media-controls i {
  background: linear-gradient(90deg, var(--storefront-brand-color, var(--accent)) 0 28%, rgba(255, 255, 255, 0.38) 28%);
  border-radius: 999px;
  display: block;
  height: 4px;
}

.product-audio-hero {
  background: rgba(7, 16, 25, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  left: 14px;
  padding: 12px;
  position: absolute;
  right: 14px;
}

.product-audio-hero strong {
  grid-column: 1 / -1;
}

.product-audio-hero audio,
.product-audio-row audio {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.product-media-thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: 1;
  grid-row: 1;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 2px;
}

.product-media-thumbs::-webkit-scrollbar {
  width: 0;
}

/* older horizontal media rail fallback for non-product contexts */
.product-media-thumbs.horizontal {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.product-media-thumb {
  align-items: center;
  background: rgba(17, 28, 42, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 74px;
  height: 74px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.product-media-thumb.active {
  border-color: var(--storefront-brand-color, var(--accent));
  box-shadow:
    0 0 0 1px var(--storefront-brand-color, var(--accent)),
    0 14px 30px color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 14%, transparent);
}

.product-media-thumb b {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--storefront-brand-color, var(--accent));
  display: inline-flex;
  font-size: 12px;
  height: 30px;
  justify-content: center;
  left: 50%;
  padding-left: 2px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  z-index: 1;
}

.product-media-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-identity {
  align-self: start;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding-top: 28px;
}

.product-identity h1 {
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.04;
  margin: 0;
  overflow-wrap: anywhere;
}

.product-developer-kicker,
.product-developer-card-title,
.product-rating,
.product-platform-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-developer-kicker {
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  margin: 0;
  text-transform: uppercase;
}

.product-developer-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  text-transform: uppercase;
  width: 34px;
}

.product-developer-kicker b,
.product-developer-card-title b {
  align-items: center;
  background: var(--storefront-brand-color, var(--accent));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.product-subtitle {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}

.product-rating span {
  color: var(--storefront-brand-color, var(--accent));
  letter-spacing: 1px;
}

.product-rating strong,
.product-rating small {
  color: var(--soft);
  font-size: 14px;
}

.product-platform-badges span {
  align-items: center;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #dbe4ef;
  display: inline-flex;
  font-size: 22px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.product-buy-card {
  align-self: start;
  background: linear-gradient(180deg, rgba(16, 27, 39, 0.96), rgba(9, 19, 29, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  padding: 28px 26px;
  position: sticky;
  top: 96px;
}

.product-buy-card .product-price {
  font-size: 42px;
}

.product-buy-card .store-button {
  background: linear-gradient(135deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 58%, transparent);
  justify-content: center;
  width: 100%;
}

.checkout-email-notice,
.email-marketplace-notice p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.checkout-email-notice {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.product-price-stack {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-price-stack s {
  color: var(--muted);
  font-weight: 700;
}

.product-buy-card p,
.product-highlight p,
.product-page-card p,
.product-audio-row p,
.product-included-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.product-trust-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 13px;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
}

.product-trust-list li {
  color: var(--soft);
  font-size: 14px;
}

.product-trust-list li::before {
  color: #c9d4e2;
  content: "\25CE ";
  font-weight: 900;
}

.product-support-mini {
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.product-support-mini a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.product-section-tabs {
  background: transparent;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 0;
  position: sticky;
  top: 76px;
  z-index: 9;
}

.product-section-tabs a {
  color: var(--soft);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  padding: 20px 0 16px;
  position: relative;
}

.product-section-tabs a.active,
.product-section-tabs a:hover {
  color: var(--accent);
}

.product-section-tabs a.active::after,
.product-section-tabs a:hover::after {
  background: var(--accent);
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.product-section-tabs span {
  background: rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: var(--soft);
  display: inline-flex;
  font-size: 11px;
  margin-left: 4px;
  padding: 2px 6px;
}

.product-content-grid {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.product-page-card {
  background: linear-gradient(180deg, rgba(16, 27, 39, 0.92), rgba(10, 22, 34, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
}

.product-page-card h2 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.product-description {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.product-description-feature-row {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.78fr);
}

.product-description-feature-row .product-page-card {
  border-radius: 0;
}

.product-description-feature-row .product-page-card:first-child {
  border-radius: 8px 0 0 8px;
}

.product-description-feature-row .product-page-card + .product-page-card {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.product-highlight-grid,
.product-included-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-highlight {
  align-items: start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 13px;
}

.product-highlight > span {
  color: var(--accent);
  font-weight: 900;
}

.product-demos-card {
  gap: 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  padding: 0;
}

.product-demo-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px;
}

.product-demo-panel + .product-demo-panel {
  border-left: 1px solid var(--line);
}

.product-demo-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-demo-panel h2 {
  align-items: center;
  display: flex;
  gap: 8px;
}

.product-demo-panel h2 span {
  color: var(--storefront-brand-color, var(--accent));
}

.product-demo-list {
  display: grid;
  gap: 0;
}

.product-demo-list.scroll {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.product-audio-row {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 12px 0;
}

.product-audio-row.active {
  box-shadow: none;
}

.product-demo-play {
  align-items: center;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding-left: 2px;
  width: 44px;
}

[data-audio-state="playing"] .product-demo-play {
  background: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 34%, rgba(148, 163, 184, 0.16));
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 72%, transparent);
}

.product-wave {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  --wave-played: var(--storefront-brand-color, var(--accent));
  --wave-unplayed: rgba(148, 163, 184, 0.26);
  cursor: pointer;
  display: flex;
  gap: 2px;
  height: 26px;
  margin: 5px 0 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.product-wave i {
  background: linear-gradient(90deg, var(--wave-played) 0 var(--bar-fill, 0%), var(--wave-unplayed) var(--bar-fill, 0%) 100%);
  border-radius: 999px;
  display: block;
  flex: 1 1 2px;
  min-width: 2px;
}

.waveform-status {
  align-items: center;
  color: var(--muted);
  display: none;
  font-size: 12px;
  font-weight: 750;
  inset: 0;
  justify-content: center;
  line-height: 1.25;
  padding: 0 8px;
  position: absolute;
  text-align: center;
}

[data-waveform-state="loading"] i {
  animation: waveform-loading 1.2s ease-in-out infinite;
  background: var(--wave-unplayed);
  opacity: 0.58;
}

[data-waveform-state="error"] i,
[data-waveform-state="unavailable"] i {
  display: none;
}

[data-waveform-state="error"] .waveform-status,
[data-waveform-state="unavailable"] .waveform-status {
  display: flex;
}

@keyframes waveform-loading {
  0%, 100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.72;
  }
}

.product-video-list {
  display: grid;
  gap: 18px;
}

.product-video-row,
.product-link-list {
  display: grid;
  gap: 9px;
}

.product-video-row {
  align-items: center;
  grid-template-columns: 112px minmax(0, 1fr);
}

.product-video-row > span,
.product-video-row > button {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.product-video-row img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-video-row b {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  color: var(--storefront-brand-color, var(--accent));
  display: inline-flex;
  height: 34px;
  justify-content: center;
  left: 50%;
  padding-left: 2px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
}

.product-video-row .storefront-inline-video {
  grid-column: 1 / -1;
}

.product-video-row strong {
  display: grid;
  gap: 5px;
}

.product-included-grid article {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.product-video-row small,
.product-included-grid span {
  color: var(--muted);
  font-size: 12px;
}

.product-card-row {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.product-spec-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin: 0;
}

.product-spec-grid div {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 9px 0;
}

.product-spec-grid dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-spec-grid dd {
  color: var(--text);
  font-weight: 760;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.product-content-side {
  position: sticky;
  top: 140px;
}

.product-check-list {
  display: grid;
  gap: 13px;
}

.product-check-item {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
}

.product-check-item > span {
  align-items: center;
  background: linear-gradient(135deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  height: 20px;
  justify-content: center;
  margin-top: 1px;
  width: 20px;
}

.product-check-item p {
  color: var(--muted);
  margin-top: 4px;
}

.product-developer-card-title h2 {
  text-transform: none;
}

.product-trust-strip {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 18px;
}

.product-detail-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-detail-main *,
.product-detail-panel * {
  min-width: 0;
}

.product-detail-main p,
.product-detail-panel p,
.developer-muted,
.checkout-note,
.developer-empty-note,
.library-file span,
.developer-stats dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.checkout-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: none;
  font-size: 14px;
  line-height: 1.45;
  padding: 12px;
}

.checkout-note.is-visible {
  display: block;
}

.auth-overlay {
  align-items: center;
  background: rgba(3, 6, 10, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 40;
}

.auth-panel {
  background: #0f1520;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  max-width: 440px;
  padding: 22px;
  position: relative;
  width: min(100%, 440px);
}

.auth-panel h2 {
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.auth-copy,
.auth-fineprint,
.auth-message {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.auth-success {
  color: var(--success);
}

.auth-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-name-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form label {
  color: var(--soft);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

.auth-form input {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 44px;
  outline: none;
  padding: 0 12px;
}

.auth-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.account-recovery {
  margin: 0 auto;
  max-width: 560px;
}

.account-recovery-form {
  max-width: 420px;
  width: min(100%, 420px);
}

@media (max-width: 520px) {
  .auth-name-grid {
    grid-template-columns: 1fr;
  }

  .store-actions.center {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 320px);
  }
}

.auth-close {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
}

.library-card .product-card-body {
  gap: 14px;
}

.library-files {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.library-file {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 46px;
  min-width: 0;
  padding: 8px 10px;
}

.library-license-panel {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.library-update-panel {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.library-update-panel > div {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  display: grid;
  gap: 6px;
  padding: 10px;
  width: 100%;
}

.library-update-panel p,
.library-update-panel span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.library-license-panel summary {
  list-style: none;
}

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

.library-update-panel summary {
  list-style: none;
}

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

.library-license-key {
  width: min(100%, 420px);
}

.library-status {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.customer-account-tabs {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.customer-account-tabs::-webkit-scrollbar {
  display: none;
}

.customer-account-tabs a {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 12px;
}

.customer-account-tabs a:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--text);
}

.customer-account-section {
  display: grid;
  gap: 16px;
  margin: 0 0 34px;
  min-width: 0;
  scroll-margin-top: 96px;
}

.customer-section-head {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.customer-section-head h2 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}

.customer-section-head p {
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 0;
  max-width: 760px;
}

.customer-section-head > strong {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  font-size: 22px;
  justify-content: center;
  min-height: 46px;
  min-width: 58px;
  padding: 0 14px;
}

.customer-portal-grid,
.customer-pref-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  min-width: 0;
}

.customer-portal-card {
  align-content: start;
  display: grid;
  gap: 12px;
}

.customer-portal-card h3,
.customer-account-grid h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}

.customer-portal-card p,
.customer-account-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.customer-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.customer-receipt-panel {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.customer-receipt-panel summary {
  list-style: none;
}

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

.customer-receipt-panel > div {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 10px;
  width: 100%;
}

.customer-detail-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.customer-detail-list div {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  min-width: 0;
}

.customer-detail-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.customer-detail-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-license-key {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
}

.customer-license-key code {
  color: var(--text);
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.customer-account-empty {
  min-height: 220px;
}

.developer-shell {
  display: grid;
  gap: 0;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  min-width: 0;
}

.developer-sidebar {
  align-content: start;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-rows: auto auto 1fr;
  min-height: calc(100vh - 76px);
  min-width: 0;
  padding: 26px 22px;
  position: sticky;
  top: 76px;
}

.developer-sidebar-nav {
  display: grid;
  gap: 6px;
}

.developer-sidebar a:not(.developer-help-card) {
  align-items: center;
  border-radius: 8px;
  color: var(--soft);
  display: flex;
  gap: 10px;
  min-height: 42px;
  min-width: 0;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.developer-sidebar a:not(.developer-help-card):hover,
.developer-sidebar a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.developer-sidebar a.active {
  box-shadow: inset 3px 0 0 var(--accent);
  font-weight: 800;
}

.nav-icon {
  display: block;
  flex: 0 0 auto;
  height: 17px;
  max-height: 17px;
  max-width: 17px;
  width: 17px;
}

svg.nav-icon,
.developer-sidebar .nav-icon {
  height: 17px !important;
  width: 17px !important;
}

.developer-help-card .nav-icon {
  height: 22px !important;
  max-height: 22px;
  max-width: 22px;
  width: 22px !important;
}

.developer-help-card {
  align-items: center;
  align-self: end;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 16px;
}

.developer-help-card strong,
.developer-help-card small {
  display: block;
}

.developer-help-card small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.developer-main,
.developer-list,
.developer-form,
.developer-section {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.developer-main {
  align-content: start;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px) 56px;
  width: min(100%, 1480px);
}

.developer-shell:has([data-storefront-readiness]) .developer-main {
  max-width: 1080px;
  padding-left: clamp(28px, 3vw, 40px);
  padding-right: clamp(28px, 3vw, 40px);
  width: 100%;
}

.developer-section-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.developer-section-header h2 {
  font-size: 22px;
  line-height: 1.2;
}

.developer-hero h1 {
  font-size: clamp(32px, 3vw, 42px);
}

.developer-main > .store-hero {
  align-items: start;
  margin-bottom: 0;
  min-height: 0;
}

.developer-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.developer-toolbar span,
.developer-muted {
  color: var(--muted);
}

.developer-row {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.9fr) auto;
  padding: 16px;
}

.developer-row h2,
.developer-section h2,
.developer-form-wrap h1 {
  margin: 0;
}

.email-sender-row {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
}

.email-local-control {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.email-local-control input {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.email-local-control span {
  align-items: center;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  display: flex;
  padding: 0 12px;
  white-space: nowrap;
}

.developer-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.developer-stats.stacked {
  grid-template-columns: 1fr 1fr;
}

.developer-stats div,
.developer-metrics div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.developer-stats dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.developer-stats dd {
  color: var(--text);
  font-weight: 800;
  margin: 4px 0 0;
}

.developer-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.developer-actions.wide {
  align-items: stretch;
  flex-direction: column;
}

/* === Shared developer status styles ===
 * Owners: public/store/modules/developer/dashboard.js, public/store/modules/developer/products.js,
 * public/store/modules/developer/licensing.js, public/store/modules/storefront/index.js
 */

.status-pill {
  background: var(--success-soft);
  border: 1px solid color-mix(in srgb, var(--success) 32%, transparent);
  border-radius: 999px;
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

.status-pill.muted {
  background: rgba(159, 176, 200, 0.12);
  border-color: var(--line);
  color: var(--muted);
}

.status-pill.danger {
  background: rgba(255, 138, 154, 0.12);
  border-color: rgba(255, 138, 154, 0.28);
  color: var(--danger);
}

/* === Dashboard domain styles ===
 * Owner: public/store/modules/developer/dashboard.js
 * Notes: launch center and business command center styles stay in their existing cascade order.
 */

.developer-launch-center {
  background: rgba(15, 21, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.developer-launch-progress {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.developer-launch-progress > div {
  background: rgba(8, 13, 21, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.developer-launch-progress span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  display: block;
  height: 100%;
}

.developer-next-action {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px;
}

.developer-next-action p {
  color: var(--muted);
  line-height: 1.5;
  margin: 6px 0 0;
}

.developer-launch-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.developer-launch-grid div {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-height: 108px;
  padding: 10px;
}

.developer-launch-grid dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.developer-launch-grid dd {
  color: var(--text);
  font-weight: 800;
  margin: 0;
  text-transform: capitalize;
}

.developer-launch-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.developer-launch-list li {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 54px;
  padding: 10px 12px;
}

.developer-launch-list span:not(.status-pill) {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
  text-transform: capitalize;
}

.developer-empty-note {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 6px;
  padding: 14px;
}

.developer-empty-note p {
  margin: 0;
}

.developer-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.developer-metrics strong {
  display: block;
  font-size: 28px;
}

.developer-metrics span {
  color: var(--muted);
}

/* === Dashboard business command center styles ===
 * Owner: public/store/modules/developer/dashboard.js
 */

.command-center,
.command-panel {
  display: grid;
  gap: 14px;
}

.dashboard-section {
  gap: 20px;
  margin-top: 24px;
}

.dashboard-section + .dashboard-section {
  margin-top: 34px;
}

.command-kpi-grid {
  display: grid;
  gap: 12px;
}

.command-kpi-row {
  display: grid;
  gap: 12px;
}

.command-kpi-row-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.command-kpi-row-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.command-kpi {
  background: rgba(8, 13, 21, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 14px;
}

.command-icon {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.command-icon svg {
  display: block;
  height: 17px;
  width: 17px;
}

.command-kpi.unavailable {
  border-style: dashed;
}

.command-kpi span,
.command-money-list dt,
.command-usage-list dt,
.command-product-table [role="columnheader"] {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.command-kpi strong {
  align-self: end;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.command-kpi small,
.command-product-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.command-two-column {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-bottom: 18px;
}

.command-money-list,
.command-usage-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.command-money-list div,
.command-usage-list div {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 10px 12px;
}

.command-money-list dd,
.command-usage-list dd {
  color: var(--text);
  font-weight: 850;
  margin: 0;
  text-align: right;
}

.command-money-list span {
  color: var(--muted);
  font-size: 12px;
  grid-column: 1 / -1;
}

.command-usage-grid,
.command-attention-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.command-activity-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.command-activity-list li {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 12px;
}

.dashboard-attention-item,
.dashboard-all-clear {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 12px;
}

.dashboard-all-clear {
  border-color: color-mix(in srgb, var(--success) 22%, var(--line));
}

.command-activity-list span,
.command-activity-list time {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.command-activity-list time {
  text-align: right;
}

.command-product-table {
  display: grid;
  gap: 7px;
  overflow-x: auto;
}

.command-product-table [role="row"] {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(170px, 1.35fr) repeat(5, minmax(86px, 0.75fr)) minmax(110px, 0.9fr);
  min-width: 820px;
  padding: 10px;
}

.command-product-table [role="row"]:first-child {
  background: transparent;
  border-color: transparent;
  min-height: auto;
  padding-bottom: 0;
}

.command-product-table [role="cell"] {
  color: var(--soft);
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.command-product-table strong[role="cell"] {
  color: var(--text);
}

.dashboard-operations-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
}

.dashboard-operations-grid > .command-panel {
  align-content: start;
  grid-template-rows: 86px auto;
  min-width: 0;
}

.dashboard-operations-grid > .command-panel > .developer-section-header {
  align-items: flex-start;
  min-height: 86px;
}

.command-product-list {
  display: grid;
  gap: 10px;
}

.command-product-item {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 10px;
}

.command-product-item strong,
.command-product-item span,
.command-product-item small {
  display: block;
}

.command-product-item span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.command-product-thumb {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  overflow: hidden;
  width: 46px;
}

.command-product-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* === Developer product catalog styles ===
 * Owner: public/store/modules/developer/products.js
 */

.developer-catalog-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  min-width: min(100%, 520px);
}

.developer-catalog-summary div {
  background: rgba(8, 13, 21, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 12px;
}

.developer-catalog-summary dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.developer-catalog-summary dd {
  color: var(--text);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.developer-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.developer-catalog-filters a {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}

.developer-catalog-filters a.active,
.developer-catalog-filters a:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.developer-catalog-filters span {
  color: var(--muted);
  font-size: 12px;
}

.developer-catalog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.developer-catalog-card {
  background: rgba(15, 21, 32, 0.92);
  border: 1px solid rgba(159, 176, 200, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100%;
  overflow: hidden;
}

.developer-catalog-art {
  align-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 12%, transparent)),
    var(--surface-2);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.developer-catalog-art img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.developer-catalog-art.placeholder::after {
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  content: "";
  height: 72%;
  position: absolute;
  width: 72%;
}

.developer-catalog-art.placeholder span {
  color: var(--accent);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 950;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.developer-catalog-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.developer-catalog-status,
.developer-catalog-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.developer-catalog-body h2 {
  font-size: 22px;
  line-height: 1.12;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.developer-catalog-body p:not(.store-eyebrow) {
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 0;
}

.developer-catalog-price {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.developer-catalog-price div {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 10px;
}

.developer-catalog-price .sale {
  border-color: var(--accent-line);
}

.developer-catalog-price span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.developer-catalog-price strong {
  color: var(--text);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.developer-catalog-issues {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.developer-catalog-issues span {
  background: rgba(159, 176, 200, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  padding: 6px 8px;
}

.developer-catalog-issues span:not([data-product-issue="none"]) {
  background: rgba(255, 184, 107, 0.12);
  border-color: rgba(255, 184, 107, 0.3);
  color: #ffd7a8;
}

.developer-catalog-actions {
  border-top: 1px solid var(--line);
  padding: 14px 16px 16px;
}

.developer-catalog-actions .store-button:first-child {
  min-width: 92px;
}

.developer-catalog-listing-links {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  width: 100%;
}

.developer-catalog-listing-links .store-link:last-child {
  margin-left: auto;
  text-align: right;
}

.developer-form-wrap {
  display: grid;
  gap: 16px;
}

.developer-form {
  background: rgba(15, 21, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.developer-form.compact-form {
  padding: 14px;
}

.developer-form label,
.developer-check,
.tools-product-grid label {
  color: var(--soft);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

.developer-form input,
.developer-form select,
.developer-form textarea,
.tools-product-grid select {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  padding: 11px 12px;
  width: 100%;
}

.developer-form textarea {
  resize: vertical;
}

.developer-form input:focus,
.developer-form select:focus,
.developer-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.developer-form-grid,
.developer-file-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.developer-form-section,
.developer-onboarding,
.developer-setup-panel {
  display: grid;
  gap: 14px;
}

.developer-key-list {
  display: grid;
  gap: 10px;
}

.developer-key-row {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.developer-key-row p,
.developer-key-row small {
  color: var(--muted);
  margin: 4px 0 0;
}

.developer-code-block {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  overflow-x: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.developer-code-block.compact {
  font-size: 12px;
  padding: 10px;
}

/* === Licensing domain styles ===
 * Owner: public/store/modules/developer/licensing.js
 */

.licensing-framework-shell,
.licensing-workspace {
  display: grid;
  gap: 14px;
}

.licensing-framework-selector {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.licensing-framework-selector.tools-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.licensing-framework-selector.api-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.licensing-framework-choice {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: flex;
  justify-content: center;
  min-height: 76px;
  padding: 16px;
  text-decoration: none;
}

.licensing-framework-choice.active,
.licensing-framework-choice:hover {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.licensing-framework-choice strong {
  font-size: 18px;
}

.licensing-credential-history {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.licensing-credential-history summary {
  cursor: pointer;
  font-weight: 800;
  list-style-position: inside;
  padding: 14px 16px;
}

.licensing-credential-list {
  border-top: 1px solid var(--line);
  display: grid;
}

.licensing-credential-row {
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1.4fr) minmax(150px, 1fr) minmax(130px, 0.9fr) minmax(110px, 0.8fr) auto;
  padding: 12px 16px;
}

.licensing-credential-row:first-child {
  border-top: 0;
}

.licensing-credential-row p {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.tools-hub-card {
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  min-height: 178px;
  text-align: left;
}

.tools-hub-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.tools-hub-card .store-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  justify-content: center;
  margin-top: 8px;
  width: 100%;
}

.licensing-workspace-header,
.licensing-card {
  background: rgba(15, 21, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.licensing-workspace-header h2,
.licensing-card h3 {
  margin: 0;
}

.licensing-card {
  display: grid;
  gap: 14px;
}

.licensing-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.licensing-step-list {
  counter-reset: licensing-steps;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.licensing-step-list li {
  align-items: start;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 36px minmax(0, 1fr);
  padding: 12px;
}

.licensing-step-list span {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.licensing-step-list p,
.licensing-card p {
  margin: 0;
}

.licensing-code-panel {
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
}

.licensing-code-card .developer-code-block {
  padding: 10px 12px;
}

.licensing-code-card .developer-section-header {
  align-items: center;
}

.licensing-details-list {
  display: grid;
  gap: 8px;
}

.licensing-details-list details {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.licensing-details-list summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.licensing-details-list p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
}

.api-doc-page {
  gap: 16px;
}

.api-doc-info-grid,
.api-recipe-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.api-doc-info-card,
.api-recipe-card,
.api-endpoint-card,
.api-example-grid article {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.api-doc-info-card h3,
.api-recipe-card strong {
  display: block;
  margin: 0 0 8px;
}

.api-doc-info-card p,
.api-recipe-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.api-copy-row {
  align-items: center;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(90px, auto) minmax(0, 1fr) auto;
  margin-top: 12px;
  padding: 8px;
}

.api-copy-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.api-copy-row code,
.api-endpoint-summary code {
  overflow-wrap: anywhere;
}

.api-endpoint-summary code,
.api-copy-row code,
.api-doc-field-list code,
.api-inline-token {
  background: var(--api-token-bg);
  border: 1px solid var(--api-token-border);
  border-radius: 6px;
  color: var(--api-token-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  padding: 3px 6px;
}

.api-endpoint-summary code:hover,
.api-copy-row code:hover,
.api-doc-field-list code:hover,
.api-inline-token:hover,
.api-endpoint-summary code:focus-visible,
.api-copy-row code:focus-visible,
.api-doc-field-list code:focus-visible,
.api-inline-token:focus-visible {
  background: rgba(255, 138, 34, 0.22);
  border-color: var(--accent-2);
  outline: 2px solid rgba(255, 138, 34, 0.22);
  outline-offset: 2px;
}

.api-endpoint-summary code,
.api-copy-row code {
  font-size: 13px;
}

.api-copy-row code {
  min-width: 0;
}

.api-inline-token {
  display: inline-block;
  margin: 0 2px;
  vertical-align: baseline;
}

.api-build-demo {
  display: grid;
  gap: 14px;
}

.api-build-demo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
}

.api-build-demo-grid > article,
.api-build-demo-code,
.api-demo-panel {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.api-build-demo h4,
.api-build-demo-code strong {
  color: var(--text);
  margin: 0 0 10px;
}

.api-build-demo-list {
  color: var(--muted);
  display: grid;
  gap: 9px;
  line-height: 1.5;
  margin: 0;
  padding-left: 18px;
}

.api-build-demo-list li::marker {
  color: var(--accent-2);
  font-weight: 900;
}

.api-demo-panel {
  align-content: start;
  display: grid;
  gap: 12px;
}

.api-demo-panel-top {
  align-items: center;
  display: flex;
  gap: 10px;
}

.api-demo-panel-top strong,
.api-demo-product-card strong {
  color: var(--text);
}

.api-demo-panel-top small,
.api-demo-product-card small,
.api-demo-panel p,
.api-demo-panel-footer span {
  color: var(--muted);
}

.api-demo-logo {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 8px;
  display: inline-block;
  height: 38px;
  width: 38px;
}

.api-demo-panel label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  text-transform: uppercase;
}

.api-demo-panel input {
  background: var(--input-bg);
  border: 1px solid var(--api-token-border);
  border-radius: 8px;
  color: var(--api-token-text);
  font-weight: 900;
  min-height: 40px;
  padding: 9px 10px;
}

.api-demo-button-row,
.api-demo-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.api-demo-button-row button,
.api-demo-panel-footer button {
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
  min-height: 34px;
  padding: 8px 10px;
}

.api-demo-product-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.api-demo-product-card {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
}

.api-demo-product-card span {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.24), rgba(255, 138, 34, 0.28));
  border: 1px solid var(--line);
  border-radius: 7px;
  display: block;
  min-height: 56px;
}

.api-demo-product-card b {
  color: var(--api-token-text);
}

.api-build-demo-code > div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.api-doc-filter-bar {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(130px, 1fr)) auto;
}

.api-doc-filter-bar label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  text-transform: uppercase;
}

.api-doc-filter-bar input,
.api-doc-filter-bar select {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 40px;
  padding: 9px 10px;
}

.api-endpoint-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.api-endpoint-list {
  display: grid;
  gap: 10px;
}

.api-endpoint-card {
  padding: 0;
  overflow: hidden;
}

.api-endpoint-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style-position: inside;
  padding: 14px;
}

.api-endpoint-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.api-endpoint-summary strong {
  color: var(--text);
}

.api-method-badge,
.api-status-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.api-method-badge {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

.method-post {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.method-patch {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.method-delete {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.api-status-badge {
  background: rgba(161, 255, 0, 0.12);
  border: 1px solid rgba(161, 255, 0, 0.32);
  color: var(--accent);
}

.status-planned {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.32);
  color: var(--muted);
}

.status-deprecated {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
  color: #fbbf24;
}

.status-internal {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fca5a5;
}

.api-endpoint-body {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 14px;
}

.api-endpoint-body > p,
.api-dev-notes p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.api-endpoint-meta,
.api-copy-grid,
.api-field-grid,
.api-example-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.api-endpoint-meta span {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 4px;
  padding: 10px;
}

.api-endpoint-meta strong,
.api-field-grid h4,
.api-example-grid strong,
.api-dev-notes strong {
  color: var(--text);
}

.api-field-grid > div,
.api-response-fields,
.api-dev-notes {
  background: rgba(15, 21, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.api-response-fields {
  border-color: var(--api-token-border);
}

.api-response-fields h4 {
  color: var(--text);
  margin: 0;
}

.api-doc-field-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.api-doc-field-list li {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1fr);
}

.api-doc-field-list span {
  color: var(--muted);
}

.api-example-grid {
  grid-template-columns: 1fr;
}

.api-example-grid article > div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.licensing-flow-diagram {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(9, auto);
  justify-content: start;
  overflow-x: auto;
}

.licensing-flow-diagram span {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  font-weight: 800;
  padding: 10px 12px;
  white-space: nowrap;
}

.licensing-flow-diagram b {
  color: var(--accent);
}

.developer-check-grid,
.developer-empty-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.developer-check.inline {
  align-content: center;
  min-height: 44px;
}

.developer-setup-steps {
  counter-reset: setup;
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.developer-setup-steps li {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 62px;
  padding: 10px;
}

.developer-setup-steps li > span {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.developer-setup-steps strong {
  display: block;
}

.developer-setup-steps p {
  color: var(--muted);
  line-height: 1.45;
  margin: 4px 0 0;
}

.developer-setup-steps.compact li {
  min-height: 48px;
}

.developer-upload-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-file-upload-panels {
  display: grid;
  gap: 14px;
}

.product-file-upload-panel {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.product-file-upload-panel[hidden] {
  display: none;
}

.product-file-upload-panel.is-dragging {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.product-file-upload-panel h3 {
  margin: 0 0 6px;
}

.product-link-upload-list {
  display: grid;
  gap: 10px;
}

.product-link-upload-row {
  align-items: end;
  background: rgba(15, 21, 32, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, 0.7fr) minmax(220px, 1fr) auto;
  min-width: 0;
  padding: 10px;
}

.product-link-upload-row label {
  min-width: 0;
}

.product-link-upload-row input {
  overflow-wrap: anywhere;
}

.product-upload-widget {
  bottom: 18px;
  position: fixed;
  right: 18px;
  width: min(380px, calc(100vw - 36px));
  z-index: 80;
}

.product-upload-indicator {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--text);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
  width: 100%;
}

.product-upload-indicator strong {
  color: var(--accent);
}

.product-upload-drawer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  margin-top: 8px;
  max-height: min(480px, calc(100vh - 120px));
  overflow: auto;
  padding: 14px;
}

.product-upload-drawer[hidden] {
  display: none;
}

.product-upload-drawer-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-upload-drawer-header h2 {
  font-size: 16px;
  margin: 0;
}

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

.product-upload-job {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.product-upload-job strong,
.product-upload-job span,
.product-upload-job p {
  display: block;
}

.product-upload-job span,
.product-upload-job p {
  color: var(--muted);
  font-size: 12px;
  margin: 3px 0 0;
}

.product-upload-job[data-state="failed"] {
  border-color: rgba(239, 68, 68, 0.55);
}

.product-upload-job progress {
  accent-color: var(--accent);
  height: 8px;
  width: 100%;
}

.upload-progress {
  background: rgba(8, 13, 21, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  padding: 10px 12px;
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress > div {
  align-items: center;
  color: var(--soft);
  display: flex;
  font-size: 12px;
  font-weight: 760;
  justify-content: space-between;
  gap: 12px;
}

.upload-progress progress {
  accent-color: var(--accent);
  height: 10px;
  width: 100%;
}

.upload-progress[data-state="complete"] progress {
  accent-color: #22c55e;
}

.upload-progress[data-state="error"] progress {
  accent-color: #ef4444;
}

.wizard-builder-stack {
  display: grid;
  gap: 16px;
}

.wizard-builder-card {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.wizard-builder-header {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.wizard-builder-header h3 {
  margin: 0 0 6px;
}

.wizard-builder-header p,
.wizard-helper-text {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.wizard-builder-header > span {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  padding: 6px 10px;
  white-space: nowrap;
}

.wizard-artwork-uploader {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
}

.wizard-artwork-preview,
.wizard-media-thumb {
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(8, 13, 21, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.wizard-artwork-preview {
  aspect-ratio: 1;
  min-height: 180px;
}

.wizard-artwork-preview img,
.wizard-media-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wizard-artwork-controls {
  display: grid;
  gap: 12px;
}

.wizard-upload-control {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-file-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.wizard-upload-control span {
  color: var(--muted);
  font-size: 13px;
}

.wizard-media-list {
  display: grid;
  gap: 10px;
}

.wizard-media-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 14px;
}

.wizard-media-card,
.wizard-asset-card {
  align-items: center;
  background: rgba(2, 8, 14, 0.44);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  padding: 10px;
}

.wizard-asset-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.wizard-media-card.is-featured {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.wizard-media-thumb {
  aspect-ratio: 1;
  font-size: 12px;
  font-weight: 850;
}

.wizard-media-card-body {
  min-width: 0;
}

.wizard-media-card-title {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.wizard-media-card-title span,
.wizard-asset-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.wizard-media-card p,
.wizard-asset-card p {
  color: var(--muted);
  margin: 4px 0 0;
}

.wizard-media-meta,
.wizard-media-actions,
.wizard-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-media-meta span {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
  padding: 4px 8px;
}

.wizard-add-drawer {
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}

.wizard-add-drawer summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 850;
  list-style-position: inside;
  padding: 12px 14px;
}

.wizard-media-editor {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding: 14px;
}

.wizard-featured-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizard-featured-option {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: left;
}

.wizard-featured-option span {
  color: var(--muted);
  font-size: 12px;
  text-transform: capitalize;
}

.wizard-featured-option.selected,
.wizard-featured-option:hover {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.wizard-featured-preview {
  color: var(--muted);
}

.developer-check {
  align-items: center;
  display: inline-flex;
  grid-template-columns: auto 1fr;
}

.developer-check input {
  width: auto;
}

.developer-files {
  margin-top: 4px;
}

.developer-wizard-wrap {
  display: grid;
  gap: 20px;
}

.developer-wizard-hero {
  align-items: end;
  background: linear-gradient(135deg, rgba(15, 21, 32, 0.94), rgba(10, 18, 28, 0.86));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.28fr);
  padding: clamp(18px, 3vw, 28px);
}

.developer-wizard-hero h1 {
  font-size: clamp(32px, 5vw, 62px);
  line-height: 0.98;
  margin: 0;
}

.developer-wizard-hero p {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 0;
  max-width: 760px;
}

.developer-wizard-time {
  background: rgba(223, 252, 247, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.developer-wizard-time strong {
  display: block;
  font-size: 34px;
}

.developer-wizard-time span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.developer-wizard {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 230px minmax(0, 1fr);
}

.developer-wizard-sidebar,
.developer-wizard-card {
  background: rgba(15, 21, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.developer-wizard-sidebar {
  padding: 16px;
  position: sticky;
  top: 92px;
}

.developer-wizard-sidebar ol {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wizard-progress-step {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px;
}

.wizard-progress-step button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 32px minmax(0, 1fr);
  padding: 0;
  text-align: left;
  width: 100%;
}

.wizard-progress-step button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.wizard-progress-step span {
  align-items: center;
  background: rgba(159, 176, 200, 0.12);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: inline-flex;
  font-weight: 850;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.wizard-progress-step strong,
.wizard-progress-step small {
  display: block;
}

.wizard-progress-step small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.wizard-progress-step.current {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.wizard-progress-step.current span,
.wizard-progress-step.complete span {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.wizard-progress-step.in-progress span,
.wizard-progress-step.missing-required span,
.wizard-progress-step.saved-not-published span {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.38);
  color: #fbbf24;
}

.wizard-progress-step.optional span {
  background: rgba(148, 163, 184, 0.08);
  color: var(--muted);
}

.wizard-progress-step.published span {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.36);
  color: #86efac;
}

.developer-wizard-card {
  min-height: 560px;
  padding: clamp(18px, 3vw, 30px);
}

.developer-wizard label {
  color: var(--soft);
  display: grid;
  font-size: 13px;
  font-weight: 760;
  gap: 7px;
}

.developer-wizard input,
.developer-wizard select,
.developer-wizard textarea {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 44px;
  outline: none;
  padding: 11px 12px;
  width: 100%;
}

.developer-wizard textarea {
  resize: vertical;
}

.developer-wizard input:focus,
.developer-wizard select:focus,
.developer-wizard textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.product-ai-tools {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
}

.product-ai-tools-header {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.product-ai-tools-header h2 {
  font-size: 24px;
  line-height: 1.12;
  margin: 0;
}

.product-ai-tools-header p {
  color: var(--muted);
  line-height: 1.5;
  margin: 6px 0 0;
}

.product-ai-tools-header span,
.product-ai-results span {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  padding: 5px 8px;
  white-space: nowrap;
}

.product-ai-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-ai-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  padding: 8px 12px;
}

.product-ai-tabs button.active {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.product-ai-panel {
  display: grid;
  gap: 12px;
}

.product-ai-panel[hidden] {
  display: none;
}

.product-ai-link-check {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.product-ai-link-check summary {
  color: var(--soft);
  cursor: pointer;
  font-weight: 850;
}

.product-ai-link-check .developer-form-grid {
  margin-top: 12px;
}

.product-ai-results {
  display: grid;
  gap: 12px;
}

.product-ai-result-card {
  background: rgba(15, 21, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-ai-result-card h3 {
  font-size: 18px;
  margin: 0;
}

.product-ai-result-card p,
.product-ai-result-card li {
  color: var(--muted);
  line-height: 1.5;
}

.product-ai-result-card img {
  border-radius: 8px;
  max-height: 260px;
  object-fit: cover;
  width: 100%;
}

.product-ai-apply-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-ai-apply-grid label {
  align-items: start;
  background: rgba(8, 13, 21, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 10px;
}

.product-ai-apply-grid input {
  margin-top: 3px;
}

.developer-wizard-step {
  display: none;
  gap: 20px;
}

.developer-wizard-step.is-active {
  display: grid;
}

.developer-wizard-step-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  margin: 0;
}

.developer-wizard-step-header p:not(.store-eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 0;
  max-width: 760px;
}

.developer-wizard-step-body,
.developer-choice-grid,
.developer-wizard-info-grid,
.developer-wizard-summary,
.developer-channel-grid {
  display: grid;
  gap: 14px;
}

.developer-choice-grid,
.developer-wizard-info-grid,
.developer-wizard-summary,
.developer-channel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.developer-choice,
.developer-wizard-info-grid article,
.developer-wizard-note,
.developer-wizard-summary article,
.developer-channel-grid article {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  display: grid;
  gap: 7px;
  padding: 14px;
}

.developer-choice {
  cursor: pointer;
  grid-template-columns: auto minmax(0, 1fr);
}

.developer-choice.featured {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.developer-choice input {
  margin-top: 4px;
}

.developer-choice strong,
.developer-choice span {
  grid-column: 2;
}

.developer-choice span,
.developer-wizard-note p,
.developer-wizard-info-grid p,
.developer-wizard-summary p,
.developer-channel-grid p,
.developer-wizard-subsection p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.developer-wizard-path {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.developer-wizard-path span {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 850;
  padding: 12px;
  text-align: center;
}

.developer-wizard-subsection {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding-top: 16px;
}

.developer-wizard-subsection h3,
.developer-product-preview h3 {
  font-size: 24px;
  line-height: 1.18;
  margin: 0;
}

.access-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.integration-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.developer-preview-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.developer-product-preview {
  background: linear-gradient(145deg, rgba(8, 13, 21, 0.96), rgba(20, 30, 44, 0.9));
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 16px;
}

.developer-product-preview p {
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 14px;
}

.developer-preview-art {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 15%, transparent)), var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  display: flex;
  font-size: 42px;
  font-weight: 900;
  justify-content: center;
  overflow: hidden;
}

.developer-preview-art img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.developer-choice.disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.developer-wizard-note {
  border-color: var(--accent-line);
}

.developer-wizard-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 4px;
}

.storefront-readiness,
.storefront-products,
.storefront-preview {
  margin-top: 4px;
}

.developer-main > .store-hero.developer-hero {
  padding-bottom: 4px;
}

.developer-main > .store-hero.developer-hero h1 {
  max-width: 760px;
}

.developer-main > .store-hero.developer-hero p {
  max-width: 860px;
}

.storefront-readiness,
.storefront-products,
.storefront-preview,
.storefront-form .developer-form-section,
.email-sending-section,
.email-dns-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 78%, transparent), color-mix(in srgb, var(--surface) 84%, transparent)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
}

.storefront-readiness .developer-launch-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-readiness .developer-empty-grid {
  margin-top: 12px;
}

.storefront-readiness .developer-launch-grid div {
  align-items: center;
  background: rgba(8, 13, 21, 0.58);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 86px;
  padding: 12px;
}

.storefront-icon {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.storefront-icon svg {
  display: block;
  height: 22px;
  width: 22px;
}

.storefront-readiness dt,
.email-sender-row label span,
.email-dns-section .developer-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.storefront-readiness dd {
  font-size: 15px;
  margin: 3px 0 6px;
}

.storefront-readiness .status-pill {
  justify-self: start;
}

.email-domain-row {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 0.55fr) auto;
}

.email-sending-section > .developer-muted,
.email-dns-section > .developer-muted {
  max-width: 760px;
}

.email-sender-list {
  gap: 0;
  margin-top: 6px;
}

.email-sender-row {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(210px, 1fr) minmax(160px, 0.65fr) minmax(190px, 0.85fr) auto auto;
  padding: 14px 0;
}

.email-sender-row:first-child {
  border-top: 0;
}

.email-sender-purpose {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
}

.email-sender-purpose .storefront-icon {
  height: 36px;
  width: 36px;
}

.email-sender-purpose .storefront-icon svg {
  height: 18px;
  width: 18px;
}

.email-sender-purpose strong,
.email-sender-purpose p,
.email-domain-lock span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-sender-row label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.email-domain-lock {
  align-items: center;
  color: var(--soft);
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
}

.email-domain-lock .storefront-icon {
  background: transparent;
  border: 0;
  color: var(--muted);
  height: 18px;
  width: 18px;
}

.email-domain-lock .storefront-icon svg {
  height: 16px;
  width: 16px;
}

.email-row-chevron {
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.email-dns-section .developer-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}

.email-dns-section .developer-table {
  min-width: 780px;
  width: 100%;
}

.email-dns-section .developer-table th,
.email-dns-section .developer-table td {
  padding: 11px 12px;
}

.email-dns-section code {
  display: block;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dns-copy-cell {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.dns-copy-value {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.dns-copy-value:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.dns-copy-button {
  min-height: 28px;
  padding: 6px 10px;
}

.storefront-form {
  margin-top: 0;
}

.storefront-form .storefront-brand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-brand-grid textarea {
  min-height: 84px;
}

.storefront-brand-grid input[readonly] {
  color: var(--soft);
}

.storefront-product-row {
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr) minmax(150px, auto);
}

.storefront-visibility-guide {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storefront-visibility-guide span {
  background: rgba(8, 13, 21, 0.48);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  min-width: 0;
  padding: 10px;
}

.storefront-visibility-guide strong {
  color: var(--text);
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.storefront-product-controls {
  display: grid;
  gap: 10px;
  grid-template-columns: 0.9fr 0.5fr 1fr;
}

.storefront-product-controls label {
  color: var(--soft);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  text-transform: uppercase;
}

.storefront-product-controls label:nth-child(4),
.storefront-product-controls label:nth-child(5) {
  grid-column: span 3;
}

.storefront-product-controls input,
.storefront-product-controls select {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 40px;
  outline: none;
  padding: 9px 10px;
  width: 100%;
}

.storefront-product-controls input:focus,
.storefront-product-controls select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.storefront-preview-panel {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 16px;
}

.storefront-featured-product {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255, 106, 26, 0.12), rgba(14, 26, 39, 0.78)),
    var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  margin: 18px 0;
  overflow: hidden;
}

.storefront-featured-product.compact {
  margin-bottom: 4px;
}

.storefront-featured-media {
  align-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 16%, transparent)),
    var(--surface-2);
  display: flex;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
}

.storefront-featured-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.storefront-featured-media span {
  color: var(--accent);
  font-size: 34px;
  font-weight: 950;
}

.storefront-featured-copy {
  align-content: center;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 22px 22px 22px 0;
}

.storefront-featured-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}

.storefront-featured-copy p:not(.store-eyebrow) {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.storefront-featured-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.storefront-preview-panel h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.storefront-preview-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
}

.storefront-logo {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.store-button.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.storefront-logo-preview {
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  min-height: 74px;
  padding: 8px;
}

.storefront-logo-preview .storefront-logo {
  height: 56px;
  width: 56px;
}

.storefront-banner-preview {
  align-items: center;
  background: rgba(15, 21, 32, 0.68);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  min-height: 120px;
  overflow: hidden;
}

.storefront-banner-preview img {
  aspect-ratio: 16 / 6;
  display: block;
  object-fit: cover;
  width: 100%;
}

.store-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 300px));
}

.storefront-public-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.storefront-template-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 78%, transparent), color-mix(in srgb, var(--surface) 84%, transparent)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

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

.storefront-layout-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.storefront-template-choice {
  align-items: center;
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr) 42px;
  min-height: 86px;
  padding: 10px;
  position: relative;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.storefront-template-choice:hover {
  background: color-mix(in srgb, var(--surface) 86%, var(--accent) 6%);
  border-color: color-mix(in srgb, var(--accent-line) 55%, var(--line));
  transform: translateY(-1px);
}

.storefront-template-choice:focus-within {
  outline: 2px solid color-mix(in srgb, var(--accent) 72%, transparent);
  outline-offset: 2px;
}

.storefront-template-choice.selected {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border-color: var(--accent-line);
  box-shadow: inset 0 0 0 1px var(--accent-line), 0 12px 28px rgba(0, 0, 0, 0.16);
}

.storefront-template-choice input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.storefront-choice-check {
  align-self: start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  height: 16px;
  justify-content: center;
  margin-top: 2px;
  width: 16px;
}

.storefront-template-choice.selected .storefront-choice-check {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.storefront-template-choice.selected .storefront-choice-check::after {
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 7px;
  margin-top: 2px;
  transform: rotate(45deg);
  width: 4px;
}

.storefront-template-choice strong,
.storefront-template-choice small {
  display: block;
}

.storefront-template-choice small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 4px;
}

.storefront-choice-copy {
  min-width: 0;
}

.storefront-design-workspace {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  margin-top: 18px;
}

.storefront-design-picker {
  background: color-mix(in srgb, var(--surface-2) 58%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.storefront-design-tabs {
  background: color-mix(in srgb, var(--surface) 78%, var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 5px;
}

.storefront-design-tabs button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  gap: 7px;
  justify-content: center;
  min-height: 36px;
  padding: 7px 9px;
}

.storefront-design-tabs button span {
  align-items: center;
  background: color-mix(in srgb, var(--surface-2) 70%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.storefront-design-tabs button.active {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--text);
}

.storefront-design-tabs button.active span {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.storefront-design-panel {
  display: grid;
  gap: 12px;
}

.storefront-design-panel[hidden] {
  display: none;
}

.storefront-design-panel-heading h3 {
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0;
  margin: 0;
}

.storefront-ai-builder {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
}

.storefront-ai-header,
.storefront-ai-result-header {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.storefront-ai-header h3,
.storefront-ai-result-header h4 {
  margin: 0;
}

.storefront-ai-header span,
.storefront-ai-result-header span {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  padding: 5px 8px;
  white-space: nowrap;
}

.storefront-ai-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.storefront-ai-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  padding: 8px 12px;
}

.storefront-ai-tabs button.active {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.storefront-ai-panel {
  display: grid;
  gap: 12px;
}

.storefront-ai-panel[hidden] {
  display: none;
}

.storefront-ai-results {
  display: grid;
  gap: 12px;
}

.storefront-ai-result-card {
  background: rgba(15, 21, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.storefront-ai-result-card img {
  border-radius: 8px;
  max-height: 260px;
  object-fit: cover;
  width: 100%;
}

.storefront-ai-result-card p,
.storefront-ai-result-card li {
  color: var(--muted);
  line-height: 1.5;
}

.storefront-ai-apply-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-ai-apply-grid label {
  align-items: start;
  background: rgba(8, 13, 21, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 10px;
}

.storefront-ai-apply-grid input {
  margin-top: 3px;
}

.operational-ai-panel {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.operational-ai-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operational-ai-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  padding: 8px 12px;
}

.operational-ai-tabs button.active {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.operational-ai-tool,
.operational-ai-results {
  display: grid;
  gap: 12px;
}

.operational-ai-tool[hidden],
.operational-ai-results[hidden] {
  display: none;
}

.operational-ai-result-card {
  background: rgba(15, 21, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.operational-ai-result-header {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.operational-ai-result-header h3 {
  font-size: 18px;
  margin: 0;
}

.operational-ai-result-header p,
.operational-ai-result-card li,
.operational-ai-result-card p {
  color: var(--muted);
  line-height: 1.5;
}

.operational-ai-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.operational-ai-badges span {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  padding: 5px 8px;
  white-space: nowrap;
}

.operational-ai-result-card textarea {
  background: rgba(8, 13, 21, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

.operational-ai-sections {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.operational-ai-sections > div {
  background: rgba(8, 13, 21, 0.56);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 10px;
}

.operational-ai-sections strong {
  color: var(--text);
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.operational-ai-sections ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.storefront-template-detail-stack {
  min-height: 150px;
}

.storefront-template-detail {
  background: color-mix(in srgb, var(--surface) 86%, var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.storefront-template-detail[hidden] {
  display: none;
}

.storefront-template-detail h4 {
  color: var(--text);
  font-size: 18px;
  letter-spacing: 0;
  margin: 0;
}

.storefront-template-detail p {
  color: var(--soft);
  margin: 0;
}

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

.storefront-template-detail dl div {
  background: color-mix(in srgb, var(--surface-2) 74%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: 8px;
  padding: 10px;
}

.storefront-template-detail dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.storefront-template-detail dd {
  color: var(--text);
  font-weight: 800;
  margin: 4px 0 0;
}

.storefront-design-preview-panel {
  align-self: start;
  display: grid;
  gap: 10px;
  position: sticky;
  top: 18px;
}

.storefront-design-preview-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.storefront-design-preview-header h3 {
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0;
  margin: 0;
}

.storefront-preview-toggle {
  background: color-mix(in srgb, var(--surface) 80%, var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.storefront-preview-toggle button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  min-height: 30px;
  padding: 6px 10px;
}

.storefront-preview-toggle button.active {
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--text);
}

.storefront-device-frame {
  background: #070b12;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  max-height: 680px;
  overflow: hidden;
}

.storefront-browser-bar {
  align-items: center;
  background: color-mix(in srgb, var(--surface-2) 80%, #020617);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
}

.storefront-browser-bar span {
  background: var(--muted);
  border-radius: 999px;
  height: 8px;
  opacity: 0.56;
  width: 8px;
}

.storefront-browser-bar b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  margin-left: 8px;
  text-transform: uppercase;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] {
  margin-inline: auto;
  max-width: 430px;
  width: 100%;
}

@media (max-width: 1080px) {
  .storefront-design-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-design-preview-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .storefront-design-picker,
  .storefront-template-section {
    padding: 12px;
  }

  .storefront-design-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-design-tabs button {
    justify-content: flex-start;
  }

  .storefront-template-choice,
  .storefront-style-choice,
  .storefront-nav-choice {
    grid-template-columns: 18px minmax(0, 1fr) 42px;
  }

  .storefront-style-choice .storefront-choice-preview,
  .storefront-nav-choice .nav-mode-mini {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .storefront-template-detail dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-design-preview-header {
    align-items: stretch;
    flex-direction: column;
  }

  .storefront-preview-toggle {
    justify-content: stretch;
    width: 100%;
  }

  .storefront-preview-toggle button {
    flex: 1;
  }
}

.storefront-template-preview {
  background: color-mix(in srgb, var(--bg) 62%, var(--surface));
  border: 0;
  border-radius: 0 0 8px 8px;
  margin: 0;
  max-height: 606px;
  min-height: 360px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  position: relative;
  scrollbar-gutter: stable;
  --preview-scale: 1;
  --preview-scaled-width: 1280px;
  --preview-virtual-width: 1280px;
}

.storefront-template-preview [data-template-preview][hidden] {
  display: none;
}

.storefront-preview-scale-spacer {
  margin-inline: auto;
  min-height: 1px;
  position: relative;
  width: var(--preview-scaled-width);
}

.storefront-preview-scale-inner {
  left: 0;
  position: absolute;
  top: 0;
  transform: scale(var(--preview-scale));
  transform-origin: top left;
  width: var(--preview-virtual-width);
}

.storefront-template-preview .storefront-public-site {
  margin: 0;
  max-width: none;
  pointer-events: auto;
  width: 100%;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-template-preview {
  --preview-virtual-width: 390px;
  min-height: 560px;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template] {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  width: 100%;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template="spotlight"],
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template="showcase"],
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template="flow"] {
  margin: 0;
  padding: 0;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template] *,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template] *::before,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template] *::after {
  box-sizing: border-box;
  min-width: 0;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template] :is(h1, h2, h3, p, a, strong, small, span) {
  overflow-wrap: anywhere;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-nav-mode="leftRail"] {
  display: block;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-nav-mode="leftRail"] > :not(.storefront-left-rail) {
  grid-column: auto;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-left-rail {
  border-right: 0;
  min-height: 0;
  position: relative;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-floating-pill {
  border-radius: 8px;
  margin-top: 10px;
  position: relative;
  top: 0;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-site-nav,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-category-bar,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-site-brand,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .spotlight-section-header,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .spotlight-hero-purchase,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .spotlight-about-card,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .catalog-masthead,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .rack-hero,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .editorial-opener,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .retail-shelf-hero,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .deal-hero,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .editorial-product-spread,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .rack-detail,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .catalog-feature,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .rack-module,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .retail-shelf,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .retail-included > div,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-quick-access > div,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-stats,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-category-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-product-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-usecase-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-video-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-trust,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-footer-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-about-card,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-content-split,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-template-hero.product-company,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-catalog-row,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-site-metrics,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-catalog-actions,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .store-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .store-grid.compact {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-site-links,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-site-account,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-utility-strip,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-site-actions,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .spotlight-hero-actions,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-section-header,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-product-footer {
  align-items: stretch;
  flex-direction: column;
  justify-content: start;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-site-actions,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .spotlight-hero-actions,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-product-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template] .store-button,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .storefront-public-site[data-storefront-template] .store-link {
  justify-content: center;
  max-width: 100%;
  text-align: center;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .spotlight-hero {
  min-height: 0;
  padding: 28px 18px;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .spotlight-hero h1,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-hero h1,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .catalog-masthead h1,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .rack-hero h1,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .editorial-opener h1,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .retail-shelf-hero h1,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .deal-hero h1 {
  font-size: 34px;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .catalog-product-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .retail-product-grid,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .rack-list {
  padding: 0 20px 24px;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .catalog-deals,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .deal-contents,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .deal-checkout,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .editorial-story,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .editorial-more,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .retail-included,
.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .editorial-product-spread {
  margin: 0 20px 24px;
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-quick-tile {
  grid-template-columns: 54px minmax(0, 1fr);
}

.storefront-device-frame[data-storefront-preview-mode-state="mobile"] .showcase-quick-tile .showcase-price {
  grid-column: 2;
}

.storefront-template-preview .storefront-public-hero {
  min-height: 220px;
  padding: 22px;
}

.storefront-template-preview .storefront-site-nav,
.storefront-template-preview .storefront-content-band,
.storefront-template-preview .storefront-content-split {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.storefront-public-site {
  --wave-played: var(--storefront-brand-color, var(--accent));
  display: grid;
  gap: 24px;
}

.storefront-site-nav {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
}

.storefront-site-nav a {
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.storefront-public-site :is(.store-link, .store-eyebrow, .storefront-icon, .showcase-price, .catalog-price, .rack-price, .editorial-price, .retail-price, .deal-price, .spotlight-price) {
  color: var(--storefront-brand-color, var(--accent));
}

.storefront-public-site .storefront-feature-list li::before {
  color: var(--storefront-brand-color, var(--accent));
}

.storefront-public-site :is(.storefront-site-nav a:hover, .storefront-site-links a:hover, .storefront-site-links a[aria-current="page"], .showcase-usecase-grid span, .showcase-category-card span, .flow-path-card span, .flow-stage-card span) {
  color: var(--storefront-brand-color, var(--accent));
}

.storefront-public-site :is(.store-button, .showcase-video-thumb b, .spotlight-video-thumb b, .spotlight-play-button, .spotlight-demo-play) {
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 48%, transparent);
}

.storefront-public-site :is(.showcase-video-thumb b, .spotlight-video-thumb b) {
  color: var(--storefront-brand-color, var(--accent));
}

.storefront-public-site :is(.store-pill, .spotlight-badge, .catalog-chip-bar a, .flow-filter-chips button.active) {
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 34%, transparent);
}

.storefront-site-logo {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.storefront-template-hero {
  align-items: end;
  margin-bottom: 0;
}

.storefront-template-hero.solo-creator {
  min-height: 320px;
}

.storefront-template-hero.product-company {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
}

.storefront-template-hero.label-catalog {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.storefront-site-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.storefront-site-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.storefront-site-metrics div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.storefront-site-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.storefront-site-metrics dd {
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  margin: 5px 0 0;
}

.storefront-company-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.storefront-content-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.storefront-content-band h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}

.storefront-content-band p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
}

.storefront-content-split {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.storefront-catalog-list {
  display: grid;
  gap: 10px;
}

.storefront-catalog-row {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 12px;
}

.storefront-catalog-row h2 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.storefront-catalog-row p:not(.store-eyebrow) {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.storefront-catalog-media {
  align-items: center;
  aspect-ratio: 1;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.storefront-catalog-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.storefront-catalog-media span {
  color: var(--storefront-brand-color, var(--accent));
  font-weight: 900;
}

.storefront-catalog-actions {
  align-items: end;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.storefront-public-site[data-storefront-template="spotlight"] {
  background:
    radial-gradient(circle at 58% 6%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 24%, transparent), transparent 28%),
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 20%, transparent), transparent 30%),
    linear-gradient(180deg, #02050a 0%, #06101a 56%, #03070d 100%);
  border: 0;
  color: #f8fafc;
  gap: 16px;
  margin: 0;
  min-height: 100vh;
  padding: 0;
  width: 100%;
}

#store-app > .storefront-public-site[data-storefront-template="spotlight"] {
  max-width: none;
  padding: 0;
  width: 100%;
}

.storefront-public-site[data-storefront-template="spotlight"] .storefront-site-nav {
  background: rgba(2, 6, 12, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1fr) minmax(260px, auto);
  padding: 12px 16px;
}

.storefront-site-brand,
.storefront-site-links,
.storefront-site-account {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.storefront-site-brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-site-links {
  justify-content: center;
}

.storefront-site-account {
  justify-content: end;
}

.storefront-public-site[data-storefront-template="spotlight"] .storefront-site-links a,
.storefront-login-link {
  color: #dbe6f4;
  font-size: 13px;
}

.storefront-public-site[data-storefront-template="spotlight"] .store-button {
  background: linear-gradient(135deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 48%, transparent);
  color: #fff;
}

.storefront-public-site[data-storefront-template="spotlight"] .store-button.secondary {
  background: rgba(8, 14, 24, 0.62);
  border-color: rgba(203, 213, 225, 0.28);
}

.spotlight-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 7, 14, 0.94), rgba(3, 7, 14, 0.74) 48%, rgba(3, 7, 14, 0.9)),
    radial-gradient(circle at 47% 44%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 36%, transparent), transparent 28%);
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  min-height: clamp(620px, calc(100vh - 90px), 920px);
  overflow: hidden;
  padding: clamp(44px, 6vw, 88px) clamp(28px, 7vw, 120px);
  position: relative;
}

.spotlight-hero-glow {
  background:
    radial-gradient(circle, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 34%, transparent), transparent 58%),
    radial-gradient(circle, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 24%, transparent), transparent 62%);
  filter: blur(22px);
  inset: 12% 34% 6% 24%;
  opacity: 0.82;
  position: absolute;
}

.spotlight-hero-copy,
.spotlight-hero-card {
  position: relative;
  z-index: 1;
}

.spotlight-badge {
  border: 1px solid color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 64%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 72%, #fff);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 22px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.spotlight-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.96;
  margin: 0;
  max-width: 680px;
}

.spotlight-hero-copy > p:not(.spotlight-badge) {
  color: #bdc8d7;
  font-size: 17px;
  line-height: 1.72;
  margin: 22px 0 0;
  max-width: 560px;
}

.spotlight-mini-trust {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.spotlight-mini-trust span {
  align-items: center;
  color: #d7dee8;
  display: grid;
  font-size: 12px;
  font-weight: 750;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr);
}

.spotlight-mini-trust .storefront-icon,
.spotlight-highlight-card .storefront-icon,
.spotlight-trust .storefront-icon {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 78%, #fff);
}

.spotlight-hero-card {
  background: rgba(4, 9, 17, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.spotlight-hero-media {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #050b14;
  display: flex;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.spotlight-hero-media img,
.spotlight-product-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.spotlight-hero-media.placeholder span {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 70%, #fff);
  font-size: 52px;
  font-weight: 950;
}

.spotlight-play-button,
.spotlight-demo-play {
  align-items: center;
  background: rgba(2, 6, 12, 0.72);
  border: 1px solid color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 62%, #fff);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0;
  justify-content: center;
}

.spotlight-play-button {
  height: 84px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
}

.spotlight-play-button::before,
.spotlight-demo-play::before {
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
  border-top: 10px solid transparent;
  content: "";
  margin-left: 4px;
}

.spotlight-hero-product-copy {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.spotlight-hero-product-copy h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 6px;
}

.spotlight-hero-product-copy p,
.spotlight-feature-list,
.spotlight-trust p,
.spotlight-about-card p,
.spotlight-library-card p,
.spotlight-footer p,
.spotlight-product-body p,
.spotlight-video-card span {
  color: #aebace;
}

.spotlight-feature-list {
  display: grid;
  gap: 9px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.spotlight-feature-list li {
  font-size: 13px;
  line-height: 1.45;
  padding-left: 20px;
  position: relative;
}

.spotlight-feature-list li::before {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 78%, #fff);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.spotlight-hero-purchase {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
}

.spotlight-price {
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 950;
  line-height: 1;
}

.spotlight-price strong {
  font-size: inherit;
}

.spotlight-price s {
  color: #7e8a9f;
  font-size: 16px;
  margin-top: 8px;
}

.spotlight-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.spotlight-section,
.spotlight-about-library,
.spotlight-footer {
  background: rgba(5, 13, 23, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
}

.spotlight-section-header {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.spotlight-section h2,
.spotlight-about-library h2,
.spotlight-footer h3 {
  color: #fff;
  margin: 0;
}

.spotlight-demo-tabs {
  display: flex;
  gap: 22px;
  margin: -4px 0 18px;
}

.spotlight-demo-tabs span {
  color: #c6d0df;
  font-size: 13px;
  font-weight: 800;
}

.spotlight-demo-list {
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.spotlight-demo-row {
  align-items: center;
  background: rgba(4, 10, 18, 0.52);
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
  display: grid;
  gap: 14px;
  grid-template-columns: 38px minmax(120px, 0.8fr) minmax(80px, 0.35fr) minmax(180px, 1.45fr) minmax(90px, 0.45fr) minmax(130px, 0.7fr);
  min-width: 0;
  padding: 10px 14px;
}

.spotlight-demo-row:last-child {
  border-bottom: 0;
}

.spotlight-demo-play {
  align-items: center;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.spotlight-demo-play::before {
  border-bottom-width: 7px;
  border-left-width: 11px;
  border-top-width: 7px;
}

.spotlight-demo-play span {
  font-size: 0;
}

.spotlight-demo-play span::before {
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  content: "";
  display: block;
  margin-left: 2px;
}

[data-audio-state="playing"] .spotlight-demo-play {
  background: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 34%, rgba(148, 163, 184, 0.14));
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 74%, transparent);
}

[data-audio-state="playing"] .spotlight-demo-play span::before {
  border: 0;
  box-shadow: 6px 0 0 currentColor;
  height: 13px;
  margin-left: -6px;
  width: 4px;
}

.spotlight-demo-row strong {
  color: #fff;
  font-size: 13px;
}

.spotlight-waveform {
  align-items: center;
  background: transparent;
  border: 0;
  --wave-played: var(--storefront-brand-color, var(--accent));
  --wave-unplayed: #6f7f94;
  cursor: pointer;
  display: flex;
  gap: 2px;
  height: 38px;
  opacity: 0.76;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.spotlight-waveform i {
  background: linear-gradient(90deg, var(--wave-played) 0 var(--bar-fill, 0%), var(--wave-unplayed) var(--bar-fill, 0%) 100%);
  border-radius: 999px;
  display: block;
  flex: 1 1 0;
  min-width: 2px;
}

.spotlight-demo-row time {
  color: #dbe6f4;
  font-size: 13px;
}

.spotlight-demo-row audio {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.spotlight-demo-product {
  align-items: center;
  color: #cbd5e1;
  display: grid;
  gap: 9px;
  grid-template-columns: 32px minmax(0, 1fr);
  min-width: 0;
}

.spotlight-demo-product img,
.spotlight-demo-product span {
  background: #101826;
  border-radius: 4px;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.spotlight-demo-product span {
  align-items: center;
  color: var(--storefront-brand-color, var(--accent));
  display: flex;
  font-size: 11px;
  font-weight: 900;
  justify-content: center;
}

.spotlight-demo-more summary {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 76%, #fff);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  padding: 13px 14px;
}

.spotlight-video-grid,
.spotlight-highlight-grid,
.spotlight-trust-grid,
.spotlight-product-grid {
  display: grid;
  gap: 14px;
}

.spotlight-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.storefront-inline-video {
  aspect-ratio: 16 / 9;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: block;
  margin-top: 12px;
  overflow: hidden;
}

.storefront-inline-video[hidden] {
  display: none;
}

.storefront-inline-video iframe,
.storefront-inline-video video {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.spotlight-video-card,
.spotlight-highlight-card,
.spotlight-trust article,
.spotlight-library-card {
  background: rgba(8, 16, 27, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  min-width: 0;
  padding: 16px;
}

.spotlight-video-thumb {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #070e19;
  border: 0;
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.spotlight-video-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.spotlight-video-thumb b {
  align-items: center;
  background: rgba(2, 6, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 11px;
  height: 46px;
  justify-content: center;
  position: absolute;
  width: 46px;
}

.spotlight-highlight-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.spotlight-highlight-card {
  border-left-color: rgba(148, 163, 184, 0.22);
  display: grid;
  gap: 12px;
}

.spotlight-highlight-card h3,
.spotlight-trust h3,
.spotlight-product-body h3 {
  color: #fff;
  font-size: 15px;
  line-height: 1.28;
  margin: 0;
}

.spotlight-highlight-card p,
.spotlight-trust p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.spotlight-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.spotlight-product-card {
  background: rgba(8, 16, 27, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.spotlight-product-media {
  align-items: center;
  aspect-ratio: 1;
  background: #07101c;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.spotlight-product-media span {
  color: var(--storefront-brand-color, var(--accent));
  font-weight: 950;
}

.spotlight-product-body {
  display: grid;
  gap: 6px;
  padding: 12px;
  position: relative;
}

.spotlight-demo-badge {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 76%, #fff);
  font-size: 11px;
  font-weight: 900;
}

.spotlight-card-price {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 76%, #fff);
  display: inline-flex;
  gap: 7px;
  font-weight: 950;
}

.spotlight-card-price s {
  color: #728095;
  font-weight: 700;
}

.spotlight-trust h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 4px 0 24px;
}

.spotlight-trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.spotlight-trust article {
  background: transparent;
  border-color: transparent;
  display: grid;
  gap: 10px;
  padding: 0;
}

.spotlight-about-library {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.spotlight-about-card {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 140px minmax(0, 1fr);
}

.spotlight-about-card img {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.spotlight-about-card > .store-brand-mark {
  border-radius: 8px;
  height: 140px;
  width: 140px;
}

.spotlight-library-card {
  align-content: center;
  display: grid;
  gap: 12px;
}

.spotlight-footer {
  background: rgba(2, 6, 12, 0.88);
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  border-bottom: 0;
}

.spotlight-footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(190px, 1.2fr) repeat(4, minmax(110px, 0.72fr));
}

.spotlight-footer-brand,
.spotlight-footer-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.spotlight-footer a {
  color: #c8d2e1;
  font-size: 13px;
}

.spotlight-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #8b98ac;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 12px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 18px;
}

.storefront-public-site[data-storefront-template="showcase"] {
  background:
    radial-gradient(circle at 64% 6%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 18%, transparent), transparent 28%),
    radial-gradient(circle at 10% 28%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 12%, transparent), transparent 26%),
    linear-gradient(180deg, #03070c 0%, #07121d 46%, #02050a 100%);
  border: 1px solid rgba(148, 163, 184, 0.11);
  color: #f8fafc;
  gap: 18px;
  margin: -14px;
  min-height: 100vh;
  padding: clamp(16px, 3vw, 34px);
}

#store-app > .storefront-public-site[data-storefront-template="showcase"] {
  max-width: none;
  padding: clamp(16px, 3vw, 34px);
  width: 100%;
}

.storefront-public-site[data-storefront-template="showcase"] .storefront-site-nav {
  background: rgba(2, 6, 12, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(190px, 0.8fr) minmax(280px, 1fr) minmax(260px, auto);
  padding: 12px 16px;
}

.storefront-public-site[data-storefront-template="showcase"] .storefront-site-links a,
.storefront-public-site[data-storefront-template="showcase"] .storefront-login-link {
  color: #dbe6f4;
  font-size: 13px;
}

.storefront-public-site[data-storefront-template="showcase"] .store-button {
  background: linear-gradient(135deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 42%, transparent);
  color: #fff;
}

.storefront-public-site[data-storefront-template="showcase"] .store-button.secondary {
  background: rgba(7, 14, 24, 0.82);
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.showcase-hero {
  align-items: center;
  display: grid;
  gap: clamp(22px, 4vw, 54px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
  min-width: 0;
  padding: clamp(12px, 2vw, 18px) 0 4px;
}

.showcase-hero-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.showcase-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin: 0;
  overflow-wrap: anywhere;
}

.showcase-hero-copy > p:not(.store-eyebrow) {
  color: #b7c3d4;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

.showcase-search {
  display: grid;
  gap: 7px;
  max-width: 520px;
}

.showcase-search span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.showcase-search input {
  background: rgba(3, 8, 14, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: #f8fafc;
  min-height: 48px;
  outline: none;
  padding: 0 15px;
  width: 100%;
}

.showcase-search input:focus {
  border-color: var(--storefront-brand-color, var(--accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 18%, transparent);
}

.showcase-panel,
.showcase-section,
.showcase-guidance,
.showcase-demo-center,
.showcase-trust,
.showcase-about-card,
.showcase-library-card,
.showcase-footer {
  background: rgba(7, 14, 24, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  min-width: 0;
}

.showcase-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.showcase-visual {
  align-items: center;
  aspect-ratio: 16 / 5.2;
  background:
    radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 40%, transparent), transparent 20%),
    linear-gradient(135deg, #07101c, #111d2d 52%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 24%, #111d2d));
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.showcase-visual img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showcase-visual span {
  color: rgba(248, 250, 252, 0.8);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 950;
}

.showcase-stats {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.showcase-stats div {
  align-items: center;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 16px 10px;
  text-align: center;
}

.showcase-stats div:last-child {
  border-right: 0;
}

.showcase-stats .storefront-icon,
.showcase-category-card .storefront-icon,
.showcase-usecase-grid .storefront-icon,
.showcase-trust .storefront-icon {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 80%, #fff);
}

.showcase-stats dt {
  color: #9aa9bc;
  font-size: 11px;
  font-weight: 850;
  order: 3;
}

.showcase-stats dd {
  color: #f8fafc;
  font-size: 17px;
  font-weight: 950;
  margin: 0;
  order: 2;
}

.showcase-quick-access {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.showcase-quick-access > strong {
  font-size: 12px;
}

.showcase-quick-access > div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-quick-tile {
  align-items: center;
  background: rgba(2, 6, 12, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 8px;
}

.showcase-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  color: var(--storefront-brand-color, var(--accent));
  display: grid;
  font-weight: 950;
  object-fit: cover;
  place-items: center;
  width: 56px;
}

.showcase-thumb.placeholder {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.showcase-quick-tile b,
.showcase-quick-tile small,
.showcase-product-body h2,
.showcase-product-body span,
.showcase-product-body p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-quick-tile b,
.showcase-product-body h2 {
  color: #fff;
  white-space: nowrap;
}

.showcase-quick-tile small,
.showcase-product-body span,
.showcase-product-body p,
.showcase-demo-center p,
.showcase-guidance p,
.showcase-about-card p,
.showcase-library-card p,
.showcase-footer p {
  color: #9aa9bc;
}

.showcase-price {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 76%, #fff);
  font-weight: 950;
  white-space: nowrap;
}

.showcase-price s {
  color: #728095;
  font-weight: 700;
  margin-left: 6px;
}

.showcase-section {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.showcase-section-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.showcase-section-header .store-eyebrow {
  margin: 0;
}

.showcase-category-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.showcase-category-card {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 20%, transparent), transparent 42%),
    rgba(2, 6, 12, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 14px;
}

.showcase-category-card h2,
.showcase-guidance h2,
.showcase-demo-center h2,
.showcase-about-card h2,
.showcase-library-card h2 {
  margin: 0;
}

.showcase-category-card p {
  color: #aab6c7;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.showcase-category-card span {
  color: var(--storefront-brand-color, var(--accent));
  font-size: 13px;
  font-weight: 850;
  margin-top: auto;
}

.showcase-product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.showcase-product-card {
  background: rgba(2, 6, 12, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.showcase-product-media {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #08111d, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 18%, #162436));
  color: var(--storefront-brand-color, var(--accent));
  display: flex;
  font-weight: 950;
  justify-content: center;
  overflow: hidden;
}

.showcase-product-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showcase-product-body {
  display: grid;
  flex: 1;
  gap: 8px;
  padding: 14px;
}

.showcase-badge {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 78%, #fff);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-product-body h2 {
  font-size: 18px;
}

.showcase-product-body p {
  line-height: 1.55;
  margin: 0;
  white-space: normal;
}

.showcase-product-footer {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: auto;
}

.showcase-split {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.showcase-guidance,
.showcase-demo-center {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.showcase-usecase-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-usecase-grid a {
  background: rgba(2, 6, 12, 0.46);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 13px;
}

.showcase-usecase-grid small {
  color: #9aa9bc;
  line-height: 1.35;
}

.showcase-usecase-grid span {
  color: var(--storefront-brand-color, var(--accent));
  font-size: 13px;
  font-weight: 850;
  margin-top: auto;
}

.showcase-demo-center {
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
}

.showcase-video-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-video-tile {
  display: grid;
  gap: 6px;
}

.showcase-video-tile.primary {
  grid-column: 1 / -1;
}

.showcase-video-thumb {
  align-items: center;
  aspect-ratio: 16 / 7.6;
  background: #07101c;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.showcase-video-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showcase-video-thumb b {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--storefront-brand-color, var(--accent));
  display: inline-flex;
  font-size: 0;
  height: 42px;
  justify-content: center;
  position: absolute;
  width: 42px;
}

.showcase-video-thumb b::before {
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  border-top: 8px solid transparent;
  content: "";
  margin-left: 3px;
}

.showcase-video-tile strong {
  color: #f8fafc;
  font-size: 13px;
}

.showcase-video-tile span {
  color: #9aa9bc;
  font-size: 12px;
}

.showcase-trust {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 18px;
}

.showcase-trust article {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
}

.showcase-trust strong,
.showcase-trust small {
  display: block;
}

.showcase-trust small {
  color: #9aa9bc;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 4px;
}

.showcase-about-library {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.showcase-about-card {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 18px;
}

.showcase-about-card img,
.showcase-about-card > .store-brand-mark {
  aspect-ratio: 1;
  border-radius: 8px;
  height: auto;
  object-fit: cover;
  width: 160px;
}

.showcase-library-card {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.75fr) minmax(150px, 1fr);
  padding: 18px;
}

.showcase-library-visual {
  background: rgba(2, 6, 12, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.showcase-library-visual span {
  background: linear-gradient(90deg, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 44%, transparent), color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 16%, rgba(148, 163, 184, 0.12)));
  border-radius: 999px;
  display: block;
  height: 12px;
}

.showcase-library-visual span:nth-child(2) {
  width: 74%;
}

.showcase-library-visual span:nth-child(3) {
  width: 52%;
}

.showcase-footer {
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  padding: 22px;
}

.showcase-footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(190px, 1.2fr) repeat(4, minmax(110px, 0.72fr));
}

.showcase-footer-brand,
.showcase-footer-grid > div {
  align-content: start;
  display: grid;
  gap: 8px;
}

.showcase-footer a {
  color: #c8d2e1;
  font-size: 13px;
}

.showcase-footer h3 {
  margin: 0;
}

[data-showcase-hidden="true"] {
  display: none !important;
}

.storefront-public-site[data-storefront-template="flow"] {
  background:
    radial-gradient(circle at 67% 3%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 34%, transparent), transparent 27%),
    radial-gradient(circle at 8% 22%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 18%, transparent), transparent 26%),
    #03070d;
  color: #f8fbff;
  overflow-x: hidden;
}

#store-app > .storefront-public-site[data-storefront-template="flow"] {
  max-width: none;
  padding: clamp(16px, 3vw, 34px);
  width: 100%;
}

.storefront-public-site[data-storefront-template="flow"] .storefront-site-nav {
  background: rgba(3, 7, 13, 0.86);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
}

.flow-nav .storefront-site-brand {
  grid-template-columns: auto minmax(0, 1fr);
}

.flow-nav .storefront-site-brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.flow-nav .storefront-site-brand small {
  color: #94a3b8;
  display: block;
  font-size: 10px;
  font-weight: 800;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.flow-hero,
.flow-section,
.flow-trust,
.flow-about-library,
.flow-footer {
  margin: 0 auto;
  max-width: none;
  width: 100%;
}

.flow-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  min-height: 620px;
  overflow: hidden;
  padding: 78px 18px clamp(58px, 6vw, 88px);
  position: relative;
}

.flow-hero-visual {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  inset: 0 -4vw auto;
  height: 100%;
  min-height: 420px;
  opacity: 0.92;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.flow-hero-visual img {
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  width: 100%;
}

.flow-hero-visual.placeholder {
  background:
    radial-gradient(circle at 62% 46%, transparent 0 58px, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 88%, transparent) 60px 63px, transparent 66px),
    linear-gradient(130deg, rgba(8, 13, 24, 0.1), color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 32%, rgba(2, 6, 23, 0.92)) 52%, rgba(2, 6, 23, 0.92)),
    linear-gradient(180deg, #09111d, #020617);
}

.flow-hero-visual::after {
  background:
    linear-gradient(90deg, #03070d 0%, rgba(3, 7, 13, 0.68) 37%, rgba(3, 7, 13, 0.18) 70%),
    linear-gradient(180deg, rgba(3, 7, 13, 0), #03070d 92%);
  content: "";
  inset: 0;
  position: absolute;
}

.flow-hero-content,
.flow-hero-panel,
.flow-goal-grid {
  position: relative;
  z-index: 1;
}

.flow-hero-content {
  align-self: start;
  max-width: 540px;
}

.flow-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 66px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 18px;
}

.flow-hero h1 span {
  background: linear-gradient(90deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flow-hero p {
  color: #c5cede;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.flow-search {
  align-items: center;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  display: grid;
  min-height: 56px;
  padding: 0 16px;
}

.flow-search span {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.flow-search input {
  background: transparent;
  border: 0;
  color: #f8fafc;
  font: inherit;
  outline: 0;
  width: 100%;
}

.flow-search:focus-within {
  border-color: var(--storefront-brand-color, var(--accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 18%, transparent);
}

.flow-hero-panel {
  align-self: center;
  justify-self: end;
  max-width: 460px;
  width: 100%;
}

.flow-stats {
  background: rgba(5, 10, 22, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
}

.flow-stats div {
  align-items: center;
  border-left: 1px solid rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 7px;
  justify-items: center;
  min-height: 106px;
  padding: 14px;
  text-align: center;
}

.flow-stats div:first-child {
  border-left: 0;
}

.flow-stats .storefront-icon,
.flow-goal-card .storefront-icon,
.flow-trust .storefront-icon {
  color: var(--storefront-brand-color, var(--accent));
}

.flow-stats dt {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.flow-stats dd {
  color: #aab7c8;
  font-size: 12px;
  margin: 0;
}

.flow-goal-grid {
  align-self: end;
  display: grid;
  gap: 16px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.flow-goal-card,
.flow-path-card,
.flow-stage-card,
.flow-setup-card,
.flow-finder-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  min-width: 0;
}

.flow-goal-card {
  color: #f8fafc;
  display: grid;
  gap: 10px;
  min-height: 172px;
  padding: 22px;
  text-decoration: none;
}

.flow-goal-card strong {
  font-size: 16px;
  line-height: 1.2;
}

.flow-goal-card small,
.flow-path-card p,
.flow-stage-card p,
.flow-setup-card small {
  color: #aab7c8;
  line-height: 1.55;
}

.flow-goal-card > span:last-child,
.flow-section-header .store-link,
.flow-stage-card .store-link {
  color: var(--storefront-brand-color, var(--accent));
  font-weight: 900;
}

.flow-section {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  margin-top: 16px;
  padding: 18px;
}

.flow-section-header {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
}

.flow-section-header h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
  margin: 3px 0 0;
}

.flow-path-grid,
.flow-stage-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-path-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.flow-path-card.purple {
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 42%, transparent);
}

.flow-path-card.orange {
  border-color: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 44%, transparent);
}

.flow-path-card.teal {
  border-color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 24%, var(--storefront-accent, var(--accent-2)));
}

.flow-path-card h3,
.flow-stage-card h3 {
  color: #fff;
  margin: 0;
}

.flow-path-card p,
.flow-stage-card p {
  margin: 0;
}

.flow-path-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  position: relative;
}

.flow-path-product {
  color: #f8fafc;
  display: grid;
  gap: 8px;
  min-width: 0;
  position: relative;
  text-decoration: none;
}

.flow-path-step {
  align-items: center;
  background: #050a16;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--storefront-brand-color, var(--accent));
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.flow-product-thumb,
.flow-mini-thumb,
.flow-finder-thumb {
  aspect-ratio: 1;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 7px;
  color: var(--storefront-brand-color, var(--accent));
  display: block;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

.flow-product-thumb.placeholder,
.flow-mini-thumb.placeholder,
.flow-finder-thumb.placeholder {
  align-items: center;
  display: flex;
  font-weight: 950;
  justify-content: center;
}

.flow-path-product strong,
.flow-mini-product strong,
.flow-finder-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-path-product small,
.flow-finder-card span {
  color: #95a3b7;
  font-size: 12px;
}

.flow-stage-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.flow-stage-card > div {
  display: grid;
  gap: 10px;
}

.flow-mini-product {
  align-items: center;
  color: #f8fafc;
  display: grid;
  gap: 10px;
  grid-template-columns: 58px minmax(0, 1fr);
  text-decoration: none;
}

.flow-mini-product span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.flow-mini-price {
  color: var(--storefront-brand-color, var(--accent));
  font-weight: 900;
}

.flow-setup-steps {
  align-items: stretch;
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.flow-setup-steps::before {
  border-top: 1px dashed color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 58%, transparent);
  content: "";
  left: 28%;
  position: absolute;
  right: 28%;
  top: 50%;
}

.flow-setup-card {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 18px;
  position: relative;
  z-index: 1;
}

.flow-setup-card b {
  align-items: center;
  border: 1px solid var(--storefront-brand-color, var(--accent));
  border-radius: 999px;
  color: var(--storefront-brand-color, var(--accent));
  display: flex;
  font-size: 26px;
  height: 60px;
  justify-content: center;
  width: 60px;
}

.flow-setup-card span {
  display: grid;
  gap: 4px;
}

.flow-setup-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.flow-setup-card a,
.flow-filter-chips button {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 7px;
  color: #dbe6f4;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 12px;
  text-decoration: none;
}

.flow-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.flow-focus-note {
  align-items: center;
  background: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 32%, transparent);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.flow-focus-note[hidden] {
  display: none;
}

.flow-focus-note span {
  display: grid;
  gap: 3px;
}

.flow-focus-note strong {
  color: #f8fafc;
}

.flow-focus-note small {
  color: #aab7c8;
}

.flow-focus-note button {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 7px;
  color: #dbe6f4;
  cursor: pointer;
  font-weight: 850;
  min-height: 36px;
  padding: 0 12px;
}

.flow-filter-chips button {
  cursor: pointer;
}

.flow-filter-chips button.active,
.flow-filter-chips button:focus-visible,
.flow-setup-card a:hover,
.flow-goal-card:hover,
.flow-finder-card:hover {
  border-color: var(--storefront-brand-color, var(--accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 14%, transparent);
}

.flow-filter-chips button.active {
  background: linear-gradient(135deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  color: #fff;
}

.flow-product-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.flow-finder-card {
  color: #f8fafc;
  display: grid;
  gap: 8px;
  padding: 12px;
  text-decoration: none;
}

.flow-finder-card > div {
  position: relative;
}

.flow-finder-card em {
  background: var(--storefront-brand-color, var(--accent));
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  left: 7px;
  padding: 3px 5px;
  position: absolute;
  top: 7px;
  z-index: 1;
}

.flow-finder-price {
  color: var(--storefront-brand-color, var(--accent));
  font-weight: 950;
}

.flow-path-card[data-flow-focus-active="true"],
.flow-stage-card[data-flow-focus-active="true"],
.flow-finder-card[data-flow-soft-match="true"] {
  border-color: var(--storefront-accent, var(--accent-2));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 14%, transparent), 0 18px 60px color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 10%, transparent);
}

.flow-finder-card[data-flow-soft-dim="true"] {
  opacity: 0.52;
}

.flow-finder-card[data-flow-soft-dim="true"]:hover,
.flow-finder-card[data-flow-soft-dim="true"]:focus-visible {
  opacity: 0.92;
}

.flow-trust {
  margin-top: 16px;
}

.flow-about-library,
.flow-footer {
  margin-top: 16px;
}

[data-flow-hidden="true"] {
  display: none !important;
}

@media (max-width: 760px) {
  /* Public storefront mobile hardening: keep every storefront template inside the viewport. */
  #store-app > .storefront-public-site[data-storefront-template],
  .storefront-public-site[data-storefront-template] {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
  }

  #store-app > .storefront-public-site[data-storefront-template="showcase"],
  #store-app > .storefront-public-site[data-storefront-template="flow"] {
    margin: 0;
    padding: 14px;
  }

  .storefront-public-site[data-storefront-template] *,
  .storefront-public-site[data-storefront-template] *::before,
  .storefront-public-site[data-storefront-template] *::after {
    box-sizing: border-box;
    min-width: 0;
  }

  .storefront-public-site[data-storefront-template] :is(h1, h2, h3, p, a, strong, small, span) {
    overflow-wrap: anywhere;
  }

  .storefront-public-site[data-storefront-template] .storefront-site-actions,
  .storefront-public-site[data-storefront-template] .spotlight-hero-actions,
  .storefront-public-site[data-storefront-template] .showcase-product-footer {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    width: 100%;
  }

  .storefront-public-site[data-storefront-template] .store-button,
  .storefront-public-site[data-storefront-template] .store-link {
    justify-content: center;
    max-width: 100%;
    text-align: center;
  }
}

:root[data-theme="light"] .storefront-public-site[data-storefront-template="spotlight"] {
  background:
    radial-gradient(circle at 58% 6%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 12%, transparent), transparent 28%),
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 8%, transparent), transparent 30%),
    linear-gradient(180deg, #fffdfb 0%, #f8fafc 56%, #f4f7fb 100%);
  color: #111827;
}

:root[data-theme="light"] .storefront-public-site[data-storefront-template="showcase"] {
  background:
    radial-gradient(circle at 64% 6%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 11%, transparent), transparent 28%),
    radial-gradient(circle at 10% 28%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 8%, transparent), transparent 26%),
    linear-gradient(180deg, #fffdfb 0%, #f8fafc 46%, #f3f6fb 100%);
  border-color: rgba(24, 32, 44, 0.1);
  color: #111827;
}

:root[data-theme="light"] .storefront-public-site[data-storefront-template="flow"] {
  background:
    radial-gradient(circle at 67% 3%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 13%, transparent), transparent 27%),
    radial-gradient(circle at 8% 22%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 9%, transparent), transparent 26%),
    #f8fafc;
  color: #111827;
}

:root[data-theme="light"] .storefront-public-site[data-storefront-template] .storefront-site-nav {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(24, 32, 44, 0.11);
  box-shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
}

:root[data-theme="light"] .storefront-public-site[data-storefront-template] .storefront-site-links a,
:root[data-theme="light"] .storefront-public-site[data-storefront-template] .storefront-login-link,
:root[data-theme="light"] .storefront-public-site[data-storefront-template] .flow-nav .storefront-site-brand small {
  color: #475569;
}

:root[data-theme="light"] .storefront-public-site[data-storefront-template] .store-button.secondary,
:root[data-theme="light"] .storefront-public-site[data-storefront-template="spotlight"] .store-button.secondary,
:root[data-theme="light"] .storefront-public-site[data-storefront-template="showcase"] .store-button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(24, 32, 44, 0.14);
  color: #111827;
}

:root[data-theme="light"] .spotlight-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 48%, rgba(248, 250, 252, 0.94)),
    radial-gradient(circle at 47% 44%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 18%, transparent), transparent 28%);
  border-bottom-color: rgba(24, 32, 44, 0.11);
}

:root[data-theme="light"] .spotlight-hero h1,
:root[data-theme="light"] .spotlight-hero-product-copy h2,
:root[data-theme="light"] .spotlight-price,
:root[data-theme="light"] .spotlight-section h2,
:root[data-theme="light"] .spotlight-about-library h2,
:root[data-theme="light"] .spotlight-footer h3,
:root[data-theme="light"] .spotlight-demo-row strong,
:root[data-theme="light"] .spotlight-highlight-card h3,
:root[data-theme="light"] .spotlight-trust h3,
:root[data-theme="light"] .spotlight-product-body h3,
:root[data-theme="light"] .showcase-hero h1,
:root[data-theme="light"] .showcase-quick-tile b,
:root[data-theme="light"] .showcase-product-body h2,
:root[data-theme="light"] .showcase-stats dd,
:root[data-theme="light"] .showcase-video-tile strong,
:root[data-theme="light"] .flow-hero h1,
:root[data-theme="light"] .flow-section-header h2,
:root[data-theme="light"] .flow-path-card h3,
:root[data-theme="light"] .flow-stage-card h3,
:root[data-theme="light"] .flow-stats dt,
:root[data-theme="light"] .flow-goal-card,
:root[data-theme="light"] .flow-path-product,
:root[data-theme="light"] .flow-mini-product,
:root[data-theme="light"] .flow-finder-card {
  color: #111827;
}

:root[data-theme="light"] .spotlight-hero-copy > p:not(.spotlight-badge),
:root[data-theme="light"] .spotlight-hero-product-copy p,
:root[data-theme="light"] .spotlight-feature-list,
:root[data-theme="light"] .spotlight-trust p,
:root[data-theme="light"] .spotlight-about-card p,
:root[data-theme="light"] .spotlight-library-card p,
:root[data-theme="light"] .spotlight-footer p,
:root[data-theme="light"] .spotlight-product-body p,
:root[data-theme="light"] .spotlight-video-card span,
:root[data-theme="light"] .spotlight-mini-trust span,
:root[data-theme="light"] .spotlight-demo-row time,
:root[data-theme="light"] .spotlight-demo-product,
:root[data-theme="light"] .spotlight-footer a,
:root[data-theme="light"] .spotlight-footer-bottom,
:root[data-theme="light"] .showcase-hero-copy > p:not(.store-eyebrow),
:root[data-theme="light"] .showcase-stats dt,
:root[data-theme="light"] .showcase-quick-tile small,
:root[data-theme="light"] .showcase-product-body span,
:root[data-theme="light"] .showcase-product-body p,
:root[data-theme="light"] .showcase-demo-center p,
:root[data-theme="light"] .showcase-guidance p,
:root[data-theme="light"] .showcase-about-card p,
:root[data-theme="light"] .showcase-library-card p,
:root[data-theme="light"] .showcase-footer p,
:root[data-theme="light"] .showcase-category-card p,
:root[data-theme="light"] .showcase-usecase-grid small,
:root[data-theme="light"] .showcase-video-tile span,
:root[data-theme="light"] .showcase-trust small,
:root[data-theme="light"] .showcase-footer a,
:root[data-theme="light"] .flow-hero p,
:root[data-theme="light"] .flow-stats dd,
:root[data-theme="light"] .flow-goal-card small,
:root[data-theme="light"] .flow-path-card p,
:root[data-theme="light"] .flow-stage-card p,
:root[data-theme="light"] .flow-setup-card small,
:root[data-theme="light"] .flow-path-product small,
:root[data-theme="light"] .flow-finder-card span {
  color: #5f6f84;
}

:root[data-theme="light"] .spotlight-hero-card,
:root[data-theme="light"] .spotlight-section,
:root[data-theme="light"] .spotlight-about-library,
:root[data-theme="light"] .spotlight-video-card,
:root[data-theme="light"] .spotlight-highlight-card,
:root[data-theme="light"] .spotlight-trust article,
:root[data-theme="light"] .spotlight-library-card,
:root[data-theme="light"] .spotlight-product-card,
:root[data-theme="light"] .showcase-panel,
:root[data-theme="light"] .showcase-section,
:root[data-theme="light"] .showcase-guidance,
:root[data-theme="light"] .showcase-demo-center,
:root[data-theme="light"] .showcase-trust,
:root[data-theme="light"] .showcase-about-card,
:root[data-theme="light"] .showcase-library-card,
:root[data-theme="light"] .showcase-footer,
:root[data-theme="light"] .showcase-quick-tile,
:root[data-theme="light"] .showcase-category-card,
:root[data-theme="light"] .showcase-product-card,
:root[data-theme="light"] .showcase-usecase-grid a,
:root[data-theme="light"] .flow-stats,
:root[data-theme="light"] .flow-goal-card,
:root[data-theme="light"] .flow-path-card,
:root[data-theme="light"] .flow-stage-card,
:root[data-theme="light"] .flow-setup-card,
:root[data-theme="light"] .flow-finder-card,
:root[data-theme="light"] .flow-section {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(24, 32, 44, 0.12);
  box-shadow: 0 18px 50px rgba(31, 41, 55, 0.07);
}

:root[data-theme="light"] .spotlight-footer {
  background: rgba(255, 255, 255, 0.88);
  border-top-color: rgba(24, 32, 44, 0.1);
}

:root[data-theme="light"] .spotlight-demo-list,
:root[data-theme="light"] .showcase-stats,
:root[data-theme="light"] .showcase-stats div,
:root[data-theme="light"] .showcase-library-visual,
:root[data-theme="light"] .showcase-video-thumb,
:root[data-theme="light"] .flow-product-thumb,
:root[data-theme="light"] .flow-mini-thumb,
:root[data-theme="light"] .flow-finder-thumb {
  border-color: rgba(24, 32, 44, 0.12);
}

:root[data-theme="light"] .spotlight-demo-row {
  background: rgba(248, 250, 252, 0.76);
  border-bottom-color: rgba(24, 32, 44, 0.1);
}

:root[data-theme="light"] .spotlight-hero-media,
:root[data-theme="light"] .spotlight-video-thumb,
:root[data-theme="light"] .spotlight-product-media,
:root[data-theme="light"] .spotlight-demo-product img,
:root[data-theme="light"] .spotlight-demo-product span,
:root[data-theme="light"] .showcase-product-media,
:root[data-theme="light"] .showcase-visual,
:root[data-theme="light"] .showcase-library-visual,
:root[data-theme="light"] .flow-product-thumb,
:root[data-theme="light"] .flow-mini-thumb,
:root[data-theme="light"] .flow-finder-thumb {
  background: linear-gradient(135deg, #f8fafc, #e8eef6);
}

:root[data-theme="light"] .spotlight-waveform i {
  --wave-unplayed: #a6b3c3;
}

:root[data-theme="light"] .showcase-search input,
:root[data-theme="light"] .flow-search,
:root[data-theme="light"] .flow-setup-card a,
:root[data-theme="light"] .flow-filter-chips button {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(24, 32, 44, 0.15);
  color: #111827;
}

:root[data-theme="light"] .flow-hero-visual.placeholder {
  background:
    radial-gradient(circle at 62% 46%, transparent 0 58px, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 38%, transparent) 60px 63px, transparent 66px),
    linear-gradient(130deg, rgba(255, 255, 255, 0.1), color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 14%, #eef2f7) 52%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 12%, #f8fafc)),
    linear-gradient(180deg, #f8fafc, #eef2f7);
}

:root[data-theme="light"] .flow-hero-visual::after {
  background:
    linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0.7) 37%, rgba(248, 250, 252, 0.18) 70%),
    linear-gradient(180deg, rgba(248, 250, 252, 0), #f8fafc 92%);
}

:root[data-theme="light"] .flow-path-step {
  background: #fff;
}

:root[data-theme="light"] .flow-filter-chips button.active {
  background: linear-gradient(135deg, var(--storefront-brand-color, var(--accent)), var(--storefront-accent, var(--accent-2)));
  color: #fff;
}

@media (max-width: 1180px) {
  .flow-goal-grid,
  .flow-product-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-path-grid,
  .flow-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .flow-hero,
  .flow-section,
  .flow-trust {
    max-width: 100%;
    width: 100%;
  }

.flow-about-library,
  .flow-footer {
    max-width: 100%;
    width: 100%;
  }

  .flow-hero,
  .flow-section,
  .flow-trust,
  .flow-about-library,
  .flow-footer {
    max-width: 100%;
    width: 100%;
  }

  .flow-hero,
  .flow-section-header,
  .flow-path-grid,
  .flow-stage-grid,
  .flow-setup-steps,
  .flow-product-row,
  .flow-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-hero {
    min-height: 0;
    padding: 44px 4px 44px;
  }

  .flow-hero-panel {
    justify-self: stretch;
  }

  .flow-goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-goal-card {
    min-height: 142px;
    padding: 16px;
  }

  .flow-setup-steps {
    gap: 14px;
  }

  .flow-setup-steps::before {
    display: none;
  }

  .flow-focus-note {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .flow-goal-grid,
  .flow-product-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-hero h1 {
    font-size: 40px;
  }
}

/* === Website Builder redesign === */
.brand-page-header {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 0 18px;
}

.brand-page-header h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 3px 0 6px;
}

.brand-page-header p,
.brand-page-header small {
  color: var(--muted);
  display: block;
  line-height: 1.55;
}

.brand-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.brand-page-shell {
  width: 100%;
}

.brand-page-content {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.website-builder-wrap {
  gap: 18px;
}

.website-builder-hero {
  margin-bottom: 0;
}

.website-builder-autosave {
  display: grid;
  gap: 4px;
}

.website-builder-autosave small {
  color: var(--success);
  font-size: 12px;
  font-weight: 850;
}

.website-builder-sidebar {
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.website-builder-score {
  background: rgba(8, 13, 21, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 12px;
}

.website-builder-score strong {
  font-size: 26px;
  line-height: 1;
}

.website-builder-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.website-builder-score i {
  background: linear-gradient(90deg, var(--accent) var(--builder-progress), rgba(148, 163, 184, 0.18) var(--builder-progress));
  border-radius: 999px;
  display: block;
  height: 6px;
}

.website-builder-remaining {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 8px;
  color: var(--soft);
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  min-width: 0;
  padding: 12px;
}

.website-builder-remaining.complete {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.24);
}

.website-builder-remaining strong {
  color: var(--text);
  font-size: 13px;
}

.website-builder-remaining ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.website-builder-remaining li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.website-builder-step-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
}

.website-builder-editor {
  display: grid;
  gap: 14px;
  min-width: 0;
}

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

.website-builder-wide {
  grid-column: 1 / -1;
}

.website-builder-welcome,
.website-builder-upload-card,
.website-builder-support-grid article,
.website-builder-email-grid article,
.website-builder-review-grid article,
.website-builder-preview {
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.website-builder-illustration {
  background:
    linear-gradient(135deg, rgba(255, 106, 26, 0.14), rgba(20, 184, 166, 0.1)),
    rgba(15, 23, 42, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 190px;
  padding: 16px;
}

.website-builder-illustration span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.website-builder-illustration span:first-child {
  grid-row: span 2;
}

.website-builder-upload-card {
  display: grid;
  gap: 12px;
}

.website-builder-upload-card p {
  line-height: 1.5;
  margin: 5px 0 0;
}

.website-builder-support-grid,
.website-builder-email-grid,
.website-builder-review-grid,
.website-builder-advanced-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.website-builder-support-grid article,
.website-builder-email-grid article,
.website-builder-review-grid article {
  display: grid;
  gap: 10px;
}

.website-builder-validation {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 7px;
}

.website-builder-validation b {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.website-builder-validation.valid b {
  background: var(--success-soft);
  color: var(--success);
}

.website-builder-validation.warning b {
  background: var(--warning-soft);
  color: var(--warning);
}

.website-builder-theme-grid,
.website-builder-nav-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.website-builder-theme-card {
  min-height: 190px;
  transform-origin: center;
}

.website-builder-theme-card:hover,
.website-builder-theme-card.selected {
  transform: translateY(-2px) scale(1.015);
}

.website-builder-theme-card .storefront-choice-preview {
  min-height: 74px;
}

.website-builder-section-list {
  display: grid;
  gap: 10px;
}

.website-builder-section-list article {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: grab;
  display: grid;
  gap: 12px;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 11px 12px;
}

.website-builder-drag {
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 1px;
}

.website-builder-switch {
  display: inline-flex !important;
}

.website-builder-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.website-builder-switch span {
  background: rgba(148, 163, 184, 0.22);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  height: 24px;
  padding: 2px;
  width: 44px;
}

.website-builder-switch span::before {
  background: var(--muted);
  border-radius: 999px;
  content: "";
  display: block;
  height: 18px;
  transition: transform 0.18s ease, background 0.18s ease;
  width: 18px;
}

.website-builder-switch input:checked + span {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.website-builder-switch input:checked + span::before {
  background: var(--accent);
  transform: translateX(18px);
}

.website-builder-section-list small {
  color: var(--muted);
  font-size: 12px;
}

.website-builder-domain-field {
  grid-column: 1 / -1;
}

.website-builder-email-grid article > div,
.website-builder-review-grid article > div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.website-builder-email-actions {
  grid-column: 1 / -1;
}

.website-builder-preview {
  position: sticky;
  top: 92px;
}

.website-builder-preview-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.website-builder-preview h3 {
  margin: 0;
}

.website-builder-device {
  background: #050b12;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.website-builder-device[data-storefront-preview-mode-state="mobile"] {
  margin: 0 auto;
  max-width: 280px;
}

.website-builder-browser-bar {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
}

.website-builder-browser-bar span {
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.website-builder-browser-bar b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  margin-left: auto;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-builder-site {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.website-builder-site header {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.website-builder-site-logo {
  align-items: center;
  background: color-mix(in srgb, var(--builder-brand) 16%, #111827);
  border: 1px solid color-mix(in srgb, var(--builder-brand) 42%, transparent);
  border-radius: 8px;
  color: var(--builder-brand);
  display: flex;
  font-size: 12px;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  overflow: hidden;
  width: 38px;
}

.website-builder-site-logo img {
  height: 100%;
  object-fit: contain;
  padding: 5px;
  width: 100%;
}

.website-builder-site nav {
  color: var(--muted);
  display: flex;
  font-size: 10px;
  gap: 8px;
}

.website-builder-site-hero {
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--builder-brand) 42%, transparent), transparent 34%),
    linear-gradient(135deg, #101826, #182438);
  background-position: center;
  background-size: cover;
  border: 1px solid color-mix(in srgb, var(--builder-brand) 28%, var(--line));
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 18px;
}

.website-builder-site-hero p {
  color: var(--builder-brand);
  font-size: 11px;
  font-weight: 850;
  margin: 0;
  text-transform: uppercase;
}

.website-builder-site-hero h2 {
  font-size: 28px;
  line-height: 1.04;
  margin: 0;
}

.website-builder-site-hero span {
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.45;
}

.website-builder-site-hero button {
  background: var(--builder-brand);
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 850;
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
}

.website-builder-site-products {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.website-builder-site-products div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 10px;
}

.website-builder-site-products img,
.website-builder-site-products i {
  aspect-ratio: 16 / 10;
  background: color-mix(in srgb, var(--builder-brand) 24%, #0f172a);
  border-radius: 7px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.website-builder-site-products span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.website-builder-device[data-storefront-preview-mode-state="mobile"] .website-builder-site header,
.website-builder-device[data-storefront-preview-mode-state="mobile"] .website-builder-site-products {
  grid-template-columns: minmax(0, 1fr);
}

.website-builder-device[data-storefront-preview-mode-state="mobile"] .website-builder-site nav {
  display: none;
}

.brand-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 78%, transparent), color-mix(in srgb, var(--surface) 88%, transparent)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  min-width: 0;
  padding: 18px;
}

.brand-card h2,
.brand-card h3 {
  letter-spacing: 0;
  margin: 0;
}

.brand-status-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
}

.brand-status-item {
  align-items: center;
  background: rgba(8, 13, 21, 0.54);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 72px;
  padding: 11px;
}

.brand-status-item strong {
  color: var(--muted);
  display: block;
  font-size: 11px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.brand-status-ready {
  background: rgba(30, 185, 112, 0.12);
  border-color: rgba(30, 185, 112, 0.32);
  color: #61d99a;
}

.brand-status-warning {
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.34);
  color: #f8c65a;
}

.brand-status-danger {
  background: rgba(239, 68, 68, 0.13);
  border-color: rgba(239, 68, 68, 0.34);
  color: #ff9b9b;
}

.brand-status-neutral {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.28);
  color: var(--soft);
}

.brand-warning-row,
.brand-ready-row {
  align-items: center;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 14px;
  padding: 11px 12px;
}

.brand-warning-row {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.32);
  color: var(--soft);
}

.brand-ready-row {
  background: rgba(30, 185, 112, 0.08);
  border: 1px solid rgba(30, 185, 112, 0.28);
  grid-template-columns: auto minmax(0, 1fr);
}

.brand-overview {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
}

.brand-overview p {
  color: var(--muted);
  line-height: 1.62;
  margin: 9px 0 0;
}

.brand-checklist-table {
  border-left: 1px solid var(--line);
  display: grid;
  min-width: 0;
  padding-left: 16px;
}

.brand-checklist-table > div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(118px, auto) minmax(126px, auto);
  min-height: 39px;
  min-width: 0;
}

.brand-checklist-table > div:last-child {
  border-bottom: 0;
}

.brand-table-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.brand-action-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  justify-self: start;
}

.brand-profile-summary {
  display: grid;
  gap: 22px;
  grid-template-columns: 150px minmax(0, 1fr);
  margin-top: 16px;
}

.brand-logo-block {
  align-items: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.brand-logo-frame {
  align-items: center;
  background: rgba(3, 7, 12, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  height: 124px;
  justify-content: center;
  overflow: hidden;
  width: 124px;
}

.brand-logo-frame .storefront-logo {
  border: 0;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  width: 100%;
}

.brand-logo-placeholder {
  color: var(--accent);
  font-size: 32px;
  font-weight: 950;
}

.brand-upload-link {
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 4px;
}

.brand-detail-grid {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.brand-detail-grid div {
  min-width: 0;
}

.brand-detail-grid dt,
.brand-field-copy > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.brand-detail-grid dd {
  color: var(--text);
  margin: 0;
  min-width: 0;
}

.brand-color-dot {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-block;
  height: 14px;
  margin-right: 8px;
  vertical-align: middle;
  width: 14px;
}

.store-copy-value {
  align-items: center;
  background: rgba(8, 13, 21, 0.45);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: inline-grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 100%;
  min-height: 32px;
  min-width: 0;
  padding: 4px 4px 4px 9px;
  vertical-align: middle;
}

.store-copy-value > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-copy-value.mono > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.store-copy-value.empty > span {
  color: var(--muted);
}

.store-copy-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--soft);
  cursor: pointer;
  display: inline-flex;
  font-size: 0;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  position: relative;
  width: 24px;
}

.store-copy-icon::before {
  border: 1.6px solid currentColor;
  border-radius: 3px;
  content: "";
  height: 11px;
  width: 9px;
}

.store-copy-icon:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

.brand-edit-details {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}

.brand-edit-details > summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 850;
}

.brand-profile-form {
  margin-top: 16px;
}

.brand-template-card .storefront-template-choice {
  gap: 8px;
  min-height: 80px;
  padding: 12px;
}

.brand-template-card .storefront-template-choice small {
  margin-top: 5px;
}

.brand-template-card .storefront-device-frame .storefront-template-preview {
  margin-top: 0;
  max-height: none;
  overflow: hidden;
  padding: 0;
}

.brand-template-card .storefront-public-site {
  font-size: 12px;
  gap: 8px;
}

.brand-template-card .storefront-public-hero {
  min-height: 170px;
  padding: 16px;
}

.brand-template-card .storefront-template-hero.product-company {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr);
}

.brand-template-card .storefront-site-nav,
.brand-template-card .storefront-content-band,
.brand-template-card .storefront-content-split {
  gap: 10px;
  padding: 10px;
}

.brand-template-card .store-grid.compact,
.brand-template-card .storefront-company-grid,
.brand-template-card .storefront-site-metrics,
.brand-template-card .storefront-catalog-actions {
  gap: 8px;
}

.brand-template-card .store-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.brand-template-card .storefront-company-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.brand-template-card .storefront-catalog-row {
  gap: 10px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 10px;
}

.brand-template-card .storefront-catalog-row .store-actions {
  align-self: start;
  flex-wrap: wrap;
  grid-column: 2;
}

.brand-template-card .store-card {
  min-width: 0;
}

.brand-preview-caption {
  font-size: 12px;
  margin-top: 9px;
}

.brand-template-actions {
  justify-content: end;
  margin-top: 12px;
}

.brand-template-controls {
  display: grid;
  gap: 16px;
}

.brand-template-controls > div {
  background: color-mix(in srgb, var(--surface-2) 58%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.brand-template-controls h3,
.storefront-design-subsection h3 {
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.storefront-design-subsection {
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
}

.storefront-layout-subsection {
  margin-top: 16px;
}

.storefront-template-choice em {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
  margin-top: 7px;
}

.storefront-choice-preview {
  align-self: start;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 6px;
  display: block;
  height: 48px;
  position: relative;
  width: 64px;
}

.storefront-choice-preview::before,
.storefront-choice-preview::after {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  left: 10px;
  opacity: 0.78;
  position: absolute;
  right: 10px;
}

.storefront-choice-preview::before {
  height: 5px;
  top: 11px;
}

.storefront-choice-preview::after {
  bottom: 11px;
  height: 16px;
}

.storefront-style-choice,
.storefront-nav-choice {
  grid-template-columns: 18px 48px minmax(0, 1fr);
  min-height: 78px;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch] {
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr 14px;
  grid-template-rows: 1fr 8px;
  overflow: hidden;
  padding: 7px;
  position: relative;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch]::before {
  inset: 0;
  height: auto;
  left: 0;
  opacity: 1;
  right: 0;
  top: 0;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch]::after {
  bottom: 0;
  height: auto;
  left: 0;
  opacity: 0.28;
  right: 0;
  top: 0;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch] i,
.storefront-style-choice .storefront-choice-preview[data-style-swatch] em,
.storefront-style-choice .storefront-choice-preview[data-style-swatch] span {
  display: block;
  position: relative;
  z-index: 1;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch] i {
  background: color-mix(in srgb, var(--surface) 76%, rgba(255, 255, 255, 0.36));
  border: 1px solid color-mix(in srgb, var(--line) 72%, rgba(255, 255, 255, 0.22));
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.18);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch] em {
  background: color-mix(in srgb, var(--surface-2) 62%, rgba(255, 255, 255, 0.54));
  border-radius: 999px;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch] span {
  background: color-mix(in srgb, var(--accent) 84%, #fff);
  border-radius: 999px;
  grid-column: 1 / -1;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="clean_digital"]::before {
  background: linear-gradient(135deg, #f8fafc, #eef2f7 56%, #cbd5e1);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="clean_digital"]::after {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.74), transparent 34%);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="industrial_analog"]::before {
  background: linear-gradient(135deg, #09090b, #27272a 58%, #111827);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="industrial_analog"]::after {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 1px, transparent 1px 5px);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="industrial_analog"] i,
.storefront-style-choice .storefront-choice-preview[data-style-swatch="industrial_analog"] em {
  background: rgba(15, 15, 14, 0.9);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 34%, rgba(255, 255, 255, 0.16));
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="boutique_studio"]::before {
  background: linear-gradient(135deg, #171412, #302a25 54%, #ded7ce);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="boutique_studio"] i {
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(24, 14, 6, 0.24);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="underground_club"]::before {
  background: linear-gradient(135deg, #050505, #111018 56%, #27272a);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="underground_club"]::after {
  background: repeating-linear-gradient(-12deg, rgba(255,255,255,0.32) 0 1px, transparent 1px 6px);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="underground_club"] i {
  border-radius: 2px;
  transform: rotate(-2deg);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="physical_retail"]::before {
  background: linear-gradient(135deg, #f7f2e8, #fffaf0 54%, #d6c8b8);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="physical_retail"]::after {
  background: repeating-linear-gradient(0deg, rgba(15,23,42,0.12) 0 1px, transparent 1px 7px);
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="physical_retail"] i {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.22);
  border-radius: 3px;
}

.storefront-style-choice .storefront-choice-preview[data-style-swatch="physical_retail"] em {
  border-radius: 2px;
}

.nav-mode-mini {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  height: 42px;
  padding: 7px;
  width: 58px;
}

.nav-mode-mini i,
.nav-mode-mini span,
.nav-mode-mini b {
  background: var(--accent);
  border-radius: 999px;
  display: block;
  min-height: 4px;
  opacity: 0.78;
}

.nav-mode-mini b {
  background: var(--soft);
  opacity: 0.46;
}

.nav-mode-mini[data-nav-mini="floatingPill"] {
  align-content: center;
  border-radius: 999px;
  grid-template-columns: 10px 1fr 1fr 10px;
}

.nav-mode-mini[data-nav-mini="leftRail"] {
  grid-template-columns: 10px 1fr;
}

.nav-mode-mini[data-nav-mini="leftRail"] i {
  grid-row: span 4;
}

.nav-mode-mini[data-nav-mini="minimal"] {
  grid-template-columns: 1fr 10px 10px;
}

.nav-mode-mini[data-nav-mini="categoryBar"] {
  grid-template-columns: 1fr 10px 10px;
}

.nav-mode-mini[data-nav-mini="categoryBar"] span {
  grid-column: 1 / -1;
}

.nav-mode-mini[data-nav-mini="none"] {
  align-content: end;
  grid-template-columns: 1fr 1fr;
}

.brand-template-card .storefront-choice-preview,
.brand-template-card .nav-mode-mini {
  height: 34px;
  width: 44px;
}

.storefront-public-site[data-visual-style="clean_digital"] {
  --style-bg:
    radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 18%, transparent), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #0d1724 52%, #08111f 100%);
  --style-panel: rgba(255, 255, 255, 0.08);
  --style-section: rgba(8, 18, 31, 0.76);
  --style-card: rgba(12, 23, 38, 0.82);
  --style-line: rgba(148, 163, 184, 0.18);
  --style-text: #f8fafc;
  --style-muted: #b8c3d2;
  --style-radius: 8px;
  --style-image-radius: 8px;
  --style-button-radius: 999px;
  --style-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --style-media: rgba(2, 6, 12, 0.44);
  --style-badge-bg: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 14%, rgba(255, 255, 255, 0.08));
  --style-badge-radius: 999px;
  --style-card-padding: clamp(18px, 2.4vw, 26px);
  --style-nav-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  --style-image-padding: 0;
  --style-divider: 1px solid rgba(148, 163, 184, 0.18);
  --style-texture: radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.16), transparent 28%);
  --style-texture-opacity: 0.55;
}

.storefront-public-site[data-visual-style="industrial_analog"] {
  --style-bg:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #0b0b0a 0%, #181713 58%, #090908 100%);
  --style-panel: rgba(10, 10, 9, 0.88);
  --style-section: rgba(13, 13, 12, 0.92);
  --style-card: rgba(18, 18, 16, 0.94);
  --style-line: rgba(161, 161, 170, 0.24);
  --style-text: #f7f3e8;
  --style-muted: #c0b8a8;
  --style-radius: 4px;
  --style-image-radius: 3px;
  --style-button-radius: 4px;
  --style-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 46px rgba(0, 0, 0, 0.36);
  --style-media: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.26));
  --style-badge-bg: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 18%, rgba(0, 0, 0, 0.42));
  --style-badge-radius: 3px;
  --style-card-padding: clamp(14px, 1.7vw, 20px);
  --style-nav-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.46), 0 18px 42px rgba(0, 0, 0, 0.28);
  --style-image-padding: 4px;
  --style-divider: 1px solid rgba(161, 161, 170, 0.24);
  --style-texture: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 6px);
  --style-texture-opacity: 0.34;
}

.storefront-public-site[data-visual-style="boutique_studio"] {
  --style-bg:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #16110f 0%, #211915 52%, #130f0d 100%);
  --style-panel: rgba(31, 25, 22, 0.82);
  --style-section: rgba(29, 23, 20, 0.78);
  --style-card: rgba(36, 29, 25, 0.84);
  --style-line: rgba(245, 241, 235, 0.2);
  --style-text: #fffaf0;
  --style-muted: #d1c8ba;
  --style-radius: 10px;
  --style-image-radius: 10px;
  --style-button-radius: 999px;
  --style-shadow: 0 28px 90px rgba(17, 10, 6, 0.34);
  --style-media: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0,0,0,0.2));
  --style-badge-bg: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 10%, rgba(255, 255, 255, 0.08));
  --style-badge-radius: 999px;
  --style-card-padding: clamp(24px, 3.2vw, 38px);
  --style-nav-shadow: 0 28px 80px rgba(17, 10, 6, 0.3);
  --style-image-padding: 8px;
  --style-divider: 1px solid rgba(245, 241, 235, 0.2);
  --style-texture: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 38%, rgba(255,255,255,0.04));
  --style-texture-opacity: 0.48;
}

.storefront-public-site[data-visual-style="underground_club"] {
  --style-bg:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 34%, transparent), transparent 28%),
    repeating-linear-gradient(-12deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #050508 0%, #111018 52%, #050505 100%);
  --style-panel: rgba(6, 6, 10, 0.86);
  --style-section: rgba(8, 8, 13, 0.9);
  --style-card: rgba(14, 12, 20, 0.9);
  --style-line: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 46%, rgba(255, 255, 255, 0.16));
  --style-text: #ffffff;
  --style-muted: #d5d8e4;
  --style-radius: 2px;
  --style-image-radius: 2px;
  --style-button-radius: 2px;
  --style-shadow: 8px 8px 0 rgba(255, 255, 255, 0.06), 0 22px 60px rgba(0, 0, 0, 0.42);
  --style-media: linear-gradient(135deg, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 22%, rgba(0,0,0,0.5)), rgba(0,0,0,0.58));
  --style-badge-bg: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 30%, rgba(255,255,255,0.08));
  --style-badge-radius: 2px;
  --style-card-padding: clamp(16px, 2vw, 24px);
  --style-nav-shadow: 8px 8px 0 rgba(255, 255, 255, 0.06), 0 22px 60px rgba(0, 0, 0, 0.36);
  --style-image-padding: 0;
  --style-divider: 2px solid color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 42%, rgba(255, 255, 255, 0.18));
  --style-texture: repeating-linear-gradient(-12deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 7px);
  --style-texture-opacity: 0.44;
}

.storefront-public-site[data-visual-style="physical_retail"] {
  --style-bg:
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, #f7f2e8 0%, #faf7ef 55%, #ece3d2 100%);
  --style-panel: rgba(255, 252, 245, 0.94);
  --style-section: rgba(255, 252, 245, 0.92);
  --style-card: rgba(255, 255, 255, 0.94);
  --style-line: rgba(15, 23, 42, 0.15);
  --style-text: #111827;
  --style-muted: #475569;
  --style-radius: 6px;
  --style-image-radius: 3px;
  --style-button-radius: 4px;
  --style-shadow: 0 14px 0 rgba(15, 23, 42, 0.04), 0 28px 70px rgba(15, 23, 42, 0.12);
  --style-media: linear-gradient(180deg, #fff, #f3eadb);
  --style-badge-bg: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 16%, #fff8ed);
  --style-badge-radius: 4px;
  --style-card-padding: clamp(16px, 2.2vw, 24px);
  --style-nav-shadow: 0 12px 0 rgba(15, 23, 42, 0.04), 0 22px 56px rgba(15, 23, 42, 0.11);
  --style-image-padding: 8px;
  --style-divider: 1px dashed rgba(15, 23, 42, 0.2);
  --style-texture: repeating-linear-gradient(0deg, rgba(15,23,42,0.05) 0 1px, transparent 1px 8px);
  --style-texture-opacity: 0.26;
  color: #111827;
}

.storefront-public-site[data-visual-style="minimal_light"] {
  --style-bg: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  --style-panel: rgba(255, 255, 255, 0.9);
  --style-section: rgba(255, 255, 255, 0.86);
  --style-card: rgba(255, 255, 255, 0.94);
  --style-line: rgba(15, 23, 42, 0.12);
  --style-text: #0f172a;
  --style-muted: #475569;
  --style-radius: 2px;
  --style-image-radius: 2px;
  --style-button-radius: 2px;
  --style-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --style-media: linear-gradient(180deg, #ffffff, #edf2f7);
  --style-badge-bg: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 14%, #ffffff);
  --style-badge-radius: 2px;
  --style-card-padding: clamp(18px, 2vw, 24px);
  --style-nav-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  --style-image-padding: 0;
  --style-divider: 1px solid rgba(15, 23, 42, 0.12);
  --style-texture: linear-gradient(90deg, rgba(15,23,42,0.04), transparent 28%);
  --style-texture-opacity: 0.2;
  color: #0f172a;
}

.storefront-public-site[data-visual-style="cinematic"] {
  --style-bg:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 20%, transparent), transparent 42%),
    linear-gradient(180deg, #030712 0%, #111827 52%, #050816 100%);
  --style-panel: rgba(3, 7, 18, 0.88);
  --style-section: rgba(7, 12, 24, 0.88);
  --style-card: rgba(10, 17, 32, 0.9);
  --style-line: rgba(226, 232, 240, 0.16);
  --style-text: #f8fafc;
  --style-muted: #cbd5e1;
  --style-radius: 0;
  --style-image-radius: 0;
  --style-button-radius: 999px;
  --style-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --style-media: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.36));
  --style-badge-bg: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 16%, rgba(255,255,255,0.08));
  --style-badge-radius: 999px;
  --style-card-padding: clamp(22px, 3vw, 36px);
  --style-nav-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --style-image-padding: 0;
  --style-divider: 1px solid rgba(226, 232, 240, 0.16);
  --style-texture: linear-gradient(180deg, transparent 0 42%, rgba(255,255,255,0.06) 42% 43%, transparent 43% 100%);
  --style-texture-opacity: 0.34;
}

.storefront-public-site[data-visual-style="futuristic_glass"] {
  --style-bg:
    radial-gradient(circle at 76% 12%, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 26%, transparent), transparent 34%),
    linear-gradient(180deg, #06111a 0%, #0a1924 54%, #041019 100%);
  --style-panel: rgba(255, 255, 255, 0.09);
  --style-section: rgba(255, 255, 255, 0.07);
  --style-card: rgba(255, 255, 255, 0.08);
  --style-line: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 38%, rgba(255,255,255,0.16));
  --style-text: #f6fbff;
  --style-muted: #b8c8d8;
  --style-radius: 12px;
  --style-image-radius: 12px;
  --style-button-radius: 12px;
  --style-shadow: 0 28px 84px rgba(0, 0, 0, 0.28);
  --style-media: rgba(255, 255, 255, 0.07);
  --style-badge-bg: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 18%, rgba(255,255,255,0.08));
  --style-badge-radius: 12px;
  --style-card-padding: clamp(18px, 2.4vw, 28px);
  --style-nav-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --style-image-padding: 2px;
  --style-divider: 1px solid color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 34%, rgba(255,255,255,0.14));
  --style-texture: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.16), transparent 22%);
  --style-texture-opacity: 0.44;
}

.storefront-public-site[data-visual-style="waveform_audio"] {
  --style-bg:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, #07131f 0%, #101827 56%, #06111d 100%);
  --style-panel: rgba(6, 17, 29, 0.86);
  --style-section: rgba(8, 20, 34, 0.86);
  --style-card: rgba(9, 24, 40, 0.9);
  --style-line: rgba(148, 163, 184, 0.2);
  --style-text: #f8fafc;
  --style-muted: #bac7d5;
  --style-radius: 8px 8px 2px 2px;
  --style-image-radius: 8px 8px 2px 2px;
  --style-button-radius: 999px;
  --style-shadow: 0 22px 70px rgba(2, 6, 23, 0.32);
  --style-media: linear-gradient(90deg, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 14%, rgba(255,255,255,0.06)), rgba(255,255,255,0.04));
  --style-badge-bg: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 16%, rgba(255,255,255,0.08));
  --style-badge-radius: 999px;
  --style-card-padding: clamp(16px, 2.2vw, 26px);
  --style-nav-shadow: 0 22px 60px rgba(2, 6, 23, 0.26);
  --style-image-padding: 0;
  --style-divider: 1px solid rgba(148, 163, 184, 0.2);
  --style-texture: repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 14px);
  --style-texture-opacity: 0.22;
}

.storefront-public-site[data-visual-style="realistic_panel"] {
  --style-bg:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #111315 0%, #1d2022 55%, #0d0f11 100%);
  --style-panel: rgba(17, 19, 21, 0.92);
  --style-section: rgba(20, 22, 24, 0.92);
  --style-card: rgba(24, 27, 30, 0.94);
  --style-line: rgba(203, 213, 225, 0.2);
  --style-text: #f4f4f5;
  --style-muted: #c4c7cc;
  --style-radius: 5px;
  --style-image-radius: 4px;
  --style-button-radius: 5px;
  --style-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.38), 0 20px 54px rgba(0,0,0,0.34);
  --style-media: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(0,0,0,0.3));
  --style-badge-bg: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 20%, rgba(0,0,0,0.34));
  --style-badge-radius: 4px;
  --style-card-padding: clamp(14px, 1.8vw, 22px);
  --style-nav-shadow: inset 0 -1px 0 rgba(0,0,0,0.44), 0 18px 42px rgba(0,0,0,0.3);
  --style-image-padding: 5px;
  --style-divider: 1px solid rgba(203, 213, 225, 0.2);
  --style-texture: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 5px);
  --style-texture-opacity: 0.28;
}

.storefront-public-site[data-visual-style="soft_matte"] {
  --style-bg:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 10%, transparent), transparent 30%),
    linear-gradient(180deg, #14191f 0%, #1f252d 52%, #11161c 100%);
  --style-panel: rgba(31, 37, 45, 0.86);
  --style-section: rgba(28, 34, 42, 0.86);
  --style-card: rgba(34, 41, 49, 0.9);
  --style-line: rgba(226, 232, 240, 0.14);
  --style-text: #f7f7f2;
  --style-muted: #c7cec9;
  --style-radius: 10px;
  --style-image-radius: 10px;
  --style-button-radius: 8px;
  --style-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
  --style-media: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(0,0,0,0.14));
  --style-badge-bg: color-mix(in srgb, var(--storefront-accent, var(--accent-2)) 12%, rgba(255,255,255,0.08));
  --style-badge-radius: 8px;
  --style-card-padding: clamp(20px, 2.6vw, 30px);
  --style-nav-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
  --style-image-padding: 6px;
  --style-divider: 1px solid rgba(226, 232, 240, 0.14);
  --style-texture: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 46%);
  --style-texture-opacity: 0.24;
}

.storefront-public-site[data-visual-style] {
  background: var(--style-bg);
  color: var(--style-text);
  isolation: isolate;
  position: relative;
}

.storefront-public-site[data-visual-style]::before {
  background: var(--style-texture);
  content: "";
  inset: 0;
  opacity: var(--style-texture-opacity, 0.3);
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.storefront-public-site[data-visual-style] > * {
  position: relative;
  z-index: 1;
}

.storefront-public-site[data-visual-style] .storefront-site-nav,
.storefront-public-site[data-visual-style] .storefront-utility-strip,
.storefront-public-site[data-visual-style] .product-card,
.storefront-public-site[data-visual-style] .storefront-content-band,
.storefront-public-site[data-visual-style] .spotlight-section,
.storefront-public-site[data-visual-style] .spotlight-about-library,
.storefront-public-site[data-visual-style] .spotlight-footer,
.storefront-public-site[data-visual-style] .spotlight-hero-card,
.storefront-public-site[data-visual-style] .spotlight-video-card,
.storefront-public-site[data-visual-style] .spotlight-highlight-card,
.storefront-public-site[data-visual-style] .spotlight-product-card,
.storefront-public-site[data-visual-style] .showcase-hero,
.storefront-public-site[data-visual-style] .showcase-split,
.storefront-public-site[data-visual-style] .showcase-demo-center,
.storefront-public-site[data-visual-style] .showcase-about-card,
.storefront-public-site[data-visual-style] .showcase-library-card,
.storefront-public-site[data-visual-style] .showcase-video-tile,
.storefront-public-site[data-visual-style] .catalog-feature,
.storefront-public-site[data-visual-style] .rack-feature-module,
.storefront-public-site[data-visual-style] .editorial-product-spread,
.storefront-public-site[data-visual-style] .deal-price-card,
.storefront-public-site[data-visual-style] .retail-included article,
.storefront-public-site[data-visual-style] .catalog-deals,
.storefront-public-site[data-visual-style] .rack-detail,
.storefront-public-site[data-visual-style] .deal-contents,
.storefront-public-site[data-visual-style] .deal-checkout {
  background: var(--style-card, var(--style-panel));
  border-color: var(--style-line);
  border-radius: var(--style-radius, 8px);
  box-shadow: var(--style-shadow);
}

.storefront-public-site[data-visual-style] .storefront-content-band,
.storefront-public-site[data-visual-style] .spotlight-section,
.storefront-public-site[data-visual-style] .spotlight-about-library,
.storefront-public-site[data-visual-style] .spotlight-footer,
.storefront-public-site[data-visual-style] .spotlight-hero-card,
.storefront-public-site[data-visual-style] .spotlight-video-card,
.storefront-public-site[data-visual-style] .spotlight-highlight-card,
.storefront-public-site[data-visual-style] .spotlight-product-card,
.storefront-public-site[data-visual-style] .showcase-split,
.storefront-public-site[data-visual-style] .showcase-demo-center,
.storefront-public-site[data-visual-style] .showcase-about-card,
.storefront-public-site[data-visual-style] .showcase-library-card,
.storefront-public-site[data-visual-style] .showcase-video-tile,
.storefront-public-site[data-visual-style] .catalog-feature,
.storefront-public-site[data-visual-style] .rack-feature-module,
.storefront-public-site[data-visual-style] .editorial-product-spread,
.storefront-public-site[data-visual-style] .deal-price-card,
.storefront-public-site[data-visual-style] .retail-included article,
.storefront-public-site[data-visual-style] .catalog-deals,
.storefront-public-site[data-visual-style] .rack-detail,
.storefront-public-site[data-visual-style] .deal-contents,
.storefront-public-site[data-visual-style] .deal-checkout {
  padding: var(--style-card-padding, clamp(18px, 2.4vw, 26px));
}

.storefront-public-site[data-visual-style] .storefront-site-nav,
.storefront-public-site[data-visual-style] .storefront-utility-strip {
  background: var(--style-panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--style-nav-shadow, var(--style-shadow));
}

.storefront-public-site[data-visual-style] .store-button,
.storefront-public-site[data-visual-style] .spotlight-demo-play,
.storefront-public-site[data-visual-style] .product-demo-play,
.storefront-public-site[data-visual-style] .spotlight-play-button {
  border-radius: var(--style-button-radius, 999px);
  box-shadow: var(--style-button-shadow, none);
}

.storefront-public-site[data-visual-style] .store-pill,
.storefront-public-site[data-visual-style] .spotlight-badge,
.storefront-public-site[data-visual-style] .status-pill,
.storefront-public-site[data-visual-style] .catalog-chip-bar a {
  background: var(--style-badge-bg);
  border-color: var(--style-line);
  border-radius: var(--style-badge-radius, 999px);
}

.storefront-public-site[data-visual-style] .product-card-media,
.storefront-public-site[data-visual-style] .spotlight-hero-media,
.storefront-public-site[data-visual-style] .spotlight-product-media,
.storefront-public-site[data-visual-style] .spotlight-video-thumb,
.storefront-public-site[data-visual-style] .showcase-video-thumb,
.storefront-public-site[data-visual-style] .catalog-feature-media,
.storefront-public-site[data-visual-style] .rack-module-media,
.storefront-public-site[data-visual-style] .rack-detail-media,
.storefront-public-site[data-visual-style] .editorial-opener-media,
.storefront-public-site[data-visual-style] .retail-box-media,
.storefront-public-site[data-visual-style] .deal-media {
  background: var(--style-media);
  border-color: var(--style-line);
  border-radius: var(--style-image-radius, var(--style-radius, 8px));
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--style-line) 54%, transparent);
  padding: var(--style-image-padding, 0);
}

.storefront-public-site[data-visual-style] .spotlight-demo-list,
.storefront-public-site[data-visual-style] .product-demos-card,
.storefront-public-site[data-visual-style] .storefront-inline-video {
  background: var(--style-panel);
  border-color: var(--style-line);
  border-radius: var(--style-radius, 8px);
  box-shadow: var(--style-shadow);
}

.storefront-public-site[data-visual-style] .spotlight-demo-row,
.storefront-public-site[data-visual-style] .product-audio-row {
  background: color-mix(in srgb, var(--style-panel) 78%, transparent);
  border-color: var(--style-line);
}

.storefront-public-site[data-visual-style] .spotlight-demo-row + .spotlight-demo-row,
.storefront-public-site[data-visual-style] .product-audio-row + .product-audio-row,
.storefront-public-site[data-visual-style] .catalog-chip-bar,
.storefront-public-site[data-visual-style] .spotlight-demo-more summary {
  border-top: var(--style-divider);
}

.storefront-public-site[data-visual-style] .spotlight-waveform i,
.storefront-public-site[data-visual-style] .product-wave i {
  background: color-mix(in srgb, var(--style-muted) 34%, transparent);
}

.storefront-public-site[data-visual-style] :is(.product-card, .spotlight-product-card, .spotlight-video-card, .showcase-video-tile, .catalog-feature, .rack-feature-module) {
  overflow: hidden;
  position: relative;
}

.storefront-public-site[data-visual-style="industrial_analog"] .storefront-site-nav,
.storefront-public-site[data-visual-style="industrial_analog"] .spotlight-demo-row,
.storefront-public-site[data-visual-style="industrial_analog"] .product-card,
.storefront-public-site[data-visual-style="industrial_analog"] .spotlight-product-card,
.storefront-public-site[data-visual-style="industrial_analog"] .catalog-feature,
.storefront-public-site[data-visual-style="industrial_analog"] .rack-feature-module {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.46), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.storefront-public-site[data-visual-style="industrial_analog"] :is(.product-card, .spotlight-product-card, .spotlight-video-card, .catalog-feature, .rack-feature-module)::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 72%, transparent), rgba(255, 255, 255, 0.08));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.storefront-public-site[data-visual-style="industrial_analog"] .store-button,
.storefront-public-site[data-visual-style="industrial_analog"] .spotlight-demo-play,
.storefront-public-site[data-visual-style="industrial_analog"] .product-demo-play {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 0 18px color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 24%, transparent);
  text-transform: uppercase;
}

.storefront-public-site[data-visual-style="boutique_studio"] .spotlight-section,
.storefront-public-site[data-visual-style="boutique_studio"] .showcase-split,
.storefront-public-site[data-visual-style="boutique_studio"] .product-card,
.storefront-public-site[data-visual-style="boutique_studio"] .spotlight-product-card {
  padding-block: clamp(22px, 3.4vw, 38px);
}

.storefront-public-site[data-visual-style="boutique_studio"] :is(.storefront-site-actions, .spotlight-hero-actions, .product-card-footer) {
  gap: 14px;
}

.storefront-public-site[data-visual-style="boutique_studio"] :is(.product-card-media, .spotlight-product-media, .spotlight-hero-media, .showcase-video-thumb) img {
  border-radius: calc(var(--style-image-radius, 10px) - 2px);
}

.storefront-public-site[data-visual-style="underground_club"] .store-hero h1,
.storefront-public-site[data-visual-style="underground_club"] .catalog-masthead h1,
.storefront-public-site[data-visual-style="underground_club"] .rack-hero h1,
.storefront-public-site[data-visual-style="underground_club"] .editorial-opener h1,
.storefront-public-site[data-visual-style="underground_club"] .retail-shelf-hero h1,
.storefront-public-site[data-visual-style="underground_club"] .deal-hero h1 {
  text-transform: uppercase;
}

.storefront-public-site[data-visual-style="underground_club"] .product-card,
.storefront-public-site[data-visual-style="underground_club"] .spotlight-product-card,
.storefront-public-site[data-visual-style="underground_club"] .spotlight-video-card,
.storefront-public-site[data-visual-style="underground_club"] .showcase-video-tile {
  transform: rotate(-0.35deg);
}

.storefront-public-site[data-visual-style="underground_club"] :is(.product-card, .spotlight-product-card, .spotlight-video-card, .showcase-video-tile, .deal-price-card) {
  border-top: 4px solid var(--storefront-brand-color, var(--accent));
}

.storefront-public-site[data-visual-style="physical_retail"] .store-button,
.storefront-public-site[data-visual-style="physical_retail"] .spotlight-price,
.storefront-public-site[data-visual-style="physical_retail"] .product-price,
.storefront-public-site[data-visual-style="physical_retail"] .deal-price-card {
  box-shadow: 0 5px 0 rgba(15, 23, 42, 0.1);
}

.storefront-public-site[data-visual-style="physical_retail"] .product-card,
.storefront-public-site[data-visual-style="physical_retail"] .spotlight-product-card,
.storefront-public-site[data-visual-style="physical_retail"] .catalog-feature {
  border-width: 2px;
}

.storefront-public-site[data-visual-style="physical_retail"] :is(.spotlight-price, .catalog-price, .retail-price, .deal-price) {
  background: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 16%, #fff8ed);
  border: 1px solid color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 38%, rgba(15, 23, 42, 0.16));
  border-radius: var(--style-badge-radius, 4px);
  color: var(--style-text, #111827);
  justify-self: start;
  padding: 8px 10px;
}

.storefront-public-site[data-nav-mode="leftRail"] {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  grid-template-areas:
    "nav main";
}

.storefront-public-site[data-nav-mode="leftRail"] > :not(.storefront-left-rail) {
  grid-column: 2;
}

.storefront-left-rail {
  align-content: start;
  align-self: stretch;
  border-bottom: 0;
  border-right: 1px solid var(--style-line, rgba(148, 163, 184, 0.16));
  display: grid;
  gap: 18px;
  grid-area: nav;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  padding: 22px;
  position: sticky;
  top: 0;
}

.storefront-left-rail .storefront-site-brand,
.storefront-left-rail .storefront-site-links,
.storefront-left-rail .storefront-site-account {
  align-items: stretch;
  flex-direction: column;
  justify-content: start;
}

.storefront-floating-pill {
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  margin: 18px auto 0;
  max-width: min(1040px, calc(100% - 28px));
  position: sticky;
  top: 12px;
  z-index: 4;
}

.storefront-minimal-nav .storefront-site-links a:not(:last-child) {
  display: none;
}

.storefront-category-bar {
  align-items: stretch;
  grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.2fr) minmax(230px, auto);
}

.storefront-category-bar .storefront-site-links {
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
}

.storefront-utility-strip {
  align-items: center;
  background: rgba(2, 6, 12, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.16);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 12px;
  padding: 10px 14px;
}

.catalog-masthead,
.rack-hero,
.editorial-opener,
.retail-shelf-hero,
.deal-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  min-width: 0;
  padding: 34px;
}

.catalog-masthead h1,
.rack-hero h1,
.editorial-opener h1,
.retail-shelf-hero h1,
.deal-hero h1 {
  color: var(--style-text, #fff);
  font-size: 48px;
  line-height: 1;
  margin: 0;
  overflow-wrap: anywhere;
}

.catalog-masthead p,
.rack-hero p,
.editorial-opener p,
.retail-shelf-hero p,
.deal-hero p,
.catalog-deals p,
.editorial-story p,
.deal-contents p {
  color: var(--style-muted, #b8c3d2);
  line-height: 1.65;
  margin: 0;
}

.catalog-feature,
.rack-feature-module,
.editorial-product-spread,
.deal-price-card,
.retail-included article,
.catalog-deals,
.rack-detail,
.deal-contents,
.deal-checkout {
  background: var(--style-panel, rgba(7, 14, 24, 0.76));
  border: 1px solid var(--style-line, rgba(148, 163, 184, 0.16));
  border-radius: var(--style-radius, 8px);
}

.catalog-feature {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(120px, 0.44fr) minmax(0, 1fr);
  padding: 14px;
}

.catalog-feature-media,
.rack-module-media,
.rack-detail-media,
.editorial-opener-media,
.retail-box-media,
.deal-media {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(2, 6, 12, 0.44);
  border: 1px solid var(--style-line, rgba(148, 163, 184, 0.16));
  border-radius: var(--style-radius, 8px);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.catalog-feature-media img,
.rack-module-media img,
.rack-detail-media img,
.editorial-opener-media img,
.retail-box-media img,
.deal-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.catalog-chip-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 34px 18px;
}

.catalog-chip-bar a {
  background: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 12%, transparent);
  border: 1px solid var(--style-line, rgba(148, 163, 184, 0.16));
  border-radius: 999px;
  color: var(--style-text, #fff);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 11px;
}

.catalog-product-grid,
.retail-product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 340px));
  justify-content: start;
  padding: 0 34px 34px;
}

.catalog-deals,
.rack-detail,
.deal-contents,
.deal-checkout,
.editorial-story,
.editorial-more,
.retail-included {
  margin: 0 34px 34px;
  padding: 24px;
}

.rack-list {
  display: grid;
  gap: 10px;
  padding: 0 34px 34px;
}

.rack-module {
  align-items: center;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(3, 7, 18, 0.9));
  border: 1px solid var(--style-line, rgba(148, 163, 184, 0.22));
  border-radius: var(--style-radius, 4px);
  display: grid;
  gap: 14px;
  grid-template-columns: 48px 88px minmax(0, 1fr) minmax(160px, auto);
  padding: 12px;
}

.rack-module-index {
  color: color-mix(in srgb, var(--storefront-brand-color, var(--accent)) 78%, #fff);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.rack-module h2,
.catalog-feature h2,
.editorial-product-spread h2,
.retail-included h2,
.deal-contents h2 {
  color: var(--style-text, #fff);
  margin: 0;
}

.rack-module p,
.catalog-feature p {
  color: var(--style-muted, #b8c3d2);
  margin: 0;
}

.rack-module-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.rack-detail {
  display: grid;
  gap: 20px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.editorial-opener {
  align-items: end;
  min-height: 520px;
}

.editorial-opener-media {
  aspect-ratio: 4 / 5;
}

.editorial-story {
  border-left: 3px solid var(--storefront-brand-color, var(--accent));
  max-width: 820px;
}

.editorial-product-spread {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  margin: 0 34px 34px;
  padding: 26px;
}

.editorial-product-spread aside,
.deal-price-card {
  align-content: center;
  display: grid;
  gap: 12px;
}

.retail-shelf {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.retail-shelf article {
  background: var(--style-panel, #fff);
  border: 1px solid var(--style-line, rgba(15, 23, 42, 0.15));
  border-radius: var(--style-radius, 6px);
  display: grid;
  gap: 9px;
  padding: 12px;
}

.retail-included > div {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deal-hero {
  align-items: center;
  min-height: 560px;
}

.deal-price {
  color: var(--style-text, #fff);
  display: flex;
  flex-wrap: wrap;
  font-size: 34px;
  font-weight: 950;
  gap: 8px;
}

.deal-price small,
.catalog-price small,
.rack-price small,
.editorial-price small,
.retail-price small {
  color: var(--style-muted, #b8c3d2);
  font-size: 14px;
}

.storefront-feature-list {
  color: var(--style-muted, #b8c3d2);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.storefront-feature-list li {
  padding-left: 18px;
  position: relative;
}

.storefront-feature-list li::before {
  color: var(--storefront-brand-color, var(--accent));
  content: "+";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.brand-domain-layout {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  margin-top: 14px;
}

.brand-side-card,
.brand-dns-card,
.brand-sender-table-wrap,
.brand-email-dns {
  background: rgba(8, 13, 21, 0.34);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.brand-side-card {
  display: grid;
  gap: 12px;
}

.brand-field-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.brand-dns-card h3 {
  margin-bottom: 5px;
}

.brand-dns-table .store-copy-value,
.brand-sender-table .store-copy-value {
  width: 100%;
}

.brand-dns-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
}

.storefront-advanced {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 10px;
}

.storefront-advanced summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 850;
}

.brand-diagnostics-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.brand-diagnostics-list div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 8px 0;
}

.brand-sender-table input,
.brand-product-table input,
.brand-product-table select,
.brand-product-tools input,
.brand-product-tools select {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  min-height: 34px;
  padding: 7px 8px;
  width: 100%;
}

.brand-locked-domain {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.brand-table-actions {
  justify-content: end;
  margin-top: 10px;
}

.brand-email-dns {
  margin-top: 14px;
}

.brand-product-tools {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) 190px;
  margin: 12px 0;
}

.brand-product-cell {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-width: 0;
}

.brand-product-cell img,
.brand-product-cell > span:first-child {
  align-items: center;
  background: rgba(255, 106, 26, 0.12);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  display: flex;
  font-size: 10px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  object-fit: cover;
  width: 34px;
}

.brand-product-cell strong,
.brand-product-cell small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-product-cell small {
  color: var(--muted);
  font-size: 12px;
}

.brand-hidden-description {
  margin-top: 5px;
}

.store-toggle {
  align-items: center;
  background: rgba(148, 163, 184, 0.24);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 24px;
  padding: 2px;
  width: 44px;
}

.store-toggle span {
  background: var(--text);
  border-radius: 999px;
  display: block;
  height: 18px;
  transition: transform 0.16s ease;
  width: 18px;
}

.store-toggle.active {
  background: var(--accent);
  border-color: var(--accent);
}

.store-toggle.active span {
  background: #fff;
  transform: translateX(18px);
}

.brand-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-product-table {
  min-width: 1060px;
}

.brand-product-table th,
.brand-product-table td,
.brand-sender-table th,
.brand-sender-table td,
.brand-dns-table th,
.brand-dns-table td {
  padding: 9px 10px;
  vertical-align: middle;
}

.brand-product-table td:nth-child(2) {
  min-width: 210px;
}

.brand-product-table td:nth-child(6) {
  min-width: 190px;
}

@media (max-width: 1180px) {
  .showcase-hero,
  .showcase-split,
  .showcase-demo-center,
  .showcase-about-library,
  .showcase-library-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-category-grid,
  .showcase-product-grid,
  .showcase-trust,
  .showcase-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-overview,
  .brand-domain-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-status-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-checklist-table {
    border-left: 0;
    padding-left: 0;
  }

  .brand-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .storefront-public-site[data-nav-mode="leftRail"] {
    display: block;
  }

  .storefront-public-site[data-nav-mode="leftRail"] > :not(.storefront-left-rail) {
    grid-column: auto;
  }

  .storefront-left-rail {
    border-right: 0;
    min-height: 0;
    position: relative;
  }

  .storefront-floating-pill {
    border-radius: 8px;
    margin-top: 10px;
    position: relative;
    top: 0;
  }

  .storefront-category-bar,
  .storefront-site-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-site-links,
  .storefront-site-account,
  .storefront-utility-strip {
    justify-content: start;
  }

  .storefront-utility-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-masthead,
  .rack-hero,
  .editorial-opener,
  .retail-shelf-hero,
  .deal-hero,
  .editorial-product-spread,
  .rack-detail {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .catalog-masthead h1,
  .rack-hero h1,
  .editorial-opener h1,
  .retail-shelf-hero h1,
  .deal-hero h1 {
    font-size: 34px;
  }

  .catalog-product-grid,
  .retail-product-grid,
  .rack-list {
    padding: 0 20px 24px;
  }

  .catalog-deals,
  .rack-detail,
  .deal-contents,
  .deal-checkout,
  .editorial-story,
  .editorial-more,
  .retail-included,
  .editorial-product-spread {
    margin: 0 20px 24px;
  }

  .catalog-feature,
  .rack-module,
  .retail-shelf,
  .retail-included > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .rack-module-actions {
    justify-items: stretch;
  }

  .storefront-public-site[data-storefront-template="showcase"] .storefront-site-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-public-site[data-storefront-template="showcase"] .storefront-site-links,
  .storefront-public-site[data-storefront-template="showcase"] .storefront-site-account {
    justify-content: start;
  }

  .showcase-hero h1 {
    font-size: 34px;
  }

  .showcase-quick-access > div,
  .showcase-stats,
  .showcase-category-grid,
  .showcase-product-grid,
  .showcase-usecase-grid,
  .showcase-video-grid,
  .showcase-trust,
  .showcase-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-quick-tile {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .showcase-quick-tile .showcase-price {
    grid-column: 2;
  }

  .showcase-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .showcase-stats div:last-child {
    border-bottom: 0;
  }

  .showcase-section-header,
  .showcase-product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-about-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-about-card img,
  .showcase-about-card > .store-brand-mark {
    width: 112px;
  }

  .brand-page-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-header-actions,
  .brand-template-actions,
  .brand-table-actions {
    justify-content: stretch;
  }

  .brand-header-actions .store-button,
  .brand-template-actions .store-button,
  .brand-table-actions .store-button {
    justify-content: center;
    width: 100%;
  }

  .brand-status-strip,
  .brand-profile-summary,
  .brand-detail-grid,
  .brand-product-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-status-item,
  .brand-warning-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .brand-warning-row .store-button {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .brand-checklist-table > div {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    padding: 10px 0;
  }

  .brand-diagnostics-list div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* === Developer customers domain styles ===
 * Owner: public/store/modules/developer/customers.js
 */

.customer-hub-tabs,
.customer-hub-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.customer-hub-subtabs {
  margin-top: 4px;
}

.customer-hub-controls {
  align-items: end;
  background: rgba(15, 21, 32, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 0.32fr) auto auto auto auto;
  margin: 0 0 20px;
  padding: 14px;
}

.customer-hub-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.customer-hub-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(108px, 0.8fr) minmax(132px, 1fr) minmax(180px, 1.35fr) minmax(92px, 0.65fr) minmax(110px, 0.8fr) minmax(72px, 0.5fr);
  min-width: 0;
}

.customer-hub-table.serials [role="row"] {
  grid-template-columns: minmax(86px, 0.7fr) minmax(78px, 0.58fr) minmax(78px, 0.58fr) minmax(136px, 1.12fr) minmax(132px, 1.05fr) minmax(86px, 0.75fr) minmax(54px, 0.45fr) minmax(72px, 0.58fr) minmax(52px, 0.42fr) minmax(84px, 0.68fr) minmax(106px, 0.86fr);
  min-width: 0;
}

.customer-hub-table.purchases [role="row"] {
  grid-template-columns: minmax(112px, 0.9fr) minmax(74px, 0.55fr) minmax(104px, 0.8fr) minmax(170px, 1.3fr) minmax(150px, 1.12fr) minmax(72px, 0.5fr) minmax(82px, 0.58fr) minmax(96px, 0.72fr) minmax(104px, 0.78fr);
  min-width: 0;
}

.customer-hub-table.available [role="row"] {
  grid-template-columns: minmax(150px, 1.2fr) minmax(100px, 0.8fr) minmax(100px, 0.8fr) minmax(92px, 0.75fr) minmax(76px, 0.6fr) minmax(78px, 0.62fr) minmax(82px, 0.66fr) minmax(106px, 0.86fr);
  min-width: 0;
}

.customer-hub-table [role="columnheader"],
.customer-hub-table [role="cell"] {
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 12px;
}

.customer-hub-table [role="columnheader"] {
  background: rgba(202, 215, 232, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.customer-hub-table [role="row"]:last-child [role="cell"] {
  border-bottom: 0;
}

.customer-hub-table code {
  color: var(--accent);
  font-size: 12px;
}

.customer-copy-value {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  display: inline-block;
  font: inherit;
  letter-spacing: 0;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-copy-value.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.customer-copy-value:hover,
.customer-copy-value:focus-visible {
  color: #ff9b5f;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.customer-action-stack {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-hub-table [role="cell"][data-label="Actions"] {
  overflow: visible;
}

.customer-hub-table [role="cell"][data-label="Actions"] .store-button {
  min-height: 36px;
  padding-inline: 12px;
}

.customer-hub-pagination {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 0;
}

.customer-hub-pagination span,
.customer-serial-group > header span {
  color: var(--muted);
}

.customer-hub-section {
  margin-top: 20px;
}

.customer-import-panel {
  max-height: min(86vh, 760px);
  max-width: 860px;
  overflow-y: auto;
  width: min(100%, 860px);
}

.customer-import-panel h2 {
  font-size: 26px;
}

.customer-import-summary {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
  padding: 12px;
}

.customer-import-summary strong,
.customer-import-summary span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-import-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.customer-import-map {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-import-map-row {
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.customer-import-preview {
  display: grid;
  gap: 10px;
}

.customer-import-preview-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}

.customer-import-preview-table [role="row"] {
  display: grid;
  grid-auto-columns: minmax(130px, 1fr);
  grid-auto-flow: column;
  min-width: max-content;
}

.customer-import-preview-table [role="columnheader"],
.customer-import-preview-table [role="cell"] {
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 10px;
}

.customer-import-preview-table [role="columnheader"] {
  background: rgba(202, 215, 232, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.customer-import-preview-table [role="row"]:last-child [role="cell"] {
  border-bottom: 0;
}

.customer-import-actions {
  align-self: stretch;
  justify-content: end;
}

.customer-serial-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.customer-serial-group > header {
  align-items: center;
  background: rgba(202, 215, 232, 0.06);
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.customer-generator-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-generator-form .wide,
.customer-generator-form button {
  grid-column: 1 / -1;
}

.customer-generator-form textarea {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.customer-generator-result {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  margin-top: 16px;
  padding: 14px;
}

/* === Developer workspace page styles ===
 * Owner: public/store/modules/developer/workspace.js
 */

.workspace-metric-grid,
.workspace-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.workspace-metric {
  background: rgba(15, 21, 32, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.workspace-metric span,
.workspace-list span {
  color: var(--muted);
  font-size: 13px;
}

.workspace-metric strong {
  display: block;
  font-size: 28px;
  margin-top: 8px;
}

.workspace-metric p {
  color: var(--muted);
  line-height: 1.45;
  margin: 8px 0 0;
}

.workspace-two-column {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-section {
  min-width: 0;
}

.account-security-section {
  margin-bottom: 20px;
}

.workspace-security-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 16px;
}

.security-form {
  display: grid;
  gap: 12px;
}

.security-form .store-field {
  margin: 0;
}

.security-status-card {
  display: grid;
  gap: 12px;
}

.security-status-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.security-status-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  padding: 10px;
}

.security-status-list b {
  color: var(--muted);
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.security-two-factor-grid {
  margin-bottom: 16px;
}

.security-secret-box {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 10px;
}

.security-secret-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.security-secret-box code,
.recovery-code-grid code {
  background: rgba(202, 215, 232, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  overflow-wrap: anywhere;
  padding: 8px;
}

.recovery-code-panel {
  margin-top: 16px;
}

.recovery-code-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

@media (max-width: 780px) {
  .store-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .store-topbar-actions {
    flex-wrap: wrap;
  }

  .store-nav {
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .store-top-search {
    flex: 1 1 100%;
    grid-template-columns: minmax(0, 1fr) 40px;
    order: -1;
    width: 100%;
  }

  .store-icon-button,
  .theme-toggle {
    flex: 0 0 auto;
  }

  .marketplace-homepage-hero,
  .owner-homepage-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-homepage-hero {
    min-height: 0;
    padding: 22px;
  }

  .marketplace-hero-discount {
    height: 82px;
    right: 12px;
    top: 12px;
    width: 82px;
  }

  .marketplace-hero-discount strong {
    font-size: 26px;
  }

  .owner-homepage-preview {
    min-height: 0;
    position: static;
  }

  .owner-homepage-two {
    grid-template-columns: 1fr;
  }

  .marketplace-email-cta,
  .marketplace-email-form,
  .marketplace-footer nav {
    grid-template-columns: 1fr;
  }

  .workspace-security-grid,
  .security-two-factor-grid,
  .recovery-code-grid {
    grid-template-columns: 1fr;
  }

  .security-status-list {
    grid-template-columns: 1fr;
  }

  .security-secret-box {
    grid-template-columns: 1fr;
  }
}

.workspace-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}

.workspace-table [role="row"] {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.75fr 0.75fr 0.9fr 1fr;
  min-width: 860px;
}

.workspace-table [role="columnheader"],
.workspace-table [role="cell"] {
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 12px;
}

.workspace-table [role="columnheader"] {
  background: rgba(202, 215, 232, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.workspace-table [role="row"]:last-child [role="cell"] {
  border-bottom: 0;
}

.workspace-list {
  display: grid;
  gap: 10px;
}

.workspace-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.payout-hero {
  margin-top: 0;
}

.payout-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.payout-summary-grid .workspace-metric strong {
  font-size: clamp(20px, 1.7vw, 28px);
}

.payout-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.payout-status-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.payout-status-list div {
  align-items: center;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  min-height: 42px;
  padding: 10px 12px;
}

.payout-status-list dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.payout-status-list dd {
  margin: 0;
  min-width: 0;
  text-align: right;
}

.payout-activity-table [role="row"] {
  grid-template-columns: minmax(118px, 0.72fr) minmax(130px, 0.75fr) minmax(220px, 1.4fr) minmax(150px, 0.82fr) minmax(120px, 0.7fr) minmax(160px, 0.9fr);
  min-width: 900px;
}

.payout-deduction-table [role="row"] {
  grid-template-columns: minmax(118px, 0.72fr) minmax(110px, 0.65fr) minmax(210px, 1.35fr) minmax(140px, 0.78fr) minmax(120px, 0.7fr) minmax(220px, 1.25fr);
  min-width: 920px;
}

.payout-statement-table [role="row"] {
  grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(130px, 0.8fr)) minmax(120px, 0.72fr) minmax(118px, 0.72fr) minmax(90px, 0.55fr);
  min-width: 980px;
}

.payout-hold-list article {
  grid-template-columns: minmax(120px, 0.6fr) minmax(150px, 0.8fr) minmax(120px, 0.8fr) minmax(150px, 1fr) minmax(160px, 1fr);
}

.analytics-range-controls {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 18px;
  position: relative;
}

.analytics-custom-picker {
  position: relative;
}

.analytics-custom-picker summary {
  list-style: none;
}

.analytics-custom-picker summary::-webkit-details-marker {
  display: none;
}

.analytics-custom-range {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 18, 28, 0.18);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 8px;
  min-width: 240px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 100%;
  width: 280px;
  z-index: 20;
}

.analytics-custom-range label {
  display: grid;
  gap: 6px;
}

.analytics-custom-range span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.analytics-custom-range input {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 38px;
  padding: 8px 10px;
  width: 100%;
}

.analytics-chart-panel {
  overflow: hidden;
}

.analytics-chart-wide {
  margin-bottom: 16px;
}

.analytics-line-chart {
  display: block;
  height: auto;
  min-height: 190px;
  width: 100%;
}

.analytics-grid-line {
  fill: none;
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 1;
}

.analytics-line-fill {
  fill: rgba(20, 184, 166, 0.12);
  stroke: none;
}

.analytics-line {
  fill: none;
  stroke: #14b8a6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.analytics-line-point {
  fill: #f59e0b;
  stroke: var(--surface);
  stroke-width: 2;
}

.analytics-line-chart text {
  fill: var(--muted);
  font-size: 11px;
}

.analytics-bar-list {
  display: grid;
  gap: 12px;
}

.analytics-bar-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(92px, 1fr) minmax(120px, 2fr) minmax(72px, auto);
}

.analytics-bar-row span,
.analytics-bar-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.analytics-bar-row span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
}

.analytics-bar-row strong {
  color: var(--text);
  font-size: 13px;
  text-align: right;
}

.analytics-bar-track {
  background: rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.analytics-bar-track i {
  background: linear-gradient(90deg, #f59e0b, #14b8a6);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.analytics-donut-wrap {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 142px minmax(0, 1fr);
}

.analytics-donut {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  justify-items: center;
  position: relative;
}

.analytics-donut::after {
  background: var(--surface);
  border-radius: 50%;
  content: "";
  height: 62%;
  position: absolute;
  width: 62%;
}

.analytics-donut span {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.analytics-legend {
  display: grid;
  gap: 9px;
}

.analytics-legend span {
  align-items: center;
  color: var(--soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
}

.analytics-legend i {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.analytics-legend strong {
  color: var(--text);
  margin-left: auto;
}

.analytics-empty {
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  min-height: 150px;
  padding: 18px;
  text-align: center;
}

/* === SoundSync orange design system overrides === */

.store-app > :not(.developer-shell) {
  margin: 0 auto;
  max-width: 1220px;
  min-width: 0;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 4vw, 52px) 64px;
}

.product-card,
.product-detail-panel,
.developer-launch-center,
.developer-next-action,
.developer-empty-note,
.developer-form,
.developer-form-wrap,
.developer-wizard-hero,
.developer-wizard-sidebar,
.developer-wizard-card,
.developer-setup-steps li,
.developer-choice,
.developer-wizard-info-grid article,
.developer-wizard-note,
.developer-wizard-summary article,
.developer-channel-grid article,
.developer-product-preview,
.storefront-preview-panel,
.workspace-metric,
.workspace-list article,
.licensing-workspace-header,
.licensing-card,
.licensing-framework-choice,
.licensing-credential-history,
.licensing-step-list li,
.licensing-details-list details,
.command-kpi,
.command-money-list div,
.command-usage-list div,
.command-activity-list li,
.command-product-table [role="row"],
.developer-catalog-summary div,
.developer-catalog-card,
.developer-catalog-price div,
.customer-hub-controls,
.customer-serial-group,
.customer-generator-result {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
}

:root[data-theme="dark"] .store-topbar,
:root[data-theme="dark"] .developer-sidebar {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.store-link {
  color: var(--accent);
  font-weight: 800;
}

.status-pill,
.store-pill {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 34%, transparent);
  color: var(--success);
}

.status-pill.muted,
.store-pill {
  background: color-mix(in srgb, var(--muted) 10%, transparent);
  border-color: var(--line);
  color: var(--muted);
}

.status-pill.danger {
  background: var(--danger-soft);
  border-color: color-mix(in srgb, var(--danger) 35%, transparent);
  color: var(--danger);
}

.status-pill[data-marketplace-status="listed"],
.status-pill[data-product-status="published"],
.developer-catalog-issues span[data-product-issue="none"] {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 32%, transparent);
  color: var(--success);
}

.developer-catalog-issues span:not([data-product-issue="none"]) {
  background: var(--warning-soft);
  border-color: color-mix(in srgb, var(--warning) 32%, transparent);
  color: var(--warning);
}

input,
select,
textarea,
.developer-wizard input,
.developer-wizard select,
.developer-wizard textarea,
.developer-form input,
.developer-form select,
.developer-form textarea,
.storefront-product-controls input,
.storefront-product-controls select,
.customer-generator-form textarea {
  background: var(--input-bg);
  border-color: var(--line);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus,
.developer-wizard input:focus,
.developer-wizard select:focus,
.developer-wizard textarea:focus,
.developer-form input:focus,
.developer-form select:focus,
.developer-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.command-dashboard-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.money-setup-grid {
  align-items: start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.money-setup-grid > .command-panel {
  align-content: start;
  grid-template-rows: 86px minmax(0, 1fr) auto;
  min-height: 100%;
}

.money-setup-grid > .command-panel > .developer-section-header {
  align-items: flex-start;
  min-height: 86px;
}

.money-setup-grid > .command-panel > .store-button {
  align-self: end;
}

.command-kpi-grid {
  grid-template-columns: 1fr;
}

.command-kpi {
  min-height: 92px;
  padding: 16px;
}

.command-kpi::before {
  content: none;
}

.command-kpi strong {
  color: var(--text);
  font-size: 25px;
}

.dashboard-controls {
  align-items: end;
  display: grid;
  gap: 14px;
  justify-items: end;
}

.dashboard-ranges,
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.setup-status-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.setup-status-list li {
  align-items: center;
  color: var(--soft);
  display: flex;
  gap: 10px;
}

.setup-status-list strong,
.setup-status-list small {
  display: block;
}

.setup-status-list strong {
  color: var(--text);
  font-size: 14px;
}

.setup-status-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}

.setup-status-list span {
  align-items: center;
  background: var(--warning-soft);
  border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
  border-radius: 999px;
  color: var(--warning);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.setup-status-list .complete span {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 30%, transparent);
  color: var(--success);
}

.command-product-table {
  overflow-x: auto;
  max-width: 100%;
}

.command-product-table [role="row"] {
  min-width: 0;
  grid-template-columns: minmax(160px, 1.3fr) repeat(3, minmax(70px, 0.7fr)) minmax(80px, 0.7fr) minmax(88px, 0.7fr) minmax(105px, 0.8fr);
}

.developer-product-controls {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 240px) auto;
  margin-bottom: 20px;
  min-width: 0;
}

.search-field input {
  padding-left: 38px;
}

.search-field {
  position: relative;
}

.search-field::after {
  border: 2px solid var(--muted);
  border-radius: 999px;
  bottom: 13px;
  content: "";
  height: 12px;
  left: 13px;
  position: absolute;
  width: 12px;
}

.search-field::before {
  background: var(--muted);
  bottom: 12px;
  content: "";
  height: 2px;
  left: 25px;
  position: absolute;
  transform: rotate(45deg);
  width: 7px;
  z-index: 1;
}

.developer-catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  justify-content: start;
}

.developer-catalog-card {
  min-width: 0;
}

.developer-catalog-art {
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--surface-2) 88%, var(--accent)));
}

.developer-catalog-art.placeholder span {
  color: var(--accent);
}

.developer-catalog-art.placeholder::after {
  border-color: var(--accent-line);
}

.developer-catalog-meta {
  color: var(--muted);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 12px;
}

.developer-catalog-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer-catalog-meta b {
  color: var(--soft);
  display: block;
  font-size: 10px;
  text-transform: uppercase;
}

.developer-catalog-actions {
  align-items: center;
}

.developer-catalog-actions .store-link {
  margin-left: auto;
}

.customer-hub-controls {
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.6fr) auto auto auto auto;
  margin-bottom: 18px;
}

.marketing-overview div small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.marketing-two-column {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.marketing-builder,
.marketing-settings,
.marketing-suppressions,
.marketing-preview-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.marketing-builder-form,
.marketing-settings-form {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.marketing-builder-main,
.marketing-builder-form .wide,
.marketing-settings-form .wide,
.marketing-builder-form .checkout-note,
.marketing-builder-form .developer-actions,
.marketing-settings-form .checkout-note,
.marketing-settings-form .store-button,
.marketing-merge-tags {
  grid-column: 1 / -1;
}

.marketing-builder-main {
  display: grid;
  gap: 14px;
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-builder-main .wide,
.marketing-builder-main .checkout-note,
.marketing-builder-main .developer-actions,
.marketing-builder-main .marketing-merge-tags {
  grid-column: 1 / -1;
}

.marketing-builder-form textarea,
.marketing-settings-form textarea {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 120px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.marketing-merge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketing-merge-tags span,
.marketing-merge-tags button,
.marketing-editor-toolbar button {
  background: color-mix(in srgb, var(--muted) 10%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  padding: 6px 10px;
}

.marketing-preview-panel iframe {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 420px;
  width: 100%;
}

.marketing-live-preview {
  align-self: start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
  position: sticky;
  top: 12px;
}

.preview-toggle,
.marketing-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-toggle button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  min-height: 32px;
  padding: 0 10px;
}

.preview-toggle button.active,
.preview-toggle button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--text);
}

.marketing-preview-envelope p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 5px;
}

.marketing-email-preview-frame,
.marketing-plain-preview,
.marketing-rich-editor {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
}

.marketing-email-preview-frame,
.marketing-rich-editor {
  min-height: 260px;
  overflow: auto;
  padding: 14px;
}

.marketing-email-preview-frame[data-preview-mode="mobile"] {
  justify-self: center;
  max-width: 390px;
  width: 100%;
}

.marketing-rich-editor {
  line-height: 1.55;
}

.marketing-plain-preview {
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
}

.preview-email-shell {
  background: #10151f;
  border: 1px solid rgba(202, 215, 232, 0.16);
  border-radius: 8px;
  color: #e5edf8;
  padding: 18px;
}

.preview-email-shell img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin-bottom: 14px;
  max-width: 100%;
}

.preview-email-shell h3 {
  color: #fff;
  margin: 6px 0 12px;
}

.preview-preheader,
.preview-email-shell footer {
  color: #9aa9bc;
  font-size: 12px;
}

.preview-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  min-height: 38px;
  padding: 9px 14px;
  text-decoration: none;
}

.marketing-product-picker,
.marketing-import-mapping {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-product-picker label {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  display: flex;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
}

.marketing-file-drop {
  align-items: center;
  background: var(--surface-2);
  border: 1px dashed var(--accent-line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.marketing-file-drop input {
  max-width: 180px;
}

.marketing-import-preview {
  display: grid;
  gap: 12px;
}

.marketing-contact-table [role="row"] {
  grid-template-columns: minmax(220px, 1.3fr) minmax(160px, 1fr) minmax(120px, 0.7fr) minmax(140px, 0.8fr) minmax(150px, 0.8fr);
  min-width: 820px;
}

.marketing-import-table [role="row"] {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  min-width: 760px;
}

.marketing-overview {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.marketing-campaign-table [role="row"] {
  grid-template-columns: minmax(160px, 1fr) minmax(180px, 1.1fr) minmax(110px, 0.7fr) minmax(88px, 0.5fr) minmax(120px, 0.8fr) minmax(140px, 0.9fr) minmax(260px, 1.4fr);
  min-width: 1120px;
}

.owner-marketplace-campaign-table [role="row"] {
  grid-template-columns: minmax(170px, 1.1fr) minmax(190px, 1.15fr) minmax(105px, 0.65fr) minmax(96px, 0.55fr) minmax(130px, 0.8fr) minmax(150px, 0.9fr) minmax(230px, 1.25fr);
}

.owner-marketplace-campaign-table.is-compact [role="row"] {
  grid-template-columns: minmax(170px, 1.1fr) minmax(190px, 1.15fr) minmax(105px, 0.65fr) minmax(96px, 0.55fr) minmax(130px, 0.8fr) minmax(150px, 0.9fr);
  min-width: 900px;
}

.marketing-suppression-table [role="row"] {
  grid-template-columns: minmax(220px, 1.4fr) minmax(140px, 0.8fr) minmax(160px, 0.8fr);
  min-width: 640px;
}

.marketing-page-shell {
  display: grid;
  gap: 16px;
}

.marketing-page-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.marketing-page-header h1 {
  align-items: center;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  font-size: 28px;
  gap: 10px;
  letter-spacing: 0;
  margin: 4px 0 0;
}

.marketing-page-header h1 span {
  background: color-mix(in srgb, var(--muted) 13%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  padding: 4px 8px;
}

.marketing-safety-strip,
.marketing-builder-card,
.marketing-live-preview,
.marketing-ready-checks {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 86%, transparent));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.marketing-safety-strip {
  display: grid;
  gap: 0;
  overflow: visible;
}

.marketing-safety-grid {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(128px, 0.8fr) repeat(7, minmax(92px, 1fr));
  padding: 16px 18px;
}

.marketing-safety-grid > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.marketing-safety-grid small,
.marketing-safety-grid span:not(.marketing-safety-pill),
.marketing-safety-footer {
  color: var(--muted);
  font-size: 12px;
}

.marketing-safety-grid strong {
  color: var(--soft);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.owner-marketplace-email-safety .marketing-safety-grid {
  grid-template-columns: minmax(150px, 0.8fr) repeat(5, minmax(118px, 1fr));
}

.marketing-safety-title .store-eyebrow {
  margin: 0;
}

.marketing-safety-pill {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  width: max-content;
}

.marketing-safety-pill.success,
.marketing-ready-checks .success {
  background: rgba(31, 185, 111, 0.13);
  border-color: rgba(31, 185, 111, 0.28);
  color: #45d993;
}

.marketing-safety-pill.warning,
.marketing-ready-checks .warning {
  background: rgba(255, 183, 59, 0.12);
  border-color: rgba(255, 183, 59, 0.28);
  color: #ffb73b;
}

.marketing-safety-pill.danger,
.marketing-ready-checks .danger {
  background: rgba(255, 90, 59, 0.12);
  border-color: rgba(255, 90, 59, 0.28);
  color: #ff724f;
}

.marketing-safety-pill.info {
  background: rgba(64, 156, 255, 0.12);
  border-color: rgba(64, 156, 255, 0.28);
  color: #72b8ff;
}

.marketing-safety-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 18px;
}

.marketing-settings-details {
  position: relative;
}

.marketing-settings-details summary {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  list-style: none;
  padding: 9px 12px;
  white-space: nowrap;
}

.marketing-settings-details summary::-webkit-details-marker {
  display: none;
}

.marketing-settings-details[open] {
  flex-basis: 100%;
  grid-column: 1 / -1;
  width: 100%;
}

.marketing-settings-details[open] .marketing-settings-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  padding: 14px;
}

.marketing-page-shell .marketing-builder-form {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(520px, 1fr) minmax(380px, 0.58fr);
}

.owner-marketplace-email-page {
  min-width: 0;
}

.owner-marketplace-email-tabs {
  overflow-x: auto;
  padding-bottom: 2px;
}

.owner-marketplace-email-builder .marketing-builder-form {
  margin: 0;
}

.owner-marketplace-audience-cards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.owner-marketplace-audience-cards > div {
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 13px;
}

.owner-marketplace-audience-cards.roomy > div {
  min-height: 120px;
}

.owner-marketplace-audience-cards strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.1;
}

.owner-marketplace-audience-cards span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.owner-marketplace-email-form .checkout-note:not(.is-visible) {
  display: none;
}

.marketing-form-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.marketing-builder-card {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.marketing-builder-card h2,
.marketing-ready-checks h3 {
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0;
  margin: 0;
}

.marketing-date-grid,
.marketing-promo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-promo-grid .wide,
.marketing-settings-form .wide {
  grid-column: 1 / -1;
}

.marketing-product-filter {
  display: grid;
  gap: 10px;
}

.marketing-product-filter[hidden] {
  display: none;
}

.marketing-selected-products {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
}

.marketing-selected-products button {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--soft);
  cursor: pointer;
  font-size: 12px;
  min-height: 26px;
  padding: 4px 9px;
}

.marketing-selected-products > span {
  color: var(--muted);
  font-size: 12px;
}

.marketing-selected-muted {
  color: var(--muted);
}

.marketing-product-scroll {
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 302px;
  overflow: auto;
}

.marketing-product-row {
  align-items: center;
  background: color-mix(in srgb, var(--surface-2) 86%, transparent);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(190px, 1.25fr) minmax(110px, 0.7fr) minmax(90px, 0.5fr);
  min-height: 56px;
  padding: 8px 12px;
}

.marketing-product-row:last-child {
  border-bottom: 0;
}

.marketing-product-row input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.marketing-product-row:has(input:checked) {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
  color: var(--soft);
}

.marketing-product-row:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.marketing-product-head {
  background: var(--surface);
  color: var(--muted);
  cursor: default;
  font-size: 11px;
  font-weight: 850;
  grid-template-columns: minmax(190px, 1.25fr) minmax(110px, 0.7fr) minmax(90px, 0.5fr);
  min-height: 36px;
  padding-left: 50px;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.marketing-product-check {
  border: 1px solid var(--line);
  border-radius: 5px;
  display: block;
  height: 18px;
  width: 18px;
}

.marketing-product-row:has(input:checked) .marketing-product-check {
  background: var(--accent);
  border-color: var(--accent);
}

.marketing-product-row:has(input:checked) .marketing-product-check::after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  display: block;
  height: 9px;
  margin: 2px 0 0 6px;
  transform: rotate(45deg);
  width: 5px;
}

.marketing-product-title {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.marketing-product-title strong {
  color: var(--soft);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketing-product-filter .marketing-product-title {
  padding-left: 2px;
}

.marketing-product-title img,
.marketing-product-placeholder {
  border-radius: 6px;
  flex: 0 0 auto;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.marketing-product-placeholder {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  justify-content: center;
}

.marketing-list-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
}

.marketing-list-meta button {
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.marketing-featured-product-picker {
  display: grid;
  gap: 10px;
}

.marketing-featured-product-scroll {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 254px;
  overflow: auto;
  padding-right: 3px;
}

.marketing-featured-product-card {
  align-items: center;
  background: color-mix(in srgb, var(--surface-2) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 72px;
  padding: 10px;
  position: relative;
}

.marketing-featured-product-card input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.marketing-featured-product-card:has(input:checked) {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
  border-color: var(--accent-line);
}

.marketing-featured-product-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.marketing-featured-product-card:has(input:checked)::after {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  height: 9px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 9px;
}

.marketing-featured-product-card img,
.marketing-featured-placeholder {
  border-radius: 7px;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.marketing-featured-placeholder {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  justify-content: center;
}

.marketing-featured-product-card span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.marketing-featured-product-card strong,
.marketing-featured-product-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketing-featured-product-card strong {
  color: var(--soft);
  font-size: 13px;
}

.marketing-featured-product-card small {
  color: var(--muted);
  font-size: 12px;
}

.marketing-featured-product-card[hidden] {
  display: none;
}

.marketing-audience-estimate {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(130px, 0.8fr)) minmax(0, 1.4fr) auto;
  padding: 14px;
}

.marketing-audience-estimate > div {
  display: grid;
  gap: 2px;
}

.marketing-audience-estimate strong {
  color: var(--text);
  font-size: 24px;
}

.marketing-audience-estimate small,
.marketing-audience-estimate dt,
.marketing-audience-estimate dd {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.marketing-audience-estimate dl {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.marketing-estimate-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.marketing-estimate-icon.success {
  background: rgba(31, 185, 111, 0.12);
  color: #45d993;
}

.marketing-estimate-icon.danger {
  background: rgba(255, 90, 59, 0.12);
  color: #ff724f;
}

.marketing-upload-drop {
  align-items: center;
  background: var(--surface-2);
  border: 1px dashed var(--accent-line);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 13px;
}

.marketing-upload-drop input {
  max-width: 220px;
}

.marketing-upload-drop span {
  display: grid;
  gap: 3px;
}

.marketing-upload-drop small {
  color: var(--muted);
}

.marketing-email-content-card .marketing-rich-editor {
  min-height: 320px;
}

.marketing-ai-card .checkout-note {
  margin-bottom: 12px;
}

.marketing-ai-results {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.48);
  padding: 12px;
}

.marketing-ai-option-panel {
  display: grid;
  gap: 10px;
}

.marketing-ai-option-panel strong {
  color: #f8fafc;
  font-size: 0.88rem;
}

.marketing-ai-banner-preview {
  display: grid;
  gap: 10px;
}

.marketing-ai-banner-preview img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.marketing-right-rail {
  display: grid;
  gap: 14px;
  min-width: 0;
  position: sticky;
  top: 14px;
}

.marketing-live-preview {
  align-self: start;
  display: grid;
  gap: 13px;
  padding: 18px;
  position: static;
  top: auto;
}

.marketing-email-preview-frame {
  max-height: none;
  min-height: 620px;
  padding: 16px;
}

.preview-email-shell {
  background: #0c121b;
  border-color: rgba(202, 215, 232, 0.16);
  padding: 24px;
}

.preview-email-shell img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.preview-cta {
  justify-content: center;
  min-width: 210px;
}

.marketing-ready-checks {
  display: grid;
  gap: 0;
  padding: 18px;
}

.marketing-ready-checks h3 {
  margin-bottom: 10px;
}

.marketing-ready-checks > div:not(.marketing-before-send) {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 42px;
}

.marketing-ready-checks span {
  color: var(--soft);
  font-size: 13px;
}

.marketing-ready-checks strong {
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  padding: 3px 8px;
}

.marketing-before-send {
  border: 1px solid rgba(255, 183, 59, 0.42);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding: 14px;
}

.marketing-before-send strong {
  color: var(--text);
}

.marketing-before-send span {
  color: var(--muted);
  line-height: 1.5;
}

.marketing-action-bar {
  align-items: center;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 12px;
  display: flex;
  gap: 16px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 12px 14px;
  position: sticky;
  z-index: 5;
}

.marketing-action-bar > span {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
}

.marketing-action-bar i {
  background: #45d993;
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.marketing-action-bar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .marketing-safety-grid,
  .marketing-page-shell .marketing-builder-form {
    grid-template-columns: 1fr;
  }

  .owner-marketplace-email-safety .marketing-safety-grid,
  .owner-marketplace-audience-cards {
    grid-template-columns: 1fr;
  }

  .marketing-right-rail {
    position: static;
  }

  .marketing-email-preview-frame {
    min-height: 420px;
  }

  .marketing-audience-estimate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-audience-estimate dl,
  .marketing-audience-estimate .store-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .marketing-page-header,
  .marketing-safety-footer,
  .marketing-action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .marketing-page-header .developer-actions,
  .marketing-action-bar > div {
    width: 100%;
  }

  .marketing-page-header .developer-actions .store-button,
  .marketing-action-bar .store-button {
    flex: 1 1 100%;
    width: 100%;
  }

  .marketing-settings-details[open] .marketing-settings-form,
  .marketing-date-grid,
  .marketing-promo-grid,
  .marketing-audience-estimate,
  .marketing-audience-estimate dl {
    grid-template-columns: 1fr;
  }

  .marketing-product-row {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .marketing-product-row > span:nth-last-child(-n + 2),
  .marketing-product-head {
    display: none;
  }

  .marketing-featured-product-scroll {
    grid-template-columns: 1fr;
    max-height: 300px;
  }
}

.checkbox-field {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
}

.checkbox-field input {
  height: 18px;
  margin-top: 2px;
  min-height: 18px;
  width: 18px;
}

.marketing-opt-in-field {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
  padding: 12px;
}

.customer-hub-table,
.workspace-table {
  background: var(--surface);
  border-color: var(--line);
  max-width: 100%;
  overflow-x: hidden;
}

.customer-hub-table [role="row"] {
  grid-template-columns: minmax(108px, 0.8fr) minmax(132px, 1fr) minmax(180px, 1.35fr) minmax(92px, 0.65fr) minmax(110px, 0.8fr) minmax(72px, 0.5fr);
  min-width: 0;
}

.customer-hub-table.purchases [role="row"] {
  grid-template-columns: minmax(98px, 0.84fr) minmax(66px, 0.5fr) minmax(96px, 0.76fr) minmax(150px, 1.18fr) minmax(132px, 1fr) minmax(62px, 0.45fr) minmax(74px, 0.54fr) minmax(88px, 0.66fr) minmax(94px, 0.7fr);
  min-width: 0;
}

.dashboard-customer-table [role="row"] {
  min-width: 720px;
}

.customer-hub-table [role="columnheader"],
.customer-hub-table [role="cell"],
.workspace-table [role="columnheader"],
.workspace-table [role="cell"] {
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-hub-table [role="columnheader"],
.workspace-table [role="columnheader"] {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
}

.customer-hub-table [role="cell"],
.workspace-table [role="cell"] {
  color: var(--soft);
  font-size: 13px;
}

.truncate-cell {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.licensing-framework-selector.tools-hub-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tools-hub-card {
  min-height: 280px;
  padding: 26px 22px;
}

.tool-card-icon {
  color: var(--accent);
  display: inline-flex;
  margin-bottom: 16px;
}

.tool-card-icon svg {
  height: 42px;
  width: 42px;
}

.tools-helper-note {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
}

.tools-helper-note span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.checkout-note {
  background: var(--surface);
}

@keyframes store-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .storefront-public-site[data-storefront-template="spotlight"] .storefront-site-nav,
  .spotlight-hero,
  .spotlight-about-library {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-site-links,
  .storefront-site-account {
    justify-content: start;
  }

  .spotlight-highlight-grid,
  .spotlight-product-grid,
  .spotlight-trust-grid,
  .spotlight-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spotlight-demo-row {
    grid-template-columns: 38px minmax(120px, 0.9fr) minmax(86px, 0.4fr) minmax(130px, 1fr) 54px;
  }

  .spotlight-demo-product {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .storefront-public-site[data-storefront-template="spotlight"] {
    margin: 0;
    padding: 0;
  }

  .storefront-public-site[data-storefront-template="spotlight"] .storefront-site-nav,
  .storefront-site-brand,
  .storefront-site-links,
  .storefront-site-account,
  .spotlight-section-header,
  .spotlight-hero-purchase,
  .spotlight-about-card {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-site-brand,
  .storefront-site-links,
  .storefront-site-account,
  .spotlight-section-header {
    flex-direction: column;
  }

  .spotlight-hero {
    min-height: 0;
    padding: 28px 18px;
  }

  .spotlight-hero h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .spotlight-mini-trust,
  .spotlight-feature-list,
  .spotlight-video-grid,
  .spotlight-highlight-grid,
  .spotlight-product-grid,
  .spotlight-trust-grid,
  .spotlight-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spotlight-hero-actions {
    justify-content: start;
  }

  .spotlight-demo-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .spotlight-demo-row .store-pill,
  .spotlight-waveform {
    grid-column: 2 / -1;
  }

  .spotlight-demo-row time {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 520px) {
  .product-card.featured {
    grid-column: auto;
  }

  .marketplace-hero,
  .marketplace-main-promo,
  .marketplace-featured-deal,
  .marketplace-email-cta {
    padding: 18px;
  }

  .marketplace-hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .marketplace-hero-actions,
  .marketplace-promo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .marketplace-hero-actions .store-button,
  .marketplace-promo-actions .store-button {
    width: 100%;
  }

  .spotlight-mini-trust,
  .spotlight-video-grid,
  .spotlight-highlight-grid,
  .spotlight-product-grid,
  .spotlight-trust-grid,
  .spotlight-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .spotlight-hero-card,
  .spotlight-section,
  .spotlight-about-library {
    padding: 16px;
  }

  .spotlight-hero-card {
    padding: 0;
  }

  .spotlight-about-card > .store-brand-mark,
  .spotlight-about-card img {
    height: 96px;
    width: 96px;
  }
}

@media (max-width: 980px) {
  /* Responsive ownership marker: dashboard/products selectors remain in existing cascade order. */

  .store-hero,
  .marketplace-main-promo,
  .marketplace-featured-deal,
  .marketplace-email-cta,
  .product-detail,
  .developer-shell,
  .developer-row,
  .developer-key-row,
  .developer-wizard,
  .developer-wizard-hero,
  .marketplace-developer-hero,
  .marketplace-developer-info {
    grid-template-columns: 1fr;
  }

  .developer-sidebar,
  .developer-wizard-sidebar {
    position: static;
  }

  .store-summary {
    max-width: 260px;
  }

  .marketplace-section-header,
  .marketplace-email-cta {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .marketplace-carousel {
    grid-auto-columns: minmax(230px, 84vw);
  }

  /* Dashboard/products responsive grid styles. */

  .store-controls,
  .command-kpi-grid,
  .command-kpi-row,
  .command-two-column,
  .command-usage-grid,
  .command-attention-list,
  .workspace-metric-grid,
  .workspace-card-grid,
  .workspace-two-column,
  .customer-generator-form,
  .developer-metrics,
  .developer-catalog-grid,
  .developer-catalog-summary,
  .developer-launch-grid,
    .developer-check-grid,
    .developer-empty-grid,
    .developer-form-grid,
    .developer-file-fields,
    .developer-choice-grid,
    .developer-wizard-info-grid,
    .developer-wizard-summary,
    .developer-channel-grid,
    .developer-preview-layout,
    .integration-choice-grid,
    .storefront-product-row,
    .customer-hub-controls,
    .storefront-product-controls,
    .storefront-readiness .developer-launch-grid,
    .storefront-form .developer-form-grid,
    .email-sending-section .developer-form-grid,
    .email-sender-row,
    .marketing-two-column,
    .marketing-builder-form,
    .marketing-builder-main,
    .marketing-settings-form,
    .storefront-featured-product,
    .storefront-template-grid,
    .storefront-content-split,
    .storefront-template-hero.product-company,
    .storefront-catalog-row,
    .storefront-visibility-guide {
      grid-template-columns: 1fr 1fr;
  }

  .storefront-featured-copy {
    padding: 18px 18px 18px 0;
  }

  .store-actions {
    grid-column: 1 / -1;
  }

  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 340px));
  }

  .storefront-product-controls label:nth-child(4),
  .storefront-product-controls label:nth-child(5) {
    grid-column: auto;
  }

  .analytics-donut-wrap {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .payout-status-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .store-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .store-controls,
  .store-grid {
    grid-template-columns: 1fr;
  }

  /* Products responsive action styles. */

  .store-price-fields,
  .product-card-footer,
  .product-card-actions,
  .store-pagination,
  .developer-toolbar,
  .developer-section-header,
  .developer-actions,
  .developer-next-action,
  .developer-launch-list li,
  .developer-upload-row {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  /* Dashboard/products/licensing responsive grid styles. */

  .developer-stats,
  .developer-stats.stacked,
  .command-kpi-grid,
  .command-kpi-row,
  .command-two-column,
  .command-usage-grid,
  .command-attention-list,
  .workspace-metric-grid,
  .workspace-card-grid,
  .workspace-two-column,
  .customer-generator-form,
  .developer-metrics,
  .developer-catalog-grid,
  .developer-catalog-summary,
  .developer-catalog-price,
  .developer-launch-grid,
  .licensing-framework-selector,
  .licensing-credential-row,
  .licensing-product-grid,
  .developer-check-grid,
  .developer-empty-grid,
    .developer-form-grid,
    .developer-file-fields,
    .developer-choice-grid,
    .developer-wizard-info-grid,
    .developer-wizard-summary,
    .developer-channel-grid,
    .developer-preview-layout,
    .developer-wizard-path,
    .integration-choice-grid,
    .storefront-product-row,
    .customer-hub-controls,
    .storefront-product-controls,
    .storefront-readiness .developer-launch-grid,
    .storefront-form .developer-form-grid,
    .email-sending-section .developer-form-grid,
    .email-sender-row,
    .marketing-two-column,
    .marketing-builder-form,
    .marketing-builder-main,
    .marketing-settings-form,
    .storefront-featured-product,
    .storefront-template-grid,
    .storefront-content-split,
    .storefront-template-hero.product-company,
    .storefront-catalog-row,
    .storefront-visibility-guide,
    .store-grid.compact,
  .storefront-preview-panel {
    grid-template-columns: 1fr;
  }

  .storefront-site-metrics {
    grid-template-columns: 1fr;
  }

  .storefront-catalog-actions {
    align-items: stretch;
    justify-items: stretch;
  }

  .analytics-bar-row {
    grid-template-columns: 1fr;
  }

  .analytics-custom-range {
    left: 0;
    right: auto;
    width: min(280px, calc(100vw - 32px));
  }

  .analytics-bar-row strong {
    text-align: left;
  }

  .analytics-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .payout-hold-list article,
  .payout-status-list div {
    grid-template-columns: 1fr;
  }

  .payout-status-list dd {
    text-align: left;
  }

  .analytics-donut {
    width: 132px;
  }

  .storefront-featured-copy {
    padding: 0 16px 18px;
  }

  .storefront-featured-media {
    min-height: 180px;
  }

  .storefront-product-controls label:nth-child(4),
  .storefront-product-controls label:nth-child(5) {
    grid-column: auto;
  }

  .developer-setup-steps li {
    align-items: stretch;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .developer-setup-steps .status-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  /* Licensing domain responsive styles. */

  .licensing-flow-diagram {
    grid-template-columns: 1fr;
  }

  .licensing-flow-diagram b {
    text-align: center;
    transform: rotate(90deg);
  }

  .licensing-code-panel {
    height: 280px;
  }

  .api-doc-info-grid,
  .api-recipe-grid,
  .api-build-demo-grid,
  .api-demo-product-grid,
  .api-doc-filter-bar,
  .api-endpoint-meta,
  .api-copy-grid,
  .api-field-grid {
    grid-template-columns: 1fr;
  }

  .api-copy-row,
  .api-doc-field-list li {
    grid-template-columns: 1fr;
  }

  .api-endpoint-card summary {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button,
  .store-actions .store-button,
  .developer-wizard-actions .store-button {
    width: 100%;
  }

  .developer-wizard-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .library-file {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 1120px) {
  .developer-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .developer-sidebar {
    padding: 22px 16px;
  }

  .money-setup-grid,
  .dashboard-operations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .store-topbar {
    align-items: flex-start;
    gap: 14px;
  }

  .store-topbar-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .developer-shell {
    display: block;
  }

  .developer-sidebar {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 0;
    position: static;
  }

  .developer-help-card {
    align-self: auto;
  }

  .developer-main {
    padding: 28px 18px 48px;
  }

  .store-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-controls {
    justify-items: start;
  }

  .dashboard-ranges,
  .dashboard-actions {
    justify-content: flex-start;
  }

  .developer-product-controls,
  .customer-hub-controls,
  .command-dashboard-grid,
  .dashboard-operations-grid {
    grid-template-columns: 1fr;
  }

  .customer-hub-controls .store-button,
  .developer-product-controls .store-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .store-brand strong {
    font-size: 15px;
  }

  .store-nav {
    gap: 12px;
    overflow-x: auto;
    max-width: 100%;
  }

  .theme-toggle-icon {
    display: none;
  }

  .developer-sidebar {
    gap: 18px;
  }

  .developer-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-sidebar-nav .store-eyebrow {
    grid-column: 1 / -1;
  }

  .developer-sidebar a:not(.developer-help-card) {
    font-size: 13px;
  }

  .money-setup-grid,
  .developer-catalog-meta,
  .developer-catalog-price {
    grid-template-columns: 1fr;
  }

  .developer-catalog-actions .store-button,
  .developer-catalog-actions .store-link {
    flex: 1 1 auto;
    margin-left: 0;
  }

  .customer-hub-tabs .store-button,
  .customer-hub-subtabs .store-button,
  .dashboard-ranges .store-button,
  .dashboard-actions .store-button {
    flex: 1 1 auto;
  }
}

/* === Mobile platform hardening ownership: public/store customer, checkout, and developer mobile web === */
@media (max-width: 760px) {
  html,
  body,
  .store-app,
  .developer-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  button,
  .store-button,
  input,
  select,
  textarea {
    min-height: 44px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  pre,
  code {
    max-width: 100%;
  }

  pre {
    overflow-x: auto;
  }

  .store-topbar {
    position: sticky;
    top: 0;
  }

  .store-topbar-actions {
    align-items: stretch;
    display: grid;
    gap: 10px;
    width: 100%;
  }

  .store-nav {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .store-nav a {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 42px;
    padding: 10px 12px;
    text-align: center;
  }

  .store-topbar[data-store-chrome="storefront"] {
    gap: 10px;
    min-height: 0;
    padding: 10px 14px;
  }

  .store-topbar[data-store-chrome="storefront"] .store-brand {
    gap: 10px;
  }

  .store-topbar[data-store-chrome="storefront"] .store-brand-mark {
    height: 34px;
    width: 34px;
  }

  .store-topbar[data-store-chrome="storefront"] .store-brand-mark img {
    height: 28px;
    width: 28px;
  }

  .store-topbar[data-store-chrome="storefront"] .store-brand small {
    font-size: 10px;
    margin-top: 2px;
  }

  .store-topbar[data-store-chrome="storefront"] .store-topbar-actions {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: hidden;
    padding-bottom: 2px;
    width: 100%;
  }

  .store-topbar[data-store-chrome="storefront"] .store-nav {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .store-topbar[data-store-chrome="storefront"] .store-nav::-webkit-scrollbar {
    display: none;
  }

  .store-topbar[data-store-chrome="storefront"] .store-nav a {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  .store-topbar[data-store-chrome="storefront"] .theme-toggle {
    flex: 0 0 auto;
  }

  .store-topbar[data-store-chrome="storefront"] .theme-toggle-track {
    height: 22px;
    width: 40px;
  }

  .store-topbar[data-store-chrome="storefront"] .theme-toggle-track span {
    height: 16px;
    width: 16px;
  }

  :root[data-theme="dark"] .store-topbar[data-store-chrome="storefront"] .theme-toggle-track span {
    transform: translateX(18px);
  }

  .store-topbar[data-store-chrome="storefront"] .store-avatar {
    flex: 0 0 auto;
    font-size: 11px;
    height: 34px;
    width: 34px;
  }

  .developer-main {
    padding: 20px 14px 96px;
  }

  .developer-sidebar {
    border-bottom: 1px solid var(--line);
    gap: 14px;
    padding: 16px 14px;
  }

  .developer-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-sidebar-nav .store-eyebrow {
    grid-column: 1 / -1;
  }

  .developer-sidebar a:not(.developer-help-card) {
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 13px;
    justify-content: flex-start;
    min-height: 46px;
  }

  .developer-help-card {
    align-self: stretch;
  }

  .store-hero h1,
  .product-detail h1,
  .developer-hero h1 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .store-summary {
    max-width: none;
    width: 100%;
  }

  .customer-hub-table,
  .workspace-table,
  .command-product-table,
  .marketing-campaign-table,
  .marketing-suppression-table {
    border: 0;
    display: grid;
    gap: 12px;
    overflow: visible !important;
  }

  .customer-hub-table [role="row"],
  .customer-hub-table.serials [role="row"],
  .customer-hub-table.available [role="row"],
  .dashboard-customer-table [role="row"],
  .workspace-table [role="row"],
  .command-product-table [role="row"],
  .marketing-campaign-table [role="row"],
  .marketing-suppression-table [role="row"] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
    padding: 12px;
  }

  .customer-hub-table [role="row"]:first-child,
  .workspace-table [role="row"]:first-child,
  .command-product-table [role="row"]:first-child,
  .marketing-campaign-table [role="row"]:first-child,
  .marketing-suppression-table [role="row"]:first-child {
    display: none;
  }

  .customer-hub-table [role="cell"],
  .workspace-table [role="cell"],
  .command-product-table [role="cell"],
  .marketing-campaign-table [role="cell"],
  .marketing-suppression-table [role="cell"] {
    display: grid;
    gap: 5px;
    grid-template-columns: minmax(94px, 0.34fr) minmax(0, 1fr);
    min-width: 0 !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    padding: 0;
    text-overflow: initial !important;
    white-space: normal !important;
  }

  .customer-hub-table [role="cell"][data-label]::before,
  .workspace-table [role="cell"][data-label]::before,
  .command-product-table [role="cell"][data-label]::before,
  .marketing-campaign-table [role="cell"][data-label]::before,
  .marketing-suppression-table [role="cell"][data-label]::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .customer-hub-table [role="cell"] > *,
  .workspace-table [role="cell"] > *,
  .command-product-table [role="cell"] > *,
  .marketing-campaign-table [role="cell"] > *,
  .marketing-suppression-table [role="cell"] > * {
    min-width: 0;
  }

  .customer-hub-table [role="cell"][data-label="Actions"],
  .workspace-table [role="cell"][data-label="Actions"],
  .command-product-table [role="cell"][data-label="Actions"],
  .marketing-campaign-table [role="cell"][data-label="Actions"],
  .marketing-suppression-table [role="cell"][data-label="Actions"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-hub-table [role="cell"] .store-button,
  .workspace-table [role="cell"] .store-button,
  .command-product-table [role="cell"] .store-button,
  .marketing-campaign-table [role="cell"] .store-button {
    width: 100%;
  }

  .customer-hub-table code,
  .workspace-table code,
  .command-product-table code,
  .marketing-campaign-table code,
  .marketing-suppression-table code {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .customer-import-overlay {
    align-items: end;
    padding: 0;
  }

  .customer-import-panel {
    border-radius: 8px 8px 0 0;
    max-height: 92vh;
    max-width: none;
    width: 100%;
  }

  .customer-import-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-import-summary,
  .customer-import-actions {
    align-items: stretch;
    flex-direction: column;
  }

  /* Website Builder mobile ownership: keep branding, domain, DNS, and preview controls inside the viewport. */
  .storefront-form,
  .storefront-form *,
  .storefront-template-section,
  .storefront-template-section *,
  .storefront-domain-section,
  .storefront-domain-section *,
  .email-sending-section,
  .email-sending-section *,
  .email-dns-section,
  .email-dns-section *,
  .storefront-products,
  .storefront-products *,
  .storefront-preview,
  .storefront-preview * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .storefront-form .developer-form-section,
  .storefront-template-section,
  .storefront-domain-section,
  .email-sending-section,
  .email-dns-section,
  .storefront-products,
  .storefront-preview {
    overflow: hidden;
    padding: 14px;
  }

  .storefront-form .developer-section-header,
  .storefront-template-section .developer-section-header,
  .storefront-domain-section .developer-section-header,
  .email-sending-section .developer-section-header,
  .email-dns-section .developer-section-header {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .storefront-form .developer-field-actions,
  .storefront-template-section .developer-field-actions,
  .storefront-domain-section .developer-field-actions,
  .email-sending-section .developer-field-actions,
  .email-dns-section .developer-field-actions,
  .storefront-form .store-actions {
    align-items: stretch;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .storefront-form .store-button,
  .storefront-template-section .store-button,
  .storefront-domain-section .store-button,
  .email-sending-section .store-button,
  .email-dns-section .store-button,
  .storefront-products .store-button {
    justify-content: center;
    width: 100%;
  }

  .email-domain-row {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .email-sender-row {
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px;
  }

  .email-sender-purpose,
  .email-domain-lock {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .email-sender-purpose strong,
  .email-sender-purpose p,
  .email-domain-lock span {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: initial;
    white-space: normal;
  }

  .email-row-chevron {
    display: none;
  }

  .email-dns-section .developer-table-wrap {
    border: 0;
    overflow: visible;
  }

  .storefront-domain-section .developer-table-wrap {
    border: 0;
    overflow: visible;
  }

  .email-dns-section .developer-table,
  .email-dns-section .developer-table thead,
  .email-dns-section .developer-table tbody,
  .email-dns-section .developer-table tr,
  .email-dns-section .developer-table td,
  .storefront-domain-section .developer-table,
  .storefront-domain-section .developer-table thead,
  .storefront-domain-section .developer-table tbody,
  .storefront-domain-section .developer-table tr,
  .storefront-domain-section .developer-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .email-dns-section .developer-table,
  .storefront-domain-section .developer-table {
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .email-dns-section .developer-table thead,
  .storefront-domain-section .developer-table thead {
    display: none;
  }

  .email-dns-section .developer-table tr,
  .storefront-domain-section .developer-table tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
  }

  .email-dns-section .developer-table td,
  .storefront-domain-section .developer-table td {
    border: 0;
    display: grid;
    gap: 5px;
    grid-template-columns: minmax(94px, 0.34fr) minmax(0, 1fr);
    overflow-wrap: anywhere;
    padding: 7px 0;
    white-space: normal;
  }

  .email-dns-section .developer-table td[data-label]::before,
  .storefront-domain-section .developer-table td[data-label]::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .email-dns-section code,
  .storefront-domain-section code,
  .dns-copy-value code {
    max-width: none;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: initial;
    white-space: normal;
  }

  .dns-copy-cell {
    grid-template-columns: minmax(0, 1fr);
  }

  .dns-copy-button {
    justify-self: stretch;
  }

  .storefront-template-preview {
    max-height: none;
    overflow-x: hidden;
    padding: 10px;
  }

  .storefront-device-frame .storefront-template-preview {
    max-height: 560px;
    min-height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
  }

  .storefront-device-frame .storefront-template-preview .storefront-public-site {
    width: 100%;
  }

  .storefront-template-preview .storefront-public-site,
  .storefront-template-preview .storefront-public-hero,
  .storefront-template-preview .storefront-site-nav,
  .storefront-template-preview .storefront-content-band,
  .storefront-template-preview .storefront-content-split,
  .storefront-template-preview .showcase-hero,
  .storefront-template-preview .showcase-split,
  .storefront-template-preview .showcase-demo-center,
  .storefront-template-preview .showcase-about-library,
  .storefront-template-preview .showcase-about-card,
  .storefront-template-preview .showcase-library-card,
  .storefront-template-preview .storefront-catalog-row,
  .storefront-template-preview .store-grid,
  .storefront-template-preview .storefront-company-grid,
  .storefront-template-preview .showcase-category-grid,
  .storefront-template-preview .showcase-product-grid,
  .storefront-template-preview .showcase-usecase-grid,
  .storefront-template-preview .showcase-video-grid,
  .storefront-template-preview .showcase-trust,
  .storefront-template-preview .showcase-footer-grid,
  .storefront-template-preview .showcase-quick-access > div,
  .storefront-template-preview .showcase-stats,
  .storefront-template-preview .flow-hero,
  .storefront-template-preview .flow-stats,
  .storefront-template-preview .flow-goal-grid,
  .storefront-template-preview .flow-section-header,
  .storefront-template-preview .flow-path-grid,
  .storefront-template-preview .flow-stage-grid,
  .storefront-template-preview .flow-setup-steps,
  .storefront-template-preview .flow-product-row,
  .storefront-template-preview .storefront-site-metrics,
  .storefront-template-preview .storefront-site-actions,
  .storefront-template-preview .storefront-catalog-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .storefront-product-row,
  .storefront-product-controls,
  .storefront-visibility-guide,
  .storefront-featured-product,
  .storefront-template-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .storefront-featured-copy {
    padding: 0 0 14px;
  }

  .storefront-featured-media {
    min-height: 160px;
  }

  .developer-wizard-sidebar {
    border-right: 0;
  }

  .developer-wizard-actions {
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.16);
    left: 0;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    position: sticky;
    right: 0;
    z-index: 10;
  }

  .product-detail-panel {
    position: static;
  }

  .product-page {
    padding: 18px 14px 64px;
  }

  .product-hero-premium,
  .product-content-grid,
  .product-demos-card,
  .product-card-row,
  .product-description-feature-row,
  .product-highlight-grid,
  .product-included-grid,
  .product-spec-grid {
    grid-template-columns: 1fr;
  }

  .product-media-column {
    grid-template-columns: 1fr;
  }

  .product-media-stage,
  .product-media-thumbs {
    grid-column: 1;
  }

  .product-media-stage {
    grid-row: 1;
    height: auto;
    min-height: 0;
  }

  .product-media-thumbs {
    flex-direction: row;
    grid-row: 2;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 2px;
  }

  .product-media-thumb {
    flex-basis: 74px;
    height: 64px;
  }

  .product-buy-card,
  .product-content-side,
  .product-section-tabs {
    position: static;
  }

  .product-demo-panel + .product-demo-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-description-feature-row .product-page-card,
  .product-description-feature-row .product-page-card:first-child,
  .product-description-feature-row .product-page-card + .product-page-card {
    border-left: 1px solid var(--line);
    border-radius: 8px;
  }

  .product-identity {
    align-self: start;
  }

  .product-identity h1 {
    font-size: 32px;
  }

  .product-audio-row {
    align-items: stretch;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .product-audio-row small {
    grid-column: 2;
  }

  .auth-overlay {
    align-items: end;
    padding: 0;
  }

  .auth-panel {
    border-radius: 8px 8px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    width: 100%;
  }

  .library-file,
  .product-card-footer,
  .developer-catalog-actions,
  .store-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .library-file .store-button,
  .product-card-actions .store-button,
  .product-detail-panel .store-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .developer-sidebar-nav,
  .store-nav {
    grid-template-columns: 1fr;
  }

  .store-app > :not(.developer-shell) {
    padding-left: 14px;
    padding-right: 14px;
  }

  .store-hero,
  .developer-section-header,
  .dashboard-ranges,
  .dashboard-actions,
  .customer-hub-tabs,
  .customer-hub-subtabs {
    align-items: stretch;
  }
}
/* === Owner command center === */
.owner-shell .developer-main {
  gap: 18px;
}

.owner-sidebar .developer-sidebar-nav a {
  min-height: 38px;
}

.owner-hero {
  align-items: flex-start;
  gap: 18px;
}

.owner-search {
  display: flex;
  gap: 8px;
  align-items: center;
  width: min(100%, 430px);
}

.owner-search input {
  min-width: 0;
  flex: 1;
}

.owner-search-results {
  width: min(100%, 430px);
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.owner-search-results section + section {
  margin-top: 10px;
}

.owner-search-results ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.owner-search-results li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px solid var(--border-subtle);
}

.owner-section {
  margin-top: 0;
}

.owner-kpi-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.owner-kpi.risk {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.owner-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.owner-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.owner-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.owner-table th,
.owner-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.owner-table th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--surface-muted);
}

.owner-table tr:last-child td {
  border-bottom: 0;
}

.owner-homepage-builder {
  display: grid;
  gap: 18px;
}

.owner-homepage-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
}

.owner-homepage-fields,
.owner-homepage-ai,
.owner-homepage-rule-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.owner-homepage-fields label,
.owner-homepage-ai label {
  color: var(--soft);
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 7px;
  text-transform: uppercase;
}

.owner-homepage-fields input,
.owner-homepage-fields select,
.owner-homepage-fields textarea,
.owner-homepage-ai textarea {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 42px;
  padding: 10px 12px;
  text-transform: none;
  width: 100%;
}

.owner-homepage-fields select[multiple] {
  min-height: 138px;
}

.owner-homepage-fields small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.owner-promotion-fields {
  background: rgba(202, 215, 232, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.owner-homepage-fields textarea,
.owner-homepage-ai textarea {
  min-height: 104px;
  resize: vertical;
}

.owner-toggle-row {
  align-items: center;
  background: rgba(202, 215, 232, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex !important;
  gap: 10px !important;
  min-height: 44px;
  padding: 10px 12px;
  text-transform: none !important;
}

.owner-toggle-row input {
  min-height: auto;
  width: auto;
}

.owner-homepage-two {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owner-homepage-preview {
  align-content: center;
  background:
    linear-gradient(90deg, rgba(2, 6, 12, 0.98), rgba(9, 17, 27, 0.9)),
    radial-gradient(circle at 74% 30%, rgba(255, 106, 26, 0.2), transparent 30%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 14px;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  position: sticky;
  top: 96px;
}

.owner-homepage-preview-badge {
  background: linear-gradient(135deg, var(--accent), #ff3d00);
  border-radius: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  justify-self: start;
  padding: 8px 10px;
  text-transform: uppercase;
}

.owner-homepage-preview h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.98;
  margin: 0;
}

.owner-homepage-preview h2 span,
.owner-homepage-preview h2 b {
  display: block;
}

.owner-homepage-preview h2 b {
  color: var(--accent);
}

.owner-homepage-preview p {
  color: #c3ccd8;
  line-height: 1.6;
  margin: 0;
}

.owner-homepage-preview-actions,
.owner-homepage-ai-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.owner-homepage-preview-actions span {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  min-height: 38px;
  padding: 10px 12px;
}

.owner-homepage-preview-actions span:first-child {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.owner-homepage-preview-art {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #08101a, #151f2d);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: #dbe6f4;
  display: grid;
  justify-items: center;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}

.owner-homepage-preview-art img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.owner-homepage-preview-art em {
  background: rgba(2, 6, 12, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  bottom: 12px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  left: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  padding: 8px 10px;
  position: absolute;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-homepage-rules {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.owner-homepage-rule-card {
  background: rgba(202, 215, 232, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.owner-homepage-product-list {
  display: grid;
  gap: 8px;
}

.owner-homepage-product-list span {
  background: rgba(8, 13, 21, 0.42);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
}

.owner-homepage-product-list strong,
.owner-homepage-product-list small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-homepage-product-list small {
  color: var(--muted);
}

.owner-homepage-ai-results {
  display: grid;
  gap: 12px;
}

.owner-homepage-ai-prompt {
  background: rgba(2, 6, 12, 0.44);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-height: 180px;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
}

.owner-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.owner-link {
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 54%, transparent);
  text-underline-offset: 3px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease, background-color 0.16s ease;
}

.owner-link:hover {
  color: color-mix(in srgb, var(--accent-2) 82%, var(--text));
  text-decoration-color: currentColor;
}

.owner-link:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  text-decoration-color: currentColor;
}

.owner-link.external::after {
  content: "↗";
  display: inline-block;
  font-size: 0.78em;
  font-weight: 800;
  line-height: 1;
  margin-left: 5px;
  transform: translateY(-1px);
}

.owner-storefront-actions,
.owner-preview-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.owner-muted,
.owner-unavailable {
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
}

.owner-unavailable {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 0.82rem;
  font-weight: 650;
}

.owner-preview-notice {
  margin: 0;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 10px 12px;
}

.owner-admin-preview {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.owner-admin-preview .storefront-public-site {
  min-height: 70vh;
}

.owner-badge.owner,
.owner-badge.admin,
.owner-badge.ok,
.owner-badge.live {
  color: #166534;
  border-color: rgba(22, 101, 52, 0.25);
  background: rgba(34, 197, 94, 0.1);
}

.owner-badge.test,
.owner-badge.medium,
.owner-badge.monitoring {
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.12);
}

.owner-badge.risk,
.owner-badge.high,
.owner-badge.critical,
.owner-badge.missing {
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.32);
  background: rgba(239, 68, 68, 0.1);
}

.owner-config-grid {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
}

.owner-muted {
  margin: 14px 0 0;
  color: var(--muted);
}

.owner-support-group + .owner-support-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.owner-watchlist-form {
  display: grid;
  gap: 10px;
}

.owner-watchlist-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
}

.payment-issue-filters {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(120px, 0.8fr)) auto;
  min-width: min(100%, 860px);
}

.payment-issue-filters label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  min-width: 0;
}

.payment-issue-filters input,
.payment-issue-filters select {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 38px;
  padding: 0 10px;
  width: 100%;
}

.payment-issue-table td {
  vertical-align: top;
}

.payment-issue-details {
  min-width: 0;
}

.payment-issue-details summary {
  cursor: pointer;
  list-style: none;
}

.payment-issue-details summary::-webkit-details-marker {
  display: none;
}

.payment-issue-detail-grid {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  min-width: min(720px, 78vw);
  padding: 14px;
  white-space: normal;
}

.payment-issue-detail-grid h3 {
  font-size: 13px;
  margin: 0 0 8px;
}

.payment-issue-detail-grid p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.payment-issue-facts {
  display: grid;
  gap: 7px;
  margin: 0;
}

.payment-issue-facts div {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
}

.payment-issue-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-issue-facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.payment-issue-mini-list {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.payment-issue-mini-list li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding-top: 7px;
}

.payment-issue-mini-list span,
.payment-issue-table small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .website-builder-step-layout,
  .website-builder-card-grid,
  .website-builder-support-grid,
  .website-builder-email-grid,
  .website-builder-review-grid,
  .website-builder-advanced-grid,
  .website-builder-theme-grid,
  .website-builder-nav-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .website-builder-preview {
    position: static;
  }

  .website-builder-preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-kpi-row,
  .owner-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-issue-filters,
  .payment-issue-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .owner-kpi-row,
  .owner-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .owner-search {
    width: 100%;
    flex-wrap: wrap;
  }

  .owner-search button {
    width: 100%;
  }

  .payment-issue-filters {
    min-width: 0;
    width: 100%;
  }

  .payment-issue-filters .store-button {
    width: 100%;
  }

  .payment-issue-detail-grid {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .product-ai-tools-header,
  .product-ai-apply-grid,
  .product-link-upload-row,
  .storefront-ai-header,
  .storefront-ai-result-header,
  .storefront-ai-apply-grid,
  .operational-ai-result-header,
  .operational-ai-sections {
    grid-template-columns: 1fr;
  }

  .product-ai-tools-header span,
  .storefront-ai-header span,
  .storefront-ai-result-header span {
    justify-self: start;
  }

  .operational-ai-badges {
    justify-content: flex-start;
  }
}
