:root{color-scheme:light;--ivory:#f0ede9;--paper:#f8f6f3;--ink:#302d29;--muted:#77716a;--line:#dcd7d0;--accent:#8d4a3e;--accent-soft:#e9dfd9;--white:#fffefa;--sidebar:286px;font-family:Arial,Helvetica,sans-serif;font-synthesis:none;background:var(--ivory);color:var(--ink)}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%;overscroll-behavior:none}body{font-size:16px;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit}button{cursor:pointer}button:disabled,input:disabled{cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,#viewport:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.45}button:disabled.active{opacity:.65}button,input{touch-action:manipulation}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.app-shell{height:100vh;height:100dvh;min-height:640px;display:flex;flex-direction:column;overflow:hidden}.app-header{height:76px;min-height:76px;padding:0 30px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line);background:var(--ivory);z-index:5}.wordmark{font-size:23px;font-weight:700;letter-spacing:-.8px;color:var(--ink);text-decoration:none;white-space:nowrap;line-height:1}.wordmark>span:first-child{font-size:14px;font-weight:400;letter-spacing:1.4px;margin-right:5px}.wordmark-dot{color:var(--accent);margin-left:1px}.header-project{display:flex;align-items:center;gap:25px;font-size:15px;color:var(--muted)}.header-divider{height:23px;width:1px;background:var(--line)}.project-status{margin-left:auto;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px;max-width:320px}.status-dot{height:5px;width:5px;flex-shrink:0;border-radius:50%;background:var(--accent)}.icon-button{width:44px;height:44px;border:0;border-radius:4px;display:grid;place-items:center;background:transparent;transition:background .18s ease,color .18s ease}.icon-button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.header-fullscreen{margin-right:-9px}.header-fullscreen .icon{width:21px;height:21px}.workspace{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);flex:1;min-height:0}.sidebar{display:flex;flex-direction:column;padding:36px 24px 24px;border-right:1px solid var(--line);background:var(--ivory);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c8c0b7 transparent;z-index:3}.eyebrow{display:block;font-size:14px;font-weight:600;letter-spacing:2px;color:var(--accent);line-height:1.4}.sidebar-intro h1{font-size:26px;font-weight:400;letter-spacing:-.9px;line-height:1.23;margin:13px 0 12px}.sidebar-intro p{font-size:14px;line-height:1.6;color:var(--muted);margin:0;max-width:225px}.section-label{font-size:14px;font-weight:400;margin:0 0 13px;color:var(--muted)}.view-section{margin-top:33px}.view-buttons{display:grid;gap:7px}.view-button{min-height:52px;display:flex;align-items:center;gap:12px;padding:8px 13px;border:1px solid transparent;border-radius:5px;background:transparent;text-align:left;transition:background .2s ease,border-color .2s ease,color .2s ease;font-size:15px;line-height:1.3}.view-button:hover:not(:disabled){background:#e8e3dd}.view-button.active,.view-button[aria-pressed=true]{background:var(--white);border-color:#d6cec5;box-shadow:0 2px 6px #302d2904}.view-button.active .view-icon,.view-button[aria-pressed=true] .view-icon{color:var(--accent)}.view-icon{display:flex;color:#81786f}.view-icon .icon{width:25px;height:25px}.view-indicator{height:5px;width:5px;border-radius:50%;margin-left:auto;background:transparent}.view-button.active .view-indicator,.view-button[aria-pressed=true] .view-indicator{background:var(--accent)}.settings-section{border-top:1px solid var(--line);padding-top:25px;margin-top:27px}.settings-section .section-label{margin-bottom:7px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;font-size:14px;cursor:pointer}.toggle{position:relative;display:block;width:35px;height:44px;flex-shrink:0}.toggle input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;z-index:2;cursor:pointer}.toggle input:disabled{cursor:wait}.toggle-track{position:absolute;left:0;top:12px;width:35px;height:20px;border-radius:20px;background:#d2cbc3;transition:background .2s ease}.toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;background:var(--white);border-radius:50%;box-shadow:0 1px 3px #302d291a;transition:transform .2s ease}.toggle input:checked+.toggle-track{background:var(--accent)}.toggle input:checked+.toggle-track:after{transform:translateX(15px)}.toggle input:focus-visible+.toggle-track{outline:2px solid var(--accent);outline-offset:4px}.toggle input:disabled+.toggle-track{opacity:.4}.brightness-setting{margin-top:18px}.brightness-label{display:flex;align-items:center;justify-content:space-between;font-size:14px}.brightness-label label{display:flex;align-items:center;gap:8px}.brightness-label .icon{width:18px;height:18px;color:var(--muted)}#brightness-value{color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px}#brightness{appearance:none;-webkit-appearance:none;width:100%;height:44px;background:transparent;display:block;margin:4px 0 0;cursor:pointer}#brightness::-webkit-slider-runnable-track{height:2px;background:#cfc6bc;border-radius:2px}#brightness::-moz-range-track{height:2px;background:#cfc6bc;border-radius:2px}#brightness::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:15px;width:15px;background:var(--accent);border:3px solid var(--ivory);border-radius:50%;margin-top:-6.5px;box-shadow:0 0 0 1px var(--accent)}#brightness::-moz-range-thumb{height:10px;width:10px;background:var(--accent);border:3px solid var(--ivory);border-radius:50%;box-shadow:0 0 0 1px var(--accent)}#brightness:disabled{opacity:.4;cursor:wait}.sidebar-footer{display:flex;flex-direction:column;gap:6px;margin-top:auto;padding-top:32px;color:var(--muted);font-size:14px;line-height:1.5}.footer-rule{width:27px;height:1px;background:var(--accent);margin-bottom:6px}.sidebar-footer strong{font-size:14px;letter-spacing:1.3px;font-weight:400;color:var(--ink)}.scene{min-width:0;min-height:0;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#faf8f5 0,#eae6e0 100%)}#viewport{position:absolute;inset:0;outline-offset:-5px;touch-action:none}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}.scene-heading{position:absolute;top:34px;left:38px;z-index:1;pointer-events:none}.scene-heading .eyebrow{font-size:14px;letter-spacing:2px;color:#8a7f75}.scene-heading h2{font-size:22px;font-weight:400;letter-spacing:-.5px;margin:9px 0 0}.scene-corner{position:absolute;top:36px;right:36px;width:18px;height:18px;pointer-events:none;opacity:.5}.scene-corner span:first-child{display:block;position:absolute;top:0;right:0;width:18px;height:1px;background:#9c8f82}.scene-corner span:last-child{display:block;position:absolute;top:0;right:0;height:18px;width:1px;background:#9c8f82}.scene-bottom{position:absolute;left:32px;right:30px;bottom:25px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;pointer-events:none}.gesture-help{display:flex;align-items:center;gap:12px;color:#6b6259;padding:12px 15px;border:1px solid #fff9;border-radius:5px;background:#f8f6f3d9;backdrop-filter:blur(8px);pointer-events:auto}.gesture-help>.icon{width:21px;height:21px;color:#8c7d70}.gesture-help p{margin:0;font-size:14px;line-height:1.6}.help-dot{padding:0 5px;color:#b1a69b}.mobile-help{display:none}.scene-tools{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #dcd5cd;border-radius:6px;background:#faf8f5ed;box-shadow:0 3px 15px #302d2905;pointer-events:auto}.scene-tools .icon{width:20px;height:20px}.tools-divider{height:20px;width:1px;background:var(--line);margin:0 3px}.loading-overlay,.error-overlay{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;padding:25px;background:#f0ede9f2;backdrop-filter:blur(12px)}.loading-card{width:310px;max-width:100%;text-align:center;transform:translateY(-13px)}.loading-emblem{display:grid;place-items:center;margin:0 auto 25px;width:76px;height:76px;background:#e8e2db;border-radius:50%;color:var(--accent)}.loading-emblem .icon{width:35px;height:35px;stroke-width:1;animation:breathe 2.4s ease-in-out infinite}.loading-card>.eyebrow{font-size:14px;letter-spacing:2.4px}.loading-card h2{font-size:25px;font-weight:400;letter-spacing:-.7px;line-height:1.3;margin:13px 0 12px}.loading-card p{color:var(--muted);font-size:14px;line-height:1.6;margin:0}.progress-heading{display:flex;justify-content:space-between;margin-top:32px;font-size:14px;color:var(--muted)}#loading-percent{font-variant-numeric:tabular-nums}.progress-track{height:2px;width:100%;background:#dbd3cb;margin-top:12px;overflow:hidden}#loading-bar{height:100%;width:0;background:var(--accent);transition:width .25s ease}.error-card{width:360px;max-width:100%;text-align:center}.error-card h2{font-size:26px;font-weight:400;letter-spacing:-.7px;line-height:1.25;margin:14px 0}.error-card p{font-size:15px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.retry-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:12px 20px;margin-top:13px;background:var(--ink);color:var(--white);border:0;border-radius:4px;font-size:15px;transition:background .2s}.retry-button:hover{background:var(--accent)}.retry-button .icon{width:19px;height:19px}@keyframes breathe{0%,100%{opacity:.5;transform:translateY(1px)}50%{opacity:1;transform:translateY(-2px)}}
@media(min-width:1500px){:root{--sidebar:306px}.sidebar{padding-left:30px;padding-right:30px}.scene-heading{top:40px;left:44px}.sidebar-intro h1{font-size:28px}}
@media(max-width:1100px){.gesture-help{max-width:370px;padding:9px 12px}.gesture-help>.icon{display:none}.gesture-help p{font-size:14px}.scene-bottom{left:23px;right:23px;gap:12px}.help-dot{padding:0 3px}.scene-heading{left:28px}.app-header{padding:0 25px}.project-status{font-size:14px}.header-project{font-size:14px}}
@media(max-height:780px) and (min-width:801px){.sidebar{padding-top:25px}.sidebar-intro h1{font-size:23px}.view-section{margin-top:22px}.view-button{min-height:47px}.settings-section{padding-top:18px;margin-top:20px}.brightness-setting{margin-top:11px}.sidebar-footer{padding-top:15px}.scene-heading{top:28px}}
@media(max-width:800px){:root{--sidebar:100%}.app-shell{height:auto;min-height:100dvh;overflow:visible}.app-header{height:62px;min-height:62px;padding:0 20px;gap:15px}.wordmark{font-size:21px}.wordmark>span:first-child{font-size:14px;letter-spacing:1.2px;margin-right:4px}.header-project{display:none}.project-status{font-size:14px;gap:6px;max-width:180px;line-height:1.3}.header-fullscreen{width:44px;flex-shrink:0;margin-right:-10px}.header-fullscreen .icon{width:19px;height:19px}.workspace{display:flex;flex-direction:column}.scene{order:0;height:55vh;height:55svh;min-height:320px;max-height:620px;border-bottom:1px solid var(--line)}.sidebar{order:1;padding:25px 22px 24px;border-right:0;overflow:visible;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.sidebar-intro{grid-column:1/-1;margin-bottom:21px}.sidebar-intro .eyebrow{display:none}.sidebar-intro h1{font-size:22px;margin:0 0 7px;letter-spacing:-.6px}.desktop-break{display:none}.sidebar-intro p{max-width:none;font-size:14px;line-height:1.5}.view-section{margin:0}.section-label{font-size:14px;margin-bottom:12px}.view-buttons{gap:7px}.view-button{min-height:48px;font-size:14px;padding:8px 10px;gap:9px}.view-icon .icon{width:22px;height:22px}.settings-section{border:0;padding:0;margin:0}.settings-section .section-label{margin-bottom:9px}.toggle-row{font-size:14px;min-height:47px}.brightness-setting{margin-top:17px}.sidebar-footer{display:none}.scene-heading{top:21px;left:23px}.scene-heading .eyebrow{font-size:14px;letter-spacing:1.7px}.scene-heading h2{font-size:19px;margin-top:7px}.scene-corner{top:24px;right:24px;width:14px;height:14px}.scene-corner span:first-child{width:14px}.scene-corner span:last-child{height:14px}.scene-bottom{left:16px;right:16px;bottom:14px;align-items:flex-end;gap:9px}.gesture-help{max-width:260px;padding:7px 10px;background:#f8f6f3d4}.gesture-help p{font-size:14px;line-height:1.65}.desktop-help{display:none}.mobile-help{display:block}.scene-tools{padding:1px;gap:0;flex-shrink:0}.scene-tools .icon-button{width:44px;height:44px}.tools-divider{margin:0;width:1px;height:18px}.scene-tools .icon{width:18px;height:18px}.loading-card{width:270px;transform:translateY(-7px)}.loading-emblem{width:60px;height:60px;margin-bottom:18px}.loading-emblem .icon{width:29px;height:29px}.loading-card h2{font-size:23px}.loading-card p{font-size:14px}.progress-heading{margin-top:23px}.loading-overlay,.error-overlay{padding:22px}.error-card h2{font-size:23px}}
@media(max-width:520px){.app-header{padding:0 17px;gap:9px}.project-status{max-width:137px;font-size:14px}.status-dot{width:4px;height:4px}.sidebar{display:flex;padding:24px 20px 27px}.sidebar-intro{margin-bottom:23px}.sidebar-intro h1{font-size:22px}.sidebar-intro p{font-size:14px;max-width:330px}.view-buttons{grid-template-columns:1fr 1fr;gap:8px}.view-button{min-height:53px;padding:9px 11px;font-size:14px;gap:8px}.view-button>span:nth-child(2){white-space:nowrap}.view-indicator{height:4px;width:4px}.view-icon .icon{width:22px;height:22px}.settings-section{margin-top:25px;border-top:1px solid var(--line);padding-top:23px}.settings-section .section-label{margin-bottom:10px}.toggle-row{font-size:16px;min-height:48px}.brightness-label{font-size:16px}.brightness-setting{margin-top:19px}.brightness-label .icon{height:20px;width:20px}.brightness-label label{gap:10px}.toggle{width:39px}.toggle-track{width:39px;height:22px;top:11px}.toggle-track:after{width:16px;height:16px}.toggle input:checked+.toggle-track:after{transform:translateX(17px)}.scene-bottom{left:13px;right:13px;bottom:12px}.gesture-help{max-width:202px;padding:6px 8px;line-height:1.5}.help-dot{padding:0 2px}.scene-tools .icon-button{width:44px}.scene-heading{left:21px;top:20px}.scene-corner{right:21px}.scene{min-height:340px}.brightness-label output{font-size:14px}}
@media(max-width:360px){.project-status{display:none}.header-fullscreen{margin-left:auto}.view-button{font-size:14px;padding:8px}.view-icon .icon{width:20px;height:20px}.gesture-help{max-width:155px}.gesture-help p{font-size:14px}.sidebar{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* A fixed project image can remain visible when interactive rendering is unavailable. */
.error-overlay{padding:24px;background:var(--ivory);backdrop-filter:none}
.error-card{width:100%;height:100%;max-width:1100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
.fallback-preview{width:100%;min-height:0;flex:1;margin:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}
.fallback-preview:has(#fallback-image[hidden]){display:none}
#fallback-image{display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;border-radius:6px}
.fallback-preview figcaption{font-size:14px;line-height:1.4;color:var(--muted);text-align:center}
@media(max-width:520px){.view-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.view-button>span:nth-child(2){min-width:0;white-space:normal}.view-indicator{flex-shrink:0}}
.error-details{width:100%;max-width:760px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px;row-gap:7px;text-align:left;padding:0 5px}
.error-details h2{grid-column:1;grid-row:1;margin:0;font-size:22px;line-height:1.25;letter-spacing:-.5px}
.error-details p{grid-column:1;grid-row:2;margin:0;font-size:14px;line-height:1.5}
.error-details .retry-button{grid-column:2;grid-row:1/3;min-height:44px;margin:0;padding:11px 20px;white-space:nowrap}
@media(max-width:800px){.error-overlay{padding:16px}.error-card{gap:12px}.fallback-preview{gap:6px}.error-details{column-gap:14px;row-gap:6px;padding:0}.error-details h2{grid-column:1/-1;font-size:19px;letter-spacing:-.3px}.error-details p{grid-column:1;grid-row:2}.error-details .retry-button{grid-column:2;grid-row:2;padding:10px 14px;font-size:14px}.fallback-preview figcaption{font-size:14px}}

/* Authentic Bel Œil and supplied CESAR artwork; both retain their native proportions. */
.sidebar-intro .eyebrow{margin-bottom:14px}
.app-header{height:104px;min-height:104px;gap:28px}
.brand-logos{display:flex;align-items:center;gap:24px;flex:0 0 auto}
.client-logo-link{display:flex;align-items:center;justify-content:center;flex:0 0 90px;width:90px;height:90px;overflow:hidden;line-height:0;border-radius:2px;background:var(--ivory)}
.brand-logo{display:block;object-fit:contain;flex:0 0 auto}
.brand-logo-client{width:164px;height:auto;max-width:none;mix-blend-mode:multiply}
.brand-logo-cesar{width:184px;height:auto}
.brand-divider{height:30px;width:1px;flex:0 0 auto;background:var(--line)}
.header-fullscreen{flex:0 0 44px;margin-right:0}
.header-project{flex:0 0 auto}
.project-status{min-width:0}
#model-state{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:801px) and (max-width:1000px){.app-header{gap:20px}.header-project{gap:18px}.project-status{max-width:180px}}
@media(max-width:800px){
 .app-header{height:80px;min-height:80px;padding:0 16px;gap:16px}
 .sidebar-footer{display:flex;grid-column:1/-1;margin-top:24px;padding-top:20px}
 .brand-logos{gap:16px}
 .client-logo-link{width:64px;height:64px;flex-basis:64px}
 .brand-logo-client{width:117px}
 .brand-logo-cesar{width:128px}
 .brand-divider{height:24px}
 .header-fullscreen{margin-left:auto;margin-right:0}
 .project-status{position:absolute;display:flex;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}
@media(max-width:360px){html,body{min-width:0}.app-header{padding:0 12px;gap:12px}.brand-logos{gap:12px}.brand-logo-cesar{width:120px}}
