:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--font:-apple-system, "SF Pro Text", system-ui, sans-serif;--stage:linear-gradient(180deg, #2c2c31, #222226);--rim:#ffffff14;--text:#ffffffeb;--muted:#ffffff8c;--faint:#ffffff57;--placeholder:#ffffff73;--hairline:#ffffff1a;--hover:#ffffff12;--selected:#ffffff1f;--key:#ffffff1a;--key-text:#ffffffb3;--accent:#ff8266;--ins:#30d15838;--del-tone:#ff6b5e;--error:#ff8f80;--popover:#2c2c30f0;--shadow:0 16px 48px #0000006b, 0 2px 8px #00000038}@media (prefers-color-scheme:light){:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--stage:linear-gradient(180deg, #f7f7f8, #ececee);--rim:#00000014;--text:#000000db;--muted:#00000080;--faint:#0000004d;--placeholder:#00000073;--hairline:#00000017;--hover:#0000000d;--selected:#00000014;--key:#00000012;--key-text:#0009;--accent:#e8573a;--ins:#34c75938;--del-tone:#e0483c;--error:#c4372a;--popover:#fffffff0;--shadow:0 16px 48px #00000029, 0 2px 8px #00000014}}*{box-sizing:border-box}[hidden]{display:none!important}html,body{background:0 0;height:100%;margin:0;overflow:hidden}body{font:15px/1.4 var(--font);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;cursor:default}button,input{font:inherit;color:inherit}button{cursor:default;appearance:none;background:0 0;border:0}button:focus-visible,.scope:focus-visible{outline-offset:1px;outline:2px solid highlight}.window{flex-direction:column;display:flex;position:fixed;inset:0;overflow:hidden}.stage .window{background:var(--stage);box-shadow:inset 0 0 0 1px var(--rim);border-radius:26px}.drag{z-index:3;height:14px;position:absolute;inset:0 0 auto}#workspace{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.library-open #workspace{visibility:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.keys{flex:none;gap:3px;display:inline-flex}kbd{background:var(--key);min-width:20px;height:20px;color:var(--key-text);font:500 12px/1 var(--font);border-radius:6px;place-items:center;padding:0 4px;display:inline-grid}kbd.wide{letter-spacing:.01em;padding:0 6px;font-size:11.5px}#editor{flex:1;min-height:0;position:relative}.cm-editor{height:100%}.cm-editor.cm-focused{outline:none}.cm-editor .cm-scroller{font:17px/1.6 var(--font);padding:26px 38px 0;overflow-x:hidden;-webkit-mask-image:linear-gradient(#000 calc(100% - 40px),#0000);mask-image:linear-gradient(#000 calc(100% - 40px),#0000)}.cm-editor .cm-content{caret-color:var(--accent);-webkit-user-select:text;user-select:text;cursor:text;padding:0 0 48px}.cm-editor .cm-line{padding:0}.cm-editor .cm-placeholder{color:var(--placeholder)}.cm-editor .cm-cursor{border-left:2px solid var(--accent);margin-left:-1px}.cm-editor .cm-selectionLayer .cm-selectionBackground,.cm-editor.cm-focused .cm-selectionLayer .cm-selectionBackground{border-radius:2px;background:highlight!important}.cm-diff-ins{background:var(--ins);border-radius:3px}.cm-diff-del{color:color-mix(in srgb, var(--muted) 80%, var(--del-tone));text-decoration:line-through;-webkit-text-decoration-color:color-mix(in srgb, var(--del-tone) 55%, transparent);text-decoration-color:color-mix(in srgb, var(--del-tone) 55%, transparent);white-space:pre-wrap;-webkit-user-select:none;user-select:none;margin-right:3px}.cm-diff-ins,.cm-diff-del{animation:.12s ease-out appear}.cm-pending{opacity:.6;background:var(--hover);border-radius:3px;animation:1.2s ease-in-out infinite alternate pending}@keyframes pending{0%{opacity:1}to{opacity:.45}}.edge{z-index:2;width:26px;height:26px;color:var(--muted);border-radius:50%;place-items:center;padding:0;animation:.12s ease-out appear;display:grid;position:absolute;top:calc(50% - 37px)}.edge:hover{background:var(--hover);color:var(--text)}.edge:active{background:var(--selected)}#previous{left:7px}#next{right:7px}#hint{height:22px;color:var(--muted);white-space:nowrap;pointer-events:none;justify-content:center;align-items:center;gap:4px;font-size:13px;display:flex;position:absolute;inset:auto 60px 50px;overflow:hidden}#hint:not(:empty){animation:.12s ease-out appear}#hint.error{color:var(--error)}#hint kbd{border-radius:5px;min-width:18px;height:18px;font-size:11px}#hint button,.actions .note button{pointer-events:auto;font:inherit;white-space:nowrap;padding:0}#hint .link,.actions .note .link{color:var(--accent);text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}#hint .link:hover,.actions .note .link:hover{text-decoration-thickness:2px}#hint .command,.actions .note .command{background:var(--hover);color:var(--text);border-radius:5px;padding:1px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}#hint .command:hover,.actions .note .command:hover{background:var(--selected)}#hint .command,.actions .note .command{align-items:center;gap:4px;display:inline-flex}#hint .command .icon,.actions .note .command .icon{width:12px;height:12px;color:var(--muted)}.bar{flex:none;grid-template-columns:1fr auto 1fr;align-items:center;height:50px;padding:0 9px 4px;display:grid}.bar button{white-space:nowrap;border-radius:10px;align-items:center;gap:7px;height:34px;padding:0 9px;font-size:15px;font-weight:500;display:inline-flex}.bar button .icon{color:var(--muted)}.bar button .keys{margin-left:3px}.bar button:hover:not(:disabled){background:var(--hover)}.bar button:active:not(:disabled){background:var(--selected)}.bar button:disabled{opacity:.38}#action{justify-self:start}#library{justify-self:center}#copy{justify-self:end}#action.busy .label{color:var(--muted)}.icon-spinner{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(1turn)}}.palette{z-index:4;flex-direction:column;animation:.12s ease-out rise;display:flex;position:absolute}.palette .field{flex:none;align-items:center;gap:12px;display:flex}.palette input{min-width:0;caret-color:var(--accent);background:0 0;border:0;outline:0;flex:1;padding:0}.palette input::placeholder{color:var(--placeholder)}.palette input::selection{background:highlight}.palette .list{overscroll-behavior:contain;scrollbar-width:none;overflow-y:auto}.palette .row{white-space:nowrap;border-radius:9px;align-items:center;gap:11px;display:flex}.palette .row:hover{background:color-mix(in srgb, var(--hover) 55%, transparent)}.palette .row[aria-selected=true]{background:var(--selected)}.library .row[aria-selected=true] kbd{color:var(--accent)}.palette .row .icon{color:var(--muted)}.palette .name{text-overflow:ellipsis;overflow:hidden}.palette .detail{color:var(--muted);text-overflow:ellipsis;flex-shrink:2;overflow:hidden}.palette .spacer{flex:1}.palette .hint{color:var(--muted);font-size:13.5px}.palette .empty{color:var(--muted);padding:10px 12px}.palette .footer:empty{display:none}.palette .footer .error{color:var(--error);text-overflow:ellipsis;white-space:nowrap;margin-right:auto;overflow:hidden}.palette .footer .open{border-radius:8px;align-items:center;gap:8px;height:30px;margin-right:-8px;padding:0 8px;font-weight:500;display:inline-flex}.palette .footer .open:hover{background:var(--hover)}.actions-open #library,.actions-open #copy{opacity:.38}.actions{background:var(--popover);width:min(440px,100% - 24px);box-shadow:var(--shadow), inset 0 0 0 1px var(--hairline);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border-radius:14px;bottom:54px;left:12px}.actions .field{border-top:1px solid var(--hairline);order:2;height:46px;padding:0 14px}.actions input{font-size:19px}.actions .list{max-height:228px;padding:6px}.actions .list:empty{display:none}.actions .row{height:36px;padding:0 10px;font-size:15px}.actions .hint{font-size:13px}.actions .footer{color:var(--muted);padding:0 16px 9px;font-size:13px}.actions .note{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.library{inset:0}.library .field{border-bottom:1px solid var(--hairline);height:64px;padding:0 16px 0 24px}.library .field>.icon{width:19px;height:19px;color:var(--muted)}.library input{font-size:20px}.library .list{flex:1;padding:4px 10px 8px}.library .row{height:40px;padding:0 12px;font-size:15px}.library .section{color:var(--muted);align-items:center;gap:7px;padding:12px 12px 5px;font-size:12.5px;font-weight:500;display:flex}.library .section kbd{border-radius:4px;min-width:16px;height:16px;font-size:10px}.library .footer{border-top:1px solid var(--hairline);flex:none;justify-content:flex-end;align-items:center;gap:8px;height:46px;padding:0 18px;font-size:14px;font-weight:500;display:flex}.scope{background:var(--hover);height:34px;color:var(--muted);border-radius:10px;align-items:center;gap:9px;padding:0 7px 0 12px;font-size:14.5px;font-weight:500;display:inline-flex}.scope span{color:var(--text)}.scope.active span{color:var(--accent)}.scope:hover{background:var(--selected)}@keyframes appear{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#hint .label{text-overflow:ellipsis;max-width:40ch;overflow:hidden}
