:root{
  color-scheme:light;
  --ink:#1b1922;--muted:#67666f;--soft:#f6f6f8;--line:#e5e3e9;--purple:#6742ec;--purple-dark:#4d2ec1;--violet-bg:#f0ebff;--citrus:#d9f28f;
  --page:1440px;--side:clamp(20px,4.2vw,76px);
  font-family:Inter,"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;font-synthesis:none;font-size:16px;color:var(--ink);background:var(--soft)
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:280px;background:var(--soft);line-height:1.45;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:transparent}
button,a,input,textarea,select,summary,canvas{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:3px solid #8268f7;outline-offset:3px}
button:disabled{cursor:not-allowed}
.yl-password-field{display:grid;gap:.32rem;min-width:0}
.yl-password-control{position:relative;min-width:0}
.yl-password-field .yl-password-control input{display:block;width:100%;min-height:46px;padding-inline-end:50px}
.yl-password-control input::-ms-reveal{display:none}
.yl-password-control .yl-password-toggle{position:absolute;inset-block:1px;inset-inline-end:1px;display:grid;place-items:center;width:44px;padding:0;border:0;border-radius:7px;background:transparent;color:#5b5368}
.yl-password-control .yl-password-toggle:hover{background:#f4f1fa;color:#473389}
.yl-password-control .yl-password-toggle:focus-visible{outline-offset:-3px}
.yl-password-control input[type=password]+button .yl-eye-slash{display:none}
button,a{-webkit-tap-highlight-color:transparent}
button{transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}
button:not(:disabled):active{transform:translateY(1px)}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
.symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.icon{display:inline-block;width:18px;height:18px;flex:0 0 auto;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner,.page{max-width:var(--page);margin-inline:auto;padding-inline:var(--side)}
.header-inner{min-height:73px;display:flex;align-items:center;gap:clamp(20px,4.4vw,74px)}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#211c2e;white-space:nowrap;line-height:.98}
.brand-icon{color:var(--purple);width:34px;height:34px}
.brand-word{font-family:Inter,"Arial Black",Arial,sans-serif;font-size:25px;letter-spacing:-1.7px;font-weight:900;display:flex;align-items:baseline;gap:6px}
.brand-studio{font-family:Inter,"DM Sans",Arial,sans-serif;font-size:11px;font-weight:750;letter-spacing:1.4px}
.site-nav,.header-actions,.nav-link,.header-button{display:flex;align-items:center}
.site-nav{align-self:stretch;gap:clamp(12px,2vw,34px)}
.nav-link{background:transparent;gap:8px;padding:0 3px;position:relative;font-weight:600;font-size:14px;color:var(--muted);white-space:nowrap}
.nav-link .icon{width:16px;height:16px}
.nav-link.is-current,.nav-link[aria-current=page]{color:var(--purple-dark)}
.nav-link.is-current::after,.nav-link[aria-current=page]::after{content:"";height:3px;background:var(--purple);position:absolute;bottom:-1px;left:0;right:0;border-radius:3px 3px 0 0}
.header-actions{margin-left:auto;gap:16px;white-space:nowrap}
.header-button{gap:7px;padding:7px 0;color:#4f4c57;font-size:13px;font-weight:600}
.header-button .icon{width:16px;height:16px}
.header-button:hover,.nav-link:hover{color:var(--purple)}
.page{padding-bottom:45px}
.page-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-block:clamp(25px,2.5vw,40px) clamp(20px,1.8vw,29px)}
.page-heading h1{font-family:Inter,"DM Sans","Segoe UI","Microsoft YaHei",Arial,sans-serif;font-weight:730;letter-spacing:-.065em;line-height:1.07;font-size:clamp(33px,3.15vw,52px)}
.accent-period{color:var(--purple)}
.page-heading p{font-size:15px;line-height:1.55;color:var(--muted);margin-top:8px}
.page-heading .studio-positioning{font-weight:660;color:var(--ink)}
.support-hours-link{display:inline-block;background:none;color:var(--purple-dark);font-size:inherit;padding:2px 0;text-decoration:underline;text-underline-offset:2px}
.support-hours-notice{display:grid;gap:.4rem;line-height:1.55}
.support-hours-heading{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem .5rem}
.support-hours-state{padding:.12rem .5rem;border-radius:999px;background:#efedf2;color:#5a5264;font-size:.8em;font-weight:650;line-height:1.4}
.support-hours-state[data-support-state=open]{background:#e4f4eb;color:#146241}
.support-hours-next{color:var(--ink);font-weight:600}
.fulfillment-panel .support-hours-notice{font-size:.9rem}
.order-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:610px;margin:0 0 16px}
.order-entry button{display:grid;gap:4px;text-align:start;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:inherit}
.order-entry button:hover,.order-entry button:focus-visible{border-color:currentColor}
.order-entry button span{font-size:.83rem;color:var(--muted);line-height:1.35}
.group-design-next{background:#f5f1ff;border-top:1px solid var(--line);padding:12px var(--preview-footer-inset);font-size:.88rem}
.group-design-next p{margin:0 0 .35rem;color:var(--ink)}
.group-design-next>div{display:flex;flex-wrap:wrap;gap:.35rem .85rem;align-items:center}
.group-design-next button{white-space:normal;min-height:44px}
.team-entry-more{margin-block-start:.4rem;font-size:.86rem}
.team-entry-more summary{cursor:pointer;color:var(--purple-dark);padding-block:.25rem}
.team-entry-more[open] .customer-actions{margin-block:.55rem .2rem}
.download-button,.subbutton{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dcd9e3;background:#fff;border-radius:9px;color:#37333e;font-weight:625;font-size:14px;min-height:39px;padding:8px 14px;white-space:nowrap}
.download-button .icon,.subbutton .icon{width:16px;height:16px}
.download-button:hover,.subbutton:hover{border-color:#a997de;background:#faf8ff;color:var(--purple-dark)}
.workspace{display:grid;grid-template-columns:minmax(0,1.57fr) minmax(322px,1fr);gap:clamp(14px,1.55vw,25px);align-items:start}
.preview-card,.settings-card,.quote-card{border:1px solid var(--line);background:#fff;overflow:hidden;border-radius:18px}
.preview-card{--preview-footer-inset:clamp(14px,2vw,21px);position:sticky;top:20px;min-width:0}
.international-studio-intro{display:grid;gap:.35rem;padding:.8rem 1rem;background:#f5f1ff;border-bottom:1px solid var(--line);font-size:.9rem;line-height:1.4}
.international-studio-intro h2{font-size:1rem;line-height:1.25}
.international-studio-return{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}
.international-studio-return>.back-action{min-inline-size:min(12rem,100%);min-height:48px;padding:.55rem 1rem;text-align:center}
@media(max-width:739px){.international-studio-return>.back-action{flex-basis:100%}}
.text-fit-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin:.35rem 0}
.text-fit-actions button{max-width:100%;white-space:normal;text-align:start}
:is(#textFitEstimate,#printLimit,#moveHelp).print-size-warning{color:#8a3c11;font-weight:650}
#textFitEstimate.print-size-warning{border-inline-start:3px solid #b86b37;padding-inline-start:.65rem}
.member-layer-destination{grid-column:1 / -1;display:grid;gap:.35rem}
.member-layer-destination select{width:100%;min-width:0}
#groupNameLayer{grid-column:1 / -1;justify-self:start}
#groupNameLayer[aria-pressed=true]{border-color:#744dd7;background:#efe8ff;color:#382175}
.member-edit-bar{display:flex;justify-content:space-between;align-items:center;gap:.85rem;margin:0 0 1rem;padding:.85rem 1rem;background:#f0ebff;border:1px solid #dbccfc;border-radius:.85rem}
.member-edit-bar h2{margin:0;font-size:1.15rem;overflow-wrap:anywhere}
.member-edit-bar p{margin:.25rem 0 0;color:#4b3b69}
.member-edit-bar>div:first-child{min-width:0}
.member-edit-actions{flex:0 1 29rem}
.member-edit-actions button[hidden]{display:none}
.roster-return{display:flex;align-items:center;justify-content:space-between;gap:.5rem .9rem;flex-wrap:wrap;margin:0 0 .6rem;border:1px solid #dbccfc;border-radius:.8rem}
.roster-return p{margin:0}
.roster-return #groupDesignSizes{color:var(--purple-dark);background:#fff}
:is(.member-edit-bar,.roster-return){position:sticky;top:0;z-index:12}
.member-editing .site-header,.member-editing .site-footer,.member-editing #studioView>.page-heading,.member-editing .order-entry,.member-editing .studio-quick-actions,.member-editing #studioMore,.member-editing #localDraft,.member-editing #customerQuote,.member-editing #groupDesignNext,.member-editing #designReuse,.member-editing .factory-fields,.member-editing .fabric-block,.member-editing .color-block,.member-editing #techniqueOptions,.member-editing .quote-card,.member-editing #mobileOrder,.member-editing #mobileDesignHelp,.member-editing #referenceIdea{display:none}
@media(max-width:900px){.member-edit-bar{flex-direction:column;align-items:stretch;padding:.65rem .8rem}.member-edit-actions{flex:auto}}
.stage{position:relative;height:clamp(510px,42.5vw,645px);isolation:isolate;background-color:#ddd9e5;background-image:radial-gradient(circle,rgba(118,108,134,.22) .75px,transparent 1px);background-size:16px 16px;background-position:8px 7px;overflow:hidden}
.stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 49% 42%,#f9f8fc80,transparent 72%),linear-gradient(145deg,#e9e9ef2b,#d8d4e540)}
.stage-toolbar,.stage-bottom{position:absolute;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:2;pointer-events:none}
.stage-toolbar{top:19px;align-items:flex-start}
.stage-bottom{bottom:18px}
.stage-toolbar>*,.stage-bottom>*{pointer-events:auto}
.view-switch,.history-tools,.zoom-tools{display:inline-flex;align-items:center;background:#fff;border:1px solid #dfdce5;box-shadow:0 2px 5px #42345407;border-radius:9px}
.view-switch{padding:3px;gap:2px}
.view-switch button{border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;line-height:1.15;min-height:30px;padding:6px 13px;color:#68636e;font-weight:610}
.view-switch button.is-active,.view-switch button[aria-pressed=true]{color:white;background:#2c2734}
.view-switch button:not([aria-pressed=true]):hover{background:#f3f1f6}
.icon-button{display:inline-grid;place-items:center;min-width:33px;min-height:33px;border-radius:7px;color:#44404c}
.icon-button .icon{width:16px;height:16px}
.icon-button:not(:disabled):hover{color:var(--purple-dark);background:var(--violet-bg)}
.icon-button:disabled{opacity:.34}
.history-tools{padding:2px}
.history-tools .icon-button{min-width:31px;min-height:31px}
.history-tools .access-hint+.access-hint::before{content:"";position:absolute;left:0;top:50%;width:1px;height:13px;transform:translateY(-50%);background:var(--line)}
.canvas-wrap{position:absolute;inset:45px 26px 43px;min-width:0}
#designCanvas{display:block;width:100%;height:100%;max-width:100%;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.move-hint{font-size:12px;font-weight:550;color:#5f5a69;display:flex;align-items:center;gap:6px}
.move-hint .icon{width:14px;height:14px}
.zoom-tools .icon-button{min-width:29px;min-height:30px}
.zoom-tools output{font:600 12px/1.1 Inter,Arial,sans-serif;min-width:34px;text-align:center;color:#3a3444;font-variant-numeric:tabular-nums}
.zoom-tools .icon{width:13px;height:13px}
.product-strip{display:flex;align-items:center;gap:12px;padding:17px 21px;background:#fff;border-top:1px solid #dfdce5}
.garment-icon{width:43px;height:43px;border-radius:10px;background:var(--violet-bg);color:var(--purple-dark);display:grid;place-items:center}
.garment-icon .icon{width:24px;height:24px;stroke-width:1.5}
.product-copy h2{font-size:16px;letter-spacing:-.035em;font-weight:690}
.product-copy p{font-size:13px;color:var(--muted);margin-top:2px}
.preview-color-note{display:flex;align-items:flex-start;gap:.5rem;padding:0 var(--preview-footer-inset) 15px;color:var(--muted);font-size:.875rem;line-height:1.5}
.preview-color-note .icon{width:1rem;height:1rem;margin-top:.17rem}
#topPrintHint{color:#654799;padding-bottom:.4rem}
.product-side{display:flex;align-items:center;gap:7px;margin-left:auto;color:#635e68;font-size:12px;font-weight:540}
.product-dot{height:7px;width:7px;border-radius:50%;background:#9fbd64}
.customize{min-width:0;display:grid;gap:14px}
.settings-card,.quote-card{padding:clamp(19px,1.65vw,29px)}
.card-title,.quote-heading{display:flex;gap:10px;align-items:center}
.card-title h2,.quote-heading h2{font-weight:700;letter-spacing:-.045em;font-size:22px;line-height:1.2}
.section-icon{border-radius:8px;background:var(--violet-bg);color:var(--purple-dark);width:31px;height:31px;display:grid;place-items:center}
.section-icon .icon{width:18px;height:18px}
.color-block{margin-top:21px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.control-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.control-title h3,.field-label,.order-extra label,.adjust-body>label{font-size:14px;font-weight:650}
.color-name,.template-name{font-size:13px}
.color-name{color:var(--muted)}
.swatches{display:flex;gap:10px;align-items:center;margin-top:10px;flex-wrap:wrap}
.swatch{position:relative;width:35px;height:35px;padding:3px;border:1.5px solid transparent;border-radius:50%;background:#fff}
.swatch>span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #100b180f}
.swatch .icon{width:14px;height:14px;stroke-width:2.6;opacity:0;color:#41364e}
.swatch:is([data-garment-color=black],[data-garment-color=forest],[data-garment-color=navy],[data-garment-color=burgundy],[data-garment-color=royal],[data-garment-color=red]) .icon{color:white}
.swatch[aria-pressed=true],.swatch.is-active{border-color:var(--purple)}
.swatch[aria-pressed=true] .icon,.swatch.is-active .icon{opacity:1}
.swatch:hover{border-color:#bbb4c7}
.swatch:disabled{cursor:not-allowed}
.swatch:disabled>span{background:linear-gradient(135deg,transparent 46%,#fff 47% 53%,transparent 54%),var(--swatch);opacity:.55}
.design-block{padding-top:18px}
.tool-tabs{display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:2px;border:1px solid #e9e7ec;border-radius:9px;padding:3px;background:#f5f4f6;margin-top:10px}
.tool-tab{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:34px;padding:5px 6px;font-size:13px;font-weight:610;color:#655f6c;border-radius:6px;border:1px solid transparent}
.tool-tab .icon{width:15px;height:15px}
.tool-tab.is-active,.tool-tab[aria-selected=true]{background:#fff;border-color:#e5dfec;box-shadow:0 1px 3px #30263c0e;color:var(--purple-dark)}
.tool-tab:hover{color:var(--purple-dark)}
.tool-panel{margin-top:13px;min-height:116px}
.template-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.template-list .template-name{overflow-wrap:anywhere}
.design-block>.control-title{flex-wrap:wrap;justify-content:flex-start}
.design-block>.control-title h3{margin-inline-end:auto}
.member-editing #techniqueDetails{display:none}
@media(max-width:739px){#featuredArtwork>.template-choice:nth-child(n+7){display:none}}
.template-choice{text-align:left;min-width:0;padding:0;background:none;color:#433d4b}
.template-art{height:clamp(66px,5.7vw,89px);border-radius:8px;display:grid;place-items:center;position:relative;border:1px solid #e2dce8;overflow:hidden}
.template-art img{position:absolute;inset:4px 9px;display:block;width:calc(100% - 18px);height:calc(100% - 8px);object-fit:contain;pointer-events:none}
.template-name{display:block;font-weight:600;margin:5px 1px 0}
.template-choice.is-active .template-art,.template-choice[aria-pressed=true] .template-art{border:2px solid var(--purple)}
.template-choice.is-active .template-name,.template-choice[aria-pressed=true] .template-name{color:var(--purple-dark)}
.choice-check{position:absolute;top:4px;right:4px;border-radius:50%;width:15px;height:15px;display:none;place-items:center;background:var(--purple);color:white}
.choice-check .icon{width:10px;height:10px;stroke-width:3}
.template-choice.is-active .choice-check,.template-choice[aria-pressed=true] .choice-check{display:grid}
.template-choice:hover .template-art{box-shadow:0 0 0 1px #a995df}
.plain-action,.link-button{display:inline-flex;align-items:center;gap:6px;padding:0;line-height:1.35;background:none;font-size:13px;font-weight:560;color:var(--muted)}
.plain-action:hover,.link-button:hover,.plain-action.is-active{color:var(--purple-dark)}
.plain-action .icon{width:14px;height:14px}
.blank-design{margin-top:12px}
.adjust{border-top:1px solid var(--line);margin-top:15px;padding-top:13px}
summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;color:#55505e;font-weight:570;font-size:13px}
summary::-webkit-details-marker{display:none}
summary:focus-visible{outline-offset:2px}
summary>.icon{width:15px;height:15px}
summary .end-icon{width:13px;height:13px;margin-left:auto}
details[open]>summary .end-icon{transform:rotate(180deg)}
.adjust-body,.order-extra{display:grid;gap:7px;margin-top:12px}
.adjust-body{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:12px}
.layer-order{display:flex;gap:.25rem;grid-column:1/-1}
.layer-order button{min-width:2.25rem;min-height:2.25rem}
.adjust-body>input[type=range]{min-width:0}
.adjust-body .plain-action{grid-column:1 / -1;justify-self:start}
.layer-advanced{grid-column:1/-1;min-width:0;border-top:1px solid var(--line)}
.layer-advanced>summary{min-height:44px;color:var(--purple-dark);font-weight:650}
.layer-advanced>.member-layer-destination{margin-top:.6rem}
.international-price-link{display:inline-flex;align-items:center;min-height:44px;width:fit-content;color:var(--purple-dark);font-size:.88rem;text-underline-offset:.18em}
.international-price-link[hidden]{display:none}
.layer-alignment {display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.5rem}
.layer-alignment[hidden]{display:none}
.layer-alignment button {border:1px solid var(--line);border-radius:.45rem;padding:.35rem .65rem;font-size:.85rem;color:var(--ink)}
.layer-alignment button:hover {border-color:var(--purple);color:var(--purple)}
.mobile-canvas-actions,.mobile-adjust-entry{display:none}
.studio-steps{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.75rem}
.studio-steps button{min-height:40px;padding:.35rem .65rem;border:1px solid var(--line);border-radius:.45rem;color:var(--purple-dark);font-size:.84rem;text-align:start}
.studio-steps button:hover{background:var(--violet-bg)}
.studio-options{margin-top:.55rem}
.studio-options>summary{cursor:pointer;width:fit-content;padding:.5rem 0;color:var(--purple-dark);font-size:.88rem;font-weight:650}
.studio-options .technique-options{margin-top:.35rem}
.text-apply-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.55rem}
@media(max-width:900px){
  .mobile-canvas-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:.35rem;padding:.45rem .85rem}
  .mobile-canvas-actions :is(button,.canvas-image-upload){min-height:44px;min-width:0;flex:1 1 5rem;display:inline-flex;flex-direction:row;gap:.28rem;align-items:center;justify-content:center;white-space:normal;line-height:1.15;font-size:.84rem;font-weight:650;padding:.32rem .35rem;border:1px solid var(--line);border-radius:.45rem;background:#fff}
  .mobile-adjust-entry:has(>.layer-stack:not([hidden])){display:block;padding:.5rem .85rem}
  .mobile-print-areas .part-block{margin:.15rem .85rem .45rem}
  .mobile-print-areas .part-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .mobile-print-areas .part-switch button{
    min-width:0;min-height:44px;padding:.35rem .25rem;text-align:center;line-height:1.2;overflow-wrap:anywhere
  }
  .studio-steps{display:none}
  .studio-options>summary{min-height:44px}
  .layer-order button{min-height:44px;min-width:44px}
  .mobile-canvas-actions .canvas-image-upload>span{font:inherit;color:var(--ink)}
  .mobile-canvas-actions .icon{width:16px;height:16px}
  .mobile-canvas-actions p{flex-basis:100%}
  .mobile-canvas-actions .upload-rights-note{margin:0}
}
.layer-precision{display:grid;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem .55rem;margin:0;padding:.55rem .65rem;border:1px solid var(--line);border-radius:.55rem;min-width:0}
.layer-precision[hidden]{display:none}
.layer-precision legend{padding:0 .3rem;font-size:.85rem;font-weight:700}
.layer-precision label{display:grid;gap:.25rem;min-width:0;font-size:.82rem;line-height:1.25}
.layer-precision input{width:100%;min-width:0;min-height:44px;padding:.35rem .45rem;border:1px solid var(--line);border-radius:.4rem}
.layer-precision p{grid-column:1/-1;margin:0}
#layerPrecisionStatus{color:#8a3c11;font-weight:600}
input[type=range]{accent-color:var(--purple);width:100%;margin:0}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):where(:not(.yl-password-input,[data-date-part])),select,textarea{border:1px solid #dcd9e2;background:#fff;border-radius:7px;min-height:37px;padding:7px 10px;width:100%;max-width:100%;font-size:14px;line-height:1.35}
input[type=color]{width:38px;height:36px;padding:3px;border-radius:7px;border:1px solid var(--line);background:#fff;cursor:pointer}
input[type=checkbox]{width:17px;height:17px;flex:0 0 auto;accent-color:var(--purple);margin:2px 0 0;cursor:pointer}
textarea{resize:vertical}
.inline-field{display:flex;gap:7px;margin-top:7px}
.subbutton{font-size:13px;min-height:33px;padding:6px 10px;margin-top:8px}
.upload-control{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative;min-height:112px;border-radius:8px;background:#faf8fd;border:1.5px dashed #c1b5d7;cursor:pointer;color:var(--purple-dark);overflow:hidden}
.whole-photo-upload{margin-top:8px}
.whole-photo-upload summary{cursor:pointer;color:var(--purple-dark);padding-block:8px}
.whole-photo-upload .upload-control{min-height:64px}
.app-dialog.garment-photo-dialog{width:min(34rem,calc(100vw - 1.5rem))}
.garment-photo-preview{display:block;width:100%;height:auto;max-height:28vh;object-fit:contain;margin:10px auto}
.garment-photo-actions>*{min-height:44px;white-space:normal}
.upload-control .icon{width:21px;height:21px}
.upload-control strong{font-size:14px}
.upload-control>span{font-size:12px;color:var(--muted)}
.upload-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.case-file-picker{display:block;position:relative;border:1px solid #d8d4df;border-radius:8px;padding:8px 12px;overflow-wrap:anywhere}.case-file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.case-file-picker:focus-within,.upload-control:focus-within{outline:3px solid #8268f7;outline-offset:2px}
.quote-heading h2{font-size:19px}
.quote-heading>.icon{color:var(--purple-dark);width:20px;height:20px}
.order-fields{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:16px}
.order-fields input#qtyInput{width:77px;min-height:32px;padding:5px 7px;font-variant-numeric:tabular-nums}
.quote-card.group-order > :is(.factory-sizes,.order-fields),.quote-card.group-needs-roster :is(.studio-cart-action,#cartAddHint){display:none}
.group-order-entry{margin:.6rem 0 1rem}
.group-order-entry p{margin:0 0 .5rem}
.order-details{margin-top:7px}
.order-details>summary{font-size:13px;color:var(--muted)}
.order-details>summary .end-icon{margin-left:0;width:11px;height:11px}
.order-extra{margin-bottom:11px}
.order-extra label{font-size:13px}
.rights-label{display:flex;gap:10px;align-items:flex-start;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);cursor:pointer;color:#4f4957;font-size:13px;line-height:1.5}
.link-button{margin:0;text-decoration:underline;text-underline-offset:2px;color:var(--purple-dark);font-size:12px}
.save-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border:1px solid transparent;min-height:44px;padding:10px 14px;border-radius:9px;margin-top:13px;background:var(--purple);color:#fff;font-size:15px;line-height:1.25;font-weight:650}
.save-button .icon{width:16px;height:16px}
.save-button:disabled{background:#edeaf3;color:#70697c;border-color:#e3dfe9}
.save-button .lock-icon,.save-button:disabled .send-icon{display:none}
.save-button:disabled .lock-icon{display:inline-block}
.save-button:hover:not(:disabled){background:var(--purple-dark)}
.save-hint{margin:6px 0 0;font-size:12px;text-align:center;color:#686170}
.control-hint{margin:.4rem 0;color:#5e566a;font-size:.84rem;line-height:1.45}
.adjust-body>.control-hint,.quote-card>.control-hint{grid-column:1/-1}
.inline-status:not(:empty){margin-top:14px;color:var(--purple-dark);font-size:14px}
.app-status:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#24212d;color:#fff;border-radius:9px;padding:11px 16px;font-size:14px;z-index:15;pointer-events:none;box-shadow:0 5px 18px #1b152733;max-width:min(510px,90vw)}
.print-order-issue:not([hidden]){display:flex;align-items:start;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin:.5rem;padding:.7rem .8rem;border:1px solid #ead7b8;border-radius:.7rem;background:#fff7e7;color:#674518}
.print-order-issue p{margin:.25rem 0 0}
.print-order-issue .customer-actions{margin:0}
.app-dialog{border:1px solid var(--line);border-radius:17px;width:min(570px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 35px);background:#fff;color:var(--ink);padding:0;box-shadow:0 28px 110px #17102240}
html:has(dialog:modal){overflow:hidden;overscroll-behavior:none}
dialog:modal{overscroll-behavior:contain}
.app-dialog::backdrop{background:#1c172860;backdrop-filter:blur(3px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 23px 15px;border-bottom:1px solid var(--line)}
.dialog-header h2{font-size:22px;line-height:1.2;letter-spacing:-.045em}
.dialog-header .icon-button{background:var(--soft)}
.dialog-body{padding:20px 23px 24px;font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.dialog-body p+p{margin-top:10px}
.dialog-body a{color:var(--purple-dark);text-underline-offset:2px}
.dialog-body img{max-width:100%}
@media(min-width:1550px){.stage{height:640px}}
@media(max-width:1050px){:root{--side:24px}.header-inner{gap:28px}.site-nav{gap:17px}.workspace{grid-template-columns:minmax(0,1.45fr) minmax(304px,1fr)}.stage{height:clamp(445px,48vw,515px)}.stage-toolbar,.stage-bottom{left:14px;right:14px}.stage-toolbar{top:14px}.stage-bottom{bottom:14px}.canvas-wrap{inset:44px 9px 40px}.settings-card,.quote-card{padding:18px}.template-art{height:69px}}
@media(min-width:901px) and (max-width:960px){
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0}
  .brand{grid-column:1;grid-row:1;justify-self:start}
  .header-actions{grid-column:2;grid-row:1}
  .site-nav{grid-column:1/-1;grid-row:2;min-height:2.5rem}
}
@media(max-width:900px){:root{--side:17px}.header-inner{display:grid;grid-template-columns:1fr auto;gap:0;min-height:0}.brand{grid-column:1;grid-row:1;justify-self:start;min-height:55px}.brand-icon{width:29px;height:29px}.brand-word{font-size:22px}.brand-studio{font-size:10px}.header-actions{grid-column:2;grid-row:1;gap:11px}.site-nav{grid-column:1/-1;grid-row:2;min-height:37px;gap:24px}.header-button{font-size:12px}.nav-link{font-size:13px}.page-heading{padding-block:24px 18px;align-items:flex-start}.page-heading h1{font-size:35px}.page-heading p{font-size:14px;margin-top:6px}.download-button{padding:6px 8px;min-height:34px;min-width:34px}.download-button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.download-button .icon{width:16px;height:16px}.workspace{grid-template-columns:minmax(0,1fr);gap:15px}.preview-card{position:static}.stage{height:clamp(305px,76vw,465px)}.canvas-wrap{inset:38px 9px 35px}.stage-toolbar,.stage-bottom{left:12px;right:12px}.stage-toolbar{top:12px}.stage-bottom{bottom:11px}.view-switch button{min-height:26px;padding:5px 10px;font-size:12px}.history-tools .icon-button{min-width:28px;min-height:28px}.history-tools .icon{width:14px;height:14px}.zoom-tools .icon-button{min-width:25px;min-height:26px}.move-hint{font-size:11px}.zoom-tools output{font-size:11px;min-width:29px}.product-strip{padding:12px 14px;gap:9px}.garment-icon{width:35px;height:35px;border-radius:7px}.garment-icon .icon{width:20px;height:20px}.product-copy h2{font-size:15px}.product-copy p,.product-side{font-size:12px}.settings-card,.quote-card{padding:18px}.card-title h2{font-size:21px}.color-block{margin-top:17px;padding-bottom:15px}.design-block{padding-top:15px}.template-art{height:clamp(70px,18vw,108px)}.preview-card,.settings-card,.quote-card{border-radius:14px}.page{padding-bottom:25px}.dialog-header{padding:16px 16px 12px}.dialog-body{padding:15px 16px 19px}.tool-tab{min-height:38px}.swatch{width:39px;height:39px}.save-button{min-height:46px}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):where(:not([data-date-part])),select,textarea{font-size:16px}}
@media(max-width:370px){:root{--side:11px}.brand-word{font-size:20px}.brand-studio{font-size:9px}.header-actions{gap:8px}.page-heading h1{font-size:30px}.site-nav{gap:16px}.stage{height:285px}.product-side{gap:4px}.brand{gap:6px}.settings-card,.quote-card{padding:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.reference-action{display:inline-flex;align-items:center;gap:6px;color:var(--purple-dark);font-size:13px;font-weight:590;margin-top:9px;padding:2px 0;text-decoration:underline;text-underline-offset:2px}
.reference-action .icon{width:14px;height:14px}
html[lang^=zh] .page-heading h1{letter-spacing:-.045em;font-weight:710}
html[lang^=zh] .card-title h2,html[lang^=zh] .quote-heading h2{letter-spacing:-.015em}

.design-block>.control-title .blank-design{margin-top:0;font-size:12px}
.design-block>.control-title .blank-design .icon{width:13px;height:13px}
@media(min-width:1051px){
  .page-heading{padding-top:clamp(23px,1.9vw,31px);padding-bottom:clamp(15px,1.3vw,21px)}
  .tool-panel{min-height:99px}
}
@media(min-width:1180px){
  .quote-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .quote-card>.quote-heading{grid-column:1;grid-row:1}
  .quote-card>.order-fields{grid-column:1/-1;gap:8px;margin:.55rem 0 0}
  .quote-card>.order-fields label{font-size:13px;font-weight:550;color:var(--muted)}
  .quote-card>.order-fields input#qtyInput{width:62px}
  .quote-card>:not(.quote-heading,.order-fields){grid-column:1/-1}
  .quote-card>.link-button{justify-self:start}
}
@media(max-width:900px){
  .stage{height:clamp(332px,92vw,474px)}
  .canvas-wrap{inset:57px 9px 54px}
  .stage-toolbar,.stage-bottom{inset-inline:10px;gap:6px}
  .stage-toolbar{top:7px}
  .stage-bottom{bottom:7px}
  .view-switch button,.history-tools .icon-button,.zoom-tools :is(.icon-button,#panCanvas,#resetViewport){min-width:44px;min-height:44px}
  .view-switch button{padding-inline:9px}
  .zoom-tools{margin-inline-start:auto}
  .stage-bottom:has(#panCanvas:not([hidden])) .move-hint:not(.resizing) span{display:none}
  .move-hint{min-width:0;line-height:1.25}
  .header-button{min-height:38px}
  .site-header .site-nav{min-height:42px}
  .site-header .site-nav .nav-link{min-height:42px}
}
.price-estimate {
  grid-column:1/-1;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #d8d0f4;
  border-radius: .75rem;
  background: #f7f5ff;
}
.price-estimate h3 { margin: 0; font-size: .95rem; }
.price-estimate output { display: block; color: var(--purple-dark); font-size: 1.25rem; font-weight: 700; margin: .3rem 0 .55rem; overflow-wrap: anywhere; }
.price-estimate p { color: #514c60; font-size: .9rem; line-height: 1.55; }
.price-estimate .parcel-savings { margin: .25rem 0 .65rem; }
.price-estimate .parcel-savings.has-savings { color: #24653b; font-weight: 650; }
.price-estimate .compare-price-trigger{max-width:100%;margin:.15rem 0 .7rem;text-align:left;justify-content:flex-start;white-space:normal}
.price-estimate .compare-price-trigger[hidden]{display:none}
.price-estimate .delivery-time { margin-top: .65rem; font-weight: 600; }
.delivery-summary>.control-hint { margin: .3rem 0 0; }
.price-comparison{display:grid;gap:.85rem}
.comparison-selection{font-weight:650}
.comparison-choice{display:grid;gap:.3rem;max-width:260px}
.comparison-destination{padding:0 0 .45rem;border-bottom:1px solid var(--line)}
.comparison-status:empty,.price-comparison [data-comparison-result]:empty{display:none}
.comparison-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.comparison-options article{padding:clamp(.65rem,2.5vw,.95rem);border:1px solid var(--line);border-radius:.65rem;background:#fafafa;min-width:0}
.comparison-options article+article{background:#f3efff;border-color:#ded4fb}
.comparison-options :is(h3,p,dl,dd){margin:0}
.comparison-options h3{font-size:1rem}
.comparison-options p{margin-top:.5rem;font-size:.88rem;color:var(--muted)}
.comparison-options strong{display:block;font-size:clamp(1.06rem,3.4vw,1.48rem);line-height:1.3;color:var(--purple-dark)}
.comparison-options dl{display:grid;gap:.1rem;margin-top:.6rem;padding-top:.5rem;border-top:1px solid var(--line);font-size:.86rem}
.comparison-options dd{font-weight:650}
.comparison-options [data-comparison-quantity]{width:100%;min-height:44px;margin-top:.75rem;padding:.45rem .3rem;font-size:.88rem;white-space:normal}
.price-comparison .comparison-saving{margin-top:.7rem;color:#24653b;font-weight:650}
.price-comparison [data-comparison-result] .customer-muted{margin-top:.6rem}
@media(max-width:360px){
  #appDialog:has(.price-comparison)>.dialog-header{padding:.4rem .8rem}
  #appDialog:has(.price-comparison) #dialogTitle{font-size:1rem;line-height:1.25}
  #appDialog:has(.price-comparison)>.dialog-body{padding:.6rem .8rem .85rem}
  .price-comparison{gap:.45rem}
  .comparison-selection{margin:0;font-size:.81rem;line-height:1.3}
  .comparison-choice{gap:.2rem;font-size:.81rem}
  .comparison-options{gap:.4rem}
  .comparison-options article{padding:.45rem}
  .comparison-options h3{font-size:.94rem}
  .comparison-options p{margin-top:.25rem;font-size:.76rem;line-height:1.25}
  .comparison-options strong{font-size:1rem;overflow-wrap:anywhere}
  .comparison-options dl{margin-top:.35rem;padding-top:.28rem;font-size:.78rem;line-height:1.25}
  .comparison-options [data-comparison-quantity]{margin-top:.42rem;padding:.3rem .2rem;font-size:.8rem;line-height:1.25}
}

.factory-fields {padding-block:1.1rem;border-bottom:1px solid var(--line)}
.factory-pick {display:flex;align-items:center;gap:.75rem;width:100%;padding:.55rem;margin:.6rem 0;border:1px solid var(--line);border-radius:.75rem;background:white;text-align:left}
.factory-pick img {width:4rem;height:4rem;object-fit:contain}
.factory-pick span {display:grid;gap:.18rem}
.factory-pick small,.factory-tile small {color:var(--muted)}
.factory-pick b {margin-left:auto;color:var(--purple-dark);font-size:.875rem}
.factory-sizes{margin-block:.8rem .1rem}
.factory-cut{display:grid;gap:.4rem;margin-bottom:.6rem}
.factory-cut>span:first-child,#sizeLabel{font-size:.94rem;font-weight:680}
.size-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.22rem .6rem}
.size-field{display:contents}
#sizeLabel{grid-area:1 / 1}
.size-select{position:relative;display:block;min-width:0}
.size-choice .size-select{grid-area:2 / 1 / auto / -1}
.factory-sizes select{width:100%;min-height:2.78rem;padding:.56rem .8rem;border:1px solid #d6d2de;border-radius:.6rem;background:#fff;font-weight:600}
.factory-sizes select:hover:enabled{border-color:#9e8cc9}
.factory-sizes select:focus-visible,.size-guide-action:focus-visible{outline:3px solid #8268f7;outline-offset:2px}
.factory-sizes select:disabled{background:var(--soft);color:var(--muted);cursor:default}
.size-guide-action{grid-area:1 / 2;display:inline-flex;align-items:center;justify-self:end;gap:.35rem;min-height:2.4rem;margin-inline-end:-.45rem;padding:.3rem .45rem;border-radius:.45rem;color:var(--purple-dark);font-size:.875rem;font-weight:650}
.size-guide-action:hover{background:var(--violet-bg)}
.size-guide-action .icon{width:1rem;height:1rem}
.size-facts{grid-area:3 / 1 / auto / -1;color:var(--muted);font-size:.84rem;line-height:1.55;overflow-wrap:anywhere}
.size-choice:has(.size-field[hidden]) .size-guide-action{grid-column:1 / -1;justify-self:start;margin-inline-start:-.45rem}
.size-advice{margin:0;color:var(--muted);font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}
.factory-sizes>.size-advice,[data-invite-guide]>.size-advice{margin-top:.45rem}
.guide-model{margin:0 0 .75rem}
.factory-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:.7rem}
.factory-tile {display:grid;align-content:start;gap:.18rem;border:1px solid var(--line);border-radius:.7rem;padding:.6rem;text-align:left}
.factory-tile[aria-pressed=true] {border:2px solid var(--purple);background:var(--violet-bg);padding:calc(.6rem - 1px)}
.factory-tile img {width:100%;height:6.5rem;object-fit:contain;background:white;border-radius:.4rem}
.factory-tile strong {font-size:.92rem}
.factory-styles{grid-template-columns:repeat(auto-fit,minmax(min(100%,10.4rem),1fr))}
.factory-style{gap:.3rem;min-width:0;line-height:1.35}
.factory-style img{height:7.5rem;background:#f3f3f3}
.factory-style strong{margin-top:.16rem;overflow-wrap:anywhere}
.factory-style :is(.factory-style-meta,.factory-style-sizes){color:var(--muted);font-size:.78rem}
.factory-style-swatches{display:flex;flex-wrap:wrap;gap:.2rem}
.factory-style-swatches>span{width:.64rem;height:.64rem;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #17111c30}
.factory-style-parts{color:var(--purple-dark);font-size:.78rem}
.factory-preview-switch{display:inline-flex;gap:.2rem;padding:.2rem;margin:0 0 .65rem;background:#f0eef5;border-radius:.7rem}
.factory-preview-switch button{border:1px solid transparent;border-radius:.5rem;background:transparent;color:var(--muted);min-height:40px;padding:0 .8rem;font-size:.85rem;font-weight:650}
.factory-preview-switch button[aria-pressed=true]{background:white;border-color:var(--line);color:var(--purple-dark)}
.factory-category strong {margin-top:.35rem}
.factory-category-description {color:var(--muted);font-size:.8rem;line-height:1.35}
@media(max-width:680px){.factory-categories {grid-template-columns:repeat(2,minmax(0,1fr))}}
.factory-category small,.factory-nav {display:flex;align-items:center;justify-content:space-between}
.factory-category small span {color:var(--purple);font-size:1.1rem}
.factory-tile:hover {border-color:var(--purple)}
.factory-nav {margin-bottom:.9rem;color:var(--muted);font-size:.85rem}
@media(max-width:420px){
  .factory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
  .factory-tile img{height:5rem}
  .factory-style img{height:6rem}
  .factory-preview-switch button{min-height:44px}
}
#appDialog:has(.factory-grid),#appDialog:has(.guide-model) {width:min(54rem,calc(100vw - 2rem))}
.size-overview{display:grid;gap:.65rem;padding:.75rem;border:1px solid var(--line);border-radius:.65rem;background:#faf8ff}
.size-overview-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(4.2rem,.45fr);gap:.55rem}
.size-overview-controls label{display:grid;gap:.25rem;min-width:0;font-size:.85rem;font-weight:650}
.size-overview-controls select{min-width:0;width:100%;min-height:44px}
.size-overview-measures{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(8rem,100%),1fr));gap:.45rem;margin:0}
.size-overview-measures div{padding:.4rem .5rem;background:#fff;border:1px solid var(--line);border-radius:.45rem}
.size-overview-measures dt{font-size:.8rem;color:var(--muted)}
.size-overview-measures dd{margin:0;color:var(--ink);font-weight:700}
.size-overview>button{justify-self:start;min-height:44px}
.size-guide-details{margin-top:.6rem}
.size-guide-details>summary{min-height:44px;padding:.55rem .7rem;border:1px solid var(--line);border-radius:.45rem;color:var(--purple-dark);cursor:pointer;font-weight:650}
.size-guide-details>[data-size-compare-slot]{margin-top:.55rem}
.size-guide-scroll-hint{margin:.45rem 0 0}
.size-scroll {overflow:auto;overscroll-behavior-x:contain;max-width:100%;max-height:52dvh;margin-top:.65rem}
.size-table {width:100%;border-collapse:separate;border-spacing:0;font-size:.88rem;font-variant-numeric:tabular-nums}
.size-table th,.size-table td {padding:.45rem .6rem;text-align:center;border-bottom:1px solid var(--line);white-space:nowrap}
.size-table thead th {position:sticky;top:0;background:#eeeaf6;z-index:1}
.size-table .size-selected {background:var(--violet-bg);font-weight:700}
.guide-note {color:var(--muted);font-size:.85rem;margin-top:.4rem}
.guide-note:empty {display:none}
.size-compare{display:grid;gap:.7rem;padding:clamp(.65rem,2.8vw,1rem);border:1px solid var(--line);border-radius:.65rem;background:#faf8ff;min-width:0}
.size-compare :is(h3,h4,p,dl,dd){margin:0}
.size-compare h3{font-size:1.04rem;line-height:1.3}
.size-compare-help{display:grid;grid-template-columns:clamp(4rem,19vw,6.5rem) minmax(0,1fr);align-items:center;gap:.75rem}
.size-compare-diagram{width:100%;height:auto}
.size-compare-help p,.size-compare-note{font-size:.83rem;line-height:1.45;color:var(--muted)}
.size-compare-help div p+p{margin-top:.2rem}
.size-compare-form{display:grid;grid-template-columns:auto repeat(2,minmax(0,1fr)) auto;align-items:end;gap:.5rem}
.size-compare-form label{display:grid;gap:.25rem;min-width:0;font-weight:650;font-size:.82rem}
#appDialog .size-compare-form :is(input,select,button),#appDialog .size-compare-result button{min-height:44px}
.size-compare-form :is(input,select){min-width:0;width:100%;padding:.5rem;border:1px solid var(--line);border-radius:.45rem;background:#fff}
.size-compare-form input[aria-invalid=true]{border-color:#b42318;outline:2px solid #b42318;outline-offset:1px}
.size-compare [data-size-compare-feedback]{font-size:.9rem;font-weight:650}
.size-compare:has(input[aria-invalid=true]) [data-size-compare-feedback]{color:#a51b13}
.size-compare :is([data-size-compare-feedback],[data-size-compare-results]):empty{display:none}
.size-compare-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.4rem}
.size-compare-result{display:grid;grid-template-rows:auto 1fr auto;gap:.3rem;min-width:0;padding:.55rem;border:1px solid var(--line);border-radius:.5rem;background:white}
.size-compare-result dl{display:grid;gap:.3rem}
.size-compare-result dt{font-size:.78rem;color:var(--muted)}
.size-compare-result dd{font-weight:650;font-size:.86rem}
.size-compare-result small{color:var(--purple-dark);font-weight:550}
.size-compare-result button{font-size:.8rem;line-height:1.35;white-space:normal}
@media(max-width:600px){
  .size-compare-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .size-compare-form>:is(label:first-child,button){grid-column:1/-1}
}

.fabric-block {padding:1rem 0;border-bottom:1px solid var(--line)}
.technique-options {margin:1rem 0 0;padding:0 0 .75rem;min-width:0;border:0;border-bottom:1px solid var(--line)}
.technique-options legend {padding:0;font-size:.92rem;font-weight:650}
.technique-options label {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem .65rem;min-height:2.5rem;font-size:.87rem}
.technique-options input {margin:0;accent-color:var(--purple)}
.technique-fee {font-size:.77rem;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}
.fabric-block .control-title {flex-wrap:wrap;gap:.35rem .8rem}
.fabric-pick {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.85rem;width:100%;margin-top:.6rem;padding:.5rem;border:1px solid var(--line);border-radius:.7rem;text-align:start}
.fabric-pick:hover,.fabric-tile:hover {border-color:var(--purple)}
.fabric-pick img {width:4.75rem;height:3.35rem;object-fit:cover;border-radius:.4rem}
.fabric-pick span {display:grid}
.fabric-zoom{display:block;overflow:hidden;width:100%;flex-shrink:0}
.fabric-pick .fabric-zoom{width:4.75rem;border-radius:.4rem}
.fabric-zoom img{transition:transform .2s ease}
@media (hover:hover) and (pointer:fine){.fabric-zoom:hover img{transform:scale(1.85)}}
@media (prefers-reduced-motion:reduce){.fabric-zoom img{transition:none}}
.fabric-pick strong,.fabric-caption strong {font-size:1rem;font-weight:650}
.fabric-pick small,.fabric-caption small {font-size:.875rem;color:var(--muted)}
.fabric-pick b {margin-inline-start:auto;padding-inline-end:.4rem;color:var(--purple-dark);font-size:.875rem;font-weight:600}
.fabric-pick>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
@media(max-width:430px){
  .fabric-pick{grid-template-columns:auto minmax(0,1fr);gap:.2rem .65rem}
  .fabric-pick .fabric-zoom{grid-row:1/3}
  .fabric-pick b{grid-column:2;margin:0;padding:0}
}
#appDialog:has(.fabric-picker) {width:min(52rem,calc(100vw - 1.75rem))}
.fabric-picker-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.45rem .75rem;margin-bottom:.65rem}
.fabric-picker-heading h3{font-size:1rem;margin:0}
.fabric-picker-heading button{min-height:44px;max-width:100%;white-space:normal}
.fabric-purpose{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;margin-bottom:.85rem}
.fabric-purpose button{min-height:44px;min-width:0;padding:.45rem;border:1px solid var(--line);border-radius:.5rem;background:white;font-size:.86rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.fabric-purpose button[aria-pressed=true]{border-color:var(--purple);background:var(--violet-bg);color:var(--purple-dark);font-weight:650}
.fabric-tools {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.7rem 1rem;margin-bottom:1rem}
.fabric-groups {display:inline-flex;gap:.18rem;padding:.2rem;border:1px solid var(--line);border-radius:.65rem;background:var(--soft)}
.fabric-groups button {min-height:44px;padding:.4rem .65rem;border-radius:.45rem;color:var(--muted);font-size:.9rem;font-weight:600;white-space:normal}
.fabric-groups button[aria-pressed=true] {background:white;color:var(--purple-dark);box-shadow:0 1px 4px #26203924}
.fabric-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.fabric-tile {display:flex;flex-direction:column;position:relative;padding:0;overflow:hidden;text-align:start;border:1px solid var(--line);border-radius:.65rem;background:white}
.fabric-tile img {display:block;width:100%;aspect-ratio:2.2;object-fit:cover}
.fabric-caption {display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:.1rem .5rem;padding:.55rem .7rem;width:100%}
.fabric-caption small {overflow-wrap:anywhere}
.fabric-caption .fabric-texture{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex-basis:100%;margin-top:.15rem;font-size:.8rem;line-height:1.4}
.fabric-caption .fabric-texture[hidden]{display:none}
.fabric-tile[data-selected=true] {border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:var(--violet-bg)}
.fabric-tile .fabric-zoom {padding:0;border-radius:0}
.fabric-tile .fabric-caption {flex:1;text-align:start;min-height:44px}
.fabric-detail {display:grid;gap:.85rem;justify-items:start}
.fabric-detail :is([data-swatch-specs],[data-swatch-description]){margin:0;font-size:.9rem;overflow-wrap:anywhere}
.fabric-detail [data-swatch-description]{color:var(--muted);white-space:pre-wrap}
.fabric-empty{grid-column:1/-1;margin:0;padding:.6rem 0;color:var(--muted)}
.fabric-feedback{margin:0 0 .6rem;color:var(--purple-dark);font-size:.88rem}
.fabric-detail img {width:100%;max-height:62vh;object-fit:contain;border-radius:.6rem;background:var(--soft)}
.fabric-detail[hidden],.fabric-grid[hidden],.fabric-tools[hidden]{display:none}
@media(max-width:610px) {
  .fabric-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  .fabric-caption {align-content:start;padding:.5rem}
}

@font-face{font-family:'Print-archivo-black';src:url('/assets/fonts/archivo-black.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-graduate';src:url('/assets/fonts/graduate.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-lobster';src:url('/assets/fonts/lobster.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-dm-serif-display';src:url('/assets/fonts/dm-serif-display.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-ma-shan-zheng';src:url('/assets/fonts/ma-shan-zheng.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-zcool-xiaowei';src:url('/assets/fonts/zcool-xiaowei.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bebas-neue';src:url('/assets/fonts/bebas-neue.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bungee';src:url('/assets/fonts/bungee.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-barlow-condensed';src:url('/assets/fonts/barlow-condensed.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-black-ops-one';src:url('/assets/fonts/black-ops-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-righteous';src:url('/assets/fonts/righteous.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-pacifico';src:url('/assets/fonts/pacifico.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-space-mono';src:url('/assets/fonts/space-mono.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-young-serif';src:url('/assets/fonts/young-serif.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-abril-fatface';src:url('/assets/fonts/abril-fatface.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-alfa-slab-one';src:url('/assets/fonts/alfa-slab-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-allura';src:url('/assets/fonts/allura.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-anton';src:url('/assets/fonts/anton.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-archivo-narrow';src:url('/assets/fonts/archivo-narrow.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-arvo';src:url('/assets/fonts/arvo.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bitter';src:url('/assets/fonts/bitter.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bodoni-moda';src:url('/assets/fonts/bodoni-moda.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bowlby-one-sc';src:url('/assets/fonts/bowlby-one-sc.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bree-serif';src:url('/assets/fonts/bree-serif.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bricolage-grotesque';src:url('/assets/fonts/bricolage-grotesque.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bubblegum-sans';src:url('/assets/fonts/bubblegum-sans.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-bungee-shade';src:url('/assets/fonts/bungee-shade.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-caveat';src:url('/assets/fonts/caveat.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-changa-one';src:url('/assets/fonts/changa-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-chivo';src:url('/assets/fonts/chivo.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-cinzel';src:url('/assets/fonts/cinzel.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-cookie';src:url('/assets/fonts/cookie.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-cormorant-garamond';src:url('/assets/fonts/cormorant-garamond.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-courgette';src:url('/assets/fonts/courgette.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-creepster';src:url('/assets/fonts/creepster.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-damion';src:url('/assets/fonts/damion.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-dancing-script';src:url('/assets/fonts/dancing-script.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-dela-gothic-one';src:url('/assets/fonts/dela-gothic-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-figtree';src:url('/assets/fonts/figtree.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-fjalla-one';src:url('/assets/fonts/fjalla-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-fraunces';src:url('/assets/fonts/fraunces.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-fredoka';src:url('/assets/fonts/fredoka.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-gloock';src:url('/assets/fonts/gloock.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-great-vibes';src:url('/assets/fonts/great-vibes.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-handlee';src:url('/assets/fonts/handlee.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-jolly-lodger';src:url('/assets/fonts/jolly-lodger.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-josefin-sans';src:url('/assets/fonts/josefin-sans.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-jost';src:url('/assets/fonts/jost.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-kalam';src:url('/assets/fonts/kalam.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-kaushan-script';src:url('/assets/fonts/kaushan-script.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-league-spartan';src:url('/assets/fonts/league-spartan.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-lexend';src:url('/assets/fonts/lexend.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-libre-baskerville';src:url('/assets/fonts/libre-baskerville.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-lilita-one';src:url('/assets/fonts/lilita-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-liu-jian-mao-cao';src:url('/assets/fonts/liu-jian-mao-cao.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-long-cang';src:url('/assets/fonts/long-cang.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-lora';src:url('/assets/fonts/lora.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-manrope';src:url('/assets/fonts/manrope.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-marck-script';src:url('/assets/fonts/marck-script.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-merienda';src:url('/assets/fonts/merienda.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-merriweather';src:url('/assets/fonts/merriweather.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-modak';src:url('/assets/fonts/modak.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-monoton';src:url('/assets/fonts/monoton.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-montserrat';src:url('/assets/fonts/montserrat.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-new-rocker';src:url('/assets/fonts/new-rocker.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-norican';src:url('/assets/fonts/norican.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-nunito';src:url('/assets/fonts/nunito.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-oleo-script';src:url('/assets/fonts/oleo-script.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-oswald';src:url('/assets/fonts/oswald.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-outfit';src:url('/assets/fonts/outfit.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-parisienne';src:url('/assets/fonts/parisienne.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-passion-one';src:url('/assets/fonts/passion-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-patua-one';src:url('/assets/fonts/patua-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-pirata-one';src:url('/assets/fonts/pirata-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-playfair-display';src:url('/assets/fonts/playfair-display.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-poppins';src:url('/assets/fonts/poppins.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-prata';src:url('/assets/fonts/prata.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-quicksand';src:url('/assets/fonts/quicksand.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-raleway';src:url('/assets/fonts/raleway.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-rammetto-one';src:url('/assets/fonts/rammetto-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-roboto-condensed';src:url('/assets/fonts/roboto-condensed.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-rubik';src:url('/assets/fonts/rubik.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-rubik-glitch';src:url('/assets/fonts/rubik-glitch.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-rubik-mono-one';src:url('/assets/fonts/rubik-mono-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-russo-one';src:url('/assets/fonts/russo-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-rye';src:url('/assets/fonts/rye.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-sacramento';src:url('/assets/fonts/sacramento.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-saira-condensed';src:url('/assets/fonts/saira-condensed.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-silkscreen';src:url('/assets/fonts/silkscreen.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-sora';src:url('/assets/fonts/sora.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-space-grotesk';src:url('/assets/fonts/space-grotesk.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-staatliches';src:url('/assets/fonts/staatliches.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-syne-mono';src:url('/assets/fonts/syne-mono.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-teko';src:url('/assets/fonts/teko.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-titan-one';src:url('/assets/fonts/titan-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-uncial-antiqua';src:url('/assets/fonts/uncial-antiqua.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-unna';src:url('/assets/fonts/unna.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-urbanist';src:url('/assets/fonts/urbanist.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-work-sans';src:url('/assets/fonts/work-sans.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-yanone-kaffeesatz';src:url('/assets/fonts/yanone-kaffeesatz.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-yeseva-one';src:url('/assets/fonts/yeseva-one.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-zcool-kuaile';src:url('/assets/fonts/zcool-kuaile.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-zcool-qingke-huangyou';src:url('/assets/fonts/zcool-qingke-huangyou.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Print-zhi-mang-xing';src:url('/assets/fonts/zhi-mang-xing.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
.type-options,.type-scale{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:.4rem .7rem;margin:.7rem 0}
.type-options{align-items:end}
.type-options label,.type-scale label{font-weight:650;font-size:.875rem}
.type-options select{margin-top:.3rem}
.lettering-field{position:relative;min-width:0}
.lettering-field:has(.lettering-touch-trigger)>select{display:none}
.lettering-picker,.lettering-gallery-preview{display:none}
.lettering-picker summary,.lettering-touch-trigger{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:37px;padding:7px 10px;border:1px solid #dcd9e2;border-radius:7px;background:#fff;font-size:14px;line-height:1.35;list-style:none;cursor:pointer}
.lettering-picker summary::after,.lettering-touch-trigger::after{content:'';width:.45rem;height:.45rem;flex:none;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
.lettering-picker summary span,.lettering-touch-trigger span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.lettering-touch-trigger{width:100%;min-height:44px;margin-top:.3rem;text-align:start}
@media(min-width:761px) and (hover:hover) and (pointer:fine){
  .lettering-touch-trigger{display:none}
  .lettering-picker{display:block;margin-top:.3rem}
  .lettering-picker summary::-webkit-details-marker{display:none}
  .settings-card:has(.lettering-picker[open]){overflow:visible}
  .lettering-options{position:absolute;inset-inline:0;z-index:10;max-height:min(18rem,45vh);overflow:auto;overscroll-behavior:contain;margin-top:.25rem;padding:.25rem;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 8px 20px #27184124}
  .lettering-option-group{padding:.5rem .5rem .25rem;font-size:.75rem;font-weight:700;color:#5c5463}
  .lettering-options button{display:block;width:100%;min-height:32px;padding:.35rem .5rem;border-radius:5px;font-size:.875rem;text-align:start;overflow-wrap:anywhere}
  .lettering-options button[aria-pressed=true]{font-weight:700;background:var(--violet-bg);color:var(--purple-dark)}
  .lettering-options button:hover,.lettering-options button:focus-visible{background:var(--violet-bg);box-shadow:inset 0 0 0 1px var(--purple)}
  #appDialog:has(.lettering-gallery){width:min(54rem,calc(100vw - 2rem))}
  .lettering-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,30%);align-items:start;gap:1rem}
  .lettering-gallery-preview{display:block;position:sticky;top:.5rem;margin:0;padding:.5rem;border:1px solid var(--line);border-radius:.7rem;background:#fff}
  .lettering-gallery-preview figcaption{margin:0 0 .4rem;font-size:.85rem;font-weight:650}
  .lettering-gallery-preview canvas{display:block;width:100%;height:auto;border-radius:.4rem}
}
#appDialog[open]:has(.lettering-touch){display:flex;flex-direction:column;width:min(34rem,calc(100vw - 1rem));max-width:none;height:min(42rem,calc(100dvh - 1rem));max-height:none;overflow:hidden}
#appDialog:has(.lettering-touch) .dialog-header{flex:none;padding:.45rem .8rem}
#appDialog:has(.lettering-touch) .dialog-header h2{font-size:1.12rem}
#appDialog:has(.lettering-touch) #dialogClose{min-width:44px;min-height:44px}
#dialogBody:has(>.lettering-touch){flex:1;min-height:0;display:flex;padding:.55rem .75rem .75rem}
.lettering-touch{flex:1;min-width:0;min-height:0;display:grid;grid-template:min-content minmax(0,1fr) min-content/minmax(0,1fr);gap:.55rem}
.lettering-touch .lettering-gallery-preview{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:.25rem;position:static;margin:0;padding:.3rem;background:#f2f1ef;border-radius:.6rem}
.lettering-preview-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem;width:100%;max-width:18rem;padding:.15rem;border:1px solid var(--line);border-radius:.6rem;background:#fff}
.lettering-preview-modes button{min-width:0;min-height:44px;padding:.2rem .35rem;border-radius:.42rem;font-size:.85rem;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.lettering-preview-modes button[aria-pressed=true]{background:var(--violet-bg);color:var(--purple-dark);font-weight:700}
.lettering-touch .lettering-gallery-preview canvas{display:block;width:100%;height:min(27dvh,11.75rem);border-radius:.35rem}
.lettering-touch canvas[data-lettering-view=detail]{height:min(16dvh,7.25rem);touch-action:none;cursor:grab}
.lettering-touch canvas[data-lettering-view=detail]:active{cursor:grabbing}
.lettering-touch-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:.15rem .2rem .2rem}
.lettering-touch-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
.lettering-touch-options .lettering-option-group{grid-column:1/-1;padding:.45rem .15rem .05rem;font-size:.8rem;font-weight:700;color:#5c5463}
.lettering-touch-options button{min-width:0;min-height:44px;padding:.35rem .45rem;border:1px solid var(--line);background:#fff;border-radius:.5rem;text-align:start;font-size:.88rem;overflow-wrap:anywhere}
.lettering-touch :is(.lettering-touch-options button,.lettering-card)[aria-pressed=true]{border-color:var(--purple);background:var(--violet-bg);color:var(--purple-dark);font-weight:700}
.lettering-touch-footer{border-top:1px solid var(--line);padding-top:.35rem}
.lettering-touch-status{min-height:1.25em;margin:0 0 .25rem;font-size:.8rem;color:var(--muted)}
.lettering-touch-actions{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.lettering-touch-actions button{min-height:44px}
.lettering-touch-actions button:disabled{opacity:.55;cursor:default}
@media(orientation:landscape) and (max-height:480px){
  .lettering-touch{grid-template:minmax(0,1fr) min-content/repeat(2,minmax(0,1fr))}
  .lettering-touch .lettering-gallery-preview{min-height:0;grid-template-rows:auto minmax(0,1fr)}
  .lettering-touch .lettering-gallery-preview canvas,.lettering-touch canvas[data-lettering-view=detail]{height:100%;min-height:0}
  .lettering-touch-footer{grid-column:1/-1}
}
.lettering-open{margin:0 0 .75rem}
.type-options .lettering-accent{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.lettering-accent[hidden]{display:none}
.lettering-accent input{inline-size:3rem;min-height:2.35rem;padding:.19rem;cursor:pointer}
.lettering-collection+ .lettering-collection{margin-top:1.35rem}
.lettering-collection h3{font-size:1rem;margin:0 0 .6rem}
.lettering-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
.lettering-card{display:grid;min-width:0;justify-items:start;gap:.25rem;background:#fff;border:1px solid var(--line);border-radius:.7rem;padding:.4rem;cursor:pointer;text-align:start;color:inherit}
.lettering-card:hover,.lettering-card:focus-visible{border-color:var(--purple);background:var(--violet-bg)}
.lettering-card canvas{display:block;width:100%;height:auto;aspect-ratio:13/6;border-radius:.4rem}
.lettering-card span{padding:.12rem .16rem;font-size:.8rem;font-weight:650;overflow-wrap:anywhere}
@media(max-width:580px){.lettering-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}}

.type-scale{grid-template-columns:1fr auto}
.type-scale input{grid-column:1/-1;width:100%;accent-color:var(--purple)}
.type-scale output{font-size:.875rem;font-variant-numeric:tabular-nums}

#designCanvas.zoomed{touch-action:none;cursor:grab}
.sleeve-detail-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 .75rem;border-top:1px solid var(--line);padding:.35rem .85rem;font-size:.82rem}
.sleeve-detail-tools span{font-weight:650;overflow-wrap:anywhere}
.sleeve-detail-tools button{min-height:32px;padding:0;font:inherit;color:var(--purple-dark);text-decoration:underline;text-underline-offset:.16em}
@media(max-width:760px){.sleeve-detail-tools button{min-height:44px}}
#designCanvas.unfolded-sleeve{touch-action:none}
.zoom-tools #resetViewport,.zoom-tools #panCanvas{padding:.3rem .4rem;font-size:.8rem;border-radius:.35rem}
.zoom-tools #panCanvas[aria-pressed=true]{background:var(--purple);color:white}

#garmentPalette {flex-wrap:wrap;gap:.45rem}
.part-block {margin:1rem 0}
.part-block h3,.adjust-title {font-size:.9rem;font-weight:650}
.part-switch {display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.4rem}
.part-switch button {padding:.4rem .65rem;border:1px solid var(--line);border-radius:.45rem;font-size:.86rem}
.part-switch button[aria-pressed=true] {border-color:var(--purple);background:var(--violet-bg);color:var(--purple-dark)}
.adjust-title {display:flex;align-items:center;gap:.4rem}
.adjust-title .icon {width:1rem;height:1rem}

.design-lookup {display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin:0 0 1.25rem}
.design-lookup label {font-weight:650;font-size:.9rem}
#designCode {width:14rem;max-width:100%;min-width:0;border:1px solid var(--line);border-radius:.5rem;padding:.48rem .7rem;font:500 .9rem ui-monospace,monospace}
.design-lookup .subbutton {margin:0;min-height:37px}
.design-lookup [role=status] {color:var(--purple-dark)}
.order-summary {display:grid;gap:.75rem;background:white;border:1px solid var(--line);border-radius:1rem;padding:1.25rem;margin-bottom:1rem}
.order-summary .customer-previews {max-width:48rem}
.order-summary button {justify-self:start}
.quote-terms {white-space:pre-wrap}
.order-summary[hidden],#studioView[hidden],#orderTracking[hidden],#garmentParts[hidden]{display:none}

.team-entry{margin-top:.85rem}.team-entry .subbutton{max-width:100%;min-height:44px;margin:0;color:var(--purple-dark);white-space:normal;overflow-wrap:anywhere}
.team-entry p,.team-sizes,.team-caption{margin:.3rem 0 0;color:var(--muted);font-size:.88rem}
#qtyInput:read-only{background:var(--soft)}
.price-estimate output.selection-hint{font-size:.95rem;font-weight:500;color:var(--muted)}
.price-estimate output.stock-unavailable{font-size:.95rem;font-weight:600;color:#962e42}
.catalog-stock-list{margin:.35rem 0;padding-inline-start:1.35rem;list-style:disc;overflow-wrap:anywhere}
.catalog-stock-list li+li{margin-top:.25rem}
#estimateStockDetails{font-size:.95rem;color:#962e42}
#appDialog:has(.team-form){width:min(61rem,calc(100vw - 2rem))}
.team-form{display:grid;gap:.85rem}.team-form>p:first-child{color:var(--muted)}
.team-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1rem}
.team-columns h3{font-size:1rem;font-weight:700}
.team-rows{max-height:min(46vh,30rem);overflow:auto;padding:.15rem .15rem .25rem}
.team-row{display:grid;grid-template-columns:minmax(4.3rem,1fr) minmax(3.5rem,.8fr) auto;align-items:end;gap:.5rem;padding:.65rem .1rem;border-bottom:1px solid var(--line)}
.team-row label,.team-paste label{display:grid;gap:.25rem;font-size:.88rem;font-weight:600;min-width:0}
.team-row label span{color:var(--muted)}
.team-row-actions,.team-tools,.team-actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.team-row-actions{flex-wrap:nowrap}
.team-row-actions button,.team-tools button,.team-paste button{padding:.45rem .55rem;background:white;border:1px solid var(--line);border-radius:.45rem;min-height:2.35rem}
.team-row-actions [aria-pressed=true],.team-tools [aria-expanded=true],.team-tools [aria-pressed=true]{border-color:var(--purple);color:var(--purple-dark);background:var(--violet-bg)}
.team-row-actions [data-remove]{font-size:1.15rem;line-height:1;min-width:2.35rem}
.team-tools,.team-paste,.team-total{margin-top:.7rem}.team-paste textarea{margin:.35rem 0}
.team-personal-fields{grid-column:1/-1;display:flex;align-items:end;gap:.45rem}
.team-personal-fields label{flex:1}
.team-row .team-omit-name{grid-column:1/-1;display:flex;align-items:center;gap:.5rem}
.team-row .team-omit-name input{flex:none;width:1rem;height:1rem;min-height:0;margin:0}
.team-personal-tools label{display:flex;align-items:center;gap:.4rem;font-size:.88rem}
.team-personal-tools .control-hint{margin-bottom:0}
.team-proof{display:grid;gap:.55rem;background:var(--soft);border:1px solid var(--line);border-radius:.75rem;padding:.75rem;margin:0}
.team-proof-row{display:grid;gap:.2rem;min-width:0;font-size:.84rem;color:var(--muted)}
.team-proof-row select{width:100%}
.team-proof-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}
.team-proof-views figure{min-width:0;margin:0}
.team-proof-image{position:relative;aspect-ratio:1;overflow:hidden;background:#fdfcfe;border:1px solid var(--line);border-radius:.55rem}
.team-proof-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.team-proof figcaption,.team-total{font-weight:650}
.team-proof figcaption{margin-top:.3rem;font-size:.82rem;text-align:center}
.team-error{color:#8c3041;font-weight:600}.team-error:empty,.team-sizes:empty,.team-caption:empty{display:none}
.team-receipt{margin:.6rem 0}.team-receipt summary{font-weight:650;color:var(--purple-dark);cursor:pointer}
.team-receipt p{font-size:.9rem;margin:.5rem 0}.team-table-scroll{overflow:auto;max-height:19rem}
.team-receipt table{width:100%;border-collapse:collapse}.team-receipt th,.team-receipt td{padding:.4rem;text-align:left;border-bottom:1px solid var(--line)}
@media(max-width:740px){
 .team-columns{grid-template-columns:minmax(0,1fr)}
 .team-rows{max-height:42vh}
 .team-tools button,.team-row-actions button{min-height:2.75rem}
 .team-row select,.team-row input{min-height:2.75rem}
}
@media(max-width:360px){
 .team-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .team-row-actions{grid-column:1/-1}
}

.team-proof-picker{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;font-size:.9rem;font-weight:650}
.team-proof-picker select{width:auto;max-width:100%}

.brand .brand-icon{display:block;flex:none}
.brand .brand-word{gap:.16em;letter-spacing:-.045em}
.brand-suffix{font-size:.85em;font-weight:700;letter-spacing:-.025em}

.header-actions .business-contact{min-height:36px;padding:6px 11px;gap:6px;color:#175d43;background:#eff8f2;border:1px solid #c6decc;border-radius:8px;text-decoration:none}
.header-actions .business-contact:hover{color:#104e36;background:#e0f1e5}
@media(max-width:370px){.header-actions .business-contact{padding-inline:6px;gap:4px}}

.draft-save {justify-self:center;margin:.2rem 0}.draft-save:disabled {color:var(--muted)}
.checkout-form {display:grid;gap:1rem}
.address-edit-fields {display:grid;gap:1rem;min-width:0;margin:0;padding:0;border:0}
.checkout-form h3 {margin:0;font-size:1rem}
.checkout-summary {background:#f5f2fc;border-radius:.65rem;padding:.65rem .85rem}
.shipping-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.shipping-fields > div {display:grid;gap:.25rem;align-content:start;min-width:0}
.shipping-fields label {font-size:.875rem;font-weight:600}
.mx-postal-area-action{justify-self:start;max-width:100%;min-height:44px;white-space:normal;text-align:start}
.checkout-form [aria-invalid="true"] {border-color:#b42318;outline:2px solid #b42318;outline-offset:1px}
.checkout-form .ship-error {display:block;color:#a51b13;font-size:.81rem;line-height:1.4;font-weight:500}
.checkout-form .ship-error:empty {display:none}
.shipping-fields>.ship-phone{grid-column:1/-1}
.delivery-phone{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.45rem;min-width:0}
.delivery-phone [data-phone-country]{display:flex;align-items:center;justify-content:space-between;gap:.4rem;min-width:5.25rem;min-height:44px;padding:.45rem .6rem;border:1px solid var(--line);border-radius:.5rem;background:#fff;color:inherit;font:inherit;cursor:pointer}
.delivery-phone [data-phone-picker]{position:absolute;z-index:8;inset-inline-start:0;top:var(--phone-picker-top,calc(100% + .25rem));width:min(100%,22rem);padding:.45rem;border:1px solid var(--line);border-radius:.6rem;background:#fff;box-shadow:0 6px 20px #211a2729}
.delivery-phone [data-phone-picker]:not([hidden]){display:flex;flex-direction:column;max-height:var(--phone-picker-height,none)}
.delivery-phone [data-phone-picker][data-placement=above]{transform:translateY(-100%)}
.delivery-phone [data-phone-picker][data-placement=inline]{position:static;grid-column:1/-1;box-shadow:none}
.delivery-phone [data-phone-picker]>input{flex:none}
.delivery-phone [role=listbox]{min-height:0;margin-top:.3rem;max-height:11rem;overflow:auto;overscroll-behavior:contain}
.delivery-phone [role=option]{display:block;width:100%;padding:.55rem .6rem;border:0;border-radius:.35rem;background:#fff;color:inherit;text-align:start;font:inherit;cursor:pointer}
.delivery-phone [role=option]:is(:hover,[aria-selected=true]){background:#f1ebfa}
.delivery-phone [data-phone-empty]{padding:.35rem;color:var(--muted)}
.delivery-phone #ship-phone-code-help{grid-column:1/-1}
.shipping-fields input,.shipping-fields select {width:100%;min-width:0;border:1px solid var(--line);border-radius:.5rem;background:white;padding:.55rem .65rem}
.ship-name,.ship-address,.ship-colonia,.ship-deliveryNotes {grid-column:1/-1}
.ship-deliveryNotes textarea{width:100%;resize:vertical}
.shipping-fields select:disabled {background:#f6f5f8;color:var(--muted)}
.shipping-fields select {text-overflow:ellipsis}
.checkout-methods {display:flex;flex-wrap:wrap;gap:.6rem}
.checkout-methods label {white-space:nowrap;display:flex;align-items:center;gap:.4rem;padding:.45rem .7rem;border:1px solid var(--line);border-radius:.5rem}
.checkout-form input[type=radio],.checkout-form input[type=checkbox] {accent-color:var(--purple)}
.checkout-consent {font-size:.9rem}
.checkout-form input[type=radio] {width:1rem;height:1rem;flex:none;margin:0}
.shipping-address,.shipping-check-summary {white-space:pre-line;overflow-wrap:anywhere}
.shipping-address-review,.street-suggestions [data-streets]:not(:empty){display:grid;gap:.6rem;padding:.85rem;border:1px solid var(--line);border-radius:.6rem}
.shipping-address-review :is(h4,p){margin:0}
.street-suggestions{display:grid;gap:.4rem;min-width:0}
.street-suggestions [data-streets] button{text-align:start;overflow-wrap:anywhere}
.address-provider{color:#5e5e5e;font-size:.82rem;white-space:nowrap;font-weight:400}
.ship-city-search{position:relative;min-width:0}
.ship-city-search input{min-height:44px;padding-inline-end:46px}
.ship-city-search input:disabled{background:#f6f5f8;color:var(--muted)}
.ship-city-search [data-city-toggle]{position:absolute;inset-block:1px;inset-inline-end:1px;display:grid;place-items:center;width:43px;padding:0;color:#635b70;border-inline-start:1px solid var(--line);border-start-end-radius:.45rem;border-end-end-radius:.45rem}
.ship-city-search [data-city-toggle]:hover:not(:disabled){background:var(--violet-bg);color:var(--purple-dark)}
.ship-city-search [data-city-toggle]:focus-visible{outline-offset:-3px}
.ship-city-search [data-city-toggle]:disabled{opacity:.55}
[data-mx-address] .ship-postal [data-city-toggle]:disabled{display:none}
.ship-city-search [data-city-toggle] svg{width:18px;height:18px}
.ship-city-search [data-city-toggle][aria-expanded=true] svg{transform:rotate(180deg)}
.ship-city-menu{position:absolute;z-index:5;inset-inline:0;top:calc(100% + 4px);border:1px solid var(--line);border-radius:.55rem;background:#fff;box-shadow:0 6px 20px #211a2729}
.ship-city-menu [role=listbox]{position:relative;max-height:min(14rem,40dvh);overflow:auto;overscroll-behavior:contain;border-radius:inherit}
.ship-city-menu [role=option]{display:flex;align-items:center;min-height:44px;padding:.5rem .7rem;overflow-wrap:anywhere;cursor:pointer}
.ship-city-menu [role=option]:is(:hover,[aria-selected=true]){background:#f1ebfa}
.ship-city-menu [data-city-empty]{margin:0;padding:.6rem .7rem;color:var(--muted);font-size:.85rem}
.checkout-total {display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:.8rem}
.checkout-total strong {font-size:1.25rem}
.customer-primary:disabled {opacity:.55;cursor:not-allowed}
@media(max-width:760px){
  .shipping-fields{gap:.6rem}
  .shipping-fields>div{grid-column:1/-1}
  .shipping-fields> :is(.ship-country,.ship-state){grid-column:auto}
  .shipping-fields[data-mx-address]>.ship-postal{grid-column:auto}
  .shipping-fields[data-mx-address]>.ship-state{grid-column:1/-1}
  .shipping-fields :is(input,select){min-height:44px}
  #appDialog .ship-city-search input{min-height:46px}
  .ship-city-search [data-city-toggle]{width:44px}
  .checkout-form .postal-lookup{margin-bottom:0}
}
@media(max-width:355px){.shipping-fields{grid-template-columns:minmax(0,1fr)}}

#cartCount{background:var(--violet-bg);color:var(--purple-dark);border-radius:1rem;padding:0 .4rem;font-size:.75rem}
.cart-add{grid-column:1/-1;justify-content:center;width:100%;margin-bottom:.45rem}
.cart-view,.case-view,.fulfillment-panel{display:grid;gap:.85rem}
.cart-row,.tracking-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;padding:.7rem 0;border-bottom:1px solid var(--line)}
.cart-row>div,.tracking-row>div{flex:1 1 10rem;min-width:0;overflow-wrap:anywhere}
.cart-row small{display:block;color:var(--muted)}
.cart-row button,.tracking-row button,.tracking-row a{font-weight:600;color:var(--purple-dark);text-decoration:underline;text-underline-offset:3px}
.fulfillment-panel{border-top:1px solid var(--line);padding-top:1rem;margin-top:1.2rem}
.fulfillment-panel h2{font-size:1.1rem}
.service-terms{padding:.65rem .8rem;border:1px solid var(--line);border-radius:.6rem}
.service-terms summary{font-size:.9rem}
.service-terms p,.case-message p{margin-top:.5rem;white-space:pre-line}
.case-message small{color:var(--muted)}
.case-message{padding:.75rem;border:1px solid var(--line);border-radius:.65rem}
.service-dialog [data-case-submit-error]{margin:0;color:#a51b13;font-weight:600}
.service-dialog [data-case-submit-error]:empty{position:absolute}
.case-photo{display:block;max-width:100%;max-height:26rem;object-fit:contain}
@media(max-width:450px){.site-nav{gap:2px}.site-nav .nav-link{font-size:.8rem;gap:.25rem}.cart-row{gap:.35rem}}
@media(max-width:410px){
  .header-actions .lang .icon{display:none}
  .header-actions .business-contact{padding-inline:6px}
  .brand{gap:6px}
}
@media(max-width:360px){.header-actions .business-contact .icon{display:none}}
@media(max-width:350px){
  .header-inner{grid-template-columns:auto minmax(0,1fr);column-gap:4px;padding-inline:8px}
  .brand .brand-icon{width:24px;height:24px}
  .brand .brand-word{font-size:18px}
  .header-actions{justify-content:flex-end;flex-wrap:wrap}
}

.cart-thumb {display:block;width:3.75rem;height:3.75rem;object-fit:contain;flex:none;background:var(--soft);border-radius:.5rem}
.cart-row div small:last-child {font-size:.8rem;margin-top:.2rem;color:var(--muted)}
.cart-link {font-size:.875rem;color:var(--muted);display:grid;gap:.25rem}
.cart-team-quote,.order-contact-card{display:grid;gap:.55rem;padding:.85rem;border:1px solid var(--line);border-radius:.65rem;background:var(--soft)}
.order-contact-card:not(:has(>p,>.customer-actions>:not([hidden]))){display:none}
.cart-team-quote>button{justify-self:start}
.cart-team-quote p,.order-contact-card p{margin:0}
.cart-team-quote [role=status]:empty,.order-contact-card [role=status]:empty{display:none}
.cart-team-quote .customer-actions{margin-top:.5rem}
#orderShipment{scroll-margin-top:5rem}
.fulfillment-panel {margin:.65rem 0 1rem;gap:.65rem}
#orderTracking .customer-previews {max-width:36rem}
#orderTracking .service-terms {margin:.5rem 0}

.proof-review-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.proof-review-images figure{margin:0;min-width:0;text-align:center}
.proof-review-images img{display:block;width:100%;height:clamp(140px,22vw,300px);object-fit:contain;background:#f6f6f6;border-radius:8px}
.proof-review-images figcaption{margin-top:5px;font-size:.85rem}
.proof-note{white-space:pre-wrap;overflow-wrap:anywhere}
[data-proof-panel] .customer-form{margin-top:16px}
[data-proof-panel] fieldset{min-width:0;border:1px solid #ccc;border-radius:8px;padding:12px}
[data-proof-panel] fieldset label{display:flex;align-items:center;gap:8px;padding:6px 0}
[data-proof-panel] input[type=radio]{width:auto;min-height:0;flex:none}
[data-art-admin] fieldset{min-width:0}
.customer-previews[hidden],[data-verify][hidden],[data-art-files][hidden],[data-art-source][hidden]{display:none}

#textMiniPreview{display:none}
#textPreviewCanvas{display:block;width:min(100%,240px);height:auto;margin:auto}
#textMiniPreview summary{cursor:pointer;font-weight:600;padding:.5rem}
#imageQuality.low-quality{color:#8a3c11;font-weight:600}
.studio-print-check{padding:.65rem var(--preview-footer-inset);border-top:1px solid var(--line)}
.studio-print-check-heading,.design-reuse{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem}
.design-reuse{padding:0 var(--preview-footer-inset) .75rem}
:is(.studio-print-check-heading,.design-reuse)>button{min-width:0;max-width:100%;min-height:44px;margin:0;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
#duplicateDesignHint:not([hidden]){flex:1 0 100%;margin:0}
.studio-print-check-heading [role=status]{flex:1 1 9rem;margin:0;color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
.studio-print-check-list{display:grid;gap:.4rem;max-height:15rem;overflow:auto;overscroll-behavior:contain;margin:.5rem 0;padding:.15rem .25rem .15rem 0;list-style:none}
.studio-print-check-list[hidden]{display:none}
.studio-print-check-list>li{border:1px solid var(--line);border-radius:9px;background:#fbfaff;padding:.2rem .6rem .5rem;min-width:0}
.studio-print-check-layer{min-height:44px;display:block;width:100%;text-align:start;padding:.3rem 0;font-size:.86rem;font-weight:700;color:var(--purple-dark);overflow-wrap:anywhere}
.studio-print-check-layer:hover{text-decoration:underline}
.studio-print-check-reasons{padding-inline-start:1.12rem;margin:0;color:var(--ink);font-size:.84rem}
.studio-print-check-reasons>li+li{margin-top:.2rem}
.studio-print-check-note{margin:.3rem 0 0;color:var(--muted);font-size:.78rem}
@media(max-width:760px){.studio-print-check-list{max-height:14rem}}
@media(max-width:430px){
  .studio-print-check-heading{display:block}
  .studio-print-check-heading [role=status]:not(:empty){margin-block-start:.45rem}
  :is(.studio-print-check-heading,.design-reuse)>.subbutton{width:100%}
}
#localDraft:not([hidden]){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.35rem .75rem;padding:.45rem .85rem}
#localDraft :is(p,.customer-actions){margin:0}
#localDraft p{font-size:.875rem}
#localDraft button{min-height:44px;white-space:normal}
#canvasDraftSlot #localDraft:not([hidden]){display:block;margin:0;padding:.15rem .75rem .45rem;border:0;border-radius:0}
#canvasDraftSlot #localDraft:not([data-loading-saved]) [data-recovery-hint]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#canvasDraftSlot [data-loading-saved] [data-recovery-hint]{margin-bottom:.35rem}
#canvasDraftSlot .customer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
#canvasDraftSlot .customer-actions button{width:100%;padding:.35rem;line-height:1.2;font-size:.84rem}
.member-editing #canvasDraftSlot #localDraft{display:none}
@media(max-width:350px){
  .header-actions #storeLanguage{width:auto;flex:none}
  .site-header .header-actions{gap:4px}
  .order-entry button strong{font-size:.87rem;line-height:1.25}
}
#viewTextOnGarment{display:none}
@media(max-width:900px){
  #textMiniPreview{display:block;margin-top:.55rem;background:#f7f5f2;border-radius:10px}
  #textMiniPreview summary{min-height:44px;padding:.65rem .5rem}
  #panel-text :is(#layerText,#textPresetGallery,#addText,#newText){min-height:44px}
  #viewTextOnGarment:not([hidden]){display:block;min-height:44px;padding:.35rem 0;text-align:start}
}
@media(max-height:520px){#textPreviewCanvas{max-height:115px;object-fit:contain}}
.purchase-group{margin:.6rem 0;border:1px solid #e3dce9;border-radius:10px;background:#fff;overflow:hidden}
.purchase-group summary{cursor:pointer;padding:.8rem;background:#f6f2fa;color:#352441}
.purchase-group summary span{margin-left:.65rem}
.team-share{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.captain-seats{display:grid;gap:.5rem;margin:1rem 0}
.captain-seats section{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;border:1px solid #e7dff0;border-radius:10px;padding:.65rem}
.captain-seats p{margin:.2rem 0}
.team-invite-fields{min-width:0;border:0;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#retryGarment:not([hidden]){position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:6;background:white;box-shadow:0 3px 16px #28133726}

.mobile-order,.mobile-pick {display:none}
@media (max-width:900px) {
  .mobile-pick {display:block;width:100%;margin:8px 0 2px}
  .mobile-order:not([hidden]) {position:fixed;inset:auto 0 0;z-index:12;display:flex;flex-wrap:wrap;align-items:center;gap:clamp(5px,2vw,12px);padding:8px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#fff;border-top:1px solid #dedce5;box-shadow:0 -3px 18px #24104b12}
  .mobile-order-info{flex:1 1 min-content;min-width:0;display:grid;gap:0;justify-items:start;overflow-wrap:anywhere}
  .mobile-order-info:has(:is(#mobileOrderAmount,#mobileOrderAddress):not([hidden])){min-width:min-content}
  .mobile-order-info span{font-weight:700;font-size:.84rem;line-height:1.25}
  #mobileOrderAmount{white-space:nowrap;overflow-wrap:normal}
  .mobile-order #mobileOrderAddress{min-height:44px;padding:0;background:none;color:var(--purple-dark);font-size:.8rem;line-height:1.25;text-align:start;white-space:normal;overflow-wrap:normal;text-decoration:underline;text-underline-offset:.18em}
  .mobile-order #mobileOrderAction{flex:0 1 auto;max-width:51%;min-width:0;font-size:.88rem;line-height:1.25;padding:.35rem clamp(7px,2.5vw,16px);overflow-wrap:anywhere}
  .mobile-order #mobileOrderHint{flex:0 0 100%;margin:0;color:#514661;font-size:.8rem;line-height:1.35;overflow-wrap:anywhere}
  .mobile-order #mobileOrderAction:disabled{background:#ebe7f4;color:#635674}
  .mobile-order #mobileOrderQty {background:#f3efff;color:#4625a9;padding:0 8px;white-space:nowrap}
  .mobile-order #mobileOrderQty[hidden] {display:none}
  .mobile-order button {min-height:44px;border:0;border-radius:10px;padding:0 16px;background:#5428de;color:white;font-weight:700}
  html:has(#studioView:not([hidden]) .mobile-order:not([hidden])) {scroll-padding-bottom:calc(var(--mobile-order-height,72px) + .6rem)}
  #studioView:not([hidden]):has(.mobile-order:not([hidden])) ~ .site-footer {--footer-order-offset:var(--mobile-order-height,72px)}
  .app-status:not(:empty){width:max-content;max-width:min(32rem,calc(100vw - 1.6rem));overflow-wrap:anywhere}
  body:has(#studioView:not([hidden]) .mobile-order:not([hidden])) .app-status:not(:empty){bottom:calc(var(--mobile-order-height,72px) + .65rem)}
  #studioView:has(#mobileLayerPanel:not([hidden])) .mobile-order:not([hidden]){display:none}
  body:has(#studioView input:is([type=text],[type=number]):focus,#studioView textarea:focus) .mobile-order:not([hidden]){display:none}
}
@media(max-width:480px){
  .mobile-order #mobileOrderAction{flex:1 1 7rem;margin-inline-start:auto}
}

.store-language{padding:.38rem .48rem;border:1px solid transparent;border-radius:.45rem;background:transparent;color:#423952;font:inherit;font-size:.8rem;min-width:2.9rem}
@media(max-width:480px){.header-actions{gap:7px}.header-actions .business-contact{min-height:34px;padding-inline:5px}.header-actions .business-contact .icon{display:none}}

.access-hint{position:relative;display:inline-flex;max-width:100%}
.access-hint[data-hint] button{pointer-events:none}
.access-hint[data-hint]:is(:hover,:focus-visible)::after{
  content:attr(data-hint);position:absolute;z-index:8;left:0;bottom:calc(100% + 8px);
  width:max-content;max-width:min(18rem,76vw);padding:.55rem .7rem;border-radius:8px;
  color:#fff;background:#2f2840;font-size:.82rem;line-height:1.45;text-align:left;pointer-events:none;
}
.access-hint[data-hint]:focus-visible{outline:2px solid var(--purple);outline-offset:2px;border-radius:6px}
.history-tools .access-hint[data-hint]::after{top:calc(100% + 8px);right:0;bottom:auto;left:auto}
.zoom-tools .access-hint[data-hint]::after{right:0;left:auto}
.guest-design-note{margin:.75rem 0;padding:.7rem .8rem;border-inline-start:3px solid #b37319;border-radius:8px;background:#fff4e3;color:#603a06;font-size:.875rem;line-height:1.45}
.storefront-categories{display:flex;flex-wrap:wrap;gap:.5rem 1rem;width:100%;font-size:.85rem}
#sleeveHelp{margin-block:0 .5rem}

.market-control{display:grid;gap:.3rem;font-weight:600}
.market-control select{font:inherit;min-height:2.5rem;max-width:100%}
.size-imperial{display:block;white-space:nowrap}

.checkout-feedback:not(:empty){padding:.65rem .8rem;border:1px solid #d68a7f;border-radius:.6rem;background:#fff3f1;color:#7c251c}

.artwork-open{margin-top:.85rem}
#featuredArtwork .template-art,.artwork-grid .template-art{background:#f5f2ee}
#featuredArtwork .template-choice[data-palette="dark"] .template-art,.artwork-grid .template-choice[data-palette="dark"] .template-art{background:#333338}
.artwork-palette-control:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr);gap:.35rem;margin:.6rem 0}
.artwork-palette-control label{font-size:.875rem;font-weight:650}
.artwork-palette-control select{width:100%;max-width:100%;min-width:0}
#appDialog:has(.artwork-library){width:min(54rem,calc(100vw - 1.5rem))}
.artwork-filters{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:.75rem}
.artwork-filters label span{display:block;margin-bottom:.25rem;font-size:.85rem;font-weight:650}
.artwork-filters input,.artwork-filters select{width:100%;min-width:0}
.artwork-collection+.artwork-collection{margin-top:1.4rem}
.artwork-collection h3{margin:0 0 .55rem;font-size:1.05rem}
.artwork-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.artwork-grid .template-choice{align-self:stretch;border-radius:.55rem;padding:.26rem .26rem .5rem}
.artwork-grid .template-choice:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.artwork-grid .template-art{height:clamp(80px,14vw,126px)}
.artwork-grid .template-art img{inset:5px 9px;height:calc(100% - 10px)}
.artwork-grid .template-name{padding:.15rem .22rem;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:620px){.artwork-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:430px){.artwork-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.artwork-filters{grid-template-columns:1fr}}

.layer-stack:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:end;gap:.5rem;margin-top:.65rem}
.layer-stack label{min-width:0;font-size:.84rem;font-weight:650}
.layer-stack select{display:block;width:100%;min-width:0;min-height:44px;margin-top:.2rem}
.layer-delete{min-height:44px;margin:0;padding:.4rem .55rem;white-space:normal;line-height:1.25}
.storefront-studio #deleteLayer{color:#9c283d}
.storefront-studio #deleteLayer:enabled:hover{background:#fff0f3;border-color:#ca7b87}

.team-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.4rem;list-style:none;margin:.25rem 0 .95rem;padding:0}.team-steps li{display:flex;align-items:center;gap:.35rem;padding:.4rem .5rem;border:1px solid var(--line);border-radius:.45rem;font-size:.82rem;line-height:1.3}.team-steps span{flex:none;min-width:1.5em;font-weight:700;text-align:center}.team-steps li[aria-current=step]{background:#eee7ff;border-color:#7b5bdf;color:#312064;font-weight:700}.team-roster-progress{width:100%;height:.6rem;accent-color:#6740dc}@media(max-width:640px){.team-steps{grid-template-columns:1fr}.team-steps li{min-height:2rem}}

@media(max-width:420px){
  .site-header .brand{min-width:0;max-width:100%}
  .site-header .brand-icon{width:26px;height:26px;flex:none}
  .site-header .brand-word{display:grid;gap:2px;font-size:1rem}
  .site-header .brand-suffix{white-space:nowrap}
}

@media(max-width:350px){
  .site-header .site-nav .nav-link .icon{display:none}
}

.studio-more>summary,.mobile-layer-panel,#openMobileLayer{display:none}
.studio-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-block:0 12px}
.studio-quick-actions>a,.studio-quick-actions>.subbutton{display:inline-flex;align-items:center;min-height:40px;margin:0;padding:7px 11px;text-align:center;white-space:normal}
.studio-quick-actions>a.subbutton{text-decoration:none}
.stage-operations{display:flex;align-items:center;gap:.3rem}
.size-table :is(thead th:first-child,tbody th[scope=row]:first-child){position:sticky;inset-inline-start:0;background:#fff;z-index:1}
.size-table thead th:first-child{background:#eeeaf6;z-index:2}
.size-table tbody .size-selected th[scope=row]:first-child{background:var(--violet-bg)}
@media(min-width:901px){
  .stage{max-height:max(295px,calc(100dvh - 178px))}
}
@media(min-width:901px) and (max-height:620px){
  .preview-card:has(#groupDesignNext:not([hidden]),.studio-print-check-list:not([hidden])){position:static}
}

@media(max-width:900px){
  .site-header .site-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
  .site-header .site-nav .nav-link{justify-content:center;min-width:0;min-height:44px;padding:0 .17rem;text-align:center;white-space:normal;line-height:1.2}
  .studio-more{margin:0 0 .55rem}
  .studio-more>summary{display:list-item;cursor:pointer;padding:.37rem 0;color:var(--purple-dark);font-size:.86rem;font-weight:650}
  .studio-quick-actions{gap:.35rem .55rem;margin:.3rem 0 .6rem}
  .studio-quick-actions>a,.studio-quick-actions>.subbutton{min-height:44px}
  #canvasDownload:not(:empty) .download-button{min-height:44px;min-width:44px;padding:6px}
  #canvasDownload .download-button span{display:none}
  .design-lookup :is(input,button){min-height:44px}
  .order-entry{margin-bottom:.3rem}
  .mobile-studio-tools{padding:.4rem .85rem .85rem;border-block-end:1px solid var(--line)}
  .mobile-studio-tools .color-block{margin-block:0 0 .45rem;padding-block:.45rem}
  .mobile-studio-tools .design-block{margin:0;padding-block:.5rem 0}
  .mobile-artwork-panel{min-width:0}
  .mobile-artwork-panel>summary{min-height:44px;padding:.65rem .05rem;cursor:pointer;color:var(--purple-dark);font-weight:700}
  .mobile-artwork-panel[open]>summary{border-bottom:1px solid var(--line)}
  .mobile-artwork-panel .design-block>.control-title{justify-content:flex-end}
  .mobile-artwork-panel .design-block>.control-title h3{display:none}
  .mobile-studio-tools .part-block{margin:.25rem 0 .65rem}
  .mobile-studio-tools .part-switch button,.mobile-studio-tools #openArtworkGallery,.mobile-studio-tools .swatch{min-height:44px;min-width:44px}
  #mobileLayerEntry:not(:empty){padding:.4rem .85rem 0}
  .mobile-adjust-entry .layer-stack:not([hidden]){
    grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;margin:0
  }
  .mobile-adjust-entry .layer-stack>label{grid-column:1/-1}
  .mobile-adjust-entry .layer-stack>button{
    min-height:44px;min-width:0;margin:0;padding:.35rem .4rem;gap:.4rem;
    font-size:.82rem;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere
  }
  .mobile-adjust-entry .layer-stack>button svg{flex:none}
  .mobile-adjust-entry #openMobileLayer{display:inline-flex;grid-column:1}
  .mobile-adjust-entry .layer-delete{grid-column:2}
  #mobileLayerPanel:not([hidden]) ~ #mobileAdjustEntry #openMobileLayer{display:none}
  .mobile-studio-tools :is(.adjust,#layerAlignment,#artworkPaletteField){display:none}
  .preview-card:has(.mobile-layer-panel:not([hidden])) .stage{height:clamp(13rem,42dvh,25rem)}
  .mobile-layer-panel:not([hidden]){display:block;max-height:45dvh;overflow:auto;overscroll-behavior:contain;padding:0 .85rem .65rem;border-block:1px solid var(--line);background:#fff}
  #sleeveDetailTools:has(+ #mobileLayerPanel:not([hidden])){display:none}
  .mobile-layer-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid var(--line)}
  .mobile-layer-header h2{flex:1;min-width:0;font-size:1rem;line-height:1.18}
  .mobile-layer-header button{min-height:44px;min-width:44px}
  .mobile-layer-view:not(:has(button:not([hidden]))){display:none}
  .mobile-layer-view button{padding:.2rem .25rem;font-size:.8rem;line-height:1.25;color:var(--purple-dark);text-decoration:underline;text-underline-offset:.16em}
  #closeMobileLayer{flex:none}
  .mobile-layer-controls{min-width:0;padding:.35rem 0 0}
  .mobile-layer-basics{display:grid;grid-template-columns:minmax(4.4rem,auto) minmax(0,1fr);align-items:center;gap:.1rem .6rem}
  .mobile-layer-basics label{font-size:.87rem;font-weight:650}
  .mobile-layer-basics input{margin:0;width:100%;min-width:0}
  .mobile-layer-basics #printLimit{grid-column:1/-1;margin:.25rem 0 .55rem}
  #mobileLayerActions{margin:.32rem 0}
  .mobile-layer-controls .adjust{margin:0;padding:0;border:0}
  .mobile-layer-controls .adjust-title{display:none}
  .mobile-layer-controls .adjust-body{gap:.45rem .6rem;margin-top:.35rem}
  .mobile-layer-controls :is(button,select,input[type=range]){min-height:44px}
  .mobile-layer-controls .layer-alignment:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;margin:0 0 .2rem}
  .mobile-layer-controls .layer-alignment button{white-space:normal;overflow-wrap:anywhere;padding:.25rem .35rem}
  .mobile-layer-controls :is(#alignSleeveHem,#alignSleeveHint){grid-column:1/-1}
  .member-editing #studioMore,.member-editing #mobileColors,.member-editing #canvasDownload{display:none}
}
@media(max-width:739px){
  #studioView{
    --mobile-design-height:clamp(145px,calc(var(--mobile-design-viewport,100dvh) * .31),272px);
    --mobile-design-top:var(--mobile-visual-top,0px);
    --mobile-tool-scroll-margin:calc(var(--mobile-design-top) + var(--mobile-design-height) + 8px);
  }
  #studioView{--mobile-layer-header-height:45px}
  #studioView:has(.member-edit-bar:not([hidden]),.roster-return:not([hidden])){
    --mobile-design-top:calc(var(--mobile-visual-top,0px) + var(--mobile-roster-bar-height,0px));
  }
  .member-editing:has(#mobileLayerPanel:not([hidden]),#layerText:focus) #memberEditHint{display:none}
  .roster-return{padding:7px 10px}
  .roster-return #groupDesignHint{display:none}
  #studioView .preview-card{overflow:clip}
  #studioView .preview-card>.customize{
    border-top:1px solid var(--line);padding:.65rem;background:var(--soft)
  }
  #studioView .preview-card .stage{
    position:sticky;top:var(--mobile-design-top);z-index:5;height:var(--mobile-design-height);
    box-shadow:0 1px 0 var(--line);
  }
  #studioView .preview-card :is(.customize,#mobileStudioTools,#mobileLayerEntry,#mobilePrintAreas,#mobileAdjustEntry,#studioQuickFit,#groupDesignNext)
    :is(summary,button,input,select,textarea),
  #mobileLayerPanel{
    scroll-margin-top:var(--mobile-tool-scroll-margin);
  }
  #mobileLayerPanel .mobile-layer-header{
    position:sticky;top:0;z-index:4;
    min-height:var(--mobile-layer-header-height);background:#fff;
  }
  #mobileLayerPanel .mobile-layer-controls :is(summary,button,input,select){
    scroll-margin-top:var(--mobile-layer-header-height);
  }
}
@media(max-width:420px){
  .site-header .site-nav .nav-link .icon{display:none}
  .header-account-tools #openCart{flex-wrap:wrap;align-content:center;gap:1px 3px}
  .header-account-tools #cartCount{padding-inline:.2rem}
}

@media(max-width:900px){
  .page-heading{display:block;padding-block:9px 8px}
  .page-heading h1{font-size:clamp(26px,6.7vw,36px);line-height:1.1}
  .page-heading .studio-positioning{margin-top:4px;font-size:.85rem}
  .order-entry button{min-height:48px;padding:8px 10px}
  .mobile-design-help{margin:.75rem 0;font-size:.86rem;line-height:1.5;color:var(--muted)}
}
@media(max-width:480px){
  .order-entry button span{display:none}
  .studio-quick-actions>.subbutton{padding-inline:8px;font-size:.79rem}
}


@media (min-width:650px) and (max-width:900px){
  .mobile-studio-tools:not([hidden]){display:grid;grid-template-columns:minmax(12rem,.65fr) minmax(0,1.35fr);gap:1rem}
  .mobile-studio-tools>div{min-width:0}
}
@media (min-width:901px) and (max-height:820px){
  .page-heading{padding-block:.75rem}
  .page-heading h1{font-size:clamp(2rem,3.4vw,2.55rem)}
  .studio-more{margin-bottom:.6rem}
  .studio-more>summary{display:list-item;cursor:pointer;width:fit-content;padding:.3rem 0;color:var(--purple-dark);font-weight:650}
  .order-entry{margin-bottom:.4rem}
}

#canvasQuickFit,#tabletQuickFit{display:none;min-width:0}
.studio-quick-fit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;padding:.5rem .75rem;border-block-start:1px solid var(--line)}
.studio-quick-fit button{display:grid;align-content:center;gap:.12rem;min-height:44px;min-width:0;padding:.34rem .42rem;text-align:start;line-height:1.2;background:var(--soft);border:1px solid var(--line);border-radius:.5rem;overflow-wrap:anywhere}
.studio-quick-fit button:not(:disabled):hover{border-color:var(--purple);color:var(--purple-dark)}
.studio-quick-fit button span{font-size:.72rem;color:var(--muted)}
.studio-quick-fit button strong{font-size:.82rem}
.member-editing #studioQuickFit{display:none}
@media(max-width:900px){#canvasQuickFit:not(:empty){display:block}}
@media(min-width:740px) and (max-width:1050px){
  #studioView .workspace{
    --studio-rail:clamp(0px,calc(100% - 570px),38.5%);
    grid-template-columns:minmax(0,1fr) var(--studio-rail);
    column-gap:clamp(0px,calc(100% - 570px),1rem);
  }
  #studioView .preview-card{grid-column:1;grid-row:1;min-width:0;position:static}
  #studioView .customize{grid-column:1/-1;min-width:0}
  #studioView .stage{height:clamp(330px,52vw,474px)}
  #studioView .preview-card:has(.mobile-layer-panel:not([hidden])) .stage{height:clamp(13rem,42dvh,25rem)}
}
@media(min-width:740px) and (max-width:879px){
  #tabletQuickFit:not(:empty){display:block;grid-column:2;grid-row:1}
  #tabletQuickFit .studio-quick-fit{grid-template-columns:minmax(0,1fr);padding:0;border:0}
}
@media(min-width:880px) and (max-width:1050px){
  #studioView .customize{grid-column:2;grid-row:1}
}
@media(min-width:901px) and (max-width:1050px){
  :root{--side:17px}
  .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;min-height:0}
  .site-header .brand{grid-column:1;grid-row:1;justify-self:start;min-height:55px}
  .site-header .brand-icon{width:29px;height:29px}
  .site-header .brand-word{font-size:22px}
  .site-header .brand-studio{font-size:10px}
  .site-header .header-actions{grid-column:2;grid-row:1;gap:11px}
  .site-header .site-nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
  .site-header .site-nav .nav-link{justify-content:center;min-width:0;min-height:44px;padding:0 .17rem;font-size:13px;text-align:center;white-space:normal;line-height:1.2}
  .site-header .header-button{font-size:12px}
  .page-heading{display:block;padding-block:9px 8px}
  .page-heading h1{font-size:clamp(26px,6.7vw,36px);line-height:1.1}
  .page-heading p{font-size:14px;margin-top:6px}
  .page-heading .studio-positioning{margin-top:4px;font-size:.85rem}
  .order-entry{margin-bottom:.3rem}
  .order-entry button{min-height:48px;padding:8px 10px}
  .studio-more{margin:0 0 .55rem}
  .studio-more>summary{display:list-item;cursor:pointer;padding:.37rem 0;color:var(--purple-dark);font-size:.86rem;font-weight:650}
  .studio-quick-actions{gap:.35rem .55rem;margin:.3rem 0 .6rem}
  .studio-quick-actions>a,.studio-quick-actions>.subbutton{min-height:44px}
  #canvasDownload .download-button{min-height:44px;min-width:44px;padding:6px}
  #canvasDownload .download-button span{display:none}
  .mobile-design-help{margin:.75rem 0;font-size:.86rem;line-height:1.5;color:var(--muted)}
}

.control-help{display:inline-flex;vertical-align:middle;align-items:center;flex:0 0 auto}
.control-help .control-help-button{display:inline-grid;place-items:center;box-sizing:border-box;min-width:32px;min-height:32px;padding:0;border:0;background:transparent;color:#513c76;font:700 .8rem/1 system-ui;cursor:help;position:relative;isolation:isolate}
.control-help-button::before{content:"";position:absolute;width:19px;height:19px;border:1px solid #9385a8;background:#fff;border-radius:50%;z-index:-1}
.control-help-button:is(:hover,[aria-expanded="true"])::before{background:#f2ecff}
.control-help-button:focus-visible{outline:2px solid #5d3bb1;outline-offset:0;border-radius:8px}
.control-help-text:not([hidden]){position:fixed;z-index:1000;display:block;box-sizing:border-box;width:min(20rem,calc(100vw - 16px));max-height:min(12rem,45vh);overflow:auto;overscroll-behavior:contain;padding:.6rem .75rem;border:1px solid #d4c8e1;border-radius:.65rem;background:#fff;color:#2c223d;box-shadow:0 8px 20px #21193226;font:500 .875rem/1.45 system-ui;white-space:normal;overflow-wrap:anywhere;text-align:start}
.action-with-help{display:inline-flex;align-items:center;gap:.2rem;min-width:0;max-width:100%}
.action-with-help>:first-child{min-width:0;overflow-wrap:anywhere}
.action-with-help>.control-help,.action-with-help>:has(>.control-help){flex:none}
.studio-order-actions{display:grid;min-width:0;justify-items:start}
.studio-cart-action{width:100%}
.studio-cart-action:not(:has(.cart-add:not([hidden]))){display:none}
.studio-cart-action .cart-add{margin-block:0}
.studio-order-actions .link-button{margin:0;text-align:start;white-space:normal}
.studio-save-failure{width:100%;margin-top:.5rem;padding:.65rem;border:1px solid var(--line);border-radius:.65rem}
.studio-save-failure p{margin:0 0 .4rem}
.studio-save-failure button{min-height:44px}
.adjust-body :is(#replaceTemplate,#replaceImage){
  grid-column:1/-1;justify-self:start;min-height:44px;margin:0;text-align:center;white-space:normal
}
@media(max-width:900px){
  .control-help .control-help-button{min-width:44px;min-height:44px}
  .studio-order-actions .link-button{min-height:44px}
}
