/* Labsny's baby-blue storefront. Shared visual layer; shop specifics live separately. */
:root {
  --rf-ink: #19364b;
  --rf-blue: #a9d8f5;
  --rf-paper: #f6fbfe;
  --rf-surface: #fff;
  --rf-muted: #526b7a;
  --rf-line: #cbdfe9;
  --rf-blue-soft: #e5f3fc;
  --rf-dark: #19364b;
  --rf-shadow: #19364b;
  --rf-grid: #cbdfe965;
  --rf-border: 2px solid var(--rf-ink);
  --paper: var(--rf-paper);
  --ink: var(--rf-ink);
  --muted: var(--rf-muted);
  --line: var(--rf-line);
  --navy: var(--rf-ink);
  --navy-light: #2a516b;
  --mint: var(--rf-blue);
  --mint-soft: var(--rf-blue-soft);
  --lime: var(--rf-blue);
  --olive: var(--rf-ink);
  --apricot: var(--rf-blue);
  --display: Georgia, "Times New Roman", serif;
  --font-display: var(--display);
  color-scheme: light;
}
html[data-theme="dark"] {
  --rf-ink: #e4f2fb;
  --rf-blue: #9ed1ef;
  --rf-paper: #101e2a;
  --rf-surface: #172c3b;
  --rf-muted: #b4c9d8;
  --rf-line: #3a5465;
  --rf-blue-soft: #19384b;
  --rf-shadow: #07111a;
  --rf-grid: #4762783b;
  color-scheme: dark;
}
html { scroll-padding-top: 96px; }
.guest-stylist-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; margin: 0 0 24px; border: 1px solid var(--rf-line); border-radius: 16px; background: var(--rf-blue-soft); }
.guest-stylist-note > span { display: flex; align-items: center; gap: 12px; min-width: 0; }
.guest-stylist-note > span > .icon { flex: none; width: 21px; height: 21px; }
.guest-stylist-note strong, .guest-stylist-note small { display: block; }
.guest-stylist-note strong { font-size: 14px; color: var(--rf-ink); }
.guest-stylist-note small { margin-top: 4px; color: var(--rf-muted); font-size: 12px; line-height: 1.5; }
.guest-stylist-note > button { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.guest-trial-finished { border-color: var(--rf-ink); }
@media (max-width: 560px) { .guest-stylist-note { align-items: flex-start; flex-direction: column; padding: 14px; gap: 10px; } .guest-stylist-note > button { margin-left: 33px; } }
body { color: var(--rf-ink); background-color: var(--rf-paper); background-image: linear-gradient(var(--rf-grid) 1px, transparent 1px), linear-gradient(90deg, var(--rf-grid) 1px, transparent 1px); background-size: 22px 22px; }
main { max-width: 1180px; width: calc(100% - 64px); margin: 0 auto; }
::selection { color: var(--rf-dark); background: var(--rf-blue); }
h1, h2, .serif { font-family: var(--display); font-weight: 700; font-style: normal; }
h2 { line-height: 1.12; letter-spacing: -1.4px; }
.eyebrow, .section-heading .eyebrow { color: var(--rf-ink); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.section-heading h2 { font-weight: 700; }
.text-link, .inline-link, .quiet { color: var(--rf-ink); }
.text-link:hover, .inline-link:hover { color: var(--rf-ink); text-decoration: underline; text-underline-offset: 4px; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--rf-ink); outline-offset: 4px; }
.header :focus-visible { outline-color: var(--rf-ink); }
.button { border: var(--rf-border); border-radius: 999px; min-height: 46px; padding: 12px 23px; gap: 10px; background: var(--rf-surface); color: var(--rf-ink); font-weight: 700; font-size: 14px; box-shadow: 3px 3px 0 var(--rf-shadow); transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--rf-shadow); }
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--rf-shadow); }
.button:disabled { opacity: .55; transform: none; box-shadow: none; }
.button.primary, .button.mint, .button.dark, .primary, .dark { background: var(--rf-blue); color: var(--rf-dark); }
.button.primary:hover, .button.mint:hover, .button.dark:hover, .primary:hover, .dark:hover { background: var(--rf-blue); color: var(--rf-dark); box-shadow: 4px 4px 0 var(--rf-shadow); }
.icon-button { color: var(--rf-ink); }
.icon-button:hover { background: var(--rf-blue-soft); }
.microcopy { color: var(--rf-muted) !important; }
.spinner { border-color: var(--rf-line); border-top-color: var(--rf-ink); }

/* A fixed visual anchor, without using a dark bar across the light page. */
.header { position: sticky; top: 0; height: 70px; z-index: 40; color: var(--rf-ink); background: var(--rf-paper); border-bottom: var(--rf-border); }
.nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1320px; height: 100%; width: 100%; padding: 0 32px; gap: 24px; }
.wordmark { justify-self: start; color: var(--rf-ink); font-family: "DM Sans", sans-serif; font-size: 33px; font-weight: 800; letter-spacing: -2px; white-space: nowrap; }
.brand-star { color: var(--rf-ink); font-size: 26px; }
.arabic { color: var(--rf-muted); border-color: var(--rf-line); font-size: 15px; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: 5px; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 13px; border: 2px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--rf-ink); }
.nav-link:hover { background: var(--rf-blue-soft); color: var(--rf-ink); }
.nav-link.active { color: var(--rf-dark); background: var(--rf-blue); border-color: var(--rf-ink); font-weight: 700; }
.nav-link.active::after { display: none; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.nav-actions .icon-button { color: var(--rf-ink); width: 38px; height: 38px; border-radius: 50%; }
.nav-actions .icon-button:hover { background: var(--rf-blue-soft); }
.nav-actions .location { color: var(--rf-muted); }
.profile-button, .account-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 38px; padding: 8px 14px; color: var(--rf-ink); background: var(--rf-surface); border: var(--rf-border); border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.profile-button:hover, .account-button:hover { background: var(--rf-blue-soft); }
.theme-toggle, .menu-button { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; color: var(--rf-ink); border: var(--rf-border); border-radius: 50%; background: var(--rf-surface); }
.theme-toggle:hover, .menu-button:hover { background: var(--rf-blue-soft); }
.theme-toggle .icon, .menu-button .icon, .account-button .icon { width: 18px; height: 18px; flex: none; }
.header .menu-button { display: none; }
.bag-count { background: var(--rf-blue); color: var(--rf-dark); border-color: var(--rf-paper); }
.tiny-count { background: var(--rf-ink); color: var(--rf-surface); }
.mobile-nav { display: none; }

.reference-hero { max-width: 1024px; margin: 0 auto; padding: 76px 0 57px; text-align: center; }
.reference-hero > .eyebrow, .reference-hero .hero-kicker { display: inline-flex; justify-content: center; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--rf-muted); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.reference-hero h1 { max-width: 950px; margin: 0 auto; color: var(--rf-ink); font-family: var(--display); font-size: clamp(60px, 6.8vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -3.8px; text-shadow: 3px 3px 0 var(--rf-blue); }
.reference-hero h1 em, .reference-hero h1 .serif { font-style: normal; font-weight: inherit; }
.reference-hero > p { max-width: 610px; margin: 25px auto 0; color: var(--rf-muted); font-size: 16px; line-height: 1.75; }
.reference-hero .hero-search { max-width: 672px; margin: 31px auto 0; padding: 8px 9px 8px 20px; grid-template-columns: 23px minmax(0, 1fr) auto; gap: 12px; background: var(--rf-surface); border: var(--rf-border); border-radius: 17px; box-shadow: 5px 5px 0 var(--rf-shadow); }
.reference-hero .hero-search > .icon { color: var(--rf-ink); }
.reference-hero .hero-search input { height: 46px; color: var(--rf-ink); font-size: 16px; background: transparent; }
.reference-hero .hero-search input::placeholder { color: var(--rf-muted); font-size: 14px; }
.reference-hero .hero-search:focus-within { outline: 3px solid var(--rf-blue); outline-offset: 4px; }
.reference-hero .hero-search .button.primary { min-height: 44px; padding: 10px 21px; border: var(--rf-border); border-radius: 12px; background: var(--rf-blue); color: var(--rf-dark); box-shadow: none; font-size: 14px; }
.reference-hero .hero-search .button.primary:hover { transform: none; background: var(--rf-blue-soft); color: var(--rf-ink); }
.hero-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 25px; }
.reference-hero .hero-tags { margin-top: 20px; gap: 8px; }
.reference-hero .hero-tags > span { color: var(--rf-muted); }
.reference-hero .hero-tags > button { color: var(--rf-ink); background: var(--rf-surface); border: 1px solid var(--rf-line); font-size: 11px; padding: 7px 11px; }
.reference-hero .hero-tags > button:hover { background: var(--rf-blue-soft); border-color: var(--rf-ink); }
.reference-hero .hero-secondary { color: var(--rf-ink); text-decoration-color: var(--rf-ink); }

.stylist-invitation { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 34px; max-width: 1024px; margin: 0 auto 42px; padding: 43px 46px; color: #fff; background: var(--rf-dark); border: var(--rf-border); border-radius: 22px; box-shadow: 5px 5px 0 var(--rf-blue); overflow: hidden; }
.stylist-invitation .eyebrow { color: var(--rf-blue); margin-bottom: 14px; }
.stylist-invitation h2 { max-width: 690px; font-family: var(--display); color: #fff; font-size: 43px; font-weight: 700; line-height: 1.08; letter-spacing: -1.6px; }
.stylist-invitation p { max-width: 570px; margin: 17px 0 0; color: #d1e5f1; font-size: 14px; line-height: 1.75; }
.stylist-invitation .hero-cta { justify-content: flex-start; margin-top: 23px; }
.stylist-invitation .button { color: var(--rf-dark); background: var(--rf-blue); border-color: var(--rf-blue); box-shadow: 3px 3px 0 #061f2f; }
.stylist-invitation .button:hover { box-shadow: 4px 4px 0 #061f2f; }
.stylist-invitation .hero-secondary { color: #fff; text-decoration-color: #aac9dc; }
.stylist-invitation-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 13px; }
.stylist-invitation-actions .button { justify-content: center; padding: 11px 16px; }
.stylist-invitation-actions .button.quiet { color: #fff; background: transparent; border-color: #9ec8df; box-shadow: none; }
.stylist-invitation-art { position: relative; display: grid; place-items: center; align-self: center; width: 100px; height: 88px; margin-bottom: 8px; color: var(--rf-blue); background: #274b63; border: 2px solid #57859e; border-radius: 17px; }
.stylist-invitation-art > svg, .stylist-invitation-art > .icon { width: 70px; height: 70px; stroke-width: 1.2; }
.stylist-invitation-art > svg + svg, .stylist-invitation-art > .icon + .icon { position: absolute; width: 26px; height: 26px; right: 4px; top: 3px; }
.stylist-invitation :focus-visible { outline-color: var(--rf-blue); }
.brand-strip { max-width: 1024px; margin: 0 auto; padding: 18px 0 31px; border: 0; gap: 13px; }
.strip-label, .strip-label strong { color: var(--rf-ink); }
.brand-strip .brand-logo, .brand-strip .local-logo { color: var(--rf-ink); background: var(--rf-surface); border: var(--rf-border); border-radius: 999px; box-shadow: 2px 2px 0 var(--rf-shadow); font-size: 12px; min-height: 43px; }
.brand-strip .brand-logo:hover, .brand-strip .local-logo:hover { background: var(--rf-blue); color: var(--rf-dark); border-color: var(--rf-ink); }
.brand-strip .text-link { color: var(--rf-ink); }
.brand-strip .local-logo { gap: 9px; }
.brand-strip .local-logo img { width: 25px; height: 25px; object-fit: contain; border-radius: 50%; background: #fff; }
.brand-strip .brand-logo .icon { width: 16px; height: 16px; }

.workflow-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; max-width: 1024px; margin: 43px auto 0; }
.workflow-features > :is(h2, p, .section-heading), .workflow-features > .workflow-feature-grid { grid-column: 1 / -1; }
.workflow-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.workflow-features > h2, .how-it-works > h2, .reference-faq > h2 { margin-bottom: 12px; text-align: center; font-size: 43px; font-weight: 700; }
.workflow-feature { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; cursor: pointer; padding: 25px 24px; color: var(--rf-ink); background: var(--rf-surface); border: var(--rf-border); border-radius: 15px; box-shadow: 4px 4px 0 var(--rf-shadow); }
.workflow-feature > .icon, .workflow-feature > span > .icon { width: 29px; height: 29px; margin-bottom: 22px; color: var(--rf-ink); }
.workflow-feature .feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 23px; color: var(--rf-dark); background: var(--rf-blue); border: var(--rf-border); border-radius: 12px; }
.workflow-feature .feature-icon > .icon { width: 24px; height: 24px; margin: 0; color: currentColor; }
.workflow-feature .feature-arrow { display: flex; justify-content: flex-end; width: 100%; margin-top: auto; padding-top: 18px; color: var(--rf-ink); }
.workflow-feature .feature-arrow > .icon { width: 21px; height: 21px; margin: 0; }
.workflow-feature:hover { transform: translate(-1px, -1px); background: var(--rf-blue-soft); }
.workflow-feature h3 { color: var(--rf-ink); font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.1; letter-spacing: -.6px; }
.workflow-feature p { margin-top: 12px; color: var(--rf-muted); font-size: 13px; line-height: 1.75; }
.how-it-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; max-width: 1024px; margin: 75px auto 0; }
.how-it-works > :is(h2, p, .section-heading), .how-it-works > .workflow-steps { grid-column: 1 / -1; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.workflow-step { padding: 9px 18px 0; text-align: center; }
.workflow-step > span, .workflow-step > b, .workflow-step > .step-number { display: grid; place-items: center; width: 47px; height: 47px; margin: 0 auto 22px; border: var(--rf-border); border-radius: 50%; background: var(--rf-blue); color: var(--rf-dark); font-weight: 800; box-shadow: 3px 3px 0 var(--rf-shadow); }
.workflow-step h3 { font-family: var(--display); font-size: 25px; font-weight: 700; color: var(--rf-ink); }
.workflow-step p { margin-top: 12px; color: var(--rf-muted); font-size: 13px; line-height: 1.75; }
.reference-faq { max-width: 820px; margin: 78px auto 0; }
.reference-faq > h2 { margin-bottom: 31px; }
.reference-faq details { border: var(--rf-border); background: var(--rf-surface); border-radius: 13px; margin-top: 12px; overflow: hidden; }
.reference-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 19px 21px; list-style: none; font-size: 14px; font-weight: 700; cursor: pointer; }
.reference-faq summary::-webkit-details-marker { display: none; }
.reference-faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; font-weight: 400; }
.reference-faq details[open] > summary::after { content: "−"; }
.reference-faq summary:has(.icon)::after, .reference-faq summary:has(> span)::after { content: none; }
.reference-faq summary > span { flex: none; font-size: 25px; line-height: 1; font-weight: 400; }
.reference-faq details[open] > summary > span { transform: rotate(45deg); }
.reference-faq summary:focus-visible { outline-offset: -5px; }
.reference-faq details[open] { box-shadow: 3px 3px 0 var(--rf-shadow); }
.reference-faq details p { padding: 0 21px 21px; margin: 0; color: var(--rf-muted); font-size: 13px; line-height: 1.8; }
.reference-final-cta { max-width: 1024px; margin: 76px auto; padding: 47px 32px; border: var(--rf-border); border-radius: 22px; background: var(--rf-blue); color: var(--rf-dark); box-shadow: 5px 5px 0 var(--rf-shadow); text-align: center; }
.final-cta-icon { display: grid; place-items: center; margin: 0 auto 21px; color: var(--rf-dark); }
.final-cta-icon .icon { width: 36px; height: 36px; }
.reference-final-cta h2 { font-size: 48px; color: var(--rf-dark); font-weight: 700; line-height: 1.08; }
.reference-final-cta p { max-width: 600px; margin: 18px auto 0; font-size: 14px; line-height: 1.75; color: #2e5369; }
.reference-final-cta .button { margin-top: 0; color: #fff; background: var(--rf-dark); border-color: var(--rf-dark); box-shadow: 3px 3px 0 #fff; }

.workflow-features.section, .how-it-works.section, .reference-faq.section { padding-top: 0; }
.how-it-works > .section-heading { justify-content: center; text-align: center; margin-bottom: 10px; }
.reference-hero > .hero-workflow { max-width: none; margin-top: 12px; font-size: 11px; line-height: 1.6; }
.guide-intro { max-width: 950px; margin: 0 auto; padding-top: 67px; text-align: center; }
.guide-intro h1 { font-family: var(--display); font-size: 61px; font-weight: 700; line-height: 1.06; letter-spacing: -2.5px; margin-top: 19px; text-shadow: 2px 2px 0 var(--rf-blue); }
.guide-intro .page-subtitle { max-width: 620px; margin: 22px auto 0; font-size: 15px; line-height: 1.75; }

/* The dedicated stylist keeps every budget, preference and consent control. */
.stylist-page { max-width: 900px; margin: 36px auto 70px; }
.stylist-welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--rf-muted); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-align: center; }
.stylist-welcome > .icon, .stylist-welcome > span:first-child { display: grid; place-items: center; width: 68px; height: 68px; padding: 17px; border: var(--rf-border); border-radius: 19px; color: var(--rf-dark); background: var(--rf-blue); box-shadow: 4px 4px 0 var(--rf-shadow); }
.stylist-welcome > span > .icon { width: 32px; height: 32px; }
.builder.section { background: var(--rf-surface); border: var(--rf-border); box-shadow: 4px 4px 0 var(--rf-shadow); border-radius: 18px; }
.stylist-page .builder.section { padding: 0; margin: 26px 0 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.stylist-page .builder .section-heading { display: flex; justify-content: center; margin-bottom: 17px; text-align: center; }
.stylist-page .builder .section-heading :is(h1, h2) { margin: 0; font-size: 51px; font-weight: 700; line-height: 1.1; letter-spacing: -2px; text-shadow: 2px 2px 0 var(--rf-blue); }
.stylist-page .stylist-badge, .stylist-page .heading-aside { display: none; }
.stylist-page .builder-intro { max-width: 600px; margin: 0 auto 28px; text-align: center; color: var(--rf-muted); font-size: 14px; line-height: 1.75; }
.stylist-page .occasion-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding: 0 4px 4px 0; margin-bottom: 25px; overflow: visible; }
.stylist-page .occasion { display: flex; justify-content: flex-start; align-items: center; gap: 12px; min-width: 0; min-height: 72px; margin: 0; padding: 18px; white-space: normal; text-align: left; background: var(--rf-surface); color: var(--rf-ink); border: var(--rf-border); border-radius: 13px; box-shadow: 3px 3px 0 var(--rf-shadow); font-size: 13px; font-weight: 600; line-height: 1.45; }
.stylist-page .occasion:hover { transform: translate(-1px, -1px); background: var(--rf-blue-soft); border-color: var(--rf-ink); }
.stylist-page .occasion.selected { background: var(--rf-blue); color: var(--rf-dark); border-color: var(--rf-ink); }
.stylist-page .occasion .icon { width: 23px; height: 23px; flex: none; color: currentColor; }
.stylist-page .occasion small { display: block; margin-top: 3px; color: var(--rf-muted); font-weight: 400; font-size: 11px; }
.stylist-page .occasion.selected small { color: var(--rf-dark); }
.stylist-page .or-label { display: none; }
.stylist-badge { background: var(--rf-blue-soft); border-color: var(--rf-line); color: var(--rf-ink); }
.prompt-box { background: var(--rf-surface); border: var(--rf-border); border-radius: 17px; box-shadow: 4px 4px 0 var(--rf-shadow); }
.prompt-box:focus-within { border-color: var(--rf-ink); box-shadow: 4px 4px 0 var(--rf-shadow); outline: 3px solid var(--rf-blue); outline-offset: 4px; }
.prompt-input-wrap { padding: 22px 24px 16px; }
.prompt-input-wrap > .icon { color: var(--rf-ink); }
.prompt-input-wrap textarea { min-height: 92px; color: var(--rf-ink); background: transparent; font-size: 16px; line-height: 1.7; }
.prompt-input-wrap textarea::placeholder { color: var(--rf-muted); }
.prompt-bottom { background: var(--rf-surface); border-color: var(--rf-line); padding: 17px 20px; gap: 20px; }
.select-control > span, .budget-input > span { color: var(--rf-muted); }
.select-control select, .budget-input input { color: var(--rf-ink); background: transparent; border-color: var(--rf-line); }
.select-control select { max-width: 100%; }
.select-control select option { color: var(--rf-ink); background: var(--rf-surface); }
.prompt-bottom .button { border-radius: 999px; min-height: 45px; min-width: 152px; font-size: 14px; }
.builder-note, .builder-note > span > .icon { color: var(--rf-muted); }
.builder-note .inline-link { color: var(--rf-ink); }
.control-divider { background: var(--rf-line); }
.stylist-error { color: #b34938; }
html[data-theme="dark"] .stylist-error { color: #ffb0a2; }

/* Saved looks, outfit boards and supporting flows share the same outlines. */
.looks-section { padding-top: 56px; }
.look-card, .ranked-look-card { background: var(--rf-surface); border: var(--rf-border); border-radius: 16px; box-shadow: 4px 4px 0 var(--rf-shadow); }
.best-match-card { background: var(--rf-blue-soft); border-color: var(--rf-ink); box-shadow: 4px 4px 0 var(--rf-shadow); }
.card-image-wrap, .outfit-board, .detail-visual, .item-art { background: var(--rf-blue-soft); }
.outfit-board-piece { background: var(--rf-surface); }
.card-tag, .save-button, .image-cta { color: var(--rf-ink); background: var(--rf-surface); border-color: var(--rf-line); }
.save-button.is-saved { background: var(--rf-blue); color: var(--rf-dark); }
.save-button.is-saved .icon { fill: var(--rf-dark); stroke: var(--rf-dark); }
.card-title-row h3 { color: var(--rf-ink); font-weight: 700; }
.card-title-row > span, .outfit-piece-brand, .outfit-rank-copy strong { color: var(--rf-ink); }
.outfit-rank-number { background: var(--rf-blue-soft); color: var(--rf-ink); border: 1px solid var(--rf-line); }
.outfit-rank-best .outfit-rank-number { background: var(--rf-blue); color: var(--rf-dark); border-color: var(--rf-ink); }
.outfit-rank > .icon, .outfit-budget-note { color: var(--rf-ink); }
.look-card > p, .look-card .outfit-rationale, .card-meta > span, .outfit-rank-copy small, .outfit-piece-list small { color: var(--rf-muted); }
.stylist-summary, .empty-state { color: var(--rf-ink); background: var(--rf-blue-soft); border: var(--rf-border); border-radius: 15px; }
.stylist-summary-icon, .empty-state > .icon { color: var(--rf-ink); }
.stylist-summary p, .stylist-loading { color: var(--rf-muted); }
.empty-state h3 { font-family: var(--display); font-weight: 700; }
.profile-banner { background: var(--rf-blue); color: var(--rf-dark); border: var(--rf-border); border-radius: 18px; box-shadow: 4px 4px 0 var(--rf-shadow); }
.profile-banner :is(h2, .eyebrow), .profile-banner h2 .serif, .banner-art > .icon, .banner-star { color: var(--rf-dark); font-weight: 700; }
.profile-banner p { color: #36586b; }
.banner-art .orbit { border-color: #527d98; }
.profile-banner > .button { color: var(--rf-dark); background: #fff; border-color: var(--rf-dark); }

.modal { color: var(--rf-ink); background: var(--rf-surface); border: var(--rf-border); border-radius: 18px; box-shadow: 7px 7px 0 var(--rf-shadow); }
.modal::backdrop { background: #102e448a; backdrop-filter: blur(3px); }
.modal h2 { font-weight: 700; }
.modal .eyebrow { color: var(--rf-muted); }
.modal-close { color: var(--rf-ink); background: var(--rf-surface); border: var(--rf-border); border-radius: 50%; }
.why-box, .bag-brand, .notice, .connection-result { color: var(--rf-ink); background: var(--rf-blue-soft); }
.detail-item, .detail-content > .outfit-rank, .outfit-piece-list, .outfit-piece-list li { border-color: var(--rf-line); }
.detail-content > p, .drawer-description, .item-brand, .size-label, .detail-total small, .bag-brand > span, .bag-summary > div { color: var(--rf-muted); }
.detail-total strong, .bag-summary .grand-total { color: var(--rf-ink); }
.quantity-control { background: var(--rf-surface); border-color: var(--rf-ink); }
.quantity-control button, .bag-item .icon-button .icon, .swap-button, .try-on-button { color: var(--rf-ink); }
.mini-badge { color: var(--rf-ink); border-color: var(--rf-line); }
.checkout-step > span, .checkout-step > .icon, .success-icon { color: var(--rf-ink); }
.success-icon { color: var(--rf-dark); background: var(--rf-blue); }
.checkout-step p, .success-content > p, .photo-privacy, .privacy-content p { color: var(--rf-muted); }
.profile-steps > span { color: var(--rf-muted); }
.profile-steps b { background: var(--rf-blue-soft); color: var(--rf-ink); }
.profile-steps .done { color: var(--rf-ink); }
.profile-steps .done b { background: var(--rf-blue); color: var(--rf-dark); }
.field > input, .field > select, .field textarea, .unit-input, .size-label select, .size-label input { color: var(--rf-ink); background: var(--rf-surface); border-color: var(--rf-ink); border-radius: 9px; }
.field input::placeholder, .unit-input > span { color: var(--rf-muted); }
.unit-input:focus-within, .upload-zone:focus-within, .skin-tones input:checked + span, .skin-tones input:focus-visible + span { outline-color: var(--rf-ink); }
.upload-zone { background: var(--rf-blue-soft); border-color: var(--rf-ink); }
.upload-zone > .icon, .upload-zone > span { color: var(--rf-ink); }
.measurement-guide, .tone-no-preference, .custom-tone-row label, .consent-check { color: var(--rf-muted); }
.tone-no-preference input, .custom-tone-row input[type="radio"], .consent-check input { accent-color: var(--rf-ink); }
.custom-tone-row input[type="color"] { background: var(--rf-surface); border-color: var(--rf-line); }
.profile-palette, .product-size-advice, .size-guide, .size-guide-estimate { background: var(--rf-blue-soft); border-color: var(--rf-line); }
.profile-palette-colors > span, .profile-palette > p, .size-advice, .size-advice > strong { color: var(--rf-muted); }
.size-advice-match > strong, .size-advice-estimate > strong { color: var(--rf-ink); }
.product-size-advice.size-advice-estimate { background: var(--rf-blue-soft); border: 1px dashed var(--rf-line); }
.size-guide > summary, .size-guide th, .size-guide-estimate > summary { color: var(--rf-ink); }
.size-guide > summary > small, .size-guide-content, .size-guide-estimate .size-guide-content { color: var(--rf-muted); }
.size-guide-table-wrap, .size-guide th, .size-guide td { border-color: var(--rf-line); }
.size-guide thead th, .size-guide-estimate thead th { background: var(--rf-surface); }
.account-email, .order-top, .order-card > p, .shipment-row small, .integration-row small, .integration-panel > p, .inventory-item p, .inventory-form label, .metric-grid span { color: var(--rf-muted); }
.order-card { background: var(--rf-surface); border-color: var(--rf-line); }
.status-pill, .status-pill.ready, .connection-success { color: var(--rf-ink); background: var(--rf-blue-soft); }
.connection-error { color: #974a3e; background: #faeee7; }
html[data-theme="dark"] .connection-error { color: #ffc7b8; background: #522e2b; }
.metric-grid > div { background: var(--rf-blue-soft); }
.metric-grid strong, .integration-panel a, .inventory-form .icon { color: var(--rf-ink); }
.inventory-form, .access-key { color: var(--rf-ink); border-color: var(--rf-line); background: var(--rf-blue-soft); }
.mobile-menu-modal { width: min(440px, calc(100vw - 32px)); padding: 35px 25px 24px; }
.mobile-menu { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.mobile-menu > nav { display: grid; gap: 10px; margin: 8px 0 14px; }
.mobile-menu > nav > button, .mobile-menu > button, .mobile-menu > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 17px; min-height: 49px; color: var(--rf-ink); background: var(--rf-surface); border: var(--rf-border); border-radius: 12px; text-align: left; font-weight: 600; }
.mobile-menu > nav > button { justify-content: flex-start; }
.mobile-menu > nav > button > .icon:last-child { margin-left: auto; }
.mobile-menu > nav > button[aria-current="page"] { background: var(--rf-blue); color: var(--rf-dark); }
.mobile-menu > nav > button:hover, .mobile-menu > button:hover, .mobile-menu > a:hover { background: var(--rf-blue-soft); }
.mobile-menu > .active { background: var(--rf-blue); color: var(--rf-dark); }

.floating-stylist { display: inline-flex; align-items: center; gap: 10px; position: fixed; right: 26px; bottom: 26px; z-index: 32; min-height: 52px; padding: 13px 19px; color: var(--rf-dark); background: var(--rf-blue); border: var(--rf-border); border-radius: 999px; box-shadow: 4px 4px 0 var(--rf-shadow); font-size: 14px; font-weight: 700; }
.floating-stylist .icon { width: 24px; height: 24px; }
.floating-stylist:hover { transform: translate(-1px, -1px); }
.reference-footer > nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; max-width: 1100px; margin: 0 auto 20px; }
.reference-footer > nav > button { color: var(--rf-ink); min-height: 40px; font-size: 14px; font-weight: 600; }
.reference-footer > nav > button:hover { text-decoration: underline; text-underline-offset: 4px; }
.reference-footer .footer-bottom { border-top: 1px solid var(--rf-line); padding-top: 22px; }
footer { margin-top: 55px; padding-top: 37px; color: var(--rf-ink); background: var(--rf-blue-soft); border-top: var(--rf-border); }
.footer-brand, .footer-brand > span { color: var(--rf-ink); }
.footer-brand p, .footer-copy, .footer-bottom { color: var(--rf-muted); }
.footer-top { border-color: var(--rf-line); }
.footer-badge { color: var(--rf-ink); border-color: var(--rf-ink); }
.footer-bottom button { color: var(--rf-ink); }
.footer-bottom button:hover { color: var(--rf-ink); text-decoration: underline; }

@media (max-width: 1100px) {
  .nav-wrap { padding: 0 24px; gap: 14px; }
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .nav-actions { gap: 7px; }
  .header .arabic, .nav-actions .location { display: none; }
  .wordmark { font-size: 30px; }
  .account-button { padding: 8px 11px; font-size: 14px; }
  .reference-hero { padding-top: 62px; }
  .reference-hero h1 { font-size: 70px; }
  .stylist-invitation { padding: 36px; }
}
@media (max-width: 860px) {
  .header { height: 66px; }
  .nav-wrap { display: flex; justify-content: space-between; padding: 0 22px; }
  .desktop-nav { display: none; }
  .header .menu-button { display: inline-flex; }
  .nav-actions { gap: 9px; margin-left: auto; }
  .profile-button { width: 38px; height: 38px; padding: 0; }
  .profile-button > span { display: none; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; position: fixed; z-index: 45; left: 18px; right: 18px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; max-width: 460px; margin: auto; padding: 6px 7px; color: var(--rf-ink); background: var(--rf-surface); border: var(--rf-border); border-radius: 23px; box-shadow: 4px 4px 0 var(--rf-shadow); backdrop-filter: none; }
  .mobile-nav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 49px; padding: 7px 3px; gap: 4px; border-radius: 14px; font-size: 9px; line-height: 1.2; font-weight: 600; color: var(--rf-muted); }
  .mobile-nav > button.active { color: var(--rf-ink); background: var(--rf-blue-soft); }
  .mobile-nav > .mobile-style-action, .mobile-nav > .mobile-style-action.active { position: relative; justify-self: center; width: 66px; min-height: 66px; margin-top: -28px; border: var(--rf-border); border-radius: 50%; color: var(--rf-dark); background: var(--rf-blue); box-shadow: 3px 3px 0 var(--rf-shadow); gap: 5px; font-size: 8px; }
  .mobile-nav .icon { width: 19px; height: 19px; }
  .mobile-nav > .mobile-style-action .icon { width: 25px; height: 25px; }
  .mobile-nav > button:focus-visible { outline-color: var(--rf-ink); outline-offset: 3px; }
  .workflow-features, .workflow-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stylist-invitation { grid-template-columns: minmax(0, 1fr) 200px; gap: 23px; }
  .stylist-invitation-art { width: 100px; height: 88px; }
  .stylist-invitation-art > svg, .stylist-invitation-art > .icon { width: 70px; height: 70px; }
  .stylist-invitation-art > svg + svg, .stylist-invitation-art > .icon + .icon { width: 26px; height: 26px; }
  .stylist-invitation h2 { font-size: 36px; }
  .floating-stylist { display: none; }
  footer { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .footer-bottom { padding-bottom: 24px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 86px; }
  main { width: calc(100% - 36px); }
  .header { height: 64px; }
  .nav-wrap { padding: 0 18px; gap: 9px; }
  .wordmark { font-size: 29px; letter-spacing: -1.8px; }
  .brand-star { font-size: 23px; padding-left: 3px; }
  .nav-actions { gap: 7px; }
  .nav-actions .icon-button, .theme-toggle, .menu-button { width: 34px; height: 34px; }
  .account-button { width: 34px; height: 34px; min-height: 34px; padding: 6px; font-size: 0; gap: 0; border-radius: 50%; }
  .account-button > span { display: none; }
  .profile-button { width: 34px; height: 34px; min-height: 34px; }
  .reference-hero { padding: 43px 0 38px; }
  .reference-hero > .eyebrow, .reference-hero .hero-kicker { font-size: 8px; letter-spacing: 1.25px; margin-bottom: 18px; }
  .reference-hero h1 { max-width: 460px; font-size: 44px; line-height: 1.06; letter-spacing: -2px; text-shadow: 2px 2px 0 var(--rf-blue); }
  .reference-hero > p { max-width: 360px; margin-top: 20px; font-size: 13px; line-height: 1.75; }
  .reference-hero .hero-search { grid-template-columns: 19px minmax(0, 1fr) auto; margin-top: 25px; padding: 7px 7px 7px 12px; gap: 8px; border-radius: 14px; box-shadow: 4px 4px 0 var(--rf-shadow); }
  .reference-hero .hero-search > .icon { width: 19px; height: 19px; }
  .reference-hero .hero-search input { height: 42px; font-size: 16px; }
  .reference-hero .hero-search input::placeholder { font-size: 12px; }
  .reference-hero .hero-search .button.primary { min-height: 40px; padding: 9px 12px; font-size: 12px; }
  .reference-hero .hero-search .button .icon { width: 16px; height: 16px; }
  .hero-cta { gap: 12px; margin-top: 23px; }
  .hero-cta .button { min-height: 44px; padding: 11px 16px; font-size: 11px; }
  .reference-hero .hero-tags { gap: 6px; margin-top: 17px; }
  .reference-hero .hero-tags > button { font-size: 10px; padding: 7px 9px; }
  .stylist-invitation { display: block; padding: 28px 24px; margin-bottom: 24px; border-radius: 17px; box-shadow: 4px 4px 0 var(--rf-blue); }
  .stylist-invitation h2 { font-size: 34px; line-height: 1.08; letter-spacing: -1.2px; }
  .stylist-invitation p { font-size: 12px; margin-top: 15px; }
  .stylist-invitation .eyebrow { font-size: 8px; margin-bottom: 13px; }
  .stylist-invitation .hero-cta { margin-top: 22px; }
  .stylist-invitation-art { display: none; }
  .stylist-invitation-actions { align-items: flex-start; gap: 13px; margin-top: 24px; }
  .stylist-invitation-actions .button { min-height: 43px; font-size: 11px; }
  .guide-intro { padding-top: 43px; }
  .guide-intro h1 { font-size: 40px; letter-spacing: -1.7px; }
  .guide-intro .page-subtitle { font-size: 13px; }
  .reference-hero > .hero-workflow { font-size: 10px; }
  .reference-footer > nav { gap: 6px 20px; }
  .reference-footer > nav > button { font-size: 11px; }
  .brand-strip { padding: 14px 0 25px; gap: 10px; }
  .brand-strip .brand-logo, .brand-strip .local-logo { min-height: 40px; padding: 8px 16px; font-size: 11px; }
  .workflow-features { margin-top: 28px; gap: 15px; }
  .workflow-feature-grid { gap: 15px; }
  .workflow-feature { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; cursor: pointer; padding: 20px 17px; box-shadow: 3px 3px 0 var(--rf-shadow); border-radius: 13px; }
  .workflow-feature > .icon, .workflow-feature > span > .icon { width: 25px; height: 25px; margin-bottom: 18px; }
  .workflow-feature h3 { font-size: 22px; }
  .workflow-feature p { font-size: 11px; margin-top: 10px; line-height: 1.7; }
  .workflow-features > h2, .how-it-works > h2, .reference-faq > h2 { font-size: 34px; letter-spacing: -1.2px; }
  .how-it-works { margin-top: 50px; grid-template-columns: 1fr; gap: 28px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 28px; }
  .workflow-step { max-width: 350px; margin: 0 auto; padding: 0 10px; }
  .workflow-step > span, .workflow-step > b, .workflow-step > .step-number { margin-bottom: 16px; }
  .workflow-step h3 { font-size: 25px; }
  .workflow-step p { font-size: 12px; margin-top: 9px; }
  .reference-faq { margin-top: 52px; }
  .reference-faq > h2 { margin-bottom: 23px; }
  .reference-faq summary { font-size: 12px; padding: 17px 16px; gap: 17px; line-height: 1.5; }
  .reference-faq details p { padding: 0 16px 17px; font-size: 12px; }
  .reference-final-cta { margin: 48px auto; padding: 33px 22px; border-radius: 17px; }
  .reference-final-cta h2 { font-size: 36px; letter-spacing: -1.2px; }
  .reference-final-cta p { font-size: 12px; margin-top: 15px; }
  .reference-final-cta .button { font-size: 12px; margin-top: 0; }
  .stylist-page { margin-top: 27px; margin-bottom: 48px; }
  .stylist-welcome { gap: 12px; font-size: 9px; letter-spacing: 1.2px; }
  .stylist-welcome > .icon, .stylist-welcome > span:first-child { width: 58px; height: 58px; padding: 14px; border-radius: 16px; }
  .stylist-page .builder.section { padding: 0; margin-top: 24px; }
  .stylist-page .builder .section-heading :is(h1, h2) { font-size: 37px; letter-spacing: -1.5px; line-height: 1.08; }
  .stylist-page .builder .section-heading { margin-bottom: 16px; }
  .stylist-page .builder-intro { font-size: 12px; line-height: 1.7; margin-bottom: 22px; }
  .stylist-page .occasion-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 23px; }
  .stylist-page .occasion { min-height: 75px; padding: 13px 11px; gap: 9px; font-size: 11px; border-radius: 12px; }
  .stylist-page .occasion .icon { width: 20px; height: 20px; }
  .stylist-page .occasion small { font-size: 9px; }
  .prompt-input-wrap { padding: 18px 15px 12px; gap: 9px; }
  .prompt-input-wrap textarea { min-height: 79px; font-size: 16px; }
  .prompt-bottom { display: grid; grid-template-columns: 1fr; padding: 14px; gap: 15px; }
  .prompt-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .select-control { display: grid; gap: 5px; font-size: 10px; }
  .select-control select, .budget-input input { font-size: 16px; }
  .prompt-bottom .button { width: 100%; min-height: 45px; }
  .builder-note { font-size: 9px; line-height: 1.65; gap: 9px; margin-top: 17px; }
  .look-card, .ranked-look-card { box-shadow: 3px 3px 0 var(--rf-shadow); }
  .modal { border-radius: 16px; }
  .modal h2 { font-size: 31px; }
  .field > input, .field > select, .field textarea, .unit-input, .unit-input input { font-size: 16px; }
  .profile-banner { padding: 28px 22px; }
  .profile-banner h2 { font-size: 34px; }
  footer { margin-top: 37px; padding-top: 29px; }
}
@media (max-width: 360px) {
  main { width: calc(100% - 30px); }
  .nav-wrap { padding: 0 13px; gap: 6px; }
  .wordmark { font-size: 27px; }
  .nav-actions { gap: 5px; }
  .theme-toggle, .menu-button, .nav-actions .icon-button, .account-button { width: 31px; height: 31px; min-height: 31px; }
  .reference-hero h1 { font-size: 39px; letter-spacing: -1.7px; }
  .reference-hero .hero-search { grid-template-columns: minmax(0, 1fr) auto; padding-left: 12px; }
  .reference-hero .hero-search > .icon { display: none; }
  .hero-cta { gap: 11px; }
  .hero-cta .button { padding: 10px 13px; font-size: 10px; }
  .workflow-features, .workflow-feature-grid { grid-template-columns: 1fr; }
  .workflow-feature h3 { font-size: 25px; }
  .workflow-feature p { font-size: 12px; }
  .stylist-invitation { padding: 25px 20px; }
  .stylist-invitation h2 { font-size: 31px; }
  .stylist-page .builder .section-heading :is(h1, h2) { font-size: 34px; }
  .stylist-page .occasion { gap: 7px; padding: 12px 9px; font-size: 10px; }
  .mobile-nav { left: 12px; right: 12px; }
  .mobile-nav > button { font-size: 8px; }
  .mobile-nav > .mobile-style-action, .mobile-nav > .mobile-style-action.active { width: 60px; min-height: 60px; margin-top: -25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.catalog-quick-actions > button[data-action="catalog-ready"][aria-pressed="true"] {
  background: var(--rf-dark, #19364b);
  color: #fff;
  border-color: var(--rf-dark, #19364b);
}
