/* Studio-specific proportions override the generic editorial page scale. */
html#atlas-site body.surface-studio-page #studio.atlas-simulator {
  box-sizing:border-box;width:100%;max-width:1440px;margin:0 auto!important;
  padding:24px clamp(16px,3vw,40px) 32px!important;
}
html#atlas-site body.surface-studio-page #studio .sim-heading {min-height:64px;padding:0 0 18px;gap:20px;}
html#atlas-site body.surface-studio-page #studio .sim-heading h1 {font-size:32px!important;line-height:1.2!important;}
html#atlas-site body.surface-studio-page #studio .sim-heading p {font-size:14px!important;line-height:1.5!important;}
html#atlas-site body.surface-studio-page #studio .sim-workspace {
  grid-template-columns:minmax(0,64fr) minmax(320px,36fr);
  height:clamp(640px,72svh,780px);min-height:0;max-height:none;
}
html#atlas-site body.surface-studio-page #studio .sim-viewer-bar {min-height:58px;padding:10px 16px;gap:10px;flex-shrink:0;}
html#atlas-site body.surface-studio-page #studio .sim-viewer-bar>div:first-child {display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
html#atlas-site body.surface-studio-page #studio #space-category {font-size:10px;line-height:1.3;letter-spacing:.06em;}
html#atlas-site body.surface-studio-page #studio .sim-viewer #viewer-title {font-size:20px!important;line-height:1.2!important;margin:0!important;}
html#atlas-site body.surface-studio-page #studio .studio-comparison {flex-shrink:0;}
html#atlas-site body.surface-studio-page #studio .studio-comparison button {min-height:34px;padding:6px 8px;font-size:12px;}
html#atlas-site body.surface-studio-page #studio .studio-image-wrap {min-height:0;flex:1;}
html#atlas-site body.surface-studio-page #studio #preview-canvas {object-fit:contain;}
html#atlas-site body.surface-studio-page #studio #view-label {display:none;}
html#atlas-site body.surface-studio-page #studio .sim-viewer-foot {padding:8px 16px;min-height:36px;flex-shrink:0;}
html#atlas-site body.surface-studio-page #studio .sim-viewer-foot p {margin:0!important;font-size:12px!important;line-height:1.5!important;}
html#atlas-site body.surface-studio-page #studio .sim-viewer.is-rendered #surface-description {display:none;}
html#atlas-site body.surface-studio-page #studio #preview-status {max-width:100%;text-align:left;}
html#atlas-site body.surface-studio-page #studio :is(.sim-space-controls,.sim-material-controls) {padding:14px 16px 12px;flex-shrink:0;}
html#atlas-site body.surface-studio-page #studio :is(.sim-step-title,#finish-title) {
  font-size:17px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:0!important;margin:0!important;
}
html#atlas-site body.surface-studio-page #studio .sim-step-title {margin-bottom:10px!important;}
html#atlas-site body.surface-studio-page #studio .sim-category-tabs {margin-bottom:8px;}
html#atlas-site body.surface-studio-page #studio .sim-category-tabs button {min-height:36px;}
html#atlas-site body.surface-studio-page #studio .sim-scene-navigation {display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:6px;margin-top:8px;}
html#atlas-site body.surface-studio-page #studio .sim-scenes {min-width:0;padding:2px 0 6px;scroll-snap-type:x proximity;scrollbar-color:#7F919E #EEF1F3;}
html#atlas-site body.surface-studio-page #studio .sim-scene-thumb {scroll-snap-align:start;}
html#atlas-site body.surface-studio-page #studio .sim-scene-thumb[aria-pressed=true] {border-color:#B5945B;}
html#atlas-site body.surface-studio-page #studio .sim-scene-arrow {width:30px;height:38px;padding:0;border:1px solid #CCD4D9;background:#fff;color:#0B1F36;font:24px/1 var(--sans);cursor:pointer;}
html#atlas-site body.surface-studio-page #studio .sim-scene-arrow:disabled {opacity:.3;cursor:default;}
html#atlas-site body.surface-studio-page #studio .sim-material-title {align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-bottom:10px;}
html#atlas-site body.surface-studio-page #studio #pattern-count {font-size:12px;white-space:normal;}
html#atlas-site body.surface-studio-page #studio .sim-filter-row {grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:8px;}
html#atlas-site body.surface-studio-page #studio .pattern-scroll {scrollbar-width:auto;scrollbar-color:#7F919E #EEF1F3;scrollbar-gutter:stable;padding:2px 12px 16px 16px;}
html#atlas-site body.surface-studio-page #studio .pattern-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;}
html#atlas-site body.surface-studio-page #studio .pattern-tile {display:grid;grid-template-rows:auto auto 1fr;align-content:start;}
html#atlas-site body.surface-studio-page #studio .pattern-tile strong {padding-top:6px;}
html#atlas-site body.surface-studio-page #studio .pattern-tile small {min-height:2.6em;}
html#atlas-site body.surface-studio-page #studio .sim-library-note {flex-shrink:0;padding:8px 16px;font-size:12px!important;line-height:1.5!important;}
html#atlas-site body.surface-studio-page #studio .sim-selection-bar {padding:16px 0;gap:16px;align-items:center;}
html#atlas-site body.surface-studio-page #studio #download-materials {background:transparent;color:#344454;border-color:transparent;text-decoration:underline;text-underline-offset:4px;}
html#atlas-site body.surface-studio-page #studio .sim-lookup {box-sizing:border-box;width:100%;margin:0;padding:14px 0;border-bottom:1px solid #D6DDE0;}
html#atlas-site body.surface-studio-page #studio .sim-lookup summary {padding:2px 0;font-size:14px;}
html#atlas-site body.surface-studio-page #studio .sim-caption {margin:14px 0 0;padding:0;font-size:12px!important;line-height:1.6!important;}
html#atlas-site.studio-embedded body.surface-studio-page #studio.atlas-simulator {padding:12px!important;max-width:none;}
@media(min-width:761px) and (max-width:1100px){
html#atlas-site body.surface-studio-page #studio .sim-workspace {grid-template-columns:minmax(0,60fr) minmax(300px,40fr);}
html#atlas-site body.surface-studio-page #studio .sim-viewer-bar>div:first-child {display:block;}
}
@media(max-width:760px){
html#atlas-site body.surface-studio-page #studio.atlas-simulator {padding:16px 12px 24px!important;}
html#atlas-site body.surface-studio-page #studio .sim-heading {min-height:48px;padding-bottom:12px;gap:8px;}
html#atlas-site body.surface-studio-page #studio .sim-heading h1 {font-size:26px!important;}
html#atlas-site body.surface-studio-page #studio .sim-workspace {height:auto;border:1px solid #D6DDE0;}
html#atlas-site body.surface-studio-page #studio .sim-workspace>.sim-space-controls {display:block;background:#fff;color:#0B1F36;}
html#atlas-site body.surface-studio-page #studio .sim-space-controls .sim-category-tabs {display:grid;}
html#atlas-site body.surface-studio-page #studio .sim-space-controls select {width:100%;min-height:42px;font-size:16px;background:#fff;color:#0B1F36;border:1px solid #BFCCD4;padding:8px;}
html#atlas-site body.surface-studio-page #studio .sim-scene-navigation {grid-template-columns:36px minmax(0,1fr) 36px;}
html#atlas-site body.surface-studio-page #studio .sim-scene-arrow {width:36px;height:44px;}
html#atlas-site body.surface-studio-page #studio .sim-viewer-bar {padding:10px 12px;flex-wrap:wrap;}
html#atlas-site body.surface-studio-page #studio .sim-viewer-bar>div:first-child {display:none;}
html#atlas-site body.surface-studio-page #studio .studio-image-wrap {flex:none;aspect-ratio:16/9;}
html#atlas-site body.surface-studio-page #studio .sim-panel {height:clamp(480px,70svh,640px);border-top:1px solid #D6DDE0;}
html#atlas-site body.surface-studio-page #studio .sim-selection-bar {padding:14px 0;}
html#atlas-site body.surface-studio-page #studio .studio-actions {gap:8px;}
html#atlas-site body.surface-studio-page #studio .reference-result {margin:14px 0;}
}
