:root{
  --ink:#17191b;--muted:#72767c;--line:#e1e3e5;--paper:#fff;--wash:#f4f6f8;
  --yellow:#f7e600;--primary:#f7e600;--secondary:#17191b;
  --blue:#1d3f75;--font:Inter,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;overflow:hidden}
body{background:#fff;color:var(--ink);font:13px/1.45 var(--font);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #d6cb00;outline-offset:2px}
.topbar{height:68px;display:flex;align-items:center;gap:32px;padding:0 23px;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}
.brand{display:flex;align-items:center;gap:10px;min-width:166px;color:var(--ink);text-decoration:none}
.brand-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#17191b}
.brand-symbol svg{width:28px;height:28px}
.brand-name{font-size:17px;line-height:1;font-weight:800;letter-spacing:-.07em}
.brand-name small{display:block;margin-top:4px;font-size:9px;font-weight:450;letter-spacing:0;color:#585b60}
.product-identity{display:flex;align-items:center;gap:13px;color:#3b3e42}
.eyebrow{font-size:9px;font-weight:800;letter-spacing:.14em;color:#65696f}
.product-identity .eyebrow{padding-right:14px;border-right:1px solid var(--line)}
.product-identity b{font-size:13px}
.identity-detail{font-size:11px;color:#777b80}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:6px}
.saved-status{display:flex;align-items:center;gap:7px;margin-right:10px;color:#777b80;font-size:10px;white-space:nowrap}
.saved-status i{width:7px;height:7px;border-radius:50%;background:#d9a33a}
.saved-status.is-saved i{background:#288356}
.top-button,.close-editor{height:36px;display:flex;align-items:center;gap:7px;padding:0 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:#484c51;font-size:11px;font-weight:650;text-decoration:none}
.top-button:hover,.close-editor:hover{border-color:var(--line);background:#fafafa}
.top-button svg{width:15px;height:15px;stroke-width:1.7}
.editor{height:calc(100% - 152px);min-height:430px;display:grid;grid-template-columns:68px 360px minmax(0,1fr) 110px}
.tool-rail{min-height:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:11px 7px;background:#fff;border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:none}
.tool-rail::-webkit-scrollbar{display:none}
.rail-button{width:53px;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:4px 2px;border:1px solid transparent;border-radius:5px;background:#fff;color:#565a5f}
.rail-button svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rail-button span{font-size:9px;font-weight:650}
.rail-button:hover{background:#f8f8f7}
.rail-button.is-active{border-color:#e4db35;background:#fffde9;color:#1a1b1b}
.rail-spacer{flex:1;min-height:12px}
.rail-button.history-button{min-height:43px;color:#8a8e93}
.rail-button:disabled{opacity:.34;cursor:default}
.side-panel{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line)}
.panel-head{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px 15px;border-bottom:1px solid var(--line)}
.panel-head h1{margin:4px 0 0;font-size:22px;line-height:1.13;letter-spacing:-.04em;font-weight:760}
.help-button{width:24px;height:24px;flex:none;border:1px solid #aab0b6;border-radius:50%;background:#fff;color:#474b50;font-size:12px;font-weight:700}
.panel-scroll{min-height:0;flex:1;overflow:auto;padding:16px 18px 20px;scrollbar-color:#d8dade transparent;scrollbar-width:thin}
.panel-intro{margin:0 0 18px;color:#666b71;font-size:12px;line-height:1.5}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:17px 0 10px}
.section-title b{font-size:12px}
.section-title>span{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#fff4a5;color:#222;font-size:9px;font-weight:800}
.section-title a{color:#5b6065;font-size:10px;text-decoration:underline;text-underline-offset:2px}
.sport-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.sport-tab{height:33px;padding:0 5px;border:1px solid #dfe2e5;border-radius:4px;background:#fff;color:#565a60;font-size:10px;font-weight:650;white-space:nowrap}
.sport-tab:hover{border-color:#aeb1b4}
.sport-tab.is-selected{border-color:#1b1d1e;background:#1b1d1e;color:#fff}
.design-heading{margin-top:20px}
.template-list{display:grid;gap:8px}
.template-card{position:relative;width:100%;min-height:91px;display:grid;grid-template-columns:68px minmax(0,1fr) 25px;align-items:center;gap:10px;padding:8px;border:1px solid #dedfe1;border-radius:5px;background:#fff;text-align:left;transition:border-color .15s,box-shadow .15s}
.template-card:hover{border-color:#a9aeb3}
.template-card.is-picked{border-color:#e3d90b;box-shadow:0 0 0 1px #f4e90055}
.kit-thumb{position:relative;width:64px;height:72px;display:grid;place-items:center;overflow:hidden;border:1px solid #e8eaec;border-radius:3px;background:#f4f5f6}
.kit-thumb i{position:relative;width:41px;height:47px;display:block;background:#e8e9ec;clip-path:polygon(27% 0,39% 9%,61% 9%,73% 0,100% 24%,84% 43%,76% 37%,78% 100%,22% 100%,24% 37%,16% 43%,0 24%);box-shadow:0 5px 10px #0002}
.kit-thumb i:before,.kit-thumb i:after{content:"";position:absolute;inset:0}
.kit-home i{background:linear-gradient(180deg,#163d76 0 22%,#f4d800 22% 31%,#173b72 31% 100%)}
.kit-home i:before{background:linear-gradient(90deg,transparent 0 35%,#f0d800 35% 65%,transparent 65%)}
.kit-away i{background:repeating-linear-gradient(90deg,#17191b 0 9px,#f7e600 9px 16px)}
.kit-third i{background:linear-gradient(155deg,#174e43 0 34%,#f4f5f6 34% 50%,#174e43 50% 100%)}
.kit-minimal i{background:linear-gradient(180deg,#d8dce1 0 30%,#163d76 30% 100%)}
.kit-thumb>b{position:absolute;right:6px;bottom:5px;color:#fff;font-size:8px;text-shadow:0 1px 2px #111}
.template-info{min-width:0;display:grid;gap:2px}
.template-info small{color:#73777d;font-size:8px;font-weight:800;letter-spacing:.11em}
.template-info strong{font-size:12px;line-height:1.2}
.template-info em{overflow:hidden;color:#7a7e83;font-size:9px;line-height:1.35;font-style:normal;text-overflow:ellipsis}
.add-template{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);font-size:16px;line-height:1}
.panel-divider{height:1px;margin:17px 0;background:#e9eaeb}
.upload-drop{min-height:62px;display:flex;align-items:center;gap:10px;padding:10px;border:1px dashed #c8cbd0;border-radius:5px;background:#fbfbfa;cursor:pointer}
.upload-drop:hover{border-color:#8b8e90;background:#fffef3}
.upload-drop input{display:none}
.upload-symbol{width:34px;height:34px;flex:none;display:grid;place-items:center;border:1px solid #e4e4dc;border-radius:4px;background:#fff;color:#34383c}
.upload-symbol svg{width:18px;height:18px;stroke-width:1.6}
.upload-drop>span:last-of-type{display:grid;gap:2px}
.upload-drop strong{font-size:11px}
.upload-drop small{color:#7d8186;font-size:9px}
.panel-foot{min-height:42px;display:flex;align-items:center;gap:8px;padding:8px 15px;border-top:1px solid var(--line);color:#73777c;font-size:9px}
.foot-check{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:#edf7f0;color:#27764c;font-size:11px;font-weight:800}
.tool-panel[hidden]{display:none!important}
.color-role{display:flex;align-items:center;gap:10px;margin:18px 0 10px}
.color-role-dot{width:25px;height:25px;flex:none;border:1px solid #cdd0d2;border-radius:4px;background:var(--yellow)}
.color-role>div{display:grid;gap:1px}
.color-role b{font-size:12px}
.color-role small{font-size:9px;color:#80848a}
.color-role>strong{margin-left:auto;font-size:10px;font-weight:650}
.second-role{margin-top:22px;padding-top:17px;border-top:1px solid var(--line)}
.color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px 11px;padding:3px 1px}
.swatch{position:relative;width:100%;aspect-ratio:1;border:1px solid #d2d4d6;border-radius:4px;background:var(--swatch);box-shadow:inset 0 0 0 1px #fff3}
.swatch:hover{transform:scale(1.06)}
.swatch.is-selected{outline:2px solid #1a1c1d;outline-offset:2px;box-shadow:0 0 0 4px #f3e90055}
.swatch.is-light{border-color:#c3c7ca}
.palette-note{margin-top:21px;padding:10px;border-radius:4px;background:#f5f6f6;color:#787d82;font-size:9px;line-height:1.45}
.pattern-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pattern-card{display:grid;gap:5px;padding:6px;border:1px solid #dedfe1;border-radius:4px;background:#fff;text-align:center}
.pattern-card.is-picked{border-color:#ddcf00;box-shadow:0 0 0 1px #f0e60066}
.pattern-card b{font-size:9px}
.pattern-preview{height:67px;border:1px solid #e7e8ea;border-radius:3px;background:linear-gradient(135deg,#153b73,#153b73)}
.pattern-preview.stripes{background:repeating-linear-gradient(90deg,#153b73 0 15px,#f7e600 15px 25px)}
.pattern-preview.blocks{background:linear-gradient(90deg,#153b73 0 50%,#f7e600 50%),linear-gradient(0deg,transparent 0 55%,#111 55%);background-size:100% 100%,100% 100%;position:relative}
.pattern-preview.blocks:after{content:"";display:block;width:100%;height:100%;background:linear-gradient(145deg,transparent 0 40%,#17191b 40% 55%,transparent 55%)}
.pattern-preview.diagonal{background:repeating-linear-gradient(135deg,#153b73 0 18px,#f7e600 18px 33px)}
.pattern-preview.shoulder{background:linear-gradient(180deg,#f7e600 0 22%,#153b73 22% 100%)}
.pattern-preview.pinstripes{background:repeating-linear-gradient(90deg,#153b73 0 13px,#fff 13px 16px)}
.field-row{display:flex;align-items:center;justify-content:space-between;margin:17px 0 8px;color:#52565b;font-size:10px}
.field-row span{color:#74787e}
.range-input{width:100%;height:4px;margin:5px 0 10px;accent-color:#1d3f75}
.gradient-choice{display:flex;gap:9px;margin:24px 0 25px}
.gradient-preview{width:64px;height:48px;border:1px solid #dfe1e3;border-radius:4px;background:linear-gradient(180deg,var(--primary),var(--secondary))}
.gradient-preview.is-picked{outline:2px solid #1c1e1f;outline-offset:2px}
.gradient-across{background:linear-gradient(90deg,var(--primary),var(--secondary))}
.gradient-diagonal{background:linear-gradient(135deg,var(--primary),var(--secondary))}
.switch-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0;border-top:1px solid #ececee;border-bottom:1px solid #ececee;cursor:pointer}
.switch-line>span{display:grid;gap:2px}
.switch-line b{font-size:11px}
.switch-line small{color:#777c82;font-size:9px}
.switch-line input{position:absolute;width:1px;height:1px;opacity:0}
.switch-line i{width:34px;height:19px;position:relative;border-radius:99px;background:#c7cacf;transition:background .2s}
.switch-line i:after{content:"";position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 3px #0003;transition:transform .2s}
.switch-line input:checked+i{background:#1e477b}
.switch-line input:checked+i:after{transform:translateX(15px)}
.number-preview{height:118px;display:grid;place-items:center;margin:15px 0 16px;border:1px solid #e2e4e6;border-radius:5px;background:#f5f6f8}
.number-preview span{color:#202328;font-size:74px;line-height:.9;font-weight:900;letter-spacing:-.09em}
.number-preview small{margin-top:-5px;color:#72777e;font-size:8px;font-weight:800;letter-spacing:.18em}
.field-label{display:block;margin-bottom:7px;color:#5c6066;font-size:10px}
.text-input,.setting-row select{width:100%;min-height:38px;padding:8px 10px;border:1px solid #dfe1e3;border-radius:4px;background:#fff;font-size:12px}
.text-input:focus,.setting-row select:focus{border-color:#52667f;outline:0}
.large-input{font-size:17px;font-weight:800;letter-spacing:.03em}
.setting-row{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #ebeced;color:#5e6268;font-size:10px}
.setting-row select{width:auto;max-width:60%;min-height:30px;padding:4px 8px;border:0;text-align:right;font-size:10px}
.inline-swatches{display:flex;gap:6px}
.inline-swatches button{width:19px;height:19px;border:1px solid #bbb;border-radius:50%;background:#fff}
.inline-swatches button[data-ink="#17191c"]{background:#17191c}
.inline-swatches button[data-ink="#f7e700"]{background:#f7e700}
.inline-swatches button[data-ink="#e33f47"]{background:#e33f47}
.primary-action,.secondary-action{min-height:39px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 12px;border:1px solid #17191b;border-radius:4px;background:#17191b;color:#fff;font-size:11px;font-weight:700}
.primary-action:hover{background:#32373c}
.primary-action span{color:var(--yellow);font-size:16px}
.secondary-action{border-color:#dbdddf;background:#fff;color:#3f4448}
.secondary-action:hover{background:#f5f6f6}
.full-action{width:100%;margin-top:16px}
.placement-note{display:grid;gap:2px;margin-top:13px;padding:11px;border-left:3px solid #d9cc00;background:#fbfaef}
.placement-note b{font-size:10px}
.placement-note small{color:#74787d;font-size:9px}
.roster-prompt{display:flex;align-items:flex-start;gap:10px;margin-top:20px;padding:11px;border:1px solid #e3e5e7;border-radius:4px}
.roster-prompt>span{width:21px;height:21px;display:grid;place-items:center;flex:none;border-radius:50%;background:#f5e800;font-size:9px;font-weight:800}
.roster-prompt>div{display:grid;gap:3px}
.roster-prompt b{font-size:10px}
.roster-prompt small{color:#7b8085;font-size:9px;line-height:1.45}
.large-drop{min-height:86px;margin:14px 0}
.logo-placement{display:flex;align-items:center;gap:10px;margin-top:20px}
.mini-shirt{width:46px;height:48px;display:grid;place-items:center;border:1px solid #e4e6e8;border-radius:4px;background:#f5f6f7}
.mini-shirt i{width:25px;height:31px;background:linear-gradient(180deg,#153b73 0 23%,#f7e600 23% 31%,#153b73 31%);clip-path:polygon(25% 0,40% 9%,60% 9%,75% 0,100% 24%,84% 45%,74% 37%,78% 100%,22% 100%,26% 37%,16% 45%,0 24%)}
.logo-placement>div:last-child{display:grid;gap:3px}
.logo-placement b{font-size:10px}
.logo-placement small{color:#777c82;font-size:9px}
.detail-options{display:grid;gap:8px}
.detail-option{min-height:57px;display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e0e2e3;border-radius:4px;background:#fff;text-align:left}
.detail-option:hover{border-color:#b2b5b6;background:#fafafa}
.detail-mark{width:31px;height:31px;display:grid;place-items:center;flex:none;border:1px solid #d9dadd;border-radius:4px;background:#f5f6f7;font-size:11px;font-weight:800}
.detail-option>span:nth-child(2){display:grid;gap:2px}
.detail-option b{font-size:10px}
.detail-option small{color:#7d8186;font-size:9px}
.detail-option>span:last-child{margin-left:auto;font-size:17px}
.layer-help{margin:0 0 11px;color:#7b8085;font-size:9px;line-height:1.4}
.layer-list{display:grid;gap:6px}
.layer-panel-heading{gap:8px}
.layer-panel-title{display:flex;align-items:center;gap:8px}
.clear-design-button{height:29px;display:flex;align-items:center;gap:5px;padding:0 8px;border:1px solid #e2d5d5;border-radius:4px;background:#fff;color:#8b4b4b;font-size:9px;font-weight:700;white-space:nowrap}
.clear-design-button span{font-size:14px;line-height:1}
.clear-design-button:hover:not(:disabled){border-color:#c98d8d;background:#fff8f8}
.clear-design-button:disabled{opacity:.45;cursor:not-allowed}
.empty-layer{padding:12px;border:1px dashed #dfe1e3;border-radius:4px;color:#85898e;font-size:10px}
.layer-row{min-height:40px;display:flex;align-items:center;gap:8px;padding:5px 7px;border:1px solid #e1e3e4;border-radius:4px;background:#fff}
.layer-row.is-selected{border-color:#d6cc14;background:#fffef4}
.layer-visibility{width:22px;height:22px;border:0;border-radius:3px;background:transparent;color:#64696f}
.layer-visibility.is-hidden{opacity:.35}
.layer-type{width:22px;height:22px;display:grid;place-items:center;flex:none;border-radius:3px;background:#f0f1f2;font-size:9px;font-weight:800}
.layer-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.layer-actions{display:flex;gap:2px;margin-left:auto}
.layer-actions button{width:20px;height:22px;border:0;background:transparent;color:#74797f;font-size:11px}
.selected-controls{margin-top:13px;padding:11px;border:1px solid #e3e5e6;border-radius:4px;background:#fafafa}
.selected-text-editor{display:grid;gap:6px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #e5e6e7}
.selected-text-editor[hidden]{display:none!important}
.selected-text-editor .field-label{margin:0}
.selected-text-editor .text-input{height:34px}
.selected-text-editor .setting-row{margin:0}
.selected-text-editor .setting-row select{max-width:60%;height:30px;border:1px solid #d9dcdf;border-radius:4px;background:#fff;font-size:10px}
.delete-item{margin-top:7px;padding:0;border:0;background:none;color:#b14343;font-size:9px;text-decoration:underline}
.stage-area{min-width:0;min-height:0;position:relative;display:flex;flex-direction:column;background:#f1f3f6}
.stage-top{height:59px;flex:none;display:flex;align-items:center;gap:14px;padding:0 20px;border-bottom:1px solid #e2e4e6;background:#f7f8f9}
.product-state{display:flex;align-items:center;gap:9px}
.state-dot{width:8px;height:8px;border-radius:50%;background:#52a66e;box-shadow:0 0 0 3px #52a66e20}
.product-state>span:last-child{display:grid;gap:1px}
.product-state b{font-size:11px}
.product-state small{font-size:9px;color:#777c81}
.zoom-control{height:29px;display:flex;align-items:center;margin:auto;border:1px solid #dfe1e3;border-radius:4px;background:#fff}
.zoom-control button{width:32px;height:27px;border:0;background:transparent;font-size:15px;color:#565b60}
.zoom-control button:hover{background:#f4f4f4}
.zoom-control span{min-width:41px;text-align:center;font-size:9px;font-weight:700}
.view-reset{width:30px;height:29px;border:1px solid #dfe1e3;border-radius:4px;background:#fff;font-size:18px;color:#555a60}
.design-stage{position:relative;min-height:0;flex:1;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 47%,#fff 0,#f5f6f8 58%,#eef0f3 100%)}
.design-stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,#fff2,transparent 33% 70%,#d8dde422)}
.stage-caption{position:absolute;z-index:1;top:15px;left:20px;right:20px;display:flex;justify-content:space-between;color:#555a60;font-size:10px}
.stage-caption span:first-child{font-weight:750}
.stage-caption span:last-child{color:#898e94}
.jersey-svg{position:relative;z-index:1;width:min(78%,620px);height:calc(100% - 44px);min-height:310px;overflow:visible;touch-action:none;--primary:#f7e600;--secondary:#17191b;transition:transform .16s ease}
.jersey-svg .jersey{transform-origin:360px 410px}
.pattern-layer{pointer-events:none}
.jersey .team-mark-text{font:800 12px var(--font);letter-spacing:2px;fill:var(--secondary);opacity:.87}
.jersey .shirt-number-text{font:900 152px/1 var(--font);letter-spacing:-8px;fill:var(--secondary);stroke:#fff;stroke-opacity:.12;stroke-width:2px;paint-order:stroke fill}
.jersey .shirt-name-text{font:800 20px var(--font);letter-spacing:2px;fill:var(--secondary)}
.jersey[data-view="back"] .shirt-crest,.jersey[data-view="back"] #shirt-team-mark{display:none}
.jersey[data-view="back"] #shirt-name-mark{display:block}
.jersey:not([data-view="back"]) #shirt-name-mark,.jersey:not([data-view="back"]) #shirt-number-mark{display:none}
.jersey[data-view="left"] .pattern-layer,.jersey[data-view="right"] .pattern-layer{opacity:.55}
.selection-indicator rect{fill:none;stroke:#a49a00;stroke-width:2;stroke-dasharray:6 5}
.selection-indicator circle{fill:#fff;stroke:#a49a00;stroke-width:2}
.drag-help{position:absolute;z-index:2;bottom:13px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #e3e5e6;border-radius:3px;background:#fffdded9;color:#4b4e50;font-size:9px;white-space:nowrap;box-shadow:0 3px 10px #18202b0c}
.drag-help span{font-size:13px}
.canvas-footer{height:32px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 17px;background:#f7f8f9;color:#62676c;font-size:9px}
.canvas-footer em{padding:0 4px;color:#a5a9ad;font-style:normal}
.material-chip{display:flex;align-items:center;gap:6px}
.material-chip i{width:7px;height:7px;border-radius:50%;background:#68a07a}
.canvas-footer b{color:#3b3f44}
.view-rail{min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 9px;background:#fff;border-left:1px solid var(--line)}
.view-label{width:100%;margin-bottom:1px;color:#777c82;text-align:center;font-size:8px;font-weight:800;letter-spacing:.13em}
.view-card{width:83px;min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:5px;border:1px solid #dfe1e3;border-radius:4px;background:#fff;color:#585d62}
.view-card:hover{border-color:#aab0b4}
.view-card.is-selected{border-color:#232628;box-shadow:inset 0 0 0 1px #232628;color:#17191b}
.view-card b{font-size:9px;font-weight:650}
.view-thumb{width:38px;height:50px;display:block;position:relative;background:linear-gradient(180deg,#163b71 0 25%,#f2d800 25% 32%,#163b71 32% 100%);clip-path:polygon(28% 0,40% 8%,60% 8%,72% 0,100% 24%,85% 43%,76% 37%,78% 100%,22% 100%,24% 37%,15% 43%,0 24%)}
.back-thumb{background:linear-gradient(180deg,#163b71 0 100%)}
.sleeve-thumb{width:28px;height:42px;border-radius:3px;clip-path:polygon(36% 0,64% 0,100% 18%,78% 100%,22% 100%,0 18%);background:linear-gradient(90deg,#f7e600 0 32%,#153b73 32% 100%)}
.right-thumb{transform:scaleX(-1)}
.views-note{max-width:88px;margin-top:7px;color:#858a90;text-align:center;font-size:8px;line-height:1.35}
.bottom-bar{height:84px;display:flex;align-items:center;gap:17px;padding:0 18px;background:#fff;border-top:1px solid #dfe1e3;box-shadow:0 -5px 14px #1b24300a;position:relative;z-index:4}
.product-tabs{height:100%;display:flex;align-items:center;gap:7px;min-width:245px;padding-right:15px;border-right:1px solid var(--line)}
.product-tab{height:54px;display:flex;align-items:center;gap:9px;padding:5px 7px;border:1px solid #dfdfe0;border-radius:4px;background:#fff;text-align:left}
.product-tab-shirt{width:34px;height:39px;display:block;background:linear-gradient(180deg,#163b71 0 25%,#f7e600 25% 32%,#163b71 32%);clip-path:polygon(28% 0,40% 8%,60% 8%,72% 0,100% 24%,85% 43%,76% 37%,78% 100%,22% 100%,24% 37%,15% 43%,0 24%)}
.product-tab>span:nth-child(2){display:grid;gap:3px}
.product-tab b{font-size:10px}
.product-tab small{color:#7b8085;font-size:8px}
.product-tab>i{align-self:flex-start;color:#85898d;font-size:12px;font-style:normal}
.add-product{height:38px;display:flex;align-items:center;gap:5px;padding:0 6px;border:0;background:transparent;color:#404448;font-size:9px;white-space:nowrap}
.add-product>span{font-size:16px}
.bottom-actions{display:flex;align-items:center;gap:4px;min-width:0}
.bottom-action{height:40px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid transparent;border-radius:4px;background:#fff;color:#494e53;font-size:10px;font-weight:650;white-space:nowrap}
.bottom-action:hover{border-color:#e0e2e3;background:#fafafa}
.bottom-action span{font-size:14px}
.price-summary{display:grid;gap:1px;margin-left:auto;min-width:160px;text-align:right}
.price-summary small,.price-summary span{color:#7d8185;font-size:8px}
.price-summary b{font-size:17px;line-height:1.1}
.finish-button{min-width:206px;height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 16px;border:1px solid #17191b;border-radius:4px;background:#17191b;color:#fff;font-size:11px;font-weight:750;white-space:nowrap}
.finish-button:hover{background:#303438}
.finish-button span{color:var(--yellow);font-size:16px}
.dialog{width:min(880px,calc(100vw - 36px));max-height:min(88vh,780px);padding:0;border:1px solid #dedfe0;border-radius:7px;background:#fff;color:var(--ink);box-shadow:0 22px 80px #10182042}
.dialog::backdrop{background:#10151bb0;backdrop-filter:blur(2px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 13px}
.dialog-header h2,.compact-dialog h2{margin:5px 0 0;font-size:24px;letter-spacing:-.04em}
.dialog-x{width:31px;height:31px;border:1px solid #e0e1e2;border-radius:50%;background:#fff;font-size:19px;color:#3b3f44}
.dialog-intro{margin:0;padding:0 25px 18px;color:#73787d;font-size:11px}
.roster-table-wrap{overflow:auto;padding:0 25px}
.roster-table{width:100%;border-collapse:collapse;font-size:11px}
.roster-table th{padding:10px 8px;border:1px solid #dcdee0;background:#f6f7f8;text-align:left;font-size:10px}
.roster-table td{padding:7px 8px;border:1px solid #e1e3e4}
.roster-table input,.roster-table select{width:100%;min-width:70px;height:31px;padding:4px 7px;border:1px solid #dfe1e2;border-radius:3px;background:#fff;font-size:10px}
.roster-table input[type=number]{min-width:58px}
.remove-row{width:25px;height:25px;border:0;background:transparent;color:#a34343;font-size:15px}
.add-row{height:34px;margin:13px 25px;border:1px solid #d9dbdd;border-radius:4px;background:#fff;padding:0 11px;font-size:10px;font-weight:650}
.dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 25px;border-top:1px solid #e5e6e7;background:#f8f9fa}
.dialog-bottom>span{display:grid;gap:3px}
.dialog-bottom b{font-size:12px}
.dialog-bottom small{color:#7a7f84;font-size:9px}
.dialog-bottom .finish-button{min-width:190px;height:42px}
.compact-dialog{width:min(540px,calc(100vw - 36px));padding:28px}
.compact-dialog .dialog-x{position:absolute;top:16px;right:16px}
.compact-dialog>p{margin:15px 0;color:#64696e;font-size:12px;line-height:1.65}
.compact-dialog ol{padding-left:22px;color:#51565b;font-size:12px;line-height:1.8}
.clear-design-dialog{position:relative}
.clear-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}
.clear-dialog-actions button{min-height:38px;padding:0 13px;border-radius:4px;font-size:11px;font-weight:700}
.danger-action{border:1px solid #b33f3f;background:#b33f3f;color:#fff}
.danger-action:hover{border-color:#962f2f;background:#962f2f}
.fact-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.fact-row span{padding:7px 9px;border:1px solid #e2e3e4;border-radius:4px;background:#f7f8f8;font-size:9px}
.toast{position:fixed;z-index:20;left:50%;bottom:102px;transform:translate(-50%,12px);padding:10px 15px;border-radius:4px;background:#191b1d;color:#fff;font-size:11px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;box-shadow:0 6px 18px #1113}
.toast.is-visible{transform:translate(-50%,0);opacity:1}
@media(max-width:1280px){
  .topbar{gap:19px;padding:0 16px}.editor{grid-template-columns:62px 330px minmax(0,1fr) 96px}
  .side-panel .panel-head{padding-left:16px;padding-right:14px}.panel-scroll{padding-left:15px;padding-right:15px}
  .view-card{width:76px;min-height:84px}
  .bottom-bar{gap:9px;padding:0 11px}.product-tabs{min-width:205px;padding-right:8px}
  .bottom-action{padding:0 6px;font-size:9px}.price-summary{min-width:137px}.finish-button{min-width:180px}
}
@media(max-width:1030px){
  body{overflow:auto}.topbar{height:auto;min-height:64px;flex-wrap:wrap;gap:10px;padding:9px 13px}.product-identity{gap:8px}.identity-detail{display:none}
  .editor{height:auto;min-height:calc(100vh - 148px);grid-template-columns:58px minmax(260px,32vw) minmax(0,1fr) 80px}
  .rail-button{width:48px;min-height:52px}.rail-button span{font-size:8px}
  .stage-area{min-height:570px}.view-rail{padding:12px 5px}.view-card{width:68px;min-height:77px}.view-thumb{width:31px;height:43px}
  .jersey-svg{width:min(94%,500px);height:calc(100% - 40px)}
  .bottom-bar{position:sticky;bottom:0;height:72px}.bottom-actions .bottom-action:nth-child(1),.bottom-actions .bottom-action:nth-child(4){display:none}
  .product-tabs{min-width:165px}.product-tab{height:46px}.product-tab-shirt{width:29px;height:35px}.add-product{font-size:0}.add-product span{font-size:20px}
  .price-summary small{font-size:7px}.price-summary b{font-size:15px}.price-summary span{display:none}.finish-button{min-width:152px;height:43px;font-size:10px}
}
@media(max-width:760px){
  html,body{height:auto;min-height:100%;overflow:auto}.topbar{position:sticky;top:0;z-index:10}.brand{min-width:140px}.product-identity{order:3;width:100%;padding:4px 0 0 52px}.product-identity .eyebrow{font-size:8px}.product-identity b{font-size:11px}
  .top-actions{gap:0}.saved-status{display:none}.top-button,.close-editor{padding:0 6px;font-size:9px}.top-button svg{display:none}
  .editor{height:auto;min-height:0;display:grid;grid-template-columns:53px minmax(0,1fr);grid-template-rows:auto auto auto}
  .tool-rail{grid-column:1;grid-row:1/4;position:sticky;top:104px;height:calc(100vh - 177px);max-height:740px;padding:7px 3px}
  .rail-button{width:45px;min-height:49px}
  .side-panel{grid-column:2;grid-row:1;min-height:380px;border-right:0}
  .panel-head{min-height:70px}.panel-head h1{font-size:19px}.panel-scroll{max-height:420px}
  .stage-area{grid-column:2;grid-row:2;min-height:490px}
  .stage-top{height:48px;padding:0 10px}.stage-caption{left:11px;right:11px;top:10px;font-size:9px}
  .jersey-svg{width:min(92%,440px);height:calc(100% - 45px);min-height:320px}
  .drag-help{max-width:92%;white-space:normal;text-align:center;font-size:8px}
  .canvas-footer{padding:0 10px}
  .view-rail{grid-column:2;grid-row:3;min-height:88px;flex-direction:row;justify-content:flex-start;gap:8px;padding:8px 11px;border-left:0;border-top:1px solid var(--line)}
  .view-label{width:auto;margin-right:3px}
  .view-card{width:69px;min-height:66px;flex-direction:row;gap:5px;padding:4px}.view-thumb{width:23px;height:34px}.view-card b{font-size:8px}
  .views-note{max-width:85px;margin:0 0 0 auto;font-size:8px}
  .bottom-bar{position:sticky;bottom:0;height:66px;gap:7px;padding:0 7px}
  .product-tabs{min-width:0;padding:0;border:0}.product-tab{width:38px;height:44px;justify-content:center;padding:3px}.product-tab>span:nth-child(2),.product-tab>i{display:none}.product-tab-shirt{width:28px}
  .bottom-actions{display:none}.price-summary{min-width:0}.price-summary small{font-size:7px}.price-summary b{font-size:13px}
  .finish-button{min-width:130px;width:auto;height:39px;padding:0 9px;font-size:9px}
  .roster-table{min-width:560px}.dialog{max-height:92vh}
}

/* Iteración del simulador deportivo: selección de modelos Roly y herramientas por tarea. */
.editor{grid-template-columns:68px 390px minmax(0,1fr) 96px}
.tool-rail{gap:2px;padding:12px 6px}
.rail-button{width:56px;min-height:59px}
.rail-button span{font-size:9px}
.panel-scroll{padding:16px 18px 20px}
.model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.model-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;padding:0;border:1px solid #dedfe2;border-radius:5px;background:#fff;text-align:left;transition:border-color .16s,box-shadow .16s,transform .16s}
.model-card:hover{transform:translateY(-1px);border-color:#aeb2b6;box-shadow:0 5px 14px #19202a0d}
.model-card.is-picked{border-color:#1b1d1e;box-shadow:0 0 0 2px #f2df00}
.model-photo{height:137px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f2f3f4}
.model-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.model-brand{position:absolute;top:7px;left:7px;padding:3px 6px;border:1px solid #e6e7e8;border-radius:3px;background:#ffffffed;color:#393d41;font-size:8px;font-weight:800;letter-spacing:.1em}
.model-info{display:grid;gap:3px;padding:9px 9px 10px}
.model-info strong{font-size:13px;line-height:1.1}
.model-info small{color:#575c62;font-size:9px;font-weight:650}
.model-info em{color:#81858a;font-size:9px;line-height:1.35;font-style:normal}
.model-spec{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;padding:10px;border:1px solid #e4e5e6;border-radius:4px;background:#fafafa}
.model-spec>div{display:grid;gap:3px}
.model-spec .eyebrow{font-size:8px}
.model-spec b{font-size:10px}
.model-spec a{color:#4a4f54;font-size:9px;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.color-heading{margin-top:19px}
.model-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px 10px;padding:5px 3px}
.model-swatch{width:100%;aspect-ratio:1;border:1px solid #cbd0d4;border-radius:4px;background:var(--swatch);box-shadow:inset 0 0 0 1px #fff4;transition:transform .14s,outline .14s}
.model-swatch:hover{transform:scale(1.08)}
.model-swatch.is-selected{outline:2px solid #17191b;outline-offset:2px;box-shadow:0 0 0 4px #f7e60066}
.model-swatch.is-light{border-color:#c1c5c8}
.selected-color-line{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:10px;color:#73787d}
.selected-color-line>span:first-child{width:14px;height:14px;border:1px solid #c9cdd0;border-radius:3px;background:#17365e}
.selected-color-line b{margin-left:auto;color:#232629;font-size:10px}
.panel-note{margin:14px 0 2px;padding:9px 10px;border-left:2px solid #e2d300;background:#faf9ef;color:#6f7378;font-size:9px;line-height:1.45}
.file-drop{min-height:82px;border-style:dashed}
.file-drop .upload-symbol{font-size:21px;font-weight:700;color:#41474d}
.quality-tips{display:grid;gap:8px;margin:4px 0;padding-left:18px;color:#696e73;font-size:10px;line-height:1.45}
.uploaded-list{margin-top:16px;padding:11px;border:1px solid #e4e5e6;border-radius:4px;color:#888d92;font-size:10px}
.upload-success{color:#28754d}
.logo-suggestion{display:flex;align-items:center;gap:10px;margin:18px 0 7px;padding:11px;border:1px solid #e4e5e6;border-radius:4px}
.mini-crest{width:37px;height:42px;display:grid;place-items:center;clip-path:polygon(8% 0,92% 0,86% 72%,50% 100%,14% 72%);background:#f1d900;color:#172338;font-size:20px}
.logo-suggestion>div{display:grid;gap:3px}.logo-suggestion b{font-size:10px}.logo-suggestion small{color:#777c82;font-size:9px;line-height:1.35}
.ink-swatches{display:flex;gap:10px;flex-wrap:wrap;padding:3px 2px}
.ink-swatch{width:26px;height:26px;border:1px solid #c4c7ca;border-radius:50%;background:var(--ink-color);box-shadow:inset 0 0 0 2px #fff5}
.ink-swatch.is-picked{outline:2px solid #202326;outline-offset:2px}
.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}
.player-entry{display:grid;grid-template-columns:1.25fr .78fr .9fr;gap:7px;padding:11px;border:1px solid #e1e3e5;border-radius:5px;background:#fafafa}
.player-print-view{height:35px;margin-bottom:2px;font-size:10px}
.placement-help{margin:0 0 12px;color:#777c81;font-size:9px;line-height:1.45}
.player-entry label{min-width:0;display:grid;gap:5px}
.player-entry label span{color:#62676c;font-size:9px;font-weight:700}
.player-entry input,.player-entry select{width:100%;min-width:0;height:36px;padding:0 7px;border:1px solid #d9dcdf;border-radius:4px;background:#fff;font-size:11px}
.player-entry input[type=number]{appearance:textfield;-moz-appearance:textfield}
.player-entry input[type=number]::-webkit-inner-spin-button,.player-entry input[type=number]::-webkit-outer-spin-button{opacity:1}
.roster-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:21px 0 9px}
.roster-summary b{font-size:12px}.roster-summary span{color:#757a80;font-size:9px}
.roster-actions{display:flex;align-items:center;gap:8px}
.clear-roster-button{min-height:25px;padding:0 7px;border:1px solid #e2d5d5;border-radius:4px;background:#fff;color:#8b4b4b;font-size:9px;font-weight:700;white-space:nowrap}
.clear-roster-button:hover:not(:disabled){border-color:#c98d8d;background:#fff8f8}
.clear-roster-button:disabled{opacity:.45;cursor:not-allowed}
.inline-roster-wrap{overflow:auto;border:1px solid #e0e2e4;border-radius:4px}
.inline-roster{width:100%;border-collapse:collapse;text-align:left}
.inline-roster th{padding:8px 7px;background:#f4f5f6;color:#686d72;font-size:9px;font-weight:700}
.inline-roster td{padding:8px 7px;border-top:1px solid #e6e7e8;color:#32363a;font-size:10px}
.inline-roster td:first-child{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inline-roster th:last-child,.inline-roster td:last-child{width:31px;text-align:center}
.roster-empty{padding:12px;color:#888d92;font-size:9px;line-height:1.45}
.roster-empty[hidden]{display:none}
.remove-player,.layer-delete{width:22px;height:22px;border:0;border-radius:3px;background:#f7f7f7;color:#85898d;font-size:16px}
.remove-player:hover,.layer-delete:hover{background:#faeaea;color:#a63838}
.shape-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shape-choice{min-height:69px;display:grid;place-items:center;gap:2px;padding:8px;border:1px solid #e0e2e4;border-radius:4px;background:#fff}
.shape-choice:hover{border-color:#999fa4;background:#fbfbfa}
.shape-choice span{color:#363b40;font-size:24px;line-height:1}
.shape-choice b{font-size:9px;font-weight:650}
.layer-row{gap:6px}.layer-name{flex:1;padding:0;border:0;background:transparent;text-align:left}
.layer-delete{flex:none}
.stage-top .product-state b{font-size:11px}
.product-identity #header-model-title{font-size:12px}
.roster-table{min-width:320px}
.roster-table th{font-size:10px}
.roster-table td{font-size:10px}
.roster-table td input,.roster-table td select{height:30px}
@media(max-width:1280px){.editor{grid-template-columns:62px 365px minmax(0,1fr) 88px}.model-photo{height:126px}.model-swatches{gap:10px 9px}}
@media(max-width:1030px){.editor{grid-template-columns:58px minmax(285px,34vw) minmax(0,1fr) 76px}.model-photo{height:112px}.model-swatches{gap:8px}.stage-top .product-state b{max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:760px){.editor{grid-template-columns:53px minmax(0,1fr)}.tool-rail{grid-row:1/4}.rail-button{width:45px;min-height:49px}.model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-photo{height:128px}.model-swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.stage-top .product-state b{max-width:150px}.player-entry{grid-template-columns:1.2fr .72fr .85fr}.inline-roster{min-width:260px}}

/* Iteración v5: logotipo oficial, prendas por conjunto y área imprimible controlada. */
.brand{width:164px;height:45px;min-width:164px;justify-content:center;overflow:hidden}
.brand>img{display:block;width:45px;height:134px;object-fit:fill;transform:rotate(90deg)}
.model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.model-card{border-radius:4px}
.model-photo{height:94px}
.model-info{gap:2px;padding:6px 6px 7px}
.model-info strong{font-size:11px}
.model-info small,.model-info em{font-size:8px;line-height:1.25}
.model-info em{min-height:20px}
.model-swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px 5px;padding:6px 2px}
.model-swatch{width:23px;height:23px;justify-self:center;aspect-ratio:auto;border-radius:3px}
.tool-rail .rail-button{min-height:53px}
.model-grid[hidden],.nonshirt-model-note[hidden]{display:none!important}
.product-tabs{min-width:0;flex:0 1 auto;max-width:46%;overflow-x:auto;overflow-y:hidden;gap:6px;padding-right:10px}
.product-tab{position:relative;min-width:118px;max-width:160px;height:55px;cursor:pointer}
.product-tab.is-current{border-color:#26292c;background:#fffef0}
.product-tab>i{display:grid;place-items:center;width:18px;height:18px;margin-left:3px;border:0;border-radius:50%;background:#f3f4f5;cursor:pointer}
.product-tab[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--yellow)}
.product-tab-icon{width:32px;height:39px;display:grid;place-items:center;flex:none;color:#1d3f75;font-size:25px}
.product-tab-icon svg{width:30px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.add-product{flex:none;font-size:10px;border:1px solid #e1e3e4;border-radius:4px;padding:0 9px;cursor:pointer}
.add-product:hover{background:#faf9ed;border-color:#d9d000}
.finish-button{min-width:190px}
.layer-panel-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px}
.layer-panel-heading b{font-size:12px}
.layer-panel-heading span{color:#777c82;font-size:9px}
.layer-row{min-height:39px}
.layer-actions{gap:2px}
.layer-actions button{width:24px;height:24px;border-radius:3px;font-size:12px}
.layer-actions button:hover{background:#f2f3f4}
.layer-actions .layer-delete{background:#faf0f0;color:#a63838}
.layer-actions .layer-delete:hover{background:#f6dede}
.print-area-outline{fill:#ffffff06;stroke:#aaa326;stroke-width:2;stroke-dasharray:7 6;pointer-events:none;opacity:.32}
.print-area-outline.is-active{opacity:.72}
.alternate-garment[hidden]{display:none}
.alt-fabric{fill:var(--primary);stroke:#20252c;stroke-opacity:.22;stroke-width:3}
.alt-detail{fill:none;stroke:var(--secondary);stroke-width:9;stroke-linecap:round;stroke-linejoin:round}
.alt-seam{fill:none;stroke:#fff;stroke-opacity:.28;stroke-width:2}
.product-dialog{width:min(620px,calc(100vw - 30px))}
.product-kind-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 25px 25px}
.product-kind-choice{min-height:89px;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #dfe1e3;border-radius:5px;background:#fff;text-align:left}
.product-kind-choice:hover:not(:disabled){border-color:#d6ca00;background:#fffef1}
.product-kind-choice:disabled{opacity:.52;cursor:not-allowed;background:#f6f6f6}
.product-kind-glyph{width:40px;height:45px;display:grid;place-items:center;flex:none;border-radius:4px;background:#f3f4f6;color:#203c68;font-size:28px}
.product-kind-choice>span:last-child{display:grid;gap:4px}
.product-kind-choice b{font-size:12px}
.product-kind-choice small{color:#777c82;font-size:9px;line-height:1.4}
@media(max-width:1280px){.model-photo{height:84px}.model-info{padding:6px 5px}.model-info em{display:none}.model-grid{gap:6px}.model-swatches{gap:7px 3px}.model-swatch{width:21px;height:21px}}
@media(max-width:1030px){.editor{grid-template-columns:58px minmax(285px,34vw) minmax(0,1fr) 76px}.model-photo{height:74px}.model-info strong{font-size:10px}.model-info small{font-size:7px}.model-swatches{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px 2px}.model-swatch{width:20px;height:20px}.product-tabs{max-width:40%}.product-tab{min-width:105px}}
@media(max-width:760px){.editor{grid-template-columns:53px minmax(0,1fr)}.model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.model-photo{height:88px}.model-info em{display:none}.model-swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px 4px}.model-swatch{width:22px;height:22px}.product-tabs{max-width:50%}.product-tab{min-width:40px;width:46px;max-width:46px}.product-tab>span:nth-child(2),.product-tab>i{display:none}.product-tab-icon{width:30px}.product-kind-grid{grid-template-columns:1fr}.finish-button{min-width:130px}}

/* v6: capas independientes, conjuntos por prenda y logotipo oficial. */
.brand{flex:none;width:164px;height:46px;min-width:164px;justify-content:flex-start;overflow:hidden}
.brand>img{width:45px;height:134px;margin-left:59px;object-fit:fill;transform:rotate(90deg)}
.brand-symbol,.brand-name{display:none}
.model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.model-photo{height:88px}
.model-info{padding:6px 5px}
.model-info strong{font-size:10px}
.model-info small{font-size:8px}
.model-info em{font-size:8px}
.model-swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px 4px}
.model-swatch{width:22px;height:22px;border-radius:3px}
.selected-controls[hidden]{display:none!important}
.layer-actions{display:flex;align-items:center;gap:1px;margin-left:auto}
.layer-actions button{width:22px;height:23px;display:grid;place-items:center;border:0;border-radius:3px;background:transparent;color:#666c72;font-size:12px}
.layer-actions button:hover{background:#f1f2f3;color:#17191b}
.layer-actions .layer-delete{background:#faf0f0;color:#a63838}
.layer-panel-heading{margin:8px 0 9px}
.layer-colors{gap:8px}
.print-area-outline{opacity:.24;stroke:#a49a00;stroke-width:1.8;stroke-dasharray:6 6}
.alternate-garment[hidden]{display:none!important}
.alt-fabric{fill:var(--primary);stroke:#29303a;stroke-opacity:.2;stroke-width:4}
.alt-detail{fill:var(--secondary);stroke:#20252b;stroke-opacity:.14;stroke-width:2}
.alt-seam{fill:none;stroke:#fff;stroke-opacity:.34;stroke-width:2}
.product-tabs{max-width:48%;flex:1 1 auto;gap:5px}
.product-tab{min-width:120px;max-width:155px;gap:5px;padding:4px 6px}
.product-tab>span:nth-child(2){min-width:0;overflow:hidden}
.product-tab b,.product-tab small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-tab-icon{width:28px;height:36px;font-size:22px}
.product-tab>i{flex:none;margin-left:auto}
.add-product{min-height:39px}
.product-kind-choice>span:last-child{min-width:0}
.product-kind-grid{padding-top:2px}
.product-dialog .dialog-intro{margin:0;padding:0 25px 17px;color:#696e73;font-size:12px}
.view-card[hidden]{display:none!important}
@media(max-width:1280px){.model-photo{height:78px}.model-info em{display:none}.product-tabs{max-width:43%}.product-tab{min-width:105px}}
@media(max-width:1030px){.brand{width:120px;min-width:120px}.brand>img{margin-left:37px}.topbar{gap:18px}.product-identity{gap:8px}.identity-detail{display:none}.model-photo{height:70px}.model-info strong{font-size:9px}.model-info small{font-size:7px}.model-swatches{grid-template-columns:repeat(7,minmax(0,1fr))}.product-tabs{max-width:40%}.product-tab{min-width:45px;max-width:55px;justify-content:center}.product-tab>span:nth-child(2),.product-tab>i{display:none}.product-tab-icon{width:30px}}
@media(max-width:760px){.brand{width:76px;min-width:76px}.brand>img{width:34px;height:102px;margin-left:21px}.topbar{gap:8px;padding:0 10px}.top-actions{gap:0}.saved-status{display:none}.model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.model-photo{height:83px}.model-swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px 4px}.product-tabs{max-width:42%;gap:3px}.product-tab{min-width:38px;width:40px;max-width:40px;height:43px;padding:2px}.product-tab-icon{width:27px;height:32px}.add-product{font-size:0;padding:0 8px}.add-product span{font-size:20px}.layer-actions button{width:20px}.product-kind-grid{grid-template-columns:1fr}}
