:root{--base:#faf8f1;--surface:#fff;--paper:#fffdf7;--ink:#163a5f;--muted:#5f7182;--accent:#f4c542;--line:#dce1e4;--soft:#f0f3f5;--danger:#a33d32;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;color:var(--ink);background:var(--base);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,label.button{font:inherit}button,a,input,label.button{-webkit-tap-highlight-color:transparent}button,label.button{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible,input:focus-visible,label.button:has(+input:focus-visible){outline:3px solid #3270ac;outline-offset:3px}button{border:0;background:none}button:not(:disabled),label.button,a{transition:background .15s,color .15s,border-color .15s}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}.site-header{max-width:1440px;margin:auto;padding:27px 48px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{font-size:20px;font-weight:750;display:flex;align-items:center;gap:10px;letter-spacing:.03em}.brand-mark{display:grid;place-items:center;border:1.5px solid var(--ink);width:30px;height:30px;border-radius:9px;font-size:24px;line-height:1}.brand-small{font-size:10px;letter-spacing:.08em;color:var(--muted);margin-left:5px;font-weight:500}.text-button{padding:5px 0;font-size:12px;font-weight:600;line-height:1.5}.text-button:hover{color:#3270ac}.text-button span{margin-left:7px}.site-header>.text-button{font-size:12px;font-weight:500}main{max-width:1440px;margin:auto;padding:36px 48px 0}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding-bottom:28px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;margin-bottom:12px;color:var(--muted)}h1{font-size:clamp(24px,2.5vw,34px);font-weight:750;letter-spacing:.04em;line-height:1.55}.lead{font-size:13px;color:var(--muted);margin-top:7px;line-height:1.8}.steps{display:flex;gap:21px;list-style:none;padding:0;margin:0 0 5px;font-size:11px;white-space:nowrap;color:var(--muted)}.steps b{display:block;font-size:11px;margin-bottom:8px;color:var(--ink);font-family:ui-monospace,monospace}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;border:1px solid #d2dbe0;border-radius:13px;overflow:hidden;background:var(--surface);min-height:580px}.editor{min-width:0;display:flex;flex-direction:column}.editor-heading{height:62px;padding:0 23px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:12px}.editor-heading>div{display:flex;align-items:center;gap:8px;min-width:0}.editor-heading h2{font-size:12px;font-weight:650;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--ink)}#dimensions{color:var(--muted);font-size:10px;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:43px;padding:11px 19px;border-radius:7px;font-size:13px;font-weight:650;line-height:1.5;border:1px solid transparent;text-align:center}.button.primary{background:var(--accent);color:var(--ink)}.button.primary:not(:disabled):hover{background:#efbb28}.button.secondary{border-color:var(--line);background:var(--surface)}.button.secondary:hover{border-color:var(--ink);background:var(--paper)}.button.compact{min-height:31px;font-size:11px;padding:6px 12px;white-space:nowrap}.toolbar{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line)}.tool-switch{display:flex;gap:4px}.tool-switch>button{font-size:12px;padding:9px 11px;border-radius:5px;white-space:nowrap}.tool-switch>button span{font-size:14px;margin-right:3px}.tool-switch>button[aria-pressed=true]{background:var(--ink);color:white}.tool-switch>button[aria-pressed=false]:hover{background:var(--soft)}.history-tools{display:flex;gap:2px}.history-tools>button{width:30px;height:32px;font-size:23px;border-radius:5px}.history-tools>button:not(:disabled):hover{background:var(--soft)}.stage{height:438px;min-height:330px;position:relative;overflow:auto;background-color:#f6f7f7;background-image:radial-gradient(#d9e0e4 .7px,transparent .7px);background-size:14px 14px;overscroll-behavior:contain;scrollbar-width:thin;flex:1}.empty-state{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 18px;text-align:center;margin:22px;border:1px dashed #b9c6ce;border-radius:9px;min-height:calc(100% - 44px);background:#fafbfa}.upload-illustration{width:96px;height:78px;margin-bottom:18px}.empty-state h3{font-size:18px;letter-spacing:.03em;font-weight:650}.empty-state>p{font-size:11px;color:var(--muted);line-height:1.9;margin:10px 0 19px}.empty-state kbd{font:10px inherit;padding:2px 5px;border:1px solid var(--line);background:white;border-radius:4px;white-space:nowrap;margin-left:4px}.empty-state .file-types{font-size:10px;margin:12px 0 0;color:var(--muted)}.sample-button{font-size:12px;margin-top:24px;border-bottom:1px solid #a8b7c2;padding:0 0 4px}.sample-button span{padding-left:12px}.sample-button:hover{color:#3270ac}.canvas-wrap{min-width:100%;min-height:100%;width:max-content;display:flex;justify-content:center;align-items:center;padding:24px;position:relative}#preview{display:block;background:white;box-shadow:0 3px 15px #163a5f12;touch-action:none;cursor:crosshair;flex-shrink:0;max-width:none}#preview:focus-visible{outline:2px solid #3270ac;outline-offset:4px}.drop-overlay{position:absolute;inset:8px;z-index:3;background:#fffdf7ed;border:2px dashed var(--ink);border-radius:8px;display:grid;place-items:center;font-weight:700;pointer-events:none}.editor-footer{min-height:43px;padding:9px 18px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);background:var(--surface)}#canvas-hint{font-size:10px;color:var(--muted);line-height:1.6}.zoom-tools{display:flex;align-items:center;gap:8px;white-space:nowrap}.zoom-tools button{font-size:12px;min-width:23px;min-height:25px;border-radius:4px}.zoom-tools button:hover{background:var(--soft)}#zoom-label{font-size:10px;font-variant-numeric:tabular-nums;min-width:28px;text-align:center}#zoom-fit{border-left:1px solid var(--line);border-radius:0;padding-left:10px;font-size:10px}.settings{border-left:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;background:var(--paper)}.settings-content{padding:24px 23px 18px}.section-heading,.save-heading{display:flex;gap:10px;align-items:center}.section-heading h2,.save-heading h2{font-size:12px;font-weight:700}.step-number{font-family:ui-monospace,monospace;font-size:11px;color:var(--muted);font-weight:500}.setting-help{font-size:11px;line-height:1.9;color:var(--muted);margin:12px 0 18px 25px}.avatar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 7px}.avatar-button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:5px 2px 6px;border:1.5px solid transparent;border-radius:8px;font-size:9px;color:var(--muted)}.avatar-button canvas{width:40px;height:40px;display:block;border-radius:50%}.avatar-button[aria-pressed=true]{border-color:var(--ink);background:#eef2f5;color:var(--ink);font-weight:700}.avatar-button:hover{background:#eef2f5}.shape-row{display:flex;align-items:center;justify-content:space-between;margin-top:19px;padding-top:15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.segmented{display:flex;border:1px solid #cbd4db;border-radius:5px;padding:2px;gap:2px}.segmented button{padding:5px 13px;border-radius:3px;font-size:10px}.segmented button[aria-pressed=true]{background:var(--ink);color:white}.field-label{display:block;font-size:11px;font-weight:600;margin:16px 0 8px}.alias-input{width:100%;height:40px;border:1px solid #bcc9d2;background:white;border-radius:6px;color:var(--ink);padding:8px 10px;font-size:14px}.alias-presets{display:flex;gap:4px;flex-wrap:wrap;margin-top:9px}.alias-presets button{padding:5px 7px;font-size:9px;background:#edf1f4;border-radius:4px}.color-row{display:flex;gap:9px;align-items:center}.color-swatch{width:30px;height:30px;border-radius:50%;border:1px solid #bdc8cf;position:relative}.color-swatch[aria-pressed=true]:after{content:"";position:absolute;inset:-4px;border:1.5px solid var(--ink);border-radius:50%}.white{background:#fff}.gray{background:#f3f3f3}.navy{background:#163a5f}.black{background:#111}input[type=color]{width:31px;height:31px;border:0;padding:2px;background:white;cursor:pointer;border-radius:4px;margin-left:2px}.tiny-note{display:flex;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.tiny-note>span{font-size:20px;line-height:1}.tiny-note p{font-size:10px;line-height:1.9;color:var(--muted)}.selection-settings{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.selection-heading{display:flex;justify-content:space-between;align-items:center}.selection-heading h3{font-size:11px}.selection-settings p{font-size:9px;color:var(--muted);margin:7px 0 11px;line-height:1.6}.danger{color:var(--danger)}.size-row{display:flex;gap:8px;margin-bottom:7px}.size-row label{font-size:9px;display:flex;align-items:center;gap:4px}.size-row input{min-width:0;width:57px;padding:5px;border:1px solid #cbd4db;background:white;border-radius:4px;color:var(--ink);font-size:11px}.selection-settings>.text-button{font-size:10px}.save-area{padding:21px 23px 22px;border-top:1px solid var(--line);background:#fff}.save-area>p{font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0 14px}.download-button{width:100%;gap:10px;font-size:13px}.save-area .save-note{font-size:9px;text-align:center;margin:9px 0 0}.bottom-note{display:flex;align-items:center;justify-content:space-between;padding:15px 1px;gap:14px}.bottom-note>p{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);line-height:1.8}.bottom-note>.text-button{font-size:10px;white-space:nowrap}.notice{min-height:25px;font-size:12px;line-height:1.8;padding:0 1px;color:var(--ink)}.notice.error{color:var(--danger)}.site-footer{display:flex;justify-content:space-between;max-width:1344px;margin:24px auto 0;padding:20px 0 27px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);letter-spacing:.04em}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid #cbd4db;border-radius:12px;max-width:510px;width:calc(100% - 36px);padding:25px;color:var(--ink);background:var(--paper);box-shadow:0 15px 70px #163a5f33}dialog::backdrop{background:#163a5f55}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-heading h2{font-size:17px}.dialog-heading button{font-size:26px;line-height:1;padding:0 5px}dialog p{font-size:12px;line-height:1.95;margin-bottom:15px}dialog>.button{margin-top:5px;min-width:100px}
@media(min-width:1500px){.stage{height:520px}}@media(max-width:1150px){.steps{gap:13px;font-size:10px}.intro{align-items:flex-start}.workspace{grid-template-columns:minmax(0,1fr) 268px}.site-header{padding-left:30px;padding-right:30px}main{padding-left:30px;padding-right:30px}.site-footer{margin-left:30px;margin-right:30px}.settings-content{padding-left:18px;padding-right:18px}.save-area{padding-left:18px;padding-right:18px}.editor-heading{padding:0 16px}.toolbar{padding-left:10px;padding-right:10px}.tool-switch>button{padding:9px 8px;font-size:11px}.editor-footer{flex-wrap:wrap}.intro h1{font-size:27px}#dimensions{font-size:9px}}
@media(max-width:850px){.steps{display:none}.workspace{grid-template-columns:minmax(0,1fr) 248px}.brand-small{display:none}.setting-help{margin-left:0}.avatar-grid{gap:8px 2px}.tool-switch>button{padding:9px 6px;font-size:10px}.tool-switch>button span{margin-right:1px}.history-tools>button{width:26px}.editor-heading h2{font-size:11px}#dimensions{display:none}.stage{height:430px}.empty-state{margin:14px;min-height:calc(100% - 28px)}.empty-state>p{max-width:225px}.empty-state kbd{display:inline-block}.empty-state h3{font-size:16px}}
@media(max-width:670px){.site-header{padding:18px 18px 17px}.brand{font-size:17px;gap:8px}.brand-mark{width:26px;height:26px;font-size:21px;border-radius:7px}.site-header>.text-button{font-size:10px}main{padding:24px 14px 0}.intro{padding:0 5px 22px}.eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:7px}.intro h1{font-size:23px}.intro h1 span{display:inline-block}.lead{font-size:11px;margin-top:6px}.workspace{display:flex;flex-direction:column;border-radius:10px;min-height:0}.editor-heading{height:49px;padding:0 13px}.editor-heading h2{font-size:11px}.button.compact{font-size:10px;min-height:29px}.toolbar{padding:8px 10px}.tool-switch>button{padding:9px 11px;font-size:11px}.tool-switch>button span{font-size:13px}.history-tools>button{width:28px}.stage{height:345px;min-height:250px;flex:auto}.empty-state{margin:13px;padding:22px 10px;min-height:calc(100% - 26px)}.upload-illustration{width:65px;height:53px;margin-bottom:11px}.empty-state h3{font-size:16px}.empty-state>p{margin:8px 0 14px;font-size:10px;max-width:none}.empty-state>p:first-of-type{max-width:240px}.empty-state .file-types{font-size:9px;margin-top:9px}.empty-state>.button{font-size:12px;min-height:39px}.sample-button{margin-top:17px;font-size:11px}.editor-footer{padding:7px 12px;min-height:38px;gap:5px}#canvas-hint{font-size:9px;flex:1}.zoom-tools{gap:4px}#zoom-label{font-size:9px}.zoom-tools button{font-size:11px}#zoom-fit{font-size:9px;padding-left:7px}.canvas-wrap{padding:16px}.settings{border-left:0;border-top:1px solid var(--line)}.settings-content{padding:19px 17px 15px}.section-heading h2{font-size:12px}.setting-help{font-size:10px;margin:7px 0 13px;line-height:1.7}.desktop-only{display:none}.avatar-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.avatar-button{padding:5px 0;font-size:8px;gap:4px}.avatar-button canvas{width:31px;height:31px}.shape-row{margin-top:12px;padding-top:11px}.segmented button{padding:4px 14px}.tiny-note{margin-top:14px;padding-top:12px}.tiny-note p{font-size:9px}.tiny-note p br{display:none}.tiny-note>span{font-size:17px}.save-area{padding:17px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:center}.save-heading{gap:8px}.save-heading h2{font-size:11px}.save-area>p{grid-column:1;font-size:9px;margin:0}.save-area .download-button{grid-column:2;grid-row:1/3;width:auto;font-size:12px;gap:7px;min-height:42px;padding:9px 12px}.save-area .save-note{grid-column:1/-1;text-align:left;font-size:9px;margin-top:0}.bottom-note{align-items:flex-start;padding:13px 3px 8px;gap:8px}.bottom-note>p{font-size:9px;align-items:flex-start;max-width:275px}.bottom-note>p svg{flex-shrink:0;margin-top:2px}.bottom-note>.text-button{font-size:9px;padding-top:0}.notice{font-size:11px;min-height:20px;padding:0 3px}.site-footer{margin:15px 18px 0;padding:16px 0 23px;font-size:9px}.selection-settings{margin-top:14px;padding-top:13px}.size-row input{width:65px}.alias-input{font-size:14px}.alias-presets{margin-top:7px}.color-row{gap:12px}}
.workspace{height:650px}.editor{min-height:0}.stage{contain:size;flex:1 1 438px}.settings{min-height:0}.settings-content{overflow:auto}.save-area{flex-shrink:0}.site-footer{width:calc(100% - 96px)}
@media(max-width:1150px){.site-footer{width:auto}}@media(max-width:670px){.workspace{height:auto}.stage{flex:0 0 345px}.settings-content{overflow:visible}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
