
:root{--ws-lime:#d4fa55;--shell-navy:#111c2c}
body .topbar{position:sticky!important;top:0!important;display:flex!important;height:68px!important;min-height:68px!important;padding:10px 24px!important;gap:20px!important;background:#111c2c!important;color:white!important;box-shadow:0 1px 0 #ffffff18!important;z-index:40;pointer-events:auto!important;transform:none!important;opacity:1!important}
body .topbar .products{display:none!important}
body .topbar .brand-motion{width:176px!important;height:43px!important}
body .topbar .brand-logo{width:176px!important;max-width:none!important}
body .topbar .header-end{display:flex!important;align-items:center;gap:12px!important;margin-left:auto;height:44px!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}
.header-design-name{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:240px;color:#dbe6ee}
.topbar button,.topbar a{font:inherit;font-size:14px}
.topbar .save-progress,.studio-menu-button{min-height:44px;border:1px solid #ffffff40;border-radius:8px;padding:9px 14px;background:transparent;color:white;cursor:pointer;white-space:nowrap}
.topbar .save-progress{background:#d4fa55;border-color:#d4fa55;color:#111c2c;font-weight:700}
.topbar .save-progress[data-saved=true]{background:transparent;border-color:transparent;color:#d4fa55}
.topbar .save-progress:disabled{opacity:.75;cursor:progress}
.topbar .desktop-designs{color:white;text-decoration:none;white-space:nowrap;padding:10px 0}
.topbar .cart-button{border:1px solid #ffffff40;border-radius:8px;background:transparent;min-height:44px;color:white;padding:8px 12px}
.topbar .save-feedback:empty{display:none}
.topbar .save-feedback:not(:empty){position:absolute;top:100%;right:12px;width:min(430px,calc(100vw - 24px));padding:12px 16px;background:#fff5df;color:#633e00;border:1px solid #ead4a2;border-radius:8px;font-size:14px;box-shadow:0 4px 16px #111c2c20}
.studio-menu{position:absolute;right:16px;top:calc(100% + 8px);width:min(300px,calc(100vw - 32px));padding:12px;background:white;color:#111c2c;border:1px solid #d5dfe7;border-radius:12px;box-shadow:0 12px 40px #111c2c30;max-height:calc(100dvh - 88px);overflow:auto;display:grid;gap:3px}
.studio-menu[hidden]{display:none!important}
.studio-menu a,.studio-menu button,.studio-menu summary{display:block;width:100%;min-height:44px;padding:12px;text-decoration:none;text-align:left;font:inherit;font-size:14px;border:0;background:transparent;color:#111c2c;cursor:pointer;border-radius:6px}
.studio-menu .menu-person{padding:10px 12px;border-bottom:1px solid #e5ebef;margin-bottom:5px}
.studio-menu a:hover,.studio-menu button:hover,.studio-menu summary:hover{background:#f0f4f6}
.studio-menu #reset{color:#973c32!important;margin:0!important}
.studio-menu .design-options{border-top:1px solid #e5ebef;margin-top:5px;padding-top:4px}
.studio-menu #language{border-top:1px solid #e5ebef}
.studio-shell .studio-footer{display:flex;justify-content:center;gap:24px;padding:22px 16px;border-top:1px solid #dce4eb;color:#506778;font-size:13px}
.studio-footer>button{padding:8px 0;min-height:44px;background:none;border:0;color:inherit;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
body .flow-actions{box-shadow:0 -2px 12px #111c2c0a;border-top:1px solid #dbe4eb;gap:12px;padding:12px 20px calc(12px + env(safe-area-inset-bottom))}
.flow-actions .primary-button{border-radius:8px;min-height:46px}
.flow-actions .secondary-button{border-radius:8px;min-height:46px}
.compact-step{display:none}
.preview-panel .breadcrumb-strip button.active{background:#d4fa55!important;color:#111c2c!important;box-shadow:none!important}
.preview-panel .breadcrumb-strip button.active::before{display:none!important}
.matching-cart-detail:empty{display:none}
.matching-cart-detail{padding:10px 12px;border-radius:8px;background:#eef4e2}
.topbar :focus-visible,.compact-step:focus-visible{outline:3px solid #d4fa55;outline-offset:3px}
.workspace-header{position:sticky;top:0;z-index:20;min-height:68px;padding-top:10px;padding-bottom:10px;background:#111c2c}
.workspace-header img{width:176px}
.design-card-preview{display:block;width:100%;height:230px;object-fit:contain;background:#edf2f5;border-radius:10px;margin-bottom:14px}
.ws-card .design-card-preview[hidden]{display:none}
.workspace-page .workspace-header button{background:transparent;color:white;border-color:#ffffff50}
@media(max-width:1000px){.header-design-name{display:none}.topbar .desktop-designs{display:none}}
@media(max-width:740px){
 body .topbar{height:56px!important;min-height:56px!important;padding:6px 10px!important;gap:8px!important}
 body .topbar .brand{flex:0 0 37px!important;overflow:hidden;min-width:37px}
 body .topbar .brand-motion{width:37px!important;height:40px!important}
 body .topbar .brand-logo{width:164px!important}
 body .topbar .header-end{gap:7px!important;margin-left:auto!important}
 .topbar .save-progress,.studio-menu-button{font-size:13px;padding:8px 9px}
 .topbar .cart-button{font-size:13px;padding:8px}
 .studio-shell .preview-panel.mobile-live{height:220px!important;grid-template-columns:minmax(0,1fr) 114px;grid-template-rows:minmax(0,1fr) 30px 40px;top:var(--sticky-header-height)!important;padding:6px 10px 0!important}
 .studio-shell .preview-panel.mobile-expanded{height:min(400px,55dvh)!important}
 .studio-shell .preview-panel .compact-step{display:block;grid-column:1/-1;grid-row:3;width:calc(100% + 20px);margin-left:-10px;border:0;border-top:1px solid #c7d3dd;background:#d4fa55;color:#111c2c;text-align:left;padding:9px 14px;min-height:40px;font:600 14px var(--font-ui)}
 .studio-shell .preview-panel .breadcrumb-strip{display:none!important}
 .studio-shell.step-list-open .preview-panel .breadcrumb-strip{display:grid!important;position:absolute;left:0;top:100%;width:100%;margin:0;padding:8px;grid-template-columns:1fr;gap:3px;max-height:40dvh;overflow:auto;background:white;box-shadow:0 8px 24px #111c2c30;z-index:35}
 .studio-shell.step-list-open .preview-panel .breadcrumb-strip button{width:100%;height:44px;min-height:44px;clip-path:none;flex-direction:row;justify-content:flex-start;gap:12px;padding:10px 14px;border-radius:6px;background:#f1f4f7;color:#111c2c;font-size:14px}
 .studio-shell .controls{padding-top:16px}
 .studio-shell.shell-keyboard .preview-panel.mobile-live{height:140px!important;grid-template-columns:minmax(0,1fr) 90px}
 .studio-shell.shell-keyboard .flow-actions{display:none!important}
 body .flow-actions{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
 .flow-actions button{font-size:14px!important}
 .workspace-header{padding:10px 14px;align-items:center}
 .workspace-header img{width:130px}
 .workspace-header nav{gap:8px;font-size:13px}
}

.design-card-placeholder{height:160px;border-radius:10px;background:#edf2f5;color:#597083;display:grid;place-items:center;margin-bottom:14px;font-size:14px}

body .flow-actions .primary-button{background:#d4fa55;color:#111c2c;border:1px solid #c7ee45;font-weight:750}
body .flow-actions .primary-button:hover{background:#c9ed48}
.account-menu{position:relative}
.account-menu>summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center;border:1px solid #ffffff50;border-radius:8px;padding:8px 12px}
.account-menu>div{position:absolute;right:0;top:calc(100% + 10px);background:#111c2c;padding:12px;min-width:180px;border-radius:10px;box-shadow:0 8px 24px #0003;display:grid;gap:12px}
.workspace-page .ws-tabs{position:relative}
@media(max-width:740px){.workspace-header>a{width:37px;overflow:hidden}.workspace-header img{width:164px;max-width:none}.workspace-header{height:56px;padding:6px 10px}.workspace-header nav{align-items:center}.workspace-header nav>a{padding:10px 4px}}

/* Account navigation is identical across the studio and account pages. */
.account-dropdown{position:relative;flex:0 0 auto}
.topbar .account-toggle,.workspace-header .account-toggle{min-height:44px;padding:8px 12px;border:1px solid #ffffff50;border-radius:8px;background:transparent;color:white;white-space:nowrap;font:600 14px var(--font-ui);cursor:pointer}
.account-dropdown .account-panel{position:absolute;top:calc(100% + 10px);right:0;display:grid!important;gap:2px!important;align-items:stretch!important;justify-content:stretch!important;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 90px);overflow:auto;padding:10px;background:#fff;color:#111c2c;border:1px solid #d5dfe7;border-radius:12px;box-shadow:0 12px 32px #111c2c30;z-index:60;font:14px/1.4 var(--font-ui);text-align:left}
.account-dropdown .account-panel[hidden]{display:none!important}
.account-panel .account-person{display:block;padding:12px;border-bottom:1px solid #e1e8ee;margin-bottom:4px}
.account-dropdown .account-panel>a,.account-dropdown .account-panel>button{display:block;width:100%;min-height:44px;padding:12px;margin:0;border:0;border-radius:6px;background:transparent;color:#111c2c;font:inherit;text-decoration:none;text-align:left;cursor:pointer}
.account-dropdown .account-panel>a:hover,.account-dropdown .account-panel>button:hover{background:#eff4f7}
.account-dropdown .account-panel [aria-current=page]{background:#f0f7df;font-weight:700}
.account-panel hr{width:100%;border:0;border-top:1px solid #e1e8ee;margin:6px 0}
.account-panel [data-account-destination=signout]{color:#596a79}
.account-panel :focus-visible{outline:2px solid #111c2c;outline-offset:-2px}
.save-progress-status{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;color:#d4fa55;font-size:14px;white-space:nowrap;cursor:default}
.save-progress-status:focus{outline:none}
.design-context{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px;position:relative;z-index:21}
.current-design-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;color:#577083}
.current-design-actions{position:relative;flex:0 0 auto}
.design-actions-toggle{font:600 13px/1.3 var(--font-ui);min-height:44px;padding:8px 10px;border:1px solid #d7e1e9;border-radius:8px;background:#fff;color:#111c2c;white-space:nowrap}
.current-design-menu{display:flex;flex-direction:column;position:absolute;right:0;top:calc(100% + 6px);width:min(235px,calc(100vw - 40px));padding:8px;background:white;border:1px solid #d5dfe7;border-radius:10px;box-shadow:0 8px 24px #111c2c25;z-index:25}
.current-design-menu[hidden]{display:none!important}
.current-design-menu>button{display:block;width:100%;min-height:44px;padding:12px;border:0;border-radius:6px;margin:0!important;font:14px/1.4 var(--font-ui);background:white;color:#111c2c;text-align:left;text-decoration:none}
.current-design-menu>button:hover{background:#eff4f7}
.current-design-menu>#reset{border-top:1px solid #e2e8ed;border-radius:0;color:#973c32!important}
@media(max-width:740px){
 .topbar .account-toggle,.workspace-header .account-toggle{font-size:13px;padding:8px}
 .save-progress-status{font-size:13px;padding:8px 3px;max-width:120px;overflow:hidden;text-overflow:ellipsis}
 .account-dropdown .account-panel{right:0}
 .design-context{margin-bottom:8px}
 .workspace-header #designerLink{font-size:12px;max-width:128px}
}
@media(max-width:350px){.save-progress-status{max-width:95px;display:block;line-height:28px}.topbar .cart-button{padding:8px 5px}.topbar .account-toggle{padding:8px 6px}}

body .topbar,body .topbar .header-end{flex-wrap:nowrap!important;align-items:center!important}
@media(max-width:350px){
 body .topbar{gap:5px!important;padding-left:8px!important;padding-right:8px!important}
 body .topbar .header-end{gap:4px!important}
 .topbar .save-progress{font-size:12px;padding:8px 7px}
 .topbar .cart-button{font-size:12px;padding:8px 5px}
 .topbar .account-toggle{font-size:12px;padding:8px 6px}
 .save-progress-status{font-size:12px;max-width:90px}
}

/* Scroll branding: retain the compact badge without an opaque header over the preview. */
body .topbar{transition:height .32s ease,min-height .32s ease,background-color .38s ease,box-shadow .38s ease}
body .topbar .brand-motion{transition:width .35s cubic-bezier(.2,.8,.2,1),height .35s ease}
body .topbar .brand-logo{transition:width .35s ease}
body .topbar .header-end{transition:opacity .24s ease,transform .3s ease,visibility .24s}
body .topbar.is-compact{height:56px!important;min-height:56px!important;background:transparent!important;box-shadow:none!important;pointer-events:none!important}
body .topbar.is-compact .brand{pointer-events:auto!important}
body .topbar.is-compact .brand-motion{width:37px!important;height:40px!important}
body .topbar.is-compact .brand-logo{width:164px!important}
body .topbar.is-compact .header-end{opacity:0!important;visibility:hidden!important;transform:translateY(-8px)!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce){body .topbar,body .topbar .brand-motion,body .topbar .brand-logo,body .topbar .header-end{transition:none!important}}

/* Match the action bar to the actual form column instead of approximate viewport widths. */
body .flow-actions,body.order-workspace .flow-actions{
 left:var(--designer-actions-left,0px);right:auto;width:var(--designer-actions-width,100%);
 padding:12px var(--designer-actions-pad-right,20px) calc(12px + env(safe-area-inset-bottom)) var(--designer-actions-pad-left,20px);
 display:grid;grid-template-columns:80px minmax(0,1fr);align-items:stretch;gap:12px;
}
body .flow-actions>button{width:100%;margin:0;min-height:52px;border-radius:10px;line-height:1.3;display:flex;align-items:center;justify-content:center}
body .flow-actions>button[hidden]{display:none!important}
body .flow-actions:has(>.secondary-button[hidden]){grid-template-columns:minmax(0,1fr)}
@media(max-width:740px){body .flow-actions,body.order-workspace .flow-actions{gap:10px;padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}}
/* Mobile keeps an opaque preview-colored strip so content cannot pass behind the badge. */
@media(max-width:740px){
 body .topbar.is-compact{background:#edf0f3!important;height:56px!important;min-height:56px!important}
}

/* Reclaim the mobile header area for the live garment preview, keeping its lower edge stable. */
@media(max-width:740px){
 body.header-compact .topbar.is-compact{background:transparent!important}
 .studio-shell.header-compact .preview-panel.mobile-live{top:0!important;height:276px!important}
 .studio-shell.header-compact .preview-panel.mobile-expanded{height:calc(min(400px,55dvh) + 56px)!important}
 .studio-shell.header-compact.shell-keyboard .preview-panel.mobile-live{height:196px!important}
 body.header-compact .studio,body.header-compact.order-workspace .studio{margin-top:calc(var(--designer-preview-height) - var(--sticky-header-height))}
}
@media(max-width:740px){
 .studio-shell.header-compact .preview-panel.mobile-live:not(.mobile-expanded){grid-template-columns:minmax(0,1fr) 78px}
 .studio-shell.header-compact .preview-panel .flow-camera button{font-size:12px;padding-left:5px;padding-right:5px}
}

.preview-control-icon{display:none}.mobile-preview-tools{display:contents}
@media(max-width:740px){
 .studio-shell .preview-panel.mobile-live,.studio-shell.header-compact .preview-panel.mobile-live:not(.mobile-expanded){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 44px 40px;gap:0}
 .studio-shell .preview-panel.mobile-live .canvas-wrap{grid-column:1;grid-row:1}
 .studio-shell .mobile-preview-tools{grid-column:1;grid-row:2;display:flex;align-items:center;justify-content:center;gap:8px}
 .studio-shell .mobile-preview-tools .flow-camera:not([hidden]){display:flex;flex-direction:row;gap:6px;align-items:center;margin:0;padding:0;background:none}
 .studio-shell .mobile-preview-tools .flow-camera button,.studio-shell .mobile-preview-tools .mobile-preview-expand{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:8px!important;border:0;border-radius:10px;background:transparent;color:var(--ink)}
 .studio-shell .mobile-preview-tools .flow-camera button[aria-pressed=true]{background:#e3edca}
 .studio-shell .mobile-preview-tools .mobile-preview-expand{background:transparent;border-left:1px solid #c8d2dc;border-radius:0;margin-left:6px}
 .studio-shell .mobile-preview-tools button:hover{background:#ffffffb3}
 .studio-shell .preview-control-icon{display:block;width:20px;height:20px}
 .studio-shell .preview-control-label{display:none}
 .studio-shell .preview-panel .compact-step{grid-column:1;grid-row:3}
}
/* Keep every design step visible as a compact chevron strip on mobile. */
@media(max-width:740px){
 .studio-shell .preview-panel .compact-step{display:none!important}
 .studio-shell .preview-panel .breadcrumb-strip,.studio-shell.step-list-open .preview-panel .breadcrumb-strip{display:grid!important;grid-template-columns:repeat(var(--step-count,7),minmax(0,1fr));grid-column:1;grid-row:3;position:static;inset:auto;width:calc(100% + 20px);margin:0 0 0 -10px;padding:0;height:40px;min-height:40px;max-height:40px;gap:0;overflow:hidden;background:#edf0f3;box-shadow:none}
 .studio-shell .preview-panel .breadcrumb-strip button,.studio-shell.step-list-open .preview-panel .breadcrumb-strip button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:calc(100% + 5px);height:40px;min-height:40px;padding:3px 5px 3px 7px;border:0;border-radius:0;background:var(--ink);color:white;font-size:8px;line-height:1.1;clip-path:polygon(0 0,calc(100% - 6px) 0,calc(100% - 1px) 50%,calc(100% - 6px) 100%,0 100%,5px 50%)}
 .studio-shell .preview-panel .breadcrumb-strip button:first-child{clip-path:polygon(0 0,calc(100% - 6px) 0,calc(100% - 1px) 50%,calc(100% - 6px) 100%,0 100%)}
 .studio-shell .preview-panel .breadcrumb-strip button:last-child{width:100%}
 .studio-shell .preview-panel .breadcrumb-strip button svg{width:14px;height:14px;flex:none}
 .studio-shell .preview-panel .breadcrumb-strip button.active{background:var(--lime);color:var(--ink);box-shadow:none}
 .studio-shell .preview-panel .breadcrumb-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
}

/* Secondary design management follows the active task on mobile. */
@media(max-width:740px){
 .studio-shell .controls>.design-context{margin:24px 0 0;padding-top:16px;border-top:1px solid var(--line)}
 .studio-shell .design-context .current-design-title{font-size:12px;color:var(--muted);font-weight:500}
 .studio-shell .design-context .design-actions-toggle{font-size:12px;background:transparent}
 .studio-shell .design-context .current-design-menu{top:auto;bottom:calc(100% + 8px)}
}

.sock-logo-section{margin:22px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sock-logo-section h3{margin:0 0 14px}.sock-logo-section .identity-logo-preview{max-height:120px;margin:16px auto;object-fit:contain}.sock-logo-section .panel-range{margin:14px 0}

/* Secondary design actions share the step heading instead of occupying a row. */
.flow-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:21;margin-bottom:16px}
.flow-title-row>.flow-title{margin:0;min-width:0}
.flow-title-row>.current-design-actions{margin-left:auto}
.flow-title-row .design-actions-toggle{width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;font-size:25px;line-height:1;color:var(--muted)}
.flow-title-row .design-actions-toggle:hover,.flow-title-row .design-actions-toggle[aria-expanded=true]{background:#e7edf2;color:var(--ink)}
.flow-title-row .current-design-menu{top:calc(100% + 6px);bottom:auto}
.flow-title-row #saveProgressStatus{display:none}

.uniform-shells-preview{position:absolute;right:26%;bottom:8%;z-index:2;width:22%;max-width:140px;padding:4px;border:1px solid #ccd6df;border-radius:10px;background:#f0f4f7;color:var(--ink);cursor:pointer}
.uniform-shells-preview canvas{display:block;width:100%;height:auto}.uniform-shells-preview span{display:block;font-size:12px}.uniform-shells-preview[hidden],.uniform-shell-review[hidden]{display:none!important}
.editing-uniform-shells #flow-step-0>:not(#uniformSetup),.editing-uniform-socks #matchingShellSet{display:none!important}
.editing-uniform-shells #matchingShellSet{display:block!important}.uniform-shell-review{margin:8px;max-width:280px}.uniform-shell-review canvas{width:100%;height:auto}
.team-input-table.with-shells{table-layout:fixed;width:100%}.team-input-table.with-shells td{min-width:0}.team-input-table.with-shells input,.team-input-table.with-shells select{width:100%;min-width:0}
@media(max-width:740px){.uniform-shells-preview{right:26%;bottom:4%;width:24%;max-width:75px;padding:1px}.uniform-shells-preview span{font-size:11px}.team-input-table.with-shells,.team-input-table.with-shells tbody{display:block}.team-input-table.with-shells thead{display:none}.team-input-table.with-shells tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:8px;margin:12px 0;padding:12px 8px;border:1px solid var(--line);border-radius:8px}.team-input-table.with-shells td{display:block;padding:0!important}.team-input-table.with-shells td::before{content:attr(data-label);display:block;font-size:12px;margin-bottom:6px}.team-input-table.with-shells td:last-child{grid-column:3;grid-row:1/4}.team-input-table.with-shells td:not(:last-child){grid-column:auto!important;grid-row:auto!important}.team-input-table.with-shells input,.team-input-table.with-shells select{font-size:16px}}

.uniform-preview-stack{display:flex;flex-direction:column;gap:8px;position:absolute;right:2%;bottom:8%;z-index:2;width:18%;max-width:110px}.uniform-preview-stack .uniform-socks-preview,.uniform-preview-stack .uniform-shells-preview{position:static;width:100%;max-width:none}.uniform-preview-stack button canvas,.uniform-preview-stack button img{width:100%;height:85px!important;aspect-ratio:auto!important;object-fit:contain}
@media(max-width:740px){.uniform-preview-stack{display:flex;flex-direction:column;gap:5px;position:absolute;right:4px;bottom:4px;z-index:2;width:54px;max-width:none}.uniform-preview-stack .uniform-socks-preview,.uniform-preview-stack .uniform-shells-preview{position:static;width:54px;max-width:none;min-height:44px;padding:1px}.uniform-preview-stack button canvas,.uniform-preview-stack button img{width:100%;height:43px!important;aspect-ratio:auto!important;object-fit:contain}.uniform-preview-stack button span{font-size:10px;line-height:13px;padding:0}}

.uniform-setup{margin:0 0 18px}.uniform-setup[hidden],.uniform-setup [hidden]{display:none!important}.uniform-setup>.uniform-set{margin:0}.uniform-addons{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px;padding:0;margin:0;border:0;min-width:0}.uniform-selector-legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.uniform-addons .uniform-toggle{min-height:48px;padding:10px;gap:8px;background:#fff;border-color:var(--line);font-size:13px;line-height:1.3}.uniform-addons .uniform-toggle.is-included{background:#f4f8eb;border-color:#c6d6b4}.uniform-addons .uniform-toggle span{min-width:0}.uniform-availability{font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.4}.uniform-garment-tabs{margin:12px 0 0}.uniform-garment-tabs button{min-height:44px;padding:9px 5px;font-size:14px}.uniform-garment-tabs button:focus-visible{outline:3px solid #6c8e12;outline-offset:2px}.uniform-setup .uniform-sock-editor{margin-top:16px}

/* Shell palette uses the same team swatches as lettering, with a custom fallback. */
.shell-colors{display:grid;gap:12px;margin:16px 0}.shell-color-field{min-width:0;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px}.shell-color-field legend{padding:0 4px;font-size:14px;font-weight:650}.shell-color-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.shell-custom-color{display:flex;align-items:center;gap:6px;font-size:12px;min-height:44px;cursor:pointer}.shell-custom-color input[type=color]{width:34px;height:34px;padding:2px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.shell-colors button:disabled,.shell-custom-color input:disabled{opacity:.5;cursor:wait}

/* Compact matching outline icons; preserve comfortable pointer/touch targets. */
.topbar .account-toggle,.workspace-header .account-toggle,.topbar .cart-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:7px 9px}
.header-action-icon{display:block;width:27px;height:27px;flex:none;pointer-events:none}
.account-chevron{width:9px;height:6px;flex:none;transition:transform .18s ease;pointer-events:none}
.account-toggle[aria-expanded="true"] .account-chevron{transform:rotate(180deg)}
.header-action-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@media(prefers-reduced-motion:reduce){.account-chevron{transition:none}}

.account-toggle .account-helmet{width:32px;height:32px;object-fit:contain;mix-blend-mode:screen;pointer-events:none}

.topbar .account-toggle,.workspace-header .account-toggle,.topbar .cart-button{border-color:transparent;box-shadow:none;background:transparent}


/* Order inclusion belongs beside player sizes; the design step only switches garments. */
.uniform-order-options{margin:0 0 18px}.uniform-order-options[hidden]{display:none!important}
.uniform-order-options .uniform-addons{grid-template-columns:repeat(2,minmax(0,1fr))}
.uniform-order-options legend{font-size:14px;font-weight:650;margin-bottom:10px;padding:0}
.uniform-order-options .uniform-toggle:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.uniform-setup>.uniform-garment-tabs{margin-top:0}

/* Reserve fixed navigation space once, after all page content and both footers. */
body.studio-shell{padding-bottom:calc(var(--designer-actions-height,80px) + var(--designer-keyboard-inset,0px) + 16px)}
body.studio-shell .controls{padding-bottom:24px}
body.studio-shell .studio-footer{padding-bottom:22px}
body.studio-shell .commerce-footer{margin:0;line-height:1.6}
body.studio-shell .commerce-footer a{display:inline-flex;align-items:center;min-height:44px}
body.studio-shell .flow-actions{background:var(--paper,#fff)}
/* One compact, branded footer for help, company information and policies. */
body.studio-shell .commerce-footer{margin:0;padding:28px max(24px,4.5vw) 18px;background:var(--ink);color:#e0e7ed;font-size:13px;line-height:1.5;border-top:2px solid var(--lime)}
.commerce-footer-top,.commerce-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;max-width:1500px;margin:0 auto}
.commerce-footer-top{padding-bottom:16px}
body.studio-shell .commerce-footer .footer-brand{min-height:44px;flex:0 0 auto;padding:4px 0}
.footer-brand img{display:block;width:152px;height:auto}
.footer-support,.footer-legal{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px}
body.studio-shell .commerce-footer .studio-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;padding:0;margin:0;border:0;color:inherit;font:inherit;letter-spacing:normal}
.commerce-footer #footerTools{display:contents}
body.studio-shell .commerce-footer a,.commerce-footer .studio-footer>button{min-height:44px;padding:8px 0;color:inherit;font:inherit;text-decoration:none;letter-spacing:normal;white-space:normal}
.commerce-footer .footer-support{font-weight:600}
.commerce-footer a:hover,.commerce-footer .studio-footer>button:hover{color:var(--lime);text-decoration:underline;text-underline-offset:5px}
.commerce-footer :is(a,button):focus-visible{outline-color:var(--lime)!important}
.commerce-footer-bottom{border-top:1px solid #ffffff20;padding-top:10px;color:#aab9c8;font-size:12px}
.footer-business{white-space:normal}.footer-business span{margin:0 5px}
@media(max-width:740px){
 body.studio-shell .commerce-footer{margin-top:0;padding:22px 24px 16px}
 .commerce-footer-top,.commerce-footer-bottom{align-items:flex-start;flex-direction:column;gap:10px}
 .commerce-footer-top{padding-bottom:12px}.footer-brand img{width:138px}
 .footer-support,.footer-legal,body.studio-shell .commerce-footer .studio-footer{gap:4px 18px}
 .commerce-footer-bottom{gap:2px}.footer-business{order:2;font-size:11px}
 .footer-legal{width:100%;justify-content:space-between;font-size:12px}
}

/* Desktop navigation stops at the designer boundary; mobile remains viewport-fixed. */
@media(min-width:741px){
 body.studio-shell{padding-bottom:0}
 body.studio-shell .controls{align-self:stretch;padding-bottom:calc(var(--designer-actions-height,80px) + 24px)}
 body.studio-shell .flow-actions{bottom:var(--designer-actions-bottom,0px)}
}

@media(min-width:741px){body.studio-shell .commerce-footer{margin-top:32px}}
/* Preserve layout while revealing the footer only when the reader reaches the end. */
.commerce-footer.footer-reveal{opacity:0;pointer-events:none;transition:opacity .24s ease}
.commerce-footer.footer-reveal.is-revealed,.commerce-footer.footer-reveal:focus-within{opacity:1;pointer-events:auto}
@media(prefers-reduced-motion:reduce){.commerce-footer.footer-reveal{transition:none}}
