/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17221e;background:#f4f1e8;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #17221e;--muted: #66736d;--paper: #f4f1e8;--surface: #fffdf7;--line: #d9d7cd;--lime: #dffe67;--coral: #f17455;--green: #3c8d64;--nav: #111916;--serif: Georgia, "Times New Roman", serif;--mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:100%}body{min-width:320px}button,input,select{font:inherit;color:inherit}button,a{transition:color .18s,background .18s,border-color .18s,transform .18s}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{width:1em;height:1em;stroke-width:1.8}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font:500 clamp(3rem,6vw,6.6rem)/.92 var(--serif);margin-bottom:1.2rem}h1 em{font-weight:400;color:var(--coral)}h2{font:500 2rem/1 var(--serif);margin-bottom:.75rem}.kicker{font:500 .68rem/1 var(--mono);letter-spacing:.14em;color:#596760;margin:0 0 1.2rem}.kicker.light{color:#adc1b7}.mono-label{font:500 .66rem/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.stack-xl{display:grid;gap:4rem}.stack-lg{display:grid;gap:2.5rem}.stack-md{display:grid;gap:1.2rem}.primary-button,.secondary-button,.dark-button,.ghost-button,.danger-button{height:42px;border:1px solid var(--ink);padding:0 1rem;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font-size:.78rem;font-weight:700;border-radius:4px;background:var(--lime)}.primary-button:hover{background:#cce943;transform:translateY(-1px)}.primary-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.primary-button.wide{width:100%;height:50px}.secondary-button{background:var(--surface)}.secondary-button:hover{background:#ece9df}.secondary-button.compact,.primary-button.compact{height:36px}.danger-button{color:#8d2b20;border-color:#d8a097;background:#fff5f2}.danger-button:hover{background:#fee5df}.dark-button{background:var(--ink);color:#fff}.dark-button:hover{background:#2a3933}.ghost-button{border-color:transparent;background:transparent}.icon-button{width:36px;height:36px;padding:0;border:0;background:transparent;display:grid;place-items:center;border-radius:4px}.icon-button:hover{background:#17221e14}.icon-button.bordered{border:1px solid var(--line);background:#fff}.sort-select{height:36px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:0 .55rem;font-size:.65rem}.sort-descending{transform:rotate(180deg)}.mobile-only{display:none}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:250px;background:var(--nav);color:#edf2ee;display:flex;flex-direction:column;border-right:1px solid #28342f}.sidebar-brand{height:78px;display:flex;align-items:center;gap:.8rem;padding:0 1.3rem;border-bottom:1px solid #2b3732}.brand-symbol{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:var(--ink);box-shadow:inset -9px 0 0 var(--coral)}.brand-symbol.small{width:28px;height:28px;font-weight:800;font-size:.7rem}.sidebar-brand>span:nth-child(2){display:flex;flex-direction:column}.sidebar-brand strong{font-size:.83rem;letter-spacing:.08em}.sidebar-brand small{font-size:.61rem;color:#8d9a94}.side-nav{padding:1.3rem .75rem;display:flex;flex-direction:column;gap:.25rem;flex:1}.side-nav p{font:500 .58rem/1 var(--mono);letter-spacing:.14em;color:#76837d;margin:1.3rem .7rem .6rem}.side-nav a{height:42px;padding:0 .75rem;display:flex;align-items:center;gap:.8rem;border-radius:4px;color:#aeb8b3;font-size:.78rem;font-weight:600}.side-nav a:hover{color:#fff;background:#1d2924}.side-nav a.active{background:var(--lime);color:var(--ink)}.sidebar-status{margin:1rem;padding:1rem;border:1px solid #2f3d37;display:flex;gap:.7rem;align-items:center;border-radius:6px}.status-dot{width:8px;height:8px;border-radius:50%;background:#68d596;display:inline-block;box-shadow:0 0 0 4px #68d5961a}.status-dot.offline{background:#9aa39f;box-shadow:none}.sidebar-status div,.sidebar-user div:nth-child(2){display:flex;flex-direction:column}.sidebar-status strong,.sidebar-user strong{font-size:.7rem}.sidebar-status small,.sidebar-user small{color:#7f8d86;font-size:.62rem}.sidebar-user{min-height:72px;border-top:1px solid #2b3732;padding:.8rem 1rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem}.sidebar-user .icon-button{color:#8e9a95}.avatar{width:32px;height:32px;border-radius:50%;background:#33443c;display:grid;place-items:center;font-size:.65rem;font-weight:700}.main-column{grid-column:2;min-width:0}.topbar{height:60px;padding:0 3vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#f4f1e8eb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:sticky;top:0;z-index:15}.context-title{display:flex;align-items:center;gap:.5rem;font-size:.72rem;font-weight:700}.secure-chip{font:500 .61rem/1 var(--mono);letter-spacing:.07em;border:1px solid #b9c9c0;background:#eef8f1;color:#2e7250;padding:.5rem .65rem;border-radius:999px;display:flex;gap:.4rem;align-items:center}.page{padding:clamp(2.5rem,5vw,5.5rem);max-width:1600px;width:100%;margin:0 auto}.page-hero,.admin-hero{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:1px solid var(--ink);padding-bottom:3rem}.page-hero>div:first-child,.admin-hero>div:first-child{max-width:850px}.page-hero>div:first-child>p:last-child,.admin-hero>div:first-child>p:last-child{color:var(--muted)}.hero-seal{width:138px;height:138px;border-radius:50%;background:var(--ink);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:rotate(5deg);box-shadow:10px 8px 0 var(--coral)}.hero-seal svg{font-size:1.5rem;color:var(--lime);margin-bottom:.5rem}.hero-seal strong{font-size:.72rem}.hero-seal span{font:400 .58rem/1 var(--mono);color:#91a099;margin-top:.3rem}.section-row,.page-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}.section-row h2,.page-title-row h1{margin:0}.page-title-row h1{font-size:4.5rem}.page-title-row p:last-child{color:var(--muted);margin:1rem 0 0}.count-pill{font:500 .65rem/1 var(--mono);border:1px solid var(--line);border-radius:999px;padding:.55rem .8rem}.workspace-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:1rem;margin-top:1.5rem}.workspace-card{--card-accent: var(--coral);min-height:300px;background:var(--surface);border:1px solid var(--ink);padding:1.5rem;display:flex;flex-direction:column;justify-content:space-between;box-shadow:4px 4px #17221e1f;position:relative;overflow:hidden}.workspace-card:nth-child(4n+2){--card-accent: #8bb6ec}.workspace-card:nth-child(4n+3){--card-accent: #d1ef63}.workspace-card:nth-child(4n+4){--card-accent: #d8a7ed}.workspace-card:before{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-40px;top:-45px;background:var(--card-accent);opacity:.55}.workspace-card:hover{transform:translateY(-3px);box-shadow:7px 8px #17221e24}.workspace-card-top{display:flex;justify-content:space-between;align-items:start;position:relative}.workspace-icon{width:47px;height:47px;display:grid;place-items:center;background:var(--card-accent);border:1px solid var(--ink);border-radius:50%}.state-badge{font:500 .58rem/1 var(--mono);text-transform:uppercase;border-radius:999px;padding:.42rem .65rem;background:#e8f5eb;color:#2f7852}.state-badge.muted{background:#eee;color:#666}.workspace-card h3{font:500 2rem/1 var(--serif);margin:.5rem 0}.workspace-slug{font:400 .7rem/1 var(--mono);color:var(--muted)}.permission-row{display:flex;gap:.5rem;flex-wrap:wrap}.permission-row span{display:flex;align-items:center;gap:.35rem;background:#efede5;padding:.4rem .55rem;border-radius:3px;font-size:.61rem;font-weight:600}.card-footer{border-top:1px solid var(--line);padding-top:1rem;display:flex;justify-content:space-between;align-items:center;font-size:.65rem;color:var(--muted)}.card-footer span,.card-footer a{display:flex;align-items:center;gap:.4rem}.card-footer a{font-weight:700;color:var(--ink)}.empty-state{min-height:250px;border:1px dashed #aeb4ae;margin-top:1.5rem;display:grid;place-items:center;align-content:center;text-align:center;color:var(--muted)}.empty-state>svg{font-size:2rem}.empty-state h3{color:var(--ink);margin:1rem 0 .3rem}.empty-row,.loading-row{padding:4rem;text-align:center;color:var(--muted)}.loading-row{display:flex;justify-content:center;align-items:center;gap:.7rem}.login-page{min-height:100vh;display:grid;grid-template-columns:1.12fr .88fr}.login-story{background:var(--nav);color:#fff;padding:4vw clamp(3rem,7vw,8rem);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:460px;height:460px;border:1px solid #496057;border-radius:50%;right:-180px;bottom:-170px;box-shadow:0 0 0 75px #dffe6709,0 0 0 150px #dffe6706}.login-brand{display:flex;align-items:center;gap:.7rem;font-size:.75rem;letter-spacing:.13em}.login-story h1{font-size:clamp(4.2rem,7.5vw,8.8rem);max-width:900px}.login-story h1 em{color:var(--lime)}.login-lead{max-width:600px;color:#afbab5;font-size:1.08rem;line-height:1.7}.login-features{display:flex;gap:.7rem;flex-wrap:wrap;position:relative;z-index:1}.login-features span{border:1px solid #37463f;padding:.75rem 1rem;display:flex;align-items:center;gap:.6rem;font:500 .65rem/1 var(--mono);text-transform:uppercase}.login-features svg{color:var(--lime);font-size:1.1rem}.login-foot{font-size:.68rem;color:#67766f;margin:0}.login-panel{background:var(--paper);display:grid;place-items:center;padding:3rem}.login-form{width:min(430px,100%);display:grid;gap:1.5rem}.login-form h2{font-size:3.2rem}.login-form>div:first-child p:last-child{color:var(--muted)}label{display:grid;gap:.5rem;font-size:.7rem;font-weight:700}input,select{height:46px;border:1px solid #bfc1b9;border-radius:3px;background:#fffdf8;padding:0 .9rem;outline:none}input:focus,select:focus{border-color:var(--ink);box-shadow:0 0 0 3px #17221e14}label small{color:var(--muted);font-weight:400}.form-error,.alert{background:#fff0ec;border:1px solid #e9a18f;color:#933721;padding:.8rem 1rem;font-size:.75rem}.form-note{text-align:center;color:var(--muted);font-size:.65rem}.boot-screen{height:100vh;display:grid;place-items:center;align-content:center;gap:1rem;background:var(--nav);color:#fff}.brand-orbit{width:56px;height:56px;border-radius:50%;border:1px solid #5b6c64;border-top-color:var(--lime);animation:spin 1s linear infinite}.route-loading{min-height:100vh;display:grid;place-items:center;background:var(--paper);font:500 .7rem/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.workspace-screen{display:grid;gap:1.5rem}.workspace-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}.workspace-heading h1{font-size:3.8rem;margin:.8rem 0 .5rem}.breadcrumb{display:flex;align-items:center;gap:.4rem;font-size:.67rem;color:var(--muted)}.breadcrumb svg{font-size:.65rem}.workspace-actions{display:flex;align-items:center;gap:.6rem}.git-chip{height:42px;display:flex;align-items:center;gap:.5rem;border:1px solid #afd1bc;background:#edf8f0;color:#2d6f4c;padding:0 .8rem;font:500 .61rem/1 var(--mono)}.git-chip.dirty{border-color:#dfbf6f;background:#fff8df;color:#8a6411}.alert{display:flex;align-items:center;justify-content:space-between}.alert button{border:0;background:transparent}.git-output{background:#111916;color:#c9d5cf;padding:1rem;max-height:190px;overflow:auto;font:400 .7rem/1.55 var(--mono);margin:0}.explorer-shell{min-height:620px;border:1px solid var(--ink);background:var(--surface);display:grid;grid-template-columns:250px 1fr}.explorer-tree{border-right:1px solid var(--ink);min-width:0;background:#edeae1}.pane-title{height:54px;border-bottom:1px solid var(--line);padding:0 .8rem 0 1rem;display:flex;align-items:center;justify-content:space-between;font:500 .62rem/1 var(--mono);text-transform:uppercase;letter-spacing:.1em}.directory-tree{padding:.65rem 0;overflow:auto;max-height:650px}.tree-row{height:31px;width:100%;border:0;background:transparent;display:flex;align-items:center;gap:.45rem;text-align:left;font-size:.7rem}.tree-row:hover,.tree-row.active{background:#d9d7cf}.tree-row .rotate{transform:rotate(90deg)}.tree-file{height:27px;display:flex;align-items:center;gap:.45rem;color:#68736e;font-size:.64rem;white-space:nowrap;overflow:hidden}.explorer-main{min-width:0;display:grid;grid-template-rows:auto 1fr auto}.explorer-toolbar{min-height:60px;padding:.7rem 1rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:1rem}.path-crumbs,.path-crumbs span{display:flex;align-items:center;gap:.25rem}.path-crumbs button{border:0;background:transparent;padding:.25rem;display:flex;align-items:center;gap:.4rem;font-size:.69rem;font-weight:600}.path-crumbs svg{font-size:.7rem}.explorer-tools{display:flex;gap:.45rem}.search-box{height:36px;display:flex;align-items:center;gap:.5rem;border:1px solid var(--line);background:#fff;padding:0 .65rem}.search-box svg{font-size:.8rem;color:#78837e}.search-box input{border:0;padding:0;height:32px;background:transparent;box-shadow:none;font-size:.7rem;width:130px}.search-box.large{height:43px;min-width:340px}.search-box.large input{height:39px;width:100%}.file-table{min-width:0}.file-table-head,.file-row{display:grid;grid-template-columns:minmax(230px,1fr) 90px 155px 100px;align-items:center;min-height:42px;border-bottom:1px solid #e4e2db;padding:0 1rem;gap:.7rem}.file-table-head{font:500 .6rem/1 var(--mono);text-transform:uppercase;letter-spacing:.09em;color:#7a8580;background:#faf8f2}.file-row{font-size:.68rem}.file-row:hover{background:#f1efe8}.file-name{border:0;background:transparent;display:flex;align-items:center;gap:.65rem;text-align:left;min-width:0}.file-name svg{font-size:1rem;color:#6a7871}.file-name span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-row>span{color:#6b7771}.row-actions{display:flex!important;justify-content:flex-end}.row-actions button,.row-actions a{width:30px;height:30px;border:0;background:transparent;display:grid;place-items:center;color:#65726c}.row-actions svg{font-size:.8rem}.explorer-foot{height:38px;background:#f0eee7;border-top:1px solid var(--line);padding:0 1rem;display:flex;align-items:center;justify-content:space-between;font:400 .57rem/1 var(--mono);color:#6d7973}.editor-page{height:100vh;display:grid;grid-template-rows:58px 26px 1fr;background:#1e1e1e;color:#e7e7e7}.editor-page.theme-light{background:#fff;color:var(--ink)}.editor-header{display:flex;align-items:center;justify-content:space-between;padding:0 1rem;border-bottom:1px solid #354039;background:#121a17}.theme-light .editor-header{background:var(--paper);border-color:var(--line);color:var(--ink)}.editor-brand,.editor-actions{display:flex;align-items:center;gap:.7rem}.editor-brand>a{width:32px;height:32px;display:grid;place-items:center}.editor-brand>span{display:flex;flex-direction:column}.editor-brand strong{font-size:.72rem}.editor-brand small{font:400 .58rem/1.4 var(--mono);color:#87938d}.editor-brand i{width:7px;height:7px;border-radius:50%;background:var(--coral)}.editor-theme{color:inherit}.save-message{font-size:.67rem;color:#8bd7a8;display:flex;align-items:center;gap:.35rem}.save-message.error{color:#ff9d86}.editor-meta{display:flex;align-items:center;justify-content:flex-end;gap:1.2rem;padding:0 1rem;background:#202a26;border-bottom:1px solid #354039;font:400 .54rem/1 var(--mono);color:#91a09a}.theme-light .editor-meta{background:#e8e5dd;border-color:var(--line);color:#64706a}.editor-canvas{min-height:0}.editor-loading{height:100%;display:grid;place-items:center;align-content:center;gap:.7rem;color:#87938d}.terminal-page{height:calc(100vh - 60px - clamp(5rem,10vw,11rem));min-height:620px;display:grid;grid-template-rows:auto auto 1fr}.terminal-page header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:1.5rem}.terminal-page header a{display:flex;align-items:center;gap:.45rem;font-size:.7rem;color:var(--muted)}.terminal-page h1{font-size:3.7rem;margin:.8rem 0 0}.terminal-page header>span{display:flex;align-items:center;gap:.5rem;font:500 .61rem/1 var(--mono);border:1px solid #b8c9c0;padding:.6rem .7rem;background:#edf7ef;color:#2e704d}.terminal-safety{padding:.75rem 1rem;background:#f0e8c9;border:1px solid #d9c888;font-size:.7rem}.terminal-host{position:relative;background:#0c1210;padding:1rem;min-height:0;border:1px solid #0c1210}.terminal-loader{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;align-content:center;gap:.7rem;color:#829089;font:400 .7rem/1 var(--mono)}.admin-hero{align-items:center}.security-score{width:260px;background:var(--surface);border:1px solid var(--ink);padding:1.4rem;box-shadow:7px 7px 0 var(--ink)}.security-score>div{display:flex;align-items:center;gap:.55rem;font:.65rem var(--mono);text-transform:uppercase}.security-score>div svg{color:var(--green)}.security-score>strong{display:block;font:500 2.5rem/1 var(--serif);margin:1.2rem 0 .4rem}.security-score small{color:var(--muted)}.metric-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}.metric-card{background:var(--surface);border:1px solid var(--line);padding:1.3rem;min-height:165px}.metric-card>span{width:34px;height:34px;display:grid;place-items:center;background:#e9f5ed;color:#2e7952;border-radius:50%}.metric-card.blue>span{background:#e7effa;color:#4779b5}.metric-card.violet>span{background:#f0e8f5;color:#81569a}.metric-card.amber>span{background:#fbf0d9;color:#9a6c13}.metric-card p{font-size:.68rem;color:var(--muted);margin:1rem 0 .3rem}.metric-card strong{font:500 2.5rem/1 var(--serif)}.metric-card small{display:block;margin-top:.7rem;color:#829089;font-size:.6rem}.admin-grid{display:grid;grid-template-columns:1.5fr .7fr;gap:1rem}.panel{background:var(--surface);border:1px solid var(--line)}.panel-heading{padding:1.4rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-heading .kicker{margin-bottom:.7rem}.panel-heading h2{margin:0}.panel-heading>a{font-size:.67rem;font-weight:700;display:flex;align-items:center;gap:.35rem}.activity-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:1rem 1.4rem;border-bottom:1px solid #e5e3dc}.activity-mark{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e6f3e9;color:#377857}.activity-mark.danger{background:#ffebe5;color:#a23d29}.activity-item strong{font-size:.69rem;text-transform:capitalize}.activity-item p{font-size:.62rem;color:var(--muted);margin:.2rem 0 0}.activity-item time{font:400 .56rem/1 var(--mono);color:#7c8982}.quick-panel>a{min-height:82px;padding:1rem 1.4rem;border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem}.quick-panel>a>svg:first-child{font-size:1.3rem;color:var(--coral)}.quick-panel>a span{display:flex;flex-direction:column}.quick-panel>a strong{font-size:.72rem}.quick-panel>a small{font-size:.6rem;color:var(--muted);margin-top:.3rem}.title-icon{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:var(--coral);border:1px solid var(--ink);font-size:1.6rem}.table-toolbar{padding:1rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.filter-label{font:500 .6rem/1 var(--mono);color:var(--muted);display:flex;align-items:center;gap:.4rem}.data-table{overflow-x:auto}.data-head,.data-row{display:grid;align-items:center;gap:1rem;padding:0 1.2rem;min-width:850px}.data-head{height:44px;background:#efede6;border-bottom:1px solid var(--line);font:500 .58rem/1 var(--mono);text-transform:uppercase;letter-spacing:.09em;color:#69766f}.data-row{min-height:62px;border-bottom:1px solid #e6e4dc;font-size:.67rem}.data-row:hover{background:#faf8f1}.data-row>span{display:flex;align-items:center;gap:.45rem;min-width:0}.audit-table .data-head,.audit-table .data-row{grid-template-columns:1.1fr .7fr .55fr 1fr .8fr}.people-table .data-head,.people-table .data-row{grid-template-columns:1.3fr .7fr .55fr .85fr .6fr 40px}.workspace-admin-table .data-head,.workspace-admin-table .data-row{grid-template-columns:1.15fr 1.4fr .65fr .75fr .6fr 40px}.user-cell>i{width:32px;height:32px;border-radius:50%;background:#e4ece7;display:grid;place-items:center;font-size:.58rem;font-style:normal;font-weight:700;flex:0 0 auto}.user-cell .workspace-mini{border-radius:4px;background:#e8edda;font-size:.9rem}.user-cell>span{display:flex;flex-direction:column;min-width:0}.user-cell strong{font-size:.69rem}.user-cell small{color:var(--muted);margin-top:.2rem}.inline-icon{font-size:.8rem}.mono-cell{font:400 .6rem/1.4 var(--mono)!important}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important}.event-dot,.danger-dot{width:7px;height:7px;border-radius:50%;background:#62b987;display:inline-block}.danger-dot{background:var(--coral)}.success-icon{color:var(--green)}.modal-layer{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;background:#0a100da3;display:grid;place-items:center;padding:1.5rem;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{width:min(500px,100%);max-height:calc(100vh - 3rem);overflow:auto;background:var(--paper);border:1px solid var(--ink);box-shadow:12px 12px 0 var(--ink);padding:1.5rem}.wide-modal{width:min(800px,100%)}.permission-modal{width:min(920px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:1.2rem}.modal-head h2{font-size:2.3rem;margin:0}.modal-head p:last-child{font-size:.67rem;color:var(--muted);margin:.4rem 0 0}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;margin-top:1.3rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}.picker-shell{border:1px solid var(--ink);background:#fff}.picker-path{min-height:43px;padding:.6rem .8rem;display:flex;align-items:center;gap:.35rem;border-bottom:1px solid var(--line);font:400 .6rem/1 var(--mono);overflow-x:auto}.picker-path svg{flex:0 0 auto}.picker-path select{border:0;background:#f3f1ea;padding:.35rem;font:inherit;max-width:260px}.picker-list{height:230px;overflow:auto}.picker-list button{width:100%;min-height:41px;padding:0 .8rem;border:0;border-bottom:1px solid #eeece5;background:transparent;display:flex;align-items:center;gap:.6rem;text-align:left;font-size:.68rem}.picker-list button:hover{background:#f0eee7}.picker-list button svg:last-child{margin-left:auto}.picker-list button small{color:var(--muted)}.picker-selection{border-top:1px solid var(--ink);padding:.8rem;display:grid;gap:.35rem}.picker-selection span{font-size:.58rem;text-transform:uppercase;letter-spacing:.08em}.picker-selection code{font:400 .63rem/1.4 var(--mono);word-break:break-all}.picker-selection i{font-size:.6rem;color:var(--green)}.assignment-list{display:grid;gap:.6rem}.assignment{border:1px solid var(--line);background:#fff;padding:.8rem}.assignment.selected{border-color:var(--ink)}.assignment-main{display:flex;grid-template-columns:none;align-items:center;gap:.7rem}.assignment-main input,.permission-checks input{width:16px;height:16px}.assignment-main span{display:flex;flex-direction:column}.assignment-main small{color:var(--muted)}.permission-checks{margin-top:.8rem;padding:.8rem;background:#f3f1ea;display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}.permission-checks label{display:flex;align-items:center;gap:.4rem;font-size:.62rem}.session-warning{margin-right:auto;display:flex;align-items:center;gap:.5rem;color:#745d1b;font-size:.61rem;max-width:380px}.pagination-controls{display:flex;gap:.5rem}.pagination-controls button{border:0;background:transparent;color:inherit;font-size:inherit}.pagination-controls button:disabled{opacity:.35}.git-history{border:1px solid var(--line);background:var(--surface);padding:.8rem 1rem;font-size:.65rem}.git-history summary{cursor:pointer;font-weight:700}.git-history>div{display:grid;gap:.6rem;margin-top:.8rem}.git-history>div>span{display:grid;grid-template-columns:10px 70px minmax(120px,1fr) auto;align-items:center;gap:.55rem}.git-history code,.git-history small{color:var(--muted)}.account-editor{display:grid;gap:1rem;padding:1rem;border:1px solid var(--line);background:#f8f6ef}.account-editor>label{display:grid;gap:.45rem}.account-controls{display:flex;justify-content:flex-end;gap:.7rem}.modal-section-heading{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.modal-section-heading h3{margin:0}.assignment-search{width:100%;background:#fff}.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}.history-grid>section{min-width:0;padding:1rem;background:#f3f1ea}.history-row{display:flex;justify-content:space-between;gap:.75rem;padding:.65rem 0;border-top:1px solid var(--line);font-size:.62rem}.history-row>span{display:flex;flex-direction:column;min-width:0}.history-row small,.history-row time{color:var(--muted)}.toggle-row{display:flex!important;grid-template-columns:none!important;align-items:center;gap:.65rem}.toggle-row input{width:17px;height:17px}.split-actions{justify-content:space-between}.server-fields{border:0;padding:0;margin:0;display:grid;gap:1rem;min-width:0}.server-fields label,.project-server-select{display:grid;gap:.45rem}.server-fields textarea{width:100%;padding:.8rem;border:1px solid var(--line);background:#fff;color:inherit;font:inherit;resize:vertical}.server-fields input[type=file]{max-width:100%}.server-fields .toggle-row{display:flex}.server-fields .toggle-row input{flex-shrink:0}.host-key-panel{display:grid;gap:.75rem;border:1px solid var(--line);padding:1rem;background:#f8f6ef}.host-key-panel .section-row{margin:0}.muted-copy,.project-server-select small{color:var(--muted);font-size:.75rem;line-height:1.6;overflow-wrap:anywhere}.muted-copy a,.project-server-select a{color:var(--green);text-decoration:underline}.connection-notice{padding:1rem;border:1px solid #a7ccb3;background:#eef8f0;display:flex;align-items:flex-start;gap:.7rem;font-size:.8rem;line-height:1.6}.connection-notice svg{flex-shrink:0;width:18px}.servers-table .data-head,.servers-table .data-row{grid-template-columns:minmax(180px,1.4fr) minmax(170px,1.4fr) 120px 70px 100px 85px;min-width:880px}.table-actions{display:flex;gap:.4rem}.server-folder-cell{display:grid;gap:.3rem;min-width:0}.server-folder-cell strong{font-size:.72rem}.project-server-select{margin-bottom:1rem}.server-modal{max-height:calc(100vh - 3rem);overflow-y:auto}@media(max-width:1100px){.workspace-grid{grid-template-columns:repeat(2,1fr)}.metric-cards{grid-template-columns:1fr 1fr}.admin-grid{grid-template-columns:1fr}.explorer-shell{grid-template-columns:210px 1fr}.file-table-head,.file-row{grid-template-columns:minmax(180px,1fr) 80px 135px 85px}.workspace-heading{align-items:flex-start;flex-direction:column}.workspace-actions{flex-wrap:wrap}.page-title-row h1{font-size:3.7rem}}@media(max-width:760px){.mobile-only{display:grid}.app-shell{grid-template-columns:1fr}.sidebar{transform:translate(-100%);transition:transform .25s}.sidebar.is-open{transform:none}.sidebar-scrim{position:fixed;z-index:25;top:0;right:0;bottom:0;left:0;border:0;background:#0a100d8c}.main-column{grid-column:1}.page{padding:2rem 1rem}.topbar{padding:0 1rem}.page-hero,.admin-hero,.page-title-row{align-items:flex-start;flex-direction:column}.hero-seal,.security-score,.title-icon{display:none}.workspace-grid,.metric-cards{grid-template-columns:1fr}.page-hero h1{font-size:4rem}.workspace-heading h1,.page-title-row h1{font-size:3rem}.workspace-actions{width:100%}.workspace-actions>*{flex:1}.git-chip{flex-basis:100%}.explorer-shell{grid-template-columns:1fr}.explorer-tree{display:none}.explorer-toolbar{align-items:flex-start;flex-direction:column}.explorer-tools{width:100%;flex-wrap:wrap}.search-box{flex:1}.file-table{overflow-x:auto}.file-table-head,.file-row{min-width:650px}.admin-grid{grid-template-columns:1fr}.data-table{overflow:auto}.login-page{grid-template-columns:1fr}.login-story{min-height:60vh;padding:2.5rem 1.5rem}.login-story h1{font-size:4.2rem}.login-panel{padding:3rem 1.5rem}.terminal-page{height:auto;min-height:700px}.terminal-page header{align-items:flex-start;flex-direction:column;gap:1rem}.editor-header{padding:0 .5rem}.editor-brand>span,.save-message{display:none}.permission-checks{grid-template-columns:1fr 1fr}.history-grid{grid-template-columns:1fr}.account-controls,.split-actions,.modal-actions{align-items:stretch;flex-direction:column}.session-warning{margin:0}.form-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
