/* The shop is a page surface inside Atlas, not a dialog or floating overlay. */
body[data-surface="shop"]{overflow:hidden}
body[data-surface="shop"] #chapter-content{touch-action:auto}
body[data-surface="shop"]:not([data-journey="traveling"]) .chapter-nav,body[data-surface="shop"]:not([data-journey="traveling"]) .journey-hud,body[data-surface="shop"]:not([data-journey="traveling"]) .scroll-hint{visibility:hidden!important;pointer-events:none!important}
body[data-surface="shop"] .site-header{border-bottom-color:#82d9ff30}
body[data-surface="shop"] .main-nav [data-shop][aria-current="page"]{color:var(--blue)}
body[data-surface="shop"] .main-nav [data-shop][aria-current="page"]:after{transform:scaleX(1)}
.shop-workspace{--shop-line:#82d9ff26;--shop-muted:#91adbf;--shop-ease:cubic-bezier(.22,1,.36,1);position:absolute;inset:54px 0 0;z-index:auto;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;min-width:0;isolation:isolate;color:var(--ink);padding:0 24px;background:transparent}
.shop-workspace[hidden],.shop-workspace [hidden]{display:none!important}
.shop-workspace button,.shop-workspace input,.shop-workspace select,.shop-workspace textarea{font-family:Manrope,Arial,sans-serif}
.shop-workspace button{touch-action:manipulation}
.shop-workspace button:disabled{opacity:.32;cursor:default}
.shop-workspace :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.shop-workspace :is(input,select,textarea){min-width:0;border:1px solid var(--shop-line);color:#d7e6ee;background:#06131c;border-radius:0;font-size:12px;padding:10px;max-width:100%;color-scheme:dark}
.shop-workspace textarea{resize:vertical;line-height:1.65}
.shop-workspace :is(input,textarea)::placeholder{color:#718da0}
.shop-workspace input[type="number"]{appearance:textfield;-moz-appearance:textfield}
.shop-workspace input[type="number"]::-webkit-inner-spin-button,.shop-workspace input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.shop-workspace .eyebrow{font:9px/1.5 monospace;letter-spacing:.14em;margin:0;color:#83bdd7}
.shop-workspace .text-button{min-height:38px;padding:8px 0;font-size:11px;line-height:1.5;color:#a8c0ce;white-space:nowrap}
.shop-workspace .text-button:hover{color:var(--blue)}
.shop-workspace .tool-button{min-height:36px;padding:8px 10px;font-size:11px;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:1px solid transparent;transition:color .18s var(--shop-ease),background .18s var(--shop-ease),border-color .18s var(--shop-ease)}
.shop-workspace .tool-button:hover{background:#82d9ff0c;color:var(--blue)}
.shop-workspace .tool-button[aria-pressed="true"],.shop-workspace .tool-button[aria-expanded="true"]{color:var(--blue);border-color:var(--shop-line);background:#82d9ff09}
.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}
.shop-masthead{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:96px;padding:18px 0 16px}
#shop-title{font-size:clamp(26px,2.4vw,40px);line-height:1.18;font-weight:500;letter-spacing:-.04em;margin-top:4px}
#shop-title em{font-style:normal;color:var(--blue);font-weight:750}
.shop-intro{font-size:12px;color:var(--shop-muted);margin-left:auto;max-width:260px;line-height:1.6}
.shop-exit{border-left:1px solid var(--shop-line);padding-left:24px!important}
.shop-tools{display:flex;align-items:center;gap:18px;min-width:0;padding:12px 0;border-block:1px solid var(--shop-line)}
.shop-search{display:flex;align-items:center;gap:10px;border-bottom:1px solid #82d9ff45;width:clamp(200px,21vw,320px);min-width:150px;position:relative}
.shop-search>span[aria-hidden]{font-size:25px;line-height:1;color:#80c6e6}
.shop-workspace .shop-search input{background:none;border:0;padding:10px 25px 10px 0;width:100%;outline-offset:1px}
.shop-search input::-webkit-search-cancel-button{-webkit-appearance:none}
#clear-search{position:absolute;right:0;top:0;min-height:38px;width:28px;color:var(--shop-muted);font-size:20px}
.collection-tabs{display:flex;align-items:center;gap:6px;margin-right:auto}
.collection-tabs button{padding:10px 14px;font-size:11px;min-height:40px;border:1px solid transparent;color:#95b0c3;transition:background .2s var(--shop-ease),color .2s var(--shop-ease),border-color .2s var(--shop-ease)}
.collection-tabs button.active{background:#82d9ff10;border-color:#82d9ff48;color:var(--blue)}
.collection-tabs button:hover{color:#e2f5ff}
#saved-count,#filter-count{font:10px monospace;color:#86a6bb}
.shop-refinements{display:flex;align-items:end;gap:22px;padding:14px 0;border-bottom:1px solid var(--shop-line)}
.shop-refinements label{display:grid;gap:6px;font-size:10px;color:var(--shop-muted);min-width:150px;max-width:280px;flex:1}
.shop-refinements select{width:100%;height:38px}
.shop-refinements .text-button{margin-left:auto}
.shop-shell{display:grid;grid-template-columns:clamp(220px,19vw,330px) minmax(0,1fr) clamp(256px,21vw,330px);gap:20px;min-height:0;min-width:0;padding-top:18px;overflow:hidden}
.collection-panel{min-height:0;min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-right:1px solid var(--shop-line);padding-right:18px}
.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;min-height:24px}
.collection-heading h2{font-size:12px;font-weight:600}
#shop-count{font:10px/1.4 monospace;color:#789cb2;white-space:nowrap}
.shop-workspace .shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px 8px;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:2px 6px 18px 2px;outline-offset:-2px}
.shop-workspace .product-card{min-width:0;position:relative;border:1px solid transparent;background:none;padding:0;text-align:left;transition:border-color .25s var(--shop-ease),background .25s var(--shop-ease)}
.shop-workspace .product-card.is-selected{border-color:#82d9ff8c;background:#82d9ff09}
.shop-workspace .product-card:hover{background:#82d9ff08}
.shop-workspace .product-select{display:block;width:100%;text-align:left;padding:0 8px 10px;min-width:0}
.shop-workspace .product-art{position:relative;display:block;height:auto;aspect-ratio:1.63;margin:0 -8px 8px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse,#13344988,transparent 80%)}
.shop-workspace .product-art img{position:absolute;left:5%;top:20%;width:90%;height:65%;max-width:none;margin:0;object-fit:contain;transform:perspective(500px) rotateY(-8deg) rotateX(8deg) rotateZ(-6deg);filter:none;transition:transform .5s var(--shop-ease)}
.shop-workspace .product-select:hover img,.shop-workspace .is-selected .product-art img{transform:perspective(500px) rotateY(-5deg) rotateX(6deg) rotateZ(-4deg) translateY(-3px)}
.product-select strong{display:block;font-size:11px;font-weight:550;line-height:1.35;letter-spacing:-.01em;overflow-wrap:anywhere}
.product-select small{display:block;margin-top:5px;color:#7f9db0;font:8px/1.5 monospace;text-transform:uppercase;letter-spacing:.03em}
.is-selected .product-select strong{color:var(--blue)}
.product-save{position:absolute;right:3px;top:1px;width:30px;min-height:30px;font:19px/1 monospace!important;color:#a3c7da;z-index:1;background:#04101a99;transition:color .2s var(--shop-ease)}
.product-save[aria-pressed="true"]{color:var(--blue)}
.product-save:hover{color:#fff}
.shop-empty{grid-column:1/-1;align-self:center;padding:25px 10px;text-align:center}
.shop-empty h3{font-size:17px;font-weight:550}.shop-empty p{font-size:11px;margin-top:10px;color:var(--shop-muted)}
.shop-empty button{color:var(--blue);margin-top:18px;border-bottom:1px solid var(--shop-line)}
.custom-mat{display:flex;gap:10px;text-align:left;align-items:center;padding:16px 0;border-top:1px solid var(--shop-line);color:#98b7c8}
.custom-mat>span:first-child{font-size:22px;color:var(--blue)}
.custom-mat>span:last-child{margin-left:auto;color:var(--blue)}
.custom-mat strong{display:block;font-size:11px;font-weight:600}.custom-mat small{display:block;font-size:9px;color:#6f92a8;margin-top:3px}
.preview-panel{position:relative;display:grid;grid-template-rows:auto auto minmax(180px,1fr) auto auto auto;min-width:0;min-height:0;isolation:isolate;overflow:hidden;--mat-plane:perspective(1300px) rotateY(-10deg) rotateX(8deg) rotateZ(-5deg);--split:50%;--tilt-x:0deg;--tilt-y:0deg}
.preview-panel:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 48% 48%,#123c5380,transparent 66%)}
.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px}
#inspect-art-label{font:9px/1.5 monospace;letter-spacing:.1em;color:#88abc1}
.preview-shortcuts{display:flex;gap:3px;flex-shrink:0}
.preview-shortcuts .tool-button{font-size:10px;padding-inline:8px}
.preview-modes{display:flex;justify-content:center;align-items:center;gap:20px;min-height:47px;margin-top:5px}
.preview-modes button{position:relative;font-size:11px;padding:10px 0;min-height:40px;color:#799bae;transition:color .25s var(--shop-ease)}
.preview-modes button:after{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background:#82d9ff;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--shop-ease)}
.preview-modes button.active{color:#bdeaff}.preview-modes button.active:after{transform:scaleX(1)}
.mat-viewport{position:relative;min-height:180px;min-width:0;overflow:hidden;outline-offset:-3px;touch-action:pan-y;cursor:zoom-in;background:transparent;transition:background-color .3s var(--shop-ease)}
.mat-art-plane{position:absolute;inset:0;transform:var(--mat-plane) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transition:transform .65s var(--shop-ease);pointer-events:none}
.art-buffer{position:absolute;inset:0;pointer-events:none}
.art-buffer img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;width:0;height:0;object-fit:contain;transform-origin:center;pointer-events:none;user-select:none;filter:none}
#art-previous{opacity:0}#art-comparison{visibility:hidden;clip-path:inset(0 0 0 var(--split))}
.preview-corner{position:absolute;pointer-events:none;width:14px;height:14px;border:1px solid #82d9ff50}
.corner-a{left:8px;top:20px;border-right:0;border-bottom:0}.corner-b{right:8px;bottom:20px;border-left:0;border-top:0}
#image-status{position:absolute;left:50%;bottom:15px;transform:translateX(-50%);font-size:10px;color:#bedbeb;padding:7px 10px;background:#04101ce6;max-width:90%;text-align:center;pointer-events:none}
#image-status:empty{display:none}
#preview-quality{position:absolute;left:12px;bottom:3px;pointer-events:none;color:#7293a8;font:8px/1.5 monospace;letter-spacing:.1em}
.preview-panel[data-view="detail"],.preview-panel[data-view="compare"]{--mat-plane:perspective(1300px) rotateY(0deg) rotateX(0deg) rotateZ(0deg)}
.preview-panel[data-view="detail"] .mat-viewport,.preview-panel[data-view="compare"] .mat-viewport{cursor:grab;touch-action:none}
.preview-panel .mat-viewport.is-dragging{cursor:grabbing}
.preview-panel[data-backdrop="slate"] .mat-viewport{background:#263c48}
.preview-panel[data-backdrop="light"] .mat-viewport{background:#b6c8ce}
.preview-panel[data-backdrop="light"] #preview-quality{color:#263c48}
.preview-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px;flex-wrap:wrap;min-height:68px;border-bottom:1px solid var(--shop-line)}
.zoom-controls{display:flex;gap:3px;align-items:center}
.zoom-controls button{min-width:34px;min-height:36px;padding:5px;font-size:16px;border:1px solid var(--shop-line);transition:background .2s var(--shop-ease)}
.zoom-controls button:hover{background:#82d9ff13}
.zoom-controls output{min-width:42px;text-align:center;color:#b8d0de;font:10px monospace}
.zoom-controls #zoom-fit{font-size:10px;min-width:42px;margin-left:3px}
#inspect-help{font-size:9px;line-height:1.5;color:#779cb1;flex:1;text-align:right;max-width:210px}
.backdrop-choices{display:flex;align-items:center;gap:7px}
.backdrop-choices button{width:20px;height:20px;min-height:20px;border:3px solid #06141c;outline:1px solid #82d9ff28;padding:0;transform:rotate(-12deg)}
.backdrop-choices button[data-backdrop="ink"]{background:#0a1b27}.backdrop-choices button[data-backdrop="slate"]{background:#365263}.backdrop-choices button[data-backdrop="light"]{background:#b6c8ce}
.backdrop-choices button.active{outline-color:var(--blue)}
.compare-divider{display:none;position:absolute;top:8%;bottom:8%;left:var(--split);width:1px;background:#b4eaff;pointer-events:none}
.compare-divider span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:32px;height:32px;background:#0a2030;border:1px solid #a1def8;color:#a1def8;font:18px/1 monospace}
.preview-panel[data-view="compare"].comparison-ready #art-comparison{visibility:visible}.preview-panel[data-view="compare"].comparison-ready .compare-divider{display:block}
.compare-control{padding:8px 6px 0}.compare-control>div{display:flex;justify-content:space-between;gap:10px;color:#90b4c8;font-size:9px}.compare-control label{color:var(--blue)}
.shop-workspace .compare-control input{width:100%;padding:0;height:24px;background:none;border:0;accent-color:var(--blue);cursor:ew-resize}
.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px}
#inspect-position{color:#668ba1;font:10px/1.5 monospace;letter-spacing:.08em}
.configure-panel{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;border-left:1px solid var(--shop-line);padding:8px 5px 20px 22px;display:flex;flex-direction:column;gap:22px}
.design-info .eyebrow{font-size:8px;margin-bottom:12px}
#inspect-title{font-size:clamp(25px,2.1vw,37px);font-weight:550;letter-spacing:-.035em;line-height:1.1;overflow-wrap:anywhere}
#inspect-description{font-size:11px;line-height:1.65;color:#95b1c3;margin-top:12px}
#sales-count{font:10px/1.5 monospace;color:var(--blue);margin-top:12px}
#eye-field{margin:0;padding:0;border:0;min-width:0}#eye-field legend{padding:0;margin-bottom:10px;font-size:11px;color:#b3cbd9}
.shop-workspace .eye-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.shop-workspace .eye-choices button{padding:8px 6px;border:1px solid var(--shop-line);min-width:0;min-height:70px;background:#06131a77;transition:border-color .2s var(--shop-ease),background .2s var(--shop-ease)}
.shop-workspace .eye-choices button.active{border-color:#82d9ff9c;background:#82d9ff0d;color:var(--blue)}
.shop-workspace .eye-choices button:hover{border-color:#82d9ff}
.eye-choices img{width:100%;height:42px;object-fit:contain;margin:0 0 6px;filter:none}
.eye-choices span{font-size:9px;line-height:1.4;display:block}
.mat-brief{display:grid;gap:18px;min-width:0;margin:0}
.quantity-row{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#a7c1d2}
.quantity-control{display:flex;border:1px solid var(--shop-line)}
.quantity-control button{width:30px;min-height:34px;font-size:16px;color:#9cdcf7}
.shop-workspace .quantity-control input{border:0;background:transparent;width:40px;text-align:center;padding:7px 0;font-size:12px}
#custom-options{border-block:1px solid var(--shop-line)}
#custom-options summary{display:flex;justify-content:space-between;gap:10px;align-items:center;cursor:pointer;list-style:none;padding:16px 0;font-size:11px;color:#bfd7e6;min-height:48px}
#custom-options summary::-webkit-details-marker{display:none}
#custom-options summary>span:last-child{color:var(--blue);font-size:16px;transition:transform .25s var(--shop-ease)}
#custom-options[open] summary>span:last-child{transform:rotate(45deg)}
.custom-fields{display:grid;gap:12px;padding:0 0 16px}
.custom-fields label{display:grid;gap:7px;font-size:10px;color:#92b1c5}
.custom-fields input,.custom-fields select,.custom-fields textarea{width:100%}
.custom-fields .units-field{display:flex;align-items:center;justify-content:space-between;gap:8px}.units-field select{width:78px;padding:6px;font-size:11px}
.size-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:end}.size-fields>span{padding-bottom:10px;font-size:12px;color:#82a8be}
.field-note{font-size:9px;line-height:1.6;color:#718fa2}
.order-status{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;line-height:1.5;flex-wrap:wrap}.order-status>span{color:var(--blue)}.order-status strong{font-weight:500;color:#9db9cb}
.request-button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;padding:13px 16px;background:#82d9ff;color:#04111b;font-size:11px;font-weight:750;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,0 100%);transition:background .25s var(--shop-ease),transform .3s var(--shop-ease)}
.request-button:hover{background:#bcecff}.request-button>span:last-child{font-size:17px;transition:transform .3s var(--shop-ease)}.request-button:hover>span:last-child{transform:translate(2px,-2px)}
.request-summary{display:grid;gap:10px;border-top:1px solid var(--shop-line);padding-top:18px}
.request-summary h3{font-size:15px;font-weight:550;color:#bdeaff}.request-summary p{font-size:10px;color:#8faebf;line-height:1.6}.request-summary textarea{width:100%;font-size:10px;min-height:150px}
.request-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.request-email{color:var(--blue);font-size:11px;padding:8px 0}
.shop-discord{font-size:10px;line-height:1.6;text-align:center;color:#8fb1c6;padding:6px 0;margin-top:auto}.shop-discord:hover{color:var(--blue)}
.shop-footnote{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--shop-line);font:8px/1.5 monospace;letter-spacing:.09em;color:#688a9e;padding:8px 0}
#shop-notice{color:#a1d5ed;letter-spacing:0;font-family:Manrope,Arial,sans-serif}
.shop-workspace.is-expanded .shop-shell{grid-template-columns:minmax(0,1fr) clamp(256px,21vw,330px)}
.shop-workspace.is-expanded .collection-panel{display:none}
.shop-workspace.is-expanded .preview-panel{grid-column:1}
.shop-workspace.is-expanded .configure-panel{grid-column:2}
/* Only compositor-friendly image transforms and fades run during selection. */
.shop-workspace.motion-off *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
body.motion-paused .shop-workspace *{animation:none!important;transition:none!important}
@media(min-width:1800px){.shop-workspace{padding-inline:32px}.shop-shell{gap:26px}.collection-panel{padding-right:24px}.configure-panel{padding-left:28px;gap:28px}.shop-masthead{min-height:110px}.product-select strong{font-size:12px}.eye-choices img{height:54px}.preview-modes{margin-top:12px}.preview-tools{padding-block:20px}}
@media(max-width:1180px) and (min-width:761px){
 .shop-workspace{padding-inline:18px}.shop-shell{grid-template-columns:210px minmax(0,1fr);grid-template-rows:auto auto;gap:20px;overflow:auto;overscroll-behavior:contain;}
 .collection-panel{position:sticky;top:0;grid-column:1;grid-row:1/3;height:calc(100dvh - 255px);min-height:300px;padding-right:14px}
 .preview-panel{grid-column:2;grid-row:1;height:clamp(390px,calc(100dvh - 245px),700px)}
 .configure-panel{grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:20px;overflow:visible;border-left:0;border-top:1px solid var(--shop-line);padding:22px 4px 30px}
 .configure-panel .design-info{grid-column:1}.configure-panel #eye-field{grid-column:1}.configure-panel .mat-brief{grid-column:2;grid-row:1/4;align-self:start}.configure-panel .request-summary{grid-column:1/-1}.configure-panel .shop-discord{grid-column:1;margin-top:0;text-align:left;align-self:end}
 .shop-intro{display:none}.shop-tools{gap:12px}.collection-tabs{gap:0}.collection-tabs button{padding-inline:10px}.shop-search{width:230px}
 .shop-workspace.is-expanded .shop-shell{grid-template-columns:1fr}.shop-workspace.is-expanded .preview-panel{grid-column:1}.shop-workspace.is-expanded .configure-panel{grid-column:1;grid-row:2}.shop-workspace.is-expanded .preview-panel{height:calc(100dvh - 248px)}
}
@media(max-width:760px){
 .shop-workspace{inset:50px 0 0;display:block;overflow:auto;overscroll-behavior:contain;padding:0 16px;scrollbar-width:none}.shop-workspace::-webkit-scrollbar{width:0}
 .shop-masthead{min-height:88px;gap:12px;padding:18px 0 14px}.shop-masthead .eyebrow{font-size:7px;letter-spacing:.08em}#shop-title{font-size:28px}.shop-intro{display:none}.shop-exit{font-size:9px!important;padding-left:12px!important;white-space:normal!important;max-width:90px;text-align:right}
 .shop-tools{flex-wrap:wrap;gap:8px;padding:10px 0}.shop-search{width:calc(100% - 180px);flex:1;min-width:130px;order:0}.collection-tabs{order:3;width:100%;gap:6px}.collection-tabs button{flex:1;padding:8px 12px;min-height:36px}.shop-tools>.tool-button{padding:8px 6px;font-size:10px;min-height:40px;gap:6px}
 .shop-refinements{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 0}.shop-refinements label{min-width:0;max-width:none;font-size:9px}.shop-refinements select{font-size:11px;padding:8px}.shop-refinements .text-button{font-size:10px}
 .shop-shell{display:flex;flex-direction:column;gap:18px;padding-top:16px;overflow:visible}
 .collection-panel{border:0;padding:0;display:block}.collection-heading{margin-bottom:10px}.collection-heading h2{font-size:11px}.shop-workspace .shop-grid{display:flex;overflow-x:auto;overflow-y:hidden;gap:8px;padding:3px 2px 10px;scroll-snap-type:x proximity;max-height:none;outline-offset:0}
 .shop-workspace .product-card{flex:0 0 137px;scroll-snap-align:start}.shop-workspace .product-art{aspect-ratio:2}.product-select strong{font-size:10px}.product-select small{font-size:8px}.custom-mat{display:none}.shop-empty{padding:12px;width:100%;flex:none}.shop-empty h3{font-size:14px}.shop-empty p{font-size:10px;margin-top:4px}.shop-empty button{margin-top:10px}
 .preview-panel{height:480px;min-height:0;border-block:1px solid var(--shop-line);grid-template-rows:auto auto minmax(160px,1fr) auto auto auto;padding-top:6px}.preview-heading{min-height:34px}#inspect-art-label{font-size:8px;letter-spacing:.05em}.preview-shortcuts .tool-button{font-size:9px;padding:7px}.preview-modes{gap:22px;min-height:42px;margin-top:0}.preview-modes button{font-size:10px;min-height:38px}.mat-viewport{min-height:160px}.corner-a{left:4px;top:15px}.corner-b{right:4px;bottom:15px}
 .preview-tools{padding:12px 0;gap:9px;min-height:62px}.zoom-controls button{min-width:34px;min-height:38px}.zoom-controls output{font-size:9px;min-width:38px}.backdrop-choices{gap:7px}.backdrop-choices button{width:20px;height:20px}#inspect-help{max-width:none;width:100%;flex-basis:100%;font-size:9px;text-align:center}.preview-footer{min-height:40px}.preview-footer .text-button{font-size:10px}
 .configure-panel{border:0;padding:5px 2px 24px;overflow:visible;gap:22px}#inspect-title{font-size:32px;max-width:440px}#inspect-description{font-size:12px}.design-info .eyebrow{margin-bottom:9px}.shop-workspace .eye-choices button{min-height:90px}.eye-choices img{height:58px}.eye-choices span{font-size:11px}#eye-field legend{font-size:12px}.quantity-row{font-size:12px}.quantity-control button{width:36px;min-height:38px}.quantity-control input{width:44px!important}#custom-options summary{font-size:12px}.custom-fields label{font-size:11px}.shop-workspace :is(input,select,textarea){font-size:16px}.field-note{font-size:11px}.request-button{font-size:12px;min-height:48px}.order-status{font-size:11px}.request-summary textarea{font-size:12px}.shop-discord{font-size:12px}.shop-footnote{font-size:7px;gap:12px;flex-wrap:wrap;padding:12px 0}.shop-footnote>span:last-child{display:none}
 .shop-workspace.is-expanded .collection-panel{display:none}.shop-workspace.is-expanded .preview-panel{height:min(650px,calc(100dvh - 260px));min-height:360px}.compare-control>div{font-size:8px;gap:5px}
}
@media(max-height:680px) and (min-width:1181px){.shop-masthead{min-height:80px;padding-block:12px}#shop-title{font-size:28px}.shop-shell{padding-top:12px;gap:16px}.shop-tools{padding-block:8px}.preview-modes{min-height:40px;margin-top:0}.preview-tools{min-height:54px;padding-block:8px}.configure-panel{gap:18px}.shop-footnote{min-height:29px}}
@media(prefers-reduced-motion:reduce){.shop-workspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* All destinations live inside the same Atlas world stage. */
.world-pages{position:fixed;inset:0;z-index:5;perspective:1400px;isolation:isolate}
.world-pages>.chapters{position:absolute;inset:0}
body[data-journey="traveling"] .world-pages>:is(.chapters,.shop-workspace){will-change:transform,opacity}
.shop-workspace>.shop-masthead{grid-row:1}
.shop-workspace>.shop-tools{grid-row:2}
.shop-workspace>.shop-refinements{grid-row:3}
.shop-workspace>.shop-shell{grid-row:4}
.shop-workspace>.shop-footnote{grid-row:5}
body[data-surface="shop"] #scroll-track{pointer-events:none}
#shop-workspace .shop-masthead{min-height:76px;padding-block:12px}
#shop-workspace #shop-title{font-size:30px}
#shop-workspace .shop-tools{padding-block:8px}
#shop-workspace .shop-shell{padding-top:14px}
#shop-workspace .preview-panel{--mat-plane:none;grid-template-rows:auto minmax(160px,1fr) auto auto auto}
#shop-workspace .preview-panel:before{display:none}
#shop-workspace .mat-viewport{background:#071620;cursor:zoom-in}
#shop-workspace .mat-art-plane{transform:perspective(1300px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transform-origin:50% 50%;transition:transform .45s var(--shop-ease)}
#shop-workspace .art-buffer img{transition:transform .22s var(--shop-ease);pointer-events:auto}
#shop-workspace #previous-image,#shop-workspace #compare-image{pointer-events:none}
#shop-workspace #art-previous{pointer-events:none}
#shop-workspace .mat-viewport.is-dragging img,#shop-workspace .is-dragging .mat-art-plane{transition:none}
#shop-workspace .preview-panel.is-inspecting .mat-viewport{cursor:grab;touch-action:none}
#shop-workspace .preview-panel.is-inspecting .mat-viewport.is-dragging{cursor:grabbing}
#shop-workspace .preview-panel[data-backdrop="slate"] .mat-viewport{background:#263c48}
#shop-workspace .preview-panel[data-backdrop="light"] .mat-viewport{background:#b6c8ce}
#shop-workspace .backdrop-choices button{transform:none}
#shop-workspace #inspect-help{font-size:9px;max-width:250px}
#shop-workspace .preview-heading{min-height:42px}
#shop-workspace .preview-shortcuts{gap:0}
#shop-workspace .preview-tools{padding-block:10px;min-height:58px}
#shop-workspace .shop-footnote{min-height:30px}
#brief-error{color:#ffbba9;font-size:11px;line-height:1.5}
#brief-error:empty{display:none}
@media(max-height:800px) and (min-width:761px){#shop-workspace .configure-panel{gap:16px}#shop-workspace .mat-brief{gap:12px}#shop-workspace .eye-choices img{height:34px}#shop-workspace .eye-choices button{min-height:62px}#shop-workspace #custom-options summary{padding-block:12px;min-height:44px}#shop-workspace #inspect-title{font-size:29px}#shop-workspace #inspect-description{margin-top:8px}}
@media(min-width:981px) and (max-width:1180px){
 #shop-workspace .shop-shell{display:grid;grid-template-columns:188px minmax(0,1fr) 248px;grid-template-rows:minmax(0,1fr);gap:14px;overflow:hidden}
 #shop-workspace .collection-panel{position:static;grid-column:1;grid-row:1;height:auto;min-height:0}
 #shop-workspace .preview-panel{grid-column:2;grid-row:1;height:auto}
 #shop-workspace .configure-panel{display:flex;grid-column:3;grid-row:1;border-left:1px solid var(--shop-line);border-top:0;padding:6px 3px 16px 16px;overflow:auto;gap:18px}
 #shop-workspace .preview-heading{flex-wrap:wrap;gap:2px;padding-bottom:6px}
 #shop-workspace .preview-shortcuts{width:100%;justify-content:space-between}
 #shop-workspace .preview-shortcuts .tool-button{font-size:9px;padding-inline:5px}
 #shop-workspace .preview-tools{gap:8px}#shop-workspace #inspect-help{flex-basis:100%;max-width:none;text-align:center}
 #shop-workspace.is-expanded .shop-shell{grid-template-columns:minmax(0,1fr) 248px}
 #shop-workspace.is-expanded .preview-panel{grid-column:1;height:auto}#shop-workspace.is-expanded .configure-panel{grid-column:2;grid-row:1}
}
@media(min-width:761px) and (max-width:980px){
 #shop-workspace .shop-shell{display:grid;grid-template-columns:170px minmax(0,1fr) 224px;grid-template-rows:minmax(0,1fr);gap:12px;overflow:hidden}
 #shop-workspace .collection-panel{position:static;grid-column:1;grid-row:1;height:auto;min-height:0;padding-right:10px}
 #shop-workspace .shop-grid{grid-template-columns:1fr;padding-right:5px}#shop-workspace .product-art{aspect-ratio:2.25}#shop-workspace .product-select{padding-bottom:8px}
 #shop-workspace .preview-panel{grid-column:2;grid-row:1;height:auto;grid-template-rows:auto minmax(130px,1fr) auto auto auto}
 #shop-workspace .mat-viewport{min-height:130px}#shop-workspace .configure-panel{grid-column:3;grid-row:1;display:flex;border-left:1px solid var(--shop-line);border-top:0;padding:6px 3px 16px 14px;overflow:auto;gap:18px}
 #shop-workspace .preview-heading{flex-direction:column;align-items:flex-start;gap:0}#shop-workspace .preview-shortcuts{width:100%;justify-content:space-between}#shop-workspace .preview-shortcuts .tool-button{font-size:8px;padding-inline:3px;gap:3px}
 #shop-workspace .preview-tools{justify-content:center;gap:10px}#shop-workspace #inspect-help{flex-basis:100%;max-width:none;text-align:center}.backdrop-choices button{width:18px;height:18px}
 #shop-workspace #inspect-title{font-size:25px}#shop-workspace .preview-footer .text-button{font-size:9px}#shop-workspace #inspect-position{font-size:8px}
 #shop-workspace.is-expanded .shop-shell{grid-template-columns:minmax(0,1fr) 224px}#shop-workspace.is-expanded .preview-panel{grid-column:1;height:auto}#shop-workspace.is-expanded .configure-panel{grid-column:2;grid-row:1}
}
@media(max-width:760px){
 #shop-workspace{display:grid;inset:50px 0 0;grid-template-rows:auto auto auto minmax(0,1fr);overflow:hidden;padding:0 12px}
 #shop-workspace .shop-masthead{min-height:60px;padding-block:8px}#shop-workspace #shop-title{font-size:24px}#shop-workspace .shop-exit{font-size:8px!important;max-width:84px}
 #shop-workspace .shop-tools{gap:4px;padding-block:4px}.collection-tabs button{min-height:32px;padding-block:6px}#shop-workspace .shop-search input{font-size:13px;padding-block:7px}#shop-workspace .shop-tools>.tool-button{min-height:34px;font-size:9px}.shop-search{min-width:120px}
 #shop-workspace .shop-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.65fr);grid-template-rows:auto minmax(0,1fr);gap:10px;padding-top:10px;overflow:hidden;min-height:0}
 #shop-workspace .collection-panel{grid-column:1/-1;grid-row:1;min-height:0}
 #shop-workspace .collection-heading{margin-bottom:2px;min-height:18px}#shop-workspace .collection-heading h2{font-size:10px}
 #shop-workspace .shop-grid{padding-block:2px 6px;gap:6px}#shop-workspace .product-card{flex-basis:112px}#shop-workspace .product-art{aspect-ratio:2.7;margin-bottom:3px}#shop-workspace .product-select{padding:0 5px 6px}#shop-workspace .product-select strong{font-size:9px}#shop-workspace .product-select small{display:none}#shop-workspace .product-save{font-size:16px!important;width:25px;min-height:25px}
 #shop-workspace .preview-panel{grid-column:1;grid-row:2;height:auto;min-height:0;border:0;grid-template-rows:auto minmax(100px,1fr) auto auto auto;padding-top:0}
 #shop-workspace .preview-heading{display:block;min-height:0;padding-bottom:4px}#shop-workspace #inspect-art-label{font-size:7px;line-height:1.2}#shop-workspace .preview-shortcuts{justify-content:space-between;flex-wrap:wrap}#shop-workspace .preview-shortcuts .tool-button{font-size:8px;padding:6px 2px;min-height:30px;gap:3px}#shop-workspace #save-current{display:none}
 #shop-workspace .mat-viewport{min-height:100px}#shop-workspace .preview-tools{padding:8px 0;min-height:0;gap:8px;justify-content:center}#shop-workspace #inspect-help{font-size:8px;line-height:1.4;max-width:none}#shop-workspace .zoom-controls button{min-height:30px;min-width:28px;font-size:14px}#shop-workspace .zoom-controls output{font-size:8px;min-width:33px}#shop-workspace .zoom-controls #zoom-fit{font-size:8px;min-width:33px;margin:0}
 #shop-workspace .preview-footer{gap:6px;min-height:32px}#shop-workspace .preview-footer .text-button{font-size:8px;min-height:32px}#shop-workspace #inspect-position{font-size:7px;letter-spacing:0}
 #shop-workspace .configure-panel{grid-column:2;grid-row:2;overflow:auto;border-left:1px solid var(--shop-line);padding:4px 2px 18px 11px;gap:16px}#shop-workspace #inspect-title{font-size:22px;line-height:1.1}#shop-workspace #inspect-description{font-size:10px;margin-top:7px}#shop-workspace .design-info .eyebrow{font-size:7px;line-height:1.6}
 #shop-workspace .eye-choices{grid-template-columns:1fr;gap:6px}#shop-workspace .eye-choices button{display:flex;align-items:center;gap:7px;min-height:42px;padding:6px}#shop-workspace .eye-choices img{width:42px;height:26px;margin:0}#shop-workspace .eye-choices span{font-size:8px;text-align:left}#shop-workspace #eye-field legend{font-size:9px;margin-bottom:7px}
 #shop-workspace .quantity-row{flex-wrap:wrap;gap:5px;font-size:10px}#shop-workspace .quantity-control button{width:26px;min-height:32px}#shop-workspace .quantity-control input{width:32px!important;font-size:12px!important}
 #shop-workspace #custom-options summary{font-size:9px;padding:10px 0;min-height:40px}#shop-workspace .custom-fields label{font-size:9px}#shop-workspace .custom-fields .units-field{flex-wrap:wrap}#shop-workspace .field-note{font-size:9px}#shop-workspace .order-status{font-size:9px}#shop-workspace .request-button{font-size:9px;padding:10px;gap:6px;min-height:42px}#shop-workspace .request-button>span:last-child{font-size:14px}#shop-workspace .shop-discord{font-size:9px}
 #shop-workspace .request-summary h3{font-size:12px}#shop-workspace .request-summary p{font-size:9px}#shop-workspace .request-summary textarea{font-size:11px;padding:7px}#shop-workspace .request-actions{flex-direction:column;align-items:stretch}#shop-workspace .request-email{font-size:10px;text-align:center}
 #shop-workspace .compare-control{padding:7px 0 0}#shop-workspace .compare-control>div{flex-wrap:wrap;font-size:7px}#shop-workspace .compare-control label{order:3;width:100%;text-align:center}.compare-divider span{width:24px;height:24px;font-size:14px}
 #shop-workspace .shop-footnote{display:none}#shop-workspace.is-expanded .shop-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}#shop-workspace.is-expanded .preview-panel{grid-column:1;grid-row:1;height:auto;min-height:0}#shop-workspace.is-expanded .configure-panel{display:none}
}
@media(max-height:550px) and (min-width:761px){#shop-workspace .shop-masthead{min-height:56px;padding-block:5px}#shop-workspace #shop-title{font-size:24px}#shop-workspace .shop-masthead .eyebrow{font-size:8px}#shop-workspace .shop-tools{min-height:44px;padding-block:3px}#shop-workspace .preview-heading{min-height:34px}#shop-workspace .mat-viewport{min-height:80px}#shop-workspace .preview-panel{grid-template-rows:auto minmax(80px,1fr) auto auto auto}#shop-workspace .shop-footnote{min-height:23px;padding-block:3px}}

/* One compact command bar; the existing Atlas world is the mat's backdrop. */
#shop-workspace{grid-template-rows:auto auto minmax(0,1fr);padding-inline:20px}
#shop-workspace>.shop-masthead{grid-row:1;min-height:52px;padding:5px 0;gap:18px;justify-content:flex-start;border-bottom:1px solid var(--shop-line)}
#shop-workspace #shop-title{flex:none;margin:0 8px 0 0;font-size:21px;letter-spacing:-.03em;outline:0}
#shop-workspace .shop-tools{display:contents}
#shop-workspace .shop-search{width:clamp(170px,18vw,270px);flex:none;min-width:0}
#shop-workspace .collection-tabs{width:auto;order:0;margin-right:auto;gap:4px}
#shop-workspace .collection-tabs button{min-height:36px;padding:7px 10px}
#shop-workspace .shop-exit{padding:7px 0 7px 14px!important;min-height:36px;max-width:none;font-size:10px!important;white-space:nowrap!important}
#shop-workspace>.shop-refinements{grid-row:2;padding-block:8px}
#shop-workspace>.shop-shell{grid-row:3;padding-top:8px;padding-bottom:8px;gap:18px}
#shop-workspace .collection-heading{margin-bottom:6px;min-height:22px}
#shop-workspace .custom-mat{padding-block:10px}
#shop-workspace .configure-panel{padding-top:4px;gap:16px}
#shop-workspace .design-info .eyebrow{margin-bottom:7px}
#shop-workspace .mat-brief{gap:12px}

/* Selected and keyboard-focused controls use their text, never a blue box. */
#shop-workspace :is(button,a,summary):focus-visible{outline:0;color:var(--blue);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
#shop-workspace :is(input:not([type="range"]),select,textarea){border:0;border-bottom:1px solid var(--shop-line)}
#shop-workspace :is(input,select,textarea):focus-visible{outline:0;border-bottom-color:var(--blue)}
#shop-workspace :is(input,select,textarea){caret-color:var(--blue)}
#shop-workspace .shop-search input,#shop-workspace .quantity-control input{border:0}
#shop-workspace .shop-search input:focus-visible{outline:0}
#shop-workspace .shop-search:focus-within{border-bottom-color:var(--blue)}
#shop-workspace #shop-grid:focus-visible,#shop-workspace #inspect-stage:focus-visible{outline:0}
#shop-workspace #shop-grid:focus-visible .is-selected strong{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
#shop-workspace #inspect-stage:focus-visible~.preview-tools #preview-expand{color:var(--blue);text-decoration:underline}
#shop-workspace .tool-button[aria-pressed="true"],#shop-workspace .tool-button[aria-expanded="true"],#shop-workspace .collection-tabs button.active{background:transparent;border-color:transparent;color:var(--blue)}
#shop-workspace .tool-button:hover,#shop-workspace .collection-tabs button:hover{background:transparent;border-color:transparent;color:var(--blue)}
#shop-workspace .product-card,#shop-workspace .product-card.is-selected,#shop-workspace .product-card:hover{background:transparent;border-color:transparent}
#shop-workspace .eye-choices button,#shop-workspace .eye-choices button.active,#shop-workspace .eye-choices button:hover{background:transparent;border-color:transparent}
#shop-workspace .eye-choices button.active,#shop-workspace .eye-choices button:hover{color:var(--blue)}
#shop-workspace .eye-choices button.active span{font-weight:700}
#shop-workspace ::selection{color:var(--blue);background:transparent}

/* The artwork and one slim control strip use the entire centre column. */
#shop-workspace .preview-panel{grid-template-rows:minmax(0,1fr) auto auto;grid-column:2;grid-row:1;height:auto;min-height:0;padding:0;border:0;overflow:hidden;background:transparent}
#shop-workspace .mat-viewport{grid-row:1;min-height:0;background:transparent!important;outline:0}
#shop-workspace .compare-control{grid-row:2;padding:3px 0 0}
#shop-workspace .preview-tools{grid-row:3;min-height:38px;gap:8px;padding:3px 0 0;flex-wrap:nowrap;border:0;justify-content:flex-start}
#shop-workspace .preview-shortcuts{gap:2px;flex:1;justify-content:center}
#shop-workspace .preview-shortcuts .tool-button{min-height:34px;font-size:10px;padding:6px}
#shop-workspace #preview-expand{font-size:17px;min-width:30px}
#shop-workspace .zoom-controls{gap:2px;flex:none}
#shop-workspace .zoom-controls button{min-width:28px;min-height:32px;border:0;background:transparent;padding:5px;color:#a9c4d3}
#shop-workspace .zoom-controls button:hover{color:var(--blue);background:transparent}
#shop-workspace .zoom-controls #zoom-fit{min-width:30px;font-size:10px;margin:0}
#shop-workspace .zoom-controls output{min-width:37px;font-size:9px}
#shop-workspace .preview-footer{min-height:34px;gap:7px;flex:none;margin-left:auto;border:0}
#shop-workspace .preview-footer .text-button{min-width:28px;min-height:34px;padding:4px;font-size:15px}
#shop-workspace #inspect-position{font-size:9px;letter-spacing:0;white-space:nowrap}
#shop-workspace #inspect-help,#shop-workspace #preview-quality{padding:0;margin:0;max-width:none;flex:none}

/* Featured designs are the starting point; only an explicit choice opens a mat. */
#shop-workspace #configuration-content{display:contents}
#shop-workspace .selection-prompt{align-self:center;display:grid;gap:15px;padding-block:24px}
#shop-workspace .selection-prompt h2{margin:0;font-size:clamp(23px,2.1vw,34px);line-height:1.15;letter-spacing:-.04em}
#shop-workspace .selection-prompt p{margin:0;font-size:12px;line-height:1.7;color:var(--shop-muted);max-width:260px}
#shop-workspace .selection-prompt button{justify-self:start;color:var(--blue)}
#shop-workspace .featured-preview{grid-column:2;grid-row:1;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:4px 0}
#shop-workspace .featured-designs{min-width:0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1.3fr) minmax(0,1fr);gap:12px 20px}
#shop-workspace .featured-design{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:4px;padding:0;background:transparent;text-align:left;color:#aec8d8}
#shop-workspace .featured-design:first-child{grid-column:1/-1}
#shop-workspace .featured-design img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;filter:none;transform:none}
#shop-workspace .featured-design>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;padding-block:4px;line-height:1.5}
#shop-workspace .featured-design:hover{color:var(--blue)}
#shop-workspace .featured-designs[data-count="1"],#shop-workspace .featured-designs[data-count="0"]{grid-template-rows:minmax(0,1fr)}
#shop-workspace .featured-designs[data-count="2"] .featured-design{grid-column:1/-1}
#shop-workspace .featured-empty{grid-column:1/-1;place-self:center;color:var(--shop-muted);font-size:12px;text-align:center;line-height:1.7}
@media(max-width:680px){#shop-workspace .featured-preview{grid-column:1;grid-row:2}#shop-workspace .featured-designs{gap:4px 12px}#shop-workspace .featured-design>span{font-size:9px}#shop-workspace .selection-prompt{gap:9px;padding-block:8px}}
.preview-dock{grid-column:2;grid-row:1;min-width:0;min-height:0}

/* Only the picked-up artwork enters the top layer. There is no new backdrop. */
#shop-workspace #mat-inspector{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0 24px 12px;border:0;outline:0;background:transparent;color:var(--ink);box-shadow:none;overflow:hidden;animation:none}
#mat-inspector:not([open]){display:none}
#shop-workspace #mat-inspector[open]{display:grid;grid-template-rows:48px minmax(0,1fr) 24px;gap:0}
#mat-inspector::backdrop{background:transparent;backdrop-filter:none}
.inspector-top{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:20px}
#inspector-title{color:#a9c4d3;font:10px/1.5 monospace;letter-spacing:.06em}
#shop-workspace #inspector-close{min-width:70px;min-height:40px;color:#c8dce7}
#inspector-host{min-height:0;min-width:0;display:grid}
#shop-workspace #inspector-host>.preview-panel{grid-column:1;grid-row:1;height:100%;padding:0;overflow:visible;border:0;grid-template-rows:minmax(0,1fr) auto auto}
#shop-workspace #inspector-host .mat-viewport{overflow:visible;touch-action:none}
#shop-workspace #inspector-host .preview-tools{position:relative;z-index:3;max-width:760px;width:100%;margin-inline:auto}
#shop-workspace #inspector-host .compare-control{max-width:760px;width:100%;margin-inline:auto}
#inspector-hint{position:relative;z-index:5;margin:0;padding:5px 0 0;text-align:center;font-size:10px;line-height:1.4;color:#91adbf;pointer-events:none}
#shop-workspace>:is(.shop-masthead,.shop-refinements,.shop-shell){transition:opacity .22s var(--shop-ease)}
#shop-workspace.is-inspection-open>:is(.shop-masthead,.shop-refinements,.shop-shell){opacity:0;pointer-events:none}
#site-shell:has(#mat-inspector[open]) .site-header{visibility:hidden}
#mat-inspector #inspect-help{display:none}
#image-status:has([data-art-retry]){pointer-events:auto;z-index:6}#image-status [data-art-retry]{display:inline-block;min-height:44px;padding:8px;color:var(--blue);text-decoration:underline}
@media(max-width:1180px){
 #shop-workspace>.shop-masthead{gap:10px}
 #shop-workspace #shop-title{font-size:19px;margin-right:0}
 #shop-workspace .shop-search{width:180px}
 #shop-workspace .collection-tabs button{padding-inline:7px;font-size:10px}
 #shop-workspace .preview-tools{flex-wrap:wrap;gap:1px 6px}
 #shop-workspace .preview-shortcuts{order:3;flex-basis:100%;justify-content:center}
 #shop-workspace #mat-inspector .preview-tools{flex-wrap:nowrap}
 #shop-workspace #mat-inspector .preview-shortcuts{order:0;flex-basis:auto}
}
@media(max-width:980px){
 #shop-workspace>.shop-masthead{gap:8px;flex-wrap:wrap;padding-block:5px}
 #shop-workspace .shop-search{flex:1;min-width:140px;max-width:230px}
 #shop-workspace .shop-exit{font-size:9px!important;padding-left:8px!important}
 #shop-workspace .tool-button{font-size:10px;padding-inline:6px;gap:5px}
}
@media(max-width:760px){
 #shop-workspace{padding-inline:12px;grid-template-rows:auto auto minmax(0,1fr)}
 #shop-workspace>.shop-masthead{min-height:0;gap:4px 10px}
 #shop-workspace #shop-title{font-size:18px}
 #shop-workspace .shop-search{min-width:100px;max-width:none;flex:1}
 #shop-workspace .shop-tools{display:contents}
 #shop-workspace .collection-tabs{order:4;flex:none;gap:0;margin-right:auto;width:auto}
 #shop-workspace .collection-tabs button{font-size:10px;min-height:32px;padding:6px}
 #shop-workspace #saved-filter,#shop-workspace #filter-toggle{order:5;font-size:10px;min-height:32px;padding:4px}
 #shop-workspace .shop-exit{max-width:none;font-size:9px!important}
 #shop-workspace>.shop-shell{gap:8px;padding-top:6px;padding-bottom:6px}
 #shop-workspace .preview-panel{grid-column:1;grid-row:2;grid-template-rows:minmax(0,1fr) auto auto;min-height:0;height:auto;padding:0}
 #shop-workspace .preview-tools{gap:2px;min-height:0;flex-wrap:wrap;padding:2px 0}
 #shop-workspace .preview-shortcuts{order:3;gap:2px;flex-basis:100%}
 #shop-workspace .preview-shortcuts .tool-button{font-size:9px;padding-inline:3px;min-height:30px}
 #shop-workspace .preview-footer{gap:0;min-height:30px}
 #shop-workspace .preview-footer .text-button{min-width:22px;min-height:30px;padding:3px}
 #shop-workspace .zoom-controls{margin-right:auto}
 #shop-workspace .zoom-controls output{min-width:32px}
 #shop-workspace .zoom-controls button{min-width:25px;min-height:30px}
 #shop-workspace #zoom-fit{display:none}
 #shop-workspace .configure-panel{gap:12px}
 #shop-workspace .preview-dock{grid-column:1;grid-row:2}
 #shop-workspace #mat-inspector{padding:0 12px 8px}
 #shop-workspace #mat-inspector[open]{grid-template-rows:44px minmax(0,1fr) auto}
 #shop-workspace #inspector-host>.preview-panel{grid-template-rows:minmax(0,1fr) auto auto}
 #shop-workspace #mat-inspector .preview-tools{flex-wrap:wrap;justify-content:center}
 #shop-workspace #mat-inspector .preview-shortcuts{order:3;flex-basis:100%;justify-content:center}
 #shop-workspace #mat-inspector #save-current,#shop-workspace #mat-inspector #zoom-fit{display:inline-flex}
 #inspector-title{font-size:9px}
 #inspector-hint{font-size:9px;padding-top:5px;max-width:340px;justify-self:center}
}

/* On phones the artwork gets the full width; options follow in the same shop. */
@media(max-width:760px){
 #shop-workspace>.shop-shell{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;gap:16px;overscroll-behavior:contain;padding-bottom:24px}
 #shop-workspace .collection-panel{flex:none;min-height:0;overflow:visible;padding:0;border:0}
 #shop-workspace .shop-grid{display:flex;max-height:none;overflow-x:auto;overflow-y:hidden;gap:10px;padding:0 0 6px;scroll-snap-type:x proximity}
 #shop-workspace .product-card{flex:0 0 142px;min-width:0;padding:0;scroll-snap-align:start}
 #shop-workspace .product-select{padding:0 4px 6px;width:100%}
 #shop-workspace .product-art{aspect-ratio:2.25;margin:0 0 5px}
 #shop-workspace .product-select strong{font-size:11px;line-height:1.45;padding-right:18px}
 #shop-workspace .product-select small.product-price{display:block;font-size:10px;color:#9db8c5;margin-top:4px}
 #shop-workspace .product-save{min-width:44px;min-height:44px;font-size:20px!important;right:-6px;top:0}
 #shop-workspace .custom-mat{padding:4px 0;min-height:44px}
 #shop-workspace .preview-panel,#shop-workspace .preview-dock{flex:none;width:100%;height:auto;min-height:0;grid-template-rows:auto auto auto;border:0}
 #shop-workspace .preview-panel .mat-viewport{height:auto;aspect-ratio:2.25;min-height:0;touch-action:pan-y}
 #shop-workspace .preview-panel .preview-tools{min-height:44px;flex-wrap:wrap;gap:2px 6px}
 #shop-workspace .preview-shortcuts{order:0;flex:1;flex-basis:auto;justify-content:flex-end}
 #shop-workspace .zoom-controls button,#shop-workspace .preview-shortcuts .tool-button,#shop-workspace #preview-expand{min-width:44px;min-height:44px}
 #shop-workspace .zoom-controls button{font-size:17px}
 #shop-workspace .preview-shortcuts .tool-button{font-size:11px}
 #shop-workspace .preview-footer .text-button{min-height:44px;min-width:44px;font-size:11px}
 #shop-workspace #inspect-position{font-size:9px}
 #shop-workspace .configure-panel{flex:none;min-height:0;overflow:visible;padding:4px 0 0;border-left:0;gap:16px}
 #shop-workspace #configuration-content{gap:16px}
 #shop-workspace #inspect-title{font-size:26px;line-height:1.15}
 #shop-workspace #inspect-description,#shop-workspace #product-specifications{font-size:13px;line-height:1.65}
 #shop-workspace .eye-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #shop-workspace .eye-choices button{min-height:52px;padding:6px 0}
 #shop-workspace .eye-choices img{width:64px;height:30px}
 #shop-workspace .eye-choices span,#shop-workspace #eye-field legend{font-size:11px}
 #shop-workspace .quantity-row,#shop-workspace .order-status{font-size:13px}
 #shop-workspace .quantity-control button{width:44px;min-height:44px}
 #shop-workspace .quantity-control input{width:48px!important;min-height:44px;font-size:16px!important}
 #shop-workspace #custom-options summary,#shop-workspace .shop-discord{font-size:12px;min-height:44px}
 #shop-workspace .custom-fields label,#shop-workspace .field-note{font-size:12px}
 #shop-workspace .custom-fields input,#shop-workspace .custom-fields select,#shop-workspace .custom-fields textarea{font-size:16px}
 #shop-workspace .request-button{font-size:12px;min-height:48px;padding:12px}
 #shop-workspace .featured-preview{flex:none;height:clamp(220px,38dvh,360px);padding:0}
 #shop-workspace .selection-prompt{align-self:stretch;padding:4px 0}
 #shop-workspace #mat-inspector{padding:env(safe-area-inset-top) 12px calc(10px + env(safe-area-inset-bottom))}
 #shop-workspace #mat-inspector[open]{grid-template-rows:48px minmax(0,1fr) auto}
 #shop-workspace #inspector-host>.preview-panel{height:100%;grid-template-rows:minmax(0,1fr) auto auto}
 #shop-workspace #inspector-host .mat-viewport{height:auto;aspect-ratio:auto;touch-action:none}
 #shop-workspace #inspector-close{min-height:44px}
 .product-detail-card{padding:12px 0;max-height:none}
 .product-detail-card h2{font-size:30px;margin:12px 0}
}
