
.masthead,footer,.config-tabs,.explorer>.section-caption:first-child{display:none!important}
.workspace{height:100dvh;min-height:0}.explorer{padding-top:22px}.config-description{font-size:13px}.explorer h2{font-size:17px}.view-badge span{font-size:10px}
body.compact .explorer,body.compact .stage-top,body.compact .stage-bottom,body.compact .orbit-hint{display:none!important}
body.compact .workspace{display:block;height:100dvh}body.compact .stage{width:100%;height:100%;min-height:0}body.compact #viewport{inset:0!important}
@media(max-width:720px){.workspace{height:auto}.stage{height:62dvh;min-height:380px}.explorer{padding:20px}.stage-actions{flex-direction:row}.view-badge{display:none}.stage-actions{margin-left:auto}body.compact .workspace{height:100dvh}}
body[data-configuration="4"]{--config-accent:#218f9b;--config-pale:#e7f4f5}body[data-configuration="5"]{--config-accent:#ad7751;--config-pale:#faf0e8}
@media(max-width:900px){
 .workspace{display:flex;flex-direction:column-reverse;height:auto;min-height:0}.stage{height:64dvh;min-height:320px;flex:none}.explorer{border:0;padding:18px;overflow:visible}.preview-card{display:none}.config-description{margin-bottom:0}.area-heading{margin:20px 0 10px}.area-views{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stage-top{top:12px;left:12px;right:12px}.view-badge{display:none}.stage-actions{margin-left:auto;flex-direction:row;gap:6px}.stage-actions button{min-height:44px;font-size:13px;padding:10px}.stage-bottom{bottom:35px;left:12px;right:12px;gap:6px}.display-mode button,.plain-button{min-height:44px;font-size:12px;padding:9px}.orbit-hint{bottom:5px;font-size:11px}
 .settings-panel,.arrange-panel{position:fixed;top:auto;bottom:max(10px,env(safe-area-inset-bottom));left:10px;right:10px;width:auto;max-width:480px;margin-left:auto;max-height:min(55dvh,calc(100dvh - 74px));padding:14px;z-index:12;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding:12px}
 .panel-heading{position:sticky;top:-14px;background:#fff;z-index:2;padding:8px 0;margin-bottom:8px}.panel-heading button{min-width:44px;min-height:44px}.settings-panel button,.settings-panel select,.downloads summary,.downloads a{min-height:44px}.settings-panel input:not([type=checkbox]):not([type=range]),.settings-panel select{font-size:16px!important;min-height:44px}.switch-row{min-height:48px}.downloads a{display:flex;align-items:center}
 .stage:has(.arrange-panel:not([hidden])) #viewport{right:0}#view-status{display:none}.editor-history{flex-wrap:wrap}.editor-history button{min-width:65px}
}
@media(max-height:500px) and (max-width:1000px) and (orientation:landscape){.workspace{display:flex;flex-direction:column-reverse;height:auto}.stage{height:100dvh;min-height:270px;flex:none}.explorer{overflow:visible}.stage-top{top:8px}.settings-panel,.arrange-panel{position:fixed;top:62px;bottom:10px;left:auto;right:10px;width:min(340px,47vw);max-height:calc(100dvh - 72px)}.stage:has(.arrange-panel:not([hidden])) #viewport{right:0}}

.carpet-picker{margin:18px 0 22px}.carpet-picker h3{font-size:13px;margin:0 0 9px;color:#174c65}.carpet-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.carpet-options button{position:relative;min-width:0;min-height:82px;text-align:left;border:2px solid #dbe5e9;background:white;color:#153f53;border-radius:8px;padding:5px;cursor:pointer}.carpet-options img{display:block;width:100%;height:42px;object-fit:cover;border-radius:4px}.carpet-options strong{display:block;font-size:12px;margin:7px 2px 3px}.carpet-options button[aria-pressed=true]{border-color:#648c28;background:#f3f8e9}.carpet-check{position:absolute;right:8px;top:8px;border-radius:50%;width:19px;height:19px;background:#4b7219;color:white;display:none;text-align:center;line-height:19px}.carpet-options button[aria-pressed=true] .carpet-check{display:block}.carpet-options button:focus-visible{outline:3px solid #0873a5;outline-offset:3px}.carpet-options button:disabled{opacity:.55;cursor:wait}.carpet-status,.download-note{font-size:11px;line-height:1.5;color:#536a76;margin:8px 0 0}.carpet-mobile{display:none}body.compact .carpet-picker{display:none!important}
@media(max-width:900px){.explorer>.carpet-picker{display:none}.carpet-mobile{display:block;position:absolute;top:66px;left:12px;right:12px;z-index:3;margin:0;max-width:350px}.carpet-mobile h3,.carpet-mobile .carpet-status{display:none}.carpet-mobile .carpet-options{gap:6px}.carpet-mobile .carpet-options button{display:flex;align-items:center;gap:7px;min-height:44px;background:#fffffff2;padding:5px}.carpet-mobile .carpet-options img{width:30px;height:30px;flex:none}.carpet-mobile .carpet-options strong{font-size:11px;margin:0}.carpet-mobile .carpet-check{position:static;flex:none;width:16px;height:16px;line-height:16px;font-size:10px;margin-left:auto}.carpet-mobile .carpet-options button[aria-pressed=true]{background:#f3f8e9}}
