:root{--font-system:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;--font-editor:Menlo, "SFMono-Regular", Consolas, "Liberation Mono", monospace;--titlebar-height:46px;--titlebar-control-size:28px;--titlebar-control-inset:calc((var(--titlebar-height) - var(--titlebar-control-size)) / 2);--titlebar-pill-font-size:11px;--titlebar-emphasized-pill-font-size:13px;--titlebar-compact-icon-size:14px;--integrated-header-fade-solid-end:calc(var(--titlebar-height) - 16px);--integrated-header-fade-end:calc(var(--titlebar-height) + 6px);--editor-left-inset:48px;--editor-font-size:16px;--row-height:32px;--editor-top-inset:2px;--static-results-width:clamp(150px, 32%, 260px);--editor-right-inset:calc(var(--static-results-width) + 24px);--editor-comment-right-inset:24px;--static-result-trailing-space:20px;--icon-size:16px;--icon-button-size:20px;--icon-button-radius:5px;--result-control-size:var(--icon-button-size);--result-spacing:8px;--loop-sidebar-width:340px;--loop-sidebar-resize-hit-width:10px;--loop-sidebar-x-inset:16px;--loop-sidebar-footer-height:44px;--loop-sidebar-variables-drawer-height:clamp(208px, 33dvh, 360px);--window-edge-inset:18px;--traffic-light-group-width:60px;--bg-base:#000;--bg-editor:#ffffff17;--bg-results:#ffffff08;--bg-editor-opaque:#171717;--bg-results-opaque:#080808;--bg-titlebar:var(--bg-editor-opaque);--bg-contained-titlebar:color-mix(in srgb, var(--bg-editor-opaque) 93%, #fff);--contained-titlebar-divider:#000000b8;--contained-titlebar-shadow:0 1px 0 #ffffff0f inset, 0 5px 16px #00000057;--header-control-bg:color-mix(in srgb, var(--bg-editor-opaque) 92%, #fff);--header-control-bg-hover:color-mix(in srgb, var(--bg-editor-opaque) 88%, #fff);--header-control-bg-pressed:color-mix(in srgb, var(--bg-editor-opaque) 84%, #fff);--contained-header-control-bg:color-mix(in srgb, var(--bg-editor-opaque) 88%, #fff);--contained-header-control-bg-hover:color-mix(in srgb, var(--bg-editor-opaque) 82%, #fff);--contained-header-control-bg-pressed:color-mix(in srgb, var(--bg-editor-opaque) 78%, #fff);--titlebar-control-foreground:#fff;--titlebar-control-secondary-foreground:#ffffff8c;--titlebar-pill-value-foreground:#ffffff59;--titlebar-control-foreground-hover:#fff;--bg-header-icon:#ffffff0f;--bg-highlighted-editor-line:#ffffff1a;--divider-results:#ffffff1a;--divider-content:#ffffff17;--sheet-control-hover-bg:#ffffff14;--sheet-control-pressed-bg:#ffffff1c;--row-drag-surface:#252525;--row-drag-border:#ffffff29;--row-drag-shadow:0 0 0 .5px #000000a6, 0 10px 28px #00000085;--accent-color:#b186ff;--accent-color-foreground:#1d0d2b;--arrow-active:var(--accent-color);--loop-token-bg:#ffffff14;--loop-token-border:transparent;--loop-token-hover-bg:#ffffff1a;--loop-token-hover-border:transparent;--loop-token-active-bg:#ffffff1f;--loop-token-active-border:transparent;--loop-token-text:#ffffff59;--loop-token-active-text:#ffffffd9;--text-headerbar-title:#fff;--text-editor-expression:#fff;--text-editor-variable:#00b1ff;--text-editor-global-variable:#42e8d2;--text-editor-subtitle:#ff57be;--text-editor-user-function-name:#fffd9b;--text-editor-operator:#ffd00f;--text-editor-parenthesis:#fff;--text-editor-number:#77e04f;--text-editor-reserved-word:#fffd9b;--text-editor-error:#ff4d67;--text-editor-comment:#ffffff54;--text-editor-looped-number:#b186ff;--text-editor-stock-symbol:#fffd9b;--text-selected-result:#000;--text-selected-result-background:#fff;--icon-titlebar:#ffffff40;--icon-titlebar-hover:#ffffff54;--icon-titlebar-down:#fff;--selection-background:color-mix(in srgb, var(--accent-color) 24%, transparent);--line-number-color:#ffffff54;--line-number-active:#fff;--menu-surface:#27272afa;--menu-border:#ffffff21;--menu-divider:#ffffff1c;--menu-text:#ffffffeb;--menu-secondary-text:#ffffff80;--menu-highlight:#0a64d8;--menu-highlight-text:#fff;--menu-check:#4b9cff;--menu-field-bg:#00000038;--menu-control-bg:#00000029;--menu-control-selected-bg:#ffffff29;--menu-control-selected-text:#fff;--segmented-selected-shadow:0 1px 3px #00000038;--settings-action-hover-filter:brightness(1.08);--library-search-field-bg:#3d3d40;--library-search-cutoff-bg:#27272a;--library-search-field-focus-shadow:none;--library-search-highlight:#ffffff08;--library-download-app-bg:color-mix(in srgb, var(--text-editor-looped-number) 10%, transparent);--library-download-app-bg-hover:color-mix(in srgb, var(--text-editor-looped-number) 14%, transparent);--library-download-app-bg-pressed:color-mix(in srgb, var(--text-editor-looped-number) 18%, transparent);--library-download-app-border:color-mix(in srgb, var(--text-editor-looped-number) 20%, transparent);--library-download-app-border-hover:color-mix(in srgb, var(--text-editor-looped-number) 28%, transparent);--library-download-app-border-pressed:color-mix(in srgb, var(--text-editor-looped-number) 34%, transparent);--library-download-app-text:var(--text-editor-looped-number);--library-card-bg:#050505;--library-card-bg-active:#090909;--library-card-bg-hover:#0d0d0d;--library-card-border:#ffffff2e;--library-card-border-hover:#ffffff40;--library-card-preview-bg:#0000002e;--library-card-preview-bg-hover:#ffffff06;--library-card-shadow:none;--library-card-shadow-hover:none;--library-card-menu-shadow:0 2px 8px #0000003d;--library-card-menu-focus-shadow:0 0 0 2px var(--menu-highlight), 0 2px 8px #0000003d;--library-hero-secondary:#ffffff80;--library-metadata-text:var(--library-hero-secondary);--library-section-heading:#fff;--ghost-document-plus-opacity:.2;--ghost-document-plus-hover-opacity:.36;--destructive-text:#ff6961;--menu-shadow:0 0 0 .5px #0000006b, 0 8px 24px #00000061;color:var(--text-editor-expression);background:var(--bg-base);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:var(--font-system);font-synthesis:none;text-rendering:optimizelegibility}:root[data-theme=light]{--bg-base:#fff;--bg-editor:#00000003;--bg-results:#00000008;--bg-editor-opaque:#fcfcfc;--bg-results-opaque:#f7f7f7;--bg-titlebar:var(--bg-editor-opaque);--bg-contained-titlebar:#fff;--contained-titlebar-divider:#0000001a;--contained-titlebar-shadow:0 1px 0 #fffc inset, 0 2px 8px #00000009;--header-control-bg:color-mix(in srgb, var(--bg-editor-opaque) 94%, #000);--header-control-bg-hover:color-mix(in srgb, var(--bg-editor-opaque) 91%, #000);--header-control-bg-pressed:color-mix(in srgb, var(--bg-editor-opaque) 88%, #000);--contained-header-control-bg:color-mix(in srgb, var(--bg-editor-opaque) 91%, #000);--contained-header-control-bg-hover:color-mix(in srgb, var(--bg-editor-opaque) 86%, #000);--contained-header-control-bg-pressed:color-mix(in srgb, var(--bg-editor-opaque) 82%, #000);--titlebar-control-foreground:#000;--titlebar-control-secondary-foreground:#00000080;--titlebar-pill-value-foreground:#00000085;--titlebar-control-foreground-hover:#000;--bg-header-icon:#00000008;--bg-highlighted-editor-line:#00000014;--divider-results:#0000001a;--divider-content:#0000001a;--sheet-control-hover-bg:#00000012;--sheet-control-pressed-bg:#0000001a;--row-drag-surface:#fff;--row-drag-border:#00000024;--row-drag-shadow:0 0 0 .5px #ffffffb8, 0 10px 28px #0003;--accent-color:#7723f2;--accent-color-foreground:#fff;--arrow-active:var(--accent-color);--loop-token-bg:#0000000a;--loop-token-border:#0000001a;--loop-token-hover-bg:#00000012;--loop-token-hover-border:#00000029;--loop-token-active-bg:#00000014;--loop-token-active-border:#0003;--loop-token-text:#000000a6;--loop-token-active-text:#000;--text-headerbar-title:#1d1d1f;--text-editor-expression:#1d1d1f;--text-editor-variable:#006ec1;--text-editor-global-variable:#005f59;--text-editor-subtitle:#c9343a;--text-editor-user-function-name:#c9343a;--text-editor-operator:#c9343a;--text-editor-parenthesis:#1d1d1f;--text-editor-number:#247d22;--text-editor-reserved-word:#87561f;--text-editor-error:#d70015;--text-editor-comment:#0000008c;--text-editor-looped-number:#7723f2;--text-editor-stock-symbol:#87561f;--text-selected-result:#fff;--text-selected-result-background:#000;--icon-titlebar:#00000054;--icon-titlebar-hover:#00000080;--icon-titlebar-down:#000;--selection-background:color-mix(in srgb, var(--accent-color) 18%, transparent);--line-number-color:#0000006b;--line-number-active:#1d1d1f;--menu-surface:#fafafcfa;--menu-border:#00000024;--menu-divider:#00000017;--menu-text:#000000db;--menu-secondary-text:#00000094;--menu-highlight:#0a64d8;--menu-highlight-text:#fff;--menu-check:#0a64d8;--menu-field-bg:#0000000e;--menu-control-bg:#0000000e;--menu-control-selected-bg:#fff;--menu-control-selected-text:#000000e0;--segmented-selected-shadow:0 0 0 .5px #00000014, 0 1px 2px #00000029;--settings-action-hover-filter:brightness(.96);--library-search-field-bg:#ececee;--library-search-cutoff-bg:#fafafc;--library-search-field-focus-shadow:none;--library-search-highlight:#00000008;--library-card-bg:#fff;--library-card-bg-active:#fafafb;--library-card-bg-hover:#f7f7f9;--library-card-border:#0000001f;--library-card-border-hover:#0003;--library-card-preview-bg:#f3f3f5;--library-card-preview-bg-hover:#f6f6f8;--library-card-shadow:0 1px 2px #0000000a, 0 7px 22px #0000000b;--library-card-shadow-hover:0 2px 5px #0000000a, 0 9px 24px #0001;--library-card-menu-shadow:0 4px 14px #00000024;--library-card-menu-focus-shadow:0 0 0 2px var(--menu-highlight), 0 4px 14px #00000024;--library-hero-secondary:#0000007a;--library-metadata-text:#0000009e;--library-section-heading:#1d1d1f;--ghost-document-plus-opacity:.26;--ghost-document-plus-hover-opacity:.44;--destructive-text:#c9343a;--menu-shadow:0 8px 24px #00000021, 0 18px 40px #0000000f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{background:var(--bg-base);min-width:960px;min-height:640px;margin:0;overflow:hidden}button,textarea{font:inherit}button{color:inherit}h1{margin:0}.looper-shell{background:var(--bg-base);grid-template-rows:1fr;width:100vw;height:100vh;display:grid;position:relative;overflow:hidden}.looper-shell[data-view-mode=library],.looper-shell[data-view-mode=library] .document-library{background:var(--bg-editor-opaque)}html:has(.looper-shell[data-view-mode=library]){background:var(--bg-editor-opaque)}body:has(.looper-shell[data-view-mode=library]){background:var(--bg-editor-opaque)}.looper-shell[data-header-control-size=comfortable]{--titlebar-control-size:32px;--titlebar-pill-font-size:13px;--titlebar-emphasized-pill-font-size:15px;--titlebar-compact-icon-size:16px}.native-titlebar{z-index:30;grid-template-columns:minmax(420px, 1fr) var(--loop-sidebar-width);height:var(--titlebar-height);background:var(--bg-titlebar);pointer-events:none;-webkit-app-region:drag;-webkit-user-select:none;user-select:none;border-bottom:0;align-items:center;padding:0;transition:grid-template-columns .18s;display:grid;position:absolute;top:0;left:0;right:0}.native-titlebar.results-hidden{grid-template-columns:minmax(420px,1fr) 0}.native-titlebar.sheet-titlebar,.looper-shell[data-header-presentation=integrated] .native-titlebar{background:0 0}.looper-shell[data-header-presentation=contained] .native-titlebar{--header-control-bg:var(--contained-header-control-bg);--header-control-bg-hover:var(--contained-header-control-bg-hover);--header-control-bg-pressed:var(--contained-header-control-bg-pressed);border-bottom:.5px solid var(--contained-titlebar-divider);background:var(--bg-contained-titlebar);box-shadow:var(--contained-titlebar-shadow)}.titlebar-controls{width:100%;height:100%;padding:0 var(--titlebar-control-inset) 0 calc(var(--window-edge-inset) + var(--traffic-light-group-width) + var(--window-edge-inset));pointer-events:auto;-webkit-app-region:drag;background:0 0;grid-column:1/-1;align-items:center;gap:8px;display:flex;position:relative}.native-titlebar.dismisses-open-popover,.native-titlebar.dismisses-open-popover .titlebar-controls,.titlebar-controls button,.titlebar-controls a{-webkit-app-region:no-drag}.sheet-titlebar-editor-controls{grid-area:1/1/auto/-1;min-width:0}.sheet-titlebar-editor-controls>.document-title-control{margin-left:-2px}.sheet-titlebar-editor-controls>.titlebar-icon-button:last-child{margin-left:0}.header-loop-count-control{margin-left:auto}.titlebar-pill-button.header-loop-count-button{width:auto;font-size:var(--titlebar-emphasized-pill-font-size);padding:0 12px 0 16px}.titlebar-pill-button.header-loop-count-button.active{background:var(--header-control-bg-hover)}.header-loop-count-popover{z-index:90;position:absolute;top:calc(100% + 8px);right:0}.loop-count-slider-popover{border:1px solid var(--menu-border);width:304px;color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:blur(12px);border-radius:10px}.loop-count-slider-heading{align-items:center;gap:12px;padding:11px 14px 2px;display:flex}.loop-count-slider-heading h2{min-width:0;color:var(--menu-text);font-family:var(--font-system);letter-spacing:0;margin:0;font-size:13px;font-weight:600}.loop-count-slider-heading output{color:var(--text-editor-looped-number);font-family:var(--font-system);font-variant-numeric:tabular-nums;text-align:center;margin-left:auto;font-size:13px;line-height:1.2}.loop-count-slider-divider{background:var(--menu-divider);height:1px}.loop-count-slider-popover p{color:var(--menu-secondary-text);font-family:var(--font-system);letter-spacing:0;margin:0;padding:3px 14px 10px;font-size:12px;font-weight:400;line-height:1.45}.loop-count-slider-popover code{color:var(--text-editor-looped-number);background:color-mix(in srgb, var(--text-editor-looped-number) 10%, transparent);font-family:var(--font-editor);font-size:inherit;border-radius:4px;padding:1px 4px}.loop-count-slider-control{min-width:0;display:flex}.loop-count-slider-control input[type=range]{appearance:none;cursor:pointer;background:0 0;outline:none;width:100%;height:20px;margin:0}.loop-count-slider-control input[type=range]::-webkit-slider-runnable-track{background:color-mix(in srgb, var(--titlebar-control-foreground) 16%, transparent);border-radius:999px;height:4px}.loop-count-slider-control input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid var(--menu-surface);background:var(--text-editor-looped-number);width:16px;height:16px;box-shadow:0 0 0 1px color-mix(in srgb, var(--text-editor-looped-number) 35%, transparent);border-radius:50%;margin-top:-6px}.loop-count-slider-control input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px color-mix(in srgb, var(--text-editor-looped-number) 28%, transparent)}.loop-count-slider-row{color:var(--menu-secondary-text);font-family:var(--font-system);font-variant-numeric:tabular-nums;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 14px 12px;font-size:12px;line-height:1;display:grid}.loop-label-setting{align-items:center;gap:12px;min-height:62px;padding:10px 14px 12px;display:flex}.loop-label-setting-copy{gap:3px;min-width:0;display:grid}.loop-label-setting-copy h3{color:var(--menu-text);font-family:var(--font-system);letter-spacing:0;margin:0;font-size:13px;font-weight:600}.loop-label-setting-copy span{color:var(--menu-secondary-text);font-family:var(--font-system);font-size:12px;line-height:1.3}.loop-label-picker{flex:none;margin-left:auto;position:relative}.loop-label-selection-button{border:1px solid var(--menu-border);max-width:116px;height:28px;color:var(--menu-text);background:var(--menu-control-bg);font-family:var(--font-system);cursor:default;border-radius:7px;outline:none;align-items:center;gap:6px;padding:0 8px 0 10px;font-size:12px;font-weight:400;display:inline-flex}.loop-label-selection-button:hover,.loop-label-selection-button.active{background:var(--menu-control-selected-bg)}.loop-label-selection-button:focus-visible{border-color:color-mix(in srgb, var(--text-editor-looped-number) 42%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--text-editor-looped-number) 18%, transparent)}.loop-label-selection-button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.loop-label-selection-button .ui-icon{opacity:.5;flex:none;width:12px;height:12px}.loop-label-picker-popover{z-index:100;position:absolute;top:calc(100% + 6px);right:0}.loop-label-picker-popover>.loop-period-menu{position:static}.loop-label-picker-menu .loop-period-menu-check{color:var(--text-editor-looped-number)}.loop-label-picker-menu.loop-period-custom-form input{caret-color:var(--text-editor-looped-number)}.loop-label-picker-menu.loop-period-custom-form input:focus{border-color:var(--text-editor-looped-number);box-shadow:0 0 0 2px color-mix(in srgb, var(--text-editor-looped-number) 28%, transparent)}.loop-label-picker-menu .loop-period-custom-actions button.primary{background:var(--text-editor-looped-number)}.loop-sidebar-footer-controls{z-index:2;background:var(--bg-results-opaque);-webkit-app-region:no-drag;flex-direction:column;gap:0;width:100%;min-width:0;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.loop-sidebar-footer-controls.expanded{min-height:0}.loop-sidebar-variables-resize-handle{z-index:4;cursor:row-resize;pointer-events:none;touch-action:none;outline:none;height:10px;position:absolute;top:0;left:0;right:0}.loop-sidebar-footer-controls.expanded .loop-sidebar-variables-resize-handle{pointer-events:auto}.loop-sidebar-variables-resize-handle:after{content:"";background:var(--titlebar-control-secondary-foreground);opacity:0;border-radius:999px;width:34px;height:3px;transition:opacity .12s;position:absolute;top:2px;left:50%;transform:translate(-50%)}.loop-sidebar-variables-resize-handle:hover:after,.loop-sidebar-variables-resize-handle:focus-visible:after,.looper-shell.loop-variables-drawer-resizing .loop-sidebar-variables-resize-handle:after{opacity:.55}.loop-sidebar-variables-header{z-index:2;flex:0 0 var(--loop-sidebar-footer-height);width:100%;min-height:var(--loop-sidebar-footer-height);border-top:1px solid var(--divider-results);background:var(--bg-results-opaque);align-items:center;display:flex;position:relative}.loop-sidebar-footer-controls.expanded .loop-sidebar-variables-header{border-bottom:1px solid var(--divider-results)}.loop-sidebar-variables-toggle{min-width:0;color:var(--titlebar-control-foreground);font-family:var(--font-system);text-align:left;cursor:default;background:0 0;border:0;outline:none;flex:auto;align-self:stretch;align-items:center;gap:8px;padding:0 8px 0 16px;font-size:13px;display:flex}.loop-sidebar-variables-toggle:hover,.loop-sidebar-variables-toggle:focus-visible{background:color-mix(in srgb, var(--bg-results-opaque) 96%, var(--titlebar-control-foreground))}.loop-sidebar-variables-toggle:focus-visible{box-shadow:0 -2px 0 color-mix(in srgb, var(--accent-color) 72%, transparent) inset}.loop-sidebar-variables-actions{flex:none;align-items:center;gap:0;padding-right:4px;display:flex}.loop-sidebar-variables-action{min-width:40px;height:36px;color:var(--titlebar-control-secondary-foreground);font-family:var(--font-system);cursor:default;background:0 0;border:0;outline:none;place-items:center;padding:0 3px;font-size:11px;font-weight:520;display:grid}.loop-sidebar-variables-action-pill{border:1px solid var(--divider-results);background:color-mix(in srgb, var(--bg-results-opaque) 97%, var(--titlebar-control-foreground));border-radius:999px;place-items:center;min-width:32px;height:22px;padding:0 7px;transition:color .1s,background .1s,border-color .1s;display:grid}.loop-sidebar-variables-action:not(:disabled):hover,.loop-sidebar-variables-action:not(:disabled):focus-visible{color:var(--titlebar-control-foreground)}.loop-sidebar-variables-action:not(:disabled):hover .loop-sidebar-variables-action-pill,.loop-sidebar-variables-action:not(:disabled):focus-visible .loop-sidebar-variables-action-pill{border-color:color-mix(in srgb, var(--divider-results) 64%, var(--titlebar-control-foreground));background:var(--sheet-control-hover-bg)}.loop-sidebar-variables-action:not(:disabled):active .loop-sidebar-variables-action-pill{background:var(--sheet-control-pressed-bg)}.loop-sidebar-variables-action:disabled{opacity:.28}.loop-sidebar-variables-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:560;overflow:hidden}.loop-sidebar-variables-count{color:var(--titlebar-control-secondary-foreground);font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto;font-size:11px}.loop-sidebar-variables-chevron{opacity:.48;flex:none;width:14px;height:14px;transition:transform .22s cubic-bezier(.22,1,.36,1)}.loop-sidebar-footer-controls.expanded .loop-sidebar-variables-chevron{transform:rotate(180deg)}.loop-sidebar-variables-panel{opacity:0;visibility:hidden;flex:auto;min-height:0;transition:opacity .12s,visibility 0s linear .22s;overflow:hidden}.loop-sidebar-footer-controls.expanded .loop-sidebar-variables-panel{opacity:1;visibility:visible;transition-delay:40ms,0s}.loop-sidebar-variables-list{overscroll-behavior:contain;height:100%;padding:0;overflow:hidden auto}.loop-sidebar-variable-option{width:100%;min-height:40px;color:var(--titlebar-control-foreground);font-family:var(--font-system);text-align:left;cursor:default;background:0 0;border:0;border-radius:0;outline:none;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:10px;padding:0 16px;font-size:13px;display:grid}.loop-sidebar-variable-option+.loop-sidebar-variable-option{border-top:1px solid color-mix(in srgb, var(--divider-results) 72%, transparent)}.loop-sidebar-variable-option:hover,.loop-sidebar-variable-option:focus-visible{background:var(--sheet-control-hover-bg)}.loop-sidebar-variable-option:active{background:var(--sheet-control-pressed-bg)}.loop-sidebar-variable-checkbox{color:#fff;background:0 0;justify-self:end;place-items:center;width:20px;height:20px;display:grid}:root[data-theme=light] .loop-sidebar-variable-checkbox{color:var(--titlebar-control-foreground)}.loop-sidebar-variable-checkbox .ui-icon{stroke-width:2.4px;width:15px;height:15px}.loop-sidebar-variable-name{min-width:0;color:var(--titlebar-control-foreground);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.titlebar-pill-button{height:var(--titlebar-control-size);color:var(--titlebar-control-foreground);background:var(--header-control-bg);font-family:var(--font-system);font-size:var(--titlebar-pill-font-size);letter-spacing:0;cursor:default;border:0;border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:0 15px 0 10px;font-weight:400;display:inline-flex}.titlebar-pill-button:hover{color:var(--titlebar-control-foreground-hover);background:var(--header-control-bg-hover)}.titlebar-pill-button:active{background:var(--header-control-bg-pressed)}.titlebar-pill-button:focus{outline:none}:root[data-theme=light] .titlebar-pill-button:focus-visible,:root[data-theme=light] .titlebar-icon-button:focus-visible{outline:2px solid var(--menu-highlight);outline-offset:2px}.document-title-control{-webkit-app-region:no-drag;min-width:0;max-width:min(360px,36vw);display:flex;position:relative}.document-title-button{background:var(--header-control-bg);min-width:0;max-width:100%;font-size:var(--titlebar-emphasized-pill-font-size);justify-content:flex-start;padding:0 12px 0 16px}.document-title-button.active{background:var(--header-control-bg-hover)}.document-title-button-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ui-icon.document-title-chevron{opacity:.3;width:12px;height:12px}.document-menu{z-index:90;border:1px solid var(--menu-border);width:230px;color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:blur(12px);-webkit-app-region:no-drag;border-radius:8px;padding:5px;display:grid;position:absolute;top:calc(100% + 8px);left:0}.document-menu-item{width:100%;height:27px;color:var(--menu-text);font-family:var(--font-system);letter-spacing:0;text-align:left;cursor:default;background:0 0;border:0;border-radius:5px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:0 9px;font-size:13px;font-weight:400;display:grid}.document-menu-item:not(:disabled):hover,.document-menu-item:focus-visible{color:var(--menu-highlight-text);background:var(--menu-highlight);outline:none}.document-menu-item:disabled{opacity:.38;background:0 0}.document-menu-shortcut{color:currentColor;opacity:.48;font-size:12px;font-weight:400}.document-menu-check{width:14px;height:14px;color:var(--menu-check);place-items:center;display:grid}.document-menu-check .ui-icon{stroke-width:2.5px;width:13px;height:13px}.document-menu-status{color:currentColor;opacity:.48;font-size:12px}.document-menu-decimal-setting{min-height:32px;color:var(--menu-text);font-family:var(--font-system);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 9px;font-size:13px;display:grid}.document-menu-decimal-options{background:var(--menu-control-bg);border-radius:5px;gap:1px;padding:2px;display:flex}.document-menu-decimal-options button{width:22px;height:22px;color:var(--menu-secondary-text);font-family:var(--font-system);cursor:default;background:0 0;border:0;border-radius:4px;place-items:center;padding:0;font-size:11px;display:grid}.document-menu-decimal-options button:hover,.document-menu-decimal-options button:focus-visible,.document-menu-decimal-options button.selected{color:var(--menu-text);background:var(--menu-control-selected-bg);outline:none}.document-menu-item:not(:disabled):hover .document-menu-check,.document-menu-item:focus-visible .document-menu-check{color:var(--menu-highlight-text)}.document-menu-item:not(:disabled):hover .document-menu-status,.document-menu-item:focus-visible .document-menu-status,.document-menu-item:not(:disabled):hover .document-menu-shortcut,.document-menu-item:focus-visible .document-menu-shortcut{opacity:.78}.document-menu-separator{background:var(--menu-divider);height:1px;margin:4px 7px}.document-rename-form{gap:8px;padding:11px}.document-rename-form label{color:var(--menu-secondary-text);font-family:var(--font-system);font-size:12px;font-weight:500}.document-rename-form input{width:100%;height:32px;color:var(--menu-text);background:var(--menu-field-bg);font-family:var(--font-system);border:0;border-radius:6px;outline:none;padding:0 9px;font-size:13px;font-weight:400}.document-rename-form input:focus{box-shadow:none;outline:none}:root[data-theme=light] .document-rename-form input:focus{box-shadow:0 0 0 1px color-mix(in srgb, var(--accent-color) 32%, transparent), 0 0 0 3px color-mix(in srgb, var(--accent-color) 12%, transparent)}.document-rename-actions{justify-content:flex-end;gap:6px;display:flex}.document-rename-actions button{height:26px;color:var(--menu-text);background:var(--menu-control-bg);font-family:var(--font-system);cursor:default;border:0;border-radius:5px;padding:0 10px;font-size:11px;font-weight:400}.document-rename-actions button:hover{background:var(--menu-control-selected-bg)}.document-rename-actions button.primary{color:var(--accent-color-foreground);background:var(--accent-color);font-weight:500}.document-rename-actions button:disabled{opacity:.4}.loop-count-control{display:flex;position:relative}.loop-count-menu-button{width:auto}.titlebar-pill-label{color:inherit;white-space:nowrap;flex:none}.titlebar-pill-value{color:var(--titlebar-pill-value-foreground);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.variables-menu-item{width:100%;height:27px;color:var(--menu-text);font-family:var(--font-system);letter-spacing:0;text-align:left;cursor:default;background:0 0;border:0;border-radius:5px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:6px;padding:0 9px 0 7px;font-size:13px;font-weight:400;display:grid}.variables-menu-item:hover,.variables-menu-item:focus-visible{color:var(--menu-highlight-text);background:var(--menu-highlight);outline:none}.variables-menu-check{width:16px;height:16px;color:var(--menu-check);place-items:center;display:grid}.variables-menu-check .ui-icon{stroke-width:2.25px;width:13px;height:13px}.variables-menu-item:hover .variables-menu-check,.variables-menu-item:focus-visible .variables-menu-check{color:var(--menu-highlight-text)}.variables-menu-item-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.loop-period-menu{z-index:80;border:1px solid var(--menu-border);min-width:164px;color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:blur(12px);-webkit-app-region:no-drag;border-radius:8px;padding:5px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.loop-period-sidebar-popover{z-index:130;position:fixed}.loop-period-sidebar-popover .loop-period-menu{position:static}.loop-period-menu[role=menu]>button{height:27px;color:var(--menu-text);font-family:var(--font-system);letter-spacing:0;text-align:left;cursor:default;background:0 0;border:0;border-radius:5px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:6px;padding:0 9px 0 7px;font-size:13px;font-weight:400;display:grid}.loop-period-menu[role=menu]>button:hover,.loop-period-menu[role=menu]>button:focus-visible{color:var(--menu-highlight-text);background:var(--menu-highlight);outline:none}.loop-period-menu[role=menu]>button.selected{color:var(--menu-text)}.loop-period-menu[role=menu]>button.selected:hover,.loop-period-menu[role=menu]>button.selected:focus-visible{color:var(--menu-highlight-text)}.loop-period-menu-check{width:16px;height:16px;color:var(--menu-check);place-items:center;display:grid}.loop-period-menu-check .ui-icon{stroke-width:2.25px;width:13px;height:13px}.loop-period-menu[role=menu]>button:hover .loop-period-menu-check,.loop-period-menu[role=menu]>button:focus-visible .loop-period-menu-check{color:var(--menu-highlight-text)}.loop-count-menu[role=menu]{max-height:min(440px,100vh - 96px);overflow-y:auto}.loop-period-custom-form{gap:8px;width:220px;padding:10px}.loop-period-custom-form label{color:var(--menu-secondary-text);font-family:var(--font-system);font-size:12px;font-weight:500}.loop-period-custom-form input{border:1px solid var(--menu-border);width:100%;height:32px;color:var(--menu-text);background:var(--menu-field-bg);font-family:var(--font-system);border-radius:6px;outline:none;padding:0 9px;font-size:13px;font-weight:400}.loop-period-custom-form input:focus{border-color:var(--menu-highlight);box-shadow:0 0 0 2px color-mix(in srgb, var(--menu-highlight) 28%, transparent)}.loop-period-custom-actions{justify-content:flex-end;gap:6px;display:flex}.loop-period-custom-actions button{height:26px;color:var(--menu-text);background:var(--menu-control-bg);font-family:var(--font-system);cursor:default;border:0;border-radius:5px;padding:0 10px;font-size:11px;font-weight:400}.loop-period-custom-actions button:hover{background:var(--menu-control-selected-bg)}.loop-period-custom-actions button.primary{color:var(--menu-highlight-text);background:var(--menu-highlight);font-weight:500}.loop-period-custom-actions button:disabled{opacity:.4}.icon-button{width:var(--icon-button-size);height:var(--icon-button-size);border-radius:var(--icon-button-radius);place-items:center;padding:0;display:inline-grid}.titlebar-icon-button{width:var(--titlebar-control-size);height:var(--titlebar-control-size);color:var(--titlebar-control-foreground);background:var(--header-control-bg);cursor:default;border:0;border-radius:999px;margin-left:0}.titlebar-icon-button:hover{color:var(--titlebar-control-foreground-hover);background:var(--header-control-bg-hover)}.titlebar-icon-button:active{background:var(--header-control-bg-pressed)}.titlebar-icon-button:focus{outline:none}.ui-icon{width:var(--icon-size);height:var(--icon-size);flex:none;display:block}.ui-icon.compact-titlebar-icon{width:var(--titlebar-compact-icon-size);height:var(--titlebar-compact-icon-size)}.mobile-sidebar-button-label{display:none}.back-icon{margin-left:-1px;margin-right:1px}.settings-popover{z-index:70;border:1px solid var(--menu-border);min-width:214px;color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-app-region:no-drag;border-radius:8px;padding:12px;position:absolute;top:calc(100% + 7px);left:0}.settings-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.settings-label{color:var(--menu-text);font-family:var(--font-system);letter-spacing:0;font-size:13px;font-weight:400}.document-library{width:100%;height:calc(100vh - var(--titlebar-height));min-width:0;min-height:0;margin-top:var(--titlebar-height);background:var(--bg-editor);align-self:start;padding:30px clamp(28px,6vw,72px) 56px;overflow:auto}.looper-shell[data-header-presentation=integrated][data-view-mode=library]:before{content:"";z-index:20;height:var(--integrated-header-fade-end);background:linear-gradient(to bottom, var(--bg-editor-opaque) var(--integrated-header-fade-solid-end), transparent var(--integrated-header-fade-end));pointer-events:none;position:absolute;top:0;left:0;right:0}.looper-shell[data-header-presentation=integrated] .document-library{height:100vh;padding-top:calc(var(--titlebar-height) + 30px);margin-top:0}.library-header{align-items:flex-start;max-width:1120px;margin:0 auto 34px;padding-top:8px;display:flex}.library-title-group{flex-direction:column;align-items:flex-start;gap:25px;min-width:0;max-width:900px;display:flex}.library-hero-icon{flex:none;width:92px;height:92px;margin-left:-8px;display:block}.library-title-group h1{width:20.25em;max-width:100%;color:var(--library-hero-secondary);font-family:var(--font-system);letter-spacing:-.02em;margin:0;font-size:clamp(25px,3vw,34px);font-weight:480;line-height:1.38}.library-title-group h1 strong{color:var(--text-headerbar-title);font-weight:760}.library-title-group h1 .library-hero-accent{color:var(--accent-color)}.library-header-controls{flex:none;justify-content:flex-end;align-items:center;gap:7px;width:100%;display:flex}.library-app-title{color:var(--text-headerbar-title);font-family:var(--font-system);letter-spacing:-.01em;flex:none;font-size:15px;font-weight:650;line-height:1}.library-app-title+.library-header-controls{flex:auto;width:auto;min-width:0}.library-titlebar-controls{justify-content:flex-end;position:relative}.library-login-button{padding-right:14px}.titlebar-pill-button.library-download-app-button{border:1px solid var(--library-download-app-border);color:var(--library-download-app-text);background:var(--library-download-app-bg);white-space:nowrap;flex:none;padding:0 14px;text-decoration:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.titlebar-pill-button.library-download-app-button:hover{border-color:var(--library-download-app-border-hover);color:var(--library-download-app-text);background:var(--library-download-app-bg-hover)}.titlebar-pill-button.library-download-app-button:active{border-color:var(--library-download-app-border-pressed);background:var(--library-download-app-bg-pressed)}.titlebar-pill-button.library-download-app-button:focus-visible{outline:2px solid var(--menu-highlight);outline-offset:2px}.library-settings-control{-webkit-app-region:no-drag;min-width:0;max-width:min(360px,50vw - 96px);display:flex;position:relative}.library-title-button.active{background:var(--header-control-bg-hover)}.library-title-button{padding-right:16px}.library-search-control{-webkit-app-region:no-drag;display:flex;position:relative}.library-search-button{color:var(--titlebar-control-foreground)}.library-search-button:hover,.library-search-button.active{color:var(--titlebar-control-foreground-hover);background:var(--header-control-bg-hover)}.library-search-button:focus{outline:none}.library-search-button:focus-visible{outline:2px solid var(--menu-highlight);outline-offset:2px}.library-search-popover{z-index:80;width:340px;color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:blur(12px);-webkit-app-region:no-drag;border:1px solid #0000;border-radius:26px;padding:0;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden}.library-search-popover:before{z-index:1;background:linear-gradient(to bottom, var(--library-search-cutoff-bg) 0, var(--library-search-cutoff-bg) 26px, transparent 26px, transparent 100%);content:"";pointer-events:none;border-radius:26px 26px 0 0;height:44px;position:absolute;top:-1px;left:-1px;right:-1px}.library-search-popover:after{z-index:3;border:1px solid var(--menu-border);content:"";pointer-events:none;border-radius:26px;position:absolute;inset:-1px}.library-search-field{z-index:2;height:36px;color:var(--menu-secondary-text);background:var(--library-search-field-bg);border:0;border-radius:18px;align-items:center;gap:8px;padding:0 9px;display:flex;position:absolute;top:7px;left:7px;right:7px}.library-search-field:focus-within{box-shadow:var(--library-search-field-focus-shadow)}.library-search-field .ui-icon{width:15px;height:15px;color:var(--menu-text);flex:none}.library-search-field input{width:100%;min-width:0;color:var(--menu-text);font-family:var(--font-system);background:0 0;border:0;outline:none;padding:0;font-size:13px}.library-search-field input::placeholder{color:var(--menu-secondary-text)}.library-search-field input::-webkit-search-cancel-button{display:none}.library-search-shortcut{font-family:var(--font-system);color:var(--menu-secondary-text);flex:none;font-size:11px}.library-search-summary{color:var(--menu-secondary-text);font-family:var(--font-system);letter-spacing:.02em;text-transform:uppercase;padding:8px 10px 0;font-size:11px;font-weight:600}.library-search-results{max-height:min(409px, calc(100vh - var(--titlebar-height) - 43px));overscroll-behavior:contain;padding:49px 7px 0;scroll-padding-top:49px;overflow-y:auto}.library-search-results.is-overflowing{padding-bottom:7px}.library-search-result{width:100%;min-width:0;color:var(--menu-text);text-align:left;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:8px 9px;display:flex}.library-search-results.is-overflowing .library-search-result:last-child{border-radius:7px 7px 18px 18px}.library-search-result:hover,.library-search-result:focus-visible{background:var(--library-search-highlight);outline:none}.library-search-result-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.library-search-result-title,.library-search-result-detail{font-family:var(--font-system);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library-search-result-title{font-size:13px;font-weight:550}.library-search-result-detail{color:var(--menu-secondary-text);font-size:11px}.library-search-empty{color:var(--menu-secondary-text);font-family:var(--font-system);text-align:center;padding:22px 9px 24px;font-size:12px}.library-settings-menu{z-index:80;border:1px solid var(--menu-border);width:272px;color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:blur(12px);-webkit-app-region:no-drag;border-radius:8px;padding:6px;position:absolute;top:calc(100% + 8px);left:auto;right:0;transform:none}.library-settings-menu .settings-row{width:calc(100% - 12px);min-height:32px;margin:0 6px;padding:0 8px}.account-settings-email,.settings-value,.settings-setting-value,.settings-menu-action{font-family:var(--font-system);font-size:12px}.settings-account-section{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;min-width:0;min-height:48px;padding:5px 14px 6px;display:flex}.settings-account-title{color:var(--menu-text);font-family:var(--font-system);font-size:13px;font-weight:400}.account-settings-email{min-width:0;color:var(--menu-secondary-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-value{color:var(--menu-secondary-text)}.settings-setting-row{color:var(--menu-text);text-align:left;background:0 0;border:0;border-radius:5px}.settings-setting-row:hover{background:var(--menu-control-bg)}.settings-setting-row:focus-visible,.settings-menu-action:focus-visible,:root[data-theme=light] .cloud-sync-banner button:focus-visible{outline:2px solid var(--menu-highlight);outline-offset:2px}.settings-setting-value{color:var(--menu-secondary-text)}.settings-menu-action{width:calc(100% - 12px);height:32px;color:var(--menu-text);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;margin:0 6px;padding:0 8px;display:flex}.settings-menu-action:hover{background:var(--menu-control-bg)}.settings-menu-action.destructive{color:var(--destructive-text)}.settings-menu-action:disabled{opacity:.5}.cloud-sync-banner{z-index:70;border:1px solid color-mix(in srgb, var(--text-editor-error) 42%, var(--menu-border));max-width:min(460px,100vw - 32px);min-height:38px;color:var(--menu-text);background:color-mix(in srgb, var(--menu-surface) 94%, var(--text-editor-error));box-shadow:var(--menu-shadow);font-family:var(--font-system);-webkit-app-region:no-drag;border-radius:9px;align-items:center;gap:12px;padding:8px 9px 8px 12px;font-size:12px;line-height:1.35;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}.cloud-sync-banner span{min-width:0}.cloud-sync-banner button{border:1px solid var(--menu-border);height:25px;color:var(--menu-control-selected-text);background:var(--menu-control-selected-bg);font-family:var(--font-system);border-radius:6px;flex:none;padding:0 9px;font-size:12px}.cloud-sync-banner button:disabled{opacity:.5}.settings-separator{background:var(--menu-divider);height:1px;margin:5px 6px}.ghost-document-card:disabled{opacity:.5;cursor:wait}.document-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:18px;max-width:1120px;margin:0 auto;display:grid}.document-card{z-index:0;aspect-ratio:8/9;border:.5px solid var(--library-card-border);width:100%;min-width:0;min-height:0;color:var(--text-editor-expression);background:var(--library-card-bg);box-shadow:var(--library-card-shadow);text-align:left;cursor:default;border-radius:12px;flex-direction:column;padding:0;transition:background .14s,border-color .14s,box-shadow .14s;display:flex;position:relative;container-type:inline-size}.document-card.menu-open{z-index:40}.document-card-open{border-radius:inherit;width:100%;min-width:0;height:100%;min-height:0;color:inherit;text-align:left;cursor:default;background:0 0;border:0;flex-direction:column;flex:auto;padding:0;display:flex;overflow:hidden}.document-card.active{border-color:var(--library-card-border);background:var(--library-card-bg-active)}.document-card:hover{border-color:var(--library-card-border-hover);background:var(--library-card-bg-hover);box-shadow:var(--library-card-shadow-hover)}.document-card-open:focus-visible{box-shadow:0 0 0 2px var(--menu-highlight) inset;outline:none}.document-card-preview{min-height:0;color:var(--text-editor-expression);background:var(--library-card-preview-bg);font-family:var(--font-editor);font-variant-numeric:tabular-nums;letter-spacing:0;flex-direction:column;flex:auto;padding:clamp(12px,4cqw,16px) 0 clamp(12px,4cqw,16px) clamp(13px,4.5cqw,18px);font-size:clamp(9px,3.4cqw,12px);line-height:1.45;transition:background .14s;display:flex;overflow:hidden}.document-card:hover .document-card-preview{background:var(--library-card-preview-bg-hover)}.document-card-preview-line{white-space:nowrap;flex:none;min-height:1.45em;overflow:hidden}.ghost-document-card{border-color:var(--library-card-border);background:var(--library-card-bg);justify-content:flex-start;align-items:stretch;overflow:hidden}.ghost-document-card:focus-visible{outline:2px solid var(--menu-highlight);outline-offset:3px}.ghost-document-preview{background:var(--library-card-preview-bg);flex:auto;place-items:center;width:100%;min-height:0;transition:background .14s;display:grid}.ghost-document-card:hover .ghost-document-preview{background:var(--library-card-preview-bg-hover)}.ghost-document-card .document-card-title{color:var(--text-headerbar-title)}.ghost-document-plus{color:var(--text-headerbar-title);font-family:var(--font-system);opacity:var(--ghost-document-plus-opacity);font-size:clamp(58px,22cqw,80px);font-weight:200;line-height:1}.ghost-document-card:hover .ghost-document-plus{opacity:var(--ghost-document-plus-hover-opacity)}.library-card-menu-control{z-index:12;position:absolute;top:8px;right:8px}.library-card-menu-button{border:1px solid var(--menu-border);width:34px;height:26px;color:var(--menu-text);background:color-mix(in srgb, var(--menu-surface) 82%, transparent);box-shadow:var(--library-card-menu-shadow);opacity:0;-webkit-backdrop-filter:blur(8px);border-radius:7px;outline:none;place-items:center;padding:0;transition:opacity .12s,transform .12s,background .12s;display:grid;transform:translateY(-2px)}.library-card-menu-button:hover,.library-card-menu-button.active{background:var(--menu-surface)}.library-card-menu-button:focus-visible{box-shadow:var(--library-card-menu-focus-shadow)}.document-card:hover .library-card-menu-button,.document-card:focus-within .library-card-menu-button,.library-card-menu-button.active{opacity:1;transform:translateY(0)}.library-card-menu{width:202px;top:34px;left:auto;right:0}.document-menu-item.danger{color:var(--destructive-text)}.document-menu-item.danger:hover,.document-menu-item.danger:focus-visible{color:var(--menu-highlight-text)}.library-divider{background:var(--divider-results);width:100%;max-width:1120px;height:1px;margin:28px auto 0}.getting-started-section{max-width:1120px;margin:0 auto}.library-section-title{color:var(--library-hero-secondary);font-family:var(--font-system);letter-spacing:0;text-transform:none;margin:0;padding:20px 0;font-size:13px;font-weight:400;line-height:1.35}.getting-started-title{color:var(--library-section-heading);padding-left:12px;padding-right:12px;font-size:20px;font-weight:600;line-height:1.25}.getting-started-grid{max-width:none;margin:0}.document-card-meta{border-top:1px solid var(--library-card-border);min-height:62px;font-family:var(--font-system);flex-direction:column;flex:0 0 clamp(62px,28cqw,104px);justify-content:center;gap:3px;padding:9px 12px;display:flex}.document-card-title,.document-card-detail{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-card-title{color:var(--text-headerbar-title);letter-spacing:0;font-size:clamp(13px,3.8cqw,15px);font-weight:400}.document-card-detail{color:var(--library-metadata-text);letter-spacing:0;font-size:clamp(11px,3.3cqw,13px);font-weight:400}:root[data-theme=light] .document-card-title{font-weight:520}.native-workspace{grid-template-columns:minmax(420px, 1fr) var(--loop-sidebar-width);background:var(--bg-base);min-width:0;min-height:0;transition:grid-template-columns .18s;display:grid;position:relative}.native-workspace.results-hidden{grid-template-columns:minmax(420px,1fr) 0}.native-workspace.results-hidden .native-editor-panel{border-right:0}.native-editor-panel{border-right:1px solid var(--divider-results);background:var(--bg-editor);grid-template-columns:minmax(420px,1fr);min-width:0;min-height:0;display:grid;position:relative;overflow:hidden}.looper-shell.loop-sidebar-resizing,.looper-shell.loop-sidebar-resizing *{-webkit-user-select:none;user-select:none;cursor:col-resize!important}.looper-shell.loop-sidebar-resizing .native-titlebar,.looper-shell.loop-sidebar-resizing .native-workspace{transition:none}.loop-sidebar-resize-handle{z-index:45;top:var(--titlebar-height);right:calc(var(--loop-sidebar-width) - (var(--loop-sidebar-resize-hit-width) / 2));width:var(--loop-sidebar-resize-hit-width);cursor:col-resize;touch-action:none;-webkit-app-region:no-drag;background:0 0;border:0;padding:0;position:absolute;bottom:0}.loop-sidebar-resize-handle:focus{outline:none}.static-results{background:0 0;min-width:0;min-height:0;position:relative;overflow:hidden}.row-reorder-rail{z-index:6;width:var(--editor-left-inset);pointer-events:none;position:absolute;top:0;bottom:0;left:0;overflow:hidden}.row-reorder-scroll-viewport{pointer-events:none;position:absolute;inset:0;overflow:hidden}.row-reorder-rail-inner,.static-results-inner{will-change:transform}.row-reorder-rail-inner{padding-top:var(--editor-top-inset)}.row-reorder-row,.static-result-row,.loop-header-row,.loop-result-row{height:var(--row-height)}.row-reorder-row{pointer-events:none;justify-content:center;align-items:flex-start;display:flex;position:relative}.line-number-button{width:24px;height:var(--row-height);color:var(--line-number-color);font-family:var(--font-editor);font-size:calc(var(--editor-font-size) * .8);font-variant-numeric:tabular-nums;letter-spacing:0;line-height:var(--row-height);text-align:center;cursor:default;pointer-events:auto;background:0 0;border:0;place-items:center;padding:0;display:grid}.line-number-button.can-reorder{cursor:grab;touch-action:none}.line-number-button.locked{cursor:not-allowed}.line-number-button.dragging{color:var(--line-number-active);cursor:grabbing}.looper-shell.row-dragging,.looper-shell.row-dragging *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}.line-number-button:focus{outline:none}.line-number-text,.line-number-gripper,.line-number-lock{grid-area:1/1}.line-number-text{min-width:100%;height:var(--row-height);justify-content:center;align-items:center;display:flex}.line-number-gripper,.line-number-lock{opacity:0;place-self:center;display:block}.line-number-button.can-reorder:hover .line-number-text,.line-number-button.can-reorder:focus-visible .line-number-text,.line-number-button.dragging .line-number-text{opacity:0}.line-number-button.can-reorder:hover .line-number-gripper,.line-number-button.can-reorder:focus-visible .line-number-gripper,.line-number-button.dragging .line-number-gripper{opacity:1}.line-number-button.locked:hover .line-number-text{opacity:0}.line-number-button.locked:hover .line-number-lock{opacity:1}.editor-stack{background:0 0;min-width:0;min-height:0;position:relative;overflow:hidden}.editor-scroll-frame{min-width:0;min-height:0;position:absolute;inset:0;overflow:hidden}.editor-highlight-viewport{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.editor-highlight-viewport.has-global-references{z-index:4}.highlight-layer,.editor-input{width:100%;font-family:var(--font-editor);font-size:var(--editor-font-size);font-variant-ligatures:none;font-variant-numeric:tabular-nums;letter-spacing:0;line-height:var(--row-height);tab-size:4;overflow-wrap:anywhere;white-space:pre-wrap;background:0 0;border:0;margin:0;padding:0}.highlight-layer{min-height:100%;padding:var(--editor-top-inset) 0 0;color:var(--text-editor-expression);pointer-events:none;will-change:transform;position:absolute;top:0;left:0;overflow:visible}.highlight-row{width:100%;min-width:0;min-height:var(--row-height);padding:0 var(--editor-right-inset) 0 var(--editor-left-inset);display:block;position:relative}.highlight-row.divider,.highlight-row.divider>*{color:#0000}.highlight-row.divider:before{content:"";top:calc(var(--row-height) / 2);right:var(--static-result-trailing-space);left:var(--editor-left-inset);background:var(--divider-content);height:1px;position:absolute}.highlight-row.comment-only,.editor-input-row.comment-only{padding-right:var(--editor-comment-right-inset)}.looper-shell.row-dragging .row-reorder-row,.looper-shell.row-dragging .highlight-row,.looper-shell.row-dragging .static-result-row{transition:transform .14s cubic-bezier(.2,.75,.25,1)}.row-reorder-row.row-drag-source,.highlight-row.row-drag-source,.static-result-row.row-drag-source{opacity:0}.row-reorder-row.row-drag-shift-up,.highlight-row.row-drag-shift-up,.static-result-row.row-drag-shift-up{transform:translateY(calc(var(--row-drag-source-height) * -1))}.row-reorder-row.row-drag-shift-down,.highlight-row.row-drag-shift-down,.static-result-row.row-drag-shift-down{transform:translateY(var(--row-drag-source-height))}.row-drag-preview{z-index:8;grid-template-columns:calc(var(--editor-left-inset) - 6px) minmax(0, 1fr) var(--static-results-width);border:1px solid var(--row-drag-border);background:var(--row-drag-surface);min-width:0;box-shadow:var(--row-drag-shadow);color:var(--text-editor-expression);font-family:var(--font-editor);font-size:var(--editor-font-size);font-variant-ligatures:none;font-variant-numeric:tabular-nums;letter-spacing:0;line-height:var(--row-height);pointer-events:none;transform-origin:50%;will-change:transform;border-radius:9px;display:grid;position:absolute;top:0;left:6px;right:8px;overflow:hidden}.row-drag-preview-handle{width:100%;height:var(--row-height);color:var(--line-number-active);place-items:center;display:grid}.row-drag-preview-source{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;height:100%;padding-right:24px;overflow:hidden}.row-drag-preview-result{justify-content:flex-end;align-items:flex-start;min-width:0;height:100%;padding-left:6px;padding-right:12px;display:flex}.row-drag-preview.comment-only .row-drag-preview-source{grid-column:2/4;padding-right:18px}.row-drag-preview.comment-only .row-drag-preview-result{display:none}.editor-input{z-index:2;height:auto;padding:var(--editor-top-inset) 0 calc(var(--row-height) / 2);resize:none;color:#0000;caret-color:var(--text-editor-expression);cursor:text;-webkit-text-fill-color:transparent;outline:0;position:absolute;inset:0;overflow:hidden auto}.editor-input-row{width:calc(100% - var(--editor-left-inset));min-width:0;min-height:var(--row-height);margin-left:var(--editor-left-inset);padding:0 var(--editor-right-inset) 0 0;overflow-wrap:anywhere;white-space:pre-wrap;display:block}.editor-input::selection,.editor-input ::selection{background:var(--selection-background);color:#0000}.static-results{z-index:3;width:var(--static-results-width);pointer-events:none;position:absolute;top:0;bottom:0;right:0}.static-results-inner{padding-top:var(--editor-top-inset)}.static-result-row{min-width:0;padding-right:var(--static-result-trailing-space);justify-content:flex-end;align-items:flex-start;padding-left:6px;display:flex}.static-result-value{min-width:var(--result-control-size);max-width:100%;color:var(--text-editor-number);font-family:var(--font-editor);font-size:var(--editor-font-size);font-variant-numeric:tabular-nums;letter-spacing:0;line-height:var(--row-height);text-align:center;text-overflow:ellipsis;white-space:nowrap;border-radius:6px;padding:0 8px;display:block;overflow:hidden}.static-result-value.looped{cursor:default;pointer-events:auto;transition:background-color .12s}.static-result-value.looped:hover,.static-result-value.looped.active{background:var(--sheet-control-hover-bg)}.static-result-value.looped:focus-visible{outline-offset:2px;background:var(--sheet-control-hover-bg);outline:1px solid}.static-result-bracket{color:var(--text-editor-expression)}.loop-result-history-popover{z-index:120;border:1px solid var(--menu-border);width:min(210px,100vw - 16px);color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:blur(12px);font-family:var(--font-editor);font-variant-numeric:tabular-nums;letter-spacing:0;scrollbar-width:none;border-radius:8px;padding:5px;font-size:13px;line-height:1;position:fixed;overflow:hidden auto}.loop-result-history-popover::-webkit-scrollbar{display:none}.loop-result-history-row{grid-template-columns:minmax(24px,auto) minmax(0,1fr);align-items:center;gap:18px;min-height:27px;padding:0 9px;display:grid}.loop-result-history-row+.loop-result-history-row{border-top:1px solid var(--menu-divider)}.loop-result-history-index{color:var(--text-editor-looped-number);text-align:left}.loop-result-history-value{color:var(--text-editor-number);text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.loop-result-history-value.error,.loop-result-history-value.loading{color:var(--text-editor-error)}.loop-result-history-value.empty{color:#0000}.section-sort-button{width:var(--result-control-size);height:var(--result-control-size);margin-top:calc((var(--row-height) - var(--result-control-size)) / 2);border-radius:var(--icon-button-radius);color:var(--line-number-color);cursor:pointer;pointer-events:auto;background:0 0;border:0;place-items:center;margin-left:auto;padding:0;display:grid}.section-sort-button:hover,.section-sort-button:focus-visible,.section-sort-button:active{color:var(--line-number-active);background:0 0}.section-sort-button:focus-visible{outline:1px solid var(--titlebar-control-secondary-foreground);outline-offset:1px}.section-sort-icon{width:14px;height:14px;transform:translate(-2px)}.loop-results{z-index:1;grid-template-rows:minmax(0, 1fr) var(--loop-sidebar-footer-height);width:var(--loop-sidebar-width);background:var(--bg-results);will-change:transform;min-height:0;transition:grid-template-rows .26s cubic-bezier(.22,1,.36,1),transform .18s;display:grid;position:absolute;top:0;bottom:0;right:0;overflow:hidden;transform:translate(0)}.loop-results.variables-expanded{grid-template-rows:minmax(0, 1fr) var(--loop-sidebar-variables-drawer-height)}.looper-shell.loop-variables-drawer-resizing,.looper-shell.loop-variables-drawer-resizing *{-webkit-user-select:none;user-select:none;cursor:row-resize!important}.looper-shell.loop-variables-drawer-resizing .loop-results{transition:none}.looper-shell[data-header-presentation=integrated] .native-editor-panel:after,.looper-shell[data-header-presentation=integrated] .loop-results:before{content:"";z-index:20;height:var(--integrated-header-fade-end);pointer-events:none;position:absolute;top:0;left:0;right:0}.looper-shell[data-header-presentation=integrated] .native-editor-panel:after{background:linear-gradient(to bottom, var(--bg-editor-opaque) var(--integrated-header-fade-solid-end), transparent var(--integrated-header-fade-end))}.looper-shell[data-header-presentation=integrated] .loop-results:before{background:linear-gradient(to bottom, var(--bg-results-opaque) var(--integrated-header-fade-solid-end), transparent var(--integrated-header-fade-end))}.native-workspace.results-hidden .loop-results{pointer-events:none;transform:translate(100%)}.loop-results-list{min-width:150px;min-height:0;padding:var(--editor-top-inset) var(--loop-sidebar-x-inset) 12px;font-family:var(--font-editor);font-size:var(--editor-font-size);font-variant-numeric:tabular-nums;letter-spacing:0;line-height:var(--row-height);overflow:auto}.loop-header-row{color:var(--text-editor-subtitle);white-space:nowrap;align-items:center;display:flex}.loop-header-label-button{height:calc(var(--row-height) - 4px);color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;white-space:nowrap;cursor:default;background:0 0;border:0;border-radius:5px;align-items:center;margin-left:-5px;padding:0 5px;display:inline-flex}.loop-header-label-button:hover,.loop-header-label-button.active{background:var(--sheet-control-hover-bg)}.loop-header-label-button:focus-visible{outline-offset:1px;background:var(--sheet-control-hover-bg);outline:1px solid}.loop-result-row{grid-template-columns:minmax(0,7fr) minmax(0,3fr);align-items:center;column-gap:16px;display:grid}.loop-variable-trigger{width:calc(100% + 10px);height:calc(var(--row-height) - 4px);color:inherit;font:inherit;font-variant-numeric:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;cursor:default;background:0 0;border:0;border-radius:5px;margin:2px -5px;padding:0 5px}.loop-variable-trigger:hover,.loop-variable-trigger.active{background:var(--sheet-control-hover-bg)}.loop-variable-trigger:active{background:var(--sheet-control-pressed-bg)}.loop-variable-trigger:focus-visible{outline-offset:1px;background:var(--sheet-control-hover-bg);outline:1px solid}.loop-variable-sidebar-menu{z-index:120;border:1px solid var(--menu-border);width:190px;color:var(--menu-text);background:var(--menu-surface);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:blur(12px);-webkit-app-region:no-drag;border-radius:8px;padding:5px;display:grid;position:fixed}.loop-result-label{min-width:0;color:var(--text-editor-variable);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.loop-result-label.loop-identity{color:var(--text-editor-looped-number)}.result-value{min-width:0;color:var(--text-editor-number);text-align:right;text-overflow:ellipsis;white-space:nowrap;justify-self:end;overflow:hidden}.static-result-value.looped{color:var(--text-editor-looped-number)}.result-value.error,.static-result-value.error,.result-value.loading,.static-result-value.loading{color:var(--text-editor-error)}.result-spinner{vertical-align:-.04em;border:1.5px solid;border-right-color:#0000;border-radius:50%;width:.72em;height:.72em;animation:.7s linear infinite result-spinner-rotation;display:inline-block}@keyframes result-spinner-rotation{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.result-spinner{border-style:dotted;animation:none}}.result-value.empty,.static-result-value.empty{color:#0000}.loop-result-spacer{height:var(--result-spacing)}.sidebar-settings{border-top:1px solid var(--divider-results);font-family:var(--font-system);font-variant-numeric:normal;margin-top:2px;padding-top:18px}.syntax-variable{color:var(--text-editor-variable)}.syntax-global-variable{color:var(--text-editor-global-variable)}.global-reference{cursor:alias;pointer-events:auto;border-radius:2px;transition:background-color .1s,box-shadow .1s}.syntax-global-variable.global-reference:hover{background:color-mix(in srgb, var(--text-editor-global-variable) 14%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--text-editor-global-variable) 14%, transparent)}.syntax-error.global-reference:hover{background:color-mix(in srgb, var(--text-editor-error) 12%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--text-editor-error) 12%, transparent)}.syntax-subtitle{color:var(--text-editor-subtitle)}.syntax-user-function{color:var(--text-editor-user-function-name)}.syntax-expression{color:var(--text-editor-expression)}.syntax-comment{color:var(--text-editor-comment)}.syntax-operator{color:var(--text-editor-operator)}.syntax-paren{color:var(--text-editor-parenthesis)}.syntax-number{color:var(--text-editor-number)}.syntax-reserved{color:var(--text-editor-reserved-word)}.syntax-loop{color:var(--text-editor-looped-number)}.syntax-stock{color:var(--text-editor-stock-symbol)}.syntax-error{color:var(--text-editor-error)}.screen-reader-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:#80808061;background-clip:padding-box;border:3px solid #0000;border-radius:999px}.scrollbar-on-scroll{scrollbar-color:transparent transparent}.scrollbar-on-scroll.scrollbar-active{scrollbar-color:#80808061 transparent}.scrollbar-on-scroll::-webkit-scrollbar-thumb{background-color:#0000}.scrollbar-on-scroll.scrollbar-active::-webkit-scrollbar-thumb{background-color:#80808061}@media (max-width:1040px){.native-editor-panel{--static-results-width:clamp(135px, 30%, 220px);grid-template-columns:minmax(365px,1fr)}}
