@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;font-display:swap;src:url('./fonts/SourceSansPro-Regular.woff2') format('woff2')}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:600;font-display:swap;src:url('./fonts/SourceSansPro-Semibold.woff2') format('woff2')}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:700;font-display:swap;src:url('./fonts/SourceSansPro-Bold.woff2') format('woff2')}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400 600;font-display:swap;src:url('./fonts/Montserrat-Latin.woff2') format('woff2')}

*{box-sizing:border-box}
[hidden]{display:none!important}
:root{--red:#ed1c24;--dark:#404041;--muted:#737373;--line:#dedede;--light:#eeeeee;font-family:'Source Sans Pro',Arial,Helvetica,sans-serif;color:var(--dark);background:var(--light);font-synthesis:none;font-size:16px}
html,body{width:100%;height:100%;margin:0;overflow:hidden}
body{display:grid;grid-template-columns:minmax(0,1fr) 370px;grid-template-rows:82px minmax(0,1fr);height:100vh;height:100dvh}
button,select,input{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button{min-height:42px;color:inherit;cursor:pointer;border:0;font-size:13px}button:hover{filter:brightness(.97)}button:disabled{opacity:.4;cursor:default}
button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,input:focus-visible+.switch{outline:2px solid var(--red);outline-offset:3px}
a{color:inherit}svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.header{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 26px;background:#fff;border-top:4px solid var(--red);border-bottom:1px solid var(--line);min-width:0}
.project-title{display:flex;flex-direction:column;gap:3px;min-width:0;text-decoration:none;line-height:1.1}
.header-eyebrow{font-family:Montserrat,Arial,sans-serif;font-size:11px;color:#777;font-weight:500}
.project-name{font-size:27px;font-weight:700;letter-spacing:-.3px;white-space:nowrap}
.header-spec{font-size:12px;color:#777;white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}
.product-back{display:flex;align-items:center;gap:6px;min-height:42px;flex-shrink:0;text-decoration:none;color:#c91820;font-size:13px;font-weight:600}.product-back:hover span{text-decoration:underline;text-underline-offset:3px}.product-back svg{width:18px;height:18px}

.stage{position:relative;grid-column:1;grid-row:2;min-width:0;min-height:0;overflow:hidden;background:#eee}
.stage>canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline:0}
.scene-label{position:absolute;left:24px;top:26px;display:flex;align-items:center;gap:8px;z-index:2;font-size:12px;line-height:1.3;color:#606060;pointer-events:none}.status-dot{width:5px;height:5px;background:var(--red);flex-shrink:0}
.view-tools{position:absolute;top:16px;right:20px;z-index:3;display:flex;align-items:stretch;gap:6px}
.view-tools button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;background:#fffffff2;border:1px solid #d5d5d5;border-radius:2px;padding:8px 11px;color:#505050;font-size:12px;font-weight:600}
.view-tools button[aria-pressed=true]{background:var(--red);border-color:var(--red);color:#fff}.view-tools svg{width:17px;height:17px}
.canvas-footer{position:absolute;bottom:16px;left:24px;right:20px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:3;pointer-events:none}
.gesture-hint{font-size:12px;color:#777}.touch-gesture{display:none}
.icon-button{display:grid;place-items:center;pointer-events:auto;flex-shrink:0;width:42px;height:42px;background:#fffffff2;border:1px solid #d2d2d2;border-radius:2px}.icon-button svg{width:20px;height:20px;color:#555}
.developer-credit{display:inline-flex;align-items:center;gap:3px;min-height:42px;margin-left:auto;flex-shrink:0;pointer-events:auto;color:#6c6c6c;font-size:12px;line-height:1.4;text-decoration:none;white-space:nowrap}.developer-credit strong{font-weight:600}.developer-credit:hover{color:#404041}.developer-credit:hover strong{text-decoration:underline;text-underline-offset:3px}

.sidebar{grid-row:1/3;grid-column:2;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fff;border-left:1px solid var(--line);padding:20px 24px 24px;scrollbar-width:thin;scrollbar-color:#ccc transparent}
.sidebar-heading h1{font-size:25px;line-height:1.2;font-weight:700;margin:2px 0 7px;letter-spacing:-.3px}
.primary-nav{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:13px 0 14px;background:#fff;border-bottom:1px solid var(--line);margin-bottom:4px}
.primary-nav button{min-height:44px;padding:10px 5px;border-radius:2px;background:#eee;color:#565656;font-family:Montserrat,Arial,sans-serif;font-size:12px;font-weight:600;line-height:1.25}
.primary-nav button[aria-pressed=true]{background:var(--red);color:#fff}
.configuration{border-bottom:1px solid var(--line);padding-bottom:13px}
.switch-row{position:relative;display:flex;align-items:center;gap:12px;min-height:66px;padding:12px 0;cursor:pointer}.switch-row>span:first-child{flex:1;font-size:15px;font-weight:600;line-height:1.25}.switch-row small{display:block;color:#777;font-size:12px;font-weight:400;margin-top:4px;line-height:1.3}.switch-row input{position:absolute;right:0;opacity:0;width:42px;height:42px;cursor:pointer}.switch{width:36px;height:20px;border-radius:2px;background:#cfcfcf;padding:3px;pointer-events:none;flex-shrink:0;transition:background .2s}.switch:after{content:'';display:block;height:14px;width:14px;border-radius:1px;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .2s}.switch-row input:checked+.switch{background:var(--red)}.switch-row input:checked+.switch:after{transform:translateX(16px)}
.entry-actions{display:flex;align-items:center}.secondary-button{background:#f5f5f5;border:1px solid #d5d5d5;border-radius:2px;padding:9px 15px;font-size:13px;font-weight:600}.secondary-button[aria-pressed=true]{background:#fff4f4;border-color:var(--red);color:#c91820}
.details{padding:20px 0 17px}.eyebrow{font-family:Montserrat,Arial,sans-serif;font-size:11px;letter-spacing:.6px;color:#b61c22;font-weight:600}.details h2{font-size:25px;line-height:1.2;margin:6px 0 10px;font-weight:600;letter-spacing:-.2px}.details p{font-size:15px;line-height:1.55;color:#666;margin:0 0 15px}.spec-list>div{display:flex;align-items:baseline;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e8e8e8;font-size:13px;line-height:1.35}.spec-list span{color:#777}.spec-list b{font-weight:600;color:#404041;text-align:right;font-variant-numeric:tabular-nums}.spec-list b small{display:block;margin-top:3px;font-size:12px;font-weight:400;color:#777;white-space:nowrap}
.secondary-section{border-top:1px solid var(--line);margin:0}.secondary-section summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:12px 0;font-size:15px;font-weight:600;line-height:1.4}.secondary-section summary::-webkit-details-marker{display:none}.secondary-section summary svg{width:16px;height:16px}.secondary-section[open] summary svg{transform:rotate(180deg)}.secondary-content{padding:0 0 16px}.secondary-description{font-size:14px;line-height:1.45;color:#707070;margin:0 0 12px}
.room-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.room-nav button,.component-button{display:flex;align-items:center;gap:10px;min-height:44px;border-radius:2px;padding:9px 10px;text-align:left;background:#f2f2f2;border:1px solid #e2e2e2;font-size:13px;font-weight:600;line-height:1.35}.room-nav svg,.component-button svg{width:22px;height:22px}.room-nav button[aria-pressed=true],.component-button[aria-pressed=true]{background:#fff3f3;border-color:var(--red);color:#bc151c}.component-button{width:100%}.component-list{display:grid;gap:8px}
.construction-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-bottom:10px}.construction-modes button{background:#eee;border-radius:2px;padding:9px 3px;font-size:12px;font-weight:600}.construction-modes button[aria-pressed=true]{background:#555;color:#fff}
.select-row{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#555;font-weight:600}.select-row select{min-height:44px;width:100%;font-size:14px;padding:9px 8px;background:#fafafa;color:#505050;border:1px solid #d3d3d3;border-radius:2px}.accuracy p{margin:12px 0;color:#707070;font-size:14px;line-height:1.55}.accuracy a{display:inline-flex;align-items:center;min-height:42px;color:#c91820;font-size:14px;text-underline-offset:3px}
.sidebar-footer{display:flex;flex-direction:column;gap:7px;border-top:1px solid var(--line);padding-top:12px}.sidebar-footer>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;text-decoration:none;font-size:14px;color:#c91820}.sidebar-footer>a:hover{text-decoration:underline;text-underline-offset:3px}.sidebar-footer>span{font-size:12px;color:#888;line-height:1.5}

.loading{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#666;font-size:14px;background:#eee;transition:opacity .3s}.loading.done{opacity:0;pointer-events:none}.spinner{width:25px;height:25px;border:2px solid #ddd;border-top-color:var(--red);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.model-error{position:absolute;inset:20%;z-index:10;background:#fff;padding:24px;font-size:15px;line-height:1.7}.model-error a{display:flex;align-items:center;min-height:42px;color:#c91820}
.dimension-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}.dimension-label{position:absolute;white-space:nowrap;font-size:12px;color:#404041;background:#fffffff5;padding:6px 9px;border:1px solid #d7d7d7;border-top:2px solid var(--red);border-radius:2px;transform:translate(-50%,-50%);box-shadow:0 2px 8px #0000000b}.dimension-label small{display:block;font-size:11px;color:#777;margin-top:1px}
.plan-room-label{position:absolute;pointer-events:none;transform:translate(-50%,-50%);padding:6px 9px;background:#ffffffd9;border:1px solid #d5d5d5;border-radius:2px;color:#404041;font-size:12px;font-weight:600;line-height:1.35;text-align:center;white-space:nowrap}.plan-room-label small{display:block;color:#696969;font-size:10px;font-weight:400;margin-top:2px}

@media(min-width:1500px){body{grid-template-columns:minmax(0,1fr) 400px}.sidebar{padding-left:30px;padding-right:30px}}
@media(max-width:1250px) and (min-width:761px){.header-spec{display:none}.view-tools{right:16px}.scene-label{top:76px;left:20px}.gesture-hint{display:none}}
@media(max-width:1000px) and (min-width:761px){body{grid-template-columns:minmax(0,1fr) 330px}.header{padding-left:20px;padding-right:20px;gap:10px}.project-name{font-size:24px}.sidebar{padding-left:19px;padding-right:19px}.view-tools{left:16px;right:16px;justify-content:flex-end}.view-tools button{padding-left:8px;padding-right:8px}.view-tools button svg{display:none}}
@media(max-width:760px){
  body{grid-template-columns:minmax(0,1fr);grid-template-rows:70px clamp(220px,46dvh,390px) minmax(0,1fr)}
  .header{grid-column:1;grid-row:1;padding:8px 15px;gap:12px}.project-name{font-size:23px;letter-spacing:-.3px}.header-eyebrow{font-size:11px}.header-spec{display:none}.product-back{font-size:12px;gap:4px}.product-back svg{width:16px;height:16px}
  .stage{grid-column:1;grid-row:2}.view-tools{left:13px;right:13px;top:11px;justify-content:flex-end;gap:5px}.view-tools button{font-size:12px;padding:8px 9px}.view-tools button svg{display:none}.scene-label{top:26px;left:15px;right:auto;max-width:90px;font-size:12px}.scene-label #scene-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-footer{bottom:8px;left:15px;right:13px;gap:10px}.developer-credit{font-size:12px;margin-left:0}.gesture-hint{display:none}.desktop-gesture{display:none}.touch-gesture{display:inline}
  .sidebar{grid-row:3;grid-column:1;border-left:0;border-top:1px solid #d3d3d3;padding:0 18px calc(20px + env(safe-area-inset-bottom,0px));overflow-y:auto;min-height:0}.sidebar-heading{display:none}.primary-nav{top:0;padding:10px 0 11px;margin-bottom:0}.primary-nav button{font-size:12px;min-height:43px}.configuration{padding-bottom:11px}.switch-row{min-height:65px}.switch-row>span:first-child{font-size:15px}.details{padding-top:18px}.details h2{font-size:24px}.details p{font-size:15px}.secondary-section summary{min-height:48px}.spec-list>div{font-size:13px}.dimension-label{font-size:12px;padding:4px 6px}.dimension-label small{font-size:11px}.plan-room-label{font-size:11px;padding:4px 6px}.plan-room-label small{font-size:9px}
  .model-error{inset:62px 13px 15px;padding:18px;font-size:14px}
}
@media(max-width:350px){.header{padding-left:13px;padding-right:13px;gap:9px}.project-name{font-size:21px}.header-eyebrow{display:none}.product-back{font-size:12px}.view-tools{left:11px;right:11px;gap:4px}.view-tools button{padding-left:7px;padding-right:7px}.sidebar{padding-left:14px;padding-right:14px}.primary-nav button{padding-left:3px;padding-right:3px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spinner{animation:none}}

/* Stroy: shared visual language with the A2 configurators. */
:root{--red:#007aff;--dark:#1d1d1f;--muted:#86868b;--line:#e7e7ec;--light:#f5f5f7;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{grid-template-columns:minmax(0,1fr) 410px;grid-template-rows:72px minmax(0,1fr)}
.header{border-top:0;padding:12px 28px}.header-eyebrow{font-family:inherit;font-size:12px;letter-spacing:1.2px;color:#86868b}.project-name{font-size:25px;font-weight:650;letter-spacing:-.7px}.product-back{color:#6e6e73;font-size:14px;font-weight:400}.header-spec{font-size:14px}
.stage,.loading{background:#f5f5f7}.status-dot{display:none}.scene-label{font-size:14px;color:#86868b}
.sidebar{padding:27px 26px}.sidebar-heading h1{font-size:27px;letter-spacing:-.8px;font-weight:650}.primary-nav{gap:4px;padding:5px;background:#f5f5f7;border:0;border-radius:12px;margin:20px 0}.primary-nav button{background:transparent;font-family:inherit;font-size:14px;border-radius:9px;font-weight:500}.primary-nav button[aria-pressed=true]{background:#fff;color:#1d1d1f;box-shadow:0 2px 6px #0000000d}
.configuration{padding:0 0 20px}.switch-row small{font-size:14px;color:#86868b}.switch-row>span:first-child{font-size:16px;font-weight:500}.switch{width:42px;height:26px;border-radius:20px;padding:3px;background:#d2d2d7}.switch:after{width:20px;height:20px;border-radius:50%}.switch-row input:checked+.switch:after{transform:translateX(16px)}
.secondary-button{width:100%;border-radius:11px;padding:12px 16px;font-size:14px;font-weight:500;border-color:#e7e7ec;background:#f5f5f7}.secondary-button[aria-pressed=true]{background:#f0f7ff;color:#007aff;border-color:#007aff}
.details{padding:24px 0}.eyebrow{font-family:inherit;font-size:12px;color:#86868b;letter-spacing:1px}.details h2{font-size:24px;font-weight:600;letter-spacing:-.6px}.details p{font-size:16px;color:#6e6e73}.spec-list>div{font-size:14px;padding:12px 0}.spec-list b small{font-size:13px;color:#86868b}.secondary-section summary{min-height:58px;font-size:16px;font-weight:500}
.room-nav button,.component-button{border-radius:11px;background:#fafafa;border-color:#e7e7ec;font-size:14px;font-weight:500;padding:12px}.room-nav button[aria-pressed=true],.component-button[aria-pressed=true]{background:#f0f7ff;border-color:#007aff;color:#007aff}.construction-modes{background:#f5f5f7;padding:4px;border-radius:11px}.construction-modes button{font-size:14px;font-weight:500;background:transparent;border-radius:8px}.construction-modes button[aria-pressed=true]{background:white;color:#1d1d1f;box-shadow:0 1px 5px #0001}
.select-row{font-size:14px}.select-row select{appearance:none;-webkit-appearance:none;background:#fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;border:1px solid #d2d2d7;border-radius:10px;padding:12px 44px 12px 14px;font-size:16px;min-height:48px}
.view-tools button,.icon-button{border:1px solid #e7e7ec;border-radius:11px;background:#ffffffe8;font-size:14px;font-weight:500;box-shadow:0 2px 8px #00000004}.view-tools button[aria-pressed=true]{background:#007aff;border-color:#007aff}.developer-credit{color:#86868b;font-size:12px;gap:7px}.developer-credit img{width:54px;height:auto;filter:grayscale(1);opacity:.55}.gesture-hint{font-size:13px}.sidebar-footer>a{color:#6e6e73}.dimension-label,.plan-room-label{border-radius:8px}.scene-label{top:29px}
@media(min-width:1500px){body{grid-template-columns:minmax(0,1fr) 430px}}
@media(max-width:1000px) and (min-width:761px){body{grid-template-columns:minmax(0,1fr) 350px}.sidebar{padding:22px}.scene-label{top:76px}}
@media(max-width:760px){body{grid-template-columns:minmax(0,1fr);grid-template-rows:64px clamp(220px,38dvh,350px) minmax(0,1fr)}.header{padding:8px 16px}.header-eyebrow{font-size:10px;letter-spacing:.8px}.project-name{font-size:22px}.product-back{font-size:12px}.sidebar{padding:0 18px calc(24px + env(safe-area-inset-bottom))}.primary-nav{margin:0 0 12px;top:0;padding:6px;border-radius:0 0 12px 12px}.primary-nav button{font-size:14px}.scene-label{top:25px;font-size:12px}.view-tools button{font-size:12px}.details p{font-size:16px}.developer-credit{font-size:12px}.sidebar-heading{display:none}}
.developer-credit img{filter:grayscale(1) brightness(0);opacity:.42}.primary-nav{box-shadow:0 -20px 0 0 #fff,0 8px 0 0 #fff}
