@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#143475;--muted:#647493;--paper:#f7f9ff;--line:#dae2f3;--lime:#ffffff;--accent:#ef3340}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ef3340;outline-offset:3px}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.95)}button:disabled{opacity:.5;cursor:not-allowed}header{height:90px;padding:0 32px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:28px;background:#ffffff}.brand{display:flex;gap:12px;text-decoration:none;color:var(--ink);font-weight:800;letter-spacing:3px;font-size:21px;align-items:center}.brand small{display:block;font-size:9px;letter-spacing:2.4px;margin-top:1px}.brandmark{width:42px;height:45px;background:var(--ink);color:var(--lime);font:800 40px 'Barlow Condensed',Impact,sans-serif;position:relative;text-align:center;transform:skew(-5deg)}.brandmark span{font-size:17px;position:absolute;right:-6px;top:-7px}.project-title{border-left:1px solid var(--line);padding-left:28px;flex:1;position:relative}.project-title input{border:0;background:none;font-size:13px;width:min(260px,90%);color:var(--ink);font-weight:600}.project-title small{display:block;font-size:10px;color:var(--muted);margin:6px 0 0 16px}.status-dot{display:inline-block;width:6px;height:6px;background:#1557df;border-radius:50%}.header-actions{display:flex;gap:10px}.primary,.secondary,.quiet{padding:12px 16px;border-radius:5px;font-size:12px;font-weight:700;white-space:nowrap}.primary{background:var(--ink);color:#fff}.primary span{margin-left:14px}.secondary{background:#eef3ff;color:var(--ink);border:1px solid #becff3}.quiet{background:transparent;color:var(--ink)}.preview-banner{text-align:center;background:#e9efff;padding:9px 15px;color:#214785;font-size:11px}.preview-banner span{font-size:9px;letter-spacing:1.3px;font-weight:700;margin-right:12px}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);max-width:1700px;margin:auto}.controls{border-right:1px solid var(--line);padding:27px 25px 40px;background:#ffffff}.eyebrow{font-size:9px;letter-spacing:2.2px;font-weight:700}.section-intro h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:43px;line-height:.98;margin:17px 0 13px;letter-spacing:-.6px;text-transform:uppercase}.section-intro>p:last-child{color:var(--muted);font-size:12px;line-height:1.6;max-width:240px}.tabs{display:flex;border-bottom:1px solid var(--line);margin:24px 0}.tabs button{flex:1;background:none;padding:12px 0;color:var(--muted);font-size:12px;font-weight:700;border-bottom:2px solid transparent}.tabs .active{color:var(--ink);border-color:var(--ink)}h2{font-size:12px;margin:18px 0 12px;font-weight:700}.label-row{display:flex;align-items:center;justify-content:space-between}.label-row h2{margin-top:0}.label-row>span{font-size:9px;color:var(--muted);letter-spacing:1px}.templates{display:grid;grid-template-columns:1fr 1fr;gap:10px}.template{padding:10px;border:1px solid var(--line);background:#f0f4ff;border-radius:5px;text-align:left;position:relative}.template.active{border:2px solid var(--ink);padding:9px}.template.active:after{content:'✓';position:absolute;right:6px;top:6px;background:var(--ink);color:white;border-radius:50%;width:17px;height:17px;text-align:center;font-size:11px}.template canvas{width:52px;display:block;margin:0 auto 8px;border-radius:3px;box-shadow:0 2px 6px #14347520}.template span{display:block;font-size:10px;font-weight:600}.colors{display:flex;justify-content:space-between;gap:12px;margin:8px 0 22px}.colors label{display:flex;gap:7px;align-items:center;font-size:10px;cursor:pointer}.colors input{padding:0;width:25px;height:25px;border:1px solid #ddd;border-radius:50%;overflow:hidden;background:none;cursor:pointer}.field{display:block;font-size:11px;font-weight:600;margin:15px 0}.field input:not([type=range]),.field select,.field textarea{display:block;width:100%;border:1px solid var(--line);border-radius:4px;padding:10px;background:white;color:var(--ink);margin-top:7px;font-size:12px}.field textarea{resize:vertical;line-height:1.5}.field small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:5px}.field input[type=range]{display:block;width:100%;margin:14px 0;accent-color:var(--ink)}output{float:right;font-weight:400}.upload-button{border:1px dashed #99b6ed;background:#f1f5ff;padding:16px 10px;width:100%;font-size:12px;color:var(--ink);border-radius:5px;font-weight:600}.upload-button small{display:block;font-size:9px;color:var(--muted);margin-top:6px;font-weight:400}.full{width:100%;margin-top:12px}.text-button{background:none;color:var(--ink);font-size:10px;text-decoration:underline;text-underline-offset:4px;padding:5px}.divider{height:1px;background:var(--line);margin:24px 0}.hint{font-size:11px;color:var(--muted);line-height:1.6}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stage{padding:27px 36px 30px;background:radial-gradient(ellipse at 50% 40%,#bcd0ff88,transparent 60%),#eef3ff;min-width:0}.stage-top{display:flex;justify-content:space-between;align-items:center}.product-spec{font-size:10px;color:var(--muted)}.product-spec i{font-style:normal;margin:0 7px}.stage-toolbar{display:flex;justify-content:center;align-items:center;position:relative;margin:25px 0 15px}.segmented{border:1px solid #bfcff0;padding:3px;display:flex;border-radius:6px;background:#e0e9ff}.segmented button{padding:8px 25px;color:var(--muted);background:none;font-size:11px;border-radius:4px}.segmented button.active{background:#ffffff;color:var(--ink);box-shadow:0 1px 3px #0001;font-weight:700}.guide-toggle{position:absolute;right:0;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.guide-toggle input{accent-color:var(--ink)}.canvas-area{display:flex;justify-content:center;position:relative;padding:17px 0 23px}.card-shadow{transform:rotate(-2deg);box-shadow:12px 22px 30px #133f8827;border-radius:13px;overflow:hidden;background:var(--ink);max-width:320px;width:45%;min-width:240px;transition:transform .25s}.card-shadow:hover{transform:rotate(0)}#card{display:block;width:100%;height:auto;touch-action:none;cursor:grab}#card:active{cursor:grabbing}.side-note{position:absolute;right:2%;bottom:48px;font-family:'Barlow Condensed',Impact,sans-serif;font-size:34px;color:#b2c5ee;line-height:.95;transform:rotate(-90deg);transform-origin:50% 50%;letter-spacing:1px}.stage-bottom{display:flex;justify-content:center;gap:22px;align-items:center;font-size:10px;color:var(--muted);min-height:35px}.collection{border-top:1px solid #c9d6f1;margin-top:20px;padding-top:5px}.collection-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.collection-head h2{font-size:14px;margin:12px 0 5px}.collection-head h2 span{background:#dce8ff;padding:2px 6px;font-size:9px;margin-left:5px;border-radius:4px}.collection-head p{font-size:10px;color:var(--muted);margin:0}.collection-head .quiet,.collection-head .secondary{font-size:10px;padding:8px 10px}.roster{display:flex;overflow-x:auto;gap:12px;padding:18px 2px 10px}.roster-card{width:95px;flex-shrink:0;background:#ffffff;border:1px solid #bed1f4;border-radius:5px;padding:6px;color:var(--ink);text-align:left}.roster-card.active{border:2px solid var(--ink);padding:5px;background:#dce7ff}.roster-card canvas{display:block;width:100%;border-radius:2px}.roster-card span{display:block;font-size:9px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.roster-card small{display:block;font-size:8px;color:var(--muted);margin-top:3px}dialog{border:0;border-radius:12px;width:min(850px,95vw);max-height:90vh;padding:30px;color:var(--ink);background:#ffffff;box-shadow:0 25px 90px #0004}dialog::backdrop{background:#102350aa;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:start;justify-content:space-between}.dialog-head h2{font:700 35px 'Barlow Condensed',Impact,sans-serif;margin:6px 0}.dialog-head+p{font-size:12px;color:var(--muted)}.review-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:20px 0;max-height:360px;overflow:auto}.review-item{padding:14px;background:#edf2ff;border-radius:6px}.review-item>div{display:flex;gap:8px}.review-item canvas{width:calc(50% - 4px);border-radius:4px}.review-item p{margin:8px 0 0;font-size:11px;font-weight:700}.review-summary{display:flex;justify-content:space-between;gap:15px;font-size:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.notice{background:#eef3ff;padding:14px 16px;border-radius:5px;font-size:12px;margin:14px 0}.notice p{font-size:11px;line-height:1.6;margin:6px 0 0}.notice.warning{background:#fff1d5;color:#795626}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(80px);background:var(--ink);color:white;border-radius:7px;padding:13px 20px;z-index:10;font-size:12px;transition:.2s;max-width:90vw}#toast.show{transform:translateX(-50%) translateY(0)}[hidden]{display:none!important}
@media(min-width:1450px){.card-shadow{max-width:365px}.canvas-area{padding-top:30px;padding-bottom:35px}.controls{padding:34px}.workspace{grid-template-columns:360px 1fr}.stage{padding-left:65px;padding-right:65px}}
@media(max-width:1050px){header{padding:0 20px;gap:18px}.project-title{display:none}.header-actions{margin-left:auto}.stage{padding:24px}.side-note{display:none}.guide-toggle{position:static;margin-left:14px}.collection-head{align-items:start;flex-direction:column}.workspace{grid-template-columns:300px minmax(0,1fr)}.controls{padding:24px 20px}.card-shadow{width:70%}.product-spec{max-width:130px;text-align:right;line-height:1.6}}
@media(max-width:700px){header{height:75px;padding:0 14px}.brand{font-size:16px;gap:8px}.brandmark{width:31px;height:35px;font-size:31px}.brand small{font-size:7px}.header-actions{gap:0}.header-actions .quiet{font-size:0;padding:8px}.header-actions #saveProject:after{content:'Save';font-size:10px}.header-actions #openProject:after{content:'Open';font-size:10px}.header-actions .primary{font-size:10px;padding:10px}.header-actions .primary span{display:none}.preview-banner{font-size:9px}.preview-banner span{display:block;margin-bottom:4px}.workspace{display:flex;flex-direction:column}.stage{order:0;padding:20px 18px}.controls{order:1;border-top:1px solid var(--line);border-right:0}.section-intro{display:none}.stage-top{gap:15px}.stage-top .eyebrow{font-size:8px}.product-spec{max-width:none;font-size:9px}.stage-toolbar{margin:15px 0 0}.canvas-area{padding:18px 0}.card-shadow{max-width:230px;min-width:180px;width:55%}.stage-bottom{gap:12px;font-size:9px}.collection{margin-top:10px}.collection-head{flex-direction:row;align-items:center;gap:8px}.collection-head p{display:none}.collection-head h2{font-size:12px}.collection-head .quiet,.collection-head .secondary{font-size:9px;padding:7px}.roster{padding:12px 0 5px}.roster-card{width:67px}.tabs{margin-top:0}.templates{grid-template-columns:repeat(4,1fr)}.template canvas{width:42px}.template span{font-size:9px}.colors{justify-content:start;gap:25px}.review-summary{font-size:10px}.dialog-actions{flex-direction:column}}

/* Custom Athlete Cards identity */
.primary{background:#ef3340;color:#fff}.brandmark{background:#1557df;color:white;font-size:25px;line-height:45px;letter-spacing:-1px;transform:skew(-5deg)}.brand{color:#1557df}.brand small{color:#ef3340}.tabs .active{color:#1557df;border-color:#ef3340}.template.active{border-color:#1557df}.template.active:after{background:#ef3340}.section-intro h1{color:#1557df}.preview-banner span{color:#d51e35}.templates .template:last-child{grid-column:1/-1}.templates .template:last-child canvas{width:44px}.templates .template:last-child{display:flex;align-items:center;gap:16px}.templates .template:last-child canvas{margin:0}.templates .template:last-child span{font-size:12px}@media(max-width:700px){.brandmark{font-size:19px;line-height:35px}.brand small{letter-spacing:1.4px}.templates{grid-template-columns:repeat(3,1fr)}.templates .template:last-child{grid-column:auto;display:block}.templates .template:last-child canvas{margin:0 auto 8px}.templates .template:last-child span{font-size:9px}}
/* Editor workflow v2 */
fieldset.panel{border:0;padding:0;margin:0;min-width:0}fieldset:disabled{opacity:.62}.edit-context{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:700;margin-top:22px}.status-pill{display:inline-flex;padding:5px 10px;border-radius:20px;background:#e5edff;color:#1557df;font-size:10px;font-weight:700;white-space:nowrap}.status-pill.locked{background:#e3f3ee;color:#176047}.lock-notice{background:#e7f3ef;color:#205b49;padding:12px;border-radius:6px;font-size:12px;line-height:1.5}.stage-status{display:flex;justify-content:space-between;align-items:center;margin:18px 0 0}.stage-status .secondary{font-size:11px;padding:9px 12px}.stage-toolbar{margin-top:14px}.history-actions{display:flex;border-right:1px solid var(--line);padding-right:8px;margin-right:5px}.history-actions .quiet{padding:10px;font-size:11px}.switch-row{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;margin:18px 0}.switch-row input{accent-color:#1557df;width:18px;height:18px}.stat-row{display:grid;grid-template-columns:1fr 85px 30px;align-items:end;gap:8px}.stat-row .field{margin:6px 0}.remove-stat{height:36px;margin-bottom:7px;font-size:21px;background:#fff0f1;color:#b92230;border-radius:4px}.quality-explainer{font-size:11px;line-height:1.6;background:#eef3ff;padding:10px;border-radius:5px}.quality-notice,.fit-notice{font-size:11px;line-height:1.5;max-width:600px;padding:9px 12px;border-radius:5px;margin:8px auto}.quality-notice{background:#e4eee8;color:#275a3e}.quality-notice.warning{background:#fff2d9;color:#77521d}.fit-notice{background:#ffe9ec;color:#9b2335}.is-locked small{color:#176047;font-weight:700}.collection-head>div:last-child{display:flex;gap:3px;flex-wrap:wrap}.roster-card small{font-size:10px}.stage{align-self:start;position:sticky;top:0}.card-shadow{transform:none}.card-shadow:hover{transform:none}.stage-bottom{flex-wrap:wrap;gap:8px}.header-actions{gap:4px}.section-intro h1{font-size:36px}.section-intro>p:last-child{margin-bottom:5px}
@media(max-width:1100px){header{gap:12px;padding:0 15px}.header-actions .quiet{padding:10px}.history-actions .quiet{font-size:10px}.header-actions .primary{padding:10px}.workspace{grid-template-columns:300px minmax(0,1fr)}.card-shadow{max-width:275px}.side-note{display:none}}
@media(max-width:700px){header{height:auto;min-height:70px;flex-wrap:wrap;padding:10px 12px;gap:10px}.header-actions{width:100%;justify-content:space-between}.header-actions .quiet{font-size:10px;padding:8px}.history-actions .quiet{font-size:12px}.header-actions #saveProject,.header-actions #openProject{font-size:0}.history-actions{padding-right:5px;margin-right:0}.brand{margin:auto}.preview-banner{padding:6px 12px}.stage{position:sticky;top:0;z-index:2;width:100%;padding:8px 12px 6px;border-bottom:1px solid #bbcdf1;box-shadow:0 5px 14px #14347514}.stage-top,.side-note{display:none}.stage-status{margin:0;position:absolute;right:10px;top:9px;gap:6px}.stage-status .status-pill{display:none}.stage-status .secondary{padding:8px;font-size:10px}.stage-toolbar{margin:0;justify-content:flex-start;min-height:33px}.segmented button{padding:6px 12px}.guide-toggle{font-size:9px;margin-left:8px}.canvas-area{padding:7px 0 0}.card-shadow{min-width:0;width:auto;height:160px;border-radius:6px}.card-shadow #card{height:160px;width:auto}.stage-bottom{min-height:22px;font-size:9px;margin:0;gap:10px}.stage-bottom p{margin:3px 0}.stage-bottom .text-button{font-size:9px}.quality-notice,.fit-notice{font-size:9px;padding:4px 8px;margin:3px auto;max-height:45px;overflow:auto}.collection{margin-top:3px;padding:0}.collection-head{gap:3px}.collection-head h2{font-size:10px;margin:5px 0}.collection-head .quiet,.collection-head .secondary{font-size:9px;padding:5px}.roster{gap:7px;padding:4px 0}.roster-card{width:65px;display:grid;grid-template-columns:21px 1fr;column-gap:3px;padding:3px}.roster-card.active{padding:2px}.roster-card canvas{width:21px;grid-row:1/3}.roster-card span{font-size:7px;margin-top:0}.roster-card small{font-size:7px}.controls{padding:18px 18px 40px}.edit-context{margin-top:0}.tabs{margin:14px 0}.stat-row{grid-template-columns:1fr 100px 36px}.remove-stat{height:40px}.field input:not([type=range]),.field select,.field textarea{font-size:16px}.lock-notice{margin-bottom:8px}.stage .collection-head p{display:none}}
@media(max-width:370px){.guide-toggle{display:none}.collection-head .quiet,.collection-head .secondary{font-size:8px;padding:4px}.card-shadow,.card-shadow #card{height:135px}}
@media(max-height:650px) and (max-width:700px){.card-shadow,.card-shadow #card{height:110px}.stage-status .secondary{padding:7px}.quality-notice{max-height:27px}.stage .collection-head{display:none}}
