:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font:15px/1.4 system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}#root{min-height:100svh}.app{width:100%;height:100svh;display:flex}.panel{background:#f7f8f9;border-right:1px solid #dde1e4;width:340px;min-width:340px;height:100%;padding:20px;overflow-y:auto}.brand{align-items:center;gap:12px;margin-bottom:20px;display:flex}.brand img{object-fit:contain;background:#fff;border-radius:8px;flex-shrink:0;width:84px;height:84px}.panel h1{color:#1a1d1f;margin:0 0 2px;font-size:20px}.subtitle{color:#6b7280;margin:0;font-size:13px}.panel section{border-bottom:1px solid #e5e7eb;margin-bottom:22px;padding-bottom:18px}.panel section:last-of-type{border-bottom:none}.panel h2{text-transform:uppercase;letter-spacing:.04em;color:#6b7280;margin:0 0 12px;font-size:13px}.field{margin-bottom:12px;display:block}.field span{color:#374151;margin-bottom:4px;font-size:13px;display:block}.field-row{align-items:center;gap:8px;display:flex}.field-row input[type=range]{flex:1}.field-row input[type=number]{width:60px}.field select,.field-row input[type=number]{border:1px solid #d1d5db;border-radius:6px;padding:5px 6px;font-size:13px}.field select{width:100%}.field-label{color:#374151;margin-bottom:6px;font-size:13px;display:block}.checkbox-field{color:#374151;cursor:pointer;align-items:flex-start;gap:8px;font-size:13px;display:flex}.preset-row{flex-wrap:wrap;gap:6px;display:flex}.chip{cursor:pointer;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:6px 12px;font-size:12px}.chip-active{color:#fff;background:#1a1d1f;border-color:#1a1d1f}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatch{cursor:pointer;border:2px solid #0000;border-radius:6px;width:28px;height:28px}.swatch-selected{border-color:#1a1d1f}.opening-row{grid-template-columns:1fr 1fr 44px 44px 22px;align-items:center;gap:6px;margin-bottom:8px;display:grid}.opening-row select,.opening-row input{border:1px solid #d1d5db;border-radius:6px;width:100%;padding:4px;font-size:12px}.remove-btn{color:#b91c1c;cursor:pointer;background:#fee2e2;border:none;border-radius:6px;height:26px}.add-btn{cursor:pointer;color:#374151;background:0 0;border:1px dashed #9ca3af;border-radius:8px;width:100%;padding:8px;font-size:13px}.generate-btn{color:#fff;cursor:pointer;background:#1a1d1f;border:none;border-radius:8px;width:100%;padding:12px;font-size:14px}.viewport{flex:1;height:100%}.render-preview img{border-radius:8px;width:100%;margin-bottom:8px;display:block}.render-stale{color:#b45309;margin:0 0 8px;font-size:12px}.render-error{color:#b91c1c;margin:0 0 8px;font-size:12px}.render-hint{color:#16a34a;margin:8px 0 0;font-size:12px}.quote-summary{color:#374151;justify-content:space-between;align-items:center;margin-bottom:10px;padding:10px 0;font-size:14px;display:flex}.quote-summary strong{color:#1a1d1f;font-size:17px}.secondary-btn{color:#1a1d1f;cursor:pointer;background:#fff;border:1px solid #1a1d1f;border-radius:8px;width:100%;margin-top:8px;padding:11px;font-size:14px}.share-hint{color:#16a34a;text-align:center;margin:8px 0 0;font-size:12px}.field-hint{color:#6b7280;margin:-4px 0 12px;font-size:12px}@media (width<=700px){.app{flex-direction:column;height:100svh}.viewport{flex:none;order:-1;width:100%;height:42svh;min-height:240px}.panel{border-top:1px solid #dde1e4;border-right:none;flex:1;width:100%;min-width:0;height:auto;padding:16px}.panel h1{font-size:18px}.chip{padding:8px 14px;font-size:13px}.swatch{width:34px;height:34px}.opening-row{grid-template-columns:1fr 1fr;grid-template-areas:"type wall""offset width""remove remove"}.opening-row select:first-child{grid-area:type}.opening-row select:nth-child(2){grid-area:wall}.opening-row input:nth-child(3){grid-area:offset}.opening-row input:nth-child(4){grid-area:width}.opening-row .remove-btn{grid-area:remove;height:34px}.opening-row select,.opening-row input{padding:8px;font-size:13px}.add-btn,.generate-btn,.secondary-btn{padding:12px;font-size:15px}}
