:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;--panel:#fffbf0eb;--ink:#3b3226;--muted:#8a7c69;--accent:#3f9a6b;--accent-ink:#fff;--line:#503c1e24;--radius:14px;color:var(--ink);font-family:ui-rounded,SF Pro Rounded,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}html,body{background:#cfe6f2;height:100%;margin:0;overflow:hidden}#app{position:fixed;inset:0}#app canvas{touch-action:none;display:block}button,select,input{font:inherit;color:inherit}button{cursor:pointer;box-shadow:0 1px 0 var(--line);white-space:nowrap;background:#ffffffb3;border:0;border-radius:999px;padding:6px 11px}button:hover{background:#fff}button.on{background:var(--accent);color:var(--accent-ink)}button.danger{color:#b0412e}select,input[type=number],input[type=text]{border:1px solid var(--line);background:#fff;border-radius:8px;padding:4px 6px}input[type=range]{width:100%;accent-color:var(--accent)}#top{pointer-events:none;flex-wrap:wrap;align-items:center;gap:10px;display:flex;position:fixed;top:10px;left:10px;right:10px}#top>*{pointer-events:auto}.brand{background:var(--panel);border-radius:var(--radius);padding:7px 14px;box-shadow:0 4px 16px #0000001f}.brand .sub{color:var(--muted);margin-left:6px;font-size:12px}.seg{background:var(--panel);border-radius:999px;align-items:center;gap:4px;padding:4px;display:flex;box-shadow:0 4px 16px #0000001f}.designs select{background:0 0;border:0;max-width:170px}.menu{position:relative}.menu summary{cursor:pointer;border-radius:999px;padding:6px 10px;list-style:none}.menu summary::-webkit-details-marker{display:none}.menu-body{background:var(--panel);z-index:5;border-radius:12px;gap:4px;min-width:200px;padding:6px;display:grid;position:absolute;top:36px;right:0;box-shadow:0 8px 24px #0000002e}.menu-body button{text-align:left;border-radius:8px}#catalog{background:var(--panel);border-radius:var(--radius);flex-direction:column;width:220px;display:flex;position:fixed;top:70px;bottom:44px;left:10px;overflow:hidden;box-shadow:0 4px 16px #0000001f}#cats{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;padding:8px;display:flex}#cats button{padding:4px 9px;font-size:12px}#items{gap:4px;padding:6px;display:grid;overflow-y:auto}#items button{text-align:left;border-radius:10px;align-items:center;gap:8px;display:flex}#items button .sw{border:1px solid var(--line);background-size:cover;border-radius:6px;flex:none;width:18px;height:18px}#items button small{color:var(--muted);margin-left:auto;font-size:11px}.hint{color:var(--muted);margin:6px 0 10px;padding:0 10px;font-size:12px}#side{flex-direction:column;gap:8px;width:250px;display:flex;position:fixed;top:70px;bottom:44px;right:10px;overflow-y:auto}#side section{background:var(--panel);border-radius:var(--radius);padding:10px 12px;box-shadow:0 4px 16px #0000001f}#side h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 6px;font-size:13px}.row{justify-content:space-between;align-items:center;gap:6px;margin:6px 0;font-size:14px;display:flex}.row input[type=number]{width:64px}.chk{align-items:center;gap:8px;margin:4px 0;font-size:14px;display:flex}.btns{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.btns button,#takeoff,#costs{font-size:13px}#takeoff div,#costs div{border-bottom:1px dashed var(--line);justify-content:space-between;padding:2px 0;display:flex}#takeoff .muted{color:var(--muted);border:0}#help{background:var(--panel);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;max-width:calc(100vw - 20px);padding:6px 14px;font-size:13px;position:fixed;bottom:10px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 4px 16px #0000001f}kbd{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:5px;padding:0 5px;font-size:12px}#dims{pointer-events:none;color:#fff;background:#3b3226;border-radius:999px;padding:3px 8px;font-size:12px;position:fixed;transform:translate(12px,-28px)}#toast{color:#fff;background:#3b3226;border-radius:999px;padding:8px 14px;font-size:14px;position:fixed;top:64px;left:50%;transform:translate(-50%)}.mlabel{pointer-events:none;color:#fff;background:#ff5a36;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600;position:fixed;transform:translate(-50%,-50%)}@media (max-width:900px){#catalog{width:170px}#side{width:200px}.brand .sub{display:none}}@media (max-width:640px){#catalog,#side{width:calc(50vw - 15px);height:34vh;top:auto;bottom:44px}#help{display:none}}button:disabled{opacity:.4;cursor:default}.plabel{pointer-events:auto;cursor:pointer;color:var(--ink);border-top:4px solid var(--pc,#ff5a36);background:#fffbf0f5;border-radius:12px;min-width:170px;padding:6px 10px;font-size:12px;position:fixed;transform:translate(-50%,-100%);box-shadow:0 4px 14px #00000040}.plabel b{justify-content:space-between;gap:10px;margin-bottom:2px;font-size:14px;display:flex}.plabel div{color:var(--muted);justify-content:space-between;gap:10px;display:flex}.plabel small{color:var(--muted);font-size:10px;display:block}.plabel b{margin-bottom:0}.plabel section{margin-top:2px;display:none}.plabel:hover,.plabel.open{z-index:20}.plabel:hover section,.plabel.open section{display:block}.plabel{white-space:nowrap;min-width:0}.plabel:hover,.plabel.open{white-space:normal;min-width:320px}#costs .total{border-top:1px solid var(--ink);border-bottom:0;margin-top:2px;font-weight:700}#takeoff h4{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:10px 0 2px;font-size:12px}#side section[data-fold]>h3{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;display:flex}#side section[data-fold]>h3:before{content:"▾";font-size:11px;transition:transform .15s}#side section.folded>h3:before{transform:rotate(-90deg)}#side section.folded>h3{margin-bottom:0}#side section.folded>:not(h3){display:none!important}#costsTotal{color:var(--ink);letter-spacing:0;text-transform:none;margin-left:auto;font-size:13px}#joy{touch-action:none;z-index:5;background:#fffbf059;border:2px solid #ffffffb3;border-radius:50%;width:120px;height:120px;display:none;position:fixed;bottom:54px;left:22px}#joy .knob{pointer-events:none;background:#ffffffd9;border-radius:50%;width:50px;height:50px;position:absolute;top:35px;left:35px;box-shadow:0 2px 8px #00000040}@media (pointer:coarse){body[data-mode=play] #joy{display:block}}body.explore #catalog,body.explore #inspector,body.explore .seg.designs,body.explore #undo,body.explore #redo,body.explore #measure,body.explore #quality,body.explore #modes [data-mode=design],body.explore #side section[data-fold=show],body.explore #side section[data-fold=takeoff],body.explore #costsSec,body.explore #yearsLbl,body.explore #years{display:none!important}body.explore label.row:has(#yearsLbl){display:none!important}body.explore #side{bottom:auto}@media (max-width:640px){body.explore #side{width:200px;height:auto;top:auto;bottom:10px;right:10px}body.explore #help,body.explore .brand .sub{display:none}}#zoom{z-index:5;flex-direction:column;gap:6px;display:none;position:fixed;bottom:54px;right:12px}#zoom button{background:var(--panel);width:44px;height:44px;padding:0;font-size:24px;line-height:1;box-shadow:0 4px 16px #0000002e}body.explore #zoom{display:flex}@media (pointer:coarse){#zoom{display:flex}}@media (max-width:640px){body.explore #zoom{top:64px;bottom:auto}}#costs h4{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:8px 0 2px;font-size:12px}#costs h4:first-child{margin-top:0}#costs .sub{border-bottom:0;margin-bottom:4px;font-weight:600}#costs .run{color:var(--muted);margin-bottom:6px;font-weight:500}
