/* LOOKA 2.1 — complete UX simplification: editorial, calm, visual-first */
:root{
  color-scheme:light;
  --bg:#f7f7f3;--paper:#fff;--ink:#191b18;--ink-2:#3b4039;--muted:#73796f;--subtle:#959b91;
  --line:#e7e9e2;--line-strong:#cfd4c9;--accent:#424c3b;--accent-soft:#edf0e9;--accent-2:#b99b72;
  --success:#4e7652;--danger:#a64f4f;--shadow:0 14px 38px rgba(29,34,25,.07);--shadow-sm:0 5px 17px rgba(29,34,25,.045);
  --radius:22px;--font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","Segoe UI",Arial,Roboto,sans-serif;
}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-height:100vh;margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{opacity:.48;cursor:not-allowed}
a{color:inherit}
img{display:block;max-width:100%}
.hidden{display:none!important}
.site-shell{width:min(1160px,calc(100% - 48px));min-height:100vh;margin:0 auto;padding-bottom:40px}
.topbar{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;min-height:78px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:24px;font-weight:760;letter-spacing:-.075em;text-decoration:none}
.brand-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;background:var(--ink);color:#fff;font-family:Georgia,serif;font-size:25px;font-style:italic;font-weight:500;letter-spacing:-.1em}
.brand-dot{color:var(--accent-2)}
.top-actions{display:flex;align-items:center;gap:10px}
.premium-pill{display:inline-flex;align-items:center;gap:9px;min-height:43px;padding:0 17px;border:1px solid var(--line-strong);border-radius:99px;background:transparent;color:var(--ink);font-size:14px;font-weight:680}
.premium-pill span{color:var(--accent-2);font-size:16px}
.account-button{display:grid;width:43px;height:43px;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:17px;font-weight:700}
.account-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
main{min-height:60vh}
/* Landing: one promise, one CTA */
.landing-view{padding:42px 0 38px}
.landing-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr);align-items:center;gap:56px;min-height:460px}
.landing-copy{max-width:560px;padding:10px 0}
.eyebrow{display:block;color:var(--muted);font-size:11px;font-weight:760;letter-spacing:.13em;line-height:1.3;text-transform:uppercase}
h1,h2,h3,p{overflow-wrap:anywhere}
.landing-copy h1{margin:18px 0 17px;font-size:clamp(43px,5vw,66px);font-weight:620;letter-spacing:-.075em;line-height:.98}
.landing-copy h1 em{color:var(--muted);font-family:Georgia,serif;font-weight:400}
.landing-lead{max-width:420px;margin:0 0 25px;color:var(--muted);font-size:19px;line-height:1.42}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 20px;border:1px solid transparent;border-radius:999px;background:#fff;color:var(--ink);font-size:15px;font-weight:690;line-height:1.15;text-align:center;text-decoration:none;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s;-webkit-appearance:none;appearance:none}
.button:active{transform:scale(.985)}
.button-primary{background:var(--ink);color:#fff;box-shadow:0 8px 20px rgba(25,27,24,.12)}
.button-primary:hover{background:#30352e}
.button-soft{border-color:var(--line);background:var(--accent-soft);color:var(--ink)}
.button-quiet{border-color:var(--line);background:#fff;color:var(--ink-2)}
.button-full{width:100%}
.landing-copy>.button{min-width:220px;min-height:56px}
.landing-proof{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.landing-proof span,.review-tags span{padding:7px 11px;border:1px solid var(--line);border-radius:99px;background:rgba(255,255,255,.55);color:var(--muted);font-size:12px;font-weight:580}
.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0;border:0;background:transparent;color:var(--muted);font-size:14px;font-weight:650}
.landing-how{margin-top:13px}
.landing-art{position:relative;min-height:400px;isolation:isolate}
.landing-art-main{position:absolute;inset:0 8% 2% 15%;overflow:hidden;border-radius:5px 100px 5px 5px;background:#e6e7df}
.landing-art-main img{width:100%;height:100%;object-fit:cover;object-position:center 38%}
.landing-art-small{position:absolute;overflow:hidden;border:7px solid var(--bg);background:#e7e6e0;box-shadow:var(--shadow)}
.landing-art-small img{width:100%;height:100%;object-fit:cover}
.landing-art-a{top:9%;left:0;width:31%;height:43%;border-radius:80px 6px 6px 6px}
.landing-art-b{right:0;bottom:0;width:34%;height:43%;border-radius:6px 6px 65px 6px}
.landing-art-label{position:absolute;right:8%;top:3%;padding:9px 13px;border-radius:99px;background:rgba(255,255,255,.92);color:var(--muted);font-size:10px;font-weight:760;letter-spacing:.12em}
.how-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.how-strip article{display:grid;grid-template-columns:32px 1fr;align-content:center;gap:5px 10px;min-height:88px;padding:14px 20px}
.how-strip article+article{border-left:1px solid var(--line)}
.how-strip article>span{grid-row:span 2;color:var(--subtle);font-size:12px;font-weight:760}
.how-strip b{font-size:15px;font-weight:690}.how-strip small{color:var(--muted);font-size:13px}
/* App shell */
.app-view{padding:22px 0 calc(112px + env(safe-area-inset-bottom))}
.welcome-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 27px;padding:0 0 15px;border-bottom:1px solid var(--line)}
.welcome-greeting .eyebrow{font-size:10px}
.welcome-greeting h1{margin:4px 0 0;font-size:24px;font-weight:660;letter-spacing:-.055em;line-height:1.1}
.welcome-meta{display:flex;align-items:center;gap:8px}
.usage-pill{display:flex;align-items:center;gap:8px;min-height:34px;padding:6px 11px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--muted);font-size:12px}
.usage-pill b{color:var(--ink);font-size:12px;font-weight:720}
.market-status{color:var(--muted);font-size:11px}
.market-status.is-ready{color:var(--success)}
.view-panel{min-height:330px;scroll-margin-top:20px}
.home-hub{max-width:930px;margin:0 auto}
.home-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 17px}
.home-heading h2{margin:6px 0 0;font-size:clamp(27px,3vw,36px);font-weight:650;letter-spacing:-.065em;line-height:1.05}
.home-search-card{padding:19px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow-sm)}
.home-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.home-card-heading b{display:block;font-size:17px;font-weight:730;letter-spacing:-.025em}
.home-card-heading small{display:block;margin-top:2px;color:var(--muted);font-size:13px}
.home-icon{display:grid;width:43px;height:43px;place-items:center;border-radius:14px;background:var(--accent-soft);color:var(--accent)}
.home-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.home-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
input,select,textarea{width:100%;min-width:0;min-height:49px;padding:0 14px;border:1px solid var(--line-strong);border-radius:13px;outline:none;background:#fafbf9;color:var(--ink);font-size:16px}
input::placeholder,textarea::placeholder{color:#969c92}
input:focus,select:focus,textarea:focus{border-color:#7e8977;box-shadow:0 0 0 3px rgba(92,108,82,.11)}
.home-search-row .button{min-width:102px}
.home-photo-search{display:flex;align-items:center;gap:10px;min-height:43px;margin-top:10px;padding:5px 3px;color:var(--ink-2);font-size:14px;font-weight:660;cursor:pointer}
.photo-plus{display:grid;width:29px;height:29px;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:19px}
.home-photo-arrow{margin-left:auto;color:var(--muted);font-size:18px}
.home-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}
.home-action-card{position:relative;display:grid;grid-template-columns:132px minmax(0,1fr);align-items:stretch;min-height:166px;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;text-align:left;box-shadow:var(--shadow-sm);transition:transform .18s,border-color .18s,box-shadow .18s}
.home-action-card:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:var(--shadow)}
.home-action-image{display:block;min-height:166px;overflow:hidden;background:#e6e8e1}
.home-action-image img{width:100%;height:100%;min-height:166px;object-fit:cover}
.home-plan-link{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px;color:var(--muted);font-size:12px}
.home-plan-link .text-link-button{min-height:34px;color:var(--ink);font-size:12px}
.home-action-body{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:17px}
.home-action-body b{font-size:18px;font-weight:730;line-height:1.15;letter-spacing:-.045em}
.home-action-body small{color:var(--muted);font-size:14px;line-height:1.35}
.action-cta{display:inline-flex;align-items:center;gap:9px;margin-top:3px;color:var(--accent);font-size:14px;font-weight:740}
.action-cta i{font-style:normal}
.premium-tag{position:absolute;top:10px;left:10px;padding:5px 8px;border-radius:99px;background:rgba(25,27,24,.88);color:#fff;font-size:9px;font-weight:800;letter-spacing:.09em}
/* Builder */
.main-grid{display:grid;grid-template-columns:minmax(0,1fr);max-width:680px;margin:0 auto}
.upload-card{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow-sm)}
.card-intro{display:flex;align-items:center;gap:13px;margin-bottom:17px}
.back-link{display:grid;width:43px;height:43px;flex:0 0 auto;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:20px}
.card-intro h2{margin:4px 0 0;font-size:25px;font-weight:700;letter-spacing:-.06em;line-height:1.05}
.photo-drop{position:relative;display:grid;place-items:center;min-height:250px;overflow:hidden;border:1px dashed #c8cec2;border-radius:18px;background:#f8f8f5;cursor:pointer}
.photo-drop input{position:absolute;width:1px;height:1px;opacity:0}
.drop-hint{display:flex;flex-direction:column;align-items:center;gap:9px;color:var(--ink);text-align:center}
.plus-circle{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:28px}
.drop-hint b{font-size:17px;font-weight:720}.drop-hint small{color:var(--muted);font-size:13px}
.single-preview{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:250px;background:#f6f7f3}
.single-preview img{max-width:100%;max-height:340px;object-fit:contain;padding:10px}
.clear-photo,.style-review-clear{position:absolute;top:12px;right:12px;display:grid;width:39px;height:39px;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:23px;box-shadow:var(--shadow-sm)}
.request-details{margin-top:17px;padding-top:16px;border-top:1px solid var(--line)}
.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.two-fields label,.profile-card>label,.wardrobe-bottom label,.full-field{display:flex;flex-direction:column;gap:7px;color:var(--ink-2);font-size:14px;font-weight:650}
.two-fields select,.wardrobe-bottom select{min-height:49px;background:#fff}
.full-field{margin-top:12px}.full-field input{min-height:49px}
.upload-card .button-full{margin-top:14px}
/* Wardrobe */
.subsection,.results-section{margin-top:23px}
.section-heading,.market-results-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}
.section-heading h2,.market-results-head h2{margin:5px 0 0;font-size:25px;font-weight:700;letter-spacing:-.06em}
.section-heading p,.market-results-head p{margin:5px 0 0;color:var(--muted);font-size:14px}
.wardrobe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.wardrobe-item{position:relative;min-width:0;padding:8px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-sm)}
.wardrobe-item.selected{border-color:#66745e;box-shadow:0 0 0 2px rgba(95,116,86,.12)}
.wardrobe-photo{height:175px;overflow:hidden;border-radius:11px;background:#f0f1ec}
.wardrobe-photo img{width:100%;height:100%;object-fit:cover}
.photo-skeleton{display:grid;place-items:center;height:100%;color:var(--subtle);font-size:23px}
.wardrobe-meta{display:flex;flex-direction:column;gap:4px;padding:9px 2px 3px}
.wardrobe-meta>span{color:var(--muted);font-size:10px;font-weight:760;letter-spacing:.07em;text-transform:uppercase}
.wardrobe-meta>b{overflow:hidden;color:var(--ink);font-size:14px;font-weight:690;text-overflow:ellipsis;white-space:nowrap}
.wardrobe-meta>small{color:var(--muted);font-size:12px}
.select-dot,.remove-wardrobe{position:absolute;z-index:2;top:12px;display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(255,255,255,.96);color:var(--ink);font-size:18px;box-shadow:var(--shadow-sm)}
.select-dot{left:12px}.remove-wardrobe{right:12px}
.wardrobe-bottom{position:sticky;bottom:calc(87px + env(safe-area-inset-bottom));z-index:10;display:flex;align-items:end;gap:10px;margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:var(--shadow);backdrop-filter:blur(14px)}
.wardrobe-bottom label{flex:1;min-width:110px;font-size:12px}
.wardrobe-bottom select{min-height:45px;font-size:14px}
.wardrobe-bottom .button{min-height:47px;white-space:nowrap}
/* Outfit cards: visual hierarchy, optional detail */
.results-section{scroll-margin-top:15px}
.outfit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.outfit-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow-sm)}
.outfit-card-head{padding:17px;background:#f1f2ed}
.look-number{display:inline-block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.1em}
.look-mood{float:right;color:var(--muted);font-size:11px;font-weight:650}
.outfit-card-head h3{margin:8px 0 5px;font-size:22px;font-weight:730;line-height:1.08;letter-spacing:-.055em}
.outfit-card-head p{display:none}
.look-details{margin-top:8px;color:var(--muted);font-size:12px}
.look-details summary,.more-offers summary{cursor:pointer;color:var(--accent);font-weight:680;list-style:none}
.look-details summary::-webkit-details-marker,.more-offers summary::-webkit-details-marker{display:none}
.look-details summary:after,.more-offers summary:after{content:"＋";margin-left:7px;font-weight:700}
.look-details[open] summary:after,.more-offers[open] summary:after{content:"−"}
.look-details p{display:block;margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.outfit-card-head details{margin-top:8px;color:var(--muted);font-size:13px}
.outfit-card-head summary{cursor:pointer;font-weight:650}
.outfit-total{margin-top:10px;padding-top:10px;border-top:1px solid rgba(34,43,32,.1);color:var(--ink-2);font-size:13px;font-weight:740}
.outfit-items{padding:9px 14px 4px}
.outfit-item-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:11px 0;border-bottom:1px solid #eff0eb}
.outfit-item-row.has-owned-photo{grid-template-columns:52px minmax(0,1fr) auto}
.outfit-owned-photo{width:52px;height:58px;grid-row:span 2;overflow:hidden;border-radius:9px;background:#f0f2ed}
.outfit-owned-photo img{width:100%;height:100%;object-fit:cover}
.outfit-item-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.owned-tag{font-size:9px;font-weight:800;letter-spacing:.06em}
.owned-tag.yes{color:#55734e}.owned-tag.buy{color:#8b6a43}
.outfit-item-main>b{font-size:14px;font-weight:700;line-height:1.25}
.outfit-item-main>small{color:var(--muted);font-size:12px;line-height:1.3}
.outfit-item-main p{display:none}
.outfit-item-price{align-self:center;max-width:94px;color:var(--muted);font-size:11px;line-height:1.25;text-align:right}
.estimate-note{color:var(--subtle);font-size:10px;line-height:1.3}
.product-list-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}
.product-list-heading>span{font-size:12px;font-weight:720}.product-list-heading>small{color:var(--muted);font-size:10px;text-align:right}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-bottom:7px}
.more-offers{padding:5px 0 9px;border-top:1px solid var(--line);font-size:12px}
.more-offers .product-grid{margin-top:8px}
.product-card{display:flex;flex-direction:column;gap:5px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;text-decoration:none}
.product-card img,.product-placeholder{width:100%;height:105px;object-fit:cover;border-radius:8px;background:#f0f2ed}
.product-placeholder{display:grid;place-items:center;color:var(--subtle);font-size:23px}
.product-store{color:var(--muted);font-size:10px;font-weight:650}
.product-card b{display:-webkit-box;overflow:hidden;font-size:12px;font-weight:680;line-height:1.3;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.product-card strong{color:var(--ink);font-size:14px;font-weight:780}
.product-card small{display:none}
.best-price-tag{display:inline-flex;align-self:flex-start;padding:4px 6px;border-radius:6px;background:#eaf0e5;color:#4e6948;font-size:9px;font-weight:800;line-height:1.2}
.search-link{display:inline-block;margin:5px 0 8px;color:var(--accent);font-size:12px;font-weight:690}
.outfit-actions{display:flex;flex-wrap:wrap;gap:6px;padding:9px 13px 13px}
.reaction{min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--muted);font-size:12px;font-weight:650}
.reaction:hover{background:var(--accent-soft);color:var(--ink)}
/* Marketplace */
.view-heading{margin:4px 0 18px}
.view-heading h1{margin:5px 0;font-size:34px;font-weight:710;letter-spacing:-.065em;line-height:1.03}
.market-search-panel{max-width:830px;padding:17px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow-sm)}
.market-query-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.market-query-row input{min-height:54px;background:#fafbf9}
.market-query-row .button{min-width:96px}
.market-photo-upload-wrap{margin-top:9px}
.market-photo-upload{display:flex;align-items:center;gap:11px;padding:9px 2px;border-top:1px solid var(--line);cursor:pointer}
.market-photo-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:20px}
.market-photo-upload b{display:block;font-size:14px;font-weight:700}.market-photo-upload small{display:block;margin-top:2px;color:var(--muted);font-size:12px}
.upload-arrow{margin-left:auto;color:var(--muted)}
.market-quota{margin-top:2px;color:var(--muted);font-size:12px}
.market-results-section{margin-top:23px;scroll-margin-top:16px}
.market-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.market-result-grid .product-card{padding:10px;border-radius:15px;box-shadow:var(--shadow-sm)}
.market-result-grid .product-card img,.market-result-grid .product-placeholder{height:180px;border-radius:10px}
.market-result-grid .product-card b{font-size:14px}.market-result-grid .product-card strong{font-size:17px}
.market-result-grid .product-card small{display:block;color:var(--muted);font-size:11px}
.market-scope-note{margin:10px 0;color:var(--muted);font-size:12px;line-height:1.4}
/* Empty, loading and history */
.empty-state,.loading-card{padding:22px;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--muted);font-size:14px;line-height:1.4}
.loading-card{display:flex;min-height:150px;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
.loading-card h3{margin:5px 0 0;color:var(--ink);font-size:18px;font-weight:710}
.loading-card p{margin:0;color:var(--muted);font-size:13px}
.loader-ring,.spinner{width:24px;height:24px;border:2px solid #e2e6dc;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}
.spinner{display:inline-block;width:16px;height:16px;vertical-align:middle;margin-right:8px}
@keyframes spin{to{transform:rotate(360deg)}}
.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.history-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}
.history-card h3{margin:7px 0 4px;font-size:18px;font-weight:720}.history-card p{display:none}
.history-card .button{min-height:42px;font-size:13px}
/* Premium review */
.review-hero{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;gap:18px;margin-bottom:14px;padding:17px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.review-hero h1{margin:6px 0 0;font-size:30px;font-weight:710;letter-spacing:-.065em;line-height:1.02}
.review-hero p{display:none}
.review-hero-photo{height:130px;overflow:hidden;border-radius:12px;background:#eceee9}
.review-hero-photo img{width:100%;height:100%;object-fit:cover}
.review-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}
.review-tags span{padding:5px 9px;font-size:11px}
.style-review-layout{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:start;gap:14px}
.style-review-upload-card{padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.style-review-drop{position:relative;display:flex;min-height:170px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:17px;border:1px dashed var(--line-strong);border-radius:13px;background:#f8f9f6;text-align:center;cursor:pointer}
.style-review-plus{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:22px}
.style-review-drop b{font-size:15px;font-weight:710}.style-review-drop small{color:var(--muted);font-size:12px}
.style-review-preview{position:relative;margin-top:9px;overflow:hidden;border-radius:12px;background:#f0f2ed}
.style-review-preview img{width:100%;max-height:300px;object-fit:contain}
.style-review-upload-card .button{margin-top:10px}
.style-review-limit{margin-top:9px;color:var(--muted);font-size:12px;text-align:center}
.style-review-results{padding:16px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-sm)}
.style-review-result-head h2{margin:6px 0;font-size:22px;font-weight:710}.style-review-result-head p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.4}
.style-review-result-section{padding:11px 0;border-top:1px solid var(--line)}
.style-review-result-title{display:flex;align-items:center;gap:8px}.style-review-result-title span{display:grid;width:27px;height:27px;place-items:center;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-size:13px}
.style-review-result-title h3{margin:0;font-size:15px;font-weight:720}
.style-review-result-section ul{margin:7px 0 0;padding-left:18px;color:var(--muted);font-size:13px;line-height:1.4}
.style-review-result-section li+li{margin-top:3px}
.style-review-next-look{margin-top:11px;padding:12px;border-radius:12px;background:var(--accent-soft)}
.style-review-next-look span{font-size:10px;font-weight:800;letter-spacing:.09em;color:var(--accent)}
.style-review-next-look p{margin:5px 0 0;font-size:14px;line-height:1.4}
.style-review-disclaimer{display:block;margin-top:10px;color:var(--subtle);font-size:11px;line-height:1.4}
.style-review-loading{display:flex;flex-direction:column;align-items:center;gap:9px;padding:19px;text-align:center}
.style-review-loading h3{margin:0;font-size:18px}.style-review-loading p{margin:0;color:var(--muted);font-size:13px}
/* Profile and pricing */
.profile-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:700px;padding:19px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow-sm)}
.profile-card>label{font-size:13px}.profile-card>label input,.profile-card>label select{min-height:48px}
.profile-card>label.full-field{grid-column:1/-1}
.profile-actions{display:flex;gap:9px;grid-column:1/-1;padding-top:5px}
.pricing-view-heading{max-width:650px}
.pricing-view-heading h1{font-size:clamp(31px,4vw,43px)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.plan-card{display:flex;flex-direction:column;min-width:0;padding:19px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow-sm)}
.plan-card.featured{border-color:#66745e;box-shadow:0 9px 28px rgba(55,68,48,.11)}
.plan-badge{align-self:flex-start;padding:5px 9px;border-radius:99px;background:var(--accent-soft);color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.08em}
.plan-card h3{margin:13px 0 3px;font-size:22px;font-weight:740;letter-spacing:-.06em}
.plan-tagline{min-height:37px;margin:0;color:var(--muted);font-size:13px;line-height:1.4}
.plan-price{margin:14px 0 2px;font-size:31px;font-weight:770;letter-spacing:-.07em}
.plan-duration{margin:0;color:var(--muted);font-size:12px}
.plan-value{display:grid;gap:9px;margin:17px 0 18px;padding-top:14px;border-top:1px solid var(--line)}
.plan-value span{display:flex;align-items:flex-start;gap:8px;color:var(--ink-2);font-size:13px;line-height:1.35}
.plan-value span:before{content:"✓";color:var(--success);font-weight:800}
.plan-card .button{margin-top:auto}
.pricing-footnote{max-width:740px;margin:14px 0;color:var(--muted);font-size:12px;line-height:1.4}
.paywall-plans{display:grid;gap:9px;margin:15px 0}
.paywall-plans .plan-card{padding:14px}
/* Footer, bottom navigation, dialogs */
.is-app .footer{display:none}
.footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0 105px;border-top:1px solid var(--line)}
.brand-small{font-size:17px}.brand-small .brand-mark{width:28px;height:28px;border-radius:9px;font-size:19px}
.footer>div{display:flex;gap:15px}.footer a:not(.brand){color:var(--muted);font-size:12px;text-decoration:none}
.bottom-nav{position:fixed;left:50%;bottom:calc(13px + env(safe-area-inset-bottom));z-index:1000;display:flex;width:min(620px,calc(100% - 40px));min-height:68px;align-items:center;justify-content:space-around;gap:4px;padding:7px 10px;transform:translateX(-50%);border:1px solid rgba(224,227,218,.95);border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 10px 35px rgba(20,25,18,.13);backdrop-filter:blur(20px)}
.bottom-tab{display:flex;min-width:0;min-height:52px;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:4px 6px;border:0;border-radius:15px;background:transparent;color:#92978e;font-size:11px;font-weight:650;white-space:nowrap}
.bottom-tab svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.bottom-tab.active{background:var(--accent-soft);color:var(--ink)}
.bottom-tab.active svg{stroke-width:2.2}
.overlay{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;overflow-y:auto;padding:20px;background:rgba(18,21,17,.48);backdrop-filter:blur(8px)}
.modal{position:relative;width:min(460px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:27px;border:1px solid rgba(255,255,255,.7);border-radius:24px;background:#fff;box-shadow:0 26px 80px rgba(0,0,0,.19)}
.modal-close{position:absolute;top:15px;right:15px;display:grid;width:39px;height:39px;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--muted);font-size:24px}
.modal-kicker{margin-bottom:8px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.14em}
.modal h2{margin:0 42px 8px 0;font-size:27px;font-weight:740;letter-spacing:-.065em;line-height:1.05}
.modal>p{margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.4}
.auth-modal form{display:grid;gap:12px}
.auth-modal form>label,.auth-modal form>div>label{display:flex;flex-direction:column;gap:6px;color:var(--ink-2);font-size:13px;font-weight:650}
.auth-modal input{min-height:48px}
.consent-checks{display:grid;gap:9px;margin:13px 0;color:var(--muted);font-size:12px}
.consent-checks label{display:flex;align-items:flex-start;gap:8px}
.consent-checks input{width:16px;min-height:16px;margin:1px 0 0;accent-color:var(--accent)}
.consent-checks a{color:var(--ink);font-weight:650}
.auth-modal #authSwitch{width:100%;margin-top:10px}
.auth-platform-hint{margin:0 0 12px;padding:10px 12px;border-radius:11px;background:#f5f2e9;color:#6d6043;font-size:12px;line-height:1.35}
.error-text{padding:10px 12px;border-radius:10px;background:#fff0ef;color:var(--danger);font-size:13px;line-height:1.35}
.paywall-modal{width:min(520px,100%)}
.payment-help{margin-top:10px;color:var(--muted);font-size:11px;text-align:center}
.toast{position:fixed;left:50%;bottom:calc(95px + env(safe-area-inset-bottom));z-index:3000;max-width:min(520px,calc(100% - 32px));padding:12px 17px;transform:translate(-50%,18px);border-radius:14px;background:#20231e;color:#fff;font-size:14px;line-height:1.35;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:var(--shadow)}
.toast.show{transform:translate(-50%,0);opacity:1}
.boot-error{position:fixed;left:12px;right:12px;top:calc(12px + env(safe-area-inset-top));z-index:4000;padding:12px 14px;border:1px solid #e7d1c9;border-radius:13px;background:#fff7f4;color:#7b3f31;font-size:13px;line-height:1.4;box-shadow:var(--shadow)}
/* Responsive */
@media(max-width:900px){
  .site-shell{width:min(100% - 36px,760px)}
  .landing-hero{grid-template-columns:1fr 1fr;gap:24px;min-height:385px}
  .landing-art{min-height:340px}
  .outfit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .market-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  body{font-size:16px}
  .site-shell{width:calc(100% - 28px)}
  .topbar{min-height:64px}
  .brand{gap:8px;font-size:22px}.brand-mark{width:34px;height:34px;font-size:22px}
  .premium-pill{min-height:39px;padding:0 12px;font-size:13px}.account-button{width:39px;height:39px}
  .landing-view{padding:25px 0 20px}
  .landing-hero{display:flex;flex-direction:column;align-items:stretch;gap:20px;min-height:0}
  .landing-copy{padding:4px 0 0}
  .landing-copy h1{margin:13px 0;font-size:clamp(39px,11vw,53px)}
  .landing-lead{margin-bottom:18px;font-size:17px}
  .landing-copy>.button{width:100%;min-height:54px}
  .landing-proof{gap:6px;margin-top:15px}.landing-proof span{padding:6px 9px;font-size:11px}
  .landing-art{min-height:275px;margin:0 2px}
  .landing-art-main{inset:0 7% 3% 13%}
  .landing-art-a{width:30%;height:40%}.landing-art-b{width:32%;height:40%}
  .landing-art-label{font-size:8px}
  .how-strip{margin-top:18px}
  .how-strip article{grid-template-columns:23px 1fr;min-height:72px;gap:3px 7px;padding:10px 7px}
  .how-strip b{font-size:13px}.how-strip small{font-size:11px;line-height:1.25}
  .app-view{padding:15px 0 calc(105px + env(safe-area-inset-bottom))}
  .welcome-bar{margin-bottom:17px;padding-bottom:11px}
  .welcome-greeting .eyebrow{font-size:9px}.welcome-greeting h1{font-size:22px}
  .usage-pill{min-height:31px;padding:5px 8px;font-size:10px}.usage-pill b{font-size:11px}
  .home-heading{margin-bottom:12px}.home-heading h2{font-size:27px}
  .home-search-card{padding:14px;border-radius:18px}
  .home-card-heading{margin-bottom:10px}.home-card-heading b{font-size:16px}.home-card-heading small{font-size:12px}
  .home-search-row{grid-template-columns:minmax(0,1fr) 86px;gap:7px}
  input,select,textarea{min-height:48px;padding:0 12px;font-size:16px}
  .home-search-row .button{min-width:0;padding:0 10px;font-size:14px}
  .home-photo-search{min-height:39px;margin-top:5px;font-size:13px}
  .home-action-grid{grid-template-columns:1fr;gap:10px;margin-top:10px}
  .home-action-card{grid-template-columns:112px minmax(0,1fr);min-height:128px;border-radius:17px}
  .home-action-image,.home-action-image img{min-height:128px}
  .home-action-body{gap:6px;padding:12px}
  .home-action-body b{font-size:16px}.home-action-body small{font-size:13px}
  .action-cta{font-size:13px}
  .upload-card{padding:14px;border-radius:18px}
  .card-intro{margin-bottom:12px}.card-intro h2{font-size:23px}
  .photo-drop,.single-preview{min-height:220px}
  .two-fields{grid-template-columns:1fr;gap:10px}
  .request-details{margin-top:13px;padding-top:13px}
  .wardrobe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .wardrobe-photo{height:155px}
  .wardrobe-bottom{position:sticky;bottom:calc(82px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px;padding:10px}
  .wardrobe-bottom label{min-width:calc(50% - 5px);font-size:11px}
  .wardrobe-bottom .button{width:100%;min-height:48px}
  .section-heading h2,.market-results-head h2{font-size:23px}
  .outfit-grid{grid-template-columns:1fr;gap:12px}
  .outfit-card-head{padding:15px}.outfit-card-head h3{font-size:21px}
  .outfit-items{padding:7px 12px 3px}
  .outfit-item-row{padding:9px 0}
  .outfit-actions{padding:8px 12px 12px}
  .market-search-panel{padding:13px;border-radius:18px}
  .market-query-row{grid-template-columns:minmax(0,1fr) 82px;gap:7px}
  .market-query-row .button{min-width:0;padding:0 9px}
  .market-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .market-result-grid .product-card{padding:8px}.market-result-grid .product-card img,.market-result-grid .product-placeholder{height:145px}
  .market-result-grid .product-card b{font-size:13px}
  .view-heading h1{font-size:30px}
  .review-hero{grid-template-columns:minmax(0,1fr) 96px;gap:10px;padding:13px;border-radius:18px}
  .review-hero h1{font-size:24px}.review-hero-photo{height:100px}
  .review-tags{gap:4px;margin-top:8px}.review-tags span{padding:4px 7px;font-size:10px}
  .style-review-layout{grid-template-columns:1fr;gap:10px}
  .style-review-drop{min-height:150px}
  .profile-card{grid-template-columns:1fr;gap:11px;padding:14px}
  .profile-card>label.full-field{grid-column:auto}.profile-actions{grid-column:auto}
  .pricing-grid{grid-template-columns:1fr;gap:10px}
  .plan-card{padding:16px}.plan-tagline{min-height:0}
  .footer{padding-bottom:110px}
  .bottom-nav{left:0;right:0;bottom:0;width:100%;min-height:calc(70px + env(safe-area-inset-bottom));justify-content:space-around;padding:6px 5px calc(6px + env(safe-area-inset-bottom));transform:none;border-right:0;border-bottom:0;border-left:0;border-radius:17px 17px 0 0;background:rgba(255,255,255,.97);box-shadow:0 -6px 24px rgba(20,25,18,.08)}
  .bottom-tab{min-height:53px;gap:3px;padding:4px 3px;border-radius:12px;font-size:11px}
  .bottom-tab svg{width:21px;height:21px}
  .toast{bottom:calc(84px + env(safe-area-inset-bottom))}
  .modal{padding:23px 19px;border-radius:21px}
  .modal h2{font-size:24px}
}
@media(max-width:370px){
  .site-shell{width:calc(100% - 22px)}
  .bottom-tab{font-size:10px}
  .bottom-tab svg{width:19px;height:19px}
  .landing-copy h1{font-size:38px}
  .home-action-card{grid-template-columns:98px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* LOOKA 2.3 — quiet luxury visual system, readability-first.
   Keeps V2.2 navigation, layout, flows, auth and payment behavior unchanged. */
:root{
  color-scheme:light;
  --bg:#f7f6f2;
  --paper:#ffffff;
  --ink:#171715;
  --ink-2:#45433f;
  --muted:#68655f;
  --subtle:#85817a;
  --line:#e8e5df;
  --line-strong:#d4cfc6;
  --accent:#6c3542;
  --accent-soft:#f4eaec;
  --accent-2:#a58b66;
  --success:#386b4a;
  --danger:#a33b3b;
  --shadow:0 12px 32px rgba(30,26,22,.055);
  --shadow-sm:0 3px 12px rgba(30,26,22,.035);
  --radius:17px;
  --font:"Manrope",-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","Segoe UI",Arial,Roboto,sans-serif;
  --font-display:"Cormorant Garamond","Iowan Old Style",Baskerville,Georgia,serif;
}
html{scroll-behavior:smooth}
body{
  background:var(--bg);color:var(--ink);font-family:var(--font);
  font-size:16.5px;line-height:1.55;letter-spacing:-.012em;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
button,input,select,textarea{font-family:var(--font);font-size:16px;letter-spacing:inherit}
button{font-weight:650}
:focus-visible{outline:3px solid rgba(108,53,66,.32);outline-offset:3px}
.site-shell{width:min(1200px,calc(100% - 56px));padding-bottom:44px}
.topbar{min-height:82px;border-color:var(--line)}
.brand{gap:11px;font-family:var(--font);font-size:25px;font-weight:700;letter-spacing:-.065em}
.brand-mark{width:39px;height:39px;border-radius:9px;background:var(--ink);font-size:25px}
.brand-dot{color:var(--accent)}
.top-actions{gap:12px}
.premium-pill{min-height:46px;padding:0 17px;border-color:var(--line-strong);border-radius:11px;background:var(--paper);font-size:14px;font-weight:700}
.premium-pill span{color:var(--accent-2)}
.account-button{width:44px;height:44px;border-color:var(--line);background:var(--paper)}
.eyebrow{color:#77716a;font-size:12px;font-weight:700;letter-spacing:.105em;line-height:1.4}
h1,h2,h3,p{overflow-wrap:break-word}
.landing-view{padding:46px 0 42px}
.landing-hero{min-height:500px;gap:64px}
.landing-copy{max-width:590px}
.landing-copy h1{
  margin:22px 0 20px;font-family:var(--font-display);font-size:clamp(54px,6vw,78px);
  font-weight:600;letter-spacing:-.045em;line-height:.91;
}
.landing-copy h1 em{color:var(--accent);font-family:var(--font-display);font-weight:500}
.landing-lead{max-width:450px;margin-bottom:28px;color:var(--muted);font-size:18px;line-height:1.58}
.button{
  min-height:52px;padding:0 22px;border:1px solid transparent;border-radius:11px;
  background:var(--paper);font-family:var(--font);font-size:15.5px;font-weight:700;
  line-height:1.2;letter-spacing:-.01em;box-shadow:none;
  transition:background .18s,border-color .18s,transform .18s,box-shadow .18s;
}
.button-primary{background:var(--ink);color:#fff;box-shadow:0 3px 9px rgba(23,23,21,.09)}
.button-primary:hover{background:#302b29}
.button-soft{border-color:#e7dadd;background:var(--accent-soft);color:var(--accent)}
.button-quiet{border-color:var(--line);background:var(--paper);color:var(--ink-2)}
.button:disabled{opacity:.56}
.landing-copy>.button{min-height:58px;min-width:235px}
.landing-proof{gap:9px;margin-top:25px}
.landing-proof span,.review-tags span{padding:8px 12px;border-color:var(--line);border-radius:8px;background:rgba(255,255,255,.72);color:var(--ink-2);font-size:13px;font-weight:600}
.text-button{min-height:42px;color:var(--ink-2);font-size:14px;font-weight:650}
.landing-art{min-height:430px}
.landing-art-main{inset:0 8% 2% 15%;border-radius:3px 88px 3px 3px;background:#e5e0d9}
.landing-art-small{border:6px solid var(--bg);box-shadow:0 8px 24px rgba(30,26,22,.09)}
.landing-art-a{border-radius:66px 3px 3px 3px}
.landing-art-b{border-radius:3px 3px 52px 3px}
.landing-art-label{padding:9px 12px;border:1px solid rgba(232,229,223,.8);border-radius:7px;background:rgba(255,255,255,.94);color:var(--ink-2);font-size:11px;font-weight:700;letter-spacing:.09em}
.how-strip{margin-top:30px;border-color:var(--line)}
.how-strip article{min-height:96px;padding:16px 22px;gap:6px 12px}
.how-strip article>span{color:var(--accent);font-size:13px}
.how-strip b{font-size:16px;font-weight:700}.how-strip small{color:var(--muted);font-size:14px;line-height:1.45}
/* App shell and content rhythm */
.app-view{padding:25px 0 calc(118px + env(safe-area-inset-bottom))}
.welcome-bar{margin-bottom:28px;padding-bottom:17px;border-color:var(--line)}
.welcome-greeting .eyebrow{font-size:11px}
.welcome-greeting h1{font-family:var(--font-display);font-size:31px;font-weight:600;letter-spacing:-.025em;line-height:1.02}
.usage-pill{min-height:37px;padding:7px 12px;border-color:var(--line);border-radius:9px;font-size:13px}
.usage-pill b{font-size:13px}
.market-status{font-size:13px}
.home-hub{max-width:980px}
.home-heading{margin-bottom:19px}
.home-heading h2{font-family:var(--font-display);font-size:clamp(34px,4vw,44px);font-weight:600;letter-spacing:-.035em;line-height:1.02}
.home-search-card{padding:22px;border-color:var(--line);border-radius:16px;box-shadow:var(--shadow-sm)}
.home-card-heading{gap:13px;margin-bottom:15px}
.home-card-heading b{font-size:19px;font-weight:750;letter-spacing:-.025em}
.home-card-heading small{font-size:15px;line-height:1.45}
.home-icon{width:46px;height:46px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}
.home-icon svg{width:22px;height:22px}
.home-search-row{gap:10px}
input,select,textarea{
  min-height:54px;padding:0 16px;border:1px solid var(--line-strong);border-radius:10px;
  background:#fff;color:var(--ink);font-size:16px;line-height:1.35;
}
input::placeholder,textarea::placeholder{color:#858078;opacity:1}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(108,53,66,.10)}
.home-search-row .button{min-width:112px}
.home-photo-search{min-height:47px;margin-top:11px;font-size:15px;font-weight:650}
.photo-plus{width:32px;height:32px;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-size:20px}
.home-action-grid{gap:16px;margin-top:17px}
.home-action-card{grid-template-columns:140px minmax(0,1fr);min-height:176px;border-color:var(--line);border-radius:16px;box-shadow:var(--shadow-sm)}
.home-action-card:hover{border-color:#c9b7b9;box-shadow:var(--shadow)}
.home-action-image,.home-action-image img{min-height:176px}
.home-action-body{gap:9px;padding:19px}
.home-action-body b{font-size:20px;font-weight:750;letter-spacing:-.035em;line-height:1.18}
.home-action-body small{color:var(--muted);font-size:15px;line-height:1.45}
.action-cta{font-size:15px;font-weight:750;color:var(--accent)}
.premium-tag{top:12px;left:12px;padding:6px 9px;border-radius:6px;background:rgba(23,23,21,.9);font-size:10px;letter-spacing:.085em}
.home-plan-link{margin-top:13px;font-size:13px}
.home-plan-link .text-link-button{font-size:14px}
/* Forms and upload */
.upload-card,.style-review-upload-card,.profile-card,.market-search-panel{
  border-color:var(--line);border-radius:16px;background:var(--paper);box-shadow:var(--shadow-sm)
}
.upload-card{padding:22px}
.card-intro{gap:14px;margin-bottom:19px}
.card-intro h2{font-family:var(--font-display);font-size:32px;font-weight:600;letter-spacing:-.025em;line-height:1}
.back-link{width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:21px}
.photo-drop{min-height:270px;border:1px dashed #cfc6bb;border-radius:13px;background:#faf9f6}
.drop-hint b{font-size:17px;font-weight:700}
.drop-hint small{color:var(--muted);font-size:14px;line-height:1.45}
.plus-circle{width:50px;height:50px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}
.request-details{margin-top:17px;padding-top:17px;border-color:var(--line)}
.request-details label,.two-fields label,.wardrobe-bottom label,.profile-card>label{color:var(--ink-2);font-size:14px;font-weight:650;line-height:1.4}
.request-details input,.request-details select,.two-fields select{margin-top:7px}
.request-details .button{margin-top:15px}
/* Sections, cards, product data */
.view-heading{margin:6px 0 22px}
.view-heading h1{margin:6px 0;font-family:var(--font-display);font-size:clamp(38px,4vw,48px);font-weight:600;letter-spacing:-.035em;line-height:1}
.section-heading,.market-results-head{gap:15px;margin-bottom:17px}
.section-heading h2,.market-results-head h2{font-family:var(--font-display);font-size:31px;font-weight:600;letter-spacing:-.025em;line-height:1.05}
.section-heading p,.market-results-head p{color:var(--muted);font-size:15px;line-height:1.45}
.wardrobe-grid{gap:14px}
.wardrobe-item{padding:9px;border-color:var(--line);border-radius:13px;box-shadow:none}
.wardrobe-item.selected{border-color:var(--accent);box-shadow:0 0 0 2px rgba(108,53,66,.11)}
.wardrobe-photo{height:190px;border-radius:8px;background:#f0eee9}
.wardrobe-meta{gap:5px;padding:10px 3px 4px}
.wardrobe-meta>span{font-size:12px;letter-spacing:.045em}
.wardrobe-meta>b{font-size:15px;font-weight:700}
.wardrobe-meta>small{font-size:13px}
.wardrobe-bottom{border-color:var(--line);border-radius:13px;background:rgba(255,255,255,.97);box-shadow:var(--shadow)}
.wardrobe-bottom label{font-size:13px}
.wardrobe-bottom select{min-height:49px;font-size:15px}
.outfit-grid{gap:17px}
.outfit-card{border-color:var(--line);border-radius:15px;box-shadow:var(--shadow-sm)}
.outfit-card-head{padding:19px;background:#f4f1ec}
.outfit-card-head h3{margin:9px 0 6px;font-family:var(--font-display);font-size:27px;font-weight:600;letter-spacing:-.025em;line-height:1.05}
.outfit-total{font-size:14px}
.outfit-items{padding:10px 16px 5px}
.outfit-item-row{gap:7px 10px;padding:13px 0;border-color:var(--line)}
.outfit-owned-photo{width:56px;height:62px;border-radius:8px}
.outfit-item-main>b{font-size:15px;font-weight:700;line-height:1.35}
.outfit-item-main>small{font-size:13px;line-height:1.4}
.outfit-item-price{font-size:13px;line-height:1.35}
.outfit-actions{gap:8px;padding:11px 15px 15px}
.outfit-actions .button{min-height:43px;padding:0 13px;font-size:14px}
/* Search products are readable; product details remain visually primary. */
.market-search-panel{max-width:900px;padding:20px}
.market-query-row{gap:10px}
.market-query-row input{min-height:56px;background:#fff}
.market-query-row .button{min-width:110px}
.market-photo-upload{gap:13px;padding:12px 2px}
.market-photo-icon{width:38px;height:38px;border-radius:10px;background:var(--accent-soft);color:var(--accent)}
.market-photo-upload b{font-size:15px;font-weight:700}
.market-photo-upload small{font-size:13px;line-height:1.4}
.market-quota{font-size:13px}
.market-results-section{margin-top:28px}
.market-result-grid{gap:15px}
.market-result-grid .product-card,.product-card{gap:8px;padding:10px;border-color:var(--line);border-radius:13px;box-shadow:none}
.market-result-grid .product-card img,.market-result-grid .product-placeholder,.product-card img,.product-placeholder{height:210px;border-radius:8px;background:#f0eee9}
.market-result-grid .product-card b,.product-card b{font-size:15px;font-weight:700;line-height:1.4}
.market-result-grid .product-card strong,.product-card strong{font-size:18px;font-weight:750;letter-spacing:-.02em}
.market-result-grid .product-card small,.product-card small{display:block;color:var(--muted);font-size:13px;line-height:1.4}
.market-scope-note{font-size:13px;line-height:1.5}
/* History, personal style and premium analysis */
.history-grid{gap:15px}
.history-card{padding:17px;border-color:var(--line);border-radius:13px;box-shadow:none}
.history-card h3{font-family:var(--font-display);font-size:23px;font-weight:600;letter-spacing:-.02em}
.history-card .button{min-height:44px;font-size:14px}
.review-hero{gap:20px;margin-bottom:17px;padding:19px;border-color:var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow-sm)}
.review-hero h1{font-family:var(--font-display);font-size:36px;font-weight:600;letter-spacing:-.025em;line-height:1}
.review-hero-photo{border-radius:9px}
.review-tags{gap:7px;margin-top:13px}
.review-tags span{padding:7px 10px;border-radius:7px;font-size:12px}
.style-review-layout{gap:18px}
.style-review-upload-card{padding:17px}
.style-review-drop{min-height:190px;gap:10px;border-color:#d4c9bd;border-radius:11px;background:#faf9f6}
.style-review-plus{width:48px;height:48px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:24px}
.style-review-drop b{font-size:16px;font-weight:700}
.style-review-drop small{font-size:13px;line-height:1.45}
.style-review-results{padding:20px;border-color:var(--line);border-radius:14px;box-shadow:var(--shadow-sm)}
.style-review-result-head h2{font-family:var(--font-display);font-size:29px;font-weight:600;letter-spacing:-.02em}
.style-review-result-head p{font-size:15px;line-height:1.5}
.style-review-result-section{padding:14px 0;border-color:var(--line)}
.style-review-result-title span{width:32px;height:32px;border-radius:9px;background:var(--accent-soft);color:var(--accent)}
.style-review-result-title h3{font-size:17px;font-weight:700}
.style-review-result-section ul{margin-top:9px;color:var(--ink-2);font-size:14px;line-height:1.55}
.style-review-result-section li+li{margin-top:5px}
.style-review-next-look{margin-top:14px;padding:15px;border-radius:10px;background:var(--accent-soft)}
.style-review-next-look span{font-size:11px;color:var(--accent)}
.style-review-next-look p{font-size:15px;line-height:1.5}
.style-review-disclaimer{font-size:12px;line-height:1.5}
.style-review-loading{padding:24px}
.style-review-loading h3{font-family:var(--font-display);font-size:24px;font-weight:600}
.style-review-loading p{font-size:14px;line-height:1.5}
.profile-card{gap:15px;max-width:760px;padding:22px}
.profile-card>label{font-size:14px}
.profile-card>label input,.profile-card>label select{min-height:53px}
.profile-actions{gap:11px}
/* Membership: make the difference legible, not shouty. */
.pricing-view-heading h1{font-family:var(--font-display);font-weight:600;letter-spacing:-.025em}
.pricing-grid{gap:16px}
.plan-card{padding:22px;border-color:var(--line);border-radius:15px;box-shadow:var(--shadow-sm)}
.plan-card.featured{border-color:#bfa7aa;box-shadow:0 8px 27px rgba(70,35,44,.08)}
.plan-card h3{font-family:var(--font-display);font-size:29px;font-weight:600;letter-spacing:-.02em}
.plan-value span{font-size:14px;line-height:1.5}
.pricing-footnote{font-size:13px;line-height:1.5}
.paywall-plans{gap:11px}
.paywall-plans .plan-card{padding:17px}
/* Persistent bottom navigation: clear selected state and larger labels. */
.bottom-nav{
  width:min(660px,calc(100% - 40px));min-height:72px;padding:8px 11px;gap:5px;
  border:1px solid rgba(222,216,207,.96);border-radius:17px;background:rgba(255,255,255,.97);
  box-shadow:0 8px 28px rgba(30,26,22,.10);backdrop-filter:blur(18px);
}
.bottom-tab{min-height:54px;gap:4px;padding:5px 7px;border-radius:10px;color:#716d66;font-size:13px;font-weight:650}
.bottom-tab svg{width:22px;height:22px}
.bottom-tab.active{background:var(--accent-soft);color:var(--accent)}
.bottom-tab.active svg{stroke-width:2.05}
/* Dialogs and feedback */
.overlay{background:rgba(20,18,17,.52);backdrop-filter:blur(9px)}
.modal{padding:30px;border-color:var(--line);border-radius:17px;box-shadow:0 24px 70px rgba(18,17,16,.18)}
.modal-close{width:41px;height:41px;border-radius:10px;background:#fff;color:var(--ink)}
.modal-kicker{font-size:11px;letter-spacing:.11em}
.modal h2{font-family:var(--font-display);font-size:33px;font-weight:600;letter-spacing:-.02em;line-height:1.02}
.modal>p{color:var(--muted);font-size:15px;line-height:1.5}
.auth-modal form>label,.auth-modal form>div>label{font-size:14px;font-weight:650}
.auth-modal input{min-height:53px}
.consent-checks{font-size:13px;line-height:1.5}
.auth-platform-hint{padding:12px 14px;border-radius:9px;font-size:13px;line-height:1.5}
.error-text{padding:12px 14px;border-radius:9px;font-size:14px;line-height:1.5}
.payment-help{font-size:13px}
.toast{border-radius:10px;font-size:15px;line-height:1.45}
.boot-error{font-size:14px;line-height:1.5}
.footer a:not(.brand){font-size:13px}
/* Mobile: keep tap targets, text and bottom tabs comfortable. */
@media(max-width:900px){
  .site-shell{width:min(100% - 40px,760px)}
  .landing-hero{gap:30px}
  .landing-art{min-height:360px}
  .market-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  body{font-size:16px;line-height:1.52}
  .site-shell{width:calc(100% - 30px);padding-bottom:18px}
  .topbar{min-height:68px}
  .brand{gap:9px;font-size:23px}.brand-mark{width:35px;height:35px;font-size:23px}
  .premium-pill{min-height:42px;padding:0 13px;font-size:14px}
  .account-button{width:41px;height:41px}
  .landing-view{padding:28px 0 25px}
  .landing-hero{gap:22px}
  .landing-copy h1{margin:16px 0 15px;font-size:clamp(49px,12vw,62px);line-height:.92}
  .landing-lead{margin-bottom:20px;font-size:17px;line-height:1.55}
  .landing-copy>.button{min-height:56px}
  .landing-proof{gap:7px;margin-top:18px}
  .landing-proof span{padding:7px 10px;font-size:12px}
  .landing-art{min-height:285px;margin:0 1px}
  .landing-art-main{inset:0 7% 3% 13%;border-top-right-radius:68px}
  .landing-art-label{font-size:10px}
  .how-strip{margin-top:20px}
  .how-strip article{grid-template-columns:22px 1fr;min-height:82px;gap:4px 7px;padding:11px 8px}
  .how-strip article>span{font-size:12px}
  .how-strip b{font-size:14px}.how-strip small{font-size:12px;line-height:1.35}
  .app-view{padding:18px 0 calc(110px + env(safe-area-inset-bottom))}
  .welcome-bar{gap:9px;margin-bottom:19px;padding-bottom:13px}
  .welcome-greeting .eyebrow{font-size:10px}
  .welcome-greeting h1{font-size:28px}
  .welcome-meta{gap:5px}
  .usage-pill{min-height:34px;padding:6px 9px;font-size:12px}
  .usage-pill b{font-size:12px}
  .home-heading{margin-bottom:14px}
  .home-heading h2{font-size:35px;line-height:1}
  .home-search-card{padding:16px;border-radius:13px}
  .home-card-heading{gap:11px;margin-bottom:12px}
  .home-card-heading b{font-size:18px}
  .home-card-heading small{font-size:14px}
  .home-search-row{grid-template-columns:minmax(0,1fr) 92px;gap:8px}
  input,select,textarea{min-height:52px;padding:0 13px;font-size:16px}
  .home-search-row .button{min-width:0;padding:0 11px;font-size:14px}
  .home-photo-search{min-height:44px;font-size:14px}
  .home-action-grid{grid-template-columns:1fr;gap:11px;margin-top:12px}
  .home-action-card{grid-template-columns:116px minmax(0,1fr);min-height:136px;border-radius:13px}
  .home-action-image,.home-action-image img{min-height:136px}
  .home-action-body{gap:7px;padding:14px}
  .home-action-body b{font-size:18px}
  .home-action-body small{font-size:14px;line-height:1.4}
  .action-cta{font-size:14px}
  .home-plan-link{font-size:13px}
  .upload-card{padding:16px;border-radius:14px}
  .card-intro h2{font-size:29px}
  .photo-drop,.single-preview{min-height:235px}
  .drop-hint b{font-size:17px}.drop-hint small{font-size:13px}
  .two-fields{grid-template-columns:1fr;gap:11px}
  .request-details label,.two-fields label{font-size:14px}
  .wardrobe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .wardrobe-photo{height:165px}
  .wardrobe-meta>span{font-size:11px}.wardrobe-meta>b{font-size:14px}.wardrobe-meta>small{font-size:12px}
  .wardrobe-bottom{bottom:calc(86px + env(safe-area-inset-bottom));gap:9px;padding:11px;border-radius:12px}
  .wardrobe-bottom label{min-width:calc(50% - 5px);font-size:12px}
  .wardrobe-bottom select{min-height:48px;font-size:14px}
  .wardrobe-bottom .button{min-height:50px;font-size:15px}
  .section-heading h2,.market-results-head h2{font-size:28px}
  .section-heading p,.market-results-head p{font-size:14px}
  .outfit-grid{grid-template-columns:1fr;gap:13px}
  .outfit-card-head{padding:17px}.outfit-card-head h3{font-size:27px}
  .outfit-items{padding:8px 14px 4px}
  .outfit-item-main>b{font-size:15px}.outfit-item-main>small{font-size:13px}
  .outfit-item-price{font-size:12px}
  .market-search-panel{padding:15px;border-radius:13px}
  .market-query-row{grid-template-columns:minmax(0,1fr) 88px;gap:8px}
  .market-query-row input{min-height:52px}
  .market-query-row .button{min-width:0;padding:0 10px;font-size:14px}
  .market-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .market-result-grid .product-card img,.market-result-grid .product-placeholder{height:160px}
  .market-result-grid .product-card b{font-size:14px}.market-result-grid .product-card strong{font-size:17px}
  .market-result-grid .product-card small{font-size:12px}
  .view-heading h1{font-size:39px}
  .review-hero{grid-template-columns:minmax(0,1fr) 98px;gap:11px;padding:15px;border-radius:13px}
  .review-hero h1{font-size:30px}
  .review-hero-photo{height:104px}
  .review-tags{gap:5px;margin-top:10px}.review-tags span{padding:6px 8px;font-size:11px}
  .style-review-layout{grid-template-columns:1fr;gap:12px}
  .style-review-upload-card{padding:14px}
  .style-review-drop{min-height:165px}
  .style-review-drop b{font-size:15px}.style-review-drop small{font-size:13px}
  .style-review-results{padding:16px}
  .style-review-result-title h3{font-size:16px}
  .style-review-result-section ul{font-size:14px;line-height:1.5}
  .profile-card{grid-template-columns:1fr;gap:12px;padding:16px}
  .profile-card>label{font-size:14px}.profile-card>label.full-field{grid-column:auto}
  .profile-actions{grid-column:auto;flex-wrap:wrap}
  .pricing-grid{grid-template-columns:1fr;gap:12px}.plan-card{padding:18px}
  .plan-card h3{font-size:27px}.plan-value span{font-size:14px}
  .bottom-nav{
    left:0;right:0;bottom:0;width:100%;min-height:calc(76px + env(safe-area-inset-bottom));
    justify-content:space-around;padding:7px 6px calc(7px + env(safe-area-inset-bottom));
    transform:none;border-right:0;border-bottom:0;border-left:0;border-radius:13px 13px 0 0;
    background:rgba(255,255,255,.98);box-shadow:0 -4px 20px rgba(30,26,22,.08);
  }
  .bottom-tab{min-height:58px;gap:4px;padding:5px 2px;border-radius:9px;font-size:12px;font-weight:650}
  .bottom-tab svg{width:22px;height:22px}
  .modal{padding:25px 20px;border-radius:15px}
  .modal h2{font-size:30px}
  .modal>p{font-size:14px}
  .auth-modal form>label,.auth-modal form>div>label{font-size:14px}
  .consent-checks{font-size:13px}
  .toast{bottom:calc(92px + env(safe-area-inset-bottom));font-size:14px}
}
@media(max-width:370px){
  .site-shell{width:calc(100% - 24px)}
  .landing-copy h1{font-size:47px}
  .bottom-tab{font-size:11px}
  .bottom-tab svg{width:20px;height:20px}
  .home-action-card{grid-template-columns:102px minmax(0,1fr)}
}
@media(prefers-contrast:more){
  :root{--muted:#4f4c47;--subtle:#625e57;--line:#d6d0c7;--line-strong:#a9a197}
  .eyebrow,.market-status,.style-review-disclaimer{color:#4f4c47}
}


/* LOOKA 2.4 — assistant-first experience */
.assistant-shell{max-width:980px;margin:0 auto;padding-bottom:24px}
.assistant-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:3px 0 22px}
.assistant-heading h2{margin:7px 0 5px;font-size:clamp(29px,4vw,40px);font-weight:670;letter-spacing:-.065em;line-height:1.04}
.assistant-heading p{margin:0;color:var(--muted);font-size:16px;line-height:1.5}
.assistant-status{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--muted);font-size:12px;white-space:nowrap}
.assistant-status i{width:7px;height:7px;border-radius:50%;background:#65876a;box-shadow:0 0 0 3px #eaf0e8}
.assistant-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.assistant-quick{display:flex;min-width:0;min-height:118px;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 3px 12px rgba(30,32,27,.035);transition:border-color .16s,transform .16s,background .16s}
.assistant-quick:hover,.assistant-quick.active{border-color:#9ca797;background:#f6f7f2;transform:translateY(-1px)}
.assistant-quick-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:#eef0e9;color:#515b4e;font-size:20px}
.assistant-quick b{font-size:14px;font-weight:760;line-height:1.24;overflow-wrap:anywhere}
.assistant-quick small{font-size:12px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}
.assistant-messages{display:flex;flex-direction:column;gap:14px;min-height:160px;max-height:min(55vh,620px);overflow:auto;padding:16px;border:1px solid var(--line);border-radius:20px;background:#fbfbf8;overscroll-behavior:contain;scroll-behavior:smooth}
.assistant-message{display:flex;align-items:flex-start;gap:10px;max-width:100%;min-width:0}
.assistant-message-user{justify-content:flex-end}
.assistant-avatar{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:50%;background:#20221d;color:#fff;font-family:Georgia,serif;font-size:18px}
.assistant-message-content{max-width:min(88%,760px);min-width:0;padding:12px 14px;border:1px solid #e7e8e2;border-radius:4px 17px 17px 17px;background:#fff;color:var(--ink)}
.assistant-message-user .assistant-message-content{border-color:#e4e6df;border-radius:17px 4px 17px 17px;background:#eff1eb}
.assistant-name{display:block;margin-bottom:5px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.assistant-message-content>p{margin:0;font-size:15px;line-height:1.48;overflow-wrap:anywhere}
.assistant-suggestion-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.assistant-suggestion-row button{max-width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--ink-2);font-size:12px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.assistant-result{width:100%;min-width:0;margin-top:12px}
.assistant-result .outfit-grid{grid-template-columns:minmax(0,1fr);gap:10px}
.assistant-result .outfit-card{box-shadow:none;border-radius:14px}
.assistant-result .market-result-grid,.assistant-result .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.assistant-result .product-card{min-width:0;padding:8px;border-radius:12px}
.assistant-result .product-card img,.assistant-result .product-placeholder{height:126px;border-radius:8px}
.assistant-result .product-card b{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.assistant-result .product-card strong{font-size:15px;line-height:1.3}
.assistant-result .product-card small{font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.assistant-price-group{padding:12px;margin-top:10px;border:1px solid var(--line);border-radius:13px;background:#fff}
.assistant-price-group h4{margin:0 0 9px;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.assistant-attachment{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 0;padding:8px 11px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink-2);font-size:13px;overflow-wrap:anywhere}
.assistant-attachment button{width:28px;height:28px;flex:0 0 28px;border:0;border-radius:50%;background:#f0f0eb;font-size:19px}
.assistant-composer{margin-top:12px;padding:10px;border:1px solid #dcded6;border-radius:18px;background:#fff;box-shadow:0 6px 22px rgba(30,32,27,.055)}
.assistant-composer textarea{display:block;min-height:48px;max-height:130px;resize:vertical;padding:11px 12px;border:0;border-radius:10px;background:#fff;box-shadow:none;font-size:16px;line-height:1.45}
.assistant-composer textarea:focus{box-shadow:none}
.assistant-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 2px 0}
.assistant-composer-tools{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
.assistant-tool-button{min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:99px;background:#fafaf7;color:var(--ink-2);font-size:12px;font-weight:700}
.assistant-mode-label{max-width:100%;color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.assistant-send-button{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border:0;border-radius:50%;background:#252820;color:#fff;font-size:22px;font-weight:700}
.assistant-send-button:disabled{opacity:.45}
.assistant-footer-note{margin:9px 4px 0;color:var(--muted);font-size:11px;line-height:1.4}
.assistant-message .loading-card{min-width:220px;min-height:82px;padding:14px}
.assistant-legacy{display:none!important}
.bottom-nav .bottom-tab span{white-space:normal;line-height:1.1}
@media(max-width:760px){
 .assistant-heading{margin-bottom:16px}
 .assistant-heading p{max-width:290px;font-size:14px}
 .assistant-status{padding:7px 9px;font-size:11px}
 .assistant-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}
 .assistant-quick{min-height:100px;padding:11px}
 .assistant-quick b{font-size:13px}
 .assistant-quick small{font-size:11px}
 .assistant-messages{min-height:150px;max-height:52vh;padding:11px;border-radius:16px}
 .assistant-message-content{max-width:calc(100% - 40px);padding:11px 12px}
 .assistant-message-content>p{font-size:14px}
 .assistant-result .product-card img,.assistant-result .product-placeholder{height:112px}
 .assistant-composer{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:8;margin-top:10px;border-radius:16px}
 .assistant-mode-label{display:none}
 .assistant-footer-note{font-size:10px}
}
@media(max-width:370px){
 .assistant-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .assistant-composer-bottom{align-items:flex-end}
 .assistant-tool-button{padding:6px 8px;font-size:11px}
}


/* LOOKA V2.4 — personal assistant as the product's single interaction layer */
.assistant-quick.selected{border-color:#8d9686;background:#f0f2ec;box-shadow:inset 0 0 0 1px #8d9686}
.assistant-quick.selected .assistant-quick-icon{background:#252a22;color:#fff}
.assistant-heading h2{font-size:clamp(32px,4.6vw,44px);letter-spacing:-.055em}
.assistant-heading p{max-width:620px}
.assistant-messages{max-height:min(62vh,760px);min-height:210px;scroll-padding:18px}
.assistant-message-content{overflow:hidden}
.assistant-message-pending .assistant-message-content{min-width:220px}
.assistant-inline-loading{display:flex;align-items:center;gap:10px;margin-top:12px;color:var(--muted);font-size:13px;font-weight:600}
.assistant-inline-loading .loader-ring{width:22px;height:22px;min-width:22px}
.assistant-result{width:100%;max-width:100%;min-width:0;margin-top:13px;overflow:hidden}
.assistant-search-summary{display:grid;gap:7px;padding:12px 13px;margin-bottom:11px;border-radius:12px;background:#f3f4ef}
.assistant-search-summary b{font-size:15px;line-height:1.4;color:var(--ink)}
.assistant-search-summary small,.assistant-result-note{font-size:12px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.assistant-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0}
.assistant-product-grid .product-card{min-width:0;max-width:100%;padding:9px;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}
.assistant-product-grid .product-card img,.assistant-product-grid .product-placeholder{width:100%;height:clamp(112px,25vw,190px);object-fit:cover;border-radius:8px;background:#f0f0eb}
.assistant-product-grid .product-card b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.assistant-product-grid .product-card strong{display:block;margin-top:5px;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.assistant-product-grid .product-card small{display:block;margin-top:5px;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.assistant-outfit-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:11px}
.assistant-outfit-cards .outfit-card{min-width:0;border:1px solid var(--line);border-radius:14px;box-shadow:none;overflow:hidden}
.assistant-outfit-cards .outfit-card-head{padding:13px}
.assistant-outfit-cards .outfit-card-head h3{font-size:19px;line-height:1.2;overflow-wrap:anywhere}
.assistant-outfit-cards .outfit-total{font-size:13px}
.assistant-outfit-cards .outfit-items{padding:0 12px 12px;min-width:0}
.assistant-outfit-cards .outfit-actions{display:flex;flex-wrap:wrap;gap:7px;padding:10px 12px;border-top:1px solid var(--line)}
.assistant-outfit-cards .reaction{min-height:36px;padding:7px 10px;border-radius:99px;white-space:normal;font-size:12px}
.assistant-identified-item{display:flex;flex-direction:column;gap:3px;padding:10px 12px;margin-bottom:10px;border-left:3px solid var(--accent);background:#f7f6f2}
.assistant-identified-item span,.assistant-review-next small{font-size:10px;letter-spacing:.11em;font-weight:800;color:var(--muted)}
.assistant-identified-item b{font-size:15px;overflow-wrap:anywhere}
.assistant-identified-item small{font-size:12px;color:var(--muted)}
.assistant-price-group{padding:12px;margin:10px 0;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}
.assistant-price-group-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;margin-bottom:10px}
.assistant-price-group-head b{font-size:14px;overflow-wrap:anywhere}
.assistant-price-group-head small{font-size:12px;color:var(--muted)}
.assistant-review-card{padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}
.assistant-review-summary{font-size:16px;font-weight:650;line-height:1.45;margin-bottom:12px}
.assistant-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.assistant-review-grid section{padding:11px;border-radius:11px;background:#f7f7f3;min-width:0}
.assistant-review-grid h4{margin:0 0 7px;font-size:13px;line-height:1.3}
.assistant-review-grid ul{margin:0;padding-left:17px;font-size:12px;line-height:1.45}
.assistant-review-grid li+li{margin-top:5px}
.assistant-review-next{margin-top:10px;padding:11px;border-radius:11px;background:#ede9e2}
.assistant-review-next p{margin:5px 0 0;font-size:13px;line-height:1.45}
.assistant-empty-result{grid-column:1/-1;padding:14px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px;line-height:1.45}
.assistant-composer{border-color:#cfd3c9;box-shadow:0 4px 18px rgba(30,32,27,.045)}
.assistant-composer textarea{min-height:54px;font-size:16px;line-height:1.5}
.assistant-send-button{width:46px;height:46px;flex-basis:46px;background:#20241d}
.assistant-quick{min-height:110px}
.assistant-quick b{font-size:14px}
.assistant-quick small{font-size:12px}
.assistant-footer-note{font-size:12px;line-height:1.45}
@media(max-width:760px){
 .assistant-heading{align-items:flex-start}
 .assistant-heading h2{font-size:32px}
 .assistant-heading p{font-size:15px;line-height:1.45}
 .assistant-quick{min-height:100px;padding:12px;border-radius:14px}
 .assistant-quick b{font-size:14px;line-height:1.25}
 .assistant-quick small{font-size:12px;line-height:1.35}
 .assistant-messages{max-height:58vh;min-height:180px;padding:10px;border-radius:15px}
 .assistant-message-content{max-width:calc(100% - 38px);padding:11px}
 .assistant-message-content>p{font-size:15px;line-height:1.5}
 .assistant-product-grid{gap:7px}
 .assistant-product-grid .product-card{padding:7px}
 .assistant-product-grid .product-card img,.assistant-product-grid .product-placeholder{height:112px}
 .assistant-product-grid .product-card b{font-size:12px}
 .assistant-product-grid .product-card strong{font-size:14px}
 .assistant-product-grid .product-card small{font-size:11px}
 .assistant-review-grid{grid-template-columns:1fr}
 .assistant-composer{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));z-index:8}
 .assistant-composer-bottom{align-items:center}
 .assistant-tool-button{min-height:38px;padding:7px 10px;font-size:12px}
 .assistant-footer-note{font-size:11px}
}
@media(max-width:370px){
 .assistant-quick-actions{grid-template-columns:1fr 1fr}
 .assistant-quick{min-height:96px;padding:10px}
 .assistant-quick small{font-size:11px}
 .assistant-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .assistant-tool-button{padding:6px 8px;font-size:11px}
}


/* LOOKA 2.4.4 — outfit-first assistant flow */
.assistant-quick-actions-simple{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.assistant-quick-actions-simple .assistant-quick{min-height:76px;padding:12px 13px}
.look-shop-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:13px 0 2px;padding:11px 14px;border:0;border-radius:13px;background:#191817;color:#fff;font:700 13px/1.35 Manrope, sans-serif;text-align:center;cursor:pointer}
.look-shop-button:disabled{opacity:.65;cursor:wait}
.outfit-inspiration{display:flex;gap:9px;overflow-x:auto;margin:13px 0 10px;padding-bottom:3px}
.outfit-inspiration figure{flex:0 0 min(43%,180px);min-width:0;margin:0}
.outfit-inspiration img{display:block;width:100%;height:190px;object-fit:cover;border-radius:13px;background:#eee}
.outfit-inspiration figcaption{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.35}
.outfit-inspiration>small{align-self:flex-end;flex:0 0 100%;margin-left:-2px;color:var(--muted);font-size:10px}
.assistant-price-group{margin:12px 0;padding:11px;border:1px solid var(--line);border-radius:14px;background:#fff}
.assistant-price-group-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}
.assistant-price-group-head small{color:var(--muted)}
@media(max-width:420px){.assistant-quick-actions-simple .assistant-quick{min-width:0}.outfit-inspiration img{height:160px}}

/* LOOKA 2.4.4: choose a recommended look before searching products */
.assistant-outfit-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.assistant-outfit-choice{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:14px;border:1px solid var(--line,#e5e1dc);border-radius:16px;background:#fff;color:var(--ink,#171715);text-align:left;cursor:pointer}
.assistant-outfit-choice span{font-size:10px;letter-spacing:.12em;color:var(--muted,#777)}
.assistant-outfit-choice b{font-size:14px;line-height:1.35}
.assistant-outfit-choice small{font-size:12px;color:var(--muted,#777)}
.assistant-outfit-choice i{font-size:12px;font-style:normal;font-weight:700;margin-top:auto}
@media(max-width:520px){.assistant-outfit-choice-grid{grid-template-columns:1fr}.assistant-outfit-choice{display:grid;grid-template-columns:1fr auto;align-items:center}.assistant-outfit-choice span,.assistant-outfit-choice b,.assistant-outfit-choice small{grid-column:1}.assistant-outfit-choice i{grid-column:2;grid-row:1/4;align-self:center}}


/* LOOKA V2.4.7 — OpenAI-first, one clear stylist flow */
.assistant-attachment{justify-content:flex-start;min-height:62px;gap:11px;padding:8px 10px}
.assistant-attachment-preview{width:48px;height:56px;flex:0 0 48px;object-fit:cover;border-radius:9px;background:#f0f0eb}
.assistant-attachment-label{flex:1;min-width:0;color:var(--ink-2);font-size:13px}
.assistant-attachment button{margin-left:auto}
.assistant-photo-saved-card{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fafaf7}
.assistant-photo-saved-preview{width:76px;height:92px;flex:0 0 76px;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:#efeee8;color:#8b8b82}
.assistant-photo-saved-preview img{width:100%;height:100%;object-fit:cover}
.assistant-photo-saved-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start;gap:5px}
.assistant-photo-saved-copy b{font-size:14px;line-height:1.3}
.assistant-photo-saved-copy small{color:var(--muted);font-size:12px}
.assistant-photo-saved-copy .look-shop-button{margin-top:4px}
.outfit-inspiration-empty{margin-top:10px;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px;line-height:1.4}
.outfit-inspiration figure.image-unavailable{display:grid;min-height:100px;place-items:center;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px}
@media(max-width:760px){.assistant-attachment{margin-top:9px}.assistant-photo-saved-card{align-items:flex-start}.assistant-photo-saved-preview{width:64px;height:80px;flex-basis:64px}}


/* LOOKA V2.4.7 — OpenAI-first styling and post-selection shopping */
.look-openai-visual{margin:14px 0 4px;overflow:hidden;border-radius:16px;background:#efeee9}
.look-openai-visual img{display:block;width:100%;max-height:520px;aspect-ratio:2/3;object-fit:cover;object-position:center;background:#efeee9}
.look-openai-visual figcaption{padding:8px 10px;color:var(--muted);font-size:11px}
.look-openai-visual-empty{margin:12px 0 4px;padding:14px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:12px;line-height:1.45}
.look-openai-visual figure.image-unavailable{min-height:180px}
.look-openai-visual-fallback{padding:22px;text-align:center;color:var(--muted);font-size:12px}
.look-shop-step{display:grid;gap:6px;margin-top:14px;padding:12px;border-radius:14px;background:#f6f3ef}
.look-shop-step>small{color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.08em}
.look-shop-step>span{color:var(--muted);font-size:11px;line-height:1.4;text-align:center}
.look-shop-step .look-shop-button{margin:0}

/* v2.4.7: asynchronous OpenAI visuals keep the chat responsive in messenger WebViews. */
.look-openai-visual{min-height:170px;margin:14px 0 4px;overflow:hidden;border-radius:16px;background:#efeee9;display:flex;align-items:center;justify-content:center}
.look-openai-visual img{display:block;width:100%;max-height:520px;aspect-ratio:2/3;object-fit:cover;object-position:center;background:#efeee9}
.look-openai-visual figcaption{padding:8px 10px;color:var(--muted);font-size:11px}
.look-openai-visual-wait{padding:24px 18px;text-align:center;color:var(--muted);font-size:13px;line-height:1.5}
.look-openai-visual-fallback{padding:24px 18px;text-align:center;color:var(--muted);font-size:13px;line-height:1.5}
.look-shop-step{display:flex;flex-direction:column;gap:7px;margin:12px 0;padding:13px;border:1px solid var(--line);border-radius:14px;background:#faf9f6}
.look-shop-step>small{font-size:10px;letter-spacing:.08em;color:var(--muted);font-weight:700}
.look-shop-step>span{font-size:11px;color:var(--muted);line-height:1.4}


/* LOOKA 2.4.7 — MAX launch recovery; works without remote fonts or images. */
.max-launch-recovery{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:var(--bg,#f7f7f3);color:var(--ink,#191b18)}
.max-launch-recovery-card{width:min(100%,440px);padding:30px 24px;border:1px solid var(--line,#e7e9e2);border-radius:24px;background:#fff;text-align:center;box-shadow:var(--shadow,0 14px 38px rgba(29,34,25,.07))}
.max-launch-mark{display:grid;width:52px;height:52px;place-items:center;margin:0 auto 18px;border-radius:16px;background:#191b18;color:#fff;font:italic 30px Georgia,serif}
.max-launch-recovery h1{margin:0 0 12px;font-size:24px;letter-spacing:-.04em;line-height:1.1}
.max-launch-recovery p{margin:0 0 22px;color:var(--muted,#73796f);line-height:1.5}
.max-launch-recovery small{display:block;margin-top:16px;color:var(--muted,#73796f);font-size:12px;line-height:1.45}

/* Header/footer logo buttons avoid full-page navigation that drops MAX WebAppData hash. */
.brand-home-button { border: 0; background: transparent; padding: 0; color: inherit; cursor: pointer; font: inherit; }


/* LOOKA V2.4.9 — saved outfit cards are readable and reopenable on mobile */
.history-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.history-card{display:flex;min-width:0;flex-direction:column;gap:11px;overflow:hidden;padding:12px}
.history-card-preview{position:relative;display:flex;min-height:145px;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:#efeee9;color:var(--muted);text-align:center}
.history-card-preview>span{padding:12px;font-size:12px;font-weight:750;letter-spacing:.08em}
.history-card-preview>small{position:absolute;left:10px;right:10px;bottom:9px;font-size:10px;line-height:1.3}
.history-card-preview img{display:block;width:100%;height:190px;object-fit:cover}
.history-preview-label{position:absolute;left:8px;bottom:8px;padding:5px 7px;border-radius:7px;background:rgba(255,255,255,.9);color:#333;font-size:9px;font-weight:800;letter-spacing:.06em}
.history-card-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:stretch;gap:6px}
.history-card h3{margin:0;color:var(--ink);font-size:20px;line-height:1.18;letter-spacing:-.02em;overflow-wrap:normal;word-break:normal;hyphens:none}
.history-card p{display:block;min-height:2.7em;margin:0;color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.history-card .button{width:100%;margin-top:auto;white-space:normal}
@media(max-width:900px){.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.history-grid{grid-template-columns:minmax(0,1fr);gap:11px}.history-card{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:stretch;padding:10px;gap:11px}.history-card-preview{min-height:142px;height:100%}.history-card-preview img{height:100%;min-height:142px}.history-card h3{font-size:18px;line-height:1.2}.history-card p{min-height:0;font-size:12px}.history-card .button{min-height:42px;margin-top:4px;font-size:13px}.history-card-copy{gap:5px}}
@media(max-width:370px){.history-card{grid-template-columns:88px minmax(0,1fr)}.history-card-preview{min-height:128px}.history-card-preview img{min-height:128px}.history-card h3{font-size:16px}}


/* LOOKA V2.4.10 — explicit saved-outfit details and simpler three-step navigation */
.view-guidance{max-width:680px;margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
.wardrobe-bottom-hint{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.history-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;max-width:780px}
.history-card{display:block;min-width:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.history-card-open{display:grid;width:100%;min-height:176px;grid-template-columns:minmax(112px,32%) minmax(0,1fr);gap:15px;align-items:stretch;padding:12px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.history-card-open:focus-visible{outline:3px solid var(--accent);outline-offset:-4px;border-radius:18px}
.history-card-preview{position:relative;display:flex;min-height:150px;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:#efeee9;color:var(--muted);text-align:center}
.history-card-preview img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover}
.history-card-copy{display:flex;min-width:0;flex-direction:column;align-items:stretch;justify-content:center;gap:7px}
.history-card h3{margin:0;color:var(--ink);font-family:var(--font-display);font-size:clamp(19px,4vw,25px);line-height:1.15;overflow-wrap:break-word;word-break:normal;hyphens:none}
.history-card p{display:block;margin:0;color:var(--muted);font-size:13px;line-height:1.45;overflow-wrap:break-word}
.history-open-link{display:flex;align-items:center;gap:8px;margin-top:5px;color:var(--accent);font-size:14px;font-weight:750}
.history-open-link b{font-size:20px}
.history-detail{max-width:780px;margin:0 auto;padding-bottom:28px}
.history-detail-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.history-detail-heading{margin:0 0 16px}
.history-detail-heading h2{margin:7px 0 8px;font-family:var(--font-display);font-size:clamp(28px,7vw,42px);line-height:1.04;letter-spacing:-.035em}
.history-detail-heading p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}
.history-detail-visual{position:relative;display:flex;min-height:220px;max-height:540px;align-items:center;justify-content:center;overflow:hidden;margin:0 0 22px;border-radius:18px;background:#efeee9;color:var(--muted)}
.history-detail-visual img{display:block;width:100%;max-height:540px;object-fit:contain;background:#efeee9}
.history-detail-visual figcaption{position:absolute;left:12px;bottom:12px;padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.9);font-size:10px;font-weight:800;letter-spacing:.08em}
.history-detail-visual-fallback{display:flex;min-height:220px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;font-size:14px}
.history-detail-section{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.history-detail-items{display:flex;flex-direction:column;gap:0;margin-top:8px}
.history-detail-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}
.history-detail-item:last-child{border-bottom:0}
.history-detail-item-number{color:var(--muted);font-size:12px;font-weight:800}
.history-detail-item b{display:block;font-size:15px;line-height:1.25}
.history-detail-item small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4}
.history-detail-item-tag{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.07em;text-align:right}
.history-detail-empty{color:var(--muted);font-size:13px;line-height:1.5}
.history-detail-actions{margin-top:16px;padding:18px;border-radius:16px;background:#f4f1ec}
.history-detail-actions>.button{width:100%;min-height:52px}
.history-detail-actions>p{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.history-detail-feedback{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.history-detail-search-results{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.history-detail-search-title{margin:0 0 12px;font-family:var(--font-display);font-size:24px}
.history-card-open:disabled{opacity:.65;cursor:wait}
@media(max-width:640px){.history-card-open{grid-template-columns:104px minmax(0,1fr);min-height:160px;gap:12px;padding:10px}.history-card-preview,.history-card-preview img{min-height:140px}.history-card h3{font-size:19px}.history-card p{font-size:12px}.history-detail-visual{min-height:190px}.history-detail-visual-fallback{min-height:190px}.history-detail-section{padding:14px}.history-detail-item{grid-template-columns:25px minmax(0,1fr);gap:8px}.history-detail-item-tag{grid-column:2;text-align:left}}
@media(max-width:370px){.history-card-open{grid-template-columns:88px minmax(0,1fr);gap:9px}.history-card h3{font-size:17px}.history-card p{font-size:11px}}


/* LOOKA V2.4.11 — uncluttered chat, clear outfit actions, readable mobile type */
.assistant-heading{display:none!important}
.assistant-footer-note{display:none!important}
.assistant-shell{padding-bottom:12px}
.assistant-messages{gap:16px;padding:14px}
.assistant-name{display:none!important}
.assistant-message-content>p{font-size:17px;line-height:1.55}
.assistant-suggestion-row button{min-height:42px;padding:10px 14px;font-size:14px;line-height:1.35}
.assistant-composer textarea{min-height:54px;font-size:17px;line-height:1.5}
.assistant-tool-button{min-height:42px;padding:9px 14px;font-size:14px}
.assistant-send-button{width:48px;height:48px;flex-basis:48px;font-size:24px}
.bottom-tab{font-size:14px!important;min-height:62px!important;gap:5px!important}
.bottom-tab svg{width:24px!important;height:24px!important}
.view-heading .eyebrow,.history-detail-heading .eyebrow,.history-detail-section>.eyebrow{display:none!important}
.view-guidance{font-size:16px;line-height:1.5;margin-top:7px}
.history-detail-item b{font-size:16px}
.history-detail-item small{font-size:14px;line-height:1.45}
.history-detail-item-tag{font-size:11px}
.history-detail-actions>p{font-size:14px;line-height:1.5}
.look-details{font-size:16px!important}
.look-details summary{display:flex;min-height:42px;align-items:center;font-size:16px!important;font-weight:750!important}
.look-details p{font-size:15px!important;line-height:1.55!important}
.look-next-actions{display:grid;grid-template-columns:1fr;gap:9px;margin:14px 0 4px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#faf9f6}
.look-detail-button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:700 15px/1.35 Manrope,sans-serif}
.look-next-actions .look-shop-button{min-height:50px;margin:0;font-size:15px}
.market-manual-intro{margin:12px 0;padding:16px;border:1px solid var(--line);border-radius:15px;background:#f7f5f0}
.market-manual-intro b{display:block;font-size:17px;line-height:1.35}
.market-manual-intro p{margin:7px 0 0;color:var(--muted);font-size:15px;line-height:1.5}
.market-manual-group{margin:10px 0;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}
.market-manual-group h4{margin:0 0 11px;font-size:16px;line-height:1.35}
.market-manual-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.market-manual-link{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#f8f8f5;color:var(--ink);font:700 14px/1.25 Manrope,sans-serif;text-align:left}
.market-manual-link span{font-size:17px;color:var(--accent)}
.assistant-empty-result{font-size:15px;line-height:1.5}
.assistant-search-diagnostic{display:none!important}
@media(max-width:760px){
  .assistant-messages{max-height:58vh;min-height:180px;padding:12px}
  .assistant-message-content{max-width:calc(100% - 40px);padding:13px 14px}
  .assistant-message-content>p{font-size:16px;line-height:1.55}
  .assistant-composer{bottom:calc(86px + env(safe-area-inset-bottom));padding:11px}
  .assistant-composer textarea{font-size:16px}
  .assistant-tool-button{font-size:14px}
  .bottom-tab{font-size:13px!important;min-height:64px!important}
  .market-manual-links{grid-template-columns:1fr 1fr}
  .view-guidance{font-size:15px}
}
@media(max-width:370px){
  .bottom-tab{font-size:12px!important}
  .market-manual-links{grid-template-columns:1fr}
}


/* LOOKA 2.4.11 — mobile-first clarity and readable actions */
.welcome-greeting .eyebrow{display:none!important}
.assistant-name,.assistant-avatar{display:none!important}
.assistant-messages{gap:18px;padding:12px;background:#fff}
.assistant-message{gap:0}
.assistant-message-content{max-width:100%;padding:16px 17px;border-radius:17px}
.assistant-message-content>p{font-size:17px;line-height:1.55}
.assistant-suggestion-row{gap:9px;margin-top:14px}
.assistant-suggestion-row button{min-height:42px;padding:10px 14px;font-size:14px;line-height:1.35}
.assistant-composer textarea{min-height:58px;padding:13px 14px;font-size:17px;line-height:1.45}
.assistant-tool-button{min-height:42px;padding:9px 14px;font-size:14px}
.assistant-send-button{width:48px;height:48px;flex-basis:48px;font-size:25px}
.assistant-result{margin-top:16px}
.assistant-result .eyebrow,.assistant-result .look-number,.assistant-result .look-mood,
.assistant-result .owned-tag{display:none!important}
.assistant-result .outfit-card h3{font-size:21px;line-height:1.25;margin:0 0 10px}
.assistant-result .outfit-item-main b{font-size:16px;line-height:1.35}
.assistant-result .outfit-item-main small{font-size:14px;line-height:1.4}
.assistant-result .look-details summary{font-size:15px;min-height:40px}
.look-next-actions{display:grid;grid-template-columns:1fr;gap:10px;margin:14px 0 4px;padding:12px;border:1px solid var(--line);border-radius:15px;background:#faf9f6}
.look-next-actions button{min-height:52px;font-size:16px!important;font-weight:750}
.look-next-actions .look-detail-button{border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.look-next-actions .look-shop-button{margin:0}
.stylist-next-step{margin:14px 0 0;padding:15px 16px;border-radius:14px;background:#f5f1ef;border:1px solid #eadfe1}
.stylist-next-step b{display:block;font-size:17px;line-height:1.3}
.stylist-next-step p{margin:5px 0 0;color:var(--muted);font-size:15px;line-height:1.45}
.assistant-identified-item{display:flex;align-items:center;gap:9px;margin:10px 0;padding:10px 12px;border-left:3px solid var(--accent);background:#f8f6f2}
.assistant-identified-item b{font-size:15px}
.assistant-identified-item span{font-size:14px;color:var(--muted)}
.market-manual-intro{padding:14px 15px;margin:12px 0;border:1px solid var(--line);border-radius:14px;background:#fff}
.market-manual-intro b{font-size:17px;line-height:1.3}
.market-manual-intro p{margin:5px 0 0;font-size:15px;line-height:1.45;color:var(--muted)}
.market-manual-group{padding:14px 15px;margin:10px 0;border:1px solid var(--line);border-radius:14px;background:#fff}
.market-manual-group h4{font-size:17px;line-height:1.35;margin:0 0 10px}
.market-manual-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.market-manual-link{min-height:45px;padding:10px;border:1px solid var(--line);border-radius:11px;background:#faf9f6;font-size:14px;font-weight:700;color:var(--ink)}
@media(max-width:760px){
  .assistant-messages{max-height:60vh;min-height:190px;padding:10px}
  .assistant-message-content{padding:14px;border-radius:15px}
  .assistant-message-content>p{font-size:17px}
  .assistant-suggestion-row button{font-size:14px}
  .market-manual-links{grid-template-columns:1fr 1fr}
  .view-guidance{display:none!important}
}


/* LOOKA V2.4.14 — wardrobe photos, visible estimates and referral program */
.wardrobe-photo{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.wardrobe-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.photo-load-fallback{padding:12px;color:var(--muted);font-size:13px;text-align:center;line-height:1.35}
.outfit-item-price{display:block;min-width:84px;max-width:130px;color:var(--ink-2);font-size:13px;font-weight:750;line-height:1.3;text-align:right;white-space:normal}
.outfit-estimate{display:flex;flex-direction:column;gap:4px;margin:4px 14px 12px;padding:12px 14px;border:1px solid #e9e0d9;border-radius:12px;background:#faf7f2}
.outfit-estimate b{font-size:15px;line-height:1.35;color:var(--ink)}
.outfit-estimate small{font-size:12px;line-height:1.4;color:var(--muted)}
.assistant-result .outfit-item-price{display:block!important;max-width:112px;font-size:12px}
.assistant-result .outfit-estimate{margin:3px 10px 10px;padding:10px 11px}
.assistant-result .outfit-estimate b{font-size:14px}
.assistant-result .outfit-estimate small{font-size:12px}
.history-detail-item-price{display:block;margin-top:4px;color:var(--ink-2);font-weight:700}
.referral-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;align-items:center;margin:0 0 18px;padding:17px 19px;border:1px solid #e6dadd;border-radius:17px;background:linear-gradient(120deg,#fbf5f5,#fff 65%);box-shadow:var(--shadow-sm)}
.referral-banner-copy{min-width:0}
.referral-kicker{display:block;margin-bottom:5px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.12em}
.referral-banner-copy h3{margin:0 0 5px;font-family:var(--font-display);font-size:25px;font-weight:650;line-height:1.05;letter-spacing:-.02em}
.referral-banner-copy p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.referral-banner-stats{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:114px;padding:10px 13px;border-radius:13px;background:#fff;border:1px solid var(--line)}
.referral-banner-stats b{color:var(--accent);font-size:27px;line-height:1.05}
.referral-banner-stats span{font-size:12px;font-weight:750;text-align:center}
.referral-banner-stats small{margin-top:3px;color:var(--muted);font-size:11px}
.referral-banner-actions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}
.referral-copy-button{min-height:43px;padding:10px 14px;border:1px solid #dfced1;border-radius:12px;background:#fff;color:#5d2c39;font-size:14px;font-weight:750}
.referral-banner-note{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.4}
@media(max-width:560px){
  .referral-banner{grid-template-columns:minmax(0,1fr) 78px;gap:9px;padding:13px;border-radius:14px}
  .referral-banner-copy h3{font-size:21px;line-height:1.12}
  .referral-banner-copy p{font-size:13px;line-height:1.4}
  .referral-banner-stats{min-width:0;padding:8px 6px}
  .referral-banner-stats b{font-size:23px}
  .referral-banner-stats span{font-size:10px}
  .referral-banner-stats small{font-size:10px;text-align:center}
  .referral-banner-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .referral-copy-button{min-height:42px;padding:8px 7px;font-size:12px;line-height:1.25}
  .referral-banner-note{font-size:11px}
  .outfit-item-price{min-width:72px;max-width:105px;font-size:12px}
  .outfit-estimate{margin:3px 10px 10px;padding:10px 11px}
  .outfit-estimate b{font-size:14px}
}

/* LOOKA V2.4.14 — robust wardrobe image state and referral panels */
.photo-loading{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:12px;color:var(--muted);font-size:13px;text-align:center;background:#f0eee9}
.photo-load-fallback{display:flex;align-items:center;justify-content:center;min-height:100%;padding:12px;color:var(--muted);font-size:13px;text-align:center;line-height:1.4}
.wardrobe-photo img{opacity:0;transition:opacity .18s ease}
.wardrobe-photo img[src]{opacity:1}
.referral-banner{margin:12px 0 18px}
.referral-link-missing{display:inline-flex;align-items:center;min-height:42px;padding:9px 12px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:12px}
.referral-banner-copy h3{font-size:23px}
.referral-banner-actions{align-items:center}
@media(max-width:640px){.referral-banner{grid-template-columns:minmax(0,1fr) 82px}.referral-banner-copy h3{font-size:20px}.referral-banner-copy p{font-size:13px}.referral-banner-note{font-size:11px}.referral-copy-button{min-height:44px;font-size:12px}}


/* LOOKA V2.4.14 — compact referral card */
.referral-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;align-items:center;margin:0 0 16px;padding:15px 17px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-sm)}
.referral-compact-main{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.referral-compact-main h3{margin:0 0 3px;font-size:20px;font-weight:730;line-height:1.15;letter-spacing:-.045em}
.referral-compact-main p{margin:0;color:var(--muted);font-size:13px;line-height:1.35}
.referral-compact-count{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:68px;padding:7px 9px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.referral-compact-count b{color:var(--accent);font-size:24px;line-height:1}
.referral-compact-count span{margin-top:3px;color:var(--muted);font-size:11px;font-weight:650}
.referral-banner-actions{display:flex;gap:7px;grid-column:1/-1}
.referral-copy-button{min-height:37px;padding:7px 16px;border:1px solid var(--line-strong);border-radius:999px;background:#fff;color:var(--ink);font-size:13px;font-weight:740}
.referral-copy-button:active{background:var(--accent-soft)}
.referral-compact-note{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px;line-height:1.3}
.referral-link-missing{display:inline-flex;align-items:center;min-height:37px;padding:7px 13px;border:1px dashed var(--line);border-radius:999px;color:var(--muted);font-size:12px}
@media(max-width:560px){.referral-banner{gap:8px 10px;padding:12px 13px}.referral-compact-main h3{font-size:17px}.referral-compact-main p{font-size:12px}.referral-compact-count{min-width:58px;padding:6px}.referral-compact-count b{font-size:21px}.referral-copy-button{min-height:36px;padding:6px 14px;font-size:12px}.referral-compact-note{font-size:11px}}


/* LOOKA V2.4.16 — tidy saved outfit cards for narrow messenger screens */
.history-card-open{grid-template-columns:minmax(96px,30%) minmax(0,1fr);gap:13px;min-width:0}
.history-card-open>*{min-width:0}
.history-card-preview{width:100%;min-width:0;min-height:154px;max-height:220px;align-self:stretch}
.history-card-preview img{width:100%;height:100%;min-height:154px;max-height:220px;object-fit:cover;object-position:center top}
.history-preview-label{display:none!important}
.history-card-copy{min-width:0;max-width:100%;overflow:hidden;gap:6px}
.history-card-copy h3{display:-webkit-box;min-width:0;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;word-break:normal;hyphens:auto;font-size:clamp(17px,4.4vw,21px);line-height:1.2;letter-spacing:-.02em}
.history-card-copy p{display:-webkit-box;min-width:0;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow-wrap:anywhere;word-break:normal;hyphens:auto;font-size:12px;line-height:1.42}
.history-open-link{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin-top:2px;font-size:13px;white-space:normal;overflow-wrap:anywhere}
.history-open-link b{flex:0 0 auto}
@media(max-width:640px){.history-card-open{grid-template-columns:96px minmax(0,1fr);gap:11px;padding:10px;min-height:150px}.history-card-preview,.history-card-preview img{min-height:138px;max-height:190px}.history-card-copy h3{font-size:18px;line-height:1.18;-webkit-line-clamp:2}.history-card-copy p{font-size:12px;line-height:1.38;-webkit-line-clamp:3}}
@media(max-width:370px){.history-card-open{grid-template-columns:82px minmax(0,1fr);gap:9px}.history-card-preview,.history-card-preview img{min-height:124px;max-height:160px}.history-card-copy h3{font-size:16px}.history-card-copy p{font-size:11px}}


/* LOOKA V2.4.16 — saved outfit cards: clean thumbnail crop and readable copy */
.history-card-open{grid-template-columns:minmax(84px,112px) minmax(0,1fr);min-height:0;gap:14px;align-items:center;padding:12px}
.history-card-preview{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1/1;align-self:center;border-radius:13px}
.history-card-preview img{display:block;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:1/1;object-fit:cover;object-position:center top}
.history-card-copy{min-width:0;width:100%;overflow:hidden;gap:7px}
.history-card-copy h3{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;word-break:normal;hyphens:auto;font-size:clamp(17px,4.1vw,22px);line-height:1.18;letter-spacing:-.02em}
.history-card-copy p{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow-wrap:anywhere;word-break:normal;hyphens:auto;font-size:12px;line-height:1.42}
.history-open-link{display:inline-flex;max-width:100%;align-items:center;gap:6px;margin-top:2px;white-space:normal;overflow-wrap:anywhere;font-size:13px}
.history-open-link b{flex:0 0 auto}
@media(max-width:640px){.history-card-open{grid-template-columns:92px minmax(0,1fr);min-height:0;gap:11px;padding:10px}.history-card-preview,.history-card-preview img{width:92px;height:92px;min-height:0;max-height:none;aspect-ratio:1/1}.history-card-copy h3{font-size:18px;line-height:1.18;-webkit-line-clamp:2}.history-card-copy p{font-size:12px;line-height:1.4;-webkit-line-clamp:4}}
@media(max-width:370px){.history-card-open{grid-template-columns:78px minmax(0,1fr);gap:9px}.history-card-preview,.history-card-preview img{width:78px;height:78px}.history-card-copy h3{font-size:16px}.history-card-copy p{font-size:11px;-webkit-line-clamp:3}}


/* LOOKA V2.4.17 — saved looks: compact image crop, predictable text layout */
.history-card{min-width:0;overflow:hidden}
.history-card-open{display:grid!important;width:100%;grid-template-columns:122px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;min-height:0!important;padding:12px!important;overflow:hidden}
.history-card-open>*{min-width:0!important;max-width:100%}
.history-card-preview{display:block!important;position:relative;width:122px!important;height:90px!important;min-width:0!important;min-height:0!important;max-height:90px!important;aspect-ratio:auto!important;overflow:hidden!important;border-radius:12px!important;background:#efeee9}
.history-card-preview img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:90px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center 8%!important}
.history-card-copy{display:flex;min-width:0!important;max-width:100%;flex-direction:column;align-items:flex-start;gap:6px;overflow:hidden}
.history-card-copy .look-number{font-size:10px;line-height:1.2;letter-spacing:.09em}
.history-card-copy h3{display:-webkit-box!important;max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;word-break:normal;hyphens:auto;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:clamp(16px,3.8vw,21px);line-height:1.15}
.history-card-copy p{display:-webkit-box!important;max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;word-break:normal;hyphens:auto;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:12px;line-height:1.38}
.history-open-link{display:flex;flex-wrap:wrap;align-items:center;gap:5px;max-width:100%;margin-top:2px;font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.history-open-link b{flex:0 0 auto;font-size:17px}
@media(max-width:640px){.history-card-open{grid-template-columns:106px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}.history-card-preview,.history-card-preview img{width:106px!important;height:78px!important;max-height:78px!important}.history-card-copy h3{font-size:16px;line-height:1.16;-webkit-line-clamp:2}.history-card-copy p{font-size:11px;line-height:1.35;-webkit-line-clamp:3}.history-open-link{font-size:11px}}
@media(max-width:370px){.history-card-open{grid-template-columns:92px minmax(0,1fr)!important;gap:8px!important}.history-card-preview,.history-card-preview img{width:92px!important;height:70px!important;max-height:70px!important}.history-card-copy h3{font-size:15px}.history-card-copy p{font-size:10px;-webkit-line-clamp:2}}

/* LOOKA IT/ES — visible Google-grounded source citations */
.google-source-list{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;margin:10px 0 2px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.72)}
.google-source-list>b{width:100%;font-size:11px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.google-source-list a{max-width:100%;color:var(--accent);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}

/* Google Search Grounding suggestions from Gemini Interactions API. */
.google-search-suggestions{display:block;width:100%;height:116px;margin:9px 0 2px;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}


/* LOOKA V2.5.9 — resilient chat / composer / bottom navigation after native photo picker. */
:root{--looka-visual-height:100dvh;--looka-keyboard-height:0px;--looka-nav-height:calc(78px + env(safe-area-inset-bottom))}
@media(max-width:760px){
  body.is-app #appView{padding-bottom:calc(175px + env(safe-area-inset-bottom))!important}
  body.is-app #bottomNav:not(.hidden){
    position:fixed!important;display:flex!important;visibility:visible!important;
    left:0!important;right:0!important;bottom:0!important;z-index:1200!important;
    width:100%!important;min-height:var(--looka-nav-height)!important;
    padding:7px 6px calc(7px + env(safe-area-inset-bottom))!important;
    margin:0!important;transform:none!important;border-radius:14px 14px 0 0!important;
    background:rgba(255,255,255,.98)!important;box-shadow:0 -5px 22px rgba(30,26,22,.10)!important;
  }
  body.is-app #stylistView:not(.hidden) .assistant-shell{
    display:flex!important;flex-direction:column!important;min-height:0!important;
    padding-bottom:calc(var(--looka-nav-height) + 18px)!important;
  }
  body.is-app #stylistView:not(.hidden) .assistant-messages{
    min-height:170px!important;
    max-height:min(58vh,calc(var(--looka-visual-height) - 470px))!important;
    overflow-y:auto!important;overscroll-behavior:contain!important;
    scroll-padding-bottom:24px!important;-webkit-overflow-scrolling:touch;
  }
  body.is-app #stylistView:not(.hidden) .assistant-composer{
    position:sticky!important;bottom:calc(var(--looka-nav-height) + 8px)!important;
    z-index:950!important;flex:0 0 auto!important;margin-top:10px!important;
    background:rgba(255,255,255,.99)!important;
  }
  body.is-app .toast{bottom:calc(var(--looka-nav-height) + 12px)!important;z-index:1300!important}
  body.looka-keyboard-open #bottomNav{opacity:.01;pointer-events:none;transform:translateY(110%)!important}
  body.looka-keyboard-open #stylistView:not(.hidden) .assistant-composer{bottom:calc(var(--looka-keyboard-height) + 8px)!important}
}
