/* Presentation only. Existing application markup, handlers and API flows stay intact. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');
:root{--paper:#faf8f5;--ink:#38251f;--muted:#706259;--line:#ddd5cc;--green:#38251f;--soft:#eee8e1;--cream:#f5eee5;--brand-tint:#eee6dc;--brand-accent:#b89470;--display:'Bricolage Grotesque',sans-serif}
body{font-family:'Source Sans 3',Arial,sans-serif;font-size:16px;line-height:1.45}
button,input,select,textarea{font-family:inherit}
h1,h2,h3,.brand{font-family:var(--display);font-weight:500;text-wrap:balance}
.brand{font-weight:700;font-size:42px;letter-spacing:-2.5px}
.brand:after{content:'';display:inline-block;width:7px;height:7px;margin-left:3px;border-radius:50%;background:var(--brand-accent)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a66c46;outline-offset:4px}
header{min-height:100px;padding-inline:4.5%;gap:24px}
header nav{gap:10px}
header nav .text{font-size:15px}
.announcement{font-size:12px;letter-spacing:0;color:#fff;padding:7px 15px}
.eyebrow{font-size:12px;letter-spacing:.25px;text-transform:none;color:var(--muted)}
.primary,.secondary,.nav-start,.header-signin{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:10px;font-size:16px;line-height:1.35;font-weight:600;text-align:center;text-decoration:none;vertical-align:middle;transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s}
.primary{color:#fffdfa;background:var(--ink);border-color:var(--ink)}
.primary:hover:not(:disabled){background:#574034;border-color:#574034}
.primary:active:not(:disabled){background:#291c17;border-color:#291c17}
.secondary,.nav-start,.header-signin{background:#fffdfa;color:var(--ink);border-color:#bcae9f}
.secondary:hover:not(:disabled),.nav-start:hover:not(:disabled),.header-signin:hover{background:var(--brand-tint);border-color:#8a7463;color:var(--ink)}
.secondary:active:not(:disabled),.nav-start:active:not(:disabled),.header-signin:active{background:#e3d7c9}
.text{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:8px;font-size:15px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none}
.text:hover:not(:disabled){background:var(--soft);text-decoration:none}
.text:active:not(:disabled){background:#e3d7c9}
input,select,textarea{border:1px solid #cfc3b7;background:#fffdfa;border-radius:6px;color:var(--ink);min-height:46px;font-size:16px}
label{font-size:14px;font-weight:500}
input[type=checkbox],input[type=radio]{min-height:0;accent-color:var(--ink)}
input[type=range]{accent-color:var(--ink)}
button:disabled{opacity:1;cursor:not-allowed}
.primary:disabled,.secondary:disabled,.nav-start:disabled{background:#ede7df;border-color:#ded5cb;color:#938579;box-shadow:none}
.text:disabled{background:transparent;color:#a09286}
.landing-hero{max-width:none;background:var(--brand-tint);padding:64px max(5%,calc((100vw - 1320px)/2));grid-template-columns:1fr 1.1fr;gap:6%}
.landing-copy h1{font-size:clamp(44px,4.8vw,72px);font-weight:600;line-height:1.04;letter-spacing:-3px}
.landing-copy>p{font-size:19px;line-height:1.55;max-width:480px}
.landing-copy .landing-account-note{font-size:14px;line-height:1.45;max-width:450px}
.landing-actions .primary,.landing-actions .secondary{font-size:16px;padding:15px 22px;min-height:54px}
.landing-actions .secondary{border-color:#cbbcac;background:#fffdfa}
.landing-visual{border:0;background:#fffdfa;border-radius:12px;padding:0;overflow:hidden}
.landing-outfit-image{border-radius:0;width:100%;height:auto;display:block}
.landing-visual figcaption{padding:18px 20px;gap:10px}
.landing-visual figcaption strong{font-family:var(--display);font-size:16px;letter-spacing:-.3px}
.landing-visual figcaption span{font-size:11px}
.landing-how-section{width:90%;max-width:1320px;background:var(--paper);border:0;border-radius:0;margin:0 auto;padding:64px 0}
.landing-how-section h2{font-size:42px;font-weight:500;margin:12px 0 32px}
.landing-steps{gap:40px}
.landing-steps h3{font-size:24px}
.landing-steps p{font-size:16px;line-height:1.6}
.landing-steps .number{background:var(--brand-tint);border:0;color:var(--ink);font-size:12px;font-weight:600}
.landing-retailer-note{font-size:13px;color:var(--muted);border-color:var(--line)}
footer{padding:28px 4.5% 20px;color:#fff}
.footer-top{font-size:18px}.footer-top .text{font-size:16px;color:white}
.footer-bottom{font-size:12px;color:#e4d7cb}
footer .affiliate-disclosure{color:#e4d7cb;font-size:12px}
.workspace{max-width:1000px;padding:50px 32px 70px}
.workspace h2{font-size:44px;letter-spacing:-1.8px}
.workspace>p{font-size:17px;max-width:800px;line-height:1.6}
.progress{gap:14px;margin-bottom:38px}.progress span{font-size:13px;padding-top:13px}
.progress .active{border-top-width:3px;font-weight:600}
.intro{font-size:16px}
.option{border-radius:9px;background:#fffdfa;border-color:var(--line);padding:24px}
.option.selected{background:var(--brand-tint);border-color:#9a8270;box-shadow:inset 0 0 0 1px #9a8270}
.option:hover:not(:disabled){background:#f4eee7;border-color:#9a8270}
.option strong{font-size:17px;font-weight:600}.option small{font-size:14px;line-height:1.45}
.fields{gap:22px;margin-block:28px}
.person,.person-profile{background:var(--cream);border-radius:10px}
.family-member{border-radius:10px;border-color:var(--line);background:#fffdfa;overflow:clip}
.family-member>summary{padding:20px 24px;background:var(--cream);font-family:var(--display);font-size:21px}
.family-member>summary:hover{background:var(--brand-tint)}
.family-member>summary small,.family-member>summary .member-summary small{font-family:'Source Sans 3',sans-serif;font-size:13px;color:var(--muted)}
.family-member .person-profile{background:#fffdfa;border-radius:0;border-color:var(--line)}
.family-add-actions{gap:12px}.family-add-actions>span{color:var(--muted)}
.profile-hint{font-size:13px;line-height:1.55}.profile-delete{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}
.book{max-width:1500px;padding:48px 4.5% 70px}
.book-head h1{font-weight:500;font-size:clamp(36px,4.4vw,62px);letter-spacing:-2.5px}
.book-head p{font-size:16px}.summary{font-size:14px;padding:20px 0;margin-block:26px;gap:16px}
.stylenote{border-radius:8px;background:var(--soft);font-size:15px;line-height:1.6}
.outfit-heading h3{font-size:34px;font-weight:500}.outfit-heading>span{font-size:16px}.outfit-heading small{font-size:13px}
.outfit-board{border:1px solid var(--line);background:var(--soft);border-radius:12px;padding:26px;margin-bottom:30px}
.outfit-board h3{font-size:28px}.outfit-board>p{font-size:16px}
.product-art{border-radius:9px;background:#f0ede9}
.product-art>span{border-radius:4px;background:#fffdfa;letter-spacing:0;font-size:11px;padding:7px 10px}
.product-title{font-size:17px;line-height:1.4}.product-title b{font-size:16px}
.product-info p{font-size:13px;line-height:1.55}
.product-info>.affiliate-disclosure{font-size:12px;line-height:1.45}
.product-actions{gap:10px}.product-actions button,.product-actions .shop-link{font-size:15px;min-height:48px;padding:12px 16px}
.tag,.status-badge{letter-spacing:0;border-radius:4px}
.people-jumps a,.piece-jumps a{font-size:14px}
.total{border-radius:10px;padding:28px}.total p{color:#e0d1c4;font-size:15px}
.notice{font-size:13px;line-height:1.55}
.saved-page{max-width:1180px}.saved-grid{gap:24px}
.saved-card{background:#fffdfa;border-radius:12px;border:1px solid var(--line);padding:24px}
.saved-card h3{font-size:27px}.saved-card>p{font-size:14px}
.saved-card .saved-preview{background:var(--cream);border-radius:7px;overflow:hidden}
.saved-actions{gap:12px}.saved-empty{border-radius:10px;background:var(--cream);padding:34px}
dialog{border-radius:14px;padding:32px;background:#fffdfa;box-shadow:0 12px 60px #38251f30}
dialog::backdrop{background:#38251f80}
.alternatives .option{padding:14px}.alternatives strong{font-size:16px}.alternatives p{font-size:13px}
#toast{border-radius:8px;font-size:15px}
/* Brand studio keeps every existing administration panel and action. */
.admin-shell{max-width:1280px;padding:46px 32px 75px}
.admin-shell h1{font-size:52px;font-weight:500}.admin-intro{font-size:17px;line-height:1.6}
.admin-notice{border:1px solid #ddd0c2;background:var(--soft);border-radius:9px;font-size:15px;line-height:1.6}
.admin-bar{padding:24px 0;gap:18px}.admin-bar strong{font-size:18px}.admin-bar p{font-size:14px}
.admin-buttons .primary,.admin-buttons .secondary{font-size:15px}
.shopmy-card,.rule{background:#fffdfa;border:1px solid var(--line);border-radius:10px;padding:26px}
.shopmy-card>p,.rule-note{font-size:14px;line-height:1.55}.shopmy-card h2{font-size:30px}
.rule.prioritize{border-left:4px solid #a08772}.rule.block{border-left:4px solid #ae675b}
.rule-head h2{font-size:25px}.rule-grid{gap:20px}.rule-grid label{font-size:14px}
.import-stats strong{font-family:var(--display);font-size:30px}.import-stats span{font-size:14px}
.catalog-product{border-radius:9px;padding:18px;background:#fffdfa}.catalog-product>img{border-radius:5px}
.catalog-product h3{font-size:20px;line-height:1.25}.catalog-product p,.catalog-product a,.catalog-product summary{font-size:14px;line-height:1.5}
.ranking-evidence{background:var(--soft);border-color:#9a8270;border-radius:3px}
.commission-evidence{background:#f4efe9;border-color:#b9a591;border-radius:3px}
.commission-evidence small{color:var(--muted)}.commission-audit,.commission-audit article{border-color:var(--line)}
.admin-status{font-size:15px}.admin-footer{font-size:13px;line-height:1.6}
@media(max-width:1100px){header nav{gap:6px}header nav .text{font-size:14px}.landing-hero{padding:45px 4.5%;gap:4%}.landing-copy h1{font-size:48px}.landing-copy>p{font-size:17px}.landing-actions{gap:9px}.landing-actions .primary,.landing-actions .secondary{padding:14px 16px;font-size:15px}.product-actions button,.product-actions .shop-link{font-size:14px}}
@media(max-width:700px){
 body{font-size:16px}header{min-height:84px;padding:0 5%;gap:12px}.brand,header .brand{font-size:34px;letter-spacing:-2px}.brand:after{width:6px;height:6px}.header-actions{gap:14px}.header-signin{font-size:14px;min-height:44px}
 header nav .text{font-size:16px}.primary,.secondary{font-size:15px;min-height:48px}.announcement{font-size:11px}
 .landing-hero{padding:35px 6% 30px;grid-template-columns:1fr;gap:25px}.landing-copy h1{font-size:44px;letter-spacing:-2px;line-height:1.06}.landing-copy .eyebrow{font-size:12px;letter-spacing:0}.landing-copy>p{font-size:17px;line-height:1.5}.landing-copy .landing-account-note{font-size:13px;margin-top:13px}.landing-actions .primary,.landing-actions .secondary{font-size:15px;padding:13px 10px}
 .landing-visual figcaption{padding:16px;gap:4px}.landing-visual figcaption strong{font-size:15px}.landing-visual figcaption span{font-size:11px}
 .landing-how-section{width:88%;padding:38px 0;margin-bottom:0}.landing-how-section h2{font-size:34px;max-width:none}.landing-how-section .eyebrow{font-size:12px;letter-spacing:0}.landing-steps h3{font-size:23px}.landing-steps p{font-size:16px}.landing-steps li:not(:last-child){border-color:var(--line)}.landing-retailer-note{font-size:12px}
 footer{padding:24px 6% 20px}.footer-top{font-size:16px}.footer-top .text{font-size:14px}.footer-bottom{font-size:11px}
 .workspace{padding:34px 6% 55px}.workspace h2{font-size:35px}.workspace>p{font-size:16px}.progress{gap:9px}.progress span{font-size:12px}.option{padding:19px 15px}.option strong{font-size:16px}.option small{font-size:13px}.fields{gap:19px}.family-member>summary{padding:18px 16px;font-size:20px}.family-member>summary .member-summary small{font-size:12px}.profile-hint{font-size:12px}
 .book{padding:32px 5% 55px}.book-head h1{font-size:38px;letter-spacing:-1.7px}.book-head p{font-size:15px}.summary{font-size:13px;gap:12px}.outfit-heading h3{font-size:30px}.outfit-heading>span{font-size:14px}.outfit-heading small{font-size:12px}.outfit-board{padding:16px;border-radius:10px}.outfit-board h3{font-size:25px}.outfit-board>p{font-size:14px}.product-title{font-size:16px}.product-title b{font-size:15px}.product-actions button,.product-actions .shop-link{font-size:15px;min-height:48px}.product-info>.affiliate-disclosure{font-size:12px}.saved-card{padding:20px}.saved-card h3{font-size:26px}.notice{font-size:12px}.total{padding:23px}
 .admin-shell{padding:34px 5% 60px}.admin-shell h1{font-size:39px}.admin-intro{font-size:16px}.admin-notice{padding:18px;font-size:14px}.admin-bar{gap:18px}.admin-bar p{font-size:13px}.admin-buttons{gap:10px}.admin-buttons button{font-size:15px}.shopmy-card,.rule{padding:19px}.shopmy-card h2{font-size:27px}.rule-head h2{font-size:23px}.rule-grid label{font-size:14px}.catalog-filters{gap:14px 10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Original concept layout, in the established brown / neutral palette. */
.ff-hero{display:grid;grid-template-columns:1.12fr 1fr;gap:5%;padding:48px 7% 0;background:var(--brand-tint);overflow:hidden}
.ff-hero-copy{align-self:center;padding:25px 0 45px}
.ff-hero h1{font-size:clamp(60px,7.7vw,112px);font-weight:600;line-height:.99;letter-spacing:-.065em;margin:0 0 28px}
.ff-hero-copy>p{max-width:355px;line-height:1.5;font-size:20px;margin:0}
.ff-hero-actions{margin-top:30px}.ff-hero-actions .primary{gap:20px;padding:16px 24px;font-size:17px;min-height:56px}
.ff-hero-actions [hidden]{display:none!important}.ff-hero-copy .ff-footnote{font-size:14px;margin-top:14px;color:var(--muted)}
.ff-hero-picture{position:relative;align-self:end;margin:0}.ff-styled-people{display:block;width:100%;height:auto;border-radius:160px 160px 0 0;overflow:hidden}
.ff-hero-picture figcaption{background:#fffdfa;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:10px}
.ff-hero-picture figcaption span{font-family:var(--display);font-size:19px;line-height:1.1;letter-spacing:-.5px}
.ff-hero-picture figcaption small{font-size:11px;max-width:100px;text-align:right;color:var(--muted)}
.ff-intro{display:grid;grid-template-columns:1fr 1fr;gap:12%;padding:76px 8%;max-width:1500px;margin:auto;align-items:start}
.ff-intro h2{font-size:49px;font-weight:500;line-height:1.05;letter-spacing:-2px;margin:0}.ff-intro p{font-size:22px;line-height:1.45;max-width:510px;margin:0}
.ff-text-link{display:inline-flex;gap:50px;align-items:center;margin-top:20px;font-size:17px;font-weight:600;text-underline-offset:5px}.ff-text-link span{font-size:24px}
.ff-board-section{background:var(--cream);padding:64px 4.5% 42px;scroll-margin-top:25px}
.ff-section-heading{display:flex;justify-content:space-between;align-items:end;max-width:1400px;margin:0 auto 28px;gap:20px}
.ff-section-heading h2{font-size:44px;font-weight:500;letter-spacing:-1.8px;line-height:1.1}.ff-section-heading p{color:var(--muted);margin:9px 0 0;font-size:18px}.ff-section-heading .text{font-size:15px}
.ff-account-board{max-width:1400px;margin:auto}.ff-board{display:grid;grid-template-columns:250px minmax(0,1fr);background:#fffdfa;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.ff-sidebar{background:var(--soft);padding:28px 22px}.ff-board-name{font-family:var(--display);font-size:22px;letter-spacing:-.7px;color:var(--ink);margin:0}.ff-board-season{font-size:14px;margin:5px 0 0}
.ff-people{display:grid;gap:10px;margin:25px 0 34px}.ff-person{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;background:transparent;text-align:left;padding:12px 9px;border-radius:7px;line-height:1.2;font-size:17px;color:var(--ink);overflow-wrap:anywhere}
.ff-person[aria-pressed=true]{background:#fffdfa;border-color:#c9b9aa}.ff-person:hover{background:#fffdfa}.ff-person small{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.ff-avatar{width:35px;height:35px;border-radius:50%;background:#ddd0c1;display:grid;place-items:center;font-family:var(--display);font-size:17px;flex-shrink:0}
.ff-person-check{margin-left:auto;visibility:hidden}.ff-person[aria-pressed=true] .ff-person-check{visibility:visible}
.ff-budget{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:15px}.ff-budget strong{margin-left:auto;font-size:18px}.ff-budget small{flex-basis:100%;font-size:12px;color:var(--muted)}
.ff-palette{display:flex;gap:6px;flex-wrap:wrap;margin-top:34px}.ff-palette>span{width:25px;height:25px;border-radius:50%;border:1px solid #b9ac9e}.ff-palette p{flex-basis:100%;font-size:13px;line-height:1.5;margin:4px 0 0}
.ff-board-main{padding:25px 28px;min-width:0}.ff-board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.ff-board-toolbar h3{font-size:26px;font-weight:500;letter-spacing:-1px}.ff-board-toolbar>span{font-size:13px;color:var(--muted)}
.ff-garments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ff-garment{min-width:0}.ff-garment-visual{aspect-ratio:4/5;background:#f1eee7;border-radius:6px;overflow:hidden;display:grid;place-items:center}.ff-garment-visual img{height:100%;width:100%;object-fit:contain}.ff-garment-visual .image-missing{font-size:14px;padding:16px}
.ff-garment h4{font-size:17px;font-weight:600;margin:14px 0 0;line-height:1.3;overflow-wrap:anywhere}.ff-garment>p{font-size:14px;margin:4px 0 0}
.ff-garment-bottom{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:8px}.ff-garment-bottom strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.ff-garment-bottom a{font-size:14px;padding:9px 0;text-underline-offset:4px;min-height:44px}
.ff-board-total{margin-top:25px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.ff-board-total>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:15px}.ff-board-total strong{font-size:27px;font-family:var(--display);font-weight:500;font-variant-numeric:tabular-nums}.ff-budget-status{font-size:13px;color:#52604a;background:#edf0e9;padding:5px 9px;border-radius:5px}.ff-open-look{font-size:14px;white-space:nowrap}
.ff-retailer-note{font-size:13px;line-height:1.5;max-width:1400px;margin:20px auto 0}.ff-board-empty{padding:38px;background:#fffdfa;border:1px solid var(--line);border-radius:12px}.ff-board-empty p{max-width:600px}.ff-board-empty .primary{margin-top:8px}
.ff-closer{padding:66px 8%;background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:30px}.ff-closer h2{font-size:62px;line-height:1.05;font-weight:500;letter-spacing:-3px}.ff-closer p{font-size:21px;line-height:1.45;margin:0 0 23px;color:var(--cream)}.ff-closer .primary{gap:20px;background:#e6d4bd;border-color:#e6d4bd;color:var(--ink);font-size:17px;padding:16px 24px;min-height:56px}.ff-closer .primary:hover:not(:disabled){background:#f3e6d5;border-color:#f3e6d5}
@media(min-width:1500px){.ff-hero{padding-left:max(7%,calc((100vw - 1300px)/2));padding-right:max(7%,calc((100vw - 1300px)/2))}.ff-hero-picture{max-width:560px}}
@media(max-width:1000px){.ff-hero{padding:32px 5% 0;gap:4%}.ff-hero h1{font-size:75px}.ff-hero-copy>p{font-size:18px}.ff-intro{gap:8%;padding:55px 6%}.ff-board{grid-template-columns:210px minmax(0,1fr)}.ff-sidebar{padding:24px 15px}.ff-board-main{padding:22px 18px}.ff-garments{gap:12px}.ff-garment h4{font-size:15px}.ff-board-total>div{gap:8px}}
@media(max-width:700px){
 .ff-hero{grid-template-columns:1fr;gap:22px;padding:28px 7% 0}.ff-hero-copy{padding:0}.ff-hero h1{font-size:clamp(56px,13vw,83px);line-height:1.02;letter-spacing:-3.5px;margin-bottom:23px}.ff-hero-copy>p{font-size:19px;max-width:360px}.ff-hero-actions{margin-top:23px}.ff-hero-actions .primary{font-size:17px;min-height:54px;padding:15px 20px}.ff-hero-copy .ff-footnote{font-size:13px;margin-top:12px}.ff-hero-picture{width:87%;margin:0 0 0 auto;max-width:400px}.ff-styled-people{border-radius:120px 120px 0 0}.ff-hero-picture figcaption{padding:12px 15px}.ff-hero-picture figcaption span{font-size:17px}.ff-hero-picture figcaption small{font-size:10px}
 .ff-intro{grid-template-columns:1fr;gap:22px;padding:42px 7%}.ff-intro h2{font-size:37px;letter-spacing:-1.4px}.ff-intro h2 br{display:none}.ff-intro p{font-size:19px;max-width:360px}.ff-text-link{font-size:16px;margin-top:15px}
 .ff-board-section{padding:38px 5% 30px}.ff-section-heading{align-items:start;gap:12px;flex-direction:column}.ff-section-heading h2{font-size:34px;letter-spacing:-1.3px}.ff-section-heading p{font-size:16px}.ff-board{display:block}.ff-sidebar{padding:20px}.ff-board-name{font-size:20px}.ff-board-season{font-size:13px}.ff-people{grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0;gap:8px}.ff-person{padding:10px 8px;gap:7px;font-size:16px}.ff-person small{font-size:10px}.ff-avatar{width:29px;height:29px;font-size:14px}.ff-person-check,.ff-palette{display:none}.ff-budget strong{margin-left:auto}.ff-board-main{padding:20px 16px}.ff-board-toolbar{align-items:start}.ff-board-toolbar h3{font-size:23px}.ff-board-toolbar>span{font-size:11px;max-width:100px;text-align:right}.ff-garments{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.ff-garment:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.ff-garment:last-child:nth-child(odd) .ff-garment-visual{grid-row:1/4;aspect-ratio:1}.ff-garment:last-child:nth-child(odd) h4{margin-top:8px;align-self:end}.ff-garment:last-child:nth-child(odd) p,.ff-garment:last-child:nth-child(odd) .ff-garment-bottom{align-self:start}.ff-garment h4{font-size:15px}.ff-garment>p{font-size:12px}.ff-garment-bottom strong{font-size:14px}.ff-garment-bottom a{font-size:13px}.ff-board-total{align-items:start;flex-wrap:wrap}.ff-board-total>div{gap:8px;font-size:13px}.ff-board-total strong{font-size:24px}.ff-budget-status{font-size:12px}.ff-retailer-note{font-size:12px}.ff-board-empty{padding:24px}
 .ff-closer{padding:40px 7%;display:block}.ff-closer h2{font-size:48px;letter-spacing:-2px;margin-bottom:24px}.ff-closer p{font-size:19px}.ff-closer .primary{width:100%;max-width:320px;font-size:17px}
}

/* Shared controls: the same hierarchy in the customer flow and brand studio. */
:is(.primary,.secondary,.text,.nav-start,.header-signin) svg{width:18px;height:18px;flex:none}
.actions{gap:12px;align-items:stretch}
.actions>.primary,.actions>.secondary{min-width:124px}
.family-add-actions{gap:12px}
.saved-actions>.primary{min-height:48px;padding:12px 22px;flex:1}
.saved-actions>.text{flex:none}
.text.danger{color:#8b3e30}
.text.danger:hover:not(:disabled){background:#f3e4dc;color:#742d22}
.person-heading>.text,.rule-head>.text{flex-shrink:0}
.admin-shell button:disabled{opacity:1}
.admin-buttons{gap:12px;align-items:stretch}
#add-rule,#add-block{margin:4px 8px 4px 0}
.catalog-filters button{min-width:150px}
input[type=file]{padding:6px;border-radius:10px;min-height:48px;line-height:34px}
input[type=file]::file-selector-button{font:600 14px/1.4 'Source Sans 3',Arial,sans-serif;min-height:36px;margin:0 12px 0 0;padding:7px 14px;border:1px solid #bcae9f;border-radius:6px;background:var(--soft);color:var(--ink);cursor:pointer}
input[type=file]::file-selector-button:hover{background:var(--brand-tint);border-color:#8a7463}
input[type=file]:disabled::file-selector-button{color:#938579;cursor:not-allowed}
#shopmy-file{padding:6px;font-size:14px}
/* Quiet navigation and destructive actions stay visually separate from the next step. */
.outfit-jumps a,.piece-jumps a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:8px;font-size:14px;line-height:1.4;font-weight:600;background:#fffdfa;border-color:#cfc3b7}
.outfit-jumps .scene-jump{min-height:44px;padding:11px 18px;border-radius:9px;background:var(--ink);color:#fffdfa;border-color:var(--ink)}
.outfit-jumps .scene-jump:hover{background:#574034;border-color:#574034}
.category-jump{min-height:44px;border-radius:8px;font-size:14px}
.ff-garment-bottom a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;min-height:44px;border:1px solid #cfc3b7;border-radius:8px;text-decoration:none;font-weight:600}
.ff-garment-bottom a:hover{background:var(--soft);border-color:#8a7463}
.ff-open-look{white-space:normal}
.ff-text-link{min-height:44px;gap:16px}
.ff-person{min-height:64px;border-radius:9px}
.ff-person[aria-pressed=true]{box-shadow:inset 0 0 0 1px #c9b9aa}
.close{position:sticky;top:0;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;margin:-10px -10px 12px 12px;border:1px solid var(--line);border-radius:50%;background:var(--paper);font-size:28px;line-height:1;flex:none}
.close:hover{background:var(--soft);border-color:#8a7463}
/* Product and occasion cards are large selection controls, not faded disabled buttons. */
.option{transition:background-color .16s,border-color .16s,box-shadow .16s}
.option.selected:disabled,.piece-choice.selected:disabled{opacity:1;cursor:default}
.board-piece{border-radius:10px;padding:14px;border-color:#e2d9cf;transition:background-color .16s,border-color .16s,box-shadow .16s}
.board-piece:hover{border-color:#9a8270;background:#fffdfa;box-shadow:0 2px 8px #38251f0a}
.board-photo{border-radius:5px;overflow:hidden}
.board-swap{display:inline-flex;align-items:center;min-height:40px;align-self:flex-start;gap:8px;font-size:14px;font-weight:600;text-decoration:none;border-top:1px solid var(--line);width:100%;padding-top:10px}
.board-swap:after{content:'→';margin-left:auto}
.piece-choice{border-radius:10px;background:#fffdfa}
.piece-choice:hover:not(:disabled){border-color:#9a8270;background:#f5eee5}
.piece-choice.selected{border-color:#9a8270;background:var(--brand-tint);box-shadow:inset 3px 0 #9a8270}
.piece-choice .choice-action{font-size:13px;line-height:1.45}
.product-actions{align-items:stretch;gap:10px}
.product-actions>*{flex:1 1 0;overflow-wrap:normal}
.product-actions>:only-child{grid-column:1/-1}
.product-info summary,.brief-disclosure summary,.profile-delete>summary,.import-history summary,.catalog-product summary{min-height:44px;align-content:center;padding-block:10px;line-height:1.5;cursor:pointer}
.footer-top .text:hover{background:#ffffff15}
@media(max-width:700px){
 .primary,.secondary{font-size:16px;padding:13px 20px;min-height:48px}
 .header-actions{gap:10px}.header-signin{font-size:14px;padding:11px 16px;min-height:44px}
 #nav-toggle{width:44px;min-width:44px;height:44px;justify-content:center;padding:10px;border:1px solid #cfc3b7;border-radius:9px;background:#fffdfa}
 #nav-toggle:hover{background:var(--soft)}
 #main-nav{padding:12px 5% 20px}#main-nav :is(.text,#how,#sample){padding:12px 14px;min-height:48px;border:0;border-radius:8px;font-size:16px}
 #main-nav .nav-start{display:block;border:0;border-radius:8px;font-size:16px;padding:12px 14px;min-height:48px;margin:0;background:transparent;color:var(--ink);text-align:left;font-weight:600}
 #main-nav .nav-start:hover{background:var(--soft);color:var(--ink)}
 .actions>.primary{flex:1;min-width:0}.actions>.secondary{min-width:100px;padding-inline:16px}
 .family-add-actions{display:grid;grid-template-columns:1fr 1fr}.family-add-actions>span{grid-column:1/-1}.family-add-actions>button{padding-inline:10px;font-size:15px}
 .profile-brief-actions>.text{border:1px solid #cfc3b7;background:#fffdfa;border-radius:10px;font-size:15px;padding:12px}
 .outfit-jumps .scene-jump{display:none}.person-shortcuts a{padding:10px 14px}.category-jump{font-size:13px}
 .mobile-review button{min-height:48px;padding:12px 18px;font-size:15px;border-radius:10px}
 .board-piece{padding:10px}.board-swap{font-size:13px}.board-piece strong{font-size:14px}.board-piece small{font-size:12px}
 .product-actions{flex-direction:row;gap:10px}.product-actions button,.product-actions .shop-link{font-size:15px;padding:12px 10px;min-height:48px}
 .ff-garment-bottom a{font-size:14px}.ff-board-total .ff-open-look{width:100%;border:1px solid #bcae9f;background:#fffdfa;border-radius:10px;font-size:15px}
 .close{margin:-7px -3px 12px 12px}
 .saved-actions{gap:10px}.saved-actions>.primary{padding-inline:16px}.saved-actions>.text{padding-inline:14px}
 .rule-head{gap:10px;align-items:center}.rule-head .text{padding-inline:10px;font-size:14px}.admin-buttons>*{padding-inline:14px}
 #add-rule,#add-block{margin:6px 0;width:100%}
 .catalog-filters button{justify-self:stretch}.catalog-filters button,.admin-shell .primary{font-size:16px}
}

/* A concise explanation, followed only by an existing account look. */
.ff-how{max-width:1500px;margin:auto;padding:64px 8%;border-top:1px solid var(--line)}
.ff-how h2{font-size:42px;line-height:1.15;font-weight:500;letter-spacing:-1.5px;margin:0 0 32px}
.ff-how ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;list-style:none;padding:0;margin:0}
.ff-how h3{font-size:23px;font-weight:500;letter-spacing:-.5px;margin:0 0 12px}
.ff-how li p{font-size:17px;line-height:1.6;color:var(--muted);margin:0;max-width:34ch}
.ff-how .ff-retailer-note{margin-top:30px;color:var(--muted)}
.ff-board-section[hidden]{display:none}
@media(max-width:700px){.ff-how{padding:38px 7%}.ff-how h2{font-size:32px;margin-bottom:28px}.ff-how ol{grid-template-columns:1fr;gap:26px}.ff-how h3{font-size:22px;margin-bottom:8px}.ff-how li p{max-width:100%}}

/* The selected pieces are the first view; alternatives open only when requested. */
.book{max-width:1440px;padding-top:36px}
.book-head h1{font-size:clamp(32px,3.8vw,48px)}
.book-head p{margin:10px 0 0}
.book>.summary{margin:22px 0 0;padding:16px 0;gap:12px 22px}
.outfit-overview{padding:26px 0 36px;scroll-margin-top:90px}
.outfit-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;align-items:start}
.outfit-overview-grid[data-people="1"]{grid-template-columns:minmax(0,1fr);max-width:650px}
.outfit-overview-grid[data-people="2"],.outfit-overview-grid[data-people="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.outfit-overview .outfit-board{margin:0;padding:0;min-width:0;border:0;border-radius:0;background:none}
.outfit-overview .board-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-bottom:16px}
.outfit-overview .board-heading h3{font-size:28px;overflow-wrap:anywhere;letter-spacing:-.8px}
.outfit-overview .board-heading p{margin:0;text-align:right;font-size:15px;line-height:1.4;flex-shrink:0;font-variant-numeric:tabular-nums}
.outfit-overview .board-heading strong{font-weight:600;color:var(--ink)}
.outfit-overview .board-heading span{font-size:12px}
.outfit-overview .board-heading small{display:block;font-size:11px;color:var(--muted)}
.outfit-overview .board-pieces{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.outfit-overview .board-piece{display:grid;grid-template-columns:46% minmax(0,1fr);padding:0;min-height:232px;border:1px solid var(--line);border-radius:9px;background:#fffdfa;overflow:hidden;box-shadow:none}
.outfit-overview .board-piece:hover{background:#fffdfa;border-color:var(--line);box-shadow:none}
.outfit-overview .board-photo{display:flex;height:100%;min-height:232px;aspect-ratio:auto;padding:10px;background:#efebe6;border-radius:0;text-decoration:none}
.outfit-overview .board-photo .retailer-photo,.outfit-overview .board-photo svg{height:210px;width:100%;object-fit:contain;background:transparent;mix-blend-mode:multiply}
.outfit-overview .board-photo:focus-visible{outline-offset:-4px}
.outfit-overview .board-photo .image-missing{padding:16px 5px;overflow-wrap:anywhere}
.board-piece-info{min-width:0;padding:16px 13px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.outfit-overview .board-category{margin:0 0 7px;font-size:11px;letter-spacing:.3px;text-transform:capitalize;color:var(--muted)}
.board-piece-info h4{font-size:16px;line-height:1.35;font-weight:500;margin:0 0 8px;overflow-wrap:anywhere;text-wrap:pretty}
.board-piece-info .board-retailer{font-size:13px;line-height:1.4;margin:0 0 3px;color:var(--muted);overflow-wrap:anywhere}
.outfit-overview .board-price{font-size:15px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.outfit-overview .board-compare{font-size:13px;min-height:44px;padding:9px 11px;margin-top:13px;border-radius:6px;max-width:100%;text-align:left}
.board-details{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin-top:6px;text-underline-offset:4px}
.board-edit{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-top:7px;font-size:14px;font-weight:600;text-underline-offset:4px}
.board-catalog-note{font-size:13px;line-height:1.6;margin:20px 0 0;color:var(--muted)}
.outfit-overview:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(min-width:1051px){.outfit-overview-grid[data-people="1"] .board-piece{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:1050px) and (min-width:701px){.outfit-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .book>.summary{margin-top:20px;gap:10px 18px;font-size:13px}.book-head h1{font-size:34px}
 .outfit-overview{padding:24px 0 28px}
 .outfit-overview .outfit-overview-grid{grid-template-columns:minmax(0,1fr);gap:30px}
 .outfit-overview .board-heading{margin-bottom:12px;min-height:42px}.outfit-overview .board-heading h3{font-size:27px}
 .outfit-overview .board-pieces{gap:12px}.outfit-overview .board-piece{grid-template-columns:43% minmax(0,1fr);min-height:202px}
 .outfit-overview .board-photo{min-height:202px;padding:8px}.outfit-overview .board-photo .retailer-photo,.outfit-overview .board-photo svg{height:186px}
 .board-piece-info{padding:14px 12px}.board-piece-info h4{font-size:16px}
 .outfit-overview .board-compare{font-size:13px;padding:9px 10px;margin-top:11px}
 .outfit-jumps{flex-wrap:wrap}.outfit-jumps .person-shortcuts{flex-basis:100%}.outfit-jumps .category-jump{width:100%}
 .outfit,.product,.outfit-overview{scroll-margin-top:145px}
}

/* Keep comparison text readable in a narrow phone dialog. */
.alternatives{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
@media(max-width:480px){
 dialog{padding:24px 16px 16px}
 .alternatives .option{grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;padding:14px}
 .alternatives .option>div{min-width:0;overflow-wrap:anywhere}
 .alternatives .retailer-photo{height:160px;width:100%;object-fit:contain}
 .alternatives svg{height:160px}
 .alternatives strong{margin-top:0;line-height:1.35}
 .alternatives p{line-height:1.5}
}

.catalog-gaps{margin:24px 0;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}
.catalog-gaps h3{margin:0 0 12px;font-size:18px}.catalog-gaps ul{margin:0;padding-left:20px}.catalog-gaps li{margin:8px 0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}

/* Keep recovery actions ahead of optional catalog suggestions and readable on phones. */
.recovery-page .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
@media(max-width:700px){.recovery-page .actions{grid-template-columns:1fr}}

/* Selected outfits become one practical shopping list, keeping the neutral palette. */
.shop-look-prompt{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:26px 0 0;border-top:1px solid var(--line)}.shop-look-prompt h3{font-size:24px;margin:0 0 6px}.shop-look-prompt p{margin:0;color:var(--muted)}
.shop-look-page{max-width:1100px;margin:auto;padding-bottom:64px}.shop-look-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:28px 0 20px}.shop-look-heading h1{font-size:clamp(32px,5vw,52px);line-height:1.1;letter-spacing:-1.6px;margin:0 0 16px}.shop-look-heading p{margin:8px 0}.shop-look-copy{max-width:280px;flex-shrink:0}.shop-look-copy small{display:block;font-size:13px;color:var(--muted);margin-top:10px}.shop-look-disclosure{max-width:78ch;font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 34px}.shop-look-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.shop-person{min-width:0}.shop-person-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-bottom:1px solid var(--line);padding-bottom:15px}.shop-person-heading h2{font-size:28px;margin:0;overflow-wrap:anywhere}.shop-person-heading>span{font-size:14px;white-space:nowrap}.shop-look-items{list-style:none;margin:0;padding:0}.shop-look-items>li{display:grid;grid-template-columns:100px minmax(0,1fr);gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.shop-piece-photo{background:var(--soft);align-self:start;aspect-ratio:3/4;overflow:hidden}.shop-piece-photo img{width:100%;height:100%;object-fit:contain}.shop-piece-info{min-width:0}.shop-piece-info h3{font-size:18px;line-height:1.4;margin:0 0 6px;overflow-wrap:anywhere}.shop-piece-info p{font-size:13px;line-height:1.5;margin:0 0 10px;color:var(--muted)}.shop-piece-info strong{display:block;font-size:14px;margin-bottom:14px}.shop-piece-info .shop-link{display:inline-flex;min-height:44px;padding:11px 16px;font-size:14px;text-align:center;justify-content:center}.shop-look-total{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:28px 0;margin-top:30px;border-top:2px solid var(--ink)}.shop-look-total strong{font-size:25px;white-space:nowrap}.shop-look-total small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.shop-look-bottom{display:flex;gap:12px;flex-wrap:wrap}.shop-look-footnote{font-size:13px;color:var(--muted);margin-top:18px}#copy-links-fallback{margin:24px 0}#shopping-links-text{width:100%;font:inherit;font-size:14px;line-height:1.5}
@media(max-width:700px){.shop-look-prompt,.shop-look-heading{flex-direction:column;align-items:stretch;gap:18px}.shop-look-copy{max-width:none}.shop-look-copy button{width:100%}.shop-look-people{grid-template-columns:1fr;gap:32px}.shop-look-items>li{grid-template-columns:86px minmax(0,1fr);gap:16px}.shop-look-bottom{flex-direction:column}.shop-look-total{align-items:flex-start;flex-direction:column;gap:14px}.shop-look-page{padding-bottom:40px}.shop-piece-info .shop-link{width:100%}}

/* Styling room: saved catalog photos accompany real stages without extra model calls. */
.styling-loading{max-width:880px;margin:auto;padding:58px 24px 72px;min-height:75vh}
.styling-loading h2{font-size:clamp(32px,5vw,52px);letter-spacing:-1.8px;line-height:1.12;margin:16px 0}
.styling-loading .studio-intro{font-size:17px;line-height:1.6;margin:0 0 28px;color:var(--muted)}
.styling-studio{max-width:620px;margin:auto;background:#f1ece4;border:1px solid #ded4c8;border-radius:22px;overflow:hidden;text-align:left;box-shadow:0 18px 60px -40px #50362560}
.studio-brief{text-align:center;font-size:11px;letter-spacing:.5px;line-height:1.6;color:#75685f;padding:22px 20px 0;min-height:40px}
.studio-canvas{position:relative;height:350px;margin:0 20px;isolation:isolate}
.swatch-orbit{position:absolute;width:94%;height:84%;left:3%;top:8%;border:1px dashed #b4a59566;border-radius:50%;transform:rotate(-9deg)}
.orbit-chip{position:absolute;left:0;top:0;width:45px;height:54px;offset-path:ellipse(46% 46% at 50% 50%);offset-rotate:0deg;animation:fabric-orbit 22s linear infinite;animation-delay:var(--delay,0s);transform:rotate(var(--tilt));--phase:0deg;--tilt:-12deg}
.orbit-chip-2{--phase:72deg;--delay:-4.4s;--distance:20%;--tilt:8deg}.orbit-chip-3{--phase:144deg;--delay:-8.8s;--distance:40%;--tilt:-6deg}.orbit-chip-4{--phase:216deg;--delay:-13.2s;--distance:60%;--tilt:16deg}.orbit-chip-5{--phase:288deg;--delay:-17.6s;--distance:80%;--tilt:-9deg}
.orbit-chip i{display:block;width:100%;height:100%;border:3px solid #fff9;border-radius:3px;box-shadow:0 6px 12px #4c37251a;background-color:var(--fabric);background-image:repeating-linear-gradient(0deg,transparent 0 2px,#ffffff20 2px 3px),repeating-linear-gradient(90deg,transparent 0 2px,#40302712 2px 3px)}
.fabric-oat{--fabric:#c5b596}.fabric-rose{--fabric:#b39389}.fabric-sage{--fabric:#929780}.fabric-cocoa{--fabric:#746154}.fabric-cream{--fabric:#e7ddcc}
.catalog-photo-stack{position:absolute;inset:0;--fan:110px;isolation:isolate}
.catalog-study-card{position:absolute;left:50%;top:50%;width:176px;margin:-126px 0 0 -88px;padding:9px 9px 0;border:1px solid #ded4c8;border-radius:8px;background:#fffdf8;box-shadow:0 12px 28px -12px #38251f50;animation:catalog-shuffle 12s ease-in-out infinite;--still-x:0px;--still-turn:-3deg}
.catalog-study-card.card-2{animation-delay:-4s;--still-x:calc(-1 * var(--fan));--still-turn:-12deg}
.catalog-study-card.card-3{animation-delay:-8s;--still-x:var(--fan);--still-turn:12deg}
.catalog-study-image{height:196px;background:#f5f3ef;display:grid;place-items:center;overflow:hidden;border-radius:3px}
.catalog-study-image img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;animation:catalog-photo-arrive .45s ease-out both}
@keyframes catalog-photo-arrive{from{opacity:.35}to{opacity:1}}
.catalog-study-image img[hidden],.studio-photo-fallback[hidden]{display:none}
.studio-photo-fallback{font-size:12px;line-height:1.5;color:var(--muted);padding:12px;text-align:center}
.catalog-study-card figcaption{height:46px;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0}
.catalog-study-card figcaption span{font-size:10px;color:var(--muted)}
.catalog-study-card figcaption strong{font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
@keyframes catalog-shuffle{0%,18%,100%{transform:translate(0,-9px) rotate(-3deg);z-index:3}26%,50%{transform:translate(calc(-1 * var(--fan)),12px) rotate(-12deg) scale(.94);z-index:1}59%,82%{transform:translate(var(--fan),20px) rotate(12deg) scale(.94);z-index:2}90%{transform:translate(0,-9px) rotate(-3deg);z-index:3}}
.studio-narration{padding:0 30px 22px;min-height:112px}
.studio-narration .loader-line{gap:10px;min-height:35px}
.studio-narration .loader-search{width:24px;height:24px;animation:none;opacity:.65}
.studio-narration .loader-verb{font-size:18px;background:none;color:var(--ink);-webkit-text-fill-color:currentColor;animation:none;font-weight:500}
.studio-narration .loader-meta{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}
.studio-narration p{font-size:14px;line-height:1.6;margin:9px 0 0;color:var(--muted)}
.styling-studio .loader-steps{display:flex;flex-wrap:wrap;gap:8px 18px;border-top:1px solid #ded4c8;margin:0;padding:17px 30px 21px;background:#ffffff38;font-size:12px}
.styling-studio .loader-step{gap:7px;align-items:center;line-height:1.5}.styling-studio .loader-step.skipped{display:none}.styling-studio .loader-step.pending{opacity:.6}.styling-studio .loader-step.active{font-weight:600}.styling-studio .loader-mark{font-size:15px}
.studio-controls{display:flex;gap:28px;justify-content:center;align-items:center;margin:18px 0 3px}.studio-controls .text{font-size:13px;min-height:44px;padding:8px;text-underline-offset:4px}
.styling-loading .studio-footnote{font-size:11px;line-height:1.6;color:var(--muted);max-width:400px;margin:4px auto 0}
.styling-studio[data-paused="true"] *{animation-play-state:paused!important}
@keyframes fabric-orbit{from{offset-distance:0%}to{offset-distance:100%}}
@media(max-width:700px){
 .styling-loading{padding:34px 10px 48px}.styling-loading h2{letter-spacing:-1px}.styling-loading .studio-intro{font-size:15px;margin-bottom:22px}
 .studio-canvas{height:292px;margin:0 8px}.studio-brief{font-size:10px;padding:18px 15px 0}
 .catalog-photo-stack{--fan:76px}.catalog-study-card{width:138px;margin:-101px 0 0 -69px;padding:7px 7px 0}.catalog-study-image{height:154px}.catalog-study-card figcaption{height:40px}.catalog-study-card figcaption strong{font-size:10px}
 .orbit-chip{width:32px;height:40px}.studio-narration{padding:0 20px 18px;min-height:118px}.studio-narration .loader-verb{font-size:16px}.studio-narration p{font-size:13px}.styling-studio .loader-steps{padding:15px 20px;font-size:11px;gap:7px 15px}
}
@media(max-width:360px){.catalog-photo-stack{--fan:62px}.catalog-study-card{width:126px;margin-left:-63px}.catalog-study-image{height:148px}}
@media(prefers-reduced-motion:reduce){.styling-studio *{animation:none!important}.orbit-chip{offset-distance:var(--distance,0%)}.catalog-study-card{transform:translateX(var(--still-x)) rotate(var(--still-turn))}.catalog-study-card:first-child{z-index:3}.studio-controls button[aria-pressed]{display:none}}

/* Account visibility must win over the shared inline-flex button styles. */
#signin[hidden],#signout[hidden]{display:none!important}

#signout{color:#b42318}
#signout:hover:not(:disabled){color:#912018;background:#fcebe8}
#signout:active:not(:disabled){background:#f8d9d4}

/* Compact saved-family editor; the styling brief keeps its existing layout. */
#profile-form .family-member{margin:12px 0}
#profile-form .family-member>summary{padding:12px 18px;gap:12px}
#profile-form .member-avatar{width:36px;height:36px;flex-shrink:0}
#profile-form .member-summary strong{font-size:17px}
#profile-form .family-member>summary .member-summary small{display:inline;margin:0;font-size:12px}
#profile-form .member-summary strong{display:block}
#profile-form .member-summary small+small::before{content:' · ';white-space:pre}
#profile-form .person.person-profile{padding:0 18px 14px}
#profile-form .person-heading{position:relative;min-height:44px;padding:0;margin:0;justify-content:flex-end}
#profile-form .person-heading>div{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#profile-form .person-heading button{min-height:44px;padding:8px 0;font-size:13px}
#profile-form .person-section{padding:12px 0 16px}
#profile-form .person-section legend{font-size:14px}
#profile-form .person-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#profile-form .person-grid.size-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
#profile-form .person-grid.fit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#profile-form .fit-grid .full-width{grid-column:span 2}
#profile-form .person-profile label{font-size:13px;margin-bottom:5px}
#profile-form .person-profile input,#profile-form .person-profile select{min-height:44px;padding:9px 10px}
#profile-form .person-profile textarea{min-height:72px;height:72px;padding:9px 10px}
#profile-form .person-section .section-help{font-size:12px;line-height:1.45;margin:0 0 10px}
#profile-form .field-help,#profile-form .details-privacy{font-size:11px;line-height:1.5;margin:8px 0 0}
#profile-form .appearance-fields{margin-top:0}
@media(max-width:800px){
 #profile-form .person-grid,#profile-form .person-grid.size-grid,#profile-form .person-grid.fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #profile-form .fit-grid .full-width{grid-column:1/-1}
 #profile-form .person-profile input,#profile-form .person-profile select,#profile-form .person-profile textarea{font-size:16px}
}
@media(max-width:400px){
 #profile-form .person.person-profile{padding:0 12px 12px}
 #profile-form .family-member>summary{padding:12px}
 #profile-form .person-grid:not(.size-grid){grid-template-columns:1fr}
}

.member-actions{display:flex;align-items:center;gap:18px;margin-left:auto;flex-shrink:0}
.member-actions .quick-outfit{display:flex;flex-direction:column;gap:4px;text-align:left}
.member-actions .quick-outfit label{font-size:12px;font-weight:400;margin:0;color:var(--muted)}
.member-actions .quick-outfit select{width:245px;max-width:100%;min-height:44px;padding:9px 10px;font-size:14px;background:#fffdfa}
@media(max-width:700px){
 .brief-member>summary:has(.quick-outfit){display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px}
 .brief-member>summary:has(.quick-outfit) .member-actions{grid-column:1/-1;width:100%;margin:0;gap:16px}
 .member-actions .quick-outfit{flex:1;min-width:0}
 .member-actions .quick-outfit select{width:100%;font-size:16px}
 .member-actions .member-edit{display:flex;align-items:center;min-height:44px;align-self:flex-end}
}

/* Keep every styling person card as compact as saved profiles. */
.brief-member.brief-member{margin:12px 0}
.brief-member.brief-member>summary{padding:12px 18px;gap:12px}
.brief-member.brief-member .member-avatar{width:36px;height:36px;flex-shrink:0}
.brief-member.brief-member .member-summary strong{font-size:17px}
.brief-member.brief-member>summary .member-summary small{display:inline;margin:0;font-size:12px}
.brief-member.brief-member .member-summary strong{display:block}
.brief-member.brief-member .member-summary small+small::before{content:' · ';white-space:pre}
.brief-member.brief-member .person.person-profile{padding:0 18px 14px}
.brief-member.brief-member .person-heading{position:relative;min-height:44px;padding:0;margin:0;justify-content:flex-end}
.brief-member.brief-member .person-heading>div{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.brief-member.brief-member .person-heading button{min-height:44px;padding:8px 0;font-size:13px}
.brief-member.brief-member .person-section{padding:12px 0 16px}
.brief-member.brief-member .person-section legend{font-size:14px}
.brief-member.brief-member .person-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.brief-member.brief-member .person-grid.size-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.brief-member.brief-member .person-grid.fit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.brief-member.brief-member .fit-grid .full-width{grid-column:span 2}
.brief-member.brief-member .person-profile label{font-size:13px;margin-bottom:5px}
.brief-member.brief-member .person-profile input,.brief-member.brief-member .person-profile select{min-height:44px;padding:9px 10px}
.brief-member.brief-member .person-profile textarea{min-height:72px;height:72px;padding:9px 10px}
.brief-member.brief-member .person-section .section-help{font-size:12px;line-height:1.45;margin:0 0 10px}
.brief-member.brief-member .field-help,.brief-member.brief-member .details-privacy{font-size:11px;line-height:1.5;margin:8px 0 0}
.brief-member.brief-member .appearance-fields{margin-top:0}
@media(max-width:800px){
 .brief-member.brief-member .person-grid,.brief-member.brief-member .person-grid.size-grid,.brief-member.brief-member .person-grid.fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .brief-member.brief-member .fit-grid .full-width{grid-column:1/-1}
 .brief-member.brief-member .person-profile input,.brief-member.brief-member .person-profile select,.brief-member.brief-member .person-profile textarea{font-size:16px}
}
@media(max-width:400px){
 .brief-member.brief-member .person.person-profile{padding:0 12px 12px}
 .brief-member.brief-member>summary{padding:12px}
 .brief-member.brief-member .person-grid:not(.size-grid){grid-template-columns:1fr}
}

.brief-member .optional-badge{display:none}
.brief-member .member-edit{min-height:44px;display:flex;align-items:center}

.choice-match{display:block;color:var(--muted,#73645b);font-size:.75rem;font-weight:600;margin-top:4px}.choice-shortage{font-size:.8rem;line-height:1.5;color:var(--muted,#73645b);margin:0 0 10px}

.image-prompt-panel { min-width: 0; }
.image-prompt-panel h2 { margin: 12px 0; }
.image-prompt-panel textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 220px; font-size: 16px; line-height: 1.5; resize: vertical; }
.image-prompt-panel .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .image-prompt-panel .actions button { flex: 1 1 120px; } }

/* Keep shopping and image-prompt export together at the decision point. */
.look-main-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}
.look-main-actions button{min-height:48px;flex:1 1 auto}
.look-main-actions .image-prompt-action{border:2px solid var(--ink);background:var(--soft);color:var(--ink);font-weight:600}
.look-main-actions .image-prompt-action:hover{background:var(--ink);color:var(--paper)}
@media(max-width:700px){
 .look-main-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
 .look-main-actions button{padding:12px 10px;font-size:14px;line-height:1.3;min-width:0}
 .mobile-review{flex-wrap:wrap;gap:8px;padding-top:8px}
 .mobile-review>div:first-child{display:flex;align-items:baseline;gap:8px;width:100%}
 .mobile-review strong{font-size:16px}
 .mobile-review small{margin:0}
 .mobile-review .look-main-actions button{font-size:14px;padding:10px 8px}
 body:has(.mobile-review) footer{padding-bottom:160px}
 body:has(.mobile-review) #toast{bottom:150px}
 html:has(.mobile-review){scroll-padding-bottom:150px}
}

/* Early access: a public, anonymous two-adult catalog example. */
.ff-early-access{display:inline-block;border:1px solid var(--line,#d9cfc5);border-radius:99px;padding:6px 12px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px}
.ff-example{max-width:1500px;margin:auto;padding:48px 8%;border-top:1px solid var(--line,#d9cfc5)}
.ff-example-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:24px}
.ff-example-heading h2{margin:10px 0 0;font-size:clamp(28px,3vw,42px)}
.ff-example-heading>p{max-width:420px;margin:0;color:var(--muted,#76685f)}
.ff-example-edits{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.ff-example-edits article{min-width:0}.ff-example-edits h3{font-size:16px;margin:0 0 12px}
.ff-example-pieces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ff-example-pieces figure{margin:0;min-width:0}.ff-example-pieces figure>div{background:#f0ece6;border-radius:8px;overflow:hidden;aspect-ratio:3/4}
.ff-example-pieces img{width:100%;height:100%;object-fit:contain;display:block}
.ff-example-pieces figcaption{margin-top:10px;font-size:13px;line-height:1.4}.ff-example-pieces strong{display:block;font-weight:600}.ff-example-pieces small{display:block;color:var(--muted,#76685f);margin-top:3px}
.look-feedback{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;margin-top:16px;border-top:1px solid var(--line,#d9cfc5)}
.look-feedback strong,.look-feedback span{display:block}.look-feedback span{font-size:14px;color:var(--muted,#76685f);margin-top:4px}.look-feedback button{min-height:44px;white-space:nowrap}
@media(max-width:700px){.ff-example{padding:32px 7%}.ff-example-heading{display:block}.ff-example-heading>p{margin-top:14px}.ff-example-edits{grid-template-columns:1fr;gap:24px}.ff-example-pieces{gap:8px}.look-feedback{align-items:start;flex-direction:column;gap:12px}.look-feedback button{width:100%}}

.ff-example-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:start}
.ff-example-scene{margin:0}.ff-example-scene>img{display:block;width:100%;height:auto;border-radius:10px}.ff-example-scene figcaption{font-size:12px;color:var(--muted);line-height:1.5;margin-top:10px}
.ff-example-layout .ff-example-edits{grid-template-columns:1fr;gap:28px}
@media(max-width:850px){.ff-example-layout{grid-template-columns:1fr;gap:24px}.ff-example-scene{max-width:520px;margin:auto}}
