:root {
  --bg: #0b1320;
  --bg-soft: #101c2e;
  --panel: rgba(13, 24, 39, 0.82);
  --panel-strong: rgba(16, 28, 46, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f8efe8;
  --muted: #aeb8c8;
  --accent: #ff6b3d;
  --accent-soft: rgba(255, 107, 61, 0.18);
  --positive: #7ce5b8;
  --warning: #ffcc76;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-display: "Bahnschrift", "Trebuchet MS", sans-serif;
  --font-body: "Segoe UI Variable", "Franklin Gothic Medium", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 61, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(99, 203, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #08111b, #111d30 60%, #08141e);
  color: var(--text);
  font-family: var(--font-body);
}

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

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-a {
  top: -6rem;
  right: -6rem;
  background: rgba(255, 107, 61, 0.26);
}

.ambient-b {
  bottom: -8rem;
  left: -8rem;
  background: rgba(85, 197, 255, 0.18);
}

.app-frame {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  min-height: 100vh;
  padding: 1.5rem;
}

.sidebar,
.panel,
.topbar {
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.sidebar {
  position: sticky;
  top: 1.5rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14, 25, 41, 0.96), rgba(10, 18, 29, 0.85));
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-lockup h1,
.topbar h2,
.hero-copy h3,
.section-heading h3,
.storefront-hero h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), #ffd07b);
  color: #111;
  font-family: var(--font-display);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-list {
  display: grid;
  gap: 0.55rem;
}

.nav-button {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.nav-button.is-active {
  border-color: rgba(255, 107, 61, 0.28);
  background: var(--accent-soft);
}

.sidebar-card {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.campaign-stack,
.assist-stack {
  display: grid;
  gap: 0.8rem;
}

.campaign-item,
.assist-item {
  padding: 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(11, 20, 32, 0.76);
}

.topbar-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.88rem;
}

.badge-live {
  background: rgba(124, 229, 184, 0.15);
  color: #caffea;
}

.panel {
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}

.workspace-bar {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr) minmax(220px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.workspace-bar h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.workspace-bar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.workspace-switcher,
.workspace-meta {
  display: grid;
  gap: 0.8rem;
}

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

.workspace-button,
.workspace-stat {
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.workspace-button {
  color: var(--text);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.workspace-button:hover,
.workspace-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.workspace-button.is-active {
  border-color: rgba(255, 107, 61, 0.28);
  background: var(--accent-soft);
}

.workspace-button strong,
.workspace-stat strong {
  display: block;
  margin-bottom: 0.24rem;
}

.workspace-button span,
.workspace-stat span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.is-section-hidden {
  display: none !important;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 1rem;
  overflow: hidden;
}

.hero-copy {
  padding: 0.6rem 0.1rem;
}

.hero-copy h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  max-width: 11ch;
}

.hero-copy p {
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.primary-button,
.secondary-button,
.ghost-button {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.1rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), #ffb067);
  color: #171717;
  font-weight: 700;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.ghost-button {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.hero-visual {
  position: relative;
  padding: 1.25rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top, rgba(255, 107, 61, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart {
  display: flex;
  align-items: end;
  gap: 0.7rem;
  min-height: 220px;
  margin-top: 1rem;
}

.chart-bar {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 107, 61, 0.82));
  position: relative;
  transform-origin: bottom;
  animation: rise 650ms ease both;
}

.chart-bar span {
  position: absolute;
  inset: auto 50% calc(100% + 0.55rem);
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.8rem;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.85rem;
}

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

.seller-site-panel {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 208, 123, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(28, 17, 10, 0.96), rgba(16, 28, 46, 0.92) 58%, rgba(10, 24, 33, 0.95));
}

.seller-site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 1.7rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.seller-site-hero h3,
.seller-pricing-card h4,
.seller-benefit-card h4,
.testimonial-card h4,
.wizard-preview h4,
.wizard-step-card h4,
.profit-result-card h4 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.seller-site-hero-copy p,
.seller-benefit-card p,
.seller-pricing-card p,
.testimonial-card p,
.wizard-preview p,
.wizard-step-card p,
.profit-result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.seller-site-actions,
.seller-site-proof,
.seller-site-grid,
.seller-site-stack,
.wizard-step-list,
.wizard-preset-list,
.profit-results {
  display: grid;
  gap: 0.85rem;
}

.seller-site-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.seller-proof-card,
.seller-site-card,
.seller-benefit-card,
.seller-pricing-card,
.testimonial-card,
.wizard-preview,
.wizard-step-card,
.wizard-preset-button,
.profit-result-card {
  padding: 1rem 1.05rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.seller-site-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seller-proof-card strong,
.seller-benefit-card strong,
.seller-pricing-card strong,
.testimonial-card strong,
.wizard-preview strong,
.wizard-step-card strong,
.wizard-preset-button strong,
.profit-result-card strong {
  display: block;
  margin-bottom: 0.22rem;
}

.seller-proof-card span,
.seller-benefit-card span,
.seller-pricing-card span,
.testimonial-card span,
.wizard-preview span,
.wizard-step-card span,
.wizard-preset-button span,
.profit-result-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.setup-wizard-panel {
  overflow: hidden;
}

.wizard-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
}

.wizard-rail,
.wizard-workspace {
  display: grid;
  gap: 1rem;
}

.wizard-step-card.is-ready {
  box-shadow: inset 0 0 0 1px rgba(124, 229, 184, 0.16);
}

.wizard-step-card.is-pending {
  box-shadow: inset 0 0 0 1px rgba(255, 204, 118, 0.12);
}

.wizard-preset-button {
  color: var(--text);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.wizard-preset-button:hover,
.wizard-preset-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.wizard-preset-button.is-active {
  border-color: rgba(255, 107, 61, 0.28);
  background: var(--accent-soft);
}

.wizard-preview {
  background:
    linear-gradient(135deg, rgba(255, 107, 61, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.wizard-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.wizard-preview-card {
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.profit-results {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.profit-result-card[data-tone="warning"] {
  box-shadow: inset 0 0 0 1px rgba(255, 204, 118, 0.16);
}

.profit-result-card[data-tone="positive"] {
  box-shadow: inset 0 0 0 1px rgba(124, 229, 184, 0.16);
}

.launch-panel {
  overflow: hidden;
}

.launch-progress-shell,
.launch-preset-card {
  padding: 1.05rem 1.1rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.launch-progress-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.launch-progress-shell h4,
.launch-preset-card h4,
.launch-step-card h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.launch-progress-shell p,
.launch-step-card p,
.launch-preset-card p,
.offer-card p {
  color: var(--muted);
  line-height: 1.6;
}

.launch-progress-meter {
  display: grid;
  gap: 0.85rem;
}

.launch-progress-track {
  overflow: hidden;
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.launch-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ffd07b);
  transition: width 220ms ease;
}

.launch-progress-stats,
.launch-checklist,
.launch-preset-grid,
.preset-actions,
.offer-stack {
  display: grid;
  gap: 0.85rem;
}

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

.launch-mini-stat,
.launch-step-card,
.preset-button,
.offer-card {
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.launch-mini-stat strong,
.launch-step-card strong,
.preset-button strong,
.offer-card strong {
  display: block;
  margin-bottom: 0.24rem;
}

.launch-mini-stat span,
.launch-step-card span,
.preset-button span,
.offer-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.launch-checklist {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.launch-step-card {
  display: grid;
  gap: 0.85rem;
}

.launch-step-card.is-ready {
  box-shadow: inset 0 0 0 1px rgba(124, 229, 184, 0.16);
}

.launch-step-card.is-ready .step-state-badge {
  background: rgba(124, 229, 184, 0.14);
  color: #caffea;
}

.launch-step-card.is-pending .step-state-badge {
  background: rgba(255, 204, 118, 0.14);
  color: #ffe7bc;
}

.step-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.step-state-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  white-space: nowrap;
}

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

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

.preset-button {
  color: var(--text);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.preset-button:hover,
.preset-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.preset-button.is-active {
  border-color: rgba(255, 107, 61, 0.28);
  background: var(--accent-soft);
}

.offer-stack {
  margin-bottom: 0.9rem;
}

.seller-control-panel {
  overflow: hidden;
}

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

.seller-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.seller-actions,
.seller-task-list,
.seller-stock-list,
.catalog-view-row,
.order-summary-row,
.editor-command-row,
.editor-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.seller-action-button,
.task-chip,
.summary-pill {
  flex: 1 1 170px;
  min-width: 0;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.seller-action-button:hover,
.task-chip:hover,
.summary-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.seller-action-button strong,
.task-chip strong,
.summary-pill strong {
  display: block;
  margin-bottom: 0.2rem;
}

.seller-action-button span,
.task-chip span,
.summary-pill span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.stock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stock-item strong,
.editor-stat strong {
  display: block;
  margin-bottom: 0.2rem;
}

.stock-item span,
.editor-stat span,
.catalog-summary span,
.studio-tip span {
  color: var(--muted);
}

.metric-card {
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-card strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
}

.metric-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.metric-card[data-tone="positive"] {
  box-shadow: inset 0 0 0 1px rgba(124, 229, 184, 0.14);
}

.metric-card[data-tone="warning"] {
  box-shadow: inset 0 0 0 1px rgba(255, 204, 118, 0.16);
}

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

#catalogPanel,
#storefrontPanel {
  grid-column: span 8;
}

#ordersPanel,
#cartPanel {
  grid-column: span 4;
}

#composerPanel,
#studioPanel,
#websiteInspectorPanel,
#shippingPanel,
#profitPanel {
  grid-column: span 6;
}

#studioPanel.website-split-panel {
  grid-column: span 3;
}

#websiteInspectorPanel.website-split-panel {
  grid-column: span 3;
}

#storefrontPanel.website-split-panel {
  grid-column: span 6;
}

#studioPanel.website-editor-focused {
  grid-column: span 4;
}

#websiteInspectorPanel.website-editor-focused {
  grid-column: span 8;
}

#storefrontPanel.website-preview-focused {
  grid-column: span 12;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.catalog-view-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
}

.catalog-view-chip.is-active {
  background: var(--accent-soft);
  border-color: rgba(255, 107, 61, 0.26);
}

.catalog-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.search-shell,
.stack-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.82rem 0.95rem;
  resize: vertical;
}

input:not([type="checkbox"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255, 107, 61, 0.32);
  outline-offset: 2px;
}

.stack-form {
  display: grid;
  gap: 0.95rem;
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.action-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.compact-heading {
  margin-bottom: 0.75rem;
}

.compact-heading h4 {
  margin: 4px 0 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

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

.media-upload-card {
  padding: 14px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.media-preview {
  display: grid;
  place-items: center;
  min-height: 120px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.media-preview-large {
  min-height: 180px;
}

.media-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-placeholder {
  padding: 18px;
  color: var(--text-secondary);
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.theme-section-list,
.theme-section-stack,
.theme-hidden-section-list,
.theme-inspector-form {
  display: grid;
  gap: 12px;
}

.theme-section-group {
  display: grid;
  gap: 10px;
}

.theme-section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.theme-section-button,
.theme-add-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  text-align: left;
}

.theme-section-button:hover,
.theme-section-button.is-active,
.theme-add-button:hover {
  border-color: rgba(108, 99, 255, 0.24);
  background: rgba(108, 99, 255, 0.1);
}

.theme-section-button strong,
.theme-add-button strong {
  display: block;
  margin-bottom: 2px;
}

.theme-section-button span,
.theme-add-button span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.theme-add-button {
  justify-content: center;
  font-weight: 600;
}

.theme-section-controls {
  display: grid;
  gap: 6px;
}

.theme-icon-button {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}

.theme-icon-button:disabled {
  opacity: 0.45;
}

.mini-badge.is-muted {
  opacity: 0.65;
}

.compact-empty {
  padding: 14px;
  font-size: 12.5px;
}

.website-inspector-panel .section-heading {
  margin-bottom: 16px;
}

.inspector-group {
  display: grid;
  gap: 12px;
}

.inspector-toggle {
  margin-bottom: 4px;
}

.editor-context,
.studio-context {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#shippingPanel .studio-context,
#studioPanel .studio-context {
  margin-bottom: 1rem;
}

.editor-context-shell {
  display: grid;
  gap: 0.9rem;
}

.editor-stat {
  min-width: 0;
  flex: 1 1 130px;
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.studio-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 54px;
  padding: 0.82rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.checkbox-card span {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}

.toggle-input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--accent);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-shell {
  display: grid;
  gap: 0.8rem;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 120px 130px 110px minmax(200px, 1.2fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.table-row.is-selected {
  border-color: rgba(255, 107, 61, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 61, 0.18);
}

.table-row.table-head {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 0;
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.product-art,
.store-card-art {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #7fe8cf, #0d4039);
}

.product-art {
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 auto;
}

.product-art::after,
.store-card-art::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  mix-blend-mode: screen;
}

.product-meta strong,
.store-card-copy strong,
.cart-item strong,
.order-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.product-meta span,
.store-card-copy p,
.cart-item p,
.order-card p,
.activity-item p {
  margin: 0;
  color: var(--muted);
}

.price-stack {
  display: grid;
  gap: 0.2rem;
}

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

.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.8rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.status-pill.active,
.status-pill.paid,
.status-pill.delivered {
  background: rgba(124, 229, 184, 0.14);
  color: #caffea;
}

.status-pill.packed,
.status-pill.ready-to-ship {
  background: rgba(99, 203, 255, 0.14);
  color: #caebff;
}

.status-pill.draft,
.status-pill.warning {
  background: rgba(255, 204, 118, 0.14);
  color: #ffe7bc;
}

.status-pill.archived {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.order-list,
.activity-list,
.cart-items {
  display: grid;
  gap: 0.85rem;
}

.order-card,
.activity-item,
.cart-item {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.order-meta,
.cart-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.activity-item[data-tone="positive"] {
  border-color: rgba(124, 229, 184, 0.18);
}

.activity-item[data-tone="warning"] {
  border-color: rgba(255, 204, 118, 0.18);
}

.storefront-panel {
  position: relative;
  overflow: hidden;
  transition: width 180ms ease, transform 180ms ease;
}

.storefront-header {
  margin-bottom: 1rem;
}

.preview-section {
  position: relative;
}

.preview-section.is-selected::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 2px solid rgba(108, 99, 255, 0.7);
  pointer-events: none;
}

.storefront-simple-section {
  padding: 0;
}

.storefront-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-align: center;
  font-size: 13px;
}

.storefront-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.storefront-site-header {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.storefront-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.storefront-brand-lockup strong {
  display: block;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
}

.storefront-brand-lockup p {
  margin: 2px 0 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.storefront-nav-links,
.storefront-header-actions,
.storefront-footer-links,
.storefront-footer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.storefront-nav-links {
  justify-content: center;
  flex: 1;
}

.storefront-nav-links span,
.storefront-footer-links span,
.storefront-footer-meta span {
  color: var(--text-secondary);
  font-size: 13px;
}

.storefront-logo-image,
.storefront-logo-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}

.storefront-logo-image {
  display: block;
  object-fit: cover;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.storefront-logo-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.storefront-image-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 360px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-card);
}

.storefront-image-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-image);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.storefront-banner-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 20, calc(var(--banner-overlay) * 0.7)), rgba(8, 10, 20, var(--banner-overlay)));
}

.storefront-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: min(100%, 520px);
}

.storefront-banner-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.storefront-banner-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.storefront-image-banner[data-banner-height="small"] {
  min-height: 260px;
}

.storefront-image-banner[data-banner-height="medium"] {
  min-height: 320px;
}

.storefront-image-banner[data-banner-height="large"] {
  min-height: 420px;
}

.storefront-image-banner[data-banner-position="top-left"] {
  align-items: flex-start;
  justify-content: flex-start;
}

.storefront-image-banner[data-banner-position="top-center"] {
  align-items: flex-start;
  justify-content: center;
}

.storefront-image-banner[data-banner-position="middle-left"] {
  align-items: center;
  justify-content: flex-start;
}

.storefront-image-banner[data-banner-position="middle-center"] {
  align-items: center;
  justify-content: center;
}

.storefront-image-banner[data-banner-position="bottom-left"] {
  align-items: flex-end;
  justify-content: flex-start;
}

.storefront-image-banner[data-banner-position="bottom-center"] {
  align-items: flex-end;
  justify-content: center;
}

.storefront-image-banner[data-banner-align="left"] .storefront-banner-content {
  text-align: left;
  justify-items: start;
}

.storefront-image-banner[data-banner-align="center"] .storefront-banner-content {
  text-align: center;
  justify-items: center;
}

.storefront-image-banner[data-banner-align="right"] .storefront-banner-content {
  text-align: right;
  justify-items: end;
}

.storefront-hero {
  padding: 1.25rem;
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(255, 107, 61, 0.18), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.storefront-hero p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
}

.storefront-panel[data-theme="minimal-catalog"] .storefront-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.storefront-panel[data-theme="drop-launch"] .storefront-hero {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.22), rgba(255, 107, 61, 0.08));
}

.storefront-panel[data-theme="lifestyle-grid"] .storefront-hero {
  background: linear-gradient(135deg, rgba(68, 198, 167, 0.18), rgba(255, 255, 255, 0.02));
}

.storefront-panel[data-preview-device="mobile"] {
  width: min(100%, 430px);
  justify-self: center;
}

.storefront-panel[data-preview-device="mobile"] .storefront-brand-bar {
  align-items: flex-start;
  flex-direction: column;
}

.storefront-panel[data-preview-device="mobile"] .storefront-site-header {
  padding: 14px;
}

.storefront-panel[data-preview-device="mobile"] .storefront-nav-links {
  justify-content: flex-start;
}

.storefront-panel[data-preview-device="mobile"] .storefront-grid,
.storefront-panel[data-preview-device="mobile"] .storefront-feature-strip,
.storefront-panel[data-preview-device="mobile"] .faq-grid {
  grid-template-columns: 1fr;
}

.storefront-panel[data-preview-device="mobile"] .storefront-image-banner {
  min-height: 360px;
  padding: 22px;
}

.storefront-sections {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.storefront-feature-strip,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.storefront-feature-card,
.storefront-story-card,
.faq-card,
.storefront-collection-intro {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.storefront-feature-card strong,
.faq-card strong {
  display: block;
  margin-top: 0.45rem;
}

.storefront-story-card p,
.faq-card p,
.storefront-section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.storefront-section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.storefront-section-heading h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.storefront-collection-intro {
  margin-bottom: 1rem;
}

.storefront-featured-section,
.storefront-footer-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.storefront-footer-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.storefront-footer-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.storefront-footer-links {
  gap: 10px;
}

.storefront-footer-links span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.storefront-footer-meta {
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.storefront-banner-media {
  overflow: hidden;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 16 / 7;
}

.storefront-banner-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.filter-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filter-row:empty,
.storefront-collection-intro:empty,
.storefront-grid:empty,
.storefront-sections:empty {
  display: none;
  margin: 0;
}

.filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
}

.filter-chip.is-active {
  background: var(--accent-soft);
  border-color: rgba(255, 107, 61, 0.26);
}

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

.store-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.store-card-art {
  min-height: 170px;
}

.store-card-copy {
  display: grid;
  gap: 0.55rem;
}

.store-card-footer,
.cart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ghost-inline {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.danger-inline {
  border-color: rgba(255, 123, 123, 0.18);
  color: #ffc6c6;
}

.summary-pill {
  flex: 1 1 110px;
}

.cart-item {
  display: grid;
  gap: 0.75rem;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.quantity-controls button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.empty-state {
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: center;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

#websiteEditorToolbar,
#studioPanel,
#websiteInspectorPanel,
#storefrontPanel {
  border-color: #d7dbe5;
  background: #f4f5f8;
  box-shadow: none;
  backdrop-filter: none;
  color: #1f2430;
}

#websiteEditorToolbar {
  padding: 10px 12px;
  border-radius: 16px;
}

#websiteEditorToolbar .toolbar-toggle,
#websiteEditorToolbar .secondary-button,
#websiteInspectorPanel .secondary-button,
#websiteInspectorPanel .ghost-button,
#websiteInspectorPanel .file-button,
#storefrontPanel .primary-button,
#storefrontPanel .secondary-button {
  background: #fff;
  color: #1f2430;
  border-color: #d7dbe5;
  box-shadow: none;
}

#websiteEditorToolbar .toolbar-toggle.is-active,
#websiteEditorToolbar .toolbar-toggle:hover {
  background: #edf3ff;
  color: #2d6cdf;
  border-color: #bad0ff;
}

#studioPanel,
#websiteInspectorPanel {
  padding: 0;
  overflow: hidden;
}

#studioPanel.website-split-panel {
  order: 1;
}

#storefrontPanel.website-split-panel {
  order: 2;
}

#websiteInspectorPanel.website-split-panel {
  order: 3;
}

#studioPanel .section-heading,
#websiteInspectorPanel .section-heading {
  margin: 0;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #e1e5ee;
  background: #fff;
}

#studioPanel .section-heading h3,
#websiteInspectorPanel .section-heading h3,
#studioPanel .compact-heading h4,
#websiteInspectorPanel .compact-heading h4 {
  color: #1f2430;
}

#studioPanel .eyebrow,
#websiteInspectorPanel .eyebrow {
  color: #7c8190;
}

#studioPanel .badge,
#websiteInspectorPanel .badge {
  background: #eef1f6;
  color: #5b6270;
  border: 1px solid #dde2eb;
}

#studioPanel .studio-context {
  display: none;
}

#studioPanel .theme-section-list,
#studioPanel .theme-structure-group {
  padding: 16px 16px 0;
}

#studioPanel .theme-structure-group {
  padding-bottom: 16px;
  border-top: 1px solid #e1e5ee;
}

#websiteInspectorPanel .theme-inspector-form {
  padding: 16px;
  gap: 16px;
}

#websiteInspectorPanel .inline-fields {
  grid-template-columns: 1fr;
}

#websiteInspectorPanel label,
#websiteInspectorPanel label span,
#websiteInspectorPanel .form-note {
  color: #6b7080;
}

#websiteInspectorPanel input:not([type="checkbox"]),
#websiteInspectorPanel select,
#websiteInspectorPanel textarea {
  background: #fff;
  color: #1f2430;
  border: 1px solid #d7dbe5;
  border-radius: 10px;
  padding: 10px 12px;
}

#websiteInspectorPanel .checkbox-card,
#websiteInspectorPanel .media-upload-card {
  background: #fff;
  border-color: #d7dbe5;
  color: #1f2430;
}

#websiteInspectorPanel .media-preview {
  background: #f6f7fa;
  border-color: #d7dbe5;
}

#websiteInspectorPanel .inspector-group {
  padding-bottom: 14px;
  border-bottom: 1px solid #e6e8ef;
}

#websiteInspectorPanel .inspector-group:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.theme-section-group .eyebrow {
  margin-bottom: 2px;
  color: #7c8190;
  font-size: 10px;
  font-weight: 700;
}

.theme-section-button {
  align-items: flex-start;
  padding: 10px 12px;
  border-color: transparent;
  background: transparent;
  border-radius: 10px;
}

.theme-section-button:hover {
  background: #fff;
  border-color: #d7dbe5;
}

.theme-section-button.is-active {
  background: #fff;
  border-color: #c8d7fb;
  box-shadow: inset 3px 0 0 #2d6cdf;
}

.theme-section-button strong,
.theme-section-button span,
.theme-add-button,
.theme-icon-button {
  color: #1f2430;
}

.theme-section-button span,
.theme-add-button span {
  color: #697081;
}

.theme-add-button {
  background: #fff;
  border: 1px dashed #c6d5fb;
  color: #2d6cdf;
}

.theme-add-button:hover {
  background: #edf3ff;
  border-color: #bad0ff;
}

.theme-icon-button {
  background: #fff;
  border-color: #d7dbe5;
}

.theme-preview-shell {
  padding: 12px;
  min-height: 100%;
  border-radius: 18px;
  background: #eceef4;
}

.theme-preview-page {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid #d9dee8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

#storefrontPanel {
  padding: 10px;
  background: #eef1f6;
}

#storefrontPanel .storefront-header,
#storefrontPanel .storefront-sections,
#storefrontPanel .storefront-grid,
#storefrontPanel .storefront-collection-intro {
  margin: 0;
}

#storefrontPanel .preview-section {
  margin: 0;
}

.preview-section.is-selected::after {
  inset: -2px;
  border-color: #2d6cdf;
  border-radius: 16px;
}

.preview-section-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 8px;
  background: #2d6cdf;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.storefront-announcement-bar {
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid #ebeef4;
  border-radius: 18px 18px 0 0;
  background: #fff;
  color: #384050;
  font-size: 12px;
}

.storefront-site-header {
  padding: 16px 18px;
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid #ebeef4;
  border-radius: 0;
  background: #fff;
}

.storefront-brand-lockup strong,
.storefront-feature-card strong,
.storefront-footer-card strong,
.store-card-copy strong,
.faq-card strong,
.storefront-section-heading h4 {
  color: #1f2430;
}

.storefront-brand-lockup p,
.storefront-nav-links span,
.storefront-footer-links span,
.storefront-footer-meta span,
.store-card-copy p,
.storefront-story-card p,
.faq-card p,
.storefront-section-heading p,
.storefront-footer-card p {
  color: #636b7c;
}

.storefront-logo-image {
  background: #fff;
  border-color: #d7dbe5;
}

.storefront-logo-fallback {
  background: #f3f5f9;
  color: #1f2430;
  border: 1px solid #d7dbe5;
}

.storefront-header-actions {
  gap: 10px;
}

.storefront-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #d7dbe5;
  color: #2d3340;
  background: #fff;
}

.storefront-header-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.storefront-image-banner {
  border-radius: 0 0 18px 18px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(74, 86, 126, 0.05), rgba(74, 86, 126, 0.02)),
    #d9c9bd;
}

.storefront-image-banner::before {
  background-color: #cdb29e;
}

.storefront-banner-backdrop {
  background: linear-gradient(180deg, rgba(18, 23, 36, calc(var(--banner-overlay) * 0.55)), rgba(18, 23, 36, var(--banner-overlay)));
}

.storefront-banner-content .mini-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.storefront-banner-content .secondary-button {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.storefront-feature-card,
.storefront-story-card,
.faq-card,
.storefront-featured-section,
.storefront-footer-card,
.store-card {
  background: #fff;
  border-color: #e2e5ec;
}

.storefront-featured-section,
.storefront-footer-card {
  padding: 18px;
}

.storefront-footer-links span {
  background: #f3f5f9;
}

.storefront-grid {
  padding: 0 18px 18px;
}

.store-card-art {
  min-height: 160px;
}

.store-card-footer .primary-button {
  background: #1f2430;
  color: #fff;
  border-color: #1f2430;
}

.storefront-sections {
  gap: 14px;
  padding: 18px;
}

.storefront-feature-strip,
.faq-grid {
  gap: 14px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: scaleY(0.2);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 1180px) {
  .app-frame {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

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

  .workspace-bar,
  .seller-site-hero,
  .seller-site-proof,
  .seller-site-grid,
  .wizard-shell,
  .profit-results,
  .launch-progress-shell,
  .launch-preset-grid,
  .launch-checklist {
    grid-template-columns: 1fr;
  }

  .workspace-switcher,
  .seller-site-actions,
  .wizard-preview-grid,
  .launch-progress-stats,
  .preset-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-control-grid {
    grid-template-columns: 1fr;
  }

  #catalogPanel,
  #ordersPanel,
  #composerPanel,
  #studioPanel,
  #shippingPanel,
  #profitPanel,
  #storefrontPanel,
  #cartPanel {
    grid-column: span 12;
  }
}

@media (max-width: 800px) {
  .app-frame {
    padding: 1rem;
  }

  .topbar,
  .hero-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .metrics-grid,
  .workspace-switcher,
  .seller-site-actions,
  .seller-site-proof,
  .seller-site-grid,
  .wizard-preview-grid,
  .profit-results,
  .storefront-feature-strip,
  .faq-grid,
  .storefront-grid,
  .launch-progress-stats,
  .launch-checklist,
  .launch-preset-grid,
  .preset-actions,
  .inline-fields,
  .table-row {
    grid-template-columns: 1fr;
  }

  .seller-actions,
  .seller-task-list,
  .seller-stock-list,
  .catalog-view-row,
  .order-summary-row,
  .editor-command-row,
  .editor-stat-row,
  .table-actions,
  .action-row {
    flex-direction: column;
  }

  .topbar {
    align-items: flex-start;
  }

  .table-row.table-head {
    display: none;
  }

  .table-row {
    gap: 0.5rem;
  }
}

:root {
  --bg-base: #0a0c14;
  --bg-panel: #0f1220;
  --bg-card: #141726;
  --bg-hover: #1a1f32;
  --border: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.04);
  --panel: rgba(15, 18, 32, 0.96);
  --panel-strong: rgba(20, 23, 38, 0.98);
  --line: rgba(255, 255, 255, 0.07);
  --text: #e8eaf6;
  --muted: #7b829e;
  --text-primary: #e8eaf6;
  --text-secondary: #7b829e;
  --text-muted: #464d6a;
  --accent: #6c63ff;
  --accent-soft: rgba(108, 99, 255, 0.14);
  --accent-glow: rgba(108, 99, 255, 0.25);
  --positive: #00e5a0;
  --warning: #f5c542;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "DM Mono", monospace;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
}

.ticker-wrap {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 10px 0;
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
}

.ticker-item .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.ticker-label {
  color: var(--text-secondary);
}

.ticker-value {
  color: var(--text-primary);
}

.up {
  color: var(--positive);
}

.layout-shell {
  background: var(--bg-base);
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 60px;
  padding: 0 24px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark svg,
.logo-mark img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.nav-link {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active,
.nav-link.is-active {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12.5px;
}

.badge-live {
  background: rgba(0, 229, 160, 0.1);
  border-color: rgba(0, 229, 160, 0.16);
  color: var(--positive);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.app-frame {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 60px);
  padding: 0;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 60px;
  align-self: start;
  height: auto;
  overflow: visible;
  padding: 16px 0 24px;
  gap: 0;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-panel);
  box-shadow: none;
  backdrop-filter: none;
}

.search-wrap {
  position: relative;
  padding: 0 12px 16px;
}

.search-wrap input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
}

.search-icon {
  position: absolute;
  left: 22px;
  top: 10px;
  color: var(--text-muted);
  pointer-events: none;
}

.sidebar-section {
  margin-bottom: 6px;
}

.sidebar-label {
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-list,
.page-nav-list {
  display: grid;
  gap: 2px;
}

.nav-button,
.sidebar-page-button {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-secondary);
  text-align: left;
  padding: 9px 16px;
  box-shadow: none;
  transform: none;
}

.nav-button:hover,
.sidebar-page-button:hover,
.nav-button.is-active,
.nav-button.active,
.sidebar-page-button.is-active,
.sidebar-page-button.active {
  background: rgba(108, 99, 255, 0.1);
  color: var(--text-primary);
}

.nav-button.is-active::before,
.nav-button.active::before,
.sidebar-page-button.is-active::before,
.sidebar-page-button.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
}

.sidebar-page-button strong {
  display: block;
  margin-bottom: 2px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
}

.sidebar-page-button span {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.divider {
  height: 1px;
  margin: 8px 16px;
  background: var(--border);
}

.sidebar-card {
  margin: 0 16px 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: none;
}

.campaign-item,
.assist-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: none;
  overflow: visible;
  padding: 24px;
  background: var(--bg-base);
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.workspace-header-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--text-secondary);
}

.workspace-heading h2 {
  margin: 4px 0 8px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.workspace-heading p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.workspace-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: min(100%, 320px);
}

.website-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.toolbar-toggle {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.toolbar-toggle:hover,
.toolbar-toggle.is-active {
  color: var(--text-primary);
  border-color: rgba(108, 99, 255, 0.28);
  background: rgba(108, 99, 255, 0.1);
}

.section-stat-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.section-stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
}

.section-stat-card span {
  color: var(--text-secondary);
  font-size: 12px;
}

.tabs.workspace-tabs {
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0 0 4px;
  border-bottom: 1px solid var(--border);
}

.workspace-tab {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 18px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
}

.workspace-tab:hover,
.workspace-tab.active {
  color: var(--text-primary);
}

.workspace-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
}

.panel,
.metric-card,
.seller-site-card,
.seller-proof-card,
.seller-benefit-card,
.seller-pricing-card,
.testimonial-card,
.wizard-preview,
.wizard-step-card,
.wizard-preset-button,
.launch-progress-shell,
.launch-preset-card,
.launch-step-card,
.preset-button,
.offer-card,
.seller-card,
.summary-pill,
.stock-item,
.editor-stat,
.studio-tip,
.store-card,
.order-card,
.activity-item,
.cart-item,
.profit-result-card,
.wizard-preview-card,
.launch-mini-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: none;
}

.panel {
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: none;
}

.seller-site-panel,
.seller-site-hero,
.wizard-preview,
.launch-progress-shell,
.launch-preset-card,
.seller-card,
.storefront-hero,
.hero-visual {
  background: var(--bg-card);
  background-image: none;
}

.hero-copy h3,
.section-heading h3,
.storefront-hero h3,
.seller-site-hero h3,
.seller-pricing-card h4,
.seller-benefit-card h4,
.testimonial-card h4,
.wizard-preview h4,
.wizard-step-card h4,
.profit-result-card h4,
.launch-progress-shell h4,
.launch-preset-card h4,
.launch-step-card h4 {
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.hero-copy p,
.metric-card p,
.seller-site-hero-copy p,
.seller-benefit-card p,
.seller-pricing-card p,
.testimonial-card p,
.wizard-preview p,
.wizard-step-card p,
.profit-result-card p,
.launch-progress-shell p,
.launch-step-card p,
.launch-preset-card p,
.offer-card p,
.storefront-hero p,
.product-meta span,
.store-card-copy p,
.cart-item p,
.order-card p,
.activity-item p {
  color: var(--text-secondary);
}

.metric-card strong,
.stat-value,
.price-stack strong {
  font-family: var(--font-mono);
}

.hero-visual {
  border-radius: 16px;
}

.chart-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--accent));
}

.chart-bar span,
.chart-footer {
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.primary-button,
.secondary-button,
.ghost-button,
.ghost-inline,
.catalog-view-chip,
.filter-chip,
.summary-pill,
.seller-action-button,
.task-chip {
  border-radius: 10px;
}

.primary-button {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px var(--accent-glow);
  font-weight: 600;
}

.secondary-button,
.ghost-button,
.ghost-inline,
.catalog-view-chip,
.filter-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.ghost-inline:hover,
.catalog-view-chip:hover,
.filter-chip:hover {
  transform: translateY(-1px);
}

.catalog-view-chip.is-active,
.filter-chip.is-active,
.preset-button.is-active,
.wizard-preset-button.is-active {
  background: rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.24);
}

input:not([type="checkbox"]),
select,
textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

option {
  background: var(--bg-panel);
  color: var(--text-primary);
}

input:not([type="checkbox"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(108, 99, 255, 0.32);
}

.table-row,
.catalog-summary,
.checkbox-card,
.editor-context,
.studio-context {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.table-row.table-head {
  background: transparent;
  border: 0;
  color: var(--text-muted);
}

.status-pill.active,
.status-pill.paid,
.status-pill.delivered {
  background: rgba(0, 229, 160, 0.1);
  color: var(--positive);
}

.status-pill.packed,
.status-pill.ready-to-ship {
  background: rgba(108, 99, 255, 0.12);
  color: #c9c3ff;
}

.status-pill.draft,
.status-pill.warning {
  background: rgba(245, 197, 66, 0.12);
  color: #ffd76d;
}

.status-pill.archived,
.mini-badge {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  color: var(--text-secondary);
}

.footer-line,
.stock-item span,
.catalog-summary span,
.studio-tip span,
.price-stack span {
  color: var(--text-secondary);
}

body[data-active-section="website"] .workspace-grid[data-layout="website"] {
  grid-template-columns: 280px minmax(0, 1fr) 360px;
  align-items: start;
}

body[data-active-section="website"] .workspace-grid[data-layout="website"] #studioPanel,
body[data-active-section="website"] .workspace-grid[data-layout="website"] #storefrontPanel,
body[data-active-section="website"] .workspace-grid[data-layout="website"] #websiteInspectorPanel {
  grid-column: auto / span 1;
  min-width: 0;
}

body[data-active-section="website"] .workspace-grid[data-layout="website"][data-website-mode="editor"] {
  grid-template-columns: 280px minmax(0, 1fr);
}

body[data-active-section="website"] .workspace-grid[data-layout="website"][data-website-mode="preview"] {
  grid-template-columns: minmax(0, 1fr);
}

body[data-active-section="website"] #websiteEditorToolbar {
  position: sticky;
  top: 76px;
  z-index: 20;
}

body[data-active-section="website"] #studioPanel,
body[data-active-section="website"] #websiteInspectorPanel,
body[data-active-section="website"] #storefrontPanel {
  border-radius: 20px;
}

body[data-active-section="website"] #studioPanel .section-heading,
body[data-active-section="website"] #websiteInspectorPanel .section-heading,
body[data-active-section="website"] #storefrontPanel .section-heading {
  margin: 0;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #e1e5ee;
  background: #fff;
}

body[data-active-section="website"] #storefrontPanel .section-heading {
  border-radius: 20px 20px 0 0;
}

body[data-active-section="website"] #storefrontPanel .eyebrow {
  color: #7c8190;
}

body[data-active-section="website"] #storefrontPanel .badge {
  background: #eef1f6;
  border: 1px solid #dde2eb;
  color: #5b6270;
}

body[data-active-section="website"] .theme-preview-shell {
  padding: 16px;
  min-height: calc(100vh - 260px);
}

body[data-active-section="website"] .theme-preview-page {
  max-width: 980px;
}

@media (max-width: 1180px) {
  .topnav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .app-frame {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .main-column {
    max-height: none;
  }

  .dashboard-header {
    flex-direction: column;
  }

  body[data-active-section="website"] .workspace-grid[data-layout="website"],
  body[data-active-section="website"] .workspace-grid[data-layout="website"][data-website-mode="editor"],
  body[data-active-section="website"] .workspace-grid[data-layout="website"][data-website-mode="preview"] {
    grid-template-columns: 1fr;
  }

  body[data-active-section="website"] #websiteEditorToolbar {
    position: static;
  }
}

@media (max-width: 800px) {
  .ticker-wrap {
    padding: 8px 0;
  }

  .topnav {
    position: static;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .nav-pill {
    flex: 1;
  }

  .main-column {
    padding: 16px;
  }

  .workspace-meta {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }

  .website-media-grid,
  .toggle-grid {
    grid-template-columns: 1fr;
  }
}
