.stitch-shell{font-family:var(--font-geist-sans), var(--font-noto-sans-kr), var(--font-noto-sans-jp), var(--font-noto-sans-tc), system-ui, sans-serif;background:var(--color-bg);min-height:100dvh;color:var(--color-fg);flex-direction:column;display:flex}.st-top{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-5);border-bottom:1px solid var(--color-border);min-height:52px;display:flex}.st-brand{align-items:baseline;gap:var(--space-3);min-width:0;display:flex}.st-name{letter-spacing:-.01em;white-space:nowrap;font-size:.9375rem;font-weight:600}.st-sub{color:var(--color-fg-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.8125rem;overflow:hidden}.st-top-right{align-items:center;gap:var(--space-3);flex-shrink:0;display:flex}.st-icon{border-radius:var(--radius-full);border:1px solid var(--color-border);background:var(--color-bg);width:34px;height:34px;color:var(--color-fg);cursor:pointer;justify-content:center;align-items:center;font-size:.875rem;display:inline-flex}.st-main{flex:1;grid-template-columns:minmax(0,1fr) 380px;min-height:0;display:grid}.st-stage{background:var(--color-bg);min-height:0;position:relative;overflow:hidden}.st-stage:focus-visible{outline-offset:-2px}.st-stage canvas{width:100%;height:100%;display:block}.st-panel{border-left:1px solid var(--color-border);background:var(--color-bg-subtle);padding:var(--space-5);gap:var(--space-6);flex-direction:column;min-height:0;display:flex;overflow-y:auto}.st-group{gap:var(--space-3);flex-direction:column;display:flex}.st-label{text-transform:uppercase;letter-spacing:.1em;color:var(--color-fg-subtle);font-size:.6875rem;font-weight:600}.st-row{align-items:center;gap:var(--space-2);display:flex}.st-row-wrap{flex-wrap:wrap}.st-input{min-width:0;height:40px;padding:0 var(--space-4);border-radius:var(--radius-lg);border:1px solid var(--color-border-strong);background:var(--color-bg);color:var(--color-fg);font:inherit;flex:1;font-size:.9375rem}.st-input::placeholder{color:var(--color-fg-subtle)}.st-btn{height:40px;padding:0 var(--space-4);border-radius:var(--radius-full);border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-fg);font:inherit;cursor:pointer;white-space:nowrap;font-size:.8125rem;font-weight:500}.st-btn-primary{background:var(--color-fg);color:var(--color-bg);border-color:var(--color-fg)}.st-row-between{justify-content:space-between}.st-swatches{align-items:center;gap:var(--space-2);display:inline-flex}.st-swatch{border:1px solid var(--color-border-strong);cursor:pointer;width:22px;height:22px;transition:outline-color var(--duration-fast) var(--easing-out);outline-offset:2px;border-radius:50%;outline:2px solid #0000;padding:0}.st-swatch[aria-pressed=true]{outline-color:var(--color-fg)}.st-btn-small{height:30px;padding:0 var(--space-3);font-size:.75rem}.st-time{font-family:var(--font-geist-mono), monospace;color:var(--color-fg-muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:.75rem}.st-warn{color:var(--color-fg-muted);margin:0;font-size:.8125rem}.st-hint{color:var(--color-fg-muted);margin:0;font-size:.8125rem;line-height:1.55}.st-seg{border-radius:var(--radius-full);border:1px solid var(--color-border);background:var(--color-bg);align-self:flex-start;gap:2px;padding:3px;display:inline-flex}.st-seg button{min-width:34px;height:30px;padding:0 var(--space-3);border-radius:var(--radius-full);color:var(--color-fg-muted);font:inherit;cursor:pointer;transition:background var(--duration-fast) var(--easing-out), color var(--duration-fast) var(--easing-out);background:0 0;border:none;font-size:.8125rem;font-weight:500}.st-seg button[aria-pressed=true]{background:var(--color-fg);color:var(--color-bg)}.st-seg-wrap{border-radius:var(--radius-lg);flex-wrap:wrap}.st-seg-wrap button{border-radius:var(--radius-md)}.st-seg-small button{height:26px;font-size:.75rem}.st-scrub{width:100%;accent-color:var(--color-fg);margin:0}.st-ticks{height:22px;margin-top:-2px;position:relative}.st-tick{background:var(--color-border-strong);border-radius:2px;height:3px;position:absolute;top:0}.st-tick-label{color:var(--color-fg-subtle);font-size:.6875rem;line-height:1;position:absolute;top:6px;left:0}.st-tick-finish{border-top:3px dotted var(--color-border-strong);background:0 0;height:0}.st-palette summary{cursor:pointer;color:var(--color-fg-muted);align-items:center;gap:var(--space-2);font-size:.8125rem;list-style:none;display:flex}.st-palette summary::-webkit-details-marker{display:none}.st-palette summary:before{content:"›";transition:transform var(--duration-fast) var(--easing-out);color:var(--color-fg-subtle);display:inline-block}.st-palette[open] summary:before{transform:rotate(90deg)}.st-palette .st-hint{margin-top:var(--space-2)}.st-palette-grid{margin-top:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:4px;display:grid}.st-palette-grid button{border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-bg);height:36px;color:var(--color-fg);font-family:var(--font-noto-serif-tc), var(--font-noto-serif-jp), var(--font-noto-serif-kr), serif;cursor:pointer;font-size:1rem}.st-palette-grid button:hover{border-color:var(--color-border-strong)}@media (max-width:880px){.st-main{grid-template-rows:56dvh auto;grid-template-columns:1fr}.st-panel{border-left:none;border-top:1px solid var(--color-border);overflow:visible}.st-sub{display:none}}.st-preview .st-top,.st-preview .st-panel{display:none}.st-preview .st-main{grid-template-columns:1fr}.st-sr{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
