.home .tool-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 40px;align-items:end;margin:8px 0 28px;padding-bottom:24px}.home .tool-breadcrumb{margin:0 0 10px}.home .tool-breadcrumb a{color:var(--ink-2);text-decoration:underline;text-underline-offset:3px}.home .tool-breadcrumb a:hover{color:var(--accent-2)}.home .tool-title{font-size:clamp(32px,4.2vw,50px);line-height:1.04;letter-spacing:-.02em}.home .tool-hero .lede{margin-top:12px;max-width:62ch;font-size:clamp(15px,1.25vw,17px)}.home .tool-hero-chips{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:4px}.home .tool-hero-chips .stamp{background:var(--card)}.home .tool-layout{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:28px;align-items:start}.home .tool-controls{padding:20px;display:flex;flex-direction:column;gap:18px;position:sticky;top:88px}.home .tool-field{display:flex;flex-direction:column;gap:8px}.home .tool-field-label{font-family:var(--font-geist-mono),ui-monospace,monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}.home .tool-seg{display:flex;flex-wrap:wrap;gap:6px}.home .tool-seg button{font:inherit;font-size:13px;font-weight:600;padding:7px 12px;border:1.5px solid var(--ink);border-radius:6px;background:var(--card);color:var(--ink);cursor:pointer;box-shadow:2px 2px 0 var(--ink);transition:transform .12s,box-shadow .12s,background .12s}.home .tool-seg button:hover:not(:disabled){transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--ink)}.home .tool-seg button[aria-checked=true]{background:var(--accent);transform:translate(1px,1px);box-shadow:1px 1px 0 var(--ink)}.home .tool-seg button:disabled{opacity:.45;cursor:not-allowed}.home .tool-thumb-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.home .tool-thumb{font:inherit;padding:6px 4px 5px;border:1.5px solid var(--line-soft);border-radius:6px;background:var(--card);color:var(--ink);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;transition:border-color .12s,box-shadow .12s,transform .12s}.home .tool-thumb:hover{border-color:var(--ink);transform:translate(-1px,-1px);box-shadow:2px 2px 0 var(--ink)}.home .tool-thumb[aria-checked=true]{border-color:var(--ink);background:var(--accent);box-shadow:2px 2px 0 var(--ink)}.home .tool-thumb-art{display:block;width:100%;max-width:44px;border:1px solid var(--line-soft);background:#fff}.home .tool-thumb-art svg{display:block;width:100%;height:100%}.home .tool-thumb-label{font-size:12px;font-weight:600;line-height:1.1;text-align:center}.home .tool-toggles{display:flex;flex-direction:column;gap:8px}.home .tool-toggle{display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}.home .tool-toggle input{width:16px;height:16px;accent-color:var(--accent-3);margin:0}.home .tool-actions{display:flex;flex-wrap:wrap;gap:10px}.home .tool-actions .btn{flex:1 1 auto;justify-content:center}.home .tool-actions-compact .btn{flex:0 1 auto}.home .tool-download{position:sticky;bottom:0;z-index:2;margin:0 -10px;padding:10px;background:var(--card)}.home .tool-ai-cta-bar{display:flex;flex-basis:100%}.home .tool-ai-cta-bar .btn{flex:1 1 auto;justify-content:center}.home .tool-ai-cta-below{display:none}@media(max-width:720px){.home .tool-ai-cta-bar{display:none}.home .tool-ai-cta-below{display:flex}}.home .tool-add-bubble{align-self:stretch;justify-content:center;gap:6px}.home .tool-seg button{display:inline-flex;align-items:center;gap:6px}.home .tool-glyph{width:22px;height:14px;flex:none}.home .tool-size{display:flex;align-items:center;gap:10px}.home .tool-size-a{font-size:12px;font-weight:700;color:var(--ink)}.home .tool-size-a.large{font-size:20px}.home .tool-layout-empty{grid-template-columns:1fr}.home .tool-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}.home .tool-file-label{cursor:pointer}.home .tool-layout:has(.tool-file-input:focus-visible) .tool-file-label{outline:2px solid var(--accent-3);outline-offset:3px}.home .tool-note{margin:0;font-size:13px;line-height:1.5;color:var(--ink-2)}.home .tool-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.home .tool-error{margin:0;font-size:13px;color:var(--accent-2);font-weight:600}.home .tool-preview{min-width:0;position:sticky;top:88px}.home .tool-preview-sheet{width:min(100%,620px,calc((100vh - 56px) * var(--sheet-ratio, 1)));width:min(100%,620px,calc((100svh - 56px) * var(--sheet-ratio, 1)));margin:0 auto;background:#fff;border:1.5px solid var(--ink);box-shadow:6px 6px 0 var(--ink)}.home .tool-preview-sheet svg,.home .tool-sheet{display:block;width:100%;height:100%}.home .tool-textarea{font:inherit;font-size:15px;padding:10px 12px;border:1.5px solid var(--ink);border-radius:6px;background:#fff;color:var(--ink);resize:vertical;min-height:72px}.home .tool-textarea:focus{outline:2px solid var(--accent-3);outline-offset:1px}.home .tool-range{width:100%;accent-color:var(--accent-3)}.home .tool-bubble-editor{display:flex;flex-direction:column;gap:14px;padding:14px;border:1.5px dashed var(--line-soft);border-radius:6px;background:var(--bg)}.home .tool-link-button{font:inherit;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:var(--accent-2);cursor:pointer;text-decoration:underline;text-underline-offset:3px}.home .tool-link-button.inline{color:var(--ink)}.home .tool-link-button:hover{color:var(--accent-2)}.home .tool-canvas-frame{position:relative;width:min(100%,560px,calc((100vh - 200px) * var(--sheet-ratio, 1)));width:min(100%,560px,calc((100svh - 200px) * var(--sheet-ratio, 1)));margin:0 auto;border:1.5px solid var(--ink);box-shadow:6px 6px 0 var(--ink);background:var(--bg-2);overflow:hidden}.home .tool-canvas{display:block;width:100%;height:100%;touch-action:pan-y pinch-zoom;cursor:grab}.home .tool-canvas:active{cursor:grabbing}.home .tool-canvas-status{position:absolute;top:10px;right:10px;padding:4px 10px;font-size:12px;font-weight:600;background:var(--card);border:1.5px solid var(--ink);border-radius:999px}.home .tool-dropzone{min-height:360px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:12px 12px 26px;border:1.5px dashed var(--ink);border-radius:6px;background:var(--card);color:var(--ink-2);transition:background .12s}.home .tool-dropzone.is-over{background:var(--accent)}.home .tool-dropzone-target{flex:1;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;border-radius:4px;color:var(--ink);transition:background .12s}.home .tool-dropzone-target:hover{background:var(--bg)}.home .tool-dropzone-title{margin-top:6px;font-size:20px;font-weight:700;color:var(--ink)}.home .tool-dropzone .tool-error{padding:0 16px}.home .tool-hub-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 40px;align-items:end;margin-top:8px}.home .tool-hub-head .h2{margin:10px 0 0}.home .tool-hub-head .h2 a{color:var(--ink);text-decoration:none}.home .tool-hub-head .h2 a:hover{color:var(--accent-2)}.home .tool-hub-head p{margin:0;font-size:16px;line-height:1.55;color:var(--ink-2)}.home .tool-hub-group{margin-top:34px}.home .tool-hub-group-title{margin:0;font-family:var(--font-geist-mono),ui-monospace,monospace;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}.home .tool-hub-group .tool-template-links{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.home .tool-hub-group .tool-template-link{justify-content:flex-start}.home .tool-hub-group .tool-template-link .tool-thumb-art{max-width:none;width:auto;height:84px}.home .tool-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:22px}.home .tool-hub-group .tool-card-grid{margin-top:12px}.home .tool-card{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:var(--ink)}.home .tool-card-art{display:block;border-bottom:1.5px solid var(--ink);background:var(--bg-2)}.home .tool-card-art img{display:block;width:100%;height:auto;aspect-ratio:1200 / 630;object-fit:cover}.home .tool-card-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}.home .tool-card-body strong{font-size:18px;line-height:1.25}.home .tool-card-body>span:last-child{font-size:14px;line-height:1.5;color:var(--ink-2)}.home .tool-template-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:24px}.home .tool-template-link{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 12px;text-decoration:none;color:var(--ink)}.home .tool-template-link .tool-thumb-art{max-width:72px}.home .tool-template-link-body{display:flex;flex-direction:column;gap:3px;text-align:center}.home .tool-template-link-body strong{font-size:14px}.home .tool-template-link-body span{font-size:12.5px;line-height:1.4;color:var(--ink-2)}@media(max-width:1024px){.home .tool-template-links{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1024px){.home .tool-layout{grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:22px}}@media(max-width:720px){.home .tool-layout{grid-template-columns:minmax(0,1fr)}.home .tool-controls{position:static}.home .tool-preview{position:static;order:-1}.home .tool-preview-sheet{width:min(100%,calc(52vh * var(--sheet-ratio, 1)));width:min(100%,calc(52svh * var(--sheet-ratio, 1)))}.home .tool-canvas-frame{width:min(100%,calc(62vh * var(--sheet-ratio, 1)));width:min(100%,calc(62svh * var(--sheet-ratio, 1)))}.home .tool-dropzone{min-height:280px}.home .tool-thumb-grid{display:flex;overflow-x:auto;margin:0 -20px;padding:2px 20px 8px;scrollbar-width:none}.home .tool-thumb-grid .tool-thumb{flex:0 0 74px}.home .tool-download{position:static;margin:0;padding:0;background:none}.home .tool-download .btn{flex:1 1 0}}@media(max-width:880px){.home .tool-hub-head{grid-template-columns:1fr}.home .tool-hub-group .tool-template-links{grid-template-columns:repeat(2,minmax(0,1fr))}.home .tool-hub-group .tool-template-link .tool-thumb-art{height:64px}.home .tool-hero{grid-template-columns:1fr;gap:14px;margin-bottom:20px}.home .tool-hero-chips{padding-bottom:0}}@media(max-width:520px){.home .tool-template-links{grid-template-columns:repeat(2,minmax(0,1fr))}.home .tool-hero .lede{display:none}.home .tool-hero-chips{gap:6px;flex-wrap:nowrap}.home .tool-hero-chips .stamp{padding:3px 8px;font-size:11px;white-space:nowrap}}.home .template-example-jump{display:inline-block;margin-top:16px;color:var(--ink);text-underline-offset:4px}.home .template-example-intro{max-width:760px;margin-bottom:28px}.home .template-example-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:start}.home .template-example-art{margin:0}.home .template-example-art img{display:block;width:100%;height:auto}.home .template-example-art figcaption{margin-top:12px;font-size:13px;line-height:1.6;color:var(--ink-2)}.home .template-example-notes{font-size:16px;line-height:1.65}.home .template-example-notes ol{list-style:decimal;padding-left:24px;margin:16px 0 28px}.home .template-example-notes li{padding-left:4px;margin-bottom:10px}.home .template-example-notes p{margin:12px 0 24px;color:var(--ink-2)}.home .template-drawing-guide{margin-top:48px;max-width:820px}.home .template-drawing-guide>.h2{margin-bottom:24px}.home .template-reading{margin-top:32px;border-top:1px solid var(--ink);padding-top:24px}.home .template-reading ul{list-style:disc;padding-left:20px}.home .template-reading li{margin-top:16px}.home .template-reading a{color:var(--ink);font-weight:700;text-underline-offset:4px}.home .template-reading p{margin:4px 0 0;color:var(--ink-2);line-height:1.6}@media(max-width:880px){.home .template-example-layout{grid-template-columns:1fr;gap:28px}.home .template-example-art{max-width:560px;margin-inline:auto}}.home .tool-canvas-frame.is-blank{background-color:#fff;background-image:linear-gradient(45deg,#e6e1d2 25%,transparent 25%,transparent 75%,#e6e1d2 75%),linear-gradient(45deg,#e6e1d2 25%,transparent 25%,transparent 75%,#e6e1d2 75%);background-size:20px 20px;background-position:0 0,10px 10px}.home .tool-canvas-static{cursor:default;touch-action:auto}.home .tool-canvas-static:active{cursor:default}.home .tool-dropzone-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.home .tool-dropzone-actions .btn{gap:6px}.home .tool-swatch-row{display:flex;align-items:center;gap:10px}.home .tool-swatch-glyph{flex:none;width:24px;display:inline-flex;justify-content:center;color:var(--ink)}.home .tool-swatch-letter{font-size:17px;font-weight:800;line-height:1}.home .tool-swatches{display:flex;flex-wrap:wrap;gap:7px}.home .tool-swatch{position:relative;width:26px;height:26px;padding:0;border:1.5px solid var(--ink);border-radius:50%;cursor:pointer;transition:transform .12s,box-shadow .12s}.home .tool-swatch:hover{transform:translate(-1px,-1px);box-shadow:2px 2px 0 var(--ink)}.home .tool-swatch[aria-checked=true],.home .tool-swatch.is-on{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--accent-3)}.home .tool-swatch-custom{overflow:hidden;background:conic-gradient(#e94b3c,#ffd23f,#3dbe6b,#2b5bd7,#8e5be8,#e94b3c)}.home .tool-swatch-custom input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.home .tool-notes{margin-top:56px}.home .tool-notes .legal-body a:not(.btn){color:var(--ink);font-weight:600;text-underline-offset:3px}.home .tool-sfx-input{resize:none;min-height:0;font-size:20px;font-weight:800;letter-spacing:.02em}.home .tool-chips{display:flex;flex-wrap:wrap;gap:6px}.home .tool-chip{font:inherit;font-size:12px;font-weight:700;padding:5px 10px;border:1.5px solid var(--ink);border-radius:999px;background:var(--card);color:var(--ink);cursor:pointer;transition:background .12s,transform .12s}.home .tool-chip:hover{transform:translate(-1px,-1px);background:var(--bg)}.home .tool-chip[aria-pressed=true]{background:var(--accent)}.home .tool-sfx-a{flex:none;width:22px;text-align:center;font-size:18px;font-weight:800;line-height:1;color:var(--accent);-webkit-text-stroke:1.2px var(--ink);paint-order:stroke fill}.home .tool-sfx-a.is-deep{text-shadow:1px 1px 0 var(--ink),2px 2px 0 var(--ink),3px 3px 0 var(--ink),4px 4px 0 var(--ink)}.home .tool-sfx-a.is-left{transform:rotate(-22deg)}.home .tool-sfx-a.is-right{transform:rotate(22deg)}.home .tool-thumb-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.home .tool-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;border:1.5px solid var(--ink);border-radius:6px;background:var(--card);box-shadow:2px 2px 0 var(--ink);overflow:hidden}.home .tool-stepper span{text-align:center;font-size:14px;font-weight:700}.home .tool-stepper button{font:inherit;font-size:20px;font-weight:700;line-height:1;height:40px;border:0;background:var(--bg);color:var(--ink);cursor:pointer}.home .tool-stepper button:first-child{border-right:1.5px solid var(--ink)}.home .tool-stepper button:last-child{border-left:1.5px solid var(--ink)}.home .tool-stepper button:hover:not(:disabled){background:var(--accent)}.home .tool-stepper button:disabled{opacity:.35;cursor:not-allowed}.home .tool-seg-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.home .tool-seg-actions button{justify-content:flex-start;padding:9px 10px}.home .tool-panel-sheet{position:relative}.home .tool-panel-overlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.home .tool-panel-hit{fill:transparent;cursor:pointer;outline:none}.home .tool-panel-hit:hover{fill:#ffd23f24}.home .tool-panel-hit.is-on{fill:#ffd23f4d}.home .tool-panel-hit:focus-visible{fill:#2b5bd729}.home .tool-panel-selected{fill:none;stroke:var(--accent-3);pointer-events:none}.home .tool-panel-grab{fill:transparent;cursor:row-resize;touch-action:none}.home .tool-panel-handle.is-vertical .tool-panel-grab{cursor:col-resize}.home .tool-panel-grip{fill:var(--accent-3);stroke:#fff;stroke-width:1.5;pointer-events:none}.home .tool-panel-handle:hover .tool-panel-grip{fill:var(--accent-2)}@media(max-width:720px){.home .tool-thumb-grid.tool-thumb-grid-4{display:grid;overflow:visible;margin:0;padding:0}.home .tool-thumb-grid.tool-thumb-grid-4 .tool-thumb{flex:initial}.home .tool-notes{margin-top:40px}}@media(max-width:980px){.home .tool-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media(max-width:620px){.home .tool-card-grid{grid-template-columns:1fr}}
