#homeBuilder{width:min(1180px,96vw);max-width:96vw;height:92dvh;max-height:94dvh;padding:20px;color:#243c35;background:#f9f5e9;border:1px solid #b8b3a3;border-radius:10px;box-shadow:0 18px 80px #17251d55}#homeBuilder::backdrop,.hb-library::backdrop{background:#17251d99}#homeBuilder>header{display:flex;justify-content:space-between;gap:16px;align-items:start;position:sticky;top:0;background:#f9f5e9;z-index:2;padding-bottom:10px}#homeBuilder h2{margin:0;font-size:24px}#homeBuilder .actions{gap:6px;display:flex;flex-wrap:wrap}#homeBuilder button{min-height:38px;padding:6px 12px}#homeBuilder>p{padding:10px 12px;background:#f5df7d;border-radius:4px;line-height:1.5}.hb-body{display:grid;grid-template-columns:170px 1fr;gap:24px}.hb-body[hidden]{display:none}.hb-body>nav{display:flex;flex-direction:column;gap:7px;align-self:start;position:sticky;top:100px}.hb-body>nav button{text-align:left}.hb-body>nav button[aria-current=true]{background:#f1d76a;font-weight:700}.hb-editor{min-width:0}.hb-editor>label{display:block;margin-bottom:14px}.hb-editor input,.hb-editor textarea{display:block;box-sizing:border-box;width:100%;margin-top:5px;padding:9px;font:inherit;color:#243c35;border:1px solid #a9b8ad;border-radius:5px;background:#fffefa}.hb-editor textarea{resize:vertical}.hb-gallery{margin-top:24px;border-top:1px dashed #a9b8ad;padding-top:12px}.hb-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.hb-photos article{padding:10px;background:#fffdf7;border:1px solid #d4ccba;border-radius:6px}.hb-photos img{width:100%;height:175px;object-fit:contain;background:#ece8dc}.hb-photos label{font-size:13px}.hb-photos .actions{margin-top:8px}#homeBuilder iframe{width:100%;height:72dvh;border:1px solid #c9c3b3}.hb-library{width:min(900px,94vw);max-height:85dvh;background:#f9f5e9;padding:20px;border:1px solid #b8b3a3}.hb-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.hb-library-grid img{width:100%;height:130px;object-fit:contain}.hb-library-grid button{padding:3px}@media(max-width:680px){#homeBuilder{padding:12px}#homeBuilder>header{flex-direction:column;position:static}.hb-body{grid-template-columns:1fr;gap:14px}.hb-body>nav{position:static;flex-direction:row;overflow:auto;padding-bottom:8px}.hb-body>nav button{flex-shrink:0}.hb-photos{grid-template-columns:1fr}.hb-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
