@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root{--ink:#20251f;--muted:#6b7167;--line:#e2e5dc;--paper:#f6f7f4;--lime:#d7fb6c;--font:'DM Sans',Arial,sans-serif;--display:'Manrope',Arial,sans-serif;color:var(--ink);font-family:var(--font);font-synthesis:none;font-size:16px;background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,svg:focus-visible{outline:2px solid #547c11;outline-offset:4px}button svg{width:20px;height:20px;display:block;stroke-width:1.7}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button{touch-action:manipulation}.site-header{height:94px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:15px}.brand-mark{width:56px;height:56px;object-fit:contain;display:block}.brand-name{font-family:var(--display);font-size:14px;letter-spacing:2.3px;font-weight:800;line-height:1.5}.brand-name>span{display:block;font-size:11px;letter-spacing:1.6px;font-weight:500}.header-caption{font-size:14px;color:var(--muted)}.help-button{display:flex;align-items:center;gap:12px;background:none;font-size:14px}.help-icon{display:grid;place-items:center;border:1px solid #c5c9bd;width:26px;height:26px;border-radius:50%;font-size:13px}.studio-shell{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:54px;max-width:1540px;padding:42px 5% 34px;margin:0 auto}.workspace{min-width:0}.workspace-heading{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:24px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.9px;display:block}.eyebrow .tiny-cross{margin-right:7px;color:#698a2e;font-size:15px}h1,h2,h3,p{margin:0}h1{font-family:var(--display);font-size:42px;letter-spacing:-2.3px;font-weight:650;line-height:1.24;margin-top:9px}em{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1px}.garment-label{text-align:right;font-size:11px;letter-spacing:1px;font-weight:600;line-height:1.8;margin-bottom:3px}.garment-label>span{display:block;font-size:10px;color:var(--muted);font-weight:400;letter-spacing:1.4px}.canvas-wrap{position:relative;height:clamp(400px,58vh,660px);background:#eeefea;border:1px solid #e6e8e0;border-radius:4px;overflow:hidden;isolation:isolate}.canvas-meta{position:absolute;left:24px;right:24px;top:23px;display:flex;justify-content:space-between;z-index:2;pointer-events:none;font-size:10px;letter-spacing:1.8px;color:#787e72;font-weight:500}.canvas-meta>span:last-child{margin-right:86px}.history-tools{position:absolute;right:14px;top:12px;z-index:3;display:flex;gap:4px}.icon-button{width:40px;height:40px;background:transparent;border-radius:50%;display:grid;place-items:center}.icon-button:hover:not(:disabled){background:#e4e8de}.garment-stage{position:absolute;inset:48px 10px 42px;display:flex;align-items:center;justify-content:center}.garment-stage svg{height:100%;width:100%;overflow:visible;touch-action:none;user-select:none;-webkit-user-select:none;transition:opacity .15s,transform .25s;filter:drop-shadow(0 8px 7px #1b201415)}#shirt-image{mix-blend-mode:multiply;pointer-events:none}.garment-stage svg.turning{opacity:.45;transform:scale(.97)}.design-detail{cursor:grab;outline:none}.design-detail:active{cursor:grabbing}.detail-hit{fill:transparent}.detail-art{pointer-events:none}.design-detail:focus-visible .detail-hit{stroke:#547c11;stroke-width:4;stroke-dasharray:6 5}.selection-outline{fill:none;stroke:#789a35;stroke-width:3;stroke-dasharray:8 6;pointer-events:none}.selection-handle{fill:var(--lime);stroke:#547c11;stroke-width:2;pointer-events:none}.turn-button{width:40px;height:40px;border:1px solid #d8dccf;background:#f6f7f3d9;position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;border-radius:50%;z-index:2}.turn-button:hover{background:var(--lime);border-color:#bfde62}.turn-previous{left:18px}.turn-next{right:18px}.gesture-hint{position:absolute;bottom:17px;left:0;width:100%;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#70786a;pointer-events:none}.gesture-hint svg{width:17px;height:17px;display:block}.canvas-corner{position:absolute;width:15px;height:15px;border-color:#c1c8b6;border-style:solid;pointer-events:none}.corner-tl{top:14px;left:14px;border-width:1px 0 0 1px}.corner-br{bottom:14px;right:14px;border-width:0 1px 1px 0}.view-selector{display:flex;margin:19px auto 0;background:#e9ece4;border-radius:30px;padding:5px;max-width:466px;gap:2px}.view-button{flex:1;background:transparent;min-height:40px;padding:8px 9px;font-size:13px;border-radius:25px;color:#737b6c;white-space:nowrap}.view-button.active{background:var(--ink);color:#fff;box-shadow:0 2px 4px #181d1810}.view-count{display:inline-block;width:5px;height:5px;border-radius:50%;margin:0 0 2px 6px;background:#9cbb55}.view-count:empty{display:none}.workspace-footnote{margin-top:24px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:#8a9083}.workspace-footnote .tiny-cross{font-size:13px;margin-left:5px;color:var(--ink)}.customization-panel{min-width:0;display:flex;flex-direction:column;padding-top:7px}.panel-heading{position:relative;margin:0 0 27px}.panel-index{position:absolute;top:0;right:0;font-size:10px;color:#969d8c;letter-spacing:1px}.panel-heading>.eyebrow{font-size:10px;color:#677155}.panel-heading h2{font-family:var(--display);font-weight:600;font-size:31px;line-height:1.24;letter-spacing:-1.3px;margin-top:17px}.panel-heading h2 em{font-size:33px}.panel-heading p{font-size:14px;color:var(--muted);margin-top:12px}.material-tabs{display:flex;gap:6px;padding:5px;border-radius:10px;background:#e9ece4;margin-bottom:25px}.material-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:6px;background:transparent;font-size:14px;color:#69725f}.material-tab.active{background:white;box-shadow:0 1px 6px #282e1c0a;color:var(--ink)}.material-tab svg{width:18px;height:18px}.tray-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:10px}.tray-heading h3{font-size:14px;font-weight:500;letter-spacing:-.2px}.tray-heading>span{font-size:9px;letter-spacing:1.25px;color:#8d957f}.patch-tray{display:flex;overflow:auto;gap:10px;padding:0 1px 10px;scrollbar-width:thin;scrollbar-color:#bac2aa transparent;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.patch-card{background:none;text-align:left;padding:0;flex:1;min-width:104px;scroll-snap-align:start;border-radius:8px}.patch-art{position:relative;display:flex;align-items:center;justify-content:center;height:128px;border:1px solid #dfe4d5;background:#eef0e8;border-radius:7px;transition:border-color .2s,background .2s}.patch-art img{width:68%;height:72%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 1px #19211613);mix-blend-mode:multiply}.patch-card:hover .patch-art,.patch-card:focus-visible .patch-art{background:#e5eccc;border-color:#9da98c}.patch-card.selected .patch-art{border-color:#798e49;background:#e5edcf}.patch-plus{width:22px;height:22px;border-radius:50%;position:absolute;right:7px;bottom:7px;display:grid;place-items:center;background:white;font-size:15px;color:#5c6850}.patch-card.selected .patch-plus{background:var(--lime)}.patch-name{display:block;font-size:12px;font-weight:500;line-height:1.5;margin:11px 0 3px;white-space:nowrap}.patch-subtitle{display:block;font-size:8px;letter-spacing:1px;color:#939a88;white-space:nowrap}.tray-note{display:flex;align-items:center;gap:6px;font-size:11px;color:#858c7b;margin-top:12px;line-height:1.5}.tray-note svg{width:13px;height:13px;display:block;flex-shrink:0}.asset-error{font-size:13px;color:#ac3128;margin-top:12px}.input-label{display:block;font-size:13px;color:#67715e;margin-bottom:8px}.input-label>span{float:right;font-size:11px;color:#9aa08f}input[type=text],select{width:100%;border:1px solid #d4dacb;border-radius:6px;background:#fff;color:var(--ink);min-height:46px;padding:11px 12px;font-size:16px}input::placeholder{color:#9a9f93;font-size:13px}.embroidery-options{display:grid;grid-template-columns:1fr 1.15fr;gap:18px;margin-top:15px}.embroidery-options select{display:block;font-size:14px;min-height:41px;margin-top:8px;padding:6px 9px}fieldset{margin:0;padding:0;border:0;min-width:0}legend{font-size:13px;color:#67715e;padding:0;margin:0 0 12px}.color-swatches{display:flex;gap:8px;margin-top:5px}.swatch{flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--swatch);border:1px solid #0002;position:relative}.swatch.active:after{content:'';position:absolute;inset:-4px;border:1px solid #7e886e;border-radius:50%}.add-embroidery{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--ink);color:#fff;border-radius:7px;min-height:45px;width:100%;font-size:14px;margin-top:15px}.add-embroidery svg{width:17px;height:17px}.detail-editor{margin-top:18px;background:#fff;border:1px solid #d9e0cc;border-radius:9px;padding:14px;box-shadow:0 5px 20px #23341304}.detail-editor-heading{display:flex;gap:8px;align-items:center}.detail-editor-heading>div{flex:1;min-width:0}.detail-editor-heading .eyebrow{font-size:8px;color:#919b82;letter-spacing:1.3px;margin-bottom:4px}.detail-editor-heading strong{font-size:14px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-button{height:34px;width:34px}.remove-button svg{width:17px;height:17px}.done-button{border:1px solid #dee5d1;background:#f1f5e9;border-radius:5px;font-size:12px;min-height:33px;padding:0 13px}.rotation-control{display:flex;gap:10px;align-items:center;border-top:1px solid #edf0e8;margin-top:12px;padding-top:13px;font-size:12px}.rotation-control>span svg{width:15px;height:15px;display:block}.rotation-control label{color:#818a75}.rotation-control input{width:100%;flex:1;min-width:50px;accent-color:#728949;height:20px;cursor:ew-resize}.rotation-control output{width:38px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.placement-tools{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:4px}.placement-tools>span{font-size:11px;color:#818a75}.placement-tools>div{display:flex;gap:3px}.nudge-button{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e7ebdf;background:#fff;border-radius:4px}.nudge-button svg{width:14px;height:14px}.desktop-instruction{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding:24px 0;margin-top:24px}.instruction-number{font-size:11px;letter-spacing:1px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #d5dcc7;border-radius:50%;flex-shrink:0}.desktop-instruction p{font-size:12px;line-height:1.8}.desktop-instruction p span{color:#8b947d;font-size:11px}.instruction-star{font-size:28px;color:#889e58;margin-left:auto}.review-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;border-top:1px solid #dfe4d7;padding-top:22px}.review-kicker{font-size:9px;letter-spacing:1.5px;color:#949c86;display:block;margin-bottom:5px}.review-bar strong{font-size:13px;font-weight:500}.review-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:49px;background:var(--lime);border:1px solid #c8ec5b;padding:0 19px;border-radius:7px;font-size:13px;font-weight:500;white-space:nowrap}.review-button:hover{background:#caf353}.review-button svg{width:17px;height:17px}.toast{position:fixed;left:50%;bottom:26px;z-index:20;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;background:var(--ink);color:white;padding:12px 18px;border-radius:25px;font-size:13px;max-width:calc(100% - 32px);text-align:center;box-shadow:0 6px 24px #0002;white-space:nowrap}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.studio-dialog{border:1px solid #dce2d1;border-radius:16px;width:min(92%,600px);padding:28px;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #12190e33;max-height:90dvh;overflow:auto}.studio-dialog::backdrop{background:#18201070;backdrop-filter:blur(8px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.dialog-heading .eyebrow{font-size:10px;color:#869474}.studio-dialog h2{font-family:var(--display);font-size:36px;font-weight:600;letter-spacing:-1.5px;line-height:1.2;margin-top:14px}.guide-steps{padding:0;list-style:none;margin:28px 0}.guide-steps li{display:flex;gap:18px;margin-bottom:24px}.guide-steps li>span{font-size:11px;display:grid;place-items:center;align-self:start;width:32px;height:32px;border:1px solid #cad3bb;border-radius:50%;flex-shrink:0}.guide-steps strong{font-size:15px;font-weight:500}.guide-steps p{font-size:14px;line-height:1.6;color:#768268;margin-top:5px}.guide-note{padding:15px;background:#eaf0de;border-radius:6px;font-size:12px;line-height:1.6;color:#6a765d;margin-bottom:22px}.primary-button,.secondary-button{min-height:46px;border-radius:7px;font-size:14px;padding:12px 20px}.primary-button{background:var(--lime);border:1px solid #bcd84d}.secondary-button{background:#fff;border:1px solid #d9dfce}.guide-dialog>.primary-button{width:100%}.review-dialog{width:min(94%,860px)}#review-summary{font-size:14px;color:var(--muted);margin:12px 0 22px}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.review-tile{background:#eef0e8;border:1px solid #dfe5d3;border-radius:8px;overflow:hidden}.review-tile svg{display:block;width:100%;height:220px}.review-tile-caption{display:flex;justify-content:space-between;padding:12px 14px;font-size:12px;color:#7c886e;border-top:1px solid #e0e5d7}.review-tile-caption strong{font-weight:500;color:var(--ink)}.review-note{font-size:12px;line-height:1.7;color:#859078;margin:20px 0}.dialog-actions{display:flex;justify-content:space-between;gap:12px}.download-note{font-size:11px;color:#909985;text-align:right;margin-top:10px}

@media(min-width:1600px){.studio-shell{grid-template-columns:minmax(0,1fr) 410px;gap:70px}.canvas-wrap{height:650px}}
@media(max-width:1100px) and (min-width:761px){.studio-shell{gap:24px;padding-left:3%;padding-right:3%;grid-template-columns:minmax(0,1fr) 340px}.site-header{padding:0 3%}.patch-art{height:112px}.panel-heading h2{font-size:29px}.canvas-wrap{height:490px}.garment-label{display:none}.view-button{font-size:12px;padding:8px 7px}.header-caption{display:none}}
@media(max-width:760px){
  .site-header{height:65px;padding:0 21px}.brand{gap:10px}.brand-mark{font-size:36px;padding-right:8px}.brand-mark>span{font-size:8px}.brand-name{font-size:11px;letter-spacing:1.6px}.brand-name>span{font-size:9px;letter-spacing:1.15px}.header-caption,.desktop-label{display:none}.help-button{padding:8px 0 8px 8px}.help-icon{width:27px;height:27px}.studio-shell{display:block;padding:20px 18px 0}.workspace-heading{margin-bottom:15px;align-items:end}.workspace-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.eyebrow .tiny-cross{font-size:12px;margin-right:4px}h1{font-size:28px;letter-spacing:-1.4px;margin-top:6px}.garment-label{font-size:8px;letter-spacing:.6px;margin-bottom:3px}.garment-label>span{font-size:8px;letter-spacing:1px}.canvas-wrap{height:clamp(340px,50dvh,530px);border-radius:5px;background:#eef0e9}.canvas-meta{top:17px;left:17px;right:16px;font-size:8px;letter-spacing:1.5px}.canvas-meta>span:last-child{margin-right:76px}.history-tools{top:5px;right:6px;gap:0}.history-tools .icon-button{width:36px;height:36px}.history-tools svg{width:17px;height:17px}.garment-stage{inset:39px 1px 40px}.turn-button{width:32px;height:40px;border-radius:20px;border-color:#dde2d3;background:#f6f7f2dd}.turn-button svg{width:17px}.turn-previous{left:8px}.turn-next{right:8px}.gesture-hint{bottom:15px;font-size:10px;gap:5px}.gesture-hint svg{width:14px;height:14px}.canvas-corner{width:10px;height:10px}.corner-tl{top:10px;left:10px}.corner-br{bottom:10px;right:10px}.view-selector{margin:12px 3px 0;padding:4px;gap:0;max-width:none}.view-button{min-height:36px;font-size:12px;padding:8px 6px}.view-count{margin-left:4px;width:4px;height:4px}.workspace-footnote{display:none}.customization-panel{margin-top:19px;padding-top:0}.panel-heading{display:none}.material-tabs{min-height:46px;border-radius:8px;margin-bottom:17px;gap:4px;padding:4px}.material-tab{min-height:38px;font-size:13px;gap:8px}.material-tab svg{width:16px;height:16px}.tray-heading{margin:0 1px 13px}.tray-heading h3{font-size:13px}.tray-heading>span{font-size:8px}.patch-tray{gap:11px;padding:0 0 8px;overflow-x:auto;margin-right:-18px;padding-right:18px;scrollbar-width:none}.patch-tray::-webkit-scrollbar{display:none}.patch-card{flex:0 0 calc((100vw - 62px)/3);min-width:99px;max-width:150px}.patch-art{height:110px;border-radius:7px}.patch-art img{width:70%;height:70%}.patch-name{font-size:11px;margin-top:9px;margin-bottom:2px}.patch-subtitle{font-size:7px;letter-spacing:.75px}.patch-plus{width:20px;height:20px;font-size:15px;right:7px;bottom:7px}.tray-note{font-size:10px;margin-top:9px}.desktop-instruction{display:none}.review-bar{padding:15px 0 calc(16px + env(safe-area-inset-bottom));margin-top:21px;gap:12px}.review-kicker{font-size:8px;letter-spacing:1.3px}.review-bar strong{font-size:12px}.review-button{min-height:45px;padding:0 19px;font-size:12px}.detail-editor{margin-top:14px;padding:12px;order:0}.detail-editor-heading strong{font-size:13px}.done-button{min-height:36px;font-size:12px}.remove-button{height:36px;width:36px}.rotation-control{font-size:12px;margin-top:11px;padding-top:11px}.rotation-control input{min-height:32px}.placement-tools .nudge-button{width:35px;height:35px}.placement-tools>span{font-size:11px}.embroidery-options{margin-top:13px}.input-label{font-size:12px}legend{font-size:12px}.swatch{width:25px;height:25px}.color-swatches{gap:9px}.toast{bottom:17px;font-size:12px}.studio-dialog{padding:22px;border-radius:14px}.studio-dialog h2{font-size:32px}.review-tile svg{height:160px}.review-grid{gap:8px}.review-tile-caption{font-size:10px;padding:10px 9px}.dialog-actions button{font-size:12px;padding:10px 14px}.review-note{font-size:11px}.download-note{font-size:10px}.guide-steps p{font-size:14px}
}
@media(max-width:360px){.site-header{padding:0 16px}.studio-shell{padding:17px 14px 0}.garment-label{display:none}.canvas-wrap{height:340px}.view-button{font-size:11px}.patch-tray{margin-right:-14px;padding-right:14px}.patch-card{min-width:96px}.patch-art{height:100px}.patch-subtitle{font-size:7px;letter-spacing:.3px}.color-swatches{gap:7px}.swatch{width:22px;height:22px}.embroidery-options{gap:12px}.review-bar{gap:8px}.review-button{padding:0 15px}.review-tile svg{height:130px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(hover:none){.icon-button:hover:not(:disabled){background:none}}

/* Keep the canvas visually continuous and make its artwork the focal point. */
.canvas-wrap{background:#eef0e9}
.garment-stage svg{filter:none;overflow:hidden}
.patch-name{font-size:14px;white-space:normal}
.patch-subtitle{display:none}
.view-button,.review-button,.done-button{font-size:14px}
.tray-heading h3,.input-label,legend,.rotation-control,.detail-editor-heading strong,.review-bar strong{font-size:14px}
.tray-note,.gesture-hint,.placement-tools>span,.review-note,.download-note{font-size:12px}
.tray-heading>span,.canvas-meta,.eyebrow,.panel-index,.review-kicker,.workspace-footnote{font-size:12px}
.tray-heading>span{letter-spacing:.6px}
.review-kicker{letter-spacing:1px}
.detail-editor-heading .eyebrow{font-size:10px}
.swatch{width:28px;height:28px}
.swatch::before{content:'';position:absolute;inset:-7px}
.turn-button{width:44px;height:44px}
.view-button{min-height:44px}
.desktop-instruction p{font-size:14px}
.desktop-instruction p span{font-size:12px}
.header-caption{color:#69715f}
.tray-note{color:#707b64}
.view-button{color:#5a6650}
.view-button.active{color:#fff}
.canvas-meta{color:#69735e}
@media(max-width:760px){
  .site-header{height:58px}
  .studio-shell{padding-top:15px}
  .workspace-heading{margin-bottom:12px}
  .workspace-heading .eyebrow{font-size:10px;letter-spacing:1px}
  h1{font-size:26px;margin-top:4px}
  .garment-label{font-size:10px;letter-spacing:.1px}
  .garment-label>span{font-size:10px;letter-spacing:.5px}
  .canvas-wrap{height:clamp(340px,50dvh,530px)}
  .canvas-meta{font-size:10px;letter-spacing:.8px}
  .canvas-meta>span:last-child{margin-right:72px}
  .gesture-hint{font-size:11px;bottom:13px}
  .turn-button{width:40px;height:44px}
  .view-selector{margin-top:10px}
  .view-button{font-size:12px;min-height:40px}
  .customization-panel{margin-top:14px}
  .material-tabs{margin-bottom:13px}
  .material-tab{font-size:14px;min-height:40px}
  .tray-heading{margin-bottom:10px}
  .tray-heading h3{font-size:14px}
  .tray-heading>span{font-size:10px;letter-spacing:.4px}
  .patch-card{flex:0 0 124px;min-width:124px}
  .patch-art{height:112px}
  .patch-name{font-size:13px;margin-top:8px}
  .tray-note{font-size:11px;margin-top:7px}
  .review-bar{margin-top:16px}
  .review-kicker{font-size:10px}
  .review-bar strong,.review-button{font-size:14px}
  .review-button{padding:0 16px}
  .detail-editor{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;right:12px;margin:0;z-index:10;box-shadow:0 -8px 50px #29381720,0 4px 18px #2938170d;padding:14px;background:#fffffff5;backdrop-filter:blur(12px)}
  .detail-editor-heading strong{font-size:14px}
  .detail-editor-heading .eyebrow{font-size:10px}
  .done-button{min-height:40px;font-size:14px}
  .remove-button{height:40px;width:40px}
  .rotation-control{font-size:14px;gap:8px}
  .placement-tools>span{font-size:12px}
  .placement-tools .nudge-button{width:40px;height:36px}
  .input-label,legend{font-size:14px}
  .embroidery-options{grid-template-columns:1fr 1.2fr;gap:14px}
  .color-swatches{gap:7px}
  .swatch{width:26px;height:26px}
  .toast{bottom:205px;font-size:12px;white-space:normal;width:max-content}
  .review-dialog .review-note{font-size:12px}
  .dialog-actions button{font-size:14px}
}
@media(max-width:360px){
  .view-button{font-size:11px}
  .patch-card{min-width:115px;flex-basis:115px}
  .embroidery-options{grid-template-columns:1fr;gap:10px}
  .color-swatches{gap:14px;margin:0 5px}
  .swatch{width:27px;height:27px}
  .placement-tools .nudge-button{width:34px}
  .review-button{font-size:13px;padding:0 12px;gap:6px}
}

/* Step one is a garment choice, separate from the locked design session. */
.rugby-selection{max-width:1540px;margin:0 auto;padding:28px 5% 40px}
.selection-topline{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:28px}
.studio-steps{display:flex;gap:25px;font-size:13px;color:#939b89;align-items:center}
.studio-steps>span{display:flex;align-items:center;gap:9px}
.studio-steps b,.design-session-bar b{display:grid;place-items:center;border:1px solid #dce2d1;border-radius:50%;width:28px;height:28px;font-size:11px;font-weight:500}
.studio-steps .current-step{color:var(--ink)}
.current-step b{background:var(--lime);border-color:#c9df90}
.selection-back{background:none;font-size:13px;padding:10px 0;color:#687558;text-decoration:underline;text-underline-offset:4px}
.selection-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:54px}
.selection-title{margin-bottom:23px}
.selection-title .eyebrow{color:#7b866c;font-size:11px}
.selection-photo{height:clamp(410px,57vh,640px);position:relative;background:#eef0e9;border:1px solid #e0e5d8;border-radius:5px;overflow:hidden}
.selection-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;display:block;pointer-events:none}
.selection-photo-label,.selection-photo-index{position:absolute;font-size:11px;letter-spacing:1.2px;color:#7c876e;z-index:1}
.selection-photo-label{top:21px;left:22px}.selection-photo-index{bottom:19px;right:22px}
.selection-options{padding-top:8px;display:flex;flex-direction:column}
.selection-options>.eyebrow{color:#7d8b69;font-size:11px}
.selection-options>h2{font-family:var(--display);font-size:32px;font-weight:600;line-height:1.25;letter-spacing:-1px;margin-top:15px}
.selection-options>p{font-size:14px;color:var(--muted);margin-top:14px;line-height:1.5}
.rugby-style-tray{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin:26px 0 21px}
.rugby-style-card{padding:0;background:#eef0e9;border:1px solid #dfe5d6;border-radius:7px;overflow:hidden;text-align:left;transition:border-color .15s,background .15s}
.rugby-style-card.chosen{border:2px solid #758c47;background:#e8efdb}
.rugby-style-card img{display:block;object-fit:contain;width:100%;height:112px;mix-blend-mode:multiply;pointer-events:none}
.rugby-card-caption{display:flex;align-items:center;gap:5px;padding:9px 6px;font-size:11px;white-space:nowrap}
.rugby-swatch{display:block;width:14px;height:14px;border-radius:50%;flex-shrink:0;border:1px solid #0001;background:linear-gradient(180deg,var(--color-one) 0 33%,var(--color-two) 33% 66%,var(--color-one) 66%)}
.selected-rugby-info{border-top:1px solid var(--line);padding-top:17px;margin-top:auto}
.selected-rugby-info>.eyebrow{font-size:10px;color:#869674;letter-spacing:1px;margin-bottom:7px}
.selected-rugby-info>strong{font-size:20px;font-family:var(--display);font-weight:600;letter-spacing:-.5px}
.selected-rugby-info>p{font-size:13px;color:#79856b;line-height:1.6;margin-top:7px}
.start-design-button{width:100%;margin-top:18px;min-height:49px}
.selection-options>.selection-session-note{font-size:11px;color:#7c896e;text-align:center;margin-top:11px}
.design-session-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;font-size:12px;color:#687856}
.design-session-bar>span{display:flex;align-items:center;gap:9px}
.design-session-bar b{width:23px;height:23px;background:var(--lime);border:0;font-size:10px}
.design-session-bar>button{background:none;font-size:13px;text-decoration:underline;text-underline-offset:4px;padding:7px 0}
.view-availability-note{text-align:center;font-size:12px;line-height:1.5;color:#748467;margin-top:13px}
.view-button:disabled{opacity:.4;cursor:not-allowed}
.new-session-copy{font-size:15px;line-height:1.75;color:#6b785e;margin:22px 0 25px}
.review-grid.single-view{grid-template-columns:1fr;max-width:430px;margin:0 auto}
.review-grid.single-view .review-tile svg{height:340px}
@media(max-width:1100px) and (min-width:761px){.rugby-selection{padding-left:3%;padding-right:3%}.selection-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px}.rugby-card-caption{font-size:10px;padding-left:5px;gap:4px}.rugby-swatch{width:11px;height:11px}.selection-options>h2{font-size:28px}}
@media(max-width:760px){
  .rugby-selection{padding:17px 18px 24px}
  .selection-topline{gap:10px;flex-wrap:wrap;margin-bottom:20px}
  .studio-steps{gap:21px;font-size:12px}
  .studio-steps b{width:25px;height:25px;font-size:10px}
  .selection-back{font-size:12px;padding:2px 0}
  .selection-layout{display:block}
  .selection-title{margin-bottom:15px}
  .selection-title .eyebrow{font-size:10px;letter-spacing:1.1px}
  .selection-title h1{font-size:29px;margin-top:7px}
  .selection-photo{height:clamp(290px,40dvh,380px)}
  .selection-photo-label{top:15px;left:16px;font-size:10px;letter-spacing:.8px}
  .selection-photo-index{bottom:15px;right:17px;font-size:10px}
  .selection-options{padding-top:17px}
  .selection-options>.eyebrow,.selection-options>h2{display:none}
  .selection-options>p{margin-top:0;font-size:14px}
  .rugby-style-tray{display:flex;overflow:auto;gap:9px;margin:14px -18px 17px 0;padding:0 18px 4px 0;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:none}
  .rugby-style-tray::-webkit-scrollbar{display:none}
  .rugby-style-card{flex:0 0 123px;scroll-snap-align:start}
  .rugby-style-card img{height:96px}
  .rugby-card-caption{font-size:11px;padding:9px 7px;gap:6px}
  .selected-rugby-info{padding-top:14px}
  .selected-rugby-info>strong{font-size:18px}
  .selected-rugby-info>p{font-size:12px;margin-top:5px}
  .start-design-button{margin-top:14px;min-height:47px}
  .selection-options>.selection-session-note{font-size:11px}
  .design-session-bar{margin-bottom:12px}
  .studio-shell{padding-top:12px}
  .view-availability-note{font-size:11px;margin-top:9px}
  .review-grid.single-view .review-tile svg{height:290px}
}
@media(max-width:360px){.rugby-selection{padding-left:14px;padding-right:14px}.studio-steps{gap:15px;font-size:11px}.selection-title h1{font-size:26px}.selection-photo{height:290px}.rugby-style-tray{margin-right:-14px;padding-right:14px}.selected-rugby-info>strong{font-size:17px}}
@media(max-width:760px) and (max-height:760px){/* Keep the canvas stable when selection controls open. */ .canvas-wrap{height:clamp(240px,calc(100dvh - 420px),50dvh)}}

@media(min-width:761px){
  .selection-options{min-width:0}
  .rugby-style-tray{display:flex;overflow-x:auto;overflow-y:hidden;gap:10px;grid-template-columns:none;margin:26px 0 10px;padding:0 0 12px;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#9fae87 #e7ecdf}
  .rugby-style-tray::-webkit-scrollbar{height:9px}
  .rugby-style-tray::-webkit-scrollbar-track{background:#e7ecdf;border-radius:10px}
  .rugby-style-tray::-webkit-scrollbar-thumb{background:#9fae87;border-radius:10px}
  .rugby-style-card{flex:0 0 156px;scroll-snap-align:start}
}
@media(any-pointer:fine){
  .desktop-rugby-scroll-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px;color:#6e7c60;font-size:12px}
  .desktop-rugby-scroll-controls+.rugby-style-tray{margin-top:0}
  .desktop-rugby-scroll-buttons{display:flex;gap:8px}
  .desktop-rugby-scroll-button{min-height:44px;padding:0 12px;border:1px solid #c8d2b9;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;gap:5px;color:var(--ink);font-size:12px;font-weight:600}
  .desktop-rugby-scroll-button:hover:not(:disabled){background:var(--lime)}
  .desktop-rugby-scroll-button svg{width:18px;height:18px}
}

/* Separate patch silhouettes from the fabric so dark patches do not appear sewn underneath dark stripes. */
.patch-artwork{filter:drop-shadow(0 0 1.25px rgba(247,244,235,.95)) drop-shadow(0 2px 3px rgba(20,23,19,.42))}
.patch-tray-heading-actions{display:flex;align-items:center;gap:10px;color:#89917d;font-size:10px;letter-spacing:.4px;white-space:nowrap}
.patch-scroll-controls{display:none;align-items:center;gap:5px}
.patch-scroll-controls button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d6deca;border-radius:5px;background:#fff;color:#273222}
.patch-scroll-controls button:hover:not(:disabled){background:#eaf2dc;border-color:#a9bd82}
.patch-scroll-controls button:disabled{opacity:.35}
.patch-scroll-controls svg{width:17px;height:17px;stroke-width:1.8}
@media(any-pointer:fine){.patch-scroll-controls{display:flex}}
/* The back is a dedicated, fixed-size jersey number surface. */
.back-view .desktop-instruction{display:none}
.back-view .panel-heading{display:none}
.number-panel{padding:1px 0 22px}
.number-panel>.eyebrow{color:#738263;font-size:10px}
.number-panel h2{font-family:var(--display);font-size:31px;line-height:1.2;font-weight:600;letter-spacing:-1.4px;margin-top:17px}
.number-panel h2 em{font-size:33px}
.number-panel-intro{font-size:13px;line-height:1.6;color:#737d6c;margin:12px 0 20px}
.number-mode{display:flex;gap:6px;padding:5px;background:#e9ece4;border-radius:9px}
.number-mode button{flex:1;min-height:43px;border-radius:6px;background:transparent;color:#6b7562;font-size:13px}
.number-mode button.active{background:#fff;color:var(--ink);box-shadow:0 1px 6px #282e1c12;font-weight:600}
.number-compose{display:flex;align-items:stretch;gap:12px;margin-top:15px}
.number-digit-fields{flex:1;display:flex;gap:9px;min-width:0}
.number-digit-fields label{flex:1;min-width:0;color:#747d6c;font-size:11px;line-height:1.4}
.number-digit-fields select{display:block;width:100%;height:59px;margin-top:6px;padding:0 12px;border:1px solid #d5dccd;border-radius:6px;background:#fafbf8;color:var(--ink);font-family:var(--display);font-size:27px;font-weight:650}
.number-compose output{display:grid;place-items:center;min-width:100px;max-width:43%;padding:0 9px;border:1px solid #d5dccd;border-radius:6px;background:#20251f;color:#f7f2e7;font-family:Impact,'Arial Black',sans-serif;font-size:55px;line-height:1;letter-spacing:-3px}
.number-colors{border:0;margin:23px 0 0;padding:0}
.number-colors legend{font-size:12px;font-weight:600;margin-bottom:12px}
.number-color-swatches{display:flex;flex-wrap:wrap;gap:10px}
.number-color-swatches button{width:34px;height:34px;flex:none;border:2px solid #fff;border-radius:50%;background:var(--number-swatch);box-shadow:0 0 0 1px #cfd6c8;position:relative}
.number-color-swatches button.active{box-shadow:0 0 0 2px #607b2e}
.number-color-swatches button.active:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;font-size:14px;font-weight:700;color:#fff;text-shadow:0 1px 3px #000a}
.number-color-swatches button[data-number-color="#f7f2e7"].active:after,.number-color-swatches button[data-number-color="#ffffff"].active:after,.number-color-swatches button[data-number-color="#e9b33b"].active:after{color:#1c2518;text-shadow:none}
.number-apply{width:100%;min-height:49px;margin-top:24px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border:1px solid #bcd84d;border-radius:7px;background:var(--lime);font-size:13px;font-weight:600}
.number-apply:hover{background:#caf353}
.number-apply span{font-size:18px;font-weight:400}
.number-remove{display:block;margin:11px 0 0 auto;padding:7px 0;background:none;color:#895449;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.number-note{padding-top:15px;margin-top:20px;border-top:1px solid #e2e7da;color:#858f7d;font-size:11px;line-height:1.5}
@media(max-width:760px){.number-panel{padding:4px 1px 0}.number-panel h2{font-size:27px;margin-top:10px}.number-panel h2 em{font-size:29px}.number-panel-intro{font-size:12px;margin:9px 0 15px}.number-mode button{min-height:40px;font-size:12px}.number-compose{margin-top:13px}.number-digit-fields select{height:54px}.number-compose output{font-size:48px}.number-colors{margin-top:19px}.number-apply{margin-top:21px}.number-note{margin-top:16px}}
/* Customer artwork upload and sizing controls */
.upload-artwork-wrap{margin-top:18px}.upload-artwork{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px 14px;text-align:left;background:#f8f9f6;border:1px dashed #cbd4bd;border-radius:8px;transition:background .18s,border-color .18s}.upload-artwork:hover,.upload-artwork:focus-visible{background:#eef3e4;border-color:#899d65}.upload-artwork-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:#e8eedb;color:#596c38;font-size:22px;line-height:1}.upload-artwork>span:nth-child(2){flex:1}.upload-artwork strong,.upload-artwork small{display:block}.upload-artwork strong{font-size:13px;font-weight:550}.upload-artwork small{font-size:10px;color:#858d79;margin-top:4px}.upload-artwork-arrow{font-size:16px;color:#899475}.upload-artwork-note{font-size:10px;line-height:1.5;color:#8a9182;margin:8px 2px 0}.size-control{display:flex;gap:10px;align-items:center;border-top:1px solid #edf0e8;margin-top:12px;padding-top:13px;font-size:12px}.size-control>span{color:#78846b;font-size:17px;line-height:1}.size-control label{color:#818a75}.size-control input{width:100%;flex:1;min-width:50px;accent-color:#728949;height:20px;cursor:ew-resize}.size-control output{width:42px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.artwork-dialog{width:min(92%,520px)}.artwork-dialog>h2{margin-top:12px}.artwork-file-name{font-size:12px;color:#818a75;margin-top:7px;overflow-wrap:anywhere}.artwork-preview-stage{height:200px;margin:18px 0 16px;border:1px solid #dfe4d7;border-radius:9px;background-color:#f3f4f0;background-image:linear-gradient(45deg,#e6e9e0 25%,transparent 25%),linear-gradient(-45deg,#e6e9e0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e6e9e0 75%),linear-gradient(-45deg,transparent 75%,#e6e9e0 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;overflow:hidden}.artwork-preview-stage img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;padding:14px}.background-controls{padding:14px;border:1px solid #e1e5da;border-radius:8px;background:#fafbf8}.background-toggle{display:flex;align-items:flex-start;gap:10px}.background-toggle input{width:17px;height:17px;accent-color:#718748;flex:none;margin:1px 0 0}.background-toggle strong,.background-toggle small{display:block}.background-toggle strong{font-size:13px;font-weight:550}.background-toggle small{font-size:11px;line-height:1.5;color:#87907b;margin-top:4px}.tolerance-control{display:block;margin-top:15px;padding-top:13px;border-top:1px solid #e8ece2}.tolerance-control>span{display:flex;justify-content:space-between;font-size:11px;color:#747e68}.tolerance-control input{display:block;width:100%;margin:9px 0 0;accent-color:#718748}.artwork-processing-note{font-size:11px;line-height:1.5;color:#7e8970;margin:12px 2px 17px}.artwork-dialog .dialog-actions{margin-top:5px}.artwork-dialog .primary-button{min-width:140px}
/* The garment stays above its choices, including in wide browser windows. */
@media(min-width:761px){
  .rugby-selection,.studio-shell{max-width:960px}
  .selection-layout,.studio-shell{display:block}
  .selection-options{padding-top:25px}
  .selection-options>.eyebrow,.selection-options>h2,.panel-heading{display:none}
  .selection-options>p{margin-top:0}
  .rugby-style-card{flex:0 0 145px}
  .customization-panel{margin-top:31px;padding-top:0}
  .patch-card{flex:0 0 128px;min-width:128px}
  .patch-art{height:118px}
  .review-bar{margin-top:25px}
}


.design-session-bar{justify-content:flex-end;margin-bottom:8px}
.price-summary{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.price-summary-label{color:#879276;font-size:9px;font-weight:600;letter-spacing:1.5px}
.price-summary>strong{font-family:var(--display);font-size:36px;font-weight:650;letter-spacing:-1.7px;line-height:1}
.price-breakdown{display:flex;flex-wrap:wrap;gap:5px 16px;margin-top:4px;color:#818978;font-size:11px;line-height:1.4}
.price-breakdown>span{display:flex;gap:6px;white-space:nowrap}
.price-breakdown b{color:#3d4538;font-weight:600}
@media(max-width:760px){.design-session-bar{margin-bottom:8px}.price-summary{gap:2px}.price-summary-label{font-size:8px}.price-summary>strong{font-size:30px}.price-breakdown{font-size:10px;gap:4px 12px;margin-top:3px}.workspace-heading{align-items:flex-start}}

.review-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin:0 0 18px}
.review-total span{font-size:10px;font-weight:600;letter-spacing:1.5px;color:#879276}
.review-total strong{font-family:var(--display);font-size:28px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.review-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.review-action-group{display:flex;gap:10px}
#place-order{min-width:132px}
.order-status{margin-top:12px;padding:11px 13px;border:1px solid #dfe5d3;border-radius:7px;background:#eef0e8;color:#65734e;font-size:12px;line-height:1.5}
@media(max-width:580px){.review-actions{flex-direction:column-reverse;align-items:stretch}.review-action-group{display:grid;grid-template-columns:1fr 1fr}.review-actions>.secondary-button,.review-action-group button{width:100%;justify-content:center}}

.checkout-breakdown{display:grid;gap:10px;margin:12px 0 22px;font-size:14px}.checkout-breakdown>span{display:flex;justify-content:space-between}.checkout-breakdown>span:last-child{font-weight:700}.checkout-result{max-width:620px;margin:10vh auto;padding:28px}.checkout-result h1{font-size:32px;margin:20px 0}.checkout-result p{line-height:1.6;overflow-wrap:anywhere;margin:16px 0}.checkout-result button{margin:16px 8px 0 0}.checkout-result #checkout-summary{padding:18px 0;border-top:1px solid #ddd;font-weight:600}
