/* JAN Custom Studio — clear editor controls within the existing streetwear identity. */
#panel-custom{max-width:1600px;margin:auto;padding-top:45px}
.custom-page,.custom-page button,.custom-page input,.custom-page textarea,.custom-page output{font-family:Arial,Helvetica,sans-serif;letter-spacing:0;line-height:1.5}
.custom-page button{cursor:pointer;font-weight:700}
.custom-page button:focus-visible,.custom-page input:focus-visible,.custom-page textarea:focus-visible,.custom-page canvas:focus-visible,.custom-upload:has(+input:focus-visible){outline:3px solid var(--accent);outline-offset:4px}
.custom-page button:disabled{opacity:.4;cursor:default}.custom-page a:focus-visible{outline-offset:5px}
.custom-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:40px}
.custom-kicker,.custom-step{font:700 11px/1.6 Arial,sans-serif;letter-spacing:1.5px;color:var(--accent);text-transform:uppercase}
.custom-page .custom-intro h1{font-family:JANBrush,Impact,sans-serif;font-size:clamp(54px,6.8vw,98px);line-height:1.1;margin:16px 0 0;letter-spacing:0}
.custom-intro>p{font:16px/1.7 Arial,sans-serif;color:#c6c3b9;max-width:340px;margin:0 0 8px}
.custom-studio{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.8fr);border:1px solid #54534c;background:#171716}
.custom-preview-column{padding:25px;border-right:1px solid #54534c;min-width:0}
.custom-preview-heading,.custom-tool-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.custom-black{font:12px Arial,sans-serif;display:flex;align-items:center;gap:7px;color:#d0cec6}.custom-black i{width:14px;height:14px;display:inline-block;background:#050505;border:1px solid #76736b;border-radius:50%}
.custom-garments{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}
.custom-garments button,.custom-side-buttons button{color:var(--paper);border:1px solid #5a5951;background:transparent;padding:10px 16px;font-size:14px}
.custom-garments button[aria-pressed=true]{color:#111110;background:var(--paper);border-color:var(--paper)}
.custom-stage{background:#e1ded5;color:#292924;position:relative;border-radius:2px;overflow:hidden}
.custom-stage-top{position:absolute;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none;font:10px/1 Arial,sans-serif;letter-spacing:1px;color:#5a5a51}
#custom-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}
#custom-canvas:active{cursor:grabbing}
.custom-stage-bottom{position:absolute;bottom:15px;left:12px;right:12px;text-align:center;pointer-events:none;font:8px/1.5 Arial,sans-serif;letter-spacing:.8px;color:#64635b}
.custom-side-buttons{display:flex;justify-content:center;gap:8px;margin:16px 0 0}
.custom-side-buttons button{min-width:110px;border-radius:3px}
.custom-side-buttons button[aria-pressed=true]{border-color:var(--accent);color:#ff9b8e;background:#f0524512}
.custom-side-dot{font-size:11px;margin-left:10px;color:var(--accent)}
.custom-hint{font:12px/1.6 Arial,sans-serif;text-align:center;color:#aaa79d;margin:13px 0 0}
.custom-tools{padding:25px;min-width:0}
#custom-editing-side{font:11px Arial,sans-serif;color:#c7c3b8}
.custom-upload{padding:22px 10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px dashed #8a8277;background:#222220;cursor:pointer;text-align:center}
.custom-upload:hover{border-color:var(--accent);background:#2b2421}.custom-upload svg{margin-bottom:7px;color:#ff8e7c}.custom-upload strong{font-size:15px}.custom-upload>span{font-size:11px;color:#bdb9ad}
.custom-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.custom-help{font:12px/1.6 Arial,sans-serif;color:#b7b3a8;margin:10px 0 18px}
.custom-gallery-heading{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:12px}
.custom-page .custom-gallery-heading h2{font:700 16px Arial,sans-serif;margin:0}.custom-gallery-heading>span{font-size:10px;color:#aaa69d}
.custom-art-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;max-height:320px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:5px}
.custom-art-gallery button{display:flex;flex-direction:column;align-items:center;padding:10px 7px;background:#101010;border:1px solid #5a5951;color:var(--paper);font-size:11px;gap:8px;line-height:1.3;min-width:0}
.custom-art-gallery button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.custom-art-gallery img{width:100%;height:105px;object-fit:contain;padding:4px}
.custom-art-state{display:flex;justify-content:space-between;gap:14px;align-items:baseline;border-top:1px solid #48463f;margin-top:21px;padding-top:17px}
.custom-layers{list-style:none;margin:12px 0 0;padding:4px;display:grid;gap:6px;max-height:220px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.custom-layers:empty{display:none}.custom-layers:empty+.custom-layer-help{display:none}
.custom-layers button{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:48px;padding:7px 10px;background:#101010;border:1px solid #5a5951;color:var(--paper);text-align:left;font-size:12px}
.custom-layers button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.custom-layers img{width:36px;height:36px;object-fit:contain}.custom-layers span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-layers small{font-size:10px;color:#bdb7a9}
.custom-layer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.custom-layer-actions button{min-height:42px;padding:8px;background:#252522;color:var(--paper);border:1px solid #5c5a51;font-size:12px}
#custom-art-name{font-size:12px;overflow-wrap:anywhere}
#custom-remove{border:0;background:none;color:#b8b3a7;text-decoration:underline;font:11px Arial,sans-serif;padding:4px 0;flex-shrink:0}
.custom-range-label{display:flex;justify-content:space-between;font-size:12px;margin-top:16px}.custom-range-label output{color:#c4bfb4}
.custom-tools input[type=range]{width:100%;accent-color:var(--accent);height:22px;margin:7px 0 0}
.custom-position{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-top:15px}.custom-position>div{display:flex;gap:4px}.custom-position button{background:#252522;color:var(--paper);border:1px solid #5c5a51;min-width:30px;min-height:34px;padding:5px 7px;font-size:13px}
.custom-quality{font-size:11px;line-height:1.6;color:#d1b783;margin:14px 0 0}.custom-quality:empty,.custom-error:empty{display:none}
.custom-next{display:flex;justify-content:space-between;padding:15px 0 0;margin-top:18px;color:#f8a396;text-decoration:none;font-size:13px;font-weight:700;border-top:1px solid #48463f}
.custom-quote-form{margin-top:32px;border-top:1px solid #54534c;padding:32px 0 0}
.custom-quote-form fieldset{padding:0;border:0;margin:0;min-width:0}
.custom-quote-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:27px}
.custom-page .custom-quote-heading h2{font-family:JANBrush,Impact,sans-serif;font-weight:400;font-size:clamp(31px,3.3vw,49px);line-height:1.2;color:var(--accent);margin:12px 0 0}
.custom-quote-heading>p{font-size:13px;line-height:1.7;color:#b7b3a8;margin:0}
.custom-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px}
.custom-page .custom-form-grid h3{font:700 15px/1.5 Arial,sans-serif;margin:0 0 14px}
.custom-size-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:470px;margin-top:18px}
.custom-size-grid label{font-size:11px;text-align:center;color:#c5c1b7}
.custom-size-grid input{display:block;margin-top:7px;width:100%;min-height:45px;background:#222220;color:var(--paper);border:1px solid #666257;text-align:center;font-size:15px;border-radius:2px}
.custom-summary{font-size:12px;line-height:1.7;color:#e0dace;margin:15px 0 25px}
.custom-field{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:16px}.custom-field>span{display:contents;color:#aaa69d;font-weight:400}
.custom-field input,.custom-field textarea{font-size:14px;border:1px solid #666257;background:#222220;color:var(--paper);padding:11px 12px;max-width:100%;width:100%;border-radius:2px;min-height:44px}
.custom-field textarea{resize:vertical}.custom-field textarea::placeholder{color:#9b968a}
.custom-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.custom-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;max-width:650px;margin-top:18px}
.custom-consent input{width:18px;height:18px;min-width:18px;accent-color:var(--accent);margin:1px 0 0}
.custom-submit{display:flex;align-items:center;justify-content:space-between;gap:55px;padding:17px 24px;background:var(--accent);color:#111110;border:1px solid var(--accent);font-size:15px;min-width:280px;margin-top:22px}
.custom-submit:hover{background:#ff7568}.custom-error{color:#ffb1a6;font:13px/1.6 Arial,sans-serif;margin-top:16px}
.custom-result{border:1px solid #859a69;background:#1f2a1b;padding:24px;color:#e6ebdd;margin-top:24px;font:14px/1.7 Arial,sans-serif}.custom-result strong{display:block;font-size:19px;margin-bottom:10px}.custom-result p{margin:5px 0}.custom-result a{color:inherit}
.custom-retry{background:transparent;border:1px solid #a59d8a;color:var(--paper);padding:12px 18px;margin-top:16px;font-size:13px}
.custom-studio.is-locked button,.custom-studio.is-locked input,.custom-studio.is-locked label,.custom-studio.is-locked canvas{pointer-events:none}.custom-studio.is-locked{opacity:.7}
@media(min-width:1100px){.custom-preview-column{padding:27px 34px}.custom-tools{padding:27px 30px}.custom-stage{max-height:650px}#custom-canvas{max-height:650px;object-fit:contain}}
@media(max-width:800px){#panel-custom{padding-top:30px}.custom-intro{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:25px}.custom-intro>p{font-size:14px;max-width:100%}.custom-page .custom-intro h1{font-size:clamp(52px,10vw,80px)}.custom-studio{grid-template-columns:minmax(0,1fr)}.custom-preview-column{border-right:0;border-bottom:1px solid #54534c;padding:18px}.custom-tools{padding:22px 18px}.custom-stage{max-width:540px;margin:auto}.custom-garments{max-width:540px;margin:0 auto 14px}.custom-art-gallery img{height:130px}.custom-position button{min-width:37px;min-height:40px}.custom-quote-heading{align-items:flex-start;flex-direction:column;gap:15px}.custom-form-grid{grid-template-columns:minmax(0,1fr);gap:25px}.custom-size-grid{max-width:100%}.custom-submit{width:100%}.custom-stage-bottom{font-size:7px}.custom-preview-heading,.custom-tool-heading{gap:8px}.custom-step{font-size:10px}.custom-page .custom-form-grid h3{font-size:14px}.custom-quote-form{margin-top:28px;padding-top:28px}}
@media(prefers-reduced-motion:reduce){.custom-page *{scroll-behavior:auto}}
@media(min-width:1100px){.custom-stage{max-height:none}#custom-canvas{max-height:none}}

.custom-print-limit{font:700 12px/1.6 Arial,sans-serif;color:#f8a396;margin:18px 0 0}#custom-print-size{margin:5px 0 0}
