/* ==========================================================================
   Swiss / Editorial Matte Tonal Architecture & Perspective Spatial Islands
   ZERO Gradients · ZERO White Patches · ZERO Foreign Hues · Pure Eye Comfort
   ========================================================================== */

/* 1. Self-Hosted Geometric Variable Fonts (Zero External CDN · Instant Load) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/css/lux-jakarta-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/css/lux-mono-latin.woff2') format('woff2');
}

/* ==========================================================================
   2. Five Pure Matte Monochromatic Tonal Scales (60-30-10 Editorial Harmony)
   Every surface, badge, stage, border, and button steps cleanly within ONE
   restful, low-saturation mineral family harmonized with that store's Logo!
   ========================================================================== */

/* WORLD 0 — main (bestshaw.eu.cc · 璇玑 Ai):
   "Pure Glacier Cerulean · 澄澈冰蓝" — Crisp, Clean, Mud-Free Cool Porcelain */
body.commerce-ui {
  --lux-font-sans: 'Plus Jakarta Sans', 'HarmonyOS Sans SC', 'MiSans', 'PingFang SC', 'Hiragino Sans GB', 'Source Han Sans SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --lux-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --tone-canvas: #eef4fb;
  --tone-glass: rgba(242, 247, 253, 0.76);
  --tone-surface: #f8fbff;
  --tone-surface-glass: rgba(249, 252, 255, 0.88);
  --tone-elevated: #fcfdff;
  --tone-well: #e5effa;
  --tone-hover-pill: rgba(226, 237, 250, 0.82);
  --tone-border: rgba(29, 86, 216, 0.09);
  --tone-border-strong: rgba(29, 86, 216, 0.15);
  --tone-grid-fine: rgba(29, 86, 216, 0.032);
  --tone-grid-major: rgba(29, 86, 216, 0.058);
  --tone-shadow: rgba(15, 38, 84, 0.075);

  --brand-primary: #1d56d8;
  --brand-primary-hover: #1746b5;
  --brand-primary-dark: #143a96;
  --brand-accent: #1d56d8;
  --brand-soft: var(--tone-well);
  --brand-soft-strong: #d8e7f8;
  --brand-border: var(--tone-border-strong);
  --brand-glow-a: transparent;
  --brand-glow-b: transparent;
  --brand-shadow: rgba(29, 86, 216, 0.20);

  --tone-ink: #0f1b2e;
  --tone-ink-body: #2b3a52;
  --tone-ink-muted: #5d708a;

  font-family: var(--lux-font-sans) !important;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.72;
  color: var(--tone-ink-body);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  position: relative;
  min-height: 100dvh;
  background: var(--tone-canvas) !important;
}

/* WORLD 1 — palette-1 (shawbob.com · 灵枢 Ai):
   "Arctic Ice-Mist & Clear Cobalt · 极昼冰雾" — Spotlessly Clean, Fresh & Restful */
body.commerce-ui[data-store-theme="palette-1"] {
  --tone-canvas: #f1f5fb;
  --tone-glass: rgba(244, 247, 253, 0.76);
  --tone-surface: #f9fbff;
  --tone-surface-glass: rgba(250, 252, 255, 0.88);
  --tone-elevated: #fcfdff;
  --tone-well: #eaf0fa;
  --tone-hover-pill: rgba(230, 238, 250, 0.82);
  --tone-border: rgba(43, 87, 214, 0.09);
  --tone-border-strong: rgba(43, 87, 214, 0.15);
  --tone-grid-fine: rgba(43, 87, 214, 0.03);
  --tone-grid-major: rgba(43, 87, 214, 0.055);
  --tone-shadow: rgba(18, 36, 82, 0.07);

  --brand-primary: #2b57d6;
  --brand-primary-hover: #2246b3;
  --brand-primary-dark: #1b3891;
  --brand-accent: #2b57d6;
  --brand-soft: var(--tone-well);
  --brand-soft-strong: #dce6f8;
  --brand-shadow: rgba(43, 87, 214, 0.19);

  --tone-ink: #101b30;
  --tone-ink-body: #2c3b54;
  --tone-ink-muted: #5e708b;
}

/* WORLD 2 — palette-2 (gptxiaojie.eu.cc · 星槎 Ai):
   "Clear Spring Celadon · 清透青玉" — Fresh, Luminous Jade-Porcelain */
body.commerce-ui[data-store-theme="palette-2"] {
  --tone-canvas: #edf6f5;
  --tone-glass: rgba(241, 249, 248, 0.76);
  --tone-surface: #f8fcfb;
  --tone-surface-glass: rgba(249, 253, 252, 0.88);
  --tone-elevated: #fbfefd;
  --tone-well: #e3f2ef;
  --tone-hover-pill: rgba(222, 240, 237, 0.82);
  --tone-border: rgba(13, 122, 112, 0.095);
  --tone-border-strong: rgba(13, 122, 112, 0.155);
  --tone-grid-fine: rgba(13, 122, 112, 0.03);
  --tone-grid-major: rgba(13, 122, 112, 0.056);
  --tone-shadow: rgba(12, 52, 48, 0.07);

  --brand-primary: #0d7a70;
  --brand-primary-hover: #0a635b;
  --brand-primary-dark: #084f49;
  --brand-accent: #0d7a70;
  --brand-soft: var(--tone-well);
  --brand-soft-strong: #d3eae6;
  --brand-shadow: rgba(13, 122, 112, 0.19);

  --tone-ink: #0c2220;
  --tone-ink-body: #28423f;
  --tone-ink-muted: #577370;
}

/* WORLD 3 — palette-3 (oucer.eu.cc · 开阳 Ai):
   "Crystal Sky-Lagoon · 晴空海蓝" — Crisp Morning Ocean Air */
body.commerce-ui[data-store-theme="palette-3"] {
  --tone-canvas: #edf5fa;
  --tone-glass: rgba(241, 248, 252, 0.76);
  --tone-surface: #f8fcff;
  --tone-surface-glass: rgba(249, 253, 255, 0.88);
  --tone-elevated: #fcfeff;
  --tone-well: #e3f0f8;
  --tone-hover-pill: rgba(222, 238, 248, 0.82);
  --tone-border: rgba(8, 109, 168, 0.095);
  --tone-border-strong: rgba(8, 109, 168, 0.155);
  --tone-grid-fine: rgba(8, 109, 168, 0.03);
  --tone-grid-major: rgba(8, 109, 168, 0.056);
  --tone-shadow: rgba(12, 48, 76, 0.07);

  --brand-primary: #086da8;
  --brand-primary-hover: #06598a;
  --brand-primary-dark: #05476e;
  --brand-accent: #086da8;
  --brand-soft: var(--tone-well);
  --brand-soft-strong: #d3e7f3;
  --brand-shadow: rgba(8, 109, 168, 0.19);

  --tone-ink: #0c1f2c;
  --tone-ink-body: #283f50;
  --tone-ink-muted: #587182;
}

/* WORLD 4 — palette-4 (xiaojieai.eu.cc · 玉衡 Ai):
   "Morning Iris-Ice · 晨雾星靛" — Crisp Cool-Crystal Periwinkle */
body.commerce-ui[data-store-theme="palette-4"] {
  --tone-canvas: #f1f2fb;
  --tone-glass: rgba(244, 245, 253, 0.76);
  --tone-surface: #f9faff;
  --tone-surface-glass: rgba(250, 251, 255, 0.88);
  --tone-elevated: #fcfcff;
  --tone-well: #eaecfa;
  --tone-hover-pill: rgba(230, 232, 249, 0.82);
  --tone-border: rgba(66, 72, 196, 0.09);
  --tone-border-strong: rgba(66, 72, 196, 0.15);
  --tone-grid-fine: rgba(66, 72, 196, 0.03);
  --tone-grid-major: rgba(66, 72, 196, 0.055);
  --tone-shadow: rgba(24, 28, 78, 0.07);

  --brand-primary: #4248c4;
  --brand-primary-hover: #353aa3;
  --brand-primary-dark: #2a2e85;
  --brand-accent: #4248c4;
  --brand-soft: var(--tone-well);
  --brand-soft-strong: #dcdef7;
  --brand-shadow: rgba(66, 72, 196, 0.19);

  --tone-ink: #13162d;
  --tone-ink-body: #2f3452;
  --tone-ink-muted: #606686;
}

/* ==========================================================================
   3. Subtle Matte Architectural Perspective Horizon (Zero Gradients / Orbs!)
   ========================================================================== */
body.commerce-ui .site-shell {
  position: relative;
  z-index: 2;
}

/* Permanently kill any white hover spotlight (.lux-sheen) */
.lux-sheen {
  display: none !important;
}

.lux-spatial-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 960px;
}

/* Whisper-faint 3D vanishing-point architectural floor for clean spatial depth */
.lux-horizon-plane {
  position: absolute;
  left: -24%;
  right: -24%;
  bottom: -36%;
  height: 80vh;
  transform-origin: 50% 0%;
  transform: rotateX(66deg) translate3d(var(--par-mid-x, 0px), 0, 0);
  background-image:
    linear-gradient(var(--tone-grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--tone-grid-major) 1px, transparent 1px),
    linear-gradient(var(--tone-grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--tone-grid-fine) 1px, transparent 1px);
  background-size: 240px 240px, 240px 240px, 60px 60px, 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 64% 72% at 50% 42%, rgba(0, 0, 0, 0.72) 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 64% 72% at 50% 42%, rgba(0, 0, 0, 0.72) 10%, transparent 80%);
}

/* Subtle Per-Theme Single-Hue Geometric Linework (Ultra-Low Contrast, Zero Glare) */
body.commerce-ui::before {
  display: none !important;
}
body.commerce-ui::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(var(--par-near-x, 0px), var(--par-near-y, 0px), 0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 960' fill='none'%3E%3Cg stroke='%231f4eb8' stroke-opacity='0.065' stroke-width='1'%3E%3Ccircle cx='800' cy='80' r='380'/%3E%3Ccircle cx='800' cy='80' r='600' stroke-dasharray='5 11'/%3E%3Cellipse cx='800' cy='150' rx='700' ry='220' transform='rotate(-6 800 150)'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
body.commerce-ui[data-store-theme="palette-1"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 960' fill='none'%3E%3Cg stroke='%232e4d94' stroke-opacity='0.055' stroke-width='1'%3E%3Ccircle cx='800' cy='-160' r='540'/%3E%3Ccircle cx='800' cy='-160' r='780' stroke-dasharray='6 12'/%3E%3C/g%3E%3C/svg%3E");
}
body.commerce-ui[data-store-theme="palette-2"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 960' fill='none'%3E%3Cg stroke='%2314665f' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M-100 190 C 360 40, 740 340, 1200 150 C 1420 60, 1560 140, 1720 100'/%3E%3Cpath d='M-100 310 C 400 150, 780 440, 1240 240 C 1440 150, 1580 230, 1720 190' stroke-dasharray='6 12'/%3E%3C/g%3E%3C/svg%3E");
}
body.commerce-ui[data-store-theme="palette-3"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 960' fill='none'%3E%3Cg stroke='%23145e87' stroke-opacity='0.06' stroke-width='1'%3E%3Ccircle cx='800' cy='10' r='420'/%3E%3Ccircle cx='800' cy='10' r='660' stroke-dasharray='4 10'/%3E%3C/g%3E%3C/svg%3E");
}
body.commerce-ui[data-store-theme="palette-4"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 960' fill='none'%3E%3Cg stroke='%233b4694' stroke-opacity='0.055' stroke-width='1'%3E%3Cpath d='M-60 300 Q 800 -70 1660 300'/%3E%3Cpath d='M-60 440 Q 800 30 1660 440' stroke-dasharray='7 12'/%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   4. Floating Perspective Matte Glass Header & Footer (Same Tonal Family!)
   ========================================================================== */
body.commerce-ui .site-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 12px 0 4px !important;
  pointer-events: none;
}
body.commerce-ui .header-inner {
  pointer-events: auto;
  min-height: 62px !important;
  padding: 7px 18px 7px 22px !important;
  gap: 18px;
  border-radius: 999px;
  background: var(--tone-glass) !important;
  border: 1px solid var(--tone-border-strong) !important;
  box-shadow: 0 12px 32px -18px var(--tone-shadow) !important;
  backdrop-filter: saturate(135%) blur(18px) !important;
  -webkit-backdrop-filter: saturate(135%) blur(18px) !important;
}
body.commerce-ui .brand-main-logo .main-brand-image {
  height: 52px;
  width: auto;
}
body.commerce-ui .brand-mark:not(.brand-mark-logo) {
  background: var(--brand-primary) !important;
  box-shadow: none !important;
}
body.commerce-ui .brand-mark-logo {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.commerce-ui .site-footer {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 6px 0 22px !important;
}
body.commerce-ui .footer-inner {
  padding: 14px 24px !important;
  border-radius: 999px;
  background: var(--tone-glass) !important;
  border: 1px solid var(--tone-border) !important;
  box-shadow: 0 10px 26px -18px var(--tone-shadow) !important;
  backdrop-filter: saturate(135%) blur(16px) !important;
  -webkit-backdrop-filter: saturate(135%) blur(16px) !important;
}
body.commerce-ui .footer-bottom {
  border-top: 0 !important;
  padding-block: 10px 0 !important;
  color: var(--tone-ink-muted) !important;
}

/* Harmonious Full-Viewport Main Page Proportions */
.storefront-v3 .q-catalog-page.ui-catalog {
  padding-top: 14px !important;
  padding-bottom: 20px !important;
}
.storefront-v3 .catalog-first-heading {
  margin: 0 0 16px !important;
}
.storefront-v3 .reset-radar,
.storefront-v3 .reset-radar.reset-radar-compact {
  min-height: 196px !important;
  margin-bottom: 20px !important;
}
.storefront-v3 .family-card.q-product-card,
.storefront-v3 .family-card {
  min-height: 356px !important;
  padding: 26px 28px !important;
}
.storefront-v3 .family-art {
  height: 208px !important;
  margin: 10px 0 !important;
}

/* ==========================================================================
   5. Pure Solid Matte Typography & Buttons (Zero Text or Button Gradients!)
   ========================================================================== */
body.commerce-ui code,
body.commerce-ui pre,
body.commerce-ui .mono,
body.commerce-ui .zk-mono {
  font-family: var(--lux-font-mono) !important;
  font-size: 0.9em;
  letter-spacing: -0.01em;
}

.storefront-v3 .catalog-first-heading h1,
.admin-page .page-heading h1,
.agent-page .page-heading h1,
.qf-hero-title h1,
.zk-hero-title h1 {
  font-family: var(--lux-font-sans) !important;
  font-size: clamp(32px, 3.3vw, 42px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.18 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--tone-ink) !important;
}

.storefront-v3 h2,
.storefront-v3 h3,
.admin-page h2,
.admin-page h3,
.agent-page h2,
.agent-page h3 {
  font-family: var(--lux-font-sans) !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  color: var(--tone-ink) !important;
}
.storefront-v3 .family-card h3 {
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: 0.005em !important;
}

.section-kicker,
.cxl-bento-kicker {
  font-family: var(--lux-font-sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--brand-primary) !important;
  opacity: 0.86;
}

.family-price strong,
.qf-card-price,
.zk-prod-price,
.storefront-v3 .reset-radar .reset-elapsed,
.stat-card strong,
.account-card strong,
.summary-total strong {
  font-family: var(--lux-font-sans) !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em !important;
  color: var(--tone-ink) !important;
}

/* Solid Matte Buttons & Tonal Secondary Pills (Zero Gradients, Zero White Patches!) */
.button-primary,
.storefront-v3 .button-primary,
.storefront-v3 .q-card-action,
.storefront-v3 .ui-catalog .q-product-card:first-child .q-card-action {
  background: var(--brand-primary) !important;
  color: #f8fafc !important;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 20px -8px var(--brand-shadow) !important;
  transition: background-color 0.22s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.26s ease !important;
}
.button-primary::after,
.storefront-v3 .button-primary::after,
.storefront-v3 .q-card-action::after {
  display: none !important;
}
.button-primary:hover:not(:disabled),
.storefront-v3 .button-primary:hover:not(:disabled),
.storefront-v3 .q-card-action:hover {
  background: var(--brand-primary-hover) !important;
  filter: none !important;
  transform: scale(1.015) !important;
  box-shadow: 0 12px 24px -8px var(--brand-shadow) !important;
}

.button-outline,
.storefront-v3 .button-outline,
.notice-pill-button,
.qf-pill-btn,
.zk-mini-btn {
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border) !important;
  color: var(--tone-ink-body) !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.button-outline:hover:not(:disabled),
.storefront-v3 .button-outline:hover:not(:disabled),
.notice-pill-button:hover,
.qf-pill-btn:hover:not(:disabled),
.zk-mini-btn:hover {
  background: var(--tone-elevated) !important;
  border-color: var(--tone-border-strong) !important;
  color: var(--brand-primary) !important;
  transform: scale(1.015) !important;
}

.button-ghost {
  background: transparent !important;
  color: var(--tone-ink-body) !important;
  font-weight: 500 !important;
}
.button-ghost:hover {
  background: var(--tone-well) !important;
  color: var(--brand-primary) !important;
}

/* ==========================================================================
   6. Solid Matte Tonal Cards, Recessed Stages & Whisper Micro-Scale Hover
   Hover NEVER flashes white or changes color — only a calm 1.01x micro-scale!
   ========================================================================== */
.storefront-v3 .reset-radar,
.storefront-v3 .family-card,
.cxl-bento-card,
.cxl-local-drawer,
.admin-page .panel,
.agent-page .panel,
.qf-shelf-page .q-admin-product-row,
.zk-split-stage,
.zk-glass-panel,
.zk-prod-tile,
.zk-receipt-card,
.auth-card,
.stat-card,
.account-card,
.summary-card {
  background: var(--tone-surface-glass) !important;
  border: 1px solid var(--tone-border) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.025),
    0 16px 38px -20px var(--tone-shadow) !important;
  backdrop-filter: saturate(130%) blur(18px);
  -webkit-backdrop-filter: saturate(130%) blur(18px);
  transition:
    transform 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease !important;
}

/* Calm, Zero-Flash Hover: Keep Exact Same Matte Tone, Gentle 1.01x Scale Only! */
.storefront-v3 .reset-radar:hover,
.storefront-v3 .family-card:hover,
.cxl-bento-card:hover,
.qf-shelf-page .q-admin-product-row:hover,
.zk-prod-tile:hover,
.zk-receipt-card:hover,
.stat-card:hover,
.account-card:hover {
  background: var(--tone-surface-glass) !important;
  border-color: var(--tone-border-strong) !important;
  transform: scale(1.01) !important;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.03),
    0 22px 46px -20px var(--tone-shadow) !important;
}

/* Solid Matte Recessed Stage Inside Product Cards, Radar & Shelves */
.subscription-art,
.codex-points-scene,
.qf-card-body,
.zk-prod-body,
.qf-shelf-page .q-admin-product-row[data-qf-listed="1"],
.zk-prod-tile.is-live {
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border) !important;
  box-shadow: none !important;
}
.qf-shelf-page .q-admin-product-row[data-qf-listed="1"],
.zk-prod-tile.is-live {
  background: var(--tone-surface-glass) !important;
  border-color: var(--tone-border-strong) !important;
}
.subscription-art,
.codex-points-scene {
  border-radius: 20px !important;
}
.particle-halo {
  display: none !important;
}

/* Harmonize 3D Codex Card Into Exact Same Monochromatic Matte Tonal Family! */
.codex-points-foil,
.codex-points-ticket::before,
.codex-points-ticket::after {
  display: none !important;
}
.codex-points-ticket {
  background: var(--tone-elevated) !important;
  border: 1px solid var(--tone-border-strong) !important;
  color: var(--tone-ink) !important;
  box-shadow: 0 14px 28px -14px var(--tone-shadow) !important;
}
.codex-ticket-title {
  color: var(--tone-ink) !important;
  text-shadow: none !important;
}
.codex-product-mark {
  background: var(--tone-well) !important;
  color: var(--brand-primary) !important;
  border: 1px solid var(--tone-border) !important;
  box-shadow: none !important;
}
.codex-points-ticket-bottom > span {
  color: var(--tone-ink-muted) !important;
  text-shadow: none !important;
}
.codex-points-chip {
  background: var(--tone-well) !important;
  box-shadow: inset 0 0 0 1px var(--tone-border-strong) !important;
}

/* Seamless Matte Radar Stage */
.radar-visual {
  background: var(--tone-well) !important;
  border-left: 1px solid var(--tone-border) !important;
  -webkit-mask-image: none;
  mask-image: none;
}
.radar-rings span:nth-child(3) {
  background: transparent !important;
}
.radar-rings::after {
  background: conic-gradient(from 270deg, transparent 0 74%, var(--tone-border-strong) 92%, transparent 100%) !important;
}
.reset-radar .radar-post {
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border) !important;
}
.reset-radar .reset-sync,
.radar-state {
  background: var(--tone-well) !important;
  color: var(--brand-primary) !important;
  border: 1px solid var(--tone-border);
}

/* Solid Matte OpenAI Mark */
.subscription-solid-mark {
  position: absolute;
  width: 151px !important;
  height: 151px !important;
  z-index: 1;
  pointer-events: none;
  display: block;
  background: var(--brand-primary) !important;
  -webkit-mask: url('/css/subscription-particles.svg?v=3') center / contain no-repeat;
  mask: url('/css/subscription-particles.svg?v=3') center / contain no-repeat;
  opacity: 1;
  transition: opacity 0.16s linear;
}
.subscription-stage canvas.particles-ready ~ .subscription-solid-mark {
  opacity: var(--jp-solid, 0);
}

/* Unified Same-Tone Badges & Chips (Zero Stark White Pills!) */
.trust-chip,
.family-badge,
.ui-info-chips > span,
.qf-meta-chip,
.zk-pill,
.status {
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border) !important;
  color: var(--tone-ink-body) !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
}
.family-badge {
  background: var(--tone-elevated) !important;
  color: var(--brand-primary) !important;
}

/* Floating Tonal Assurance Capsules */
.storefront-v3 .ui-purchase-guide {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  gap: 18px !important;
}
.storefront-v3 .ui-purchase-guide > div {
  border-left: 0 !important;
  padding: 18px 22px !important;
  border-radius: 22px;
  background: var(--tone-surface-glass) !important;
  border: 1px solid var(--tone-border) !important;
  box-shadow: 0 12px 28px -18px var(--tone-shadow) !important;
  backdrop-filter: saturate(130%) blur(16px);
  -webkit-backdrop-filter: saturate(130%) blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease !important;
}
.storefront-v3 .ui-purchase-guide > div:hover {
  transform: scale(1.01) !important;
  border-color: var(--tone-border-strong) !important;
}
.storefront-v3 .ui-guide-icon {
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border);
  color: var(--brand-primary) !important;
}

/* ==========================================================================
   7. Matte Tonal Capsule Navigation Docks (Zero Stark White Hover/Active!)
   ========================================================================== */
body.commerce-ui .lux-nav-hover {
  background: var(--tone-hover-pill) !important;
  box-shadow: none !important;
}
body.commerce-ui .main-nav {
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border) !important;
  box-shadow: none !important;
}
body.commerce-ui .main-nav a {
  font-weight: 450 !important;
  letter-spacing: 0.025em !important;
  color: var(--tone-ink-body) !important;
  min-height: 36px !important;
  padding: 6px 15px !important;
}
body.commerce-ui .main-nav a:hover {
  background: transparent !important;
  color: var(--tone-ink) !important;
}
body.commerce-ui .main-nav a[aria-current="page"] {
  background: var(--tone-elevated) !important;
  font-weight: 600 !important;
  color: var(--brand-primary) !important;
  box-shadow: 0 2px 8px -2px var(--tone-shadow), 0 0 0 1px var(--tone-border) !important;
}

body.commerce-ui .admin-nav,
body.commerce-ui .agent-nav,
.qf-glass-tabs,
.zk-glass-tabs,
.qf-filter-pills {
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border) !important;
  box-shadow: none !important;
}
body.commerce-ui .admin-nav,
body.commerce-ui .agent-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 6px !important;
  padding: 6px 8px !important;
  margin: 0 0 26px !important;
  width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 999px !important;
}
body.commerce-ui .admin-nav::-webkit-scrollbar,
body.commerce-ui .agent-nav::-webkit-scrollbar {
  display: none;
}
body.commerce-ui .admin-nav .lux-nav-hover,
body.commerce-ui .agent-nav .lux-nav-hover {
  border-radius: 999px !important;
}
body.commerce-ui .admin-nav a,
body.commerce-ui .agent-nav a {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--tone-ink-body) !important;
  font-size: 13.5px !important;
  font-weight: 450 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}
body.commerce-ui .admin-nav a::before,
body.commerce-ui .agent-nav a::before {
  opacity: 0.58;
}
body.commerce-ui .admin-nav a:hover,
body.commerce-ui .agent-nav a:hover {
  color: var(--tone-ink) !important;
  background: transparent !important;
}
body.commerce-ui .admin-nav a[aria-current="page"],
body.commerce-ui .agent-nav a[aria-current="page"],
.qf-tab-btn.is-active,
.zk-tab-btn.is-active,
.qf-filter-pills button.is-active {
  background: var(--tone-elevated) !important;
  color: var(--brand-primary) !important;
  font-weight: 600 !important;
  box-shadow:
    0 2px 8px -2px var(--tone-shadow),
    0 0 0 1px var(--tone-border) !important;
}
body.commerce-ui .admin-nav a[aria-current="page"]::before,
body.commerce-ui .agent-nav a[aria-current="page"]::before {
  background-color: var(--brand-primary);
  opacity: 1;
}

/* ==========================================================================
   8. Serene, Airy Operations Studio (/admin Bento Grid)
   ========================================================================== */
.admin-page .page-heading,
.agent-page .page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-page .page-heading p,
.agent-page .page-heading p {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--tone-ink-muted);
  margin: 6px 0 0;
}
.cxl-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cxl-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}
.cxl-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 28px;
  border-radius: 26px;
  min-height: 214px;
}
.cxl-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cxl-bento-orb,
.qf-card-orb,
.zk-prod-orb,
.stat-symbol {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--tone-well) !important;
  border: 1px solid var(--tone-border) !important;
  color: var(--brand-primary) !important;
  box-shadow: none !important;
  display: grid;
  place-items: center;
  flex: none;
}
.cxl-bento-orb-sm {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.cxl-bento-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cxl-bento-copy h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  color: var(--tone-ink);
  margin: 0;
}
.cxl-bento-copy p {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.65;
  color: var(--tone-ink-muted);
  margin: 0;
}
.cxl-bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 15px;
  border-top: 1px solid var(--tone-border);
}
.cxl-foot-hint {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--tone-ink-muted);
}
.table-link {
  font-weight: 500 !important;
  letter-spacing: 0.015em;
  color: var(--brand-primary) !important;
}

.cxl-local-drawer {
  border-radius: 26px;
  overflow: hidden;
}
.cxl-local-drawer > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px;
  margin: 0 !important;
  cursor: pointer;
}
.cxl-local-drawer > summary::-webkit-details-marker {
  display: none;
}
.cxl-drawer-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cxl-drawer-title strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--tone-ink);
}
.cxl-drawer-title small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--tone-ink-muted);
}
.cxl-drawer-pill {
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  color: var(--brand-primary);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.cxl-drawer-body {
  padding: 8px 26px 26px;
  border-top: 1px solid var(--tone-border);
}

/* ==========================================================================
   9. Matte Tonal Form Controls, Modals & Tables (Zero Stark White Boxes!)
   ========================================================================== */
.admin-page .panel,
.agent-page .panel {
  border-radius: 28px !important;
  padding: 32px 36px;
}
.admin-page .panel + .panel,
.agent-page .panel + .panel {
  margin-top: 24px;
}
.admin-page .admin-form {
  max-width: 880px;
  margin-inline: auto;
}
.cxl-form-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--tone-border);
}
.cxl-form-section-head h2 {
  font-size: 19.5px !important;
  margin: 0;
}
.cxl-form-section-head p {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--tone-ink-muted);
  margin: 5px 0 0;
}
.cxl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.cxl-span-2 {
  grid-column: 1 / -1;
}
.cxl-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--tone-border);
}

:is(.admin-page, .agent-page, .auth-section, .auth-page, .q-checkout-page, .redeem-layout, .dashboard-page, dialog)
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    select,
    textarea
  ):not(.zk-price-raw),
.qf-search-input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--tone-border-strong) !important;
  background-color: var(--tone-elevated) !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.55;
  color: var(--tone-ink) !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.qf-search-input {
  min-height: 42px !important;
  border-radius: 999px !important;
}
.zk-price-input-wrap input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 2px 0 !important;
}
:is(.admin-page, .agent-page, .auth-section, .auth-page, .q-checkout-page, .redeem-layout, .dashboard-page, dialog)
  textarea {
  min-height: 108px;
  padding: 14px 16px;
  line-height: 1.7;
  resize: vertical;
}
:is(.admin-page, .agent-page, .auth-section, .auth-page, .q-checkout-page, .redeem-layout, .dashboard-page, dialog)
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
    select,
    textarea
  ):focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 3px var(--brand-soft-strong) !important;
  outline: none;
}

:is(.admin-page, .agent-page, .auth-section, .auth-page, .q-checkout-page, .redeem-layout, .dashboard-page, dialog)
  select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6d84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field > label,
:is(.admin-page, .agent-page) label:has(> input:not([type="checkbox"]):not([type="radio"])),
:is(.admin-page, .agent-page) label:has(> select),
:is(.admin-page, .agent-page) label:has(> textarea) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500 !important;
  letter-spacing: 0.025em;
  color: var(--tone-ink-body);
}
.field small {
  margin-top: 2px !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em;
  line-height: 1.65 !important;
  color: var(--tone-ink-muted) !important;
}

input[type="file"] {
  font-size: 13.5px;
  color: var(--tone-ink-muted);
}
input[type="file"]::file-selector-button {
  appearance: none;
  border: 1px solid var(--tone-border-strong);
  background: var(--tone-well);
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 8px 16px;
  margin-right: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

:is(.admin-page, .agent-page) fieldset {
  border: 0 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
:is(.admin-page, .agent-page) fieldset > legend {
  width: 100%;
  padding: 0;
  margin-bottom: 9px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--tone-ink-body);
}
:is(.admin-page, .agent-page) :is(.checkbox-row, .check-row, .sms-consent, .receipt-consent) {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 15px;
  border: 1px solid var(--tone-border);
  background: var(--tone-well);
  color: var(--tone-ink-body);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0.02em;
  line-height: 1.55;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
:is(.admin-page, .agent-page) :is(.checkbox-row, .check-row, .sms-consent, .receipt-consent):has(input:checked) {
  border-color: var(--brand-primary);
  background: var(--tone-elevated);
  color: var(--brand-primary);
  font-weight: 600;
}
:is(.admin-page, .agent-page) :is(.checkbox-row, .check-row, .sms-consent, .receipt-consent) input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--brand-primary);
}

.sms-page .sms-form {
  display: grid;
  gap: 18px;
}
.sms-page form[action="/admin/sms/settings"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.sms-page form[action="/admin/sms/settings"] > p,
.sms-page form[action="/admin/sms/settings"] > label:has(textarea),
.sms-page form[action="/admin/sms/settings"] > button {
  grid-column: 1 / -1;
}
.sms-page form[action="/admin/sms/settings"] > button {
  justify-self: start;
}
.sms-page .sms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Dialogs & Modals in Same Matte Tonal Family */
.plan-picker,
.entrance-notice,
.qf-editor-modal,
.zk-modal {
  background: var(--tone-surface) !important;
  border: 1px solid var(--tone-border-strong) !important;
}
.plan-picker-head,
.entrance-notice-head,
.qf-editor-head {
  background: var(--tone-surface) !important;
  border-bottom: 1px solid var(--tone-border) !important;
}
.plan-option {
  background: var(--tone-elevated) !important;
  border: 1px solid var(--tone-border) !important;
}
.plan-option:hover {
  border-color: var(--brand-primary) !important;
  transform: scale(1.008) !important;
}

/* Matte Tonal Table Rows */
.storefront-v3 .panel table th,
.storefront-v3 .data-table th {
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  color: var(--tone-ink-muted);
}
.storefront-v3 .panel table tbody tr,
.storefront-v3 .data-table tbody tr {
  background: var(--tone-elevated) !important;
  box-shadow: 0 0 0 1px var(--tone-border) !important;
}
.storefront-v3 .panel table tbody tr:hover,
.storefront-v3 .data-table tbody tr:hover {
  background: var(--tone-elevated) !important;
  transform: scale(1.005) !important;
  box-shadow: 0 0 0 1px var(--tone-border-strong) !important;
}
.storefront-v3 .panel table td,
.storefront-v3 .data-table td {
  padding: 16px 18px !important;
  font-weight: 400;
  letter-spacing: 0.015em;
}
.storefront-v3 .panel table td strong,
.storefront-v3 .data-table td strong {
  font-weight: 600;
}

/* ==========================================================================
   10. Full Desktop + Tablet + Mobile Responsive Adaptation
   ========================================================================== */
@media (max-width: 1060px) {
  .cxl-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.commerce-ui .header-inner {
    border-radius: 26px;
    padding: 10px 16px !important;
  }
  body.commerce-ui .footer-inner {
    border-radius: 24px;
  }
  body.commerce-ui .main-nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    border-top: 0 !important;
    padding: 5px !important;
  }
  body.commerce-ui .main-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 760px) {
  :is(.admin-page, .agent-page, .auth-section, .auth-page, .q-checkout-page, .redeem-layout, .dashboard-page, dialog)
    :is(
      input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
      select,
      textarea
    ):not(.zk-price-raw) {
    font-size: 16px !important;
  }

  .cxl-bento-grid,
  .cxl-form-grid,
  .form-grid,
  .admin-two-col,
  .admin-shortcuts,
  .receipt-main-grid,
  .receipt-overview,
  .receipt-approval-fields,
  .agent-branding-grid,
  .customer-support-grid,
  .sms-page form[action="/admin/sms/settings"] {
    grid-template-columns: 1fr !important;
  }

  .sms-page form[action="/admin/sms/settings"] > button {
    justify-self: stretch;
  }

  .admin-page,
  .agent-page,
  .dashboard-page {
    padding-top: 16px !important;
    padding-bottom: 44px !important;
  }

  .admin-page .panel,
  .agent-page .panel {
    padding: 22px 20px !important;
    border-radius: 22px !important;
  }

  .cxl-bento-card {
    padding: 22px 20px;
    border-radius: 22px;
    min-height: 0;
  }

  .cxl-local-drawer > summary {
    padding: 16px 20px;
  }
  .cxl-drawer-body {
    padding: 6px 20px 20px;
  }

  .table-scroll,
  .table-wrap,
  .receipt-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding-bottom: 4px;
  }
  .table-scroll > .data-table,
  .table-wrap > table,
  .receipt-table-wrap > table {
    min-width: 600px;
  }
}

@media (max-width: 540px) {
  body.commerce-ui .header-inner {
    min-height: 56px !important;
    border-radius: 22px;
    padding: 8px 12px !important;
    gap: 8px 10px;
  }
  body.commerce-ui .main-brand-image {
    width: auto;
    max-width: 146px;
    height: 46px;
    object-fit: contain;
  }
  body.commerce-ui .brand-mark,
  body.commerce-ui .brand-mark-logo,
  body.commerce-ui .brand-mark-logo img {
    width: 38px;
    height: 38px;
  }
  body.commerce-ui .brand-name {
    font-size: 19px;
  }
  body.commerce-ui .main-nav a,
  body.commerce-ui .admin-nav a,
  body.commerce-ui .agent-nav a {
    padding: 6px 13px !important;
    min-height: 34px !important;
    font-size: 13px !important;
  }
  .cxl-hero-actions,
  .cxl-form-footer .button,
  .form-actions .button {
    width: 100%;
  }
  .cxl-hero-actions > .button {
    flex: 1 1 auto;
    justify-content: center;
  }
  :is(.admin-page, .agent-page) :is(.checkbox-row, .check-row, .sms-consent, .receipt-consent) {
    width: 100%;
  }
}

/* ==========================================================================
   11. Spacious User-First 3-Column Widescreen Layout & High-Legibility Type
   Zero Clutter · Generous 14.5px-20px Reading Scale · Aligned Card Horizon
   ========================================================================== */
.lux-catalog-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "stage-head"
    "stage-main"
    "rail-left"
    "rail-right";
  gap: 20px;
  align-items: start;
}

.lux-catalog-header {
  grid-area: stage-head;
  min-width: 0;
  margin: 0 !important;
}

.lux-catalog-main {
  grid-area: stage-main;
  min-width: 0;
}

.lux-rail-left {
  grid-area: rail-left;
  min-width: 0;
}

.lux-rail-right {
  grid-area: rail-right;
  min-width: 0;
}

.lux-side-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Comfortable Full-Homepage Reading Scale (Eliminate Tiny Dense Text!) */
body.commerce-ui .main-nav a {
  font-size: 15px !important;
}

.storefront-v3 .trust-chip {
  font-size: 13.5px !important;
  padding: 6px 14px !important;
}

.storefront-v3 .notice-pill-button {
  font-size: 14.5px !important;
  padding: 9px 18px !important;
}

.storefront-v3 .reset-radar h2 {
  font-size: 23px !important;
}

.storefront-v3 .reset-radar .reset-sync {
  font-size: 13.5px !important;
  padding: 6px 13px !important;
}

.storefront-v3 .reset-radar .reset-radar-clock > span {
  font-size: 14.5px !important;
  color: var(--tone-ink-body) !important;
}

.storefront-v3 .reset-radar .reset-last,
.storefront-v3 .reset-radar .reset-sync-note {
  font-size: 13.8px !important;
}

.storefront-v3 .reset-radar .radar-post strong {
  font-size: 15px !important;
}

.storefront-v3 .reset-radar .radar-post p {
  font-size: 14.2px !important;
  line-height: 1.65 !important;
}

.storefront-v3 .reset-radar .reset-disclaimer {
  font-size: 13.2px !important;
  color: var(--tone-ink-muted) !important;
}

.storefront-v3 .family-card h3 {
  font-size: 27px !important;
}

.storefront-v3 .family-card > header p {
  font-size: 15px !important;
  color: var(--tone-ink-muted) !important;
}

.storefront-v3 .family-badge {
  font-size: 13.5px !important;
  padding: 6px 14px !important;
}

.storefront-v3 .family-card .button {
  font-size: 15px !important;
  min-height: 46px !important;
  padding-inline: 22px !important;
}

.storefront-v3 .ui-purchase-guide h3 {
  font-size: 16.5px !important;
}

.storefront-v3 .ui-purchase-guide p {
  font-size: 14.2px !important;
}

/* Tablet / Medium Laptop (900px - 1339px): Clean 2-Column Row Below Main */
@media (min-width: 900px) and (max-width: 1339px) {
  .lux-catalog-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "stage-head stage-head"
      "stage-main stage-main"
      "rail-left  rail-right";
    gap: 22px;
  }
}

/* Widescreen Desktop (>= 1340px): Open Top Sky + Flush 3-Column Bento Deck */
@media (min-width: 1340px) {
  body.commerce-ui:has(.lux-catalog-shell) .site-header > .container.header-inner,
  body.commerce-ui:has(.lux-catalog-shell) .site-footer > .container,
  .storefront-v3 .q-catalog-page.ui-catalog.storefront-collection {
    max-width: min(1660px, calc(100vw - 56px)) !important;
    width: 100% !important;
  }

  .lux-catalog-shell {
    grid-template-columns: clamp(276px, 19.2vw, 316px) minmax(0, 1fr) clamp(276px, 19.2vw, 316px);
    grid-template-areas:
      ".         stage-head ."
      "rail-left stage-main rail-right";
    column-gap: clamp(20px, 1.8vw, 28px);
    row-gap: 18px;
    align-items: start;
  }

  .lux-side-rail {
    position: sticky;
    top: 86px;
  }
}

/* Spacious Matte Side-Rail Cards */
.lux-rail-card {
  background: var(--tone-surface) !important;
  border: 1px solid var(--tone-border) !important;
  border-radius: 26px !important;
  padding: 25px 24px !important;
  box-shadow: 0 12px 30px -20px var(--tone-shadow) !important;
  transition: border-color 0.22s ease, box-shadow 0.24s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-rail-card:hover {
  border-color: var(--tone-border-strong) !important;
  box-shadow: 0 16px 34px -18px var(--tone-shadow) !important;
  transform: scale(1.005);
}

.lux-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lux-rail-head h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  color: var(--tone-ink) !important;
}

.lux-rail-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
}

.lux-rail-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.lux-rail-desc {
  font-size: 15px;
  line-height: 1.68;
  color: var(--tone-ink-body);
  margin: 0 0 16px;
}

/* Left Rail — QF Order Lookup & CDK Action */
.lux-rail-lookup {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lux-rail-lookup input {
  width: 100%;
  min-height: 48px;
  padding: 11px 15px;
  border-radius: 14px !important;
  border: 1px solid var(--tone-border-strong) !important;
  background: var(--tone-well) !important;
  color: var(--tone-ink) !important;
  font-family: var(--lux-font-mono) !important;
  font-size: 15px !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lux-rail-lookup input::placeholder {
  font-family: var(--lux-font-sans) !important;
  font-size: 14.5px;
  color: var(--tone-ink-muted);
}

.lux-rail-lookup input:focus {
  outline: none;
  background: var(--tone-elevated) !important;
  border-color: var(--brand-primary) !important;
}

.lux-rail-submit {
  width: 100%;
  min-height: 46px !important;
  font-size: 15px !important;
  border-radius: 14px !important;
  justify-content: center;
  gap: 7px;
}

.lux-rail-submit .ui-icon {
  width: 16px;
  height: 16px;
}

.lux-rail-dual-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.lux-rail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 13px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  color: var(--tone-ink-body);
  font-size: 14.2px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.lux-rail-pill:hover {
  background: var(--brand-soft-strong);
  border-color: var(--tone-border-strong);
  color: var(--brand-primary-dark);
  transform: scale(1.01);
}

.lux-rail-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border-strong);
  color: var(--brand-primary-dark);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lux-rail-action-btn .ui-icon {
  width: 16px;
  height: 16px;
}

.lux-rail-action-btn:hover {
  background: var(--brand-soft-strong);
  border-color: var(--brand-primary);
  transform: scale(1.01);
}

/* Right Rail — 3-Step Guide & Spacious Collapsible FAQ */
.lux-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border-strong);
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.lux-status-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--tone-border-strong);
}

.lux-step-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lux-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.lux-step-num {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border-strong);
  color: var(--brand-primary-dark);
  font-family: var(--lux-font-mono);
  font-size: 14.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.lux-step-list strong {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--tone-ink);
  line-height: 1.38;
}

.lux-step-list p {
  font-size: 14px;
  color: var(--tone-ink-muted);
  line-height: 1.55;
  margin: 3px 0 0;
}

.lux-rail-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lux-rail-faq details {
  border-radius: 14px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  padding: 13px 15px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lux-rail-faq details[open] {
  border-color: var(--tone-border-strong);
  background: var(--tone-elevated);
}

.lux-rail-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tone-ink);
  line-height: 1.45;
}

.lux-rail-faq summary::-webkit-details-marker {
  display: none;
}

.lux-rail-faq summary::after {
  content: "+";
  font-family: var(--lux-font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.lux-rail-faq details[open] summary::after {
  content: "−";
}

.lux-rail-faq details p {
  font-size: 14.2px;
  line-height: 1.72;
  color: var(--tone-ink-body);
  margin: 10px 0 2px;
}


/* ==========================================================================
   13. Browser-First "My Orders" (/orders & /shop/guest-orders) + Rail Backup
   ========================================================================== */
.lux-rail-backup {
  margin-top: 4px;
  border-radius: 14px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  padding: 11px 14px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lux-rail-backup[open] {
  background: var(--tone-elevated);
  border-color: var(--tone-border-strong);
}

.lux-rail-backup > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tone-ink-body);
}

.lux-rail-backup > summary::-webkit-details-marker {
  display: none;
}

.lux-rail-backup > summary::after {
  content: "▾";
  color: var(--brand-primary);
  font-size: 13px;
  transition: transform 0.18s ease;
}

.lux-rail-backup[open] > summary::after {
  transform: rotate(180deg);
}

.lux-rail-backup .lux-rail-lookup {
  margin-top: 12px;
}

.lux-rail-backup .lux-rail-dual-links {
  margin-top: 10px;
}

.my-orders-page {
  max-width: 880px !important;
  margin-inline: auto;
  padding-block: 36px 72px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.my-orders-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.my-orders-head-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.my-orders-auto-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tone-elevated);
  border: 1px solid var(--tone-border-strong);
  color: var(--brand-primary-dark);
  font-size: 13.5px;
  font-weight: 650;
}

.my-orders-auto-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--tone-well);
}

.my-orders-head h1 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 36px) !important;
  font-weight: 760 !important;
  letter-spacing: -0.02em;
  color: var(--tone-ink);
  line-height: 1.18;
}

.my-orders-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tone-ink-body);
}

.my-orders-chips {
  margin-top: 2px;
}

.my-orders-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.my-orders-primary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-orders-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 4px;
  font-size: 14.5px;
  color: var(--tone-ink-body);
}

.my-orders-count-bar strong {
  color: var(--brand-primary-dark);
  font-weight: 700;
}

.my-orders-count-bar small {
  font-size: 13.5px;
  color: var(--tone-ink-muted);
}

.my-orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--tone-elevated);
  border: 1px solid var(--tone-border);
  box-shadow: var(--lux-shadow-card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.my-order-card:hover {
  border-color: var(--tone-border-strong);
  box-shadow: var(--lux-shadow-hover);
}

.my-order-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.my-order-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.my-order-title-row h2 {
  margin: 0;
  font-size: 18.5px !important;
  font-weight: 700 !important;
  color: var(--tone-ink);
  line-height: 1.35;
}

.my-order-mode {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border-strong);
  color: var(--brand-primary-dark);
  font-size: 12.5px;
  font-weight: 650;
}

.my-order-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
  color: var(--tone-ink-muted);
}

.my-order-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--tone-border-strong);
}

.my-order-summary {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tone-ink-body);
}

.my-order-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.my-order-price-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.my-order-amount {
  font-family: var(--lux-font-mono);
  font-size: 18px;
  font-weight: 750;
  color: var(--tone-ink);
}

.my-order-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  border: 1px solid transparent;
}

.my-order-status.status-tone-paid {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.my-order-status.status-tone-pending {
  background: var(--tone-well);
  border-color: var(--tone-border-strong);
  color: var(--brand-primary-dark);
}

.my-order-status.status-tone-warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.my-order-status.status-tone-muted {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.my-order-cta {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 14.5px !important;
  font-weight: 650 !important;
}

.my-orders-shared-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 16px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  font-size: 14px;
  color: var(--tone-ink-body);
}

.my-orders-shared-tip svg {
  width: 18px;
  height: 18px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.my-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 48px 32px;
  border-radius: 26px;
  background: var(--tone-elevated);
  border: 1px solid var(--tone-border);
  box-shadow: var(--lux-shadow-card);
}

.my-orders-empty-orb {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border-strong);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
}

.my-orders-empty-orb svg {
  width: 26px;
  height: 26px;
}

.my-orders-empty h2 {
  margin: 4px 0 0;
  font-size: 23px !important;
  font-weight: 720 !important;
  color: var(--tone-ink);
}

.my-orders-empty p {
  margin: 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--tone-ink-body);
}

.my-orders-empty-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.my-orders-backups {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.my-orders-backup-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tone-ink-muted);
}

.my-orders-backup-divider::before,
.my-orders-backup-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--tone-border);
}

.orders-backup-card {
  border-radius: 22px;
  background: var(--tone-elevated);
  border: 1px solid var(--tone-border);
  box-shadow: var(--lux-shadow-card);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.orders-backup-card[open] {
  border-color: var(--tone-border-strong);
}

.orders-backup-card > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
}

.orders-backup-card > summary::-webkit-details-marker {
  display: none;
}

.orders-backup-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.orders-backup-orb {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.orders-backup-orb svg {
  width: 20px;
  height: 20px;
}

.orders-backup-summary-left strong {
  display: block;
  font-size: 16.5px;
  font-weight: 680;
  color: var(--tone-ink);
  line-height: 1.35;
}

.orders-backup-summary-left small {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: var(--tone-ink-muted);
  line-height: 1.45;
}

.orders-backup-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.orders-backup-body {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--tone-border);
}

.orders-backup-body .qf-lookup.panel {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

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

.orders-backup-foot {
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--tone-ink-muted);
}

.orders-backup-foot a {
  color: var(--brand-primary);
  font-weight: 600;
}

@media (max-width: 720px) {
  .my-order-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 20px;
  }
  .my-order-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--tone-border);
  }
  .orders-backup-grid {
    grid-template-columns: 1fr;
  }
  .orders-backup-pill {
    display: none;
  }
}


/* ==========================================================================
   14. Featured Goods Vault Pass Card Artwork (Homepage Catalog)
   ========================================================================== */
.goods-art {
  display: grid;
  place-items: center;
  padding: 18px;
}

.goods-vault-pass {
  width: min(100%, 272px);
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--tone-elevated);
  border: 1px solid var(--tone-border-strong);
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.goods-vault-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.goods-vault-kicker {
  font-family: var(--lux-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tone-ink-muted);
}

.goods-vault-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border);
  font-size: 11.5px;
  font-weight: 650;
  color: var(--brand-primary-dark);
}

.goods-vault-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.goods-vault-mid {
  display: flex;
  align-items: center;
  gap: 12px;
}

.goods-vault-orb {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--tone-well);
  border: 1px solid var(--tone-border-strong);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.goods-vault-mid strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tone-ink);
  line-height: 1.3;
}

.goods-vault-mid small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--tone-ink-muted);
}

.goods-vault-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--tone-border-strong);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tone-ink-muted);
}
