.koya-swatches.koya-swatches{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0;align-items:center}
.koya-swatches.koya-swatches button{flex:0 0 28px;width:28px;height:28px;min-width:28px;padding:0;border:2px solid white;border-radius:50%;background:var(--c);box-shadow:0 0 0 1px #d6d6d9;outline:0;cursor:pointer}
.koya-swatches.koya-swatches button.selected{box-shadow:0 0 0 2px #1d1d1f;outline:2px solid white;outline-offset:0}
.koya-swatches.koya-swatches button:focus-visible{outline:2px solid #0071e3;outline-offset:4px}
.koya-side-tabs.koya-side-tabs{display:flex;gap:4px;padding:4px;background:#f5f5f7;border-radius:10px}
.koya-side-tabs.koya-side-tabs button{flex:1;border:0;padding:9px 0;min-height:40px;background:transparent;color:#86868b;border-radius:7px;cursor:pointer;font-size:13px}
.koya-side-tabs.koya-side-tabs button.active{background:#fff;color:#1d1d1f;box-shadow:0 1px 3px #0000000b}
.koya-mini-plan.koya-mini-plan{position:relative;background:white;border:1px solid #e5e5e7;border-radius:10px;margin:18px 0;padding:10px;overflow:visible}
.koya-mini-plan.koya-mini-plan svg{width:100%;height:auto;display:block}
.koya-mini-plan>button{position:absolute;border:0;background:#fff;color:#86868b;font-size:11px;min-width:28px;min-height:28px;border-radius:7px;cursor:pointer;padding:4px}
.koya-mini-plan>button[aria-pressed=true]{background:#f0f0f3;color:#1d1d1f;font-weight:600}
.koya-mini-plan .locator-front{bottom:2px;left:50%;transform:translateX(-50%)}.koya-mini-plan .locator-back{top:2px;left:50%;transform:translateX(-50%)}.koya-mini-plan .locator-left{left:2px;top:50%;transform:translateY(-50%)}.koya-mini-plan .locator-right{right:2px;top:50%;transform:translateY(-50%)}

.viewer-controls{position:absolute;z-index:9;bottom:33px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:5px;border:1px solid #e5e5e7;border-radius:16px;background:#fffffff0;box-shadow:0 3px 18px #00000009;backdrop-filter:blur(20px)}
.viewer-controls button,.view-navigation button{border:0;border-radius:10px;background:transparent;color:#515154;display:grid;place-items:center;width:40px;height:40px;padding:9px}
.viewer-controls svg,.view-navigation svg{width:22px;height:22px}
.viewer-controls button:hover,.view-navigation button:hover{background:#f5f5f7}
.viewer-controls button[aria-pressed=true],.viewer-controls button[aria-expanded=true]{background:#eaf3ff;color:#0071e3}
.toolbar-divider{height:21px;width:1px;background:#e5e5e7;margin:0 4px}
.view-navigation{position:absolute;z-index:10;bottom:92px;left:50%;transform:translateX(-50%);padding:16px;background:#fffffff5;backdrop-filter:blur(20px);border:1px solid #e5e5e7;box-shadow:0 4px 25px #00000012;border-radius:16px;min-width:225px;color:#6e6e73;font-size:12px}
.view-navigation>span{display:block;margin-bottom:4px}
.view-navigation>div{display:flex;justify-content:center;gap:6px}
.view-navigation label{display:flex;gap:8px;align-items:center;margin:10px 0 16px;font-size:12px}
.view-navigation label input{width:16px;height:16px}
.viewer-controls button{width:42px;height:42px}
.view-navigation{bottom:70px}
.koya-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}
.koya-options button{font:inherit;font-size:13px;min-height:44px;padding:9px 10px;border:1px solid #dedee3;border-radius:10px;background:white;color:#515154;cursor:pointer;text-align:center}
.koya-options button[aria-pressed=true]{background:#f5f5f7;border-color:#1d1d1f;color:#1d1d1f;box-shadow:inset 0 0 0 .5px #1d1d1f}
.koya-options button:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.koya-options button:disabled{opacity:.4;cursor:default}

/* Shared compact workspace, 2026.09.20. Navigation stays with its settings. */
.koya-workspace header{height:64px!important;min-height:64px!important;padding:10px 22px!important;gap:18px!important}
.koya-workspace header .logo{font-size:23px!important}
.koya-workspace header .project-caption{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;min-width:0;font-size:12px;line-height:1.4}
.project-caption strong{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#232426}
.project-caption span{color:#777b80}
.koya-workspace #environment,.koya-workspace .environment-choices,.koya-workspace .stage-title,.koya-workspace footer{display:none!important}
.koya-workspace .koya-steps{position:sticky!important;top:0!important;bottom:auto!important;left:auto!important;right:auto!important;width:100%!important;transform:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;padding:6px!important;margin:0 0 12px!important;border:1px solid #e9e9ed!important;border-radius:13px!important;background:#f6f6f8!important;z-index:20!important;box-shadow:none!important}
.koya-workspace .koya-steps button{min-width:0!important;min-height:40px!important;display:flex!important;align-items:center;justify-content:flex-start!important;gap:7px!important;padding:7px 9px!important;border:0!important;border-radius:9px!important;font:500 12px/1.2 system-ui!important;background:transparent;color:#656970;white-space:normal!important}
.koya-workspace .koya-steps button.active,.koya-workspace .koya-steps button.selected{background:#fff!important;color:#191a1b!important;box-shadow:0 1px 3px #0000000d!important}
.step-number{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:50%;border:1px solid #d6d8dc;font-size:11px;font-weight:600}
.active .step-number,.selected .step-number{background:#242628;color:#fff;border-color:#242628}
.koya-workspace aside h2{font-size:21px!important;margin:8px 0 6px!important;line-height:1.15}
.koya-workspace aside h3{font-size:14px!important;margin:14px 0 8px!important}
.koya-workspace aside p{font-size:12px;line-height:1.45;margin:7px 0}
.koya-workspace aside label{font-size:12px!important;margin-top:8px!important}
.koya-workspace aside input:not([type=range]):not([type=checkbox]):not([type=color]),.koya-workspace aside select{font-size:13px!important;padding:8px 10px!important;min-height:38px!important;border-radius:8px!important}
.koya-workspace aside .persistent-tools{padding:0 0 9px!important;margin:0 0 9px!important}
.koya-workspace .customer-status{font-size:10px!important;margin:6px 0!important}
.koya-workspace aside .koya-options{gap:5px;margin:6px 0}
.koya-workspace aside .koya-options button{min-height:36px;padding:7px;font-size:12px;border-radius:8px}
.koya-workspace .koya-mini-plan{max-height:88px;max-width:190px;margin:8px auto!important;padding:7px!important}
.koya-workspace .koya-mini-plan svg{max-height:70px}
.koya-workspace .koya-side-tabs button{min-height:34px;padding:6px 0;font-size:12px}
.koya-workspace .viewer-controls{bottom:16px!important;padding:4px!important}
.koya-workspace .viewer-controls button{width:36px;height:36px;padding:8px}
.koya-workspace .views{padding:4px!important}
.koya-workspace .views button{font-size:12px!important;padding:8px 11px!important;min-height:36px!important}
.koya-workspace .facts{font-size:11px!important;bottom:68px!important;padding:8px 12px!important;gap:14px!important;max-width:calc(100% - 32px)}
.koya-workspace .facts strong{font-size:18px!important}
.koya-workspace .gesture{display:none!important}
.koya-workspace .stage-top{top:14px!important;left:16px!important;right:16px!important}
.project-identity{margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #e5e5e9}
.project-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.project-inputs label{display:flex;flex-direction:column;gap:5px}
.project-inputs input{width:100%;min-width:0}
.identity-status{color:#6e746f;font-size:11px}
.facade-add-options{padding:10px;border:1px solid #dedee3;background:#fff;border-radius:10px;margin:6px 0}
.facade-add-options[hidden]{display:none!important}
.facade-add-options p{font-size:12px!important}
.facade-add-options .koya-options{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:900px){
 .koya-workspace{height:100dvh!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 .koya-workspace main{height:calc(100dvh - 64px)!important;min-height:0!important;flex:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 358px!important;overflow:hidden!important}
 .koya-workspace .stage{height:100%!important;min-height:0!important;position:relative!important;border:0!important}
 .koya-workspace aside{height:100%!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;padding:12px 16px 24px!important;border-left:1px solid #eee!important}
 .koya-workspace aside .panel-title{display:none!important}
 .koya-workspace .facade-direct-toolbar{padding:10px!important;border-radius:12px!important}
 .koya-workspace .facade-direct-toolbar .koya-options button{min-height:34px!important;font-size:12px!important;padding:6px!important}
 .koya-workspace .facade-direct-row{gap:6px!important}
}
@media(max-width:899px){
 .koya-workspace header{height:60px!important;min-height:60px!important;padding:9px 14px!important}
 .koya-workspace header>small,.koya-workspace header>.study{display:none!important}
 .koya-workspace .project-caption strong{max-width:160px;font-size:12px}
 .koya-workspace main{display:block!important}
 .koya-workspace .stage{height:43dvh!important;min-height:275px!important;max-height:450px!important}
 .koya-workspace aside{padding:12px 14px 24px!important}
 .koya-workspace .koya-steps{position:relative!important}
 .koya-workspace .koya-steps button,.koya-workspace aside .koya-options button{min-height:44px!important}
}
.koya-workspace .koya-steps{height:auto!important;min-height:0!important;align-content:start!important;overflow:visible!important}
.koya-workspace .hero-copy,.koya-workspace .stage-copy,.koya-workspace .stage .intro{display:none!important}
.koya-workspace .koya-steps button .step-number{display:grid!important;opacity:1!important}
.koya-workspace .stage .caption,.koya-workspace .stage .hint{display:none!important}
.koya-workspace .koya-steps button{opacity:1!important}
.koya-workspace .customer-preview-choice,.koya-workspace .koya-options[aria-label="Umgebung"]{display:none!important}
/* Mobile v9: use the available viewport once, without competing sticky heights. */
.mobile-view-toggle{display:none}
@media(max-width:899px){
 .koya-workspace{height:100dvh!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 .koya-workspace header{height:52px!important;min-height:52px!important;flex:0 0 52px!important}
 .koya-workspace main{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
 .koya-workspace .stage{position:relative!important;top:auto!important;flex:0 0 48%!important;height:48%!important;min-height:0!important;max-height:none!important;width:100%!important}
 .koya-workspace aside{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding:10px 14px 24px!important;border-top:1px solid #e5e5e7}
 .koya-workspace footer{display:none!important}
 .koya-workspace .mobile-view-toggle{display:block;position:absolute;right:12px;bottom:62px;z-index:7;min-height:44px;padding:8px 13px;border:1px solid #d2d2d7;border-radius:22px;background:#fff;color:#1d1d1f;font:500 12px system-ui;box-shadow:0 2px 8px #0001}
 .koya-workspace.mobile-model-expanded .stage{flex:1 1 0!important;height:100%!important}
 .koya-workspace.mobile-model-expanded aside{display:none!important}
 .koya-workspace .koya-steps{position:sticky!important;top:-10px;z-index:8;background:#f5f5f7}
 .koya-workspace .stage .topline{display:none!important}
}
@media(max-width:899px) and (max-height:500px){.koya-workspace main{flex-direction:row!important}.koya-workspace .stage{flex:1 1 55%!important;height:100%!important}.koya-workspace aside{flex:0 0 43%!important;border-top:0}.koya-workspace.mobile-model-expanded .stage{flex:1 1 100%!important}}

/* One model, one compact control row. 2026-09-30 mobile review. */
.koya-workspace header{flex:0 0 48px!important;min-height:48px!important;height:48px!important;padding:6px 16px!important;background:#fff!important}
.koya-workspace header .logo{width:auto!important;font-size:22px!important;line-height:1!important;letter-spacing:.02em!important;white-space:nowrap!important;color:#242923!important}
.koya-workspace header .logo br{display:none}
.koya-workspace header .brand{font-size:9px!important;letter-spacing:.08em!important}
.koya-workspace header .brand span{display:none!important}
.koya-workspace header .project-caption{margin-left:auto}
.koya-workspace main{height:auto!important}
.koya-design-switch{position:absolute;z-index:8;top:12px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(390px,calc(100% - 24px));gap:4px;padding:4px;border:1px solid #e1e3df;border-radius:14px;background:#f6f7f5f5;box-sizing:border-box}
.koya-design-switch button{min-width:0;min-height:44px;border:0;border-radius:10px;padding:7px 6px;background:transparent;color:#454b44;font:500 13px/1.2 -apple-system,BlinkMacSystemFont,Arial,sans-serif;cursor:pointer}
.koya-design-switch button[aria-pressed=true]{background:#242923;color:white}
.koya-design-switch button:disabled{opacity:.55;cursor:progress}
.koya-design-switch button:focus-visible{outline:2px solid #46603f;outline-offset:2px}
.design-status:not(.is-error){position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.design-status.is-error{position:absolute;z-index:9;top:68px;left:12px;right:12px;margin:0;padding:10px 12px;border:1px solid #d8b0a7;border-radius:10px;background:#fff7f4;color:#702f24;font:13px/1.4 system-ui}
.koya-workspace .has-design-switch .viewbuttons,.koya-workspace .has-design-switch .views{top:76px!important}
.koya-workspace .has-design-switch .viewer-ar-action{top:76px}
.mobile-stage-actions{display:contents}
.mobile-view-select,.step-short-label,.ar-short{display:none}
.koya-workspace .viewer-controls button{width:44px;height:44px}
.koya-workspace .koya-steps button{display:flex;align-items:center;gap:7px}
.koya-workspace aside .premium-history{margin:3px 0!important;min-height:0!important;height:34px}
.koya-workspace .premium-history button{min-width:44px;min-height:32px}
.koya-workspace .koya-steps{scroll-margin-top:0}
.koya-workspace input[type=range]{min-height:36px;cursor:pointer}
@media(max-width:899px){
 .koya-workspace header{flex-basis:44px!important;min-height:44px!important;height:44px!important;padding:6px 12px!important}
 .koya-workspace header .project-caption,.koya-workspace header .reference-link{display:none!important}
 .koya-workspace .stage{flex-basis:48%!important;height:48%!important}
 .koya-workspace .viewbuttons,.koya-workspace .views,.koya-workspace .viewer-controls,.koya-workspace .view-navigation{display:none!important}
 .koya-workspace .mobile-stage-actions{position:absolute;left:10px;right:10px;bottom:10px;z-index:8;display:flex;align-items:center;justify-content:flex-end;gap:6px;pointer-events:none}
 .koya-workspace .mobile-stage-actions>*{pointer-events:auto;box-sizing:border-box;min-height:44px!important;height:44px;position:static!important;border:1px solid #dce0d9;border-radius:12px!important;background:#fffffff2;box-shadow:0 2px 7px #00000006;color:#242923;font:500 14px -apple-system,BlinkMacSystemFont,Arial,sans-serif}
 .koya-workspace .mobile-view-select{display:block;max-width:150px;min-width:112px;margin-right:auto;padding:8px 30px 8px 12px}
 .koya-workspace .mobile-view-toggle{display:block!important;width:44px;padding:5px!important;font-size:25px;line-height:1}
 .koya-workspace .viewer-ar-action{width:44px;padding:5px}
 .koya-workspace .ar-short{display:inline}.koya-workspace .ar-long{display:none}
 .koya-workspace .koya-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;top:0!important;padding:4px!important;margin:0 -6px 4px!important;border-radius:12px!important;background:#f0f2ef!important}
 .koya-workspace .koya-steps button{display:flex!important;flex-direction:column;gap:3px!important;min-height:56px!important;padding:5px 1px!important;border-radius:9px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap}
 .koya-workspace .koya-steps button .step-number{width:19px;height:19px;font-size:11px;line-height:19px}
 .koya-workspace .step-label{display:none}.koya-workspace .step-short-label{display:inline}
 .koya-workspace aside{padding:6px 12px max(22px,env(safe-area-inset-bottom))!important}
 .koya-workspace aside .eyebrow{display:none!important}
 .koya-workspace aside h2{font-size:22px!important;margin:12px 0 8px!important}
 .koya-workspace aside .intro{font-size:13px!important;line-height:1.45!important;margin:0 0 12px!important}
 .koya-workspace .mobile-model-expanded .mobile-stage-actions{bottom:max(10px,env(safe-area-inset-bottom))}
 .koya-workspace.mobile-model-expanded .stage{flex-basis:100%!important;height:100%!important}
 .koya-workspace aside input:not([type=checkbox]):not([type=range]):not([type=color]),.koya-workspace aside select,.koya-workspace aside textarea{font-size:16px!important}
}
@media(max-width:899px) and (max-height:500px){.koya-workspace .stage{flex-basis:55%!important;height:100%!important}}
@media(prefers-reduced-motion:reduce){.koya-workspace *{scroll-behavior:auto!important}}

.koya-workspace header a.logo{display:flex;align-items:center;justify-content:center;width:54px;height:48px;flex:0 0 54px;padding:0;background:transparent;border:0}.koya-workspace header a.logo img{display:block;width:54px;height:54px;object-fit:contain}.koya-workspace header{min-height:52px;height:52px}
