@media (width<=600px){.crop-stage{border-radius:11px;padding:22px}.photo-remove{top:-12px;right:-8px}.crop-actions{gap:6px}.crop-actions>button{flex:1 1 0;gap:6px;padding:9px 8px;font-size:12px}}.photo-frame{aspect-ratio:1;width:min(100%,520px,max(300px,100dvh - 500px));margin:0 auto;position:relative}.photo-frame>.dropzone{min-height:0;padding:24px;position:absolute;inset:0}.crop-stage{border:2px solid var(--ink);-webkit-user-select:none;user-select:none;background:#26262b;border-radius:14px;padding:26px;position:absolute;inset:0}.photo-frame.dropping>.crop-stage{outline:3px dashed var(--yellow);outline-offset:4px}.photo-remove{z-index:3;border:2px solid var(--ink);width:36px;height:36px;box-shadow:2px 2px 0 var(--ink);background:#fff;border-radius:50%;place-items:center;display:grid;position:absolute;top:-14px;right:-14px}.photo-remove:hover{background:var(--yellow-soft)}.photo-remove:before{content:"";position:absolute;inset:-6px}.crop-plane{isolation:isolate;width:100%;height:100%;position:relative}.crop-source{pointer-events:none;display:block;position:absolute}.crop-shade{pointer-events:none;position:absolute;overflow:hidden}.crop-window{position:absolute;box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 3px #0006,0 0 0 1000px #000000a6}.is-dragging .crop-window{background-image:linear-gradient(90deg,#0000 calc(33.33% - .5px),#fffa calc(33.33% - .5px) calc(33.33% + .5px),#0000 calc(33.33% + .5px) calc(66.67% - .5px),#fffa calc(66.67% - .5px) calc(66.67% + .5px),#0000 calc(66.67% + .5px)),linear-gradient(#0000 calc(33.33% - .5px),#fffa calc(33.33% - .5px) calc(33.33% + .5px),#0000 calc(33.33% + .5px) calc(66.67% - .5px),#fffa calc(66.67% - .5px) calc(66.67% + .5px),#0000 calc(66.67% + .5px))}.crop-frame{position:absolute}.crop-frame>button{touch-action:none;-webkit-touch-callout:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:absolute}.crop-stage .crop-frame>button:active{transform:none}.crop-move{cursor:move;width:100%;height:100%;inset:0}.crop-frame>.crop-move:focus-visible{outline-offset:-6px}.crop-frame>.crop-handle{z-index:1;width:44px;height:44px}.crop-handle:after{content:"";filter:drop-shadow(0 0 1.5px #000c);position:absolute}.crop-handle-tl,.crop-handle-bl{left:-22px}.crop-handle-tr,.crop-handle-br{right:-22px}.crop-handle-tl,.crop-handle-tr{top:-22px}.crop-handle-bl,.crop-handle-br{bottom:-22px}.crop-handle-tl,.crop-handle-br{cursor:nwse-resize}.crop-handle-tr,.crop-handle-bl{cursor:nesw-resize}.crop-handle-tl:after,.crop-handle-tr:after,.crop-handle-bl:after,.crop-handle-br:after{border:5px solid #fff;width:24px;height:24px}.crop-handle-tl:after{border-bottom:0;border-right:0;top:17px;left:17px}.crop-handle-tr:after{border-bottom:0;border-left:0;top:17px;right:17px}.crop-handle-bl:after{border-top:0;border-right:0;bottom:17px;left:17px}.crop-handle-br:after{border-top:0;border-left:0;bottom:17px;right:17px}.crop-handle-t,.crop-handle-b{cursor:ns-resize;left:calc(50% - 16px)}.crop-frame>.crop-handle-t,.crop-frame>.crop-handle-b{width:32px}.crop-handle-t{top:-22px}.crop-handle-b{bottom:-22px}.crop-handle-l,.crop-handle-r{cursor:ew-resize;top:calc(50% - 16px)}.crop-frame>.crop-handle-l,.crop-frame>.crop-handle-r{height:32px}.crop-handle-l{left:-22px}.crop-handle-r{right:-22px}.crop-handle-t:after,.crop-handle-b:after{background:#fff;width:24px;height:5px;left:4px}.crop-handle-t:after{top:17px}.crop-handle-b:after{bottom:17px}.crop-handle-l:after,.crop-handle-r:after{background:#fff;width:5px;height:24px;top:4px}.crop-handle-l:after{left:17px}.crop-handle-r:after{right:17px}.crop-actions{border:0;flex-wrap:wrap;justify-content:center;gap:8px;min-width:0;margin:18px 0 0;padding:0;display:flex}.crop-actions>button{white-space:nowrap;min-height:44px}.photo-error{text-align:center;margin-top:14px}.upload-spinner{width:40px;height:40px;margin-bottom:10px}@media (width<=600px){.crop-stage{border-radius:11px;padding:22px}.photo-remove{top:-12px;right:-8px}.crop-actions{gap:6px}.crop-actions>button{flex:1 1 0;gap:6px;padding:9px 8px;font-size:12px}}:root{color:#1d1d1f;font-synthesis:none;--ink:#1d1d1f;--muted:#55575e;--line:#d9dce2;--yellow:#ffc93c;--yellow-soft:#fff4cf;--green:#237f50;--green-soft:#e3f5ea;--red:#b92e26;--blue:#2264bf;--radius:12px;--shadow:4px 4px 0 var(--ink);background:#f9fafc;font-family:Rubik,Noto Sans SC,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0;font-size:15px;line-height:1.6}[hidden]{display:none!important}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a{touch-action:manipulation}button{background:0 0;border:0}:focus-visible{outline:3px solid var(--blue);outline-offset:4px}h1,h2,h3,p{margin:0}h1{letter-spacing:-.035em;text-wrap:balance;font-size:clamp(26px,3vw,32px);font-weight:900;line-height:1.3}h2{font-size:21px;font-weight:800;line-height:1.45}h3{font-size:17px;font-weight:800}p+p{margin-top:10px}a{color:inherit}fieldset{border:0;min-width:0;margin:0;padding:0}input:not([type=checkbox],[type=range],[type=file]),textarea,select{border:2px solid var(--line);background:#fff;border-radius:8px;width:100%;min-height:46px;padding:10px 12px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--ink);flex-shrink:0}input[type=range]{accent-color:var(--ink);min-width:80px}textarea{resize:vertical}label{font-weight:600}.small,small{font-size:13px}.muted{color:var(--muted);font-weight:400}.error{color:var(--red);overflow-wrap:anywhere}.positive{color:var(--green)}.primary,.secondary,.subtle,.ghost,.danger-button,.redeem-button{border:2px solid var(--ink);text-align:center;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:10px 20px;font-weight:800;line-height:1.4;display:inline-flex}.primary{background:var(--yellow);box-shadow:3px 3px 0 var(--ink)}.primary:not(:disabled):hover,.redeem-button:hover{box-shadow:var(--shadow);transform:translate(-1px,-1px)}.primary:not(:disabled):active,.redeem-button:active{box-shadow:none;transform:translate(2px,2px)}.secondary:not(:disabled):hover,.subtle:not(:disabled):hover{background:#eef0f4}.subtle{border-color:var(--line);min-height:44px;padding:8px 14px;font-size:13px}.ghost{border-color:#0000;padding-inline:0}.text-button,.link-button{min-height:44px;color:inherit;text-underline-offset:4px;padding:8px 4px;font-weight:700}.text-button:hover,.link-button:hover{text-decoration:underline}.link-button{color:var(--blue)}.danger-button{color:var(--red);border-color:var(--red);background:#fff0ee}.inline-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.panel{border:2px solid var(--ink);border-radius:var(--radius);background:#fff;padding:24px}.section-heading,.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.section-title{margin:30px 0 16px}.notice{background:#eef4ff;border:1px solid #b5c9ea;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:20px;padding:12px 16px;display:flex}.notice.success{background:var(--green-soft);color:#1d6842;border-color:#8cc6a6}.notice.error{background:#fff0ee;border-color:#ecb5af}.notice .text-button{min-height:32px;padding-block:2px}.notice-detail{color:var(--muted)}.notice .notice-close{margin-left:auto;padding-inline:8px;font-size:18px}.loading{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:45vh;display:flex}.spinner{border:3px solid var(--line);border-top-color:var(--ink);border-radius:50%;flex:none;width:20px;height:20px;animation:.9s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:20;border:2px solid var(--ink);background:#fff;padding:12px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:10px}.site-shell{background-image:radial-gradient(circle,#d9dce2 1.5px,#0000 1.7px);background-size:18px 18px;flex-direction:column;min-height:100vh;display:flex}.site-header{border-bottom:2px solid var(--ink);background:#fff;align-items:center;gap:24px;padding:18px 3.5%;display:flex}.brand{color:var(--ink);letter-spacing:-.04em;flex:none;align-items:center;gap:10px;font-size:19px;font-weight:900;text-decoration:none;display:flex}.brand-mark{grid-template-columns:repeat(2,12px);gap:3px;display:grid;transform:rotate(-8deg)}.brand-mark i{background:var(--yellow);border:1.5px solid var(--ink);border-radius:50%;width:12px;height:12px;position:relative}.brand-mark i:after{content:"";border:1px solid var(--ink);background:#fff;border-radius:50%;position:absolute;inset:3px}.brand-mark i:nth-child(2){background:#e9483b}.brand-mark i:nth-child(3){background:#2e7be6}.brand-mark i:nth-child(4){background:#2fa968}.main-nav{gap:4px;display:flex}.main-nav button{white-space:nowrap;border-radius:30px;min-height:44px;padding:8px 16px;font-size:13px;font-weight:700}.main-nav button.active{background:var(--ink);color:#fff}.main-nav button:not(.active):hover{background:#eef0f4}.header-actions{align-items:center;gap:14px;margin-left:auto;display:flex}.locale-toggle{gap:0;display:flex}.locale-toggle button{color:var(--muted);min-height:44px;padding:8px;font-size:12px;font-weight:700}.locale-toggle button[aria-pressed=true]{color:var(--ink);text-underline-offset:5px;text-decoration:underline}.balance-chip{border:2px solid var(--ink);background:var(--yellow-soft);min-height:40px;box-shadow:2px 2px 0 var(--ink);white-space:nowrap;border-radius:40px;align-items:center;gap:8px;padding:4px 5px 4px 13px;font-size:13px;font-weight:800;display:inline-flex}.balance-chip:hover{box-shadow:var(--shadow);transform:translate(-1px,-1px)}.balance-chip:active{box-shadow:none;transform:translate(2px,2px)}.balance-chip-add{border:2px solid var(--ink);background:var(--yellow);border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.redeem-button{min-height:40px;box-shadow:2px 2px 0 var(--ink);white-space:nowrap;padding:8px 14px;font-size:13px}.account-button{border:2px solid var(--ink);border-radius:50%;place-items:center;min-width:44px;height:44px;display:grid}.main{outline:none;flex:1;width:min(928px,100% - 48px);margin:0 auto;padding:30px 0 50px}.main.editor-main{width:min(1280px,100% - 48px)}.page{padding-top:12px}.page-header{margin-bottom:28px}.site-footer{width:calc(100% - 48px);max-width:928px;color:var(--muted);border-top:1px solid #c5c8cf;justify-content:space-between;gap:16px;margin:0 auto;padding:22px 0;font-size:12px;display:flex}.progress{max-width:660px;margin:0 auto 38px}.progress ol{margin:0;padding:0;list-style:none;display:flex}.progress-step{flex:1;align-items:center;gap:10px;display:flex;position:relative}.progress-step:not(:last-child):after{content:"";background:#c5c8cf;flex:1;height:3px;margin:0 14px}.progress-step.done:after{background:#2fa968}.progress-step:last-child{flex:none}.progress-dot{background:#fff;border:2px dashed #a6aab3;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:13px;font-weight:800;display:grid}.progress-label{white-space:nowrap;color:var(--muted);font-size:13px}.progress-step.done .progress-dot{border:2px solid var(--ink);color:#fff;background:#2fa968}.progress-step.current .progress-dot{background:var(--yellow);border:2px solid var(--ink);box-shadow:2px 2px 0 var(--ink)}.progress-step.current .progress-label{color:var(--ink);font-weight:800}.progress-link{min-height:44px;color:inherit;align-items:center;gap:10px;padding:0;display:flex}button.progress-link:hover .progress-label{color:var(--ink);text-underline-offset:4px;text-decoration:underline}.step-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.step-header>button{white-space:nowrap;flex:none}.step-header>div{min-width:0}.step-body{padding-bottom:12px}.step-bar{z-index:4;border:2px solid var(--ink);background:#fff;border-radius:12px;margin:28px -12px -12px;position:sticky;bottom:0;box-shadow:3px -3px #1d1d1f}.step-bar-inner{padding:16px 20px max(16px, env(safe-area-inset-bottom));align-items:center;gap:20px;display:flex}.step-bar-summary{color:var(--muted);flex:1;font-size:13px}.step-bar-back{font-size:13px}.step-bar-action{flex:none;align-items:center;gap:12px;display:flex}.step-bar .primary .spinner{border-width:2px;width:16px;height:16px}.segmented{border:2px solid var(--ink);background:#fff;border-radius:40px;gap:4px;width:fit-content;margin:0 auto 24px;padding:4px;display:flex}.segmented button{border-radius:30px;align-items:center;gap:8px;min-height:40px;padding:6px 18px;font-weight:700;display:inline-flex}.segmented svg{width:20px;height:20px}.segmented button[aria-pressed=true]{background:var(--ink);color:#fff}.segmented button:not([aria-pressed=true]):hover{background:#eef0f4}.dropzone{text-align:center;cursor:pointer;background:#fff;border:2px dashed #a6aab3;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:300px;padding:40px 24px;display:flex;position:relative}.dropzone:hover,.dropzone:focus-within{background:var(--yellow-soft);border-color:var(--ink)}.dropzone strong{font-size:19px;font-weight:800}.dropzone>span:last-of-type{color:var(--muted);font-size:13px;font-weight:400}.dropzone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upload-icon{border:2px solid var(--ink);background:var(--yellow);width:56px;height:56px;box-shadow:3px 3px 0 var(--ink);border-radius:50%;place-items:center;margin-bottom:10px;font-size:30px;display:grid}.style-grid{grid-template-columns:repeat(3,1fr);gap:24px;display:grid}.style-card{text-align:left;border:2px solid var(--ink);background:#fff;border-radius:14px;flex-direction:column;min-width:0;padding:10px 10px 18px;display:flex}.style-card.selected{background:var(--yellow-soft);outline:1px solid var(--ink);box-shadow:var(--shadow)}.style-image{aspect-ratio:1;border:1px solid var(--line);background:#f4f5f7;border-radius:8px;width:100%;display:block;position:relative;overflow:hidden}.style-image img{object-fit:cover;width:100%;height:100%;display:block}.style-placeholder{height:100%;color:var(--muted);background-image:radial-gradient(circle,#d9dce2 2px,#0000 2.2px);background-size:18px 18px;place-items:center;font-size:13px;display:grid}.style-check{border:2px solid var(--ink);color:#0000;background:#fff;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:10px;right:10px}.selected .style-check{color:var(--yellow);background:var(--ink)}.style-name{padding:14px 6px 4px;font-size:17px;font-weight:800}.style-tag{white-space:nowrap;background:#f1f2f5;border-radius:999px;align-self:flex-start;margin:0 6px;padding:2px 10px;font-size:13px;font-weight:700;line-height:1.6}.style-card.selected .style-tag{background:#fff}.style-detail{border:2px solid var(--ink);background:#fff;border-radius:14px;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start;gap:24px;margin-top:28px;padding:20px 22px;scroll-margin-bottom:120px;display:grid}.style-detail-text h2{font-size:20px}.style-detail-text>p{color:var(--muted);margin-top:4px}.style-facts{gap:10px;margin:16px 0 0;display:grid}.style-facts>div{grid-template-columns:3.5em minmax(0,1fr);gap:8px;display:grid}.style-facts dt{color:var(--muted)}.style-facts dd{margin:0;font-weight:700}.style-demos{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.style-demos li{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;display:grid}.style-demos img{aspect-ratio:1;object-fit:cover;border:1px solid var(--line);background:#f4f5f7;border-radius:8px;width:100%;display:block}.style-demos img:last-child{object-fit:contain;image-rendering:pixelated}.style-demo-arrow{color:var(--muted);font-weight:800}.style-brief{align-items:center;gap:12px;width:min(100%,520px);margin:0 auto 14px;display:flex}.style-brief-thumb{aspect-ratio:1;border:2px solid var(--ink);width:56px;color:var(--muted);background:#fff;border-radius:10px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.style-brief-thumb img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.style-brief-text{min-width:0}.style-brief-text p{color:var(--muted);margin:2px 0 0;font-size:13px}.style-brief-label{color:var(--ink);margin-inline-end:6px;font-weight:700}.recipe{justify-content:center;align-items:center;gap:20px;display:flex}.recipe figure{flex-direction:column;align-items:center;gap:10px;min-width:0;margin:0;display:flex}.recipe figcaption{text-align:center;font-size:14px;font-weight:700}.recipe-thumb{aspect-ratio:1;border:2px solid var(--ink);width:min(220px,36vw);color:var(--muted);background:#fff;border-radius:12px;place-items:center;display:grid;position:relative;overflow:hidden}.recipe-thumb img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.recipe-plus{color:var(--muted);margin-bottom:30px;font-size:28px;font-weight:900}.gate{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;min-height:1.6em;margin:22px 0 0;display:flex}.gate .link-button{min-height:32px;padding-block:2px}.empty-note{border-radius:var(--radius);background:#fff;border:2px dashed #a6aab3;padding:40px}.status-card{text-align:center;flex-direction:column;align-items:center;gap:18px;padding:40px 24px;display:flex}.status-card p{max-width:60ch}.status-card details{color:var(--muted);font-size:13px}.status-card summary{cursor:pointer}.status-spinner .spinner{width:42px;height:42px}.result-image{aspect-ratio:1;object-fit:contain;border:2px solid var(--ink);background:#f4f5f7;border-radius:10px;width:100%;max-width:360px;display:block}.result-placeholder{place-items:center;display:grid}.form-stack{flex-direction:column;gap:14px;display:flex}.form-stack label{flex-direction:column;gap:6px;font-size:14px;display:flex}.check-label,.form-stack .check-label{flex-direction:row;align-items:center;gap:10px;font-size:14px;font-weight:500;display:flex}.modal{border:2px solid var(--ink);width:min(520px,100% - 32px);max-height:calc(100dvh - 40px);box-shadow:7px 7px 0 var(--ink);background:#fff;border-radius:16px;padding:28px;overflow-y:auto}.modal::backdrop{background:#1d1d1f88}.modal .section-heading{align-items:flex-start;margin-bottom:20px}.modal .section-heading h2{flex:1}.modal .section-heading>button{min-width:44px;padding:0;font-size:26px}.modal .inline-actions{margin-top:20px}.modal .form-stack .inline-actions{margin-top:0}.modal input{font-size:16px}.modal .code-input{text-align:center;letter-spacing:.075em;border-color:var(--ink);background:#f9fafc;font-size:23px;font-weight:800}.redeem-result{text-align:center}.redeem-credits{font-size:32px;font-weight:900}.recovery-code{background:var(--yellow-soft);border:2px dashed var(--ink);overflow-wrap:anywhere;padding:14px;font-size:18px;font-weight:800}.recovery-panel small{color:var(--muted)}.account-id{overflow-wrap:anywhere;color:var(--muted);margin:12px 0;display:block}.account-panel{grid-template-columns:1fr auto;gap:28px;display:grid}.balance-grid{align-items:center;gap:24px;display:flex}.balance-grid>div{text-align:center;flex-direction:column;display:flex}.balance-grid strong{font-size:32px;font-weight:900}.balance-grid span{color:var(--muted);font-size:12px}.grant-list{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.grant-code{float:right;background:#eef0f4;border-radius:4px;padding:4px 8px;font-size:12px}.grant-card p{margin-top:10px}.ledger-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.ledger-row:first-child{padding-top:0}.ledger-row:last-child{border-bottom:0;padding-bottom:0}.ledger-row small{color:var(--muted);display:block}.ledger-row>span{font-size:19px;font-weight:800}.support{border:1px solid var(--line);margin-top:26px}.support p{white-space:pre-line;margin-top:8px}.empty-state{text-align:center;padding:40px 24px}.empty-state>p{max-width:58ch;margin:10px auto 20px}.empty-state .inline-actions{justify-content:center}.welcome-account>h2{margin-bottom:14px}.work-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.work-card{min-width:0;padding:10px}.work-image{aspect-ratio:1;background:#f4f5f7;border-radius:6px;width:100%;padding:0;display:block;overflow:hidden}.pattern-preview{object-fit:contain;width:100%;height:100%;image-rendering:pixelated;display:block}.work-info{padding:12px 6px 6px}.work-info h3{overflow-wrap:anywhere}.work-info p{margin-top:6px}.work-info .inline-actions{margin-top:14px}.job-list{flex-direction:column;gap:14px;display:flex}.job-card{align-items:center;gap:20px;padding:20px;display:flex}.job-details{flex:1;min-width:0}.job-details h3{margin:8px 0 4px}.job-actions{flex-direction:column;gap:6px;display:flex}.converter-grid{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:22px;display:grid}.live-preview{min-width:0;padding:20px}.preview-heading,.settings-heading{margin-bottom:18px}.preview-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.preview-tabs,.export-options{border:1px solid var(--line);background:#f4f5f7;border-radius:9px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.preview-tabs button{border-radius:6px;min-height:38px;padding:7px 12px;font-size:12px;font-weight:700}.preview-tabs button.active{background:var(--ink);color:#fff}.preview-frame{border:1px solid var(--line);border-radius:8px;overflow:hidden}.preview-placeholder{min-height:340px;color:var(--muted);background:#f4f5f7;place-content:center;justify-items:center;gap:16px;display:grid}.pattern-preview-viewport{overscroll-behavior:contain;background:#f4f5f7;max-height:550px;overflow:auto}.pattern-preview-viewport canvas{display:block}.preview-controls{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.preview-controls label{font-size:12px}.preview-zoom{align-items:center;gap:8px;display:flex}.preview-zoom input{width:100px}.source-comparison{background:#f4f5f7}.source-comparison img{object-fit:contain;width:100%;max-height:560px;display:block}.preview-pending{color:var(--muted);padding-top:12px;font-size:12px}.conversion-settings{padding:20px}.conversion-settings .form-stack{gap:16px}.conversion-settings .form-stack>p{margin-top:-12px;font-size:12px}.bead-usage{margin-top:24px}.usage-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.usage-totals{font-size:13px}.usage-filters{align-items:center;gap:14px;margin:18px 0;display:flex}.usage-filters input{max-width:260px}.usage-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px;margin-top:18px;display:grid}.usage-card{border:1px solid var(--line);background:#f9fafc;border-radius:8px;align-items:center;gap:10px;padding:10px;display:flex}.usage-swatch{border:1px solid #1d1d1f44;border-radius:50%;flex-shrink:0;width:26px;height:26px;position:relative}.usage-swatch:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:8px}.usage-color{flex:1;font-size:12px}.usage-color small{display:block}.usage-count{font-size:13px;font-weight:800}.usage-empty,.usage-footnote{color:var(--muted);margin-top:16px;font-size:12px}.editor-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.editor-heading>div:first-child{flex:360px}.eyebrow{color:var(--muted);font-size:12px}.title-input{max-width:460px;font-size:24px;font-weight:800}.save-state{color:var(--muted);margin-top:8px;font-size:12px}.editor-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px;display:grid}.editor-stage{min-width:0;padding:0;overflow:hidden}.toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:4px;padding:10px;display:flex}.toolbar button{border-radius:6px;align-items:center;gap:5px;min-height:44px;padding:8px 10px;font-size:12px;display:flex}.toolbar button.active{background:var(--yellow);outline:1px solid var(--ink)}.toolbar span{font-size:18px}.toolbar .toolbar-divider{background:var(--line);width:1px;height:24px;margin:0 6px}.canvas-viewport{overscroll-behavior:contain;background:#eef0f4;height:min(62vh,700px);min-height:300px;position:relative;overflow:hidden}.pattern-canvas{position:absolute;inset:0}.stage-hint{min-height:1.5em;margin:0;padding:10px 12px 0}.replace-card{border-top:1px solid var(--line);gap:10px;padding:12px;font-size:13px;display:grid}.replace-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.replace-row .grow{flex:1;min-width:12em}.replace-slot{border:1px solid var(--line);border-radius:6px;align-items:center;gap:6px;min-height:40px;padding:6px 10px;font-family:ui-monospace,monospace;display:inline-flex}.replace-slot.active{border-color:var(--ink);background:var(--yellow-soft)}.swatch{border:1px solid #1d1d1f44;border-radius:50%;width:18px;height:18px;display:inline-block}.replace-scope{border:0;gap:6px;margin:0;padding:0;display:flex}.replace-scope button,.palette-tabs button{border:1px solid var(--line);border-radius:6px;min-height:36px;padding:6px 12px;font-size:12px}.replace-scope button.active,.palette-tabs button.active{border-color:var(--ink);background:var(--yellow-soft)}.palette-tabs{gap:6px;margin-top:12px;display:flex}.zoom-buttons{gap:4px;display:inline-flex}.zoom-buttons button{min-width:36px;min-height:36px}.canvas-controls{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:12px;font-size:12px;display:flex}.canvas-controls label{align-items:center;gap:6px;display:flex}.canvas-controls input[type=range]{width:90px}.editor-sidebar{padding:18px}.editor-sidebar>p,.editor-sidebar>input{margin-top:12px}.palette{grid-template-columns:repeat(4,1fr);gap:6px;max-height:460px;margin-top:14px;display:grid;overflow:auto}.palette button{border:2px solid #0000;border-radius:6px;flex-direction:column;align-items:center;min-height:52px;padding:4px;display:flex}.palette button.selected{border-color:var(--ink);background:var(--yellow-soft)}.palette button>span{border:1px solid #1d1d1f44;border-radius:50%;width:24px;height:24px;display:block}.palette small{font-size:10px}.full{width:100%;margin-top:16px}.export-panel{margin-top:24px}.export-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.export-options{background:0 0;border:0;grid-template-columns:repeat(3,1fr);gap:8px;padding:0;display:grid}.export-options button{text-align:left;border:2px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;gap:6px;min-width:0;padding:16px;display:flex}.export-options button.selected{border-color:var(--ink);background:var(--yellow-soft)}.export-options button>span{color:var(--muted);font-size:12px}.board-size{flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0;display:flex}.board-size select{width:auto}.export-feedback{color:var(--muted);margin-top:18px}.download-card{border:1px solid var(--line);border-radius:10px;margin-top:20px;overflow:hidden}.download-preview{text-align:center;background:#eef0f4;width:100%;max-height:480px;padding:16px;overflow:auto}.download-preview img{object-fit:contain;max-width:100%;max-height:450px;margin:auto;display:block}.download-caption,.download-files{padding:16px;font-size:13px}.export-save-bar{justify-content:space-between;align-items:center;gap:16px;margin-top:20px;display:flex}.export-save-bar .inline-actions{justify-content:flex-end}.editor>p:last-child{margin-top:20px}@media (width<=1100px){.site-header{flex-wrap:wrap;gap:12px 20px;padding:14px 24px}.main-nav{border-top:1px solid var(--line);order:3;justify-content:center;width:100%;padding-top:12px}.style-grid{gap:18px}}@media (width<=760px){.site-header{padding:14px 20px 10px}.brand{font-size:17px}.header-actions{gap:8px}.balance-chip{padding-left:11px}.locale-toggle button{padding:6px}.main{width:calc(100% - 40px);padding-top:24px}.site-footer{flex-direction:column;gap:5px;width:calc(100% - 40px)}.style-grid{grid-template-columns:repeat(2,1fr);gap:16px}.style-detail{grid-template-columns:1fr;gap:16px;padding:16px}.converter-grid{grid-template-columns:1fr}.conversion-settings .form-stack{grid-template-columns:1fr 1fr;display:grid}.conversion-settings .form-stack>p{align-self:center;margin:0}.work-grid{grid-template-columns:1fr 1fr}.account-panel{grid-template-columns:1fr}.balance-grid{border-top:1px solid var(--line);justify-content:space-around;padding-top:16px}.editor-layout{grid-template-columns:1fr}.editor-sidebar .palette{grid-template-columns:repeat(8,1fr);max-height:160px}.export-options{grid-template-columns:1fr}.export-save-bar{flex-wrap:wrap}.panel{padding:20px}.editor-stage{padding:0}}@media (width<=520px){body{font-size:14px}.site-header{gap:10px;padding:12px 16px 8px}.brand{font-size:16px}.brand-mark{grid-template-columns:repeat(2,10px);gap:2px}.brand-mark i{width:10px;height:10px}.brand-mark i:after{inset:2px}.header-actions{flex-wrap:wrap;flex:1;justify-content:flex-end;gap:6px}.locale-toggle button{min-height:44px;padding-inline:4px;font-size:11px}.account-button{min-width:44px;height:44px}.redeem-button{min-height:44px;padding:6px 9px;font-size:11px}.balance-chip{gap:6px;min-height:44px;padding-left:10px;font-size:12px}.main-nav{gap:0;padding-top:8px}.main-nav button{flex:1;padding-inline:10px}.main,.main.editor-main{width:calc(100% - 32px);padding-top:20px}.progress{margin-bottom:24px}.progress ol{gap:6px}.progress-step,.progress-step:last-child{background:#d9dce2;border-radius:10px;flex:1;height:7px;display:block}.progress-step.done{background:#2fa968}.progress-step.current{background:var(--yellow);outline:1px solid var(--ink)}.progress-step .progress-dot,.progress-step:not(:last-child):after{display:none}.progress-step .progress-link{width:100%;min-height:7px}.progress-step .progress-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.recipe{gap:10px}.recipe-thumb{width:min(150px,38vw)}.recipe-plus{font-size:22px}.segmented{margin-bottom:18px}.step-header{gap:10px;margin-bottom:22px}.step-header>button{font-size:12px}.dropzone{min-height:270px;padding:30px 20px}.step-bar{border-radius:10px;margin-inline:-4px}.step-bar-inner{padding:12px 14px max(14px, env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px 12px}.step-bar-summary{flex:100%;order:-1;font-size:12px}.step-bar-summary:empty{display:none}.step-bar-inner:has(>span.step-bar-back) .step-bar-summary{flex:1 1 0;order:0}.step-bar-inner:has(>span.step-bar-back)>span.step-bar-back{display:none}.step-bar-back{font-size:12px}.step-bar-action{margin-left:auto}.step-bar .primary{padding:10px 14px;font-size:13px}.style-name{padding:12px 2px 4px;font-size:15px}.style-tag{margin:0 2px;font-size:12px}.style-grid{gap:14px}.style-card{padding:7px 7px 14px}.style-check{width:22px;height:22px;top:7px;right:7px}.grant-list,.work-grid{grid-template-columns:1fr}.job-card{flex-wrap:wrap;gap:14px;padding:16px}.job-actions{flex-direction:row;justify-content:flex-end;width:100%}.panel{padding:18px}.work-card{padding:10px}.work-image{max-height:290px}.editor-stage{padding:0}.conversion-settings .form-stack{grid-template-columns:1fr}.conversion-settings .form-stack>p{margin-top:-10px}.usage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-filters{flex-wrap:wrap}.editor-sidebar .palette{grid-template-columns:repeat(6,1fr)}.toolbar button{padding-inline:8px}.canvas-viewport{min-height:260px}.modal{padding:22px}.modal .code-input{letter-spacing:.04em;font-size:21px}.export-heading{flex-direction:column;align-items:flex-start}}@media (width<=360px){.balance-chip+.account-button{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto;animation-duration:.01ms;animation-iteration-count:1}}
