body:is([data-view="shop"],[data-view="products"],[data-view="collections"],[data-view="buyers"],[data-view="store-setup"],[data-view^="shop-"]) .main > .top > div{display:none}
#stRoot{max-width:1100px;color:var(--ink);overflow-wrap:anywhere}
#stRoot h2{font-size:1.8rem;margin:0}#stRoot h3{font-size:1.2rem}#stRoot h4{margin:12px 0}
#stRoot .stHead,#stRoot .stActions,#stRoot .stTabs{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
#stRoot .stTabs,#stRoot .stActions{justify-content:flex-start}
#stRoot button{border:1px solid var(--line);border-radius:10px;padding:11px 16px;font-family:inherit;font-size:.9rem;font-weight:600;background:#fff;color:var(--ink);cursor:pointer;min-height:44px}
#stRoot button[aria-pressed=true],#stRoot button[type=submit]{background:var(--ink);color:#fff}#stRoot button:disabled{opacity:.5;cursor:default}
#stRoot :focus-visible{outline:3px solid var(--aqua);outline-offset:3px}
#stRoot .stList{display:grid;gap:10px;margin:18px 0}#stRoot .stRow{display:flex;text-align:left;justify-content:space-between;gap:18px;align-items:center;width:100%;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;margin:0}
#stRoot .stRow span{min-width:0}#stRoot small{display:block;color:var(--muted,#607080);margin-top:6px}
#stRoot .stGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#stRoot label{display:grid;gap:7px;font-weight:600;margin:12px 0;min-width:0}
#stRoot input,#stRoot select,#stRoot textarea{min-width:0;max-width:100%;width:100%;border:1px solid var(--line);border-radius:9px;background:#fff;padding:12px;font:inherit;color:inherit;box-sizing:border-box}
#stRoot textarea{min-height:100px;resize:vertical}#stRoot .stCheck{display:flex;align-items:center;gap:10px}#stRoot .stCheck input{width:20px;height:20px;flex-shrink:0}
#stRoot fieldset{min-width:0;border:0;padding:0}#stRoot .stOption,#stRoot .stCard{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff;margin:16px 0}
#stRoot .stError{color:#a02727}#stRoot [data-message]:empty{display:none}
@media(max-width:600px){#stRoot .stGrid{grid-template-columns:1fr}#stRoot .stRow{align-items:flex-start;flex-direction:column;gap:8px}#stRoot button{max-width:100%}}
@media(max-width:760px){
body:is([data-view="shop"],[data-view="buyers"]) .main>.top:has(#locSwitch option+option){display:flex;margin-bottom:16px}
body:is([data-view="shop"],[data-view="buyers"]) #locSwitch{width:100%;max-width:100%;min-height:44px}
#stRoot .stTabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:3px 3px 9px;gap:8px;overscroll-behavior-x:contain}
#stRoot .stTabs button{flex:0 0 auto;white-space:nowrap}
}

#stRoot .stPhotos{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}#stRoot .stPhotos img{width:110px;height:110px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}

#stRoot .stPreview{width:100%;height:640px;border:1px solid var(--line);border-radius:12px;background:white}

#stRoot .stOrderFilters{grid-template-columns:2fr 1fr 1fr;gap:12px;margin-bottom:12px}
#stRoot .stOrderFilters label{margin:0}
#stRoot select{appearance:none;min-height:44px;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23142537' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
@media(max-width:600px){#stRoot .stOrderFilters{grid-template-columns:repeat(2,minmax(0,1fr))}#stRoot .stOrderFilters label:first-child{grid-column:1/-1}}

#stRoot .stShipNote{padding:12px 16px;border-left:3px solid var(--aqua);background:var(--soft,#eef6f8);border-radius:8px}
#stRoot .stShipRate,#stRoot .stShipLabel{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px;border:1px solid var(--line);border-radius:12px;margin:12px 0;min-width:0}
#stRoot .stShipRate>div,#stRoot .stShipLabel>div{min-width:0;flex:1 1 200px}
#stRoot .stShipLabel .stActions{margin-bottom:0;flex:0 1 auto}
#stRoot [data-shipping-setup],#stRoot [data-shipping-labels]{min-width:0}
#stRoot [data-return-address]:disabled{display:none}
@media(max-width:600px){#stRoot .stShipRate button,#stRoot .stShipLabel .stActions{width:100%}#stRoot .stShipLabel .stActions button{flex:1 1 180px}#stRoot .stShipRate,#stRoot .stShipLabel{padding:12px}}

#stRoot [data-carrier-onboarding]{margin:24px 0;padding:20px;background:var(--soft,#eef6f8);border-radius:12px}
#stRoot [data-carrier-onboarding] .stHead{align-items:flex-start}
#stRoot [data-carrier-onboarding] h4{margin-top:0}
#stRoot .stCarrierCard{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:16px;margin:12px 0}
#stRoot .stCarrierCard>div{min-width:0;flex:1}
#stRoot .stCarrierCard button{flex-shrink:0}
#stRoot .stCarrierBadge{display:inline-block;font-size:.8rem;font-weight:600;padding:4px 9px;border-radius:6px;background:#fff1d6;color:#75531a}
#stRoot .stCarrierReady{background:#e2f3ea;color:#225d43}
#stRoot .stCarrierDialog{margin:auto;width:min(720px,calc(100vw - 32px));max-width:720px;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid var(--line);border-radius:16px;padding:24px;color:var(--ink);background:#fff;box-shadow:0 24px 80px #071d3540}
#stRoot .stCarrierDialog:not([open]){display:none}
#stRoot .stCarrierDialog::backdrop{background:#071d35a6}
#stRoot .stCarrierDialog h3{margin:0}
#stRoot .stCarrierDialog form{margin:0}
#stRoot .stCarrierDialog [data-carrier-error]:empty{display:none}
#stRoot .stCarrierDocuments details{border:1px solid var(--line);border-radius:8px;padding:12px;margin:10px 0}
#stRoot .stCarrierDocuments summary{cursor:pointer;font-weight:600;min-height:24px}
#stRoot .stCarrierTermsText{white-space:pre-wrap;font-size:.88rem;line-height:1.6;max-height:300px;overflow:auto;overscroll-behavior:contain;margin:14px 0;padding:12px;background:#f5f8fa;border-radius:6px}
@media(max-width:600px){#stRoot [data-carrier-onboarding]{padding:12px}#stRoot .stCarrierCard{flex-direction:column;padding:12px}#stRoot .stCarrierCard button{width:100%}#stRoot .stCarrierDialog{padding:16px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}#stRoot .stCarrierDialog .stActions button{flex:1 1 150px}}

#stRoot .stShipmentTracking{border-top:1px solid var(--line);padding-top:12px;margin-top:12px;font-size:.9rem}
#stRoot .stShipmentTracking p{margin:6px 0}
#stRoot .stShipmentTracking a{display:inline-block;min-height:32px;padding:6px 0;font-weight:600;color:var(--ink)}
#stRoot .stPostageRefundDialog{max-width:520px;line-height:1.5}
#stRoot .stPostageRefundDialog .stCheck{align-items:flex-start;padding:12px;background:var(--soft,#eef6f8);border-radius:10px}
#stRoot .stPostageRefundDialog .stCheck input{margin-top:2px}
#stRoot .stPostageRefundDialog [data-postage-refund-error]:empty{display:none}
#stRoot .stShipLabel>.stShipNote{flex-basis:100%;margin:0}

/* Orders and shipping: daily work first; secondary tools on demand. */
#stRoot .stTabs{gap:6px;padding:6px;background:var(--soft,#eef3f5);border:1px solid var(--line);border-radius:14px;overflow:visible}
#stRoot .stTabs>button,#stRoot .stMoreNav>summary{border-color:transparent;background:transparent;border-radius:9px;padding:10px 16px;white-space:nowrap;min-height:44px;font-family:inherit;font-size:.9rem;font-weight:600;line-height:1.4}
#stRoot .stTabs>button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 4px #14253714}
#stRoot .stSettingsTab{margin-left:auto}
#stRoot .stMoreNav{position:relative}
#stRoot .stMoreNav>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;font-family:inherit}
#stRoot .stMoreNav>summary::-webkit-details-marker{display:none}
#stRoot .stMoreNav>summary::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}
#stRoot .stMoreMenu{position:absolute;top:calc(100% + 12px);left:0;z-index:20;min-width:220px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 36px #14253720;display:grid;gap:3px}
#stRoot .stMoreMenu button{text-align:left;border-color:transparent;font-weight:500;background:transparent}
#stRoot .stMoreMenu button:hover,#stRoot .stMoreMenu button[aria-pressed=true]{background:var(--soft,#eef3f5);color:var(--ink)}
#stRoot .stOrderOverview{gap:12px;margin-top:16px}
#stRoot .stOrderOverview .stCard{margin:0;padding:18px 20px}
#stRoot .stOrderOverview h4{margin:0 0 8px;font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted,#607080)}
#stRoot .stOrderOverview p{margin:0;line-height:1.6}
#stRoot .stOrderItems{gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
#stRoot .stOrderItems .stRow{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 18px;line-height:1.5;font-size:.9rem}
#stRoot .stOrderItems .stRow:last-child{border-bottom:0}
#stRoot .stOrderTool{margin:12px 0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
#stRoot .stOrderTool>summary{cursor:pointer;padding:18px 20px;font-weight:650;line-height:1.5;min-height:48px}
#stRoot .stOrderTool>summary span{display:block;margin:4px 0 0 18px;color:var(--muted,#607080);font-size:.85rem;font-weight:400}
#stRoot .stOrderTool>form{padding:0 20px 20px;border-top:1px solid var(--line)}
#stRoot .stOrderTool>form h4{margin-top:20px}
#stRoot [data-shipping-labels]{padding:22px;border-radius:18px;margin:22px 0}
#stRoot [data-shipping-labels]>.stHead{align-items:flex-start;margin-bottom:16px}
#stRoot [data-shipping-labels]>.stHead h4{font-size:1.1rem;margin:0 0 6px}
#stRoot [data-shipping-labels]>.stHead p{font-size:.85rem;margin:0;max-width:55ch;color:var(--muted,#607080);line-height:1.5}
#stRoot .stShipLabel{padding:18px;background:#fff;margin:0;gap:16px;align-items:flex-start}
#stRoot .stShipLabel .stActions{flex:0 1 230px;display:grid;gap:8px}
#stRoot .stShipLabel .stActions button{width:100%;font-size:.85rem}
#stRoot .stShipLabel button[data-action="shipping-label-pdf"]{background:var(--ink);color:#fff;border-color:var(--ink)}
#stRoot .stShipLabel button[data-action="shipping-label-refund"],#stRoot .stShipLabel button[data-action="shipping-label-recover"]{background:transparent;border-color:transparent;color:var(--muted,#607080)}
#stRoot .stShipLabel button[data-action="shipping-label-recover"]:only-child{border-color:var(--line);color:var(--ink)}
#stRoot .stShipmentTracking{background:var(--soft,#f3f6f8);border:0;padding:14px;border-radius:10px;margin-top:16px}
#stRoot .stShipmentTracking small{font-size:.75rem}
#stRoot .stShipmentTracking a{font-size:.82rem;min-height:24px}
#stRoot .stShipNote{border-left:0;font-size:.85rem;line-height:1.6;color:var(--muted,#607080)}
@media(max-width:600px){
#stRoot .stTabs{flex-wrap:wrap;overflow:visible;gap:3px;padding:4px}
#stRoot .stTabs>button,#stRoot .stMoreNav>summary{padding:9px 10px;font-size:.82rem}
#stRoot .stSettingsTab{margin-left:0}
#stRoot .stMoreMenu{left:0;right:auto;min-width:200px}
#stRoot .stOrderTool>summary{padding:16px}
#stRoot .stOrderTool>form{padding:0 16px 16px}
#stRoot [data-shipping-labels]{padding:16px}
#stRoot .stShipLabel{padding:14px}
#stRoot .stShipLabel .stActions{flex-basis:100%;grid-template-columns:1fr}
}
#stRoot .stShipSkeleton{height:120px;border-radius:12px;background:linear-gradient(90deg,#f0f4f6 25%,#f9fafb 50%,#f0f4f6 75%);background-size:200% 100%;animation:stShipLoading 1.4s ease-in-out infinite}
#stRoot [data-shipping-labels][aria-busy=true]{min-height:190px}
@keyframes stShipLoading{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){#stRoot .stShipSkeleton{animation:none}}
#stRoot .stSetupGroup{padding:20px;margin:16px 0;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}
#stRoot .stSetupGroup h4{margin:0 0 8px}
#stRoot .stSetupGroup>p{font-size:.85rem;line-height:1.5;color:var(--muted,#607080)}
#stRoot .stSetupGroup>summary,#stRoot .stCarrierOptions>summary{cursor:pointer;font-weight:650;line-height:1.5}
#stRoot .stSetupGroup>summary span,#stRoot .stCarrierOptions>summary span{display:block;font-size:.82rem;font-weight:400;color:var(--muted,#607080);margin:4px 0 0 18px}
#stRoot .stCarrierOptions{margin:24px 0 0;padding:18px 20px;border-top:1px solid var(--line)}
#stRoot .stSetupGroup[open]>summary{margin-bottom:18px}
@media(max-width:600px){#stRoot .stSetupGroup{padding:16px}}

/* A catalog is scanned by image and name; prices stay in one quiet column. */
#stRoot .stProductFilters{grid-template-columns:minmax(160px,2fr) repeat(2,minmax(130px,1fr))}
#stRoot [data-new-category-field][hidden]{display:none}
#stRoot .stProductRow{display:grid;grid-template-columns:80px minmax(0,1fr) minmax(120px,auto) 14px;align-items:center;gap:20px;width:100%;padding:14px;text-align:left;background:#fff}
#stRoot .stProductMedia{width:80px;height:80px;display:grid;place-items:center;overflow:hidden;background:var(--bg,#f2f5f7);border-radius:6px}
#stRoot .stProductMedia img{display:block;width:100%;height:100%;object-fit:contain}
#stRoot .stPhotoMissing{font-size:.72rem;font-weight:400;text-align:center;line-height:1.3;padding:7px;color:var(--muted,#607080)}
#stRoot .stProductName{min-width:0}#stRoot .stProductPrice{text-align:right;font-weight:500}
#stRoot .stProductChevron{color:var(--muted,#607080);font-size:1.3rem}
#stRoot .stListNote{font-size:.85rem;color:var(--muted,#607080);margin:6px 0}
#stRoot .stRowSkeleton{height:90px;background:var(--line,#e2e7ec);border-radius:10px;opacity:.45}
#stRoot .stLoading>span{display:block;margin:12px 0;color:var(--muted,#607080)}
#stRoot .stSetupList{display:grid;border-top:1px solid var(--line)}
#stRoot .stSetupEntry{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:5px 16px;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:20px 8px;color:inherit;text-decoration:none;font:inherit}
#stRoot .stSetupEntry>span:first-of-type{grid-column:1;color:var(--muted,#607080);font-size:.9rem;font-weight:400}
#stRoot .stSetupEntry>span:last-child{grid-column:2;grid-row:1/3;align-self:center;justify-self:end}
#stRoot .stSetupEntry:hover{background:var(--bg,#f2f5f7)}
@media(max-width:600px){
 #stRoot .stProductFilters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
 #stRoot .stProductFilters>label:first-child{grid-column:1/-1}
 #stRoot .stProductRow{grid-template-columns:64px minmax(0,1fr) 12px;gap:12px;padding:12px}
 #stRoot .stProductMedia{width:64px;height:64px;grid-row:1/3}
 #stRoot .stProductName{grid-column:2}
 #stRoot .stProductPrice{grid-column:2;text-align:left;font-size:.85rem}
 #stRoot .stProductPrice small{display:inline;margin-left:8px}
 #stRoot .stProductChevron{grid-column:3;grid-row:1/3}
}

/* Product administration: quiet Harbor Chart chrome, compact catalog, focused editor. */
body[data-store-mode="retail"]{background:#f6f7f9;--line:#dce2ee}
.navi a[data-store-secondary]{padding-left:36px;font-size:.9rem;font-weight:500;padding-top:8px;padding-bottom:8px}
.navi a[data-store-secondary] svg{width:15px;height:15px;opacity:.8}
#stRoot h2,#stRoot h3,#stRoot h4{font-family:inherit;letter-spacing:-.025em}
#stRoot{max-width:1220px;--line:#dce2ee;--muted:#526077}
#stRoot>.stHead h2{font-size:25px;font-weight:650}
#stRoot>.stHead p{display:none}
#stRoot>.stHead .stLocationName{display:block;margin:3px 0 0;color:var(--muted,#526077);font-size:.9rem}
body:is([data-view="shop"],[data-view="buyers"]):has(#locSwitch option+option) #stRoot>.stHead .stLocationName{display:none}
#stRoot .stPrimary{background:var(--brand-btn-bg,#183bd1);color:var(--brand-btn-fg,#fff);border-color:var(--brand-btn-bg,#183bd1);box-shadow:0 1px 2px #00000012}
#stRoot .stPrimary:hover:not(:disabled){background:var(--brand-btn-hover,#112ba1);border-color:var(--brand-btn-hover,#112ba1)}
#stRoot .stCatalogHeading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 16px}
#stRoot .stCatalogHeading p{font-size:14px;color:var(--muted)}
#stRoot .stCatalogHeading .stActions{margin:0;gap:8px}
#stRoot .stCatalogPanel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px #202a3008;overflow:hidden}
#stRoot .stProductStatus{display:flex;gap:4px;padding:10px 14px;border-bottom:1px solid #e8ebed}
#stRoot .stProductStatus button{border:0;border-radius:8px;min-height:40px;padding:8px 14px;font-size:13px;background:transparent;font-weight:500}
#stRoot .stProductStatus button[aria-pressed=true]{background:#f0f2f3;color:#20272b;font-weight:650}
#stRoot .stCatalogToolbar{display:flex;align-items:flex-end;gap:12px;padding:16px 18px;flex-wrap:wrap}
#stRoot .stCatalogToolbar label{margin:0;flex:1 1 190px;font-size:13px;font-weight:500}
#stRoot .stCatalogToolbar label:first-child{flex:2 1 240px}
#stRoot .stCatalogToolbar button{min-height:44px}
#stRoot .stAdditionalFilters{margin:0;padding:12px 0}
#stRoot .stAdditionalFilters>summary{font-size:13px;font-weight:600;min-height:32px;cursor:pointer;display:list-item;list-style-position:inside}
#stRoot .stCatalogPanel form>.stAdditionalFilters{padding:0 18px 14px}
#stRoot .stAdditionalFilters label{max-width:480px;font-size:13px}
#stRoot .stFilterSummary{padding:0 18px 12px}
#stRoot .stFilterSummary button{font-size:12px;padding:6px 10px;min-height:32px;background:#f4f5f6}
#stRoot .stProductColumns{display:grid;grid-template-columns:minmax(180px,2fr) 100px minmax(100px,1fr) 100px;gap:16px;padding:10px 18px 10px 82px;background:#f7f8f9;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;font-weight:600;color:#535d63}
#stRoot .stProductColumns span:last-child{text-align:right}
#stRoot .stProductRow{display:grid;grid-template-columns:48px minmax(130px,2fr) 100px minmax(100px,1fr) 100px;gap:16px;border:0;border-radius:0;border-bottom:1px solid #e9edef;padding:12px 18px;background:#fff;font-size:13px;min-height:76px}
#stRoot .stProductRow:hover{background:#f8f9fa}
#stRoot .stProductRow:last-child{border-bottom:0}
#stRoot .stProductMedia{width:48px;height:48px;border-radius:6px;border:1px solid #e1e5e7;background:#f7f8f9}
#stRoot .stProductName strong{font-size:14px;font-weight:600;line-height:1.4}
#stRoot .stProductName small{font-size:12px;font-weight:400;line-height:1.4}
#stRoot .stProductBadge{display:inline-flex;align-items:center;justify-self:start;border-radius:6px;font-size:12px;font-weight:500;color:#515b61;background:#eef0f2;padding:4px 8px;line-height:1.35}
#stRoot .stProductBadge.isPublished{background:#e3f2e8;color:#246744}
#stRoot .stProductBadge.isWarning{background:#fff3cd;color:#7a4f01}
#stRoot .stProductCategory{color:var(--muted);font-weight:400;font-size:13px}
#stRoot .stProductPrice{font-size:13px;font-weight:500}
#stRoot .stCatalogFooter{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
#stRoot .stCatalogFooter .stActions{margin:0;gap:6px}
#stRoot .stCatalogFooter button{min-height:36px;padding:7px 12px;font-size:12px}
#stRoot .stCollectionRow{display:grid;grid-template-columns:minmax(0,1fr) 100px 120px;gap:16px;align-items:center;padding:12px 18px;border-top:1px solid #e9edef}
#stRoot .stCollectionRow>button:first-child{text-align:left;border:0;padding:8px 0;background:transparent}
#stRoot .stCollectionRow strong{font-size:14px;font-weight:600}
#stRoot .stCollectionRow small{font-weight:400;font-size:12px}
#stRoot[data-editor]>.stHead{display:none}
#stRoot .stEditorBar{display:flex;align-items:center;gap:14px;margin:0 0 22px;padding:12px 0;position:sticky;top:0;z-index:5;background:#f1f2f3}
#stRoot .stEditorBar h2{font-size:22px;line-height:1.3;font-weight:650;min-width:0;flex:1}
#stRoot .stEditorBar>button[type=submit]{flex-shrink:0}
#stRoot .stBackButton{font-weight:500;background:transparent;border-color:transparent;padding:8px}
#stRoot .stEditorGrid{display:grid;grid-template-columns:minmax(0,2fr) minmax(265px,1fr);gap:22px;align-items:start}
#stRoot .stEditorMain,#stRoot .stEditorAside{min-width:0}
#stRoot .stEditorCard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:20px;min-width:0;box-shadow:0 1px 2px #202a3008}
#stRoot .stEditorCard>h3{font-size:15px;font-weight:650;margin:0 0 16px}
#stRoot .stEditorCard label{font-size:13px;font-weight:550;line-height:1.45}
#stRoot .stEditorCard input,#stRoot .stEditorCard textarea,#stRoot .stEditorCard select{font-size:14px;border-radius:8px;padding:10px 12px;line-height:1.45}
#stRoot .stEditorCard textarea{min-height:130px}
#stRoot .stHelp{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0;font-weight:400}
#stRoot .stEditorCard .stPhotos{margin:4px 0 16px}
#stRoot .stEditorCard .stPhotos img{width:100px;height:100px;object-fit:contain}
#stRoot .stMediaUpload{padding:20px;border:1px dashed #b8c2c8;border-radius:8px;justify-items:start;background:#fafbfc}
#stRoot .stMediaUpload input{padding:0;border:0;max-width:100%;background:transparent;font-size:12px}
#stRoot .stEditorCard .stOption{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 20px;margin:0 0 20px}
#stRoot .stEditorCard .stOption legend{font-size:13px;font-weight:650;margin-bottom:8px}
#stRoot .stEditorCard .stOption>p{font-size:12px;line-height:1.5;color:var(--muted)}
#stRoot .stTextButton{border:0;background:transparent;color:#17677a;font-size:13px;padding:8px 0;text-align:left}
#stRoot .stEditorCard .stCategoryClassification{border-top:1px solid var(--line);margin-top:16px;padding-top:8px}
#stRoot .stEditorCard h4{font-size:13px;font-weight:600;margin:10px 0 4px}
#stRoot .stCollectionPicker{border:1px solid var(--line);border-radius:8px;margin-top:12px}
#stRoot .stCollectionPicker>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:10px 12px;cursor:pointer;font-size:13px;list-style:none}
#stRoot .stCollectionPicker summary span{font-size:11px;color:var(--muted);font-weight:400}
#stRoot .stCollectionSearch{padding:0 10px;margin:2px 0 10px;font-size:12px}
#stRoot .stCollectionChoices{max-height:280px;overflow:auto;overscroll-behavior:contain;padding:0 4px 4px}
#stRoot label.stCollectionChoice{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;margin:0;padding:10px 8px;min-height:44px;border-radius:6px}
#stRoot .stCollectionChoice:hover{background:#f3f5f6}
#stRoot .stCollectionChoice input{width:18px;height:18px;min-width:18px;flex:0 0 18px;accent-color:#167389;padding:0;margin-top:1px}
#stRoot .stCollectionChoice small{margin:1px 0 0;font-size:11px}
#stRoot [data-collection-choice][hidden],#stRoot [data-collection-empty][hidden]{display:none}
#stRoot [data-collection-empty]{font-size:12px;padding:12px;color:var(--muted)}
#stRoot .stCollectionDialog{max-width:480px}
@media(max-width:900px){#stRoot .stProductCategory{display:none}#stRoot .stProductRow{grid-template-columns:48px minmax(0,1fr) 90px 90px}#stRoot .stProductColumns{grid-template-columns:minmax(0,1fr) 90px 90px}#stRoot .stProductColumns span:nth-child(3){display:none}#stRoot .stEditorGrid{grid-template-columns:minmax(0,1fr)}#stRoot .stEditorAside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:600px){#stRoot .stCatalogToolbar{padding:14px;gap:10px}#stRoot .stCatalogToolbar label,#stRoot .stCatalogToolbar label:first-child{flex:1 1 100%}#stRoot .stProductColumns{display:none}#stRoot .stProductRow{grid-template-columns:48px minmax(0,1fr) auto;gap:6px 12px;padding:14px}#stRoot .stProductMedia{grid-column:1;grid-row:1/3}#stRoot .stProductName{grid-column:2/4;grid-row:1}#stRoot .stProductBadge{grid-column:2;grid-row:2}#stRoot .stProductPrice{grid-column:3;grid-row:2;text-align:right}#stRoot .stCatalogFooter{padding:12px 14px}#stRoot .stEditorBar{top:62px;flex-wrap:wrap;gap:8px;margin-bottom:10px}#stRoot .stEditorBar h2{font-size:20px;flex-basis:calc(100% - 95px)}#stRoot .stEditorBar>.stPrimary{margin-left:auto}#stRoot .stEditorGrid{gap:0}#stRoot .stEditorAside{display:block}#stRoot .stEditorCard{padding:16px;margin-bottom:14px}#stRoot .stCollectionRow{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 14px}#stRoot .stCollectionRow>button:last-child{grid-column:1/-1;justify-self:start;font-size:12px}#stRoot .stCollectionChoice input{min-height:18px}#stRoot .stCatalogHeading .stActions{gap:6px}#stRoot .stCatalogHeading button{font-size:13px}}

body[data-store-mode="retail"] .side>.tag{display:none}
body[data-store-mode="retail"] .side>.brand{padding-bottom:20px;margin-bottom:12px;border-bottom:1px solid #dce2ee}
#stRoot .stStripeRequirements{margin:12px 0;padding-left:20px;font-size:13px;line-height:1.6}
#stRoot .stStripeRequirements li{padding:3px 0}
/* Let the document own scrolling so editor actions stick below the real header. */
body[data-store-mode="retail"] .main{overflow:visible;min-width:0}
@media(max-width:900px){
 body[data-store-mode="retail"] .side>.brand{padding-bottom:0;margin-bottom:0;border:0}
 #stRoot .stEditorBar{top:calc(56px + var(--sat))}
}
#stRoot .stPhotoTile{display:grid;justify-items:center;gap:4px;max-width:112px}
#stRoot .stPhotoTile button{min-height:36px;padding:6px 10px;font-size:12px;border-color:transparent;background:transparent;color:#52636c}

/* Optional wholesale workspace. Scoped to the existing store tool surface. */
.woNav{flex-wrap:wrap;margin-bottom:20px;gap:8px}
.woHeading{margin:20px 0 24px;max-width:720px}#stRoot .woHeading h3{font-size:30px;letter-spacing:-.025em;margin:6px 0 8px}.woHeading p{line-height:1.6}
.woEyebrow{font-size:11px;font-weight:750;letter-spacing:.1em;opacity:.7}
.woStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 24px}#stRoot .woStats .stCard{margin:0;display:flex;flex-direction:column;gap:12px;justify-content:space-between}.woStats strong{font-size:26px;letter-spacing:-.025em}.woStats span{font-size:13px;line-height:1.4}
.woQueues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}#stRoot .woQueues>.stCard{margin:0}.woQueues .stRow{width:100%;gap:16px}.woQueues .stRow>span{min-width:0;overflow-wrap:anywhere}
.woEmpty{padding:20px 0;opacity:.7}.woForm{max-width:880px}.woForm p{line-height:1.6}.woToggle{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;font-weight:650;padding:12px 0}.woToggle input{width:20px!important;height:20px!important;flex:0 0 20px}
@media(max-width:760px){.woStats{grid-template-columns:repeat(2,minmax(0,1fr))}.woQueues{grid-template-columns:1fr}#stRoot .woHeading h3{font-size:26px}.woNav button{min-height:44px}.woStats strong{font-size:23px}}

/* Private acquisition cost uses the same selling-unit basis as its price. */
#stRoot [data-product-cost]{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}
#stRoot .stProfitValues{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px}
#stRoot .stProfitValues span{display:flex;flex-direction:column;gap:4px;font-size:13px}
#stRoot .stProfitValues strong{font-size:18px}
#stRoot [data-product-profit]{min-height:48px}

/* Reuse product-media controls; collection art preserves its full aspect ratio. */
#stRoot .stCollectionImage{margin-block:24px}
#stRoot .stCollectionImage .stPhotos img{width:160px;height:120px;object-fit:contain}
#stRoot .stCollectionImage input[type=file]{max-width:100%}

/* Product and collection uploads share the existing editor's media controls. */
#stRoot .stImageDrop{border:1px dashed var(--border,#cbd5e1);border-radius:12px;padding:18px;margin:12px 0;background:var(--surface,#fff)}
/* The drop zone has one prompt and one button; the native input stays focusable but hidden, so no "No file chosen" text contradicts a photo that is already there. */
#stRoot .stImageDrop{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
#stRoot .stImageDrop .stDropLead{margin:0;font-weight:600}
#stRoot .stImageDrop .stHelp{flex-basis:100%;margin:2px 0 0}
#stRoot .stImageDrop .stMediaUpload{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:600;cursor:pointer;margin:0}
#stRoot .stImageDrop .stMediaUpload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
#stRoot .stImageDrop.isDragging{border-style:solid;border-color:var(--accent,#2b6875);background:var(--accent-soft,#eef7f8)}
#stRoot .stImageDrop:focus-within{outline:2px solid var(--accent,#2b6875);outline-offset:3px}
#stRoot .stImageDrop input{max-width:100%}

#stRoot .stCollectionPlacement{margin-top:24px;padding-top:20px;border-top:1px solid var(--border,#cbd5e1)}
/* One placement per row: department, section and its own Remove share a line, so Remove never floats between rows. */
#stRoot .stPlacementRow{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;padding:14px 0;margin:0;border-top:1px solid var(--border,#cbd5e1)}
#stRoot [data-placement-rows]{margin-top:12px}#stRoot [data-placement-rows]:empty{display:none}
#stRoot .stPlacementRow input{min-width:0;width:100%}
#stRoot .stPlacementRow label{margin:0}
#stRoot .stPlacementRemove{min-height:44px;padding:8px 4px;color:#9b2c2c}
#stRoot .stAddPlacement{margin-top:12px}
#stRoot [data-placement-status]:empty,#stRoot [data-image-status]:empty{display:none}
@media(max-width:600px){#stRoot .stPlacementRow{grid-template-columns:1fr;gap:8px}#stRoot .stPlacementRemove{justify-self:end}}

/* Dedicated store workspaces. Keep these surfaces within the dashboard's merchant and role boundaries. */
body[data-dedicated-store] {
  --store-ink: #152939;
  --store-muted: #526473;
  --store-line: #d6dfe3;
  --store-surface: #fff;
  --store-ground: #f5f7f8;
  --store-action: #154d56;
  --store-focus: #147883;
}
body[data-dedicated-store][data-view] {background:var(--store-ground)}
body[data-dedicated-store] .navi a[data-store-secondary] {padding-left:28px}
body[data-dedicated-store] .navi a:focus-visible {outline:2px solid var(--brand-focus, #183bd1);outline-offset:-2px}
#stRoot[data-store-workspace] {color:var(--store-ink);--line:var(--store-line);--muted:var(--store-muted)}
#stRoot[data-store-workspace] :is(input,select,textarea,button,summary):focus-visible {outline:3px solid var(--store-focus);outline-offset:2px}
#stRoot[data-store-workspace] button {border-radius:8px}
#stRoot[data-store-workspace] > .stHead h2,
#stRoot[data-store-workspace] .stQueueHeading h2 {font-size:2rem;line-height:1.14;letter-spacing:-.035em;font-weight:700}
#stRoot[data-store-workspace] > .stHead {margin-bottom:22px}
#stRoot[data-store-workspace] :is(.stHead,.stCard,.stSetupEntry) p {line-height:1.5}
#stRoot[data-store-workspace] .stList:has(> .stRow),
#stRoot[data-store-workspace] .stList:has(> article.stCard) {gap:0;background:var(--store-surface);border:1px solid var(--store-line);border-radius:12px}
#stRoot[data-store-workspace] .stList > :is(.stRow,article.stCard) {margin:0;border:0;border-bottom:1px solid var(--store-line);border-radius:0;padding:14px 18px}
#stRoot[data-store-workspace] .stList > :is(.stRow,article.stCard):first-child {border-radius:12px 12px 0 0}
#stRoot[data-store-workspace] .stList > :is(.stRow,article.stCard):last-child {border-bottom:0;border-radius:0 0 12px 12px}
#stRoot[data-store-workspace] .stList > :is(.stRow,article.stCard):only-child {border-radius:12px}
#stRoot[data-store-workspace] :is(.stCatalogPanel,.stEditorSection,.stSetupList) {border-color:var(--store-line);box-shadow:none}
#stRoot[data-store-workspace] .stSetupList {gap:0;background:#fff;border:1px solid var(--store-line);border-radius:12px;overflow:hidden}
#stRoot[data-store-workspace] .stSetupEntry {border:0;border-bottom:1px solid var(--store-line);border-radius:0;margin:0;padding:14px 18px;align-content:center}
#stRoot[data-store-workspace] .stSetupEntry:last-child {border-bottom:0}
#stRoot[data-store-workspace] .stSetupList .stSetupEntry:focus-visible {outline-offset:-3px}
#stRoot[data-store-workspace] :is(.stPrimary,[data-w-action="new-draft"],[data-w-form="draft"] button[type="submit"],[data-ca-action="customer-decision"][data-status="approved"]) {background:var(--brand-btn-bg, var(--store-action));border-color:var(--brand-btn-bg, var(--store-action));color:var(--brand-btn-fg, #fff);box-shadow:none}
#stRoot[data-store-workspace] :is(.stPrimary,[data-w-action="new-draft"],[data-w-form="draft"] button[type="submit"],[data-ca-action="customer-decision"][data-status="approved"]):hover {background:var(--brand-btn-hover, #103c43)}
#stRoot[data-store-workspace] :is([data-w-form="draft"],[data-w-form="customer"],[data-w-form="payment"]) {max-width:780px;padding:20px;background:#fff;border:1px solid var(--store-line);border-radius:12px}
#stRoot[data-store-workspace] [data-w-form="draft"] .stGrid {gap:12px}
#stRoot[data-store-workspace]:has(.stOrderQueue) > .stHead {display:none}
#stRoot[data-store-workspace]:has(.stOrderQueue) :is([data-message],[data-w-message]):empty {display:none}
#stRoot .stOrderQueue {color:var(--store-ink);max-width:100%;margin:0}
#stRoot .stQueueHeading {display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 24px}
#stRoot .stQueueHeading p {margin:6px 0 0;color:var(--store-muted);line-height:1.45;font-size:.95rem}
#stRoot .stAddOrder {display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;padding:10px 16px}
#stRoot .stAddOrder::before {content:"+";font-size:1.24rem;font-weight:400;line-height:1}
#stRoot .stQueuePanel {background:var(--store-surface);border:1px solid var(--store-line);border-radius:12px;box-shadow:0 2px 5px #18364708}
#stRoot .stQueueTools {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;justify-content:start;gap:10px;margin:0;padding:16px 18px}
#stRoot .stQueueTools:not(:has(.stQuietAction)) {grid-template-columns:minmax(0,1fr) auto}
#stRoot .stQueueSearch {display:flex;align-items:stretch;border:1px solid #bdcbd2;border-radius:8px;background:#fff;width:100%;max-width:390px}
#stRoot .stQueueSearch:focus-within {outline:2px solid var(--store-focus);outline-offset:1px}
#stRoot .stQueueSearch input {margin:0;min-width:0;flex:1;width:auto;min-height:44px;padding:8px 3px 8px 12px;background:transparent;border:0;border-radius:8px;font:inherit;color:var(--store-ink);outline:none}
#stRoot .stQueueSearch input::placeholder {color:#5a6b79;opacity:1}
#stRoot .stQueueSearch .stSearchButton {background:transparent;color:var(--store-muted);border:0;min-width:44px;padding:9px;box-shadow:none}
#stRoot .stQueueTools svg {width:18px;height:18px;flex:none;vertical-align:middle}
#stRoot .stQueueFilters {display:contents}
#stRoot .stQueueFilters summary {display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;margin:0;border:1px solid #bdcbd2;border-radius:8px;padding:9px 13px;min-height:44px;font-size:.9rem;font-weight:600;list-style:none;background:#fff}
#stRoot .stQueueFilters summary::-webkit-details-marker {display:none}
#stRoot .stQueueFilters[open] summary {background:#e9f2f2;color:#194b50;border-color:#8aaeb1}
#stRoot .stFilterPanel {grid-column:1/-1;grid-row:2;display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;border-top:1px solid var(--store-line);padding-top:12px}
#stRoot .stQueueFilters:not([open]) .stFilterPanel {display:none}
#stRoot .stFilterPanel label {margin:0;min-width:min(155px,100%);font-size:.85rem}
#stRoot .stFilterPanel select {margin-top:5px;font-size:.9rem;min-height:44px}
#stRoot .stQueueColumns,#stRoot .stQueueRow {display:grid;grid-template-columns:minmax(145px,2.1fr) minmax(102px,1.1fr) minmax(86px,1fr) minmax(78px,.8fr);align-items:center;gap:14px;text-align:left}
#stRoot .stQueueColumns {padding:10px 18px;background:#f0f4f5;border-block:1px solid var(--store-line);color:#415462;font-size:.79rem;line-height:1.3;font-weight:650}
#stRoot .stQueueRow {width:100%;border:0;border-radius:0;border-bottom:1px solid #e1e7ea;background:transparent;color:var(--store-ink);padding:14px 18px;min-height:68px;font-size:.94rem;line-height:1.35;font-weight:500}
#stRoot .stQueueRow:hover {background:#f4f9f9}
#stRoot .stQueueRow:focus-visible {outline-offset:-3px;position:relative}
#stRoot .stQueueIdentity {display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
#stRoot .stQueueIdentity strong {font-weight:650}
#stRoot .stQueueRow small {font-size:.8rem;line-height:1.4;color:var(--store-muted);margin:0;font-weight:450}
#stRoot .stQueueAmount,#stRoot .stQueueColumns span:last-child {text-align:right;font-variant-numeric:tabular-nums}
#stRoot .stQueueAmount,#stRoot .stQueueThird {font-variant-numeric:tabular-nums}
#stRoot .stQueueAmount {font-weight:650}
#stRoot .stState {display:inline-block;width:fit-content;max-width:100%;padding:4px 9px;border-radius:5px;background:#eaf0f2;color:#394e5b;font-weight:600;font-size:.79rem;line-height:1.35}
#stRoot .stState[data-tone="blue"] {background:#e5eff6;color:#265170}
#stRoot .stState[data-tone="amber"] {background:#faf0d7;color:#755016}
#stRoot .stState[data-tone="green"] {background:#def1e7;color:#24583c}
#stRoot .stQueueFooter {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:4px 12px;background:#fff;border-radius:0 0 12px 12px}
#stRoot .stQueueFooter nav {display:flex;align-items:center;gap:8px;color:var(--store-muted);font-size:.85rem}
#stRoot .stQueueFooter nav button {border:0;background:transparent}
#stRoot .stQuietAction {border:0;box-shadow:none;background:transparent;color:#285866;min-height:44px;padding:8px 7px;font-weight:600}
#stRoot .stQuietAction:hover {text-decoration:underline}
#stRoot .stQueueEmpty {border-block:1px solid var(--store-line);padding:32px 20px}
#stRoot .stQueueEmpty h3 {margin:0 0 5px;font-size:1.1rem}
#stRoot .stQueueEmpty p {margin:0;color:var(--store-muted);line-height:1.5}
#stRoot .stQueueNote {margin:0;padding:12px 20px;color:var(--store-muted);line-height:1.5;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
#stRoot .stQueueEmpty .stQueueNote {padding:12px 0 0}
#stRoot .stMobileLabel {display:none}
@media(max-width:650px) {
  #stRoot .stQueueHeading {margin:0 0 17px;align-items:flex-start;gap:10px}
  #stRoot .stQueueHeading h2,#stRoot[data-store-workspace]>.stHead h2 {font-size:1.72rem}
  #stRoot .stQueueHeading p {margin-top:5px;font-size:.89rem}
  #stRoot .stQueueTools,#stRoot .stQueueTools:not(:has(.stQuietAction)) {grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px}
  #stRoot .stQueueSearch input {font-size:.9rem}
  #stRoot .stQueueFilters summary {padding:8px 10px}
  #stRoot .stQueueTools>.stQuietAction {grid-column:1/-1;justify-self:start}
  #stRoot .stQueueColumns {display:none}
  #stRoot .stQueueRows {border-top:1px solid var(--store-line)}
  #stRoot .stQueueRow {grid-template-columns:minmax(0,1fr) minmax(85px,auto);grid-template-areas:"identity amount" "state third";gap:9px 12px;padding:14px}
  #stRoot .stQueueIdentity {grid-area:identity}
  #stRoot .stQueueState {grid-area:state}
  #stRoot .stQueueThird {grid-area:third;text-align:right;color:var(--store-muted);font-size:.82rem}
  #stRoot .stQueueAmount {grid-area:amount;align-self:start}
  #stRoot .stQueueAmount .stMobileLabel {display:block;font-size:.73rem;font-weight:450;color:var(--store-muted)}
  #stRoot .stQueueThird .stMobileLabel {display:inline}
  #stRoot[data-store-workspace] :is([data-w-form="draft"],[data-w-form="customer"],[data-w-form="payment"]) {padding:14px}
}

#stRoot[data-store-workspace] .stQueueRow {border-radius:0}
#stRoot .stQueueThird > small {display:block}
#stRoot[data-store-workspace] .stSetupList {grid-template-columns:minmax(0,1fr)}
#stRoot .stUnitReview {display:flex;gap:16px;align-items:center;justify-content:space-between;background:#fbf5e8;border:1px solid #dfcfaa;border-radius:10px;padding:16px;margin:12px 0 16px;color:#503e20}
#stRoot .stUnitReview p {margin:4px 0 0;line-height:1.45}
#stRoot .stUnitReview button {flex-shrink:0}
#stRoot[data-store-workspace] .stOrderDetailHead .stActions {align-self:center}
#stRoot[data-store-workspace] .stOrderDetailHead [data-state="canceled"] {background:transparent;border-color:transparent;color:#84453d}
@media(max-width:650px) {
  #stRoot .stUnitReview {align-items:flex-start;flex-direction:column;gap:10px}
  #stRoot .stQueueSearch input {width:0}
}

#stRoot .stQueueLocation {display:block;color:var(--store-muted);font-size:.88rem;margin-bottom:4px}
#stRoot .stQueueLocation:empty,body:has(#locSwitch option+option) #stRoot .stQueueLocation,
body[data-dedicated-store]:has(#locSwitch option+option) #stRoot>.stHead .stLocationName {display:none}
body[data-dedicated-store][data-view] .main>.top:has(>.ah-dashboard) {display:flex;align-items:center;gap:10px;margin-bottom:20px}
body[data-dedicated-store] .main>.top:has(>.ah-dashboard)>div {display:none}
body[data-dedicated-store] .main>.top>.ah-dashboard {position:static;margin-left:auto;min-height:44px;padding:8px 12px;background:#fff;border:1px solid var(--store-line);border-radius:8px;color:var(--brand-btn-bg, var(--store-action));box-shadow:none;white-space:nowrap}
body[data-dedicated-store] .main>.top>.ah-dashboard:focus-visible {outline:3px solid var(--brand-focus, var(--store-focus));outline-offset:2px}
body[data-dedicated-store][data-view] .main>.top:has(>.ah-dashboard) #locSwitch {width:auto;min-width:0;max-width:calc(100% - 114px)}
#stRoot[data-store-workspace] .stIntake {max-width:780px}
#stRoot[data-store-workspace] .stIntake h3 {font-size:1.4rem;margin:14px 0 4px}
#stRoot[data-store-workspace] .stIntake h4 {font-size:1rem;margin:20px 0 8px}
#stRoot[data-store-workspace] .stIntake [data-w-form="option-search"] {display:flex;align-items:flex-end;gap:10px;margin:14px 0 8px}
#stRoot[data-store-workspace] .stIntake [data-w-form="option-search"] label {flex:1;margin:0}
#stRoot[data-store-workspace] .stIntake [data-w-form="option-search"] button {white-space:nowrap;height:46px}
#stRoot[data-store-workspace] .stIntake .stRequestedLine {margin:0}
#stRoot[data-store-workspace] .stIntake .stRequestedLine label {max-width:180px}
#stRoot[data-store-workspace] .stIntake .stRequestedLine [data-w-action="remove-option"] {background:transparent;border-color:transparent;color:#84453d}
#stRoot[data-store-workspace] [data-w-action="orders"]:has(+[data-w-message]),
#stRoot[data-store-workspace] [data-w-action="customers"]:has(+[data-w-message]) {padding-left:0;background:transparent;border-color:transparent;color:var(--store-action)}
#stRoot[data-store-workspace] [data-w-action="orders"]:has(+[data-w-message])::before,
#stRoot[data-store-workspace] [data-w-action="customers"]:has(+[data-w-message])::before {content:"‹ ";font-size:1.15em}

/* Small inactive tab labels and the account control must still be legible on mobile and keyboard. */
body[data-dedicated-store] #sidebarSignOut:focus-visible {outline:2px solid var(--brand-focus, #183bd1);outline-offset:-2px}

/* Product photo editing is scoped to the gallery draft and its comparison dialog. */
#stRoot .stPhotos:has(.stPhotoTile) {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,158px),1fr));align-items:start;gap:12px}
#stRoot .stPhotos .stPhotoTile {display:grid;justify-items:stretch;gap:8px;min-width:0;max-width:none;padding:10px;border:1px solid var(--line,#cbd6da);border-radius:10px}
#stRoot .stPhotos .stPhotoTile img {width:100%;height:132px;object-fit:contain;background:white;border:0}
#stRoot .stPhotoTileActions {display:flex;flex-wrap:wrap;gap:3px 6px}
#stRoot .stPhotoTileActions button {display:inline-flex;align-items:center;padding:6px 8px;min-height:44px;line-height:1.25}
#stRoot .stPhotoTileActions [data-action="product-photo-remove"] {color:#674442;border-color:transparent;background:transparent}
#stRoot .stEnhancePhoto {width:min(740px,calc(100vw - 24px));max-width:100%;max-height:calc(100dvh - 28px);box-sizing:border-box;margin:auto;padding:24px;overflow:auto;overscroll-behavior:contain;background:#fff;color:#172d37;border:1px solid #c8d4d8;border-radius:14px;font:inherit}
#stRoot .stEnhancePhoto::backdrop {background:#13232dc4}
#stRoot .stEnhancePhoto header,#stRoot .stEnhancePhoto footer {display:flex;align-items:center;justify-content:space-between;gap:12px}
#stRoot .stEnhancePhoto header h2 {font-size:1.65rem;line-height:1.15;letter-spacing:-.02em;margin:0}
#stRoot .stEnhancePhoto [data-close] {padding:0;width:44px;min-height:44px;border:0;background:transparent;color:#28414d;font-size:1.6rem}
#stRoot .stEnhancePhoto [data-product-name] {margin:0 0 15px;color:#536773}
#stRoot .stPhotoComparison {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#stRoot .stPhotoComparison figure {margin:0;min-width:0}
#stRoot .stPhotoComparison figcaption {margin:0 0 6px;font-weight:650}
#stRoot .stEnhanceStage {display:grid;place-items:center;aspect-ratio:1;overflow:hidden;background:#fff;border:1px solid #cbd6da;border-radius:10px}
#stRoot .stEnhanceStage :is(img,canvas) {display:block;width:100%;height:100%;object-fit:contain}
#stRoot .stEnhanceStage img:not([src]) {visibility:hidden}
#stRoot .stEnhanceOptions {display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 20px;margin-top:17px}
#stRoot .stEnhanceOptions label {display:flex;align-items:center;gap:8px;margin:0;min-height:42px}
#stRoot .stEnhanceOptions [type="checkbox"] {width:19px;height:19px;accent-color:#154d56}
#stRoot .stEnhanceOptions [type="range"] {grid-column:1/-1;min-height:44px;padding:0;accent-color:#154d56;cursor:pointer}
#stRoot .stEnhanceOptions output {font-variant-numeric:tabular-nums;color:#4f6370}
#stRoot .stEnhancePhoto [role="status"] {margin:9px 0 15px;color:#415864;line-height:1.45}
#stRoot .stEnhancePhoto footer {border-top:1px solid #d7e0e3;padding-top:14px;justify-content:flex-end}
#stRoot .stEnhancePhoto [data-apply] {background:#154d56;border-color:#154d56;color:white}
#stRoot .stEnhancePhoto :is(button,input):focus-visible {outline:3px solid #147883;outline-offset:2px}
@media(max-width:520px) {
  #stRoot .stEnhancePhoto {padding:14px}
  #stRoot .stPhotoComparison {gap:8px}
  #stRoot .stPhotoComparison figcaption,#stRoot .stEnhanceOptions label {font-size:.87rem}
  #stRoot .stEnhancePhoto header h2 {font-size:1.4rem}
  #stRoot .stEnhanceOptions {gap:4px}
}

#stRoot .stEnhanceOptions {grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
#stRoot .stEnhanceScale label {justify-content:space-between;min-height:30px}
#stRoot .stEnhanceScale {min-width:0}
@media(max-width:520px) {
  #stRoot .stEnhanceOptions {grid-template-columns:minmax(0,1fr);gap:4px}
  #stRoot .stEnhanceOptions .stEnhanceCut {min-height:44px}
}

/* Order photos (store-orders.js). Fixed square tiles so rows never jump when photos arrive. */
#stRoot .stPrintButton {display:inline-flex;align-items:center;gap:8px}
#stRoot .stPrintButton svg {width:18px;height:18px;flex:none}
#stRoot :is(.stOrderThumb,.stLinePhoto) {position:relative;display:grid;place-items:center;flex:none;box-sizing:border-box;background:#eef2f4;border:1px solid #dfe5e8;border-radius:7px}
#stRoot :is(.stOrderThumb,.stLinePhoto)[data-ready] {background:#fff}
#stRoot .stOrderThumb {width:48px;height:48px}
#stRoot .stLinePhoto {width:56px;height:56px}
#stRoot :is(.stOrderThumb,.stLinePhoto) img {display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
#stRoot .stPhotoEmpty {display:grid;place-items:center;width:100%;height:100%;color:#7b8c96;background:#f4f6f7;border-radius:6px}
#stRoot .stPhotoEmpty svg {width:20px;height:20px}
#stRoot .stThumbCount {position:absolute;right:-6px;bottom:-6px;min-width:20px;padding:1px 5px;box-sizing:border-box;border:2px solid #fff;border-radius:999px;background:var(--store-ink,#152939);color:#fff;font-size:.68rem;font-weight:650;line-height:1.35;text-align:center;font-variant-numeric:tabular-nums}
#stRoot .stQueueColumns.stQueueWithPhotos,#stRoot .stQueueWithPhotos .stQueueRow {grid-template-columns:48px minmax(145px,2.1fr) minmax(102px,1.1fr) minmax(86px,1fr) minmax(78px,.8fr)}
#stRoot .stRow>.stOrderThumb+span {flex:1}
#stRoot .stOrderLine {display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:center}
#stRoot .stOrderLine .stLineText strong {display:block;font-weight:650}
#stRoot .stOrderLine .stLineText small {margin-top:3px}
#stRoot .stOrderLine>strong {font-variant-numeric:tabular-nums;text-align:right}
#stRoot .stOrderDetailHead {align-items:flex-start}
#stRoot .stQueueFooterTools {display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px}
@media(max-width:650px) {
  #stRoot .stQueueWithPhotos .stQueueRow {grid-template-columns:48px minmax(0,1fr) minmax(85px,auto);grid-template-areas:"thumb identity amount" "thumb state third"}
  #stRoot .stQueueWithPhotos .stOrderThumb {grid-area:thumb;align-self:start}
  #stRoot .stOrderLine {grid-template-columns:48px minmax(0,1fr) auto;gap:12px}
  #stRoot .stLinePhoto {width:48px;height:48px}
}

/* Printed order sheets. #arcOrderPrint is a direct child of <body>, hidden on screen; while
   body.arcPrintingOrders is set, printing shows that sheet and nothing else. Black on white,
   borders rather than fills, so it stays legible on a monochrome office printer. */
#arcOrderPrint {display:none}
@media print {
  @page {size:letter;margin:.5in}
  body.arcPrintingOrders {display:block!important;min-height:0!important;background:#fff!important}
  body.arcPrintingOrders>:not(#arcOrderPrint) {display:none!important}
  body.arcPrintingOrders>#arcOrderPrint {display:block}
}
#arcOrderPrint {color:#000;background:#fff;font:9.5pt/1.38 'Geist',-apple-system,BlinkMacSystemFont,Arial,Helvetica,sans-serif;-webkit-print-color-adjust:exact;print-color-adjust:exact}
#arcOrderPrint .arcSheet {break-after:page}
#arcOrderPrint .arcSheet:last-child {break-after:auto}
#arcOrderPrint .arcSheetHead {display:flex;justify-content:space-between;align-items:flex-start;gap:24pt;padding-bottom:10pt;border-bottom:1.5pt solid #000}
#arcOrderPrint .arcShop strong {display:block;margin-bottom:2pt;font-size:15pt;line-height:1.15;font-weight:700}
#arcOrderPrint .arcShop span {display:block;color:#222}
#arcOrderPrint .arcDoc {text-align:right}
#arcOrderPrint .arcDoc h1 {margin:0 0 2pt;font-size:10pt;font-weight:600;color:#222}
#arcOrderPrint .arcDoc p {margin:0}
#arcOrderPrint .arcDoc .arcNumber {font-size:17pt;line-height:1.15;font-weight:700;letter-spacing:-.01em;color:#000}
#arcOrderPrint .arcDoc .arcStatus {margin-top:3pt;font-weight:700}
#arcOrderPrint .arcParties {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16pt;margin:12pt 0 14pt}
#arcOrderPrint h2 {margin:0 0 3pt;font-size:7.5pt;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#333}
#arcOrderPrint .arcParties p {margin:0;overflow-wrap:anywhere}
#arcOrderPrint .arcLines {width:100%;border-collapse:collapse}
#arcOrderPrint .arcLines thead {display:table-header-group}
#arcOrderPrint .arcLines th {padding:0 4pt 4pt;border-bottom:1pt solid #000;font-size:7.5pt;font-weight:700;text-transform:uppercase;letter-spacing:.05em;text-align:left;white-space:nowrap}
#arcOrderPrint .arcLines th.arcNum {text-align:right}
/* Repeats above the column heads on every page, so a continuation page still names its order. */
#arcOrderPrint .arcLines .arcRepeat th {padding:0 0 3pt;border:0;font-size:8pt;font-weight:600;text-transform:none;letter-spacing:0;color:#333}
#arcOrderPrint .arcLines td {padding:5pt 4pt;border-bottom:.5pt solid #9a9a9a;vertical-align:middle}
#arcOrderPrint .arcLines tr {break-inside:avoid}
#arcOrderPrint .arcCheck {width:.42in;text-align:center}
#arcOrderPrint .arcBox {display:inline-block;width:11pt;height:11pt;border:1pt solid #000;border-radius:1.5pt;vertical-align:middle}
#arcOrderPrint .arcPhoto {width:.62in}
#arcOrderPrint .arcPhoto img,#arcOrderPrint .arcPhotoEmpty {display:grid;place-items:center;width:.55in;height:.55in;object-fit:contain;box-sizing:border-box}
#arcOrderPrint .arcPhotoEmpty {border:.5pt dashed #8a8a8a;color:#777}
#arcOrderPrint .arcPhotoEmpty svg {width:13pt;height:13pt}
#arcOrderPrint .arcItem strong {display:block;font-size:10pt;font-weight:650}
#arcOrderPrint .arcItem span {display:block;margin-top:1pt;font-size:8.5pt;color:#333}
#arcOrderPrint .arcUnit {width:1in}
#arcOrderPrint .arcNum {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#arcOrderPrint td.arcQty {font-size:12pt;font-weight:700}
#arcOrderPrint .arcSheetFoot {display:flex;justify-content:space-between;align-items:flex-start;gap:24pt;margin-top:10pt;break-inside:avoid}
#arcOrderPrint .arcNotes {max-width:4.2in}
#arcOrderPrint .arcCount {margin:0 0 8pt;font-weight:600}
#arcOrderPrint .arcNoteText {margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
#arcOrderPrint .arcTotals {min-width:2.5in;border-collapse:collapse;font-variant-numeric:tabular-nums}
#arcOrderPrint .arcTotals th {padding:2pt 14pt 2pt 0;font-weight:400;text-align:left}
#arcOrderPrint .arcTotals td {padding:2pt 0;text-align:right;white-space:nowrap}
#arcOrderPrint .arcTotals .arcStrong :is(th,td) {font-weight:700}
#arcOrderPrint .arcTotals .arcTotalRow :is(th,td) {border-top:1pt solid #000;padding-top:4pt}
#arcOrderPrint .arcTotals tr:last-child.arcStrong :is(th,td) {font-size:11pt}
#arcOrderPrint .arcSign {display:grid;grid-template-columns:repeat(auto-fit,minmax(1.3in,1fr));gap:16pt;margin-top:26pt;break-inside:avoid}
#arcOrderPrint .arcSign span {display:block;font-size:8pt;color:#333}
#arcOrderPrint .arcSign .arcLine {height:20pt;margin-bottom:3pt;border-bottom:1pt solid #000}
#arcOrderPrint .arcPrinted {margin-top:16pt;padding-top:4pt;border-top:.5pt solid #b5b5b5;font-size:7.5pt;color:#444}
#arcOrderPrint .arcHidden {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
