:root {
  --paper: #f7f6f2;
  --surface: #fffefb;
  --ink: #1d1b18;
  --muted: #77736c;
  --line: #dfdcd4;
  --line-soft: #ece9e2;
  --moss: #536457;
  --moss-soft: #dfe6dc;
  --clay: #b46d53;
  --clay-soft: #f0ddd4;
  --sand: #d8c6a7;
  --charcoal: #2b2a27;
  --easing: cubic-bezier(.16, 1, .3, 1);
  --shell: min(1400px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { width: 100%; margin: 0; min-width: 0; overflow-x: hidden; overflow-x: clip; color: var(--ink); background: var(--paper); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--charcoal); transform: translateY(-180%); transition: transform 180ms var(--easing); }
.skip-link:focus { transform: translateY(0); }
.site-noise { position: fixed; z-index: -1; inset: 0; opacity: .25; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }
.shell { width: var(--shell); margin-inline: auto; }
.eyebrow { margin: 0 0 15px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 660; transition: transform 180ms var(--easing), background 180ms var(--easing), color 180ms var(--easing), border-color 180ms var(--easing); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-dark { color: #fffdf8; background: var(--charcoal); }
.button-dark:hover { background: #3b3934; }
.button-light { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button-light:hover { border-color: var(--ink); }

.site-header { width: var(--shell); min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-inline: auto; border-bottom: 1px solid var(--line-soft); }
.brand { display: inline-flex; align-items: baseline; width: fit-content; font-size: 21px; font-weight: 760; letter-spacing: -.07em; }
.brand small { margin-left: 3px; color: var(--clay); font-size: 11px; letter-spacing: .1em; }
.brand-dot { width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 5px var(--clay-soft); }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-size: 13px; color: #5e5b55; }
.site-header > .button { justify-self: end; min-height: 40px; padding-inline: 17px; font-size: 13px; }
.beta-landing .private-beta { min-height: auto; padding-block: clamp(40px, 5vw, 70px) 44px; }
.beta-landing .private-beta h1 { max-width: 610px; margin: 0; font-size: clamp(34px, 3vw, 50px); line-height: 1.08; letter-spacing: -.068em; }
.beta-landing .private-beta h1 em { color: var(--clay); font-style: normal; }
.beta-landing .private-beta > p:not(.eyebrow) { max-width: 520px; margin: 16px 0 0; color: #5d5a54; font-size: 13px; line-height: 1.7; }
.beta-landing .private-beta .hero-actions { gap: 16px; margin-top: 22px; }
.beta-landing .private-beta .hero-actions .button { min-height: 38px; padding-inline: 15px; font-size: 11px; }
.beta-landing .private-beta .text-action { font-size: 11px; }
.beta-landing .beta-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(30px, 4vw, 46px); }
.beta-landing .beta-facts > div { display: grid; align-content: center; min-height: 94px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.beta-landing .beta-facts strong { display: block; font-size: 13px; letter-spacing: -.025em; }
.beta-landing .beta-facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.55; }

.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(380px, 1.04fr); gap: clamp(36px, 8vw, 136px); align-items: center; min-height: min(780px, calc(100dvh - 82px)); padding-block: clamp(58px, 8vw, 115px); }
.hero-copy { max-width: 640px; }
.hero .reveal { opacity: 1; transform: none; }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(52px, 7.2vw, 104px); line-height: .98; font-weight: 720; letter-spacing: -.085em; }
.hero h1 em { color: var(--clay); font-style: normal; }
.hero-lead { max-width: 498px; margin: 30px 0 0; color: #5d5a54; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 23px; align-items: center; margin-top: 34px; }
.text-action, .text-button { padding: 0; color: var(--ink); border: 0; background: none; font-weight: 650; }
.text-action span, .text-button span { margin-left: 6px; color: var(--clay); font-size: 18px; }
.microcopy { max-width: 390px; margin: 26px 0 0; color: #8e8980; font-size: 12px; }
.hero-stage { position: relative; min-height: 552px; display: grid; place-items: center; overflow: hidden; contain: paint; }
.lookbook-frame { position: relative; z-index: 2; width: min(100%, 440px); min-height: 548px; padding: 23px; overflow: hidden; color: #f8f5ed; border-radius: 29px; background: linear-gradient(145deg, #374239 0%, #65705f 50%, #b28c76 100%); box-shadow: 18px 36px 70px rgba(40, 44, 37, .22); }
.lookbook-frame::before { position: absolute; inset: 0; content: ""; opacity: .34; background: radial-gradient(circle at 65% 12%, #ffecdf, transparent 25%), linear-gradient(115deg, transparent 50%, rgba(255,255,255,.18) 50%, transparent 53%); }
.frame-topline, .frame-foot { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.77); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.frame-foot { position: absolute; right: 23px; bottom: 23px; left: 23px; flex-direction: column; gap: 3px; font-size: 10px; }
.frame-foot strong { color: #fff; }
.editorial-silhouette { position: absolute; z-index: 2; top: 84px; left: 50%; width: 218px; height: 404px; transform: translateX(-50%); }
.silhouette-head, .silhouette-hair, .silhouette-torso, .silhouette-leg, .silhouette-shoe { position: absolute; display: block; }
.silhouette-head { z-index: 2; top: 2px; left: 83px; width: 54px; height: 64px; border-radius: 52% 52% 49% 49%; background: #d6aa8a; }
.silhouette-hair { z-index: 3; top: -5px; left: 73px; width: 75px; height: 88px; border-radius: 62% 60% 36% 33%; background: #342822; transform: rotate(-8deg); }
.silhouette-torso { top: 62px; left: 43px; width: 132px; height: 174px; border-radius: 35px 35px 16px 16px; background: linear-gradient(98deg, #e8e2d5 0 48%, #d9d1c3 49% 51%, #f0ece2 52%); box-shadow: inset -16px 0 20px rgba(84,80,72,.16); }
.silhouette-torso::before, .silhouette-torso::after { position: absolute; top: 20px; width: 42px; height: 143px; content: ""; border-radius: 20px; background: #e9e3d9; }
.silhouette-torso::before { left: -29px; transform: rotate(9deg); }
.silhouette-torso::after { right: -29px; transform: rotate(-9deg); }
.silhouette-leg { top: 223px; width: 55px; height: 156px; background: #5c6f82; }
.silhouette-leg.left { left: 51px; border-radius: 8px 6px 12px 14px; transform: rotate(2deg); }
.silhouette-leg.right { right: 51px; border-radius: 6px 8px 14px 12px; transform: rotate(-2deg); }
.silhouette-shoe { top: 370px; width: 65px; height: 24px; border-radius: 14px 18px 6px 8px; background: #f7f3ec; }
.silhouette-shoe.left { left: 40px; transform: rotate(-2deg); }
.silhouette-shoe.right { right: 38px; transform: rotate(2deg); }
.look-tag { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 8px 11px; color: var(--ink); border-radius: 99px; background: rgba(255,253,248,.94); box-shadow: 0 10px 20px rgba(25,30,26,.14); font-size: 10px; font-weight: 700; }
.look-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.tag-one { top: 143px; left: 20px; }
.tag-two { right: 15px; bottom: 168px; }
.tag-three { right: 23px; top: 88px; color: #fff; background: rgba(41,43,37,.72); }
.tag-three i { background: #cedfcd; }
.stage-note { position: absolute; z-index: 3; top: 40px; right: 0; display: flex; align-items: center; gap: 9px; padding: 10px 0; color: var(--ink); background: var(--paper); transform: rotate(90deg); transform-origin: right top; }
.stage-note span { color: var(--clay); font-size: 10px; font-weight: 800; }
.stage-note p { margin: 0; font-size: 11px; line-height: 1.35; }
.stage-orbit { position: absolute; border: 1px solid rgba(180,109,83,.25); border-radius: 50%; }
.orbit-one { width: 590px; height: 430px; transform: rotate(-25deg); }
.orbit-two { width: 330px; height: 680px; border-color: rgba(83,100,87,.16); transform: rotate(28deg); }

.principle { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(45px, 10vw, 172px); padding-block: 128px; border-top: 1px solid var(--line); }
.section-intro h2, .flow-head h2, .family h2 { margin: 0; font-size: clamp(36px, 4.4vw, 66px); line-height: 1.05; letter-spacing: -.065em; }
.principle-list { border-top: 1px solid var(--line); }
.principle-item { display: grid; grid-template-columns: 48px 1fr minmax(185px, .83fr); align-items: baseline; gap: 18px; min-height: 103px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.principle-item span { color: var(--clay); font-size: 11px; font-weight: 700; }
.principle-item h3 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.principle-item p { margin: 0; color: var(--muted); font-size: 13px; }

.flow { overflow: hidden; padding-block: 116px; color: #f7f5ef; background: var(--charcoal); }
.flow-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.flow-head .eyebrow { color: #bbb7ac; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 72px); margin-top: 76px; }
.flow-step { position: relative; min-height: 347px; padding-top: 52px; border-top: 1px solid rgba(255,255,255,.25); }
.flow-step > span { position: absolute; top: 17px; right: 0; color: #a5a298; font-size: 10px; font-weight: 700; }
.flow-step h3 { margin: 25px 0 9px; font-size: 23px; letter-spacing: -.05em; }
.flow-step p { max-width: 270px; margin: 0; color: #bfbbb1; font-size: 13px; }
.flow-graphic { position: relative; height: 124px; overflow: hidden; border-radius: 13px; background: #efede5; }
.garment-graphic i, .weather-graphic i, .choice-graphic i { position: absolute; display: block; }
.garment-graphic i:nth-child(1) { top: 22px; left: 50%; width: 73px; height: 84px; border-radius: 18px 18px 10px 10px; background: #b66c53; transform: translateX(-50%); }
.garment-graphic i:nth-child(2) { top: 35px; left: calc(50% - 68px); width: 42px; height: 62px; border-radius: 12px; background: #d7c19f; transform: rotate(-11deg); }
.garment-graphic i:nth-child(3) { top: 32px; left: calc(50% + 26px); width: 42px; height: 67px; border-radius: 12px; background: #5b7469; transform: rotate(9deg); }
.weather-graphic { background: #cbd5d0; }
.weather-graphic i:nth-child(1) { top: 21px; left: 33px; width: 64px; height: 64px; border-radius: 50%; background: #e8c06f; }
.weather-graphic i:nth-child(2) { right: 36px; bottom: 26px; width: 135px; height: 48px; border-radius: 50px; background: #f1eee4; }
.weather-graphic i:nth-child(3) { right: 86px; bottom: 63px; width: 73px; height: 49px; border-radius: 50%; background: #f1eee4; }
.choice-graphic { background: #e7d9d0; }
.choice-graphic i:nth-child(1) { top: 16px; left: 40px; width: 76px; height: 99px; border-radius: 50% 50% 12px 12px; background: #3f4942; }
.choice-graphic i:nth-child(2) { top: 24px; left: 50%; width: 80px; height: 94px; border-radius: 50% 50% 12px 12px; background: #b66c53; transform: translateX(-50%); }
.choice-graphic i:nth-child(3) { top: 16px; right: 40px; width: 76px; height: 99px; border-radius: 50% 50% 12px 12px; background: #d3ba8e; }

.family { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); gap: clamp(45px, 11vw, 180px); align-items: center; padding-block: 136px; }
.family-copy > p:not(.eyebrow) { max-width: 500px; margin: 28px 0; color: var(--muted); font-size: 16px; }
.family-board { position: relative; min-height: 396px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #efe9dc; }
.family-board::before { position: absolute; inset: 22px; content: ""; border: 1px solid rgba(29,27,24,.12); border-radius: 13px; }
.board-label { position: absolute; top: 43px; left: 45px; color: #7e786d; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.mini-garment { position: absolute; bottom: 53px; border-radius: 24px 24px 11px 11px; }
.mini-garment.one { left: 13%; width: 21%; height: 190px; background: #d5c19f; transform: rotate(-11deg); }
.mini-garment.two { z-index: 2; left: 39%; width: 23%; height: 224px; background: #748d81; }
.mini-garment.three { right: 12%; width: 20%; height: 165px; background: #c9795f; transform: rotate(9deg); }
.board-line { position: absolute; right: 11%; bottom: 42px; left: 11%; border-bottom: 1px solid rgba(29,27,24,.36); }
.family-board p { position: absolute; right: 47px; top: 40px; margin: 0; color: #575349; font-size: 13px; line-height: 1.5; text-align: right; }
.privacy-strip { color: #f8f5ed; background: var(--moss); }
.privacy-strip .shell { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; min-height: 104px; }
.privacy-strip span { color: #d2ded0; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.privacy-strip p { margin: 0; font-size: 15px; }
.privacy-strip button { padding: 0; color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,.65); background: none; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding-block: 30px; color: #77736c; font-size: 12px; }
.site-footer a:first-child { color: var(--ink); font-weight: 700; }
.site-footer p { margin: 0; }

.gate-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 24px); margin: auto; padding: 28px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 18px; color: var(--ink); background: var(--surface); box-shadow: 0 34px 90px rgba(29,27,24,.26); }
.gate-dialog::backdrop { background: rgba(29,27,24,.42); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 13px; right: 13px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 20px; line-height: 1; }
.gate-dialog h2 { margin: 0; font-size: 26px; letter-spacing: -.05em; }
.gate-dialog > p:not(.eyebrow):not(.dialog-note) { margin: 11px 0 20px; color: var(--muted); font-size: 12px; }
.gate-dialog form { display: grid; min-width: 0; gap: 7px; }
.gate-dialog label { font-size: 11px; font-weight: 700; }
.gate-dialog input { min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fbfaf6; font-size: 14px; }
.gate-dialog input::placeholder { color: #aaa49b; }
.gate-dialog form[hidden] { display: none; }
.gate-dialog form .button { width: 100%; min-height: 40px; margin-top: 5px; font-size: 11px; }
.gate-dialog form input, .gate-dialog form select { width: 100%; min-height: 44px; margin-top: 5px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fbfaf6; }
.garment-dialog form { margin-top: 20px; }.garment-dialog form label { display: grid; gap: 1px; margin-top: 11px; }.garment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.garment-image-review { display: grid; min-width: 0; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.garment-image-review img { display: block; width: 112px; height: 112px; border-radius: 10px; background: #f5f3ee; object-fit: contain; }
.garment-image-review > div { display: grid; min-width: 0; gap: 7px; }.garment-image-review strong { font-size: 13px; }.garment-image-review span { color: var(--muted); font-size: 11px; line-height: 1.55; }.garment-image-review .button { justify-self: start; min-height: 36px; }
.garment-card.is-pending { border-color: rgba(181, 111, 78, .42); }.garment-confirmation-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(153, 83, 54, .9); font-size: 10px; font-weight: 700; }
.generation-consent-dialog { width: min(456px, calc(100vw - 32px)); }
.generation-consent-dialog > p[data-generation-consent-copy] { margin-bottom: 18px; line-height: 1.65; }
.generation-consent-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9px; }
.generation-consent-actions .button { width: 100%; min-height: 42px; padding-inline: 12px; font-size: 12px; }
.form-error { min-height: 17px; margin: 0; color: #aa3b2f; font-size: 11px; }
.dialog-note { margin: 16px 0 0; color: #908b82; font-size: 10px; }

.app-shell { min-height: 100dvh; color: var(--ink); background: #f4f3ef; }
.app-header { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px, 4vw, 58px); border-bottom: 1px solid var(--line); background: rgba(255,254,251,.85); backdrop-filter: blur(14px); }
.app-status { display: inline-flex; align-items: center; gap: 7px; color: #77736c; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 4px var(--moss-soft); }
.avatar-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #fff; background: var(--clay); font-size: 12px; font-weight: 700; }
.app-layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: calc(100dvh - 76px); }
.app-sidebar { display: flex; flex-direction: column; padding: 25px 15px; border-right: 1px solid var(--line); background: #edece7; }
.nav-item { display: flex; justify-content: space-between; width: 100%; padding: 12px 13px; border: 0; border-radius: 9px; color: #646159; background: transparent; text-align: left; transition: color 150ms var(--easing), background 150ms var(--easing); }
.nav-item:hover, .nav-item.is-active { color: var(--ink); background: #fbfaf6; }
.nav-item span { font-size: 13px; font-weight: 620; }
.nav-item small { color: #aaa59c; font-size: 10px; }
.back-link { margin-top: auto; padding: 13px; color: #77736c; font-size: 12px; }
.back-link span { color: var(--clay); }
.app-main { min-width: 0; padding: clamp(24px, 4vw, 58px); }
.app-view { max-width: 1420px; margin: auto; }
.view-heading { display: flex; justify-content: space-between; gap: 26px; align-items: end; margin-bottom: 28px; }
.view-heading h1 { margin: 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1; letter-spacing: -.075em; }
.view-heading p { max-width: 380px; margin: 12px 0 0; color: var(--muted); }
.creation-journey { margin: -4px 0 22px; padding: 15px 17px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(255,254,251,.7); }
.creation-journey-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.creation-journey-heading > div:first-child { display: grid; gap: 2px; }
.creation-journey-heading strong { color: var(--ink); font-size: 15px; letter-spacing: -.025em; }
.creation-journey-heading small { color: var(--muted); font-size: 11px; }
.creation-journey-heading > div:last-child { display: flex; flex-wrap: wrap; gap: 7px; }
.creation-journey ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.creation-journey li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; min-height: 52px; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 10px; color: var(--muted); }
.creation-journey li > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #827b70; background: #efede7; font-size: 9px; font-weight: 760; letter-spacing: .06em; }
.creation-journey li div { min-width: 0; display: grid; gap: 1px; }
.creation-journey li strong { color: var(--ink); font-size: 11px; }.creation-journey li small { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.creation-journey li.is-active { border-color: rgba(180,103,77,.36); background: #fffaf6; }.creation-journey li.is-active > span { color: #fff; background: var(--clay); }
.creation-journey li.is-complete { border-color: rgba(76,104,88,.28); background: #f1f5f0; }.creation-journey li.is-complete > span { color: #fff; background: var(--moss); }
.today-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: -7px 0 22px; }
.today-step { display: grid; grid-template-columns: auto 1fr; gap: 2px 9px; min-height: 68px; padding: 12px 13px; border: 1px solid var(--line-soft); border-radius: 12px; color: var(--muted); text-align: left; background: rgba(255,254,251,.7); }
.today-step > span { grid-row: 1 / 3; padding-top: 1px; color: #9a9388; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.today-step strong { color: var(--ink); font-size: 12px; font-weight: 700; }.today-step small { font-size: 10px; line-height: 1.4; }
.today-step.is-complete { border-color: rgba(76,104,88,.28); background: #f0f4ef; }.today-step.is-complete > span { color: #50705d; }
.today-step:hover { border-color: rgba(47,58,51,.3); transform: translateY(-1px); }
.weather-pill { display: inline-flex; gap: 9px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: #5b5851; font-size: 12px; }
.weather-pill strong { color: var(--ink); }
.weather-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.weather-edit { min-height: 38px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: #5b5851; font-size: 12px; }
.weather-edit:hover, .weather-edit:focus-visible { border-color: #aaa398; color: var(--ink); }
.scenario-form { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: -8px 0 22px; padding: 13px 15px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(255,254,251,.65); }
.scenario-form label { display: grid; gap: 2px; color: var(--ink); font-size: 12px; font-weight: 700; }
.scenario-form label small { color: var(--muted); font-size: 11px; font-weight: 500; }
.scenario-form > div { display: flex; flex: 1 1 360px; justify-content: end; gap: 8px; }
.scenario-form .text-field { width: min(100%, 380px); min-height: 42px; }
.scenario-form .select-field { min-width: 130px; min-height: 42px; }
.scenario-form .style-custom { max-width: 190px; }
.scenario-form .button { min-height: 42px; padding-inline: 15px; font-size: 12px; white-space: nowrap; }
.today-layout { display: grid; grid-template-columns: minmax(320px, .98fr) minmax(340px, 1.02fr); gap: 24px; }
.person-panel, .recommendation-panel, .closet-panel, .identity-panel, .settings-panel, .family-panel { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.person-panel { position: relative; min-height: 580px; overflow: hidden; background: linear-gradient(142deg, #dde5df, #e8dfd6 72%); }
.person-panel::after { position: absolute; inset: 18px; content: ""; border: 1px solid rgba(29,27,24,.1); border-radius: 12px; pointer-events: none; }
.person-panel .panel-meta { position: absolute; z-index: 2; top: 32px; left: 32px; right: 32px; display: flex; justify-content: space-between; color: #5e625b; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.person-display { position: absolute; inset: 74px 24px 35px; display: grid; place-items: center; }
.person-placeholder { position: relative; width: min(62%, 260px); height: min(92%, 400px); }
.person-placeholder .silhouette-head { top: 0; left: calc(50% - 31px); width: 62px; height: 76px; background: #d3aa8e; }
.person-placeholder .silhouette-hair { top: -9px; left: calc(50% - 45px); width: 91px; height: 101px; }
.person-placeholder .silhouette-torso { top: 72px; left: calc(50% - 82px); width: 164px; height: 205px; background: linear-gradient(90deg,#eef0e9 0 49%,#d7e0d7 50% 51%,#eff0e9 52%); }
.person-placeholder .silhouette-torso::before,.person-placeholder .silhouette-torso::after { height: 163px; }
.person-placeholder .silhouette-leg { top: 264px; width: 67px; height: 154px; background: #7c6d60; }
.person-placeholder .silhouette-leg.left { left: calc(50% - 70px); }
.person-placeholder .silhouette-leg.right { right: calc(50% - 70px); }
.person-placeholder .silhouette-shoe { top: 405px; }
.person-placeholder .silhouette-shoe.left { left: calc(50% - 85px); }
.person-placeholder .silhouette-shoe.right { right: calc(50% - 85px); }
.person-image { max-width: 100%; max-height: 100%; border-radius: 11px; object-fit: contain; filter: none; }
.lock-pill { position: absolute; z-index: 2; bottom: 31px; left: 32px; display: inline-flex; gap: 7px; align-items: center; padding: 8px 10px; border-radius: 999px; color: #425146; background: rgba(255,254,251,.84); font-size: 11px; font-weight: 650; backdrop-filter: blur(9px); }
.lock-pill::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: var(--moss); }
.recommendation-panel { min-height: 580px; padding: 30px; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.panel-heading h2 { margin: 0; font-size: 26px; letter-spacing: -.055em; }
.panel-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.look-list { display: grid; gap: 10px; margin-top: 25px; }
.generation-status { margin: 13px 0 -4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.generation-status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: #a69c92; vertical-align: middle; }
.generation-status.is-ready { color: #58705d; }
.generation-status.is-ready::before { background: #58705d; }
.look-row { position: relative; display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; min-width: 0; min-height: 82px; padding: 10px; border: 1px solid transparent; border-radius: 13px; color: var(--ink); background: #f8f7f3; text-align: left; transition: border-color 170ms var(--easing), background 170ms var(--easing), transform 170ms var(--easing); }
.look-row:hover, .look-row.is-selected { border-color: #c7c2b7; background: #fffefb; transform: translateX(2px); }
.look-index { display: grid; width: 35px; height: 54px; place-items: center; border-radius: 8px; color: #fff; background: var(--clay); font-size: 11px; font-weight: 700; }
.look-row:nth-child(2) .look-index { background: var(--moss); }
.look-row:nth-child(3) .look-index { background: #a88a64; }
.look-copy { min-width: 0; }
.look-copy strong { display: block; font-size: 14px; }
.look-copy span { display: block; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.look-copy small { display: -webkit-box; overflow: hidden; margin-top: 3px; color: #858077; font-size: 10px; font-weight: 450; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.look-score { color: var(--clay); font-size: 10px; font-weight: 760; letter-spacing: .06em; }
.app-shell .look-score, .identity-rules .rule-check, .identity-rules > .truth-note, .recommendation-panel > .generation-status { display: none; }
.look-rationale { margin: 12px 2px 0; padding: 10px 12px; border-left: 2px solid var(--clay); color: var(--muted); background: rgba(255, 254, 251, .62); font-size: 12px; line-height: 1.65; }
.render-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.render-actions .button { width: 100%; min-height: 42px; padding-inline: 12px; font-size: 12px; }
.truth-note { margin-top: 17px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: #858077; font-size: 11px; }
.truth-note strong { color: var(--moss); }
.empty-state { display: grid; min-height: 230px; place-items: center; padding: 30px; color: #77736c; text-align: center; }
.empty-state h3 { margin: 0; color: var(--ink); font-size: 19px; letter-spacing: -.04em; }
.empty-state p { max-width: 300px; margin: 7px 0 17px; font-size: 13px; }
.empty-state .button { min-height: 38px; font-size: 12px; }
.section-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 36px 0 14px; }
.section-label h2 { margin: 0; font-size: 18px; letter-spacing: -.04em; }
.section-label span { color: var(--muted); font-size: 11px; }
.result-section-label { align-items: center; }
.result-section-label > div { display: grid; gap: 2px; }
.result-add-button { min-height: 34px; padding-inline: 13px; font-size: 11px; white-space: nowrap; }
.results-history-link { display: flex; justify-content: center; margin-top: 16px; }
.results-pagination { justify-content: flex-end; }
.results-pagination > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.result-empty-state { grid-column: 1 / -1; min-height: 185px; border: 1px dashed #b9b4aa; border-radius: 13px; background: #fbfaf6; }
.closet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.closet-quick-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 12px; }
.closet-quick-filters button { min-height: 30px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: #615d55; background: #fffefb; font-size: 11px; font-weight: 650; }
.closet-quick-filters button small { margin-left: 3px; color: #9b958b; font-size: 9px; }.closet-quick-filters button.is-selected { color: #fff; border-color: var(--moss); background: var(--moss); }.closet-quick-filters button.is-selected small { color: #d9e4d8; }
.garment-card { position: relative; min-height: 210px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.garment-card img { width: 100%; height: 158px; object-fit: cover; background: #eeece6; }
.garment-card .card-copy { padding: 10px; }
.garment-card strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.garment-card span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.garment-delete { position: absolute; z-index: 3; top: 8px; right: 8px; display: grid; min-width: 44px; min-height: 26px; place-items: center; padding: 0 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; background: rgba(29,27,24,.68); font-size: 10px; font-weight: 650; backdrop-filter: blur(6px); }
.garment-actions { position: absolute; z-index: 2; right: 8px; bottom: 51px; left: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; pointer-events: none; }
.garment-actions > button { position: static; flex: 0 0 auto; pointer-events: auto; }
.garment-edit { padding: 5px 7px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; color: #fff; background: rgba(29,27,24,.58); font-size: 10px; font-weight: 650; backdrop-filter: blur(5px); }
.digital-artifact { display: flex; flex-direction: column; }
.digital-artifact > img, .digital-artifact > video { display: block; width: 100%; height: 210px; object-fit: contain; object-position: center; background: #eeece6; }
.digital-artifact.is-saved { border-color: rgba(76,104,88,.52); box-shadow: 0 0 0 3px rgba(76,104,88,.08); }
.artifact-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 10px 0; }
.artifact-actions button { min-height: 28px; flex: 1 1 calc(50% - 4px); border: 1px solid var(--line); border-radius: 999px; color: #47443e; background: #fffefb; font-size: 10px; font-weight: 650; }
.artifact-actions .artifact-save.is-saved { color: #42634e; border-color: rgba(76,104,88,.38); background: #f1f5f0; }
.artifact-actions button:last-child { color: #8a453d; border-color: #e2c8c1; background: #fffaf8; }
.artifact-actions button:hover { border-color: var(--ink); }
.artifact-preview-dialog { width: min(920px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 44px 18px 16px; overflow: hidden; border: 0; border-radius: 18px; background: #191a18; box-shadow: 0 32px 96px rgba(0,0,0,.38); }
.artifact-preview-dialog::backdrop { background: rgba(10,11,10,.72); backdrop-filter: blur(8px); }
.artifact-preview-dialog .dialog-close { color: #fff; border-color: rgba(255,255,255,.34); }
.artifact-preview-media { display: grid; min-width: 0; min-height: 0; height: min(78dvh, 820px); place-items: center; overflow: hidden; border-radius: 10px; background: #0d0e0d; }
/* A portrait result used to inherit the grid item's intrinsic minimum size.
   That made the lightbox crop a genuinely complete photo even though the
   product promised an enlarged, whole-look review.  Constrain by both axes
   instead of forcing width and height to 100%, so one dimension may shrink
   to preserve the original media aspect ratio. */
.artifact-preview-media img, .artifact-preview-media video { display: block; width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.artifact-preview-dialog > p { margin: 10px 4px 0; overflow: hidden; color: #f5f3ec; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.artifact-preview-dialog.is-interactive-video { width: min(980px, calc(100vw - 24px)); }
.interactive-video-viewer { position: relative; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; grid-template-rows: minmax(0, 1fr) auto auto auto; gap: 8px; padding: 10px; color: #f7f5ef; outline: 2px solid transparent; outline-offset: -2px; }
.interactive-video-viewer:focus-visible { outline-color: #d7bda9; }
.interactive-video-media { display: block; width: 100% !important; height: 100% !important; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none; }
.interactive-video-viewer.is-dragging .interactive-video-media { cursor: grabbing; }
.interactive-video-badge, .interactive-video-angle { position: absolute; z-index: 2; top: 20px; min-height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: rgba(20,22,20,.68); font-size: 10px; font-weight: 720; letter-spacing: .04em; backdrop-filter: blur(9px); }
.interactive-video-badge { left: 20px; }
.interactive-video-angle { right: 20px; min-width: 48px; justify-content: center; font-variant-numeric: tabular-nums; }
.interactive-video-instructions { margin: 0; color: #d8d5cd; font-size: 11px; line-height: 1.5; text-align: center; }
.interactive-video-status { min-height: 16px; color: #aaa9a3; font-size: 10px; line-height: 1.4; text-align: center; }
.interactive-video-actions { display: grid; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.interactive-video-action { min-width: 0; min-height: 44px; padding: 0 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #f7f5ef; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 680; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease; }
.interactive-video-action:hover { border-color: rgba(255,255,255,.54); background: rgba(255,255,255,.11); }
.interactive-video-action:active { transform: scale(.98); }
.interactive-video-action:focus-visible { outline: 2px solid #d7bda9; outline-offset: 2px; }
.interactive-video-action.is-primary { color: #161916; border-color: #f2ede3; background: #f2ede3; }
.interactive-video-action.is-danger { color: #f0c8bf; border-color: rgba(220,139,120,.42); }
@media (max-width: 480px) {
  .artifact-preview-dialog.is-interactive-video { padding: 42px 10px 10px; }
  .artifact-preview-dialog.is-interactive-video .artifact-preview-media { height: min(76dvh, 650px); }
  .interactive-video-viewer { padding: 6px; gap: 6px; }
  .interactive-video-badge, .interactive-video-angle { top: 14px; }
  .interactive-video-badge { left: 14px; }
  .interactive-video-angle { right: 14px; }
  .interactive-video-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 390px) {
  .garment-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); padding-inline: 16px; }
  .garment-image-review { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .garment-image-review img { width: 82px; height: 82px; }
  .garment-image-review .button { max-width: 100%; white-space: normal; }
  .garment-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garment-actions > button { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .interactive-video-action { transition: none; }
}
.view-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.select-field, .text-field { min-height: 40px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); }
.select-field { padding: 0 30px 0 11px; }
.text-field { min-width: 0; padding: 0 11px; }
.closet-panel, .identity-panel, .settings-panel, .family-panel { padding: clamp(20px, 3vw, 34px); }
.upload-drop { display: grid; min-height: 156px; place-items: center; padding: 20px; border: 1px dashed #b9b4aa; border-radius: 14px; background: #fbfaf6; text-align: center; }
.upload-drop p { margin: 0; color: var(--muted); font-size: 13px; }
.upload-drop strong { color: var(--ink); }
.identity-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(280px, 1.18fr); gap: 24px; }
.view-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.view-tile { position: relative; aspect-ratio: .76; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #eeece6; }
.view-tile.is-canonical { border: 2px solid #1e2722; box-shadow: 0 0 0 3px rgba(41, 83, 65, .14); }
.view-tile img { width: 100%; height: 100%; object-fit: cover; }
.view-tile-actions { position: absolute; inset: auto 8px 8px 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tile-delete { min-height: 26px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.44); border-radius: 999px; color: #fff; background: rgba(29,27,24,.72); font-size: 10px; line-height: 1; backdrop-filter: blur(8px); }
.tile-select, .canonical-badge { min-height: 26px; padding: 4px 8px; border: 0; border-radius: 999px; color: #fff; background: rgba(29,27,24,.76); font-size: 11px; line-height: 1; backdrop-filter: blur(8px); }
.tile-select { cursor: pointer; }
.canonical-badge { background: rgba(25, 73, 51, .88); }
.identity-rules { padding: 4px 0; }
.identity-rules h2 { margin: 0; font-size: 26px; letter-spacing: -.055em; }
.identity-rules p { color: var(--muted); }
.rule-check { display: grid; gap: 10px; margin: 19px 0; padding: 0; list-style: none; }
.rule-check li { display: flex; gap: 10px; align-items: start; color: #56534d; font-size: 13px; }
.rule-check li::before { flex: 0 0 auto; width: 17px; height: 17px; content: "✓"; display: grid; place-items: center; border-radius: 50%; color: var(--moss); background: var(--moss-soft); font-size: 10px; font-weight: 800; }
.family-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(290px, 1.2fr); gap: 25px; }
.family-note { min-height: 275px; padding: 29px; border-radius: 15px; color: #f9f8f4; background: var(--moss); }
.family-note h2 { margin: 0; font-size: 31px; line-height: 1.06; letter-spacing: -.06em; }
.family-note p { color: #d9e0d6; }
.family-note small { display: block; margin-top: 34px; color: #d9e0d6; font-size: 11px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.settings-grid-spaced { margin-top: 20px; }
.settings-action { min-height: 160px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fbfaf6; text-align: left; }
.settings-action span { display: block; color: var(--clay); font-size: 10px; font-weight: 760; letter-spacing: .1em; }
.settings-action strong { display: block; margin-top: 18px; font-size: 17px; letter-spacing: -.04em; }
.settings-action p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.settings-action:hover { border-color: #a8a298; }
.danger-zone { margin-top: 14px; border-color: #e8c6bf; }
.danger-zone span { color: #a34d3d; }
.toast-region { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: grid; gap: 9px; width: min(360px, calc(100vw - 40px)); pointer-events: none; }
.toast { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: rgba(255,254,251,.96); box-shadow: 0 12px 32px rgba(29,27,24,.12); font-size: 12px; backdrop-filter: blur(13px); animation: toast-in 260ms var(--easing); }
.toast.error { border-color: #e2b7ae; color: #91392d; }
.loading-line { position: relative; overflow: hidden; color: transparent; background: #ebe9e3; }
.loading-line::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent, rgba(255,255,255,.86), transparent); animation: shimmer 1.3s linear infinite; }
.reveal { opacity: 1; transform: none; }
.reveal.is-prepared { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--easing), transform 700ms var(--easing); }
.reveal.is-prepared.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }
@keyframes toast-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 960px) {
  :root { --shell: min(100% - 40px, 1400px); }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 74px 88px; }
  .hero-stage { min-height: 470px; max-width: 600px; width: 100%; margin-inline: auto; }
  .lookbook-frame { min-height: 468px; }
  .principle, .family { grid-template-columns: 1fr; gap: 45px; }
  .principle { padding-block: 86px; }
  .family { padding-block: 90px; }
  .beta-landing .beta-facts { grid-template-columns: 1fr; max-width: 560px; }
  .app-layout { grid-template-columns: 1fr; }
  .app-sidebar { position: sticky; top: 0; z-index: 8; flex-direction: row; align-items: center; gap: 7px; overflow-x: auto; padding: 10px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-item { width: auto; flex: 0 0 auto; align-self: center; padding: 9px 11px; white-space: nowrap; }
  .nav-item small, .back-link { display: none; }
  .app-main { padding: 28px 20px; }
}
@media (max-width: 690px) {
  :root { --shell: min(100% - 32px, 1400px); }
  .site-header { min-height: 70px; }
  .brand { font-size: 19px; }
  .site-header > .button { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .hero { padding-top: 54px; }
  .beta-landing .private-beta { padding-block: 32px 38px; }
  .beta-landing .private-beta h1 { font-size: clamp(30px, 8.8vw, 40px); }
  .beta-landing .private-beta > p:not(.eyebrow) { font-size: 12px; line-height: 1.68; }
  .beta-landing .private-beta .hero-actions { margin-top: 19px; }
  .beta-landing .beta-facts { gap: 8px; margin-top: 30px; }
  .beta-landing .beta-facts > div { min-height: 88px; padding: 13px 14px; }
  .hero h1 { font-size: clamp(47px, 14vw, 70px); }
  .hero-stage { min-height: 401px; }
  .lookbook-frame { width: 335px; min-height: 402px; padding: 18px; border-radius: 20px; }
  .editorial-silhouette { top: 61px; transform: translateX(-50%) scale(.8); transform-origin: top center; }
  .tag-one { top: 119px; left: 10px; }.tag-two { bottom: 126px; right: 8px; }.tag-three { top: 61px; right: 12px; }
  .frame-foot { right: 18px; bottom: 18px; left: 18px; }.stage-note { right: 0; top: 15px; }
  .orbit-one { width: 380px; height: 300px; }.orbit-two { height: 455px; width: 220px; }
  .principle-item { grid-template-columns: 35px 1fr; gap: 8px 13px; }
  .principle-item p { grid-column: 2; }
  .flow { padding-block: 75px; }.flow-head { display: block; }.flow-grid { grid-template-columns: 1fr; gap: 42px; margin-top: 52px; }.flow-step { min-height: 0; }
  .privacy-strip .shell { grid-template-columns: 1fr; gap: 8px; padding-block: 24px; }.privacy-strip button { width: fit-content; margin-top: 5px; }
  .site-footer { flex-wrap: wrap; gap: 7px 24px; }.site-footer p { width: 100%; order: 3; }
  .gate-dialog[open] { position: fixed; inset: auto; top: calc(var(--gate-vv-top, 0px) + 8px); left: calc(var(--gate-vv-left, 0px) + 8px); width: max(1px, calc(var(--gate-vv-width, 100vw) - 16px)); max-width: none; max-height: max(1px, calc(var(--gate-vv-height, 100dvh) - 16px)); margin: 0; padding: 22px 18px 18px; scroll-padding-block: 14px; }
  .gate-dialog h2 { font-size: 23px; }
  .gate-dialog input { font-size: 16px; }
  .gate-dialog.is-keyboard-compact { padding: 18px 16px 14px; scroll-padding-block: 8px; }
  .gate-dialog.is-keyboard-compact > .eyebrow, .gate-dialog.is-keyboard-compact > #gate-copy, .gate-dialog.is-keyboard-compact > .dialog-note { display: none; }
  .gate-dialog.is-keyboard-compact .dialog-close { top: 10px; right: 10px; width: 34px; height: 34px; }
  .gate-dialog.is-keyboard-compact h2 { min-height: 34px; margin-right: 42px; font-size: 22px; line-height: 1.25; letter-spacing: -.04em; }
  .gate-dialog.is-keyboard-compact form { gap: 5px; }
  .gate-dialog.is-keyboard-compact form .button { margin-top: 2px; }
  .generation-consent-actions { grid-template-columns: 1fr; }
  .app-header { height: 64px; padding-inline: 20px; }.app-status { display: none; }.app-layout { min-height: calc(100dvh - 64px); }
  .app-sidebar { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 8px 12px; }
  .app-sidebar .nav-item { width: 100%; justify-content: center; padding-inline: 6px; text-align: center; }
  .app-sidebar .nav-item span { font-size: 11px; }
  .app-sidebar .back-link { display: none; }
  .view-heading { display: block; }.weather-actions { justify-content: start; margin-top: 20px; }.creation-journey-heading { align-items: start; }.creation-journey-heading > div:last-child { justify-content: start; }.creation-journey ol { grid-template-columns: 1fr; }.creation-journey li { min-height: 50px; }.today-steps { grid-template-columns: 1fr; }.today-step { min-height: 58px; }.scenario-form { display: grid; align-items: stretch; }.scenario-form > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; }.scenario-form .text-field { width: 100%; min-width: 0; }.scenario-form #scenario-input, .scenario-form .style-custom, .scenario-form .button { grid-column: 1 / -1; max-width: none; width: 100%; }.scenario-form .select-field { min-width: 0; width: 100%; }.stage-demo-notice { display: none; }.today-layout, .identity-grid, .family-layout { grid-template-columns: 1fr; }.garment-form-grid { grid-template-columns: 1fr; }
  .person-panel, .recommendation-panel { min-height: 500px; }.recommendation-panel { padding: 20px; }.render-actions { grid-template-columns: 1fr; }.settings-grid { grid-template-columns: 1fr; }
  .closet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-section-label { align-items: start; }.result-add-button { margin-top: 2px; padding-inline: 10px; }.results-pagination { justify-content: flex-start; }
  button, .button, .nav-item, .weather-pill, .scenario-form .select-field, .scenario-form .text-field, .view-toolbar .select-field, .view-toolbar .text-field, .garment-delete, .garment-edit, .wear-toggle, .tile-select, .tile-delete, .artifact-actions button { min-height: 44px; }
  .toast-region { top: 180px; right: 16px; bottom: auto; width: min(360px, calc(100vw - 32px)); }
  .reveal { transition-duration: 320ms; }
  .delay-1, .delay-2, .delay-3 { transition-delay: 0ms; }
}
@media (max-width: 359px) {
  .closet-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
