*{box-sizing:border-box}body{margin:0;font:14px Arial,Helvetica,sans-serif;color:#151515;background:#fff}button,a,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid #197a72;outline-offset:3px}header{height:76px;border-bottom:1px solid #ddd;display:flex;align-items:center;padding:0 32px;gap:30px}.brand{font-size:25px;font-weight:900}.draft{margin-left:auto;font-size:11px;color:#686868;border:1px solid #ddd;padding:5px 8px}.editor{display:grid;grid-template-columns:minmax(0,1fr) 350px;height:calc(100dvh - 76px)}.workspace{position:relative;background:#f7f8f8;min-width:0;overflow:hidden}#scene{width:100%;height:100%;display:block;touch-action:none}.scene-tools{position:absolute;top:20px;left:20px;display:flex;gap:5px}.scene-tools button,.dialog-heading button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dedede;background:white}.scene-tools span{width:10px}svg{width:17px;height:17px;flex-shrink:0}button:disabled{opacity:.35;cursor:default}.dimensions{position:absolute;bottom:24px;left:24px;display:flex;flex-direction:column;gap:8px;font-size:13px}.dimensions span{color:#666}.panel{border-left:1px solid #ddd;overflow:auto;padding:26px 22px}.panel-title h1{font:30px Georgia,serif;margin:0 0 10px}.panel-title p{font-size:12px;color:#666;margin-bottom:25px}.tabs{display:flex;border-bottom:2px solid #ddd;margin-bottom:24px}.tabs button{flex:1;border:0;background:#fff;padding:12px 4px}.tabs button[aria-selected=true]{font-weight:bold;border-bottom:3px solid black;margin-bottom:-2px}.tab-panel>label{display:block;margin:22px 0 10px}.choices{display:flex;flex-wrap:wrap;gap:5px}.choices button{min-width:44px;min-height:32px;background:#fff;border:1px solid #111;padding:6px 10px}.choices button[aria-pressed=true]{background:#111;color:#fff}.layout-tools,.accessory-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.layout-tools button,.accessory-options button{border:1px solid #ddd;background:#fff;padding:13px 8px;display:flex;align-items:center;gap:6px;font-size:12px}.accessory-options button[aria-pressed=true]{border-color:#111;background:#f0f0ee}select{width:100%;padding:9px;border:1px solid #bbb;background:white}.swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.swatches button{height:37px;border:1px solid #ddd}.swatches button[aria-pressed=true]{outline:2px solid black;outline-offset:2px}.summary{margin-top:25px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:16px 0}.summary summary{cursor:pointer}.summary p{line-height:1.7;white-space:pre-line}.muted,.independent{font-size:12px;color:#666;line-height:1.5}.design-actions{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.design-actions button,.load-design{display:flex;gap:6px;align-items:center;border:1px solid #ddd;padding:9px;background:white;cursor:pointer;font-size:12px}.load-design input{display:none}.quote{width:100%;padding:13px;background:#111;color:#fff;border:1px solid #111}.independent{margin-top:16px}#status{font-size:12px;color:#196458;line-height:1.5}dialog{width:440px;max-width:calc(100% - 32px);border:1px solid #ddd;padding:25px}dialog::backdrop{background:#0007}.dialog-heading{display:flex;align-items:center;gap:15px;justify-content:space-between}.dialog-heading h2{font:26px Georgia,serif}dialog label{display:grid;gap:6px;margin:12px 0}dialog input,dialog textarea{width:100%;border:1px solid #aaa;padding:10px}#scene-error{position:absolute;top:40%;left:10%;right:10%}.modular-preview{display:block;background:#f8f8f6;aspect-ratio:.92}.modular-preview canvas{width:100%;height:100%;display:block}.modular-disclosure{font-size:12px;color:#666;margin-top:30px}
#structure-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
#structure-options button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-width: 0; min-height: 78px; padding: 0 0 6px; border: 0; border-bottom: 2px solid #e5e5e5; font-size: 10px; line-height: 1.3; background: #fff; color: #111; }
#structure-options button img { width: 100%; height: 49px; object-fit: contain; }
#structure-options button span { padding: 0 2px; text-align: center; }
#structure-options button[aria-pressed=true] { border-bottom-color: #111; background: #f3f3f1; color: #111; font-weight: 600; }
#structure-options button:hover { background: #f3f3f1; }
#structure-options button:focus-visible { outline: 2px solid #125c93; outline-offset: 2px; }
#base-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
#base-options button { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 5px 2px 9px; border: 0; border-bottom: 2px solid #e5e5e5; background: #fff; color: #111; font-size: 11px; line-height: 1.3; }
#base-options button[aria-pressed=true] { border-bottom-color: #111; background: #f3f3f1; font-weight: 600; }
#base-options button:hover { background: #f3f3f1; }
#base-options button:focus-visible { outline: 2px solid #125c93; outline-offset: 2px; }
#base-options small { color: #666; font-size: 10px; font-weight: 400; }
.base-photo { display: block; width: 49px; height: 36px; flex: 0 0 36px; background-image: url('base-options.png'); background-repeat: no-repeat; background-size: 195px 64px; }
.base-photo-0 { background-position: -18px -28px; }
.base-photo-1 { background-position: -83px -28px; }
.base-photo-2 { background-position: -148px -28px; }
.accessory-icon-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 6px; }
.accessory-icon-options button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; min-width: 0; min-height: 98px; padding: 4px 3px 9px; background: #fff; border: 0; border-bottom: 2px solid #e5e5e5; color: #111; font-size: 11px; line-height: 1.3; text-align: center; }
.accessory-icon-options button[aria-pressed=true] { background: #f3f3f1; border-bottom-color: #111; font-weight: 600; }
.accessory-icon-options button:hover { background: #f3f3f1; }
.accessory-icon-options button:focus-visible { outline: 2px solid #125c93; outline-offset: 2px; }
.accessory-icon-options small { font-size: 10px; font-weight: 400; color: #666; }
.accessory-icon-options svg { width: 38px; height: 38px; margin: 4px 0; stroke-width: 1.2; }
.door-photo { display: block; width: 60px; height: 48px; background-image: url('door-options.png'); background-repeat: no-repeat; background-size: 412px 90px; flex: 0 0 48px; }
#accessory-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
.shelf-photo { display: block; width: 60px; height: 48px; background-image: url('shelf-options.png'); background-repeat: no-repeat; background-size: 550px 103px; flex: 0 0 48px; }
.preview-column { display: grid; grid-template-rows: minmax(0,1fr) auto; min-width: 0; min-height: 0; }
.accessory-schedule { background: #fff; border-top: 1px solid #ddd; padding: 16px 24px; max-height: 190px; overflow: auto; }
.accessory-schedule[hidden] { display: none; }
.accessory-schedule h2 { font: 600 13px Arial,sans-serif; margin: 0 0 10px; }
.accessory-schedule ul { list-style: none; margin: 0; padding: 0; }
.accessory-schedule li { display: grid; grid-template-columns: 140px minmax(0,1fr) 28px; align-items: center; gap: 8px; font-size: 12px; padding: 6px 0; border-top: 1px solid #eee; }
.accessory-location { border: 0; background: transparent; color: #555; text-align: left; padding: 0; font-size: 11px; }
.accessory-location:hover { text-decoration: underline; }
.accessory-remove { display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: transparent; }
.colour-selection { margin: 0 0 18px; font-weight: 600; font-size: 14px; }
.tab-panel > .colour-all { display: flex; align-items: center; gap: 8px; font-size: 12px; margin: 0 0 24px; }
@media(max-width:800px) { .preview-column { display: contents; } .accessory-schedule { max-height: 190px; padding: 14px 18px; } .accessory-schedule li { grid-template-columns: 120px minmax(0,1fr) 28px; } }
@media(max-width:800px){header{height:64px;padding:0 18px;gap:18px}.brand{font-size:21px}header>a:not(.brand){font-size:12px}.editor{display:flex;flex-direction:column;height:auto}.workspace{height:48dvh;min-height:310px;position:sticky;top:0;z-index:2}.panel{border-left:0;border-top:1px solid #ddd;overflow:visible;padding:22px}.scene-tools{top:12px;left:12px;gap:3px}.scene-tools button{width:32px;height:32px}.dimensions{bottom:14px;left:16px;font-size:12px}.panel-title h1{font-size:27px}.swatches{grid-template-columns:repeat(7,1fr)}.tabs{position:sticky;top:48dvh;background:white;z-index:3}.modular-preview{aspect-ratio:1.08}}
