/* A full-room canvas and a compact material rail, scoped to Atlas Studio. */
html#atlas-site .surface-studio-page{background:#f2f3f3;color:#0B1F36}
html#atlas-site .atlas-simulator{width:100%;max-width:1920px;margin:auto;padding:0 24px 16px}
html#atlas-site .sim-heading{display:flex;align-items:center;gap:24px;min-height:66px;padding:12px 0}
html#atlas-site .sim-heading h1{margin:0!important;font-size:24px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.04em!important;color:#0B1F36!important}
html#atlas-site .sim-heading h1 sup{font-size:11px;vertical-align:super;margin-left:3px}
html#atlas-site .sim-heading p{font-size:14px!important;color:#627078;margin:0}
html#atlas-site .sim-heading a{margin-left:auto;font-size:14px;text-decoration:underline;text-underline-offset:4px}
html#atlas-site .sim-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;height:calc(100svh - 220px);min-height:600px;max-height:980px;background:#151a1e;border:1px solid #cfd5d7}
html#atlas-site .sim-viewer{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#151a1e;color:#fff}
html#atlas-site .sim-viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 22px;min-height:80px}
html#atlas-site #space-category{font-size:12px;letter-spacing:.1em;color:#bdc7cd}
html#atlas-site .sim-viewer h2{font-size:22px!important;line-height:1.2!important;font-weight:500!important;margin:4px 0 0!important;color:#fff!important;letter-spacing:-.02em!important}
html#atlas-site .studio-comparison{display:flex;gap:2px;background:#2b3339;border:1px solid #475159;border-radius:4px;padding:3px}
html#atlas-site .studio-comparison button{min-height:34px;padding:7px 10px;font:500 13px/1.2 var(--body,'DM Sans',sans-serif);border:0;border-radius:2px;background:transparent;color:#dce3e7;cursor:pointer;white-space:nowrap}
html#atlas-site .studio-comparison button[aria-pressed=true]{background:#f5f6f6;color:#0B1F36}
html#atlas-site .studio-comparison button:disabled{opacity:.4;cursor:default}
html#atlas-site .studio-image-wrap{position:relative;aspect-ratio:auto;width:100%;margin:0;flex:1;min-height:0;background:#151a1e;overflow:hidden}
html#atlas-site #preview-canvas{display:block;width:100%;height:100%;object-fit:contain}
html#atlas-site #view-label{position:absolute;bottom:12px;left:16px;background:rgba(11,31,54,.82);color:#fff;border:1px solid #ffffff30;padding:7px 10px;font-size:12px;line-height:1.2;pointer-events:none;max-width:calc(100% - 32px)}
html#atlas-site .sim-loading{position:absolute;right:16px;top:16px;background:#0B1F36;color:white;padding:10px 14px;border-radius:3px;font-size:14px}
html#atlas-site .sim-loading[hidden]{display:none}
html#atlas-site .sim-viewer-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:auto;padding:12px 20px;min-height:48px;color:#c0c9ce}
html#atlas-site .sim-viewer-foot p{font-size:12px!important;line-height:1.4!important;margin:0}
html#atlas-site #preview-status{text-align:right;max-width:65%}
html#atlas-site .sim-panel{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff;border-left:1px solid #d4d9da}
html#atlas-site .sim-space-controls{padding:16px 16px 12px;border-bottom:1px solid #e0e5e7}
html#atlas-site .sim-category-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#e9eeef;padding:3px;border-radius:4px;margin-bottom:12px}
html#atlas-site .sim-category-tabs button{font:600 14px/1.2 var(--body,'DM Sans',sans-serif);min-height:40px;color:#50616b;border:0;background:transparent;border-radius:3px;cursor:pointer}
html#atlas-site .sim-category-tabs button[aria-pressed=true]{background:#0B1F36;color:white}
html#atlas-site .sim-panel select,html#atlas-site .sim-panel input{width:100%;min-width:0;border:1px solid #bfcacd;background:#fff;color:#0B1F36;padding:9px 10px;font-size:14px;line-height:1.2;min-height:40px;border-radius:3px}
html#atlas-site #scene-select{font-size:16px;font-weight:500}
html#atlas-site .sim-scenes{display:flex;gap:6px;overflow:auto;padding:10px 0 1px;scrollbar-width:thin}
html#atlas-site .sim-scene-thumb{flex:0 0 70px;padding:0;border:2px solid transparent;background:#eef1f2;border-radius:3px;cursor:pointer;overflow:hidden;position:relative}
html#atlas-site .sim-scene-thumb img{display:block;width:70px;aspect-ratio:16/9;object-fit:cover}
html#atlas-site .sim-scene-thumb[aria-pressed=true]{border-color:#aa844b}
html#atlas-site .sim-material-controls{padding:14px 16px 10px}
html#atlas-site .sim-material-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
html#atlas-site .sim-material-title h2{font-size:16px!important;line-height:1.3!important;font-weight:600!important;margin:0!important;letter-spacing:0!important}
html#atlas-site #pattern-count{font-size:12px;color:#667681;white-space:nowrap}
html#atlas-site .sim-filter-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:6px}
html#atlas-site .pattern-scroll{overflow:auto;min-height:0;flex:1;padding:2px 16px 14px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bac5ca transparent}
html#atlas-site .pattern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
html#atlas-site .pattern-tile{padding:0;min-width:0;background:#fff;border:0;border-radius:2px;color:#0B1F36;cursor:pointer;text-align:left;position:relative}
html#atlas-site .pattern-tile img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border:2px solid transparent;transition:border-color .15s}
html#atlas-site .pattern-tile:hover img{border-color:#aebcc3}
html#atlas-site .pattern-tile.selected img{border-color:#0B1F36}
html#atlas-site .pattern-tile.selected::after{content:'✓';position:absolute;top:6px;right:6px;background:#0B1F36;color:#fff;border-radius:50%;font-size:12px;display:grid;place-items:center;width:20px;height:20px}
html#atlas-site .pattern-tile strong{display:block;font-size:14px;font-weight:600;line-height:1.4;padding:4px 2px 0}
html#atlas-site .pattern-tile small{display:block;color:#637783;font-size:12px;line-height:1.3;padding:1px 2px 3px}
html#atlas-site .pattern-tile:disabled{cursor:wait}
html#atlas-site .pattern-empty{grid-column:1/-1;font-size:14px;color:#536975;padding:20px 0}
html#atlas-site .sim-library-note{margin:0;border-top:1px solid #e0e5e7;padding:10px 16px;font-size:12px!important;color:#687980;line-height:1.5!important}
html#atlas-site .sim-selection-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-bottom:1px solid #d6dde0}
html#atlas-site .studio-selection-detail{display:flex;align-items:center;gap:12px;min-width:0}
html#atlas-site #selected-swatch{width:50px;height:50px;object-fit:cover;border:1px solid #c1cccf}
html#atlas-site .studio-selection-detail>div{display:flex;flex-direction:column;gap:2px}
html#atlas-site #selection-label{font-size:10px;letter-spacing:.08em;color:#61727c}
html#atlas-site #selected-code{font-size:17px;color:#0B1F36}
html#atlas-site #selected-collection{font-size:12px;color:#596e79}
html#atlas-site .studio-actions{display:flex;gap:8px;flex-wrap:wrap}
html#atlas-site .studio-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;background:#0B1F36;border:1px solid #0B1F36;border-radius:3px;color:#fff;font:500 14px/1.3 var(--body,'DM Sans',sans-serif);cursor:pointer;text-decoration:none}
html#atlas-site .studio-button-outline{background:transparent;color:#0B1F36;border-color:#acbcc5}
html#atlas-site .studio-button:disabled{opacity:.45;cursor:default}
html#atlas-site [hidden]{display:none!important}
html#atlas-site .sim-caption{font-size:12px!important;line-height:1.6!important;color:#6c7b83;margin:12px 0 0}
html#atlas-site .sim-lookup{margin:4px 24px 28px;border-bottom:1px solid #d2dadd;padding:0 0 16px}
html#atlas-site .sim-lookup summary{font-size:14px;cursor:pointer;color:#0B1F36}
html#atlas-site #reference-form{max-width:540px;margin-top:16px;font-size:14px}
html#atlas-site #reference-form>div{display:flex;gap:8px;margin-top:6px}
html#atlas-site #reference-input{min-width:0;flex:1;padding:10px;border:1px solid #acbcc5;border-radius:3px;font-size:16px}
html#atlas-site .reference-result{margin:16px 0;padding:18px;border:1px solid #b5c4ca;background:white}
html#atlas-site .reference-result>span{font-size:12px;letter-spacing:.08em;display:block}
html#atlas-site #reference-code{display:block;font-size:23px;margin:6px 0}
html#atlas-site .reference-result p{font-size:14px!important;line-height:1.5!important}
html#atlas-site .studio-code-actions{display:flex;gap:8px;flex-wrap:wrap}
html#atlas-site .studio-code-email-form{display:grid;gap:12px;max-width:560px;margin-top:20px}
html#atlas-site .studio-code-email-form input{padding:12px;font-size:16px;border:1px solid #acbcc5;border-radius:3px}
html#atlas-site .studio-surface-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:0 20px 12px;font-size:13px}
html#atlas-site .studio-surface-controls label{display:grid;gap:4px;flex:1}
html#atlas-site .studio-surface-controls select{background:#0B1F36;border:1px solid #52636d;color:#fff;padding:8px;min-height:40px;font-size:14px;border-radius:3px;width:100%}
html#atlas-site .studio-surface-controls .studio-button{color:#e6edef;border-color:#586b76;font-size:13px}
html#atlas-site .studio-surface-hint{padding:0 20px;margin:0 0 10px;font-size:12px!important;color:#b8c6cd}
html#atlas-site .sim-viewer.is-rendered .studio-surface-controls label,html#atlas-site .sim-viewer.is-rendered .studio-surface-hint,html#atlas-site .sim-viewer.is-rendered .studio-surface-controls button:first-of-type{display:none}
html#atlas-site .sim-viewer.is-rendered .studio-surface-controls{position:absolute;z-index:2;right:338px;bottom:64px;padding:0}
html#atlas-site .sim-workspace{position:relative}
html#atlas-site .studio-surface-outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
html#atlas-site .studio-surface-outline polygon{fill:#c9a56818;stroke:#f2cc82;stroke-width:2}
html#atlas-site .studio-compare-slider{padding:10px 20px;display:flex;align-items:center;gap:12px;color:#c9d5dc;font-size:12px}
html#atlas-site .studio-compare-slider input{flex:1;min-width:0;accent-color:#c8a169}
html#atlas-site .studio-compare-divider{position:absolute;top:0;bottom:0;width:2px;background:white;pointer-events:none}
html#atlas-site .studio-enlarged{width:min(96vw,1600px);max-width:none;padding:16px;background:#0B1F36;border:1px solid #667a86;color:white}
html#atlas-site .studio-enlarged::backdrop{background:#000c}
html#atlas-site .studio-enlarged canvas{display:block;width:100%;max-height:82vh;object-fit:contain;margin-top:12px}
html#atlas-site .surface-studio-page .floating-contact{display:none}
html#atlas-site .atlas-simulator button:focus-visible,html#atlas-site .atlas-simulator select:focus-visible,html#atlas-site .atlas-simulator input:focus-visible{outline:3px solid #bc914f;outline-offset:3px}
html#atlas-site .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}
@media(min-width:1500px){html#atlas-site .sim-workspace{grid-template-columns:minmax(0,1fr) 360px}html#atlas-site .sim-viewer.is-rendered .studio-surface-controls{right:378px}}
@media(max-width:1000px){html#atlas-site .atlas-simulator{padding:0 12px 16px}html#atlas-site .sim-workspace{grid-template-columns:minmax(0,1fr) 280px}html#atlas-site .sim-viewer-bar{padding:14px}html#atlas-site .studio-comparison button{font-size:12px;padding:6px}html#atlas-site .sim-viewer.is-rendered .studio-surface-controls{right:294px}html#atlas-site .sim-heading{gap:14px}html#atlas-site .sim-lookup{margin-inline:12px}}
@media(max-width:760px){
html#atlas-site .atlas-simulator{padding:0 0 12px}
html#atlas-site .sim-heading{padding:10px 14px;min-height:52px;gap:8px}
html#atlas-site .sim-heading h1{font-size:21px!important}
html#atlas-site .sim-heading p{display:none}
html#atlas-site .sim-heading a{font-size:13px}
html#atlas-site .sim-workspace{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none;border-inline:0}
html#atlas-site .sim-viewer{position:relative;flex:none}
html#atlas-site .sim-viewer-bar{padding:10px 14px;min-height:58px}
html#atlas-site .sim-viewer h2{font-size:18px!important;margin-top:2px!important}
html#atlas-site #space-category{font-size:10px}
html#atlas-site .studio-image-wrap{margin:0;flex:none;aspect-ratio:16/9}
html#atlas-site .sim-viewer-foot{padding:6px 14px;min-height:30px}
html#atlas-site .sim-viewer-foot p{font-size:11px!important}
html#atlas-site #surface-description{display:none}
html#atlas-site #preview-status{max-width:none;text-align:left}
html#atlas-site .sim-panel{height:470px;border:0}
html#atlas-site .sim-space-controls{padding:10px 14px 8px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
html#atlas-site .sim-category-tabs{margin:0;gap:0;padding:2px}
html#atlas-site .sim-category-tabs button{font-size:12px;padding:4px;min-height:38px}
html#atlas-site #scene-select{font-size:14px}
html#atlas-site .sim-scenes{grid-column:1/-1;padding:0;gap:6px}
html#atlas-site .sim-scene-thumb{flex-basis:64px}
html#atlas-site .sim-scene-thumb img{width:64px}
html#atlas-site .sim-material-controls{padding:10px 14px 8px}
html#atlas-site .sim-material-title{margin-bottom:7px}
html#atlas-site .sim-material-title h2{font-size:14px!important}
html#atlas-site .pattern-scroll{padding:0 14px 12px}
html#atlas-site .pattern-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}
html#atlas-site .pattern-tile small{font-size:11px}
html#atlas-site .sim-library-note{padding:6px 14px;font-size:11px!important}
html#atlas-site .sim-selection-bar{padding:12px 14px;align-items:start;flex-wrap:wrap;gap:12px}
html#atlas-site .studio-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
html#atlas-site .studio-actions button{font-size:13px;padding:9px}
html#atlas-site #download-materials{grid-column:1/-1;background:transparent;border:0;min-height:30px;padding:3px}
html#atlas-site .sim-caption{padding:0 14px}
html#atlas-site .reference-result{margin:14px}
html#atlas-site .sim-viewer.is-rendered .studio-surface-controls{right:12px;bottom:42px}
html#atlas-site .studio-surface-controls{padding:0 14px 8px;gap:6px}
html#atlas-site .studio-surface-controls label{min-width:100%;font-size:12px}
html#atlas-site .studio-surface-controls .studio-button{min-height:32px;padding:5px 8px;font-size:12px;background:#192f3cd9}
html#atlas-site .studio-surface-hint{padding:0 14px;font-size:11px!important}
html#atlas-site .studio-compare-slider{padding:8px 14px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){html#atlas-site .atlas-simulator *{transition:none!important;scroll-behavior:auto!important}}

/* Keep image tiles square and the enlarged-view action clear of comparison. */
html#atlas-site .pattern-tile img{height:auto!important;aspect-ratio:1}
html#atlas-site .sim-scene-thumb img{height:auto!important;aspect-ratio:16/9}
html#atlas-site .sim-viewer-bar>div:first-child{margin-right:auto}
html#atlas-site .sim-viewer-bar>.studio-button{min-height:38px;background:transparent;border-color:#586b76;color:#e6edef;font-size:13px;padding:7px 10px}
html#atlas-site .sim-viewer.is-rendered .studio-surface-controls{display:none}
@media(max-width:760px){html#atlas-site .sim-viewer-bar{gap:6px}html#atlas-site .sim-viewer-bar>.studio-button{font-size:12px;padding:6px;min-height:34px}}
html#atlas-site #preview-status{background:transparent!important;color:inherit!important}
