@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* Selected visual references: design/ideal-v1, 1536 × 1024. */
:root{--bg:#fff;--ink:#0b132c;--muted:#75819c;--line:#e1e6ef;--accent:#285bc3;--font:'Inter',Arial,sans-serif}body{background:#fff;color:var(--ink)}[hidden]{display:none!important}button,input,select,textarea{font-family:var(--font)}.header{height:75px;padding:0 3.4%;gap:54px;background:#fafbfc;border-bottom:1px solid #eef0f5}.brand{font-size:38px;letter-spacing:-2px;gap:0}.brand-dot{margin:0;color:var(--ink)}.header nav{gap:44px}.header nav button{font-size:16px;color:var(--ink)}.header .button.dark{background:var(--accent);color:white;border-color:var(--accent);font-size:16px;padding:14px 26px;min-width:167px}.header-right{margin-left:auto}main{max-width:1640px;padding:0 3.4%;margin:auto}.flow-screen{padding-top:36px;min-height:calc(100vh - 120px)}.home-heading{position:relative;margin-bottom:23px}.home-heading h1{font-size:72px;line-height:.96;letter-spacing:-3px;font-weight:700;margin:6px 0 17px}.home-heading>p{font-size:21px;color:#5b6780;margin:0;line-height:1.5}.home-heading>span{position:absolute;right:24px;top:32px;font-size:17px;color:var(--muted);line-height:1.45}.home-hero{display:grid;grid-template-columns:374px minmax(0,1fr);gap:24px;align-items:center}.start-card{border:1px solid var(--line);border-radius:14px;padding:27px;height:402px}.start-card h2{font-size:26px;line-height:1.2;letter-spacing:-1px;margin:0 0 21px;font-weight:600}.upload-drop{border:1px dashed #cbd6e8;border-radius:9px;height:292px;padding:28px 22px;text-align:center;background:#f8f9fc;display:flex;flex-direction:column;align-items:center}.upload-symbol{width:45px;height:45px;opacity:.68;margin-bottom:21px}.upload-drop p{font-size:14px;line-height:1.45;margin:0 0 29px}.button{border-radius:8px;font-size:15px;padding:14px 22px;min-height:47px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}.button.primary,.button.dark{background:var(--accent);color:#fff;border-color:var(--accent)}.button:hover:not(:disabled){filter:brightness(.96)}.upload-drop .button{width:100%;min-height:54px;padding:12px;font-size:16px}.text-button{color:var(--accent);text-decoration:underline;font-size:14px;padding:16px 0 0}.home-comparison{height:462px;aspect-ratio:auto;border-radius:14px}.comparison .image-label{font-size:14px;font-weight:500;padding:8px 16px;top:15px;background:#ffffffed;color:var(--ink);box-shadow:none}.label-before{left:15px}.label-after{right:15px}.comparison-line>span{width:44px;height:44px;display:flex;justify-content:center;gap:0}.comparison-line img{width:17px;height:17px}.home-steps{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:28px;margin-top:57px}.home-steps article{display:flex;gap:27px;border-right:1px solid var(--line);padding-right:25px;min-height:134px}.home-steps article:last-child{border:0}.home-steps article>b{flex:0 0 65px;height:65px;display:grid;place-items:center;border-radius:50%;background:#f0f3f8;font-size:25px;font-weight:500}.home-steps h3{font-size:21px;font-weight:600;letter-spacing:-.5px;margin:8px 0 17px}.home-steps p{font-size:15px;line-height:1.45;color:#68758d;margin:0}.home-disclaimer{font-size:11px;color:#909bb0;margin-top:22px}.back-button{display:flex;align-items:center;gap:8px;background:none;border:0;padding:0;font-size:14px;color:#7886a0;margin:0 0 20px}.back-button img{width:17px;height:17px;opacity:.6}.flow-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}.flow-heading h1,.shopping-heading h1{font-size:40px;font-weight:700;letter-spacing:-1.3px;line-height:1.15;margin:0}.flow-heading>p{font-size:15px;color:var(--muted);margin:0}.transformation{grid-template-columns:309px minmax(0,1fr);gap:17px}.panel{box-shadow:none;border-radius:8px}.transform-controls{padding:20px}.transform-controls h2{font-size:14px;font-weight:500;letter-spacing:0;margin:0 0 12px}.photo-start{border:0;border-radius:6px;background:none}.photo-start>img{height:168px;border-radius:6px}.photo-start>span{padding:0}.photo-start strong{font-size:10px;color:#7b89a1;margin-top:6px}.photo-start small{display:none}.transform-controls .text-button{font-size:11px;padding:4px 0}.form-label{font-size:14px;font-weight:500;color:var(--ink);margin:20px 0 9px}.transform-controls select{padding:11px;font-size:13px;min-height:42px;background:#fff;border:1px solid var(--line);border-radius:7px;width:100%}.transform-controls textarea{min-height:75px;font-size:13px;line-height:1.5;padding:12px}.keep-option{margin:21px 0;font-size:13px;gap:10px}.keep-option input{width:22px;height:22px;margin:0;accent-color:#2060d5}.transform-controls #generateRoom{margin-top:20px;min-height:50px;font-size:15px}.generation-status{font-size:10px;line-height:1.5;margin:12px 0 0}.transform-result{border:0;position:relative;background:none}.result-top{padding:0;position:absolute;left:15px;bottom:5px;z-index:0;display:none}.compare-modes{position:absolute;right:15px;top:12px;z-index:5;display:flex;background:#ecedf1;border-radius:6px;padding:3px}.compare-modes button{background:none;border:0;padding:7px 13px;border-radius:4px;font-size:13px}.compare-modes .active{background:#fff}.transform-result .comparison{height:452px;aspect-ratio:auto;border-radius:7px}.transform-result .label-before,.transform-result .label-after{background:#283042ce;color:white;top:14px}.transform-result .label-after{right:auto;left:calc(var(--split) + 18px)}.result-bottom{padding:10px 0;border:0;min-height:28px}.result-bottom p{font-size:10px;line-height:1.4}.photo-variants{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:5px 8.3% 0}.photo-variants button{padding:0;background:#fff;overflow:hidden;border:1px solid var(--line);border-radius:5px;text-align:left}.photo-variants .active{border-color:#2461eb;box-shadow:0 0 0 1px #2461eb}.photo-variants img{width:100%;height:153px;object-fit:cover;display:block}.photo-variants span{display:block;padding:9px 12px;font-size:13px}.variant-note{text-align:right;color:#8a98af;font-size:11px;margin:30px 0 22px}.studio-actions{display:flex;justify-content:flex-end;gap:13px}.studio-actions .button{min-width:196px}.improvement-notes{display:none!important}.workspace-heading{margin:12px 0 22px}.workspace{grid-template-columns:290px minmax(0,1fr);gap:22px}.settings{padding:24px}.studio{min-width:0}.shopping-heading{position:relative;margin:0 0 22px}.shopping-heading>p{font-size:20px;line-height:1.5;margin:9px 0 0;color:#566481}.shopping-heading small{position:absolute;right:0;top:7px;font-size:13px;color:var(--muted);line-height:1.6}.shopping-layout{display:grid;grid-template-columns:minmax(0,1.49fr) minmax(0,1fr);gap:24px}.shopping-photo{height:563px;border-radius:9px;position:relative;overflow:hidden}.shopping-photo>img{width:100%;height:100%;object-fit:cover}.product-pin{position:absolute;width:30px;height:30px;border-radius:50%;border:0;background:white;color:var(--ink);box-shadow:0 2px 8px #0002;font-size:13px;font-weight:600}.pin-table{left:52%;top:58%}.pin-rug{left:60%;top:85%}.pin-lamp{left:87%;top:38%}.preserved-strip{margin-top:15px;padding:22px;background:#f2f5fa;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:104px}.preserved-strip strong{font-size:18px;font-weight:600}.preserved-strip p{color:var(--muted);font-size:14px;margin:8px 0 0}.preserved-strip button{border:0;background:none;color:var(--accent);display:flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap}.preserved-strip img{width:22px;height:22px}.catalog-visual-note{font-size:11px;color:#8793a8;line-height:1.5}.shopping{padding:0;border:0;background:none}.product-list{max-height:none;overflow:visible}.product{display:grid;grid-template-columns:152px minmax(0,1fr);gap:16px;min-height:152px;margin-bottom:12px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;align-items:center;position:relative}.product-image{width:152px;height:130px;border-radius:8px;background:#f2f3f5;overflow:hidden;position:relative}.product-image>img{width:100%;height:100%;object-fit:cover}.product-number{position:absolute;left:5px;top:5px;border:4px solid white;background:#f1f3f8;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;font-size:13px;font-weight:600}.product h4{font-size:16px;font-weight:600;margin:0 0 9px;line-height:1.3}.product .dimensions{font-size:13px;line-height:1.6;margin:0 0 12px;max-width:240px}.product .price-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.product .price{font-size:18px;font-weight:500;color:var(--ink)}.product .swap{border:0;border-radius:7px;background:#edf3ff;color:#164aab;font-size:13px;padding:10px 17px}.product-store{display:block;font-size:10px;color:#8b97ab;margin-top:5px}.cart-summary{border:1px solid var(--line);border-radius:10px;padding:23px 19px;margin-top:8px}.cart-summary>div:first-child{font-size:21px;display:flex;justify-content:flex-start;gap:8px;align-items:center}.cart-summary>div:first-child strong{font-size:26px;font-weight:600}.budget-track{height:3px;margin:15px 0 9px}.remaining{font-size:11px;margin-bottom:18px}.remaining strong{font-size:12px}.cart-summary .button{font-size:14px;width:100%}.cart-footnote{font-size:10px;margin:10px 0 0;text-align:center}.catalog-search{margin-top:12px;padding:16px;border-radius:8px;display:block}.search-intro,.search-main>label,.search-main label{display:none}.search-input-row{display:flex;gap:9px}.search-input-row input{font-size:12px;padding:10px;min-width:0;border-radius:6px;flex:1}.search-input-row button{font-size:13px;padding:9px 16px;min-height:40px}.search-examples{margin-top:9px;gap:6px}.search-examples button{font-size:10px;padding:6px}.search-main>p{font-size:10px;margin:9px 0 0}.search-results-panel{margin-top:12px}.catalog-result{grid-template-columns:70px minmax(0,1fr);padding:10px}.catalog-thumb{height:70px}.catalog-actions .button{font-size:11px;padding:8px}.catalog-actions{flex-wrap:wrap}.shopping-layout .search-results-panel h3{font-size:17px}footer{margin:30px 0 0;border-top:1px solid var(--line);padding:18px 0;font-size:11px}.home-disclaimer+footer{margin-top:0}.result-empty{font-size:13px}.result-empty h3{font-size:19px}.result-empty p{font-size:13px}dialog{border-radius:12px}#saveBtn{min-width:180px}.plan-actions{margin:20px 0}.photo-variants[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,label.button:focus-within{outline:3px solid #729cec;outline-offset:3px}.product.highlighted{outline:2px solid var(--accent);outline-offset:2px}.flow-screen:not([hidden]){animation:appear .2s ease}@keyframes appear{from{opacity:.6}to{opacity:1}}@media(prefers-reduced-motion:reduce){.flow-screen:not([hidden]){animation:none}}
@media(max-width:1200px){.home-heading h1{font-size:61px}.home-heading>span{display:none}.home-hero{grid-template-columns:320px minmax(0,1fr)}.start-card{padding:22px}.home-steps{gap:20px}.home-steps article{gap:15px}.home-steps h3{font-size:18px}.home-steps p{font-size:13px}.flow-heading h1,.shopping-heading h1{font-size:32px}.transformation{grid-template-columns:280px minmax(0,1fr)}.photo-variants{padding:5px 0 0;gap:14px}.photo-variants img{height:130px}.shopping-heading small{display:none}.shopping-layout{grid-template-columns:1.1fr 1fr;gap:18px}.product{grid-template-columns:112px minmax(0,1fr);gap:12px}.product-image{width:112px}.product h4{font-size:14px}.product .dimensions{font-size:12px}.product .price{font-size:16px}.product .swap{padding:9px 12px}.preserved-strip{flex-wrap:wrap}.shopping-heading>p{font-size:17px}}
@media(max-width:800px){.header{padding:0 20px;height:68px;gap:24px}.brand{font-size:30px}.header nav{gap:16px}.header nav button{font-size:12px}.header #saveBtn{min-width:0;padding:10px;font-size:12px;min-height:38px}main{padding:0 20px}.flow-screen{padding-top:26px}.home-heading h1{font-size:48px;letter-spacing:-2px}.home-heading>p{font-size:16px;max-width:460px}.home-hero{grid-template-columns:260px minmax(0,1fr);gap:16px}.start-card{height:350px;padding:18px}.start-card h2{font-size:21px}.upload-drop{height:265px;padding:22px 12px}.upload-drop .button{font-size:13px}.upload-drop p{font-size:12px}.upload-symbol{margin-bottom:17px}.home-comparison{height:370px}.home-steps{margin-top:32px;grid-template-columns:1fr}.home-steps article{border:0;min-height:80px}.home-steps h3{margin:6px 0 8px}.home-steps p br{display:none}.home-steps article>b{flex-basis:52px;height:52px;font-size:21px}.flow-heading{display:block}.flow-heading>p{margin-top:10px;font-size:12px}.flow-heading h1,.shopping-heading h1{font-size:29px}.transformation{grid-template-columns:240px minmax(0,1fr);gap:16px}.transform-controls{padding:16px}.transform-controls .photo-start>img{height:128px}.transform-result .comparison{height:355px}.compare-modes{right:8px;top:8px}.compare-modes button{font-size:11px;padding:6px 8px}.transform-result .label-after{display:none}.photo-variants{gap:8px}.photo-variants img{height:78px}.photo-variants span{padding:7px;font-size:10px}.variant-note{margin:16px 0}.studio-actions{flex-wrap:wrap}.studio-actions .button{min-width:0;font-size:12px;padding:10px}.workspace{grid-template-columns:240px minmax(0,1fr)}.shopping-layout{grid-template-columns:1fr}.shopping-photo{height:440px}.shopping-layout .product{grid-template-columns:140px 1fr}.shopping-layout .product-image{width:140px}.shopping-layout .product h4{font-size:17px}.shopping-layout .product .price{font-size:18px}footer{gap:10px;flex-wrap:wrap}}
@media(max-width:560px){.header{padding:0 16px;gap:18px}.header nav button:first-child{display:none}.header nav{gap:0}.header nav button{font-size:12px}.brand{font-size:27px}.header #saveBtn{font-size:10px;padding:9px}main{padding:0 16px}.home-heading h1{font-size:41px;line-height:1.04;letter-spacing:-1.7px}.home-heading>p{font-size:15px}.home-hero{display:flex;flex-direction:column-reverse;align-items:stretch}.home-comparison{height:285px}.start-card{height:auto;padding:20px}.start-card h2{font-size:23px}.upload-drop{height:auto;padding:20px;gap:16px}.upload-symbol{width:32px;height:32px;margin:0}.upload-drop p{font-size:14px;margin:0}.upload-drop .button{font-size:15px}.upload-drop .text-button{padding:0}.home-steps{margin-top:28px;gap:20px}.flow-heading h1,.shopping-heading h1{font-size:28px}.transformation{display:flex;flex-direction:column}.transform-controls{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.transform-controls h2,.photo-start,.transform-controls>.text-button,.transform-controls>.form-label,.transform-controls>textarea,.keep-option,#generateConsentRow,#generateRoom,#generationStatus{grid-column:1/-1}.transform-controls h2{margin:0}.photo-start>img{height:160px!important}.transform-controls .form-label{margin:12px 0 0}.transform-controls select{grid-column:1/-1}.keep-option{margin:12px 0}.transform-controls #generateRoom{margin-top:10px}.transform-result{width:100%}.transform-result .comparison{height:290px}.photo-variants img{height:80px}.studio-actions{justify-content:stretch}.studio-actions .button{flex:1}.workspace{display:flex;flex-direction:column}.settings,.studio{width:100%}.studio-top{flex-wrap:wrap;gap:12px}.view-tabs button{font-size:12px}.shopping-heading>p{font-size:15px}.shopping-photo{height:310px}.preserved-strip{padding:18px}.preserved-strip strong{font-size:16px}.preserved-strip p{font-size:12px}.product{grid-template-columns:105px 1fr!important;padding:9px}.product-image{width:105px!important;height:116px}.shopping-layout .product h4{font-size:15px}.product .dimensions{font-size:11px}.product .swap{font-size:11px;padding:8px 10px}.shopping-layout .product .price{font-size:16px}.cart-summary>div:first-child{font-size:18px}.cart-summary>div:first-child strong{font-size:22px}.comparison .image-label{font-size:12px;padding:7px 10px}.result-bottom{display:block}.result-bottom .button{margin-top:8px}}

/* Measured alignment corrections from the reference comparison. */
@media(min-width:1201px){.home-heading h1>span{font-size:66px}.home-heading h1{margin-bottom:9px}.home-heading{margin-bottom:16px}}
#studioScreen{padding-top:29px}#studioScreen[data-example="true"] .result-bottom{display:none}.transform-controls .photo-start>span,.transform-controls>#exampleRoom{display:none}.photo-variants{padding-top:17px}.transform-controls textarea{height:75px}#shoppingScreen{padding-top:28px}#shoppingScreen>.back-button{margin-top:20px}.product-list{display:block}.product{margin:0 0 12px;min-height:152px;border-bottom:1px solid var(--line)}.brand{font-family:'Golos Text',Arial,sans-serif}.shopping .cart-summary{margin-top:0}
@media(max-width:560px){#studioScreen{padding-top:24px}.transform-controls .photo-start{margin:4px 0}.photo-variants{padding-top:12px}}

@media(min-width:1201px){.home-steps{grid-template-columns:371px 414px minmax(0,1fr)}}
.shopping .budget-track{display:none}.shopping .cart-summary{padding:20px 19px}.shopping .remaining{margin:8px 0 16px}.shopping .cart-footnote{margin:8px 0 0;font-size:9px}.shopping .cart-summary .button{min-height:48px}#shoppingScreen .search-examples{display:none}#shoppingScreen .search-main>p{font-size:9px}

.preserved-strip>.preserved-photo{width:130px;height:72px;object-fit:cover;border-radius:6px;flex:none}.preserved-strip>div{flex:1}.preserved-strip{padding:16px 20px;gap:20px}.pin-lamp{left:35%;top:17%}@media(max-width:1200px){.preserved-strip>.preserved-photo{width:90px;height:60px}.preserved-strip{gap:12px}}@media(max-width:560px){.preserved-strip>.preserved-photo{width:72px;height:56px}.preserved-strip button{margin-left:auto;font-size:12px}.preserved-strip strong{font-size:14px}}
@media(max-width:760px){.transform-controls .photo-start{display:block}.transform-controls .photo-start>img{width:100%;height:160px}.header nav{display:flex!important}.header nav button:first-child{display:none}.header nav button{font-size:11px}.header{gap:18px}}
.flow-screen:not([hidden]){animation:none}
.header-right{display:flex;align-items:center;gap:12px}.connect-ai{background:#fff;font-size:12px;min-height:39px;padding:9px 13px;white-space:nowrap}.connection-dialog,.room-chat-dialog{width:min(650px,calc(100% - 28px));max-width:650px;max-height:90vh;padding:28px;overflow:auto}.connection-dialog p,.connection-steps{font-size:14px;line-height:1.65;color:#566481}.connection-steps{padding-left:24px}.connection-steps li{margin:12px 0}.connection-dialog a{color:var(--accent);text-decoration:underline}.connection-dialog h2,.room-chat-dialog h2{font-size:25px;letter-spacing:-.6px;margin:0 35px 20px 0}.connection-dialog label,.room-chat-dialog form>label:first-child{display:block;font-size:14px;margin:14px 0 9px}.connection-dialog input[type=password],.room-chat-dialog textarea{border:1px solid var(--line);border-radius:8px;padding:12px;width:100%;color:var(--ink);background:#fff;font:14px var(--font)}.connection-dialog .helper,.room-chat-dialog .helper{font-size:12px;color:var(--muted);line-height:1.6}.room-chat-dialog .text-button{font-size:12px;padding:5px 0}.chat-photo-row{display:flex;align-items:center;gap:16px;border:1px solid var(--line);padding:14px;border-radius:8px;margin:20px 0}.chat-photo-row>img{width:96px;height:80px;object-fit:cover;border-radius:5px}.chat-photo-row span{font-size:12px;color:var(--muted)}.chat-photo-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:7px}.chat-photo-actions .button{font-size:12px;padding:8px 12px;min-height:35px}.chat-message{background:#f3f6fc;border-radius:8px;padding:12px 15px;margin:10px 0}.chat-message.user{background:#edf3ff}.chat-message strong{font-size:12px}.chat-message p{white-space:pre-wrap;font-size:14px;line-height:1.65;margin:7px 0 0}.chat-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#61718c;line-height:1.5;margin:15px 0}.chat-consent input{accent-color:var(--accent);margin-top:3px}.chat-form-actions{display:flex;justify-content:space-between;gap:12px}#chatError,#connectionFeedback{font-size:13px;color:#566481;line-height:1.6}.studio-actions{flex-wrap:wrap}.studio-actions .button{min-width:0}@media(max-width:800px){.header-right{gap:7px}.header .connect-ai{font-size:10px;padding:7px;min-height:34px}.header #saveBtn{min-width:0}.header{gap:14px}.header nav{display:none!important}.room-chat-dialog,.connection-dialog{padding:22px}.chat-photo-row{flex-wrap:wrap}.studio-actions .button{font-size:12px}.chat-form-actions .button{font-size:12px;padding:10px 15px}}
/* Guided room consultation. */
.consult-start{margin:14px 0 8px;background:#f5f7fc;border-color:var(--line);font-size:13px}.consultation-dialog{width:min(1020px,calc(100% - 28px));max-width:1020px;background:#fff}.consultation-dialog h2{margin-bottom:0}.consultation-dialog .eyebrow{font-size:10px;letter-spacing:1.4px;color:var(--muted)}.consultation-steps{list-style:none;display:flex;gap:8px;padding:0;margin:22px 0 14px}.consultation-steps li{flex:1;border-bottom:2px solid var(--line);padding:0 0 10px;color:var(--muted);font-size:12px}.consultation-steps li.active{border-color:var(--accent);color:var(--accent);font-weight:600}.consultation-steps li.done{border-color:#b8c9ed;color:var(--muted)}.consultation-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:24px;align-items:start}.consultation-conversation{min-width:0}.consultation-plan{border:1px solid var(--line);background:#f6f8fc;border-radius:12px;padding:22px;position:sticky;top:0}.consultation-plan h3{font-size:21px;line-height:1.3;margin:10px 0 14px;letter-spacing:-.5px}.consultation-plan>p{font-size:13px;color:var(--muted);line-height:1.6}.consultation-plan dl{margin:0 0 15px}.consultation-plan dt{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);margin-top:13px}.consultation-plan dd{font-size:13px;line-height:1.5;margin:3px 0 0;color:var(--ink);overflow-wrap:anywhere}.consultation-plan label{display:block;font-size:12px;line-height:1.4;margin:16px 0 8px}.consultation-plan textarea{font-size:12px;line-height:1.6;resize:vertical;background:#fff;min-height:130px}.consultation-plan .helper{font-size:11px}.consultation-plan .brief-progress{font-size:12px;font-weight:600;color:var(--accent)}.consultation-plan .button{white-space:normal;font-size:13px;line-height:1.45;background:var(--accent);border-color:var(--accent);min-height:48px}.consultation-plan .button:disabled{opacity:.45}.consultation-dialog .chat-photo-row{margin-top:6px}.consultation-dialog .chat-messages{max-height:330px;overflow:auto;padding-right:4px}.consultation-dialog .chat-message{background:#f5f7fb}.consultation-dialog .chat-message.user{background:#edf3ff}.consultation-dialog .chat-message p{font-size:13px}.chat-suggestions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.suggestion{font-size:12px;line-height:1.4;background:#fff;border:1px solid var(--line);border-radius:16px;padding:7px 12px;color:var(--accent);cursor:pointer}.suggestion:hover{background:#edf3ff}.consultation-note{margin-bottom:0}.generation-overlay{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(246,248,252,.94);text-align:center;padding:30px}.generation-overlay h3{font-size:24px;letter-spacing:-.5px;margin:20px 0 10px}.generation-overlay p,.generation-overlay>span:last-child{font-size:13px;line-height:1.6;color:var(--muted);margin:5px 0}.loading-ring{width:40px;height:40px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:room-spin 1s linear infinite}@keyframes room-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-ring{animation:none}}@media(max-width:760px){.consultation-layout{grid-template-columns:1fr;gap:20px}.consultation-plan{position:static;padding:18px}.consultation-dialog h2{font-size:23px}.consultation-steps li{font-size:10px}.consultation-steps{gap:6px}.consultation-dialog .chat-messages{max-height:280px}.generation-overlay h3{font-size:19px}.generation-overlay{padding:18px}}
@media(min-width:761px){.consultation-dialog[open]{display:flex;flex-direction:column;height:min(850px,90vh);overflow:hidden}.consultation-dialog>.dialog-heading{flex:none}.consultation-dialog>.consultation-steps{flex:none;margin:14px 0 8px}.consultation-dialog>#chatAvailability{margin:5px 0 15px;flex:none}.consultation-layout{flex:1;min-height:0;overflow:hidden}.consultation-conversation{max-height:100%;overflow:auto;padding-right:8px}.consultation-plan{position:static;max-height:100%;overflow:auto}.consultation-dialog .chat-photo-row>img{width:72px;height:60px}.consultation-dialog .chat-photo-row{padding:10px;gap:12px}.consultation-dialog .chat-messages{max-height:240px}.consultation-note{flex:none;margin-top:14px}}
.comparison[data-user-photo="true"]>img{object-fit:contain;background:#f2f3f0}.transform-controls>.consult-start,.transform-controls>#cancelGeneration{grid-column:1/-1}
@media(min-width:761px){.consultation-conversation{display:flex;flex-direction:column;overflow:hidden;padding-right:0}.consultation-dialog .chat-photo-row{flex:none;margin:0 0 8px}.consultation-dialog .chat-messages{flex:1;min-height:70px;max-height:none;overflow:auto;padding-right:5px}.consultation-dialog .chat-suggestions{flex:none;max-height:75px;overflow:auto;margin:8px 0 0}.consultation-dialog .chat-suggestions:empty{display:none}.consultation-dialog #chatForm{flex:none}.consultation-dialog #chatForm>label:first-child{margin:8px 0}.consultation-dialog #chatQuestion{height:65px;resize:vertical}.consultation-dialog .chat-consent{margin:10px 0}.consultation-dialog #chatError{margin:6px 0 0}.consultation-dialog #chatError:empty{display:none}.consultation-plan{display:flex;flex-direction:column;overflow:hidden}.consultation-plan>#briefDetails{min-height:0;flex:1;overflow:auto;padding-right:5px}.consultation-plan>h3,.consultation-plan>.eyebrow,.consultation-plan>.brief-progress,.consultation-plan>.button,.consultation-plan>.helper{flex:none}.consultation-plan>.helper{margin:9px 0 0}.consultation-plan>.brief-progress{margin:12px 0}.consultation-plan>h3{margin:8px 0 12px}}

.connection-retry{align-self:flex-start;margin:0 0 12px}.consultation-dialog button:focus-visible{outline:3px solid #a9c4fa;outline-offset:3px}

.consultation-steps button{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}.consultation-steps button:hover{text-decoration:underline}
#shoppingScreen .shopping-layout{grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr);align-items:start}#shoppingScreen .shopping-photo{position:relative;height:660px;background:#f3f4f5}#shoppingRoomImage{width:100%;height:100%;object-fit:contain}#shoppingScreen .product-pin{display:none!important}#shoppingScreen .shopping,#shoppingScreen .catalog-search,#shoppingScreen .search-results-panel{display:none}.room-product-zones{position:absolute;z-index:2;pointer-events:none}.room-product-zone{position:absolute;transform:translate(-50%,-50%);width:32px;height:32px;border:2px solid #fff;border-radius:50%;background:#ffffffed;color:var(--ink);box-shadow:0 2px 10px #0003;cursor:pointer;pointer-events:auto;font-weight:600}.room-product-zone.selected{background:var(--accent);color:#fff}.room-products-panel{border:1px solid var(--line);border-radius:12px;background:#fff;padding:22px;position:sticky;top:16px}.room-products-panel h2{margin:8px 0 10px;font-size:24px}.room-products-panel>p{font-size:12px;color:var(--muted);line-height:1.5}#roomProductCards{max-height:570px;overflow:auto;padding:3px}.room-product-card{display:grid;grid-template-columns:105px minmax(0,1fr);gap:14px;border:1px solid var(--line);border-radius:10px;padding:12px;margin:0 0 12px;background:#fff;transition:background .15s,border-color .15s}.room-product-card.selected{border-color:var(--accent);background:#f5f8ff}.room-item-crop{height:135px;border-radius:7px;background-repeat:no-repeat;background-color:#eef0f4}.room-item-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.room-product-card h3{margin:5px 0 6px;font-size:16px;line-height:1.3}.room-product-card p{font-size:12px;color:var(--muted);line-height:1.45;margin:0 0 8px}.room-product-card .room-item-price{font-size:13px;color:var(--ink);font-weight:600}.room-item-link{font-size:11px;min-height:34px;padding:8px 10px;text-decoration:none;display:inline-flex;align-items:center}.room-products-note{border-top:1px solid var(--line);padding-top:12px;margin-bottom:0}.room-product-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:800px){#shoppingScreen .shopping-layout{grid-template-columns:1fr}#shoppingScreen .shopping-photo{height:470px}.room-products-panel{position:static}#roomProductCards{max-height:none}}@media(max-width:560px){#shoppingScreen .shopping-photo{height:420px}.room-products-panel{padding:16px}.room-product-card{grid-template-columns:90px 1fr}.room-item-crop{height:125px}}
.room-products-tools{display:flex;flex-direction:column;gap:10px;margin:12px 0 16px}.room-products-tools>.text-button{align-self:flex-start;font-size:11px}.room-products-tools label{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.room-products-tools input{accent-color:var(--accent)}

@media(min-width:801px){#shoppingScreen .shopping-photo{height:min(660px,calc(100vh - 240px));min-height:360px}#roomProductCards{max-height:min(570px,calc(100vh - 380px));min-height:220px}}
#legacyPlan{display:none!important}.photo-plan-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:18px 0 24px}.photo-plan-heading h1{font-size:36px;letter-spacing:-1.2px;margin:8px 0}.photo-plan-heading>p{color:var(--muted);font-size:14px;line-height:1.6}.photo-plan-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.photo-plan-canvas{border:1px solid var(--line);background:#f6f8fc;border-radius:12px;padding:18px}.photo-plan-canvas svg{width:100%;max-height:660px;display:block;touch-action:none}.photo-plan-canvas>p{text-align:center;font-size:12px;color:var(--muted)}.photo-plan-sidebar{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff}.photo-plan-sidebar h2{font-size:19px;margin:0 0 14px}.photo-plan-sidebar>img{width:100%;height:190px;object-fit:contain;background:#f5f6f8;border-radius:8px}.photo-plan-measures{display:flex;gap:12px;margin:15px 0}.photo-plan-measures label{width:50%;font-size:12px;color:var(--muted)}.photo-plan-measures input{width:100%;margin-top:7px;padding:10px;font-size:14px}.photo-plan-consent{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin:12px 0}.photo-plan-sidebar>p{font-size:12px;color:var(--muted);line-height:1.6}.photo-plan-sidebar input{accent-color:var(--accent)}#photoPlanObjects{display:flex;flex-wrap:wrap;gap:7px}.plan-object-choice{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px;font-size:12px;cursor:pointer}.plan-object-choice span{width:12px;height:12px;border-radius:3px}.plan-object-choice.selected{border-color:var(--accent);background:#edf3ff}.photo-plan-note{border-top:1px solid var(--line);padding-top:12px}.photo-plan-canvas g:focus-visible{outline:none}.photo-plan-canvas g:focus-visible rect:first-child{stroke:var(--accent);stroke-width:4}@media(max-width:800px){.photo-plan-layout{grid-template-columns:1fr}.photo-plan-heading{display:block}.photo-plan-heading h1{font-size:28px}.photo-plan-sidebar>img{height:240px}}
.catalog-connection{padding:12px;background:#f5f8fc;border-radius:8px;margin:12px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:11px}.catalog-connection strong{width:100%}.catalog-connection span{color:var(--muted)}.catalog-connection a{font-size:11px}.room-product-card select{width:100%;padding:8px;border:1px solid var(--line);border-radius:6px;font:inherit;font-size:11px;margin:4px 0 10px;background:#fff;color:var(--ink)}.room-store-photo{width:100%;height:100%;object-fit:contain;background:#fff;border-radius:7px}.room-product-zone{cursor:grab}.room-product-zone:active{cursor:grabbing}.room-product-zone:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.room-item-remove{display:block;margin-top:10px;font-size:10px;color:var(--muted)}
.plan-render-actions{width:100%;text-align:center;padding:10px 16px 0}.plan-render-actions p{font-size:11px;line-height:1.5;color:var(--muted);margin:10px auto;max-width:550px}.plan-render-actions .text-button{margin-left:12px}.plan-photo-dialog{width:min(1000px,94vw);max-height:94vh;border:1px solid var(--line);border-radius:16px;padding:24px;background:#fff;color:var(--ink)}.plan-photo-dialog::backdrop{background:#17254180;backdrop-filter:blur(5px)}.plan-photo-heading{display:flex;align-items:center;justify-content:space-between}.plan-photo-heading h2{margin:0 0 16px}.plan-photo-heading button{font-size:28px}.plan-photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.plan-photo-pair figure{margin:0}.plan-photo-pair figcaption{font-size:12px;color:var(--muted);margin-bottom:8px}.plan-photo-pair img{width:100%;height:min(55vh,570px);object-fit:contain;background:#f5f7fb;border-radius:10px}.plan-photo-dialog>p{font-size:12px;color:var(--muted);line-height:1.5}.plan-photo-buttons{display:flex;flex-wrap:wrap;gap:12px}.plan-photo-buttons a{text-decoration:none}@media(max-width:650px){.plan-photo-pair{grid-template-columns:1fr}.plan-photo-pair img{height:40vh}.plan-photo-dialog{padding:16px}}

.generation-feedback{margin:0 0 14px;padding:16px 18px;border:1px solid #cdd9ec;border-radius:10px;background:#f4f7fc;color:#172541}.generation-feedback strong{font-size:16px}.generation-feedback p{margin:7px 0 0;font-size:13px;line-height:1.55;white-space:pre-wrap}.generation-feedback[data-state="error"]{background:#fff7ed;border-color:#e6c7a3;color:#653c22}.generation-feedback[data-state="success"]{background:#f2f7f2;border-color:#cadaca}.generation-feedback[hidden]{display:none}
.generation-feedback[data-state=partial]{background:#fff5e7;border-color:#e0c49c;color:#5d4222}.preparation-dialog{width:min(900px,calc(100vw - 32px));max-height:90vh;padding:28px;border:1px solid #ddd;border-radius:18px;overflow:auto}.preparation-dialog::backdrop{background:#18223e70;backdrop-filter:blur(4px)}.preparation-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:20px 0}.preparation-products article{padding:14px;border:1px solid #d9dce3;border-radius:12px;background:#fff}.preparation-products img{width:100%;height:160px;object-fit:contain}.preparation-products a{display:block;margin-top:12px;font-weight:650}.preparation-products p{font-size:14px;line-height:1.5}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px}.history-panel{margin:28px 0}.history-panel h2{font-size:22px}.version-history{display:flex;gap:12px;overflow:auto}.version-card{flex:0 0 150px;border:1px solid #d9dce3;background:white;border-radius:12px;padding:8px;text-align:left}.version-card img{width:100%;height:110px;object-fit:cover}.version-card span{display:block;font-size:13px;margin-top:8px}.keep-details{display:block;margin-top:16px;font-size:13px}.catalog-connection input,.preparation-dialog input[type=search],#catalogBrowserCity,#catalogMaxPrice,.preparation-dialog select,#transformKeep{width:100%;padding:11px;border:1px solid #d7dce7;border-radius:8px;background:white}.catalog-connection details{margin-top:16px}.catalog-connection summary{cursor:pointer}#catalogLocationNotice,#shoppingTotal{font-size:14px;line-height:1.5}.preparation-dialog label{display:block;margin-top:12px}.preparation-dialog button{cursor:pointer}@media(max-width:700px){.preparation-dialog{padding:18px}.preparation-products{grid-template-columns:1fr}.helper,.room-products-note,.catalog-visual-note{font-size:13px!important}}

.suggestion.selected{background:#eaf0ff;border-color:#2759ce;color:#173f9f}

#catalogRunSearch{margin-top:16px}#catalogParsedFilters{color:#5d6f97;font-size:14px;line-height:1.5}

.studio-product-pins{position:absolute;z-index:5;pointer-events:none}.studio-product-pin{position:absolute;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;background:#2856ce;color:white;width:32px;height:32px;box-shadow:0 2px 8px #18223e50;pointer-events:auto;cursor:pointer}.studio-product-pin[hidden]{display:none}

#catalogBrowserDialog{width:min(1080px,calc(100vw - 32px));max-width:1080px;box-sizing:border-box;}
.catalog-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;margin:12px 0 18px}.catalog-filter-field:has(#productSearch){grid-column:span 2}.catalog-filter-field label{font-size:13px;margin-top:0!important;margin-bottom:6px}#catalogBrowserStatus{font-size:13px;line-height:1.5;color:#64718a}#catalogBrowserItems{grid-template-columns:repeat(3,minmax(0,1fr))}#catalogBrowserItems a{font-size:14px;line-height:1.4}#catalogBrowserItems p{font-size:12px;color:#64718a}#catalogBrowserItems .button{font-size:12px;padding:9px 12px;margin:4px 4px 0 0}
@media(max-width:760px){.catalog-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#catalogBrowserItems{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.catalog-filter-grid{grid-template-columns:1fr}.catalog-filter-field:has(#productSearch){grid-column:auto}#catalogBrowserItems{grid-template-columns:1fr}}
