@import url('./fonts.css');
:root{font-family:'Kore Sans','Plus Jakarta Sans',Arial,sans-serif;color:#241a3a;background:#fbfaff;font-synthesis:none;--brand:#7c3aed;--deep:#4c1d95;--soft:#f0eafb;--ink:#241a3a;--muted:#7b7488;--line:#e9e5f0;--neutral:#f1eeea}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}button{color:inherit}img{display:block;max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a78bfa;outline-offset:4px}button svg{flex-shrink:0}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em;text-wrap:balance}p{color:var(--muted);line-height:1.7}svg{stroke-width:1.7}input[type=checkbox]{accent-color:var(--brand)}.site{max-width:1600px;margin:auto}.site-header{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:25px}.brand{display:inline-flex;align-items:center;gap:9px;color:#1a0b3d;font-size:26px;font-weight:800;letter-spacing:-.06em}.brand-symbol{display:grid;place-items:center;border-radius:10px;background:var(--brand);width:38px;height:38px}.brand-symbol img{width:88%;height:88%;object-fit:contain}.brand-decor{letter-spacing:.08em;font-size:9px;text-transform:uppercase;font-weight:500;margin-left:10px;color:var(--muted)}.header-links{display:flex;align-items:center;gap:30px;font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:16px 23px;border-radius:14px;background:var(--brand);color:white;font-size:13px;font-weight:600;border:1px solid transparent;transition:background .18s}.btn:hover{background:#6d28d9}.btn.secondary{background:white;border-color:var(--line);color:var(--ink)}.btn.chosen{background:var(--deep)}.btn.small{padding:11px 17px;min-height:42px;font-size:12px;border-radius:12px}.btn.full{width:100%}.text-btn{background:none;padding:10px 0;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;min-height:40px;color:var(--ink);border:0}.text-btn:hover{color:var(--brand)}.text-btn.full{width:100%}.eyebrow,.section-label{font-size:10px;letter-spacing:.15em;font-weight:600;color:var(--brand);text-transform:uppercase}.eyebrow{background:var(--soft);display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:50px;font-size:9px;letter-spacing:.1em}.eyebrow>span{height:5px;width:5px;border-radius:50%;background:var(--brand)}.hero{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center;padding:50px 6% 70px}.hero-copy h1{font-size:clamp(45px,4.6vw,74px);line-height:1.08;font-weight:750;margin:26px 0}.hero-copy h1>span{color:var(--brand)}.hero-copy p{font-size:16px;line-height:1.7}.hero-actions{display:flex;gap:22px;align-items:center;margin:32px 0 20px;flex-wrap:wrap}.hero-copy small{display:flex;align-items:center;gap:7px;color:#8f879a;font-size:10px}.hero-copy small svg{color:var(--brand)}.hero-scene{position:relative;padding:0;background:var(--neutral);border-radius:28px;overflow:hidden;height:570px;width:100%;text-align:left}.hero-scene>img{height:100%;width:100%;object-fit:cover;object-position:center 65%}.scene-label{position:absolute;top:20px;left:20px;backdrop-filter:blur(15px);background:#ffffffd9;border:1px solid #fff8;border-radius:50px;font-size:10px;padding:10px 14px}.hero-context{position:absolute;bottom:20px;left:20px;right:20px;background:#fffef9f5;backdrop-filter:blur(15px);padding:17px;border-radius:18px;display:flex;align-items:center;gap:12px}.hero-context b{font-size:13px;font-weight:600;display:block}.hero-context small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.hero-context>svg{margin-left:auto}.context-icon{background:#ede5fc;color:var(--brand);border-radius:12px;width:44px;height:44px;display:grid;place-items:center}.resume-link{margin:18px 0 0;background:none;color:var(--brand);display:flex;gap:8px;align-items:center;font-size:11px;padding:0}.how{border-top:1px solid var(--line);padding:65px 6%;display:grid;grid-template-columns:1fr 1fr;gap:10%}.how h2{font-size:40px;line-height:1.15;margin-top:18px}.how ol{padding:0;margin:0;list-style:none}.how li{display:flex;gap:22px;padding:18px 0;border-bottom:1px solid var(--line)}.how li>span{font-size:11px;color:var(--brand);padding-top:3px}.how h3{font-size:17px;letter-spacing:-.025em;margin-bottom:7px}.how p{font-size:12px}footer{border-top:1px solid var(--line);padding:30px 5%;display:flex;align-items:center;gap:25px}footer .brand{font-size:22px}footer .brand-symbol{width:30px;height:30px}footer>span{margin-left:auto;font-size:10px;color:var(--muted)}footer .text-btn{font-size:10px}.flow{max-width:1000px;margin:auto;padding:30px 35px 65px}.flow-progress{display:flex;gap:6px;max-width:240px;margin-bottom:35px}.flow-progress span{height:3px;background:var(--line);flex:1;border-radius:4px}.flow-progress .done{background:var(--brand)}.flow-heading{margin-bottom:32px}.flow-heading h1{font-size:38px;line-height:1.15;margin:14px 0}.flow-heading p{font-size:13px}.photo-layout{display:grid;grid-template-columns:1fr .85fr;gap:60px;align-items:center}.photo-drop{height:450px;position:relative;border-radius:22px;overflow:hidden;background:#eee}.photo-drop>img{height:100%;width:100%;object-fit:cover}.photo-drop.has-photo>img{object-fit:contain}.photo-shade{position:absolute;inset:0;background:#22152a45}.viewfinder{position:absolute;inset:35px;border:1px solid #fff5;border-radius:20px}.viewfinder span{position:absolute;width:26px;height:26px;border-color:white;border-style:solid;border-width:0}.viewfinder span:nth-child(1){top:0;left:0;border-top-width:3px;border-left-width:3px;border-top-left-radius:16px}.viewfinder span:nth-child(2){top:0;right:0;border-top-width:3px;border-right-width:3px;border-top-right-radius:16px}.viewfinder span:nth-child(3){bottom:0;left:0;border-bottom-width:3px;border-left-width:3px;border-bottom-left-radius:16px}.viewfinder span:nth-child(4){bottom:0;right:0;border-bottom-width:3px;border-right-width:3px;border-bottom-right-radius:16px}.photo-guidance{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:white;gap:12px;text-align:center}.photo-guidance b{font-size:13px}.photo-guidance span{font-size:11px;color:#fff9}.photo-actions h2{font-size:23px;margin-bottom:14px}.photo-actions>p{font-size:12px;margin-bottom:25px}.photo-actions .btn{margin-bottom:10px}.consent{display:flex;gap:9px;font-size:10px;line-height:1.6;align-items:start;margin:17px 0}.consent input{margin-top:3px;flex-shrink:0}.inline-link{background:none;border:0;padding:0;color:var(--brand);font-size:inherit;text-decoration:underline}.microcopy{display:block;text-align:center;font-size:10px;line-height:1.6;color:#8b8195;margin-top:12px}.demo-link{display:flex;font-size:11px;width:100%}.circle-btn{border:1px solid #ffffff80;display:grid;place-items:center;background:#ffffffed;border-radius:50%;width:40px;height:40px;color:var(--ink);padding:0}.photo-replace{position:absolute;bottom:15px;right:15px}.brief-layout{display:grid;grid-template-columns:1fr .85fr;gap:60px}.style-cards{display:flex;flex-direction:column;gap:12px}.style-card{border:2px solid var(--line);border-radius:17px;background:#fff;display:flex;align-items:center;padding:9px;gap:16px;text-align:left;min-height:100px}.style-card.selected{border-color:var(--brand);background:#f8f5ff}.style-card>img{width:85px;height:85px;border-radius:11px;object-fit:cover;object-position:center 60%}.style-card b{font-size:12px;display:block}.style-card small{font-size:10px;color:var(--muted);margin-top:7px;display:block}.style-look-1{filter:saturate(.6) brightness(1.08)}.style-look-2{filter:saturate(.3) brightness(1.15)}.radio-check{display:grid;place-items:center;width:20px;height:20px;border:1px solid #d9cdef;border-radius:50%;margin-left:auto;flex-shrink:0}.selected .radio-check{background:var(--brand);color:white;border-color:var(--brand)}.brief-fields>label{display:block;font-size:12px;margin-bottom:22px;font-weight:500}.brief-fields label>small{font-weight:400;font-size:10px;color:var(--muted);float:right}input[type=number],input:not([type]),input[type=text],input[type=password]{width:100%;padding:15px;background:white;border:1px solid var(--line);border-radius:11px;margin-top:10px;color:var(--ink);font-size:14px}.currency-input{display:flex;align-items:center;border:1px solid var(--line);background:white;border-radius:11px;margin-top:10px}.currency-input>span{padding-left:16px;color:var(--muted);font-size:12px}.currency-input input{border:0;margin:0;background:none;font-size:16px}.inline-error{font-size:12px;color:#a2394e;background:#fff0f2;padding:14px;border-radius:12px;margin-top:15px}.processing{max-width:1000px;margin:auto;padding:60px 40px;display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.processing-photo{height:480px;border-radius:22px;overflow:hidden;position:relative}.processing-photo>img{height:100%;width:100%;object-fit:cover}.processing-wash{position:absolute;inset:0;background:#7c3aed22;animation:wash 3s infinite}.processing-copy h1{font-size:40px;line-height:1.1;margin:18px 0}.processing-copy p{font-size:13px}.processing-status{display:flex;align-items:center;gap:10px;padding:20px 0;color:var(--brand);font-size:12px}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes wash{50%{opacity:.2}}
/* Shared scene, story panel and collection navigation. */
.studio{padding:30px 5% 0;max-width:1400px;margin:auto}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}.studio-heading h1{font-size:32px;margin-top:12px}.studio-actions{display:flex;gap:20px;align-items:center}.studio-actions>.text-btn{font-size:11px}.demo-badge{font-size:9px;border:1px solid var(--line);border-radius:30px;padding:8px 11px;color:#81758d;white-space:nowrap}.room-stage{display:grid;grid-template-columns:1.25fr .75fr;gap:24px;min-height:570px}.room-canvas{height:600px;border-radius:23px;position:relative;overflow:hidden;background:var(--neutral)}.room-photo{height:100%;width:100%;object-fit:cover;object-position:center 65%}.room-top{position:absolute;top:18px;left:20px;right:18px;display:flex;justify-content:space-between;align-items:start}.room-top>span{background:#fffef6dd;backdrop-filter:blur(15px);border-radius:50px;padding:10px 13px;font-size:9px}.room-top .circle-btn{width:35px;height:35px}.room-caption{position:absolute;bottom:0;left:0;right:0;color:white;padding:90px 28px 30px;background:linear-gradient(transparent,#25192c99)}.room-caption>span{font-size:8px;letter-spacing:.17em}.room-caption h2{font-size:34px;margin:12px 0 10px;font-weight:500;line-height:1.08}.room-caption p{color:#fff9;font-size:11px}.room-welcome{padding:30px 25px;display:flex;flex-direction:column;justify-content:center}.room-welcome>h2{font-size:35px;line-height:1.12;margin:20px 0}.room-welcome>p{font-size:12px;max-width:290px}.quick-categories{margin:20px 0}.quick-categories button{display:flex;gap:13px;align-items:center;width:100%;padding:15px 0;border-bottom:1px solid var(--line);background:none;font-size:12px;text-align:left}.quick-categories button>svg:first-child{color:var(--brand)}.quick-categories button>svg:last-child{margin-left:auto;width:14px}.room-welcome>small{font-size:9px;line-height:1.7;color:#998fa3}.product-panel{background:#f2eeea;border-radius:23px;overflow:hidden;padding:20px 23px;display:flex;flex-direction:column;min-width:0}.story-bars{display:flex;gap:4px;margin-bottom:17px}.story-bars>span{height:3px;background:#fff;flex:1;border-radius:3px}.story-bars .seen{background:var(--brand)}.panel-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px}.panel-heading>span:last-child{display:flex;align-items:center;gap:10px;font-size:9px;color:var(--muted)}.icon-btn{width:32px;height:32px;display:inline-grid;place-items:center;background:none;border-radius:50%;padding:0}.icon-btn:hover{background:#e7dfee}.product-visual{height:265px;position:relative;flex:1;min-height:180px;display:flex;align-items:center;justify-content:center}.product-sprite{display:block;background-image:url('./assets/product-concepts.png');background-size:300% 500%;background-repeat:no-repeat;aspect-ratio:1;flex-shrink:0}.product-visual>.product-sprite{width:100%;height:100%;aspect-ratio:auto}.sprite-0,.sprite-3,.sprite-6,.sprite-9,.sprite-12{background-position-x:0%}.sprite-1,.sprite-4,.sprite-7,.sprite-10,.sprite-13{background-position-x:50%}.sprite-2,.sprite-5,.sprite-8,.sprite-11,.sprite-14{background-position-x:100%}.sprite-0,.sprite-1,.sprite-2{background-position-y:0%}.sprite-3,.sprite-4,.sprite-5{background-position-y:25%}.sprite-6,.sprite-7,.sprite-8{background-position-y:50%}.sprite-9,.sprite-10,.sprite-11{background-position-y:75%}.sprite-12,.sprite-13,.sprite-14{background-position-y:100%}.commercial-image{width:100%;height:100%;object-fit:contain}.product-visual .circle-btn{position:absolute;top:45%;width:34px;height:34px}.previous{left:0}.next{right:0}.product-description>.section-label{font-size:8px;letter-spacing:.1em}.product-description>h2{font-size:27px;line-height:1.1;font-weight:550;margin:12px 0}.product-price{font-size:10px;color:#84798b;margin-bottom:20px}.product-description>.btn{min-height:49px;justify-content:space-between;padding:14px 18px}.details-toggle{display:flex;margin:auto;font-size:10px;padding-bottom:0}.product-details{font-size:10px;line-height:1.6;color:#7a6d83;max-height:120px;overflow:auto;margin-top:12px}.product-details p{margin-top:8px;font-size:10px}.category-wrap{margin-top:18px}.categories{display:flex;gap:10px;justify-content:center;max-width:650px;margin:auto}.categories>button{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;min-width:0;background:none;color:#8b8196;font-size:10px;padding:7px 5px 10px;border-radius:15px}.category-thumb{border:2px solid transparent;border-radius:50%;padding:3px;width:58px;height:58px;background:#f1ede7;overflow:hidden}.category-thumb .product-sprite{width:100%;height:100%;border-radius:50%}.categories .active{color:var(--brand)}.categories .active .category-thumb{border-color:var(--brand)}.category-icon{display:none}.bottom-nav{display:flex;align-items:center;justify-content:center;gap:75px;border-top:1px solid var(--line);margin-top:15px;padding:17px 0;background:#fbfaff}.bottom-nav>button{display:flex;align-items:center;gap:9px;font-size:11px;background:none;color:#9b92a4;min-height:34px}.bottom-nav .active{color:var(--brand)}.bottom-nav b{background:var(--brand);color:white;padding:2px 5px;font-size:8px;border-radius:9px;min-width:14px;display:inline-block;text-align:center;margin-left:2px}.choices-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:25px}.choices-scene{position:relative;border-radius:22px;overflow:hidden;min-height:400px;max-height:620px}.choices-scene img{height:100%;width:100%;object-fit:cover;object-position:center 60%}.choices-scene>span{position:absolute;bottom:18px;left:18px;color:white;font-size:10px;background:#261c2f55;padding:10px 14px;border-radius:30px;backdrop-filter:blur(10px)}.selection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.selection-card{border-radius:18px;padding:15px;background:#f1eeea;min-height:220px;display:flex;flex-direction:column;min-width:0}.selection-image{width:100%;padding:0;background:none}.selection-image .product-sprite{width:100%;height:145px;aspect-ratio:auto}.selection-card>.section-label{font-size:8px;margin-top:12px;color:#8b7c95}.selection-card h3{font-size:13px;line-height:1.3;letter-spacing:-.025em;margin-top:6px;font-weight:500}.selection-actions{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px}.selection-actions .text-btn{font-size:9px}.unselected{border:1px dashed #ded5e8;background:transparent}.add-selection{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:none;flex:1;min-height:180px;color:#ab9eb6}.add-selection>span{border:1px solid var(--line);background:#f1edf5;border-radius:50%;padding:13px;display:grid;place-items:center}.add-selection b{font-weight:400;font-size:10px}.list-cta{border-radius:18px;background:var(--soft);padding:20px;text-align:left;color:var(--brand)}.list-cta h3{font-size:20px;line-height:1.2;margin:20px 0}.list-cta>span{font-size:10px;display:flex;align-items:center;justify-content:space-between}.shopping-layout{display:grid;grid-template-columns:1.4fr .8fr;gap:65px;min-height:520px}.shopping-items>.section-label{display:block;padding-bottom:15px;font-size:9px}.shopping-row{display:grid;grid-template-columns:95px 1fr 85px;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.shopping-image{border-radius:16px;background:#f0ece6;overflow:hidden;width:95px;padding:0}.shopping-image .product-sprite{width:95px;height:100px}.row-category{font-size:8px;color:#998ca5;text-transform:uppercase;letter-spacing:.1em}.shopping-row h3{font-size:14px;line-height:1.3;letter-spacing:-.025em;font-weight:500;margin:7px 0}.shopping-row p{font-size:10px}.shopping-row a{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--brand);margin-top:8px}.quantity{display:flex;align-items:center;gap:6px;background:#f0ecf5;border-radius:50px;padding:4px;font-size:11px}.quantity button{background:none;padding:6px 3px;display:grid;place-items:center}.quantity span{min-width:14px;text-align:center}.shopping-items>.text-btn{margin-top:20px;font-size:11px}.shopping-summary{background:#f2eef8;padding:30px;border-radius:22px;height:fit-content}.shopping-summary h2{font-size:25px;font-weight:550;margin-bottom:25px}.summary-line{display:flex;justify-content:space-between;gap:15px;font-size:11px;border-bottom:1px solid #e2daed;padding-bottom:17px}.summary-line b{font-weight:600;font-size:14px}.shopping-summary>p{font-size:10px;margin:15px 0 25px}.summary-budget{display:flex;justify-content:space-between;font-size:10px;color:#8e7f9e;margin-bottom:27px;gap:10px}.summary-budget b{color:var(--ink);font-weight:500;white-space:nowrap}.shopping-summary>.btn{margin-bottom:10px;font-size:11px}.shopping-summary>small{font-size:9px;color:#9a8ba7;display:flex;gap:8px;line-height:1.5;margin-top:15px}.delete-link{font-size:9px;color:#9a8ba7;margin-top:12px}.empty-catalog,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px;padding:60px 20px;min-height:300px}.empty-catalog svg,.empty-state>svg{color:#b7a8c5}.empty-catalog h2,.empty-state h2{font-size:24px}.empty-catalog p{font-size:12px}.empty-catalog .btn{font-size:10px;padding:12px}.empty-state .text-btn{font-size:11px}.loading-inline{display:flex;align-items:center;justify-content:center;gap:10px;min-height:400px;color:var(--muted);font-size:13px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#241a3a;color:white;font-size:12px;padding:15px 22px;border-radius:12px;display:flex;gap:10px;align-items:center;z-index:30;max-width:90vw}.modal-backdrop{position:fixed;inset:0;background:#1a0b3d66;backdrop-filter:blur(5px);z-index:40;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#fbfaff;border-radius:24px;padding:40px;max-width:500px;position:relative;max-height:90svh;overflow:auto}.modal h2{font-size:30px;margin:20px 0}.modal p{font-size:12px;margin:15px 0}.modal .btn{margin-top:20px}.close-modal{position:absolute;top:12px;right:12px;z-index:1;width:32px;height:32px}.image-modal{padding:0;background:#241a3a;max-width:90vw}.image-modal>img{max-height:88svh;object-fit:contain}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.admin{max-width:850px;padding:40px;margin:auto}.admin h1{margin:20px 0}.admin p{font-size:13px;margin-bottom:20px}.admin label{font-size:12px;display:block;max-width:400px;margin:20px 0}.admin textarea{width:100%;min-height:450px;font:12px monospace;border:1px solid var(--line);border-radius:12px;padding:18px;margin:20px 0}
@media(max-width:1000px){.hero{gap:5%;padding:40px 5% 50px}.hero-scene{height:500px}.hero-copy h1{font-size:49px}.hero-actions{gap:10px}.hero-actions .btn{padding:15px 16px;font-size:11px}.hero-actions .text-btn{font-size:11px}.room-stage{grid-template-columns:1.1fr .9fr;gap:15px}.studio-actions{gap:10px}.studio-heading h1{font-size:27px}.studio-heading .section-label{font-size:8px}.room-welcome{padding:20px 10px}.room-canvas{height:560px}.selection-grid{grid-template-columns:1fr 1fr}.choices-layout{grid-template-columns:.7fr 1fr}.shopping-layout{gap:30px}.shopping-row{grid-template-columns:70px 1fr 75px;gap:12px}.shopping-image,.shopping-image .product-sprite{width:70px}.shopping-summary{padding:25px}.shopping-summary h2{font-size:22px}}
@media(max-width:700px){.site-header{height:70px;padding:0 22px;gap:10px}.brand{font-size:23px}.brand-symbol{width:32px;height:32px;border-radius:8px}.brand-decor{font-size:8px;margin-left:8px}.header-links{gap:15px}.header-links>a{display:none}.header-links>.text-btn{font-size:10px}.header-links .btn{min-height:36px;font-size:10px;padding:9px 13px}.back-btn{font-size:10px}.hero{display:flex;flex-direction:column;padding:35px 22px 35px;gap:28px}.hero-copy{width:100%}.eyebrow{font-size:8px;padding:8px 10px}.hero-copy h1{font-size:43px;line-height:1.12;margin:23px 0 20px}.hero-copy p{font-size:13px}.hero-actions{margin:25px 0 16px;gap:16px;flex-wrap:nowrap}.hero-actions .btn{font-size:11px;min-height:49px;padding:14px 16px;gap:12px}.hero-actions .text-btn{font-size:10px;gap:6px}.hero-copy small{font-size:9px}.hero-scene{height:420px;border-radius:22px}.hero-context{bottom:15px;left:15px;right:15px;padding:13px;border-radius:14px}.hero-context b{font-size:11px}.hero-context small{font-size:9px}.context-icon{width:38px;height:38px}.scene-label{top:15px;left:15px;font-size:9px}.how{padding:35px 24px;display:block}.how h2{font-size:31px;margin-bottom:25px}.how .section-label{font-size:8px}.how li{padding:17px 0}.how h3{font-size:15px}.how p{font-size:11px}footer{padding:25px 22px;flex-wrap:wrap;gap:15px}footer>span{order:3;width:100%;font-size:9px}footer>.text-btn{margin-left:auto}.flow{padding:23px 22px 40px}.flow-progress{margin-bottom:25px;max-width:160px}.flow-heading{margin-bottom:25px}.flow-heading h1{font-size:31px;margin:12px 0}.flow-heading .section-label{font-size:9px}.flow-heading p{font-size:12px}.photo-layout,.brief-layout{display:flex;flex-direction:column;gap:25px}.photo-layout>div,.brief-layout>div{width:100%}.photo-drop{height:310px;border-radius:20px}.photo-actions h2{display:none}.photo-actions>p{font-size:11px;margin-bottom:18px}.photo-actions .btn{font-size:12px;min-height:48px;padding:13px}.photo-actions .consent{font-size:10px}.viewfinder{inset:25px}.photo-actions .demo-link{font-size:10px}.brief-layout{gap:28px}.style-card{min-height:86px}.style-card>img{width:67px;height:67px}.style-card small{font-size:9px}.style-card b{font-size:11px}.brief-fields>label{font-size:11px}.brief-fields input{font-size:16px}.processing{display:flex;flex-direction:column;padding:30px 22px;gap:30px}.processing-photo{width:100%;height:330px}.processing-copy h1{font-size:32px}.processing-copy p{font-size:12px}.studio{padding:22px 0 0}.studio-heading{padding:0 22px;margin-bottom:22px;gap:12px;align-items:start}.studio-heading h1{font-size:25px;margin-top:10px;line-height:1.15}.studio-heading .section-label{font-size:7px;letter-spacing:.13em}.studio-actions{gap:8px;flex-direction:column;align-items:end}.studio-actions>.text-btn{font-size:8px;gap:3px;min-height:28px;padding:0;white-space:nowrap}.studio-actions>.text-btn svg{width:12px}.demo-badge{font-size:8px;padding:7px 9px}.room-stage{position:relative;display:block;min-height:0;margin:0 12px}.room-canvas{height:540px;max-height:69svh;border-radius:19px}.room-photo{object-position:center 65%}.room-welcome{display:none}.room-top{top:14px;left:14px;right:14px}.room-top>span{font-size:8px;padding:9px 11px}.room-top .circle-btn{width:31px;height:31px}.room-caption{padding:90px 22px 27px}.room-caption>span{font-size:7px}.room-caption h2{font-size:29px;max-width:230px;line-height:1.08}.room-caption p{font-size:10px}.with-detail .room-canvas{height:270px;max-height:36svh;border-radius:19px 19px 0 0}.with-detail .room-photo{object-position:center 62%}.with-detail .product-panel{border-radius:22px;position:relative;margin-top:-17px;z-index:2;padding:15px 20px 17px;border:1px solid #f8f5f0}.story-bars{margin-bottom:12px}.panel-heading{font-size:10px}.panel-heading>span:last-child{font-size:8px}.product-visual{height:180px;flex:none;min-height:0;max-height:27svh;margin:0 auto;width:100%;max-width:310px}.product-visual>.product-sprite{max-width:280px}.product-visual .circle-btn{width:30px;height:30px}.product-description{margin-top:0}.product-description .section-label{display:none}.product-description>h2{font-size:24px;margin:5px 0 9px}.product-price{font-size:9px;margin-bottom:14px}.product-description>.btn{font-size:12px;min-height:45px;padding:12px 16px}.details-toggle{font-size:9px;min-height:28px;padding-top:9px}.product-details{font-size:9px}.category-wrap{padding:0 12px;margin:12px 0}.categories{gap:2px}.categories>button{font-size:8px;gap:6px;padding:4px 2px 7px}.category-thumb{width:49px;height:49px;padding:2px}.bottom-nav{position:sticky;bottom:0;z-index:10;gap:0;justify-content:space-around;padding:11px 12px max(11px,env(safe-area-inset-bottom));margin-top:0;border-top:1px solid var(--line)}.bottom-nav>button{flex-direction:column;font-size:9px;gap:6px;min-width:80px;min-height:40px}.bottom-nav svg{width:20px;height:20px}.bottom-nav b{font-size:7px;min-width:12px;padding:1px 4px}.choices-layout{display:block;padding:0 18px}.choices-scene{height:180px;min-height:0;margin-bottom:15px;border-radius:18px}.choices-scene>img{object-position:center 65%}.choices-scene>span{font-size:8px;padding:7px 10px;left:12px;bottom:12px}.selection-grid{grid-template-columns:1fr 1fr;gap:11px}.selection-card{padding:12px;min-height:210px;border-radius:15px}.selection-image .product-sprite{height:130px}.selection-card h3{font-size:12px}.selection-card>.section-label{font-size:7px}.selection-actions .text-btn{font-size:9px;min-height:30px}.add-selection{min-height:170px;gap:12px}.add-selection b{font-size:9px}.list-cta{padding:18px}.list-cta h3{font-size:22px;margin:15px 0}.list-cta>span{font-size:9px}.shopping-layout{display:block;padding:0 22px}.shopping-items>.section-label{font-size:8px;padding-bottom:8px}.shopping-row{grid-template-columns:62px 1fr 68px;gap:12px;padding:20px 0}.shopping-image,.shopping-image .product-sprite{width:62px;height:78px;border-radius:12px}.shopping-row h3{font-size:12px}.shopping-row p{font-size:8px}.row-category{font-size:7px}.quantity{font-size:10px;gap:3px;padding:4px}.quantity button{padding:6px 2px}.quantity svg{width:13px}.shopping-items>.text-btn{font-size:10px}.shopping-summary{margin:25px 0;border-radius:20px;padding:24px}.shopping-summary h2{font-size:25px}.shopping-summary>.btn{font-size:12px}.shopping-summary>p{font-size:10px}.modal{padding:35px 25px;max-height:90svh}.modal h2{font-size:26px}.modal p{font-size:11px}.modal .section-label{font-size:8px}.modal .image-modal{padding:0}.toast{bottom:85px;font-size:10px;padding:13px 17px;white-space:nowrap}.admin{padding:30px 22px}.admin h1{font-size:30px}.admin textarea{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep product concepts in their original square proportions. */
.product-visual>.product-sprite{width:240px;height:240px;max-width:100%;max-height:100%;aspect-ratio:1}.selection-image{display:flex;justify-content:center}.selection-image .product-sprite{width:145px;height:145px;max-width:100%;aspect-ratio:1}.shopping-image .product-sprite{height:95px}.shopping-image{display:grid;place-items:center}@media(max-width:1000px){.shopping-image .product-sprite{height:70px}}@media(max-width:700px){.product-visual>.product-sprite{width:180px;height:180px}.selection-image .product-sprite{width:130px;height:130px}.shopping-image .product-sprite{height:62px}}

@media(max-width:700px){.detail-open{padding-top:10px}.detail-open .studio-heading{display:none}.detail-open .room-canvas{height:24svh;max-height:200px}.detail-open .product-visual{height:150px;max-height:21svh}.detail-open .product-visual>.product-sprite{width:150px;height:150px}.detail-open .product-description>h2{font-size:22px}.detail-open .product-panel{padding:12px 18px}.detail-open .category-wrap{margin:8px 0}.detail-open .categories>button{gap:4px}.detail-open .category-thumb{width:44px;height:44px}.detail-open .product-price{margin-bottom:12px}}

@media(max-width:700px) and (max-height:760px){.detail-open .room-canvas{height:20svh}.detail-open .product-visual{height:130px}.detail-open .product-visual>.product-sprite{width:130px;height:130px}.detail-open .category-thumb{width:40px;height:40px}.detail-open .category-wrap{margin:5px 0}.detail-open .categories{padding-bottom:5px}}
/* One required item, one main choice, alternatives kept outside the basket. */
.product-secondary-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 0}.product-secondary-actions .text-btn{font-size:10px;gap:7px}.comparison-modal{max-width:940px;width:100%;padding:40px}.comparison>h2{max-width:600px;font-size:33px}.comparison>p{font-size:12px;margin:16px 0 25px}.compare-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.compare-columns>article{display:flex;flex-direction:column;min-width:0;background:#f2eeea;border-radius:16px;padding:18px}.compare-photo{display:flex;justify-content:center;height:170px;align-items:center}.compare-photo .product-sprite{height:155px;width:155px}.compare-columns h3{font-size:17px;min-height:45px;line-height:1.2}.compare-columns dl{margin:15px 0 20px;font-size:10px}.compare-columns dl>div{padding:9px 0;border-bottom:1px solid #e2dce5}.compare-columns dt{color:#9c8ca8;font-size:8px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.compare-columns dd{margin:0;line-height:1.6}.compare-columns .btn{font-size:11px;margin-top:auto;padding:12px;min-height:43px;gap:5px}.comparison>small{font-size:10px;color:#94869d;display:block;margin-top:25px;line-height:1.7}.fit-reason{font-size:10px!important;margin:0 0 12px!important}.shopping-group{border-bottom:1px solid var(--line);padding-bottom:12px}.shopping-group .shopping-row{border-bottom:0}.saved-alternatives{padding:18px;border:1px solid var(--line);border-radius:14px;margin:0 0 10px;background:#f7f3fc}.saved-alternatives>h4{font-size:11px;margin:0 0 6px;font-weight:500}.saved-alternatives>p{font-size:9px;margin:0 0 12px}.saved-alternatives>article{display:flex;align-items:center;gap:6px;border-top:1px solid #e9e1f0;padding:8px 0}.alt-preview{display:flex;align-items:center;gap:10px;background:none;flex:1;padding:0;text-align:left;min-width:0}.alt-preview .product-sprite,.alt-preview .commercial-image{width:50px;height:50px;border-radius:9px}.alt-preview>span:not(.product-sprite){flex:1}.alt-preview b{font-weight:500;font-size:10px;display:block}.alt-preview small{font-size:8px;color:#998aa6;display:block;margin-top:5px}.alt-preview>svg{color:var(--brand)}.group-compare{font-size:10px!important;margin:0!important;color:#7c3aed}.unselected-alternatives{margin:20px 0}.unselected-alternatives>h3{font-size:15px;margin:0 0 15px}.export-text{font-size:9px;min-height:30px}.shopping-row>div:nth-child(2)>p{font-size:9px}.saved-alternatives .icon-btn{flex-shrink:0}@media(max-width:700px){.product-secondary-actions .text-btn{font-size:8px;min-height:30px}.product-secondary-actions svg{width:13px}.product-secondary-actions{gap:5px;margin-top:5px}.comparison-modal{padding:35px 18px 25px;max-width:95vw}.comparison>h2{font-size:26px}.comparison>p{font-size:10px}.compare-scroll{overflow-x:auto}.compare-columns{display:flex;gap:12px;width:max-content;padding-bottom:10px}.compare-columns>article{width:210px;padding:15px}.compare-columns h3{font-size:16px}.compare-photo{height:135px}.compare-photo .product-sprite{width:135px;height:135px}.comparison>small{font-size:9px}.saved-alternatives{padding:14px}.saved-alternatives>h4{font-size:10px}.saved-alternatives>p{font-size:8px}.alt-preview b{font-size:9px}.group-compare{font-size:9px!important}.alt-preview .product-sprite{width:43px;height:43px}.shopping-group .shopping-row{padding-bottom:15px}.detail-open .product-visual{height:125px}.detail-open .product-visual>.product-sprite{width:125px;height:125px}.detail-open .product-description>h2{font-size:21px}.saved-alternatives .icon-btn{width:25px}.comparison .section-label{font-size:8px}}
.catalog-admin{max-width:1050px}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 20px}.catalog-toolbar>span{font-size:11px;color:var(--muted)}.catalog-editor{background:white;border:1px solid var(--line);border-radius:20px;padding:30px;margin-top:25px}.catalog-editor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.catalog-editor-heading h2{font-size:24px}.catalog-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.catalog-fields label{max-width:none;margin:13px 0;font-size:11px;font-weight:500}.catalog-fields .wide{grid-column:1/-1}.catalog-fields small{float:right;font-size:8px;font-weight:400;color:var(--muted)}.catalog-fields select,.catalog-fields input[type=datetime-local]{display:block;width:100%;border:1px solid var(--line);background:#fbfaff;padding:14px;border-radius:11px;font:12px inherit;margin-top:10px;color:var(--ink)}.catalog-editor .consent{max-width:none;margin:20px 0;font-size:11px}.catalog-note{font-size:10px!important;color:#95859e;margin:15px 0!important}.catalog-image-upload{display:flex;gap:20px;align-items:center;margin:20px 0}.catalog-image-upload img{height:100px;width:100px;object-fit:contain;border:1px solid var(--line);border-radius:12px}.catalog-image-upload label{display:flex;font-size:11px;cursor:pointer;max-width:none;margin:0}.catalog-records>button{width:100%;display:flex;align-items:center;gap:20px;text-align:left;border-bottom:1px solid var(--line);padding:22px 0;background:none}.catalog-records b{font-size:13px;font-weight:500;display:block}.catalog-records small{font-size:10px;color:var(--muted);display:block;margin-top:7px}.record-state{font-size:9px;padding:7px 10px;background:#f0eaf7;color:#9785a7;border-radius:30px;margin-left:auto}.record-state.published{background:#e7f3e9;color:#4e7e58}.catalog-empty{padding:70px 20px;text-align:center;border:1px dashed var(--line);border-radius:18px}.catalog-empty h2{font-size:25px}.catalog-empty p{max-width:500px;margin:20px auto!important}.room-insights{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;padding:16px 10px}.room-insights>span{font-size:10px;color:#9886a6}.room-insights>div{display:flex;gap:8px;flex-wrap:wrap}.room-insights>div>button{background:#f1eaf8;border-radius:30px;color:#7c3aed;display:flex;align-items:center;gap:5px;font-size:10px;padding:8px 12px}.room-insights small{width:100%;text-align:center;font-size:8px;color:#ac9ab6}.room-insights>.btn{font-size:10px;min-height:38px;padding:10px 15px}@media(max-width:700px){.catalog-fields{display:block}.catalog-toolbar{gap:10px}.catalog-toolbar>span{font-size:9px}.catalog-toolbar .btn{font-size:10px}.catalog-editor{padding:22px 17px}.catalog-editor-heading h2{font-size:21px}.catalog-fields label{font-size:10px}.catalog-fields input,.catalog-fields select{font-size:16px!important}.catalog-editor .consent{font-size:10px}.catalog-image-upload{flex-wrap:wrap}.catalog-records b{font-size:11px}.catalog-records small{font-size:9px}.catalog-records>button{gap:12px}.record-state{font-size:8px}.room-insights{padding:12px 20px;gap:8px}.room-insights small{font-size:8px}.room-insights>div>button{font-size:9px}.room-insights>.btn{font-size:10px}}
.funnel-panel{background:#f3eef9;border-radius:16px;padding:18px 21px;margin:20px 0}.funnel-panel summary{font-size:12px;font-weight:600;cursor:pointer}.funnel-panel>p{font-size:10px;margin:10px 0 14px}.funnel-cohort{padding:15px 0;border-top:1px solid #e8def2}.funnel-cohort>b{font-size:10px;font-weight:600;color:#7c3aed}.funnel-cohort dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:11px;margin:14px 0 0}.funnel-cohort dl>div{display:flex;justify-content:space-between;gap:10px;font-size:9px}.funnel-cohort dd{margin:0;font-weight:600}.catalog-fields select,.catalog-fields input[type=datetime-local]{font:inherit;font-size:12px}
.fit-filters{padding:9px 0;font-size:10px;color:#7c3aed}.fit-filters summary{cursor:pointer}.fit-filters>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.fit-filters label{font-size:9px;color:var(--muted)}.fit-filters input{font-size:12px;padding:9px}.fit-filters>small{display:block;margin-top:9px;font-size:8px;color:var(--muted)}

.list-feedback {
  border: 0;
  border-top: 1px solid var(--line, #e1e1e1);
  margin: 1rem 0 0;
  padding: .65rem 0 0;
  display: flex;
  gap: .5rem;
}
.list-feedback legend { font-size: .85rem; font-weight: 600; padding: 0 .35rem 0 0; }
.list-feedback button[aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: -2px; }

.jb{max-width:1160px;margin:0 auto;padding:34px 5% 56px}
.jb-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.jb-heading h1{font-size:clamp(32px,5vw,54px);line-height:1.06;margin:8px 0 0}
.jb-photo-step p,.jb-model-info p{color:#62584f;line-height:1.5}
.jb-photo-wizard{max-width:560px;margin:0 auto}
.jb-photo-progress{display:flex;gap:6px;margin:0 0 18px}
.jb-photo-progress span{height:3px;flex:1;border-radius:3px;background:#e3d8cf}
.jb-photo-progress .seen{background:#7c3aed}
.jb-photo-step{margin:0;padding:0;border:0;min-width:0}
.jb-photo-step legend{padding:0;color:#6f587f;font-size:12px;font-weight:700}
.jb-photo-step h2{margin:5px 0;font-size:clamp(24px,6vw,34px);letter-spacing:-.035em}
.jb-photo-step p{margin:0 0 14px;font-size:14px}
.jb-photo-frame{display:grid;place-items:center;aspect-ratio:4/3;max-height:42svh;overflow:hidden;border-radius:18px;background:#f1eaf9;color:#8a68a8}
.jb-photo-frame img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.jb-angle-guide{width:86%;height:86%;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.jb-angle-frame{opacity:.5;stroke-width:1}
.jb-photo-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.jb-photo-nav .btn{margin-left:auto;min-height:44px}
.jb-photo-nav .text-btn,.jb-stage-resume{min-height:44px}
.jb-stage-resume{margin:0 14px 8px 0}
.jb-photo-actions{display:flex;gap:8px;margin:10px 0 12px}
.jb-photo-actions .btn{flex:1;position:relative;font-size:12px;padding:8px;min-height:44px}
.jb-photo-actions input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.jb-photo-actions label:focus-within,.jb button:focus-visible,.jb summary:focus-visible{outline:2px solid #9b6234;outline-offset:3px}
.jb-consent{display:flex;gap:8px;align-items:center;font-size:13px}
.jb-consent{margin:18px 0}
.jb-measure{margin-top:20px}
.jb-measure label{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0;font-size:13px}
.jb-measure input{max-width:105px;padding:8px;border:1px solid #d9cdc0;border-radius:6px;background:white}
.jb-submit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.jb-error{padding:12px 16px;background:#f6e3dd;border-radius:10px;color:#733828}
.jb-model{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:22px}
.jb-viewer,.jb-model-info{border:1px solid #d9cdc0;border-radius:18px;overflow:hidden}
.jb-canvas{height:clamp(390px,60vh,620px);background:#eee9e1;position:relative}
.jb-canvas canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.jb-canvas canvas:active{cursor:grabbing}
.jb-canvas p{padding:18px}
.jb-view-controls{display:flex;flex-wrap:wrap;gap:7px;padding:10px}
.jb-view-controls button,.jb-items button{min-height:44px;min-width:44px;border:1px solid #ddd2c7;border-radius:30px;background:#fffcf7;padding:0 12px;color:#2c241c}
.jb-items button[aria-pressed=true]{color:white;background:#493523}
.jb-angle{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:0 12px 12px;font-size:12px;color:#62584f}
.jb-angle>div{display:flex;gap:12px;flex-wrap:wrap}
.jb-angle button{min-height:44px;font-size:11px}
.jb-model-info{align-self:start;padding:16px;display:grid;gap:16px}
.jb-model-info h2{font-size:19px;margin:0}
.jb-model-info p,.jb-model-info li{font-size:13px}
.jb-reference{width:100%;max-height:180px;object-fit:contain;margin-top:8px;border-radius:8px;background:#eee9e1}
.jb-items{display:flex;gap:6px;flex-wrap:wrap}
.jb-items button{font-size:12px}
.jb summary{cursor:pointer}
@media(max-width:720px){
 .jb{padding:22px 4% 40px}.jb-model{grid-template-columns:1fr;gap:12px}
 .jb-canvas{height:clamp(340px,60svh,560px)}.jb-model-info{gap:10px}
}

.jb-toolbar,.jb-toolbar nav,.jb-output,.jb-add-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.jb-toolbar{justify-content:space-between;border-bottom:1px solid #d9cdc0;padding-bottom:10px}
.jb-toolbar nav button{min-height:44px}
.jb-toolbar nav button[aria-current]{text-decoration:underline;text-underline-offset:6px}
.jb-status{min-height:24px;margin:8px 0;color:#665546;font-size:13px}
.jb-editor{padding:0;border:0;margin:0;min-width:0}
.jb-model-info details{border-bottom:1px solid #e6dcd0;padding:0 0 12px;min-width:0}
.jb-model-info details:last-child{border:0}
.jb-model-info summary{font-weight:700;font-size:15px;min-height:32px}
.jb-model-info select,.jb-model-info input{min-width:0;width:100%;border:1px solid #d9cdc0;border-radius:6px;padding:7px;background:#fffaf4;color:#372b20}
.jb-model-info label{display:grid;gap:4px;font-size:11px;margin:4px 0}
.jb-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px}
.jb-opening,.jb-object-edit{padding:10px 0;margin-top:9px;border-top:1px solid #e6dcd0}
.jb-add,.jb-add-row,.jb-items{margin-top:9px}
.jb-add-row select{flex:1;min-width:110px}
.jb-add-row .btn{min-height:44px;padding:9px 12px;font-size:12px}
.jb-add-row .text-btn{min-height:44px}
.jb-warning{color:#874128!important}
.jb-output,.jb-references{margin:12px 0}
.jb-output small{font-size:12px;color:#65594e}
.jb-references{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.jb-references figure{margin:0;padding:6px;border:1px solid #ddd2c7;border-radius:10px;text-align:center}
.jb-references img{display:block;width:100%;height:115px;object-fit:cover;border-radius:6px}
.jb-references button{font-size:10px;min-height:42px}
.jb-references button[aria-pressed=true]{font-weight:800}
.jb-result{width:100%;border-radius:14px}
.jb-render-confirm{padding:12px;background:#f4e6d7;border-radius:12px}
.jb-story{margin-top:10px;padding:10px;background:#eee4d7;border-radius:12px}
.jb-story h3,.jb-story p{margin:5px 0}
.jb-story-image{display:grid;place-items:center;height:132px;background:#fffaf4;border-radius:8px}
.jb-story-image img,.jb-story-image .product-sprite{width:130px;height:130px;object-fit:contain}
.jb-story .jb-add-row{justify-content:space-between}
.jb-story .jb-add-row>.text-btn{font-size:24px;min-width:35px;justify-content:center}
.jb-board h2{margin:12px 0}
.jb-board-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.jb-board-grid article,.jb-list li{border:1px solid #d9cdc0;border-radius:12px;padding:12px}
.jb-board-grid article img,.jb-board-grid .product-sprite{display:block;width:110px;height:110px;object-fit:contain}
.jb-board-grid h3,.jb-list h3,.jb-list p{margin:4px 0}
.jb-list{list-style:none;padding:0;display:grid;gap:8px}
.jb-list li{display:flex;gap:12px;align-items:center}
.jb-list-product{flex:1;min-width:0;overflow-wrap:anywhere}
.jb-list-image{width:64px;height:64px;flex:none;border-radius:8px;overflow:hidden;background:#f4efe8}
.jb-list-image img,.jb-list-image .product-sprite{display:block;width:100%;height:100%;object-fit:contain}
.jb-list a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
.jb-list-curation{margin-top:18px}
.jb-list-subtotal{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.jb-delete{margin-top:30px}
@media(max-width:720px){.jb-references img{height:78px}.jb-toolbar{gap:4px}.jb-toolbar nav{gap:9px}.jb-model-info{padding:12px}}

.jb-brief{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(270px,.85fr);gap:clamp(18px,5vw,56px);align-items:start}
.jb-brief-visual{display:grid;justify-items:center;gap:10px;background:#e8dfd1;border-radius:18px;padding:12px}
.jb-brief-photo{position:relative;max-width:100%;width:max-content}
.jb-brief-photo>img{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;border-radius:12px}
.jb-brief-pin{position:absolute;transform:translate(-50%,-50%);min-width:44px;min-height:44px;border:0;border-radius:30px;background:#fffaf4;color:#382c23;padding:0 10px;box-shadow:0 0 0 4px #fff8e74c,0 3px 12px #20180960;font-weight:750}
.jb-brief-pin[aria-pressed=true]{background:#4e3527;color:white}
.jb-photo-choices{display:flex;gap:8px}
.jb-photo-choices button{padding:2px;border-radius:9px;background:transparent;border:2px solid transparent}
.jb-photo-choices button[aria-pressed=true]{border-color:#624634}
.jb-photo-choices img{display:block;width:58px;height:49px;object-fit:cover;border-radius:5px}
.jb-brief-answers h2{font-size:clamp(24px,3vw,36px);margin:0}
.jb-brief-answers p{margin:5px 0 14px;color:#67564a}
.jb-brief-choice{border:1px solid #d9cdc0;border-radius:12px;margin:0 0 10px;padding:5px 8px 8px}
.jb-brief-choice.is-focused{border-color:#9b6234}
.jb-brief-choice legend{font-weight:720;padding:0 6px}
.jb-brief-choice div{display:flex;flex-wrap:wrap;gap:6px}
.jb-brief-choice label{position:relative}
.jb-brief-choice input{position:absolute;opacity:0;inset:0}
.jb-brief-choice span{display:grid;place-items:center;min-height:44px;border-radius:8px;padding:0 10px;font-size:12px;color:#514136}
.jb-brief-choice input:checked+span{background:#493523;color:white}
.jb-brief-choice input:focus-visible+span{outline:2px solid #9b6234;outline-offset:2px}
.jb-brief-settings{display:grid;grid-template-columns:1.3fr 1fr;gap:8px;margin:12px 0}
.jb-brief-settings label{display:grid;gap:4px;font-size:12px;min-width:0}
.jb-brief-settings select,.jb-brief-settings input,.jb-brief-placement select{width:100%;border:1px solid #d9cdc0;border-radius:8px;padding:9px 6px;color:#372b20;background:#fffaf4;min-height:42px}
.jb-brief-placement{margin:8px 0;color:#514136;font-size:12px}
.jb-proposal .jb-items{margin-bottom:10px}
.jb-proposal .jb-items small{font-size:10px}
@media(max-width:720px){
 .jb-brief{grid-template-columns:1fr;gap:16px}
 .jb-brief-photo>img{max-height:39svh}
 .jb-brief-visual{padding:8px}
 .jb-brief-answers>.btn{width:100%}
}

.jb-before-after{display:flex;gap:12px;margin:0 0 8px}
.jb-before-after button{min-height:44px}
.jb-before-after button[aria-pressed=true]{text-decoration:underline;text-underline-offset:6px}
.jb-before-photo{display:block;max-height:68svh;max-width:100%;object-fit:contain;margin:auto;border-radius:12px}

/* The room stays in view while products open on top. */
.jb-workspace .jb-heading{margin-bottom:12px}
.jb-decor-toolbar{align-items:center;gap:7px;flex-wrap:nowrap}
.jb-decor-toolbar nav{min-width:0;gap:clamp(7px,2vw,24px)}
.jb-decor-toolbar nav button{white-space:nowrap}
.jb-decor-toolbar nav button[aria-current]{text-decoration:none;box-shadow:inset 0 -2px currentColor}
.jb-history{display:flex;gap:6px}
.jb-round{display:inline-grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid #d6c6b8;border-radius:50%;background:#fffaf6;color:#30252b}
.jb-round:disabled{opacity:.38}
.jb-decor-status{margin:0;min-height:0}
.jb-decor-status:not(:empty){padding:7px 0}
.jb-decor-stage{grid-template-columns:minmax(0,1fr) minmax(180px,225px);margin-top:10px}
.jb-decor-stage .jb-before-after{margin:0 0 6px}
.jb-decor-stage .jb-canvas{background:#e7dbcc}
.jb-decor-instruction{align-self:start;padding:17px 0;font-size:14px;color:#5b4b45}
.jb-decor-instruction p{margin-top:0}
.jb-room-picks,.jb-decor-categories nav,.jb-decor-extras{display:flex;flex-wrap:wrap;gap:7px}
.jb-room-picks button,.jb-decor-categories nav button{min-height:44px;border:1px solid #d8c8bb;border-radius:24px;background:#fffaf5;color:#33282d;padding:0 13px;font:inherit}
.jb-room-picks button[aria-pressed=true]{background:#3d302c;color:#fff9f4}
.jb-room-picks small{font-size:10px}
.jb-decor-categories{margin-top:9px}
.jb-decor-categories nav{gap:6px}
.jb-decor-categories nav button{font-size:12px;white-space:nowrap}
.jb-decor-extras{margin-top:7px}
.jb-decor-extras button{min-height:40px}
.jb-discover{box-sizing:border-box;position:fixed;inset:0 18px 0 auto;margin:auto;width:min(420px,calc(100% - 36px));max-height:calc(100dvh - 36px);padding:0;border:1px solid #d9c6b6;border-radius:22px;color:#2e2529;background:#faf5ee;overflow:auto;overscroll-behavior:contain;box-shadow:0 18px 55px #20151040}
.jb-discover[open]{animation:jb-reveal .19s ease-out}
@keyframes jb-reveal{from{opacity:.5;transform:translateY(12px)}to{opacity:1;transform:none}}
.jb-discover::backdrop{background:#29221d58}
body:has(.jb-discover[open]){overflow:hidden}
.jb-discover-body{padding:14px 15px 12px}
.jb-discover-head,.jb-discover-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.jb-discover-head h2{font-size:19px;margin:0}
.jb-story-progress{display:flex;gap:4px;margin:5px 0 10px}
.jb-story-progress span{height:3px;border-radius:6px;background:#dfd2c7;flex:1}
.jb-story-progress .seen{background:#8d654b}
.jb-discover-visual{position:relative;display:grid;place-items:center;height:clamp(155px,37vh,275px);border-radius:15px;background:radial-gradient(ellipse at 48% 38%,#fbf0e3,#e6d3be);touch-action:pan-y}
.jb-discover-visual img{display:block;max-width:85%;max-height:100%;object-fit:contain;border-radius:8px}
.jb-discover-visual .product-sprite{width:min(76%,240px);height:100%}
.jb-discover-visual .jb-prev,.jb-discover-visual .jb-next{position:absolute;top:50%;transform:translateY(-50%)}
.jb-discover-visual .jb-prev{left:8px}.jb-discover-visual .jb-next{right:8px}
.jb-discover-copy{padding:10px 1px 0}
.jb-discover-meta{color:#665047;font-size:11px}
.jb-discover-copy h3{font-size:clamp(19px,3.5vw,25px);line-height:1.15;margin:6px 0}
.jb-discover-copy p{font-size:12px;color:#65524a;margin:5px 0}
.jb-discover-copy p.jb-discover-problem{color:#883f31}
.jb-choose{width:100%;margin-top:10px;justify-content:center}
.jb-story-subaction{min-height:42px;margin:auto}
@media(max-width:720px){
 .jb-workspace .jb-heading h1{font-size:clamp(25px,7vw,37px)}
 .jb-decor-toolbar nav{display:grid;grid-template-columns:auto auto auto auto;justify-content:start;gap:6px}
 .jb-decor-toolbar nav button{font-size:11px;padding:0 1px}
 .jb-history{gap:3px}.jb-history .jb-round{width:36px;height:42px}
 .jb-decor-stage{grid-template-columns:1fr;gap:9px}
 .jb-decor-stage .jb-canvas{height:clamp(295px,48svh,490px)}
 .jb-decor-stage .jb-angle{padding-bottom:3px}
 .jb-decor-instruction{padding:2px 0 0}
 .jb-decor-instruction p{margin:3px 0 7px}
 .jb-decor-categories nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
 .jb-decor-categories nav button{padding:0 2px;font-size:11px}
 .jb-discover{inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:78dvh;border-radius:20px 20px 0 0;border-bottom:0}
 .jb-discover-body{padding-bottom:max(10px,env(safe-area-inset-bottom))}
 .jb-discover-visual{height:clamp(155px,32svh,240px)}
}
@media(prefers-reduced-motion:reduce){.jb-discover[open]{animation:none}}

.jb-decor-stage .jb-canvas,.jb-canvas{background:#ebe7df}
.jb-model-controls{justify-content:center;gap:7px;padding:8px}
.jb-model-controls .text-btn{font-size:12px;min-height:44px}
.jb-proposal-style{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:650;color:#594a41}
.jb-proposal-style select{min-height:38px;border:1px solid #d6c6b8;border-radius:12px;background:#fffaf5;color:#362c2d;padding:3px 8px}
.jb-preview-bar{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;background:#f8efe4;border:1px solid #d9c8b6;border-radius:14px;margin:8px 0;padding:9px;box-shadow:0 5px 14px #4733221a}
.jb-preview-bar>div{display:grid;flex:1 0 135px}
.jb-preview-bar small{color:#69564a;font-size:10px}
.jb-preview-bar b{font-size:13px}
.jb-preview-bar .text-btn{min-height:42px}

.jb-match{max-width:960px;margin:0 auto}
.jb-match-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.jb-match-heading h2{font-size:clamp(22px,4vw,38px);letter-spacing:-.045em;line-height:1.07;margin:0}
.jb-match-heading p{margin:8px 0 0;color:#64534f;font-size:14px}
.jb-match-heading .text-btn{min-height:44px;white-space:nowrap}
.jb-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.jb-match-grid button{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #d6c9be;border-radius:17px;background:#fbf7f0;color:#352b30;padding:0;overflow:hidden;text-align:left}
.jb-match-grid button[aria-pressed=true]{outline:2px solid #87604d;outline-offset:-2px}
.jb-match-grid button img{width:100%;aspect-ratio:4/4.25;object-fit:cover}
.jb-match-card-name{font-weight:750;margin:9px 10px 5px}
.jb-match-card-info{margin:0 10px 10px;color:#64524b;font-size:12px;line-height:1.35}
.jb-match-swatches{display:flex;gap:4px;margin-top:8px}
.jb-match-swatches i{width:14px;height:14px;border-radius:100%;border:1px solid #00000019}
.jb-match-feature{display:none}
.jb-match-actions{display:flex;gap:14px;align-items:center;margin:14px 0 0}
.jb-match-actions .text-btn{min-height:44px}
.jb-match-credits{color:#695751;font-size:11px;margin-top:8px}
.jb-match-credits ul{padding-left:19px}
.jb-match-applied{font-size:12px}
@media(max-width:720px){
 .jb-match-heading{display:block;margin-bottom:10px}
 .jb-match-heading .text-btn{min-height:35px}
 .jb-match-feature{display:block;position:relative;border-radius:16px;overflow:hidden;margin:0 0 9px;background:#ebdfd1}
 .jb-match-feature img{display:block;width:100%;height:clamp(205px,36svh,325px);object-fit:cover}
 .jb-match-feature figcaption{position:absolute;inset:auto 0 0;padding:23px 12px 10px;background:linear-gradient(transparent,#221911c9);color:white;display:grid;gap:4px;font-size:12px}
 .jb-match-feature figcaption strong{font-size:17px}
 .jb-match-grid{gap:6px}
 .jb-match-grid button{border-radius:10px}
 .jb-match-grid button img{aspect-ratio:4/2.9}
 .jb-match-card-name{font-size:11px;margin:5px}
 .jb-match-card-info{display:none}
 .jb-match-actions{justify-content:space-between;gap:6px}
 .jb-match-actions .btn{font-size:12px;padding-inline:11px}
 .jb-match-actions .text-btn{font-size:11px}
}

.jb-story-shelf{margin:0 0 16px}
.jb-story-shelf h2{font-size:17px;margin:0 0 9px}
.jb-story-shelf nav{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 5px;scrollbar-width:thin}
.jb-story-shelf button{min-width:64px;display:grid;justify-items:center;gap:4px;border:0;background:transparent;color:inherit;padding:0;font-size:11px;cursor:pointer}
.jb-story-cover{display:grid;place-items:center;width:52px;height:52px;border:2px solid #9a69d4;border-radius:50%;padding:2px;background:#f3ebe5;overflow:hidden}
.jb-story-cover img,.jb-story-cover .product-sprite{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.jb-before-after,.jb-viewer{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.jb-preview-bar .jb-preview-compare{display:flex;justify-content:space-between;gap:7px;flex:1 0 100%}
.jb-flow-next{margin:12px 0;min-height:44px}
.jb-board-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;max-width:660px}
.jb-board-summary figure{margin:0;border-radius:14px;overflow:hidden;background:#f3ebe5}
.jb-board-summary img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.jb-board-summary figcaption{font-weight:650;padding:9px 11px;font-size:13px}
.jb-board-recipe ul{display:flex;gap:6px;padding:0;list-style:none;margin:12px 0 0}
.jb-board-recipe li span{display:block;width:27px;height:20px;border-radius:5px;border:1px solid #0002}
@media(max-width:720px){.jb-flow-next{width:100%;justify-content:center}}

.jb-board-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}

.jb-decision{display:grid;gap:6px;margin:0 0 15px}
.jb-decision p{margin:0;font-size:13px;line-height:1.35}
.jb-decision .btn{justify-self:start;min-height:44px}
.jb-saved-choice b{color:#4c1d95}
.jb-flow-back{min-height:44px;margin-bottom:8px}
.jb-opening-photo{max-width:230px;margin:10px 0}
.jb-opening-photo img{display:block;width:100%;max-height:155px;object-fit:contain;background:#f3ebe5;border-radius:10px}
.jb-opening-photo figcaption{font-size:12px;margin-top:4px}
.jb-viewer-static .jb-canvas{height:auto;aspect-ratio:4/3;min-height:0;pointer-events:none}
.jb-story-primary{position:sticky;bottom:0;z-index:1}
@media(max-width:720px){.jb-decision .btn{justify-self:stretch;justify-content:center}}

@media(max-width:720px){
 .jb-preview-bar{position:fixed;inset:auto 10px max(10px,env(safe-area-inset-bottom)) 10px;margin:0}
 .jb-preview-bar .btn{margin-left:auto}
}

.jb-opening-width{display:grid;gap:5px;margin:8px 0 12px}
.jb-opening-width span{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:650}
.jb-opening-width input{width:100%;min-height:44px;accent-color:#7c3aed}

.jb-decor-stage .jb-story-shelf{margin-top:15px}

.jb-proposal-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.jb-proposal-secondary button{min-height:44px;padding-inline:0}
.jb-decision{margin-top:8px}
.jb-purchase-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:650;cursor:pointer}
.jb-purchase-toggle input{width:18px;height:18px;accent-color:#7c3aed}
@media(max-width:720px){.jb-decor-stage .jb-canvas{height:clamp(240px,39svh,410px)}}

.jb-proposal-estimate{border-left:2px solid #c4a6e6;padding-left:12px;margin:16px 0}
.jb-proposal-estimate p{margin:5px 0;font-size:13px}

.jb-guest-note{max-width:560px;margin:0 auto 16px;padding:10px 13px;border-radius:10px;background:#f0eafb;color:#4c3d65;font-size:13px;line-height:1.4}


.jb-initial-proposal { display: grid; gap: 14px; max-width: 720px; margin-inline: auto; }
.jb-initial-proposal figure, .jb-initial-proposal p { margin: 0; }
.jb-initial-proposal figcaption { font-size: .875rem; margin-top: 6px; }
.jb-initial-proposal details { border-top: 1px solid #e6dfe9; padding-top: 12px; }
.jb-initial-proposal details ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.jb-initial-proposal details input { accent-color: #783ce7; }
.jb-initial-proposal .jb-render-confirm { display: flex; flex-wrap: wrap; gap: 10px; }
.jb-initial-proposal .jb-render-confirm p { flex-basis: 100%; }

.jb-proposal-actions, .jb-board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.jb-board-actions { margin: 12px 0 20px; }
.jb-board-actions button { margin: 0; }
.jb-proposal-actions .btn { flex: 1 1 160px; }

/* Assisted proposal and local operator workspace */
.jb-assist,.jb-operator{display:grid;gap:1rem;max-width:52rem;margin-inline:auto}
.jb-assist h1,.jb-assist h2,.jb-assist h3,.jb-assist p,.jb-assist figure,.jb-operator h1{margin:0}
.jb-assist header,.jb-assist-form,.jb-assist-list,.jb-assist-queue{display:grid;gap:.75rem}
.jb-assist-form label{display:grid;gap:.35rem}
.jb-assist-form input:not([type=checkbox]),.jb-assist-form textarea{width:100%;padding:.75rem;border:1px solid #cfc3b8;border-radius:.65rem;font:inherit;background:#fff}
.jb-assist-form textarea{min-height:5rem;resize:vertical}
.jb-assist-check{display:flex;gap:.6rem;align-items:flex-start;padding:.6rem 0}
.jb-assist-check input,.jb-assist-list input{accent-color:#644032;flex:none;width:1.1rem;height:1.1rem}
.jb-assist-hero img,.jb-assist-angles img{width:100%;display:block;object-fit:contain;background:#f0eae4;border-radius:.85rem}
.jb-assist-hero img{max-height:min(56vh,38rem)}
.jb-assist-hero figcaption,.jb-assist-retention,.jb-assist small{font-size:.82rem;color:#665650}
.jb-assist-angles,.jb-assist-pieces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.jb-assist-pieces article,.jb-assist-pieces button,.jb-assist-list article{background:#f5efe9;border:1px solid #ded2c8;border-radius:.7rem;padding:.65rem;text-align:left}
.jb-assist-pieces button[aria-pressed=true]{outline:2px solid #6e3f2e;outline-offset:2px}
.jb-assist-pieces img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:.5rem}
.jb-assist-pieces small,.jb-assist-list a{display:block}
.jb-assist-actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
.jb-assist-list article{display:grid;grid-template-columns:5.25rem 1fr;gap:.7rem}
.jb-assist-list article img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:.55rem}
.jb-assist-list article div{display:grid;gap:.35rem}
.jb-operator section{margin-top:1rem}
@media(max-width:560px){.jb-assist-pieces{grid-template-columns:repeat(2,minmax(0,1fr))}}

.jb-design-plan{max-width:32rem;width:100%;display:block;margin:.5rem auto}
.jb-design-plan text{font:14px sans-serif;fill:#302820}
.jb-assist-angles button{border:2px solid transparent;background:transparent;padding:2px;border-radius:.75rem}
.jb-assist-angles button[aria-pressed="true"]{border-color:#7845df}
.jb-design-study{display:grid;gap:.8rem;border:1px solid #ded2c8;padding:1rem;border-radius:.85rem}
.jb-design-study dl{margin:0;display:grid;gap:.4rem}
.jb-design-study dt{font-weight:650}
.jb-design-study dd{margin:0}

.jb-design-study .jb-assist-pieces a,.jb-design-study .jb-assist-pieces small{display:block;margin-top:.25rem}

.jb-linear{max-width:39rem}
.jb-linear-progress{list-style:none;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:.4rem;font-size:.72rem;margin:0;color:#615768}
.jb-linear-progress li{border-top:3px solid #e8ddec;padding-top:.35rem}
.jb-linear-progress li[data-complete=true]{border-top-color:#8a52e8}
.jb-linear-progress li[aria-current=step]{color:#5329a4;font-weight:760}
.jb-linear .jb-assist-hero img{max-height:52vh}

body:has(.jb-story-layout) .site-header{display:none}
main:has(> .jb-story-layout){max-width:none;width:100%;margin:0;padding:0}
.jb-story-layout{position:relative;isolation:isolate;max-width:58rem;height:100svh;min-height:32rem;margin:auto;background:#201d22;color:#fff}
.jb-story-quads{position:absolute;inset:0;display:grid;grid-template:repeat(2,minmax(0,1fr))/repeat(2,minmax(0,1fr))}
.jb-story-quads button,.jb-story-blank{background:#302a31;border:0;padding:0;position:relative;min-width:0;min-height:0}
.jb-story-quads img{display:block;width:100%;height:100%;object-fit:cover}
.jb-story-quads button::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px #fff4}
.jb-story-quads button[aria-pressed=true]::after{box-shadow:inset 0 0 0 4px #c8a7ff}
.jb-story-quads button:focus-visible{outline:3px solid white;outline-offset:-6px;z-index:2}
.jb-story-quads button span{position:absolute;right:.7rem;top:50%;translate:0 -50%;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#231a35ba;color:#fff;border:1px solid #fff9;font-weight:800}
.jb-story-quads button[aria-pressed=true] span{background:#7136da;border-color:#fff}
.jb-story-top,.jb-story-bottom{position:absolute;z-index:3;inset-inline:0;padding-inline:max(1rem,env(safe-area-inset-left))}
.jb-story-top{top:0;padding-top:max(.65rem,env(safe-area-inset-top));padding-bottom:1.15rem;background:linear-gradient(#17141ae8,transparent)}
.jb-story-top .jb-linear-progress,.jb-story-top .jb-linear-progress li[aria-current=step]{color:#fff}
.jb-story-topline{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.5rem;margin-top:.35rem}
.jb-story-topline h1{margin:0;text-align:center;color:#fff;font-size:clamp(1rem,4.9vw,1.45rem);line-height:1.15}
.jb-story-topline button,.jb-story-sources summary,.jb-story-bottom .text-btn{color:#fff}
.jb-story-sources{position:relative}
.jb-story-sources summary{list-style:none;cursor:pointer;font-size:.82rem;padding:.55rem .15rem}
.jb-story-sources div{position:absolute;right:0;top:100%;width:min(19rem,85vw);background:#211b29;padding:1rem;border:1px solid #fff5;border-radius:.65rem;font-size:.82rem}
.jb-story-sources a{color:#f2deff}
.jb-story-sources li{margin-bottom:.35rem}
.jb-story-bottom{bottom:0;padding-bottom:max(1rem,env(safe-area-inset-bottom));padding-top:1.55rem;background:linear-gradient(transparent,#17141aeb 45%);display:grid;gap:.45rem}
.jb-story-bottom p,.jb-story-bottom summary{font-size:.78rem;margin:0;color:#fff}
.jb-story-actions{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.jb-story-actions .btn{padding:.65rem .35rem;min-height:2.85rem;font-size:.86rem}
.jb-prompt-compare{display:grid;gap:1rem}
.jb-prompt-compare article{min-width:0}
.jb-prompt-compare pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.84rem;background:#f5f0eb;padding:.8rem;max-height:28rem;overflow:auto}
@media(min-width:720px){.jb-prompt-compare{grid-template-columns:1fr 1fr}}

/* Stories de moodboard e de imagem (15/11) */
.jb-linear-progress{font-size:.66rem}
.jb-story-mood{position:absolute;inset:0;display:grid;gap:2px;background:#201d22}
.jb-story-mood img{display:block;width:100%;height:100%;object-fit:cover;min-width:0;min-height:0}
.jb-story-mood-2{grid-template-rows:1fr 1fr}
.jb-story-mood-3{grid-template:3fr 2fr/1fr 1fr}.jb-story-mood-3 img:first-child{grid-column:1/-1}
.jb-story-mood-4{grid-template:1fr 1fr/1fr 1fr}
.jb-story-waiting img{filter:brightness(.55) saturate(.8);animation:jb-breathe 2.4s ease-in-out infinite alternate}
@keyframes jb-breathe{to{filter:brightness(.8) saturate(1)}}
@media (prefers-reduced-motion:reduce){.jb-story-waiting img{animation:none}}
.jb-story-full{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#17141a}
.jb-story-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.68rem!important;opacity:.85}
.jb-story-title{font-size:clamp(1.15rem,5.4vw,1.6rem)!important;font-weight:760;line-height:1.15;margin:0;color:#fff}
.jb-story-center{text-align:center}
.jb-story-heart{justify-self:center;width:4.2rem;height:4.2rem;border-radius:50%;border:2px solid #fff;background:#7136da;color:#fff;font-size:2rem;line-height:1;cursor:pointer;box-shadow:0 6px 24px #0008}
.jb-story-heart:active{transform:scale(.92)}
.jb-story-heart:focus-visible{outline:3px solid #fff;outline-offset:3px}
.jb-story-nope{justify-self:center;text-align:center}
.jb-story-nope summary{cursor:pointer;padding:.4rem;list-style:none;text-decoration:underline}
.jb-story-reasons{display:flex;flex-wrap:wrap;gap:.2rem .8rem;justify-content:center;margin:.3rem 0 .6rem}

/* Story "o que fica" (15/11) */
.jb-story-dim{filter:brightness(.6)}
.jb-story-sheet{gap:.7rem!important;padding-top:2.4rem!important}
.jb-story-sheet .btn{min-height:2.9rem}
.jb-story-crop{justify-self:center;width:min(100%,19rem);max-height:38svh;border-radius:.9rem;background-repeat:no-repeat;box-shadow:0 0 0 2px #fff,0 10px 30px #000a}
.jb-story-chips{display:flex;flex-wrap:wrap;gap:.45rem}
.jb-story-chips button{border:1px solid #fff9;background:#231a35b8;color:#fff;border-radius:2rem;padding:.55rem .9rem;font:inherit;font-size:.86rem;min-height:2.6rem;cursor:pointer}
.jb-story-chips button[aria-pressed=true]{background:#7136da;border-color:#fff;font-weight:700}
.jb-story-chips button:focus-visible,.jb-story-note:focus-visible,.jb-story-size input:focus-visible{outline:3px solid #fff;outline-offset:2px}
.jb-story-note,.jb-story-size input{width:100%;border:1px solid #fff9;background:#17141ad9;color:#fff;border-radius:.6rem;padding:.7rem;font:inherit;font-size:1rem}
.jb-story-note::placeholder,.jb-story-size input::placeholder{color:#fffa}
.jb-story-size{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.jb-story-desejo{min-height:84px;resize:vertical;font:inherit;padding:12px 14px;line-height:1.45}
.jb-story-size label{display:grid;gap:.25rem;font-size:.78rem;color:#fff}
.jb-story-topline>span{font-size:.8rem;color:#fff;min-width:2.5rem;text-align:right}
.jb-story-sheet .btn[aria-pressed=true]{outline:2px solid #fff}
.jb-story-brief{position:fixed;inset:0;z-index:60;max-width:none;width:100%;height:100svh;margin:0}
body:has(.jb-story-brief){overflow:hidden}
.jb-story-sheet input.jb-story-note,.jb-story-sheet .jb-story-size input{background:#17141ad9!important;color:#fff!important;border:1px solid #fff9!important}

.jb-shop{list-style:none;padding:0;margin:0 0 .8rem;display:grid;gap:.5rem}
.jb-shop li{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:.8rem .9rem;border:1px solid #e3d9ee;border-radius:.7rem;background:#fff}
.jb-shop a{white-space:nowrap;font-weight:700;color:#5329a4;min-height:2.75rem;display:inline-flex;align-items:center}
.jb-shop-note{font-size:.78rem;color:#6b6475}

.jb-shop li{display:grid!important;gap:.6rem;justify-content:stretch!important}
.jb-shop-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.jb-shop-row a{display:grid;gap:.3rem;align-content:start;text-decoration:none;color:#241a3a;font-weight:400!important;min-height:0!important;white-space:normal!important}
.jb-shop-row img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid #eee6f3;border-radius:.5rem}
.jb-shop-tag{justify-self:start;font-size:10px;font-weight:600;color:var(--brand);background:var(--soft);border-radius:20px;padding:2px 8px}.jb-shop-tag.alt{color:var(--muted);background:var(--neutral);font-weight:500}
.jb-shop-item{display:grid;gap:.2rem;align-content:start;min-width:0}.jb-shop-head .text-btn{margin-left:auto;font-size:11px;min-height:32px}.jb-shop-item>.text-btn{font-size:11px;min-height:30px;padding:2px 0;justify-content:start;color:var(--brand)}
.jb-ajuste{margin-top:1.5rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;gap:.7rem}.jb-ajuste h2{font-size:18px}.jb-ajuste>p{font-size:12px}.jb-ajuste-linha{display:flex;flex-wrap:wrap;gap:.5rem}.jb-ajuste-linha input{flex:1 1 220px;margin:0;min-width:0;padding:10px;font-size:13px}.jb-ajuste-linha select{flex:1 1 140px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:13px}.jb-ajuste-itens{margin:0;padding-left:1.1rem;font-size:12px;color:var(--ink)}.jb-ajuste-itens .text-btn{min-height:24px;padding:0 0 0 6px;font-size:11px}
.jb-shop-row span{font-size:.72rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jb-shop-row b{font-size:.86rem;color:#5329a4}

.jb-shop-head{display:flex;align-items:center;gap:.7rem}
.jb-shop-head img{width:3.4rem;height:3.4rem;object-fit:cover;border-radius:.5rem;flex:none}
.jb-shop-wait{font-size:.82rem;color:#6b6475;margin:0}

/* Partido de projeto, parede-foco e variações (15/11) */
.jb-story-projeto .jb-story-mood img{filter:brightness(.75)}
.jb-partido{background:#17141ae6;border:1px solid #fff4;border-radius:.8rem;padding:.8rem .9rem;display:grid;gap:.5rem;color:#fff;font-size:.86rem}
.jb-partido p{margin:0;color:#fff}.jb-partido b{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;opacity:.8}
.jb-partido ul{margin:0;padding-left:1.1rem;display:grid;gap:.15rem}
.jb-partido-cores{display:flex;flex-wrap:wrap;gap:.35rem .8rem;font-size:.76rem}
.jb-partido-cores span{display:inline-flex;align-items:center;gap:.3rem}
.jb-partido-cores i{width:1rem;height:1rem;border-radius:50%;border:1px solid #fff8;display:inline-block}
.jb-partido-nao{font-size:.74rem!important;opacity:.8}
.jb-story-options{display:grid;gap:.5rem}
.jb-story-options button{text-align:left;border:1px solid #fff9;background:#231a35c8;color:#fff;border-radius:.8rem;padding:.75rem .9rem;font:inherit;cursor:pointer;display:grid;gap:.15rem}
.jb-story-options button span{font-size:.78rem;opacity:.85}
.jb-story-options button[aria-pressed=true]{background:#7136da;border-color:#fff}
.jb-story-variants{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap}.jb-lida{font-size:11px;opacity:.9}
.jb-story-variants button{min-width:2.75rem;height:2.75rem;padding:0 .9rem;border-radius:999px;font-size:12px;border:1px solid #fff9;background:#231a35c8;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.jb-story-variants button[aria-selected=true]{background:#7136da;border-color:#fff}

.jb-story-alerta{color:#ffd28a!important;font-size:.8rem!important}

.jb-partido-ref{display:flex;gap:.7rem;align-items:center}.jb-partido-ref img{width:4.2rem;height:4.2rem;object-fit:cover;border-radius:.5rem;flex:none}
.jb-photo-go{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-left:auto}
.jb-photo-go .btn{margin-left:0}
.jb-reset{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin-top:16px;font-size:.9rem}
.jb-reset .text-btn{min-height:44px}
.jb-partido h3{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:12px 0 4px}
.jb-story-chips button small{opacity:.7;font-weight:400;margin-left:4px}

.jb-camadas-editor{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;background:#17141a}
.jb-editor-header{position:relative;display:flex;align-items:center;min-height:3.5rem;gap:1rem;padding:max(.65rem,env(safe-area-inset-top)) 1rem .65rem}
.jb-editor-header h1{font-size:1.04rem;margin:0;color:inherit}
.jb-camadas-editor .text-btn{color:#fff;min-height:44px}
.jb-editor-foto{position:relative;min-height:0}
.jb-editor-foto img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.jb-editor-foto img{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.jb-editor-foto img[data-pronto=true]{cursor:pointer}
.jb-editor-area{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;overflow:hidden}
.jb-editor-marcacao{position:absolute;border:2px solid #fff3c9;border-radius:8px;box-shadow:0 0 0 2px #2e213b99;background:#9e5ffc1f}
.jb-editor-footer{display:block;padding:.65rem 1rem max(1rem,env(safe-area-inset-bottom));background:#231f28}
.jb-editor-footer p{margin:.2rem 0 .65rem;color:#fff;font-size:.94rem}
.jb-editor-select{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .85rem;color:#e7dfee;font-size:.84rem}
.jb-editor-select select{flex:1;min-width:10rem;min-height:44px;padding:.35rem .6rem;border:1px solid #746881;border-radius:.6rem;background:#2a2532;color:#fff}
.jb-editor-footer small{display:block;margin:-.3rem 0 .55rem;color:#e7dfee}

/* CARREGAMENTO: o sparkle do KORE piscando devagar, a estrela e o + aparecendo e sumindo em tempos alternados. */
.kd-sparkle{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.kd-sparkle svg{width:46px;height:46px}
.kd-sparkle .kd-s1{animation:kdPisca 2.4s ease-in-out infinite}
.kd-sparkle .kd-s2{animation:kdPisca 2.4s ease-in-out 1.2s infinite}
@keyframes kdPisca{0%,100%{opacity:.12}50%{opacity:1}}
.kd-carregando{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:40svh;text-align:center;color:inherit}
.kd-carregando p{margin:0;font-size:15px;opacity:.85}
/* Entre cenas (qualquer espera da tela): o sparkle por cima, sem texto. */
.kd-tela[aria-busy=true]::after,.jb-assist[aria-busy=true]::after{content:'';position:fixed;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;z-index:80;pointer-events:none;
 background-color:white;mask:url('./assets/kore-simbolo.png') center/contain no-repeat;-webkit-mask:url('./assets/kore-simbolo.png') center/contain no-repeat;
 filter:drop-shadow(0 2px 10px #0009);animation:kdPisca 2.4s ease-in-out infinite}
.kd-claro[aria-busy=true]::after,.jb-assist[aria-busy=true]::after{filter:invert(1) drop-shadow(0 2px 10px #0003)}
@media (prefers-reduced-motion:reduce){.kd-sparkle .kd-s1,.kd-sparkle .kd-s2,.kd-tela[aria-busy=true]::after,.jb-assist[aria-busy=true]::after{animation:none;opacity:.8}}
.jb-story-layout>.jb-story-bottom{border:0}
.jb-story-layout a.text-btn,.jb-story-layout .jb-story-bottom>a{justify-self:center;align-self:center;font-size:14px;color:#c7c7cc}
.jb-story-layout .jb-partido{background:var(--kd-card);border:0;border-radius:24px;padding:16px}
.jb-story-layout .jb-story-kicker{color:var(--kd-muted)}

/* ===== IDENTIDADE KORE Decor (canvas "Novo design", 16/11) — usada por frontend/kd-ui.tsx =====
   Criação escura (#121212, cartões #1D1D1F), lista e ajustes claros (#F2F2F4, cartões brancos). Urbanist.
   Toda tela ENTRA SUBINDO DE BAIXO. */
:root{--kd-bg:#121212;--kd-card:#1d1d1f;--kd-card2:#2a2a2c;--kd-line:#3a3a3c;--kd-muted:#a1a1a6;--kd-soft:#c7c7cc;--kd-light:#f2f2f4;--kd-ink:#141414}
body,button,input,textarea,select{font-family:'Urbanist','Kore Sans',Arial,sans-serif}
@keyframes kdSobe{from{transform:translateY(56px);opacity:0}to{transform:none;opacity:1}}
.kd-tela{animation:kdSobe .55s cubic-bezier(.16,.84,.24,1) backwards;display:flex;flex-direction:column;gap:12px;box-sizing:border-box;min-height:100svh;max-width:30rem;margin:0 auto;padding:max(18px,env(safe-area-inset-top)) 16px max(22px,env(safe-area-inset-bottom))}
.kd-escuro{background:var(--kd-bg);color:#f5f5f5}
.kd-claro{background:var(--kd-light);color:var(--kd-ink);padding-bottom:120px}
main.jb:has(>.kd-tela),main.jb:has(.kd-tela){padding:0;max-width:none;background:var(--kd-bg)}
main.jb:has(.kd-claro){background:var(--kd-light)}
/* Topo */
.kd-topo{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;min-height:48px}
.kd-redondo,.kd-fontes>summary{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid #2c2c2e;background:var(--kd-card);color:#fff;cursor:pointer;list-style:none;padding:0;text-decoration:none}
.kd-fontes>summary::-webkit-details-marker{display:none}
.kd-claro .kd-redondo{background:#fff;border:0;color:var(--kd-ink);box-shadow:0 2px 8px #0000000f}
.kd-redondo-vazio{width:44px}
.kd-topo-titulo{margin:0;text-align:center;font-size:18px;font-weight:600;letter-spacing:-.01em}
.kd-etapa{margin:0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--kd-muted)}
.kd-barras{display:flex;gap:4px}
.kd-barras span{width:8px;height:4px;border-radius:4px;background:var(--kd-line)}
.kd-barras span[data-estado=feito]{background:#8e8e93}
.kd-barras span[data-estado=agora]{width:18px;background:#fff}
.kd-claro .kd-barras span[data-estado=agora]{background:var(--kd-ink)}
.kd-fontes{position:relative}
.kd-fontes>div{position:absolute;right:0;top:52px;z-index:20;width:min(80vw,300px);background:var(--kd-card);border-radius:20px;padding:14px;display:grid;gap:8px;font-size:13px;box-shadow:0 12px 32px #000a}
.kd-fontes ul{margin:0;padding-left:16px;display:grid;gap:4px}.kd-fontes a{color:var(--kd-soft)}
/* Títulos, textos */
.kd-titulo{display:flex;flex-direction:column;gap:6px;padding:2px 2px 0}
.kd-titulo h2,.kd-painel h2{margin:0;font-size:28px;line-height:1.08;font-weight:500;letter-spacing:-.02em}
.kd-painel h2{font-size:24px}
.kd-titulo p,.kd-painel p{margin:0;font-size:14px;line-height:1.45;color:var(--kd-muted)}
.kd-claro .kd-titulo p,.kd-claro .kd-painel p{color:#5f5f66}
.kd-kicker{font-size:12px!important;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.kd-nota{margin:0;font-size:13px;line-height:1.45;color:var(--kd-muted)}
.kd-alerta{color:#ffd28a!important}
.kd-rotulo{font-size:13px;color:var(--kd-muted)}
.kd-centro{align-self:center;text-align:center}
.kd-link{background:none;border:0;padding:6px 0;min-height:36px;color:var(--kd-soft);font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}
.kd-claro .kd-link{color:var(--kd-ink)}
/* Cartões */
.kd-painel{border-radius:26px;background:var(--kd-card);padding:18px 16px;display:flex;flex-direction:column;gap:12px;margin:0}
.kd-claro .kd-painel{background:#fff}
.kd-linha{flex-direction:row;align-items:center;gap:12px;padding:12px 14px}
.kd-linha>span:last-child{display:flex;flex-direction:column;gap:2px;font-size:14px}
.kd-linha small{font-size:13px;color:var(--kd-muted)}
.kd-mini{width:56px;height:56px;border-radius:16px;object-fit:cover;flex:none}
.kd-icone{width:40px;height:40px;border-radius:50%;border:1px solid var(--kd-line);display:grid;place-items:center;flex:none}
.kd-icone-cheio{background:#fff;color:#121212;border:0}
/* Fotos em cartão */
.kd-foto{position:relative;border-radius:28px;overflow:hidden;background:var(--kd-card);flex:1 1 240px;min-height:220px;max-height:46svh}
.kd-foto img{width:100%;height:100%;object-fit:cover;display:block}
.kd-foto-grande{flex-basis:380px;max-height:56svh}
.kd-foto-curta{flex:0 0 200px;min-height:200px}
.kd-foto-gerando img{filter:brightness(.5) saturate(.6) blur(2px);transform:scale(1.04)}
.kd-recorte-grande{flex:0 0 auto;width:min(100%,19rem);align-self:center;background-repeat:no-repeat;max-height:40svh}
.kd-selo{position:absolute;left:14px;bottom:14px;padding:8px 14px;border-radius:999px;background:#121212cc;color:#fff;font-size:13px;font-weight:600}
.kd-claro .kd-selo{background:#ffffffe6;color:var(--kd-ink)}
.kd-selo-centro{position:absolute;inset:auto 0;top:50%;translate:0 -50%;margin:0 auto;width:max-content;max-width:86%;display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:999px;background:#121212cc;font-size:14px;font-weight:600;color:#fff}
.kd-selo-centro svg{animation:kdPisca 2.4s ease-in-out infinite}
.kd-mood{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:210px;flex:none}
.kd-mood-1{grid-template-columns:1fr}
.kd-mood img{width:100%;height:100%;object-fit:cover;border-radius:24px;min-height:0}
.kd-mood-3 img:first-child{grid-row:span 2}
.kd-mood-4{grid-template-rows:repeat(2,minmax(0,1fr))}
/* Grade de referências */
.kd-grade{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(150px,1fr);gap:8px;flex:1 1 360px}
.kd-grade>button,.kd-vazio{position:relative;overflow:hidden;border:0;padding:0;border-radius:24px;background:var(--kd-card);cursor:pointer}
.kd-grade>button img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.kd-grade>button[aria-pressed=true]{box-shadow:inset 0 0 0 3px #fff}
.kd-grade>button[aria-pressed=true] img{outline:3px solid #fff;outline-offset:-3px}
.kd-marca{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#121212b3;color:#fff;border:1px solid #ffffff80}
.kd-grade>button[aria-pressed=true] .kd-marca{background:#fff;color:#121212;border-color:#fff}
/* Pílulas e opções */
.kd-pilulas{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.kd-pilulas>button,.kd-estaticas>span{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--kd-line);background:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.kd-estaticas>span{min-height:36px;cursor:default}
.kd-pilulas>button[aria-pressed=true]{background:#fff;color:#121212;border-color:#fff;font-weight:600}
.kd-pilulas small{opacity:.7}
.kd-claro .kd-pilulas>button{border-color:#d8d8dc}
.kd-claro .kd-pilulas>button[aria-pressed=true]{background:var(--kd-ink);color:#fff;border-color:var(--kd-ink)}
.kd-opcoes{display:grid;gap:8px}
.kd-opcoes>button{text-align:left;border:0;border-radius:18px;background:var(--kd-card2);color:#fff;padding:14px 16px;font:inherit;cursor:pointer;display:grid;gap:3px}
.kd-opcoes>button span{font-size:13px;color:var(--kd-muted)}
.kd-opcoes>button[aria-pressed=true]{background:#fff;color:#121212}
.kd-opcoes>button[aria-pressed=true] span{color:#5f5f66}
.kd-campo{min-height:50px;border-radius:16px;border:0;background:var(--kd-card2);color:#fff;padding:0 16px;font:inherit;font-size:15px;width:100%;box-sizing:border-box}
.kd-desejo{padding:12px 16px;line-height:1.45;resize:vertical;min-height:90px}
.kd-claro .kd-campo{background:#f0f0f2;color:var(--kd-ink)}
.kd-rotulo-campo{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--kd-muted)}
/* Abas das versões */
.kd-abas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:999px;border:1px solid #2c2c2e}
.kd-abas>button{min-height:44px;border:0;border-radius:999px;background:transparent;color:var(--kd-soft);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.kd-abas>button[aria-selected=true]{background:var(--kd-line);color:#fff}
/* Passos da geração */
.kd-passos{list-style:none;padding:6px 16px}
.kd-passos li{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid #2c2c2e;font-size:15px}
.kd-passos li:last-child{border:0}
.kd-passos li>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex:none;box-sizing:border-box}
.kd-passos li[data-estado=feito]>span{background:#fff;color:#121212}
.kd-passos li[data-estado=agora]{font-weight:700}
.kd-passos li[data-estado=agora]>span{border:2px solid #fff;border-top-color:transparent;animation:spin 1.2s linear infinite}
.kd-passos li[data-estado=depois]{color:#8e8e93}.kd-passos li[data-estado=depois]>span{border:1px solid #48484a}
/* Botões */
.kd-cta,.kd-sec,.kd-pilula{min-height:60px;border-radius:22px;font:inherit;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px;cursor:pointer;box-sizing:border-box;width:100%;text-decoration:none;position:relative}
.kd-cta{border:0;background:#fff;color:#121212}
.kd-sec{border:1px solid var(--kd-line);background:transparent;color:#fff;font-size:16px;font-weight:600;min-height:56px}
.kd-cta input[type=file],.kd-sec input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.kd-cta:disabled,.kd-sec:disabled{opacity:.4;cursor:default}
.kd-claro .kd-cta{background:var(--kd-ink);color:#fff;border-radius:999px;min-height:56px;font-size:15px}
.kd-claro .kd-sec{background:#e4e1dc;color:var(--kd-ink);border:0;border-radius:999px}
.kd-dupla{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}
.kd-dupla>.kd-cta,.kd-dupla>.kd-sec{padding:0 16px;justify-content:center;gap:8px}
.kd-mais>summary{cursor:pointer;color:var(--kd-soft);font-weight:600;font-size:14px;min-height:40px;display:flex;align-items:center;justify-content:center;list-style:none}
.kd-mais[open]{display:grid;gap:10px}
.kd-barra{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:12px 14px max(18px,env(safe-area-inset-bottom));background:#fff;border-radius:30px 30px 0 0;box-shadow:0 -4px 20px #0000000f;display:grid;grid-template-columns:1fr 1.4fr;gap:8px;max-width:30rem;margin:0 auto;box-sizing:border-box}
.kd-barra>:only-child{grid-column:1/-1}
.kd-barra .kd-cta,.kd-barra .kd-sec{min-height:54px;padding:0 16px;justify-content:center;gap:8px;font-size:15px}
.kd-aviso{flex-direction:row!important;align-items:center;gap:10px!important;font-size:13px;color:var(--kd-soft)!important;padding:14px 16px!important}
/* Visor da câmera */
.kd-visor{display:grid;place-items:center}
.kd-cantos{position:absolute;inset:24px}
.kd-cantos i{position:absolute;width:28px;height:28px;border:0 solid #fff}
.kd-cantos i:nth-child(1){top:0;left:0;border-top-width:2px;border-left-width:2px;border-top-left-radius:18px}
.kd-cantos i:nth-child(2){top:0;right:0;border-top-width:2px;border-right-width:2px;border-top-right-radius:18px}
.kd-cantos i:nth-child(3){bottom:0;left:0;border-bottom-width:2px;border-left-width:2px;border-bottom-left-radius:18px}
.kd-cantos i:nth-child(4){bottom:0;right:0;border-bottom-width:2px;border-right-width:2px;border-bottom-right-radius:18px}
.kd-visor-texto{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:0 48px;color:#fff}
.kd-visor-texto svg{animation:kdPisca 2.4s ease-in-out infinite}
.kd-visor-texto small{font-size:14px;line-height:1.45;color:var(--kd-soft)}
/* Entrada */
.kd-entrada{position:relative;padding:0;background:var(--kd-ink);min-height:100svh;overflow:hidden}
.kd-entrada-capa{position:absolute;inset:0 0 auto;width:100%;height:72svh;object-fit:cover}
.kd-entrada-marca{position:absolute;top:22px;left:20px;display:flex;align-items:center;gap:8px;color:#fff;filter:drop-shadow(0 1px 6px #0007)}
.kd-entrada-marca span{font-size:24px;font-weight:700;letter-spacing:-.02em}
.kd-entrada-marca small{font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;margin-top:4px}
.kd-entrada-cartao{position:absolute;left:10px;right:10px;bottom:10px;border-radius:32px;background:#fbf8f2;color:var(--kd-ink);padding:30px 22px 20px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;animation:kdSobe .7s cubic-bezier(.16,.84,.24,1) .1s both}
.kd-entrada-cartao h1{margin:0;font-size:40px;line-height:.95;font-weight:900;letter-spacing:-.02em;text-transform:uppercase}
.kd-entrada-cartao p{margin:0;font-size:15px;line-height:1.45;color:#6e675c;max-width:300px}
.kd-entrada-cartao small{font-size:12px;color:#6e675c}
.kd-pilula{border:0;border-radius:999px;background:#ebe5d9;color:var(--kd-ink);justify-content:center;font-size:16px;font-weight:600;min-height:56px}
.kd-pilula-escura{background:var(--kd-ink);color:#fff;font-weight:700}
/* Lista (clara) */
.kd-lista{background:#e9e9ec!important;padding:14px 10px 10px!important}
.kd-lista>h2,.kd-lista>p{padding:0 6px}
.kd-pecas{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.kd-pecas>li{border-radius:22px;background:#fff;padding:8px;display:flex;flex-direction:column;gap:6px;min-width:0}
.kd-pecas strong{font-size:15px;font-weight:700;padding:0 4px}
.kd-pecas small{font-size:12px;line-height:1.3;color:#5f5f66;padding:0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kd-peca-foto{position:relative;border-radius:16px;background:#f4f4f6;height:130px}
.kd-peca-foto>img:first-child{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.kd-recorte{position:absolute;left:6px;bottom:6px;width:40px;height:40px;border-radius:12px;border:2px solid #fff;object-fit:cover}
.kd-peca-acao{position:absolute;top:6px;right:6px;width:32px!important;height:32px!important}
.kd-loja{font-size:12px;font-weight:700;color:var(--kd-ink);padding:0 4px}
.kd-parecidas>summary{min-height:38px;border-radius:999px;background:#f0f0f2;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;cursor:pointer;list-style:none}
.kd-parecida{display:grid;grid-template-columns:44px 1fr;gap:6px;align-items:center;font-size:11px;padding-top:6px}
.kd-parecida img{width:44px;height:44px;border-radius:10px;object-fit:contain;background:#f4f4f6}
.kd-parecida .kd-link{grid-column:2;font-size:12px;min-height:28px;padding:0;text-align:left}
.kd-maquete{border-radius:22px;overflow:hidden;background:#f4f0ea}
/* Ajustar a imagem dentro do tema claro */
.kd-claro .jb-ajuste{border:0}
.kd-claro .jb-ajuste h2{font-size:22px;font-weight:600}
.kd-claro .jb-ajuste .btn{min-height:54px;border-radius:999px;background:var(--kd-ink);color:#fff;border:0}
.kd-claro .jb-ajuste .btn.secondary{background:#e4e1dc;color:var(--kd-ink)}
.kd-claro .jb-ajuste-linha select,.kd-claro .jb-ajuste-linha input{border:0;background:#f0f0f2;border-radius:14px;min-height:46px}
.kd-claro .jb-ajuste .text-btn{color:var(--kd-ink)}
/* Nas telas novas, a barra do site some (o canvas não tem); o fundo da página acompanha o tema. */
.site:has(.kd-tela)>.site-header,.site:has(.kd-tela)>footer{display:none}
.site:has(.kd-escuro){background:var(--kd-bg)}
.site:has(.kd-claro){background:var(--kd-light)}
body:has(.kd-escuro){background:var(--kd-bg)}
.kd-linha b{font-weight:500;font-size:14px;line-height:1.4}
.kd-etapa{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}

/* Lista de itens do briefing (17/11): linha a linha. */
.kd-lista-itens { display:grid; gap:.35rem }
.kd-lista-itens button { display:flex; justify-content:space-between; align-items:center; gap:.6rem; width:100%; text-align:left; padding:.6rem .8rem; border:1px solid rgba(255,255,255,.14); border-radius:.65rem; background:rgba(255,255,255,.03); color:inherit }
.kd-lista-itens button[aria-pressed="true"] { border-color:rgba(255,255,255,.35) }
.kd-lista-itens small { opacity:.6 }
.kd-repertorio button { font-size:.85rem }
/* Nada de estourar a largura no celular. */
html,body { max-width:100%; overflow-x:clip }
img { max-width:100% }
.kd-tela,.kd-brief,.kd-grade,.kd-pilulas { min-width:0 }

/* Feedback de uso: marca em movimento, espera discreta e lista inteira tocável. */
.kd-sparkle .kd-s1,.kd-sparkle .kd-s2{transform-box:fill-box;transform-origin:center;animation-name:kdSparkAppear;animation-duration:2.6s}
@keyframes kdSparkAppear{0%,100%{opacity:.15;transform:scale(.72)}35%,65%{opacity:1;transform:scale(1)}}
.kd-carregando-compacto{min-height:0;flex-direction:row;text-align:left;padding:16px 0;gap:12px}
.kd-carregando-compacto .kd-sparkle{flex:0 0 40px}
.kd-carregando-compacto svg{width:40px;height:40px}
.kd-carregando-compacto p{font-size:13px;line-height:1.55;max-width:38ch}
.kd-category-card{display:flex;flex-direction:column;width:100%;height:100%;padding:0;gap:9px;background:transparent;border:0;text-align:left;color:inherit;text-decoration:none;border-radius:16px;cursor:pointer}
.kd-category-card:focus-visible{outline:3px solid #7c3aed;outline-offset:5px}
.kd-category-card .kd-peca-foto{width:100%;margin:0}
.kd-category-card strong{font-size:15px;line-height:1.4}
.kd-category-card small{line-height:1.45;opacity:.7}
.kd-card-action{font-size:13px;margin-top:auto;padding-top:8px;font-weight:600}
.kd-product-options>li{display:flex;flex-direction:column;gap:12px}
.jb-editor-footer .jb-ajuste{margin:16px 0;background:#282330;color:#fff;border:1px solid #53465d}
.jb-editor-footer .kd-pilulas{display:flex;flex-wrap:wrap;gap:8px}
.jb-editor-footer .kd-pilulas button{min-height:44px;padding:10px;border:1px solid #776683;border-radius:20px;background:#342b40;color:#fff}
.jb-editor-footer .jb-ajuste input{width:100%;min-height:44px}
@media(prefers-reduced-motion:reduce){.kd-sparkle .kd-s1,.kd-sparkle .kd-s2{animation:none;transform:none;opacity:1}}

.kd-sparkle .kd-brand-spark{animation:kdSparkAppear 2.6s ease-in-out infinite;transform-origin:center}
@media(prefers-reduced-motion:reduce){.kd-sparkle .kd-brand-spark{animation:none;transform:none;opacity:1}}
.jb-camadas-editor{width:100%;height:auto;min-height:100svh;grid-template-columns:minmax(0,1fr);grid-template-rows:auto clamp(240px,45svh,520px) auto}
.jb-camadas-editor>*{min-width:0;max-width:100%}
.jb-editor-footer .jb-ajuste,.jb-editor-footer .jb-ajuste-linha{min-width:0}
.jb-editor-footer .jb-ajuste-itens{color:#eee7f5;line-height:1.6;overflow-wrap:anywhere}
.jb-editor-footer .btn{width:100%;justify-content:center;min-height:48px;border-radius:24px}
.jb-editor-footer .btn.secondary{background:#494052;color:#fff}
.jb-editor-footer .jb-ajuste h2{font-size:20px}
.kd-category-card small,.kd-category-card strong{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
