:root {
  color-scheme: light;
  --paper: #faf7f2;
  --white: #fffdf9;
  --ink: #1c1a17;
  --muted: #71675e;
  --primary: #8a5a3b;
  --deep: #71472e;
  --pale: #f3e8dc;
  --accent: #d8a47f;
  --line: #eae1d6;
  --radius: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
h1, .preview h2, .workflow h2, .questions h2, .simple-page h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: var(--white);
}
.shell { width: min(100% - 80px, 1160px); margin-inline: auto; }

html {
  scroll-padding-top: 72px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--paper);
}
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--paper); }
html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; border: 2px solid var(--paper); }
html::-webkit-scrollbar-thumb:hover { background: var(--deep); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: #fdfaf5;
}
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
  font: 600 25px/1 Georgia, serif;
  letter-spacing: -.065em;
}
.brand-icon {
  display: block;
  width: 32px;
  height: 32px;
}
.topbar nav, .footer-inner nav { display: flex; align-items: center; gap: 30px; }
.topbar nav a, .footer-inner nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 540;
  white-space: nowrap;
  text-decoration: none;
}
.topbar nav a:hover, .footer-inner nav a:hover, .topbar nav [aria-current] { color: var(--deep); }
.topbar nav [aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.top-link {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #e4d8cb;
  border-radius: 8px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.top-link:hover { background: var(--pale); }
.top-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }

.signin-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--white);
  color: var(--deep);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .15s ease, box-shadow .15s ease;
}
.signin-button:hover { background: var(--pale); box-shadow: 0 2px 8px rgba(113, 71, 46, .12); }

.account { position: relative; }
.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--deep);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.account-chip:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(113, 71, 46, .1); }
.account-chip svg { color: var(--muted); }
.account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.account-avatar.initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fffdf9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.account-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
}
.account-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 8px;
  width: 242px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(64, 39, 20, .16);
  animation: menu-in .18s ease;
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.account-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}
.account-credits { color: var(--deep); font-size: 13px; font-weight: 650; }
.account-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.account-link:hover { color: var(--deep); }
.account-plan { color: var(--muted); font-size: 12px; }
.account-cancel {
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.account-cancel:hover { color: #782e2a; }
.account-demo {
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--pale);
  color: var(--muted);
  font-size: 11px;
}
.account-signout {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep);
  font-size: 12px;
  font-weight: 650;
  transition: background .15s ease;
}
.account-signout:hover { background: var(--pale); }

.auth-nudge {
  position: fixed;
  z-index: 40;
  top: 86px;
  right: 24px;
  display: grid;
  gap: 10px;
  width: 336px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(64, 39, 20, .18);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .28s ease, transform .28s ease;
}
.auth-nudge.visible { opacity: 1; transform: translateX(0); }
.nudge-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.nudge-close:hover { background: var(--pale); color: var(--deep); }
.nudge-head { display: flex; align-items: center; gap: 12px; padding-right: 22px; }
.nudge-mark { width: 40px; height: 40px; border-radius: 10px; }
.nudge-copy strong { display: block; font-size: 14px; font-weight: 650; color: var(--ink); }
.nudge-copy p { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  color: #3c4043;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, box-shadow .15s ease;
}
.google-button:hover { background: #f8f9fa; box-shadow: 0 2px 8px rgba(60, 64, 67, .15); }
.demo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--pale);
  color: var(--deep);
  font-size: 13px;
  font-weight: 650;
  transition: background .15s ease, box-shadow .15s ease;
}
.demo-button:hover { background: #eeddc9; box-shadow: 0 2px 8px rgba(113, 71, 46, .14); }
.nudge-note { color: var(--muted); font-size: 11px; line-height: 1.4; }
.nudge-later {
  justify-self: center;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nudge-later:hover { color: var(--deep); }

.auth-toast {
  position: fixed;
  z-index: 60;
  bottom: 24px;
  left: 50%;
  max-width: min(92vw, 480px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fdfaf5;
  font-size: 13px;
  font-weight: 550;
  text-align: center;
  box-shadow: 0 10px 30px rgba(28, 26, 23, .3);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .25s ease, transform .25s ease;
}
.auth-toast.visible { opacity: 1; transform: translate(-50%, 0); }
.auth-toast.error { background: #7a2e2e; }

.studio-intro { padding: 44px 0 27px; }
h1 {
  margin: 11px 0 9px;
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: 1.02;
  letter-spacing: -.065em;
}
.lead { color: var(--muted); font-size: clamp(14px, 1.25vw, 17px); line-height: 1.55; }
.studio {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.panel {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 3px 16px rgba(64, 39, 20, .035);
}
.editor { padding: 23px; }
.editor h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.step {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--deep);
  font-size: 11px;
}
.dropzone {
  min-width: 0;
  display: flex;
  align-items: center;
  margin-top: 12px;
  border: 1px dashed #c8a589;
  border-radius: 12px;
  background: #fcf6ed;
  transition: background .15s, border-color .15s;
}
.dropzone:hover, .dropzone.dragging, .dropzone.has-photo { background: #f7ede0; border-color: var(--primary); }
.pick-photo {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 83px;
  padding: 12px 16px;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 11px;
}
.pick-photo:focus-visible { outline-offset: -2px; }
.upload-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid #ead6c3;
  color: var(--primary);
  background: #fffbf7;
}
.upload-text { min-width: 0; }
.upload-text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.upload-text > span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.upload-aside {
  flex: none;
  display: flex;
  align-items: center;
  gap: 3px;
  padding-right: 12px;
  color: var(--primary);
  font: italic 16px/1 'Bradley Hand', 'Segoe Print', cursive;
  transform: rotate(-7deg);
  pointer-events: none;
}
.sketch { font: 26px/1 Georgia, serif; transform: rotate(-24deg); }
.has-photo .upload-aside { display: none; }
.photo-options { margin: 8px 0 15px; }
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--deep);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.text-button:hover, .inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.style-section { padding-top: 16px; border-top: 1px solid var(--line); }
.current-look {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf9;
}
.current-look img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; background: var(--pale); }
.current-look-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.current-look-text strong { font-size: 13px; }
.current-look-text span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.current-look .text-button { margin-left: auto; flex: 0 0 auto; }
.gender-select select {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 8px;
  font-size: 11px;
  color: var(--deep);
  background: #fffdf9;
}
.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--pale);
}
.filters::-webkit-scrollbar { height: 6px; }
.filters::-webkit-scrollbar-track { background: var(--pale); border-radius: 3px; }
.filters::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.filters::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.filters button, .filters a { flex: 0 0 auto; }
.filters button, .filters a {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
}
.filters button:hover, .filters a:hover { border-color: #ceb49d; }
.filters button[aria-pressed="true"] {
  color: #57321c;
  background: var(--pale);
  border-color: var(--pale);
  font-weight: 700;
}
.style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.catalog { padding: 36px 0 6px; }
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.catalog-head h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.catalog-lead { margin-top: 6px; max-width: 62ch; color: var(--muted); font-size: 13px; line-height: 1.55; }
.catalog-nav { margin: 16px 0 2px; }
.catalog-section { padding-top: 26px; scroll-margin-top: 14px; }
.catalog-section header { display: flex; align-items: baseline; gap: 10px; }
.catalog-section h3 { font-size: 19px; letter-spacing: -.03em; }
.catalog-count {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 11px;
}
.catalog-blurb { margin: 5px 0 12px; max-width: 80ch; color: var(--muted); font-size: 12px; line-height: 1.55; }
.catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.style-card.catalog-card { gap: 6px; font-size: 12px; text-align: left; }
.style-card.catalog-card > span:last-child { min-height: 0; }
.catalog-card .card-name { width: 100%; font-weight: 650; color: var(--ink); }
.catalog-card .card-meta { width: 100%; color: var(--muted); font-size: 10px; line-height: 1.4; }
.catalog-card[aria-pressed="true"] .card-name { color: var(--deep); }
#preview-title { scroll-margin-top: 14px; }
.style-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 0 0 3px;
  border: 0;
  background: transparent;
  font-size: 10px;
  text-align: center;
  line-height: 1.3;
}
.style-card > span:last-child { width: 100%; min-height: 2.4em; }
.style-card[aria-pressed="true"] { color: var(--deep); font-weight: 750; }
.style-image {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 9px;
  padding: 2px;
  border: 1px solid transparent;
  transition: border-color .15s;
}
.style-image img { width: 100%; height: auto; aspect-ratio: .8; object-fit: cover; border-radius: 6px; background: var(--pale); }
.style-card:hover .style-image { border-color: var(--accent); }
.style-card[aria-pressed="true"] .style-image { border-color: var(--primary); }
.style-check {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: white;
  background: var(--primary);
  font-size: 10px;
}
.style-card[aria-pressed="true"] .style-check { display: flex; }

.adjustments { padding: 0; margin: 13px 0 0; border: none; min-width: 0; }
.adjustments legend { padding: 0; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.slider-list { display: grid; gap: 7px; }
.slider-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 59px; align-items: center; gap: 10px; font-size: 12px; }
.slider-row > input { width: 100%; accent-color: var(--primary); }
.slider-row output { text-align: right; color: var(--deep); }
.editor-actions { margin-top: 13px; }
.primary-button {
  width: 100%;
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  gap: 8px;
  align-items: center;
  min-height: 45px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  background: var(--primary);
  color: #fffaf4;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s;
}
.primary-button:hover { background: var(--deep); }
.primary-button:disabled { opacity: .7; cursor: wait; }
.photo-note, .page-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 9px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}
.photo-note a { text-decoration: none; }
.photo-note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.message {
  margin-top: 9px;
  padding: 8px 10px;
  background: #f3ebdf;
  color: var(--deep);
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.45;
}
.message.error { color: #782e2a; background: #fae9e4; }

.preview { padding: 20px; }
.preview-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.preview h2 { font-size: 25px; line-height: 1.1; letter-spacing: -.045em; scroll-margin-top: 14px; }
.preview-header p { margin-top: 5px; font-size: 12px; color: var(--muted); }
.preview-mode {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--deep);
  font-size: 10px;
  font-weight: 650;
}
.preview-mode > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b88b69;
}
.comparison {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
  border-radius: 11px;
}
.portrait {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: .88;
  overflow: hidden;
  background: #f0e5d8;
}
.portrait img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
#original-card:has(img[src^="blob:"]) img, #result-card:has(img[src^="blob:"]) img {
  object-fit: contain;
}
.portrait figcaption {
  position: absolute;
  z-index: 1;
  bottom: 11px;
  left: 11px;
  max-width: calc(100% - 22px);
  padding: 5px 9px;
  border-radius: 5px;
  background: rgba(36, 26, 19, .78);
  color: #fffaf4;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#result-card figcaption { background: #faf0e3; color: #603d27; }
.comparison-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
  box-shadow: 0 1px 8px #32241534;
  pointer-events: none;
}
.result-placeholder { display: grid; justify-items: center; gap: 9px; padding: 10px; text-align: center; font-size: 12px; color: var(--deep); }
#result-card[aria-busy="true"] {
  background: linear-gradient(100deg, #f0e5d8 40%, #f8efe4 50%, #f0e5d8 60%);
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -80% 0; } }
#result-card[aria-busy="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 34%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .45) 45%, rgba(255, 255, 255, .45) 55%, transparent);
  transform: translateY(-120%);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { to { transform: translateY(320%); } }
#result-card[aria-busy="true"] .result-placeholder > svg { animation: pulse 1.4s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .35; transform: scale(.8) rotate(45deg); } }
#result-card[aria-busy="true"] .result-placeholder::after {
  content: "";
  width: min(180px, 62%);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: slide 1.4s ease-in-out infinite;
}
@keyframes slide { from { background-position: -60% 0; } to { background-position: 160% 0; } }
#result-card[aria-busy="true"] #placeholder-text::after { content: "…"; animation: dots 1.2s steps(1, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.preview-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; min-height: 32px; padding-top: 8px; }
.preview-footer > p { color: var(--muted); font-size: 11px; }
.result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.saved-looks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.saved-looks img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--pale); border-radius: 8px; }
.saved-looks figcaption { padding-top: 4px; font-size: 11px; }

.workflow {
  display: grid;
  grid-template-columns: minmax(190px, .54fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin-top: 42px;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.workflow h2, .questions h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.05em; }
.workflow p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.workflow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 3px 0 0; margin: 0; }
.workflow li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.workflow li > span { color: var(--primary); padding-top: 1px; font: italic 16px/1 Georgia, serif; }
.workflow li p { margin-top: 3px; }
.questions {
  display: grid;
  grid-template-columns: minmax(190px, .54fr) minmax(0, 1fr);
  gap: 20px;
  padding: 35px 0 44px;
}
.questions details { border-bottom: 1px solid var(--line); }
.questions summary {
  padding: 12px 2px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.questions summary::-webkit-details-marker { display: none; }
.questions details[open] svg { rotate: 180deg; }
.questions details p { padding: 0 20px 13px 2px; max-width: 61ch; color: var(--muted); font-size: 13px; line-height: 1.6; }
.site-footer { background: #f5eee5; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 20px; }
.footer-inner .wordmark { font-size: 21px; }
.footer-inner .brand-icon { width: 28px; height: 28px; }
.simple-page { padding-block: 48px; min-height: 58vh; }
.simple-page h2 { margin-top: 21px; font-size: 25px; }
.simple-page p { margin-top: 7px; max-width: 62ch; line-height: 1.65; color: var(--muted); }
.simple-page .inline-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; }
.inline-link { color: var(--deep); text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 52px); }
  .studio { gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .editor, .preview { padding: 16px; }
  .upload-aside { font-size: 13px; }
  .pick-photo { padding-inline: 11px; }
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .workflow { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 77px; }
  .shell { width: calc(100% - 34px); }
  .topbar { min-height: 0; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav"; gap: 0 8px; align-items: center; padding: 10px 0 0; }
  .topbar nav {
    grid-area: nav;
    justify-self: stretch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 9px 2px 11px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
  }
  .topbar nav::-webkit-scrollbar { height: 3px; }
  .topbar nav::-webkit-scrollbar-track { background: transparent; }
  .topbar nav::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
  .topbar nav a { font-size: 12px; }
  .topbar nav [aria-current] { text-underline-offset: 6px; }
  .wordmark { grid-area: brand; font-size: 21px; gap: 6px; }
  .brand-icon { width: 26px; height: 26px; }
  .top-link { display: none; }
  .top-actions { grid-area: actions; gap: 8px; }
  .signin-button { padding: 7px 10px; font-size: 11px; }
  .account-name { display: none; }
  .account-chip { padding: 3px 6px 3px 3px; }
  .account-menu { width: min(242px, calc(100vw - 24px)); }
  .auth-nudge { top: 87px; right: 12px; left: 12px; width: auto; }
  .studio-intro { padding: 26px 0 19px; }
  h1 { margin: 9px 0 7px; font-size: clamp(35px, 9vw, 58px); }
  .studio { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .portrait { aspect-ratio: .93; }
  .editor, .preview { padding: 14px; }
  .photo-options { margin-bottom: 11px; }
  .style-section { padding-top: 11px; }
  .filters button, .filters a { padding: 6px 10px; }
  .primary-button { min-height: 48px; }
  .workflow { margin-top: 26px; }
  .workflow ol { grid-template-columns: 1fr; gap: 11px; }
  .questions { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 23px 0 28px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner nav { flex-wrap: wrap; gap: 12px; }
  .footer-inner nav a { font-size: 12px; }
}
@media (max-width: 365px) {
  .shell { width: calc(100% - 24px); }
  .upload-aside { display: none; }
  .style-grid { gap: 4px; }
  .filters { gap: 4px; }
  .filters button, .filters a { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Content pages, quiz and pricing */
.content-body h2, .quiz-result h2, .plan-card h2, .shape-detail h2, .related h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.inline-button {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
}
.face-outline { color: var(--primary); flex: none; }
.face-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 24px;
}
.face-cta p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.face-cta strong { color: var(--ink); }
.face-cta > div { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.quiz-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 18px 22px;
  margin-bottom: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quiz-banner p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.quiz-banner strong { color: var(--ink); }
.face-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.face-card {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s;
}
.face-card:hover { border-color: var(--accent); }
.face-card strong { font-size: 16px; }
.face-card p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.face-card-pick { color: var(--deep); font-size: 11px; font-weight: 650; }
.shape-detail {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 20px;
}
.shape-detail-head { display: flex; align-items: center; gap: 14px; }
.shape-detail-head h2 { font-size: 26px; letter-spacing: -.04em; }
.shape-detail-head p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.shape-detail h3 { margin: 22px 0 0; font-size: 15px; }
.shape-summary { margin-top: 14px; max-width: 68ch; color: var(--muted); font-size: 14px; line-height: 1.65; }
.cut-list { display: grid; gap: 16px; list-style: none; margin: 14px 0 0; padding: 0; }
.cut-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
.cut-list img { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; background: var(--pale); }
.cut-list strong { font-size: 14px; }
.cut-list p { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.cut-list .text-button { margin-top: 4px; padding: 0; }
.skip-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.skip-list li { padding-left: 13px; border-left: 2px solid var(--accent); }
.skip-list strong { font-size: 14px; }
.skip-list p { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.tip-list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.tip-list li { margin-top: 6px; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(230px, .38fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-block: 44px;
}
.content-aside {
  position: sticky;
  top: 24px;
  display: grid;
  justify-items: start;
  gap: 13px;
}
.content-aside h1 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); }
.content-aside p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.content-body { min-width: 0; }
.content-body .shape-summary { margin-top: 0; }
.content-body h2 { margin-top: 30px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.04em; }
.content-body .questions { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0 0; }
.related { margin-top: 32px; }
.related h2 { font-size: 24px; letter-spacing: -.04em; }
.related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s;
}
.related-card:hover { border-color: var(--accent); }
.related-card > span { flex: 1; min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.related-card strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
.related-card > svg:last-child { color: var(--deep); }
.quiz-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.quiz-tabs button {
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.quiz-tabs button[aria-selected="true"] { background: var(--pale); border-color: var(--pale); color: #57321c; }
.quiz-panel { padding: 23px; margin-bottom: 12px; }
.quiz-question { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.quiz-question legend { display: flex; align-items: center; gap: 9px; padding: 0; font-size: 14px; font-weight: 700; }
.quiz-hint { margin: 4px 0 8px 32px; color: var(--muted); font-size: 11px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.quiz-option:hover { border-color: #ceb49d; }
.quiz-option:has(input:checked) { border-color: var(--primary); background: #fcf6ed; }
.quiz-option input { accent-color: var(--primary); }
.quiz-actions { display: grid; gap: 8px; margin-top: 6px; }
.quiz-result {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quiz-result h2 { font-size: 24px; letter-spacing: -.04em; }
.quiz-result p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.quiz-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.face-photo-layout {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  max-width: 800px;
  margin-inline: auto;
}
.face-photo-example img, .face-report-summary > img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.face-photo-example figcaption { margin-top: 6px; color: var(--muted); text-align: center; font-size: 12px; }
.face-photo-controls h2 { font-size: clamp(20px, 3vw, 27px); line-height: 1.2; }
.face-photo-controls > p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.face-photo-tips { margin: 12px 0 16px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.face-photo-tips li + li { margin-top: 4px; }
.face-photo-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.face-photo-controls .text-button { min-height: 44px; }
.face-photo-controls .face-camera { display: none; }
#quiz-take-photo { margin-top: 4px; }
.face-frame { position: relative; width: 100%; border-radius: 12px; background: var(--pale); }
.face-frame canvas { display: block; width: 100%; height: auto; border-radius: inherit; touch-action: none; cursor: grab; }
.face-frame canvas:active { cursor: grabbing; }
.face-frame > span {
  position: absolute;
  inset: 12% 19%;
  border: 2px dashed #fff;
  border-radius: 48%;
  box-shadow: 0 0 0 1px rgba(28, 26, 23, .45);
  pointer-events: none;
}
.face-zoom { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; font-size: 13px; font-weight: 650; }
.face-zoom input { flex: 1; min-width: 0; accent-color: var(--primary); }
.face-message { display: block; max-width: 800px; margin: 12px auto 0; }
.face-message.text-button { display: flex; }
.face-report-summary .face-estimate { color: var(--deep); font-size: 12px; font-weight: 700; margin: 0 0 5px; }
.face-report-summary h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4.5vw, 50px); font-weight: 400; }
.face-traits { margin: 14px 0 0; border-top: 1px solid var(--line); }
.face-traits > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.face-traits dt { color: var(--muted); }
.face-traits dd { margin: 0; font-weight: 650; }
.face-annotations, .face-recommendations { max-width: 800px; margin: 28px auto 0; }
.face-annotations { scroll-margin-top: 16px; }
.face-annotations h3, .face-recommendations h3 { margin: 0; font-size: 20px; }
.face-annotation-grid, .face-style-grid { display: grid; gap: 14px; margin: 12px 0 0; }
.face-annotation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.face-annotation-card, .face-style-grid > li {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.face-annotation-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pale); }
.face-annotation-media img, .face-annotation-media canvas { display: block; width: 100%; height: 100%; }
.face-annotation-card figcaption { padding: 12px 14px 14px; }
.face-annotation-card h4 { margin: 0; font-size: 15px; }
.face-annotation-detail, .face-annotation-status { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.face-annotation-loading {
  position: absolute;
  inset: auto 12px 12px;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-inline: auto;
  padding: 6px 11px;
  border-radius: 20px;
  background: rgba(28, 26, 23, .82);
  color: #fffaf4;
  font-size: 12px;
  font-weight: 650;
}
.face-annotations[data-state="loading"] .face-annotation-loading { display: flex; }
.face-annotations[data-state="loading"] .face-annotation-media img { filter: brightness(.82); }
.face-annotations[data-state="loading"] .face-annotation-media::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(255, 250, 244, .56), transparent);
  transform: translateY(-120%);
  animation: scan 2.4s ease-in-out infinite;
}
.face-annotations[data-state="loading"] .face-annotation-card:nth-child(even) .face-annotation-media::after {
  animation-delay: -.65s;
}
.face-style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin-bottom: 10px; }
.face-style-grid > li { display: flex; flex-direction: column; }
.face-style-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--pale); }
.face-style-grid li > div { display: flex; flex-direction: column; align-items: flex-start; flex: 1; gap: 5px; padding: 12px; }
.face-style-grid p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.face-style-grid .text-button { min-height: 42px; margin-top: auto; text-align: left; }
#panel-photo .photo-note { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .face-annotations[data-state="loading"] .face-annotation-media::after { animation: none; }
}
@media (pointer: coarse), (max-width: 620px) {
  .face-photo-controls .face-camera { display: inline-flex; }
}
@media (max-width: 620px) {
  .face-photo-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .face-photo-example { width: min(100%, 156px); justify-self: center; }
  #photo-start .face-photo-controls { grid-row: 1; }
  .face-frame { width: min(100%, 220px); justify-self: center; }
  .face-report-summary > img { width: min(100%, 270px); justify-self: center; }
  .face-annotation-grid { grid-template-columns: minmax(0, 1fr); }
  .face-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .face-style-grid { grid-template-columns: minmax(0, 1fr); }
}
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-bottom: 12px; }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan-card.featured { border-color: var(--accent); box-shadow: 0 6px 24px rgba(64, 39, 20, .08); }
.plan-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--primary);
  color: #fffaf4;
  font-size: 10px;
  font-weight: 700;
}
.plan-card h2, .plan-card h3 { font-size: 22px; }
.plan-price { margin-top: 8px; font: 400 40px/1 Georgia, serif; letter-spacing: -.04em; }
.plan-price span { color: var(--muted); font: 500 13px/1 system-ui, sans-serif; }
.plan-tagline { margin-top: 6px; min-height: 2.9em; color: var(--muted); font-size: 12px; line-height: 1.45; }
.plan-card ul { display: grid; gap: 8px; list-style: none; margin: 14px 0 18px; padding: 0; }
.plan-card li { position: relative; padding-left: 19px; font-size: 13px; line-height: 1.4; }
.plan-card li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.plan-card > .inline-button, .plan-card .waitlist, .plan-card > .plan-subscribe { margin-top: auto; }
.plan-subscribe { display: flex; justify-content: center; }
.plan-subscribe:disabled { opacity: .55; cursor: default; }
.plan-note { margin: 8px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.billing-pending { margin: 0 0 14px; }
.pricing-dialog {
  width: min(680px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 16px 44px rgba(64, 39, 20, .18);
  overflow: hidden;
}
.pricing-dialog[open] { display: flex; flex-direction: column; }
.pricing-dialog::backdrop { background: rgba(28, 26, 23, .58); }
.pricing-dialog-header { display: flex; justify-content: space-between; gap: 12px; padding: 20px 20px 0; }
.pricing-dialog-header h2 { font-size: 24px; }
.pricing-dialog-header p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.pricing-dialog-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--deep);
  background: var(--white);
}
.pricing-dialog-close:hover { background: var(--pale); }
.pricing-dialog-body { overflow: auto; overscroll-behavior: contain; padding: 22px 20px 20px; }
.pricing-dialog .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.waitlist { display: grid; gap: 8px; }
.waitlist input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  font-size: 13px;
}
.waitlist .primary-button { display: flex; justify-content: center; }
.credits-note { margin: 8px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.credits-note a { color: var(--deep); text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .content-layout { gap: 26px; }
  .plan-card { padding: 18px; }
  .quiz-panel { padding: 16px; }
}
@media (max-width: 720px) {
  .face-grid { grid-template-columns: minmax(0, 1fr); }
  .content-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 26px; }
  .content-aside { position: static; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .related > div { grid-template-columns: minmax(0, 1fr); }
  .quiz-result { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .quiz-banner, .face-cta { flex-direction: column; align-items: flex-start; }
  .shape-detail { padding: 16px; }
  .quiz-panel { padding: 14px; }
}
@media (max-width: 520px) {
  .pricing-dialog .plan-grid { grid-template-columns: minmax(0, 1fr); }
}

.mode-tabs {
  display: flex;
  gap: 4px;
  margin: 12px 0 4px;
  padding: 4px;
  background: var(--pale);
  border-radius: 12px;
}
.mode-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.mode-tabs button[aria-pressed="true"] {
  background: #fffdf9;
  color: var(--deep);
  box-shadow: 0 1px 3px rgba(28, 26, 23, .12);
}
.panel-note { margin: 10px 0; font-size: 11px; color: var(--muted); }
.color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.color-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0 0 3px;
  border: 0;
  background: transparent;
  font-size: 10px;
  text-align: center;
  line-height: 1.3;
}
.color-card > span:last-child { width: 100%; min-height: 2.4em; }
.color-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 9px;
  border: 1px solid rgba(28, 26, 23, .12);
  box-shadow: inset 0 0 0 2px #fffdf9;
}
.color-card:hover .color-swatch { border-color: var(--accent); }
.swatch-platinum-silver { background: #c9ccd1; }
.swatch-honey-blonde { background: #d9a95f; }
.swatch-copper-red { background: #b4552d; }
.swatch-caramel-ombre { background: linear-gradient(180deg, #6b4a2f 0%, #b98a4e 60%, #d9b98a 100%); }
.swatch-burgundy { background: #7a2230; }
.swatch-auburn { background: #8a4a2a; }
.swatch-navy-blue { background: #23365e; }
.swatch-coral-pink { background: #e08573; }
.swatch-sage-green { background: #9db894; }
.swatch-jet-black { background: #201d1a; }
.color-card[aria-pressed="true"] { color: var(--deep); font-weight: 750; }
.color-card[aria-pressed="true"] .color-swatch { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 365px) {
  .color-grid { gap: 4px; }
  .style-grid { gap: 4px; }
}
@media (max-width: 720px) {
  .style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
