
@media(min-width:701px){.identity{gap:12px}.identity small{white-space:nowrap;font-size:.875rem;line-height:1.25}}
@media(max-width:700px){.identity small{display:none}}
#results .results-head{display:block}
#results .results-head>div:first-child{width:100%;min-width:0}
.results-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
#results .results-head h2{font-size:clamp(1.45rem,2.7vw,2rem);line-height:1.25;letter-spacing:-.65px}
.results-verification-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 9px;border:1px solid #e3e8ed;border-radius:999px;background:#f2f4f7;color:#5e6b78;font-size:.7rem;font-weight:500;line-height:1.35;letter-spacing:0;text-transform:none}
.results-verification-badge[hidden]{display:none}
#results .results-head .results-intro{width:100%;max-width:none;margin:8px 0 0;color:var(--muted);font-size:.875rem;font-weight:400;line-height:1.55;letter-spacing:0;text-transform:none}
@media(min-width:1360px){#flow.results-flow{width:calc(100% - 48px);max-width:1440px}#results .results-head .results-intro{white-space:normal}}
@media(max-width:700px){
 #results .results-head h2{font-size:1.3rem;line-height:1.3;letter-spacing:-.3px}
 .results-title-line{align-items:flex-start;gap:6px}
 .results-verification-badge{font-size:.65rem;padding:3px 8px}
 #results .results-head .results-intro{white-space:normal;font-size:.8125rem;line-height:1.5}
}
/* Project editor: balanced two-column content flow; one natural scrolling column on narrow screens. */
#project-dialog{width:min(calc(100% - 32px),1120px);max-height:calc(var(--app-height,100dvh) - 32px)}
#project-dialog #project-form{max-height:calc(var(--app-height,100dvh) - 32px)}
#project-dialog .project-dialog-head{padding:16px 24px 4px}
#project-dialog .project-dialog-body{padding:8px 24px 12px}
#project-dialog .project-groups{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
#project-dialog .project-column{display:flex;flex-direction:column;gap:10px;min-width:0}
#project-dialog .project-group{align-self:stretch;padding:11px}
#project-dialog .project-group-grid{gap:7px 10px}
#project-dialog .project-room-options{gap:4px}
#project-dialog .room-check{padding:6px 8px}
#project-dialog .project-dialog-actions{padding:10px 24px max(10px,env(safe-area-inset-bottom))}
@media(max-width:850px){
 #project-dialog .project-groups{grid-template-columns:1fr;grid-template-areas:"project" "budget" "annexes" "floor" "delivery"}
 #project-dialog .project-column{display:contents}
 #project-dialog .project-project{grid-area:project}
 #project-dialog .project-budget-type{grid-area:budget}
 #project-dialog .project-annexes{grid-area:annexes}
 #project-dialog .project-floor-exposure{grid-area:floor}
 #project-dialog .project-delivery{grid-area:delivery}
 #project-dialog .project-dialog-head{padding:20px 18px 6px}
 #project-dialog .project-dialog-body{padding:8px 18px 16px}
 #project-dialog .project-dialog-actions{padding:10px 18px max(10px,env(safe-area-inset-bottom))}
}
@media(max-width:700px){#project-dialog{width:100%;max-width:100%;max-height:var(--app-height,100dvh)}#project-dialog #project-form{max-height:100%}}
/* Scoped to the new /home iframe. Existing /assistant and /banner retain their UI. */
body.home-hero-mode:not(.journey-mode){height:auto;min-height:0;overflow:auto;background:#344960}
body.home-hero-mode:not(.journey-mode) .shell{position:relative;top:auto;height:auto;min-height:0;max-width:none;border:0;border-radius:0;overflow:visible}
body.home-hero-mode:not(.journey-mode) .topbar{display:none}
.hero{position:relative;isolation:isolate;min-height:590px;background:#243e54;color:white;overflow:hidden;padding:68px clamp(24px,4.5vw,80px) 42px}
.hero-photo,.hero-shade{position:absolute;inset:0;z-index:-2}
.hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 47%}
.hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(20,44,64,.93) 0%,rgba(20,44,64,.78) 38%,rgba(20,44,64,.26) 67%,rgba(20,44,64,.03) 100%)}
.hero-content{max-width:1320px;margin:auto}
.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #ffffff55;border-radius:30px;background:#ffffff15;font-size:12px;margin:0 0 20px;color:white}
.hero-badge>span{color:#FB6464;font-size:21px;line-height:1}
#home.hero #hero-title{font-family:Poppins,sans-serif;font-weight:600;font-size:clamp(32px,3.7vw,55px);line-height:1.2;letter-spacing:-1.3px;max-width:820px;margin:0 0 16px;color:#fff}
#home.hero #hero-title span{color:#FB6464}
.hero-intro{font-size:17px;line-height:1.6;max-width:640px;color:#eef3f7;margin:0 0 24px}
.hero-composer{max-width:1040px;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:10px;background:#fff;color:#344960;border-radius:16px;padding:12px;box-shadow:0 8px 30px #10233425}
.hero-input{display:flex;align-items:center;gap:10px;padding:0 8px;min-width:0}
.hero-input>span{flex:none;display:flex}
.hero-input textarea{font:400 16px/1.5 Poppins,sans-serif;color:#344960;background:#fff;border:0;resize:vertical;min-width:0;width:100%;min-height:52px;max-height:150px;padding:6px 0}
.hero-input textarea::placeholder{color:#637184;opacity:1}
.hero-input textarea:focus{outline:0}
.hero-input:focus-within{outline:2px solid #344960;outline-offset:3px;border-radius:7px}
.hero button,.hero a{font-family:Poppins,sans-serif}
.hero button{cursor:pointer}
.hero-mic,.hero-submit{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:10px;border:0;padding:12px 15px;font-size:13px;font-weight:500;line-height:1.4}
.hero-mic{background:#f0f3f6;color:#344960}
.hero-mic[aria-pressed="true"]{background:#ffe4e4;color:#344960;outline:2px solid #FB6464}
.hero-submit{background:#FB6464;color:#fff;font-weight:600}
.hero-submit>span{font-size:22px;line-height:1}
.hero-submit:hover{background:#ff8585}
.hero button:disabled{opacity:.65;cursor:wait}
.hero-voice-tools{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:1.5}
.hero-voice-tools button{min-height:44px;background:none;border:0;text-decoration:underline;color:#344960;font-size:12px}
.hero-error{grid-column:1/-1;color:#9c302d;font-size:13px;margin:0;padding:6px}
#home-ideas.hero-shortcuts{display:flex;flex-wrap:wrap;gap:10px;max-width:none;margin:22px 0 14px}
.hero-shortcuts button,.hero-shortcuts a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 16px;background:#fff;border:1px solid #e2e7ed;border-radius:12px;color:#344960;font-size:13px;font-weight:500;text-decoration:none;line-height:1.4}
.hero-shortcuts button:hover,.hero-shortcuts a:hover{background:#f0f4f7}
.hero .icon{width:22px;height:22px;flex:none}
.hero-shortcuts span,.hero-mic span:first-child{display:flex}
.hero-reassurance{display:inline-block;font-size:12px;color:#e0e8ee;margin:0 12px 0 0}
.hero-privacy{font-size:11px;color:#e0e8ee;text-underline-offset:3px}
.hero :is(button,a):focus-visible{outline:3px solid #FB6464;outline-offset:4px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:701px) and (max-width:1050px){.hero{padding-block:42px;min-height:540px}.hero-composer{grid-template-columns:minmax(150px,1fr) auto}.hero-input{grid-column:1/-1}.hero-intro{max-width:520px}.hero-shade{background:linear-gradient(90deg,#142c40ed,#142c40aa 50%,#142c4033)}}
@media(max-width:700px){
 .hero{min-height:0;padding:172px 18px 22px}
 .hero-photo{height:255px;bottom:auto}.hero-photo img{object-position:center 35%}
 .hero-shade{background:linear-gradient(180deg,transparent 0px,#243e5422 110px,#243e54dd 206px,#243e54 260px)}
 .hero-badge{font-size:11px;padding:6px 10px;margin-bottom:14px;background:#344960d9}
 #home.hero #hero-title{font-size:clamp(26px,6.9vw,34px);line-height:1.23;letter-spacing:-.7px;margin:0 0 13px}
 .hero-intro{font-size:14px;line-height:1.6;margin:0 0 18px}
 .hero-composer{grid-template-columns:1fr;gap:9px;padding:12px;border-radius:15px}
 .hero-input{padding:0 4px;gap:9px}.hero-input textarea{height:60px;min-height:60px;font-size:16px;line-height:1.45}
 .hero-mic,.hero-submit{width:100%;min-height:48px;font-size:14px;padding:11px 10px}
 #home-ideas.hero-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 13px}
 .hero-shortcuts button,.hero-shortcuts a{padding:10px 8px;font-size:11px;gap:7px;min-height:52px;justify-content:flex-start}
 .hero-shortcuts a{grid-column:1/-1;justify-content:center;min-height:46px}
 .hero-shortcuts .icon{width:20px;height:20px}
 .hero-reassurance{font-size:11px}.hero-privacy{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.hero *{animation:none!important;transition:none!important}}

/* V3.7.23 */
.hero-input{min-height:52px;align-items:center}
.hero-input textarea{height:24px;min-height:24px;padding:0;resize:none;overflow-y:auto}
.hero-submit,.hero-submit:hover,.hero-submit:focus-visible,.hero-submit>span{color:#fff}
.hero-mic.recording{position:relative;animation:smile-recording-halo 1.35s ease-in-out infinite;outline:2px solid #FB6464;background:#ffe7e7}
.hero-voice-tools[data-phase="recording"] #hero-voice-status::before{content:'';display:inline-block;width:8px;min-width:8px;height:8px;border:0;background:#FB6464;border-radius:50%;margin-right:7px;animation:smile-recording-dot 1s ease-in-out infinite}
@keyframes smile-recording-dot{50%{opacity:.4}}
.hero-transfer-link{color:#344960;font-weight:600;display:inline-block;padding:8px;text-decoration:underline}
.hero-text-field{position:relative;flex:1;min-width:0}
.hero-text-field textarea{display:block}
#hero-example{position:absolute;inset:0;display:flex;align-items:center;overflow:hidden;pointer-events:none;white-space:nowrap;color:#637184;font:400 16px/1.5 Poppins,sans-serif}
#hero-example[hidden]{display:none}
#hero-example-text{display:block;white-space:nowrap;flex:none;will-change:transform}
.hero-text-field textarea:placeholder-shown:not(:focus){white-space:nowrap;overflow:hidden}
.hero-text-field.is-animating textarea::placeholder{color:transparent}
.hero-reassurance{display:block;width:100%;margin:0;text-align:center}
@media(max-width:700px){.hero-input{min-height:62px}.hero-input textarea{min-height:24px;height:24px;padding:0}}
@media(prefers-reduced-motion:reduce){.hero-mic.recording,.hero-voice-tools[data-phase="recording"] #hero-voice-status::before{animation:none}}

/* Search block refresh. The new stacked composition is restricted to mobile widths. */
#home .hero-composer{
 display:grid;
 grid-template-columns:minmax(200px,1fr) minmax(170px,210px) minmax(180px,220px);
 grid-template-rows:auto auto auto auto;
 align-items:center;gap:10px;width:min(100%,820px);max-width:820px;margin-left:0;margin-right:auto;padding:12px;
 border-radius:16px;background:#fff;color:#344960;
}
#home .hero-prompt{
 grid-area:1/1/2/2;margin:0;color:#344960;font:500 16px/1.35 Poppins,sans-serif;
 text-align:left;white-space:nowrap;letter-spacing:0;
}
#home .hero-use-switch{
 grid-area:1/2/2/4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;
 min-height:44px;padding:3px;border-radius:12px;background:#F2F4F7;
}
#home .hero-use{
 display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;
 min-height:38px;padding:7px 8px;border:1px solid transparent;border-radius:9px;
 background:transparent;color:#344960;font:500 14px/1.2 Poppins,sans-serif;white-space:nowrap;
}
#home .hero-use .icon{width:18px;height:18px}
#home .hero-use.is-selected{background:#fff;border-color:#e8ebef;box-shadow:0 1px 3px #34496018;font-weight:600}
#home .hero-input{
 grid-area:2/1/3/3;display:flex;align-items:center;gap:8px;min-height:50px;padding:0 8px 0 12px;
 border:1px solid #dbe1e7;border-radius:12px;background:#fff;
}
#home .hero-input:focus-within{outline:2px solid #344960;outline-offset:2px}
#home .hero-input>span{color:#344960}
#home .hero-input>.icon{width:19px;height:19px}
#home .hero-text-field{min-height:48px;display:flex;align-items:center}
#home .hero-input textarea{
 width:100%;height:24px;min-height:24px;max-height:120px;padding:0;color:#344960;
 font:400 16px/1.45 Poppins,sans-serif;resize:none;overflow:hidden;
}
#home #hero-example{font:400 16px/1.45 Poppins,sans-serif}
#home .hero-mic{
 width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:0;
 border-radius:10px;background:#F2F4F7;color:#344960;
}
#home .hero-mic .icon{width:20px;height:20px}
#home .hero-submit{
 grid-area:2/3/3/4;width:100%;min-height:52px;padding:11px 14px;border:0;border-radius:12px;
 background:#FB6464;color:#fff;font:600 15px/1.3 Poppins,sans-serif;
}
#home .hero-submit:hover{background:#f85858}
#home .hero-guided{
 grid-area:3/1/4/4;display:block;min-height:36px;padding:7px 8px;text-align:center;
 color:#344960;font:500 13px/1.5 Poppins,sans-serif;text-decoration:underline;
 text-decoration-color:#9ca9b6;text-underline-offset:3px;
}
#home .hero-guided span{white-space:nowrap}
#home .hero-voice-tools,#home .hero-error,#home .voice-recorder{grid-column:1/-1}
#home #home-ideas.hero-shortcuts{
 display:flex;justify-content:center;max-width:820px;margin:8px 0 10px;
}
#home #home-ideas.hero-shortcuts>a{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;
 min-height:44px;padding:8px 14px;border:0;border-radius:8px;background:transparent;color:#fff;
 font:500 13px/1.5 Poppins,sans-serif;text-decoration:none;
}
#home #home-ideas.hero-shortcuts>a:hover{background:#ffffff14}
#home #home-secondary-icon .icon{width:18px;height:18px}
#home .hero-link-arrow{font-size:16px}
#home .hero-reassurance{margin:0;text-align:center}
#home .hero-mic[aria-pressed="true"]{outline:2px solid #FB6464;background:#ffe7e7}
#home .hero-voice-tools[hidden],#home .hero-error[hidden]{display:none}
#home .hero-error{margin:0;padding:2px 0;color:#9c302d;font:400 12px/1.4 Poppins,sans-serif}
@media(min-width:701px) and (max-width:1050px){
 #home .hero-composer{grid-template-columns:minmax(180px,1fr) minmax(160px,200px);gap:9px}
 #home .hero-prompt{grid-area:1/1/2/2}
 #home .hero-use-switch{grid-area:1/2/2/3}
 #home .hero-input{grid-area:2/1/3/2}
 #home .hero-submit{grid-area:2/2/3/3}
 #home .hero-guided{grid-area:3/1/4/3}
}
#home .hero-reassurance{font-size:12px;text-align:center}
@media(max-width:700px){
 #home .hero-composer{
  grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:8px;
  padding:12px;border-radius:15px;
 }
 #home .hero-prompt{grid-area:auto;font-size:clamp(13px,4vw,16px);line-height:1.25;letter-spacing:-.1px}
 #home .hero-use-switch{grid-area:auto;min-height:44px}
 #home .hero-use{min-height:38px;font-size:13px}
 #home .hero-input{grid-area:auto;min-height:50px;padding-left:10px}
 #home .hero-text-field{min-height:48px}
 #home .hero-input textarea{height:24px;min-height:24px;font-size:16px}
 #home #hero-example{font-size:16px}
 #home .hero-mic{width:38px;min-width:38px;height:38px;min-height:38px}
 #home .hero-submit{grid-area:auto;min-height:52px;font-size:15px}
 #home .hero-guided{grid-area:auto;min-height:38px;padding:8px 2px;font-size:12px}
 #home #home-ideas.hero-shortcuts{display:flex;margin:7px 0 9px}
 #home #home-ideas.hero-shortcuts>a{min-height:44px;padding-inline:12px;font-size:12px}
 #home .hero-reassurance{font-size:11px}
}
@media(max-width:339px){
 #home .hero-composer{gap:7px;padding:10px}
 #home .hero-prompt{font-size:13px;letter-spacing:-.2px}
 #home .hero-use{gap:5px;font-size:12px}
 #home .hero-guided{font-size:11px}
}


.smile-inline-spinner{display:inline-block;width:14px;height:14px;flex:0 0 14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:smile-button-spin .7s linear infinite;vertical-align:middle;margin-right:7px}
button[aria-busy=true]{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding-inline:8px;white-space:nowrap}
button[aria-busy=true]>.smile-inline-spinner{margin:0}
button[aria-busy=true]>span:last-child{font-size:min(1em,1rem)}
@keyframes smile-button-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.smile-inline-spinner{animation:none}}
.compatibility-price-notes{display:block;font-weight:400;font-size:.9em;margin-top:6px}
.compatibility-known{display:block;color:#26704c;font-size:13px;margin-top:8px}
#project-exact-date{max-width:100%;margin-top:10px}
#project-exact-date[hidden],#project-exact-label[hidden]{display:none!important}
#custom-form[data-date=true] .budget-caption,#custom-form[data-date=true] #budget-slider,#custom-form[data-date=true] #budget-currency{display:none}
#custom-form[data-date=true] #custom-input{width:auto!important;max-width:100%;font-size:18px}
#compare-dialog .compare-scroll{overflow:auto;min-height:0}
#compare-dialog #compare-table{min-width:600px}
#compare-dialog .compare-row{grid-template-columns:125px repeat(var(--compare-count),minmax(210px,1fr))}

