:root {
  --bg:#080a09;--panel:#0e120f;--panel-2:#121713;--panel-3:#181e19;--line:rgba(255,255,255,.08);--line-strong:rgba(255,255,255,.14);
  --text:#f3f7f4;--muted:#8d978f;--muted-2:#626b64;--accent:#87f6a6;--accent-2:#4bd978;--accent-soft:rgba(135,246,166,.11);
  --danger:#ff6d79;--danger-soft:rgba(255,109,121,.1);--warning:#ffc66d;--sidebar:232px;--topbar:68px;--radius:15px;--shadow:0 25px 90px rgba(0,0,0,.55)
}
*{box-sizing:border-box}
html{min-width:320px;background:var(--bg);scroll-behavior:smooth}
body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(700px 430px at 68% -180px,rgba(78,192,111,.08),transparent 70%),var(--bg);color:var(--text);font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
button,input,textarea,select{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
button,a,label,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{border:0}a{color:inherit;text-decoration:none}
input,textarea,select{outline:0}
button:focus,input:focus,textarea:focus,select:focus,a:focus{outline:0}
button:focus-visible,a:focus-visible{box-shadow:0 0 0 2px var(--bg),0 0 0 4px rgba(135,246,166,.5)!important}
input:focus-visible,textarea:focus-visible,select:focus-visible{border-color:rgba(135,246,166,.48)!important;box-shadow:0 0 0 3px rgba(135,246,166,.07)!important}
::selection{color:#061008;background:var(--accent)}
::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:99px;background:#333a34;background-clip:padding-box}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:760;letter-spacing:-.02em;white-space:nowrap}.brand-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;color:#061008;background:var(--accent);box-shadow:0 0 28px rgba(135,246,166,.12)}.brand-mark svg{width:18px;height:18px;fill:currentColor;stroke:none}.brand em{color:var(--muted);font-style:normal;font-weight:550}
.sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:var(--sidebar);padding:18px 12px 16px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:rgba(12,15,13,.97);backdrop-filter:blur(18px)}.sidebar-top{height:40px;padding:0 7px;display:flex;align-items:center;justify-content:space-between}.sidebar-close{display:none}.workspace-card{display:grid;grid-template-columns:34px 1fr 8px;gap:9px;align-items:center;margin:18px 0 17px;padding:9px;border:1px solid var(--line);border-radius:11px;background:var(--panel-2)}.workspace-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:#071009;background:linear-gradient(145deg,#adfac1,#4bd978);font-size:10px;font-weight:800}.workspace-card b,.api-indicator b{display:block;font-size:10px}.workspace-card small,.api-indicator small{display:block;color:var(--muted-2);font-size:8px}.online-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px var(--accent)}.nav-label{margin:15px 10px 6px;color:#4e5650;font-size:8px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.nav-list{display:grid;gap:2px}.nav-item{width:100%;padding:9px 10px;border-radius:9px;display:flex;align-items:center;gap:10px;color:#777f79;background:transparent;cursor:pointer;text-align:left;font-size:11px;font-weight:600;transition:color .15s,background .15s}.nav-item:hover{color:#cfd6d0;background:rgba(255,255,255,.035)}.nav-item.active{color:var(--text);background:#1b211c;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}.nav-item svg{width:15px;height:15px}.nav-item.active svg{color:var(--accent)}.nav-item:first-child svg{fill:currentColor;stroke:none}.nav-count{margin-left:auto;min-width:18px;padding:1px 5px;border-radius:99px;color:var(--muted);background:rgba(255,255,255,.06);text-align:center;font-size:7px}.sidebar-foot{margin-top:auto;padding:0 4px}.sidebar-foot>p{margin:12px 5px 0;color:#505851;font-size:8px;line-height:1.5}.api-indicator{padding:10px;display:grid;grid-template-columns:8px 1fr;gap:9px;align-items:center;border:1px solid var(--line);border-radius:10px;background:#101411}.api-indicator>i{width:7px;height:7px;border-radius:50%;background:#5b635d}.api-indicator.online>i{background:var(--accent);box-shadow:0 0 9px var(--accent)}.api-indicator.error>i{background:var(--danger)}
.app-shell{min-height:100vh;margin-left:var(--sidebar)}.topbar{position:sticky;top:0;z-index:40;height:var(--topbar);padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(8,10,9,.8);backdrop-filter:blur(18px)}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:11px}.topbar-left h1{margin:0;font-size:13px;letter-spacing:-.01em}.topbar-left p{margin:1px 0 0;color:var(--muted-2);font-size:8px}.menu-button{display:none}.save-state{display:flex;align-items:center;gap:6px;color:var(--muted-2);font-size:9px}.save-state i{width:5px;height:5px;border-radius:50%;background:var(--accent)}.save-state.saving i{background:var(--warning)}.content{width:min(100%,1300px);margin:auto;padding:28px 30px 70px}.page{display:none}.page.active{display:block;animation:pageIn .2s ease}@keyframes pageIn{from{opacity:0;transform:translateY(3px)}}
.button{min-height:39px;padding:0 15px;border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-size:11px;font-weight:700;white-space:nowrap;transition:transform .15s,background .15s,border-color .15s,color .15s}.button:hover{transform:translateY(-1px)}.button:active{transform:scale(.985)}.button svg{width:14px;height:14px}.button-primary{color:#061008;background:var(--accent);box-shadow:0 9px 30px rgba(87,220,125,.1)}.button-primary:hover{background:#a0fab9}.button-secondary{color:#c3cbc5;border-color:var(--line);background:#141815}.button-secondary:hover{border-color:var(--line-strong);background:#1a1f1b}.button-danger{color:#ffdce0;border-color:rgba(255,109,121,.22);background:var(--danger-soft)}.button-danger:hover{background:rgba(255,109,121,.17)}.button.compact{min-height:34px;padding:0 11px;font-size:10px}.icon-button{width:36px;height:36px;padding:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:#121613;cursor:pointer}.icon-button:hover{color:var(--text);border-color:var(--line-strong);background:#1a1f1b}.icon-button svg{width:16px;height:16px}.text-button{padding:5px;border:0;color:var(--muted);background:transparent;cursor:pointer;font-size:10px}.text-button:hover{color:var(--accent)}
.hero-card{position:relative;min-height:320px;padding:48px;display:flex;align-items:center;overflow:hidden;border:1px solid var(--line);border-radius:23px;background:radial-gradient(420px 300px at 84% 50%,rgba(83,220,123,.1),transparent 70%),linear-gradient(145deg,#111512,#0b0e0c);box-shadow:inset 0 1px rgba(255,255,255,.02)}.hero-card:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(174,255,197,.09) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent 25%,#000 100%);opacity:.6}.hero-copy{position:relative;z-index:2;width:min(62%,640px)}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#aab3ac;font-size:9px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.eyebrow>i{width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent)}.hero-copy h2{margin:16px 0 14px;font-size:clamp(42px,5.5vw,69px);line-height:.98;letter-spacing:-.06em}.hero-copy h2 span{color:#748078}.hero-copy p{max-width:580px;margin:0;color:var(--muted);font-size:14px;line-height:1.65}.hero-actions{display:flex;gap:8px;margin-top:25px}.shield-visual{position:absolute;right:4%;top:50%;width:310px;height:310px;transform:translateY(-50%)}.orbit{position:absolute;left:50%;top:50%;border:1px solid rgba(135,246,166,.13);border-radius:50%;transform:translate(-50%,-50%) rotate(-18deg)}.orbit-a{width:300px;height:130px}.orbit-b{width:230px;height:230px;transform:translate(-50%,-50%) rotate(38deg)}.shield-core{position:absolute;left:50%;top:50%;width:82px;height:82px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:25px;color:#061008;background:var(--accent);box-shadow:0 0 70px rgba(135,246,166,.25);transform:translate(-50%,-50%) rotate(45deg)}.shield-core svg{width:35px;height:35px;transform:rotate(-45deg)}.orbit-node{position:absolute;width:9px;height:9px;border:2px solid #162019;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent)}.node-a{left:3px;top:49%}.node-b{right:41px;top:22%}.node-c{right:29px;bottom:27%}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:11px 0 38px}.metric-card{min-width:0;padding:18px;display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.metric-icon{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;color:var(--accent);background:var(--accent-soft)}.metric-icon svg{width:17px;height:17px}.metric-card small{display:block;color:var(--muted);font-size:8px}.metric-card strong{display:block;margin-top:3px;font-size:20px;letter-spacing:-.04em}.metric-card .metric-word{font-size:12px;letter-spacing:-.01em}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 2px 14px}.section-heading h3{margin:0 0 3px;font-size:14px}.section-heading p{margin:0;color:var(--muted-2);font-size:9px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.project-card{min-width:0;padding:17px;border:1px solid var(--line);border-radius:14px;background:var(--panel);cursor:pointer;transition:transform .16s,border-color .16s}.project-card:hover{transform:translateY(-2px);border-color:var(--line-strong)}.project-card-top{display:flex;align-items:flex-start;justify-content:space-between}.project-card-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:var(--accent);background:var(--accent-soft)}.project-card-icon svg{width:16px;height:16px}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:99px;color:var(--accent);background:var(--accent-soft);font-size:7px;font-weight:700}.status-pill:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status-pill.draft{color:var(--warning);background:rgba(255,198,109,.08)}.status-pill.revoked{color:var(--danger);background:var(--danger-soft)}.project-card h4{margin:15px 0 3px;font-size:12px}.project-card>p{margin:0;color:var(--muted-2);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-card-meta{display:flex;gap:18px;margin-top:15px;padding-top:13px;border-top:1px solid var(--line)}.project-card-meta b{display:block;font-size:9px}.project-card-meta small{color:var(--muted-2);font-size:7px}.empty-projects{grid-column:1/-1;padding:36px;border:1px dashed var(--line);border-radius:14px;text-align:center;color:var(--muted)}.empty-projects svg{display:block;margin:0 auto 9px;color:var(--muted-2)}.empty-projects b{display:block;color:var(--text);font-size:11px}.empty-projects span{font-size:9px}.notice-card{margin-top:11px;padding:15px;display:grid;grid-template-columns:34px 1fr;gap:12px;border:1px solid rgba(255,198,109,.13);border-radius:13px;background:rgba(255,198,109,.035)}.notice-card>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:var(--warning);background:rgba(255,198,109,.08)}.notice-card svg{width:15px;height:15px}.notice-card b{font-size:10px}.notice-card p{margin:3px 0 0;color:var(--muted);font-size:8px;line-height:1.55}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:5px 0 24px}.page-heading h2{margin:10px 0 4px;font-size:30px;letter-spacing:-.045em}.page-heading p{max-width:690px;margin:0;color:var(--muted);font-size:10px}.editor-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:11px;min-height:610px}.script-list-card,.editor-card,.output-card,.table-card,.settings-card{border:1px solid var(--line);border-radius:15px;background:var(--panel)}.script-list-card{min-width:0;padding:12px}.list-head{padding:4px 5px 11px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.list-head b{color:#cbd2cc}.list-head span{padding:1px 6px;border-radius:99px;background:#1c221d;font-size:7px}.script-list{display:grid;gap:4px}.empty-script-list{padding:12px;color:var(--muted-2);font-size:8px}.script-list-item{width:100%;padding:10px;border:1px solid transparent;border-radius:10px;display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center;color:var(--muted);background:transparent;cursor:pointer;text-align:left}.script-list-item:hover{background:rgba(255,255,255,.035)}.script-list-item.active{color:var(--text);border-color:var(--line);background:#1a201b}.script-list-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--accent);background:var(--accent-soft)}.script-list-icon svg{width:14px;height:14px}.script-list-item b{display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.script-list-item small{display:block;color:var(--muted-2);font-size:7px}.editor-card{min-width:0;overflow:hidden}.empty-editor{min-height:600px;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-editor>span,.table-empty>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:var(--accent);background:var(--accent-soft)}.empty-editor h3,.table-empty h3{margin:13px 0 4px;font-size:13px}.empty-editor p,.table-empty p{margin:0 0 15px;color:var(--muted);font-size:9px}.editor-content{min-width:0}.editor-toolbar{padding:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.project-fields{min-width:0;display:grid;grid-template-columns:minmax(140px,230px) 85px;gap:9px}.project-fields label>span,.form-field>span,.output-field>span{display:block;margin:0 0 6px;color:var(--muted);font-size:8px;font-weight:650}.project-fields input,.form-field input,.form-field select{width:100%;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:#0a0d0b;font-size:10px}.toolbar-actions{display:flex;gap:6px}.publish-status{min-height:37px;padding:8px 15px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);color:var(--muted-2);font-size:8px}.code-shell{margin:12px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#090b0a}.code-head{height:38px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:var(--muted-2);background:#131713;font:8px ui-monospace,SFMono-Regular,Menlo,monospace}.code-head>span:first-child{display:flex;align-items:center;gap:5px}.code-head i{width:6px;height:6px;border-radius:50%;background:#333a34}.code-head b{margin-left:6px;color:#9fa7a1;font-weight:500}.code-body{height:455px;display:grid;grid-template-columns:42px minmax(0,1fr)}.line-numbers{padding:14px 9px;color:#465048;border-right:1px solid var(--line);background:#0b0d0c;text-align:right;white-space:pre;overflow:hidden;font:11px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;user-select:none}.code-body textarea{width:100%;height:100%;min-width:0;padding:14px;border:0;resize:none;color:#cdd6cf;background:#090b0a;caret-color:var(--accent);tab-size:2;font:11px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace}.code-body textarea::placeholder{color:#3f4741}.editor-note{margin:0;padding:0 15px 14px;display:flex;align-items:center;gap:7px;color:var(--muted-2);font-size:8px}.editor-note svg{width:12px;height:12px;color:var(--accent)}.output-card{margin-top:11px;padding:18px}.output-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.output-head>div{display:flex;align-items:center;gap:10px}.success-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:var(--accent);background:var(--accent-soft)}.success-mark svg{width:15px}.output-head b{display:block;font-size:11px}.output-head small{display:block;color:var(--muted);font-size:8px}.output-field{display:block;margin-top:12px}.output-field>div{display:flex;gap:7px}.output-field input,.output-field textarea{min-width:0;flex:1;padding:9px 11px;border:1px solid var(--line);border-radius:9px;color:#aab4ac;background:#090b0a;font:9px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.output-field input{height:36px}.output-field textarea{height:104px;resize:vertical}
.license-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:11px}.license-summary>div{padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.license-summary small{display:block;color:var(--muted);font-size:8px}.license-summary strong{display:block;margin-top:5px;font-size:21px}.table-card{overflow:hidden}.table-head{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.table-head b{display:block;font-size:10px}.table-head span{display:block;color:var(--muted-2);font-size:8px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{padding:10px 14px;border-bottom:1px solid var(--line);color:var(--muted-2);font-size:7px;font-weight:700;letter-spacing:.07em;text-align:left;text-transform:uppercase}td{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.045);color:#aeb7b0;font-size:9px}tbody tr:last-child td{border-bottom:0}.key-cell b{display:block;color:#e4e9e5;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.key-cell small{color:var(--muted-2);font-size:7px}.row-actions{display:flex;gap:4px}.tiny-button{width:27px;height:27px;display:grid;place-items:center;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer}.tiny-button:hover{color:var(--text);background:#1a201b}.tiny-button.danger:hover{color:var(--danger);background:var(--danger-soft)}.tiny-button svg{width:13px;height:13px}.table-empty{padding:62px 25px;display:flex;flex-direction:column;align-items:center;text-align:center}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.settings-card{min-width:0;padding:20px}.card-title{display:flex;gap:11px;align-items:center;margin-bottom:20px}.card-title>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:var(--accent);background:var(--accent-soft)}.card-title svg{width:16px;height:16px}.card-title h3{margin:0 0 2px;font-size:12px}.card-title p{margin:0;color:var(--muted-2);font-size:8px}.form-field{display:block;margin-top:13px}.form-field>span{font-size:9px}.form-field input,.form-field select{height:40px;font-size:10px}.form-field select{appearance:none;background:#0a0d0b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2379827b' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center}.check-row{margin-top:14px;display:grid;grid-template-columns:16px 1fr;gap:9px;align-items:flex-start;cursor:pointer}.check-row input{width:15px;height:15px;margin:1px 0;appearance:none;border:1px solid var(--line-strong);border-radius:4px;background:#0a0d0b}.check-row input:checked{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 3px #0a0d0b}.check-row b{display:block;font-size:9px}.check-row small{display:block;color:var(--muted-2);font-size:8px}.card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.profile-list{display:grid}.profile-list>div{padding:9px 0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.045);font-size:9px}.profile-list>div:first-child{border-top:0}.profile-list span{color:var(--muted)}.profile-list b{color:var(--accent);font-size:8px}.profile-note,.card-copy{margin:15px 0 0;padding:11px;border-radius:9px;color:var(--muted);background:#0a0d0b;font-size:8px;line-height:1.6}.profile-note code{color:#bec7c0}.danger-card{border-color:rgba(255,109,121,.13)}.danger-card .card-title>span{color:var(--danger);background:var(--danger-soft)}
.modal-backdrop,.confirm-backdrop,.loading-overlay{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:18px;background:rgba(0,0,0,.72);backdrop-filter:blur(6px)}.modal-backdrop.open,.confirm-backdrop.open,.loading-overlay.open{display:grid;animation:fade .18s}@keyframes fade{from{opacity:0}}.modal{width:min(100%,440px);padding:20px;border:1px solid var(--line-strong);border-radius:17px;background:#121613;box-shadow:var(--shadow);animation:modalIn .2s ease}@keyframes modalIn{from{opacity:0;transform:translateY(8px) scale(.985)}}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.modal-head h2{margin:0 0 4px;font-size:16px}.modal-head p{margin:0;color:var(--muted);font-size:8px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.confirm-box{width:min(100%,390px);padding:21px;border:1px solid var(--line-strong);border-radius:17px;background:#121613;box-shadow:var(--shadow);text-align:center}.confirm-icon{width:46px;height:46px;margin:0 auto 13px;display:grid;place-items:center;border-radius:13px;color:var(--danger);background:var(--danger-soft)}.confirm-icon svg{width:20px;height:20px}.confirm-box h3{margin:0 0 5px;font-size:14px}.confirm-box p{margin:0;color:var(--muted);font-size:9px}.confirm-actions{display:flex;justify-content:center;gap:8px;margin-top:19px}.loading-card{width:min(100%,390px);padding:18px;display:grid;grid-template-columns:35px 1fr;gap:13px;align-items:center;border:1px solid var(--line-strong);border-radius:15px;background:#121613;box-shadow:var(--shadow)}.spinner{width:30px;height:30px;border:2px solid rgba(135,246,166,.14);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-card b{display:block;font-size:10px}.loading-card small{display:block;margin-top:2px;color:var(--muted);font-size:8px}.toast{position:fixed;right:20px;bottom:20px;z-index:200;width:min(calc(100% - 40px),340px);padding:12px;display:grid;grid-template-columns:32px 1fr 20px;gap:10px;align-items:center;border:1px solid var(--line-strong);border-radius:12px;background:#161b17;box-shadow:var(--shadow);opacity:0;pointer-events:none;transform:translateY(20px);transition:.22s}.toast.show{opacity:1;pointer-events:auto;transform:none}.toast>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;color:var(--accent);background:var(--accent-soft)}.toast.error>span{color:var(--danger);background:var(--danger-soft)}.toast svg{width:14px;height:14px}.toast b{display:block;font-size:10px}.toast small{display:block;color:var(--muted);font-size:8px;line-height:1.4}.toast>button{color:var(--muted);background:transparent;cursor:pointer;font-size:17px}.mobile-shade{display:none}
@media(max-width:1050px){.hero-card{padding:40px}.shield-visual{right:1%;transform:translateY(-50%) scale(.85)}.hero-copy{width:68%}.metric-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(2,1fr)}.toolbar-actions .button span{display:none}.editor-layout{grid-template-columns:190px minmax(0,1fr)}.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){:root{--topbar:62px}.sidebar{transform:translateX(-102%);transition:transform .22s ease;box-shadow:30px 0 90px rgba(0,0,0,.7)}.sidebar.open{transform:none}.sidebar-close,.menu-button{display:grid}.mobile-shade{position:fixed;inset:0;z-index:45;background:rgba(0,0,0,.58);backdrop-filter:blur(3px)}.mobile-shade.open{display:block}.app-shell{margin-left:0}.topbar{padding:0 15px}.content{padding:20px 14px 60px}.save-state{display:none}.hero-card{min-height:390px;padding:32px 24px;align-items:flex-start}.hero-copy{width:100%}.hero-copy h2{font-size:44px}.hero-copy p{font-size:12px}.shield-visual{right:-70px;top:auto;bottom:-112px;transform:scale(.58)}.metric-grid{gap:8px;margin-bottom:28px}.metric-card{padding:13px;gap:10px}.metric-icon{width:32px;height:32px}.metric-card strong{font-size:17px}.metric-card .metric-word{font-size:10px}.project-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>button{margin-left:12px}.page-heading h2{font-size:26px}.editor-layout{display:block;min-height:0}.script-list-card{margin-bottom:10px;padding:9px}.script-list{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}.script-list-item{min-width:150px}.editor-card{min-height:0}.empty-editor{min-height:330px}.editor-toolbar{display:block;padding:12px}.project-fields{grid-template-columns:minmax(0,1fr) 80px}.toolbar-actions{margin-top:10px;display:grid;grid-template-columns:repeat(3,1fr)}.toolbar-actions .button span{display:inline}.code-shell{margin:9px}.code-body{height:420px;grid-template-columns:34px minmax(0,1fr)}.line-numbers{padding-inline:6px;font-size:10px}.code-body textarea{padding:11px;font-size:10px}.editor-note{padding:0 11px 12px}.output-card{padding:14px}.output-field>div{display:block}.output-field .button{width:100%;margin-top:6px}.license-summary{gap:7px}.license-summary>div{padding:13px}.license-summary strong{font-size:18px}.table-head{padding:13px}.table-scroll{margin:0 -1px}.settings-card{padding:16px}.toast{right:12px;bottom:12px;width:calc(100% - 24px)} }
@media(max-width:480px){.topbar-actions .button span{display:none}.topbar-actions .button{width:35px;padding:0}.hero-card{min-height:420px;padding:28px 20px}.hero-copy h2{font-size:38px}.hero-actions{display:grid}.hero-actions .button{width:100%}.metric-grid{grid-template-columns:1fr 1fr}.metric-card{display:block}.metric-icon{margin-bottom:8px}.notice-card{grid-template-columns:28px 1fr}.notice-card>span{width:28px;height:28px}.page-heading{display:block}.page-heading>button{width:100%;margin:15px 0 0}.project-fields{grid-template-columns:minmax(0,1fr) 72px}.toolbar-actions{gap:5px}.toolbar-actions .button{padding:0 7px;font-size:9px}.code-body{height:390px}.license-summary{grid-template-columns:1fr 1fr}.license-summary>div:first-child{grid-column:1/-1}.card-actions{display:grid;grid-template-columns:1fr}.card-actions .button{width:100%}.two-fields{grid-template-columns:1fr}.modal{padding:16px}.modal-actions{display:grid;grid-template-columns:1fr 1fr}.confirm-actions{display:grid;grid-template-columns:1fr 1fr}.output-head{gap:10px}}
@media(max-width:360px){.content{padding-inline:10px}.hero-card{padding-inline:16px}.hero-copy h2{font-size:34px}.metric-card{padding:11px}.toolbar-actions .button span{display:none}.code-body{height:360px}.topbar{padding-inline:10px}}
