/* Room-layout editor of the N93 house configurator; isolated from the surrounding form. */
.hfp-editor{--hfp-ink:#15332f;--hfp-muted:#5a7168;--hfp-line:#d4e0d8;--hfp-lime:#d7f76f;color:var(--hfp-ink);min-width:0;width:100%;font:14px/1.5 'DM Sans',sans-serif}.hfp-editor *{box-sizing:border-box}.hfp-editor [hidden]{display:none!important}.hfp-editor h2,.hfp-editor h3,.hfp-editor h4{font-family:Manrope,sans-serif;letter-spacing:-.035em;line-height:1.2;margin:0}.hfp-editor p{margin:0}.hfp-heading{display:flex;gap:22px;align-items:flex-start;justify-content:space-between;margin:0 0 24px}.hfp-eyebrow{font-size:10px!important;letter-spacing:.13em;font-weight:800;color:#ad431e;margin-bottom:9px!important}.hfp-heading h2{font-size:clamp(29px,3vw,43px);margin-bottom:12px}.hfp-heading>div>p:last-child{color:var(--hfp-muted);font-size:14px;max-width:610px}.hfp-concept{display:inline-flex;flex-shrink:0;background:#f2edff;border:1px solid #e3dbf7;border-radius:40px;padding:8px 13px;font-size:11px;font-weight:700;margin-top:5px}.hfp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 0 20px}.hfp-history,.hfp-file-tools{display:flex;gap:8px;flex-wrap:wrap}.hfp-editor .hfp-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #acbfb2;background:#fff;color:var(--hfp-ink);border-radius:10px;min-height:44px;padding:10px 14px;font:700 12px/1.4 'DM Sans',sans-serif;letter-spacing:0;cursor:pointer;max-width:100%;white-space:normal;text-align:center;text-decoration:none}.hfp-editor .hfp-button:hover{background:#eef4e8;border-color:#5b806b}.hfp-editor .hfp-button:disabled{opacity:.45;cursor:not-allowed}.hfp-editor .hfp-button[data-action=save],.hfp-editor .hfp-button[data-action=split],.hfp-editor .hfp-button[data-action=add-door]{background:var(--hfp-lime);border-color:#b2cf58}.hfp-editor .hfp-button[data-action=save]:hover,.hfp-editor .hfp-button[data-action=split]:hover,.hfp-editor .hfp-button[data-action=add-door]:hover{background:#c9ed59}.hfp-history .hfp-button{font-weight:600;background:#f7f8f4}.hfp-history .hfp-button span{font-size:22px;line-height:1}.hfp-status{font-size:13px;border:1px solid #b9cfab;background:#f0f7df;border-radius:10px;padding:12px 15px;margin:0 0 18px;overflow-wrap:anywhere}.hfp-status[data-state=error]{background:#fff0e8;border-color:#dda186;color:#87361e}.hfp-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:22px;align-items:start}.hfp-workspace>*{min-width:0}.hfp-canvas-card{border:1px solid var(--hfp-line);border-radius:18px;overflow:hidden;background:#fcfdf9;box-shadow:0 9px 24px #15332f06}.hfp-floor-bar{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--hfp-line);background:#fff;flex-wrap:wrap}.hfp-floor-bar>span{font-size:11px;color:var(--hfp-muted);font-variant-numeric:tabular-nums}.hfp-floor-tabs{display:flex;gap:7px;flex-wrap:wrap}.hfp-floor-tabs button{min-height:42px;padding:9px 13px;border:1px solid #d5e0d8;background:#f8faf5;border-radius:8px;font-size:12px;font-weight:700}.hfp-floor-tabs button[aria-pressed=true]{background:var(--hfp-ink);border-color:var(--hfp-ink);color:#fff}.hfp-mode-bar{display:flex;gap:7px;padding:14px 16px 8px;flex-wrap:wrap}.hfp-mode-bar button{flex:1;min-height:42px;padding:9px 10px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d3dfd5;border-radius:9px;font-size:12px;font-weight:700;background:#fff;color:#4a6456}.hfp-mode-bar button>span{font-size:19px;line-height:1}.hfp-mode-bar button[aria-pressed=true]{color:var(--hfp-ink);background:#e8f1d5;border:2px solid #426549;padding:8px 9px}.hfp-canvas-help{font-size:11px!important;line-height:1.5;color:var(--hfp-muted);padding:3px 17px 9px}.hfp-stage{position:relative;min-width:0;width:100%;background-color:#fcfdf9;background-image:linear-gradient(#dce7db44 1px,transparent 1px),linear-gradient(90deg,#dce7db44 1px,transparent 1px);background-size:20px 20px;overflow:hidden;isolation:isolate}.hfp-stage svg{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:1000/760;touch-action:manipulation}.hfp-stage [role=button]{outline:0}.hfp-editor[data-mode=rooms] .hfp-stage [data-room-id],.hfp-editor[data-mode=walls] .hfp-stage [data-wall-id],.hfp-editor[data-mode=doors] .hfp-stage [data-door-id]{cursor:pointer}.hfp-editor:not([data-mode=rooms]) .hfp-stage [data-room-id]{pointer-events:none}.hfp-editor:not([data-mode=walls]) .hfp-stage [data-wall-id]{pointer-events:none}.hfp-editor:not([data-mode=doors]) .hfp-stage [data-door-id]{pointer-events:none}.hfp-stage [role=button]:focus-visible{filter:drop-shadow(0 0 2px #cb4b24)}.hfp-stage [data-wall-id][aria-pressed=true] line:not([stroke=transparent]){stroke:#d45328!important;stroke-width:.075!important}.hfp-stage [data-wall-id][aria-pressed=true] line[stroke=transparent]{stroke:#ff66344d!important}.hfp-stage [data-room-id]:focus-visible>rect{stroke:#bd431d!important;stroke-width:.08!important}.hfp-stage [data-door-id]:focus-visible path{stroke:#bd431d!important}.hfp-canvas-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--hfp-line);padding:11px 14px;background:#fff;font-size:11px;color:var(--hfp-muted)}.hfp-zoom{display:flex;gap:4px}.hfp-editor .hfp-zoom .hfp-button{min-height:40px;min-width:40px;padding:7px 10px;border-radius:7px;font-size:13px}.hfp-room-summary{margin-top:23px}.hfp-room-summary h3{font-size:18px;margin-bottom:5px}.hfp-room-summary>div>p{font-size:11px;color:var(--hfp-muted)}.hfp-room-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}.hfp-room-list>button{display:flex;align-items:center;gap:10px;text-align:left;min-height:64px;padding:12px 10px;border:1px solid var(--hfp-line);border-radius:11px;background:#fff;min-width:0;color:var(--hfp-ink);font-size:12px;line-height:1.4}.hfp-room-list>button[aria-pressed=true]{border:2px solid #3d654b;background:#eef4df;padding:11px 9px}.hfp-room-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e8eee6;font-size:10px;flex-shrink:0}.hfp-room-list button>span:nth-child(2){min-width:0;overflow-wrap:anywhere;font-weight:700}.hfp-room-list small{display:block;font-weight:400;font-size:10px;color:var(--hfp-muted);margin-top:3px}.hfp-room-list b{margin-left:auto;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}.hfp-inspector{border:1px solid var(--hfp-line);border-radius:18px;padding:20px;background:#fff}.hfp-selected{padding-bottom:17px;border-bottom:1px solid var(--hfp-line);margin-bottom:17px}.hfp-selected>span{font-size:9px;font-weight:800;letter-spacing:.1em;color:#79715a}.hfp-selected h3{font-size:23px;margin:8px 0 8px;overflow-wrap:anywhere}.hfp-selected p{font-size:12px;color:var(--hfp-muted)}.hfp-selected p b{display:inline-block;border-radius:5px;background:#eef4db;padding:3px 7px;margin-left:5px;color:var(--hfp-ink)}.hfp-editor .hfp-field{display:block;margin:13px 0 15px;font-size:12px;font-weight:700;min-width:0;color:var(--hfp-ink)}.hfp-editor .hfp-field>span{display:block}.hfp-editor .hfp-field input,.hfp-editor .hfp-field select{display:block;width:100%;min-width:0;min-height:44px;padding:10px 11px;font-size:14px;line-height:1.5;border:1px solid #a9bdaf;border-radius:9px;background:white;color:var(--hfp-ink);margin-top:6px;box-shadow:none}.hfp-editor .hfp-field select{padding-right:24px}.hfp-editor .hfp-field small{display:block;font-size:10px;line-height:1.6;color:var(--hfp-muted);font-weight:400;margin-top:6px}.hfp-editor .hfp-field input[type=range]{padding:0;border:0;min-height:36px;accent-color:#527449;cursor:ew-resize;background:transparent;box-shadow:none}.hfp-editor :is(button,input,select,summary):focus-visible{outline:3px solid #bd431d;outline-offset:3px}.hfp-editor input:focus,.hfp-editor select:focus{border-color:#476c50}.hfp-edit-block+.hfp-edit-block{margin-top:23px;padding-top:21px;border-top:1px solid var(--hfp-line)}.hfp-edit-block h4{font-size:15px;margin-bottom:8px}.hfp-inspector>.hfp-button,.hfp-edit-block>.hfp-button{width:100%}.hfp-muted{font-size:11px!important;line-height:1.65;color:var(--hfp-muted)}.hfp-merge .hfp-button{margin-top:12px;font-size:11px}.hfp-wall-readout{display:flex;flex-direction:column;background:#edf4e1;border:1px solid #dbe7cc;border-radius:12px;padding:18px;margin:20px 0 15px}.hfp-wall-readout b{font:800 35px/1.1 Manrope,sans-serif;letter-spacing:-.04em}.hfp-wall-readout span{font-size:11px;color:var(--hfp-muted);margin-top:7px}.hfp-tip{font-size:10px!important;color:#715746;background:#fff3e7;border-radius:9px;padding:11px;margin-top:16px!important;line-height:1.6}.hfp-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hfp-pair .hfp-field{margin-bottom:6px}.hfp-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:4px;font:700 10px/1 'DM Sans',sans-serif;background:#e7ede4;border-radius:50%}.hfp-door-list{display:grid;gap:6px;margin:12px 0}.hfp-door-list button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid var(--hfp-line);border-radius:8px;background:#fbfcf8;text-align:left;font-size:12px;min-height:46px}.hfp-door-list button[aria-pressed=true]{border:2px solid #3b6147;padding:9px;background:#edf3df}.hfp-door-list small{display:block;font-size:10px;color:var(--hfp-muted)}.hfp-door-list b{font-size:11px;white-space:nowrap}.hfp-empty{padding:10px 0;line-height:1.7}.hfp-empty>span{display:grid;place-items:center;width:48px;height:48px;font-size:26px;border-radius:13px;background:#edf4df;margin-bottom:16px}.hfp-empty h3{font-size:22px;margin-bottom:12px}.hfp-empty p{font-size:12px;color:var(--hfp-muted);margin-bottom:18px}.hfp-templates{margin-top:25px;border:1px solid var(--hfp-line);border-radius:13px;background:#f8faf4;overflow:hidden}.hfp-templates summary{padding:16px 18px;cursor:pointer;font-size:13px;font-weight:750}.hfp-templates>div{padding:0 18px 18px}.hfp-templates p{font-size:12px;color:var(--hfp-muted)}.hfp-template-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.hfp-editor .hfp-template-buttons .hfp-button{display:flex;align-items:flex-start;flex-direction:column;padding:16px;background:white;text-align:left}.hfp-template-buttons strong{font-size:14px}.hfp-template-buttons span{font-size:11px;font-weight:400;color:var(--hfp-muted)}.hfp-warnings{padding:15px 18px;background:#fff2e6;border:1px solid #efd6c0;border-radius:13px;font-size:11px;line-height:1.7;margin-top:18px;color:#705747}.hfp-warnings strong{color:#543c2e;font-size:12px}.hfp-warnings ul{margin:7px 0 0;padding-left:18px}.hfp-boundary{padding:18px 0 0!important;font-size:11px!important;line-height:1.8!important;color:var(--hfp-muted);max-width:950px}.hfp-editor .hfp-dialog{max-width:510px;width:calc(100% - 32px);padding:28px;border:1px solid var(--hfp-line);border-radius:20px;background:#fbfaf6;color:var(--hfp-ink);box-shadow:0 30px 100px #0d30284d}.hfp-dialog::backdrop{background:#112d286e;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.hfp-dialog h3{font-size:27px;line-height:1.25;margin-bottom:16px}.hfp-dialog>p:not(.hfp-eyebrow){font-size:14px;line-height:1.75;color:var(--hfp-muted)}.hfp-dialog>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hfp-editor .hfp-dialog [data-action=accept-confirm]{background:#ff6634;border-color:#ff6634}.hfp-editor button,.hfp-editor select{touch-action:manipulation}.hfp-editor button{transition:background .12s,border-color .12s}
@media(min-width:1100px){.hfp-inspector{position:sticky;top:20px}.hfp-stage svg{min-height:390px}}
@media(max-width:900px){.hfp-workspace{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.hfp-inspector{padding:17px}.hfp-room-list{grid-template-columns:1fr}.hfp-concept{display:none}.hfp-selected h3{font-size:20px}}
@media(max-width:720px){.hfp-workspace{display:flex;flex-direction:column;gap:20px}.hfp-drawing-column,.hfp-inspector{width:100%}.hfp-heading{margin-bottom:15px}.hfp-heading h2{font-size:30px}.hfp-heading>div>p:last-child{font-size:13px}.hfp-toolbar{gap:10px;padding:8px 0 17px}.hfp-file-tools{flex:1;justify-content:flex-end}.hfp-editor .hfp-toolbar .hfp-button{font-size:11px;padding:9px 10px;min-height:42px}.hfp-floor-bar{padding:11px 12px}.hfp-mode-bar{padding:11px 10px 6px;gap:5px}.hfp-mode-bar button{font-size:11px;padding:8px 6px;gap:5px}.hfp-mode-bar button[aria-pressed=true]{padding:7px 5px}.hfp-canvas-help{padding:5px 12px 8px;font-size:10px!important}.hfp-canvas-card{border-radius:14px}.hfp-canvas-foot{padding:9px 10px;gap:7px}.hfp-canvas-foot>span{font-size:10px;flex:1}.hfp-editor .hfp-zoom .hfp-button{padding:6px;min-width:35px;min-height:38px;font-size:11px}.hfp-room-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hfp-room-list button{flex-wrap:wrap;gap:7px;padding:10px 8px}.hfp-room-list button[aria-pressed=true]{padding:9px 7px}.hfp-room-list b{margin-left:32px}.hfp-room-list button>span:nth-child(2){flex:1}.hfp-inspector{padding:21px;border-radius:15px}.hfp-selected h3{font-size:25px}.hfp-editor .hfp-field input,.hfp-editor .hfp-field select{font-size:16px}.hfp-template-buttons{grid-template-columns:1fr}.hfp-boundary{font-size:10px!important}.hfp-dialog>div{flex-direction:column}.hfp-dialog .hfp-button{width:100%}}
@media(max-width:410px){.hfp-toolbar{align-items:stretch}.hfp-history,.hfp-file-tools{width:100%;justify-content:stretch}.hfp-history .hfp-button,.hfp-file-tools .hfp-button{flex:1}.hfp-floor-bar{gap:7px}.hfp-floor-bar>span{font-size:10px}.hfp-floor-tabs button{font-size:11px;padding:8px 10px}.hfp-room-list{grid-template-columns:1fr}.hfp-room-list b{margin-left:auto}.hfp-heading h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.hfp-editor button{transition:none}}
@media print{.hfp-toolbar,.hfp-mode-bar,.hfp-inspector,.hfp-templates,.hfp-zoom,.hfp-status,.hfp-dialog{display:none!important}.hfp-workspace{display:block}.hfp-canvas-card{break-inside:avoid;box-shadow:none}.hfp-room-summary{break-inside:avoid}.hfp-stage svg{max-height:550px}}

.hfp-download-link{display:block;min-height:40px;padding:10px 0 2px;color:#15332f;font-weight:800;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.hfp-download-link:focus-visible{outline:3px solid #bd431d;outline-offset:3px}
