/* ==========================================================================
   Avelora â€” design system
   Ivory / blush / deep plum, Playfair Display headings, Inter body,
   Parisienne script accents (wireframes 1 & 2).
   ========================================================================== */
:root {
  --ivory: #FBF5F2;
  --ivory-2: #F7EDE9;
  --blush: #F6E3E1;
  --blush-2: #F1D5D4;
  --rose: #C8577F;
  --rose-2: #E07FA0;
  --rose-soft: #FBE7EE;
  --plum: #4A1D3F;
  --plum-2: #3A1532;
  --plum-3: #6B2D5B;
  --ink: #2A1A25;
  --muted: #7C6A73;
  --line: #EEDFDC;
  --white: #fff;
  --ok: #3E8E6A;
  --shadow: 0 10px 30px -12px rgba(74, 29, 63, .18);
  --shadow-sm: 0 4px 14px -6px rgba(74, 29, 63, .16);
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 12px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Parisienne", cursive;
  --side-w: 236px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--ivory); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.01em; }
p { margin: 0; }
.ic { width: 18px; height: 18px; flex: none; }
.ic.fill { fill: currentColor; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.fine { font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-top: 10px; }
.fine .ic { width: 13px; height: 13px; }
.script { font-family: var(--script); color: var(--rose); font-size: 22px; line-height: 1.15; }
.script-inline { font-family: var(--script); color: var(--rose); font-size: 1.35em; }
.eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--rose); font-weight: 600; }
.link { color: var(--rose); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.link .ic { width: 15px; height: 15px; }
.sec-h { font-size: 20px; margin: 26px 0 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 17px; height: 17px; }
.btn.sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn.xs { height: 30px; padding: 0 12px; font-size: 12px; }
.btn.lg { height: 54px; padding: 0 30px; font-size: 15.5px; }
.btn.block { display: flex; width: 100%; }
.btn-plum { background: linear-gradient(135deg, var(--plum-3), var(--plum-2)); color: #fff; box-shadow: 0 10px 22px -10px rgba(58, 21, 50, .6); }
.btn-grad { background: linear-gradient(100deg, var(--plum) 0%, #8E3B73 55%, var(--rose-2) 100%); color: #fff; box-shadow: 0 10px 22px -10px rgba(142, 59, 115, .6); }
.btn-rose { background: linear-gradient(100deg, #B9467A, var(--rose-2)); color: #fff; }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-white { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-soft { background: var(--blush); color: var(--plum); }
.btn-danger { background: #fff; border: 1px solid #E6B5B5; color: #A23B3B; }
.btn-google { background: #fff; border: 1px solid var(--line); height: 52px; width: 100%; border-radius: 14px; gap: 12px; font-weight: 600; box-shadow: var(--shadow-sm); }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }

.chip, .tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; }
.chip { padding: 8px 14px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--plum); }
.chip .ic { color: var(--rose); width: 16px; height: 16px; }
.tag { padding: 4px 10px; font-size: 11.5px; background: var(--ivory-2); color: var(--plum); font-weight: 500; }
.tag.rose { background: var(--rose-soft); color: var(--rose); }
.tag .ic { width: 12px; height: 12px; }

.avatar-xs { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; }
.avatar-sm { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.avatar-md { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.avatar-lg { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid #fff; box-shadow: var(--shadow); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--plum); }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -.01em; display: block; line-height: 1; }
.brand small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.logo-mark { width: 26px; height: 26px; color: var(--rose); flex: none; }
.logo-mark.xl { width: 54px; height: 54px; margin: 0 auto 12px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.card-soft { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }

/* ==========================================================================
   App shell â€” sidebar (wireframe 2 desktop) / tab bar (wireframe 1 mobile)
   ========================================================================== */
.shell { min-height: 100vh; display: flex; background: linear-gradient(90deg, #fff var(--side-w), var(--ivory) var(--side-w)); }
.side { width: var(--side-w); flex: none; position: sticky; top: 0; height: 100vh; padding: 22px 14px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; overflow: auto; }
.side .brand { padding: 0 8px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: #4D3B46; font-size: 13.5px; font-weight: 500; }
.side-nav a .ic { color: var(--muted); }
.side-nav a:hover { background: var(--ivory); }
.side-nav a.on { background: var(--rose-soft); color: var(--plum); font-weight: 600; }
.side-nav a.on .ic { color: var(--rose); }
.side-card { margin-top: auto; background: linear-gradient(160deg, #FCECEF, #F7E1E6); border-radius: 18px; padding: 18px 16px; }
.side-card .lotus { color: var(--rose); width: 26px; height: 26px; margin-bottom: 8px; }
.side-card h4 { font-family: var(--serif); font-size: 15px; color: var(--plum); line-height: 1.3; }
.side-card p { font-size: 12px; color: var(--muted); margin: 8px 0 12px; }
.side-card .script { font-size: 18px; }

.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 245, 242, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tb-desk { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 32px; }
.tb-h { font-size: 22px; color: var(--plum); }
.tb-actions { display: flex; align-items: center; gap: 10px; }
.tb-user { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.tb-mobile { display: none; }
.content { padding: 28px 32px 60px; max-width: 1180px; width: 100%; margin: 0 auto; }
.content.wide { max-width: 1320px; }

.stepper { list-style: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ""; width: 54px; height: 1px; background: var(--line); margin-right: 2px; }
.stepper li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 600; }
.stepper li span .ic { width: 13px; height: 13px; }
.stepper li.on { color: var(--plum); font-weight: 600; }
.stepper li.on span { background: var(--plum); border-color: var(--plum); color: #fff; }
.stepper li.done { color: var(--plum); }
.stepper li.done span { background: var(--rose-soft); border-color: var(--rose-soft); color: var(--rose); }

.tabbar { display: none; }
.proto-note { margin: 26px auto 0; width: fit-content; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; }
.proto-note .ic { width: 14px; height: 14px; color: var(--rose); }

#toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--plum-2); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; box-shadow: var(--shadow); max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Landing â€” desktop (wireframe 2)
   ========================================================================== */
.landing { background: var(--ivory); }
.m-home { display: none; }
.landing > .tabbar { display: none; }
.l-nav { position: absolute; z-index: 5; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 56px; }
.l-brand { display: flex; align-items: center; gap: 14px; }
.l-brand .brand b { font-size: 28px; }
.l-tag { font-size: 10.5px; letter-spacing: .2em; color: var(--muted); }
.l-nav nav { display: flex; gap: 34px; font-size: 13.5px; color: #4D3B46; }
.l-nav nav a:hover { color: var(--rose); }
.l-actions { display: flex; gap: 10px; }

/* Hero: copy | portrait | (script + vertical looks); report points in one row below */
.l-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 170px; gap: 28px 24px; align-items: center; padding: 104px 56px 36px; background: linear-gradient(100deg, #FBF5F2 0%, #F8EBE7 100%); }
.l-hero-copy { min-width: 0; }
.l-hero-media { position: relative; margin: 0; height: 560px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.l-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 20%; }
.l-hero-side { display: flex; flex-direction: column; align-self: stretch; justify-content: flex-start; gap: 16px; }
.eyebrow-pill { display: inline-flex; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--rose-soft); color: var(--rose); font-size: 11px; letter-spacing: .14em; font-weight: 600; }
.eyebrow-pill i { font-style: normal; opacity: .6; }
.l-hero h1 { font-size: clamp(40px, 3.9vw, 56px); line-height: 1.08; color: var(--plum-2); margin: 22px 0 20px; font-weight: 400; }
.l-hero h1 em { font-style: italic; color: var(--rose); background: linear-gradient(90deg, #8E3B73, var(--rose-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.l-hero-copy > p { font-size: 15px; color: #4D3B46; max-width: 470px; margin-bottom: 28px; }
.l-hero-copy .btn.lg { background: linear-gradient(100deg, var(--plum-2), #7A2E63); }
.l-meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; margin-top: 16px; }
.l-meta .ic { width: 14px; height: 14px; }
.l-script { display: block; text-align: right; white-space: nowrap; transform: rotate(-6deg); font-size: 24px; line-height: 1.15; color: var(--plum); margin-top: 4px; }
.l-looks { display: grid; gap: 10px; justify-items: center; }
.l-looks-pill { display: flex; gap: 6px; align-items: center; background: #fff; border-radius: 14px; padding: 7px 10px; font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--plum); box-shadow: var(--shadow-sm); }
.l-looks-pill .ic { color: var(--rose); width: 16px; height: 16px; }
.l-looks img { width: 112px; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 14px; border: 3px solid #fff; box-shadow: var(--shadow); }

.l-journey { padding: 40px 56px 30px; text-align: center; }
.l-journey h2 { font-size: 34px; color: var(--plum-2); margin: 10px 0 8px; }
.sub { color: var(--muted); font-size: 14.5px; }
.j-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 28px; }
.j-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 14px; box-shadow: var(--shadow-sm); }
.j-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--rose-soft); color: var(--rose); }
.j-ic .ic { width: 24px; height: 24px; }
.j-card h4 { font-family: var(--serif); font-size: 15.5px; color: var(--plum-2); margin-bottom: 6px; }
.j-card p { font-size: 12px; color: var(--muted); }

.l-bottom { display: grid; grid-template-columns: 1.05fr 1fr 1.2fr .8fr; gap: 26px; align-items: center; padding: 30px 56px 50px; background: linear-gradient(180deg, var(--ivory), #F7E7E6); }
.lb-left p { color: #4D3B46; margin: 14px 0 22px; font-size: 13.5px; }
.script.big { font-size: 34px; display: block; transform: rotate(-4deg); }
.lb-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 11px; text-align: center; color: #4D3B46; }
.lb-icons span { width: 42px; height: 42px; margin: 0 auto 6px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--rose); box-shadow: var(--shadow-sm); }
.phone { justify-self: center; width: 250px; border-radius: 40px; background: #1D1218; padding: 10px; box-shadow: 0 30px 60px -20px rgba(42,26,37,.5); position: relative; }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 999px; background: #1D1218; z-index: 2; }
.phone-screen { background: #fff; border-radius: 31px; padding: 40px 14px 16px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ph-top .brand b { font-size: 17px; }
.ph-top .logo-mark { width: 18px; height: 18px; }
.phone h5 { font-family: var(--serif); font-size: 15px; color: var(--plum-2); }
.phone-screen > small { font-size: 10px; color: var(--muted); }
.ph-looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 14px; }
.ph-looks img { border-radius: 10px; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.ph-looks figure { margin: 0; }
.ph-looks figcaption { font-size: 8.5px; text-align: center; margin-top: 4px; line-height: 1.25; }
.ph-looks figcaption small { display: block; color: var(--muted); font-size: 7.5px; }
.phone .btn { width: 100%; height: 38px; font-size: 12.5px; }
.lb-care { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.lb-care h4 { font-family: var(--serif); font-size: 16px; color: var(--plum-2); }
.lb-care > small { font-size: 11.5px; color: var(--muted); }
.lb-care ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }
.lb-care li { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--ivory-2); }
.lb-care li:last-child { border: 0; }
.lb-care li img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; object-position: top; }
.lb-care li div { flex: 1; }
.lb-care li b { font-size: 12.5px; display: block; font-weight: 600; }
.lb-care li small { font-size: 11px; color: var(--muted); }
.lb-care li .ic { color: var(--muted); width: 15px; }
.lb-cta { text-align: center; display: grid; gap: 14px; justify-items: center; }
.lb-cta .script { font-size: 26px; transform: rotate(-5deg); }
.lb-cta small { color: var(--muted); font-size: 11.5px; }

.l-real { padding: 50px 56px; text-align: center; }
.l-real h2 { font-size: 30px; color: var(--plum-2); margin-bottom: 6px; }
.real-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 26px; }
.real-row figure { margin: 0; }
.real-row img { aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 16px; box-shadow: var(--shadow-sm); }
.real-row figcaption { font-size: 12.5px; margin-top: 8px; font-weight: 500; color: var(--plum); }

.l-foot { background: var(--plum-2); color: #E9D6E0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 44px 56px 26px; }
.l-foot .brand, .l-foot .brand small { color: #fff; }
.l-foot .logo-mark { color: var(--rose-2); }
.l-foot p { font-size: 12.5px; margin-top: 12px; opacity: .8; }
.l-foot h5 { font-size: 13px; color: #fff; margin-bottom: 12px; font-weight: 600; }
.l-foot a { display: block; font-size: 12.5px; opacity: .8; margin-bottom: 8px; }
.l-foot .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 11.5px; }

/* ==========================================================================
   Sign in / Start / Analyzing
   ========================================================================== */
.center-card { max-width: 420px; margin: 40px auto; text-align: center; background: #fff; border-radius: 28px; padding: 40px 32px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 14px; }
.center-card h2 { font-size: 28px; color: var(--plum-2); }
.req { color: var(--rose); font-weight: 700; }
.spin.big { width: 34px; height: 34px; border-width: 3px; margin-bottom: 8px; }
.drop.busy { cursor: progress; border-style: solid; }
.signin .fine { display: block; line-height: 1.6; }
.signin .fine a, .consent-card a { color: var(--rose); }
.gsi-slot { min-height: 46px; display: flex; justify-content: center; align-items: center; }
.spin.dark { border-color: var(--line); border-top-color: var(--plum); }
.form-error { display: flex; gap: 8px; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 12px; background: #FDF0F0; color: #9B2C2C; font-size: 13px; }
.form-error .ic { width: 16px; height: 16px; margin-top: 1px; }
.form-error[hidden] { display: none; }
.consent-card { max-width: 480px; text-align: left; }
.consent-card h2, .consent-card > .muted, .consent-card .drop-ic { text-align: center; }
.consent-card .consent { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); }
.legal { max-width: 760px; margin: 0 auto; display: grid; gap: 8px; }
.legal h2 { font-size: 28px; color: var(--plum-2); }
.legal h4 { font-family: var(--serif); font-size: 17px; color: var(--plum-2); margin-top: 12px; }
.legal p { color: #4D3B46; font-size: 14px; }

.start { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.upload-card h2 { font-size: 26px; color: var(--plum-2); }
.drop { margin: 18px 0; display: grid; place-items: center; gap: 6px; text-align: center; aspect-ratio: 4/4.4; border-radius: 20px; border: 1.5px dashed #E2C3C8; background: linear-gradient(160deg, #FDF6F4, #F9E8EA); cursor: pointer; position: relative; overflow: hidden; color: var(--plum); }
.drop:hover { border-color: var(--rose); }
.drop b { font-size: 15px; }
.drop small { color: var(--muted); }
.drop.has { border-style: solid; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.drop .change { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; background: rgba(255,255,255,.94); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm); }
.drop .change .ic { width: 14px; height: 14px; }
.drop-ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: #fff; color: var(--rose); box-shadow: var(--shadow-sm); }
.drop-ic .ic { width: 28px; height: 28px; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: #4D3B46; }
.tips li { display: flex; gap: 10px; align-items: center; }
.tips .ic { color: var(--rose); width: 16px; height: 16px; }
.form-card h3 { font-size: 22px; color: var(--plum-2); margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.field > label small { font-weight: 400; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; }
.seg button { height: 42px; border-radius: 10px; font-weight: 600; color: var(--muted); }
.seg button.on { background: #fff; color: var(--plum); box-shadow: var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: #4D3B46; transition: .15s; }
.pick:hover { border-color: var(--rose-2); }
.pick.on { background: var(--rose-soft); border-color: var(--rose); color: var(--plum); font-weight: 600; }
.input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; background: #fff; color: var(--ink); }
.input:focus { outline: 2px solid var(--rose-soft); border-color: var(--rose-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #4D3B46; margin: 6px 0 18px; cursor: pointer; }
.consent input, .care-col input { accent-color: var(--plum); width: 17px; height: 17px; margin-top: 1px; flex: none; }

.analyzing { max-width: 880px; margin: 0 auto; }
.an-top { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: stretch; }
.an-photo { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: var(--shadow); }
.an-card { background: linear-gradient(160deg, #fff, #FBF0F3); }
.an-card h3 { display: flex; gap: 10px; align-items: center; font-size: 20px; color: var(--plum-2); margin-bottom: 8px; }
.an-card h3 .ic { color: var(--rose); }
.bar { height: 8px; border-radius: 999px; background: var(--ivory-2); overflow: hidden; margin: 18px 0 6px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--plum-3), var(--rose-2)); transition: width .7s ease; }
.an-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.an-list li { display: flex; gap: 10px; align-items: center; color: var(--muted); transition: .3s; }
.an-list li .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; border: 1px solid var(--line); color: transparent; }
.an-list li.done { color: var(--ink); font-weight: 500; }
.an-list li.done .ic { background: var(--plum); border-color: var(--plum); color: #fff; }
.ring-wrap { display: none; text-align: center; }
.ring { width: 150px; height: 150px; border-radius: 50%; margin: 10px auto 22px; position: relative; display: grid; place-items: center; background: radial-gradient(circle, #fff 58%, transparent 59%), conic-gradient(var(--rose-2), var(--plum-3), #F3D6DE, var(--rose-2)); animation: spin 3s linear infinite; }
.ring .ic { width: 40px; height: 40px; color: var(--rose); animation: spin 3s linear infinite reverse; }
.ring-wrap h3 { font-size: 22px; color: var(--plum-2); }
/* rotating "what the AI is doing" line */
.rotator { min-height: 1.6em; margin: 6px 0 0; color: var(--plum-3); font-weight: 500; font-size: 13.5px; }
.rotator span { display: inline-block; animation: rot-in .5s ease-out; }
.rotator.big { font-family: var(--serif); font-size: 18px; color: var(--plum-2); margin: 16px 0 4px; min-height: 2.6em; }
.rotator.sm { font-size: 12.5px; color: var(--muted); }
@keyframes rot-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* scanning beam over the photo */
.scan { position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.scan .an-photo { box-shadow: none; border-radius: 0; }
.scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74,29,63,.08), rgba(224,127,160,.12)); pointer-events: none; }
.scan-line { position: absolute; left: 0; right: 0; height: 26%; top: -26%; background: linear-gradient(180deg, rgba(224,127,160,0), rgba(224,127,160,.35) 85%, rgba(255,255,255,.9) 100%); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0% { top: -26%; } 100% { top: 100%; } }
.scan.small { width: 150px; height: 180px; margin: 6px auto 0; }
.scan.small .an-photo { min-height: 0; height: 100%; }
.ring-wrap .scan.small + .ring { width: 70px; height: 70px; margin: -36px auto 14px; position: relative; z-index: 1; }
.ring-wrap .scan.small + .ring .ic { width: 26px; height: 26px; }
.look-at { justify-content: flex-start; }

/* ==========================================================================
   Dashboard â€” "Your looks" (wireframe 2, results page)
   ========================================================================== */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.dash-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.dash-main > * { min-width: 0; }
.dash-side { display: grid; gap: 18px; position: sticky; top: 84px; }
.analysed { display: grid; grid-template-columns: 170px 1fr 1.35fr; gap: 22px; align-items: center; padding: 18px; background: linear-gradient(110deg, #fff 40%, #FBEDEE); }
.an-photo-wrap { position: relative; }
.an-photo-wrap img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: top; border-radius: 16px; }
.an-photo-wrap .btn { position: absolute; left: 10px; bottom: 10px; }
.an-photo-wrap .btn .ic { width: 13px; }
.an-copy h2 { font-size: 24px; color: var(--plum-2); line-height: 1.2; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; margin-bottom: 10px; }
.an-copy p { font-size: 13px; }
.ok-ic { width: 30px; height: 30px; border-radius: 50%; background: #E8F3EC; color: var(--ok); display: grid; place-items: center; }
.ok-ic .ic { width: 17px; height: 17px; }
.promo { position: relative; min-height: 190px; border-radius: 18px; overflow: hidden; background: linear-gradient(110deg, #FCEFF1, #F6DCE2); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.promo img { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; object-position: top; mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.promo .script { position: relative; z-index: 1; font-size: 22px; color: var(--plum); transform: rotate(-4deg); max-width: 60%; }
.promo p { position: relative; z-index: 1; font-size: 11.5px; color: #4D3B46; max-width: 56%; margin-top: 12px; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.sec-head.row { align-items: center; margin: 22px 0 10px; }
.sec-head h2 { font-size: 24px; color: var(--plum-2); }
.sec-head h3 { font-size: 20px; color: var(--plum-2); }
.looks-sec { padding-bottom: 14px; }
.carousel { position: relative; }
.looks-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.looks-row::-webkit-scrollbar { display: none; }
.car-btn { position: absolute; top: 38%; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--plum); }
.car-btn.l { left: -14px; } .car-btn.r { right: -14px; }
.look-card { scroll-snap-align: start; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); overflow: hidden; cursor: pointer; transition: .2s; }
.look-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.look-card.sel { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft), var(--shadow); }
.lc-img { position: relative; }
.lc-img img { width: 100%; aspect-ratio: 4/3.7; object-fit: cover; object-position: center 18%; }
.heart { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--plum); box-shadow: var(--shadow-sm); }
.heart .ic { width: 17px; height: 17px; }
.heart.on { color: var(--rose); }
.heart.on .ic { fill: currentColor; }
.heart.sm { width: 30px; height: 30px; }
.sample-tag { position: absolute; left: 10px; bottom: 10px; font-size: 10.5px; background: rgba(42,26,37,.55); color: #fff; padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.lc-body { padding: 14px 16px 16px; }
.lc-n { display: inline-flex; gap: 5px; align-items: center; color: var(--rose); font-size: 12px; font-weight: 600; }
.lc-n .ic { width: 13px; height: 13px; }
.lc-body h4 { font-family: var(--serif); font-size: 18px; color: var(--plum-2); margin: 4px 0 6px; }
.lc-body p { font-size: 12.5px; color: var(--muted); min-height: 38px; }
.lc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.qa-h { display: flex; gap: 14px; align-items: center; }
.qa-h > .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid var(--line); color: var(--plum); }
.qa-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qa { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px; transition: .15s; }
.qa:hover { border-color: var(--rose-2); }
.qa-ic { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); }
.qa b { font-size: 13px; display: block; margin-bottom: 3px; }
.qa small { font-size: 11.5px; color: var(--muted); display: block; }
.qa > .ic { color: var(--muted); width: 16px; }

.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: -6px -6px 18px; padding: 0 0 0 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; padding: 10px 14px; border-radius: 12px 12px 0 0; font-size: 12.5px; color: #4D3B46; font-weight: 500; }
.tabs a .ic { width: 15px; height: 15px; }
.tabs a.on { background: var(--plum); color: #fff; border-radius: 12px; margin-bottom: 6px; }
.tabs.pill { border: 0; margin: 0 0 18px; gap: 8px; }
.tabs.pill a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff; }
.tabs.pill a.on { background: var(--plum); border-color: var(--plum); margin: 0; }

.report-body { position: relative; }
.report-body.locked > *:not(.lock-over) { filter: blur(6px); user-select: none; pointer-events: none; opacity: .75; }
.lock-over { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 20px; background: radial-gradient(ellipse at center, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 70%); border-radius: 18px; }
.lock-over h3 { font-size: 22px; color: var(--plum-2); }
.lock-over p { max-width: 380px; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.lock-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.lock-ic .ic { width: 22px; height: 22px; }
.lock-over.sm { gap: 8px; }
.lock-over.sm .lock-ic { width: 40px; height: 40px; }

.rp-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; }
.rp-grid h3 { font-size: 21px; color: var(--plum-2); }
.rp-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.profile-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.profile-list li { display: flex; gap: 12px; align-items: flex-start; }
.profile-list b { display: block; font-size: 13px; font-weight: 600; }
.profile-list small { font-size: 12px; color: var(--muted); }
.profile-list.compact { gap: 12px; }
.profile-list.grid2 { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.pl-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--rose-soft); color: var(--plum-3); }
.pl-ic .ic { width: 17px; height: 17px; }
.ai-read h5 { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; margin: 4px 0 10px; color: var(--plum-2); }
.ai-read h5 .ic { width: 16px; height: 16px; color: var(--rose); }
.ai-read .ticks { margin-bottom: 16px; }
.prio { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prio li { display: flex; gap: 12px; align-items: flex-start; }
.prio b { display: block; font-size: 13px; }
.prio small { font-size: 12px; color: var(--muted); }
#an-msg, #an-msg-m { display: grid; gap: 10px; justify-items: start; margin-top: 14px; }
#an-msg[hidden], #an-msg-m[hidden] { display: none; }
#an-msg-m { justify-items: center; }
.rp-why h5 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.rp-why h5 + .ticks, .rp-why .ticks + h5 { margin-top: 4px; }
.rp-why .ticks { margin-bottom: 12px; }
.rp-why .lc-tags { margin: 4px 0 14px; }
.rp-cols.single { grid-template-columns: 1fr; margin-top: 14px; }
.rec-tag { position: absolute; left: 10px; top: 10px; display: inline-flex; gap: 5px; align-items: center; font-size: 10.5px; font-weight: 700; background: var(--plum); color: #fff; padding: 4px 10px; border-radius: 999px; }
.rec-tag .ic { width: 12px; height: 12px; }
.rec-pill.sm { font-size: 10.5px; padding: 3px 9px; margin-bottom: 4px; }
.look-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.lp { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; }
.lp h5 { display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--plum-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.lp h5 .ic { width: 15px; height: 15px; color: var(--rose); }
.lp ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; color: #3E2E38; }
.prod .why { font-size: 11.5px; color: var(--muted); line-height: 1.35; margin-top: -4px; }
.side-slot { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 12px; border: 1px dashed #E2C3C8; border-radius: 16px; background: #FDF7F6; }
.side-slot > div { display: grid; gap: 2px; }
.side-slot b { font-size: 13.5px; }
.side-slot b small, .side-slot > div > small { font-weight: 400; color: var(--muted); font-size: 12px; }
.side-slot .link { justify-self: start; font-size: 12px; }
.side-drop { position: relative; flex: none; width: 70px; height: 86px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); cursor: pointer; color: var(--rose); }
.side-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.side-drop img.ghost { opacity: .35; filter: grayscale(.4); }
.side-drop .ic { position: relative; width: 26px; height: 26px; background: #fff; border-radius: 50%; padding: 4px; box-shadow: var(--shadow-sm); }
.rp-why p { font-size: 12.5px; color: #4D3B46; margin-bottom: 14px; }
.rp-why .btn { margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 12.8px; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; }
.ticks .ic { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); margin-top: 1px; }
.ticks.light li { color: #F3E5EC; }
.ticks.light .ic { background: rgba(255,255,255,.14); color: #fff; }
.next-step { position: relative; overflow: hidden; border-radius: 18px; padding: 22px; background: linear-gradient(160deg, #FCEFF1, #F3DCE3); display: grid; align-content: start; gap: 12px; }
.next-step h3 { font-size: 21px; color: var(--plum-2); }
.next-step p { font-size: 13px; color: #4D3B46; }
.next-step .btn { justify-self: start; position: relative; z-index: 1; }
.ns-leaf { position: absolute; right: -16px; bottom: -14px; width: 120px !important; height: 120px !important; color: rgba(107,45,91,.13); stroke-width: 1 !important; }

.mini-looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-looks a { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mini-looks a.on { border-color: var(--rose); }
.mini-looks img { aspect-ratio: 4/3.4; object-fit: cover; object-position: top; width: 100%; }
.mini-looks b { display: block; padding: 10px 12px 0; font-family: var(--serif); font-weight: 500; }
.mini-looks small { display: block; padding: 0 12px 12px; color: var(--muted); }

.dream { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 26px; border-radius: 22px; background: linear-gradient(100deg, #FDF3F3, #F7E3E8); border: 1px solid var(--line); }
.dream h3 { font-size: 22px; color: var(--plum-2); }
.dream-ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--rose); box-shadow: var(--shadow-sm); }

.unlock h3 { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--plum-2); line-height: 1.3; margin-bottom: 10px; }
.unlock h3 > .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--rose-soft); color: var(--plum); }
.unlock > p { font-size: 12.5px; margin-bottom: 14px; }
.price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price b { font-family: var(--serif); font-size: 32px; color: var(--plum-2); font-weight: 600; }
.price s { color: var(--muted); }
.off { background: var(--plum-3); color: #fff; padding: 3px 9px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.unlock h5 { font-size: 13px; font-weight: 600; margin: 18px 0 10px; }
.done-card { text-align: center; display: grid; justify-items: center; gap: 10px; }
.done-card .ok-ic { width: 52px; height: 52px; }
.done-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.passport-mini h3 { font-size: 18px; color: var(--plum-2); }
.passport-mini > p { font-size: 12px; margin-bottom: 10px; }
.passport-mini ul { list-style: none; margin: 0; padding: 0; }
.passport-mini li a { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ivory-2); }
.passport-mini li:last-child a { border: 0; }
.passport-mini li span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ivory); color: var(--plum-3); flex: none; }
.passport-mini li div { flex: 1; }
.passport-mini li b { font-size: 13px; display: block; font-weight: 600; }
.passport-mini li small { font-size: 11.5px; color: var(--muted); }
.passport-mini li > a > .ic:last-child { color: var(--muted); width: 15px; }
.ready { background: linear-gradient(160deg, #FCEFF1, #F6DFE5); display: grid; gap: 8px; }
.ready b { font-size: 14px; color: var(--plum-2); }
.ready small { font-size: 11.5px; color: var(--muted); }

/* services: max four labelled bullets */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.svc { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; display: flex; flex-direction: column; }
.svc header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.svc-area { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.svc h4 { font-family: var(--serif); font-size: 17px; color: var(--plum-2); margin-top: 2px; }
.svc-meta { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; color: var(--muted); white-space: nowrap; background: var(--ivory); padding: 4px 9px; border-radius: 999px; }
.svc-meta .ic { width: 13px; height: 13px; }
.svc-pts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; flex: 1; }
.svc-pts li { display: grid; gap: 2px; }
.svc-pts b { display: flex; gap: 7px; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--plum-3); text-transform: uppercase; letter-spacing: .05em; }
.svc-pts b .ic { width: 14px; height: 14px; color: var(--rose); }
.svc-pts span { font-size: 13px; color: #3E2E38; padding-left: 21px; }
.svc footer { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.svc footer .ic { width: 14px; height: 14px; }

.care-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.care-col { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; }
.care-col h5 { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--plum-2); margin-bottom: 12px; }
.care-col h5 .ic { color: var(--rose); }
.care-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.care-col label { display: flex; gap: 10px; font-size: 13px; cursor: pointer; }
.care-col input:checked + span { color: var(--muted); text-decoration: line-through; }

/* products â€” CSS-drawn bottles */
.prod-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.prod { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.prod .heart { top: 18px; right: 18px; z-index: 1; }
.prod b { font-size: 13px; font-weight: 600; flex: 1; }
.prod-img { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(160deg, #FBF1EE, #F4E1DF); display: grid; place-items: center; }
.prod-foot { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--plum-2); }
.add { display: inline-flex; gap: 4px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--rose-soft); color: var(--rose); font-size: 12px; font-weight: 600; }
.add .ic { width: 13px; height: 13px; }
.bottle { position: relative; width: 38%; height: 62%; border-radius: 12px 12px 14px 14px; background: linear-gradient(100deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%), var(--tone); box-shadow: inset -6px 0 12px rgba(0,0,0,.08), 0 10px 18px -8px rgba(74,29,63,.35); }
.bottle::before { content: ""; position: absolute; left: 50%; top: -22%; transform: translateX(-50%); width: 46%; height: 24%; border-radius: 6px 6px 2px 2px; background: #2E2228; }
.bottle i { position: absolute; left: 14%; right: 14%; top: 34%; height: 30%; border-radius: 4px; background: rgba(255,255,255,.82); }
.bottle.b1 { width: 50%; height: 44%; border-radius: 16px; }
.bottle.b1::before { width: 70%; height: 22%; top: -18%; border-radius: 8px 8px 3px 3px; }
.bottle.b2 { width: 28%; height: 66%; border-radius: 22px 22px 10px 10px; }
.bottle.b2::before { width: 34%; height: 18%; top: -16%; }

/* nuskhe â€” illustrated tiles */
.nus-img { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1; background: radial-gradient(circle at 30% 30%, #fff7 0, transparent 40%), linear-gradient(150deg, #FBF1E6, #F2E0CC); display: grid; place-items: center; }
.nus-img i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 45%), linear-gradient(150deg, var(--a), var(--b)); box-shadow: 0 8px 14px -6px rgba(0,0,0,.25); }
.nus-img i:nth-child(1) { width: 52%; height: 52%; left: 12%; top: 26%; }
.nus-img i:nth-child(2) { width: 26%; height: 26%; right: 12%; top: 14%; opacity: .85; }
.nus-img i:nth-child(3) { width: 18%; height: 18%; right: 20%; bottom: 14%; opacity: .7; }
.nus-img .ic { position: absolute; right: 8%; bottom: 8%; width: 26%; height: 26%; color: #5E8A4A; opacity: .8; }
.nus-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nus-mini { border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: #fff; display: grid; gap: 4px; }
.nus-mini .nus-img { aspect-ratio: 4/2.6; margin-bottom: 6px; }
.nus-mini b { font-size: 13.5px; }
.nus-mini small { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.nus-mini .btn { justify-self: start; }

/* ==========================================================================
   Paywall / Unlocked (wireframe 1, screens 11â€“12)
   ========================================================================== */
.paywall { max-width: 420px; margin: 0 auto; text-align: center; color: #fff; border-radius: 30px; padding: 36px 28px 26px; background: radial-gradient(circle at 50% 0, #7A2E63 0, transparent 60%), linear-gradient(170deg, #4A1D3F, #2A0F25); box-shadow: 0 30px 60px -24px rgba(42,15,37,.7); }
.paywall h2 { font-size: 28px; line-height: 1.2; color: #fff; }
.paywall > p { color: #E7CFDC; font-size: 13.5px; margin: 10px 0 22px; }
.fan { display: flex; justify-content: center; height: 190px; margin-bottom: 18px; }
.fan img { width: 120px; height: 170px; object-fit: cover; object-position: top; border-radius: 16px; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 16px 30px -12px rgba(0,0,0,.6); }
.fan img:nth-child(1) { transform: rotate(-10deg) translate(26px, 14px); }
.fan img:nth-child(2) { z-index: 1; transform: translateY(-4px) scale(1.06); }
.fan img:nth-child(3) { transform: rotate(10deg) translate(-26px, 14px); }
.pw-price { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 18px; }
.pw-price b { font-family: var(--serif); font-size: 44px; font-weight: 600; }
.pw-price s { color: #C9A9BA; }
.pw-price .off { background: var(--rose-2); }
.paywall .ticks { text-align: left; max-width: 260px; margin: 0 auto 24px; }
.pw-note { display: flex; justify-content: center; gap: 6px; align-items: center; margin-top: 14px; font-size: 11.5px; color: #D9C1CE; }
.pw-note .ic { width: 13px; height: 13px; }
.pw-demo { display: block; margin-top: 6px; font-size: 11px; color: #B793A8; }
.pw-demo b { color: #F3D9E6; }
.pw-msg { display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.1); color: #F8E8EF; font-size: 12.5px; }
.pw-msg[hidden] { display: none; }
.pw-msg .ic { width: 15px; height: 15px; margin-top: 1px; flex: none; }
.pw-msg .spin { width: 14px; height: 14px; flex: none; }
.upi-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.upi-apps span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #F3E5EC; }
.pw-hint { display: block; margin-top: 8px; font-size: 11.5px; color: #E7CFDC; }
.pw-legal { display: block; margin-top: 10px; font-size: 11px; color: #C9A9BA; }
.pw-legal a { color: #F3D9E6; text-decoration: underline; }
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pay-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pay-list li:last-child { border: 0; }
.pay-list b { display: block; font-size: 13.5px; }
.pay-list small { display: block; color: var(--muted); font-size: 12px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 11px !important; }
.pay-status { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #E8F3EC; color: var(--ok); }
.pay-status.refunded { background: #FFF6E8; color: #7A5418; }
.todo { color: #9B2C2C; background: #FDF0F0; padding: 1px 6px; border-radius: 6px; font-size: 12px; }

.unlocked { position: relative; overflow: hidden; max-width: 460px; margin: 0 auto; text-align: center; padding: 60px 24px 40px; background: linear-gradient(180deg, #FDF5F5, #F8E6EA); border-radius: 30px; display: grid; gap: 14px; justify-items: center; }
.unlocked h2 { font-size: 30px; color: var(--plum-2); line-height: 1.2; }
.big-check { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: var(--plum); background: #fff; border: 2px solid var(--rose-2); box-shadow: 0 0 0 10px rgba(224,127,160,.15), var(--shadow); animation: pop .5s ease-out; }
.big-check .ic { width: 44px; height: 44px; stroke-width: 2; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.unlocked .script { font-size: 28px; color: var(--plum); margin-top: 16px; }
.lotus-xl { width: 110px !important; height: 110px !important; color: var(--rose-2); opacity: .55; stroke-width: 1 !important; }
.petals i { position: absolute; top: -20px; left: calc(var(--i) * 7.2%); width: 12px; height: 16px; border-radius: 60% 0 60% 0; background: linear-gradient(135deg, #F7C3D2, #E58BA8); opacity: .8; animation: fall calc(4s + var(--i) * .25s) linear infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes fall { to { transform: translateY(620px) rotate(320deg); } }

/* ==========================================================================
   Look details / Stylist (wireframe 1, screens 4â€“5)
   ========================================================================== */
.detail { display: grid; grid-template-columns: 400px 1fr; gap: 30px; align-items: start; }
.detail-media { position: sticky; top: 84px; }
.dm-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 26px; box-shadow: var(--shadow); }
.dm-before { position: absolute; left: 14px; top: 14px; margin: 0; width: 92px; }
.dm-before img { width: 92px; height: 110px; object-fit: cover; object-position: top; border-radius: 14px; border: 3px solid #fff; box-shadow: var(--shadow); }
.dm-before figcaption { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); font-size: 10px; background: rgba(42,26,37,.6); color: #fff; padding: 1px 8px; border-radius: 999px; }
.dm-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.dm-switch a { border-radius: 14px; overflow: hidden; border: 2px solid transparent; opacity: .7; }
.dm-switch a.on { border-color: var(--rose); opacity: 1; }
.dm-switch img { aspect-ratio: 1; object-fit: cover; object-position: top; width: 100%; }
.rec-pill { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--rose-soft); color: var(--rose); font-size: 12px; font-weight: 600; }
.rec-pill .ic { width: 14px; height: 14px; }
.detail-info h2 { font-size: 36px; color: var(--plum-2); margin: 10px 0 4px; }
.tagline { color: var(--rose); font-size: 13px; font-weight: 500; letter-spacing: .02em; margin-bottom: 10px; }
.detail-info > .muted { margin-bottom: 20px; font-size: 14px; }
.detail-body { min-height: 200px; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-cols .card-soft h5 { font-size: 13px; font-weight: 600; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.free-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.free-facts div { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.free-facts small { display: block; color: var(--muted); font-size: 11.5px; }
.free-facts b { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--plum-2); }
.ld-blur { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-height: 320px; }

.stylist { max-width: 860px; margin: 0 auto; }
.st-hero { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.st-hero > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: top; }
.st-card { padding: 28px; display: grid; align-content: start; gap: 8px; }
.st-card h3 { font-size: 22px; color: var(--plum-2); }
.st-card > p { color: var(--muted); font-size: 12.5px; }
.st-card h4 { font-family: var(--serif); font-size: 18px; color: var(--rose); margin: 8px 0 6px; }
.st-card .ticks { font-size: 13.5px; gap: 11px; margin-bottom: 10px; }
.refs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 420px; }
.refs figure { margin: 0; }
.refs img { border-radius: 16px; aspect-ratio: 4/4.6; object-fit: cover; object-position: top; width: 100%; }
.refs figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.row-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ==========================================================================
   Passport / Discover / Nuskhe / Care / Shop / Settings
   ========================================================================== */
.passport { max-width: 640px; margin: 0 auto; }
.pp-head { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 28px; border-radius: 28px; background: linear-gradient(180deg, #FCEFF1, #fff); border: 1px solid var(--line); }
.pp-head h2 { font-size: 26px; color: var(--plum-2); margin-top: 8px; }
.pp-head .muted { display: flex; gap: 6px; align-items: center; }
.pp-head .muted .ic { width: 15px; color: var(--rose); }
.pp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; width: 100%; max-width: 360px; }
.pp-stats div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.pp-stats b { display: block; font-family: var(--serif); font-size: 22px; color: var(--plum-2); }
.pp-stats small { color: var(--muted); font-size: 11.5px; }
.journey-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.journey-list a { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 16px; }
.journey-list img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; object-position: top; }
.journey-list div { flex: 1; }
.journey-list b { display: block; font-family: var(--serif); font-weight: 500; font-size: 15px; }
.journey-list small { color: var(--muted); font-size: 12px; }
.pp-profile { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 16px; background: linear-gradient(100deg, #FCEFF1, #F6DFE5); }
.pp-profile > span { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--plum); }
.pp-profile div { flex: 1; }
.pp-profile b { display: block; font-size: 14px; color: var(--plum-2); }
.pp-profile small { font-size: 12px; color: var(--muted); }
.pp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.pp-grid a { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 12px; text-align: center; }
.pp-grid .ic { color: var(--rose); width: 22px; height: 22px; }
.pp-grid b { font-weight: 600; }

.discover { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.insight h2 { font-size: 26px; color: var(--plum-2); margin: 8px 0 6px; }
.insight > .btn { margin-top: 16px; }
.insight .report-body { margin-top: 6px; min-height: 120px; }
.disc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.disc-tile { border-radius: 22px; padding: 22px; min-height: 150px; display: grid; align-content: end; gap: 4px; border: 1px solid var(--line); transition: .15s; }
.disc-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.disc-tile > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--rose); margin-bottom: auto; box-shadow: var(--shadow-sm); }
.disc-tile h3 { font-size: 20px; color: var(--plum-2); margin-top: 18px; }
.disc-tile p { color: var(--muted); font-size: 12.5px; }
.disc-tile.nus { background: linear-gradient(150deg, #FBF3E6, #F2E2C9); }
.disc-tile.care { background: linear-gradient(150deg, #FCEFF1, #F6DCE3); }
.disc-tile.looks { background: linear-gradient(150deg, #F6EEF6, #E9D9EC); }
.disc-tile.shop { background: linear-gradient(150deg, #F7F1EE, #EADDD7); }

.nuskhe { max-width: 900px; margin: 0 auto; }
.nus-banner { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; padding: 18px; border-radius: 24px; background: linear-gradient(110deg, #FBF3E6, #F6E4E2); margin-bottom: 20px; }
.nus-banner h2 { font-size: 26px; color: var(--plum-2); margin: 6px 0; }
.nus-banner p { color: #4D3B46; font-size: 13px; }
.nus-list { display: grid; gap: 14px; }
.nus-card { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.nus-card .nus-img { aspect-ratio: 1; }
.nus-body h4 { font-family: var(--serif); font-size: 18px; color: var(--plum-2); }
.nus-meta { display: flex; gap: 14px; margin: 8px 0; font-size: 12px; color: var(--muted); }
.nus-meta span { display: inline-flex; gap: 5px; align-items: center; }
.nus-meta .ic { width: 14px; height: 14px; color: var(--rose); }
.nus-more { display: none; }
.nus-card.open .nus-more { display: block; }
.nus-more h5 { font-size: 12.5px; font-weight: 600; margin-top: 10px; }
.nus-more p { font-size: 13px; color: #4D3B46; }
.caution { display: flex; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: #FFF6E8; color: #7A5418 !important; font-size: 12px !important; }
.caution .ic { width: 15px; height: 15px; margin-top: 1px; }
.nus-body .link { margin-top: 8px; }

.care { max-width: 900px; margin: 0 auto; }
.care-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: 24px; background: linear-gradient(110deg, #FCEFF1, #F3DCE3); min-height: 180px; }
.care-banner > div { flex: 1; display: grid; gap: 8px; justify-items: start; }
.care-banner h2 { font-size: 26px; color: var(--plum-2); line-height: 1.2; }
.care-banner p { color: #4D3B46; font-size: 13px; }
.care-banner .bottle { width: 52px; height: 92px; flex: none; }
.care-banner .bottle.b1 { width: 70px; height: 62px; }
.care-banner .bottle.b2 { width: 40px; height: 104px; }
.care-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; margin-top: 14px; }
.checkin { display: flex; gap: 14px; align-items: center; }
.checkin > span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); }
.checkin b, .progress b { display: block; font-size: 14px; }
.checkin small, .progress small { color: var(--muted); font-size: 12px; }
.progress { display: flex; gap: 16px; align-items: center; }
.progress > div { flex: 1; }
.progress .bar { margin: 8px 0 0; }

.shop { max-width: 1000px; margin: 0 auto; }
.search { position: relative; margin-bottom: 14px; }
.search .ic { position: absolute; left: 14px; top: 13px; color: var(--muted); }
.search .input { padding-left: 42px; border-radius: 999px; height: 46px; }

.settings { max-width: 520px; margin: 0 auto; display: grid; gap: 14px; }
.set-head { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 22px; background: linear-gradient(110deg, #FCEFF1, #fff); border: 1px solid var(--line); }
.set-head b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.set-head small { color: var(--muted); }
.set-list { list-style: none; margin: 0; padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.set-list a { display: flex; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--ivory-2); }
.set-list li:last-child a { border: 0; }
.set-list a > .ic:first-child { color: var(--plum-3); }
.set-list span { flex: 1; font-weight: 500; }
.set-list a > .ic:last-child { color: var(--muted); width: 15px; }

.empty { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 40px; max-width: 520px; margin: 20px auto; }
.empty h2 { font-size: 24px; color: var(--plum-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .l-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 145px; padding-right: 40px; }
  .l-looks img { width: 100px; }
  .l-script { font-size: 20px; }
  .l-hero-media { height: 520px; }
  .j-grid { grid-template-columns: repeat(3, 1fr); }
  .l-bottom { grid-template-columns: 1fr 1fr; }
  .analysed { grid-template-columns: 150px 1fr; }
  .promo { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .l-nav nav { gap: 20px; }
  .l-tag { display: none; }
  .side { display: none; }
  .shell { background: var(--ivory); }
  .tabbar { display: grid; }
  .content { padding-bottom: 110px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; grid-template-columns: 1fr 1fr; }
  .l-hero-media { height: 480px; }
  .detail { grid-template-columns: 340px 1fr; }
}
@media (min-width: 768px) and (max-width: 1100px) { .landing > .tabbar { display: none; } }

@media (max-width: 767px) {
  body { font-size: 14px; }
  .d-landing { display: none; }
  .m-home { display: block; padding: 0 16px 110px; }
  .landing > .tabbar { display: grid; }
  .tb-desk { display: none; }
  .tb-mobile { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 10px 14px; }
  .tb-mobile .brand b { font-size: 18px; }
  .tb-mobile .logo-mark { width: 20px; height: 20px; }
  .tb-mobile .brand { max-width: 40px; overflow: hidden; }
  .tb-mobile .brand span { display: none; }
  .tb-title { font-family: var(--serif); font-size: 17px; text-align: center; color: var(--plum-2); font-weight: 500; }
  .content { padding: 16px 16px 110px; }

  .tabbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; color: var(--muted); font-weight: 500; }
  .tabbar a .ic { width: 21px; height: 21px; }
  .tabbar a.on { color: var(--plum); font-weight: 700; }
  .tabbar a.on .ic { color: var(--plum); stroke-width: 2; }

  /* mobile home (wireframe 1, screen 1) */
  .m-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; }
  .m-top .brand b { font-size: 24px; }
  .m-hero { position: relative; border-radius: 26px; overflow: hidden; height: 430px; box-shadow: var(--shadow); }
  .m-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 20%; }
  .m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,245,242,0) 40%, rgba(251,245,242,.92) 78%); }
  .m-hero-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 22px; text-align: center; }
  .m-hero h1 { font-size: 32px; color: var(--plum-2); line-height: 1.1; font-weight: 400; }
  .m-hero p { color: var(--muted); margin: 6px 0 16px; font-size: 13px; }
  .m-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 16px 0; }
  .m-tiles a { grid-column: span 2; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 14px 6px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; font-weight: 500; box-shadow: var(--shadow-sm); }
  .m-tiles a:nth-child(4) { grid-column: 2 / span 2; }
  .m-tiles span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); }
  .m-passport { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 20px; background: linear-gradient(100deg, #FCEFF1, #F6DFE5); }
  .m-passport img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; object-position: top; }
  .m-passport div { flex: 1; }
  .m-passport b { display: block; font-size: 14px; color: var(--plum-2); }
  .m-passport small { font-size: 12px; color: var(--muted); }
  .m-passport > .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; color: var(--plum); }

  .start, .an-top, .detail, .detail-cols, .rp-grid, .rp-cols, .care-cols, .care-row, .st-hero, .nus-banner, .ld-blur { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 20px; }
  .drop { aspect-ratio: 4/3.6; }
  .an-top { display: none; }
  .ring-wrap { display: block; margin-top: 10px; }
  .analyzing .sec-h { text-align: center; }
  .look-at { justify-content: center; }

  .analysed { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
  .an-copy h2 { font-size: 19px; }
  .an-photo-wrap .btn { left: 50%; transform: translateX(-50%); bottom: -12px; font-size: 10.5px; padding: 0 9px; height: 26px; }
  .promo { min-height: 150px; }
  .sec-head h2 { font-size: 20px; }
  .looks-row { grid-auto-columns: 78%; }
  .car-btn { display: none; }
  .qa-row, .mini-looks, .nus-row, .look-points { grid-template-columns: 1fr; }
  .qa-row { grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; grid-template-columns: none; scrollbar-width: none; }
  .dash-side { grid-template-columns: 1fr; }
  .dream { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tabs a { font-size: 12px; padding: 8px 12px; }
  .profile-list.grid2 { grid-template-columns: 1fr; }

  .detail-media { position: relative; top: 0; }
  .dm-main { border-radius: 22px; aspect-ratio: 4/4.4; }
  .dm-before { top: 12px; left: 12px; }
  .detail-info h2 { font-size: 28px; }
  .detail-actions .btn { flex: 1; }
  .free-facts { grid-template-columns: 1fr 1fr; }
  .st-hero > img { min-height: 300px; max-height: 360px; }
  .nus-banner { grid-template-columns: 110px 1fr; }
  .nus-card { grid-template-columns: 96px 1fr; gap: 12px; }
  .pp-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .prod-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .paywall { border-radius: 26px; padding: 30px 20px 22px; }
  .fan img { width: 96px; height: 140px; }
  .fan { height: 160px; }
  .disc-grid { grid-template-columns: 1fr 1fr; }
  .disc-tile { min-height: 130px; padding: 16px; }
  .disc-tile h3 { font-size: 16px; }
  .center-card { margin: 10px auto; padding: 30px 20px; }
  .care-banner { min-height: 160px; padding: 20px; }
  .care-banner h2 { font-size: 22px; }
  .care-banner .bottle:not(.b1) { display: none; }
  .care-banner .bottle.b1 { width: 64px; height: 56px; }
  .stepper li + li::before { width: 20px; }
  #toast { bottom: 84px; }
}

@media print {
  .side, .topbar, .tabbar, .row-actions, #toast { display: none !important; }
  .content { padding: 0; }
  .st-hero { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* shared current-look analysis (one per consultation) */
.current-look { margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #FFFCFB; }
.current-look h4 { display: flex; gap: 8px; align-items: center; font-family: var(--serif); font-size: 17px; color: var(--plum-2); margin-bottom: 12px; }
.current-look h4 small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 400; }
.current-look h4 .ic { color: var(--rose); }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cl-col h5 { display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--plum-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.cl-col h5 .ic { width: 15px; height: 15px; color: var(--rose); }
.cl-col dl { margin: 0; display: grid; gap: 2px; }
.cl-col dt { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.cl-col dd { margin: 0; font-size: 13px; color: #3E2E38; }
.cl-col dd.nv { color: var(--muted); font-style: italic; }
.svc-pts li.shared { background: var(--ivory); border-radius: 10px; padding: 6px 8px; margin: -6px -8px 0; }
.svc-pts li.shared em { font-style: normal; font-size: 9.5px; letter-spacing: .06em; background: var(--rose-soft); color: var(--rose); padding: 1px 6px; border-radius: 999px; }
.sample-tag.yours { background: var(--plum); }

/* a rendered look is a 3-panel sheet (front | side | back): show the whole front panel,
   centred on a grey matching the sheet so no part of the hairstyle is cropped */
.panel-front { position: relative; overflow: hidden; background: linear-gradient(180deg, #8f8f8d 0%, #b4b3af 55%, #c2c0bb 100%); }
.panel-front::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: 1 / 2; background: var(--sheet) 0 0 / 300% 100% no-repeat; }
.lc-img .panel-front { width: 100%; aspect-ratio: 4/3.7; }
.dm-switch .panel-front { width: 100%; aspect-ratio: 1; }
div.dm-main.panel-front { width: 100%; aspect-ratio: 4/5; border-radius: 26px; box-shadow: var(--shadow); }
.sheet { margin: 14px 0 0; }
.sheet img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-sm); }
.sheet figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.sample-tag.yours { background: var(--plum); }
/* passport history and data deletion */
.pp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pp-cons { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: #fff; }
.pp-cons-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.pp-cons-h b { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--plum-2); }
.pp-cons-h small { color: var(--muted); font-size: 12px; }
.pp-cons .journey-list a { border: 0; padding: 6px 0; border-radius: 0; border-top: 1px solid var(--ivory-2); }
.journey-list .panel-front.jl-img { width: 58px; height: 58px; min-width: 58px; aspect-ratio: auto; border-radius: 12px; flex: 0 0 58px; }
.saved-dot { display: inline-flex; gap: 3px; align-items: center; font-family: var(--sans); font-size: 10.5px; font-weight: 700; color: var(--rose); }
.saved-dot .ic { width: 11px; height: 11px; }
.danger-zone { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid #F1D4D4; border-radius: 14px; background: #FFF9F9; }
.danger-zone b { display: block; font-size: 13.5px; }
.danger-zone small { color: var(--muted); font-size: 12px; }
.danger-zone .btn { flex: none; }
.card-soft .danger-zone { margin-top: 12px; }
/* consultation ended or paused: freeze the progress animation */
.analyzing.halted .ring i, .analyzing.halted .ring, .analyzing.halted .scan { animation: none !important; }
.pp-new { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--ivory-2); }
.pp-new b { display: block; font-size: 14px; }
.pp-new small { color: var(--muted); font-size: 12px; }
.checkin .link { display: block; margin-top: 4px; padding: 0; font-size: 12.5px; }

/* pay-per-look: chosen look on the paywall, looks outside the plan */
.pw-choice { display: flex; gap: 12px; align-items: center; margin: 10px auto 14px; padding: 10px 14px 10px 10px; max-width: 340px; border-radius: 16px; background: rgba(255,255,255,.14); text-align: left; }
.pw-choice img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.pw-choice small { display: block; font-size: 11.5px; opacity: .8; }
.pw-choice b { display: block; font-family: var(--serif); font-weight: 500; font-size: 17px; }
.pw-choice .link { font-size: 12px; color: inherit; text-decoration: underline; padding: 0; }
.look-card.locked .lc-img img { filter: grayscale(.55) brightness(.92); }
.look-card.locked .sample-tag { display: inline-flex; gap: 4px; align-items: center; }
.look-card.locked .sample-tag .ic { width: 11px; height: 11px; }
.not-in-plan { text-align: center; display: grid; gap: 8px; justify-items: center; }
.not-in-plan .lock-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory-2); }