:root {
  --paper: #f4eee8;
  --paper-deep: #e9ded5;
  --ink: #291d23;
  --muted: #6f5d62;
  --line: #d8c9c2;
  --line-light: rgba(216, 201, 194, 0.45);
  --plum: #4b2434;
  --plum-light: #5d2f42;
  --rose: #a66f72;
  --copper: #a16d52;
  --wine: #7d2138;
  --white: #fffaf6;
  --card-bg: #f9f5f1;
  --display: Italiana, Georgia, serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(41, 29, 35, 0.06);
  --shadow-md: 0 8px 24px rgba(41, 29, 35, 0.10);
  --shadow-lg: 0 16px 40px rgba(41, 29, 35, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
button, input, select { font: inherit; color: inherit; }
button, input, select, fieldset { min-width: 0; }
button { cursor: pointer; border: none; background: transparent; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
[hidden] { display: none !important; }

/* -------------------------------------------------------------
   HEADER
------------------------------------------------------------- */
.site-header {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 20;
}
.wordmark {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.03em;
  line-height: 1;
}
.wordmark-dot { color: var(--copper); }
.header-rule { width: 1px; height: 22px; background: var(--line); }
.header-descriptor {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  min-width: 0;
  margin-left: auto;
  align-items: center;
}
.site-header nav a,
.site-header nav button {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
  padding: 6px 0;
}
.site-header nav a:hover,
.site-header nav button:hover { color: var(--copper); }
.site-header nav a[aria-current] {
  color: var(--plum);
  border-bottom: 2px solid var(--plum);
}

/* -------------------------------------------------------------
   INTRO / HERO
------------------------------------------------------------- */
.intro {
  max-width: 1540px;
  margin: auto;
  padding: 56px clamp(20px, 4vw, 64px) 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.intro-copy { min-width: 0; max-width: 900px; }
.eyebrow {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--copper);
  display: flex;
  align-items: center;
}
.eyebrow-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--rose);
}
.intro h1 {
  font: 400 clamp(48px, 6.8vw, 104px)/0.94 var(--display);
  letter-spacing: -0.035em;
  margin: 0;
}
.intro h1 em, .afterword h2 em { font-weight: 400; color: var(--rose); font-style: italic; }
.intro-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 24px 0 0;
}
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 6px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  transition: gap 0.2s, color 0.2s;
}
.intro-link:hover { gap: 32px; color: var(--copper); }
.intro-aside {
  min-height: 180px;
  display: flex;
  align-items: center;
  gap: 32px;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--muted);
}
.intro-star { font-size: 20px; color: var(--rose); }

/* -------------------------------------------------------------
   STUDIO CONTAINER & RESPONSIVE EDITOR
------------------------------------------------------------- */
.studio {
  background: var(--white);
  padding: 40px clamp(18px, 4vw, 64px) 80px;
  border-top: none;
}
.studio-heading {
  max-width: 1540px;
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.studio-heading .eyebrow { margin-bottom: 8px; }
.studio-heading h1, .studio-heading h2, .palette-header h3 {
  font: 400 clamp(32px, 3.8vw, 54px)/1.04 var(--display);
  letter-spacing: -0.025em;
  margin: 0;
}
.studio-heading > p {
  font-size: 13px;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.5;
  margin: 0;
}

/* =============================================================
   STORE NAVIGATION — STREAMLINED LUXURY SUITE SELECTOR
   ============================================================= */
.store-navigation {
  max-width: 1540px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.store-card {
  min-width: 0;
  min-height: 84px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.store-card:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
  box-shadow: 0 6px 16px rgba(75, 36, 52, 0.08);
}
.store-card:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
.store-card:active {
  transform: translateY(0);
}

/* Elegant individual store accent border at top */
.store-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background-color .2s ease;
}
.store-card[data-store="lashes"]::before { background: #3b2c3d; }
.store-card[data-store="lips"]::before { background: #a23a54; }
.store-card-brows::before, .store-card[data-store="brows"]::before { background: #825442; }
.store-card-blush::before, .store-card[data-store="blush"]::before { background: #c66f6f; }
.store-card-eyeshadow::before, .store-card[data-store="eyeshadow"]::before { background: #7c4873; }
.store-card-lens::before, .store-card[data-store="lens"]::before { background: #2f7572; }
.store-card-foundation::before, .store-card[data-store="foundation"]::before { background: #b07e59; }

/* Inactive cards unified luxury surface */
.store-card-brows, .store-card-blush, .store-card-eyeshadow, .store-card-lens, .store-card-foundation {
  background: #ffffff;
}

/* Active Store: Luxurious Obsidian / Espresso with Gold Accent */
.store-card.is-active {
  background: #171518;
  color: #ffffff;
  border-color: #171518;
  box-shadow: 0 8px 24px rgba(23, 21, 24, 0.18);
  transform: translateY(-2px);
}
.store-card.is-active::before {
  height: 3px;
  background: #d4af37;
}

.store-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}
.store-card-index {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.store-card.is-active .store-card-index {
  color: rgba(255, 255, 255, 0.65);
}
.store-card-icon {
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
  color: var(--copper);
  opacity: .85;
}
.store-card.is-active .store-card-icon {
  color: #e8c97e;
  opacity: 1;
}

.store-card-title {
  font: 500 15px/1.2 var(--display);
  letter-spacing: -.01em;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
}
.store-card.is-active .store-card-title {
  color: #ffffff;
}
.store-card.is-active .store-card-title em {
  color: #f1cfb6;
}

/* Hide bulky description sentence to keep cards simple and neat */
.store-card-detail {
  display: none;
}

/* Sleek bottom row: spec tag + minimal circular arrow badge */
.store-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.store-card.is-active .store-card-foot {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.store-card-spec {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card.is-active .store-card-spec {
  color: rgba(255, 255, 255, 0.75);
}

.store-card-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  font-size: 11px;
  line-height: 1;
  color: var(--ink);
  flex-shrink: 0;
  transition: all .18s ease;
}
.store-card-enter-btn .enter-text {
  display: none;
}
.store-card:hover .store-card-enter-btn {
  background: var(--copper);
  color: #ffffff;
  transform: scale(1.1);
}
.store-card.is-active .store-card-enter-btn {
  background: #d4af37;
  color: #171518;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}
.store-card.is-active .enter-icon {
  transform: translateY(0.5px);
}

.store-mobile-hint, .store-return { display: none; }

/* =============================================================
   BOUTIQUE ENTRANCE PORTAL & IN-ATELIER QUICK DOCK
   ============================================================= */
.boutique-portal {
  background: linear-gradient(135deg, rgba(255, 252, 248, 0.98), rgba(248, 240, 233, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px 14px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(75, 36, 52, 0.04);
  transition: all 0.3s ease;
}
.boutique-portal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--portal-accent, #c9935d);
  transition: background 0.3s ease;
}

/* Boutique Portal Header */
.boutique-portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.boutique-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.boutique-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(45, 20, 30, 0.07);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
}
.boutique-live-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
  animation: beaconPulse 2s infinite ease-in-out;
}
@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.boutique-curator-mark {
  font-size: 10px;
  color: var(--copper);
}
.boutique-salon-room {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.portal-concourse-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  color: var(--plum);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.portal-concourse-btn:hover {
  border-color: var(--copper);
  background: #fdfaf7;
  transform: translateY(-1px);
}

/* Boutique Portal Body */
.boutique-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.boutique-pretitle {
  margin-bottom: 4px;
}
.boutique-heading {
  font: 400 clamp(28px, 2.7vw, 38px)/1.08 var(--display);
  letter-spacing: -.025em;
  color: var(--plum);
  margin: 0;
}
.boutique-doorway-emblem {
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  color: var(--portal-accent, var(--copper));
  opacity: 0.3;
  user-select: none;
  transition: all 0.3s ease;
}
.boutique-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 520px;
  margin: 8px 0 0;
}

/* Compact left-edge store switcher with an always-reachable collapse control. */
.face-store-rail {
  position: fixed;
  z-index: 1000;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 164px;
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid #d8cbc3;
  border-radius: 8px;
  background: #fffaf6;
  box-shadow: 0 4px 20px rgba(62, 37, 42, .12);
}
.face-store-rail[hidden], .face-store-list[hidden] { display: none; }
.face-store-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--plum);
  font: 700 12px/1.2 'DM Sans', sans-serif;
  cursor: pointer;
}
.face-store-toggle-action { color: var(--muted); font-size: 10px; font-weight: 500; }
.face-store-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(70dvh - 58px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  padding-top: 5px;
  border-top: 1px solid #e6dcd5;
}
.face-store-rail-btn {
  flex: 0 0 auto;
  min-height: 44px;
  width: 100%;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--plum);
  font: 500 12px/1.25 'DM Sans', sans-serif;
  text-align: left;
  cursor: pointer;
}
.face-store-rail-btn:hover, .face-store-toggle:hover { background: #f1e8e1; }
.face-store-rail-btn:focus-visible, .face-store-toggle:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; }
.face-store-rail-btn.is-active { background: var(--plum); color: #fffaf6; font-weight: 600; }
.face-store-rail.is-collapsed { width: auto; padding: 3px; }
.face-store-rail.is-collapsed .face-store-toggle { gap: 8px; padding: 0 9px; }
.face-store-rail.is-collapsed .face-store-toggle-action { font-size: 16px; }
@media (max-width: 820px) {
  .face-store-rail { left: 4px; max-width: calc(100vw - 8px); }
}
.boutique-quick-dock {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.boutique-quick-dock::-webkit-scrollbar {
  display: none;
}
.dock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.dock-items {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
}
.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--plum);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.dock-btn:hover {
  border-color: var(--copper);
  background: #fdfaf7;
  transform: translateY(-1px);
}
.dock-btn.is-active {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
  box-shadow: 0 2px 8px rgba(75, 36, 52, 0.22);
}
.dock-btn.is-active .dock-icon {
  color: #d8ab76;
}
.dock-num {
  font-size: 9px;
  opacity: 0.7;
}

/* Doorway Entrance Animation */
@keyframes boutiqueDoorwayEnter {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.store-panel:not([hidden]) {
  animation: boutiqueDoorwayEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Ambient Stage Framing by Active Boutique */
[data-face-store="lashes"] { --portal-accent: #d4af37; }
[data-face-store="lips"] { --portal-accent: #c7536d; }
[data-face-store="brows"] { --portal-accent: #a16c4c; }
[data-face-store="blush"] { --portal-accent: #c9644f; }
[data-face-store="eyeshadow"] { --portal-accent: #93587b; }
[data-face-store="lens"] { --portal-accent: #2a8f8a; }
[data-face-store="foundation"] { --portal-accent: #cb9c68; }

[data-face-store="lashes"] .preview-frame { --ambient-glow: rgba(212, 175, 55, 0.16); }
[data-face-store="lips"] .preview-frame { --ambient-glow: rgba(199, 83, 109, 0.16); }
[data-face-store="brows"] .preview-frame { --ambient-glow: rgba(161, 108, 76, 0.16); }
[data-face-store="blush"] .preview-frame { --ambient-glow: rgba(201, 100, 79, 0.16); }
[data-face-store="eyeshadow"] .preview-frame { --ambient-glow: rgba(147, 88, 123, 0.16); }
[data-face-store="lens"] .preview-frame { --ambient-glow: rgba(42, 143, 138, 0.16); }
[data-face-store="foundation"] .preview-frame { --ambient-glow: rgba(203, 156, 104, 0.16); }

.preview-frame {
  box-shadow: 0 16px 44px -8px rgba(45, 25, 34, 0.15), 0 0 0 1px rgba(0,0,0,0.06), 0 0 32px var(--ambient-glow, transparent);
  transition: box-shadow 0.4s ease;
}

.store-panel { min-width: 0; scroll-margin-top: 20px; }

/* THE THREE-COLUMN GRID:
   Col 1: Static Preview Stage
   Col 2: Static Controls (Models, Dress Color, Zoom, Camera)
   Col 3: Scrollable Store Settings (Lashes, Lips, Brows) */
.studio-grid {
  max-width: 1720px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.studio-grid > *, .studio-grid fieldset, .store-panel > * { min-width: 0; }
.controls-column { display: flex; flex-direction: column; gap: 10px; }
.look-panel { overflow-wrap: anywhere; }

/* =============================================================
   LEFT COLUMNS: STATIC PREVIEW & CONTROLS (Pinned in viewport on desktop)
   ============================================================= */
@media (min-width: 821px) {
  .preview-column {
    position: sticky;
    top: 14px;
    align-self: start;
    z-index: 10;
    height: calc(100vh - 28px);
    height: calc(100dvh - 28px);
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 36, 52, 0.25) transparent;
    padding-right: 4px;
  }
  .preview-column::-webkit-scrollbar { width: 4px; }
  .preview-column::-webkit-scrollbar-thumb {
    background: rgba(75, 36, 52, 0.25);
    border-radius: 2px;
  }
  .preview-column > * { min-width: 0; }
  .preview-column .preview-frame {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .controls-column {
    position: sticky;
    top: 14px;
    align-self: start;
    z-index: 10;
    height: calc(100vh - 28px);
    height: calc(100dvh - 28px);
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 36, 52, 0.25) transparent;
    padding-right: 6px;
  }
  .controls-column::-webkit-scrollbar { width: 4px; }
  .controls-column::-webkit-scrollbar-thumb {
    background: rgba(75, 36, 52, 0.25);
    border-radius: 2px;
  }
  .controls-column > * { min-width: 0; }

  .controls-column .camera-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
  }
  .controls-column .camera-controls #camera-button {
    grid-column: span 2;
  }
}

/* -------------------------------------------------------------
   AI MODEL & BACKDROP ACCORDIONS (matching Nail Studio)
------------------------------------------------------------- */
.demo-models {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.demo-accordion {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.demo-accordion[open] { border-color: rgba(75, 36, 52, 0.35); }
.demo-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
  background: #f4ece4;
  list-style: none;
}
.demo-accordion-summary::-webkit-details-marker { display: none; }
.demo-accordion-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.accordion-chevron { flex: 0 0 auto; }
.accordion-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  transition: transform 0.2s ease;
  display: block;
}
.demo-accordion[open] .accordion-chevron svg { transform: rotate(180deg); }
.demo-accordion-title strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.demo-accordion-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.05em;
}
.demo-accordion-body {
  padding: 10px 12px;
  border-top: 1px solid var(--line-light);
}

/* AI Model portrait swatch buttons */
.demo-model-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.demo-model-options button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: all 0.2s;
}
.demo-model-options button:hover {
  border-color: var(--copper);
  transform: translateY(-1px);
}
.demo-model-options button.active {
  border-color: var(--plum);
  background: #ede0d8;
  box-shadow: 0 0 0 1px var(--plum);
}
.demo-model-options button img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
}
.demo-model-options button span {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.lash-view-controls {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 6px 9px 6px 13px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.lash-view-controls > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.lash-view-options {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
}
.lash-view-options button {
  border-radius: 3px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.lash-view-options button:hover { color: var(--plum); background: rgba(75, 36, 52, 0.08); }
.lash-view-options button.active { color: var(--white); background: var(--plum); }
@media (max-width: 420px) {
  .lash-view-controls { padding-left: 9px; gap: 5px; }
  .lash-view-options button { padding: 6px 7px; }
}

/* An editorial fabric strip for the fictional sample portraits. */
.dress-color-control {
  flex-shrink: 0;
  margin: 0 0 10px;
  padding: 10px 12px 9px;
  background: #f5eee7;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.dress-color-control[hidden] { display: none; }
.dress-color-heading { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-bottom: 8px; }
.dress-color-kicker { display: block; color: var(--copper); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.dress-color-heading h3 { margin: 2px 0 0; font: 400 20px/1 var(--display); color: var(--plum); }
.dress-color-status { color: var(--plum); font-size: 10px; font-weight: 700; white-space: nowrap; }
.dress-color-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.dress-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 5px 2px 4px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.dress-swatch:hover, .dress-swatch:focus-visible { background: #eadbd0; color: var(--plum); }
.dress-swatch.active, .dress-swatch.is-active { background: #e9dad1; border-color: var(--plum); color: var(--plum); }
.dress-swatch:focus-visible, .dress-custom input:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.dress-swatch-dot, .dress-custom input {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(70, 42, 43, .3);
  background: var(--dress-swatch);
}
.dress-swatch.active .dress-swatch-dot, .dress-custom.is-active input { box-shadow: 0 0 0 2px var(--plum); }
.dress-swatch-original { background: conic-gradient(#a6aa91 0 25%, #bc6c58 25% 50%, #225a70 50% 75%, #79445d 75%); }
.dress-custom input { padding: 0; overflow: hidden; cursor: pointer; }
.dress-custom input::-webkit-color-swatch-wrapper { padding: 0; }
.dress-custom input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.dress-custom input::-moz-color-swatch { border: 0; border-radius: 50%; }
.dress-color-note { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.25; }


/* -------------------------------------------------------------
   STAGE / PREVIEW FRAME
------------------------------------------------------------- */
.preview-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1122 / 1402;
  background: #c5aca0;
  border-radius: var(--radius-sm);
  color: white;
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: none;
  cursor: grab;
}
.preview-frame.panning { cursor: grabbing; }
.preview-frame:before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
}
.preview-frame canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: none;
  transform: translateZ(0);
  will-change: transform;
  contain: paint;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.preview-frame.is-demo { aspect-ratio: 1122 / 1402; }
.preview-frame.is-demo canvas { object-fit: contain; }
.preview-frame.is-demo .preview-shade {
  background: linear-gradient(to bottom, rgba(27,14,21,.34), transparent 15%, transparent 87%, rgba(27,14,21,.25));
}
.preview-frame.is-demo .preview-bottom { bottom: 12px; left: 16px; right: 16px; }
.preview-frame.is-demo .preview-bottom strong { font-size: clamp(18px, 2vw, 26px); }
.preview-frame.is-demo .preview-small, .preview-frame.is-demo .preview-subdetail,
.preview-frame.is-demo .preview-corner { display: none; }
.preview-frame:fullscreen {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
}
@media (min-width: 821px) {
  body[data-face-store="brows"] .preview-frame canvas { object-position: center 23%; }
}
.preview-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(27, 14, 21, 0.32),
    transparent 18%,
    transparent 72%,
    rgba(27, 14, 21, 0.55)
  );
  z-index: 1;
}

/* Top metadata */
.preview-top, .preview-bottom {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.preview-top > *, .preview-bottom > * { min-width: 0; }
.preview-top { top: 22px; }
.preview-bottom { bottom: 22px; align-items: flex-end; }
.preview-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.live-dot {
  flex: 0 0 7px;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9a782;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}
.preview-no, .preview-small {
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.preview-bottom > div { display: grid; gap: 4px; }
.preview-bottom strong {
  font: 400 clamp(24px, 2.6vw, 38px)/1 var(--display);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  overflow-wrap: anywhere;
}
.preview-subdetail {
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.preview-corner { font-size: 24px; line-height: 1; color: #f4eee8; }

/* Overlaid Stage Action Buttons */
.compare-btn {
  position: absolute;
  z-index: 4;
  right: 20px;
  top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(41, 29, 35, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  user-select: none;
}
.compare-btn svg { width: 14px; height: 14px; display: block; }
.compare-btn:hover {
  background: rgba(41, 29, 35, 0.9);
  border-color: white;
  transform: translateY(-1px);
}
.compare-btn[aria-pressed="true"],
.compare-btn.active {
  background: var(--plum);
  border-color: var(--copper);
  box-shadow: 0 0 14px rgba(184, 115, 87, 0.45);
  color: #fff;
}

.stage-camera-action {
  position: absolute;
  z-index: 4;
  left: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(41, 29, 35, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.stage-rotate { top: 56px; }
.stage-flip { top: 96px; }
.stage-camera-action svg { width: 16px; height: 16px; display: block; }
.stage-camera-action:hover {
  background: rgba(41, 29, 35, 0.9);
  border-color: white;
  transform: scale(1.05);
}

.stage-fullscreen-fab, .showcase-fab {
  position: absolute;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(41, 29, 35, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.stage-fullscreen-fab { right: 20px; bottom: 84px; }
.showcase-fab { right: 20px; bottom: 126px; }
.stage-fullscreen-fab svg, .showcase-fab svg { width: 18px; height: 18px; display: block; }
.stage-fullscreen-fab:hover, .showcase-fab:hover {
  background: var(--plum);
  border-color: var(--copper);
  transform: scale(1.08);
}
.stage-action-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 14, 21, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.stage-fullscreen-fab:hover .stage-action-tooltip,
.showcase-fab:hover .stage-action-tooltip,
.stage-camera-action:hover .stage-action-tooltip { opacity: 1; }

/* Loading and guide overlays */
.preview-loading, .preview-guide {
  position: absolute;
  z-index: 6;
  inset: 0;
  background: rgba(43, 27, 33, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.preview-loading strong, .preview-guide strong {
  font: 400 32px/1 var(--display);
}
.preview-loading > span:last-child, .preview-guide > span:last-child {
  font-size: 12px;
  line-height: 1.5;
  max-width: 260px;
  color: #eedcd4;
}
.loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-bottom: 8px;
}
.guide-icon { font-size: 28px; margin-bottom: 4px; color: var(--rose); }
.preview-guide {
  inset: auto 20px 84px;
  min-height: 140px;
  background: rgba(43, 27, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------
   STAGE ZOOM & PAN BAR
------------------------------------------------------------- */
.stage-zoom-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 6px 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.zoom-focus-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.zoom-focus-badge:hover {
  border-color: var(--copper);
  background: #fdfaf7;
  transform: translateY(-1px);
}
.zoom-focus-badge.is-lips {
  color: #a83d58;
  border-color: rgba(168, 61, 88, 0.35);
  background: #fff8f9;
}
.zoom-focus-badge.is-lips:hover {
  border-color: #a83d58;
}
.zoom-focus-badge.is-brows {
  color: #634536;
  border-color: rgba(99, 69, 54, 0.35);
  background: #fbf7f5;
}
.zoom-focus-badge.is-brows:hover {
  border-color: #634536;
}
.zoom-focus-badge.is-blush {
  color: #b85d43;
  border-color: rgba(184, 93, 67, 0.35);
  background: #fff8f5;
}
.zoom-focus-badge.is-blush:hover {
  border-color: #b85d43;
}
.zoom-focus-badge.is-eyeshadow {
  color: #7d4860;
  border-color: rgba(125, 72, 96, 0.35);
  background: #fcf6f8;
}
.zoom-focus-badge.is-eyeshadow:hover {
  border-color: #7d4860;
}
.zoom-focus-badge.is-lens {
  color: #2a7a78;
  border-color: rgba(42, 122, 120, 0.35);
  background: #f0f9f8;
}
.zoom-focus-badge.is-lens:hover {
  border-color: #2a7a78;
}
.zoom-focus-badge.is-foundation {
  color: #8c5525;
  border-color: rgba(140, 85, 37, 0.35);
  background: #fbf5ef;
}
.zoom-focus-badge.is-foundation:hover {
  border-color: #8c5525;
}
.zoom-focus-icon {
  width: 12px;
  height: 12px;
  display: block;
}
.zoom-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s;
}
.zoom-btn:hover { border-color: var(--copper); background: #fdfaf7; }
.zoom-btn svg { width: 14px; height: 14px; display: block; }
.zoom-slider-wrap { flex: 1 1 0; min-width: 0; }
.stage-zoom-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  accent-color: var(--plum);
  outline: none;
}
.stage-zoom-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--plum);
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--plum);
  cursor: pointer;
}
.zoom-level-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--plum);
  min-width: 36px;
  text-align: right;
  padding: 2px 4px;
  border-radius: 3px;
}
.zoom-level-badge:hover { background: rgba(75, 36, 52, 0.08); }

/* -------------------------------------------------------------
   CAMERA & PHOTO CONTROLS
------------------------------------------------------------- */
.camera-controls {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.camera-controls #reset-all-button {
  grid-column: 1 / -1;
  min-height: 44px;
  background: transparent;
  color: var(--plum);
}
.button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.button svg { width: 15px; height: 15px; display: block; flex-shrink: 0; }
.button > span { min-width: 0; overflow-wrap: anywhere; }
.button.primary {
  background: var(--plum);
  color: white;
  border-color: var(--plum);
}
.button.primary:hover:not(:disabled) {
  background: var(--plum-light);
  transform: translateY(-1px);
}
.button.secondary {
  background: var(--white);
  color: var(--ink);
}
.button.secondary:hover:not(:disabled) {
  border-color: var(--copper);
  transform: translateY(-1px);
}
.status {
  flex-shrink: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  min-height: 32px;
  margin-top: 10px;
}
.status.error { color: #953d41; font-weight: 600; }
.privacy-note {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #796a6b;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 8px;
}
.privacy-note svg { width: 14px; height: 14px; color: var(--copper); flex-shrink: 0; }

/* =============================================================
   RIGHT COLUMN: SCROLLABLE OPTIONS PALETTE
   ============================================================= */
.look-panel {
  background: #f7f1eb;
  padding: 32px clamp(20px, 3vw, 40px);
  border: 1px solid #e4d9d2;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Eye Mix & Match Selector */
.eye-combo-control {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}
.eye-combo-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.eye-combo-heading .eyebrow { margin-bottom: 4px; }
.eye-combo-heading h2 {
  font: 400 24px/1.1 var(--display);
  margin: 0;
}
.eye-combo-heading span[role="status"] {
  font-size: 10px;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.05em;
}
.eye-combo-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.eye-combo-targets button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #faf6f2;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s;
}
.eye-combo-targets button:hover { border-color: var(--copper); }
.eye-combo-targets button.active {
  background: var(--plum);
  color: white;
  border-color: var(--plum);
}
.eye-combo-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.eye-combo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
}
.eye-combo-footer button {
  font-size: 10px;
  font-weight: 700;
  color: var(--wine);
  text-decoration: underline;
}

/* Lipstick Store editor. */
.lipstick-panel {
  margin-bottom: 24px;
  padding: 17px 16px 16px;
  border: 1px solid #d9c5c2;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #fffaf7 0%, #f7ebe7 100%);
}
.lipstick-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.lipstick-heading > div { min-width: 0; }
.lipstick-heading .eyebrow { margin-bottom: 4px; }
.lipstick-heading h2 {
  font: 400 25px/1.08 var(--display);
  letter-spacing: -0.015em;
}
#lipstick-status {
  max-width: 45%;
  padding: 4px 7px;
  border: 1px solid #e0cac9;
  border-radius: 2px;
  background: rgba(255, 250, 246, 0.7);
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
}
.lipstick-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.look-panel .lipstick-panel fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.look-panel .lipstick-panel legend {
  display: block;
  width: auto;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.look-panel .lipstick-panel .lipstick-shades {
  margin-top: 15px;
}
.lipstick-shade-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.lipstick-shade-options button {
  min-width: 0;
  min-height: 63px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.lipstick-shade-options button:hover,
.lipstick-finish-options button:hover { border-color: var(--copper); }
.lipstick-shade-options button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.lipstick-shade-options button:focus-visible,
.lipstick-finish-options button:focus-visible,
.lipstick-custom input:focus-visible,
.lipstick-intensity input:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}
.lipstick-shade-options button[aria-pressed="true"],
.lipstick-finish-options button[aria-pressed="true"] {
  border-color: var(--plum);
  background: #f1e1dc;
  box-shadow: inset 0 0 0 1px var(--plum);
}
.lipstick-swatch {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(41, 29, 35, 0.22);
  border-radius: 50%;
  background: var(--lipstick-swatch, #fffaf6);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}
.lipstick-swatch-off {
  border-style: dashed;
  background: #fbf5ef;
}
.lipstick-swatch-off::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 4px;
  width: 19px;
  height: 1px;
  background: var(--muted);
  transform: rotate(-45deg);
}
.lipstick-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 15px;
}
.lipstick-finish-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.lipstick-finish-options button {
  flex: 1 1 52px;
  min-height: 33px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.lipstick-custom {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}
.lipstick-custom label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
#lipstick-custom-color,
#lip-liner-custom-color {
  width: 39px;
  height: 33px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
#lipstick-custom-color.active,
#lip-liner-custom-color.active { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
#lipstick-custom-color::-webkit-color-swatch-wrapper,
#lip-liner-custom-color::-webkit-color-swatch-wrapper { padding: 0; }
#lipstick-custom-color::-webkit-color-swatch,
#lip-liner-custom-color::-webkit-color-swatch { border: 0; border-radius: 2px; }
.lipstick-intensity {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
}
.lipstick-intensity label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
}
#lipstick-intensity-value,
#lip-liner-width-value,
#lip-liner-intensity-value { color: var(--copper); font-size: 10px; font-weight: 700; }
.lipstick-intensity input[type="range"] {
  display: block;
  width: 100%;
  height: 3px;
  margin: 14px 0 9px;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  accent-color: var(--plum);
}
.lipstick-intensity input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  appearance: none;
  background: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
  cursor: pointer;
}
.lipstick-intensity input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
  cursor: pointer;
}
.lipstick-intensity-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.look-panel .lipstick-panel .lipstick-edge { margin-top: 15px; }
.lip-liner-divider {
  height: 1px;
  margin: 20px 0 17px;
  background: #d7bdb7;
}
.lip-liner-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.lip-liner-heading .eyebrow { margin-bottom: 4px; }
.lip-liner-heading h3 { font: 400 21px/1.1 var(--display); }
#lip-liner-status {
  max-width: 52%;
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}
.look-panel .lipstick-panel .lip-liner-shades { margin-top: 15px; }
.lip-liner-match {
  background: var(--lipstick-swatch, #fbf5ef);
}
.lip-liner-custom {
  flex-direction: row;
  justify-content: space-between;
  margin-top: 13px;
}
.lip-liner-control {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

/* Studio Tabs */
.studio-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.studio-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.2s;
}
.studio-tab:hover { border-color: var(--copper); }
.studio-tab.active {
  background: var(--plum);
  color: white;
  border-color: var(--plum);
  box-shadow: 0 2px 8px rgba(75, 36, 52, 0.2);
}
.studio-tab-count {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
}
.studio-tab.active .studio-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Palette Header */
.palette-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.palette-header .eyebrow { margin-bottom: 6px; }
.color-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.06em;
}

/* Shape Filter Bar */
.shape-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.filters button {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s;
}
.filters button:hover { border-color: var(--copper); }
.filters button.active {
  background: var(--plum);
  color: white;
  border-color: var(--plum);
}

/* Fieldset General */
.look-panel fieldset {
  min-width: 0;
  border: 0;
  padding: 18px 0 0;
  margin: 0;
}
.look-panel legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.field-number {
  font-size: 10px;
  font-weight: 700;
  color: var(--copper);
}

/* 01: Style / Silhouette Options (9 cards) */
.style-options {
  display: grid;
  gap: 8px;
}
.style-options button {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto auto;
  gap: 3px 12px;
  padding: 12px 14px;
  color: var(--ink);
  transition: all 0.2s;
}
.style-options button:hover {
  border-color: var(--copper);
  background: #fdfaf7;
  transform: translateX(2px);
}
.style-options button.selected {
  background: #f5ebe5;
  border-color: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
  border-left: 4px solid var(--plum);
}
.style-name {
  font: 400 20px/1.1 var(--display);
  grid-column: 1;
}
.style-description {
  font-size: 11px;
  color: var(--muted);
  grid-column: 1;
}
.style-tag {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(166, 111, 114, 0.15);
  color: var(--plum);
}
.style-symbol {
  grid-column: 3;
  grid-row: 1/3;
  align-self: center;
  font-size: 16px;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.style-options button.selected .style-symbol { opacity: 1; color: var(--plum); }

/* 02: Curl Options (J, B, C, CC, D, L) */
.curl-fieldset {
  border-top: 1px solid var(--line) !important;
  margin-top: 22px !important;
}
.curl-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.curl-options button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.curl-options button:hover { border-color: var(--copper); }
.curl-options button.selected {
  border-color: var(--plum);
  background: #ede0d8;
  box-shadow: 0 0 0 1px var(--plum);
}
.curl-letter {
  font: 400 24px/1 var(--display);
  color: var(--plum);
  margin-bottom: 4px;
}
.curl-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.curl-meta strong { font-size: 10px; font-weight: 700; }
.curl-meta small { font-size: 8px; color: var(--muted); }
.curl-tip {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 10px;
  padding-left: 2px;
}

/* Interactive Lash Map */
.lash-map {
  margin-top: 22px;
  padding: 16px 18px 12px;
  background: var(--plum);
  color: #f8eee7;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.lash-map-top, .lash-map-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.lash-map-top span:last-child { color: #ddb7ac; }
.lash-map-graphic {
  height: 68px;
  margin: 8px 0 4px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transform: scaleY(-1);
}
.lash-map-graphic i {
  width: 1px;
  min-width: 1px;
  background: #eccac0;
  border-radius: 50%;
  transform-origin: bottom;
  transform: rotate(var(--tilt, 0deg));
  height: var(--h, 24px);
  opacity: 0.9;
  transition: height 0.25s ease, transform 0.25s ease;
}
.lash-map-labels {
  margin-top: 8px;
  color: #e1c5bb;
  font-size: 8px;
}

/* 03: Tuning Sliders */
.tune-fieldset {
  border-top: 1px solid var(--line) !important;
  margin-top: 24px !important;
}
.slider-group {
  clear: both;
  margin-bottom: 18px;
}
.slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.slider-group output {
  color: var(--copper);
  font-size: 11px;
  font-weight: 700;
}
.slider-group input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  background: var(--line);
  margin: 14px 0 8px;
  accent-color: var(--plum);
  border-radius: 2px;
}
.slider-group input::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
  cursor: pointer;
}
.slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
}

/* 04: Colors */
.color-fieldset {
  border-top: 1px solid var(--line) !important;
  margin-top: 10px !important;
}
.color-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.color-options button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s;
}
.color-options button:hover { border-color: var(--copper); }
.color-options button.selected {
  background: #ede0d8;
  border-color: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
}
.color-swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: block;
}
.color-swatch.espresso { background: #2d1c1a; }
.color-swatch.black { background: #100f12; }
.color-swatch.brown { background: #5c382b; }
.color-swatch.charcoal { background: #453c3d; }
.color-swatch.burgundy { background: #541e2b; }
.color-swatch.plum { background: #3a1e38; }
.color-swatch.navy { background: #18233c; }
.color-swatch.forest { background: #1a332a; }
.color-swatch.ombre {
  background: linear-gradient(135deg, #100f12 50%, #9e3d64 50%);
}

/* 05: Lash Accents / Elements (matching Nail Studio) */
.element-control {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}
.control-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.control-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.control-heading span:last-child {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--copper);
}
.element-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.element-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.element-options button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
}
.element-options button:hover { border-color: var(--copper); }
.element-options button.active {
  border-color: var(--plum);
  background: #ede0d8;
  box-shadow: 0 0 0 1px var(--plum);
}
.element-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.element-none { border: 1px dashed var(--muted); }
.element-crystal {
  background: radial-gradient(circle at 35% 35%, #fff 25%, #bcd5e8 60%, #56728a 100%);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}
.element-pearl {
  background: radial-gradient(circle at 35% 35%, #ffffff 30%, #ede6db 70%, #c4b9aa 100%);
}
.element-glitter {
  background: linear-gradient(135deg, #ffd700, #ffae19, #fff275);
}
.element-wisps {
  background: linear-gradient(135deg, #2a52be, #e2738b);
}
.element-star {
  background: #d4af37;
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
}
.element-placement-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
}
.element-placement-wrap label { font-weight: 600; }
.element-placement-wrap select {
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 11px;
}

/* 06: Bespoke Shade Lab */
.custom-color-card {
  margin-top: 24px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.custom-color-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.custom-color-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--copper);
}
.custom-color-heading {
  font: 400 22px/1.15 var(--display);
  margin: 4px 0 2px;
}
.custom-color-sub { font-size: 11px; color: var(--muted); }
.custom-color-active-chip-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.custom-color-droplet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.custom-color-hex-tag {
  font-size: 11px;
  font-weight: 700;
  font-family: monospace;
  color: var(--ink);
}
.custom-hue-block { margin-bottom: 14px; }
.custom-hue-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 6px;
}
.custom-hue-title { font-weight: 600; }
.custom-hue-hint { color: var(--muted); font-size: 10px; }
.custom-hue-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #ff0000 0%, #ffff00 17%, #00ff00 33%,
    #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%
  );
  outline: none;
}
.custom-hue-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.custom-presets-block { margin-bottom: 14px; }
.custom-presets-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.custom-presets-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}
.custom-preset-chip {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--preset-col);
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: transform 0.15s;
}
.custom-preset-chip:hover { transform: scale(1.15); }
.custom-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line-light);
  padding-top: 10px;
}
.custom-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.custom-picker-btn svg { width: 14px; height: 14px; color: var(--plum); }
.custom-picker-btn input[type="color"] {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.custom-picker-note { font-size: 10px; color: var(--muted); }

/* Reset button */
.reset-button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s;
}
.reset-button:hover {
  border-color: var(--plum);
  color: var(--plum);
  background: var(--white);
}

/* -------------------------------------------------------------
   TAB 2: STUDIO READY-TO-WEAR COLLECTIONS
------------------------------------------------------------- */
.collections-intro {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 19px;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.collection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: var(--plum);
  background: #fffaf6;
  border: 1px solid #dac9bd;
  border-radius: var(--radius-sm);
  text-align: left;
  box-shadow: 0 2px 9px rgba(64, 28, 35, 0.035);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  contain: content;
}
.collection-card:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(64, 28, 35, 0.12);
}
.collection-card:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}
.collection-card.active {
  border-color: var(--plum);
  box-shadow: 0 0 0 2px var(--plum), 0 10px 22px rgba(64, 28, 35, 0.12);
}
.collection-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 420 / 220;
  overflow: hidden;
  background: linear-gradient(110deg, #e9d8cc 20%, #f5e9df 48%, #e9d8cc 75%);
  background-size: 200% 100%;
  animation: collection-preview-wait 1.8s linear infinite;
}
@keyframes collection-preview-wait { to { background-position-x: -200%; } }
.collection-image.is-ready { animation: none; }
.collection-image canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.collection-image canvas.is-ready { opacity: 1; }
.collection-image-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 6px;
  background: rgba(44, 27, 32, 0.78);
  color: #fff7f0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
}
.collection-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  padding: 12px 12px 10px;
}
.collection-name {
  display: block;
  font: 400 clamp(17px, 1.5vw, 22px)/1.1 var(--display);
}
.collection-meta {
  display: block;
  margin-top: auto;
  font-size: 10px;
  font-weight: 600;
  color: #795a4e;
}
.collection-desc {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #67575a;
}
.collection-action {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-top: 1px solid #e9ddd4;
  background: #f7eee8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--plum);
}
.collection-card.active .collection-action { background: var(--plum); color: #fffaf6; }
@media (prefers-reduced-motion: reduce) {
  .collection-image { animation: none; }
  .collection-card, .collection-image canvas { transition: none; }
}

/* Eyebrow atelier: a concise editor paired with the shared portrait. */
.brow-atelier { color: var(--plum); }
.brow-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.brow-heading > div { min-width: 0; }
.brow-heading .eyebrow { margin-bottom: 7px; }
.brow-heading h2 { font: 400 clamp(32px, 3vw, 43px)/1.05 var(--display); letter-spacing: -.03em; }
.brow-heading h2 em { color: var(--copper); }
.brow-heading p:last-child { max-width: 350px; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
#brow-status { flex-shrink: 0; max-width: 160px; padding: 8px 10px; color: #643941; background: #efe0da; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .03em; text-align: right; }
.brow-atelier fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.brow-atelier legend { margin-bottom: 10px; color: var(--plum); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brow-targets { padding-top: 22px !important; }
.brow-segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 4px; background: #e9dcd3; border: 1px solid #d6c4ba; }
.brow-segmented button { min-height: 39px; padding: 7px 4px; color: #624d4d; font-size: 11px; font-weight: 700; }
.brow-segmented button.active { color: #fffaf6; background: var(--plum); }
.brow-help { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.brow-services { padding-top: 22px !important; }
.brow-service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.brow-service-options button { display: grid; align-content: center; gap: 5px; min-height: 75px; padding: 11px 12px; border: 1px solid #d8c7bd; background: #fffaf6; color: var(--plum); text-align: left; }
.brow-service-options button strong { font-size: 12px; line-height: 1.25; }
.brow-service-options button span { color: #6b5757; font-size: 10px; line-height: 1.35; }
.brow-service-options button[aria-pressed="true"] { border-color: var(--plum); background: #efe0da; box-shadow: inset 0 0 0 1px var(--plum); }
.brow-photo-advice { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px 12px; margin-top: 18px; padding: 16px; border: 1px solid #c9ac9d; border-radius: var(--radius-sm); background: #f6e8de; color: var(--plum); }
.brow-photo-advice-icon { width: 24px; height: 24px; margin-top: 1px; }
.brow-photo-advice-copy strong { display: block; font-size: 14px; line-height: 1.4; }
.brow-photo-advice-copy p { margin: 6px 0 0; color: #604c4c; font-size: 13px; line-height: 1.6; }
.brow-photo-advice .button { grid-column: 2; justify-self: start; min-height: 44px; padding: 9px 14px; border-color: var(--plum); background: var(--plum); color: #fff; font-size: 12px; text-align: left; }
.brow-photo-advice .button:hover { background: var(--plum-light); }
@media (max-width: 400px) { .brow-photo-advice { padding: 13px; gap: 9px; } .brow-photo-advice .button { grid-column: 1 / -1; width: 100%; } }
.brow-live-comparison { margin: 22px 0 0; padding: 10px; border: 1px solid #d6c4ba; background: #f2e8e1; box-shadow: 0 6px 19px rgba(64,28,35,.07); }
.brow-live-comparison figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.brow-live-comparison figcaption span { color: var(--copper); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.brow-live-comparison figcaption strong { font: 400 18px/1.1 var(--display); }
.brow-live-frame { position: relative; overflow: hidden; aspect-ratio: 520 / 166; background: #e1cfc2; }
.brow-live-frame canvas { display: block; width: 100%; height: 100%; }
#brow-live-empty { position: absolute; inset: 0; display: grid; place-items: center; background: #e9d9ce; color: var(--plum); font-size: 11px; }
#brow-live-empty[hidden] { display: none; }
.brow-crop-label { position: absolute; bottom: 7px; padding: 4px 6px; color: #fffaf6; background: rgba(40,27,29,.76); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.brow-crop-original { left: 7px; }
.brow-crop-styled { left: calc(50% + 7px); }
.brow-live-frame.is-empty .brow-crop-label { display: none; }
.brow-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px; margin-top: 31px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.brow-section-heading .eyebrow { margin-bottom: 3px; }
.brow-section-heading h3 { font: 400 27px/1.1 var(--display); }
.brow-section-heading > span { color: var(--copper); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.brow-collections-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.brow-collection-card { min-width: 0; overflow: hidden; padding: 0; color: var(--plum); background: #fffaf6; border: 1px solid #dac9bd; text-align: left; transition: border-color .18s, box-shadow .18s, transform .18s; contain: content; }
.brow-collection-card:hover { border-color: var(--copper); transform: translateY(-2px); box-shadow: 0 8px 19px rgba(64,28,35,.1); }
.brow-collection-card.active { border-color: var(--plum); box-shadow: 0 0 0 2px var(--plum); }
.brow-collection-image { position: relative; display: block; aspect-ratio: 420 / 170; overflow: hidden; background: #e7d7ce; }
.brow-collection-image canvas { display: block; width: 100%; height: 100%; }
.brow-collection-image span { position: absolute; left: 8px; bottom: 7px; padding: 4px 6px; color: #fffaf6; background: rgba(40,27,29,.76); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.brow-collection-copy { display: grid; gap: 4px; min-height: 76px; padding: 10px 11px 11px; }
.brow-collection-copy strong { font: 400 19px/1.1 var(--display); }
.brow-collection-copy small { color: #67575a; font-size: 10px; line-height: 1.35; }
.brow-collection-card.active .brow-collection-copy { background: #f1e4dd; }
.brow-custom-heading { margin-top: 35px; margin-bottom: 20px; }
.brow-shape-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.brow-shape-options button { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 8px 11px; border: 1px solid #d8c7bd; background: #fffaf6; color: var(--plum); font-size: 11px; font-weight: 700; text-align: left; }
.brow-shape-options button[aria-pressed="true"], .brow-shade-options button[aria-pressed="true"] { background: #efe0da; border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.brow-shape-mark { display: block; width: 35px; height: 12px; flex-shrink: 0; border-top: 3px solid #513c38; border-radius: 55% 50% 0 0; transform: rotate(-7deg); }
.brow-shape-mark.defined { border-top-width: 4px; border-radius: 65% 45% 0 0; transform: rotate(-10deg); }
.brow-shape-mark.straight { border-radius: 10% 5% 0 0; transform: rotate(-1deg); }
.brow-shape-mark.feathered { border-top-style: dashed; transform: rotate(-8deg); }
.brow-shape-mark.laminated { border-top-style: double; border-top-width: 5px; }
.brow-shape-mark.ombre { border-color: #a48378; border-top-width: 5px; }
.brow-shades { margin-top: 27px !important; }
.brow-shade-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.brow-shade-options button { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 74px; padding: 7px 4px; border: 1px solid #d8c7bd; background: #fffaf6; color: var(--plum); font-size: 10px; font-weight: 700; }
.brow-shade-options button span { width: 23px; height: 23px; border-radius: 50%; background: var(--brow-swatch); border: 2px solid #f8eee7; box-shadow: 0 0 0 1px #b9a8a0; }
.brow-custom-tint { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 7px 10px; border: 1px solid #d8c7bd; background: #fffaf6; color: var(--plum); font-size: 11px; font-weight: 700; }
.brow-custom-tint input { width: 38px; height: 32px; padding: 2px; border: 0; background: transparent; cursor: pointer; }
.brow-sliders { display: grid; gap: 18px; margin-top: 29px; }
.brow-slider label { display: flex; justify-content: space-between; gap: 10px; color: var(--plum); font-size: 12px; font-weight: 700; }
.brow-slider output { color: var(--copper); }
.brow-slider input { display: block; width: 100%; height: 24px; margin: 4px 0 0; accent-color: var(--plum); cursor: pointer; }
.brow-slider > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.brow-trim-control[hidden] { display: none; }
.brow-finish-note { margin: 24px 0 0; padding: 12px 14px; border-left: 2px solid var(--copper); background: #f2e7e0; color: #5f4c4c; font-size: 11px; line-height: 1.55; }
.brow-atelier button:focus-visible, .brow-atelier input:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

/* -------------------------------------------------------------
   STORE 04: BLUSH ATELIER
-------------------------------------------------------------- */
.blush-panel {
  margin-bottom: 24px;
  padding: 17px 16px 16px;
  border: 1px solid #dfc7be;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #fffaf8 0%, #f7ebe6 100%);
}
.blush-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.blush-heading > div { min-width: 0; }
.blush-heading .eyebrow { margin-bottom: 4px; }
.blush-heading h2 { font: 400 clamp(24px, 2.5vw, 34px)/1.08 var(--display); letter-spacing: -0.02em; }
.blush-heading h2 em { font-style: italic; color: #b85d43; }
#blush-status {
  padding: 5px 8px;
  border: 1px solid #e2cec7;
  border-radius: 2px;
  background: rgba(255, 250, 246, 0.7);
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
}
.blush-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.look-panel .blush-panel fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.look-panel .blush-panel legend {
  display: block;
  width: auto;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.look-panel .blush-panel .blush-silhouettes {
  margin-top: 15px;
}
.blush-silhouette-options {
  display: grid;
  gap: 6px;
}
.blush-silhouette-options button {
  min-height: 48px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--plum);
  transition: all .2s;
}
.blush-silhouette-options button strong {
  font-size: 12px;
  font-weight: 700;
}
.blush-silhouette-options button span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 2px;
}
.blush-silhouette-options button:hover {
  border-color: var(--copper);
  background: #fdfaf7;
}
.blush-silhouette-options button.selected,
.blush-silhouette-options button[aria-pressed="true"] {
  border-color: #b85d43;
  background: #fff5f2;
  box-shadow: 0 0 0 1px #b85d43 inset;
}
.blush-silhouette-options button.selected strong,
.blush-silhouette-options button[aria-pressed="true"] strong {
  color: #b85d43;
}

.look-panel .blush-panel .blush-shades {
  margin-top: 16px;
}
.blush-shade-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.blush-shade-options button {
  min-width: 0;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  transition: all .2s;
}
.blush-shade-options button:hover {
  border-color: var(--copper);
  background: #fdfaf7;
}
.blush-shade-options button.selected,
.blush-shade-options button[aria-pressed="true"] {
  border-color: #b85d43;
  background: #fff5f2;
  box-shadow: 0 0 0 1px #b85d43 inset;
}
.blush-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blush-swatch, #fff);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c6b2a9;
}
.blush-swatch-off {
  background: linear-gradient(135deg, #fff 44%, #b49b95 46%, #b49b95 54%, #fff 56%);
}
.blush-detail-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}
.blush-detail-row fieldset { flex: 1; min-width: 0; }
.blush-finish-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.blush-finish-options button {
  min-height: 38px;
  padding: 6px 4px;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  transition: all .2s;
}
.blush-finish-options button:hover {
  border-color: var(--copper);
}
.blush-finish-options button.selected,
.blush-finish-options button[aria-pressed="true"] {
  border-color: #b85d43;
  background: #fff5f2;
  color: #b85d43;
}
.blush-custom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.blush-custom label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.blush-custom input[type="color"] {
  width: 38px;
  height: 38px;
  padding: 2px;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.blush-sliders {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.blush-slider label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--plum);
}
.blush-slider output { color: var(--copper); }
.blush-slider input[type="range"] {
  display: block;
  width: 100%;
  height: 24px;
  margin: 4px 0 0;
  accent-color: #b85d43;
  cursor: pointer;
}
.blush-slider-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  margin-top: 2px;
}
.blush-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 22px 0 6px;
  border-bottom: 1px solid #e0cfc7;
  padding-bottom: 6px;
}
.blush-section-heading h3 { font: 400 21px/1.1 var(--display); color: var(--plum); }
.blush-section-heading span { font-size: 10px; font-weight: 700; color: var(--muted); }
.blush-help {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blush-collections-grid {
  display: grid;
  gap: 7px;
}
.blush-collection-card {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: all .2s;
}
.blush-collection-card:hover {
  border-color: var(--copper);
  background: #fdfaf7;
}
.blush-collection-card.selected,
.blush-collection-card[aria-pressed="true"] {
  border-color: #b85d43;
  background: #fff5f2;
  box-shadow: 0 0 0 1px #b85d43 inset;
}
.blush-collection-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
}
.blush-collection-info span {
  font-size: 10px;
  color: var(--muted);
}
.blush-collection-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
  background: #f7e8e2;
  color: #b85d43;
}

/* -------------------------------------------------------------
   STORE 05: EYESHADOW ATELIER
-------------------------------------------------------------- */
.eyeshadow-panel {
  margin-bottom: 24px;
  padding: 17px 16px 16px;
  border: 1px solid #d2c2c8;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #fffafd 0%, #f7edf2 100%);
}
.eyeshadow-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.eyeshadow-heading > div { min-width: 0; }
.eyeshadow-heading .eyebrow { margin-bottom: 4px; }
.eyeshadow-heading h2 { font: 400 clamp(24px, 2.5vw, 34px)/1.08 var(--display); letter-spacing: -0.02em; }
.eyeshadow-heading h2 em { font-style: italic; color: #7d4860; }
#eyeshadow-status {
  padding: 5px 8px;
  border: 1px solid #decbd3;
  border-radius: 2px;
  background: rgba(255, 250, 252, 0.7);
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
}
.eyeshadow-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.look-panel .eyeshadow-panel fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.look-panel .eyeshadow-panel legend {
  display: block;
  width: auto;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.look-panel .eyeshadow-panel .eyeshadow-targets {
  margin-top: 14px;
}
.eyeshadow-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.eyeshadow-segmented button {
  min-height: 38px;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--plum);
  font-size: 11px;
  font-weight: 700;
  transition: all .2s;
}
.eyeshadow-segmented button:hover { border-color: var(--copper); }
.eyeshadow-segmented button.active,
.eyeshadow-segmented button[aria-pressed="true"] {
  border-color: #7d4860;
  background: #fbf1f5;
  color: #7d4860;
}

.look-panel .eyeshadow-panel .eyeshadow-silhouettes {
  margin-top: 16px;
}
.eyeshadow-silhouette-options {
  display: grid;
  gap: 6px;
}
.eyeshadow-silhouette-options button {
  min-height: 48px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--plum);
  transition: all .2s;
}
.eyeshadow-silhouette-options button strong {
  font-size: 12px;
  font-weight: 700;
}
.eyeshadow-silhouette-options button span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 2px;
}
.eyeshadow-silhouette-options button:hover {
  border-color: var(--copper);
  background: #fdfaf7;
}
.eyeshadow-silhouette-options button.selected,
.eyeshadow-silhouette-options button[aria-pressed="true"] {
  border-color: #7d4860;
  background: #fbf1f5;
  box-shadow: 0 0 0 1px #7d4860 inset;
}
.eyeshadow-silhouette-options button.selected strong,
.eyeshadow-silhouette-options button[aria-pressed="true"] strong {
  color: #7d4860;
}

.look-panel .eyeshadow-panel .eyeshadow-palettes {
  margin-top: 16px;
}
.eyeshadow-palette-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.eyeshadow-palette-options button {
  min-height: 68px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--plum);
  text-align: left;
  transition: all .2s;
}
.eyeshadow-palette-options button:hover {
  border-color: var(--copper);
  background: #fdfaf7;
}
.eyeshadow-palette-options button.selected,
.eyeshadow-palette-options button[aria-pressed="true"] {
  border-color: #7d4860;
  background: #fbf1f5;
  box-shadow: 0 0 0 1px #7d4860 inset;
}
.eyeshadow-multi-swatch {
  display: flex;
  gap: 3px;
  margin-bottom: 5px;
}
.eyeshadow-multi-swatch span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}
.eyeshadow-swatch-chip {
  width: 24px;
  height: 14px;
  border-radius: 2px;
  margin-bottom: 5px;
}
.eyeshadow-swatch-off {
  background: linear-gradient(135deg, #fff 44%, #b49b95 46%, #b49b95 54%, #fff 56%);
  border: 1px solid #d8c3b9;
}
.eyeshadow-palette-name {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.eyeshadow-palette-sub {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 2px;
}

.eyeshadow-detail-row {
  margin-top: 15px;
}
.eyeshadow-finish-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.eyeshadow-finish-options button {
  min-height: 38px;
  padding: 6px 4px;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  transition: all .2s;
}
.eyeshadow-finish-options button:hover {
  border-color: var(--copper);
}
.eyeshadow-finish-options button.selected,
.eyeshadow-finish-options button[aria-pressed="true"] {
  border-color: #7d4860;
  background: #fbf1f5;
  color: #7d4860;
}

.eyeshadow-custom-atelier {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid #ded0d6;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
}
.eyeshadow-custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.eyeshadow-custom-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.eyeshadow-custom-slot label {
  font-size: 9px;
  font-weight: 700;
  color: var(--plum);
  text-align: center;
}
.eyeshadow-custom-slot input[type="color"] {
  width: 36px;
  height: 36px;
  padding: 2px;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.eyeshadow-sliders {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.eyeshadow-slider label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--plum);
}
.eyeshadow-slider output { color: var(--copper); }
.eyeshadow-slider input[type="range"] {
  display: block;
  width: 100%;
  height: 24px;
  margin: 4px 0 0;
  accent-color: #7d4860;
  cursor: pointer;
}
.eyeshadow-slider-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  margin-top: 2px;
}

.eyeshadow-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 22px 0 6px;
  border-bottom: 1px solid #ded0d6;
  padding-bottom: 6px;
}
.eyeshadow-section-heading h3 { font: 400 21px/1.1 var(--display); color: var(--plum); }
.eyeshadow-section-heading span { font-size: 10px; font-weight: 700; color: var(--muted); }
.eyeshadow-help {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 10px;
}
.eyeshadow-collections-grid {
  display: grid;
  gap: 7px;
}
.eyeshadow-collection-card {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d8c3b9;
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: all .2s;
}
.eyeshadow-collection-card:hover {
  border-color: var(--copper);
  background: #fdfaf7;
}
.eyeshadow-collection-card.selected,
.eyeshadow-collection-card[aria-pressed="true"] {
  border-color: #7d4860;
  background: #fbf1f5;
  box-shadow: 0 0 0 1px #7d4860 inset;
}
.eyeshadow-collection-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
}
.eyeshadow-collection-info span {
  font-size: 10px;
  color: var(--muted);
}
.eyeshadow-collection-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
  background: #faedf3;
  color: #7d4860;
}

/* -------------------------------------------------------------
   STORE 6: EYE LENS STORE
-------------------------------------------------------------- */
.lens-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lens-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.lens-heading h2 {
  font: 400 clamp(32px, 3.2vw, 46px)/1.05 var(--display);
  letter-spacing: -0.02em;
  color: var(--plum);
  margin-top: 4px;
}
.lens-heading h2 em {
  font-style: italic;
  color: #2a7a78;
}
.lens-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a7a78;
  background: #f0f9f8;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(42, 122, 120, 0.25);
  white-space: nowrap;
}
.lens-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background: #f0eae4;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.lens-segmented-dia {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lens-segmented-pattern {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lens-segmented button {
  min-height: 42px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-sm) - 2px);
  color: var(--plum);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.lens-segmented button:hover {
  background: rgba(255, 255, 255, 0.5);
}
.lens-segmented button.selected,
.lens-segmented button[aria-pressed="true"] {
  background: var(--white);
  color: #174e4c;
  border-color: rgba(42, 122, 120, 0.4);
  box-shadow: 0 2px 8px rgba(42, 122, 120, 0.12);
  font-weight: 700;
}
.lens-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 6px;
}
.lens-section-heading h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--plum);
  margin-top: 2px;
}
.lens-help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: -10px 0 0;
}
.lens-shades-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.lens-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.lens-swatch:hover {
  border-color: #2a7a78;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 122, 120, 0.1);
}
.lens-swatch.selected,
.lens-swatch[aria-pressed="true"] {
  border-color: #2a7a78;
  background: #f0f9f8;
  box-shadow: 0 0 0 1px #2a7a78 inset;
}
.lens-swatch-chip {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle, #0e0d0d 22%, var(--lens-bg, #b88636) 26%, var(--lens-bg, #b88636) 72%, var(--lens-ring, #442a12) 86%, #111 100%);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  position: relative;
}
.lens-swatch-chip::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 5px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  transform: rotate(-35deg);
}
.lens-swatch-none {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: #f2e9e4 !important;
  border: 1px dashed #c4b0a7;
}
.lens-swatch-none::after { display: none; }
.lens-swatch-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--plum);
  line-height: 1.25;
}
.lens-custom-card {
  padding: 14px 16px;
  background: #fdfbf9;
  border: 1px dashed rgba(42, 122, 120, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lens-custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lens-custom-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--plum);
  margin-top: 2px;
}
.lens-custom-header input[type="color"] {
  -webkit-appearance: none;
  border: 1px solid var(--line);
  width: 38px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  padding: 2px;
}
.lens-custom-header input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.lens-custom-header input[type="color"]::-webkit-color-swatch { border: none; border-radius: 4px; }
.lens-custom-help {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.lens-sliders {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card-bg);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.lens-slider {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lens-slider label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
}
.lens-slider output {
  font-family: monospace;
  font-weight: 600;
  color: #2a7a78;
}
.lens-slider input[type="range"] {
  width: 100%;
  accent-color: #2a7a78;
}
.lens-slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.lens-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.lens-collection-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.lens-collection-card:hover {
  border-color: #2a7a78;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 122, 120, 0.1);
}
.lens-collection-card.selected,
.lens-collection-card[aria-pressed="true"] {
  border-color: #2a7a78;
  background: #f0f9f8;
  box-shadow: 0 0 0 1px #2a7a78 inset;
}
.lens-collection-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
}
.lens-collection-info span {
  font-size: 10px;
  color: var(--muted);
}
.lens-collection-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
  background: #e2f4f2;
  color: #174e4c;
  white-space: nowrap;
}

/* -------------------------------------------------------------
   STORE 7: FOUNDATION & COMPLEXION ATELIER
--------------------------------------------------------------- */
.foundation-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.foundation-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.foundation-heading h2 {
  font: 400 clamp(28px, 2.5vw, 36px)/1.08 var(--display);
  color: var(--plum);
  margin: 4px 0 0;
}
.foundation-heading h2 em {
  font-style: italic;
  color: #a76d38;
}
.foundation-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c5525;
  background: #fcf4ec;
  border: 1px solid #ebd3bd;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.foundation-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin-top: 4px;
}
.foundation-section-heading h3 {
  font: 400 17px/1.2 var(--display);
  color: var(--plum);
  margin: 2px 0 0;
}
.foundation-section-heading span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foundation-help {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  margin: -12px 0 0;
}
.foundation-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.foundation-segmented-concealer {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.foundation-segmented button {
  min-height: 38px;
  padding: 8px 10px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--plum);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.foundation-segmented button:hover {
  border-color: #a76d38;
  background: #fdfaf7;
}
.foundation-segmented button.selected,
.foundation-segmented button[aria-pressed="true"] {
  background: #342217;
  color: #f7eee4;
  border-color: #342217;
  box-shadow: 0 4px 12px rgba(52, 34, 23, 0.2);
}
.foundation-undertone-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.foundation-undertone-filters button {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.foundation-undertone-filters button:hover {
  border-color: #a76d38;
}
.foundation-undertone-filters button.selected,
.foundation-undertone-filters button[aria-pressed="true"] {
  background: #a76d38;
  color: #ffffff;
  border-color: #a76d38;
}
.foundation-shades-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.foundation-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.foundation-swatch:hover {
  border-color: #a76d38;
  transform: translateY(-1px);
}
.foundation-swatch.selected,
.foundation-swatch[aria-pressed="true"] {
  border-color: #342217;
  background: #fcf6ee;
  box-shadow: 0 0 0 1px #342217 inset;
}
.foundation-swatch-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.foundation-swatch-none {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0e6dc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.foundation-swatch-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.2;
}
.foundation-swatch-code {
  display: block;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.2;
}
.foundation-oxidize-card {
  background: #fcf7f1;
  border: 1px solid #ebd9c8;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.foundation-oxidize-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.foundation-oxidize-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a76d38;
  margin-bottom: 2px;
}
.foundation-oxidize-header h4 {
  font: 400 16px/1.2 var(--display);
  color: var(--plum);
  margin: 0;
}
.foundation-oxidize-copy {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  margin: 4px 0 0;
  max-width: 320px;
}
.foundation-oxidize-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #ebd9c8;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.foundation-oxidize-btn:hover {
  border-color: #a76d38;
}
.oxidize-toggle-track {
  width: 30px;
  height: 16px;
  background: #e4d8cc;
  border-radius: 10px;
  position: relative;
  transition: background-color 0.2s;
}
.oxidize-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.foundation-oxidize-btn.is-active .oxidize-toggle-track {
  background: #a76d38;
}
.foundation-oxidize-btn.is-active .oxidize-toggle-thumb {
  transform: translateX(14px);
}
.oxidize-toggle-state {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--plum);
}
.foundation-custom-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.foundation-custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.foundation-custom-header h4 {
  font: 400 16px/1.2 var(--display);
  color: var(--plum);
  margin: 2px 0 0;
}
.foundation-custom-header input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  background: none;
  padding: 0;
}
.foundation-custom-header input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.foundation-custom-header input[type="color"]::-webkit-color-swatch {
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
  border-radius: 50%;
}
.foundation-custom-help {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  margin: 6px 0 0;
}
.foundation-sliders {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.foundation-slider label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--plum);
}
.foundation-slider output {
  font-size: 10px;
  font-weight: 700;
  color: #a76d38;
}
.foundation-slider input[type="range"] {
  width: 100%;
  margin: 6px 0 4px;
  accent-color: #a76d38;
}
.foundation-slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.foundation-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.foundation-collection-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.foundation-collection-card:hover {
  border-color: #a76d38;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(167, 109, 56, 0.1);
}
.foundation-collection-card.selected,
.foundation-collection-card[aria-pressed="true"] {
  border-color: #a76d38;
  background: #fbf5ee;
  box-shadow: 0 0 0 1px #a76d38 inset;
}
.foundation-collection-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
}
.foundation-collection-info span {
  font-size: 10px;
  color: var(--muted);
}
.foundation-collection-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
  background: #f5e9dc;
  color: #7b4c20;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .store-navigation {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    margin-bottom: 16px;
  }
  .store-navigation::-webkit-scrollbar {
    display: none;
  }
  .store-card {
    flex: 0 0 148px;
    min-height: 80px;
  }
}
@media (max-width: 520px) { .brow-heading { align-items: start; } .brow-heading h2 { font-size: 31px; } .brow-collections-grid { gap: 7px; } .brow-collection-copy strong { font-size: 17px; } .brow-shade-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brow-segmented button { min-height: 44px; } }


/* -------------------------------------------------------------
   TAB 3: LASH ARCHITECTURE & CONSULTATION
------------------------------------------------------------- */
.architecture-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.architecture-card h4 {
  font: 400 20px/1.2 var(--display);
  margin-bottom: 10px;
}
.specs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.specs-table th, .specs-table td {
  padding: 8px 5px;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
}
.specs-table th {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.shape-advice-list {
  list-style: none;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}
.shape-advice-list strong { color: var(--ink); }
.consultation-box {
  background: #f6eee8;
  border: 1px solid #e2d1c6;
  border-radius: var(--radius-sm);
  padding: 14px;
}
.consultation-box-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--plum);
  text-transform: uppercase;
  margin-bottom: 6px;
}
#consultation-summary-text {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink);
  font-family: monospace;
  background: var(--white);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.panel-note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

/* -------------------------------------------------------------
   AFTERWORD & FOOTER
------------------------------------------------------------- */
.afterword {
  max-width: 1540px;
  margin: auto;
  min-height: 320px;
  padding: 64px clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: center;
}
.afterword-mark { font-size: 42px; color: var(--rose); align-self: start; }
.afterword .eyebrow { margin-bottom: 14px; }
.afterword h2 {
  font: 400 clamp(42px, 4.6vw, 68px)/0.98 var(--display);
  letter-spacing: -0.03em;
  margin: 0;
}
.afterword > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
footer {
  min-height: 100px;
  padding: 24px clamp(20px, 4vw, 64px);
  background: var(--plum);
  color: white;
  display: flex;
  align-items: center;
  gap: 28px;
}
footer .wordmark { font-size: 26px; }
footer > span { font-size: 9px; letter-spacing: 0.18em; opacity: 0.7; }
footer > a:last-child {
  margin-left: auto;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
}

/* -------------------------------------------------------------
   MODALS / DIALOGS (Showcase Lookbook & Help)
------------------------------------------------------------- */
dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 900px;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  width: calc(100% - 24px);
  width: calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));
  margin: auto;
  overflow: hidden;
}
dialog::backdrop {
  background: rgba(27, 14, 21, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.showcase-dialog-shell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: inherit;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.showcase-dialog-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}
.showcase-wordmark {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}
.showcase-dialog-header p {
  min-width: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.showcase-close, .close-help {
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  transition: color 0.2s;
  padding: 2px 6px;
}
.showcase-close:hover, .close-help:hover { color: var(--plum); }

.showcase-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  gap: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 16px;
}
.showcase-content > *, .showcase-facts > * { min-width: 0; }
.showcase-story { overflow-wrap: anywhere; }
.showcase-portrait-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.showcase-source { color: var(--copper); }
.showcase-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.showcase-view-toggle, .showcase-eye-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--paper-deep);
  padding: 3px;
  border-radius: 4px;
  min-width: 0;
  max-width: 100%;
}
.showcase-view-toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.showcase-view-toggle button, .showcase-eye-toggle button {
  min-height: 44px;
  padding: 7px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  transition: all 0.2s;
  white-space: normal;
  overflow-wrap: anywhere;
}
.showcase-view-toggle button.active, .showcase-eye-toggle button.active {
  background: var(--plum);
  color: white;
}
.showcase-photo-frame {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1122/1402;
  background: #c5aca0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.showcase-photo-frame canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.showcase-photo-frame > canvas { position: absolute; inset: 0; }
.showcase-photo-frame[data-view="detail"] { aspect-ratio: 1; }
.showcase-photo-frame[data-view="side-by-side"] { aspect-ratio: 1.3; }
.showcase-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font-size: 13px; }

/* Before & After Interactive Split Slider in Lookbook */
.showcase-compare-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  /* Horizontal drags adjust the split; vertical swipes scroll the lookbook. */
  touch-action: pan-y pinch-zoom;
  cursor: ew-resize;
  --split-percent: 50%;
}
.showcase-compare-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.showcase-compare-layer.before-layer {
  clip-path: polygon(0 0, var(--split-percent, 50%) 0, var(--split-percent, 50%) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--split-percent, 50%) 0, var(--split-percent, 50%) 100%, 0 100%);
}
.showcase-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-percent, 50%);
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}
.showcase-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
}
.showcase-divider-handle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--plum, #46272e);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.showcase-divider-handle:hover,
.showcase-compare-wrap.is-dragging .showcase-divider-handle {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.showcase-divider-handle svg {
  width: 16px;
  height: 16px;
}
.showcase-compare-pill {
  position: absolute;
  top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 4;
}
.showcase-compare-pill.pill-before {
  left: 14px;
  background: rgba(46, 27, 34, 0.76);
  color: #f7ebe1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.showcase-compare-pill.pill-after {
  right: 14px;
  background: rgba(182, 90, 68, 0.88);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(182, 90, 68, 0.4);
}

/* Side-by-Side Dual Reference View */
.showcase-side-by-side-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--paper-deep, #e8ddd3);
  box-sizing: border-box;
}
.showcase-side-card {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #c5aca0;
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.showcase-side-header {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 8px;
  padding: 6px 10px;
  background: rgba(35, 21, 26, 0.82);
  color: white;
}
.showcase-side-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #e5d6cc;
}
.showcase-side-tag.accent {
  color: #ffb499;
}
.showcase-side-sub {
  font-size: 8px;
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.showcase-side-canvas-wrap {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.showcase-side-canvas-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.showcase-portrait-caption {
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
.showcase-story h2 {
  font: 400 36px/1.05 var(--display);
  margin: 6px 0 12px;
}
.showcase-intro {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 18px;
}
.showcase-facts {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.showcase-fact {
  background: var(--white);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
}
.showcase-fact-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin-bottom: 2px;
}
.showcase-fact strong {
  font: 400 20px/1.2 var(--display);
  color: var(--plum);
}
.showcase-fact p { font-size: 11px; color: var(--muted); margin-top: 2px; }
.showcase-privacy {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
}
.showcase-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.showcase-done {
  min-height: 44px;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
  text-align: center;
}

/* Help Dialog */
#help-dialog {
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
  max-width: 680px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#help-dialog h2 {
  font: 400 38px/1.05 var(--display);
  margin: 8px 0 20px;
}
#help-dialog ol {
  padding-left: 20px;
  display: grid;
  gap: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}
#help-dialog ol strong { color: var(--ink); }
.help-note {
  font-size: 11px;
  color: #7a6a6d;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 20px;
}
#help-dialog .close-help {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* -------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------------------- */
/* The three desktop columns need room for the nested makeup controls. */
@media (max-width: 1279px) and (min-width: 821px) {
  .studio-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 20px;
  }
  .preview-column { grid-column: 1; grid-row: 1 / span 2; }
  .controls-column {
    grid-column: 2;
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .look-panel { grid-column: 2; padding: 24px 16px; }
  .afterword { grid-template-columns: 40px minmax(0, 1fr) 220px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 64px; padding: 12px max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left)); }
  .header-rule, .header-descriptor { display: none; }
  .site-header nav { gap: 16px; }
  .site-header nav a, .site-header nav button { font-size: 11px; }
  .intro { padding: 48px max(18px, env(safe-area-inset-right)) 40px max(18px, env(safe-area-inset-left)); }
  .intro-aside { display: none; }
  .intro h1 { font-size: clamp(40px, 10vw, 72px); }
  .studio { padding: 40px max(16px, env(safe-area-inset-right)) 60px max(16px, env(safe-area-inset-left)); }
  .studio-grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .preview-column {
    display: contents !important;
  }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) {
    position: sticky !important;
    top: 0 !important;
    z-index: 200 !important;
    border-radius: 0 0 20px 20px !important;
    order: 1 !important;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(200px, 38vh, 360px);
    height: clamp(200px, 38svh, 360px);
    min-height: 0;
    aspect-ratio: auto;
  }
  .controls-column {
    order: 2 !important;
    width: 100%;
  }
  .look-panel {
    order: 3 !important;
    width: 100%;
  }
  .stage-zoom-bar { margin: 0; padding: 6px 8px; gap: 6px; }
  .zoom-focus-badge, .zoom-btn, .zoom-level-badge { min-height: 40px; }
  .zoom-btn { width: 32px; }
  .zoom-level-badge { min-width: 36px; padding-inline: 0; }
  .preview-top { top: 10px; left: 12px; right: 12px; }
  .preview-label { font-size: 9px; letter-spacing: .1em; }
  .preview-no, .preview-small, .preview-subdetail, .preview-corner { display: none; }
  .preview-bottom, .preview-frame.is-demo .preview-bottom { bottom: 12px; left: 12px; right: 66px; }
  .preview-bottom strong, .preview-frame.is-demo .preview-bottom strong { font-size: 18px; line-height: 1.1; }
  .compare-btn {
    top: 40px;
    right: 10px;
    min-height: 44px;
    padding: 7px 10px;
    font-size: 10px;
  }
  .stage-fullscreen-fab, .showcase-fab, .stage-camera-action { width: 44px; height: 44px; }
  .stage-fullscreen-fab { top: 40px; left: 10px; right: auto; bottom: auto; }
  .showcase-fab { bottom: 10px; right: 10px; }
  .stage-camera-action { left: 10px; right: auto; }
  .stage-rotate { top: 90px; }
  .stage-flip { top: 140px; }
  .stage-action-tooltip { display: none; }
  .preview-guide { inset: 90px 12px 12px; min-height: 0; padding: 12px; justify-content: flex-start; overflow-y: auto; }
  .preview-loading strong, .preview-guide strong { font-size: 24px; }
  .preview-guide .guide-icon { display: none; }
  .brow-live-comparison { margin-top: 16px; }
  .look-panel {
    scroll-margin-top: calc(clamp(200px, 38vh, 360px) + 16px);
    scroll-margin-top: calc(clamp(200px, 38svh, 360px) + 16px);
  }
  .store-panel {
    scroll-margin-top: calc(clamp(200px, 38svh, 360px) + 16px);
  }
  .studio-heading > p { display: none; }
  .store-card { min-height: 154px; }
  .store-navigation { margin-bottom: 8px; }
  .store-mobile-hint {
    display: block;
    max-width: 1540px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
  }
  .store-return {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 0;
    margin: -8px 0 14px;
    background: #f7f1eb;
  }
  .store-return button {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--plum);
    font-size: 12px;
    font-weight: 700;
  }
  .store-return button:hover { border-color: var(--copper); }
  .showcase-content { grid-template-columns: minmax(0, 1fr); }
  .afterword {
    padding: 48px max(18px, env(safe-area-inset-right)) 48px max(18px, env(safe-area-inset-left));
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .afterword-mark { font-size: 32px; }
  footer { flex-wrap: wrap; gap: 14px; padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); }
  footer > span { order: 3; width: 100%; }
}

@media (max-width: 520px) {
  .studio { padding-top: 24px; }
  .studio-heading { margin-bottom: 16px; }
  .store-card { flex: 0 0 136px; min-height: 76px; padding: 10px 12px; }
  .store-card-title { font-size: 15px; }
  .look-panel { padding: 20px 16px; }
  .lipstick-note, #lipstick-status, #lip-liner-status, .look-panel .lipstick-panel legend,
  .lipstick-custom label, .lipstick-intensity-ends { font-size: 12px; }
  .lipstick-shade-options button, .lipstick-finish-options button { font-size: 12px; }
  .lipstick-finish-options button { min-height: 44px; padding: 8px 6px; }
  .lipstick-intensity label { font-size: 13px; }
  #lipstick-intensity-value, #lip-liner-width-value, #lip-liner-intensity-value { font-size: 12px; }
  #lipstick-custom-color, #lip-liner-custom-color { width: 44px; height: 44px; }
  .lipstick-intensity input[type="range"] {
    height: 44px;
    margin: 2px 0;
    background: linear-gradient(to bottom, transparent calc(50% - 1.5px), var(--line) calc(50% - 1.5px), var(--line) calc(50% + 1.5px), transparent calc(50% + 1.5px));
  }
  .lipstick-intensity input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; }
  .lipstick-intensity input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; }
  .eye-combo-targets button { min-height: 44px; font-size: 12px; }
  .eye-combo-footer, .eye-combo-footer button { font-size: 12px; }
  .studio-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .studio-tab {
    min-width: 0;
    min-height: 62px;
    flex-direction: column;
    gap: 3px;
    padding: 7px 4px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
  }
  .studio-tab-label { overflow-wrap: anywhere; }
  .studio-tab-count { white-space: nowrap; }
  .lipstick-shade-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lipstick-panel { padding: 15px 13px; }
  .lipstick-detail-row { gap: 8px; }
  .lipstick-heading, .lip-liner-heading { align-items: start; }
  #lipstick-status, #lip-liner-status { max-width: 100%; text-align: left; }
  .style-options button { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; }
  .style-tag { grid-column: 1; grid-row: 3; justify-self: start; }
  .style-symbol { grid-column: 2; grid-row: 1 / 4; }
  .brow-shape-options button { gap: 6px; padding: 8px 6px; }
  .brow-shape-mark { width: 27px; }
  .architecture-card { padding: 14px 10px; }
  .showcase-dialog-header { padding: 8px 12px; gap: 8px; }
  .showcase-dialog-header p { font-size: 8px; letter-spacing: .1em; }
  .showcase-content { padding: 16px 12px 20px; gap: 24px; }
  .showcase-side-by-side-wrap { padding: 5px; gap: 5px; }
  .showcase-side-header { align-items: flex-start; flex-direction: column; padding: 6px; }
  .showcase-side-tag { font-size: 8px; letter-spacing: .08em; }
  .showcase-photo-frame[data-view="side-by-side"] { aspect-ratio: 1.15; }
  .showcase-compare-pill { top: 10px; padding: 4px 6px; letter-spacing: .08em; }
  .showcase-compare-pill.pill-before { left: 8px; }
  .showcase-compare-pill.pill-after { right: 8px; }
  #help-dialog { padding: 24px 16px; }
  #help-dialog .eyebrow { padding-right: 40px; }
  #help-dialog .close-help { top: 10px; right: 8px; }
  #help-dialog h2 { font-size: 32px; }
}

@media (max-width: 600px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 12px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  }
  .site-header nav {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    margin-left: 0;
  }
  .site-header nav a, .site-header nav button {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    text-align: left;
    white-space: normal;
  }
}

/* A pinned mirror must not occupy the entire editing viewport in landscape. */
@media (max-height: 600px) {
  .preview-column { position: static; height: auto; max-height: none; overflow: visible; }
  .preview-column .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) {
    position: relative;
    top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    height: min(68vh, 360px);
    height: min(68svh, 360px);
    min-height: 0;
  }
  /* One compact action row replaces the independent top/bottom rails. The
     bounded mirror leaves space to scroll the page without starting a pan. */
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) > :is(.compare-btn, .stage-camera-action, .stage-fullscreen-fab, .showcase-fab) {
    position: relative;
    inset: auto;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
  }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .stage-fullscreen-fab { order: 1; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .stage-rotate { order: 2; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .stage-flip { order: 3; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .showcase-fab { order: 4; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .compare-btn { order: 5; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) :is(.compare-btn span, .stage-action-tooltip, .preview-no, .preview-small, .preview-subdetail, .preview-corner) { display: none; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .preview-top { top: 10px; left: 12px; right: 12px; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .preview-label { font-size: 9px; letter-spacing: .1em; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .preview-bottom { top: 36px; bottom: auto; left: 12px; right: 12px; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .preview-bottom strong { font-size: 18px; line-height: 1.1; }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .preview-guide {
    inset: 12px 12px 64px;
    min-height: 0;
    padding: 10px;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .preview-guide .guide-icon { display: none; }
  .look-panel { scroll-margin-top: 16px; }
}

@media (max-height: 360px) {
  .preview-frame:not(.is-stage-fullscreen):not(:fullscreen) .preview-bottom { display: none; }
}

@media (min-width: 1440px) {
  .curl-options { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .element-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Liner store uses the same atelier controls and spacing as the cheek edit. */
.eyeliner-panel .blush-heading h2 em { color: var(--copper); }
.eyeliner-panel .eyeliner-recipe { padding: 20px; border: 1px solid var(--line); background: #f8f3ef; }
.eyeliner-recipe h3 { font-family: var(--display); font-size: 24px; font-weight: 400; margin: 6px 0 12px; }
#eyeliner-recipe-text { white-space: pre-line; line-height: 1.7; font-size: 13px; user-select: text; }
#eyeliner-copy-status { font-size: 12px; margin-top: 8px; }
.eyeliner-panel .blush-swatch { width: 24px; height: 24px; }

.store-card-eyeliner::before { background: #493343; }
[data-face-store="eyeliner"] { --portal-accent: #947184; }
[data-face-store="eyeliner"] .preview-frame { --ambient-glow: rgba(148,113,132,.16); }
.look-panel .eyeliner-panel > fieldset, .eyeliner-panel > .blush-sliders, .eyeliner-panel > .eyeliner-recipe { margin-top: 20px; }
#eyeliner-status { padding: 5px 8px; border: 1px solid #e2cec7; border-radius: 2px; background: rgba(255,250,246,.7); color: var(--plum); font-size: 10px; font-weight: 700; }

/* Sculpt store shares the atelier controls, palette and typography. */
.store-card-contour::before { background: #9b714f; }
[data-face-store="contour"] { --portal-accent: #9b714f; }
.contour-panel .blush-heading h2 em { color: var(--copper); }
.contour-panel > fieldset, .contour-panel > .blush-sliders, .contour-panel > .contour-recipe { margin-top: 20px; }
.contour-recipe { padding: 20px; border: 1px solid var(--line); background: #f8f3ef; }
.contour-recipe h3 { font-family: var(--display); font-size: 24px; font-weight: 400; margin: 6px 0 12px; }
#contour-recipe-text { white-space: pre-line; line-height: 1.7; font-size: 13px; user-select: text; }
#contour-copy-status { font-size: 12px; margin-top: 8px; }
#contour-status { padding: 5px 8px; border: 1px solid #e2cec7; border-radius: 2px; background: rgba(255,250,246,.7); color: var(--plum); font-size: 10px; font-weight: 700; }
.contour-zones { display: flex; flex-wrap: wrap; gap: 8px; }
.contour-zone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); font-size: 12px; cursor: pointer; }
.contour-zone input { width: 16px; height: 16px; accent-color: var(--plum); }
.contour-zone:focus-within { outline: 2px solid var(--copper); outline-offset: 2px; }

/* Glow keeps the shared atelier layout and control language. */
.store-card-highlighter::before { background: #ab895a; }
[data-face-store="highlighter"] { --portal-accent: #ab895a; }
.highlighter-panel .blush-heading h2 em { color: var(--copper); }
.highlighter-panel > fieldset, .highlighter-panel > .blush-sliders, .highlighter-panel > .highlighter-recipe { margin-top: 20px; }
.highlighter-recipe { padding: 20px; border: 1px solid var(--line); background: #f8f3ef; }
.highlighter-recipe h3 { font-family: var(--display); font-size: 24px; font-weight: 400; margin: 6px 0 12px; }
#highlighter-recipe-text { white-space: pre-line; line-height: 1.7; font-size: 13px; user-select: text; }
#highlighter-copy-status { font-size: 12px; margin-top: 8px; }
#highlighter-status { padding: 5px 8px; border: 1px solid #e2cec7; border-radius: 2px; background: rgba(255,250,246,.7); color: var(--plum); font-size: 10px; font-weight: 700; }
