@font-face{font-family:Jost;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jost-latin-500-normal-41lBe9I9.woff2)format("woff2"),url(/assets/jost-latin-500-normal-B-AtzreL.woff)format("woff")}:root{color:var(--ink);background:var(--app);font-synthesis:none;-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app:#f6f5f1;--surface:#fcfbf8;--raised:#fff;--workspace:#eceae4;--well:#f0efe9;--well-strong:#e5e4dc;--border:#e4e2d9;--border-strong:#cfcdc2;--ink:#252b27;--ink-2:#4d554e;--muted:#666d63;--accent:#5b714d;--accent-soft:#eaefe3;--accent-ring:#5b714d33;--accent-line:#c3cdb6;--brand:#8a9d79;--select:#252b27;--ghost-veil:#eceae4a6;--danger:#a94d39;--warn:#86602a;--warn-soft:#f7efdf;--track:#dbd9cf;--radius-sm:6px;--radius:8px;--radius-lg:12px;--shadow-sm:0 1px 2px #1e281e0f;--shadow-float:0 1px 2px #1e281e0d, 0 8px 28px #1e281e17;--header-h:56px;--left-width:264px;--right-width:272px;--pad:20px;font-family:Inter,system-ui,-apple-system,Segoe UI,Hiragino Sans,Hiragino Kaku Gothic ProN,Noto Sans JP,Yu Gothic UI,Meiryo,sans-serif;font-size:13px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit;color:inherit;letter-spacing:inherit}h2,h3,p{margin:0}p{line-height:1.7}h2{font-size:15px;font-weight:600}svg{flex-shrink:0}button{cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:1px solid #0000;min-height:32px;padding:6px 12px;transition:background .12s,border-color .12s,color .12s,box-shadow .12s}button:disabled{opacity:.35;cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}select{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23858b82' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center;appearance:none;cursor:pointer;height:32px;padding:0 28px 0 10px;font-size:12px}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.icon-button{width:32px;height:32px;min-height:32px;color:var(--ink-2);flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover:not(:disabled){background:var(--well);color:var(--ink)}.icon-button[aria-pressed=true]{background:var(--well-strong);color:var(--ink)}.primary{background:var(--ink);color:#fff;letter-spacing:.02em;border-radius:var(--radius);justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 16px;font-size:12px;font-weight:600;display:inline-flex}.primary:hover:not(:disabled){background:#39443b}.primary:active:not(:disabled){transform:translateY(1px)}.secondary{background:var(--raised);border-color:var(--border);box-shadow:var(--shadow-sm);color:var(--ink);justify-content:center;align-items:center;gap:6px;font-size:12px;display:inline-flex}.secondary:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface)}.secondary.danger{color:var(--danger)}.secondary.danger:hover:not(:disabled){background:#fbf3f0;border-color:#e0bdb3}.ghost-button{min-height:26px;color:var(--ink-2);align-items:center;gap:4px;padding:0 8px;font-size:11px;display:inline-flex}.ghost-button:hover:not(:disabled){background:var(--well);color:var(--ink)}.block{width:100%}.app{flex-direction:column;height:100dvh;min-height:560px;display:flex}.header{height:var(--header-h);background:var(--surface);border-bottom:1px solid var(--border);flex:none;align-items:center;gap:20px;padding:0 16px 0 22px;display:flex}.brand{color:var(--ink);align-items:center;text-decoration:none;display:flex}.wordmark{letter-spacing:.03em;align-items:baseline;font-family:Jost,system-ui,sans-serif;font-size:25px;font-weight:500;line-height:1;display:inline-flex}.wordmark .o{border-radius:50%;width:.5em;height:.5em;margin:0 .04em;display:inline-block;transform:translateY(.01em)}.wordmark .o.fill{background:var(--brand)}.wordmark .o.ring{box-shadow:inset 0 0 0 .085em var(--brand)}.header-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.toolbar-group{gap:2px;display:flex}.toolbar-sep{background:var(--border);width:1px;height:18px;margin:0 4px}.export-button{margin-left:8px}.editor{grid-template-columns:var(--left-width) minmax(0, 1fr) var(--right-width);flex:1;min-height:0;display:grid;position:relative}.library,.inspector{background:var(--surface);scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;overflow:auto}.library{border-right:1px solid var(--border);padding:0 16px 20px}.tabs{border-bottom:1px solid var(--border);z-index:2;background:var(--surface);gap:18px;height:46px;margin:0 -16px 14px;padding:0 16px;display:flex;position:sticky;top:0}.tabs button{min-height:0;color:var(--muted);border:0;border-radius:0;align-self:end;padding:0 0 11px;font-size:12px;position:relative}.tabs button:hover{color:var(--ink)}.tabs button[aria-selected=true]{color:var(--ink);font-weight:600}.tabs button[aria-selected=true]:after{content:"";background:var(--ink);border-radius:1px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.motif-grid,.used-motifs{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.motif-button{border-radius:var(--radius);width:100%;height:48px;color:var(--ink);justify-content:center;align-items:center;padding:14px;display:flex}.motif-button svg{width:100%;max-width:24px;height:100%;max-height:24px;overflow:visible}.motif-button:hover:not(:disabled){background:var(--well)}.motif-button[aria-pressed=true]{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-line)}.import-button{border:1px dashed var(--border-strong);color:var(--muted)}.import-button:hover:not(:disabled){border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.library-heading,.section-head h3{color:var(--muted);letter-spacing:.04em;font-size:11px;font-weight:600}.library-heading{border-top:1px solid var(--border);margin:22px 0 8px;padding-top:18px}.empty-used{border:1px dashed var(--border);border-radius:var(--radius);height:48px}.preset-panel{flex-direction:column;gap:10px;display:flex}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.preset-card{aspect-ratio:1;border-radius:var(--radius);background:var(--well);place-items:center;max-width:100%;min-height:0;padding:0;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #0000000f}.preset-card img{width:100%;height:100%;display:block}.preset-card:hover:not(:disabled){box-shadow:0 0 0 2px var(--border-strong)}.preset-card[aria-pressed=true]{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--ink)}.preset-apply{background:linear-gradient(to bottom, transparent, var(--surface) 12px);margin-bottom:-20px;padding:10px 0 20px;position:sticky;bottom:-20px}.workspace{background:var(--workspace);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.canvas-viewport{scrollbar-width:thin;flex:1;min-height:0;overflow:auto}.canvas-space{justify-content:center;align-items:center;width:100%;height:100%;padding:40px 48px 104px;display:flex}.artboard-wrap{flex-shrink:0}.artboard{touch-action:none;width:100%;display:block;overflow:hidden;box-shadow:0 1px 2px #1e281e0d,0 10px 36px #1e281e12}.dock{background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-float);white-space:nowrap;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.dock-group{align-items:center;gap:2px;display:flex}.dock-sep{background:var(--border);width:1px;height:18px;margin:0 4px}.zoom-value{text-align:center;min-width:42px;color:var(--ink-2);font-variant-numeric:tabular-nums;font-size:11px}.inspector{border-left:1px solid var(--border);flex-direction:column;display:flex}.inspector-tabs{margin:10px var(--pad) 0;background:var(--well);border-radius:var(--radius);flex:none;gap:2px;padding:2px;display:flex}.inspector-tabs button{min-height:28px;color:var(--muted);border-radius:var(--radius-sm);flex:1;padding:0;font-size:12px}.inspector-tabs button:hover{color:var(--ink)}.inspector-tabs button[aria-selected=true]{background:var(--raised);color:var(--ink);box-shadow:var(--shadow-sm), 0 0 0 1px var(--border);font-weight:600}.inspector-body{padding:18px var(--pad) 28px;flex-direction:column;gap:20px;display:flex}.empty-inspector{margin:56px var(--pad) 0;color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:10px;font-size:12px;display:flex}.subject{align-items:center;gap:10px;display:flex}.subject-thumb{border-radius:var(--radius);background:var(--well);flex:none;width:40px;height:40px;padding:10px}.subject-thumb svg{width:100%;height:100%;overflow:visible}.subject-text{flex-direction:column;flex:1;min-width:0;display:flex}.subject-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.subject-text span{color:var(--muted);font-size:11px}.panel-section{flex-direction:column;gap:12px;display:flex}.panel-section+.panel-section{border-top:1px solid var(--border);padding-top:20px}.section-head{justify-content:space-between;align-items:center;display:flex}.params{flex-direction:column;gap:16px;display:flex}.colors{flex-direction:column;gap:6px;display:flex}.field-row{color:var(--ink-2);justify-content:space-between;align-items:center;gap:8px;min-height:32px;font-size:12px;display:flex}.param{flex-direction:column;gap:4px;display:flex}.param-head{min-height:26px;color:var(--ink-2);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.param-value,.range-half{align-items:center;gap:3px;display:flex}.range-dash{color:var(--muted);font-size:11px}.unit{color:var(--muted);min-width:12px;font-size:11px}.value-input{border-radius:var(--radius-sm);background:var(--well);text-align:right;font-variant-numeric:tabular-nums;width:60px;height:26px;color:var(--ink);border:1px solid #0000;padding:0 7px;font-size:12px;transition:border-color .12s,background .12s,box-shadow .12s}.value-input:hover{border-color:var(--border-strong)}.value-input:focus{background:var(--raised);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring);outline:0}.value-input[aria-invalid=true]{border-color:var(--danger)}.slider{--lo:0%;--hi:0%;height:18px;position:relative}.slider:before{content:"";background:linear-gradient(to right, var(--track) var(--lo), var(--accent) var(--lo), var(--accent) var(--hi), var(--track) var(--hi));border-radius:2px;height:4px;margin-top:-2px;position:absolute;top:50%;left:7px;right:7px}.slider input{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:0;padding:0;position:absolute;inset:0}.slider input:focus-visible{outline:0}.slider input::-webkit-slider-runnable-track{background:0 0;height:18px}.slider input::-moz-range-track{background:0 0;height:18px}.slider input::-webkit-slider-thumb{-webkit-appearance:none;background:var(--raised);border:1px solid var(--border-strong);cursor:grab;border-radius:50%;width:14px;height:14px;margin-top:2px;transition:transform .12s,box-shadow .12s;box-shadow:0 1px 3px #1e281e2e}.slider input::-moz-range-thumb{box-sizing:border-box;background:var(--raised);border:1px solid var(--border-strong);cursor:grab;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #1e281e2e}.slider input:hover::-webkit-slider-thumb{transform:scale(1.12)}.slider input:active::-webkit-slider-thumb{cursor:grabbing;border-color:var(--accent)}.slider input:focus-visible::-webkit-slider-thumb{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}.slider input:focus-visible::-moz-range-thumb{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}.slider.dual input{pointer-events:none}.slider.dual input::-webkit-slider-thumb{pointer-events:auto}.slider.dual input::-moz-range-thumb{pointer-events:auto}.field-error{color:var(--danger);margin-top:2px;font-size:11px;line-height:1.5}.color-row{min-height:32px;color:var(--ink-2);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.color-tools{align-items:center;gap:2px;display:flex}.lock-button.icon-button{width:26px;height:26px;min-height:26px;color:var(--muted);opacity:0}.lock-button[aria-pressed=true]{color:var(--ink);background:0 0}.color-control:hover .lock-button,.color-control:focus-within .lock-button,.lock-button[aria-pressed=true]{opacity:1}.color-chip{border-radius:var(--radius-sm);background:var(--well);border:1px solid #0000;align-items:center;gap:6px;height:28px;padding:0 4px;transition:border-color .12s;display:flex}.color-chip:hover{border-color:var(--border-strong)}.color-chip:focus-within{background:var(--raised);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.color-swatch{cursor:pointer;border-radius:5px;flex:none;width:20px;height:20px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #0000001f}.color-swatch input{opacity:0;cursor:pointer;width:36px;height:36px;position:absolute;inset:-8px}.hex-input{letter-spacing:.02em;width:62px;height:24px;color:var(--ink);text-transform:uppercase;background:0 0;border:0;outline:0;padding:0;font-family:ui-monospace,SF Mono,Consolas,monospace;font-size:11px}.hex-input[aria-invalid=true]{color:var(--danger)}.toggle{min-height:32px;color:var(--ink-2);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.toggle input{appearance:none;background:var(--track);cursor:pointer;border-radius:8px;flex:none;width:28px;height:16px;margin:0;transition:background .15s;position:relative}.toggle input:before{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #1e281e40}.toggle input:checked{background:var(--accent)}.toggle input:checked:before{transform:translate(12px)}.segmented-control{background:var(--well);border-radius:var(--radius);gap:2px;padding:2px;display:flex}.segmented-control button{min-height:26px;color:var(--ink-2);border-radius:var(--radius-sm);white-space:nowrap;flex:1;padding:0 10px;font-size:12px}.segmented-control button:hover{color:var(--ink)}.segmented-control button[aria-checked=true]{background:var(--raised);color:var(--ink);box-shadow:var(--shadow-sm), 0 0 0 1px var(--border);font-weight:600}.field-row .segmented-control{min-width:120px}.param-note{color:var(--warn);font-variant-numeric:tabular-nums;margin-right:2px;font-size:12px;font-weight:600}.option-rows{border-top:1px solid var(--border);flex-direction:column;gap:2px;padding-top:14px;display:flex}.button-row{gap:8px;display:flex}.button-row .secondary:first-child{flex:1}.palette-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.palette{border-radius:var(--radius-sm);height:26px;min-height:26px;padding:0;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #00000014}.palette i{flex:1}.palette i:first-child{flex:1.3}.palette:hover:not(:disabled){transform:translateY(-1px)}.palette[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:2px}.dimension-row{align-items:flex-start;gap:6px;display:flex}.dimension-row .number-field{flex:1;min-width:0}.times{color:var(--muted);line-height:30px}.value-box{background:var(--well);border-radius:var(--radius-sm);align-items:center;gap:6px;padding-left:9px;display:flex}.value-box>span{color:var(--muted);font-size:10px;font-weight:600}.value-box .value-input{text-align:left;background:0 0;flex:1;width:100%;min-width:0;height:30px;margin-left:-7px}.value-box:focus-within .value-input{background:var(--raised)}.hint{color:var(--muted);font-size:11px;line-height:1.7}.modal{border:1px solid var(--border);background:var(--surface);width:480px;max-width:calc(100vw - 32px);color:var(--ink);border-radius:14px;max-height:90dvh;padding:0;box-shadow:0 24px 80px #1e281e29}.modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1e281e33}.modal-inner{padding:20px 24px 24px}.modal-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modal p{font-size:12px}.modal-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;display:flex}.modal-actions>button:not(.primary){border-color:var(--border);background:var(--raised);font-size:12px}.export-fields{border:0;flex-direction:column;gap:16px;min-width:0;margin:0;padding:0;display:flex}.export-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.export-field,.export-label{color:var(--muted);flex-direction:column;gap:8px;font-size:11px;font-weight:600;display:flex}.export-label select{width:100%;height:34px;color:var(--ink);font-weight:400}.export-dimensions{color:var(--muted);align-items:end;gap:10px;font-size:11px;font-weight:600;display:flex}.export-dimensions label{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.export-dimensions input{border-radius:var(--radius-sm);background:var(--well);width:100%;height:34px;color:var(--ink);font-variant-numeric:tabular-nums;border:1px solid #0000;padding:0 10px;font-size:12px;font-weight:400}.export-dimensions input:focus{background:var(--raised);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring);outline:0}.export-dimensions>span{padding-bottom:9px}.export-fields>.field-row input[type=number]{border-radius:var(--radius-sm);background:var(--well);text-align:right;border:1px solid #0000;width:80px;height:30px;padding:0 8px}.format-note{background:var(--accent-soft);border-radius:var(--radius-sm);color:var(--accent);padding:8px 12px;font-size:11px!important}.export-success{color:var(--accent);margin-top:12px;font-size:11px!important}.busy{color:var(--accent);align-items:center;gap:8px;font-size:12px;display:flex}.spin{animation:1s linear infinite spin}.loading-overlay{inset:var(--header-h) 0 0;background:color-mix(in srgb, var(--app) 55%, transparent);z-index:5;cursor:wait;flex-direction:column;justify-content:center;align-items:center;gap:14px;animation:.2s .25s both appear;display:flex;position:fixed}.loading-overlay button{border-color:var(--border);background:var(--raised);font-size:12px}.loading-dot{background:var(--accent);border-radius:50%;width:9px;height:9px;animation:.8s infinite alternate pulse}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mobile-panel-controls{display:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{to{opacity:.3}}@keyframes appear{0%{opacity:0}}@media (width>=1600px){:root{--left-width:288px;--right-width:296px;--pad:24px}.motif-button{height:52px}}@media (width<=1100px){:root{--left-width:232px;--right-width:248px;--pad:16px}.library{padding:0 12px 16px}.tabs{margin:0 -12px 12px;padding:0 12px}.motif-button{height:44px;padding:12px}.canvas-space{padding-left:24px;padding-right:24px}}@media (width<=850px){.editor{grid-template-columns:1fr}.library,.inspector{z-index:4;box-shadow:var(--shadow-float);display:none;position:absolute;top:52px;bottom:0}.library{width:var(--left-width);left:0}.inspector{width:var(--right-width);right:0}.show-library .library,.show-inspector .inspector{flex-direction:column;display:flex}.show-library .library{display:block}.mobile-panel-controls{pointer-events:none;z-index:4;justify-content:space-between;display:flex;position:absolute;inset:10px 12px auto}.mobile-panel-controls button{pointer-events:auto;background:var(--surface);border-color:var(--border);box-shadow:var(--shadow-sm)}.canvas-space{padding-top:56px}.header{gap:8px;padding:0 10px 0 16px}.header-actions{gap:2px}.export-button{margin-left:4px;padding:0 12px}}@media (width<=560px){.zoom-group,.zoom-group+.dock-sep,.toolbar-sep{display:none}.header .icon-button{width:30px}.export-button svg{display:none}.wordmark{font-size:21px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.artboard{overflow:visible}.artboard-wrap.ghosted .artboard{box-shadow:none}.artboard-wrap.ghosted .ghost-veil{fill:var(--ghost-veil)}.tile-edge{stroke:var(--border-strong);stroke-width:1px}.handle{fill:#fff;stroke:var(--select);stroke-width:1.25px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1.5px #1e281e40)}.handle.scale{cursor:nwse-resize}.handle.rotate{cursor:grab}.handle:hover{fill:var(--accent-soft)}.canvas-viewport.can-pan,.canvas-viewport.can-pan .artboard,.canvas-viewport.can-pan [data-instance]{cursor:grab!important}.canvas-viewport.panning,.canvas-viewport.panning *{cursor:grabbing!important}.section-action.icon-button{width:26px;height:26px;min-height:26px;color:var(--muted)}.my-palettes{flex-direction:column;gap:8px;display:flex}.subhead{color:var(--muted);font-size:11px}.my-palette{display:flex;position:relative}.my-palette .palette{flex:1}.palette-remove{background:var(--ink);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;min-height:16px;padding:0;display:none;position:absolute;top:-6px;right:-6px}.my-palette:hover .palette-remove,.palette-remove:focus-visible{display:flex}.palette.palette-add{box-shadow:none;border:1px dashed var(--border-strong);color:var(--muted);justify-content:center;align-items:center}.palette.palette-add:hover:not(:disabled){border-color:var(--accent);color:var(--accent);transform:none}.modal.wide{width:760px}.shortcuts{flex-direction:column;margin:0;display:flex}.shortcuts>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:7px 0;font-size:12px;display:flex}.shortcuts>div:last-child{border-bottom:0}.shortcuts dt{color:var(--muted);flex:none;align-items:center;gap:4px;display:flex}.shortcuts dd{color:var(--ink-2);text-align:right;margin:0}kbd{background:var(--raised);border:1px solid var(--border-strong);min-width:22px;height:22px;box-shadow:0 1px 0 var(--border-strong);color:var(--ink);border-radius:5px;justify-content:center;align-items:center;padding:0 6px;font-family:inherit;font-size:11px;display:inline-flex}@media (width<=1100px){.project-name{display:none}}.notices{z-index:3;pointer-events:none;flex-direction:column;gap:8px;width:min(520px,100% - 32px);display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%)}.notice{pointer-events:auto;border-radius:var(--radius-lg);background:color-mix(in srgb, var(--warn-soft) 94%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--shadow-float);border:1px solid #ecdcbf;align-items:center;gap:12px;padding:8px 8px 8px 14px;animation:.18s ease-out notice-in;display:flex}.notice p{color:var(--warn);flex:1;font-size:12px;line-height:1.5}.notice.error{background:#fbeee9f0;border-color:#efd2c8}.notice.error p{color:var(--danger)}.notice .icon-button{width:28px;height:28px;min-height:28px;color:inherit}.notice-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.notice-actions .secondary{white-space:nowrap;min-height:28px;padding:0 10px;font-size:11px}@keyframes notice-in{0%{opacity:0;transform:translateY(-4px)}}@media (width<=560px){.notice{flex-direction:column;align-items:stretch}}.palette-panel{flex-direction:column;gap:4px;display:flex}.palette-actions{gap:6px;display:grid}.palette-actions .secondary{white-space:nowrap;min-height:30px;padding:0 8px;font-size:11px}.palette-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;display:grid}.palette-group>.library-heading{grid-column:1/-1}.palette-group .library-heading{border-top:0;margin:14px 0 4px;padding-top:0}.palette-item{display:flex;position:relative}.palette-item .palette-row{flex:1}.palette-item:hover .palette-remove,.palette-item .palette-remove:focus-visible{display:flex}.palette-item .palette-remove{top:2px;right:2px}.palette-row{border-radius:var(--radius);text-align:left;flex-direction:column;align-items:stretch;gap:5px;width:100%;min-height:0;padding:6px;display:flex}.palette-row:hover:not(:disabled){background:var(--well)}.palette-row[aria-pressed=true]{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-line)}.palette-strip{border-radius:5px;height:24px;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #00000014}.palette-strip i{flex:1}.palette-strip i:first-child{flex:1.6}.palette-name{color:var(--ink-2);padding-left:1px;font-size:11px}.palette-maker{border-radius:var(--radius);background:var(--well);flex-direction:column;gap:8px;margin-bottom:4px;padding:10px;display:flex}.maker-head{justify-content:space-between;align-items:baseline;display:flex}.maker-head .library-heading{border-top:0;margin:0;padding-top:0}.maker-hint{color:var(--muted);font-size:10px}.maker-strip{border-radius:6px;height:34px;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #00000014}.maker-swatch{border:0;border-radius:0;flex:1;justify-content:center;align-items:center;min-height:0;padding:0;display:flex}.maker-swatch:first-child{flex:1.4}.maker-swatch:disabled{opacity:1}.maker-swatch:hover:not(:disabled){box-shadow:inset 0 0 0 2px #fff9}.maker-swatch[aria-pressed=true]{box-shadow:inset 0 0 0 2px #0003}.maker-actions{grid-template-columns:1fr 1fr;gap:6px;display:grid}.maker-actions .secondary{min-height:30px;padding:0 8px;font-size:11px}.ratio-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.ratio-grid button{min-height:30px;color:var(--ink-2);background:var(--well);border-radius:var(--radius-sm);white-space:nowrap;padding:0 2px;font-size:11px}.ratio-grid button:hover{color:var(--ink);background:var(--well-strong)}.ratio-grid button[aria-checked=true]{background:var(--raised);color:var(--ink);box-shadow:var(--shadow-sm), 0 0 0 1px var(--border-strong);font-weight:600}.export-preview{border-radius:var(--radius);background:var(--well);flex-direction:column;align-items:center;gap:8px;margin:18px 0 0;padding:14px;display:flex}.export-preview img{max-width:100%;height:auto;display:block;box-shadow:0 1px 2px #1e281e14,0 4px 14px #1e281e14}.export-preview img.transparent{background:repeating-conic-gradient(#e2e0d9 0 25%, #fff 0 50%) 0 0 / 12px 12px}.export-preview figcaption{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.export-preview-empty{color:var(--muted);padding:24px 0;font-size:11px}.grid-counts{color:var(--ink-2);align-items:center;gap:8px;font-size:12px;display:flex}.stepper{border-radius:var(--radius);background:var(--well);align-items:center;gap:2px;padding:2px;display:inline-flex}.stepper button{width:28px;min-height:28px;color:var(--ink-2);border-radius:var(--radius-sm);padding:0;font-size:15px;line-height:1}.stepper button:hover:not(:disabled){background:var(--raised);color:var(--ink)}.stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:26px;font-size:13px;font-weight:600}.segmented-control button:disabled{opacity:.35;cursor:default}.preset-group .library-heading{border-top:0;margin:4px 0 8px;padding-top:0}.preset-group+.preset-group .library-heading{margin-top:10px}.notice{padding-left:6px}.notice .notice-close.icon-button{width:24px;height:24px;min-height:24px;color:inherit;opacity:.6;align-self:flex-start;margin-top:1px}.notice .notice-close.icon-button:hover{opacity:1;background:#00000010}.tiling{flex-shrink:0;display:block;box-shadow:0 1px 2px #1e281e0d,0 10px 36px #1e281e12}.grid-count{color:var(--muted);gap:4px;font-size:12px}.grid-count .stepper{background:0 0}.grid-count .stepper button{width:24px;min-height:26px}.grid-count .stepper output{min-width:16px}.subject-actions{gap:2px;margin-left:auto;display:flex}.subject-actions .icon-button{width:28px;height:28px;min-height:28px;color:var(--muted)}.motif-button.is-hidden svg{opacity:.3}.artboard [data-group]{transition:opacity .15s}.empty-start{z-index:2;border-radius:var(--radius-lg);background:color-mix(in srgb, var(--surface) 94%, transparent);border:1px solid var(--border);width:min(520px,100% - 48px);box-shadow:var(--shadow-float);text-align:center;flex-direction:column;align-items:center;gap:14px;padding:20px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-60%)}.empty-presets{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;display:grid}.empty-choice{min-height:0;box-shadow:none;color:var(--ink-2);white-space:nowrap;background:0 0;border:0;flex-direction:column;align-items:stretch;gap:6px;padding:0;font-size:11px;display:flex}.empty-choice:hover:not(:disabled){color:var(--ink);background:0 0}.empty-choice:hover .preset-card{box-shadow:0 0 0 2px var(--border-strong)}.blank-card{box-shadow:inset 0 0 0 1px var(--border-strong);background:#fff}.empty-actions{gap:8px;display:flex}.empty-actions .secondary{font-size:12px}.replace-picker{border-radius:var(--radius);background:var(--well);flex-direction:column;gap:6px;padding:10px;display:flex}.replace-head{color:var(--ink-2);justify-content:space-between;align-items:center;font-size:12px;display:flex}.replace-head .icon-button{width:24px;height:24px;min-height:24px}.replace-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;display:grid}.replace-grid+.replace-grid{border-top:1px solid var(--border);padding-top:6px}.replace-grid .motif-button{height:34px;padding:8px}.replace-grid .motif-button svg{max-width:18px;max-height:18px}.replace-grid .motif-button:disabled{opacity:.25}.replace-grid .motif-button[aria-pressed=true]:disabled{opacity:1}.motif-button[draggable=true]{cursor:grab}.used-motifs .motif-button.droppable{box-shadow:inset 0 0 0 1.5px var(--accent);border-style:dashed}.used-motifs .motif-button.drop-target{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.notice.drag-hint{background:color-mix(in srgb, var(--accent-soft) 96%, transparent);border-color:var(--accent-line)}.notice.drag-hint p{color:var(--accent)}.style-row{margin-bottom:4px}.secondary.tinted{box-shadow:none;color:var(--accent);background:#eef2e9;border-color:#0000;font-weight:500}.secondary.tinted:hover:not(:disabled){background:var(--accent-soft);border-color:#0000}.mix-colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;display:grid}.mix-colors .color-row{justify-content:flex-start}.save-form{flex-direction:column;gap:16px;display:flex}.save-name{color:var(--ink-2);flex-direction:column;gap:6px;font-size:12px;display:flex}.save-field{align-items:center;gap:6px;display:flex}.save-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--raised);min-width:0;height:34px;color:var(--ink);flex:1;padding:0 10px;font-size:13px}.save-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring);outline:0}.save-ext{color:var(--muted);font-size:12px}button.zoom-value{border-radius:var(--radius-sm);font-variant-numeric:tabular-nums;height:28px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;padding:0 6px;font-size:12px}button.zoom-value:hover{background:var(--well);color:var(--ink)}.app.mobile{min-height:0}.app.mobile .header{gap:8px;height:52px;padding:0 8px 0 14px}.m-editor{flex-direction:column;flex:1;min-height:0;display:flex}.m-editor .workspace{flex:1;min-height:120px}.app.mobile .canvas-space{padding:12px 16px 64px}.app.mobile .canvas-viewport,.app.mobile .artboard{touch-action:pan-x pan-y}.app.mobile .dock{bottom:24px}.app.mobile .dock .dock-sep{display:none}.app.mobile .dock-group:has(>.ghost-toggle:only-child){display:none}.app.mobile .dock .grid-count{margin-left:6px}.sheet{z-index:3;background:var(--surface);border:1px solid var(--border);border-bottom:0;border-radius:16px 16px 0 0;flex-direction:column;flex:none;height:44dvh;margin-top:-14px;display:flex;position:relative;box-shadow:0 -6px 24px #1e281e14}.sheet.collapsed{height:auto}.sheet-handle{background:0 0;border:0;flex:none;place-items:center;width:100%;height:22px;min-height:0;padding:0;display:grid}.sheet-handle i{background:var(--border-strong);border-radius:2px;width:36px;height:4px}.sheet-body{overscroll-behavior:contain;flex-direction:column;flex:1;min-height:0;padding:2px 16px 20px;display:flex;overflow:auto}.tabbar{background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom,0px);flex:none;grid-template-columns:repeat(4,1fr);display:grid}.tabbar button{min-height:52px;color:var(--muted);background:0 0;border:0;border-radius:0;font-size:12px;position:relative}.tabbar button[aria-selected=true]{color:var(--ink);font-weight:600}.tabbar button[aria-selected=true]:before{content:"";background:var(--ink);border-radius:1px;width:24px;height:2px;margin-left:-12px;position:absolute;top:-1px;left:50%}.inspector.embedded{width:auto;box-shadow:none;background:0 0;border:0;display:block;position:static;overflow:visible}.inspector.embedded .inspector-body{padding:8px 0}.sheet-shape{flex-direction:column;display:flex}.sheet-back{align-self:flex-start;margin:4px 0 0 -8px}.sheet .motif-grid,.sheet .used-motifs{grid-template-columns:repeat(6,1fr)}.sheet .motif-grid{margin-top:6px}.sheet .motif-button{height:50px;padding:14px}.sheet .preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet .preset-panel>.secondary.block{margin-top:6px}.app.mobile .slider,.app.mobile .slider input{height:28px}.app.mobile .slider input::-webkit-slider-runnable-track{height:28px}.app.mobile .slider input::-moz-range-track{height:28px}.app.mobile .slider input::-webkit-slider-thumb{width:22px;height:22px;margin-top:3px}.app.mobile .slider input::-moz-range-thumb{width:22px;height:22px}.app.mobile .slider:before{left:11px;right:11px}.app.mobile .value-input{height:32px;font-size:16px}.app.mobile .hex-input,.app.mobile .save-field input{font-size:16px}.app.mobile .segmented-control button{min-height:34px}.app.mobile .toggle{min-height:40px}.app.mobile .toggle input{border-radius:12px;width:40px;height:24px}.app.mobile .toggle input:before{width:20px;height:20px}.app.mobile .toggle input:checked:before{transform:translate(16px)}.app.mobile .secondary.block{min-height:42px}.sheet-body>.library-heading{order:-2;margin-top:6px}.sheet-body>.used-motifs{order:-1;margin-bottom:8px}
