/* Tryckfritt: typografi, rena tryckytor och en enda signalfärg. */
:root{--ink:#202020;--muted:#606060;--paper:#ffffff;--line:#d0d0d0;--accent:#293fca;--white:#ffffff;--dark:#292720;--green:#293fca;--surface:#f0f0f0;--accent-hover:#1d2f9f}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,label.upload-zone{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;background:#e5e5e5!important;color:#606060!important;opacity:1}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible,.upload-zone:has(+input:focus-visible){outline:3px solid var(--accent);outline-offset:5px}[hidden]{display:none!important}
.site-header,main,footer{width:calc(100% - 112px);max-width:1400px;margin:auto}.site-header{height:110px;display:flex;align-items:center;border-bottom:1px solid var(--ink);gap:42px}.wordmark{font-size:42px;font-weight:900;letter-spacing:-2.8px;display:inline-flex;align-items:center;gap:9px}.brand-mark{width:34px;height:34px;flex-shrink:0;font-size:38px;line-height:1;color:var(--accent);font-weight:400;letter-spacing:0}.header-note{font-size:12px;line-height:1.35}.help-link{margin-left:auto;font-size:13px;min-height:44px;display:flex;align-items:center;gap:28px}.help-link span{font-size:22px}.help-link:hover,.text-link:hover{color:var(--accent)}
.intro{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:end;padding:52px 0 54px}.eyebrow{font-size:11px;line-height:1.5;letter-spacing:1.2px;font-weight:600}.intro h1{font-size:clamp(82px,9.4vw,140px);font-weight:700;letter-spacing:-.075em;line-height:.91;margin:26px 0 0 -7px}.intro h1 span{color:var(--accent)}.intro-aside{padding-bottom:5px}.edition-mark{font-family:monospace;font-size:12px;display:block;margin-bottom:26px;letter-spacing:1px}.intro-copy{font-size:24px;line-height:1.2;letter-spacing:-.7px}.intro-detail{font-size:14px;color:var(--muted);line-height:1.6;margin-top:16px;max-width:290px}.text-link{display:inline-flex;gap:34px;align-items:center;min-height:44px;margin-top:14px;font-size:13px;text-decoration:underline;text-underline-offset:6px}.text-link span{font-size:20px}.studio-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:30px;gap:20px}.studio-heading h2{font-size:18px;font-weight:500;letter-spacing:-.4px}.studio-heading>span{font:11px monospace;letter-spacing:.4px}
.studio-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:64px;align-items:start}.preview-panel{position:sticky;top:24px;min-width:0}.preview-top{display:flex;align-items:center;justify-content:space-between;font:11px monospace;padding:0 0 15px}.pill{letter-spacing:.9px}.image-stage{position:relative;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:var(--surface);overflow:hidden}.image-stage>img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.image-stage:before,.image-stage:after{content:'+';position:absolute;z-index:1;font:22px monospace;color:#575144;pointer-events:none}.image-stage:before{top:12px;left:13px}.image-stage:after{right:13px;bottom:12px}#empty-preview{font-size:14px;color:var(--muted);padding:20px}#busy-preview{position:absolute;z-index:2;inset:0;background:#ffffffed;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;font-size:14px}.spinner{width:30px;height:30px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-caption{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;font-size:12px;color:var(--muted);padding:14px 0;border-bottom:1px solid var(--line);min-height:68px}.preview-caption>span{flex:1;min-width:130px;line-height:1.5}.preview-caption a{min-height:40px;display:flex;align-items:center;gap:8px;text-decoration:underline;text-underline-offset:4px}#undo{min-height:40px;padding:10px 12px;background:transparent;color:var(--ink);border:1px solid var(--line);font-size:12px}.garment-controls{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:22px 0;border-bottom:1px solid var(--ink)}.garment-controls label,.color-control>span{display:block;font-size:11px;letter-spacing:.7px;text-transform:uppercase}.garment-controls select{display:block;width:100%;min-height:44px;margin-top:10px;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:transparent;font-size:16px;color:var(--ink);padding:8px 24px 8px 0}.color-control strong{font-size:12px;font-weight:400;text-transform:none;letter-spacing:0;margin-left:5px}.swatches{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.swatch{width:40px;height:40px;border:6px solid var(--paper);outline:1px solid var(--line);border-radius:50%;padding:0;position:relative}.swatch[aria-pressed=true]{outline:1px solid var(--ink)}.swatch[aria-pressed=true]:after{content:'';position:absolute;inset:-9px;border:1px solid var(--ink);border-radius:50%}
.design-panel{min-width:0;padding-top:0}.workbench-label{display:flex;justify-content:space-between;align-items:center;font:11px monospace;letter-spacing:.5px;margin-bottom:26px;min-height:13px}.workbench-label span:last-child{font:20px Arial;color:var(--accent)}.step{display:grid;grid-template-columns:25px minmax(0,1fr);gap:15px;margin-bottom:30px}.step-number{font:12px monospace;padding-top:7px;color:var(--muted)}.step-body{min-width:0}h2,.heading-label{display:block;font-size:26px;letter-spacing:-1px;font-weight:500;line-height:1.15}.step-body>p:not(.micro):not(#status){font-size:13px;color:var(--muted);margin:10px 0 18px;line-height:1.55}.upload-zone{position:relative;min-height:146px;border:1px solid var(--ink);background:transparent;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:24px 64px 24px 22px;gap:10px;cursor:pointer;transition:background .15s,border-color .15s}.upload-zone:hover,.upload-zone.dragging{background:#e2e3ed;border-color:var(--accent)}.upload-symbol{position:absolute;top:16px;right:16px;font-size:34px;font-weight:300;color:var(--accent)}.upload-zone strong{font-size:20px;letter-spacing:-.5px;font-weight:500;overflow-wrap:anywhere}.upload-zone>span:last-of-type{font-size:12px;line-height:1.5;color:var(--muted);max-width:240px}.upload-zone img{height:56px;max-width:100px;object-fit:contain}.upload-zone:has(img:not([hidden])){padding-left:134px}.upload-zone:has(img:not([hidden])) img{position:absolute;left:20px;top:50%;transform:translateY(-50%)}.micro{font-size:12px;line-height:1.6;color:var(--muted);margin-top:10px}textarea{width:100%;resize:vertical;min-height:118px;max-height:260px;border:1px solid var(--line);border-radius:0;background:var(--white);padding:17px;font-size:16px;line-height:1.5;color:var(--ink)}textarea:focus{border-color:var(--ink)}textarea::placeholder{color:#686868}.suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.suggestions button{min-height:40px;background:transparent;border:1px solid var(--line);border-radius:0;font-size:12px;line-height:1.3;color:var(--ink);padding:10px 12px}.suggestions button:hover:not(:disabled){border-color:var(--ink)}.suggestions button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.primary{width:100%;min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;margin-top:22px;background:var(--accent);color:white;font-size:16px;border-radius:0}.primary span:last-child{font-size:24px}.primary:hover:not(:disabled){background:var(--accent-hover)}#status:empty,#clarification-choices:empty,#editing-status:empty{display:none}#status,#draft-status{font-size:13px;line-height:1.6;margin-top:13px;color:var(--ink)}#status.error,#draft-status.error{color:#a22d20}#preview-feedback{margin:0 0 15px;padding:15px;border-left:3px solid #a22d20;background:#fff0e9;color:#862919;font-size:13px;line-height:1.6}.image-editing{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.editing-toggle{display:flex;align-items:center;gap:10px;min-height:40px;font-size:13px;cursor:pointer}.editing-toggle input{appearance:none;width:32px;height:19px;border-radius:20px;border:1px solid #7e7565;background:#e5e5e5;margin:0;position:relative;flex-shrink:0}.editing-toggle input:after{content:'';position:absolute;background:#606060;width:11px;height:11px;border-radius:50%;left:3px;top:3px;transition:transform .15s}.editing-toggle input:checked{background:var(--accent);border-color:var(--accent)}.editing-toggle input:checked:after{background:white;transform:translateX(13px)}.editing-toggle input:disabled{opacity:.55}.image-editing .suggestions{margin-bottom:0}#artwork-thumb{background:repeating-conic-gradient(#e5e5e5 0% 25%,#fff 0% 50%) 50% / 16px 16px}.next-step{display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid var(--ink);padding-top:23px;margin-left:40px}.next-step strong{font-size:14px;font-weight:500}.next-step p{font-size:12px;color:var(--muted);line-height:1.5;margin-top:6px}.order-button{min-height:48px;padding:14px 18px;background:var(--ink);color:white;white-space:nowrap;font-size:14px}.order-button span{margin-left:20px}.development-note{margin:16px 0 0 40px;font-size:12px;line-height:1.6;color:var(--muted)}
.how{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;border-top:1px solid var(--ink);margin:90px 0 70px;padding-top:42px}.how-intro h2{font-size:46px;letter-spacing:-2px;line-height:1.05;margin-top:25px}.how-steps article{display:grid;grid-template-columns:25px 1fr;gap:15px;padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.how-steps article:last-child{margin-bottom:0}.how-steps article>span{font:12px monospace;color:var(--accent);padding-top:4px}.how h3{font-size:20px;font-weight:500;letter-spacing:-.6px;margin-bottom:10px}.how p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.6;max-width:380px}footer{border-top:1px solid var(--ink);padding-top:25px;padding-bottom:30px;overflow:hidden}.footer-top,.footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:11px;line-height:1.5}.footer-top>span{letter-spacing:1px}.footer-top a{min-height:40px}.footer-wordmark{display:flex;align-items:center;justify-content:space-between;font-size:clamp(70px,14vw,216px);font-weight:900;letter-spacing:-.075em;line-height:1.25;margin:10px 0 20px}.footer-wordmark .brand-mark{width:.7em;height:.7em;font-size:.83em;color:var(--accent);line-height:1;letter-spacing:0}.footer-bottom{color:var(--muted);border-top:1px solid var(--line);padding-top:18px}
dialog{border:1px solid var(--ink);border-radius:0;padding:30px;width:min(540px,calc(100% - 32px));max-height:90vh;overflow:auto;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#29272099;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between}.close-button{width:44px;height:44px;background:transparent;font-size:30px;color:var(--ink)}dialog h2{font-size:38px;line-height:1.05;letter-spacing:-1.7px;margin:15px 0}#order-product{font-size:14px;color:var(--muted)}#order-preview{width:100%;height:200px;object-fit:contain;background:var(--surface);margin:18px 0}.sizes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.sizes label{font-size:13px}.sizes input{display:block;width:100%;min-height:44px;padding:10px;margin-top:7px;background:white;border:1px solid var(--line);border-radius:0;font-size:16px;color:var(--ink)}.quantity-total{display:flex;align-items:center;justify-content:space-between;padding-top:20px;margin-top:24px;border-top:1px solid var(--ink);font-size:15px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.intro{padding-top:64px;padding-bottom:70px}.studio-layout{gap:80px}}
@media(max-width:1100px){.site-header,main,footer{width:calc(100% - 64px)}.studio-layout,.how{gap:35px}.intro{grid-template-columns:1fr 260px}.intro h1{font-size:100px}.intro-copy{font-size:22px}.step{grid-template-columns:20px minmax(0,1fr);gap:10px}.next-step,.development-note{margin-left:30px}.suggestions button{padding:10px;font-size:11px}.how-intro h2{font-size:39px}.upload-zone:has(img:not([hidden])){padding-left:100px}.upload-zone img{max-width:65px}}
@media(max-width:800px){.site-header,main,footer{width:calc(100% - 40px)}.site-header{height:82px;gap:20px}.wordmark{font-size:32px;letter-spacing:-2px}.brand-mark{width:28px;height:28px;font-size:29px}.header-note{display:none}.help-link{font-size:12px;gap:14px}.intro{padding:35px 0;grid-template-columns:1fr 220px;gap:25px}.intro h1{font-size:88px;margin-left:-4px}.intro-copy{font-size:20px}.edition-mark{margin-bottom:18px}.intro-detail{font-size:13px}.studio-layout{grid-template-columns:1fr;gap:35px}.preview-panel{position:static}.image-stage{aspect-ratio:4/3;max-height:480px}.preview-top{padding-bottom:12px}.garment-controls{padding:18px 0}.design-panel{max-width:640px;width:100%;margin:0 auto}.workbench-label{margin-bottom:22px}.step{grid-template-columns:25px minmax(0,1fr);gap:15px}.next-step,.development-note{margin-left:40px}.suggestions button{font-size:12px}.how{gap:30px;margin:55px 0}.how-intro h2{font-size:34px}.studio-heading{margin-bottom:22px}.footer-wordmark{font-size:15vw}}
@media(max-width:540px){.intro{display:block;padding:30px 0}.intro h1{font-size:88px;margin-top:23px}.intro .eyebrow{font-size:10px}.intro-aside{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin-top:26px;padding:0}.edition-mark{display:none}.intro-copy{font-size:18px;line-height:1.3;margin:0}.intro-detail{font-size:12px;margin:0;line-height:1.55}.text-link{grid-column:1/-1;margin:0;min-height:36px;gap:25px;font-size:12px}.studio-heading{padding:15px 0;gap:8px}.studio-heading h2{font-size:15px;letter-spacing:-.3px}.studio-heading>span{font-size:9px;letter-spacing:0}.image-stage{aspect-ratio:1/1;max-height:390px}.preview-caption{font-size:11px;gap:10px}.preview-caption>span{min-width:130px}.garment-controls{gap:20px}.color-control strong{display:block;margin:7px 0 0}.garment-controls select{margin-top:15px}.swatches{margin-top:12px}.step{grid-template-columns:20px minmax(0,1fr);gap:10px;margin-bottom:27px}h2,.heading-label{font-size:25px}.workbench-label{font-size:10px}.upload-zone{min-height:135px;padding:20px 48px 20px 18px}.upload-zone strong{font-size:19px}.upload-symbol{right:12px}.upload-zone:has(img:not([hidden])){padding-left:97px}.upload-zone>span:last-of-type{font-size:11px}.micro{font-size:12px}.suggestions{gap:6px}.suggestions button{font-size:11px;padding:10px}.primary{min-height:56px;padding:17px 18px;font-size:15px}.next-step,.development-note{margin-left:30px}.next-step{gap:10px}.next-step strong{font-size:13px}.next-step p{font-size:12px}.order-button{padding:13px;font-size:13px}.order-button span{margin-left:10px}.how{grid-template-columns:1fr;gap:30px;margin:50px 0 40px;padding-top:28px}.how-intro h2{font-size:37px;margin-top:16px}.how h3{font-size:20px}.how-steps article{padding-bottom:22px;margin-bottom:22px}.footer-top{font-size:9px;gap:10px}.footer-wordmark{font-size:15vw;letter-spacing:-.08em;margin-top:15px;margin-bottom:24px}.footer-bottom{font-size:10px}.sizes{grid-template-columns:repeat(3,1fr)}dialog{padding:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinner{animation:none}*{transition:none!important}}

/* Pappersyta och tryckblå avslutning binder samman sidans färger. */
.upload-zone{background:var(--white)}
.studio-heading{border-top:2px solid var(--ink)}
.edition-mark{display:inline-block;border:1px solid var(--accent);color:var(--accent);padding:7px 10px;transform:rotate(-4deg)}
footer{width:100%;max-width:none;background:var(--accent);color:var(--white);border-top:0;padding:30px max(56px,calc((100vw - 1400px)/2)) 28px}
.footer-wordmark .brand-mark{color:var(--white)}
.footer-bottom{color:var(--white);border-color:#6878d9}
.footer-top a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){footer{width:100%;padding-left:32px;padding-right:32px}}
@media(max-width:800px){footer{width:100%;padding-left:20px;padding-right:20px}}
@media(max-width:540px){.edition-mark{display:none}}

/* En tydlig väg direkt till uppladdningen, även för mobilbesökare. */
.intro{padding-top:32px;padding-bottom:36px;grid-template-columns:1fr 360px}
.intro h1{font-size:clamp(76px,8vw,116px);margin-top:18px}
.start-cta,.header-start{display:inline-flex;align-items:center;justify-content:space-between;background:var(--accent);color:white;min-height:54px;padding:16px 20px;gap:24px;font-size:16px}
.start-cta{width:100%;margin-top:20px}.start-cta span{font-size:24px}
.start-cta:hover,.header-start:hover{background:var(--accent-hover)}
.header-start{min-height:44px;font-size:13px;padding:12px 16px}
.site-header{gap:28px}.start-note{font-size:12px;line-height:1.5;color:var(--muted);margin-top:10px}
#skapa{scroll-margin-top:25px}#skapa:focus{outline:none}#skapa:focus-visible{outline:2px solid var(--accent);outline-offset:8px}
@media(max-width:1100px){.intro{grid-template-columns:1fr 300px}.intro h1{font-size:88px}}
@media(max-width:800px){.site-header{gap:16px}.help-link{display:none}.header-start{margin-left:auto}.intro{grid-template-columns:1fr 260px}.intro h1{font-size:76px}}
@media(max-width:540px){.intro{display:block;padding:26px 0}.intro h1{font-size:70px;line-height:.95}.intro-aside{display:block;margin-top:22px}.intro-copy{font-size:19px}.intro-copy br{display:none}.intro-detail{font-size:13px;margin-top:10px;max-width:none}.start-cta{margin-top:16px;min-height:54px}.start-note{font-size:11px}.header-start{font-size:12px;gap:12px;padding:12px}.site-header{gap:12px}.wordmark{font-size:29px;gap:6px}.brand-mark{width:25px;height:25px}}

/* Kampanj och produktval: samma grafiska språk, med plaggen i centrum. */
.intro.campaign{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:65px;padding:38px 0 35px}
.campaign-copy{padding:15px 0}.campaign h1{font-size:clamp(70px,7.3vw,110px);line-height:.95;margin:30px 0 25px -5px;letter-spacing:-.075em}.campaign h1 span{white-space:nowrap}.campaign .intro-copy{font-size:22px;letter-spacing:-.5px}.campaign .intro-detail{font-size:15px;max-width:355px;margin-top:16px}.campaign .start-cta{max-width:355px;margin-top:25px;min-height:60px}.campaign-browse{font-size:12px;display:inline-block;padding:16px 0;min-height:44px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.campaign-visual{margin:0;min-width:0}.campaign-photo{position:relative;height:570px;background:#eeeeec;overflow:hidden}.campaign-photo>svg{display:block;width:100%;height:100%}.campaign-tag{position:absolute;bottom:35px;left:22px;padding:18px 21px;background:var(--accent);color:white;font-size:23px;line-height:1.05;font-weight:600;letter-spacing:-.8px;transform:rotate(-7deg)}.example-label{position:absolute;top:16px;left:16px;background:white;color:#202020;padding:8px 10px;font:9px monospace;letter-spacing:.9px}.campaign-visual figcaption{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.campaign-visual figcaption>span{font-size:11px;color:var(--muted)}#example-options{display:flex;gap:4px}#example-options button{font-size:11px;min-height:40px;padding:9px;background:white;color:var(--ink);border:1px solid var(--line)}#example-options button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.studio-promise{display:flex;justify-content:space-between;gap:25px;padding:22px 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);font-size:13px}.studio-promise b{font:11px monospace;color:var(--accent);margin-right:13px}.product-edit{padding:55px 0 48px;scroll-margin-top:20px}.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:25px}.section-top h2{font-size:34px;line-height:1.05;letter-spacing:-1.5px;margin-top:15px}.section-top>p{font-size:13px;line-height:1.6;color:var(--muted)}.product-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:white;color:var(--ink);text-align:left;padding:0 0 12px;min-width:0;border-bottom:2px solid var(--line);position:relative}.product-card>img{display:block;width:100%;height:260px;object-fit:cover;object-position:center 22%;background:#eee;transition:filter .2s}.product-card:hover>img{filter:brightness(1.05)}.product-card[aria-pressed=true]{border-color:var(--accent)}.product-card[aria-pressed=true]:after{content:'VALT PLAGG';position:absolute;top:10px;left:10px;background:var(--accent);color:white;padding:7px 9px;font:9px monospace;letter-spacing:.5px}.product-card-title{display:block;font-size:19px;letter-spacing:-.6px;margin:13px 0 8px}.product-card-action{display:block;font-size:12px;color:var(--muted)}.studio-faq{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;padding:36px 0 65px;border-top:1px solid var(--ink)}.studio-faq h2{font-size:38px;line-height:1.05;letter-spacing:-1.7px;margin:22px 0 15px}.studio-faq>div>p:not(.eyebrow){font-size:14px;line-height:1.6;color:var(--muted)}.faq-questions details{border-bottom:1px solid var(--line)}.faq-questions summary{cursor:pointer;font-size:15px;line-height:1.4;padding:20px 28px 20px 0;position:relative;list-style:none}.faq-questions summary::-webkit-details-marker{display:none}.faq-questions summary:after{content:'+';position:absolute;right:0;font-size:22px;top:16px;color:var(--accent)}.faq-questions details[open] summary:after{content:'−'}.faq-questions details p{font-size:13px;line-height:1.65;color:var(--muted);padding:0 20px 20px 0}.faq-questions summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(min-width:1600px){.campaign-photo{height:630px}}
@media(max-width:1100px){.intro.campaign{gap:35px}.campaign h1{font-size:80px}.campaign-photo{height:510px}.campaign-visual figcaption{align-items:flex-start;flex-direction:column;gap:8px}.product-card>img{height:220px}.product-card-title{font-size:17px}}
@media(max-width:800px){.intro.campaign{display:grid;grid-template-columns:1fr;gap:20px;padding:26px 0}.campaign h1{font-size:86px;line-height:.93;margin-top:20px}.campaign-copy{padding:0}.campaign .intro-detail{max-width:430px}.campaign .start-cta{max-width:430px}.campaign-photo{height:450px}.campaign-visual figcaption{flex-direction:row;align-items:center}.campaign-tag{bottom:25px;font-size:23px}.studio-promise{font-size:12px;gap:15px}.studio-promise b{display:block;margin:0 0 8px}.product-edit{padding:36px 0}.section-top h2{font-size:29px}.product-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.product-card>img{height:280px}.studio-faq{gap:30px}.studio-faq h2{font-size:31px}}
@media(max-width:540px){.campaign h1{font-size:67px;margin-bottom:20px}.campaign .eyebrow{font-size:10px;letter-spacing:.7px}.campaign .intro-copy{font-size:20px}.campaign .intro-detail{font-size:13px;margin-top:12px}.campaign .start-cta{margin-top:18px;min-height:56px}.campaign .start-note{font-size:11px}.campaign-browse{font-size:11px;padding-bottom:5px}.campaign-photo{height:410px}.campaign-tag{font-size:21px;padding:15px 18px;left:16px;bottom:25px}.example-label{font-size:8px;top:12px;left:12px}.campaign-visual figcaption{gap:8px;flex-wrap:wrap}.campaign-visual figcaption>span{font-size:11px}#example-options{width:100%}#example-options button{flex:1}.studio-promise{font-size:11px;gap:14px;line-height:1.5;padding:18px 0}.section-top{display:block}.section-top h2{font-size:29px;margin-top:12px}.section-top>p{font-size:12px;margin-top:16px}.section-top>p br{display:none}.product-rail{gap:20px 12px}.product-card>img{height:205px}.product-card-title{font-size:17px;margin-top:11px}.product-card-action{font-size:11px}.product-card[aria-pressed=true]:after{font-size:8px;padding:6px;top:8px;left:8px}.studio-faq{grid-template-columns:1fr;gap:20px;padding:28px 0 40px}.studio-faq h2{font-size:34px;margin-top:18px}.faq-questions summary{font-size:14px}}

.view-controls{padding:20px 0;border-top:1px solid #ddd}.view-controls select{font:inherit;padding:12px;max-width:100%;background:#fff;color:#171717;border:1px solid #777}.view-controls label{display:grid;gap:8px;margin:12px 0}.view-controls summary{cursor:pointer;padding:12px 0;font-weight:700}.view-controls input{width:100%;min-height:40px}.view-controls button{padding:14px 22px;background:#293fca;color:white;border:0;font:inherit;cursor:pointer}.swatches{flex-wrap:wrap}

.motif-list{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.motif-list button{border:1px solid #999;background:#fff;color:#171717;padding:8px;display:flex;align-items:center;gap:8px;font:inherit;max-width:100%}.motif-list button[aria-pressed=true]{border:2px solid #293fca}.motif-list img{width:38px;height:38px;object-fit:contain}.motif-list span{overflow-wrap:anywhere}.motif-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.motif-actions button{min-height:44px;padding:10px 14px;background:white;color:#293fca;border:1px solid #293fca;font:inherit}.order-views{display:flex;gap:12px;flex-wrap:wrap}.order-views figure{margin:0;width:120px}.order-views img{width:100%;height:150px;object-fit:contain}

.view-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.view-buttons button{padding:8px;background:#fff;color:#171717;border:1px solid #ccc;display:grid;gap:6px;justify-items:center;font-size:13px;min-height:80px}.view-buttons button[aria-pressed=true]{border:2px solid #293fca;color:#293fca;background:#f4f6ff}.view-buttons img{width:100%;height:62px;object-fit:contain}.view-buttons button[hidden]{display:none}.view-controls select[hidden]{display:none}.view-controls button[hidden]{display:none}.active-motif{font-weight:700;font-size:14px;overflow-wrap:anywhere;margin:18px 0 6px}.image-editing summary,.text-help summary{cursor:pointer;min-height:44px;display:list-item;padding:12px 0;font-weight:600}.text-help{margin:8px 0 16px}.image-editing[open]{padding-bottom:12px}.motif-list button:disabled,.view-buttons button:disabled{opacity:.6}
/* Designen får en egen arbetsyta: bilden ligger kvar medan verktygen byts. */
.editor-launch{display:flex;justify-content:space-between;gap:24px;padding:28px 0 50px}.editor-launch a{color:var(--accent);font-weight:600}
.editor-workspace{display:none}.editor-open{overflow:hidden}.editor-open .editor-workspace{display:flex;position:fixed;inset:0;z-index:1000;background:#fff;flex-direction:column;height:100dvh;padding:0;gap:0;isolation:isolate}
.editor-bar{height:60px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 24px;border-bottom:1px solid #ddd}.editor-bar strong{font-size:22px;letter-spacing:-1px}.editor-bar strong span{font-weight:400;color:#555;font-size:14px;letter-spacing:0}.editor-bar>button{min-height:42px}.editor-bar #close-editor{background:transparent;color:#171717;padding:10px;border:0}.editor-bar #order{font-size:13px;padding:10px 16px;min-height:42px}
.editor-body{display:grid;grid-template-columns:minmax(0,1fr) 330px;flex:1;min-height:0}.editor-workspace .preview-panel{position:relative;top:auto;min-height:0;display:flex;flex-direction:column;padding:16px 32px;background:#f5f5f5;overflow:hidden}.editor-workspace .preview-top{height:26px;flex:none;padding:0;gap:12px}.editor-workspace #active-motif{margin:0;font:12px Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-workspace .image-stage{flex:1;min-height:0;aspect-ratio:auto;background:transparent}.editor-workspace .image-stage:before,.editor-workspace .image-stage:after{display:none}#editor-canvas{position:relative;max-width:100%;max-height:100%;object-fit:contain;touch-action:none;cursor:grab;z-index:1;display:block}#editor-canvas:active{cursor:grabbing}.editor-workspace #busy-preview{z-index:3;background:#ffffff40;pointer-events:none}.editor-workspace #busy-preview>span:last-child{background:#fff;padding:8px}.editor-workspace #busy-preview .spinner{width:22px;height:22px}
.editor-size{display:flex;align-items:center;gap:14px;height:54px;flex:none;max-width:620px;width:100%;margin:auto}.editor-size label{font-size:13px}.editor-size input{flex:1;min-width:0;min-height:44px;accent-color:#293fca}.editor-size output{font:12px monospace;min-width:36px}.editor-size #undo{font-size:23px;padding:2px 12px;background:#fff}.editor-workspace .view-controls{border:0;padding:0;flex:none;align-self:center;width:min(100%,480px)}.editor-workspace .view-buttons button{min-height:54px;height:54px;display:flex;justify-content:center;gap:6px;padding:4px}.editor-workspace .view-buttons img{height:40px;width:32px}.editor-workspace .preview-caption{padding:4px 0;min-height:28px;border:0;font-size:11px;flex:none}.editor-workspace .preview-caption a{min-height:24px}.editor-workspace #preview-feedback{flex:none;font-size:12px;max-height:68px;overflow:auto;margin:4px 0;padding:6px 10px}
.editor-tools{display:flex;flex-direction:column;min-height:0;border-left:1px solid #ddd;overflow:hidden}.editor-tabs{display:flex;flex:none;border-bottom:1px solid #ddd}.editor-tabs button{flex:1;min-height:48px;background:#fff;color:#444;border:0;border-bottom:3px solid transparent;font-size:12px;padding:8px 4px}.editor-tabs button[aria-pressed=true]{border-bottom-color:#293fca;color:#293fca;font-weight:700}.tool-panel{overflow-y:auto;min-height:0;padding:18px;overscroll-behavior:contain}.tool-panel[hidden]{display:none}.editor-tools .heading-label{font-size:20px}.editor-tools .garment-controls{display:block;padding:0;border:0}.editor-tools .color-control{margin-top:20px}.editor-tools .upload-zone{min-height:110px;padding:16px 40px 16px 16px}.editor-tools .upload-zone strong{font-size:16px}.editor-tools .upload-zone:has(img:not([hidden])){min-height:65px;padding-left:76px}.editor-tools .upload-zone img{max-width:44px;height:40px;left:14px}.editor-tools .upload-zone:has(img:not([hidden])) #upload-hint{display:none}.editor-tools .motif-list{margin:0 0 12px}.editor-tools .motif-list button{width:100%;text-align:left;font-size:12px}.editor-tools #motif-note{display:none}.editor-tools .motif-actions button{font-size:12px;padding:8px}.editor-tools .primary{min-height:44px;padding:10px 14px;margin-top:10px}.editor-tools textarea{min-height:88px;max-height:160px}.editor-workspace .tool-panel .micro{font-size:11px}
@media(max-width:760px){.editor-bar{height:52px;padding:5px 8px;gap:5px}.editor-bar strong{font-size:18px}.editor-bar strong span{display:none}.editor-bar #order{font-size:11px;padding:8px}.editor-bar #close-editor{font-size:12px;padding:5px}.editor-body{display:flex;flex-direction:column}.editor-workspace .preview-panel{flex:1;padding:8px 12px 4px;min-height:0}.editor-tools{height:205px;flex:none;border-left:0;border-top:1px solid #ddd}.editor-tabs button{min-height:40px;height:40px}.tool-panel{padding:10px 12px;flex:1}.editor-workspace .preview-caption{display:none}.editor-workspace .view-buttons{gap:5px}.editor-workspace .view-buttons button{height:44px;min-height:44px;font-size:11px}.editor-workspace .view-buttons img{height:32px;width:24px}.editor-size{height:46px;gap:10px}.editor-tools .motif-list{flex-wrap:nowrap;overflow-x:auto;margin:0 0 8px}.editor-tools .motif-list button{width:auto;flex:none;max-width:220px;min-height:44px;padding:4px}.editor-tools .motif-list img{width:28px;height:28px}.editor-tools .motif-actions{margin:6px 0}.editor-tools .motif-actions button{min-height:36px}.editor-tools .upload-zone{min-height:70px}.editor-tools .tool-panel[data-panel=motifs]>p{display:none}.editor-tools .upload-zone:has(img:not([hidden])){min-height:44px;padding:8px 40px 8px 54px}.editor-tools .upload-zone img{height:30px;max-width:30px;left:10px}.editor-tools .upload-zone strong{font-size:13px}.editor-tools .upload-symbol{font-size:22px;top:8px}.editor-workspace .preview-top{height:20px}.editor-tools .image-editing{margin-top:8px;padding-top:4px}}
@media(max-height:660px) and (max-width:760px){.editor-tools{height:170px}.editor-workspace .preview-top{display:none}.editor-workspace .view-buttons button{height:40px;min-height:40px}.editor-workspace .view-buttons img{height:28px}.editor-size{height:42px}}
.editor-open .editor-workspace{align-items:stretch}.editor-workspace #manual-placement{display:none!important}
#move-motif-view{position:absolute;z-index:4;bottom:14px;left:50%;transform:translateX(-50%);background:#293fca;color:#fff;padding:12px 16px;white-space:nowrap;font:13px Arial}
@media(max-height:500px) and (min-width:600px){.editor-body{display:grid;grid-template-columns:minmax(0,1fr) 280px}.editor-tools{height:auto;border-top:0;border-left:1px solid #ddd}.editor-workspace .preview-panel{padding:4px 12px}.editor-workspace .preview-top{display:none}.editor-workspace .preview-caption{display:none}.editor-workspace .view-buttons button{height:40px;min-height:40px}.editor-size{height:42px}}
/* Justeringarna hör visuellt till det valda motivet. */
.motif-controls-parking,[id=motif-controls-parking]{display:none!important}.motif-card{width:100%;flex:none;border:1px solid #ddd;background:#fff}.editor-tools .motif-card>button{border:0;margin:0;width:100%;background:transparent}.motif-card[data-active=true]{border:2px solid #293fca}.editor-tools .motif-card>button[aria-pressed=true]{border:0}.motif-adjustments{padding:0 8px 8px}.motif-adjustments .editor-size{height:44px;gap:8px;max-width:none;width:100%}.motif-adjustments .editor-size label{font-size:12px}.motif-adjustments .editor-size #undo{font-size:18px;min-height:32px;padding:0 8px}.motif-adjustments #remove-motif{background:transparent;color:#555;padding:5px 0;border:0;font-size:11px;min-height:28px;text-decoration:underline}.editor-tools .motif-list{display:flex;flex-direction:column}.editor-tools .motif-actions{margin:6px 0}.editor-tools .motif-actions #add-motif{min-height:34px;padding:7px 12px}.editor-tools .upload-zone:has(img:not([hidden])){display:none}
@media(max-width:760px){.editor-tools{height:240px}.editor-tools .motif-list{flex-direction:row;align-items:flex-start;gap:8px;margin-bottom:4px}.motif-card{width:100%;max-width:100%}.editor-tools .motif-card>button{max-width:100%;min-height:36px}.motif-adjustments{padding:0 8px 4px}.motif-adjustments .editor-size{height:42px}.editor-tools .tool-panel{padding:8px 12px}}
@media(max-height:660px) and (max-width:760px){.editor-tools{height:210px}}
@media(max-height:500px) and (min-width:600px){.editor-tools{height:auto}.editor-tools .motif-list{flex-direction:column}}
.motif-adjustments .editor-size{display:block;height:auto;min-height:84px;margin:0}.size-heading{display:flex;align-items:center;gap:8px;height:32px}.size-heading label{flex:1}.size-heading output{font-size:12px}.size-track{display:flex;align-items:center;gap:10px;width:100%}.size-track button{flex:none;width:44px;height:44px;min-height:44px;padding:0;background:#f3f4fb;border:1px solid #8c94bd;color:#182b9d;font-size:24px;line-height:1;border-radius:6px}.size-track input[type=range]{appearance:none;-webkit-appearance:none;height:44px;min-height:44px;min-width:0;flex:1;background:transparent;touch-action:pan-y;margin:0;cursor:ew-resize}.size-track input[type=range]::-webkit-slider-runnable-track{height:7px;background:#d3d7ea;border-radius:4px}.size-track input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:#293fca;border:3px solid white;box-shadow:0 0 0 1px #293fca;margin-top:-10.5px}.size-track input[type=range]::-moz-range-track{height:7px;background:#d3d7ea;border-radius:4px}.size-track input[type=range]::-moz-range-thumb{width:23px;height:23px;border-radius:50%;background:#293fca;border:3px solid white}.size-track button:disabled{opacity:.45}
@media(max-width:760px){.editor-tools{height:275px}.motif-adjustments .editor-size{height:auto;min-height:80px}}
@media(max-height:660px) and (max-width:760px){.editor-tools{height:245px}}
@media(max-height:500px) and (min-width:600px){.editor-tools{height:auto}}
.motif-adjustments .size-track button{width:44px;min-width:44px;max-width:44px;height:44px;padding:0;justify-content:center;flex:none}
.size-heading #undo{width:34px;min-width:34px;max-width:34px;flex:none}

.motif-effects{border-top:1px solid #ddd;margin-top:12px;padding-top:10px}.motif-effects>summary{cursor:pointer;font-size:13px;font-weight:650;padding:8px 0}.motif-effects-content{padding-top:12px}.motif-effects textarea{width:100%;box-sizing:border-box}.motif-effects .primary{width:100%}

.editor-tools .motif-card .write-description{width:100%;max-width:none;min-height:40px;justify-content:center;margin:4px 0 8px;border:1px solid #293fca;background:#f3f4fb;color:#182b9d;font-weight:600}.editor-tools .motif-effects #generate{width:100%;max-width:none;background:#293fca;color:#fff;border:0;justify-content:space-between}.editor-tools .motif-effects textarea{display:block;min-height:80px;height:80px}.motif-effects .heading-label{margin-bottom:8px}

#show-print-area{align-self:center;flex:none;min-height:32px;margin:4px 0;padding:5px 12px;border:1px solid #bbb;background:#fff;color:#222;font-size:12px}#show-print-area[aria-pressed=true]{border-color:#293fca;color:#293fca}#print-area-label{flex:none;text-align:center;font-size:11px;margin:0 0 4px}

#print-area-label{font-size:12px;line-height:1.4;font-weight:500;color:#222;max-width:480px;align-self:center}#show-print-area{font-weight:600}

/* Beställningsflöde med designen kvar bredvid uppgifterna. */
.checkout{width:100%;max-width:none;height:100dvh;max-height:none;padding:0;margin:0;border:0;background:#fff;overflow:auto}.checkout-bar{display:flex;justify-content:space-between;align-items:center;padding:18px 32px;border-bottom:1px solid #ddd;gap:20px}.checkout-bar button{background:none;color:#222;min-height:40px;padding:8px 0}.checkout-brand{font-size:28px;font-weight:800;letter-spacing:-1.5px}.checkout-bar-note{font-size:12px}.checkout-layout{display:grid;grid-template-columns:minmax(0,660px) minmax(280px,410px);justify-content:center;gap:80px;padding:40px 40px 70px}.checkout-main{min-width:0}.checkout-progress{display:flex;list-style:none;gap:24px;padding:0;margin:0 0 50px;font-size:12px;color:#666}.checkout-progress li[aria-current=step]{color:#293fca;font-weight:700;border-bottom:2px solid #293fca;padding-bottom:8px}.checkout h2{font-size:clamp(38px,4.8vw,64px);letter-spacing:-2.5px;line-height:1.02;margin:20px 0 24px}.checkout-intro{font-size:15px;line-height:1.6;color:#555;margin:0 0 28px;max-width:520px}.checkout .sizes{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.checkout .sizes input{height:56px;font-size:20px}.checkout .quantity-total{margin-top:30px}.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}.checkout-fields label{font-size:13px;font-weight:600}.checkout-fields label span{font-weight:400;color:#666}.checkout-fields .wide{grid-column:1/-1}.checkout-fields input,.checkout-fields textarea{width:100%;display:block;border:1px solid #bbb;background:white;font:16px Arial;margin-top:8px;padding:13px;min-height:48px;border-radius:0}.checkout-fields input:focus,.checkout-fields textarea:focus{outline:2px solid #293fca;outline-offset:1px}.checkout-actions{display:flex;align-items:center;gap:24px;margin-top:30px}.checkout-actions .primary{margin:0;flex:1;font-size:15px}.checkout-actions>button:not(.primary){background:none;color:#222;padding:10px 0;min-height:44px}.checkout-summary{background:#f3f3f1;padding:28px;align-self:start;position:sticky;top:24px}.checkout-summary #order-product{font-size:19px;color:#171717;margin:16px 0}.checkout-summary #order-preview{height:330px;background:white;margin:0 0 12px}.checkout .order-views{gap:8px;flex-wrap:wrap}.checkout .order-views figure{width:64px;margin:0}.checkout .order-views img{height:74px;width:64px;background:white;object-fit:contain}.checkout .order-views figcaption{font-size:10px;margin-top:5px}.checkout-summary-bottom{border-top:1px solid #ccc;margin-top:24px;padding-top:20px;display:flex;flex-direction:column;gap:12px;font-size:13px}.checkout-review-block{border-top:1px solid #ddd;padding:20px 0}.checkout-review-block>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.checkout-review-block h3{font-size:16px;font-weight:600}.checkout-review-block button{background:none;color:#293fca;text-decoration:underline;padding:8px;min-height:40px}.checkout-review-block p{font-size:14px;line-height:1.7;white-space:pre-line;margin-top:8px}.checkout-terms{background:#f3f4fb;padding:20px;margin-top:15px;font-size:14px}.checkout-terms p{margin-top:10px;line-height:1.6;color:#444}.checkout-reference{padding:20px 0;font:20px monospace;border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin:24px 0}.checkout #draft-status{margin-top:15px}.checkout [hidden]{display:none!important}
@media(max-width:900px){.checkout-layout{gap:30px;padding:28px 24px 50px;grid-template-columns:minmax(0,1fr) 300px}.checkout-summary{padding:20px}.checkout-summary #order-preview{height:250px}.checkout-bar{padding:12px 24px}.checkout-progress{gap:16px}}
@media(max-width:680px){.checkout-bar{padding:10px 16px}.checkout-brand{font-size:24px}.checkout-bar-note{display:none}.checkout-layout{display:flex;flex-direction:column;padding:24px 20px 40px;gap:30px}.checkout-progress{margin-bottom:28px;justify-content:space-between;gap:10px}.checkout h2{font-size:44px}.checkout .sizes{gap:10px}.checkout-summary{position:static;order:2;width:100%;padding:20px}.checkout-summary #order-preview{height:260px}.checkout-fields{gap:18px 12px}.checkout-actions{gap:14px}.checkout-actions .primary{padding:16px 12px}.checkout-intro{font-size:14px}}

.checkout .order-views button{padding:0;background:transparent;display:block;border:1px solid #b9b9b9}.checkout-review-block p{overflow-wrap:anywhere}

/* Studion fyller skärmen; verktyg och plagg får varsin stabil arbetsyta. */
.editor-open .editor-workspace{width:100%;max-width:none;margin:0;border:0;border-radius:0;inset:0;height:100dvh;overscroll-behavior:none}
.editor-bar{height:64px;padding:10px 24px;background:#fff}.editor-bar strong{font-size:26px}.editor-bar #order{min-height:44px;padding:12px 24px}.editor-body{grid-template-columns:340px minmax(0,1fr)}
.editor-tools{grid-column:1;grid-row:1;border-left:0;border-right:1px solid #ddd;background:#fff}.editor-workspace .preview-panel{grid-column:2;grid-row:1;padding:18px 28px 12px;background:#f4f4f2}.editor-workspace .preview-top{font-size:12px;height:26px}.editor-workspace .image-stage{width:100%;margin:0;min-height:0}.editor-workspace .view-controls{width:auto;max-width:100%;margin:8px auto}.editor-workspace .view-buttons{display:flex;gap:8px}.editor-workspace .view-buttons button{width:90px;height:64px;min-height:44px;border:1px solid #d1d1cc;background:#fff;border-radius:4px}.editor-workspace .view-buttons button[aria-pressed=true]{border:2px solid #293fca;background:#f3f4fb}.editor-workspace .view-buttons img{height:44px;width:34px}.editor-workspace .preview-caption{height:24px;min-height:24px}.editor-tabs{background:#fff;align-items:stretch}.editor-tabs button{min-height:52px;font-size:13px}.tool-panel{padding:20px;scrollbar-width:thin;scroll-padding:16px}.editor-tools .upload-zone{min-height:150px;margin:12px 0}.editor-tools .motif-effects textarea{font-size:16px;line-height:1.5;min-height:96px;height:96px}.editor-tools .motif-effects #generate{min-height:48px}.editor-tools .swatches button{min-width:36px;min-height:36px}.editor-tools .garment-controls select{min-height:48px}#toggle-tools{display:none}#show-print-area{min-height:36px;margin:4px 0}#print-area-label{font-size:11px;line-height:1.3;margin:0 0 2px}
@media(min-width:1100px){.editor-workspace .preview-panel{padding-left:110px;padding-right:38px}.editor-workspace .view-controls{position:absolute;left:20px;top:50%;transform:translateY(-50%);margin:0}.editor-workspace .view-buttons{flex-direction:column}.editor-workspace .view-buttons button{width:68px;height:82px;flex-direction:column;gap:2px;font-size:11px}.editor-workspace .view-buttons img{height:50px;width:42px}}
@media(max-width:760px) and (min-height:501px){
 .editor-bar{height:56px;padding:6px 12px}.editor-bar strong{font-size:22px}.editor-bar strong span{display:none}.editor-bar #order{padding:10px 14px;font-size:12px}.editor-bar #close-editor{padding:8px 0;font-size:12px}.editor-body{display:flex;flex-direction:column;overflow:hidden}.editor-workspace .preview-panel{flex:1;min-height:0;padding:8px 12px 4px}.editor-workspace .preview-top{height:20px;font-size:11px}.editor-workspace #active-motif{max-width:72%;font-size:11px}.editor-workspace .view-controls{margin:4px auto 0;width:100%;max-width:400px}.editor-workspace .view-buttons{gap:6px}.editor-workspace .view-buttons button{flex:1;width:auto;min-width:0;height:44px;min-height:44px;padding:2px;font-size:11px}.editor-workspace .view-buttons img{height:34px;width:27px}.editor-workspace .preview-caption{display:none}#show-print-area{position:absolute;top:30px;right:10px;z-index:2;min-height:32px;padding:5px 8px;font-size:10px;background:#fffffff2}#print-area-label{max-width:100%;font-size:10px;line-height:1.2;margin:2px 0}.editor-tools{height:clamp(248px,36dvh,320px);flex:none;border:0;border-top:1px solid #d4d4d0;border-radius:16px 16px 0 0;box-shadow:0 -4px 18px #00000008;padding-bottom:env(safe-area-inset-bottom,0px)}.editor-tabs{flex:none}.editor-tabs button{min-height:48px;font-size:12px}.editor-tabs #toggle-tools{display:block;flex:0 0 100px;color:#293fca;font-size:11px;border-left:1px solid #eee}.tool-panel{padding:12px 16px;flex:1}.editor-tools .upload-zone{min-height:100px;margin:4px 0}.editor-tools .motif-list{margin:0}.editor-tools .motif-card{padding:8px}.editor-tools .motif-card>button{min-height:40px}.editor-tools .motif-adjustments .editor-size{min-height:78px}.editor-tools .motif-effects textarea{min-height:80px;height:80px}.editor-tools .motif-actions{margin-top:10px}.editor-tools .swatches button{min-width:40px;min-height:40px}.tools-collapsed .editor-tools{height:calc(49px + env(safe-area-inset-bottom,0px))}.tools-collapsed .tool-panel{display:none}
}
@media(max-height:500px){.editor-bar{height:48px;padding:2px 16px}.editor-body{display:grid;grid-template-columns:280px minmax(0,1fr)}.editor-tools{height:auto;border-radius:0}.editor-workspace .preview-panel{padding:4px 10px}.editor-workspace .preview-top,.editor-workspace .preview-caption,#print-area-label{display:none}.editor-workspace .view-controls{margin:2px auto}.editor-workspace .view-buttons button{height:44px;width:65px;font-size:10px}.editor-workspace .view-buttons img{height:30px;width:24px}#show-print-area{position:absolute;top:6px;right:8px;z-index:2;background:#fff;font-size:10px;min-height:30px}.tool-panel{padding:10px}#toggle-tools{display:none}}
.editor-workspace .image-stage{max-height:none}
