:root {
  --arg-blue: #1a1aff;
  --arg-cyan: #00c2ff;
  --arg-yellow: #ffd600;
  --arg-black: #0a0a0a;
  --arg-bg: #f6f7fb;
  --arg-card: #ffffff;
  --arg-border: #e6e8ef;
  --arg-text: #151827;
  --arg-muted: #667085;
  --arg-green: #12b76a;
  --arg-red: #ef4444;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--arg-text);
  background: var(--arg-bg);
  overflow-x: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}
.sidebar {
  background: var(--arg-black);
  color: #fff;
  padding: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--arg-text);
}
.brand::before {
  content: "";
  width: 30px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid rgba(15,23,42,.18);
  border-radius: 6px;
  background:
    radial-gradient(circle at center, #f6b40e 0 11%, transparent 12%),
    linear-gradient(to bottom, #75aadb 0 33%, #fff 33% 66%, #75aadb 66% 100%);
  box-shadow: 0 5px 14px rgba(15,23,42,.16);
}
.sidebar .brand::before {
  border-color: rgba(255,255,255,.34);
}
.brand span {
  color: #75aadb;
  text-shadow: 0 0 0 #fff;
}
.sidebar .brand,
.store-powered,
.store-footer .brand {
  color: #fff;
}
.nav-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.nav-list a, .nav-list button {
  width: 100%;
  display: block;
  padding: 11px 12px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
}
.nav-list a.active, .nav-list a:hover, .nav-list button:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.main {
  padding: 28px;
  min-width: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.page-title h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.page-title p {
  margin: 8px 0 0;
  color: var(--arg-muted);
}
.grid {
  display: grid;
  gap: 16px;
}
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--arg-card);
  border: 1px solid var(--arg-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.stat {
  display: grid;
  gap: 8px;
}
.stat strong {
  font-size: 30px;
  letter-spacing: -0.04em;
}
.stat span { color: var(--arg-muted); }
.access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--arg-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.access-card p {
  margin: 4px 0 0;
  color: var(--arg-muted);
}
.plan-summary-card,
.plan-usage-card,
.plan-lock-card {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at right top, rgba(26,26,255,.08), transparent 36%),
    #fff;
  box-shadow: var(--shadow);
}
.plan-summary-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}
.plan-summary-card.compact {
  max-width: 760px;
  display: block;
}
.plan-summary-card h2 {
  margin: 10px 0 6px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.plan-summary-card p,
.plan-lock-card p,
.plan-usage-card p {
  margin: 4px 0 0;
  color: var(--arg-muted);
  line-height: 1.5;
}
.plan-summary-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}
.plan-summary-card li {
  padding-left: 24px;
  position: relative;
}
.plan-summary-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--arg-green);
  font-weight: 900;
}
.plan-usage-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.access-trial {
  border-color: #fde68a;
  background: #fffbeb;
}
.access-active {
  border-color: #bbf7d0;
  background: #ecfdf3;
}
.access-pending_payment {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.access-suspended,
.access-cancelled,
.access-expired {
  border-color: #fecdd3;
  background: #fff1f2;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(26,26,255,.18), transparent 30%),
    radial-gradient(circle at 20% 90%, rgba(0,194,255,.18), transparent 28%),
    var(--arg-bg);
}
.auth-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--arg-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.onboarding-card {
  width: min(920px, 100%);
}
.auth-card h1 { margin: 18px 0 8px; font-size: 32px; letter-spacing: -0.05em; }
.auth-card p { color: var(--arg-muted); margin: 0 0 22px; }
.auth-note {
  margin: -8px 0 18px;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.45;
}
.message-link {
  display: inline-flex;
  margin-top: 8px;
  color: inherit;
  font-weight: 900;
}
.setup-section {
  display: grid;
  gap: 12px;
}
.setup-section h2 {
  margin: 4px 0 0;
  font-size: 18px;
}
.section-note {
  margin: 0;
  color: var(--arg-muted);
  line-height: 1.45;
}
.plan-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plan-choice {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 7px 0 #dfe5f0, 0 18px 34px rgba(15,23,42,.08);
  cursor: pointer;
}
.plan-choice.recommended {
  border-color: var(--arg-blue);
  box-shadow: 0 7px 0 #0711a8, 0 18px 34px rgba(26,26,255,.14);
}
.plan-choice input {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
}
.plan-choice strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.plan-choice span {
  color: var(--arg-blue);
  font-weight: 900;
}
.plan-choice small {
  color: var(--arg-muted);
  line-height: 1.35;
}
.form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 14px;
  font-weight: 700;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--arg-border);
  border-radius: 9px;
  padding: 12px;
  background: #fff;
}
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.asset-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 16px;
}
.upload-box {
  min-height: 94px;
  display: grid;
  place-items: center;
  border: 1px dashed #b9c0d4;
  border-radius: 12px;
  background: #fbfcff;
  color: var(--arg-muted);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  line-height: 1.5;
}
.upload-box strong {
  display: block;
  color: var(--arg-text);
}
.upload-box:hover {
  border-color: var(--arg-blue);
  color: var(--arg-blue);
}
.upload-box:hover strong {
  color: var(--arg-blue);
}
.upload-box img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}
.banner-upload {
  min-height: 126px;
  aspect-ratio: 16 / 7;
}
.banner-upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asset-meta {
  color: var(--arg-muted);
  line-height: 1.45;
}
.color-field input[type="color"] {
  min-height: 48px;
  padding: 5px;
}
.toggle-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}
.toggle-row input {
  width: 18px;
  height: 18px;
}
.advanced-settings {
  display: grid;
  gap: 14px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at right top, rgba(117,170,219,.16), transparent 34%),
    #fbfcff;
}
.advanced-settings h2 {
  margin: 0;
  font-size: 20px;
}
.toggle-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--arg-border);
  border-radius: 14px;
  background: #fff;
}
.toggle-card input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.toggle-card span {
  display: grid;
  gap: 4px;
}
.toggle-card small {
  color: var(--arg-muted);
  line-height: 1.4;
}
.bulk-panel textarea {
  min-height: 150px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}
.store-preview {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border: 3px solid var(--arg-yellow);
  border-radius: 14px;
  padding: 22px;
  overflow: hidden;
}
.preview-content {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.preview-content img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  padding: 8px;
}
.store-preview span {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.store-preview h3 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: .95;
  letter-spacing: -0.04em;
}
.store-preview p {
  margin: 8px 0 0;
  color: inherit;
  opacity: .8;
}
.preview-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  white-space: nowrap;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn.primary { background: var(--arg-blue); color: #fff; }
.btn.dark { background: var(--arg-black); color: #fff; }
.btn.ghost {
  background: #fff;
  color: var(--arg-text);
  border: 1px solid var(--arg-border);
}
.message {
  border-radius: 10px;
  padding: 12px;
  background: #eef4ff;
  color: #1d4ed8;
}
.message.error { background: #fff1f2; color: var(--arg-red); }
.message.success { background: #ecfdf3; color: #027a48; }
.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--arg-border);
  padding: 12px 8px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  background: #eef2ff;
  color: var(--arg-blue);
}
.status-trial { background: #fffbeb; color: #b45309; }
.status-pending_payment { background: #eff6ff; color: #1d4ed8; }
.status-active { background: #ecfdf3; color: #027a48; }
.status-suspended,
.status-cancelled { background: #fff1f2; color: #be123c; }
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin: 0;
  font-size: 26px;
}
.section-heading p {
  margin: 6px 0 0;
  color: var(--arg-muted);
}
.superadmin-panel {
  margin-top: 18px;
}
.platform-social-panel {
  margin-top: 18px;
}
.reserved-access {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 18px;
}
.reserved-access h2 {
  margin: 12px 0 6px;
}
.reserved-access p {
  color: var(--arg-muted);
  margin: 0;
}
.admin-store-list {
  display: grid;
  gap: 14px;
}
.admin-store-card {
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  padding: 18px;
  box-shadow: var(--shadow);
}
.admin-store-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.admin-store-head h3 {
  margin: 10px 0 4px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
}
.admin-store-head a {
  color: var(--arg-blue);
  font-weight: 800;
  text-decoration: none;
}
.admin-store-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-store-metrics span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: #f1f5ff;
  color: var(--arg-muted);
  font-size: 12px;
}
.admin-store-metrics strong {
  color: var(--arg-text);
  font-size: 16px;
}
.export-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.billing-badge {
  background: #fff7ed;
  color: #c2410c;
}
.admin-billing-summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}
.admin-billing-summary span,
.admin-billing-summary a {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: var(--arg-text);
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 4px 0 #dfe5f0;
}
.admin-billing-summary b {
  color: var(--arg-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-billing-summary a {
  color: #027a48;
  font-weight: 900;
  text-align: center;
  border-color: #bbf7d0;
  background: #ecfdf3;
}
.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-edit-grid label,
.admin-reason {
  display: grid;
  gap: 6px;
  color: var(--arg-muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-edit-grid input,
.admin-edit-grid select,
.admin-reason input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--arg-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--arg-text);
}
.admin-edit-grid input[readonly] {
  background: #f8fafc;
}
.admin-reason {
  margin-top: 12px;
}
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn.danger {
  background: #be123c;
  color: #fff;
}
.btn.ghost-danger {
  background: #fff;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 100%;
}
.product-row img,
.product-row-empty {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--arg-border);
  background: #f8fafc;
  object-fit: cover;
  box-shadow: 0 4px 0 #dfe5f0;
}
.product-row-empty {
  display: grid;
  place-items: center;
  color: var(--arg-muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.product-upload img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
}
.kanban-col {
  background: #eef0f5;
  border-radius: 12px;
  padding: 10px;
  min-height: 360px;
}
.kanban-col h3 {
  margin: 4px 4px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kanban-col h3 span {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--arg-muted);
  font-size: 12px;
}
.order-card {
  background: #fff;
  border: 1px solid var(--arg-border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.order-items {
  margin: 8px 0;
  padding-left: 18px;
  color: var(--arg-muted);
  font-size: 13px;
}
.order-items li {
  margin: 3px 0;
}
.notify-btn {
  width: 100%;
  margin: 8px 0;
}
.mobile-status-control {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--arg-muted);
  font-size: 12px;
  font-weight: 900;
}
.mobile-status-control select {
  width: 100%;
  border: 1px solid var(--arg-border);
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
  color: var(--arg-text);
  font-weight: 800;
}
.empty-state {
  grid-column: 1 / -1;
}
.launcher-page {
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(26,26,255,.11), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.launcher-hero {
  width: min(1120px, 100%);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.launcher-hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}
.launcher-hero p {
  margin: 0;
  color: var(--arg-muted);
}
.flag-mark {
  width: 48px;
  height: 32px;
  display: inline-block;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 7px;
  background: linear-gradient(#75aadb 0 33%, #fff 33% 66%, #75aadb 66%);
  position: relative;
}
.flag-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f6b40e;
  position: absolute;
  inset: 0;
  margin: auto;
}
.launcher-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.launcher-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--arg-border);
  border-radius: 12px;
  background: #fff;
  color: var(--arg-text);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.launcher-card:hover {
  border-color: var(--arg-blue);
  transform: translateY(-1px);
}
.launcher-card strong {
  font-size: 22px;
}
.launcher-card span {
  color: var(--arg-muted);
  line-height: 1.4;
}
.launcher-card.super {
  background: #080a12;
  color: #fff;
}
.launcher-card.super span {
  color: rgba(255,255,255,.72);
}
.launcher-notes {
  width: min(1120px, 100%);
  margin: 16px auto 0;
}
.launcher-notes h2 {
  margin-top: 0;
}
.storefront {
  min-height: 100vh;
  background: #fff;
}
.store-hero {
  background: var(--store-hero-bg, linear-gradient(135deg, var(--arg-blue), var(--arg-cyan)));
  color: #fff;
  padding: 54px 5% 46px;
  position: relative;
  overflow: hidden;
}
.store-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -42px;
  height: 95px;
  background: rgba(255,255,255,.9);
  transform: rotate(-2deg);
}
.store-powered {
  position: absolute;
  top: 12px;
  right: 5%;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(5, 15, 34, .42);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0;
}
.store-powered::before {
  width: 22px;
  height: 14px;
  border-radius: 4px;
}
.store-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
}
.store-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.94), rgba(255,255,255,.72) 42%, rgba(255,255,255,.9)),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,228,240,.86));
  padding: 9px;
  border: 2px solid rgba(255,255,255,.78);
  box-shadow: 0 8px 0 rgba(255,255,255,.35), 0 22px 48px rgba(15,23,42,.24);
}
.store-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 54px);
  line-height: .95;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}
.store-hero p {
  margin: 8px 0 0;
  max-width: 680px;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}
.store-content {
  padding: 28px 5% 90px;
}
.store-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 5%;
  background: linear-gradient(90deg, #75aadb, #ffffff 48%, #75aadb);
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
}
.store-footer .brand {
  font-size: 14px;
}
.store-footer .brand::before {
  width: 24px;
  height: 16px;
}
.store-footer .brand {
  color: #0f172a;
}
.store-footer span {
  color: rgba(15,23,42,.72);
}
.store-socials {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.store-socials a {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  min-height: 30px;
  padding: 6px 10px;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(15,23,42,.12);
}
.store-socials a:hover {
  transform: translateY(-1px);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.demo-guide {
  margin: -8px 0 24px;
  display: grid;
  gap: 16px;
}
.demo-guide-head {
  max-width: 780px;
}
.demo-guide-head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1f8;
  color: #be123c;
  border: 1px solid #fecdd3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 4px 0 #fbcfe8;
}
.demo-guide-head h2 {
  margin: 14px 0 6px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.demo-guide-head p {
  margin: 0;
  color: var(--arg-muted);
  line-height: 1.55;
}
.demo-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.demo-tip {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #e8dff0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255,122,182,.22), transparent 36%),
    linear-gradient(180deg, #ffffff, #fff8fc);
  box-shadow: 0 8px 0 #ead7e6, 0 24px 42px rgba(134, 39, 91, .11);
}
.demo-tip strong {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff7ab6, #e11d48);
  color: #fff;
  box-shadow: 0 5px 0 #9f1239, 0 12px 22px rgba(225,29,72,.18);
}
.demo-tip h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  line-height: 1.15;
}
.demo-tip p {
  margin: 0;
  color: #667085;
  line-height: 1.48;
}
.product-card {
  border: 1px solid var(--arg-border);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 8px 0 #dfe5f0, 0 22px 42px rgba(15,23,42,.09);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--arg-blue) 50%, #fff);
  box-shadow: 0 12px 0 #d4ddea, 0 30px 54px rgba(15,23,42,.14);
}
.product-photo {
  height: 214px;
  background:
    linear-gradient(135deg, rgba(255,122,182,.12), rgba(125,211,252,.12)),
    #f1f3f8;
  display: grid;
  place-items: center;
  color: var(--arg-muted);
  overflow: hidden;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .25s ease;
}
.product-card:hover .product-photo img {
  transform: scale(1.055);
}
.product-body { padding: 16px; }
.product-body h3 { margin: 0 0 7px; font-size: 19px; line-height: 1.18; letter-spacing: -0.015em; }
.product-body p { color: var(--arg-muted); min-height: 50px; line-height: 1.45; margin: 0 0 12px; }
.product-body strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.stock-pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 12px;
  font-weight: 900;
}
.stock-pill.out {
  background: #fff1f2;
  color: #be123c;
}
.product-body .btn {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 0 rgba(0,0,0,.28), 0 16px 22px rgba(15,23,42,.14);
  transition: transform .16s ease, box-shadow .16s ease;
}
.product-body .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0,0,0,.28), 0 20px 26px rgba(15,23,42,.16);
}
.cart {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--arg-border);
  padding: 14px 5%;
  box-shadow: 0 -7px 0 rgba(223,229,240,.72), 0 -18px 38px rgba(15,23,42,.10);
}
.cart-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.cart-summary p {
  margin: 4px 0 0;
  color: var(--arg-muted);
}
.cart-items {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--arg-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 4px 0 #e1e6ef;
}
.cart-item span {
  display: block;
  margin-top: 3px;
  color: var(--arg-muted);
  font-size: 13px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qty-control button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--arg-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 3px 0 #d9deea;
}
.checkout-form {
  display: grid;
  gap: 12px;
}
.checkout-review {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #dbe2f0;
  border-radius: 18px;
  background:
    radial-gradient(circle at right top, rgba(26,26,255,.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 7px 0 #dfe5f0, 0 20px 34px rgba(15,23,42,.09);
}
.review-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--arg-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.checkout-review strong {
  display: block;
  font-size: clamp(20px, 4vw, 30px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.checkout-review p {
  margin: 9px 0 0;
  color: var(--arg-muted);
  line-height: 1.45;
}
.checkout-review ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}
.checkout-review li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f6;
}
.checkout-review li:last-child {
  border-bottom: 0;
}
.checkout-review li strong {
  flex: 0 0 auto;
  font-size: 15px;
  letter-spacing: 0;
}
.checkout-form .btn {
  justify-self: start;
}
.checkout-form .btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.status-catalog-mode .store-hero {
  padding-bottom: 28px;
}
.status-catalog-mode .store-content {
  padding-bottom: 28px;
}
.status-catalog-mode .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.status-catalog-mode .product-card {
  border-radius: 16px;
}
.status-catalog-mode .product-photo {
  height: 150px;
}
.status-catalog-mode .product-body p {
  min-height: 0;
}
.btn:disabled,
.qty-control button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.offline-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 18%, rgba(117,170,219,.26), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(26,26,255,.14), transparent 30%),
    #f6f7fb;
}
.offline-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--arg-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 0 #dfe5f0, 0 32px 60px rgba(15,23,42,.14);
}
.offline-pill {
  display: inline-flex;
  margin-top: 22px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--arg-blue);
  font-size: 12px;
  font-weight: 900;
}
.offline-card h1 {
  margin: 14px 0 8px;
  font-size: clamp(34px, 9vw, 56px);
  line-height: .92;
  letter-spacing: -0.05em;
}
.offline-card p {
  margin: 0 0 20px;
  color: var(--arg-muted);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px;
    box-shadow: 0 12px 28px rgba(15,23,42,.18);
  }
  .sidebar .brand {
    font-size: 18px;
  }
  .nav-list {
    margin: 12px -4px 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 4px 4px;
    scroll-snap-type: x proximity;
  }
  .nav-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .nav-list a,
  .nav-list button {
    min-height: 42px;
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
  }
  .main {
    padding: 18px 14px 28px;
  }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .plan-choice-grid,
  .plan-summary-card { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .access-card { align-items: flex-start; flex-direction: column; }
  .reserved-access { align-items: flex-start; flex-direction: column; }
  .section-heading {
    flex-direction: column;
  }
  .card {
    padding: 16px;
    overflow-x: auto;
  }
  .table {
    min-width: 0;
  }
  .admin-store-head,
  .admin-edit-grid {
    grid-template-columns: 1fr;
  }
  .admin-billing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-store-metrics {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    overflow-x: auto;
  }
  .kanban {
    grid-template-columns: repeat(6, minmax(250px, 78vw));
    padding-bottom: 8px;
  }
  .launcher-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .launcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .launcher-page {
    padding: 16px;
  }
  .launcher-grid {
    grid-template-columns: 1fr;
  }
  .launcher-card {
    min-height: 132px;
  }
  .demo-tips {
    grid-template-columns: 1fr;
  }
  .demo-tip {
    min-height: 0;
  }
  .auth-page {
    place-items: start center;
    padding: 12px;
  }
  .auth-card {
    border-radius: 14px;
    padding: 20px;
  }
  .auth-card h1 {
    font-size: 30px;
    line-height: 1;
  }
  .plan-choice {
    min-height: 0;
  }
  .store-preview {
    align-items: flex-start;
    flex-direction: column;
  }
  .preview-content,
  .store-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .store-logo {
    width: 74px;
    height: 74px;
  }
  .preview-button {
    width: 100%;
  }
  .cart {
    max-height: 82vh;
    overflow-y: auto;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  }
  .cart-summary,
  .cart-item {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-photo {
    height: 190px;
  }
  .store-content {
    padding: 22px 14px 90px;
  }
  .store-hero {
    padding: 42px 14px 38px;
  }
  .admin-billing-summary {
    grid-template-columns: 1fr;
  }
  .checkout-form .btn {
    width: 100%;
  }
  .checkout-review {
    grid-template-columns: 1fr;
  }
}

