body{background:#f7f8fa}header{height:78px}.steps{padding:0;gap:32px}.steps button{padding:12px 8px}body.inLab main{max-width:none;padding:0}body.inLab .operator{display:none}.labWorkspace{display:grid;grid-template-columns:78px 310px minmax(0,1fr);gap:0;align-items:stretch;height:calc(100dvh - 242px);min-height:510px;background:#e8eaed}.labToolbar{background:#202936;display:flex;flex-direction:column;padding-top:8px;gap:3px}.labToolbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:0;background:transparent;color:#dce2eb;font-size:13px;font-weight:500;min-height:83px;padding:10px 4px;border-left:4px solid transparent}.labToolbar button span{font-size:26px;line-height:1}.labToolbar button[aria-pressed=true]{background:white;color:#243d59;border-color:#243d59}.labEditor{border:0;border-radius:0;padding:0;overflow:auto;background:white}.panelHeading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e9ee;padding:14px 20px;position:sticky;top:0;background:#fff;z-index:2}.panelHeading h2{margin:0;font-size:18px;font-weight:600}.panelHeading button{padding:0;background:white;color:#44515e;font-size:27px;width:32px;height:32px}.labEditor>section{padding:4px 22px 22px}.labEditor p{font-size:15px;line-height:1.6}.labEditor .upload{margin-top:22px;padding:24px 10px}.labEditor .primary{margin-top:14px}.labEditor .colorSwatches{grid-template-columns:repeat(6,minmax(0,1fr));max-height:none}.labEditor .small{font-size:13px}.labCanvas{padding:18px 22px 8px;overflow:auto;background:#e8eaed;min-width:0}.canvasTop{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:6px}.canvasTop strong{font-size:14px;color:#536173}.historyActions{display:flex;gap:8px}.historyActions button{background:#fff;color:#30455f;font-size:13px;padding:8px 11px;border:1px solid #d5dce5;font-weight:500}.historyActions button:disabled{opacity:.42;cursor:default}.designSurface{width:min(820px,100%);margin:auto;padding-right:102px;position:relative}.stage{width:min(100%,630px);aspect-ratio:1;margin:auto;border:0;border-radius:0;background:#fff;overflow:hidden}.stage>img{display:block;object-fit:contain}.sideTabs{top:16px;right:0;gap:12px}.sideTabs button{background:#fff;font-size:13px;border-radius:9px}.sideTabs button img{height:80px}.sideTabs button[aria-pressed=true]{border:2px solid #345c88;background:white}.sideTabs button small{font-size:11px}.artItem.selected{border:1.5px solid #345c88}.resizeHandle{border-radius:50%;width:20px;height:20px;border:2px solid #345c88;background:#fff}.rotationHandle{display:none;position:absolute;top:-34px;left:50%;transform:translateX(-50%);border-radius:50%;background:white;color:#243d59;border:2px solid #345c88;padding:0;width:26px;height:26px;cursor:crosshair;font-size:19px}.artItem.selected .rotationHandle{display:block}.artMeasurements{display:grid;grid-template-columns:1fr 1fr;gap:12px}.artActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.artActions button{font-size:14px;background:#f4f7fa;color:#243d59;border:1px solid #d8e1eb;font-weight:600;padding:11px 5px}.inkChips{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.inkChips button{width:38px;height:38px;padding:0;border:1px solid #a7b1bc;border-radius:6px;box-shadow:inset 0 0 0 3px white}.inkSelectedLabel{display:flex;gap:10px;align-items:center;font-size:16px;margin:14px 0}.inkSelectedLabel span{width:30px;height:30px;border:1px solid #adb5bf;border-radius:5px}.inkGrid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin:18px 0}.inkGrid button{padding:0;height:32px;min-width:0;border-radius:5px;border:1px solid #c9cfd6;position:relative}.inkGrid button[aria-pressed=true]{outline:2px solid #345c88;outline-offset:2px}.inkGrid button:disabled{opacity:.6}.inkDone{width:100%;margin-top:14px}.labBottom{background:white;border-top:1px solid #dce3eb;padding:14px 24px 10px;display:grid;grid-template-columns:minmax(250px,1fr) auto;gap:10px 24px;min-height:115px}.barProduct{display:flex;align-items:center;gap:13px;min-width:0}.barProduct>img{width:56px;height:65px;object-fit:contain;background:#f6f7f9;border:1px solid #e8ebef;border-radius:6px}.barProduct strong{font-size:16px;line-height:1.4;display:block;max-width:470px}.barProduct span{display:block;font-size:13px;color:#647080;margin-top:4px}.barLinks{display:flex;flex-wrap:wrap;gap:14px;margin-top:6px}.barLinks button{padding:0;background:none;color:#335f8b;font-size:13px;font-weight:600}.barActions{display:flex;align-items:center;gap:12px}.barActions>button{margin:0;font-size:14px;min-height:45px;padding:12px 15px;width:auto}.barActions>.primary{background:#243d59}.barPrice{display:flex;flex-direction:column;text-align:right;min-width:110px}.barPrice strong{font-size:22px}.barPrice span{font-size:12px;color:#637185;margin-top:4px}.barNote{grid-column:1/-1;font-size:12px;color:#637185;margin:0;text-align:right;line-height:1.5}.labCanvas>#photoNote{font-size:12px;max-width:820px;margin:8px auto;color:#657283}.labCanvas>#labStatus{font-size:14px;margin:4px auto;max-width:820px}.labPanelClosed .labEditor{display:none}.labPanelClosed .labWorkspace{grid-template-columns:78px minmax(0,1fr)}.labBusy .stage{pointer-events:none;opacity:.7}.labBusy #labStatus{color:#243d59}#sideControls{padding-top:16px;border-top:1px solid #e4eaf0;margin-top:18px}.sideTabs .thumbPreview{position:relative;width:100%;aspect-ratio:1;background:white;margin-bottom:5px;border-radius:6px;overflow:hidden}.thumbPreview>img{width:100%;height:100%;object-fit:contain}.thumbPreview .artItem{border:0}.labEditor #inkEditor{margin-top:4px}.labEditor .sizeGrid{grid-template-columns:repeat(3,1fr)}.labToolbar button:disabled,.barActions button:disabled{opacity:.45;cursor:default}@media(max-width:1150px){.labWorkspace{grid-template-columns:70px 285px minmax(0,1fr)}.labCanvas{padding:15px 12px}.labBottom{padding:12px 15px;grid-template-columns:1fr}.barActions{justify-content:space-between}.barNote{text-align:left}.labWorkspace{height:calc(100dvh - 300px)}}@media(max-width:750px){body.inLab header{height:66px}.steps{gap:20px}.steps button{font-size:13px}.labWorkspace{display:grid;grid-template-columns:1fr;height:auto;min-height:0}.labToolbar{flex-direction:row;justify-content:center;order:0;padding:0;gap:0;overflow:auto}.labToolbar button{min-height:62px;min-width:20%;font-size:12px;border-left:0;border-bottom:3px solid transparent;padding:8px 5px;gap:4px}.labToolbar button span{font-size:21px}.labToolbar button[aria-pressed=true]{border-bottom-color:#345c88}.labCanvas{order:1;padding:10px 12px}.canvasTop{margin-bottom:6px}.canvasTop strong{font-size:12px}.historyActions button{font-size:12px;padding:7px 9px}.designSurface{padding-right:77px}.stage{width:100%;max-width:480px}.sideTabs,.sideTabs button{width:65px}.sideTabs{top:5px;gap:7px}.sideTabs button{font-size:11px;padding:5px}.sideTabs button img{height:50px}.labEditor{order:2;max-height:420px;overflow:auto;border-top:1px solid #ccd6e1;border-radius:0}.panelHeading{padding:10px 18px}.labEditor>section{padding:0 18px 18px}.labBottom{position:sticky;bottom:0;z-index:5;padding:10px 12px;gap:8px;box-shadow:0 -3px 15px #15243b12;min-height:0}.barProduct>img{width:40px;height:45px}.barProduct strong{font-size:13px}.barProduct span{font-size:12px}.barLinks button{font-size:12px}.barActions{gap:6px;flex-wrap:wrap}.barActions>button{font-size:12px;min-height:40px;padding:9px 10px}.barPrice{min-width:75px;margin-left:auto}.barPrice strong{font-size:17px}.barPrice span{font-size:11px}.barNote{display:none}.labPanelClosed .labWorkspace{grid-template-columns:1fr}.inkGrid{grid-template-columns:repeat(8,1fr)}.inkGrid button{height:36px}.reviewPhotos{flex-wrap:wrap}.reviewPhoto{min-width:120px;flex:1}}

.thumbPreview>div{position:absolute;inset:0}.thumbPreview .artItem{font-size:5px!important}.rotationHandle{display:none}.artItem.selected .rotationHandle{display:block}

/* Artwork thumbnails must never inherit garment-photo dimensions or backgrounds. */
.sideTabs .thumbPreview .artItem img{height:auto;min-height:0;width:100%;background:transparent;border-radius:0;margin:0;object-fit:contain}.sideTabs .thumbPreview .artItem{background:transparent}.sideTabs{gap:8px}.sideTabs button img{height:64px}.sideTabs button:disabled{opacity:.4;cursor:not-allowed}.reviewPhotos{flex-wrap:wrap}

#productPhotoFrame{position:absolute;inset:0;pointer-events:none}#productPhotoFrame>img{width:100%;height:100%;object-fit:contain}.thumbPreview .garmentOnlyPhoto{position:absolute;inset:0}.garmentOnlyPhoto>img{background:transparent!important;height:100%!important;margin:0!important;border-radius:0!important}.sideTabs button>.garmentOnlyPhoto{height:64px!important}.sideTabs .thumbPreview>.garmentOnlyPhoto{height:100%!important}
