@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&family=IBM+Plex+Mono:wght@400;450;500&display=swap');
:root{color-scheme:dark;--bg:#111415;--sidebar:#151819;--panel:#191d1e;--panel-2:#1d2223;--panel-hover:#252b2a;--editor:#15191a;--border:#2b3030;--text:#edf0eb;--muted:#969e99;--quiet:#727d76;--accent:#c6f579;--accent-dark:#16210d;--accent-wash:#242d1d;--blue:#8cb9f2;--purple:#bca5e8;--orange:#e9bd7e;--red:#f29097;--radius:12px;--editor-font:14px;--sans:'DM Sans',system-ui,sans-serif;--heading:'Manrope','DM Sans',system-ui,sans-serif;--mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Consolas,monospace}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--sans);font-size:16px;background:var(--bg);color:var(--text)}body{overflow:hidden}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button svg,a svg{flex-shrink:0}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--heading)}button{font-size:.875rem}kbd{font:12px var(--sans);border:1px solid var(--border);border-radius:4px;padding:3px 5px;white-space:nowrap;color:var(--muted)}::selection{background:#526e31;color:white}#constellation{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:.42}.app-shell{display:flex;position:relative;z-index:1;height:100dvh}.sidebar{width:232px;min-width:232px;height:100%;background:var(--sidebar);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:27px 18px 0;z-index:20}.brand{font:650 27px var(--heading);display:flex;align-items:center;gap:10px;letter-spacing:-1.4px;padding-left:8px;margin-bottom:30px}.brand-weight{font-weight:400}.brand-period{color:var(--accent)}.workspace-switch{display:flex;align-items:center;gap:10px;padding:11px 9px;background:var(--panel-2);border:1px solid var(--border);border-radius:8px;width:100%;margin-bottom:30px;text-align:left}.workspace-switch strong{font-size:.8125rem;font-weight:550;white-space:nowrap}.workspace-switch small{display:block;font-size:.75rem;color:var(--muted);margin-top:3px}.workspace-avatar{width:29px;height:31px;display:grid;place-items:center;border-radius:6px;background:#333b30;color:var(--accent);font:600 16px var(--heading)}.workspace-chevron{margin-left:auto;color:var(--muted)}.workspace-chevron svg{width:15px}.nav-label{font-size:.6875rem;font-weight:600;letter-spacing:1.3px;color:var(--quiet);padding:0 12px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;min-height:20px}.main-nav{display:flex;flex-direction:column;gap:5px}.main-nav a{font-size:.875rem;font-weight:500;color:var(--muted);height:44px;display:flex;align-items:center;gap:11px;padding:0 12px;border-radius:7px;transition:background .15s,color .15s}.main-nav a:hover{background:var(--panel-hover);color:var(--text)}.main-nav a.active{background:#283122;color:var(--accent)}.main-nav a svg{width:18px;height:18px}.nav-count{margin-left:auto;border-radius:5px;background:#3a462c;font-size:12px;padding:2px 6px;min-width:20px;text-align:center}.small-new{font-size:.5625rem;letter-spacing:.6px;border:1px solid #354132;color:#b6c99c;border-radius:4px;padding:2px 5px;margin-left:auto}.recent-label{margin-top:31px;margin-bottom:6px}.recent-label .icon-button{width:24px;height:24px;min-height:24px}.recent-label svg{width:15px}.sidebar-scripts{max-height:190px;overflow:auto}.sidebar-script{display:flex;gap:10px;width:100%;padding:10px 12px;color:var(--muted);background:transparent;text-align:left;align-items:center;border-radius:6px;min-height:40px}.sidebar-script:hover,.sidebar-script.active{color:var(--text);background:var(--panel-2)}.sidebar-script .tiny-file{font:500 10px var(--mono);color:#a5ae98;border:1px solid #4b5347;border-radius:3px;padding:2px}.sidebar-script>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem}.sidebar-script .script-selected{width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:auto;flex-shrink:0}.sidebar-bottom{margin-top:auto;padding-top:25px}.secondary-nav{margin-bottom:20px}.device-card{padding:15px 12px;background:linear-gradient(130deg,#242b20,var(--panel));border:1px solid #333c2d;border-radius:9px}.device-card>div{display:flex;align-items:center;gap:8px}.device-card svg{width:17px;height:17px;color:#b6d497}.device-card strong{font-size:.75rem;font-weight:500}.device-card p{font-size:.75rem;line-height:1.65;color:var(--muted);margin:8px 0 12px}.device-card button{font-size:.75rem;background:transparent;padding:0;color:#ccddba;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:24px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);margin:20px -18px 0;padding:17px 19px;min-height:75px}.avatar,.topbar-avatar{display:grid;place-items:center;border-radius:50%;background:#3b3630;color:#ead5bb;font-size:11px;font-weight:650;flex-shrink:0}.avatar{width:34px;height:34px;border:3px solid #514b40}.profile strong{font-size:.8125rem;font-weight:500}.profile small{display:block;color:var(--muted);font-size:.6875rem;margin-top:3px}.profile-gear{margin-left:auto;color:var(--quiet)}.profile-gear svg{width:17px}.app-body{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:72px;min-height:72px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:rgba(19,23,23,.88);gap:20px}.breadcrumbs{display:flex;align-items:center;gap:14px;font-size:.8125rem;color:var(--muted);white-space:nowrap}.breadcrumbs>span:first-child svg{width:17px;color:var(--quiet)}.breadcrumbs strong{font-weight:500;color:#d8ddd6}.crumb-slash{color:#515a53}.topbar-actions{display:flex;align-items:center;gap:14px}.search-trigger{display:flex;align-items:center;gap:9px;background:transparent;color:var(--quiet);font-size:.8125rem;padding:5px}.search-trigger svg{width:17px}.search-trigger kbd{margin-left:38px;font-size:10px}.topbar-separator{height:22px;width:1px;background:var(--border);margin:0 2px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:7px;border-radius:6px;background:transparent;color:var(--muted);flex-shrink:0;transition:background .15s,color .15s}.icon-button svg{width:18px;height:18px}.icon-button:hover{background:var(--panel-hover);color:var(--text)}.topbar-avatar{width:29px;height:29px;border:2px solid #5c5544;margin-left:5px}.mobile-menu{display:none}main{flex:1;min-height:0;overflow:auto;padding:33px 32px 0;scroll-behavior:smooth}.view{max-width:1550px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:.6875rem;color:var(--accent);letter-spacing:1.8px;font-weight:600;margin-bottom:9px;display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;background:var(--accent);border-radius:50%}.page-heading h1{font-size:30px;letter-spacing:-1.15px;font-weight:650;line-height:1.25}.page-heading p{color:var(--muted);font-size:.875rem;margin-top:9px}.page-actions{display:flex;align-items:center;gap:10px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 15px;min-height:40px;border-radius:7px;border:1px solid var(--border);background:var(--panel);font-weight:500;font-size:.8125rem;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .15s}.btn svg{width:16px;height:16px}.btn:hover{background:var(--panel-hover);border-color:#46513e}.btn.primary{background:var(--accent);color:var(--accent-dark);border-color:var(--accent);box-shadow:0 2px 0 rgba(0,0,0,.1)}.btn.primary:hover{background:#d8ff9d;box-shadow:0 0 18px #c6f57917}.btn.ghost{background:transparent}.btn.danger{color:var(--red);border-color:#693e43;background:#3c272b}.btn.small{min-height:32px;padding:6px 12px;font-size:.75rem}.template-banner{display:flex;align-items:center;gap:15px;border:1px solid #34402c;border-radius:10px;padding:17px 21px;margin-bottom:28px;background:linear-gradient(105deg,rgba(36,47,28,.96),rgba(24,30,24,.7) 65%,rgba(37,49,31,.9));position:relative;overflow:hidden}.template-banner:after{content:'</>';position:absolute;font:500 88px var(--mono);right:180px;top:-22px;color:#97c36a0b;letter-spacing:-12px;transform:rotate(-12deg);pointer-events:none}.banner-icon{width:40px;height:40px;display:grid;place-items:center;background:#314024;border:1px solid #4a5b38;border-radius:10px;color:var(--accent);flex-shrink:0}.banner-icon svg{width:22px;height:22px}.template-banner h2{font-size:.875rem;font-family:var(--sans);font-weight:550}.template-banner p{font-size:.8125rem;color:#9aa890;margin-top:5px}.template-banner .btn{margin-left:auto;background:#283421;border-color:#455636;color:#d2e8bd;z-index:1}.section-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:15px}.section-tabs{display:flex;gap:25px}.section-tab{padding:0 0 11px;background:transparent;font-size:.875rem;color:var(--muted);display:flex;align-items:center;gap:8px;border-bottom:2px solid transparent}.section-tab.active{color:var(--text);border-color:var(--accent)}.section-tab svg{width:16px}.section-bar .meta{font-size:.75rem;color:var(--quiet);margin-bottom:8px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:20px;align-items:start}.editor-card{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--editor);min-width:0}.editor-filebar{display:flex;height:47px;align-items:center;background:var(--panel);border-bottom:1px solid var(--border);padding-right:12px;gap:7px}.file-tab{height:100%;display:flex;align-items:center;gap:9px;padding:0 16px;border-right:1px solid var(--border);border-top:2px solid var(--accent);background:var(--editor);font-size:.75rem;min-width:0}.file-tab span:nth-child(2){text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:230px}.js-icon{font:500 10px var(--mono);background:#3b3e23;color:#e7d976;width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;flex-shrink:0}.saved-state{color:var(--quiet);font-size:.6875rem;display:flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap}.saved-state svg{width:13px;height:13px;color:#95b078}.editor-toolbar{height:48px;padding:0 13px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #272e2a}.runtime-label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.75rem}.runtime-label svg{width:15px;height:15px}.toolbar-divider{height:18px;width:1px;background:var(--border);margin:0 6px}.editor-toolbar .run-btn{margin-left:auto;min-width:80px}.run-btn kbd{border-color:#93b65a;color:#354a1c;font-size:10px;padding:1px 4px;margin-left:3px}.editor-wrap{position:relative;min-height:325px;height:37vh;max-height:480px;display:flex;overflow:hidden;--line-height:25px;font-size:var(--editor-font);line-height:var(--line-height);font-family:var(--mono);background:var(--editor)}.line-numbers{width:49px;flex-shrink:0;text-align:right;color:#515d56;padding:19px 13px 24px 0;white-space:pre;overflow:hidden;font:inherit;line-height:inherit;user-select:none;background:var(--editor);z-index:1}.code-container{position:relative;flex:1;min-width:0}.code-highlight,.code-input{position:absolute;inset:0;margin:0;padding:19px 22px 24px 3px;border:0;white-space:pre;tab-size:2;font-family:var(--mono);font-size:var(--editor-font);line-height:var(--line-height);letter-spacing:0;font-variant-ligatures:none;overflow:auto;text-align:left;outline:0!important;border-radius:0}.code-highlight{pointer-events:none;color:#d0d9d2;scrollbar-width:none}.code-highlight::-webkit-scrollbar{display:none}.code-input{resize:none;color:transparent;background:transparent;caret-color:var(--accent);-webkit-text-fill-color:transparent;-webkit-overflow-scrolling:touch}.code-input::selection{background:#647f483d;-webkit-text-fill-color:transparent}.token-comment{color:#667d68;font-style:italic}.token-string{color:#b6d897}.token-keyword{color:#b6a4df}.token-number{color:#dfa76e}.token-function{color:#9cbfd4}.editor-status{height:30px;border-top:1px solid var(--border);display:flex;align-items:center;padding:0 13px;font-size:10px;color:var(--quiet);gap:15px;font-family:var(--mono)}.editor-status span:first-child{display:flex;align-items:center;gap:5px;margin-right:auto}.editor-status svg{width:12px;height:12px}.console{border-top:1px solid var(--border);background:#141818}.console-heading{height:44px;display:flex;align-items:center;gap:10px;padding:0 15px;font-size:.75rem;font-weight:500;border-bottom:1px solid #222927}.console-heading>svg{width:16px;height:16px;color:var(--muted)}.console-heading .console-count{font:10px var(--mono);background:var(--panel-2);color:var(--muted);border-radius:4px;padding:2px 5px}.console-heading .console-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.console-heading .icon-button{width:26px;height:26px;min-height:26px;padding:5px}.console-heading .icon-button svg{width:14px;height:14px}.console-body{height:155px;overflow:auto;padding:14px 16px;font:11px/1.7 var(--mono)}.console-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--quiet);gap:8px}.console-empty>svg{width:22px;height:22px;color:#56654e}.console-empty p{font:12px var(--sans);color:var(--muted)}.console-empty small{font:11px var(--sans);color:var(--quiet)}.log-entry{display:flex;gap:12px;align-items:flex-start;padding:4px 0;border-bottom:1px solid #242b2645}.log-time{color:var(--quiet);font-size:10px;white-space:nowrap;padding-top:1px}.log-text{color:#c6d1c5;white-space:pre-wrap;word-break:break-word}.log-entry.error .log-text{color:var(--red)}.log-entry.warn .log-text{color:var(--orange)}.log-entry.success .log-text{color:var(--accent)}.run-badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;font-size:10px;padding:3px 6px;background:#283322;color:var(--accent);line-height:1.2}.run-badge svg{width:11px;height:11px}.run-badge.error,.run-badge.timeout{background:#3d282a;color:var(--red)}.run-badge.stopped{background:#383124;color:var(--orange)}.run-badge.running{background:#273243;color:var(--blue)}.details-stack{display:flex;flex-direction:column;gap:16px}.detail-card{background:rgba(25,29,29,.92);border:1px solid var(--border);border-radius:10px;padding:18px}.detail-card h2{font-family:var(--sans);font-size:.8125rem;font-weight:550;display:flex;align-items:center;gap:8px}.detail-card h2 svg{width:16px;height:16px;color:var(--muted)}.detail-card p{color:var(--muted);font-size:.75rem;line-height:1.7;margin-top:12px}.detail-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.detail-title .icon-button{width:24px;height:24px;min-height:24px;padding:4px}.script-description{min-height:39px}.detail-list{margin:20px 0 0;display:flex;flex-direction:column;gap:14px}.detail-list>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.75rem}.detail-list dt{color:var(--quiet);display:flex;gap:7px;align-items:center}.detail-list dt svg{width:13px;height:13px}.detail-list dd{margin:0;color:var(--muted)}.detail-list dd.language{color:#d3ca8f}.detail-card .card-separator{height:1px;background:var(--border);margin:18px 0 14px}.detail-card .detail-link{background:transparent;padding:0;min-height:26px;color:var(--muted);display:flex;align-items:center;gap:7px;font-size:.75rem}.detail-link svg{width:14px;height:14px}.detail-card.note-card{background:linear-gradient(130deg,#20291c,var(--panel));border-color:#303b29}.note-card .note-eyebrow{font-size:.625rem;color:#a6c47f;letter-spacing:1.1px;display:flex;align-items:center;gap:6px}.note-eyebrow svg{width:13px;height:13px}.note-card h2{font-family:var(--heading);font-size:1rem;line-height:1.4;margin-top:10px;letter-spacing:-.2px}.note-card p{color:#9ca792;font-size:.75rem;line-height:1.7;margin-top:8px}.note-card .btn{margin-top:15px;width:100%;background:#2c3823;border-color:#455638;color:#ccdfb5}.shortcut-row{display:flex;justify-content:space-between;margin-top:14px;font-size:.75rem;color:var(--muted);align-items:center}.shortcut-row kbd{font-size:10px;background:var(--editor)}.workspace-footer{max-width:1550px;margin:27px auto 0;padding-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--quiet);font-size:.625rem}.workspace-footer>span{display:flex;align-items:center;gap:7px}.local-dot{width:5px;height:5px;border-radius:50%;background:#62794b}.workspace-footer a:hover{color:var(--text)}.toolbar-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:24px}.search-input-wrap{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:7px;background:var(--panel);padding:0 13px;min-width:250px}.search-input-wrap svg{width:17px;color:var(--quiet)}.search-input-wrap input{background:transparent;border:0;outline:none;color:var(--text);padding:12px 0;font-size:.875rem;width:100%;min-width:0}.search-input-wrap input:focus-visible{outline:0}.filter-list{display:flex;gap:6px}.filter-chip{padding:9px 14px;font-size:.8125rem;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted)}.filter-chip:hover{background:var(--panel-hover)}.filter-chip.active{background:var(--accent-wash);border-color:#415234;color:var(--accent)}.template-grid,.scripts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.template-card{border:1px solid var(--border);border-radius:12px;background:var(--panel);padding:23px;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}.template-card:hover{transform:translateY(-3px);border-color:#5b6b4a}.template-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #46523d;background:#2c3724;border-radius:10px;color:var(--accent);margin-bottom:23px}.template-card:nth-child(3n+2) .template-icon{background:#282e3b;border-color:#3e4e65;color:var(--blue)}.template-card:nth-child(3n+3) .template-icon{background:#302a3b;border-color:#4f425f;color:var(--purple)}.template-card h2{font-size:1rem;font-weight:600;margin-bottom:9px;letter-spacing:-.2px}.template-card p{font-size:.8125rem;color:var(--muted);line-height:1.7;flex:1}.template-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:27px;gap:10px}.category-tag{font-size:.6875rem;color:var(--quiet);border:1px solid var(--border);border-radius:4px;padding:4px 7px}.template-card .btn{font-size:.75rem}.scripts-grid .template-card{min-height:230px}.script-card-top{display:flex;justify-content:space-between;align-items:start}.script-card-top .template-icon{margin-bottom:18px}.script-meta{font-size:.6875rem;color:var(--quiet);display:flex;align-items:center;gap:5px}.script-meta svg{width:13px;height:13px}.empty-state{border:1px dashed var(--border);border-radius:12px;padding:65px 25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:300px}.empty-state>svg{width:37px;height:37px;color:var(--accent);margin-bottom:22px}.empty-state h2{font-size:1.25rem;font-weight:600;letter-spacing:-.5px}.empty-state p{font-size:.875rem;color:var(--muted);max-width:440px;line-height:1.7;margin-top:12px}.empty-state .btn{margin-top:23px}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.stat-card{padding:20px;border:1px solid var(--border);background:var(--panel);border-radius:10px}.stat-card p{font-size:.8125rem;color:var(--muted);display:flex;align-items:center;gap:8px}.stat-card p svg{width:16px;height:16px}.stat-card strong{font-family:var(--heading);font-size:29px;font-weight:550;display:block;margin-top:13px}.stat-card .stat-label{font:12px var(--sans);color:var(--quiet);margin-left:7px}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--panel)}table{border-collapse:collapse;width:100%;font-size:.8125rem;text-align:left}th{color:var(--quiet);font-size:.6875rem;font-weight:500;letter-spacing:.5px;padding:16px 18px;background:var(--panel-2);border-bottom:1px solid var(--border);white-space:nowrap}td{padding:18px;border-bottom:1px solid var(--border);white-space:nowrap}tr:last-child td{border-bottom:0}td .script-cell{display:flex;align-items:center;gap:10px}td.muted{color:var(--muted)}td .run-badge{font-size:.6875rem;padding:5px 7px}.history-title{font-weight:500}.docs-layout{display:grid;grid-template-columns:210px 1fr;gap:30px}.docs-nav{display:flex;flex-direction:column;gap:5px;align-self:start;position:sticky;top:0}.docs-nav button{text-align:left;background:transparent;border-radius:6px;padding:12px;color:var(--muted);font-size:.8125rem}.docs-nav button.active{color:var(--accent);background:var(--accent-wash)}.docs-content{padding:32px;max-width:850px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.docs-content h2{font-size:1.4rem;margin-bottom:20px}.docs-content h3{font-size:1rem;margin-top:30px;margin-bottom:12px}.docs-content p,.docs-content li{font-size:.875rem;color:var(--muted);line-height:1.85;margin-bottom:15px}.docs-content code{font:12px var(--mono);color:var(--accent);background:var(--editor);padding:2px 5px;border-radius:3px}.docs-content pre{background:var(--editor);padding:20px;overflow:auto;border-radius:7px;margin:20px 0;line-height:1.7}.docs-content pre code{padding:0}.docs-content a{color:var(--accent);text-decoration:underline}.docs-content ul,.docs-content ol{padding-left:22px}.settings-layout{max-width:850px;display:flex;flex-direction:column;gap:22px}.settings-card{padding:25px 28px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.settings-card h2{display:flex;align-items:center;gap:10px;font-size:1rem;margin-bottom:12px}.settings-card h2 svg{width:19px;color:var(--accent)}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:19px 0;border-bottom:1px solid var(--border)}.setting-row:last-child{border-bottom:0;padding-bottom:0}.setting-row label,.setting-row strong{font-size:.875rem;font-weight:500;display:block}.setting-row p{color:var(--muted);font-size:.8125rem;line-height:1.65;margin-top:5px}.setting-row select{min-width:140px;padding:10px 33px 10px 13px;border:1px solid var(--border);border-radius:6px;background:var(--editor);color:var(--text);font-size:.8125rem}.setting-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent)}.setting-row .btn{flex-shrink:0}.settings-note{color:var(--muted);font-size:.8125rem;line-height:1.8}.settings-note strong{color:var(--text);font-weight:500}.storage-meter{height:5px;border-radius:3px;background:var(--editor);margin-top:16px;overflow:hidden}.storage-meter>span{display:block;background:var(--accent);height:100%;width:0}.mobile-menu,.sidebar-shade{display:none}dialog{background:var(--panel);color:var(--text);border:1px solid #3d4739;border-radius:14px;padding:0;width:min(520px,calc(100% - 32px));box-shadow:0 25px 80px #0008;max-height:90dvh;overflow:auto}dialog::backdrop{background:#070b09bd;backdrop-filter:blur(6px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:22px 25px 15px;gap:15px}.modal-header h2{font-size:1.125rem;font-weight:600}.modal-body{padding:0 25px 24px}.modal-body p{color:var(--muted);font-size:.875rem;line-height:1.7}.modal-body label{display:block;font-size:.8125rem;margin-top:18px;margin-bottom:8px}.field-input{width:100%;padding:11px 13px;color:var(--text);background:var(--editor);border:1px solid var(--border);border-radius:6px;font-size:.875rem}.modal-body textarea.field-input{min-height:85px;resize:vertical}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.modal-hint{font-size:.75rem!important;color:var(--quiet)!important;margin-top:10px}.dialog-error{margin-top:12px;color:var(--red)!important}.command-search{display:flex;align-items:center;gap:13px;padding:20px 22px;border-bottom:1px solid var(--border)}.command-search input{width:100%;border:0;outline:none;background:transparent;color:var(--text);font-size:1rem}.command-search input:focus-visible{outline:none}.command-search svg{color:var(--accent)}.command-results{padding:10px;max-height:360px;overflow:auto}.command-result{display:flex;width:100%;align-items:center;gap:12px;padding:12px;border-radius:6px;background:transparent;text-align:left;font-size:.875rem}.command-result:hover{background:var(--panel-hover)}.command-result svg{color:var(--muted);width:18px}.command-result small{margin-left:auto;font-size:.6875rem;color:var(--quiet)}.command-footer{padding:13px 22px;border-top:1px solid var(--border);font-size:.75rem;color:var(--quiet)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:#2c3626;color:#e1edcf;border:1px solid #506343;border-radius:8px;padding:13px 22px;z-index:100;font-size:.8125rem;box-shadow:0 8px 35px #0005;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 32px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.skip-link{position:fixed;top:-70px;left:240px;background:var(--accent);color:var(--accent-dark);padding:12px 20px;z-index:100;border-radius:0 0 8px 8px}.skip-link:focus{top:0}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#3b453d;border-radius:6px}::-webkit-scrollbar-track{background:transparent}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.fade-in{animation:fadein .25s ease-out}@keyframes fadein{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
[data-theme=light]{color-scheme:light;--bg:#f1f4ee;--sidebar:#fafcf7;--panel:#fff;--panel-2:#f4f7f0;--panel-hover:#e9efdf;--editor:#fcfdf9;--border:#dce3d4;--text:#20291b;--muted:#63705a;--quiet:#7b8772;--accent:#477b1d;--accent-dark:#fff;--accent-wash:#e5efd9;--red:#b03545;--blue:#3b66a5;--purple:#7950a8;--orange:#a86c25}[data-theme=light] .topbar{background:#fafcf7eb}[data-theme=light] .breadcrumbs strong{color:var(--text)}[data-theme=light] .main-nav a.active{background:#e5efd9}[data-theme=light] .nav-count{background:#d2e4be}[data-theme=light] .template-banner{background:linear-gradient(105deg,#e7efd9,#f7faf1);border-color:#cfddbe}[data-theme=light] .template-banner p{color:#627453}[data-theme=light] .template-banner .btn{color:#476429;background:#e4efd6;border-color:#bacc9f}[data-theme=light] .banner-icon{background:#dae8c6;border-color:#bfcea9}[data-theme=light] .detail-card{background:var(--panel)}[data-theme=light] .note-card,[data-theme=light] .device-card{background:linear-gradient(130deg,#e8efde,#f7faf3);border-color:#d1ddc3}[data-theme=light] .note-card .btn{background:#d9e7c8;color:#47632e;border-color:#bed0a7}[data-theme=light] .note-card p{color:#69775b}[data-theme=light] .console{background:#f8faf4}[data-theme=light] .console-heading,[data-theme=light] .editor-toolbar{border-color:var(--border)}[data-theme=light] .code-highlight{color:#3d4b35}[data-theme=light] .token-comment{color:#8a957d}[data-theme=light] .token-string{color:#608c36}[data-theme=light] .token-keyword{color:#8960b3}[data-theme=light] .token-number{color:#ad7225}[data-theme=light] .token-function{color:#347391}[data-theme=light] .log-text{color:#445739}[data-theme=light] .template-icon{background:#e9f1dd;border-color:#d6e1c9}[data-theme=light] .detail-list dd.language{color:#998323}[data-theme=light] .device-card button{color:#587438}[data-theme=light] .run-badge{background:#dfedcf;color:#437023}[data-theme=light] .btn.primary:hover{background:#5b902e}[data-theme=light] .run-btn kbd{color:white;border-color:#80aa5f}
@media(min-width:1600px){main{padding:40px 45px 0}.topbar{padding:0 45px}.editor-layout{grid-template-columns:minmax(0,1fr) 290px}.editor-wrap{height:43vh}.detail-card{padding:22px}.page-heading h1{font-size:34px}.sidebar{width:247px;min-width:247px}}
@media(max-width:1250px){.sidebar{width:211px;min-width:211px;padding-left:13px;padding-right:13px}.profile{margin-left:-13px;margin-right:-13px;padding-left:15px;padding-right:15px}.workspace-switch{gap:7px;padding-left:7px;padding-right:7px}.workspace-switch strong{font-size:.75rem}.workspace-switch small{font-size:.6875rem}.device-card{padding:13px 10px}.device-card strong{font-size:.6875rem}.topbar{padding:0 24px}.topbar-actions{gap:9px}.search-trigger kbd{margin-left:12px}main{padding:28px 24px 0}.editor-layout{grid-template-columns:minmax(0,1fr) 225px;gap:16px}.detail-card{padding:16px}.page-heading h1{font-size:27px}.template-grid,.scripts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .breadcrumbs{gap:10px}.editor-wrap{--line-height:24px}.code-input,.code-highlight{padding-right:14px}.workspace-footer{font-size:.5625rem}}
@media(max-width:1050px){.editor-layout{grid-template-columns:minmax(0,1fr)}.details-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.details-stack .shortcuts-card{display:none}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-list>div{display:block}.detail-list dd{margin-top:5px}.detail-card .script-description{min-height:0}.note-card .btn{width:auto}.search-trigger span{display:none}.search-trigger kbd{display:none}.topbar-actions{gap:8px}.page-actions{gap:6px}.page-heading{gap:12px}.page-heading p{font-size:.8125rem}.template-banner{padding:15px}.template-banner p{font-size:.75rem}.template-banner .btn{padding:8px 10px;font-size:.75rem}.editor-wrap{height:350px}.docs-layout{grid-template-columns:170px 1fr;gap:20px}.docs-content{padding:24px}.device-card{margin-top:6px}.workspace-footer{align-items:flex-start}.workspace-footer a{max-width:240px;text-align:right;line-height:1.5}}
@media(max-width:760px){.sidebar{position:fixed;left:0;top:0;width:240px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar.open+.sidebar-shade{display:block;position:fixed;inset:0;background:#0009;z-index:15;backdrop-filter:blur(2px)}.mobile-menu{display:flex}.topbar{height:62px;min-height:62px;padding:0 17px;gap:12px}.breadcrumbs{margin-right:auto;gap:9px;font-size:.75rem}.breadcrumbs>span:first-child,.topbar-separator,.topbar-actions>button[aria-label='Keyboard shortcuts'],.topbar-actions>a{display:none}.topbar-actions{gap:10px}.search-trigger{padding:8px;min-height:40px}.topbar-avatar{width:28px;height:28px;margin-left:0}main{padding:25px 18px 0}.page-heading{align-items:start;flex-wrap:wrap;margin-bottom:23px;gap:19px}.page-heading h1{font-size:27px}.page-heading p{font-size:.875rem;line-height:1.55}.page-actions{gap:8px}.page-actions .btn{min-height:42px}.eyebrow{font-size:10px}.template-banner{gap:12px;flex-wrap:wrap;margin-bottom:23px}.template-banner p{font-size:.75rem;line-height:1.6}.template-banner .btn{margin-left:52px;min-height:36px;margin-top:0}.banner-icon{width:39px;height:39px}.template-banner>div:nth-child(2){max-width:calc(100% - 52px)}.template-banner:after{right:10px;top:30px}.editor-layout{gap:16px}.editor-filebar{height:47px}.file-tab{padding:0 11px;font-size:.6875rem}.file-tab span:nth-child(2){max-width:160px}.saved-state{font-size:10px;margin-left:auto}.editor-filebar>.icon-button{display:none}.editor-toolbar{padding:0 10px;gap:5px}.editor-toolbar .runtime-label{font-size:.6875rem}.editor-toolbar .icon-button{width:30px}.editor-toolbar .toolbar-divider{margin:0 2px}.run-btn kbd{display:none}.editor-toolbar .run-btn{min-width:75px;min-height:34px}.editor-wrap{height:330px;font-size:var(--editor-font);--line-height:25px}.line-numbers{width:38px;padding-right:10px}.code-highlight,.code-input{padding-left:0}.editor-status{gap:12px;font-size:9px}.details-stack{grid-template-columns:minmax(0,1fr)}.detail-card.note-card{display:none}.detail-list{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-card{padding:18px}.detail-card .card-separator{margin:14px 0 10px}.console-body{height:168px}.workspace-footer{margin-top:25px;flex-direction:column;gap:10px;font-size:.625rem}.workspace-footer a{text-align:left;max-width:none}.section-tabs{gap:22px}.section-tab{font-size:.8125rem}.section-bar .meta{font-size:.6875rem}.template-grid,.scripts-grid{grid-template-columns:1fr}.template-card{padding:22px}.template-card .btn{min-height:40px}.toolbar-row{align-items:stretch;flex-direction:column}.filter-list{overflow:auto}.search-input-wrap{min-width:0}.filter-chip{flex:1;min-height:40px;padding:8px}.stats-row{gap:10px}.stat-card{padding:16px 12px}.stat-card p{font-size:.6875rem;gap:5px}.stat-card p svg{width:14px}.stat-card strong{font-size:24px}.stat-card .stat-label{font-size:10px;margin-left:4px}.table-wrap{margin:0 -1px}.docs-layout{grid-template-columns:1fr;gap:18px}.docs-nav{flex-direction:row;overflow:auto;position:relative}.docs-nav button{white-space:nowrap;font-size:.75rem;padding:12px}.docs-content{padding:23px}.settings-card{padding:22px 18px}.setting-row{gap:20px}.setting-row p{font-size:.75rem}.setting-row select{min-width:105px;max-width:130px;font-size:.75rem;padding:10px}.setting-row .btn{font-size:.75rem;padding:9px 10px}.skip-link{left:10px}.modal-header{padding-left:20px;padding-right:20px}.modal-body{padding-left:20px;padding-right:20px}.btn,.main-nav a,.sidebar-script,.icon-button{min-height:40px}.console-actions .icon-button{min-height:30px}.recent-label .icon-button{min-height:28px}.details-stack .detail-title .icon-button{min-height:30px}}
@media(max-width:390px){main{padding:23px 14px 0}.topbar{padding:0 12px}.topbar .breadcrumbs{gap:7px}.topbar-avatar{display:none}.page-heading h1{font-size:25px}.page-heading .page-actions{width:100%}.page-actions .btn{flex:1}.file-tab span:nth-child(2){max-width:135px}.saved-state{font-size:9px}.saved-state svg{display:none}.detail-list{gap:9px}.detail-list>div{font-size:11px}.editor-toolbar .toolbar-divider{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}#constellation{display:none}}[data-motion=off] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}[data-motion=off] #constellation{display:none}

.setting-row select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23969e99' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-size:16px;background-repeat:no-repeat;background-position:right 9px center;padding-right:32px}

.console-source{font-size:10px;color:var(--muted);max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:middle;margin-left:6px}

.sidebar{overflow-y:auto}.sidebar-scripts{flex-shrink:0}.sidebar-bottom,.sidebar>.brand,.sidebar>.workspace-switch,.sidebar>.nav-label,.sidebar>.main-nav{flex-shrink:0}
@media(max-height:830px){.sidebar .device-card{display:none}.sidebar-bottom{padding-top:12px}.sidebar .brand{margin-bottom:24px}.workspace-switch{margin-bottom:24px}.sidebar-scripts{max-height:130px}.secondary-nav{margin-bottom:8px}.profile{margin-top:15px}}
