.editor-caption-canvas{pointer-events:none;z-index:2;position:absolute;inset:0}.editor-title-canvas{pointer-events:none;z-index:3;position:absolute;inset:0}.editor-title-canvas canvas,.editor-caption-canvas canvas{width:100%;height:100%;display:block}.editor-caption-snap-guide{pointer-events:none;background:var(--warning);position:absolute;box-shadow:0 0 2px #000000d9}.editor-caption-snap-guide.guide-x{width:1px;inset-block:0;transform:translate(-50%)}.editor-caption-snap-guide.guide-y{height:1px;inset-inline:0;transform:translateY(-50%)}.editor-caption-hit{cursor:grab;pointer-events:auto;touch-action:none;background:0 0;border:0;border-radius:4px;padding:0;position:absolute}.editor-caption-hit:hover,.editor-caption-hit:focus-visible{outline:1px solid var(--primary);outline-offset:2px}.editor-caption-selection{z-index:1;box-sizing:content-box;border:2px solid var(--primary);pointer-events:none;border-radius:6px;margin:-4px;padding:4px;position:absolute}.editor-caption-move,.editor-caption-resize{pointer-events:auto;touch-action:none;border:0;padding:0;position:absolute}.editor-caption-move{cursor:grab;background:0 0;inset:0}.editor-caption-canvas[data-dragging]{cursor:grabbing;-webkit-user-select:none;user-select:none}.editor-caption-canvas[data-dragging] .editor-caption-move,.editor-caption-canvas[data-dragging] .editor-caption-hit{cursor:grabbing}.editor-caption-canvas[data-dragging=size] .editor-caption-move,.editor-caption-canvas[data-dragging=size] .editor-caption-hit{cursor:nwse-resize}.editor-caption-resize{cursor:nwse-resize;background:0 0;border-radius:5px;place-items:center;width:24px;height:24px;display:grid;bottom:-12px;right:-12px}.editor-caption-resize:after{border:2px solid var(--background);background:var(--primary);content:"";border-radius:3px;width:10px;height:10px}.editor-caption-move:focus-visible,.editor-caption-resize:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.editor-caption-arrangements{--arrangement-half-width:min(calc(var(--arrangement-width) / 2), calc(50% - 4px));z-index:2;left:clamp(var(--arrangement-half-width), var(--arrangement-center), calc(100% - var(--arrangement-half-width)));width:min(var(--arrangement-width), calc(100% - 8px));border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:3px;padding:3px;display:flex;position:absolute;transform:translate(-50%,-100%);box-shadow:0 2px 8px #00000038}.editor-caption-arrangements[data-below]{transform:translate(-50%)}.editor-caption-arrangement-button{min-width:0;height:28px;color:var(--foreground);pointer-events:auto;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:1 1 0;place-items:center;padding:0;display:grid}.editor-caption-arrangement-button:hover{background:var(--accent)}.editor-caption-arrangement-button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.editor-caption-arrangement-button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.editor-caption-arrangement-icon{flex:0 0 20px;align-content:center;gap:2px;width:20px;min-height:16px;display:inline-grid}.editor-caption-arrangement-row{justify-content:center;gap:2px;display:flex}.editor-caption-arrangement-row>span{background:currentColor;border-radius:2px;height:3px}.editor-caption-preview-controls{color:var(--muted-foreground);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 12px;font-size:12px;display:flex}.editor-caption-scope{align-items:center;gap:6px;display:inline-flex}.editor-caption-scope button{border:1px solid var(--border);background:var(--background);min-height:29px;color:var(--foreground);font:inherit;cursor:pointer;border-radius:6px;padding:0 8px}.editor-caption-scope button[aria-pressed=true]{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground)}.editor-design-panel{gap:20px;display:grid}.editor-design-section{gap:8px;display:grid}.editor-design-section h3{color:var(--foreground);margin:0;font-size:13px;font-weight:600}.editor-design-hint{color:var(--muted-foreground);margin:0;font-size:12px;line-height:1.45}.editor-design-error{color:var(--destructive);margin:0;font-size:12px}.editor-design-collections{flex-wrap:wrap;gap:6px;display:flex}.editor-design-chip{border:1px solid var(--border);background:var(--surface);min-height:30px;color:var(--foreground);cursor:pointer;border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:500}.editor-design-chip:hover{background:var(--surface-hover)}.editor-design-chip[aria-selected=true]{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground)}.editor-design-chip:focus-visible,.editor-design-card:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.editor-design-chip:disabled,.editor-design-card:disabled{cursor:not-allowed;opacity:.6}.editor-design-grid{grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:0;list-style:none;display:grid}.editor-design-card{width:100%;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border:0;gap:4px;padding:0;display:grid}.editor-design-thumb{border:1px solid var(--border);background:#0c0b0a;border-radius:8px;width:100%;display:block}.editor-design-card:hover .editor-design-thumb{border-color:var(--muted-foreground)}.editor-design-card[aria-pressed=true] .editor-design-thumb{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.editor-design-name{font-size:12px;font-weight:600;line-height:1.3}.editor-design-meta{color:var(--muted-foreground);font-size:11px}.editor-design-grid{--sheet-bg:color-mix(in srgb, var(--primary) 13%, var(--surface))}.editor-design-grid li.is-open{position:relative}.editor-design-grid li.is-open:before{content:"";background:var(--sheet-bg);border-radius:12px 12px 0 0;position:absolute;inset:-6px -6px -11px}.editor-design-grid li.is-open>*{position:relative}.editor-design-sheet{grid-column:1/-1;margin:0 -6px}.editor-sheet{background:var(--sheet-bg);border-radius:12px;gap:10px;padding:8px 12px 12px;display:grid}.editor-design-sheet[data-edge=start] .editor-sheet{border-top-left-radius:0}.editor-design-sheet[data-edge=end] .editor-sheet{border-top-right-radius:0}.editor-sheet-bar{align-items:center;gap:4px;min-height:24px;display:flex}.editor-sheet-kicker{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;flex:1;font-size:10.5px;font-weight:700}.editor-sheet-link{min-height:24px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:0 7px;font-size:11.5px;display:inline-flex}.editor-sheet-icon{width:24px;height:24px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.editor-sheet-link:hover,.editor-sheet-icon:hover{background:color-mix(in srgb, var(--foreground) 8%, transparent);color:var(--foreground)}.editor-sheet-link:focus-visible,.editor-sheet-icon:focus-visible,.editor-sheet-colour:focus-visible,.editor-sheet-segment button:focus-visible,.editor-swatch-pick:focus-visible,.editor-sheet-select [data-slot=select-trigger]:focus-visible,.editor-sheet-field [data-slot=select-trigger]:focus-visible,.editor-sheet-more>summary:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.editor-sheet-line{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.editor-sheet-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:8px;display:grid}.editor-sheet-field{gap:4px;min-width:0;display:grid}.editor-sheet-field>span{color:var(--muted-foreground);font-size:12px}.editor-sheet-select{flex:140px;min-width:0;display:flex}.editor-sheet-select [data-slot=select-trigger],.editor-sheet-field [data-slot=select-trigger]{background:var(--background);width:100%;height:36px;color:var(--foreground);cursor:pointer;border:0;border-radius:8px;padding:0 8px 0 10px;font-size:13px}.editor-sheet-select [data-slot=select-trigger]{height:30px;font-size:14px}.editor-sheet-segment{background:var(--background);border-radius:8px;padding:2px;display:inline-flex}.editor-sheet-weights{flex-wrap:wrap}.editor-sheet-segment button{height:26px;color:var(--muted-foreground);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:0 8px;font-size:11.5px;display:inline-flex}.editor-sheet-segment button:hover{color:var(--foreground)}.editor-sheet-segment button[aria-checked=true],.editor-sheet-segment button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.editor-sheet-outline{color:#0000;-webkit-text-stroke:1px var(--muted-foreground);font-weight:800}.editor-sheet-segment button[aria-pressed=true] .editor-sheet-outline{-webkit-text-stroke-color:var(--primary-foreground)}.editor-sheet-outline[data-weight=off]{color:inherit;-webkit-text-stroke-width:0}.editor-sheet-outline[data-weight=bold]{-webkit-text-stroke-width:2px}.editor-sheet-size{align-items:center;gap:8px;display:flex}.editor-sheet-name{width:44px;color:var(--muted-foreground);font-size:11.5px}.editor-sheet-size input[type=range]{appearance:none;background:linear-gradient(to right, var(--primary) var(--fill,50%), color-mix(in srgb, var(--foreground) 16%, transparent) var(--fill,50%)) center / 100% 4px no-repeat;cursor:pointer;border-radius:999px;flex:1;min-width:0;height:28px}.editor-sheet-size input[type=range]:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.editor-sheet-size input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--foreground);border:0;border-radius:999px;width:14px;height:14px;box-shadow:0 1px 3px #0006}.editor-sheet-size input[type=range]::-moz-range-thumb{background:var(--foreground);border:0;border-radius:999px;width:14px;height:14px}.editor-sheet-size output{min-width:34px;color:var(--foreground);font-variant-numeric:tabular-nums;text-align:right;font-size:11.5px}.editor-sheet-percent{background:var(--background);min-height:28px;color:var(--foreground);font-variant-numeric:tabular-nums;border-radius:6px;flex:none;align-items:center;gap:2px;padding:0 7px;font-size:12px;display:inline-flex}.editor-sheet-percent:focus-within{outline:2px solid var(--ring);outline-offset:1px}.editor-sheet-percent input{width:3ch;color:inherit;font:inherit;text-align:right;background:0 0;border:0;outline:none;padding:0}.editor-sheet-percent span{color:var(--muted-foreground)}.editor-sheet-colour{background:var(--background);height:28px;color:var(--foreground);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:6px;padding:0 10px 0 4px;font-size:11.5px;display:inline-flex}.editor-sheet-colour[aria-expanded=true]{box-shadow:0 0 0 1.5px var(--primary)}.editor-sheet-dot{background:var(--c);border-radius:999px;width:20px;height:20px;box-shadow:inset 0 0 0 1px #0000004d,0 0 0 1px #ffffff1f}.editor-swatches{background:var(--background);border-radius:10px;gap:8px;padding:10px;display:grid}.editor-swatches-grid{grid-template-columns:repeat(auto-fill,minmax(22px,1fr));gap:7px;display:grid}.editor-swatch-pick{aspect-ratio:1;background:var(--c);cursor:pointer;border:0;border-radius:999px;min-width:22px;transition:transform .12s;position:relative;box-shadow:inset 0 0 0 1px #0000004d,0 0 0 1px #ffffff1a}.editor-swatch-pick:hover{transform:scale(1.12)}.editor-swatch-pick[aria-pressed=true]{box-shadow:0 0 0 2px var(--background), 0 0 0 3.5px var(--foreground)}.editor-swatch-default{border:2px solid var(--background);background:var(--primary);border-radius:999px;width:8px;height:8px;position:absolute;bottom:-2px;right:-2px}.editor-swatches-hex{align-items:center;gap:8px;display:flex}.editor-swatches-hex span{background:var(--c);border-radius:6px;width:22px;height:22px;box-shadow:inset 0 0 0 1px #0000004d}.editor-swatches-hex input{background:var(--surface);min-width:0;height:26px;color:var(--foreground);text-transform:uppercase;border:0;border-radius:6px;flex:1;padding:0 8px;font-family:ui-monospace,monospace;font-size:12px}.editor-swatches-hex input:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.editor-swatches-hex .editor-sheet-link{color:var(--primary);font-weight:600}.editor-swatches-eyedropper{background:var(--surface);height:28px;color:var(--foreground);flex:0 0 28px}.editor-swatches-eyedropper[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.editor-swatches-error{color:var(--foreground);margin:0;font-size:11.5px}.editor-sheet-more>summary{color:var(--muted-foreground);cursor:pointer;align-items:center;gap:4px;font-size:11.5px;list-style:none;display:inline-flex}.editor-sheet-more>summary:hover{color:var(--foreground)}.editor-sheet-more>summary::-webkit-details-marker{display:none}.editor-sheet-more[open]>summary svg{transform:rotate(180deg)}.editor-sheet-more[open]{gap:8px;display:grid}.editor-sheet-section,.editor-sheet-advanced{border-top:1px solid var(--border)}.editor-sheet-section>summary,.editor-sheet-advanced>summary{min-height:38px;color:var(--foreground);border-radius:4px;flex-direction:row-reverse;justify-content:space-between;font-size:13px;font-weight:600;display:flex}.editor-sheet-section[open],.editor-sheet-advanced[open]{gap:0}.editor-sheet-section-content{gap:8px;padding-bottom:6px;display:grid}.editor-sheet-toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding-inline-end:8px;font-size:12px;display:flex}.editor-sheet-toggle:has([data-disabled]){cursor:default}.editor-sheet-glow{border-bottom:1px solid var(--border);gap:4px;padding-bottom:4px;display:grid}.editor-sheet-section .editor-sheet-name{width:clamp(76px,35%,134px)}.editor-sheet-section .editor-sheet-size output{min-width:54px}@media (prefers-reduced-motion:reduce){.editor-swatch-pick{transition:none}}.editor-design-custom-dot{background:var(--primary);vertical-align:middle;border-radius:999px;width:6px;height:6px;margin-left:5px;display:inline-block}.editor-caption-word.is-hero{-webkit-text-decoration:underline 2px var(--primary);text-decoration:underline 2px var(--primary);text-underline-offset:3px;font-weight:650}.editor-caption-word.is-mark{color:var(--primary)}.editor-caption-word[data-screen-start]:before{content:"";background:color-mix(in srgb, var(--muted-foreground) 70%, transparent);vertical-align:-.12em;pointer-events:none;border-radius:1px;width:1.5px;height:.95em;margin:0 5px 0 1px;display:inline-block}.editor-caption-badges{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.editor-caption-badge{background:color-mix(in srgb, var(--primary) 16%, transparent);min-height:18px;color:var(--primary);border-radius:999px;align-items:center;padding:0 7px;font-size:10.5px;font-weight:600;display:inline-flex}.editor-caption-badge.is-quiet{background:color-mix(in srgb, var(--muted-foreground) 14%, transparent);color:var(--muted-foreground)}.editor-highlight-picker{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding-bottom:8px;font-size:12px;display:flex}.editor-highlight-picker>span{color:var(--foreground);font-weight:600;display:grid}.editor-highlight-picker small{color:var(--muted-foreground);font-size:11px;font-weight:400}.editor-sheet{animation:.16s ease-out editor-sheet-in}@keyframes editor-sheet-in{0%{opacity:0;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.editor-sheet{animation:none}}.editor-sheet-section>summary{gap:8px}.editor-sheet-section>summary>span:first-of-type{flex:1}.editor-sheet-changed{background:var(--primary);min-width:16px;height:16px;color:var(--primary-foreground);border-radius:999px;place-items:center;padding:0 4px;font-size:10px;font-weight:600;line-height:1;display:inline-grid}.editor-sheet-option-note{color:var(--muted-foreground);font-family:var(--font-app-sans);letter-spacing:normal;margin-left:6px;font-size:10px}.editor-swatches-native{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:6px;width:28px;height:28px;padding:2px}.editor-swatches-native:disabled{cursor:not-allowed;opacity:.6}
