.all-tools{align-items:center;display:flex;position:relative}.all-tools__trigger{height:24px;font:inherit;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:6px;padding:0 8px;font-size:12px;line-height:1;transition:background-color .15s ease-out,color .15s ease-out,border-color .15s ease-out;display:inline-flex}.all-tools__trigger:hover{color:var(--text);background:var(--surface)}.all-tools__trigger--open{color:var(--text);background:var(--surface);border-color:var(--border)}.all-tools__trigger:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.all-tools__trigger-icon{flex:none;width:14px;height:14px}.all-tools__panel{z-index:100;width:540px;max-height:calc(100vh - 48px);color:var(--text);background:var(--panel);border:1px solid var(--border);transform-origin:100% 0;border-radius:6px;padding:6px 8px 0;animation:.14s cubic-bezier(.22,1,.36,1) all-tools-in;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 8px 24px #00000059}@keyframes all-tools-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.all-tools__panel{animation:none}.all-tools__trigger,.all-tools__tile{transition:none}}.all-tools__note{color:var(--text-muted);background:var(--surface-sunken);border-radius:4px;margin:4px 2px 2px;padding:6px 8px;font-size:11.5px;line-height:1.4}.all-tools__group+.all-tools__group{border-top:1px solid var(--border)}.all-tools__group{padding:6px 0 8px}.all-tools__group-title{color:var(--text-dim);margin:2px 4px 6px;font-size:11px;font-weight:600;line-height:1.3}.all-tools__grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;margin:0;padding:0;list-style:none;display:grid}.all-tools__tile{width:100%;min-height:66px;font:inherit;text-align:center;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:6px;flex-direction:column;align-items:center;gap:5px;padding:8px 4px 6px;font-size:11.5px;line-height:1.25;text-decoration:none;transition:background-color .12s ease-out;display:flex;position:relative}.all-tools__tile:hover{background:var(--surface)}.all-tools__tile:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;background:var(--surface)}.all-tools__icon{border-radius:7px;flex:none;place-items:center;width:32px;height:32px;display:grid}.all-tools__icon svg{width:18px;height:18px}.all-tools__tile--here .all-tools__icon{color:var(--accent-text);background:color-mix(in srgb, var(--accent) 16%, transparent)}.all-tools__tile--ext .all-tools__icon{color:var(--text-muted);background:var(--surface-sunken)}.all-tools__tile--ext:hover .all-tools__icon{color:var(--text)}.all-tools__ext{width:11px;height:11px;color:var(--text-faint);position:absolute;top:7px;right:10px}.all-tools__tile--ext:hover .all-tools__ext{color:var(--text-muted)}.all-tools__name{-webkit-line-clamp:2;overflow-wrap:break-word;max-width:100%;word-break:var(--ko-word-break,normal);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.all-tools__sr{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.all-tools__footer{background:var(--panel-2);border-top:1px solid var(--border);border-radius:0 0 6px 6px;justify-content:space-between;align-items:center;gap:12px;margin:0 -8px;padding:8px 12px;display:flex;position:sticky;bottom:0}.all-tools__legend{color:var(--text-dim);flex-wrap:wrap;gap:4px 12px;font-size:11px;display:flex}.all-tools__legend-item{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.all-tools__legend-swatch{background:color-mix(in srgb, var(--accent) 45%, transparent);border-radius:3px;width:10px;height:10px}.all-tools__legend-ext{width:11px;height:11px}.all-tools__see-all{color:var(--accent-text);white-space:nowrap;border-radius:3px;flex:none;font-size:12px;font-weight:600;text-decoration:none}.all-tools__see-all:hover{text-underline-offset:2px;text-decoration:underline}.all-tools__see-all:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (max-width:1100px){.all-tools__trigger{padding:0 5px}.all-tools__trigger-label{display:none}.all-tools__panel{width:400px}.all-tools__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:820px){.all-tools__trigger{justify-content:center;width:36px;height:36px;padding:0}.all-tools__trigger-icon{width:18px;height:18px}.all-tools__panel{width:auto;max-height:calc(100dvh - 52px);position:fixed;top:40px;left:6px;right:6px}.all-tools__tile{min-height:72px}}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.all-tools__footer{flex-wrap:wrap;row-gap:6px}.all-tools__see-all{white-space:normal;margin-left:auto}@supports (animation-timeline:scroll()){.all-tools__panel{scroll-timeline:--all-tools-scroll block}.all-tools__footer{animation:linear both all-tools-more-below;animation-timeline:--all-tools-scroll;animation-range:max(0px,100% - 24px) 100%}}}@keyframes all-tools-more-below{0%{box-shadow:0 -10px 14px -8px #0000008c}to{box-shadow:none}}@media (max-width:820px){.menu-bar__end{gap:0;padding-left:4px}}.work-mode{align-items:center;display:flex;position:relative}.work-mode__trigger{height:24px;font:inherit;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:6px;padding:0 6px 0 8px;font-size:12px;line-height:1;transition:background-color .15s ease-out,color .15s ease-out,border-color .15s ease-out;display:inline-flex}.work-mode__trigger:hover{color:var(--text);background:var(--surface)}.work-mode__trigger--open{color:var(--text);background:var(--surface);border-color:var(--border)}.work-mode__trigger:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.work-mode__trigger-icon{flex:none;width:14px;height:14px}.work-mode__caret{opacity:.8;flex:none;width:8px;height:6px}.work-mode__menu{z-index:100;width:300px;max-height:calc(100vh - 48px);color:var(--text);background:var(--panel);border:1px solid var(--border);transform-origin:100% 0;border-radius:6px;flex-direction:column;padding:4px;animation:.14s cubic-bezier(.22,1,.36,1) work-mode-in;display:flex;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 8px 24px #00000059}@keyframes work-mode-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.work-mode__item{width:100%;min-height:40px;font:inherit;text-align:left;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:10px;padding:6px 8px;font-size:12.5px;display:flex}.work-mode__item:hover:not(:disabled){background:var(--surface);outline:none}.work-mode__item:focus-visible{background:var(--surface);outline:none}.work-mode__item:disabled{color:var(--text-faint);cursor:default}.work-mode__item--plain{min-height:32px;padding-left:40px}.work-mode__item-icon{width:20px;height:20px;color:var(--text-muted);flex:none}.work-mode__item--on .work-mode__item-icon{color:var(--accent-text)}.work-mode__item-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.work-mode__item-name{font-weight:600}.work-mode__item-desc{color:var(--text-dim);white-space:normal;font-size:11.5px;line-height:1.35}.work-mode__check{width:14px;height:14px;color:var(--accent-text);flex:none}.work-mode__sep{background:var(--border);height:1px;margin:4px 6px}@media (max-width:1100px){.work-mode__trigger{padding:0 5px}.work-mode__trigger-label,.work-mode__caret{display:none}}@media (max-width:820px){.work-mode__trigger{justify-content:center;width:36px;height:36px;padding:0}.work-mode__trigger-icon{width:18px;height:18px}.work-mode__menu{width:auto;max-height:calc(100dvh - 52px);position:fixed;top:40px;left:6px;right:6px}.work-mode__item{min-height:52px;font-size:14px}.work-mode__item-desc{font-size:12.5px}.work-mode__item--plain{min-height:44px}}.mode-chooser{z-index:90;box-sizing:border-box;width:380px;color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:14px 14px 12px;animation:.18s cubic-bezier(.22,1,.36,1) work-mode-in;position:fixed;top:40px;right:12px;box-shadow:0 12px 32px #0006}.mode-chooser__head{align-items:center;gap:8px;margin-bottom:10px;display:flex}.mode-chooser__title{flex:1;margin:0;font-size:15px;font-weight:650;line-height:1.3}.mode-chooser__close{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.mode-chooser__close:hover{color:var(--text);background:var(--surface)}.mode-chooser__close:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.mode-chooser__close svg{width:14px;height:14px}.mode-chooser__grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.mode-chooser__option{min-height:84px;font:inherit;text-align:left;color:var(--text);background:var(--surface-sunken);border:1px solid var(--border);cursor:pointer;border-radius:6px;flex-direction:column;align-items:flex-start;gap:4px;padding:10px;transition:border-color .15s ease-out,background-color .15s ease-out;display:flex}.mode-chooser__option:hover{border-color:var(--text-faint)}.mode-chooser__option:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.mode-chooser__option--on{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.mode-chooser__icon{width:22px;height:22px;color:var(--text-muted)}.mode-chooser__option--on .mode-chooser__icon{color:var(--accent-text)}.mode-chooser__label{word-break:keep-all;font-size:13px;font-weight:600;line-height:1.3}.mode-chooser__mode{color:var(--text-dim);word-break:keep-all;font-size:11.5px;line-height:1.3}.mode-chooser__hint{color:var(--text-dim);margin:10px 2px 0;font-size:11.5px;line-height:1.4}@media (max-width:820px){.mode-chooser{width:auto;top:auto;left:8px;right:8px;bottom:calc(38px + env(safe-area-inset-bottom,0px));padding:12px 12px 10px}.mode-chooser__option{min-height:76px;padding:10px}.mode-chooser__label{font-size:14px}.mode-chooser__mode{font-size:12px}.mode-chooser__close{width:40px;height:40px;margin:-6px -6px -6px 0}}.start-mode{justify-content:center;margin-top:6px;display:flex;position:relative}.start-mode__trigger{min-height:30px;font:inherit;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;white-space:nowrap;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:4px 9px 4px 12px;font-size:12.5px;line-height:1.2;transition:background-color .15s ease-out,color .15s ease-out,border-color .15s ease-out;display:inline-flex}.start-mode__trigger:hover{color:var(--text);background:var(--panel-2);border-color:var(--text-faint)}.start-mode__trigger--open{color:var(--text);background:var(--panel-2);border-color:var(--accent)}.start-mode__trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.start-mode__prefix{color:var(--text-dim)}.start-mode__icon{width:14px;height:14px;color:var(--accent-text);flex:none}.start-mode__value{color:var(--text);font-weight:600}.start-mode__caret{opacity:.8;flex:none;width:8px;height:6px}.start-mode__current{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.start-mode__menu{z-index:20;box-sizing:border-box;text-align:left;cursor:default;width:300px;max-width:calc(100vw - 32px);color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:6px;flex-direction:column;padding:4px;animation:.14s cubic-bezier(.22,1,.36,1) start-mode-in;display:flex;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000059}@keyframes start-mode-in{0%{opacity:0;transform:translate(-50%,-4px)}to{opacity:1;transform:translate(-50%)}}@media (max-width:820px){.start-mode{flex-direction:column;align-self:stretch;align-items:center}.start-mode__trigger{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;border-radius:20px;flex-wrap:wrap;justify-content:center;row-gap:2px;max-width:100%;min-height:40px;padding:6px 12px 6px 14px;font-size:13.5px}.start-mode__icon{width:16px;height:16px}.start-mode__menu{width:auto;max-width:none;box-shadow:none;align-self:stretch;margin-top:6px;animation-name:work-mode-in;position:static;transform:none}body:has(.mode-chooser) .start-mode{visibility:hidden}}@media (prefers-reduced-motion:reduce){.work-mode__menu,.mode-chooser,.start-mode__menu{animation:none}.work-mode__trigger,.mode-chooser__option,.start-mode__trigger{transition:none}}.tool-flyout--more{max-height:calc(100vh - 16px);overflow-y:auto}.tool-flyout__heading{color:var(--text-dim);white-space:nowrap;padding:4px 8px 6px;font-size:11px;font-weight:600}.tool-flyout-item--footer{font:inherit;color:var(--accent-text);border-top:1px solid var(--border);border-radius:0 0 4px 4px;justify-content:center;margin-top:4px;padding:8px;font-size:12px}.dialog-overlay{z-index:100;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.dialog{background:var(--panel);border:1px solid var(--border);border-radius:6px;min-width:320px;max-width:96vw;max-height:92vh;padding:16px;position:relative;overflow:auto;box-shadow:0 8px 32px #0006}.dialog.dialog--nudge{animation:.26s cubic-bezier(.36,.07,.19,.97) both dialog-nudge}@keyframes dialog-nudge{0%,to{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(5px)}60%{transform:translate(-3px)}80%{transform:translate(2px)}}@media (prefers-reduced-motion:reduce){.dialog.dialog--nudge{animation:.3s ease-out both dialog-nudge-flash}}@keyframes dialog-nudge-flash{0%,60%{outline:2px solid var(--accent,#2563eb);outline-offset:0}to{outline-offset:0;outline:2px solid #0000}}.dialog__close{width:24px;height:24px;color:var(--text-muted,#999);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:12px;line-height:1;display:flex;position:absolute;top:8px;right:8px}.dialog__close:hover{color:var(--text);background:var(--surface,#ffffff0f);border-color:var(--border)}.dialog__title{text-transform:uppercase;letter-spacing:.04em;margin:0 0 12px;font-size:14px}.dialog[data-draggable]>.dialog__title{cursor:move;-webkit-user-select:none;user-select:none}.dialog[data-draggable]>.dialog__title:first-child{margin:-16px -16px 12px;padding:16px 16px 0}.dialog[data-dragging]{box-shadow:0 12px 40px #00000080}.dialog__body{flex-direction:column;gap:10px;display:flex}.dialog__back{min-height:28px;font:inherit;color:var(--accent-text,var(--accent));cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;align-items:center;gap:4px;margin:-4px 0 6px -6px;padding:4px 8px 4px 4px;font-size:12.5px;font-weight:600;display:inline-flex}.dialog__back:hover{border-color:var(--border);background:var(--panel-2)}.dialog__back:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.dialog__sheet-row .dialog__back{margin:0 6px 0 0}@media (pointer:coarse){.dialog__back{min-height:36px}}.filter-gallery{width:min(540px,90vw)}.filter-gallery__preview{background:var(--dialog-bg);border:1px solid var(--border);border-radius:4px;justify-content:center;align-items:center;min-height:120px;padding:8px;display:flex;position:relative}.filter-gallery__preview canvas{object-fit:contain;image-rendering:auto;max-width:100%;max-height:min(520px,56vh)}.filter-gallery__compare{color:var(--text);background:color-mix(in srgb, var(--panel) 82%, transparent);border:1px solid var(--border);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:4px;padding:3px 8px;font-size:11px;position:absolute;bottom:12px;right:12px}.filter-gallery__compare[aria-pressed=true]{background:var(--accent,#2563eb);color:#fff}.dialog__field{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.dialog__field select,.dialog__field input{background:var(--surface-raised);max-width:200px;color:var(--text);border:1px solid var(--border);border-radius:4px;flex:1;padding:4px 6px}.dialog__warning{color:#e0b040;background:#dca02826;border:1px solid #dca02866;border-radius:4px;margin-top:12px;padding:6px 10px;font-size:12px}.dialog__actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.rotate-dial{flex-direction:column;gap:14px;min-width:260px;display:flex}.rotate-dial__slider{width:100%;accent-color:var(--accent,#3b82f6);cursor:pointer}.rotate-dial__field{color:var(--text-muted,#9aa0aa);justify-content:center;align-items:center;gap:4px;font-size:15px;display:flex}.rotate-dial__field input{text-align:right;background:var(--surface-raised);width:88px;color:var(--text);border:1px solid var(--border);font-variant-numeric:tabular-nums;border-radius:4px;padding:5px 8px;font-size:15px}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.dialog-overlay:not(.dialog-overlay--sheet){padding:max(8px, env(safe-area-inset-top,0px)) max(0px, env(safe-area-inset-right,0px)) max(8px, env(safe-area-inset-bottom,0px)) max(0px, env(safe-area-inset-left,0px));box-sizing:border-box}.dialog{max-height:92vh;max-height:min(92dvh, calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}.dialog__actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:var(--panel);border-top:1px solid var(--border);z-index:2;flex-wrap:wrap;row-gap:8px;margin:16px -16px -16px;position:sticky;bottom:-16px}}.layer-style-presets{border-top:1px solid var(--border);align-items:center;gap:8px;margin-top:6px;padding:10px 0 0;display:flex}.layer-style-presets__save{font:inherit;background:var(--field,#1b1b1b);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:5px;padding:5px 12px;font-size:12px}.layer-style-presets__save:hover{background:var(--surface);border-color:var(--border-2,#484848)}.layer-style-presets__apply{font:inherit;font-size:12px}.layer-style-dialog{gap:14px;min-width:600px;max-width:92vw;display:flex}.layer-style-dialog__rail{border-right:1px solid var(--border);flex-direction:column;flex:0 0 190px;gap:1px;max-height:62vh;padding-right:12px;display:flex;overflow-y:auto}.lsd-rail__row,.lsd-rail__name{text-align:left;min-width:0;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;border-radius:4px;flex:1;padding:6px 8px;overflow:hidden}.lsd-rail__blend{flex:none;margin-bottom:4px;font-weight:600}.lsd-rail__effect{border-radius:4px;align-items:center;gap:6px;padding-left:6px;display:flex}.lsd-rail__row:hover,.lsd-rail__name:hover{background:var(--surface)}.lsd-rail__row--active,.lsd-rail__row--active .lsd-rail__name,.lsd-rail__row.lsd-rail__blend.lsd-rail__row--active{background:var(--accent);color:#fff}.lsd-rail__effect.lsd-rail__row--active{background:var(--accent)}.lsd-rail__effect.lsd-rail__row--active .lsd-rail__name{color:#fff;background:0 0}.layer-style-dialog__pane{flex-direction:column;flex:auto;gap:8px;min-width:300px;max-width:340px;max-height:62vh;display:flex;overflow-y:auto}.layer-style-dialog__rail,.layer-style-dialog__pane{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.layer-style-dialog__rail::-webkit-scrollbar{width:8px}.layer-style-dialog__pane::-webkit-scrollbar{width:8px}.layer-style-dialog__rail::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.layer-style-dialog__pane::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.layer-style-dialog__pane .properties-param>label{min-width:96px}.lsd-pane__title{color:var(--text);margin:0 0 4px;font-size:13px}.dialog__actions button{color:var(--text);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:4px;padding:6px 14px}.dialog__actions .dialog__primary{background:var(--accent);border-color:var(--accent);color:#fff}.dialog__hint{color:var(--muted,#999);margin:0;font-size:12px}.dialog-overlay--passthrough{pointer-events:none;background:0 0;justify-content:flex-end;align-items:flex-start;padding:16px}.dialog-overlay--passthrough .dialog{pointer-events:auto}.dialog-overlay--passthrough:not(.dialog-overlay--sheet),.dialog-overlay--clear:not(.dialog-overlay--sheet){padding-top:var(--dialog-top,40px)}.dialog-overlay--passthrough:not(.dialog-overlay--sheet) .dialog,.dialog-overlay--clear:not(.dialog-overlay--sheet) .dialog{max-height:var(--dialog-max-h,calc(100dvh - 48px))}.dialog-overlay--clear{background:0 0;justify-content:flex-end;align-items:flex-start;padding:16px}.dialog-overlay--clear .dialog{box-shadow:0 8px 28px #00000073}.adjust-dialog__actions{align-items:center}.adjust-dialog__preview{cursor:pointer;align-items:center;gap:6px;margin-right:auto;display:inline-flex}.filter-dialog__pending{border:2px solid color-mix(in srgb, var(--text) 25%, transparent);border-top-color:var(--accent,#2563eb);opacity:0;border-radius:50%;width:12px;height:12px;animation:0s linear .25s forwards filter-pending-in,.8s linear infinite filter-pending-spin}.filter-dialog__pending[hidden]{display:none}@keyframes filter-pending-in{to{opacity:1}}@keyframes filter-pending-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.filter-dialog__pending{animation:0s linear .25s forwards filter-pending-in}}.refine-edge-readout{text-align:right;font-variant-numeric:tabular-nums;min-width:2.5em;color:var(--muted,#999)}.anchor-grid{grid-template-rows:repeat(3,20px);grid-template-columns:repeat(3,20px);gap:2px;display:grid}.anchor-cell{background:var(--surface-raised);border:1px solid var(--border);cursor:pointer;border-radius:3px;width:20px;height:20px;padding:0}.anchor-cell--active{background:var(--accent);border-color:var(--accent)}.color-range-swatch{border:1px solid var(--border);background-image:linear-gradient(45deg,#555 25%,#0000 25%),linear-gradient(-45deg,#555 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#555 75%),linear-gradient(-45deg,#0000 75%,#555 75%);background-size:8px 8px;border-radius:4px;width:32px;height:20px;display:inline-block}.color-range-modes{flex-wrap:wrap;gap:4px;min-width:0;display:inline-flex}.color-range-modes button{border:1px solid var(--border);background:var(--panel);color:var(--text);cursor:pointer;border-radius:4px;padding:2px 8px;font-size:12px}.color-range-modes button.is-active{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 22%, transparent)}.color-range-samples{flex-wrap:wrap;gap:4px;display:inline-flex}.color-range-swatch--subtract{outline:2px solid var(--high,#f0616d);outline-offset:-2px}.gradient-editor{min-width:320px}.gradient-editor__bar{border:1px solid var(--border);border-radius:4px;height:28px}.gradient-editor__canvas{margin:6px 0 4px;position:relative}.gradient-editor__stops{cursor:copy;touch-action:none;height:18px;position:relative}.gradient-editor__stops--top{margin-bottom:2px}.gradient-editor__stops--bottom{margin-top:2px}.grad-num{align-items:center;gap:2px;min-width:0;max-width:100%;display:inline-flex;position:relative}.grad-num__input{width:52px}.grad-num__caret{background:var(--panel);width:16px;height:22px;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:0;font-size:9px;line-height:1;position:relative}.grad-num__caret:before{content:"";position:absolute;top:-2px;bottom:-2px;left:-1px;right:-5px}.grad-num__caret:hover{border-color:var(--accent)}.grad-num__pop{z-index:3000;background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:8px 10px;position:fixed;box-shadow:0 8px 24px #00000059}.grad-num__pop input[type=range]{width:140px;display:block}.gradient-editor__stop{width:14px;height:14px;box-shadow:0 0 0 1px var(--border);cursor:grab;touch-action:none;border:1px solid #fff;border-radius:50%;padding:0;position:absolute;top:2px;transform:translate(-50%)}.gradient-editor__stop:active{cursor:grabbing}.gradient-editor__mid{background:var(--panel);border:1px solid var(--text-muted,#888);cursor:ew-resize;touch-action:none;width:8px;height:8px;padding:0;position:absolute;top:5px;transform:translate(-50%)rotate(45deg)}.gradient-editor__mid:hover{border-color:var(--accent)}.gradient-editor__stop--active{outline:2px solid var(--accent);outline-offset:1px}.gradient-editor__num{width:56px}.gradient-editor__row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.gradient-editor__row .dialog__field{flex:auto}.dialog__button{color:var(--text);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:4px;padding:4px 10px;font-size:12px}.dialog__button:disabled{opacity:.4;cursor:default}.gradient-editor__presets{grid-template-columns:repeat(7,1fr);align-items:center;gap:8px 6px;display:grid}.gradient-editor__presets>.dialog__button{grid-column:1/-1;justify-self:start}.gradient-editor__preset{display:flex;position:relative}.gradient-editor__preset-swatch{border:1px solid var(--border);cursor:pointer;border-radius:4px;width:100%;height:22px;padding:0}.gradient-editor__preset-delete{border:1px solid var(--border);background:var(--panel);width:14px;height:14px;color:var(--text);cursor:pointer;border-radius:50%;padding:0;font-size:9px;line-height:12px;position:absolute;top:-6px;right:-6px}.gradient-editor__patterns{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.gradient-editor__pattern-swatch{border:1px solid var(--border);cursor:pointer;background-position:50%;background-size:cover;border-radius:4px;width:32px;height:32px;padding:0}.gradient-editor__pattern-swatch--active{outline:2px solid var(--accent);outline-offset:1px}.shortcuts-dialog{flex-direction:column;gap:10px;width:min(1100px,92vw);display:flex}.shortcuts-dialog--customize{width:min(620px,92vw)}.shortcuts-dialog__body{flex-direction:column;gap:12px;max-height:60vh;display:flex;overflow-y:auto}.shortcuts-group__title{text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#999);margin:0 0 4px;font-size:11px}.shortcut-ref__toolbar{align-items:center;gap:8px;display:flex}.shortcut-ref__search{min-width:0;height:30px;font:inherit;color:var(--text);background:var(--field,var(--surface-sunken));border:1px solid var(--border);border-radius:4px;flex:1;padding:0 10px;font-size:13px}.shortcut-ref__search:focus-visible{outline:2px solid var(--accent);outline-offset:-1px}.shortcut-ref__tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:2px;display:flex}.shortcut-ref__tab{font:inherit;color:var(--text-dim);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;margin-bottom:-1px;padding:6px 12px;font-size:13px}.shortcut-ref__tab:hover{color:var(--text)}.shortcut-ref__tab--active{color:var(--text);border-bottom-color:var(--accent)}.shortcut-ref__tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.shortcut-ref__panel{height:60vh;display:block}.shortcut-ref__columns{column-width:320px;column-rule:1px solid color-mix(in srgb, var(--border) 60%, transparent);column-gap:32px}.shortcut-ref__section{margin:0 0 14px}.shortcut-ref__section .shortcuts-group__title{break-after:avoid;padding-top:2px}.shortcut-ref__list{margin:0;padding:0;list-style:none}.shortcut-ref__row{border-bottom:1px solid color-mix(in srgb, var(--border) 45%, transparent);break-inside:avoid;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;padding:4px 0;font-size:13px;display:flex}.shortcut-ref__title{min-width:0;color:var(--text);flex:9em}.shortcut-ref__detail{color:var(--text-dim);margin-top:1px;font-size:11.5px;display:block}.shortcut-ref__keys{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.shortcut-ref__combo{white-space:nowrap;align-items:center;gap:2px;display:inline-flex}.shortcut-ref__key{min-width:1.6em;font:inherit;text-align:center;color:var(--text);background:var(--surface-raised,var(--panel-2));border:1px solid var(--border);border-bottom-width:2px;border-radius:4px;padding:1px 5px;font-size:11.5px;line-height:16px;display:inline-block}.shortcut-ref__plus,.shortcut-ref__or{color:var(--text-faint,var(--text-dim));font-size:11px}.shortcut-ref__or{padding:0 2px}.shortcut-ref__gesture{color:var(--text-dim);font-size:12px}.shortcut-ref__note{color:var(--text-dim);font-size:11.5px}.shortcut-ref__combo--reserved{opacity:.5;cursor:help}.shortcut-ref__combo--reserved .shortcut-ref__key{border-style:dashed;border-bottom-width:1px}.shortcut-ref__empty{text-align:center;color:var(--text-dim);margin:24px 0}.shortcuts-list{margin:0;padding:0;list-style:none}.shortcuts-row{border-radius:4px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;margin:0 -6px;padding:3px 6px;font-size:13px;display:grid}.shortcuts-row:hover,.shortcuts-row--selected{background:color-mix(in srgb, var(--accent) 10%, transparent)}.shortcuts-row__title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shortcuts-row__combo{font-variant-numeric:tabular-nums;color:var(--muted,#999);align-items:center;gap:6px;display:inline-flex}.shortcuts-row__sep{opacity:.6}.shortcuts-row__capturing{color:var(--accent-text);font-style:italic}.shortcuts-row__unbound{opacity:.5}.shortcuts-row__conflict{color:#e0a000;cursor:help}.shortcuts-row__combo-reserved{opacity:.5;text-decoration:line-through}.shortcuts-row__reserved{letter-spacing:.02em;color:#e0a000;cursor:help;white-space:nowrap;background:#e0a00029;border-radius:999px;padding:1px 6px;font-size:10px;font-weight:600}.shortcuts-row__actions{gap:6px;display:inline-flex}@media (hover:hover){.shortcuts-row:not(:hover):not(:focus-within):not(.shortcuts-row--selected) .shortcuts-row__rebind{opacity:0}}.save-web__preview{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:4px;max-width:min(300px,100%);height:auto;max-height:300px;margin:0 auto 8px;display:block}.dialog__body.save-web--gif{flex-direction:row;align-items:flex-start;gap:16px;width:min(720px,96vw - 34px)}.save-web__preview-col{flex-direction:column;flex:0 0 320px;gap:8px;min-width:0;display:flex}.save-web__preview-box{border:1px solid var(--border);background-color:#cfcfcf;background-image:linear-gradient(45deg,#9e9e9e 25%,#0000 25%),linear-gradient(-45deg,#9e9e9e 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#9e9e9e 75%),linear-gradient(-45deg,#0000 75%,#9e9e9e 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border-radius:4px;justify-content:center;align-items:center;width:320px;height:320px;display:flex;overflow:hidden}.save-web__gif-preview{max-width:100%;max-height:100%;display:block}.save-web__preview-box--actual{display:block;overflow:auto}.save-web__preview-box--actual .save-web__gif-preview{max-width:none;max-height:none;image-rendering:pixelated;margin:auto}.save-web__frame-nav .save-web__zoom{min-width:48px}.save-web__frame-nav{align-items:center;gap:6px;display:flex}.save-web__frame-nav button{min-width:32px;padding:2px 8px}.save-web__frame-label{font-variant-numeric:tabular-nums;color:var(--text-dim,inherit);margin-left:auto}.save-web__size{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.save-web__size strong{font-variant-numeric:tabular-nums}.save-web__muted{color:var(--text-dim,inherit);opacity:.8}.save-web__anim-badge{color:var(--text-dim,inherit);font-variant-numeric:tabular-nums}.save-web__checks{border:1px solid var(--border);border-radius:4px;flex-direction:column;gap:2px;margin:0;padding:6px 8px;font-size:12px;list-style:none;display:flex}.save-web__check{font-variant-numeric:tabular-nums;align-items:baseline;gap:6px;display:flex}.save-web__check-mark{text-align:center;flex:0 0 1em;font-weight:600}.save-web__check--ok .save-web__check-mark{color:var(--success,#3fa45b)}.save-web__check--warn .save-web__check-mark{color:var(--warning,#d08a18)}.save-web__check--pending{opacity:.7}.save-web__progress{align-items:center;gap:8px;display:flex}.save-web__progress progress{flex:auto;min-width:0}.save-web__options{flex:340px;min-width:300px}.save-web__options .save-web__value{box-sizing:border-box;width:100%;height:24px}@media (max-width:760px){.dialog__body.save-web--gif{flex-direction:column}.save-web__preview-col,.save-web__preview-box{flex-basis:auto;width:100%}.save-web__preview-box{height:240px}.save-web__options{width:100%;min-width:0}}.blendif-bar-wrap{padding:12px 8px 14px}.blendif-bar{border:1px solid var(--border);border-radius:3px;height:16px;position:relative}.blendif-handle{background:var(--text,#ddd);cursor:ew-resize;box-sizing:border-box;border:none;width:12px;height:9px;padding:0;position:absolute;transform:translate(-50%)}.blendif-handle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.blendif-handle--outer{clip-path:polygon(50% 0,100% 100%,0 100%);bottom:-11px}.blendif-handle--inner{background:var(--muted,#999);clip-path:polygon(50% 100%,100% 0,0 0);top:-11px}.preferences-dialog{flex-direction:column;gap:14px;min-width:260px;display:flex}.preferences-row{grid-template-columns:116px minmax(0,1fr);align-items:center;gap:8px 14px;min-height:30px;font-size:13px;display:grid}.preferences-row__label{color:var(--text-muted,#9aa0a6)}.preferences-row--stacked{grid-template-columns:minmax(0,1fr);gap:6px}.preferences-hint{max-width:360px;color:var(--text-dim,#a0a0a0);margin:0;font-size:12px;line-height:1.45}.preferences-row__select,.preferences-row input[type=number],.preferences-row input[type=text]{width:100%;max-width:230px;height:28px;color:var(--text,#eee);background:var(--surface-raised,#2a2a2a);border:1px solid var(--border,#444);border-radius:5px;padding:2px 8px;font-size:13px}.preferences-row__select:focus-visible{outline:2px solid var(--accent,#3b82f6);outline-offset:1px}.preferences-row input:focus-visible{outline:2px solid var(--accent,#3b82f6);outline-offset:1px}.preferences-row--check{cursor:pointer}.preferences-row--check input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent,#3b82f6);justify-self:start}.newdoc{flex-direction:column;gap:12px;width:760px;max-width:92vw;display:flex}.newdoc__tabs{flex-wrap:wrap;gap:3px;display:flex}.newdoc__tab{white-space:nowrap;background:var(--surface,#2a2a2a);min-width:72px;color:var(--text-muted,#aaa);border:1px solid var(--border,#444);cursor:pointer;border-radius:4px;flex:auto;padding:6px 10px;font-size:12px}.newdoc__tab:hover{color:var(--text,#eee)}.newdoc__tab--active{background:var(--panel,#333);color:var(--text,#eee);border-color:var(--accent,#3b82f6)}.newdoc__body{align-items:stretch;gap:16px;min-height:414px;display:flex}.newdoc__body--custom{justify-content:center}.newdoc__grid{border:1px solid var(--border,#444);border-radius:6px;flex:auto;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));align-content:start;gap:8px;min-width:0;max-height:400px;padding:6px;display:grid;overflow-y:auto}.newdoc__card{cursor:pointer;text-align:center;min-width:0;color:var(--text,#eee);background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;display:flex}.newdoc__card:hover{background:var(--surface,#2a2a2a);border-color:var(--border,#444)}.newdoc__card--active{background:var(--panel,#333);border-color:var(--accent,#3b82f6)}.newdoc__thumb-box{justify-content:center;align-items:center;width:56px;height:56px;display:flex}.newdoc__thumb{background:var(--surface-raised,#565b63);border:1px solid var(--text-muted,#9aa0a6);border-radius:1px;display:block}.newdoc__card-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11.5px;line-height:1.2;overflow:hidden}.newdoc__card-size{color:var(--text-muted,#999);font-size:10.5px}.newdoc__form{flex-direction:column;flex:0 0 300px;gap:10px;display:flex}.newdoc__body--custom .newdoc__form{flex:0 460px}.newdoc__field{flex-direction:column;align-items:stretch;gap:3px;font-size:12px;display:flex}.newdoc__label{color:var(--text-muted,#aaa)}.newdoc__field>input,.newdoc__field>select,.newdoc__control>input{background:var(--surface-raised);min-width:0;color:var(--text);border:1px solid var(--border);border-radius:4px;flex:auto;padding:4px 6px}.newdoc__control{align-items:center;gap:8px;display:flex}.newdoc__suffix{color:var(--text-muted,#999);flex:none;font-size:12px}.newdoc__bgcolor{flex-direction:row;align-items:center;gap:8px}.newdoc__dims{gap:8px;display:flex}.newdoc__num{flex-direction:column;flex:1 1 0;gap:3px;min-width:0;font-size:12px;display:flex}.newdoc__num>span{color:var(--text-muted,#aaa)}.newdoc__num input,.newdoc__num select{background:var(--surface-raised);width:100%;min-width:0;color:var(--text);border:1px solid var(--border);border-radius:4px;padding:4px 6px}.newdoc__num--unit{flex:0 0 64px}.newdoc__inline{align-items:center;gap:12px;display:flex}.newdoc__swap{cursor:pointer;white-space:nowrap;background:var(--surface,#2a2a2a);color:var(--text,#eee);border:1px solid var(--border,#444);border-radius:4px;padding:5px 10px;font-size:12px}.newdoc__swap:hover{border-color:var(--accent,#3b82f6)}.newdoc__check{color:var(--text,#eee);align-items:center;gap:6px;font-size:12px;display:flex}.newdoc__bgcolor input[type=color]{border:1px solid var(--border,#444);cursor:pointer;background:0 0;border-radius:4px;flex:none;width:40px;height:28px;padding:0}.newdoc__hex{flex:auto;min-width:0}.newdoc__advanced{border:1px solid var(--border,#444);border-radius:4px;padding:6px 8px}.newdoc__advanced summary{cursor:pointer;color:var(--text-muted,#aaa);font-size:12px}.newdoc__advanced .newdoc__field{margin-top:8px}.newdoc__note{opacity:.75;margin:8px 0 0;font-size:11px}.prefs{gap:18px;min-width:500px;display:flex}.prefs__nav{border-right:1px solid var(--border);flex-direction:column;flex:0 0 148px;gap:2px;padding-right:12px;display:flex}.prefs__cat{text-align:left;color:var(--text-muted,#9aa0a6);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 12px;font-size:13px;font-weight:500;line-height:1.2;position:relative}.prefs__cat:hover{background:var(--surface,#2a2a2a);color:var(--text,#eee)}.prefs__cat--active{color:var(--text,#fff);background:var(--surface,#2a2a2a);background:color-mix(in srgb, var(--accent,#3b82f6) 15%, transparent);font-weight:600}.prefs__cat--active:before{content:"";background:var(--accent,#3b82f6);border-radius:0 2px 2px 0;width:3px;position:absolute;top:7px;bottom:7px;left:0}.prefs__cat:focus-visible{outline:2px solid var(--accent,#3b82f6);outline-offset:1px}.prefs__panel{flex-direction:column;flex:auto;gap:14px;min-width:0;min-height:250px;display:flex}.preferences-panels{border:1px solid var(--border,#444);border-radius:8px;min-width:0;margin:0;padding:10px 14px 12px}.preferences-panels legend{text-transform:uppercase;letter-spacing:.06em;color:var(--text-faint,#7a7f87);padding:0 6px;font-size:11px;font-weight:600}.preferences-panels__grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:9px 18px;display:grid}.preferences-panels__item{min-width:0;color:var(--text,#eee);cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.preferences-panels__item input{flex:none}.preferences-panels__item span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.variations{min-width:420px}.variations__controls{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.variations__ranges{border:1px solid var(--border,#3a3a3a);border-radius:4px;flex-wrap:wrap;gap:4px 12px;min-width:0;margin:0;padding:6px 10px;display:flex}.variations__ranges legend{color:var(--text-muted,#9a9a9a);padding:0 4px;font-size:11px}.variations__radio{align-items:center;gap:4px;font-size:12px;display:inline-flex}.variations__amount{color:var(--text-muted,#9a9a9a);align-items:center;gap:6px;font-size:11px;display:flex}.variations__stage{flex-wrap:wrap;align-items:flex-start;gap:18px;display:flex}.variations__refs{flex-direction:column;gap:10px;display:flex}.variations__ring{grid-template-columns:repeat(3,auto);gap:6px;display:grid}.variations__lightcol{flex-direction:column;gap:6px;display:flex}.variations__thumb{background:0 0;border:none;flex-direction:column;align-items:center;gap:3px;padding:0;display:flex}.variations__thumb--btn{cursor:pointer}.variations__thumb--empty{visibility:hidden}.variations__canvas{width:64px;height:64px;image-rendering:pixelated;border:1px solid var(--border,#3a3a3a);background:var(--panel,#2a2a2a);border-radius:3px}.variations__thumb--btn:hover .variations__canvas{border-color:var(--accent,#4a90d9)}.variations__caption{color:var(--text-muted,#9a9a9a);white-space:nowrap;font-size:10px}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.variations__caption{white-space:normal;overflow-wrap:anywhere;text-align:center;min-width:0;max-width:100%}}.converter__dropzone{border:1px dashed var(--border);text-align:center;color:var(--text-muted);cursor:pointer;background:var(--surface-sunken);border-radius:6px;padding:24px}.converter__formats{color:var(--text-dim);text-align:center;margin:8px 0 0;font-size:11px}.converter__rows{max-height:320px;margin:8px 0 0;padding:0;list-style:none;overflow:auto}.converter__row{align-items:center;gap:8px;padding:4px 0;display:flex}.converter__name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.converter__warn{color:#e0a53b}.converter__status{color:var(--text-dim)}.converter__error{color:var(--danger,#e5534b);flex-basis:100%;margin:0;font-size:11px}.converter__row--error{flex-wrap:wrap}.converter__alert{color:var(--danger,#e5534b);text-align:center;margin:8px 0 0;font-size:12px}.colortools{min-width:380px}.colortools__tabs{border-bottom:1px solid var(--border);gap:4px;margin-bottom:12px;display:flex}.colortools__tab{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:6px 12px}.colortools__tab--active{color:var(--text);border-bottom-color:var(--accent)}.colortools__panel{flex-direction:column;gap:12px;display:flex}.colortools__pickrow,.colortools__rgbrow,.colortools__contrast-inputs{align-items:flex-end;gap:10px;display:flex}.colortools__field{flex-direction:column;flex:1;gap:3px;display:flex}.colortools__field>span{color:var(--text-dim);font-size:11px}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.colortools__tabs{flex-wrap:wrap}.colortools__tab{white-space:nowrap;flex:none}.colortools__pickrow,.colortools__rgbrow,.colortools__contrast-inputs,.colortools__field{min-width:0}.colortools__field input{box-sizing:border-box;width:100%;min-width:0}}.colortools__colorinput{border:1px solid var(--border);background:0 0;border-radius:6px;width:48px;height:34px;padding:0}.colortools__readouts,.colortools__grades{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.colortools__readout{align-items:center;gap:8px;display:flex}.colortools__readout code{background:var(--field);border-radius:4px;flex:1;padding:5px 8px}.colortools__scheme{flex-direction:column;gap:4px;display:flex}.colortools__scheme-label{color:var(--text-dim);font-size:11px}.colortools__scheme-swatches{flex-wrap:wrap;gap:6px;display:flex}.colortools__swatch{border:1px solid var(--border);cursor:pointer;border-radius:6px;width:64px;height:44px;position:relative;overflow:hidden}.colortools__swatch-hex{text-align:center;color:#fff;background:#00000073;padding:1px 0;font-size:9px;position:absolute;bottom:0;left:0;right:0}.colortools__contrast-preview{border:1px solid var(--border);border-radius:6px;align-items:center;gap:12px;padding:14px;display:flex}.colortools__contrast-big{font-size:28px;font-weight:700}.colortools__ratio{text-align:center;font-size:22px;font-weight:700}.colortools__grades{flex-flow:wrap;gap:10px}.colortools__grades li{background:var(--field);border-radius:4px;flex:45%;justify-content:space-between;padding:5px 8px;display:flex}.colortools__gradient-preview{border:1px solid var(--border);border-radius:6px;height:40px}.colortools__image-drop{border:1px dashed var(--border);text-align:center;color:var(--text-muted);cursor:pointer;border-radius:6px;padding:24px 12px}.colortools__image-drop:hover{border-color:var(--accent);color:var(--text)}.colortools__names-search{width:100%}.colortools__names-list{flex-direction:column;gap:2px;max-height:260px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.colortools__names-row{margin:0}.colortools__names-btn{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:4px;align-items:center;gap:8px;padding:4px 6px;display:flex}.colortools__names-btn:hover{background:var(--field)}.colortools__names-swatch{border:1px solid var(--border);border-radius:4px;flex:none;width:18px;height:18px}.colortools__names-name{flex:1}.colortools__names-hex{color:var(--text-muted)}.save-warning__list{flex-direction:column;gap:3px;margin:8px 0;padding-left:18px;display:flex}.save-warning__list li{color:var(--text)}.save-warning__hint{color:var(--text-muted);font-size:12px}@media (max-width:820px){.dialog{width:96vw;min-width:0}.dialog [class*=-dialog]:not(.dialog__actions),.colortools,.prefs,.newdoc,.variations,.converter,.orgpdf,.gradient-editor{min-width:0!important;max-width:100%!important}.newdoc__body,.prefs__body,.layer-style-dialog{flex-direction:column;min-height:auto}.newdoc__form{flex:auto}.blendif-handle,.adj-levels__tri{touch-action:none}.dialog input,.dialog select,.dialog textarea{font-size:16px}.dialog__actions button{min-height:40px;padding:8px 16px}}@media (max-height:500px) and (pointer:coarse){.dialog{min-width:0;max-width:calc(100vw - 16px)}.dialog [class*=-dialog]:not(.dialog__actions),.colortools,.prefs,.newdoc,.variations,.converter,.orgpdf,.gradient-editor{min-width:0!important;max-width:100%!important}.dialog input,.dialog select,.dialog textarea{font-size:16px}.dialog__actions button{min-height:40px;padding:8px 16px}}.dialog--sheet .adjust-dialog{width:auto}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.dialog__field>:-webkit-any(input:not(:-webkit-any([type=checkbox],[type=radio],[type=range])),select,textarea,.themed-select__trigger){min-width:0}.dialog__field>:-moz-any(input:not(:-moz-any([type=checkbox],[type=radio],[type=range])),select,textarea,.themed-select__trigger){min-width:0}.dialog__field>:is(input:not(:is([type=checkbox],[type=radio],[type=range])),select,textarea,.themed-select__trigger){min-width:0}}.dialog__subhead{color:var(--text-muted,#9a9a9a);margin-top:4px;font-size:11px;font-weight:600}@media (max-width:820px),(max-height:600px){.app-shell--lite .dialog-overlay{top:56px}.app-shell--lite .dialog{max-height:calc(100dvh - 68px)}.app-shell--lite:has(.lite-actions) .dialog-overlay{bottom:calc(70px + env(safe-area-inset-bottom,0px))}.app-shell--lite:has(.lite-actions) .dialog{max-height:calc(100dvh - 56px - 70px - env(safe-area-inset-bottom,0px) - 12px)}}@media (min-width:821px) and (min-height:601px){.app-shell--lite:has(.dialog-overlay) .lite-actions{z-index:auto}.app-shell--lite .dialog-overlay{top:56px}.app-shell--lite .dialog{max-height:calc(100dvh - 68px)}}.dialog-overlay.dialog-overlay--sheet{touch-action:none;background:0 0;justify-content:center;align-items:flex-end;padding:0}.dialog-overlay--sheet.dialog-overlay--passthrough{pointer-events:none}.dialog-overlay--sheet .dialog--sheet{pointer-events:auto;box-sizing:border-box;--sheet-max:min(88dvh, max(50dvh, calc(var(--sheet-chrome,0px) + 140px)));width:100%;min-width:0;max-width:100vw;max-height:50vh;max-height:var(--sheet-max);scroll-padding-top:calc(var(--sheet-head,72px) + 4px);scroll-padding-bottom:calc(var(--sheet-acts,60px) + 4px);overscroll-behavior:contain;touch-action:pan-y;border-width:1px 0 0;border-radius:12px 12px 0 0;padding:0 16px 16px;box-shadow:0 -6px 24px #00000073}.dialog--sheet[data-sheet=full]{--sheet-max:88dvh}.dialog--sheet[data-sheet=collapsed]:not([data-dragging])>:not(.dialog__sheet-head):not(.dialog__actions){display:none}.dialog--sheet[data-dragging]{overflow:hidden}.dialog__sheet-head{z-index:3;background:var(--panel);border-bottom:1px solid var(--border);touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;margin:0 -16px 10px;padding:0 8px 6px 16px;position:sticky;top:0}.dialog--sheet[data-sheet=collapsed] .dialog__sheet-head{margin-bottom:0}.dialog__sheet-grip{cursor:grab;background:0 0;border:none;justify-content:center;align-items:center;width:100%;height:18px;margin:0;padding:0;display:flex}.dialog__sheet-bar{background:var(--text-muted,#999);opacity:.6;border-radius:2px;width:40px;height:4px}.dialog__sheet-grip:focus{outline:none}.dialog__sheet-grip:focus-visible{outline:none}.dialog__sheet-grip:focus-visible .dialog__sheet-bar{background:var(--accent);opacity:1;width:56px}.dialog__sheet-row{align-items:center;gap:8px;min-height:32px;display:flex}.dialog__sheet-row .dialog__title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;margin:0;overflow:hidden}.dialog__sheet-row .dialog__close{flex:none;width:32px;height:32px;font-size:14px;position:static}.dialog--sheet .dialog__actions{flex-wrap:wrap}.dialog--sheet[data-sheet=collapsed] .dialog__actions{border-top:none;margin-top:0}.dialog--sheet .adj-editor--curves>.curve-editor,.dialog--sheet .adj-editor--levels>.adj-levels{order:-1}.dialog--sheet .curve-editor--fluid .curve-editor__svg{width:min(100%, max(120px, calc(var(--sheet-max,50dvh) - var(--sheet-chrome,130px) - 18px)));margin:0 auto}.dialog--sheet .filter-gallery{width:auto}.dialog--sheet .filter-gallery__preview{display:none}@media (orientation:landscape) and (max-height:500px){.dialog-overlay.dialog-overlay--sheet{justify-content:flex-end}.dialog-overlay--sheet .dialog--sheet,.dialog--sheet[data-sheet=full]{--sheet-max:100dvh;border-width:1px 0 0 1px;border-radius:12px 0 0;width:min(420px,52vw)}}.shortcuts-row__inherited{color:var(--text-dim)}.new-guide__radios{flex-wrap:wrap;align-items:center;gap:4px 16px;min-width:0;display:flex}.new-guide__radios label{align-items:center;gap:6px;display:inline-flex}@media (max-width:820px),(pointer:coarse){.dialog__close{width:32px;height:32px;top:4px;right:4px}.dialog:not(.dialog--sheet)>.dialog__title{padding-right:24px}.shortcuts-row__actions .dialog__button,.colortools__tab,.colortools__field input,.colortools__readout button,[data-testid=color-tools-hex],.new-guide__radios label,.new-guide__position input{min-height:32px}}.dialog__actions button:disabled{opacity:.45;cursor:not-allowed}.preferences-row.preferences-row--check{align-items:center;gap:8px;display:flex}.preferences-row--check .preferences-row__label{color:var(--text,#eee)}@media (max-width:820px){.prefs{flex-direction:column;gap:12px}.prefs__nav{border-right:0;border-bottom:1px solid var(--border);flex-flow:wrap;flex:none;gap:4px;padding:0 0 8px}.prefs__cat{min-height:36px;padding:8px 12px}.prefs__cat--active:before{border-radius:2px 2px 0 0;width:auto;height:3px;top:auto;bottom:0;left:10px;right:10px}.prefs__panel{min-height:0}.preferences-row{grid-template-columns:minmax(96px,40%) minmax(0,1fr)}.preferences-row__select{max-width:none}.dialog .param-grid>.dialog__field:has(>input[type=checkbox][data-testid$=preserve-transparency]){min-height:36px}}.layer-style-dialog__rail{flex-basis:214px}@media (min-width:821px) and (min-height:601px){.layer-style-dialog__rail,.layer-style-dialog__pane{height:min(62vh,470px)}}@media (max-width:820px){.lsd-rail__row,.lsd-rail__name{min-height:36px}.lsd-rail__effect input[type=checkbox],.dialog .new-layer-dialog.param-grid>.dialog__field>input[type=checkbox]{flex:none;width:32px;height:32px;margin:0}.layer-style-presets__save,.layer-style-presets .themed-select__trigger,.layer-style-dialog__pane .themed-select__trigger,.new-layer-dialog .themed-select__trigger,.new-layer-dialog input[type=text],.new-layer-dialog input[type=number],.layer-style-dialog__pane .layer-styles__enable{min-height:36px}.layer-style-dialog__pane .layer-styles__enable input[type=checkbox]{width:24px;height:24px}.layer-style-dialog__pane .grad-stops button,.layer-style-dialog__pane .grad-stops input{min-height:32px}.layer-style-dialog .blendif-bar-wrap{padding:22px 12px 24px}.layer-style-dialog .blendif-handle{width:24px;height:18px}.layer-style-dialog .blendif-handle--outer{bottom:-20px}.layer-style-dialog .blendif-handle--inner{top:-20px}}.selection-channel-dialog__ops{border:1px solid var(--border,#444);border-radius:4px;flex-direction:column;gap:4px;margin:0;padding:6px 8px 8px;display:flex}.selection-channel-dialog__ops legend{padding:0 4px}.selection-channel-dialog__ops label{align-items:center;gap:6px;display:flex}.selection-channel-dialog__ops input[type=radio]{margin:0}.selection-channel-dialog__ops label:has(input:disabled){opacity:.5}.filter-gallery__params{min-width:0}.dialog__body.filter-gallery--side{grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-items:start;gap:16px;width:min(920px,92vw);display:grid}.filter-gallery--side .filter-gallery__preview canvas{max-height:min(560px,68vh)}.dialog--sheet .dialog__body.filter-gallery--side{width:auto;display:flex}.dialog--sheet .dialog__sheet-grip,.dialog--sheet .adjust-dialog__preview,.dialog--sheet .themed-select__trigger,.dialog--sheet .filter-gallery__number{min-height:32px}.report-problem{gap:10px;width:min(460px,86vw)}.report-problem__cats{border:1px solid var(--border);border-radius:4px;flex-wrap:wrap;gap:4px 16px;margin:0;padding:6px 10px 8px;display:flex}.report-problem__cats legend{color:var(--text-muted);padding:0 4px;font-size:12px}.report-problem__cats label{align-items:center;gap:6px;font-size:13px;display:inline-flex}.report-problem__desc{color:var(--text-muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.report-problem__desc textarea{resize:vertical;min-height:72px;font:inherit;color:var(--text);background:var(--surface-raised);border:1px solid var(--border);border-radius:4px;padding:6px 8px;font-size:13px}.report-problem__preview-head{color:var(--text-muted);font-size:12px}.report-problem__preview{white-space:pre-wrap;word-break:break-word;max-height:160px;color:var(--text);background:var(--bg-deep,var(--surface));border:1px solid var(--border);border-radius:4px;margin:0;padding:8px;font-size:12px;line-height:1.45;overflow:auto}.report-problem__note{color:var(--text-muted);margin:0;font-size:12px}@media (max-width:820px),(pointer:coarse){.dialog label:has(>input[type=checkbox]){align-items:center;min-height:32px}.dialog label:has(>input[type=radio]){align-items:center;min-height:32px}.dialog label:has(>span>input[type=checkbox]){align-items:center;min-height:32px}.dialog label:has(>span>input[type=radio]){align-items:center;min-height:32px}.dialog select,.dialog .themed-select__trigger,.dialog summary{box-sizing:border-box;min-height:32px}.dialog input:-webkit-any([type=text],[type=number],[type=search],[type=url],[type=email],[type=password],:not([type])){box-sizing:border-box;min-height:32px}.dialog input:-moz-any([type=text],[type=number],[type=search],[type=url],[type=email],[type=password],:not([type])){box-sizing:border-box;min-height:32px}.dialog input:is([type=text],[type=number],[type=search],[type=url],[type=email],[type=password],:not([type])){box-sizing:border-box;min-height:32px}.dialog summary{padding-block-start:7px;padding-block-end:7px;line-height:18px}.dialog input[type=color],.dialog button:not([style*=left]):not(.dialog__close){box-sizing:border-box;min-width:32px;min-height:32px}}.preferences-row__actions{flex-wrap:wrap;gap:6px;display:flex}.layer-style-dialog__railwrap{border-right:1px solid var(--border);flex-direction:column;flex:0 0 232px;min-width:0;padding-right:12px;display:flex}@media (min-width:821px){:root:lang(ja) .layer-style-dialog__railwrap{flex-basis:260px}}.layer-style-dialog__railwrap .layer-style-dialog__rail{border-right:none;flex:auto;min-height:0;padding-right:0}@media (min-width:821px) and (min-height:601px){.layer-style-dialog__railwrap{height:min(62vh,470px)}.layer-style-dialog__railwrap .layer-style-dialog__rail{height:auto}}.lsd-rail__add,.lsd-rail__footer button{width:24px;height:24px;color:var(--text-dim,var(--text));cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.lsd-rail__add svg,.lsd-rail__footer svg{width:16px;height:16px}.lsd-rail__add:hover,.lsd-rail__footer button:hover:not(:disabled){background:var(--surface);border-color:var(--border);color:var(--text)}.lsd-rail__row--active .lsd-rail__add{color:#fff}.lsd-rail__row--active .lsd-rail__add:hover{background:#ffffff29;border-color:#0000}.lsd-rail__footer{border-top:1px solid var(--border);justify-content:flex-end;gap:4px;margin-top:6px;padding-top:6px;display:flex}.lsd-rail__footer button:disabled{opacity:.35;cursor:default}.lsd-pane__section{letter-spacing:.02em;color:var(--text-dim,var(--text));margin:6px 0 0;font-size:11px;font-weight:600}.lsd-pane__defaults{justify-content:flex-end;gap:8px;margin-top:auto;padding-top:8px;display:flex}.lsd-pane__defaults button{color:var(--text);border:1px solid var(--border);font:inherit;cursor:pointer;background:0 0;border-radius:5px;padding:5px 10px;font-size:12px}.lsd-pane__defaults button:hover{background:var(--surface)}@media (max-width:820px){.layer-style-dialog__railwrap{border-right:none;flex-basis:auto;padding-right:0}.lsd-rail__add,.lsd-rail__footer button{width:36px;height:36px}.lsd-pane__defaults button{min-height:36px}}@media (max-width:820px),(max-height:500px) and (pointer:coarse){:root[data-kb-open] .dialog-overlay{top:var(--vv-offset-top,0px);bottom:var(--kb-inset,0px)}:root[data-kb-open] .dialog-overlay .dialog{max-height:calc(var(--vv-height,100dvh) - 16px);scroll-padding-top:12px;scroll-padding-bottom:84px}:root[data-kb-open] .dialog-overlay .dialog--sheet{--sheet-max:min(50dvh, calc(var(--vv-height,100dvh) - 24px));max-height:var(--sheet-max);scroll-padding-top:calc(var(--sheet-head,72px) + 4px);scroll-padding-bottom:calc(var(--sheet-acts,80px) + 4px)}:root[data-kb-open] .dialog-overlay .dialog--sheet[data-sheet=full]{--sheet-max:calc(var(--vv-height,100dvh) - 8px)}:root[data-kb-overlay] .dialog__actions{padding-bottom:12px}@supports (animation-timeline:scroll()){.dialog{scroll-timeline:--dialog-scroll block}.dialog .dialog__actions{animation:linear both dialog-more-below;animation-timeline:--dialog-scroll;animation-range:max(0px,100% - 24px) 100%}.dialog--sheet .dialog__sheet-head{animation:linear both dialog-more-above;animation-timeline:--dialog-scroll;animation-range:0 min(24px,100%)}}}@keyframes dialog-more-below{0%{box-shadow:0 -10px 14px -8px #0000008c}to{box-shadow:none}}@keyframes dialog-more-above{0%{box-shadow:none}to{box-shadow:0 10px 14px -8px #0000008c}}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.dialog input:-webkit-any([type=text],[type=number],[type=search],[type=url],[type=email],:not([type])){min-height:max(32px, calc(19px * var(--text-scale,1) + 12px));max-width:100%}.dialog input:-moz-any([type=text],[type=number],[type=search],[type=url],[type=email],:not([type])){min-height:max(32px, calc(19px * var(--text-scale,1) + 12px));max-width:100%}.dialog input:is([type=text],[type=number],[type=search],[type=url],[type=email],:not([type])){min-height:max(32px, calc(19px * var(--text-scale,1) + 12px));max-width:100%}.dialog .options-number{width:calc(52px * var(--text-scale,1));height:auto}.grad-num__input{width:calc(52px * var(--text-scale,1));flex:0 auto;min-width:0}.grad-num__caret{align-self:stretch;height:auto}.dialog .adjust-dialog .adjust-dialog__hex{width:calc(88px * var(--text-scale,1));flex:0 auto;min-width:64px}.dialog .adjust-dialog__color{flex-wrap:wrap;row-gap:6px;min-width:0}.dialog .adjust-dialog .adjust-dialog__hex{flex-grow:1}.dialog .adj-levels__num{height:auto}.dialog .grad-stops__pos{width:calc(52px * var(--text-scale,1));height:auto}.shortcut-ref__tab{white-space:normal;flex:0 auto;min-width:0}.dialog .adj-levels__nums{grid-template-columns:repeat(3, minmax(0, calc(52px * var(--text-scale,1))))}.dialog .adj-levels__nums--two{grid-template-columns:repeat(2, minmax(0, calc(52px * var(--text-scale,1))))}}.param-grid.param-grid{--param-label-max:11rem;--param-value-w:56px;--param-gap-x:10px;grid-template-columns:fit-content(var(--param-label-max)) minmax(72px, 1fr) min(calc(var(--param-value-w) * var(--text-scale,1)), 34%);column-gap:var(--param-gap-x);grid-auto-rows:max-content;align-content:start;align-items:center;row-gap:8px;display:grid}.panel-body .param-grid.param-grid,.properties-panel .param-grid.param-grid,.brush-panel .param-grid.param-grid{--param-label-max:8.5rem;--param-value-w:44px;--param-gap-x:8px;row-gap:6px}.brush-panel .param-grid.param-grid{--param-value-w:64px}.param-grid>*{grid-column:1/-1;min-width:0}.param-grid>.param-contents{display:contents}.param-grid>.param-contents>*{grid-column:1/-1;min-width:0}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(.properties-param--stacked):not(.properties-param--curve):not(:has(>input[type=checkbox])){grid-template-columns:subgrid;align-items:center;gap:0 var(--param-gap-x);justify-content:stretch;width:auto;min-height:24px;display:grid}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(.properties-param--stacked):not(.properties-param--curve):not(:has(>input[type=checkbox])){grid-template-columns:subgrid;align-items:center;gap:0 var(--param-gap-x);justify-content:stretch;width:auto;min-height:24px;display:grid}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(.properties-param--stacked):not(.properties-param--curve):not(:has(>input[type=checkbox])){grid-template-columns:subgrid;align-items:center;gap:0 var(--param-gap-x);justify-content:stretch;width:auto;min-height:24px;display:grid}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>*{flex:none;grid-column:2;min-width:0;max-width:none;margin-inline-start:0;margin-inline-end:0}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>*{flex:none;grid-column:2;min-width:0;max-width:none;margin-inline-start:0;margin-inline-end:0}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>*{flex:none;grid-column:2;min-width:0;max-width:none;margin-inline-start:0;margin-inline-end:0}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>:first-child{overflow-wrap:break-word;min-width:0;word-break:var(--ko-word-break,normal);grid-column:1;line-height:1.3}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>:first-child{overflow-wrap:break-word;min-width:0;word-break:var(--ko-word-break,normal);grid-column:1;line-height:1.3}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>:first-child{overflow-wrap:break-word;min-width:0;word-break:var(--ko-word-break,normal);grid-column:1;line-height:1.3}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>:nth-child(2):last-child:not(input[type=range]){grid-column:2/-1}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>:nth-child(2):last-child:not(input[type=range]){grid-column:2/-1}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>:nth-child(2):last-child:not(input[type=range]){grid-column:2/-1}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>:nth-child(n+3){grid-column:3}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>:nth-child(n+3){grid-column:3}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>:nth-child(n+3){grid-column:3}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>:-webkit-any(input[type=number],input[type=color],input[type=text]):nth-child(2){justify-self:start;max-width:100%}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>:-moz-any(input[type=number],input[type=color],input[type=text]):nth-child(2){justify-self:start;max-width:100%}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>:is(input[type=number],input[type=color],input[type=text]):nth-child(2){justify-self:start;max-width:100%}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>input[type=number]:nth-child(2){width:calc((var(--param-value-w) + 40px) * var(--text-scale,1));max-width:100%}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>input[type=number]:nth-child(2){width:calc((var(--param-value-w) + 40px) * var(--text-scale,1));max-width:100%}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>input[type=number]:nth-child(2){width:calc((var(--param-value-w) + 40px) * var(--text-scale,1));max-width:100%}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>.themed-select__trigger{justify-self:stretch;width:100%}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>.themed-select__trigger{justify-self:stretch;width:100%}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>.themed-select__trigger{justify-self:stretch;width:100%}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>input[type=range]{grid-column:2;width:100%;margin:0}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>input[type=range]{grid-column:2;width:100%;margin:0}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>input[type=range]{grid-column:2;width:100%;margin:0}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+*{box-sizing:border-box;text-align:right;font-variant-numeric:tabular-nums;grid-column:3;justify-self:stretch;width:100%;min-width:0}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+*{box-sizing:border-box;text-align:right;font-variant-numeric:tabular-nums;grid-column:3;justify-self:stretch;width:100%;min-width:0}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>input[type=range]+*{box-sizing:border-box;text-align:right;font-variant-numeric:tabular-nums;grid-column:3;justify-self:stretch;width:100%;min-width:0}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]{height:calc(24px * var(--text-scale,1));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;padding:2px 4px}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]{height:calc(24px * var(--text-scale,1));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;padding:2px 4px}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]{height:calc(24px * var(--text-scale,1));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;padding:2px 4px}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-webkit-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row):not(:-moz-any(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row):not(:is(.properties-param--stacked,.properties-param--curve))>input[type=range]+input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.param-grid .brush-row__value{justify-content:flex-end;display:flex}.param-grid .brush-row__value-input{flex:auto;width:auto;min-width:0}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox]){grid-column:1/-1;justify-content:flex-start;align-items:center;gap:6px;display:flex}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox]){grid-column:1/-1;justify-content:flex-start;align-items:center;gap:6px;display:flex}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox]){grid-column:1/-1;justify-content:flex-start;align-items:center;gap:6px;display:flex}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox])>*{flex:0 auto;grid-column:auto;width:auto}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox])>*{flex:0 auto;grid-column:auto;width:auto}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox])>*{flex:0 auto;grid-column:auto;width:auto}:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row,label)>input[type=checkbox]{flex:none;order:-1;width:auto;margin:0}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row,label)>input[type=checkbox]{flex:none;order:-1;width:auto;margin:0}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row,label)>input[type=checkbox]{flex:none;order:-1;width:auto;margin:0}.dialog__field:has(>input[type=checkbox]){justify-content:flex-start;gap:6px}.dialog__field>input[type=checkbox]{flex:none;order:-1;margin:0}@media (min-width:821px) and (not (pointer:coarse)){:-webkit-any(.param-grid,.param-grid>.param-contents)>:-webkit-any(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox]){min-height:24px}:-moz-any(.param-grid,.param-grid>.param-contents)>:-moz-any(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox]){min-height:24px}:is(.param-grid,.param-grid>.param-contents)>:is(.dialog__field,.properties-param,.brush-row,.param-row,label):has(>input[type=checkbox]){min-height:24px}.dialog__field:has(>input[type=checkbox]){min-height:24px}}.filter-gallery__preview canvas{background-color:#cfcfcf;background-image:linear-gradient(45deg,#9e9e9e 25%,#0000 25%),linear-gradient(-45deg,#9e9e9e 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#9e9e9e 75%),linear-gradient(-45deg,#0000 75%,#9e9e9e 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px}.filter-gallery__preview-empty{color:var(--text-muted,#9a9a9a);text-align:center;margin:0;padding:24px 12px;font-size:12px}.adjust-dialog{width:min(400px,88vw)}.param-grid.param-grid[hidden]{display:none}.param-grid>.properties-param--curve .curve-editor{justify-content:flex-start}:is(.param-grid,.param-grid>.param-contents)>.icon-field{grid-template-columns:subgrid;column-gap:var(--param-gap-x);display:grid}:is(.param-grid,.param-grid>.param-contents)>.icon-field>.icon-field__icon{grid-column:1;justify-self:start}:is(.param-grid,.param-grid>.param-contents)>.icon-field>.icon-field__input{box-sizing:border-box;grid-column:2;width:100%}:is(.param-grid,.param-grid>.param-contents)>.icon-field>.icon-field__step{grid-column:3;justify-self:start}.themed-select__trigger{box-sizing:border-box;background:var(--field);min-width:0;color:var(--text);border:1px solid var(--border);font:inherit;cursor:pointer;text-align:left;border-radius:3px;justify-content:space-between;align-items:center;gap:6px;padding:2px 6px;font-size:12px;line-height:1.4;display:inline-flex}.themed-select__trigger:hover:not(:disabled){border-color:var(--accent)}.themed-select__trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);outline:none}.themed-select__trigger:disabled{opacity:.5;cursor:default}.themed-select__value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.themed-select__caret{color:var(--text-muted);flex:none;font-size:9px;line-height:1}.themed-select__list{background:var(--panel);color:var(--text);border:1px solid var(--border);z-index:4000;scrollbar-width:thin;scrollbar-color:var(--surface-2) transparent;border-radius:4px;margin:2px 0;padding:3px;list-style:none;overflow:hidden auto;box-shadow:0 6px 20px #00000073}.themed-select__list::-webkit-scrollbar{width:8px}.themed-select__list::-webkit-scrollbar-track{background:0 0}.themed-select__list::-webkit-scrollbar-thumb{background:var(--surface-2);border-radius:4px}.themed-select__option{white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:3px;padding:4px 8px;font-size:12px;line-height:1.4}.themed-select__option--selected{color:var(--text);font-weight:600}.themed-select__option--active{background:var(--surface)}.themed-select__option--active.themed-select__option--selected,.themed-select__option[aria-selected=true].themed-select__option--active{background:var(--accent);color:#fff}.brush-defaults{margin-top:8px}.brush-defaults__heading,.brush-preview__heading,.brush-section__heading{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted,var(--text));margin:8px 0 4px;font-size:11px;font-weight:600}.brush-section{border-top:1px solid var(--border);margin-top:4px;padding-top:4px}.brush-defaults__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.brush-defaults__item{background:var(--panel);width:100%;min-width:0;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;flex-direction:column;align-items:center;gap:3px;padding:5px 4px;display:flex}.brush-defaults__item:hover{border-color:var(--accent)}.brush-preset-thumb{background:#f2f2f2;border-radius:2px;width:100%;height:30px;display:block}.brush-preset-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--text-muted);font-size:11px;overflow:hidden}.brush-presets__item{min-width:0;display:flex;position:relative}.brush-presets__item .brush-defaults__item{flex:1;min-width:0}.brush-presets__delete{width:18px;height:18px;color:var(--text-muted);background:var(--panel-2);border:1px solid var(--border);cursor:pointer;border-radius:3px;justify-content:center;align-items:center;padding:0;font-size:11px;line-height:1;display:flex;position:absolute;top:2px;right:2px}.brush-presets__delete:hover{color:var(--text);border-color:var(--accent)}.brush-tip-row{align-items:flex-start;gap:8px;display:flex}.brush-tip-row .brush-tip-picker{flex:1;min-width:0}.brush-tipmark{border:1px solid var(--border);background:#f2f2f2;border-radius:3px;flex:none;width:80px;height:80px}.brush-tabs{flex-wrap:wrap;gap:2px;margin-bottom:6px;display:flex}.brush-tab{text-align:center;white-space:nowrap;text-overflow:ellipsis;background:var(--surface,#2a2a2a);min-width:0;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;border-radius:3px;flex:28%;padding:3px 4px;font-size:11px;overflow:hidden}.brush-tab:hover{color:var(--text)}.brush-tab--active{background:var(--panel);color:var(--text);border-color:var(--accent)}.brush-tabpanel[hidden]{display:none}.brush-tabpanel>.brush-section:first-child{border-top:none;margin-top:0;padding-top:0}.brush-preview{margin-top:8px}.brush-preview__canvas{border:1px solid var(--border);background:#f4f4f4;border-radius:3px;width:100%;max-width:100%;height:120px;display:block}.brush-tip-picker{grid-template-columns:repeat(auto-fill,34px);gap:5px;display:grid}.brush-tip-picker__item{background:var(--field);border:1px solid var(--border);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;width:34px;height:34px;padding:2px;display:inline-flex}.brush-tip-picker__item:hover{border-color:var(--text-faint)}.brush-tip-picker__item--active,.brush-tip-picker__item--active:hover{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.brush-tip-picker__item:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.brush-tip-picker__thumb{border-radius:2px;width:26px;height:26px;display:block}.brush-preview-footer{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.brush-preview-footer__row{align-items:center;gap:8px;margin-top:4px;display:flex}.brush-preview-footer__stroke{flex:1;min-width:0}.brush-preview-footer .brush-preview{margin-top:0}.adj-editor{min-width:0;color:var(--text);flex-direction:column;gap:8px;font-size:12px;display:flex}.adj-editor>.adj-editor__fields{margin:0}.adj-editor__toolbar{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.adj-editor__droppers,.adj-editor__seg{gap:2px;display:inline-flex}.adj-editor__sep{background:var(--border);width:1px;height:18px;margin:0 2px}.adj-editor__spacer{flex:auto}.adj-editor__tool{width:26px;height:26px;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.adj-editor__tool:hover{color:var(--text);background:var(--surface)}.adj-editor__tool.is-on{color:var(--text);background:var(--field);border-color:var(--accent)}.adj-editor__tool:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.adj-editor__btn:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.adj-editor__btn{height:26px;color:var(--text);background:var(--field);border:1px solid var(--border);font:inherit;cursor:pointer;white-space:nowrap;border-radius:4px;padding:0 10px;font-size:12px}.adj-editor__btn:hover{background:var(--surface)}.adj-editor__autowrap{margin-left:auto;display:inline-flex;position:relative}.adj-editor__auto{border-radius:4px 0 0 4px}.adj-editor__autoopts{width:24px;color:var(--text-muted);border-left:none;border-radius:0 4px 4px 0;justify-content:center;align-items:center;padding:0;display:inline-flex}.adj-editor__automenu{z-index:20;background:var(--panel);border:1px solid var(--border);border-radius:6px;flex-direction:column;gap:6px;width:max-content;max-width:min(260px,80vw);margin-top:4px;padding:10px 12px;display:flex;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #0006}.adj-editor__automenu-title{color:var(--text-muted);font-size:11px}.adj-editor__automenu-row{cursor:pointer;align-items:center;gap:7px;display:flex}.adj-editor__automenu-row input{margin:0}.adj-editor__automenu-clip{gap:8px;margin-top:4px;display:flex}.adj-editor__automenu-clip label{color:var(--text-muted);align-items:center;gap:3px;display:inline-flex}.adj-editor__automenu-clip input{width:56px}.adj-editor__hint{color:var(--accent-text);margin:0;font-size:11px}.adj-editor__foot{justify-content:flex-end;display:flex}.curve-editor--fluid{flex-direction:column;align-items:stretch;gap:6px;width:100%;display:flex}.curve-editor--fluid .curve-editor__svg{touch-action:none;aspect-ratio:1;cursor:crosshair;border-radius:3px;width:100%;max-width:none;height:auto;display:block}.curve-editor--fluid .curve-editor__svg:focus:not(:focus-visible){outline:none}.adj-levels__tri:focus:not(:focus-visible){outline:none}.curve-editor--fluid .curve-editor__svg:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.curve-editor--fluid .curve-editor__svg :-webkit-any(line,polyline,rect,polygon){vector-effect:non-scaling-stroke}.curve-editor--fluid .curve-editor__svg :-moz-any(line,polyline,rect,polygon){vector-effect:non-scaling-stroke}.curve-editor--fluid .curve-editor__svg :is(line,polyline,rect,polygon){vector-effect:non-scaling-stroke}.curve-editor--fluid .curve-editor__line{stroke:var(--accent);stroke-width:1.5px}.curve-editor--fluid .curve-editor__handle{fill:var(--surface-raised);stroke:var(--text);stroke-width:1.25px;cursor:grab}.curve-editor--fluid .curve-editor__handle.is-selected{fill:var(--text)}.curve-editor__hit{fill:#0000;cursor:grab}.curve-editor__io{gap:10px;display:flex}.curve-editor__io-field{min-width:0;color:var(--text-muted);flex:1 1 0;align-items:center;gap:6px;display:flex}.curve-editor__io-field>span{white-space:nowrap;flex:none}.curve-editor__io-field input{box-sizing:border-box;text-align:right;font-variant-numeric:tabular-nums;flex:auto;width:100%;min-width:0;height:24px;padding:2px 6px}.adj-levels{flex-direction:column;padding:0 6px;display:flex}.adj-levels__hist{background:var(--surface-raised);border:1px solid var(--border);box-sizing:border-box;width:100%;height:92px;display:block}.adj-levels__track{height:12px;margin-bottom:4px;position:relative}.adj-levels__tri{cursor:ew-resize;touch-action:none;justify-content:center;align-items:flex-start;width:12px;height:12px;margin-left:-6px;display:flex;position:absolute;top:0}.adj-levels__tri:before{content:"";position:absolute;top:-6px;bottom:-6px;left:-6px;right:-6px}.adj-levels__tri svg path{stroke:var(--text-muted);stroke-width:1px;stroke-linejoin:round}.adj-levels__tri--black svg path{fill:#000}.adj-levels__tri--gray svg path{fill:gray}.adj-levels__tri--white svg path{fill:#fff}.adj-levels__tri:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:2px}.adj-levels__nums{grid-template-columns:repeat(3,minmax(0,52px));justify-content:space-between;margin:0 -6px 4px;display:grid}.adj-levels__nums--two{grid-template-columns:repeat(2,minmax(0,52px))}.adj-levels__num{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;box-sizing:border-box;text-align:center;font-variant-numeric:tabular-nums;width:100%;height:24px;padding:2px 4px}.adj-levels__num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.adj-levels__num::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.adj-levels__label{color:var(--text-muted);margin:4px -6px 6px;font-size:11px}.adj-levels__ramp{border:1px solid var(--border);box-sizing:border-box;background:linear-gradient(90deg,#000,#fff);height:10px}.adj-huesat__bars{flex-direction:column;gap:3px;padding:4px 0;display:flex;position:relative}.adj-huesat__bar{border:1px solid var(--border);box-sizing:border-box;height:10px}.adj-huesat__bar--in{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.adj-huesat__range{border:1px solid var(--text);box-sizing:border-box;pointer-events:none;border-radius:2px;position:absolute;top:1px;bottom:1px}.adj-huesat__range--falloff{border-style:dashed;border-color:var(--text-muted)}.dialog .adj-editor{width:min(320px,82vw)}.panel-dock .panel-rail__icon .panel-icon{width:16px;height:16px;display:block}.panel-dock .panel-tabs{flex-wrap:nowrap;align-items:flex-end}.panel-dock .panel-tabs__list{flex-wrap:nowrap;flex:auto;gap:2px;min-width:0;margin-bottom:-1px;padding-bottom:1px;display:flex;overflow:hidden}.panel-dock .panel-tabs__list>.panel-tab{text-overflow:ellipsis;flex:0 auto;min-width:3.25em;overflow:hidden}.panel-dock .panel-tabs__list>.panel-tab--active{flex-shrink:0}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.panel-dock .panel-tabs__list{scrollbar-width:none;overscroll-behavior-x:contain;background:linear-gradient(to right, var(--panel-2) 30%, transparent) left / 18px 100% no-repeat local, linear-gradient(to left, var(--panel-2) 30%, transparent) right / 18px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, var(--scrollbar-thumb), transparent) left / 10px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, var(--scrollbar-thumb), transparent) right / 10px 100% no-repeat scroll, var(--panel-2);overflow:auto hidden}.panel-dock .panel-tabs__list::-webkit-scrollbar{display:none}.panel-dock .panel-tabs__list>.panel-tab{text-overflow:clip;flex-shrink:0;min-width:max-content;overflow:visible}}:root:lang(ja) .panel-dock .panel-tabs__list>.panel-tab{font-feature-settings:"palt";padding-left:4px;padding-right:4px}.panel-dock .panel-menu-button{width:22px;height:22px;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:none;justify-content:center;align-self:center;align-items:center;margin:0 0 3px 2px;padding:0;display:inline-flex}.panel-dock .panel-menu-button:hover,.panel-dock .panel-menu-button--open{color:var(--text);background:var(--surface);border-color:var(--border)}.panel-dock .panel-menu-button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.panel-menu{z-index:70;background:var(--panel);border:1px solid var(--border);border-radius:4px;min-width:200px;padding:4px 0;position:fixed;box-shadow:0 8px 24px #00000073}.panel-menu__item{width:100%;font:inherit;text-align:left;white-space:nowrap;color:var(--text);cursor:pointer;background:0 0;border:none;padding:5px 14px;font-size:12px;display:block}.panel-menu__item:hover:not([aria-disabled=true]){background:var(--surface);outline:none}.panel-menu__item:focus-visible{background:var(--surface);outline:none}.panel-menu__item[aria-disabled=true]{color:var(--text-muted);opacity:.6;cursor:default}.panel-menu__sep{background:var(--border);height:1px;margin:4px 0}.panel-dock .clone-source-panel{flex-direction:column;gap:6px;padding:8px 10px;font-size:12px;display:flex}.panel-dock .clone-source__slots{grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:2px;display:grid}.panel-dock .clone-source__slot{font-variant-numeric:tabular-nums;height:26px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:0;font-size:12px;position:relative}.panel-dock .clone-source__slot:hover{color:var(--text);border-color:var(--text-muted)}.panel-dock .clone-source__slot--active{color:var(--text);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.panel-dock .clone-source__slot--set:after{content:"";background:var(--accent);border-radius:50%;width:5px;height:5px;position:absolute;top:3px;right:3px}.panel-dock .clone-source__field{color:var(--text-muted);grid-template-columns:minmax(0,1fr) 72px 18px;align-items:center;gap:6px;display:grid}.panel-dock .clone-source__field input{text-align:right;font-variant-numeric:tabular-nums;width:100%;min-height:24px;padding:2px 6px}.panel-dock .clone-source__check{color:var(--text);cursor:pointer;align-items:center;gap:6px;display:flex}.panel-dock .histogram-panel{padding:8px 10px}.panel-dock .comps-panel,.panel-dock .artboards-panel{padding:4px 0;font-size:12px}.panel-dock .comps-header,.panel-dock .artboards-header{flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px;display:flex}.panel-dock .comps-new-btn,.panel-dock .artboards-new-btn,.panel-dock .artboards-export-btn,.panel-dock .artboards-clear-btn{color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:3px 8px;font-size:12px}.panel-dock .comps-new-btn:hover:not(:disabled),.panel-dock .artboards-header button:hover:not(:disabled){border-color:var(--text-muted)}.panel-dock .comps-header button:disabled,.panel-dock .artboards-header button:disabled{opacity:.5;cursor:default}.panel-dock .comps-empty,.panel-dock .artboards-empty{color:var(--text-muted);margin:0;padding:8px 10px;font-size:12px}.panel-dock .comps-list,.panel-dock .artboards-list{margin:0;padding:4px 6px;list-style:none}.panel-dock .comps-row,.panel-dock .artboards-row{border-radius:4px;align-items:center;gap:6px;padding:3px 4px;display:flex}.panel-dock .comps-row:hover,.panel-dock .artboards-row:hover{background:var(--surface)}.panel-dock .comps-row__name,.panel-dock .artboards-row__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:inherit;text-align:left;color:var(--text);cursor:pointer;background:0 0;border:none;flex:auto;padding:2px 4px;overflow:hidden}.panel-dock .artboards-row__dims{color:var(--text-muted)}.panel-dock .comps-row__input,.panel-dock .artboards-row__input{min-width:0;font:inherit;flex:auto}.panel-dock .comps-row__btn,.panel-dock .artboards-row__btn{min-width:22px;height:22px;color:var(--text);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:3px;flex:none;padding:0 5px;font-size:11px}.panel-dock .comps-row__btn:hover,.panel-dock .artboards-row__btn:hover:not(:disabled){border-color:var(--text-muted)}.panel-dock .artboards-row__btn:disabled{opacity:.5;cursor:default}.panel-dock .comps-empty,.panel-dock .artboards-empty,.panel-dock .actions-empty,.panel-dock .paths-empty,.panel-dock .history-empty,.panel-dock .properties-hint{word-break:var(--ko-word-break,normal);overflow-wrap:break-word}.panel-dock .panel-body>p.properties-hint{padding:8px 10px}.panel-dock .color-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.panel-dock .color-hex{grid-column:1/-1}.panel-dock .color-hex input{width:calc(84px * var(--text-scale,1));max-width:100%}.panel-dock .color-rgb input{flex:auto;width:auto;min-width:0}@media (max-width:820px){.panel-dock .panel-menu-button{width:32px;height:32px;margin-bottom:0}.panel-menu__item{min-height:36px}.panel-dock .panel-tab{min-height:32px;padding-top:7px;padding-bottom:7px}.panel-dock .panel-body button,.panel-dock .panel-body .themed-select__trigger,.panel-dock .panel-body input:not([type=checkbox]):not([type=radio]):not([type=range]),.panel-dock .panel-body select{min-height:32px}.panel-dock .panel-body button{min-width:32px}.panel-dock .panel-body .color-swatch__remove{min-width:0;min-height:0}.panel-dock .panel-body label:has(>input[type=checkbox]){align-items:center;min-height:32px;display:flex}.panel-dock .panel-body .seg-btn,.panel-dock .panel-body .color-swatch__chip,.panel-dock .panel-body .color-swatch__add,.panel-dock .panel-body .color-chip,.panel-dock .panel-body .layer-lock-btn,.panel-dock .panel-body [data-testid^=lock-],.panel-dock .panel-body [data-testid=active-layer-lock],.panel-dock .panel-body .layers-toolbar button{width:32px;height:32px}.panel-dock .panel-body .layers-toolbar .layers-toolbar__fx{width:auto;min-width:32px;padding:0 4px}.panel-dock .panel-body .layers-add-adjustment{width:40px;height:32px}.panel-dock .panel-body .layers-add-adjustment .themed-select__trigger{color:#0000;background:0 0;border-color:#0000;min-width:0;position:absolute;top:0;bottom:0;left:0;right:0}.panel-dock .panel-body .layers-add-adjustment .themed-select__value{visibility:hidden}.panel-dock .panel-body .history-entry{box-sizing:border-box;align-items:center;min-height:32px;padding-top:8px;padding-bottom:8px;display:flex}.panel-dock .panel-body .history-snapshot{box-sizing:border-box;min-height:36px}.panel-dock .history-scroll{height:max(160px,min(40dvh,320px))}.panel-dock .history-scroll .history-list{padding-bottom:32px}.panel-dock .history-snapshots{max-height:max(36px,min(50%,100% - 72px))}.panel-dock .panel-body .history-toolbar button{width:32px;height:32px}.panel-dock .panel-body .properties-param:has(>input[type=checkbox])>label{align-items:center;min-height:32px;display:inline-flex}.panel-dock .panel-body .icon-field__step{display:none}.panel-dock .panel-body .clone-source__slot{height:32px}.panel-dock .panel-body [data-testid=frame-delay]{align-items:center;min-height:32px;display:inline-flex}}.panel-dock .artboards-row{cursor:pointer}.panel-dock .artboards-row--active{background:var(--accent);color:#fff}.panel-dock .artboards-row--active .artboards-row__dims{color:inherit;opacity:.85}.panel-dock .artboards-row--active .artboards-row__btn{color:inherit;border-color:currentColor}.artboard-props__number{width:80px;min-height:28px}.artboard-props__actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.artboard-props__actions>button{min-height:28px;padding:2px 10px}@media (max-width:600px){.artboard-props__number{width:96px;min-height:40px;font-size:16px}.artboard-props__actions>button{min-height:40px}}.recovery-card{cursor:default;box-sizing:border-box;background:var(--panel);border:1px solid var(--border);text-align:left;border-radius:10px;width:100%;max-width:460px;padding:14px 16px 12px;box-shadow:0 8px 28px #00000047}.recovery-card__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;display:flex}.recovery-card__title{word-break:var(--ko-word-break,normal);overflow-wrap:anywhere;color:var(--text);margin:0;font-size:14px;font-weight:600}.recovery-card__local{border:1px solid var(--border);color:var(--text-dim);white-space:nowrap;cursor:help;border-radius:999px;flex:none;align-items:center;gap:4px;padding:2px 7px;font-size:11px;display:inline-flex}.recovery-card__lead{color:var(--text-dim);margin:4px 0 8px;font-size:12px;line-height:1.45}.recovery-dialog{width:min(480px,100vw - 48px)}.recovery-dialog__local{color:var(--text-faint);margin:0 0 10px;font-size:11px;line-height:1.45}.recovery-list__rows{flex-direction:column;gap:6px;max-height:46vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.recovery-list__row{border:1px solid var(--border);background:var(--panel-2);border-radius:6px;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px;display:grid}.recovery-list__thumb{width:56px;height:42px;color:var(--text-faint);background:var(--panel);border-radius:3px;justify-content:center;align-items:center;display:flex;overflow:hidden}.recovery-list__thumb img{object-fit:contain;background-color:#cfcfcf;background-image:linear-gradient(45deg,#9c9c9c 25%,#0000 25%),linear-gradient(-45deg,#9c9c9c 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#9c9c9c 75%),linear-gradient(-45deg,#0000 75%,#9c9c9c 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px;max-width:100%;max-height:100%;display:block}.recovery-list__thumb svg{color:var(--text-faint)}.recovery-list__text{flex-direction:column;gap:1px;min-width:0;display:flex}.recovery-list__name{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.recovery-list__info,.recovery-list__age{color:var(--text-dim);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.recovery-list__actions{gap:6px;display:flex}.recovery-list__btn{border:1px solid var(--border);background:var(--panel);min-height:28px;color:var(--text);font:inherit;cursor:pointer;border-radius:4px;padding:4px 12px;font-size:12px}.recovery-list__btn:hover:not(:disabled){background:var(--panel-2);border-color:var(--text-faint)}.recovery-list__btn:focus-visible{outline:2px solid var(--accent-text);outline-offset:1px}.recovery-list__btn:disabled{opacity:.5;cursor:default}.recovery-list__btn--primary{border-color:var(--accent);background:var(--accent);color:#fff}.recovery-list__btn--primary:hover:not(:disabled){border-color:var(--accent);background:var(--accent);filter:brightness(1.12)}.recovery-list__btn--danger{color:#fff;background:#b3261e;border-color:#b3261e}.recovery-list__btn--danger:hover:not(:disabled){filter:brightness(1.12);background:#b3261e;border-color:#b3261e}.recovery-list__footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-top:8px;display:flex}.recovery-list__confirm{color:var(--text);flex:100%;font-size:12px}.recovery-list__empty{color:var(--text-dim);margin:8px 0;font-size:12px}@media (max-width:520px){.recovery-card{padding:12px}.recovery-list__row{grid-template-columns:56px minmax(0,1fr)}.recovery-list__actions{grid-column:1/-1}.recovery-list__actions .recovery-list__btn,.recovery-list__footer .recovery-list__btn{flex:1 1 0;min-height:40px}}.incoming-photo{pointer-events:none;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.incoming-photo__card{text-align:center;min-width:0;max-width:min(340px,100%);color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:10px;flex-direction:column;align-items:center;gap:8px;padding:24px 28px;display:flex;box-shadow:0 8px 28px #0000004d}.incoming-photo__spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;margin-bottom:4px;animation:.8s linear infinite incoming-photo-spin}@keyframes incoming-photo-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.incoming-photo__spinner{animation:none}}.incoming-photo__title{margin:0;font-size:17px;font-weight:600;line-height:1.3}.incoming-photo__name{max-width:100%;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;overflow:hidden}.incoming-photo__note{color:var(--text-muted);word-break:keep-all;overflow-wrap:anywhere;margin:0;font-size:12.5px;line-height:1.45}.adjust-dialog__color{align-items:center;gap:8px;min-width:0;display:inline-flex}.adjust-dialog__color>input[type=color]{flex:none;width:48px}.adjust-dialog .adjust-dialog__hex{box-sizing:border-box;font-variant-numeric:tabular-nums;text-align:left;flex:none;width:9ch;min-width:84px}.adjust-dialog__groups{border:1px solid var(--border,#3a3a3a);border-radius:4px;flex-wrap:wrap;align-items:center;gap:4px 14px;margin:0 0 2px;padding:6px 10px 8px;display:flex}.adjust-dialog__groups legend{color:var(--text-muted,#9a9a9a);padding:0 4px;font-size:11px}.adjust-dialog__group-option{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.trim-dialog{flex-direction:column;gap:12px;min-width:260px;display:flex}.trim-dialog__group{border:1px solid var(--border,#3a3a3a);border-radius:4px;flex-direction:column;gap:6px;margin:0;padding:6px 10px 10px;display:flex}.trim-dialog__group legend{color:var(--text-muted,#9a9a9a);padding:0 4px;font-size:11px}.trim-dialog__sides{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.trim-dialog__option{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.rotate-dial__label{margin-right:6px;font-size:13px}.rotate-dial__dir{flex-wrap:wrap;justify-content:center;gap:4px 18px;font-size:13px;display:flex}.rotate-dial__dir-option{cursor:pointer;align-items:center;gap:6px;display:inline-flex}@media (pointer:coarse){.adjust-dialog__preview,.adjust-dialog__group-option,.trim-dialog__option,.rotate-dial__dir-option{min-height:32px}.adjust-dialog .dialog__field:has(>input[type=checkbox]){min-height:32px}.image-dialog .themed-select__trigger,.adjust-dialog .themed-select__trigger,.dialog .adj-editor .themed-select__trigger,.image-dialog .dialog__field>input[type=number],.variations__radio{min-height:32px}.image-dialog .dialog__field:has(>input[type=checkbox]){min-height:32px}.image-dialog .anchor-grid{grid-template-rows:repeat(3,32px);grid-template-columns:repeat(3,32px)}.image-dialog .anchor-cell{width:32px;height:32px}.adjust-dialog .adjust-dialog__hex,.adjust-dialog .dialog__field>input[type=number],.adjust-dialog .dialog__field>input[type=color],.adjust-dialog__color>input[type=color]{min-height:32px}}.quick-export{gap:14px;width:min(420px,100vw - 48px)}.quick-export__summary{align-items:center;gap:12px;display:flex}.quick-export__preview{border:1px solid var(--border);background:repeating-conic-gradient(#8884 0% 25%,#0000 0% 50%) 0 0/12px 12px;border-radius:4px;flex:none;max-width:132px;max-height:96px}.quick-export__facts{color:var(--text-muted,#9a9a9a);flex-direction:column;gap:4px;min-width:0;font-size:12px;display:flex}.quick-export__facts strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:13px}.quick-export__row{flex-direction:column;gap:6px;font-size:12px;display:flex}.quick-export__row>span:first-child{color:var(--text-muted,#9a9a9a)}.quick-export__row--inline{flex-direction:row;align-items:center;gap:10px}.quick-export__row--inline input[type=range]{flex:auto;min-width:0}.quick-export__row--inline output{text-align:right;font-variant-numeric:tabular-nums;min-width:3ch}.quick-export__name{align-items:center;gap:4px;display:flex}.quick-export__name input{min-width:0;height:28px;color:var(--text);background:var(--field,var(--surface-raised,#2a2a2a));border:1px solid var(--border);border-radius:4px;flex:auto;padding:2px 8px;font-size:13px}.quick-export__ext{color:var(--text-muted,#9a9a9a);font-size:13px}.quick-export__formats{background:var(--border);border:1px solid var(--border);border-radius:5px;flex-wrap:wrap;flex:auto;gap:1px;min-width:0;display:flex;overflow:hidden}.quick-export__format{white-space:nowrap;min-width:44px;min-height:30px;color:var(--text);background:var(--panel);cursor:pointer;border:0;flex:1 0 auto;padding:4px 6px;font-size:12px;font-weight:600}.quick-export__format:hover{background:var(--surface-raised,#2a2a2a)}.quick-export__format.is-active{background:var(--accent);color:#fff}.quick-export__format:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.quick-export__format-bar{flex-wrap:wrap;align-items:stretch;gap:6px;display:flex}.quick-export__more-formats{border:1px solid var(--border);white-space:nowrap;border-radius:5px;flex:none;justify-content:center;align-items:center;gap:5px;padding:4px 10px;display:inline-flex}.quick-export__more-list{border:1px solid var(--border);background:var(--panel-2,transparent);border-radius:6px;flex:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;display:grid}.quick-export__more-item{min-height:44px;font:inherit;text-align:left;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 8px;font-size:12px;display:flex}.quick-export__more-item strong{font-size:12.5px}.quick-export__more-item span{color:var(--text-dim,#a0a0a0);word-break:keep-all;overflow-wrap:anywhere;line-height:1.35}.quick-export__more-item:hover:not(:disabled){border-color:var(--border);background:var(--surface-raised,#2a2a2a)}.quick-export__more-item.is-active{border-color:var(--accent)}.quick-export__more-item:disabled{opacity:.55;cursor:not-allowed}.quick-export__more-item:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.quick-export__note{color:var(--text-dim,#a0a0a0);word-break:keep-all;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.45}.quick-export__custom{align-items:center;gap:8px;display:flex}.quick-export__custom input{width:96px}.quick-export__muted{color:var(--text-muted,#9a9a9a)}.quick-export__link{font:inherit;color:var(--accent-text,var(--accent));text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.dialog__actions .quick-export__more{color:var(--accent-text,var(--accent));border-color:#0000;margin-right:auto;padding-left:4px;padding-right:4px}.quick-export__actions{flex-wrap:wrap}.quick-export__toggle{color:var(--text);cursor:pointer;align-items:center;gap:8px;font-size:12px;display:flex}.quick-export__toggle input{margin:0}.quick-export-hub{border:1px solid var(--border);border-radius:6px;flex-direction:column;gap:12px;padding:10px;display:flex}.quick-export-hub__head,.quick-export-hub__row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 28px;align-items:center;gap:6px;display:grid}.quick-export-hub__row:has(.quick-export-hub__px){grid-template-columns:minmax(0,1.2fr) 72px minmax(0,1fr) 28px}.quick-export-hub__head{color:var(--text-muted,#9a9a9a)}.quick-export-hub__rows{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.quick-export-hub__row input{min-width:0;height:28px;color:var(--text);background:var(--field,var(--surface-raised,#2a2a2a));border:1px solid var(--border);border-radius:4px;padding:2px 6px;font-size:13px}.quick-export-hub__size{width:100%;min-width:0}.quick-export-hub__remove{width:28px;height:28px;color:var(--text-muted,#9a9a9a);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;padding:0;font-size:16px;line-height:1}.quick-export-hub__remove:hover:not(:disabled){color:var(--text);border-color:var(--border)}.quick-export-hub__remove:disabled{opacity:.35;cursor:default}.quick-export-hub__add{color:var(--accent-text,var(--accent));border:1px dashed var(--border);cursor:pointer;background:0 0;border-radius:4px;align-self:flex-start;padding:4px 8px;font-size:12px}.quick-export-hub__add:disabled{opacity:.45;cursor:default}.quick-export-hub__files{font-size:12px}.quick-export-hub__files ul{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.quick-export-hub__files li{font-variant-numeric:tabular-nums;justify-content:space-between;gap:10px;display:flex}.quick-export-hub__files p{margin:4px 0 0}.quick-export-hub__fname{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);overflow:hidden}@media (max-width:820px){.quick-export{width:auto}.quick-export__actions{row-gap:10px}.quick-export__actions .quick-export__download{flex:100%;order:-1}.quick-export__actions .quick-export__share{flex:calc(50% - 8px);order:-2}.quick-export__actions .quick-export__download:has(+.quick-export__share){flex-basis:calc(50% - 8px)}.quick-export__format{min-height:40px;font-size:13px}.quick-export__name input{height:36px;font-size:16px}.quick-export__link{min-height:32px}.quick-export__toggle{min-height:36px;font-size:13px}.quick-export__toggle input{width:18px;height:18px}.quick-export-hub__head,.quick-export-hub__row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 36px}.quick-export-hub__row:has(.quick-export-hub__px){grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr) 36px}.quick-export-hub__row input{height:36px;font-size:16px}.quick-export-hub__remove{width:36px;height:36px}.quick-export-hub__add{min-height:36px;font-size:13px}}.quick-export__cloud{border-top:1px solid var(--border,#7f7f7f40);flex-wrap:wrap;align-items:center;gap:8px;padding-top:10px;display:flex}.quick-export__cloud-label{color:var(--text-muted);margin-right:2px;font-size:12px}.quick-export__cloud-btn{border:1px solid var(--border,#7f7f7f66);min-height:32px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:6px;padding:4px 12px;font-size:12.5px;display:inline-flex}.quick-export__cloud-btn:hover:not(:disabled){border-color:var(--accent)}.quick-export__cloud-btn:disabled{opacity:.6;cursor:default}.quick-export__cloud-btn[aria-busy=true]{cursor:progress}.quick-export__cloud-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (max-width:820px),(pointer:coarse){.quick-export__cloud-label{flex-basis:100%}.dialog .quick-export__cloud button.quick-export__cloud-btn:not([style*=left]){flex:1 1 0;justify-content:center;min-height:44px;font-size:14px}}.lite-pick{z-index:2;text-align:center;color:var(--text);background:var(--field,#1b1b1b);border:1px dashed var(--border-2,#484848);border-radius:inherit;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:20px;font-size:14px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.lite-pick svg{width:36px;height:36px;color:var(--text-muted)}.lite-pick:hover,.lite-pick--over,.lite-pick:focus-within{border-color:var(--accent)}.lite-pick:focus-within{outline:2px solid var(--accent);outline-offset:-2px}.lite-pick__input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}:has(>.lite-pick){min-height:200px;position:relative}.bgrm{flex-direction:column;gap:14px;min-width:min(680px,86vw);display:flex}.bgrm__stage{background:var(--panel,#2a2a2a);border-radius:10px;place-items:center;min-height:240px;max-height:56vh;display:grid;position:relative;overflow:hidden}.bgrm__stage--checker{background-color:#e9edf3;background-image:linear-gradient(45deg,#c7ced9 25%,#0000 25%),linear-gradient(-45deg,#c7ced9 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#c7ced9 75%),linear-gradient(-45deg,#0000 75%,#c7ced9 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.bgrm__canvas{touch-action:none;cursor:crosshair;max-width:100%;max-height:56vh;display:block}.bgrm__overlay{color:#eef3fb;text-align:center;background:#141820a8;place-content:center;justify-items:center;gap:8px;padding:20px;font-size:.95rem;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.bgrm__overlay span{opacity:.75;font-size:.82rem}.bgrm__spinner{border:3px solid #ffffff40;border-top-color:#4f86f7;border-radius:50%;width:34px;height:34px;animation:.8s linear infinite bgrm-spin}@keyframes bgrm-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.bgrm__spinner{animation-duration:2s}}.bgrm__controls{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.bgrm__group{align-items:center;gap:8px;display:flex}.bgrm__label{opacity:.85;white-space:nowrap;font-size:.85rem}.bgrm__seg{border:1px solid var(--border,#3a3f47);border-radius:8px;display:inline-flex;overflow:hidden}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.bgrm__group{flex-wrap:wrap}.bgrm__seg{min-width:0;max-width:100%;display:flex}.bgrm__seg button{overflow-wrap:anywhere;flex:auto;min-width:0}}.bgrm__seg button{color:inherit;cursor:pointer;background:0 0;border:0;padding:6px 12px;font-size:.85rem}.bgrm__seg button.is-on{color:#fff;background:#2563eb}.bgrm__controls input[type=range]{width:120px}.bgrm__controls>.dialog__primary{background:var(--accent);border:1px solid var(--accent);color:#fff;min-height:36px;font:inherit;cursor:pointer;border-radius:6px;padding:8px 18px;font-weight:600}.bgrm__controls>.dialog__primary:disabled{opacity:.5;cursor:default}@media (max-width:820px){.bgrm__controls>.dialog__primary{flex:100%;min-height:44px}}.cpick{flex-direction:column;gap:12px;min-width:min(640px,86vw);display:flex}.cpick__stage{background:#11151c;border-radius:10px;place-items:center;max-height:52vh;display:grid;overflow:hidden}.cpick__canvas{cursor:crosshair;max-width:100%;max-height:52vh;display:block}.cpick__hint{opacity:.75;margin:0;font-size:.85rem}.cpick__readout{align-items:center;gap:10px;display:flex}.cpick__chip{background-clip:padding-box;border:1px solid #ffffff40;border-radius:8px;flex:none;width:34px;height:34px}.cpick__hex{letter-spacing:.02em;min-width:8ch;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.05rem;font-weight:700}.cpick__readout button{padding:6px 12px;font-size:.85rem}.cpick__label{opacity:.85;margin:4px 0 0;font-size:.85rem}.cpick__palette{flex-wrap:wrap;gap:8px;display:flex}.cpick__swatch{cursor:pointer;border:1px solid #00000026;border-radius:8px;width:92px;height:56px;padding:0;position:relative;overflow:hidden}.cpick__swatch span{color:#fff;text-align:center;background:#00000073;padding:3px 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:700;position:absolute;bottom:0;left:0;right:0}.command-palette .command-palette__item{grid-template-columns:minmax(0,1fr) auto 72px;align-items:center;column-gap:12px;display:grid}.command-palette .command-palette__item-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.command-palette .command-palette__item-category{text-overflow:ellipsis;white-space:nowrap;text-align:right;max-width:260px;overflow:hidden}.command-palette .command-palette__item-keyslot{justify-content:flex-end;display:flex}@media (max-width:480px){.command-palette .command-palette__item{grid-template-columns:minmax(0,1fr) auto 0}.command-palette .command-palette__item-keyslot{display:none}.command-palette .command-palette__item-category{max-width:40vw}}.pwa-toast{z-index:1000;background:var(--surface-raised,#2a2a2a);color:var(--text,#eee);border:1px solid var(--border,#444);border-radius:6px;align-items:center;gap:12px;padding:10px 14px;font-size:13px;display:flex;position:fixed;bottom:16px;right:16px;box-shadow:0 4px 16px #0006}.pwa-toast__msg{white-space:nowrap}.pwa-toast__btn{background:var(--accent,#3b82f6);color:#fff;cursor:pointer;border:none;border-radius:4px;padding:4px 12px;font-size:13px}.app-shell--lite .pwa-toast{top:64px;bottom:auto}.app-shell:not(.app-shell--lite) .pwa-toast--info{bottom:36px;left:56px;right:auto}.pwa-toast--info{pointer-events:none}.install-banner{z-index:95;box-sizing:border-box;background:var(--panel-2,#313131);width:max-content;max-width:min(560px,100vw - 32px);color:var(--text,#e0e0e0);border:1px solid var(--border,#3a3a3a);border-radius:10px;align-items:center;gap:12px;padding:10px 10px 10px 12px;font-size:13px;line-height:1.35;animation:.18s ease-out install-banner-in;display:flex;position:fixed;top:92px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #00000073}@keyframes install-banner-in{0%{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.install-banner{animation:none}}.install-banner__icon{flex:none;width:36px;height:36px}.install-banner__text{flex-direction:column;gap:2px;min-width:0;display:flex}.install-banner__title{font-weight:600}.install-banner__body{color:var(--text-muted,#aaa)}.install-banner__share{vertical-align:-3px;width:16px;height:16px;color:var(--accent-text,#6ea8fe);margin:0 3px;display:inline-block}.install-banner__actions{flex:none;gap:6px;display:flex}.install-banner__btn{min-height:32px;color:var(--text,#e0e0e0);border:1px solid var(--border,#3a3a3a);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border-radius:6px;padding:0 12px}.install-banner__btn:hover{background:var(--surface,#333)}.install-banner__btn:focus-visible{outline:2px solid var(--accent-text,#6ea8fe);outline-offset:1px}.install-banner__btn--primary{background:var(--accent,#2563eb);border-color:var(--accent,#2563eb);color:#fff;font-weight:600}.install-banner__btn--primary:hover{background:var(--accent,#2563eb);filter:brightness(1.1)}.app-shell--lite .install-banner{top:68px}@media (max-width:600px){.install-banner{flex-wrap:wrap;width:calc(100vw - 32px);top:8px}.install-banner__text{flex:1 1 0}.install-banner__actions{flex:100%;justify-content:flex-end}.install-banner__btn{min-height:40px}}.toast-stack{z-index:1100;flex-direction:column;gap:8px;max-width:min(360px,100vw - 32px);display:flex;position:fixed;bottom:64px;right:16px}.toast{background:var(--surface-raised,#2a2a2a);color:var(--text,#eee);border:1px solid var(--border,#444);border-radius:6px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:13px;line-height:1.4;animation:.16s ease-out toast-in;display:flex;box-shadow:0 4px 16px #0006}.toast:before{content:"";background:var(--accent,#3b82f6);border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px}.toast--error:before{background:#ef4444}.toast--success:before{background:#22c55e}.toast--info:before{background:var(--accent,#3b82f6)}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}.toast__msg{word-break:break-word;flex:auto}.toast__action{color:var(--accent-text,#6ea8fe);text-underline-offset:2px;white-space:nowrap;flex:none;align-self:center;font-weight:600;text-decoration:underline}button.toast__action{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.toast__action:hover{color:var(--text,#eee)}.toast__close{color:var(--text-muted,#aaa);cursor:pointer;background:0 0;border:none;border-radius:4px;flex:none;margin:-2px -2px 0 0;padding:0 4px;font-size:16px;line-height:1.2}.toast__close:hover{color:var(--text,#eee)}.toast-stack.toast-stack--phone{left:calc(12px + env(safe-area-inset-left,0px));right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(98px + env(safe-area-inset-bottom,0px));pointer-events:none;align-items:stretch;width:auto;max-width:none;margin:0 auto;overflow:hidden}.toast-stack--phone:empty,.toast-stack--phone>.toast-stack__pwa:empty{display:none}.toast-stack--phone>*{pointer-events:auto}.toast-stack--phone .pwa-toast{box-sizing:border-box;width:auto;position:static}.toast-stack--phone .pwa-toast--info{pointer-events:none}.toast-stack--phone .pwa-toast__msg{white-space:normal;flex:auto}.toast-stack--phone.toast-stack--held{visibility:hidden}.toast-stack--phone.toast-stack--held>*{pointer-events:none}.source-hint{z-index:1100;background:var(--surface-raised,#2a2a2a);width:max-content;max-width:min(320px,100vw - 16px);color:var(--text,#eee);border:1px solid var(--accent,#3b82f6);border-radius:8px;align-items:flex-start;gap:8px;padding:9px 10px;font-size:13px;line-height:1.4;animation:.16s ease-out toast-in;display:flex;position:fixed;box-shadow:0 6px 20px #00000073}@media (prefers-reduced-motion:reduce){.source-hint{animation:none}}.source-hint__icon{color:var(--accent-text,#6ea8fe);flex:none;margin-top:1px}.source-hint__body{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.source-hint__title{font-weight:600}.source-hint__msg{color:var(--text-muted,#bbb);word-break:break-word}.source-hint__action{background:var(--accent,#2563eb);color:#fff;min-height:28px;font:inherit;white-space:nowrap;cursor:pointer;border:0;border-radius:6px;flex:none;align-self:center;padding:0 10px;font-weight:600}.source-hint__action:hover{filter:brightness(1.1)}.source-hint[data-touch=true] .source-hint__action{min-height:36px}.source-hint__close{color:var(--text-muted,#aaa);cursor:pointer;background:0 0;border:none;border-radius:4px;flex:none;margin:-2px -2px 0 0;padding:0 4px;font-size:16px;line-height:1.2}.source-hint__close:hover{color:var(--text,#eee)}.drag-readout{z-index:1150;pointer-events:none;color:#f2f2f2;font-variant-numeric:tabular-nums;white-space:nowrap;background:#181818e0;border:1px solid #ffffff2e;border-radius:4px;padding:4px 7px;font-size:12px;line-height:1.35;position:fixed;box-shadow:0 2px 8px #00000059}.busy-overlay{z-index:2000;pointer-events:auto;background:#00000059;justify-content:center;align-items:center;animation:.12s ease-out busy-scrim-in;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.busy-overlay__box{background:var(--surface-raised,#2a2a2a);min-width:140px;color:var(--text,#eee);border:1px solid var(--border,#444);border-radius:10px;flex-direction:column;align-items:center;gap:12px;padding:20px 28px;display:flex;box-shadow:0 8px 32px #00000073}.busy-overlay__spinner{border:3px solid var(--border,#444);border-top-color:var(--accent,#3b82f6);border-radius:50%;width:34px;height:34px;animation:.8s linear infinite busy-spin}.busy-overlay__label{color:var(--text-muted,#aaa);text-align:center;word-break:break-word;max-width:240px;font-size:13px;line-height:1.3}.busy-overlay__progress{background:var(--border,#444);border-radius:3px;width:200px;max-width:60vw;height:6px;overflow:hidden}.busy-overlay__progress-fill{background:var(--accent,#3b82f6);height:100%;transition:width .12s linear}.busy-overlay__cancel{min-width:96px;min-height:32px;font:inherit;color:var(--text,#eee);background:var(--surface,#333);border:1px solid var(--border,#555);cursor:pointer;border-radius:6px;padding:4px 16px;font-size:13px}.busy-overlay__cancel:hover{background:var(--surface-2,#444)}.busy-overlay__cancel:focus-visible{outline:2px solid var(--accent,#3b82f6);outline-offset:2px}@media (pointer:coarse){.busy-overlay__cancel{min-height:44px}}.busy-overlay__hint{color:var(--text-faint,#9a9a9a);font-size:11px}@media (pointer:coarse){.busy-overlay__hint{display:none}}@keyframes busy-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes busy-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.busy-overlay{animation:none}.busy-overlay__spinner{border-color:var(--accent,#3b82f6);animation:none}.busy-overlay__progress-fill{transition:none}}.subject-job{text-align:center;min-width:260px;max-width:320px;word-break:var(--ko-word-break,normal);overflow-wrap:break-word;align-items:stretch}.subject-job .busy-overlay__spinner{align-self:center}.subject-job .busy-overlay__label{max-width:none;color:var(--text,#eee);font-variant-numeric:tabular-nums}.subject-job__title{color:var(--text,#eee);font-size:14px;font-weight:600}.subject-job__bar{background:var(--border,#444);border-radius:3px;height:6px;overflow:hidden}.subject-job__fill{background:var(--accent,#3b82f6);height:100%;transition:width .12s linear}.subject-job__note{color:var(--text-muted,#aaa);font-size:12px;line-height:1.35}.subject-job__cancel{color:var(--text,#eee);border:1px solid var(--border,#444);cursor:pointer;font:inherit;background:0 0;border-radius:4px;align-self:center;padding:6px 16px;font-size:13px}.subject-job__cancel:hover{border-color:var(--text-muted,#aaa)}.subject-job__cancel:focus-visible{outline:2px solid var(--accent,#3b82f6);outline-offset:2px}@media (prefers-reduced-motion:reduce){.subject-job__fill{transition:none}}.app-shell{height:100%;min-height:100vh;grid-template-rows:auto auto auto 1fr auto auto;grid-template-columns:minmax(0,1fr);min-height:100dvh;display:grid}.app-shell>.menu-bar{grid-row:1}.app-shell>.tab-bar{grid-row:2}.app-shell>.options-bar{grid-row:3}.app-shell>.app-body{grid-row:4}.app-shell>.status-bar{grid-row:5}.app-shell--lite{flex-direction:column;display:flex}.app-shell--lite .menu-bar,.app-shell--lite .tab-bar,.app-shell--lite .options-bar,.app-shell--lite .tool-bar,.app-shell--lite .panel-dock,.app-shell--lite .status-bar,.app-shell--lite .mobile-panels-toggle,.app-shell--lite .mobile-panels-backdrop{display:none!important}.app-shell--lite .app-body{flex:auto;grid-template-columns:1fr;min-height:0}.app-shell--lite .rulers{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.app-shell--lite .ruler-canvas-cell{grid-area:1/1}.app-shell--lite .ruler-corner,.app-shell--lite .ruler-top,.app-shell--lite .ruler-left,.app-shell--lite .canvas-empty{display:none!important}.lite-bar{background:var(--panel);border-bottom:1px solid var(--border);z-index:101;flex:none;justify-content:space-between;align-items:center;gap:16px;height:56px;padding:0 18px;display:flex;position:relative}.lite-bar__brand{color:var(--text);letter-spacing:-.02em;align-items:center;gap:9px;font-size:16px;font-weight:800;text-decoration:none;display:inline-flex}.lite-bar__mark{flex:none;width:26px;height:26px}.lite-bar__yam{color:#a77bff}:root[data-theme=light] .lite-bar__yam{color:#8426f9}.lite-bar__editor{cursor:pointer;color:var(--text-muted);font:inherit;border:1px solid var(--border);background:0 0;border-radius:999px;align-items:center;gap:7px;padding:8px 15px;font-size:13.5px;font-weight:600;transition:color .15s,border-color .15s;display:inline-flex}.lite-bar__editor:hover{color:var(--text);border-color:var(--accent)}.lite-bar__editor svg{width:16px;height:16px}.lite-actions{padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:var(--panel);border-top:1px solid var(--border);z-index:101;flex:none;justify-content:center;display:flex;position:relative}.lite-actions__dl{cursor:pointer;background:var(--accent);color:#fff;font:inherit;border:none;border-radius:11px;align-items:center;gap:9px;padding:12px 30px;font-size:15px;font-weight:700;transition:filter .15s,transform .15s;display:inline-flex;box-shadow:0 6px 18px #2563eb47}.lite-actions__dl:hover{filter:brightness(1.06);transform:translateY(-1px)}.lite-actions__dl svg{width:18px;height:18px}.tab-bar{background:var(--bg-deep);border-bottom:1px solid var(--border);align-items:stretch;gap:1px;height:30px;display:flex;overflow-x:auto}.doc-tab{background:var(--panel);border:none;border-right:1px solid var(--border);max-width:200px;color:var(--text-muted);cursor:pointer;font:inherit;text-align:left;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;padding:0 8px 0 12px;font-size:12px;display:flex}.doc-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.doc-tab:has(>.doc-tab__main:focus-visible){outline:2px solid var(--accent);outline-offset:-2px}.tab-bar__tabs>.doc-tab{padding-left:0}.doc-tab__main{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:auto;align-self:stretch;align-items:center;gap:6px;padding:0 0 0 12px;display:flex}.doc-tab__main:focus-visible{outline:none}.doc-tab:hover{background:var(--surface)}.doc-tab--active{background:var(--bg-canvas);color:var(--text);border-bottom:1px solid var(--bg-canvas)}.doc-tab__dirty{background:var(--accent);border-radius:50%;flex:none;width:7px;height:7px}.doc-tab--new{max-width:none;color:var(--text-muted);justify-content:center;padding:0 12px;font-size:16px;line-height:1}.doc-tab__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.doc-tab__close{width:18px;height:18px;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:none;justify-content:center;align-items:center;padding:0;font-size:14px;line-height:1;display:flex}.doc-tab__close:hover{border-color:var(--border);background:var(--surface-2)}.options-bar{background:var(--panel);border-bottom:1px solid var(--border);flex-wrap:nowrap;align-items:center;gap:8px;height:32px;padding:0 8px;display:flex;overflow:auto hidden}.options-bar::-webkit-scrollbar{height:6px}.options-bar::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.options-bar::-webkit-scrollbar-track{background:0 0}.options-group{align-items:center;gap:8px;display:flex}.options-group--view{margin-left:auto}.options-bar--overflow>*{flex-shrink:0}.options-ob-item{flex:none;align-items:center;gap:8px;display:flex}.options-bar--overflow>.options-group:has(>.options-ob-slot):not(:has(>:not(.options-ob-slot))){display:none}.options-more{flex:none;margin-left:auto}.options-group--view:has(>.options-ob-item)~.options-more{margin-left:0}.options-more__panel{z-index:150;background:var(--panel);max-width:min(600px,100vw - 16px);color:var(--text);border:1px solid var(--border);border-radius:6px;flex-direction:column;gap:8px;padding:8px 10px;font-size:12px;display:flex;position:fixed;overflow:auto;box-shadow:0 8px 24px #00000059}.options-more__panel:focus{outline:none}.options-more__panel>.options-ob-item{flex-wrap:wrap}.options-more__panel>.options-ob-item+.options-ob-item{border-top:1px solid var(--border);padding-top:8px}.options-more__panel :-webkit-any(.options-button,.options-hint,.options-note,.options-label,.options-field){white-space:nowrap;flex:none}.options-more__panel :-moz-any(.options-button,.options-hint,.options-note,.options-label,.options-field){white-space:nowrap;flex:none}.options-more__panel :is(.options-button,.options-hint,.options-note,.options-label,.options-field){white-space:nowrap;flex:none}.options-more__panel .options-segment:has(>.options-field){align-items:center;gap:8px}.options-more__panel input:disabled,.options-more__panel select:disabled{opacity:.45;cursor:default}.options-more__panel label:has(>input:disabled){opacity:.45;cursor:default}:root[data-theme=light] .options-more__panel input[type=number]{background:var(--surface-raised)}:root[data-theme=light] .options-more__panel input[type=number]:not(:-webkit-any(:hover,:focus)){border-color:#b4b4b4}:root[data-theme=light] .options-more__panel input[type=number]:not(:-moz-any(:hover,:focus)){border-color:#b4b4b4}:root[data-theme=light] .options-more__panel input[type=number]:not(:is(:hover,:focus)){border-color:#b4b4b4}.options-segment{gap:1px;display:flex}.options-button{background:var(--panel);height:24px;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:0 10px;font-size:12px;line-height:1}.options-button:hover{border-color:var(--accent)}.options-group--tool-preset{border-right:1px solid var(--border);flex:none;padding-right:8px}.tool-preset-picker{height:24px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;align-items:center;gap:2px;padding:0 3px 0 4px;display:inline-flex}.tool-preset-picker:hover,.tool-preset-picker[aria-expanded=true]{background:var(--surface);border-color:var(--border)}.tool-preset-picker:focus-visible{outline:2px solid var(--accent-text,#6ea8fe);outline-offset:1px}.tool-preset-picker__icon,.tool-preset-picker__icon svg{width:18px;height:18px;display:block}.tool-preset-picker__caret{width:8px;height:8px;color:var(--text-muted,#aaa)}.options-group--tool-reset{border-top:1px solid var(--border);flex-wrap:wrap;gap:8px;padding-top:8px;display:flex}.options-button--icon{justify-content:center;align-items:center;width:24px;padding:0;display:inline-flex}.options-button--icon svg{width:16px;height:16px}.options-button:disabled,.options-bar input:disabled,.options-bar select:disabled{opacity:.45;cursor:default}.options-bar label:has(>input:disabled){opacity:.45;cursor:default}.options-button--active{background:var(--accent);color:#fff;border-color:var(--accent)}.options-button--source{align-items:center;gap:5px;padding:0 8px 0 6px;display:inline-flex}.options-button--source svg{flex:none}.options-button__source-pip{background:#f59e0b;border-radius:50%;flex:none;width:7px;height:7px;box-shadow:0 0 0 1px #00000059}.options-button--source[data-source-state=set] .options-button__source-pip{background:#22c55e}.options-button--source-needed{border-color:var(--accent);color:var(--accent-text,var(--text));animation:1.8s ease-in-out infinite source-needed-pulse}@keyframes source-needed-pulse{0%,to{box-shadow:0 0 #0000}50%{box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent)}}@media (prefers-reduced-motion:reduce){.options-button--source-needed{animation:none}}.options-field{color:var(--text);align-items:center;gap:4px;font-size:12px;display:flex}.options-number{background:var(--field);width:52px;height:22px;color:var(--text);border:1px solid var(--border);border-radius:3px;font-size:12px}:root[data-theme=light] .options-bar input[type=number]{background:var(--surface-raised)}:root[data-theme=light] .options-bar input[type=number]:not(:-webkit-any(:hover,:focus)){border-color:#b4b4b4}:root[data-theme=light] .options-bar input[type=number]:not(:-moz-any(:hover,:focus)){border-color:#b4b4b4}:root[data-theme=light] .options-bar input[type=number]:not(:is(:hover,:focus)){border-color:#b4b4b4}.options-segment--transform{gap:10px}.options-segment--transform .options-number{width:56px}.options-segment--brush{gap:10px}.brush-tip-flyout{position:relative}.brush-tip-flyout__btn{background:var(--field);height:24px;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;align-items:center;gap:5px;padding:0 6px;font-size:12px;display:inline-flex}.brush-tip-flyout__btn:hover{border-color:var(--accent)}.brush-tip-flyout__dot{background:var(--text);border-radius:50%;width:12px;height:12px}.brush-tip-flyout__size{text-align:right;font-variant-numeric:tabular-nums;min-width:22px}.brush-tip-flyout__caret{color:var(--text-muted,#888);font-size:9px}.brush-tip-flyout__pop{z-index:1200;background:var(--panel);border:1px solid var(--border-2,var(--border));border-radius:8px;flex-direction:column;gap:10px;width:260px;max-height:70vh;padding:12px;display:flex;position:fixed;overflow-y:auto;box-shadow:0 8px 28px #00000059}.brush-tip-flyout__row{color:var(--text);grid-template-columns:64px 1fr 52px;align-items:center;gap:8px;font-size:12px;display:grid}.brush-tip-flyout__row input[type=range]{width:100%;accent-color:var(--accent)}.brush-tip-flyout__row input[type=number]{background:var(--field);width:52px;height:22px;color:var(--text);border:1px solid var(--border);border-radius:3px;font-size:12px}.brush-tip-flyout__import{color:var(--text);flex-direction:column;gap:4px;font-size:12px;display:flex}.brush-shape-widget{touch-action:none;cursor:pointer;align-self:center}.brush-shape-widget__ring{fill:none;stroke:var(--border-2,var(--border));stroke-width:1px}.brush-shape-widget__ellipse{fill:color-mix(in srgb, var(--accent) 22%, transparent);stroke:var(--accent);stroke-width:1.5px}.brush-shape-widget__axis{stroke:var(--accent);stroke-width:1.5px}.brush-shape-widget__handle{fill:var(--accent);stroke:#fff;stroke-width:1px}.options-color{background:var(--field);border:1px solid var(--border);cursor:pointer;border-radius:3px;width:28px;height:22px;padding:0}.options-range{width:96px;accent-color:var(--accent)}.options-readout{text-align:right;font-variant-numeric:tabular-nums;min-width:34px;color:var(--text-dim,var(--text))}.options-slider{position:relative}.options-slider__label{color:var(--text)}.options-slider__caret{background:var(--panel);width:18px;height:22px;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:0;font-size:9px;line-height:1}.options-slider__caret:hover{border-color:var(--accent)}.options-slider__pop{z-index:120;background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:8px 10px;position:fixed;box-shadow:0 8px 24px #00000059}.options-slider__pop .options-range{width:140px;display:block}.gradient-picker{align-items:center;gap:3px;display:inline-flex;position:relative}.gradient-swatch{border:1px solid var(--border);cursor:pointer;border-radius:3px;width:76px;height:22px;padding:0}.grad-checker{background-color:#fff;background-position:0 0,0 0,0 6px,6px -6px,-6px 0;background-repeat:no-repeat,repeat,repeat,repeat,repeat;background-size:100% 100%,12px 12px,12px 12px,12px 12px,12px 12px}.gradient-swatch:hover{border-color:var(--accent)}.gradient-picker__caret{background:var(--panel);width:18px;height:22px;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:0;font-size:9px;line-height:1}.gradient-picker__caret:hover{border-color:var(--accent)}.gradient-presets-pop{z-index:120;background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:8px;position:fixed;box-shadow:0 8px 24px #00000059}.gradient-presets-grid{grid-template-columns:repeat(6,44px);gap:5px;display:grid}.gradient-preset-cell{border:1px solid var(--border);cursor:pointer;border-radius:3px;width:44px;height:22px;padding:0}.gradient-preset-cell:hover{border-color:var(--accent);outline:1px solid var(--accent)}.options-select{background:var(--field);height:22px;color:var(--text);border:1px solid var(--border);border-radius:3px}.options-file{max-width:140px;color:var(--text);font-size:11px}.options-check{color:var(--text-dim,var(--text));white-space:nowrap;align-items:center;gap:3px;font-size:11px;display:inline-flex}.options-hint{color:var(--text-dim,var(--text));font-size:11px;font-style:italic}.options-segment--empty{opacity:.85}.options-segment--empty .options-hint{color:var(--text-muted,var(--text))}.options-segment--shape{gap:12px}.options-segment--shape .options-check{margin-left:2px}.app-shell input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:0 0;height:16px}.app-shell input[type=range]::-webkit-slider-runnable-track{background:var(--surface);border-radius:2px;height:4px}.app-shell input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--accent);border:2px solid var(--panel);width:12px;height:12px;box-shadow:0 0 0 1px var(--border);border-radius:50%;margin-top:-4px}.app-shell input[type=range]::-moz-range-track{background:var(--surface);border-radius:2px;height:4px}.app-shell input[type=range]::-moz-range-thumb{background:var(--accent);border:2px solid var(--panel);width:12px;height:12px;box-shadow:0 0 0 1px var(--border);border-radius:50%}.app-shell input[type=range]:focus-visible{outline:none}.app-shell input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 1px var(--border), 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent)}.app-shell input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 1px var(--border), 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent)}.app-shell input[type=checkbox]{accent-color:var(--accent)}.app-shell input[type=number]{background:var(--field);color:var(--text);border:1px solid var(--border);border-radius:3px}.app-shell input[type=number]:hover{border-color:var(--text-faint)}.app-shell input[type=number]:focus{border-color:var(--accent);outline:none}.app-shell input[type=number]:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent)}.app-shell select{background:var(--field);color:var(--text);border:1px solid var(--border);border-radius:3px}.app-shell select:hover{border-color:var(--text-faint)}.app-shell select:focus{border-color:var(--accent);outline:none}.app-shell select:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent)}.app-shell input[type=color]:not(.tool-color){background:var(--field);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:0}.app-shell input[type=color]:not(.tool-color):hover{border-color:var(--text-faint)}.app-shell input[type=color]:not(.tool-color):focus{border-color:var(--accent);outline:none}.app-shell input[type=color]:not(.tool-color):focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent)}.app-body{grid-template-rows:minmax(0,1fr);grid-template-columns:auto 1fr auto;min-height:0;display:grid}.menu-bar{background:var(--panel);border-bottom:1px solid var(--border);align-items:center;gap:16px;min-width:0;height:32px;padding:0 12px;display:flex;overflow:visible}.menu-bar__end{align-items:center;gap:10px;margin-left:auto;padding-left:16px;display:flex}.brand{color:var(--accent-text);border-radius:3px;align-items:center;gap:6px;font-weight:700;text-decoration:none;display:inline-flex}.brand__mark{flex:none;width:16px;height:16px}.brand:hover{text-underline-offset:3px;text-decoration:underline}.brand:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.menu-hidden-file{display:none}.tool-bar{background:var(--panel);border-right:1px solid var(--border);flex-direction:column;align-items:center;gap:0;width:39px;min-height:0;padding:1px 2px;display:flex;overflow:hidden}.tool-bar__frame{flex-direction:column;flex:0 auto;align-self:stretch;min-height:0;margin:0 -2px;display:flex;position:relative}.tool-bar__tools{overscroll-behavior:contain;scrollbar-width:none;min-height:0;overflow:hidden auto}.tool-bar__tools::-webkit-scrollbar{display:none}.tool-bar__tools-inner{flex-direction:column;align-items:center;display:flex}.tool-bar__scroll{height:var(--tool-bar-scroll-h,14px);color:var(--text-dim);cursor:pointer;background:0 0;border:none;border-radius:0;flex:none;justify-content:center;align-items:center;margin:0;padding:0;transition:background 90ms,color 90ms;display:flex}.tool-bar__scroll svg{display:block}@media (hover:hover){.tool-bar__scroll:hover:not(:disabled){color:var(--text);background:var(--surface)}}.tool-bar__scroll:active:not(:disabled){color:var(--text);background:var(--surface)}.tool-bar__scroll:disabled{opacity:.3;cursor:default}.tool-bar__scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.tool-bar__frame:before,.tool-bar__frame:after{content:"";pointer-events:none;opacity:0;z-index:1;height:10px;transition:opacity .12s;position:absolute;left:0;right:0}.tool-bar__frame:before{background:linear-gradient(to bottom, var(--panel), transparent);top:0}.tool-bar__frame:after{background:linear-gradient(to top, var(--panel), transparent);bottom:0}.tool-bar__frame--overflow:before{top:var(--tool-bar-scroll-h,14px)}.tool-bar__frame--overflow:after{bottom:var(--tool-bar-scroll-h,14px)}.tool-bar__frame--more-above:before,.tool-bar__frame--more-below:after{opacity:1}.tool-bar--two{width:75px}.tool-bar--two .tool-section{grid-template-columns:repeat(2,max-content);justify-items:center;display:grid}.tool-bar--two .tool-section+.tool-section{border-top:1px solid var(--border);margin-top:3px;padding-top:3px}.tool-bar__columns{height:14px;color:var(--text-dim);border:none;border-bottom:1px solid var(--border);cursor:pointer;background:0 0;border-radius:0;flex:none;justify-content:center;align-self:stretch;align-items:center;margin:0 0 2px;padding:0;display:flex}.tool-bar__columns:hover{color:var(--text);background:var(--surface)}.tool-bar__columns:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.tool-bar__columns svg{display:block}.tool-section{flex-direction:column;align-items:center;gap:0;padding:0;display:flex}.tool-slot{position:relative}.tool-button{width:35px;height:29px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;transition:background 90ms,color 90ms;display:flex}.tool-button svg{width:27px;height:27px;display:block}.tool-button:hover{background:var(--surface)}.tool-button[aria-disabled=true]{opacity:.45}.tool-button[aria-disabled=true]:hover{background:0 0}.tool-button:focus-visible{outline:2px solid var(--accent);outline-offset:-1px}.tool-button--active,.tool-button--active:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.tool-flyout-tri{--tri:var(--text);background:linear-gradient(135deg, transparent 50%, var(--tri) 50%) right 3px bottom 3px / 7px 7px no-repeat;clip-path:polygon(100% 0,100% 100%,0 100%);cursor:pointer;border:none;width:13px;height:13px;padding:0;position:absolute;bottom:0;right:0}.tool-flyout-tri:hover{--tri:var(--accent)}.tool-button--active+.tool-flyout-tri{--tri:#fff}.no-doc-hint{z-index:121;box-sizing:border-box;background:var(--panel);border:1px solid var(--border);color:var(--text);border-radius:6px;padding:10px 12px;position:fixed;box-shadow:0 8px 24px #00000059}.no-doc-hint__text{margin:0 0 8px;font-size:12px;line-height:1.45}.no-doc-hint__actions{gap:6px;display:flex}.no-doc-hint__button{font:inherit;color:var(--text);background:var(--panel-2);border:1px solid var(--border);cursor:pointer;border-radius:4px;padding:6px 10px;font-size:12px}.no-doc-hint__button:hover{border-color:var(--accent)}.no-doc-hint__button--primary{color:#fff;background:var(--accent);border-color:var(--accent)}.no-doc-hint__button--primary:hover{filter:brightness(1.08)}.tool-flyout{z-index:120;background:var(--panel);border:1px solid var(--border);border-radius:6px;flex-direction:column;min-width:168px;padding:4px;display:flex;position:fixed;box-shadow:0 8px 24px #00000059}.tool-flyout-item{color:var(--text);cursor:pointer;white-space:nowrap;text-align:left;background:0 0;border:none;border-radius:4px;align-items:center;gap:8px;padding:4px 8px;display:flex}.tool-flyout-item:hover{background:var(--surface)}.tool-flyout-item--active{background:var(--accent);color:#fff}.tool-flyout-item__icon{display:flex}.tool-flyout-item__icon svg{width:22px;height:22px}.tool-colors{flex:none;width:35px;height:35px;margin:5px auto 4px;position:relative}.tool-color{border:1px solid color-mix(in srgb, var(--text) 55%, transparent);cursor:pointer;background:0 0;border-radius:4px;width:21.7px;height:21.7px;padding:0;position:absolute;box-shadow:0 1px 2px #00000040}.tool-color--fg{z-index:2;top:0;left:0}.tool-color--bg{z-index:1;top:13.3px;left:13.3px}.tool-color::-webkit-color-swatch-wrapper{padding:0}.tool-color::-webkit-color-swatch{border:none;border-radius:3px}.tool-color::-moz-color-swatch{border:none;border-radius:3px}:root[data-theme=light] .tool-color{border-color:#6f6f6f}.tool-swap{z-index:3;width:16px;height:16px;color:var(--text);cursor:pointer;opacity:.7;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:2px;right:0}.tool-swap:hover{opacity:1}.tool-swap:before{content:"";position:absolute;top:-4px;bottom:0;left:0;right:0}.tool-swap svg{width:15px;height:15px}.options-note{color:var(--text-dim,#888);align-self:center;font-size:12px}.rulers{grid-template-rows:20px minmax(0,1fr);grid-template-columns:20px minmax(0,1fr);min-width:0;min-height:0;display:grid}.rulers.rulers--hidden{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.rulers.rulers--hidden>.ruler-canvas-cell{grid-area:1/1}.ruler-corner{background:var(--ruler);border-right:1px solid var(--border);border-bottom:1px solid var(--border);grid-area:1/1}.ruler-top{border-bottom:1px solid var(--border);touch-action:none;grid-area:1/2;display:block}.ruler-left{border-right:1px solid var(--border);touch-action:none;grid-area:2/1;display:block}.ruler-canvas-cell{grid-area:2/2;min-width:0;min-height:0;display:flex}.ruler-canvas-cell>.canvas-host{flex:1}.canvas-host{background:var(--bg-canvas);touch-action:none;justify-content:center;align-items:center;min-width:0;display:flex;position:relative;overflow:hidden}.canvas-host .artboard-name-input{z-index:5;min-width:96px;height:22px;font:600 12px/20px var(--font-ui,sans-serif);color:#fff;background:#2f80ed;border:1px solid #fff;border-radius:3px;outline:none;padding:0 6px;position:absolute;box-shadow:0 1px 4px #0006}@media (pointer:coarse){.canvas-host .artboard-name-input{height:32px;font-size:16px;transform:translateY(-10px)}}.canvas-surface{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;image-rendering:pixelated;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.note-edit-input{z-index:7;width:180px;color:var(--text);background:var(--panel);border:1px solid var(--accent);border-radius:4px;outline:none;padding:3px 6px;font-size:12px;box-shadow:0 4px 12px #00000059}.text-edit-frame{z-index:6;text-rendering:geometricprecision}.text-edit-overlay{outline:1px dashed var(--accent);outline-offset:0;white-space:pre;cursor:text;min-width:2ch;caret-color:var(--text);background:0 0;border:none;margin:0;padding:0;overflow:visible}@media (pointer:coarse){.text-edit-overlay:before{content:"";pointer-events:auto;min-width:32px;min-height:32px;position:absolute;top:-14px;bottom:-14px;left:-14px;right:-14px}}.te-line{white-space:pre;text-align:left;direction:ltr;display:block;overflow:visible}.te-seg,.te-shape{vertical-align:top;position:relative}.te-shape>.te-seg{vertical-align:baseline;position:static}.te-hyphen:after{content:"-"}.te-ghost{letter-spacing:0;vertical-align:top;font-size:0}.text-edit-selection{-webkit-user-select:none;user-select:none}.text-edit-selection__hl{background:color-mix(in srgb, var(--accent) 45%, transparent);border-radius:1px}.text-edit-rules{pointer-events:none}.transform-overlay{pointer-events:none;z-index:5;position:absolute;top:0;bottom:0;left:0;right:0}.transform-overlay__box{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible}.transform-overlay__box polygon{fill:none;stroke:#4a90e2;stroke-width:1px;stroke-dasharray:4 3}.transform-overlay__box polygon.transform-overlay__move{fill:#0000;stroke:none;pointer-events:fill;cursor:move}.transform-handle{pointer-events:auto;cursor:pointer;touch-action:none;background:#fff;border:1px solid #4a90e2;border-radius:1px;width:10px;height:10px;margin:-5px 0 0 -5px;padding:0;position:absolute}.transform-handle--edge{border-radius:50%}.transform-overlay[data-mode=puppet]{pointer-events:auto}.transform-handle--pin{pointer-events:auto;background:#fc3;border:1px solid #7a5c00;border-radius:50%;width:12px;height:12px;margin:-6px 0 0 -6px}.transform-handle--pin.is-selected{background:radial-gradient(circle,#1a1a1a 0 2.5px,#fc3 3px);box-shadow:0 0 0 1.5px #fff}.transform-handle--mesh{pointer-events:auto;background:#33d0e2;border:1px solid #0a6b78;border-radius:50%;width:11px;height:11px;margin:-5.5px 0 0 -5.5px}.transform-rotate{pointer-events:auto;cursor:crosshair;touch-action:none;background:0 0;border:1px solid #4a90e2;border-radius:50%;width:12px;height:12px;margin:-6px 0 0 -6px;padding:0;position:absolute}.canvas-empty{box-sizing:border-box;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;cursor:pointer;flex-direction:column;justify-content:flex-start;align-items:center;gap:14px;padding:24px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0;overflow-y:auto}.canvas-empty>:first-child{margin-top:auto}.canvas-empty>:last-child{margin-bottom:auto}.canvas-host--empty{touch-action:pan-y}.canvas-empty__card{cursor:default;min-width:0;max-width:min(380px,100%);word-break:var(--ko-word-break,normal);background:var(--panel);border:1px solid var(--border);text-align:center;border-radius:10px;flex-direction:column;align-items:center;gap:8px;padding:32px 40px;display:flex;box-shadow:0 8px 28px #00000047}.canvas-empty__title{letter-spacing:-.01em;color:var(--text);margin:0;font-size:24px;font-weight:600}.canvas-empty__title:before{content:"";vertical-align:-.1em;background:url(/favicon.svg) 50%/contain no-repeat;width:.9em;height:.9em;margin-right:.28em;display:inline-block}.canvas-empty__tagline{color:var(--text-muted);margin:0 0 12px;font-size:13px}.canvas-empty__actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.canvas-empty__button{white-space:nowrap;background:var(--panel-2);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:6px;align-items:center;gap:7px;padding:9px 16px;font-size:13px;font-weight:500;line-height:1;transition:border-color .12s,background-color .12s;display:inline-flex}.canvas-empty__button:hover{border-color:var(--accent);background:var(--surface)}.canvas-empty__button--primary{background:var(--accent);border-color:var(--accent);color:#fff}.canvas-empty__button--primary:hover{background:var(--accent);border-color:var(--accent);filter:brightness(1.08)}.canvas-empty__icon{flex:none;display:block}.canvas-empty__file{opacity:0;clip-path:inset(50%);pointer-events:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.canvas-empty__actions .canvas-empty__button--primary{position:relative}.canvas-empty__button--picking{filter:brightness(.88);box-shadow:inset 0 2px 6px #00000059}.canvas-empty__status{color:var(--text-muted);margin:4px 0 0;font-size:12.5px}.canvas-empty__status--nudge{color:var(--text);font-weight:600}.canvas-empty__actions>:-webkit-any(.canvas-empty__button--primary,[data-testid=start-new]){position:relative}.canvas-empty__actions>:-moz-any(.canvas-empty__button--primary,[data-testid=start-new]){position:relative}.canvas-empty__actions>:is(.canvas-empty__button--primary,[data-testid=start-new]){position:relative}.canvas-empty__card--nudge .canvas-empty__actions>:-webkit-any(.canvas-empty__button--primary,[data-testid=start-new]):after{content:"";border:2px solid var(--accent);border-radius:inherit;pointer-events:none;opacity:0;animation:.9s ease-out 2 canvas-empty-nudge;position:absolute;top:-3px;bottom:-3px;left:-3px;right:-3px}.canvas-empty__card--nudge .canvas-empty__actions>:-moz-any(.canvas-empty__button--primary,[data-testid=start-new]):after{content:"";border:2px solid var(--accent);border-radius:inherit;pointer-events:none;opacity:0;animation:.9s ease-out 2 canvas-empty-nudge;position:absolute;top:-3px;bottom:-3px;left:-3px;right:-3px}.canvas-empty__card--nudge .canvas-empty__actions>:is(.canvas-empty__button--primary,[data-testid=start-new]):after{content:"";border:2px solid var(--accent);border-radius:inherit;pointer-events:none;opacity:0;animation:.9s ease-out 2 canvas-empty-nudge;position:absolute;top:-3px;bottom:-3px;left:-3px;right:-3px}@keyframes canvas-empty-nudge{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.12)}}@keyframes canvas-empty-nudge-2{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.12)}}.canvas-empty__card--nudge[data-nudge=even] .canvas-empty__actions>:-webkit-any(.canvas-empty__button--primary,[data-testid=start-new]):after{animation-name:canvas-empty-nudge-2}.canvas-empty__card--nudge[data-nudge=even] .canvas-empty__actions>:-moz-any(.canvas-empty__button--primary,[data-testid=start-new]):after{animation-name:canvas-empty-nudge-2}.canvas-empty__card--nudge[data-nudge=even] .canvas-empty__actions>:is(.canvas-empty__button--primary,[data-testid=start-new]):after{animation-name:canvas-empty-nudge-2}@media (prefers-reduced-motion:reduce){.canvas-empty__card--nudge .canvas-empty__actions>:-webkit-any(.canvas-empty__button--primary,[data-testid=start-new]):after{opacity:1;animation:none}.canvas-empty__card--nudge .canvas-empty__actions>:-moz-any(.canvas-empty__button--primary,[data-testid=start-new]):after{opacity:1;animation:none}.canvas-empty__card--nudge .canvas-empty__actions>:is(.canvas-empty__button--primary,[data-testid=start-new]):after{opacity:1;animation:none}}.canvas-empty__actions .canvas-empty__button--primary{padding:11px 20px;font-size:14px;font-weight:600}.canvas-empty__other{margin:8px 0 0}.canvas-empty__other-link{min-height:32px;color:var(--accent-text);text-underline-offset:3px;cursor:pointer;border-radius:6px;align-items:center;padding:4px 8px;font-size:12.5px;text-decoration:underline;display:inline-flex}.canvas-empty__other-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.canvas-empty__cloud{color:var(--text-muted,inherit);flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 4px;font-size:12.5px;display:flex}.canvas-empty__cloud-link{min-height:32px;font:inherit;background:0 0;border:0;font-size:12.5px}.canvas-empty__cloud-link:disabled{cursor:progress;opacity:.7}@media (pointer:coarse){.canvas-empty__cloud-label{text-align:center;flex-basis:100%}.canvas-empty__cloud-link{min-height:44px;padding-inline-start:12px;padding-inline-end:12px}}.canvas-empty__sample{min-height:32px;font:inherit;color:var(--accent-text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:6px;margin:10px 0 0;padding:6px 10px;font-size:12.5px;display:inline-flex}.canvas-empty__sample:hover{border-color:var(--border);background:var(--panel-2)}.canvas-empty__sample:disabled{opacity:.6;cursor:progress}.canvas-empty__sample:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.canvas-empty__button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.canvas-empty__recent{text-align:left;width:100%;min-width:0;margin:14px 0 0}.canvas-empty__recent-title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-faint);margin:0 0 4px;font-size:11px;font-weight:600}.canvas-empty__recent-list{margin:0;padding:0;list-style:none}.canvas-empty__recent-item{text-align:left;width:100%;min-width:0;color:var(--text);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:1px solid #0000;border-radius:4px;align-items:baseline;padding:5px 8px;font-size:12px;display:flex;overflow:hidden}.canvas-empty__recent-name{white-space:nowrap;text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.canvas-empty__recent-ext{white-space:nowrap;flex:none}.canvas-empty__recent-item:hover{border-color:var(--border);background:var(--panel-2)}.canvas-empty__hint{color:var(--text-faint);align-items:center;gap:6px;margin:4px 0 0;font-size:12px;display:inline-flex}.canvas-empty__hint-icon{opacity:.85;flex:none;display:block}.canvas-empty__privacy{max-width:340px;color:var(--text-muted);margin:18px 0 0;font-size:12px;line-height:1.5}.canvas-empty__link{color:var(--accent-text);margin:8px 0 0;font-size:12px;text-decoration:none;display:inline-block}.canvas-empty__link:hover{text-decoration:underline}.canvas-empty__learn{border-top:1px solid var(--border);text-align:left;width:100%;margin:16px 0 0;padding:12px 0 0}.canvas-empty__learn-title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-faint);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 6px;font-size:11px;font-weight:600;display:flex}.canvas-empty__learn-all{letter-spacing:0;text-transform:none;color:var(--accent-text);font-size:12px;font-weight:500;text-decoration:none}.canvas-empty__learn-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.canvas-empty__learn-list a{box-sizing:border-box;overflow-wrap:anywhere;max-width:100%;color:var(--text);background:var(--panel-2);border:1px solid var(--border);border-radius:999px;padding:4px 10px;font-size:12px;text-decoration:none;transition:border-color .12s;display:inline-block}.canvas-empty__learn-list a:hover{border-color:var(--accent)}.canvas-empty__learn-all:hover,.canvas-empty__footer a:hover{text-decoration:underline}.canvas-empty__footer{flex-wrap:wrap;justify-content:center;gap:4px 14px;max-width:min(460px,100%);font-size:12px;display:flex}.canvas-empty__footer a{color:var(--text-muted);text-decoration:none}@media (max-width:820px){.canvas-empty{gap:10px;padding:16px}.canvas-empty__card{padding:24px 20px}.canvas-empty__actions>*{box-sizing:border-box;max-width:100%}.canvas-empty__button{white-space:normal;text-align:center;overflow-wrap:anywhere;line-height:1.2}.canvas-empty__other-link,.canvas-empty__sample,.canvas-empty__hint{box-sizing:border-box;overflow-wrap:anywhere;max-width:100%}.canvas-empty__card :-webkit-any(h1,h2,p){overflow-wrap:anywhere;max-width:100%}.canvas-empty__card :-moz-any(h1,h2,p){overflow-wrap:anywhere;max-width:100%}.canvas-empty__card :is(h1,h2,p){overflow-wrap:anywhere;max-width:100%}}@media (max-width:360px){.canvas-empty{padding:12px}.canvas-empty__card{padding:22px 14px}}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.canvas-empty__footer{padding-bottom:52px}}.panel-dock{background:var(--panel);flex-direction:row;display:flex;overflow:hidden}.panel-column{border-left:1px solid var(--border);flex-direction:column;flex:none;width:276px;min-height:0;display:flex;position:relative;overflow:hidden}.panel-column__scroll{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden auto}.panel-column__scroll::-webkit-scrollbar{width:0;height:0;display:none}.panel-column[data-testid=dock-col-secondary] .panel-column__scroll{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent;-ms-overflow-style:auto}.panel-column[data-testid=dock-col-secondary] .panel-column__scroll::-webkit-scrollbar{width:8px;display:block}.panel-column[data-testid=dock-col-secondary] .panel-column__scroll::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.panel-column__resizer{z-index:4;cursor:col-resize;touch-action:none;width:6px;height:100%;position:absolute;top:0;left:0}.panel-column__resizer:hover{background:color-mix(in srgb, var(--accent) 40%, transparent)}.panel-column--collapsed{align-items:center;width:34px;padding-top:4px;overflow-y:auto}.panel-rail{flex-direction:column;align-items:center;gap:3px;margin-top:6px;display:flex}.panel-rail__icon{width:26px;height:26px;color:var(--text-muted,#9aa0a6);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:14px;line-height:1;display:inline-flex}.panel-rail__icon:hover{color:var(--text);background:var(--surface,#2a2a2a);border-color:var(--border)}.panel-rail__icon--active,.panel-rail__icon--active:hover{color:var(--text);background:var(--surface);border-color:var(--accent)}.panel-flyout{z-index:50;background:var(--panel);border:1px solid var(--border);border-radius:6px;width:268px;max-height:78vh;position:fixed;overflow-y:auto;box-shadow:0 8px 24px #00000073}.panel-flyout__title{z-index:1;color:var(--text-muted);background:var(--panel-2);border-bottom:1px solid var(--border);padding:7px 10px;font-size:12px;font-weight:600;position:sticky;top:0}.panel-column__header{border-bottom:1px solid var(--border);flex:none;justify-content:flex-end;align-items:center;padding:4px 6px;display:flex}.panel-column__collapse,.panel-column__reexpand{width:18px;height:18px;color:var(--text-faint,#9aa0a6);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:none;justify-content:center;align-items:center;padding:0;font-size:11px;line-height:1;display:inline-flex}.panel-column__reexpand{margin-top:4px}.panel-column__collapse:hover,.panel-column__reexpand:hover{color:var(--text)}.panel{border-bottom:1px solid var(--border);flex-direction:column;flex:none;display:flex}.panel-title{z-index:2;background:var(--panel-2);border-bottom:1px solid var(--border);flex:none;align-items:center;gap:4px;margin:0;padding:7px 10px;display:flex;position:sticky;top:0}.panel-title__name{color:var(--text-muted);flex:1;margin:0;font-size:12px;font-weight:600}.panel-body{flex:none}.panel-tabs{z-index:2;background:var(--panel-2);border-bottom:1px solid var(--border);flex-wrap:wrap;flex:none;gap:2px;padding:5px 6px 0;display:flex;position:sticky;top:0}.panel-tab{white-space:nowrap;color:var(--text-muted,#aaa);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:none;border-radius:4px 4px 0 0;padding:5px 6px;font-size:12px;transition:color .12s,background .12s}.panel-tab:hover{color:var(--text);background:var(--surface)}.panel-tab--active{color:var(--text);background:var(--panel);border-color:var(--border);box-shadow:inset 0 2px 0 var(--accent);margin-bottom:-1px;padding-bottom:6px}.panel-tab--active:hover{background:var(--panel)}.panel-body select,.panel-body input[type=number]{min-height:24px;padding:2px 6px}.panel-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.properties-param,.brush-row{min-height:24px}.paths-empty{color:var(--text-muted);margin:0;padding:8px 10px;font-size:12px}.paths-list{margin:0;padding:4px;list-style:none}.path-row{cursor:pointer;border-radius:4px;align-items:center;gap:8px;padding:5px 8px;display:flex}.path-row:hover{background:var(--surface)}.path-row--active{background:var(--accent);color:#fff}.path-glyph{flex:none}.path-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.path-kind{opacity:.7;flex:none;font-size:11px}.path-delete{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:none;width:22px;height:22px;padding:0}.path-delete:hover{border-color:var(--border)}.history-empty{color:var(--text-muted);margin:0;padding:8px 10px;font-size:12px}.history-list{height:176px;margin:0;padding:4px 6px;list-style:none;overflow-y:auto}.history-row{align-items:center;gap:2px;display:flex}.history-source-toggle{width:20px;height:20px;color:var(--text-faint);cursor:pointer;opacity:0;background:0 0;border:none;border-radius:3px;flex:none;justify-content:center;align-items:center;padding:0;transition:opacity .12s,color .12s,background .12s;display:inline-flex}.history-row:hover .history-source-toggle{opacity:.55}.history-source-toggle:hover{opacity:1;color:var(--text);background:var(--surface)}.history-source-toggle--on,.history-row:hover .history-source-toggle--on{opacity:1;color:var(--accent-text)}.history-entry{cursor:pointer;min-width:0;color:var(--text);border-radius:4px;flex:auto;padding:4px 8px;font-size:12px;line-height:16px}.history-entry:hover{background:var(--surface)}.history-entry--current{background:var(--accent);color:#fff}.history-entry--current:hover{background:var(--accent)}.history-panel{flex-direction:column;display:flex}.history-scroll{flex-direction:column;height:max(72px,min(100dvh - 540px,176px));display:flex}.history-scroll .history-list{scroll-snap-type:y mandatory;background:linear-gradient(var(--panel) 30%, transparent) top / 100% 16px no-repeat local, radial-gradient(farthest-side at 50% 0, var(--scrollbar-thumb), transparent) top / 100% 8px no-repeat scroll, var(--panel);flex:auto;height:auto;min-height:0;padding-bottom:24px}.history-scroll .history-list>.history-row{scroll-snap-align:start}.history-scroll .history-list>.history-row:first-child{scroll-margin-top:4px}.history-snapshots{border-bottom:1px solid var(--border);flex:none;max-height:max(36px,min(108px,100% - 40px));margin:0;padding:4px 6px;list-style:none;overflow-y:auto}.history-snapshot__slot{flex:none;width:20px}.history-snapshot{cursor:pointer;min-width:0;color:var(--text);border-radius:4px;flex:auto;align-items:center;gap:8px;padding:3px 8px 3px 4px;font-size:12px;display:flex}.history-snapshot:hover{background:var(--surface)}.history-snapshot--current,.history-snapshot--current:hover{background:var(--accent);color:#fff}.history-snapshot__thumb{background:repeating-conic-gradient(#888 0% 25%,#555 0% 50%) 50%/8px 8px;border-radius:2px;flex:none;width:28px;height:28px}.history-snapshot__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.history-snapshot__input{min-width:0;font:inherit;color:var(--text);background:var(--field);border:1px solid var(--accent);border-radius:2px;flex:auto;padding:1px 4px}.history-toolbar{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:2px;padding:6px 4px;display:flex}.history-toolbar__info{min-width:0;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;flex:auto;padding-left:6px;font-size:11px;overflow:hidden}.history-toolbar button{width:28px;height:28px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;padding:0;display:flex}.history-toolbar button svg{width:20px;height:20px;display:block}.history-toolbar button:hover{background:var(--surface);border-color:var(--border)}.history-toolbar button:disabled{opacity:.4;cursor:default}.history-toolbar button:disabled:hover{background:0 0;border-color:#0000}.history-toolbar__delete{margin-left:10px}.layers-empty{color:var(--text-muted);margin:0;padding:8px 10px;font-size:12px}.layers-empty__text{margin:0 0 8px}.layers-empty__open{min-height:28px;font:inherit;color:#fff;background:var(--accent);border:1px solid var(--accent);cursor:pointer;border-radius:4px;padding:4px 12px;font-size:12px}@media (max-width:820px){.layers-empty__open{min-height:36px;padding:6px 16px}}.actions-panel{padding:4px 0}.actions-header{align-items:center;gap:6px;padding:6px 10px;display:flex}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.actions-header{flex-wrap:wrap}.actions-name-input{flex-basis:6rem}}.actions-name-input{background:var(--surface);min-width:0;color:var(--text);border:1px solid var(--border);border-radius:3px;flex:auto;padding:3px 6px;font-size:12px}.actions-record-btn,.actions-batch-btn{cursor:pointer;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:3px;flex:none;padding:3px 8px;font-size:12px}.actions-record-btn:disabled,.actions-batch-btn:disabled{opacity:.5;cursor:default}.actions-record-btn,.actions-batch-btn{white-space:nowrap;flex:none}.actions-record-btn--recording{color:#fff;background:#c0392b;border-color:#c0392b}.actions-recording{color:var(--text-muted);margin:0;padding:2px 10px 6px;font-size:11px}.actions-empty{color:var(--text-muted);margin:0;padding:8px 10px;font-size:12px}.actions-list{max-height:240px;margin:0;padding:4px 6px;list-style:none;overflow-y:auto}.actions-row{color:var(--text);border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:4px 8px;font-size:12px;display:flex}.actions-row:hover{background:var(--surface)}.actions-row__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.actions-row__count{color:var(--text-muted)}.actions-row__buttons{flex:none;gap:4px;display:flex}.actions-row__btn{cursor:pointer;color:var(--text);border:1px solid var(--border);background:0 0;border-radius:3px;padding:1px 6px;font-size:12px}.actions-row__btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.channels-empty{color:var(--text-muted);margin:0;padding:8px 10px;font-size:12px}.channels-panel{flex-direction:column;display:flex}.channel-rows{border-bottom:1px solid var(--border);flex-direction:column;padding:4px 0;display:flex}.channel-row{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:3px 8px;font-size:12px;display:flex}.channel-row:hover{background:var(--surface)}.channel-row--active{background:var(--surface-2)}.channel-row__eye{color:var(--text-faint);opacity:.25;flex:none}.channel-row__eye--on{opacity:1;color:var(--text)}.channel-row__thumb{width:22px;height:22px;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:2px;flex:none;justify-content:center;align-items:center;font-size:9px;font-weight:700;display:inline-flex}.channel-row__name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.channel-row__shortcut{color:var(--text-muted);flex:none;font-size:11px}.channel-row--active .channel-row__shortcut{color:var(--text)}.alpha-channels__list{margin:0;padding:4px 6px;list-style:none}.alpha-channel-row{color:var(--text);border-radius:4px;align-items:center;gap:8px;padding:4px 8px;font-size:12px;display:flex}.alpha-channel-row:hover{background:var(--surface)}.alpha-channel-row__name{text-overflow:ellipsis;flex:1;overflow:hidden}.channels-toolbar{border-top:1px solid var(--border);justify-content:flex-end;gap:4px;padding:4px 8px;display:flex}.channel-icon-btn{width:24px;height:22px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;justify-content:center;align-items:center;padding:0;display:inline-flex}.channel-icon-btn:hover:not(:disabled){border-color:var(--accent);background:var(--surface)}.channel-icon-btn:disabled{opacity:.4;cursor:default}.channel-thumbnail{border:1px solid var(--border);background:var(--surface-2);border-radius:2px;flex:none;width:36px;height:36px}.frames-panel{flex-direction:column;gap:6px;padding:6px 8px;display:flex}.frames-empty{color:var(--text-dim,#888);margin:4px 0;font-size:12px}.frames-create{background:var(--surface);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:6px 8px;font-size:12px}.frames-create:hover{border-color:var(--accent)}.frames-timeline{gap:6px;padding-bottom:4px;display:flex;position:relative;overflow-x:auto}.frames-timeline.is-dragging{cursor:grabbing}.frame-cell{flex-direction:column;flex:none;align-items:stretch;gap:2px;display:flex}.frame-cell.is-drag-source{opacity:.45}.frames-drop-indicator{background:var(--accent);width:3px;box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);pointer-events:none;border-radius:2px;margin-left:-1px;position:absolute;top:0;bottom:4px}.frame-delay{white-space:nowrap;color:var(--text-muted,var(--text));cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;justify-content:center;align-items:center;gap:2px;padding:1px 2px;font-size:10px;line-height:14px;display:flex}.frame-delay:hover,.frame-delay[aria-expanded=true]{color:var(--text);border-color:var(--border);background:var(--surface)}.frame-delay__caret{opacity:.8;font-size:8px}.frame-thumb{background:var(--panel-2);border:2px solid var(--border);cursor:pointer;color:var(--text);border-radius:3px;flex-direction:column;flex:none;align-items:center;gap:2px;padding:3px;display:flex}.frame-thumb:hover{border-color:var(--accent)}.frame-thumb.is-active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.frame-thumb.is-selected:not(.is-active){border-color:color-mix(in srgb, var(--accent) 55%, var(--border));background:color-mix(in srgb, var(--accent) 14%, var(--panel-2))}.frames-menu{margin-left:auto;position:relative}.frames-toolbar .frames-menu>button{padding:3px 5px;line-height:1}.frames-menu__list{z-index:4000;background:var(--panel,var(--surface));border:1px solid var(--border);border-radius:4px;flex-direction:column;min-width:190px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 4px);right:0;box-shadow:0 6px 18px #00000059}.frames-menu__list button{text-align:left;white-space:nowrap;background:0 0;border:0;align-items:center;gap:6px;padding:5px 8px;display:flex}.frames-menu__list button:hover:not(:disabled){background:var(--accent);color:#fff}.frames-menu__check{text-align:center;width:12px;display:inline-block}.frames-menu__sep{background:var(--border);height:1px;margin:3px 4px}.frame-thumb__canvas{background:var(--surface-2);border-radius:2px;width:48px;height:48px}.frame-thumb__meta{font-size:10px}.frames-toolbar{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.frames-toolbar button{background:var(--surface);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:3px 6px;font-size:11px}.frames-toolbar button:hover:not(:disabled){border-color:var(--accent)}.frames-toolbar button:disabled{opacity:.5;cursor:default}.frames-toolbar button.is-playing{background:var(--accent);color:#fff}.frames-field{color:var(--text);align-items:center;gap:3px;font-size:11px;display:flex}.frames-field input{background:var(--field);width:52px;color:var(--text);border:1px solid var(--border);border-radius:3px;padding:2px 4px;font-size:11px}.layers-panel{flex-direction:column;display:flex}.layers-list{max-height:320px;margin:0;padding:4px 6px;list-style:none;overflow-y:auto}[data-testid=dock-col-main] .layers-list{flex:auto;height:auto;min-height:0;max-height:none}[data-testid=col1-layers]{flex:auto;min-height:260px}[data-testid=col1-layers] .panel-body{flex-direction:column;flex:auto;min-height:0;display:flex}[data-testid=col1-layers] .layers-panel{flex:auto;min-height:0}.layer-row{cursor:grab;cursor:pointer;color:var(--text);border-radius:4px;align-items:center;gap:8px;padding:4px 8px;font-size:12px;display:flex}.layer-row:hover{background:var(--surface)}.layer-row--active{background:var(--accent);color:#fff}.layer-row--active:hover{background:var(--accent)}@media (max-width:820px){.layers-list{--layer-indent-step:12px}.layers-list .group-header{gap:4px}}.layer-row--dragging,.group-header--dragging{opacity:.5}.group-header--drop-target{outline:2px solid var(--accent);outline-offset:-2px}.layers-root-dropzone{color:var(--text-muted);border-bottom:1px dashed var(--border);cursor:default;padding:3px 8px;font-size:11px}.layers-root-dropzone--over{opacity:1;outline:2px solid var(--accent);outline-offset:-2px}.layer-clip-indicator{opacity:.8;flex:none}.group-header{color:var(--text);background:var(--panel-2);border-top:1px solid var(--border);align-items:center;gap:8px;padding:4px 8px;font-size:12px;font-weight:600;display:flex}.group-header__name{text-overflow:ellipsis;white-space:nowrap;flex:6em;min-width:0;overflow:hidden}.artboard-header{background:var(--panel);cursor:pointer}.artboard-header--active{background:var(--accent);color:#fff}.artboard-header__icon{flex:none;font-size:12px;line-height:1}.group-header .group-blend-mode{flex:0 3 auto;min-width:28px;max-width:45%;font-size:11px;font-weight:400}.group-header__toggle,.group-header__ungroup,.group-header__visibility{width:22px;height:22px;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:none}.layer-visibility{width:26px;height:26px;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:none;justify-content:center;align-items:center;padding:0;font-size:12px;line-height:1;display:inline-flex}.layer-visibility:hover{border-color:var(--border)}.group-header__visibility{justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:inline-flex}.layer-visibility .visibility-eye,.group-header__visibility .visibility-eye{width:18px;height:18px}.layer-thumbnail{border:1px solid var(--border);background:var(--surface-2);border-radius:2px;flex:none;width:36px;height:36px}.mask-thumbnail{border:1px solid var(--border);background:var(--surface-2);cursor:pointer;border-radius:2px;flex:none;width:38px;height:38px;padding:0;line-height:0;position:relative}.mask-thumbnail canvas{width:36px;height:36px;display:block}.mask-thumbnail:hover{border-color:var(--accent)}.mask-thumbnail--active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.mask-thumbnail--disabled{opacity:.5}.mask-thumbnail--disabled:after{content:"";background:linear-gradient(to top right,#0000 calc(50% - 1px),#e04040 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px));position:absolute;top:0;bottom:0;left:0;right:0}.layer-row--dragging{opacity:.4;cursor:grabbing}.layer-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.layer-lock{cursor:pointer;opacity:.35;background:0 0;border:1px solid #0000;border-radius:3px;flex:none;width:22px;height:22px;margin-left:auto;padding:0;font-size:12px;line-height:1}.layer-lock:hover{border-color:var(--border);opacity:.7}.layer-lock--on{opacity:1}.layer-link{cursor:pointer;opacity:.28;filter:grayscale();background:0 0;border:1px solid #0000;border-radius:3px;flex:none;width:24px;height:24px;margin-left:auto;padding:0;font-size:12px;line-height:1}.layer-link:hover{border-color:var(--border);opacity:.6}.layer-link--on{opacity:1;filter:none}.layer-lock{margin-left:0}.layer-name-input{background:var(--surface-sunken);min-width:0;color:var(--text);border:1px solid var(--accent);border-radius:2px;flex:1;padding:1px 4px;font-size:12px}.layers-toolbar{border-top:1px solid var(--border);flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:2px;padding:6px 4px;display:flex}.layers-toolbar button{width:28px;height:28px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;padding:0;display:flex}.layers-toolbar button svg{width:20px;height:20px;display:block}.layers-toolbar button:hover{background:var(--surface);border-color:var(--border)}.layers-toolbar button:disabled{opacity:.4;cursor:default}.layers-toolbar button:disabled:hover{background:0 0;border-color:#0000}.layers-toolbar__delete{margin-left:10px}.layers-toolbar__fx{letter-spacing:-.5px;font-family:Georgia,Times New Roman,serif;font-size:14px;font-style:italic;font-weight:600}.layer-props{border-top:1px solid var(--border);flex-direction:column;gap:6px;padding:6px 8px;font-size:12px;display:flex}.layer-props__row{align-items:center;gap:8px;display:flex}.layer-props__row>label{flex:none;min-width:44px}.layer-props__row input[type=range]{flex:1;min-width:0}.layer-props__row--top .layer-blend-mode{flex:auto;max-width:none}.layer-props__lock-label{min-width:44px;color:var(--text-muted);flex:none;font-size:12px}.layer-locks{flex:none;gap:3px;display:flex}.layer-lock-btn{background:var(--surface,#333);width:26px;height:26px;color:var(--text-muted);cursor:pointer;border:1px solid #0000;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;line-height:1;display:flex}.layer-lock-btn svg{width:16px;height:16px;display:block}.layer-lock-btn:hover{border-color:var(--border);color:var(--text)}.layer-lock-btn--on{border-color:var(--accent);color:var(--accent-text);background:var(--panel)}.layer-lock-indicator{opacity:.85;flex:none;font-size:11px}.layer-vector-mask-indicator{border:1px solid var(--border-2,#555);color:var(--text,#ddd);cursor:pointer;opacity:.8;background:0 0;border-radius:3px;flex:none;padding:1px 3px;font-size:11px;line-height:1}.layer-vector-mask-indicator:hover{opacity:1}.layer-vector-mask-indicator--active{border-color:var(--accent,#4a90d9);color:var(--accent-text);opacity:1}.layer-value{align-items:center;gap:6px;display:flex}.layer-value__label{flex:none;min-width:44px}.layer-value__range{flex:auto;min-width:0}.layer-value__num{width:calc(46px * var(--text-scale,1));text-align:right;background:var(--field);color:var(--text);border:1px solid var(--border);border-radius:4px;flex:none;padding:1px 4px;font-size:12px}.layer-value__num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.layer-value__num::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.layer-value__num{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.layer-value__pct{color:var(--text-muted);flex:none}.layers-add-adjustment{width:28px;height:28px;color:var(--text);cursor:pointer;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;display:flex;position:relative}.layers-add-adjustment:hover{background:var(--surface);border-color:var(--border)}.layers-add-adjustment svg{width:20px;height:20px;display:block}.layers-add-adjustment select{opacity:0;cursor:pointer;color:#0000;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.layers-add-adjustment .themed-select__trigger{color:#0000;background:0 0;border-color:#0000;border-radius:5px;min-width:0;padding:0;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px}.layers-add-adjustment .themed-select__trigger:focus-visible{border-color:var(--accent)}.layers-add-adjustment .themed-select__value,.layers-add-adjustment .themed-select__caret{visibility:hidden}.layers-add-adjustment select option{color:var(--text);background:var(--panel)}.layer-adjustment-glyph{border:1px solid var(--border);background:var(--panel);width:36px;height:36px;color:var(--text);border-radius:2px;flex:none;justify-content:center;align-items:center;display:flex}.layer-adjustment-glyph svg{width:20px;height:20px}.layer-fx-badge{color:var(--text-dim);cursor:default;flex:none;margin-left:4px;padding:0 2px;font-size:12px;font-style:italic;font-weight:600;line-height:1}.layer-row--active .layer-fx-badge{color:inherit}.properties-panel,.info-panel,.brush-panel,.navigator-panel,.text-properties{padding:8px 10px}.seg-control{flex-wrap:wrap;gap:3px;display:inline-flex}.seg-btn{width:27px;height:24px;color:var(--text-muted);background:var(--field);border:1px solid var(--border);cursor:pointer;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;transition:color .12s,background .12s,border-color .12s;display:inline-flex}.seg-btn:hover{color:var(--text);border-color:var(--text-faint)}.seg-btn--active,.seg-btn--active:hover{color:#fff;background:var(--accent);border-color:var(--accent)}.seg-btn--mixed{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 22%, transparent)}input[type=color][data-mixed]{outline:1px dashed var(--accent);outline-offset:1px;opacity:.6}.seg-btn:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.seg-btn svg{width:16px;height:16px;display:block}.type-glyph{font-family:Georgia,Times New Roman,serif;font-size:13px;line-height:1}.type-glyph--bold{font-weight:800}.type-glyph--italic{font-style:italic;font-weight:600}.type-glyph--underline{text-underline-offset:2px;text-decoration:underline}.type-glyph--strike{text-decoration:line-through}.type-glyph--caps{letter-spacing:-.06em;font-size:11px;font-weight:700}.metric-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.icon-field{align-items:center;gap:6px;min-width:0;min-height:24px;display:flex}.icon-field__icon{width:24px;height:24px;color:var(--text-muted);cursor:ew-resize;touch-action:none;border-radius:4px;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-field__icon:hover{color:var(--text);background:var(--surface)}.icon-field__icon svg{width:16px;height:16px;display:block}.icon-field__input{background:var(--field);width:0;min-width:0;min-height:24px;color:var(--text);border:1px solid var(--border);font-variant-numeric:tabular-nums;border-radius:4px;flex:1 1 0;padding:2px 6px;font-size:12px}.icon-field__input:hover{border-color:var(--text-faint)}.icon-field__input:focus-visible{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);outline:none}.icon-field__step{flex-direction:column;flex:none;display:flex}.icon-field__step button{width:16px;height:12px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);cursor:pointer;justify-content:center;align-items:center;padding:0;font-size:6px;line-height:1;display:flex}.icon-field__step button:first-child{border-bottom:none;border-radius:3px 3px 0 0}.icon-field__step button:last-child{border-radius:0 0 3px 3px}.icon-field__step button:hover{color:var(--text);background:var(--surface-2)}.properties-hint{color:var(--text-muted);margin:0;font-size:12px}.properties-params{flex-direction:column;gap:8px;display:flex}.properties-param{align-items:center;gap:8px;font-size:12px;display:flex}.mask-properties{border-bottom:1px solid var(--border);flex-direction:column;gap:8px;margin-bottom:8px;padding:6px 0 10px;display:flex}.properties-section-title{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:11px}.mask-properties__actions{gap:8px;display:flex}.mask-properties__actions button{font:inherit;background:var(--field,#1b1b1b);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:5px;flex:1;padding:5px 8px;font-size:12px}.mask-properties__actions button:hover{background:var(--surface);border-color:var(--border-2,#484848)}.properties-info{flex-direction:column;gap:6px;padding:4px 0;display:flex}.properties-info__row{align-items:baseline;gap:8px;font-size:12px;display:flex}.properties-info__key{min-width:72px;color:var(--text-muted);flex:none}.properties-info__val{min-width:0;color:var(--text);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.properties-info .blending-options-button{margin-top:6px}.properties-param>label{flex:none;min-width:72px}.properties-param input[type=range]{flex:1;min-width:0}.font-picker{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.font-picker-trigger{min-width:0;height:24px;font:inherit;background:var(--field,#1b1b1b);color:var(--text);border:1px solid var(--border);cursor:pointer;text-align:left;border-radius:4px;flex:1;justify-content:space-between;align-items:center;gap:6px;padding:0 6px;font-size:13px;display:inline-flex}.font-picker-trigger:hover{border-color:var(--accent)}.font-picker-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);outline:none}.font-picker-trigger[aria-expanded=true]{border-color:var(--accent)}.font-picker-trigger__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.font-picker-trigger__caret{color:var(--text-muted);flex:none;font-size:9px}.font-picker-warn{color:#1b1b1b;cursor:help;background:#d99a26;border-radius:50%;flex:none;place-items:center;width:16px;height:16px;font-size:11px;font-weight:700;display:inline-grid}.font-picker-fix{height:22px;font:inherit;white-space:nowrap;color:var(--text);cursor:pointer;background:0 0;border:1px solid #d99a26;border-radius:4px;flex:none;padding:0 7px;font-size:11px}.font-picker-fix:hover{background:#d99a2629}.font-picker-fix:focus-visible{outline:none;box-shadow:0 0 0 1px #d99a26}.properties-param .font-picker{flex-wrap:wrap;row-gap:4px}.properties-param .font-picker-trigger{flex:1 1 0;min-width:72px}.properties-param .font-picker-fix{flex-basis:100%;order:10}.options-segment>.font-picker{flex:0 auto;min-width:0}.options-segment .font-picker-trigger{min-width:64px}.font-picker-fix--compact{align-items:center;gap:4px;padding-left:3px;display:inline-flex}.font-picker-upload[hidden]{display:none}.font-picker-fix--compact .font-picker-warn{width:14px;height:14px;cursor:inherit;font-size:10px}.font-menu{z-index:4000;box-sizing:border-box;background:var(--panel);max-width:calc(100vw - 16px);color:var(--text);border:1px solid var(--border);border-radius:6px;flex-direction:column;gap:6px;padding:6px;font-size:12px;animation:.12s cubic-bezier(.22,1,.36,1) font-menu-in;display:flex;position:fixed;box-shadow:0 10px 28px #00000073}@keyframes font-menu-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.font-menu{animation:none}}.font-menu__search{box-sizing:border-box;width:100%;height:26px;font:inherit;background:var(--field,#1b1b1b);color:var(--text);border:1px solid var(--border);border-radius:4px;padding:0 8px;font-size:12px}.font-menu__search::placeholder{color:var(--text-muted)}.font-menu__search:focus{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);outline:none}.font-menu__chips{flex-wrap:wrap;gap:3px;display:flex}.font-menu__chip{font:inherit;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:10px;padding:1px 7px;font-size:11px;line-height:18px}.font-menu__chip:hover{color:var(--text);border-color:var(--text-dim,#888)}.font-menu__chip[aria-pressed=true]{color:#fff;background:var(--accent);border-color:var(--accent)}.font-menu__warn{color:var(--text);background:#d99a2629;border:1px solid #d99a268c;border-radius:4px;margin:0;padding:5px 8px;font-size:11px;line-height:1.35}.font-menu__list{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--surface-2) transparent;flex:auto;min-height:0;margin:0;padding:0;list-style:none;overflow-y:auto}.font-menu__list::-webkit-scrollbar{width:8px}.font-menu__list::-webkit-scrollbar-thumb{background:var(--surface-2);border-radius:4px}.font-menu__section+.font-menu__section{margin-top:4px}.font-menu__group{z-index:2;color:var(--text-muted);background:var(--panel);box-shadow:0 1px 0 var(--border);padding:4px 6px;font-size:11px;font-weight:600;position:sticky;top:0}.font-menu__rows{margin:0;padding:0;list-style:none}.font-menu__option{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:3px;align-items:center;gap:6px;min-height:28px;padding:0 6px 0 2px;display:flex}.font-menu__option--active{background:var(--surface)}.font-menu__option--selected .font-menu__check{color:var(--accent-text)}.font-menu__option--missing .font-menu__name{opacity:.45}.font-menu__option--custom .font-menu__name{font-style:italic}.font-menu__check{text-align:center;flex:0 0 14px;font-size:12px}.font-menu__name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:15px;line-height:1.3;overflow:hidden}.font-menu__sample{white-space:nowrap;max-width:34%;color:var(--text-muted);flex:none;font-size:14px;overflow:hidden}.font-menu__tags{flex:none;gap:2px;display:inline-flex}.font-menu__tag{text-align:center;min-width:14px;color:var(--text-muted);border:1px solid var(--border);border-radius:3px;padding:0 3px;font-size:10px;line-height:14px}.font-menu__empty{color:var(--text-muted);padding:10px 8px}@media (pointer:coarse){.font-menu__option{min-height:44px}.font-menu__search{height:40px;font-size:16px}.font-menu__chip{border-radius:15px;padding:1px 10px;line-height:28px}}.font-menu--short .font-menu__chips,.font-menu--short .font-menu__warn{display:none}.font-picker-upload{background:var(--field,#1b1b1b);width:24px;height:24px;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:4px;flex:none;padding:0;font-size:15px;line-height:1}.font-picker-upload:hover{background:var(--surface);border-color:var(--border-2,#484848)}.properties-param__value{text-align:right;min-width:34px;color:var(--text-muted);font-variant-numeric:tabular-nums}.info-panel{flex-direction:column;gap:4px;font-size:12px;display:flex}.info-swatch-row{border-bottom:1px solid var(--border);align-items:center;gap:8px;margin-bottom:4px;padding-bottom:6px;display:flex}.info-swatch{border:1px solid var(--border);border-radius:4px;flex:none;width:30px;height:30px}.info-swatch[data-empty=true]{background-image:linear-gradient(45deg, var(--surface) 25%, transparent 25%), linear-gradient(-45deg, var(--surface) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--surface) 75%), linear-gradient(-45deg, transparent 75%, var(--surface) 75%);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px}.info-swatch__hex{font-variant-numeric:tabular-nums;letter-spacing:.02em;color:var(--text)}.info-grid{gap:12px;display:flex}.info-col{flex-direction:column;flex:1 1 0;gap:4px;min-width:0;display:flex}.info-coords{border-top:1px solid var(--border);flex-direction:column;gap:4px;margin-top:6px;padding-top:6px;display:flex}.info-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.info-row__label{color:var(--text-muted);flex:none;min-width:40px}.info-row__value{text-align:right;color:var(--text);font-variant-numeric:tabular-nums;flex:1}.navigator-panel{flex-direction:column;align-items:center;gap:8px;display:flex}.navigator-thumb{border:1px solid var(--border);background:var(--bg-canvas,#2a2a2a);cursor:pointer;touch-action:none;max-width:100%}.navigator-zoom{align-items:center;gap:8px;width:100%;font-size:12px;display:flex}.navigator-zoom input[type=range]{flex:1;min-width:0}.navigator-zoom__value{text-align:right;min-width:44px;color:var(--text-muted);font-variant-numeric:tabular-nums}.histogram-panel{flex-direction:column;gap:8px;display:flex}.histogram-panel__field{color:var(--text-muted);flex-direction:column;gap:4px;font-size:11px;display:flex}.histogram-panel__field select{font:inherit;font-size:12px}.histogram-panel__canvas{border:1px solid var(--border);background:var(--bg-canvas,#2a2a2a);border-radius:4px;width:100%}.histogram-panel__stats{grid-template-columns:1fr 1fr;gap:4px 16px;margin:0;font-size:11px;display:grid}.histogram-panel__stats>div{justify-content:space-between;gap:8px;display:flex}.histogram-panel__stats dt{color:var(--text-muted)}.histogram-panel__stats dd{color:var(--text);font-variant-numeric:tabular-nums;margin:0}.brush-panel{flex-direction:column;gap:6px;font-size:12px;display:flex}.brush-row{align-items:center;gap:8px;width:100%;display:flex}.brush-row__label{color:var(--text-muted);flex:0 0 72px}.brush-row input[type=range]{flex:1;min-width:0}.brush-row__value{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;align-items:center;gap:3px;display:flex}.brush-row__unit{text-align:left;flex:0 0 18px}.brush-row__value-input{text-align:right;width:40px;color:var(--text);background:var(--surface,#2a2a2a);border:1px solid var(--border,#444);font:inherit;font-variant-numeric:tabular-nums;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;border-radius:3px;padding:1px 4px}.brush-row__value-input:focus{border-color:var(--accent,#3b82f6);outline:none}.brush-row__value-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.brush-row__value-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.brush-tip-select{flex:1;min-width:0}.brush-check{align-items:center;gap:6px;display:flex}.text-properties{flex-direction:column;gap:8px;display:flex}.properties-param--stacked{flex-direction:column;align-items:stretch}.properties-param--curve{flex-direction:column;align-items:stretch;gap:4px}.properties-param--curve .curve-editor{max-width:200px}.grad-stops{flex-direction:column;gap:5px;display:flex}.grad-stops__preview{border:1px solid var(--border);border-radius:3px;height:16px}.grad-stops__row{align-items:center;gap:6px;display:flex}.grad-stops__row input[type=color]{border:1px solid var(--border);background:0 0;border-radius:3px;width:28px;height:22px;padding:0}.grad-stops__pos{background:var(--field);width:52px;height:22px;color:var(--text);border:1px solid var(--border);border-radius:3px;font-size:12px}.grad-stops__row button{border:1px solid var(--border);background:var(--panel);width:22px;height:22px;color:var(--text);cursor:pointer;border-radius:3px;line-height:1}.grad-stops__row button:disabled{opacity:.4;cursor:default}.grad-stops__add{border:1px solid var(--border);background:var(--panel);height:22px;color:var(--text);cursor:pointer;border-radius:3px;align-self:flex-start;padding:0 10px;font-size:12px}.text-properties__content{resize:vertical;box-sizing:border-box;width:100%;min-height:56px;font-family:inherit;font-size:12px}.text-properties select{flex:1;min-width:0}.text-properties input[type=color]{flex:none;width:46px;height:22px}.shape-properties{flex-direction:column;gap:8px;display:flex}.shape-properties input[type=color]{flex:none}.shape-nofill{min-width:0;color:var(--text-muted);align-items:center;gap:4px;display:flex}.smart-filter-stack{flex-direction:column;gap:12px;display:flex}.smart-filter-row{border:1px solid var(--border,#333);border-radius:4px;flex-direction:column;gap:6px;padding:6px 8px;display:flex}.smart-filter-row__head{align-items:center;gap:8px;font-size:12px;display:flex}.smart-filter-row__label{flex:1;min-width:0}.smart-filter-mask{align-items:center;gap:8px;font-size:12px;display:flex}.smart-filter-mask__label{min-width:0;color:var(--text-muted);flex:1}.smart-filter-mask__actions{flex:none;gap:6px;display:flex}.smart-filter-mask__actions button{font:inherit;background:var(--field,#1b1b1b);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:5px;padding:4px 8px;font-size:12px}.smart-filter-mask__actions button:hover{background:var(--surface);border-color:var(--border-2,#484848)}.smart-filter-row__blending{flex-direction:column;gap:6px;display:flex}.smart-filter-row__toggle,.smart-filter-row__remove{color:inherit;cursor:pointer;background:0 0;border:none;flex:none;padding:0 4px;font-size:13px}.layer-styles{border-top:1px solid var(--border,#333);flex-direction:column;gap:8px;margin-top:12px;padding-top:10px;display:flex}.layer-styles__title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin:0;font-size:12px;font-weight:600}.layer-styles__effect{border:1px solid var(--border,#333);border-radius:4px;flex-direction:column;gap:6px;padding:6px 8px;display:flex}.layer-styles__enable{cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex}.layer-styles input[type=color]{flex:none}.curve-editor{justify-content:center;display:flex}.curve-editor__svg{touch-action:none;-webkit-user-select:none;user-select:none;max-width:100%;height:auto}.curve-editor__bg{fill:var(--surface-raised);stroke:var(--border);stroke-width:1px}.curve-editor__hist{fill:color-mix(in srgb, var(--text) 42%, transparent);stroke:color-mix(in srgb, var(--text) 55%, transparent);stroke-width:.75px;pointer-events:none}.curve-editor__grid{stroke:color-mix(in srgb, var(--text) 9%, transparent);stroke-width:1px}.curve-editor__diagonal{stroke:color-mix(in srgb, var(--text) 22%, transparent);stroke-width:1px;stroke-dasharray:3 3}.curve-editor__line{fill:none;stroke:#6cf;stroke-width:1.25px}.curve-editor__handle{fill:#fff;stroke:#6cf;stroke-width:1.25px;cursor:grab}.curve-editor__handle:hover{fill:#6cf}.color-panel{flex-direction:column;gap:8px;padding:8px 10px;display:flex}.color-fgbg{align-items:center;gap:8px;display:flex}.color-chip{border:1px solid var(--border);cursor:pointer;border-radius:3px;width:28px;height:28px;padding:0}.color-chip[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:1px}.color-swap{background:var(--panel);width:24px;height:24px;color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:3px;margin-left:auto;line-height:1}.color-swap:hover{border-color:var(--accent)}.color-sv{border:1px solid var(--border);touch-action:none;cursor:crosshair;border-radius:3px;width:100%;height:120px;position:relative;overflow:hidden}.color-sv__white{background:linear-gradient(90deg,#fff,#fff0);position:absolute;top:0;bottom:0;left:0;right:0}.color-sv__black{background:linear-gradient(#0000,#000);position:absolute;top:0;bottom:0;left:0;right:0}.color-sv__thumb{pointer-events:none;border:2px solid #fff;border-radius:50%;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute;box-shadow:0 0 0 1px #0009}.color-hue{width:100%;margin:0}.color-inputs{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.color-hex,.color-rgb{color:var(--text-muted);align-items:center;gap:4px;font-size:11px;display:flex}.color-hex input{width:72px}.color-rgb input{width:44px}.color-inputs input{background:var(--surface-sunken);color:var(--text);border:1px solid var(--border);border-radius:2px;padding:2px 4px;font-size:12px}.color-swatches{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.color-swatch{display:inline-flex;position:relative}.color-swatch__chip{border:1px solid var(--border);cursor:pointer;border-radius:3px;width:18px;height:18px;padding:0}.color-swatch__chip:hover{border-color:var(--accent)}.color-swatch__remove{background:var(--field);color:#ccc;border:1px solid var(--border);cursor:pointer;opacity:0;border-radius:50%;width:12px;height:12px;padding:0;font-size:8px;line-height:1;position:absolute;top:-6px;right:-6px}.color-swatch:hover .color-swatch__remove,.color-swatch:focus-within .color-swatch__remove{opacity:1}.color-swatch__add{background:var(--panel);width:18px;height:18px;color:var(--text);border:1px dashed var(--border);cursor:pointer;border-radius:3px;font-size:12px;line-height:1}.color-swatch__add:hover{border-color:var(--accent)}.layer-blend-mode{flex:none;max-width:45%;font-size:12px}.status-bar{background:var(--panel);border-top:1px solid var(--border);align-items:center;gap:16px;min-width:0;height:24px;padding:0 12px;font-size:12px;display:flex;overflow:hidden}.status-zoom-controls,.status-history{flex:none}.status-doc{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.status-bar[data-compact] .status-button--actual,.status-bar[data-compact="2"] .status-button--fit,.status-bar[data-compact="3"] .status-button--fit,.status-bar[data-compact="4"] .status-button--fit,.status-bar[data-compact="3"] .status-button--step,.status-bar[data-compact="4"] .status-button--step,.status-bar[data-compact="4"] .status-doc{display:none}.status-hint{color:var(--accent-text,var(--text));white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.status-zoom-controls{align-items:center;gap:6px;display:flex}.status-zoom{text-align:center;justify-content:center;align-items:center;min-width:44px;min-height:24px;display:inline-flex}.status-button{isolation:isolate;min-width:24px;height:24px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:3px;padding:0 7px;font-size:11px;line-height:1;position:relative}.status-button:before{content:"";inset:var(--status-chip-inset,3px 1px);z-index:-1;background:var(--panel);border:1px solid var(--border);pointer-events:none;border-radius:3px;position:absolute}.status-button:hover:not(:-webkit-any(:disabled,[aria-disabled=true])):before{border-color:var(--accent)}.status-button:hover:not(:-moz-any(:disabled,[aria-disabled=true])):before{border-color:var(--accent)}.status-button:hover:not(:is(:disabled,[aria-disabled=true])):before{border-color:var(--accent)}.status-button:disabled,.status-button[aria-disabled=true]{opacity:.4;cursor:default}.status-history{align-items:center;gap:6px;display:none}.status-button--icon{justify-content:center;align-items:center;padding:0;display:inline-flex}.command-palette-overlay{z-index:200;background:#00000080;justify-content:center;align-items:flex-start;padding-top:12vh;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.command-palette{background:var(--panel);border:1px solid var(--border);border-radius:8px;flex-direction:column;width:560px;max-width:90vw;max-height:70vh;display:flex;overflow:hidden;box-shadow:0 12px 48px #00000080}.command-palette__input{background:var(--panel);color:var(--text);border:none;border-bottom:1px solid var(--border);outline:none;padding:12px 14px;font-size:15px}.command-palette__list{margin:0;padding:4px;list-style:none;overflow-y:auto}.command-palette__item{cursor:pointer;color:var(--text);border-radius:4px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:13px;display:flex}.command-palette__item--active{background:var(--accent);color:#fff}.command-palette__item--disabled{opacity:.4;cursor:default}.command-palette__item-category{letter-spacing:.04em;text-transform:uppercase;opacity:.7;font-size:11px}.command-key{border:1px solid var(--border);font-variant-numeric:tabular-nums;opacity:.8;border-radius:4px;padding:1px 6px;font-size:11px}.command-palette__item--active .command-key{opacity:1}.command-palette__empty{color:var(--text-dim);text-align:center;padding:12px 10px;font-size:13px}.menu-nav{flex-grow:1;align-items:stretch;gap:0;display:flex}.menu-nav__group{position:relative}.menu-nav__top{height:32px;color:var(--text);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:none;padding:0 10px}.menu-nav__top:hover,.menu-nav__top--open{background:var(--surface)}.menu-nav__top:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.menu-nav:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.menu-dropdown{min-width:220px;color:var(--text);background:var(--panel);border:1px solid var(--border);z-index:100;border-radius:6px;margin:0;padding:4px;list-style:none;position:absolute;top:100%;left:0;box-shadow:0 8px 24px #00000059}.menu-dropdown--sub{display:none;top:-5px;left:100%}.menu-nav__group>.menu-dropdown{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent;background:linear-gradient(var(--panel) 30%, transparent) top / 100% 28px no-repeat local, linear-gradient(transparent, var(--panel) 70%) bottom / 100% 28px no-repeat local, radial-gradient(farthest-side at 50% 0, var(--scrollbar-thumb), transparent) top / 100% 12px no-repeat scroll, radial-gradient(farthest-side at 50% 100%, var(--scrollbar-thumb), transparent) bottom / 100% 12px no-repeat scroll, var(--panel);max-height:calc(100dvh - 36px);overflow:hidden auto}.menu-dropdown::-webkit-scrollbar{width:8px}.menu-dropdown::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.menu-row--submenu:hover>.menu-dropdown--sub,.menu-row--submenu:focus-within>.menu-dropdown--sub,.menu-row--subopen>.menu-dropdown--sub{display:block}.menu-row{cursor:pointer;white-space:nowrap;border-radius:4px;align-items:center;gap:8px;padding:5px 10px;display:flex}.menu-row:hover,.menu-row--active{background:var(--accent);color:#fff}.menu-row--active:focus-visible{outline:none}.menu-row--disabled{opacity:.4;cursor:default}.menu-row--disabled:hover{color:var(--text);background:0 0}.menu-row__check{text-align:center;flex:none;width:14px}.menu-row__swatch{flex:none;gap:2px;margin-right:2px;display:inline-flex}.menu-row__swatch-dot{border:1px solid #ffffff40;border-radius:2px;width:9px;height:12px}.menu-row__label{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.menu-row__label--file{display:flex}.menu-row__file-stem{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.menu-row__file-ext{flex:none}@media (min-width:821px) and (pointer:fine),(min-width:821px) and (min-height:501px){[data-testid=menu-submenu-file\:open-recent]>.menu-dropdown--sub{max-width:min(420px,60vw)}}.menu-row__arrow{margin-left:auto}.menu-row--submenu{position:relative}.menu-sep{background:var(--border);border:none;height:1px;margin:4px 6px;list-style:none}.canvas-proof-pending{z-index:110;pointer-events:none;color:var(--text);background:color-mix(in srgb, var(--panel) 88%, transparent);border-radius:999px;align-items:center;gap:8px;padding:5px 10px;font-size:12px;display:flex;position:absolute;top:10px;right:10px;box-shadow:0 2px 8px #00000040}.canvas-proof-pending__spinner{border:2px solid var(--border,#444);border-top-color:var(--accent,#3b82f6);border-radius:50%;width:12px;height:12px;animation:.8s linear infinite busy-spin}@media (prefers-reduced-motion:reduce){.canvas-proof-pending__spinner{border-color:var(--accent,#3b82f6);animation:none}}.canvas-drop-overlay{z-index:120;pointer-events:none;border:2px dashed var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;top:8px;bottom:8px;left:8px;right:8px}.canvas-drop-overlay__inner{background:color-mix(in srgb, var(--panel) 82%, transparent);color:var(--text);border-radius:10px;flex-direction:column;align-items:center;gap:10px;padding:20px 28px;display:flex;box-shadow:0 8px 24px #00000047}.canvas-drop-overlay__icon{color:var(--accent-text)}.canvas-drop-overlay__label{font-size:14px;font-weight:600}.layer-context-menu{background:var(--panel);min-width:200px;color:var(--text);border:1px solid var(--border);z-index:150;max-height:calc(100vh - 8px);max-height:calc(100dvh - 8px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));box-sizing:border-box;overscroll-behavior:contain;border-radius:6px;max-width:calc(100vw - 8px);padding:4px;position:fixed;overflow-y:auto;box-shadow:0 8px 24px #00000059}.layer-context-menu__item{box-sizing:border-box;text-align:left;width:100%;color:inherit;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:5px 10px;display:block}.layer-context-menu__item:hover:not(:disabled){background:var(--accent);color:#fff;outline:none}.layer-context-menu__item:focus-visible{background:var(--accent);color:#fff;outline:none}.layer-context-menu__item:disabled{opacity:.4;cursor:default}.layer-context-menu__sep{background:var(--border);height:1px;margin:4px 6px}.layer-context-menu__colorlabels{justify-content:center;align-items:center;gap:0;margin:0 -2px;padding:1px 0 3px;display:flex}.layer-context-menu__swatch{isolation:isolate;box-sizing:border-box;cursor:pointer;background-clip:content-box;border:none;border-radius:50%;flex:none;width:24px;height:24px;padding:12px;position:relative}.layer-context-menu__swatch:before{content:"";width:var(--swatch-dot,15px);height:var(--swatch-dot,15px);box-sizing:border-box;z-index:-1;background-color:inherit;background-clip:border-box;border:1px solid #00000059;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.layer-context-menu__swatch--none{color:var(--muted);background:0 0;padding:0;font-size:10px;line-height:1}.layer-context-menu__swatch--none:before{background:0 0;border-style:dashed}.layer-context-menu__swatch[aria-checked=true]:before{outline:2px solid var(--accent);outline-offset:1px}.layer-color-label{border:1px solid #0000004d;border-radius:50%;flex:none;width:8px;height:8px;margin:0 2px}.mobile-panels-toggle,.mobile-panels-backdrop{display:none}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.panel-dock{z-index:60;border-left:1px solid var(--border);flex-direction:column;width:min(300px,86vw);transition:transform .22s cubic-bezier(.22,1,.36,1);position:fixed;top:0;bottom:0;right:0;overflow:hidden auto;transform:translate(100%);box-shadow:-8px 0 28px #0006}.panel-dock .panel-column{width:100%!important}.panel-dock [data-testid=dock-col-main],.panel-dock [data-testid=col1-layers]{order:-1}.panel-dock .panel-column__resizer,.panel-dock .panel-column__header{display:none}.app-shell--panels-open .panel-dock{transform:translate(0)}.app-shell--panels-open .mobile-panels-backdrop{z-index:55;background:#0006;display:block;position:fixed;top:0;bottom:0;left:0;right:0}.mobile-panels-toggle{right:12px;bottom:calc(40px + env(safe-area-inset-bottom,0px));z-index:65;border:1px solid var(--border);background:var(--accent);color:#fff;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;display:flex;position:fixed;box-shadow:0 6px 18px #00000059}.mobile-panels-toggle svg{width:22px;height:22px}.app-shell--panels-open .mobile-panels-toggle{background:var(--panel);color:var(--text)}}@media (max-width:820px){.app-body{grid-template-columns:auto 1fr auto}.tool-bar{width:44px}.tool-bar--two{width:85px}.tool-button{width:40px;height:40px}.tool-button svg{width:24px;height:24px}.options-button{min-height:34px}.doc-tab__close{width:26px;height:26px}.status-button{--status-chip-inset:0;min-width:28px;min-height:28px}.history-source-toggle{opacity:.55}.menu-bar{gap:4px;height:40px;padding:0 6px}.menu-bar .brand{display:none}.menu-nav{scrollbar-width:none;flex:auto;gap:1px;min-width:0;overflow:auto hidden}.menu-nav::-webkit-scrollbar{display:none}.menu-nav{padding-right:22px}.menu-bar__end{position:relative}.menu-bar__end:before{content:"";background:linear-gradient(to right, transparent, var(--panel));pointer-events:none;width:22px;position:absolute;top:0;bottom:0;right:100%}.menu-nav__top,.menu-bar__end{flex:none}.status-bar{height:30px}.menu-nav__top{height:40px;padding:0 4px}.menu-nav__group>.menu-dropdown{min-width:0;max-width:none;max-height:calc(100dvh - 52px);position:fixed;top:40px;left:6px;right:6px;overflow-y:auto}.menu-row--submenu{flex-wrap:wrap}.menu-dropdown--sub{width:100%;min-width:0;box-shadow:none;color:var(--text);background:0 0;border:none;flex-basis:100%;margin:2px 0 4px;padding:2px 0 2px 14px;position:static;top:auto;left:auto}.menu-row--submenu>.menu-row__arrow{transition:transform .12s}.menu-row--subopen>.menu-row__arrow{transform:rotate(90deg)}.menu-row{min-height:38px}.options-bar{flex-wrap:nowrap}.options-button,.options-field,.options-checkbox,.options-segment{white-space:nowrap;flex:none}.transform-handle,.transform-handle--edge{width:16px;height:16px;margin:-8px 0 0 -8px}.transform-rotate,.transform-handle--pin,.transform-handle--mesh{touch-action:none;width:16px;height:16px;margin:-8px 0 0 -8px}}@media (pointer:coarse){.transform-handle,.transform-handle--edge{width:16px;height:16px;margin:-8px 0 0 -8px}.transform-rotate,.transform-handle--pin,.transform-handle--mesh{touch-action:none;width:16px;height:16px;margin:-8px 0 0 -8px}}@media (min-width:821px) and (max-height:500px) and (pointer:coarse){.menu-nav__group>.menu-dropdown{width:min(560px,100vw - 12px);min-width:0;max-height:calc(100dvh - 40px);position:fixed;top:32px;left:6px;overflow-y:auto}.menu-row--submenu{flex-wrap:wrap}.menu-dropdown--sub{width:100%;min-width:0;box-shadow:none;color:var(--text);background:0 0;border:none;flex-basis:100%;margin:2px 0 4px;padding:2px 0 2px 14px;position:static;top:auto;left:auto}.menu-row--submenu>.menu-row__arrow{transition:transform .12s}.menu-row--subopen>.menu-row__arrow{transform:rotate(90deg)}.menu-bar{gap:6px;padding:0 6px}.menu-bar .brand{display:none}.menu-nav{scrollbar-width:none;flex:auto;gap:1px;min-width:0;padding-right:22px;overflow:auto hidden}.menu-nav::-webkit-scrollbar{display:none}.menu-nav__top{flex:none}.menu-bar__end{flex:none;gap:6px;padding-left:0;position:relative}.menu-bar__end:before{content:"";background:linear-gradient(to right, transparent, var(--panel));pointer-events:none;width:22px;position:absolute;top:0;bottom:0;right:100%}}.menu-row__shortcut{color:var(--text-dim);white-space:nowrap;flex:none;margin-left:auto;padding-left:24px;font-size:12px}.menu-row__shortcut--reserved{color:var(--text-faint);font-style:italic}.menu-row:hover>.menu-row__shortcut,.menu-row--active>.menu-row__shortcut{color:inherit}.tab-bar__tabs{flex:none;align-items:stretch;gap:1px;display:flex}.command-palette__item--active .command-palette__item-category{opacity:.92}a.canvas-empty__button{text-decoration:none}@media (max-width:820px),(min-width:821px) and (max-height:500px) and (pointer:coarse){.menu-row__shortcut{display:none}.menu-nav__top{justify-content:center;min-width:32px}.menu-row--submenu.menu-row--subopen,.menu-row--submenu.menu-row--subopen:hover{color:var(--text);background:0 0}.canvas-empty__link,.canvas-empty__learn-all,.canvas-empty__footer a,.canvas-empty__learn-list a,.all-tools__see-all{justify-content:center;align-items:center;min-width:32px;min-height:32px;display:inline-flex}}.options-segment--transform-mode{align-items:center;gap:10px}.options-segment--transform-mode .options-hint{white-space:nowrap;color:var(--text);flex:none}.options-bar--transform>.options-group{flex:none}.options-bar--transform>.options-group--transform-commit,.options-bar>.options-group--text-commit{background:var(--panel);margin-left:auto;padding-left:8px;position:sticky;right:0}.transform-commit{gap:6px}.transform-commit__btn.options-button--icon{width:30px;height:24px}.transform-commit__btn--ok{color:var(--accent)}@media (max-width:820px){.options-bar--transform{height:44px}.transform-commit__btn.options-button--icon{width:40px;height:36px}.transform-commit__btn svg{width:20px;height:20px}.options-bar--transform .options-number,.options-bar--transform .themed-select__trigger,.options-bar--transform .options-button{min-height:32px}.options-bar--transform .options-slider__caret{min-width:32px;min-height:32px}}@media (pointer:coarse){.options-bar--transform{height:44px}.transform-commit__btn.options-button--icon{width:40px;height:36px}.transform-commit__btn svg{width:20px;height:20px}}@media (max-width:820px){.layer-context-menu__colorlabels{flex-wrap:wrap;gap:6px}.layer-context-menu__swatch{--swatch-dot:32px;width:32px;height:32px}}.options-group--selection{flex:none}.options-group--selection :-webkit-any(.options-button,.options-field,.options-segment){white-space:nowrap;flex:none}.options-group--selection :-moz-any(.options-button,.options-field,.options-segment){white-space:nowrap;flex:none}.options-group--selection :is(.options-button,.options-field,.options-segment){white-space:nowrap;flex:none}.options-group--selection .themed-select__trigger{min-width:max-content}.options-group--selection~.options-group--view{flex:none}.options-group--selection~.options-group--view :-webkit-any(.options-field,.options-segment,label){white-space:nowrap;flex:none}.options-group--selection~.options-group--view :-moz-any(.options-field,.options-segment,label){white-space:nowrap;flex:none}.options-group--selection~.options-group--view :is(.options-field,.options-segment,label){white-space:nowrap;flex:none}.tool-flyout-item__key{color:inherit;opacity:.75;margin-left:auto;padding-left:16px;font-size:12px}.tool-flyout-item--active .tool-flyout-item__key{opacity:1}.options-segment:has(>.options-field){align-items:center;gap:8px}.options-segment:has(>.options-hint){align-items:center;gap:8px}.options-segment:has(>.options-readout){align-items:center;gap:8px}.options-segment:has(>.options-note){align-items:center;gap:8px}.options-segment:has(>.options-label){align-items:center;gap:8px}.options-bar .options-button,.options-bar .options-hint,.options-bar .options-note,.options-bar .options-label,.options-bar .options-field{white-space:nowrap;flex:none}.options-file-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}@media (max-width:820px){.options-bar{height:auto;min-height:40px}.options-bar .options-field,.options-bar .options-check,.options-bar .options-number,.options-bar .options-select,.options-bar .themed-select__trigger,.options-bar .options-slider__caret,.options-bar .brush-tip-flyout__btn,.options-bar .gradient-swatch,.options-bar .gradient-picker__caret{min-height:32px}.options-bar .options-button--icon,.options-bar .options-slider__caret,.options-bar .gradient-picker__caret,.options-bar .options-color{min-width:32px}.options-bar .options-color{min-height:32px}.tool-bar__frame{--tool-bar-scroll-h:32px}.tool-bar__frame:before,.tool-bar__frame:after{height:24px}.tool-bar__frame:before{background:linear-gradient(to bottom, var(--panel) 45%, transparent)}.tool-bar__frame:after{background:linear-gradient(to top, var(--panel) 45%, transparent)}.tool-bar__scroll svg{width:14px;height:8px}.app-shell .menu-row--submenu.menu-row--subopen,.app-shell .menu-row--submenu.menu-row--subopen:hover{color:var(--text);background:0 0}.app-shell .menu-row--subopen>.menu-row__label{font-weight:600}.app-shell .menu-row--subopen>.menu-row__arrow{color:var(--accent)}.app-shell .canvas-empty__link,.app-shell .canvas-empty__footer a,.app-shell .canvas-empty__learn-all{align-items:center;min-height:32px;display:inline-flex}.app-shell .canvas-empty__link{margin-top:2px}.app-shell .canvas-empty__footer{gap:0 14px}.app-shell .canvas-empty__learn-list a{align-items:center;min-height:32px;display:inline-flex}.app-shell .panel-dock .panel-tab,.app-shell .panel-dock .brush-tab,.app-shell .panel-dock .themed-select__trigger{min-height:32px}.app-shell .panel-dock .layers-add-adjustment{width:32px;height:32px}.app-shell .panel-dock .layers-add-adjustment .themed-select__trigger{opacity:0;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.app-shell .panel-dock .history-source-toggle{width:32px;height:32px}.app-shell .dialog .dialog__sheet-grip{height:32px}.app-shell .dialog .themed-select__trigger,.app-shell .dialog .adjust-dialog__preview{min-height:32px}.app-shell .dialog .dialog__close{min-width:32px;min-height:32px}.app-shell .dialog--sheet .dialog__actions:has(>button:nth-of-type(3))>.adjust-dialog__preview{flex:100%}.app-shell .adj-levels__track{height:20px}.app-shell .adj-levels__tri{width:32px;height:20px;margin-left:-16px}.app-shell .options-bar{height:44px}.app-shell .options-bar .options-number,.app-shell .options-bar .options-select,.app-shell .options-bar .themed-select__trigger,.app-shell .options-bar input[type=text],.app-shell .options-bar input[type=number]{min-height:32px}.app-shell .options-bar .options-button{min-width:32px;min-height:32px}.app-shell .options-bar .options-slider__caret{min-width:28px;min-height:32px}.app-shell .options-bar label:has(>input[type=checkbox]){min-height:32px}.app-shell .tool-bar__frame{--tool-bar-scroll-h:32px}.app-shell .tool-bar__columns{height:28px}.app-shell .status-zoom{justify-content:center;align-items:center;min-height:28px;display:inline-flex}.app-shell .menu-nav__top{min-width:32px}.app-shell .panel-dock .brush-check{min-height:32px}.app-shell .tool-colors{width:40px;height:40px}.app-shell .tool-color{width:26px;height:26px}.app-shell .tool-color--bg{top:14px;left:14px}.app-shell .layer-context-menu__item{min-height:36px}.app-shell .bgrm__seg button,.app-shell .bgrm__controls>button{min-height:32px}}@media (min-width:821px) and (max-height:500px) and (pointer:coarse){.app-shell .menu-row--submenu.menu-row--subopen,.app-shell .menu-row--submenu.menu-row--subopen:hover{color:var(--text);background:0 0}.app-shell .menu-row--subopen>.menu-row__label{font-weight:600}.app-shell .menu-row--subopen>.menu-row__arrow{color:var(--accent)}}@media (max-width:820px){.app-shell .tab-bar{height:36px}.app-shell .doc-tab__close{width:32px;height:32px}.app-shell [data-testid=doc-tab-new]{min-width:32px;min-height:32px}.app-shell .status-bar{height:36px}.app-shell .status-button{min-width:32px;min-height:32px}.app-shell .status-zoom{min-height:32px}.app-shell .status-bar{gap:10px}.app-shell .status-history{display:flex}.app-shell .status-doc{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-shell .tool-bar__columns{height:32px}.app-shell .options-bar .options-slider__caret{min-width:32px}.app-shell .tool-colors{width:42px;height:44px}.app-shell .tool-color{width:32px;height:32px}.app-shell .tool-color--bg{top:12px;left:10px}.app-shell .tool-swap{width:14px;height:14px;top:0;left:auto;right:0}.app-shell .tool-swap svg{width:13px;height:13px}.app-shell .tool-swap:before{content:"";position:absolute;top:-10px;bottom:-1px;left:-1px;right:-2px}.app-shell .tool-flyout-tri{--tri:var(--text);background:linear-gradient(135deg, transparent 50%, var(--tri) 50%) right 3px bottom 3px / 7px 7px no-repeat;border:none;width:13px;height:13px;bottom:0;right:0}.app-shell .tool-flyout-tri:hover{--tri:var(--accent)}.app-shell .tool-button--active+.tool-flyout-tri{--tri:#fff}@media (pointer:coarse){.app-shell .tool-flyout-tri{clip-path:polygon(100% 0,100% 100%,0 100%);background-position:right 2px bottom 2px;background-size:9px 9px;width:20px;height:20px}}.subject-job__cancel{min-height:32px}}@media (min-width:821px) and (pointer:coarse){.app-shell .status-bar{gap:10px;height:40px}.app-shell .status-history{display:flex}.app-shell .status-history .status-button{--status-chip-inset:0;min-width:36px;min-height:36px}}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.app-shell--panels-open .mobile-panels-toggle{right:calc(min(300px, 100vw - 60px) + 7px + env(safe-area-inset-right,0px))}.app-shell .panel-dock{box-sizing:border-box;width:calc(min(300px, 100vw - 60px) + env(safe-area-inset-right,0px));padding-top:env(safe-area-inset-top,0px);padding-right:env(safe-area-inset-right,0px);padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.app-shell{box-sizing:border-box;padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.app-shell>.menu-bar{box-sizing:border-box;height:auto;min-height:calc(40px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}.app-shell>.status-bar{box-sizing:border-box;height:auto;min-height:calc(36px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px)}.mobile-panels-toggle{bottom:calc(44px + env(safe-area-inset-bottom,0px))}.app-shell .status-bar .status-button{white-space:nowrap}}@media (min-width:821px) and (max-height:500px) and (pointer:coarse){.app-shell>.menu-bar{min-height:calc(32px + env(safe-area-inset-top,0px))}.app-shell>.status-bar{min-height:calc(28px + env(safe-area-inset-bottom,0px))}.mobile-panels-toggle{bottom:calc(36px + env(safe-area-inset-bottom,0px))}}.app-shell .options-bar.options-bar--phone{flex-wrap:nowrap;align-items:center;gap:6px;height:52px;min-height:52px;padding:0 6px;display:flex;overflow:hidden}.phone-options__scroll-wrap{flex:auto;min-width:0;height:100%;display:flex;position:relative}.phone-options__primary{scrollbar-width:none;overscroll-behavior-x:contain;flex:auto;align-items:center;gap:8px;min-width:0;display:flex;overflow:auto hidden}.phone-options__primary::-webkit-scrollbar{display:none}@media (max-width:380px){.app-shell .options-bar.options-bar--phone{gap:4px;padding:0 4px}.phone-options__primary{gap:5px}}.phone-options__primary>*{flex:none}.phone-options__primary[data-overflow=right]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),#0000 calc(100% - 8px));mask-image:linear-gradient(90deg,#000 calc(100% - 44px),#0000 calc(100% - 8px))}.phone-options__scroll{border:1px solid var(--border);background:var(--panel);width:32px;height:36px;color:var(--text);border-radius:6px;padding:0;font-size:20px;line-height:1;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 2px 8px #00000059}.phone-options__scroll svg{width:16px;height:16px}.phone-options__scroll--right{right:0}.phone-options__scroll--left{left:0}.app-shell .options-bar--phone .phone-options__more{flex:none;justify-content:center;align-items:center;width:40px;min-width:40px;height:36px;padding:0;display:inline-flex}.phone-options__more svg{width:18px;height:18px}.phone-options__more[aria-expanded=true]{background:var(--accent);border-color:var(--accent);color:#fff}.phone-options__pinned{border-left:1px solid var(--border);flex:none;align-items:center;gap:4px;padding-left:6px;display:flex}.app-shell .options-bar--phone .phone-options__pinned .transform-commit__btn{width:42px;height:36px}.phone-options__pinned .transform-commit__btn svg{width:20px;height:20px}.phone-options__primary .options-field:not(:has(>input[type=checkbox])):not(.options-slider){color:var(--text-dim);grid-auto-flow:row;justify-items:start;row-gap:1px;font-size:11px;line-height:12px;display:inline-grid}.phone-options__primary .options-field[role=group]{grid-template-columns:auto auto;align-items:center;column-gap:4px}.phone-options__primary .options-field[role=group]>span{grid-column:1/-1}.phone-options__primary .options-slider{grid-template-columns:auto auto;grid-template-areas:"label caret""num caret";align-items:center;gap:1px 2px;display:inline-grid}.phone-options__primary .options-slider__label{color:var(--text-dim);white-space:nowrap;grid-area:label;font-size:11px;line-height:12px}.phone-options__primary .options-slider .options-number{grid-area:num}.app-shell .phone-options__primary .options-slider .options-slider__caret{grid-area:caret;align-self:end;width:32px;min-width:32px}.app-shell .phone-options__primary .options-number{width:46px;font-size:14px}.app-shell .phone-options__primary .options-field>.options-color{width:36px}.phone-options__primary .options-field:has(>input[type=checkbox]){white-space:nowrap;font-size:12px}.phone-options__primary .themed-select__trigger{max-width:128px;font-size:13px}.phone-options__primary .font-picker{flex:none;width:108px}.phone-options__primary .font-picker:has(.font-picker-fix){width:auto}.phone-options__primary .font-picker:has(.font-picker-fix) .font-picker-trigger{flex:0 0 108px}.phone-options__primary .font-picker-upload{display:none}.phone-options__primary .font-picker-trigger{min-height:36px}.phone-options__primary .font-picker-trigger__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.phone-options__primary .phone-options__text{align-items:center;display:inline-flex}.phone-options__primary>.options-hint{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-dim);flex:auto;font-size:12px;overflow:hidden}.phone-options__primary .options-segment:has(>.options-button)>.options-hint{display:none}.phone-options__primary .options-segment{align-items:center;gap:6px}.phone-options__primary .gradient-swatch{width:56px;height:32px}.app-shell .phone-options__primary :-webkit-any(.options-number,.themed-select__trigger,.options-slider__caret,.options-button,.options-color){min-height:32px}.app-shell .phone-options__primary :-moz-any(.options-number,.themed-select__trigger,.options-slider__caret,.options-button,.options-color){min-height:32px}.app-shell .phone-options__primary :is(.options-number,.themed-select__trigger,.options-slider__caret,.options-button,.options-color){min-height:32px}.app-shell .phone-options__primary :-webkit-any(.options-button,.options-color){min-width:32px}.app-shell .phone-options__primary :-moz-any(.options-button,.options-color){min-width:32px}.app-shell .phone-options__primary :is(.options-button,.options-color){min-width:32px}.app-shell .phone-options__primary label:has(>input[type=checkbox]){min-height:32px}.phone-options-sheet__backdrop{z-index:110;background:0 0;align-items:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.phone-options-sheet{box-sizing:border-box;width:100%;max-height:calc(100% - 12px);padding:0 calc(14px + env(safe-area-inset-right,0px)) 0 calc(14px + env(safe-area-inset-left,0px));background:var(--panel);color:var(--text);border:1px solid var(--border);border-bottom:0;border-radius:14px 14px 0 0;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 -6px 24px #00000080,0 -1px 4px #0000004d}.phone-options-sheet__head{z-index:1;background:var(--panel);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:16px 0 10px;display:flex;position:relative}.phone-options-sheet__grip{background:var(--border);border-radius:2px;width:36px;height:4px;margin-left:-18px;position:absolute;top:6px;left:50%}.phone-options-sheet[data-scrolled] .phone-options-sheet__head{box-shadow:0 1px 0 var(--border)}.phone-options-sheet__title{min-width:0;margin:0;font-size:15px;font-weight:600;line-height:1.25}.phone-options-sheet__body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent;flex:auto;min-height:0;padding-bottom:18px;scroll-padding:8px 0 18px;overflow-y:auto}.phone-options-sheet[data-more-below]:after{content:"";pointer-events:none;background:linear-gradient(to bottom, transparent, var(--panel));height:32px;position:absolute;bottom:0;left:0;right:0}.phone-sheet-nodoc{border:1px solid var(--border);color:var(--text-dim);border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 12px;padding:8px 10px;font-size:12px;display:flex}.phone-sheet-nodoc__text{min-width:0;word-break:var(--ko-word-break,normal);overflow-wrap:anywhere;flex:160px;margin:0}.phone-sheet-nodoc .phone-sheet-nodoc__open{flex:none;min-height:32px}.phone-options-sheet .phone-options-sheet__done{min-width:64px;min-height:36px}.phone-options-sheet .options-bar.options-bar--sheet{background:0 0;border:0;flex-direction:column;align-items:stretch;gap:14px;height:auto;min-height:0;padding:4px 0 0;display:flex;overflow:visible}.options-bar--sheet .options-group{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px 14px;margin:0;padding-top:12px;display:flex}.options-bar--sheet .options-group:first-child{border-top:0;padding-top:0}.options-bar--sheet .options-segment{flex-wrap:wrap;align-items:center;gap:10px 14px;max-width:100%}.options-bar--sheet :-webkit-any(.options-button,.options-field,.options-hint,.options-note){white-space:normal}.options-bar--sheet :-moz-any(.options-button,.options-field,.options-hint,.options-note){white-space:normal}.options-bar--sheet :is(.options-button,.options-field,.options-hint,.options-note){white-space:normal}.options-bar--sheet .options-hint,.options-bar--sheet .options-note{color:var(--text-dim);flex:100%;font-size:12px}.options-bar--sheet .options-field{font-size:13px}.options-bar--sheet :-webkit-any(.options-number,.options-select,.themed-select__trigger,.options-slider__caret,.brush-tip-flyout__btn){min-height:36px}.options-bar--sheet :-moz-any(.options-number,.options-select,.themed-select__trigger,.options-slider__caret,.brush-tip-flyout__btn){min-height:36px}.options-bar--sheet :is(.options-number,.options-select,.themed-select__trigger,.options-slider__caret,.brush-tip-flyout__btn){min-height:36px}.options-bar--sheet .options-button,.options-bar--sheet .options-color{min-width:36px;min-height:36px}.options-bar--sheet label:has(>input[type=checkbox]){min-height:36px}.options-bar--sheet input[type=checkbox]{width:18px;height:18px}.options-bar--sheet :-webkit-any(.options-field,.options-segment,.themed-select,.themed-select__trigger){min-width:0;max-width:100%}.options-bar--sheet :-moz-any(.options-field,.options-segment,.themed-select,.themed-select__trigger){min-width:0;max-width:100%}.options-bar--sheet :is(.options-field,.options-segment,.themed-select,.themed-select__trigger){min-width:0;max-width:100%}.options-bar--sheet .options-button{overflow-wrap:anywhere;max-width:100%;height:auto;line-height:1.25}.options-bar--sheet .options-field{overflow-wrap:anywhere;flex-wrap:wrap}.export-button-wrap{align-items:center;display:flex;position:relative}.export-button{height:24px;font:inherit;color:#fff;background:var(--accent);border:1px solid var(--accent);cursor:pointer;white-space:nowrap;border-radius:4px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;line-height:1;transition:filter .15s ease-out;display:inline-flex}.export-button:hover{filter:brightness(1.12)}.export-button:focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.export-button svg{flex:none;width:14px;height:14px}.export-button--pulse{position:relative}.export-button--pulse:after{content:"";border:2px solid var(--accent);pointer-events:none;opacity:0;border-radius:6px;animation:1s ease-out 2 export-button-pulse;position:absolute;top:-3px;bottom:-3px;left:-3px;right:-3px}@keyframes export-button-pulse{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.25)}}@media (prefers-reduced-motion:reduce){.export-button--pulse:after{opacity:0;animation:none}}.export-hint{z-index:120;width:max-content;max-width:min(280px,100vw - 24px);color:var(--text);background:var(--panel);border:1px solid var(--accent);border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.45;animation:.18s cubic-bezier(.22,1,.36,1) export-hint-in;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 8px 24px #00000059}.export-hint:before{content:"";top:-6px;right:var(--hint-arrow-right,22px);background:var(--panel);border-left:1px solid var(--accent);border-top:1px solid var(--accent);width:10px;height:10px;position:absolute;transform:rotate(45deg)}.export-hint p{word-break:keep-all;overflow-wrap:anywhere;margin:0 0 8px}.export-hint__actions{justify-content:flex-end;gap:8px;display:flex}.export-hint__actions button{min-height:26px;font:inherit;color:var(--text);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:4px;padding:0 10px;font-size:12px}.export-hint__actions .export-hint__go{color:#fff;background:var(--accent);border-color:var(--accent)}@keyframes export-hint-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.export-hint{animation:none}.export-button{transition:none}}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.export-button{height:32px;padding:0 10px;font-size:13px}.export-button svg{width:16px;height:16px}.export-hint__actions button{min-height:32px}}.sample-banner{z-index:30;box-sizing:border-box;width:max-content;max-width:calc(100% - 24px);color:var(--text);background:var(--panel);border:1px solid var(--border);cursor:default;border-radius:999px;align-items:center;gap:8px;margin:0 auto;padding:4px 4px 4px 12px;font-size:12.5px;line-height:1.3;animation:.18s cubic-bezier(.22,1,.36,1) export-hint-in;display:flex;position:absolute;top:10px;left:0;right:0;box-shadow:0 6px 18px #0000004d}.sample-banner__text{overflow-wrap:anywhere;word-break:keep-all;min-width:0}.sample-banner__open{min-height:28px;font:inherit;color:#fff;background:var(--accent);border:1px solid var(--accent);cursor:pointer;border-radius:999px;flex:none;padding:0 12px;font-weight:600}.sample-banner__open:hover{filter:brightness(1.1)}.sample-banner__close{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.sample-banner__close:hover{color:var(--text);background:var(--panel-2)}.sample-banner :-webkit-any(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.sample-banner :-moz-any(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.sample-banner :is(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}@media (pointer:coarse){.sample-banner__open{min-height:36px}.sample-banner__close{width:36px;height:36px}}.export-button:not(.export-button--save){color:var(--accent-text,var(--accent));background:0 0;transition:filter .15s ease-out,background-color .18s ease-out,color .18s ease-out}.export-button:not(.export-button--save):hover{filter:none;background:color-mix(in srgb, var(--accent) 14%, transparent)}@media (prefers-reduced-motion:reduce){.export-button:not(.export-button--save){transition:none}}.save-prompts{z-index:30;pointer-events:none;flex-direction:column;align-items:flex-start;gap:8px;display:flex;position:absolute;bottom:8px;left:8px;right:12px}.save-prompts>*{pointer-events:auto}.save-bar{box-sizing:border-box;background:var(--panel);border:1px solid var(--border);border-radius:12px;align-items:stretch;gap:2px;max-width:calc(100% - 56px);min-height:48px;padding:1px;animation:.2s cubic-bezier(.22,1,.36,1) save-bar-in;display:flex;box-shadow:0 6px 18px #00000059}.save-bar__save{min-width:0;min-height:44px;font:inherit;color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:10px;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:600;line-height:1.2;display:inline-flex}.save-bar__save svg{flex:none;width:18px;height:18px}.save-bar__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.save-bar__save[aria-busy]{cursor:progress;filter:saturate(.7)}.save-bar__close{width:44px;min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.save-bar__close:hover{color:var(--text);background:var(--panel-2)}.save-bar :-webkit-any(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.save-bar :-moz-any(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.save-bar :is(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.finish-hint :-webkit-any(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.finish-hint :-moz-any(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.finish-hint :is(button):focus-visible{outline:2px solid var(--accent-text,var(--accent));outline-offset:2px}.finish-hint{box-sizing:border-box;width:min(340px,100%);color:var(--text);background:var(--panel);border:1px solid var(--accent);border-radius:12px;padding:12px 12px 10px;font-size:14px;line-height:1.45;animation:.2s cubic-bezier(.22,1,.36,1) save-bar-in;position:relative;box-shadow:0 8px 24px #0006}.finish-hint p{word-break:keep-all;overflow-wrap:anywhere;margin:0 0 10px}.finish-hint__actions{justify-content:flex-end;gap:8px;display:flex}.finish-hint__actions button{min-height:44px;font:inherit;color:var(--text);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:8px;padding:0 16px;font-size:14px}.finish-hint__actions .finish-hint__go{color:#fff;background:var(--accent);border-color:var(--accent);font-weight:600}@keyframes save-bar-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.save-bar,.finish-hint{animation:none}}:root[data-kb-open] .save-prompts{display:none}.recovered-banner .sample-banner__text{max-width:30em}@media (max-width:820px),(max-height:500px) and (pointer:coarse){:root[data-kb-overlay] .app-shell>.status-bar{visibility:hidden}:root[data-kb-open] .app-shell .panel-dock{top:var(--vv-offset-top,0px);bottom:var(--kb-inset,0px);padding-bottom:16px;scroll-padding:12px 0 24px}:root[data-kb-open] .app-shell:not(.app-shell--panels-open) .mobile-panels-toggle{display:none}:root[data-kb-overlay] .mobile-panels-toggle{bottom:calc(var(--kb-inset,0px) + 8px)}:root[data-kb-open] .phone-options-sheet__backdrop{top:var(--vv-offset-top,0px);bottom:var(--kb-inset,0px)}:root[data-kb-open] .phone-options-sheet{max-height:calc(100% - 12px)}@supports (animation-timeline:scroll()){:-webkit-any(.layer-context-menu,.layer-style-dialog__rail,.layer-style-dialog__pane,.command-palette__list,.panel-dock,.work-mode__menu,.fws__side,.shortcut-ref__panel,.report-problem__preview,.orgpdf__grid):after{content:"";pointer-events:none;opacity:0;z-index:1;background:linear-gradient(#0000,#00000080);flex:none;height:22px;margin-top:-22px;animation:linear both scroll-more-below;animation-timeline:scroll();animation-range:max(0px,100% - 40px) 100%;display:block;position:sticky;bottom:0}:-moz-any(.layer-context-menu,.layer-style-dialog__rail,.layer-style-dialog__pane,.command-palette__list,.panel-dock,.work-mode__menu,.fws__side,.shortcut-ref__panel,.report-problem__preview,.orgpdf__grid):after{content:"";pointer-events:none;opacity:0;z-index:1;background:linear-gradient(#0000,#00000080);flex:none;height:22px;margin-top:-22px;animation:linear both scroll-more-below;animation-timeline:scroll();animation-range:max(0px,100% - 40px) 100%;display:block;position:sticky;bottom:0}:is(.layer-context-menu,.layer-style-dialog__rail,.layer-style-dialog__pane,.command-palette__list,.panel-dock,.work-mode__menu,.fws__side,.shortcut-ref__panel,.report-problem__preview,.orgpdf__grid):after{content:"";pointer-events:none;opacity:0;z-index:1;background:linear-gradient(#0000,#00000080);flex:none;height:22px;margin-top:-22px;animation:linear both scroll-more-below;animation-timeline:scroll();animation-range:max(0px,100% - 40px) 100%;display:block;position:sticky;bottom:0}:-webkit-any(.layer-style-dialog__pane,.orgpdf__grid):after{grid-column:1/-1}:-moz-any(.layer-style-dialog__pane,.orgpdf__grid):after{grid-column:1/-1}:is(.layer-style-dialog__pane,.orgpdf__grid):after{grid-column:1/-1}}.layer-context-menu__item{white-space:normal;overflow-wrap:anywhere}.font-picker-upload{width:calc(24px * var(--text-scale,1));height:calc(24px * var(--text-scale,1))}}@keyframes scroll-more-below{0%{opacity:1}to{opacity:0}}@media (pointer:coarse){.layer-context-menu.layer-context-menu--layer .layer-context-menu__item{min-height:44px}}.app-shell--hide-panels>.options-bar,.app-shell--hide-panels>.app-body>.tool-bar,.app-shell--hide-panels>.app-body>.panel-dock,.app-shell--hide-right>.app-body>.panel-dock{display:none!important}.app-shell--hide-panels>.app-body{grid-template-columns:minmax(0,1fr)}.app-shell--hide-right>.app-body{grid-template-columns:auto minmax(0,1fr)}@media (max-width:820px),(max-height:500px) and (pointer:coarse){.app-shell .menu-nav__top{letter-spacing:normal;padding:0 6px;font-size:13px}.app-shell .menu-row,.app-shell .doc-tab,.app-shell .status-bar,.app-shell .status-button,.app-shell .panel-tab,.app-shell .panel-title__name,.app-shell .panel-flyout__title,.app-shell .panel-menu__item{font-size:13px}.app-shell .panel-column__reexpand{font-size:12px}.app-shell :is(.info-panel,.navigator-zoom,.brush-panel,.layer-row,.group-header,.layer-props,.layer-props__lock-label,.layer-value__num,.layer-blend-mode,.layer-name-input,.layers-empty,.layers-empty__open,.history-entry,.history-snapshot,.history-empty,.paths-empty,.channels-empty,.channel-row,.alpha-channel-row,.actions-record-btn,.actions-empty,.actions-row,.actions-row__btn,.actions-name-input,.frames-empty,.frames-create,.properties-hint,.properties-param,.properties-info__row,.mask-properties__actions button,.text-properties__content,.smart-filter-row__head,.smart-filter-mask,.smart-filter-mask__actions button,.layer-styles__title,.layer-styles__enable,.grad-stops__pos,.grad-stops__add,.color-swatch__add,.color-inputs input,.clone-source-panel,.clone-source__slot,.artboards-panel,.artboards-clear-btn,.artboards-empty,.artboards-new-btn,.artboards-export-btn,.icon-field__input,.histogram-panel__field select,.no-doc-hint__text,.no-doc-hint__button){font-size:13px}.app-shell .panel-dock .themed-select__trigger{font-size:13px}.app-shell :is(.brush-section__heading,.brush-defaults__heading,.brush-preview__heading,.brush-preset-name,.history-toolbar__info,.channel-row__shortcut,.histogram-panel__field,.histogram-panel__stats,.properties-section-title,.path-kind,.actions-recording,.frames-toolbar button,.frames-field,.frames-field input,.group-header .group-blend-mode,.color-rgb,.color-hex,.layers-root-dropzone,.artboards-row__btn,.layer-lock-indicator,.layer-vector-mask-indicator){font-size:12px}.app-shell :-webkit-any(.frame-delay,.frame-thumb__meta){font-size:11px}.app-shell :-moz-any(.frame-delay,.frame-thumb__meta){font-size:11px}.app-shell :is(.frame-delay,.frame-thumb__meta){font-size:11px}.app-shell .panel-dock .panel-body .brush-tab{text-overflow:clip;flex:1 0 auto;min-width:28%;max-width:100%;padding:5px 4px;font-size:13px;overflow:visible}.app-shell .brush-panel .param-grid.param-grid{--param-value-w:max(64px, 5.5ch + 22px);grid-template-columns:fit-content(var(--param-label-max)) minmax(48px, 1fr) var(--param-value-w)}.app-shell .brush-panel{container:brush-panel/inline-size}@container brush-panel (width<=28ch){.app-shell .brush-panel .brush-row.brush-row.brush-row.brush-row>:first-child{grid-column:1/-1}.app-shell .brush-panel .brush-row.brush-row.brush-row.brush-row>input[type=range]{grid-column:1/3}.app-shell .brush-panel .brush-row.brush-row.brush-row.brush-row>:nth-child(2):last-child{grid-column:1/-1}}.app-shell .panel-dock .brush-row__value-input{width:max(40px,3.5ch + 10px)}.app-shell .panel-dock .brush-row__unit{flex:none;min-width:18px}}@supports (width:calc(1px * (1px / 1px))) and (width:1cqi){@media (max-width:820px){.app-shell .canvas-empty{container-type:inline-size}.app-shell .canvas-empty__card .canvas-empty__title{font-size:min(24px, (min(380px, 100cqi) - 42px) / 1ch * 1em / 11.5);overflow-wrap:normal;word-break:keep-all;-webkit-hyphens:manual;hyphens:manual;white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}}@media (max-width:360px){.app-shell .canvas-empty__card .canvas-empty__title{font-size:min(24px, (min(380px, 100cqi) - 30px) / 1ch * 1em / 11.5)}}}:root{--bg:#1e1e1e;--panel:#2a2a2a;--border:#3a3a3a;--text:#e0e0e0;--accent:#2563eb;--accent-text:#6ea8fe;--bg-canvas:#141414;--bg-deep:#101010;--ruler:#202020;--panel-2:#313131;--surface:#333;--surface-2:#444;--surface-sunken:#1c1c1c;--surface-raised:#1a1a1a;--dialog-bg:#111;--field:#1b1b1b;--text-muted:#aaa;--text-dim:#a0a0a0;--text-faint:#9a9a9a;--muted:#999;--recovery-bg:#262626;--recovery-text:#e6e6e6;--recovery-btn-border:#4a4a4a;--recovery-btn-hover:#3d3d3d;--recovery-accent:#2d6cdf;--recovery-accent-hover:#3a78e6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light]{--bg:#f5f5f5;--panel:#fff;--border:#d0d0d0;--text:#1a1a1a;--accent:#2563eb;--accent-text:#1d4ed8;--bg-canvas:#e8e8e8;--bg-deep:#dcdcdc;--ruler:#ececec;--panel-2:#f0f0f0;--surface:#e6e6e6;--surface-2:#dadada;--surface-sunken:#ededed;--surface-raised:#fff;--dialog-bg:#fff;--field:#eef0f2;--text-muted:#555;--text-dim:#666;--text-faint:#707070;--muted:#6b6b6b;--recovery-bg:#fff;--recovery-text:#1a1a1a;--recovery-btn-border:#d0d0d0;--recovery-btn-hover:#ececec;--recovery-accent:#2563eb;--recovery-accent-hover:#1d4ed8;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only}:root[data-theme=midnight]{--bg:#0b0b0f;--panel:#15151b;--border:#2a2a33;--text:#e6e6ee;--accent:#4a8cf0;--accent-text:#4a8cf0;--bg-canvas:#050507;--bg-deep:#000;--ruler:#131319;--panel-2:#1d1d25;--surface:#212129;--surface-2:#2d2d37;--surface-sunken:#0d0d12;--surface-raised:#101016;--dialog-bg:#08080c;--field:#0e0e14;--text-muted:#a6a6b4;--text-dim:#83838f;--text-faint:#616170;--muted:#9090a0;--recovery-bg:#16161d;--recovery-text:#eaeaf2;--recovery-btn-border:#33333d;--recovery-btn-hover:#22222b;--recovery-accent:#3f7fe0;--recovery-accent-hover:#4f8fee;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=graphite]{--bg:#3f3f42;--panel:#4a4a4e;--border:#5c5c61;--text:#f0f0f2;--accent:#3f86ef;--accent-text:#3f86ef;--bg-canvas:#37373a;--bg-deep:#2c2c2f;--ruler:#444448;--panel-2:#525257;--surface:#575760;--surface-2:#63636c;--surface-sunken:#3a3a3d;--surface-raised:#4d4d52;--dialog-bg:#45454a;--field:#37373a;--text-muted:#cfcfd3;--text-dim:#b4b4b9;--text-faint:#9a9aa0;--muted:#c0c0c5;--recovery-bg:#4a4a4e;--recovery-text:#f0f0f2;--recovery-btn-border:#5c5c61;--recovery-btn-hover:#575760;--recovery-accent:#3f86ef;--recovery-accent-hover:#5a9cf8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=highContrast]{--bg:#000;--panel:#000;--border:#9a9a9a;--text:#fff;--accent:#2e86ff;--accent-text:#2e86ff;--bg-canvas:#000;--bg-deep:#000;--ruler:#0a0a0a;--panel-2:#0d0d0d;--surface:#1c1c1c;--surface-2:#2b2b2b;--surface-sunken:#000;--surface-raised:#0a0a0a;--dialog-bg:#000;--field:#0a0a0a;--text-muted:#dcdcdc;--text-dim:#c4c4c4;--text-faint:#ababab;--muted:#d0d0d0;--recovery-bg:#000;--recovery-text:#fff;--recovery-btn-border:#9a9a9a;--recovery-btn-hover:#1c1c1c;--recovery-accent:#2e86ff;--recovery-accent-hover:#4f9bff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=nord]{--bg:#2e3440;--panel:#3b4252;--border:#4c566a;--text:#eceff4;--accent:#5e81ac;--accent-text:#5e81ac;--bg-canvas:#272c36;--bg-deep:#21252e;--ruler:#333a47;--panel-2:#434c5e;--surface:#434c5e;--surface-2:#4c566a;--surface-sunken:#2b303b;--surface-raised:#3b4252;--dialog-bg:#2e3440;--field:#292f3a;--text-muted:#c2c9d6;--text-dim:#a6afbf;--text-faint:#8891a0;--muted:#b8c0cc;--recovery-bg:#3b4252;--recovery-text:#eceff4;--recovery-btn-border:#4c566a;--recovery-btn-hover:#434c5e;--recovery-accent:#5e81ac;--recovery-accent-hover:#6f92bd;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100vh;min-height:100dvh;margin:0}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}body{background:var(--bg);color:var(--text);-webkit-user-select:none;user-select:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}:root:lang(ko){--ko-word-break:keep-all}:root{--scrollbar-thumb:color-mix(in srgb, var(--text) 30%, transparent)}:root:lang(ja) body{line-break:strict}:root:lang(ja) *{text-transform:none}html,#root,.app-shell{-webkit-user-select:none;user-select:none}input,textarea,[contenteditable=true],[contenteditable=""],[data-selectable]{-webkit-user-select:text;user-select:text}*{scrollbar-width:thin;scrollbar-color:var(--surface-2) transparent}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--surface-2);background-clip:content-box;border:2px solid #0000;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:var(--text-faint);background-clip:content-box}::-webkit-scrollbar-corner{background:0 0}
