:root{--shely-green:#22e07a;--shely-green-mint:#8cffc0;--shely-green-deep:#0fa958;--shely-green-dark:#0b6b3a;--shely-purple:#8b3dff;--shely-purple-light:#c9a6ff;--shely-purple-hi:#e4d0ff;--shely-purple-deep:#4c1d95;--shely-ink:#0d0a1f;--shely-ink-soft:#17122e;--shely-ink-line:#2a2250;--shely-paper:#f7f4ff;--shely-gradient-brand:linear-gradient(135deg, #8b3dff 0%, #22e07a 100%);--shely-gradient-hair:linear-gradient(180deg, #8b3dff 0%, #4c1d95 100%);--shely-gradient-face:linear-gradient(180deg, #22e07a 0%, #0fa958 100%);--shely-font-display:"Fredoka", system-ui, sans-serif;--shely-font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--shely-background:var(--shely-ink);--shely-surface:var(--shely-ink-soft);--shely-surface-2:#1f1740;--shely-border:var(--shely-ink-line);--shely-border-subtle:#201a3d;--shely-text:#f2eeff;--shely-text-muted:var(--shely-purple-light);--shely-accent:var(--shely-green);--shely-accent-2:var(--shely-purple);--shely-accent-subtle:color-mix(in srgb, var(--shely-accent) 16%, transparent);--shely-accent-hover:color-mix(in srgb, var(--shely-accent) 26%, transparent);--shely-success:var(--shely-green);--shely-danger:#ff6b6b;--shely-warning:#ffb547;--shely-radius-sm:6px;--shely-radius-md:10px;--shely-radius-lg:14px;--shely-shadow-sm:0 1px 2px #06031466;--shely-shadow-md:0 2px 6px #06031461, 0 8px 20px #0603144d;--shely-shadow-lg:0 4px 12px #0603146b, 0 18px 48px #06031461}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--shely-background:var(--shely-paper);--shely-surface:#fff;--shely-surface-2:#efe9ff;--shely-border:#dcd2f5;--shely-border-subtle:#e8e0fa;--shely-text:#17122e;--shely-text-muted:#5b4e86;--shely-accent:var(--shely-green-deep);--shely-accent-2:var(--shely-purple);--shely-accent-subtle:color-mix(in srgb, var(--shely-accent) 12%, transparent);--shely-accent-hover:color-mix(in srgb, var(--shely-accent) 20%, transparent);--shely-success:var(--shely-green-deep);--shely-danger:#d93636;--shely-warning:#b86e00;--shely-shadow-sm:0 1px 2px #29145c14;--shely-shadow-md:0 2px 6px #29145c14, 0 8px 20px #29145c14;--shely-shadow-lg:0 4px 12px #29145c1a, 0 18px 48px #29145c1f}}:root[data-theme=light]{--shely-background:var(--shely-paper);--shely-surface:#fff;--shely-surface-2:#efe9ff;--shely-border:#dcd2f5;--shely-border-subtle:#e8e0fa;--shely-text:#17122e;--shely-text-muted:#5b4e86;--shely-accent:var(--shely-green-deep);--shely-accent-2:var(--shely-purple);--shely-accent-subtle:color-mix(in srgb, var(--shely-accent) 12%, transparent);--shely-accent-hover:color-mix(in srgb, var(--shely-accent) 20%, transparent);--shely-success:var(--shely-green-deep);--shely-danger:#d93636;--shely-warning:#b86e00;--shely-shadow-sm:0 1px 2px #29145c14;--shely-shadow-md:0 2px 6px #29145c14, 0 8px 20px #29145c14;--shely-shadow-lg:0 4px 12px #29145c1a, 0 18px 48px #29145c1f}*{box-sizing:border-box}body{background:var(--shely-background);color:var(--shely-text);margin:0;padding:2rem;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5}code{font-family:var(--shely-font-mono);color:var(--shely-accent)}.terminal-pane{flex-direction:column;gap:.5rem;height:80vh;display:flex}.terminal-status{color:var(--shely-text-muted);align-items:center;gap:.5rem;font-size:.8rem;display:flex}.terminal-state{border:1px solid var(--shely-border);background:var(--shely-surface-2);color:var(--shely-text-muted);border-radius:999px;align-items:center;gap:.4rem;padding:.2rem .6rem;font-size:.76rem;font-weight:600;display:inline-flex}.terminal-state-dot{background:currentColor;border-radius:50%;width:.55rem;height:.55rem;box-shadow:0 0}.terminal-state[data-state]{border-color:color-mix(in srgb, currentColor 40%, transparent);background:color-mix(in srgb, currentColor 12%, transparent)}.terminal-state[data-state=connecting],.terminal-state[data-state=reconnecting]{color:#e3a008}.terminal-state[data-state=connecting] .terminal-state-dot,.terminal-state[data-state=reconnecting] .terminal-state-dot{animation:1.1s ease-in-out infinite terminal-pulse}.terminal-state[data-state=connected]{color:var(--shely-success)}.terminal-state[data-state=closing],.terminal-state[data-state=closed]{color:var(--shely-danger)}@keyframes terminal-pulse{0%,to{box-shadow:0 0 0 0 color-mix(in srgb, currentColor 60%, transparent)}50%{box-shadow:0 0 0 .28rem #0000}}.terminal-latency{border:1px solid var(--shely-border);background:var(--shely-surface-2);font-family:var(--shely-font-mono);color:var(--shely-text-muted);border-radius:999px;align-items:center;gap:.4rem;padding:.2rem .55rem;font-size:.72rem;display:inline-flex}.terminal-latency-bars{align-items:flex-end;gap:2px;height:.75rem;display:inline-flex}.terminal-latency-bars i{background:var(--shely-accent);opacity:.85;border-radius:1px;width:3px}.terminal-latency-bars i:first-child{height:40%}.terminal-latency-bars i:nth-child(2){height:70%}.terminal-latency-bars i:nth-child(3){height:100%}.terminal-latency[data-warn=true]{color:var(--shely-danger)}.terminal-latency[data-warn=true] .terminal-latency-bars i{background:var(--shely-danger)}.terminal-notice{border:1px solid color-mix(in srgb, var(--shely-danger) 55%, transparent);border-left:3px solid var(--shely-danger);border-radius:var(--shely-radius-sm);background:color-mix(in srgb, var(--shely-danger) 12%, transparent);color:var(--shely-danger);margin:0;padding:.55rem .8rem;font-size:.85rem}.terminal-surface{background:var(--shely-ink);border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);flex:1;min-height:0;padding:.6rem;box-shadow:inset 0 1px #8b3dff24}.latency-hud{background:var(--shely-surface-2);border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);box-shadow:var(--shely-shadow-md);font-family:var(--shely-font-mono);color:var(--shely-text-muted);gap:.15rem;margin:0;padding:.6rem .8rem;font-size:.72rem;display:grid;position:fixed;bottom:1rem;right:1rem}.latency-hud>div{justify-content:space-between;gap:.75rem;display:flex}.latency-hud dt{margin:0}.latency-hud dd{color:var(--shely-text);margin:0}.latency-hud dd[data-warn=true]{color:var(--shely-danger)}.workspace{flex-direction:column;gap:.5rem;height:85vh;display:flex}.workspace-bar{gap:.5rem;display:flex}.workspace-bar button,.broadcast-confirm button{background:var(--shely-surface);color:var(--shely-text);border:1px solid var(--shely-border);font:inherit;cursor:pointer;border-radius:6px;padding:.35rem .7rem;font-size:.85rem}.workspace-bar button[data-active=true]{border-color:var(--shely-danger);color:var(--shely-danger)}.workspace-bar kbd{font-family:var(--shely-font-mono);color:var(--shely-text-muted);font-size:.75rem}.broadcast-banner{background:var(--shely-danger);color:#fff;border-radius:6px;padding:.4rem .75rem;font-size:.85rem;font-weight:600}.broadcast-confirm{border:1px solid var(--shely-danger);border-radius:6px;align-items:center;gap:.75rem;padding:.6rem .85rem;display:flex}.broadcast-confirm p{flex:1;margin:0;font-size:.9rem}.workspace-panes{flex:1;min-height:0;display:flex}.workspace-panes>*{flex:1;min-width:0;min-height:0}.workspace-split{gap:.4rem;width:100%;height:100%;display:flex}.workspace-split[data-direction=horizontal]{flex-direction:row}.workspace-split[data-direction=vertical]{flex-direction:column}.workspace-split>div{min-width:0;min-height:0;display:flex}.workspace-split>div>*{flex:1}.workspace-pane{border:1px solid var(--shely-border);background:var(--shely-surface);border-radius:6px;flex-direction:column;min-width:0;padding:.5rem;display:flex}.workspace-pane[data-focused=true]{outline:2px solid var(--shely-accent);outline-offset:-2px}.workspace-pane-title{color:var(--shely-text-muted);align-items:center;gap:.5rem;font-size:.8rem;display:flex}.workspace-pane-title .production{text-transform:uppercase;letter-spacing:.06em;color:var(--shely-danger);border:1px solid;border-radius:4px;padding:0 .3rem;font-size:.7rem;font-style:normal}.palette-backdrop{background:#00000073;justify-content:center;padding-top:12vh;display:flex;position:fixed;inset:0}.palette{background:var(--shely-surface);border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);width:min(560px,90vw);height:fit-content;box-shadow:var(--shely-shadow-lg);overflow:hidden}.palette-input{border:0;border-bottom:1px solid var(--shely-border-subtle);width:100%;color:var(--shely-text);font:inherit;background:0 0;padding:.75rem .95rem;transition:border-color .12s,box-shadow .12s}.palette-input::placeholder{color:var(--shely-text-muted)}.palette-input:focus{border-bottom-color:var(--shely-accent);box-shadow:0 1px 0 0 var(--shely-accent-subtle);outline:none}.palette-results{max-height:45vh;margin:0;padding:.25rem;list-style:none;overflow-y:auto}.palette-results button{border-radius:var(--shely-radius-sm);width:100%;color:var(--shely-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:1rem;padding:.45rem .65rem;display:flex}.palette-results button[data-highlighted=true]{background:var(--shely-accent-subtle);color:var(--shely-text)}.palette-results small,.palette-results button[data-highlighted=true] small{color:var(--shely-text-muted)}.palette-empty{color:var(--shely-text-muted);padding:.6rem .65rem;font-size:.85rem}.files{flex-direction:column;gap:.5rem;height:100%;min-height:0;display:flex}.files-panes{flex:1;grid-template-columns:1fr auto 1fr;gap:.5rem;min-height:0;display:grid}@media (max-width:900px){.files-panes{grid-template-columns:1fr}.files-queue-panel:not(.files-queue-collapsed){max-height:24vh}}.files-pane{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);min-height:0;max-height:70vh;box-shadow:var(--shely-shadow-sm);flex-direction:column;transition:border-color .12s,box-shadow .12s;display:flex;overflow:hidden}.files-pane-focused{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle)}.files-path{border-bottom:1px solid var(--shely-border-subtle);background:var(--shely-surface-2);align-items:center;gap:.5rem;padding:.5rem;display:flex}.files-path-text{text-overflow:ellipsis;white-space:nowrap;text-align:left;min-width:0;color:var(--shely-text-muted);direction:rtl;flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;overflow:hidden}.files-path-inner{direction:ltr;unicode-bidi:isolate}.files-breadcrumbs{flex-wrap:nowrap;flex:1;align-items:center;gap:0;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;display:flex;overflow:hidden}.files-breadcrumbs-editing{overflow:visible}.files-crumb-group{align-items:center;min-width:0;display:inline-flex}.files-crumb{text-overflow:ellipsis;white-space:nowrap;border-radius:var(--shely-radius-sm);max-width:12rem;color:var(--shely-text-muted);cursor:pointer;font:inherit;background:0 0;border:0;flex:none;padding:.1rem .2rem;overflow:hidden}.files-crumb:hover{color:var(--shely-text);background:var(--shely-accent-subtle)}.files-crumb-root{padding-left:.1rem}.files-crumb-current{max-width:none;color:var(--shely-text);font-weight:600}.files-crumb-sep{color:var(--shely-text-muted);opacity:.5;flex:none;padding:0 .05rem}.files-crumb-ellipsis{font-weight:600}.files-crumb-copy{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-surface);color:var(--shely-text-muted);font:inherit;cursor:pointer;flex:none;margin-left:.4rem;padding:.1rem .45rem;font-size:.72rem}.files-crumb-copy:hover{border-color:var(--shely-accent);color:var(--shely-text)}.files-path-input{border:1px solid var(--shely-accent);border-radius:var(--shely-radius-sm);background:var(--shely-background);min-width:0;color:var(--shely-text);flex:1;padding:.25rem .4rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.files-hint{border-radius:var(--shely-radius-sm);border:1px solid var(--shely-border);background:var(--shely-surface-2);color:var(--shely-text-muted);text-transform:uppercase;letter-spacing:.04em;vertical-align:middle;margin-left:.4rem;padding:0 .35rem;font-size:.66rem;display:inline-block}.files-hint-large{border-color:color-mix(in srgb, var(--shely-accent) 45%, var(--shely-border));color:var(--shely-accent)}.files-table{border-collapse:collapse;flex:1;min-height:0;font-size:.85rem;display:block;overflow:auto}.files-table th,.files-table td{text-align:left;white-space:nowrap;padding:.25rem .5rem}.files-cell-name{white-space:nowrap;text-overflow:ellipsis;width:100%;min-width:12rem;max-width:0;overflow:hidden}.files-cell-name .files-name{white-space:nowrap;vertical-align:bottom;align-items:center;gap:.4rem;max-width:100%;display:inline-flex;overflow:hidden}.files-cell-name .files-name .files-name-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.files-type-icon{width:1rem;height:1rem;color:var(--shely-text-muted);flex:none}.files-type-icon-folder{color:var(--shely-accent)}.files-type-icon-image{color:var(--shely-success)}.files-type-icon-code{color:var(--shely-accent)}.files-type-icon-archive,.files-type-icon-binary{color:var(--shely-text-muted)}.files-cell-size{text-align:right;font-variant-numeric:tabular-nums}th.files-cell-size button{text-align:right;width:100%}.files-cell-modified,.files-cell-mode{white-space:nowrap}.files-table thead th{background:var(--shely-surface-2);border-bottom:1px solid var(--shely-border-subtle);position:sticky;top:0}.files-table th button{color:var(--shely-text-muted);cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.files-row-selected{background:var(--shely-accent-subtle)}.files-table tbody tr:hover{background:var(--shely-surface-2)}.files-table tbody tr.files-row-selected:hover{background:var(--shely-accent-hover)}.files-row-cursor td:first-child{box-shadow:inset 3px 0 0 0 var(--shely-accent)}.files-table tbody:focus-visible{box-shadow:inset 0 0 0 2px var(--shely-accent-subtle);outline:none}.files-name{color:var(--shely-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:0}.files-name:focus-visible,.files-mode:focus-visible{outline:2px solid var(--shely-accent);outline-offset:2px;border-radius:var(--shely-radius-sm)}.files-skeleton{border-radius:var(--shely-radius-sm);background:linear-gradient(90deg, var(--shely-surface-2) 25%, var(--shely-surface) 50%, var(--shely-surface-2) 75%);background-size:200% 100%;height:.8rem;animation:1.2s ease-in-out infinite files-skeleton-sweep;display:inline-block}.files-row-skeleton td{padding:.4rem .5rem}.files-skeleton-check{width:.9rem;height:.9rem}.files-skeleton-name{width:60%;min-width:8rem}.files-skeleton-size{width:3rem}.files-skeleton-modified{width:5rem}.files-skeleton-mode{width:4.5rem}@keyframes files-skeleton-sweep{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.files-skeleton{animation:none}}.files-empty{text-align:center;color:var(--shely-text-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.35rem;padding:3rem 1.5rem;display:flex}.files-empty-glyph{border-radius:var(--shely-radius-lg);background:var(--shely-surface-2);width:3rem;height:3rem;color:var(--shely-accent);justify-content:center;align-items:center;font-size:1.4rem;display:inline-flex}.files-empty-title{color:var(--shely-text);margin:.35rem 0 0;font-size:.95rem;font-weight:600}.files-empty-note{margin:0;font-size:.82rem}.files-error{border:1px solid color-mix(in srgb, var(--shely-danger) 45%, var(--shely-border));border-left:3px solid var(--shely-danger);border-radius:var(--shely-radius-md);background:color-mix(in srgb, var(--shely-danger) 12%, transparent);color:var(--shely-danger);margin:0;padding:.6rem .8rem;font-size:.88rem}.files-transfer{flex-direction:column;justify-content:center;gap:.5rem;display:flex}.files-copy{white-space:nowrap}.files-pane-single{flex:1;min-height:0;max-height:none}.files-toolbar{border-bottom:1px solid var(--shely-border-subtle);background:var(--shely-surface-2);flex-wrap:wrap;align-items:center;gap:.4rem;padding:.4rem .5rem;display:flex}.files-tool{white-space:nowrap;border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-surface);color:var(--shely-text);font:inherit;cursor:pointer;padding:.3rem .7rem;font-size:.82rem;transition:border-color .12s,background .12s}.files-tool:hover:not(:disabled){border-color:var(--shely-accent);background:var(--shely-accent-subtle)}.files-tool:disabled{opacity:.5;cursor:not-allowed}.files-tool-primary{border-color:var(--shely-accent);background:var(--shely-accent-subtle)}.files-tool-danger:hover:not(:disabled){border-color:var(--shely-danger);background:color-mix(in srgb, var(--shely-danger) 15%, transparent)}.files-overflow{position:relative}.files-overflow-menu{z-index:5;border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);min-width:12rem;box-shadow:var(--shely-shadow-md);flex-direction:column;padding:.25rem;display:flex;position:absolute;top:calc(100% + .25rem);right:0}.files-overflow-item{text-align:left;border-radius:var(--shely-radius-sm);color:var(--shely-text);font:inherit;cursor:pointer;background:0 0;border:0;padding:.4rem .55rem;font-size:.85rem}.files-overflow-item:hover{background:var(--shely-accent-subtle)}.files-row-actions{white-space:nowrap;justify-content:flex-end;gap:.35rem;display:flex}.files-row-download,.files-entry-action{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-surface-2);color:var(--shely-text-muted);font:inherit;cursor:pointer;opacity:.65;padding:.15rem .5rem;font-size:.78rem;transition:opacity .12s,border-color .12s,color .12s}.files-table tr:hover .files-row-download,.files-table tr:hover .files-entry-action,.files-row-download:focus,.files-entry-action:focus{opacity:1}.files-row-download:hover{border-color:var(--shely-accent);color:var(--shely-accent)}.files-entry-action:hover{border-color:var(--shely-accent);color:var(--shely-text)}.files-queue-panel{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface-2);max-height:32vh;box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:.4rem;padding:.5rem .65rem;display:flex;overflow:auto}.files-queue-head{color:var(--shely-text-muted);justify-content:space-between;align-items:center;gap:.5rem;font-size:.82rem;display:flex}.files-queue-toggle{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:.4rem;padding:.1rem 0;display:flex}.files-queue-toggle:focus-visible{outline:2px solid var(--shely-accent);outline-offset:2px;border-radius:var(--shely-radius-sm)}.files-queue-caret{color:var(--shely-text-muted);flex:none}.files-queue-collapsed{max-height:none;overflow:visible}.files-queue-clear{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-surface);color:var(--shely-text-muted);font:inherit;cursor:pointer;padding:.2rem .55rem;font-size:.78rem}.files-queue-clear:hover{border-color:var(--shely-accent);color:var(--shely-text)}.files-queue-list{flex-direction:column;gap:.3rem;margin:0;padding:0;list-style:none;display:flex}.files-queue-done{opacity:.6}.files-queue-item{border:1px solid var(--shely-border-subtle);border-radius:var(--shely-radius-sm);background:var(--shely-surface);align-items:center;gap:.5rem;padding:.4rem .5rem;display:flex}.files-queue-failed{border-color:color-mix(in srgb, var(--shely-danger) 45%, transparent)}.files-queue-dir{text-align:center;width:1.2rem;color:var(--shely-accent);flex:none;font-size:.95rem}.files-queue-failed .files-queue-dir{color:var(--shely-danger)}.files-queue-body{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.files-queue-row-top{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.files-queue-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--shely-text);font-size:.82rem;overflow:hidden}.files-queue-meta{color:var(--shely-text-muted);white-space:nowrap;flex:none;font-size:.75rem}.files-queue-failed .files-queue-meta{color:var(--shely-danger)}.files-queue-progress{width:100%;height:.4rem}.files-queue-actions{flex:none;gap:.3rem;display:flex}.files-queue-btn{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-surface-2);color:var(--shely-text);font:inherit;cursor:pointer;padding:.2rem .55rem;font-size:.76rem}.files-queue-btn:hover{border-color:var(--shely-accent)}.files-paging{border-top:1px solid var(--shely-border-subtle);background:var(--shely-surface-2);color:var(--shely-text-muted);justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem .5rem;font-size:.8rem;display:flex}.files-queue{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface-2);align-items:center;gap:.75rem;padding:.5rem .65rem;font-size:.85rem;display:flex}.files-queue progress{flex:1}.editor-overlay{z-index:40;background:color-mix(in srgb, var(--shely-background) 55%, transparent);justify-content:flex-end;display:flex;position:fixed;inset:0}.editor-overlay-panel{width:80vw;max-width:80vw;height:100vh;box-shadow:var(--shely-shadow-lg);display:flex}@media (max-width:720px){.editor-overlay-panel{width:100vw;max-width:100vw}}.editor{border:0;border-left:1px solid var(--shely-border);background:var(--shely-surface);height:100vh;min-height:0;box-shadow:var(--shely-shadow-sm);border-radius:0;flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.editor-header{border-bottom:1px solid var(--shely-border-subtle);background:var(--shely-surface-2);align-items:center;gap:.5rem;padding:.5rem;display:flex}.editor-path{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;overflow:hidden}.editor-warning{border-bottom:1px solid var(--shely-border-subtle);border-left:3px solid var(--shely-danger);background:color-mix(in srgb, var(--shely-danger) 15%, transparent);color:var(--shely-danger);margin:0;padding:.5rem .65rem;font-size:.85rem}.editor-text{resize:none;background:var(--shely-background);min-height:0;color:var(--shely-text);font-family:var(--shely-font-mono);tab-size:2;white-space:pre-wrap;word-break:break-word;border:0;flex:1;padding:.75rem;font-size:.85rem;line-height:1.5;overflow:auto}.editor-text-nowrap{white-space:pre;word-break:normal;overflow:auto}.editor-text:focus{outline:2px solid var(--shely-accent);outline-offset:-2px}.editor-wrap{color:var(--shely-text-muted);align-items:center;gap:.3rem;font-size:.8rem;display:flex}.editor-status{border-top:1px solid var(--shely-border-subtle);background:var(--shely-surface-2);color:var(--shely-text-muted);justify-content:flex-end;align-items:center;gap:.5rem;padding:.25rem .6rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;display:flex}.editor-confirm-backdrop{z-index:5;background:color-mix(in srgb, var(--shely-background) 70%, transparent);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.editor-confirm{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);width:min(24rem,90%);box-shadow:var(--shely-shadow-lg);padding:1rem 1.1rem}.editor-confirm-text{color:var(--shely-text);margin:0 0 .85rem;font-size:.9rem}.editor-confirm-actions{justify-content:flex-end;gap:.5rem;display:flex}.editor-confirm-cancel,.editor-confirm-discard{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-surface-2);color:var(--shely-text);font:inherit;cursor:pointer;padding:.35rem .8rem;font-size:.82rem}.editor-confirm-cancel:hover{border-color:var(--shely-accent)}.editor-confirm-discard{border-color:var(--shely-danger);color:var(--shely-danger)}.editor-confirm-discard:hover{background:color-mix(in srgb, var(--shely-danger) 15%, transparent)}.files-page{flex-direction:column;gap:.75rem;display:flex}.files-pane-drop{outline:2px dashed var(--shely-accent);outline-offset:-4px}.files-mode{cursor:pointer;font:inherit;color:inherit;background:0 0;border:0;padding:0}.files-mode-input{width:10ch;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.files-mode-invalid{outline:2px solid var(--shely-danger)}.player{flex-direction:column;gap:.5rem;display:flex}.player-controls{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface-2);align-items:center;gap:.75rem;padding:.5rem .65rem;display:flex}.player-controls input[type=range]{flex:1;min-width:0}.player-time{color:var(--shely-text-muted);white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.player-speed{color:var(--shely-text-muted);align-items:center;gap:.35rem;font-size:.85rem;display:flex}.player-note{border-left:3px solid var(--shely-accent);border-radius:var(--shely-radius-sm);background:var(--shely-accent-subtle);color:var(--shely-text-muted);margin:0;padding:.5rem .75rem;font-size:.85rem}.player-error{border-left:3px solid var(--shely-danger);border-radius:var(--shely-radius-md);background:color-mix(in srgb, var(--shely-danger) 15%, transparent);color:var(--shely-danger);margin:0;padding:.75rem}.recording-banner{border:1px solid color-mix(in srgb, var(--shely-danger) 45%, transparent);border-radius:var(--shely-radius-md);background:color-mix(in srgb, var(--shely-danger) 18%, transparent);color:var(--shely-danger);align-items:center;gap:.5rem;padding:.45rem .85rem;font-size:.8rem;font-weight:600;display:flex}.recording-banner:before{content:"";background:var(--shely-danger);border-radius:50%;width:.6rem;height:.6rem}.recordings-page{flex-direction:column;gap:.75rem;display:flex}.recording-screen{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-background);white-space:pre-wrap;min-height:12rem;margin:0;padding:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;overflow-x:auto}.button{border:1px solid var(--shely-border);background:var(--shely-surface);color:var(--shely-text);font:inherit;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:.5rem;padding:.5rem 1rem;line-height:1.2;text-decoration:none;transition:border-color .12s,background .12s;display:inline-flex}.button:hover{border-color:var(--shely-accent)}.button:disabled{opacity:.6;cursor:progress}.button-primary{background:var(--shely-accent);border-color:var(--shely-accent);color:var(--shely-ink)}.button-primary:hover{filter:brightness(1.1)}.button-quiet{background:0 0}.button-large{padding:.7rem 1.4rem;font-size:1.02rem}.button-disabled{opacity:.5;cursor:not-allowed;pointer-events:auto}.landing{max-width:64rem;margin:0 auto}.landing-nav{justify-content:space-between;align-items:center;padding-bottom:3rem;display:flex}.landing-nav nav{gap:.6rem;display:flex}.landing-mark{font-family:var(--shely-font-display);letter-spacing:.01em;font-size:1.1rem;font-weight:650}.landing-logo{width:auto;height:30px;display:block}.landing-nav{border-bottom:1px solid #0000;border-image:var(--shely-gradient-hair) 1}.landing-hero{padding:2rem 0 3.5rem}.landing-hero h1{font-family:var(--shely-font-display);letter-spacing:-.02em;color:var(--shely-text);background:var(--shely-gradient-brand);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0 0 1rem;font-size:clamp(2rem,5vw,3.1rem);line-height:1.1}@media (prefers-color-scheme:light){.landing-hero h1{background:linear-gradient(135deg, var(--shely-purple-deep) 0%, var(--shely-green-deep) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}}.landing-lede{max-width:42rem;color:var(--shely-text-muted);margin:0 0 2rem;font-size:1.1rem}.landing-cta{flex-wrap:wrap;gap:.75rem;display:flex}.landing-grid{border-top:1px solid var(--shely-border);grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.5rem;padding:2.5rem 0;display:grid}.landing-grid h2{margin:0 0 .5rem;font-size:1rem}.landing-grid p{color:var(--shely-text-muted);margin:0;font-size:.94rem}.landing-footer{border-top:1px solid var(--shely-border);color:var(--shely-text-muted);justify-content:space-between;padding-top:2rem;font-size:.88rem;display:flex}.landing-footer a{color:var(--shely-text-muted)}.landing-section{border-top:1px solid var(--shely-border);padding:2.5rem 0}.landing-section h2{font-family:var(--shely-font-display);letter-spacing:-.01em;margin:0 0 .5rem;font-size:clamp(1.4rem,3vw,1.9rem)}.landing-section h3{margin:1.25rem 0 .4rem;font-size:1.02rem}.landing-section>p,.landing-section-lede{max-width:42rem;color:var(--shely-text-muted);margin:0 0 1rem}.landing-section-lede{font-size:1.05rem}.feature-list{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.25rem;margin-top:1.5rem;display:grid}.feature-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);padding:1.25rem}.feature-card h3{font-family:var(--shely-font-display);margin:0 0 .4rem;font-size:1.05rem}.feature-card p{color:var(--shely-text-muted);margin:0;font-size:.94rem}.how-steps{counter-reset:how-step;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.25rem;margin:1.5rem 0 0;padding:0;list-style:none;display:grid}.how-step{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);counter-increment:how-step;padding:1.25rem;position:relative}.how-step:before{content:counter(how-step);background:var(--shely-accent-subtle);width:1.9rem;height:1.9rem;color:var(--shely-accent);font-family:var(--shely-font-display);border-radius:999px;justify-content:center;align-items:center;margin-bottom:.6rem;font-weight:650;display:inline-flex}.how-step h3{font-family:var(--shely-font-display);margin:0 0 .35rem;font-size:1.05rem}.how-step p{color:var(--shely-text-muted);margin:0;font-size:.94rem}.security-highlights{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1.25rem;margin-top:1.5rem;display:grid}.security-item{border:1px solid var(--shely-border-subtle);border-radius:var(--shely-radius-lg);background:var(--shely-surface-2);padding:1.25rem}.security-item h3{font-family:var(--shely-font-display);margin:0 0 .4rem;font-size:1.02rem}.security-item p{color:var(--shely-text-muted);margin:0;font-size:.94rem}.security-item a{color:var(--shely-accent)}.faq-list{flex-direction:column;gap:.75rem;margin-top:1.5rem;display:flex}.faq-item{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);overflow:hidden}.faq-item summary{cursor:pointer;padding:.9rem 1.1rem;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary h3{font-family:var(--shely-font-display);margin:0;font-size:1rem;font-weight:600;display:inline}.faq-item summary:focus-visible{outline:2px solid var(--shely-accent);outline-offset:-2px}.faq-item>p{color:var(--shely-text-muted);margin:0;padding:0 1.1rem 1rem;font-size:.94rem}.faq-note{color:var(--shely-text-muted);margin-top:1.5rem;font-size:.9rem}.faq-note a{color:var(--shely-accent)}.pricing-tiers{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1.25rem;margin-top:1.5rem;display:grid}.pricing-tier{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;padding:1.5rem;display:flex}.pricing-tier h3{font-family:var(--shely-font-display);margin:0 0 .35rem;font-size:1.2rem}.pricing-tier-summary{color:var(--shely-text-muted);margin:0 0 .75rem;font-size:.94rem}.pricing-tier-price{font-family:var(--shely-font-display);color:var(--shely-accent);margin:0 0 1rem;font-weight:650}.pricing-tier-list{color:var(--shely-text-muted);margin:0;padding-left:1.1rem;font-size:.92rem}.pricing-tier-list li{margin-bottom:.35rem}.pricing-tier-audience{font-family:var(--shely-font-display);letter-spacing:.08em;text-transform:uppercase;color:var(--shely-text-muted);margin:0 0 .5rem;font-size:.72rem;font-weight:650}.pricing-tier-seat{border-radius:var(--shely-radius-sm);background:var(--shely-accent-subtle);color:var(--shely-text);align-self:flex-start;margin:-.5rem 0 1rem;padding:.3rem .55rem;font-size:.85rem}.pricing-tier-featured{border-color:var(--shely-accent);box-shadow:var(--shely-shadow-md)}.pricing-tier-featured .pricing-tier-audience{color:var(--shely-accent)}.landing-closing{border-top:1px solid var(--shely-border);padding:3rem 0 1rem}.landing-closing h2{font-family:var(--shely-font-display);letter-spacing:-.01em;margin:0 0 .5rem;font-size:clamp(1.5rem,3.5vw,2.1rem)}.auth-page{justify-content:center;padding-top:3rem;display:flex}.auth-card{border:1px solid var(--shely-border);background:var(--shely-surface);border-radius:10px;flex-direction:column;gap:.5rem;width:100%;max-width:24rem;padding:2rem;display:flex}.auth-logo{width:auto;height:56px;margin:0 auto 1rem;display:block}.auth-card h1{font-family:var(--shely-font-display);margin:0 0 .75rem;font-size:1.4rem}.auth-card label{color:var(--shely-text-muted);font-size:.85rem}.auth-card input[type=email],.auth-card input[type=password]{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;margin-bottom:.4rem;padding:.55rem .7rem}.auth-card input:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.auth-card .button-large{margin-top:.75rem}.auth-error{color:var(--shely-danger);margin:.25rem 0 0;font-size:.88rem}.auth-note{color:var(--shely-text-muted);margin:.5rem 0 0;font-size:.82rem}.auth-alt{border-top:1px solid var(--shely-border);color:var(--shely-text-muted);margin:1rem 0 0;padding-top:1rem;font-size:.88rem}.auth-alt a{color:var(--shely-accent)}.link-button{color:var(--shely-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.auth-check{color:var(--shely-text);align-items:center;gap:.5rem;margin:1rem 0 0;font-size:.88rem;display:flex}.auth-card-wide{max-width:32rem}.recovery-codes{border:1px solid var(--shely-border);background:var(--shely-background);border-radius:8px;margin:1rem 0;padding:1rem 1rem 1rem 2.5rem;font-size:.95rem;line-height:1.9}.recovery-codes code{white-space:nowrap;-webkit-user-select:all;user-select:all}.portal-bar{border-bottom:1px solid var(--shely-border);flex-wrap:wrap;align-items:center;gap:1rem;padding-bottom:1.25rem;display:flex}.portal-mark{color:var(--shely-text);font-weight:650;text-decoration:none}.portal-search{border:1px solid var(--shely-border);background:var(--shely-background);max-width:26rem;color:var(--shely-text);font:inherit;border-radius:999px;flex:14rem;padding:.5rem .9rem;font-size:.9rem;transition:border-color .12s,box-shadow .12s}.portal-search::placeholder{color:var(--shely-text-muted)}.portal-search:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.portal-account{align-items:center;gap:.6rem;margin-left:auto;display:flex}.portal-email{text-overflow:ellipsis;white-space:nowrap;max-width:16rem;color:var(--shely-text-muted);font-size:.86rem;overflow:hidden}.portal-chip{border:1px solid var(--shely-border);background:var(--shely-surface-2);color:var(--shely-text-muted);white-space:nowrap;border-radius:999px;padding:.12rem .55rem;font-size:.74rem}.portal-chip-warn{border-color:var(--shely-danger);color:var(--shely-danger)}.portal-main{flex-direction:column;gap:1.5rem;padding-top:2rem;display:flex}.portal-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.portal-heading h1{margin:0 0 .25rem;font-size:1.5rem}.portal-lede{color:var(--shely-text-muted);margin:0;font-size:.92rem}.portal-empty{color:var(--shely-text-muted);font-size:.94rem}.portal-grid{grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:1rem;margin:0;padding:0;list-style:none;display:grid}.portal-card{border:1px solid var(--shely-border);border-top:3px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:.7rem;padding:1.1rem;transition:border-color .12s,box-shadow .12s,transform .12s;display:flex}.portal-card:hover{border-color:var(--shely-border);box-shadow:var(--shely-shadow-md);transform:translateY(-1px)}.portal-card-head{flex-wrap:wrap;align-items:baseline;gap:.5rem;display:flex}.portal-card-head h2{margin:0;font-size:1rem}.portal-tags{flex-wrap:wrap;gap:.3rem;margin:0;padding:0;list-style:none;display:flex}.portal-target{color:var(--shely-text);word-break:break-all;font-family:ui-monospace,SF Mono,Cascadia Mono,Menlo,monospace;font-size:.84rem}.portal-port{color:var(--shely-text-muted)}.portal-card-actions{border-top:1px solid var(--shely-border-subtle);justify-content:space-between;align-items:center;gap:.5rem;margin-top:auto;padding-top:.65rem;display:flex}.portal-pending{color:var(--shely-text-muted);cursor:not-allowed;font-size:.86rem}.button-small{padding:.32rem .6rem;font-size:.82rem}.portal-blank{border:1px dashed var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);text-align:center;padding:2.75rem 2rem}.portal-blank h2{margin:0 0 .5rem;font-size:1.1rem}.portal-blank p{max-width:34rem;color:var(--shely-text-muted);margin:0 auto 1.25rem;font-size:.92rem}.portal-panel{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:1rem;padding:1.35rem;display:flex}.portal-fields{flex-wrap:wrap;gap:.75rem;display:flex}.portal-field{flex-direction:column;flex:10rem;gap:.3rem;display:flex}.portal-field-narrow{flex:0 0 5.5rem}.portal-field label{color:var(--shely-text-muted);font-size:.8rem}.portal-field input{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-background);color:var(--shely-text);font:inherit;padding:.5rem .7rem;transition:border-color .12s,box-shadow .12s}.portal-field input:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.password-input{align-items:stretch;gap:.4rem;display:flex}.password-input input{flex:1;min-width:0}.password-toggle{white-space:nowrap;flex:none;align-self:stretch}.vault-locked-hint{border:1px solid var(--shely-accent);border-radius:var(--shely-radius-sm);background:var(--shely-accent-subtle);color:var(--shely-text);align-items:center;gap:.5rem;margin:.15rem 0 0;padding:.6rem .75rem;font-size:.9rem;line-height:1.4;display:flex}.vault-locked-hint-icon{flex:none;font-size:1rem;line-height:1}.portal-panel .button{align-self:flex-start}.portal-note{border:1px solid var(--shely-border);background:var(--shely-surface);border-radius:8px;padding:1rem 1.25rem}.portal-note h2{margin:0 0 .4rem;font-size:.95rem}.portal-note p{color:var(--shely-text-muted);margin:0;font-size:.9rem}.hosts{flex-direction:column;gap:1.75rem;display:flex}.command-bar{gap:.6rem;width:100%;max-width:42rem;margin:.5rem auto 0;display:flex}.command-bar-input{border:1px solid var(--shely-border);background:var(--shely-surface);min-width:0;color:var(--shely-text);font:inherit;box-shadow:var(--shely-shadow-sm);border-radius:999px;flex:auto;padding:.7rem 1.1rem;font-size:.95rem;transition:border-color .12s,box-shadow .12s}.command-bar-input::placeholder{color:var(--shely-text-muted)}.command-bar-input:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.command-bar-connect{border-radius:999px;flex:none;padding-inline:1.4rem}.toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.toolbar-group{align-items:center;gap:.5rem;display:flex}.toolbar-group-end{margin-left:auto}.toolbar-action{font-size:.86rem}.view-toggle{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);align-items:center;gap:.15rem;padding:.15rem;display:inline-flex}.view-toggle-button{border-radius:var(--shely-radius-sm);width:1.9rem;height:1.7rem;color:var(--shely-text-muted);font:inherit;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;transition:background .12s,color .12s;display:inline-flex}.view-toggle-button[aria-pressed=true]{background:var(--shely-accent-subtle);color:var(--shely-accent)}.account-avatar,.account-add{border:1px solid var(--shely-border);background:var(--shely-surface);width:2rem;height:2rem;color:var(--shely-text-muted);border-radius:999px;justify-content:center;align-items:center;text-decoration:none;transition:border-color .12s,color .12s;display:inline-flex}.account-avatar:hover,.account-add:hover{border-color:var(--shely-accent);color:var(--shely-accent)}.hosts-section{flex-direction:column;gap:.9rem;display:flex}.hosts-section-title{letter-spacing:.04em;text-transform:uppercase;color:var(--shely-text-muted);margin:0;font-size:.82rem;font-weight:650}.plan-indicator{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem .9rem;display:flex}.plan-indicator-name{color:var(--shely-text);margin:0;font-weight:650}.group-grid{grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.group-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);align-items:center;gap:.6rem;padding:.75rem .9rem;display:flex}.group-icon{border-radius:var(--shely-radius-sm);background:var(--shely-surface-2);width:2rem;height:2rem;color:var(--shely-text-muted);justify-content:center;align-items:center;display:inline-flex}.group-name{color:var(--shely-text);font-weight:600}.group-count{color:var(--shely-text-muted);white-space:nowrap;margin-left:auto;font-size:.82rem}.host-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin:0;padding:0;list-style:none;display:grid}@media (max-width:62rem){.host-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:40rem){.host-grid{grid-template-columns:1fr}}.host-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:.7rem;padding:1.1rem;transition:border-color .12s,box-shadow .12s,transform .12s;display:flex}.host-card:hover{box-shadow:var(--shely-shadow-md);transform:translateY(-1px)}.host-card-head{align-items:center;gap:.75rem;display:flex}.host-tile{border-radius:var(--shely-radius-md);border:1px solid #0000;flex:none;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;font-size:1.2rem;font-weight:650;display:inline-flex}.host-card-heading{flex-direction:column;gap:.15rem;min-width:0;display:flex}.host-card-label{align-items:center;gap:.45rem;margin:0;font-size:1rem;font-weight:650;display:flex}.host-card-subtitle{color:var(--shely-text-muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.82rem;overflow:hidden}.host-prod-badge{border:1px solid var(--shely-danger);color:var(--shely-danger);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:.05rem .4rem;font-size:.66rem;font-weight:600}.host-card-editing{box-shadow:none;background:0 0;border:none;padding:0}.host-card-editing:hover{transform:none}.vault-gate{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;min-height:60vh;padding:2rem;display:flex}.vault-gate-glyph{color:var(--shely-text-muted);font-size:2.2rem;line-height:1}.vault-gate-title{margin:0;font-size:1.15rem;font-weight:650}.vault-gate-subtitle{max-width:32rem;color:var(--shely-text-muted);margin:0 0 .5rem;font-size:.92rem}.vault-gate-form{text-align:left;flex-direction:column;gap:.5rem;width:100%;max-width:20rem;display:flex}.vault-gate-label{color:var(--shely-text-muted);font-size:.82rem}.vault-gate-form input{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-background);color:var(--shely-text);font:inherit;padding:.55rem .7rem}.vault-gate-form input:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.known-host-fingerprint{color:var(--shely-text-muted);word-break:break-all;font-family:ui-monospace,SF Mono,Cascadia Mono,Menlo,monospace;font-size:.8rem;display:block}.section,.keychain{flex-direction:column;gap:1.5rem;display:flex}.keychain-section{flex-direction:column;gap:.9rem;display:flex}.keychain-heading{margin:0;font-size:1.1rem;font-weight:650}.key-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin:0;padding:0;list-style:none;display:grid}@media (max-width:62rem){.key-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:40rem){.key-grid{grid-template-columns:1fr}}.key-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:.75rem;padding:1.1rem;transition:border-color .12s,box-shadow .12s,transform .12s;display:flex}.key-card:hover{box-shadow:var(--shely-shadow-md);transform:translateY(-1px)}.key-card-head{align-items:center;gap:.75rem;display:flex}.key-tile{border-radius:var(--shely-radius-md);border:1px solid #0000;flex:none;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;font-size:1.2rem;font-weight:650;display:inline-flex}.key-card-heading{flex-direction:column;gap:.2rem;min-width:0;display:flex}.key-card-name{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1rem;font-weight:650;overflow:hidden}.key-card-type{color:var(--shely-text-muted);font-size:.82rem}.logs-table{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);overflow:hidden}.logs-head{border-bottom:1px solid var(--shely-border-subtle);background:var(--shely-surface-2);color:var(--shely-text-muted);letter-spacing:.04em;text-transform:uppercase;grid-template-columns:1.4fr 1.6fr 1.4fr .8fr;gap:1rem;padding:.7rem 1.1rem;font-size:.76rem;font-weight:650;display:grid}.logs-row{border-bottom:1px solid var(--shely-border-subtle);grid-template-columns:1.4fr 1.6fr 1.4fr .8fr;gap:1rem;padding:.6rem 1.1rem;font-size:.86rem;display:grid}.logs-row:last-child{border-bottom:none}.logs-cell{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.logs-cell-muted{color:var(--shely-text-muted);font-family:ui-monospace,SF Mono,Cascadia Mono,Menlo,monospace;font-size:.78rem}.logs-empty{text-align:center;flex-direction:column;align-items:center;gap:.35rem;padding:3rem 1.5rem;display:flex}.logs-empty-title{color:var(--shely-text);font-size:1rem;font-weight:650}.logs-empty-subtitle{max-width:32rem;color:var(--shely-text-muted);font-size:.86rem;line-height:1.5}.termius-empty{text-align:center;flex-direction:column;align-items:center;gap:.75rem;padding:4rem 1.5rem;display:flex}.termius-empty-glyph{border-radius:var(--shely-radius-lg);background:var(--shely-surface-2);width:4rem;height:4rem;color:var(--shely-text-muted);justify-content:center;align-items:center;font-size:1.6rem;font-weight:650;display:inline-flex}.termius-empty-title{margin:0;font-size:1.2rem;font-weight:650}.termius-empty-subtitle{max-width:32rem;color:var(--shely-text-muted);margin:0;font-size:.9rem;line-height:1.55}.sftp{flex-direction:column;gap:1.5rem;display:flex}.sftp-empty{text-align:center;border:1px dashed var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);flex-direction:column;align-items:center;gap:.75rem;padding:4rem 1.5rem;display:flex}.sftp-empty-glyph{border-radius:var(--shely-radius-lg);background:var(--shely-surface-2);width:4rem;height:4rem;color:var(--shely-accent);justify-content:center;align-items:center;font-size:1.8rem;font-weight:650;display:inline-flex}.sftp-empty-title{margin:0;font-size:1.2rem;font-weight:650}.sftp-empty-subtitle{max-width:32rem;color:var(--shely-text-muted);margin:0;font-size:.9rem;line-height:1.55}.sftp-empty-note{color:var(--shely-text-muted);margin:.25rem 0 0;font-size:.82rem}.sftp-server-grid{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.75rem;width:100%;max-width:44rem;margin:.5rem 0 0;padding:0;list-style:none;display:grid}.sftp-server-button{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface-2);width:100%;color:var(--shely-text);text-align:left;cursor:pointer;align-items:center;gap:.75rem;padding:.75rem .9rem;display:flex}.sftp-server-button:hover{border-color:var(--shely-accent)}.sftp-server-button:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.sftp-server-tile{border-radius:var(--shely-radius-md);background:var(--shely-surface);width:2.25rem;height:2.25rem;color:var(--shely-accent);flex:none;justify-content:center;align-items:center;font-weight:650;display:inline-flex}.sftp-server-text{flex-direction:column;gap:.15rem;min-width:0;display:flex}.sftp-server-label{font-weight:600}.sftp-server-target{text-overflow:ellipsis;white-space:nowrap;color:var(--shely-text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;overflow:hidden}.landing-signed-in{color:var(--shely-text-muted);align-self:center;font-size:.88rem}.site-footer{border-top:1px solid var(--shely-border);margin-top:4rem;padding-top:2.5rem}.site-footer-columns{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:2rem;display:grid}.site-footer h2{letter-spacing:.06em;text-transform:uppercase;color:var(--shely-text-muted);margin:0 0 .75rem;font-size:.78rem;font-weight:600}.site-footer ul{margin:0;padding:0;list-style:none}.site-footer li{margin-bottom:.5rem;font-size:.9rem}.site-footer a{color:var(--shely-text);text-decoration:none}.site-footer a:hover{color:var(--shely-accent)}.site-footer-description{color:var(--shely-text-muted);font-size:.78rem;display:block}.site-footer-base{border-top:1px solid var(--shely-border);color:var(--shely-text-muted);flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin-top:2.5rem;padding:1.25rem 0 .5rem;font-size:.84rem;display:flex}.site-footer-base a{color:var(--shely-text-muted)}.legal{max-width:46rem;margin:0 auto}.legal-nav{flex-wrap:wrap;gap:.65rem 1.25rem;font-size:.9rem;display:flex}.legal-nav a{color:var(--shely-text-muted);text-decoration:none}.legal-nav a:hover{color:var(--shely-text)}.legal .landing-nav{flex-wrap:wrap;gap:1rem}.legal a:focus-visible{outline:2px solid var(--shely-text);outline-offset:4px}.legal-skip{position:absolute;left:-10000px}.legal-skip:focus{padding:.75rem;display:block;position:static}.legal-body{overflow-wrap:anywhere;padding-top:1.5rem}.legal-body p,.legal-body li{line-height:1.7}.legal-body ul{padding-left:1.4rem}.legal-body a{text-underline-offset:.15em;color:var(--shely-text);text-decoration:underline}.legal-version{font-size:.9rem}.legal-notice{border:1px solid var(--shely-danger);color:var(--shely-text);border-radius:8px;margin:0 0 2rem;padding:.85rem 1rem;font-size:.88rem}.legal-body h1{letter-spacing:-.01em;margin:0 0 1.5rem;font-size:1.8rem}.legal-body h2{margin:2rem 0 .6rem;font-size:1.02rem}.legal-body p{color:var(--shely-text-muted);margin:0 0 1rem}.legal-body a{color:var(--shely-text)}.app{grid-template-columns:15rem 1fr;gap:0;min-height:100vh;margin:-2rem;display:grid}.app-splash{color:var(--shely-text-muted)}.app-side{border-right:1px solid var(--shely-border);background:var(--shely-surface);flex-direction:column;gap:1.5rem;padding:1.5rem .85rem;display:flex}.app-mark{letter-spacing:-.01em;color:var(--shely-text);padding:.15rem .55rem;font-size:1.1rem;font-weight:650;text-decoration:none}.app-side nav ul{margin:0;padding:0;list-style:none}.app-side nav li{margin-bottom:.2rem}.app-side nav a{border-radius:var(--shely-radius-sm);color:var(--shely-text-muted);align-items:center;gap:.65rem;padding:.5rem .6rem;font-size:.92rem;text-decoration:none;transition:background .12s,color .12s;display:flex}.app-side nav a:hover{background:var(--shely-surface-2);color:var(--shely-text)}.app-side nav a[aria-current=page]{background:var(--shely-accent-subtle);color:var(--shely-accent);font-weight:550;position:relative}.app-side nav a[aria-current=page]:before{content:"";background:var(--shely-accent);border-radius:0 3px 3px 0;width:3px;position:absolute;top:.35rem;bottom:.35rem;left:-.85rem}.app-icon{text-align:center;opacity:.85;width:1.1rem}.app-side-foot{margin-top:auto}.app-vault{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface-2);padding:.6rem .7rem;font-size:.82rem}.app-vault p{align-items:center;gap:.4rem;margin:0 0 .5rem;display:flex}.app-vault.app-vault-open{color:var(--shely-text-muted);margin:0;padding:.5rem .7rem}.app-vault-open{color:var(--shely-text-muted)}.app-vault-open span[aria-hidden=true]{color:var(--shely-success)}.app-vault-locked{color:var(--shely-danger);border-color:color-mix(in srgb, var(--shely-danger) 45%, var(--shely-border));background:color-mix(in srgb, var(--shely-danger) 10%, transparent)}.app-vault form{flex-direction:column;gap:.4rem;display:flex}.app-vault label{color:var(--shely-text-muted)}.app-vault input{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-background);color:var(--shely-text);font:inherit;padding:.4rem .5rem;font-size:.85rem}.app-vault-glyph{display:none}.app-body{flex-direction:column;min-width:0;display:flex}.app-top{border-bottom:1px solid var(--shely-border);background:color-mix(in srgb, var(--shely-surface) 55%, var(--shely-background));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);justify-content:flex-end;align-items:center;min-height:3.5rem;padding:.75rem 2rem;display:flex}.app-account{align-items:center;gap:.6rem;display:flex}.app-email{text-overflow:ellipsis;white-space:nowrap;max-width:18rem;color:var(--shely-text-muted);font-size:.86rem;overflow:hidden}.app-main{flex-direction:column;gap:1.5rem;min-width:0;padding:2rem;display:flex}.shell{background:var(--shely-background);flex-direction:column;height:100dvh;min-height:100vh;margin:-2rem;display:flex}.titlebar{background:var(--shely-background);border-bottom:1px solid var(--shely-border-subtle);justify-content:space-between;align-items:center;gap:.75rem;min-height:3.25rem;padding:0 .6rem;display:flex}.titlebar-lead{align-items:center;gap:.5rem;min-width:0;display:flex}.titlebar-logo{width:auto;height:38px;margin:0 .5rem 0 .15rem;display:block}.titlebar-hamburger{border-radius:var(--shely-radius-sm);width:2rem;height:2rem;color:var(--shely-text-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;font-size:1rem;transition:background .12s,color .12s;display:inline-flex}.titlebar-hamburger:hover{background:var(--shely-surface-2);color:var(--shely-text)}.titlebar-tabs{align-items:center;gap:.15rem;min-width:0;display:flex}.titlebar-tab{border-radius:var(--shely-radius-sm);color:var(--shely-text-muted);white-space:nowrap;align-items:center;padding:.35rem .85rem;font-size:.85rem;text-decoration:none;transition:background .12s,color .12s;display:inline-flex}.titlebar-tab:hover{background:var(--shely-surface-2);color:var(--shely-text)}.titlebar-tab[data-active=true]{background:var(--shely-surface);color:var(--shely-text);font-weight:550}.titlebar-add{border-radius:var(--shely-radius-sm);width:1.75rem;height:1.75rem;color:var(--shely-text-muted);justify-content:center;align-items:center;margin-left:.15rem;font-size:1.05rem;line-height:1;text-decoration:none;transition:background .12s,color .12s;display:inline-flex}.titlebar-add:hover{background:var(--shely-surface-2);color:var(--shely-text)}.titlebar-host-tab{border-radius:var(--shely-radius-sm);max-width:12rem;color:var(--shely-text-muted);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.4rem;padding:.3rem .5rem .3rem .6rem;font-size:.85rem;transition:background .12s,color .12s;display:inline-flex}.titlebar-host-tab:hover{background:var(--shely-surface-2);color:var(--shely-text)}.titlebar-host-tab[data-active=true]{background:var(--shely-surface);color:var(--shely-text);font-weight:550}.titlebar-host-dot{background:var(--shely-text-muted);border-radius:50%;flex:none;width:.45rem;height:.45rem}.titlebar-host-dot[data-state=connected]{background:var(--shely-success)}.titlebar-host-dot[data-state=connecting],.titlebar-host-dot[data-state=reconnecting]{background:#e3a008}.titlebar-host-dot[data-state=closing],.titlebar-host-dot[data-state=closed]{background:var(--shely-danger)}.titlebar-host-kind{width:.95rem;color:var(--shely-text-muted);flex:none;justify-content:center;align-items:center;font-size:.75rem;line-height:1;display:inline-flex}.titlebar-host-kind[data-kind=ssh]{color:color-mix(in srgb, var(--shely-purple) 70%, var(--shely-text-muted))}.titlebar-host-kind[data-kind=sftp]{color:color-mix(in srgb, var(--shely-success) 70%, var(--shely-text-muted))}.titlebar-host-tab[data-active=true] .titlebar-host-kind{color:var(--shely-text)}.titlebar-host-tab[data-active=true] .titlebar-host-kind[data-kind=ssh]{color:var(--shely-purple)}.titlebar-host-tab[data-active=true] .titlebar-host-kind[data-kind=sftp]{color:var(--shely-success)}.titlebar-host-label{text-overflow:ellipsis;overflow:hidden}.titlebar-host-close{width:1.05rem;height:1.05rem;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;font-size:.95rem;line-height:1;display:inline-flex}.titlebar-host-close:hover{background:var(--shely-danger);color:#fff}.shell-body{flex:1;grid-template-columns:13rem 1fr;min-height:0;display:grid}.rail{border-right:1px solid var(--shely-border-subtle);background:var(--shely-surface);flex-direction:column;gap:1rem;min-width:0;padding:.85rem .6rem;display:flex}.rail-nav ul,.rail-account ul{margin:0;padding:0;list-style:none}.rail-nav li,.rail-account li{margin-bottom:.15rem}.rail-item{border-radius:var(--shely-radius-sm);color:var(--shely-text-muted);white-space:nowrap;align-items:center;gap:.65rem;padding:.5rem .6rem;font-size:.9rem;text-decoration:none;transition:background .12s,color .12s;display:flex;overflow:hidden}.rail-item[data-active=true]{background:var(--shely-accent-subtle);color:var(--shely-accent);font-weight:550;position:relative}.rail-item[data-active=true]:before{content:"";background:var(--shely-accent);border-radius:0 3px 3px 0;width:3px;position:absolute;top:.35rem;bottom:.35rem;left:-.6rem}.rail-icon{text-align:center;opacity:.9;flex:none;width:1.2rem;font-size:1rem}.rail-label{text-overflow:ellipsis;overflow:hidden}.shell[data-collapsed=true] .rail-label,.shell[data-collapsed=true] .rail-user,.shell[data-collapsed=true] .rail-chip{display:none}.shell[data-collapsed=true] .rail-item{justify-content:center;gap:0;padding:.5rem .35rem}.shell[data-collapsed=true] .rail-item[data-active=true]:before{left:0}.shell[data-collapsed=true] .app-vault{background:0 0;border:none;padding:0}.shell[data-collapsed=true] .app-vault-full{display:none}.shell[data-collapsed=true] .app-vault-glyph{border-radius:var(--shely-radius-md);background:var(--shely-surface-2);width:100%;color:var(--shely-text-muted);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;padding:.5rem .35rem;font-size:1.05rem;line-height:1;display:flex}.shell[data-collapsed=true] .app-vault-glyph:hover{border-color:var(--shely-border)}.shell[data-collapsed=true] .app-vault-open .app-vault-glyph{color:var(--shely-success)}.shell[data-collapsed=true] .app-vault-locked .app-vault-glyph{color:var(--shely-danger);border-color:color-mix(in srgb, var(--shely-danger) 45%, var(--shely-border));background:color-mix(in srgb, var(--shely-danger) 10%, transparent)}.rail-user-action{text-align:center;flex:1;justify-content:center}.rail-foot{flex-direction:column;gap:.75rem;margin-top:auto;display:flex}.rail-account{border-top:1px solid var(--shely-border-subtle);padding-top:.6rem}.rail-item-foot{font-size:.88rem}.rail-chip{align-self:flex-start}.rail-user{flex-direction:row;align-items:stretch;gap:.4rem;display:flex}.shell-main{flex-direction:column;min-width:0;min-height:0;display:flex}.shell-route{flex-direction:column;flex:1;gap:1.5rem;min-width:0;min-height:0;padding:2rem;display:flex;overflow:auto}.shell-route[hidden],.shell-main>.ssh-stage[hidden]{display:none}.section-placeholder{flex-direction:column;gap:1rem;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.page-head h1{margin:0 0 .25rem;font-size:1.5rem}.page-lede{max-width:46rem;color:var(--shely-text-muted);margin:0;font-size:.92rem}.page-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.portal-notice{border:1px solid var(--shely-border);border-left:3px solid var(--shely-danger);border-radius:var(--shely-radius-sm);color:var(--shely-text-muted);margin:0;padding:.75rem 1rem;font-size:.9rem}.portal-muted{color:var(--shely-text-muted)}.portal-credential{color:var(--shely-text-muted);margin:0;font-size:.82rem}.portal-card-buttons{gap:.4rem;display:flex}.portal-field select,.portal-field textarea{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-background);color:var(--shely-text);font:inherit;padding:.5rem .7rem;transition:border-color .12s,box-shadow .12s}.portal-field select:focus-visible,.portal-field textarea:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.portal-field textarea{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.82rem}.portal-field span.portal-muted{font-size:.76rem}.secret-list{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.secret-row{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);padding:1rem 1.1rem;transition:border-color .12s,box-shadow .12s,transform .12s}.secret-row:hover{box-shadow:var(--shely-shadow-md);transform:translateY(-1px)}.secret-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.secret-head>div:first-child{align-items:center;gap:.6rem;display:flex}.secret-head h2{margin:0;font-size:.98rem}.secret-body{border-top:1px solid var(--shely-border-subtle);margin-top:.85rem;padding-top:.85rem}.secret-body pre{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-background);max-height:16rem;font-family:var(--shely-font-mono);white-space:pre-wrap;word-break:break-all;margin:0 0 .6rem;padding:.8rem;font-size:.8rem;overflow:auto}.settings-block{padding-top:.5rem}.settings-block h2{margin:0 0 .5rem;font-size:1rem}.settings-block>.page-lede{margin-bottom:1rem}.settings-list{margin:0}.settings-list>div{border-bottom:1px solid var(--shely-border-subtle);gap:1rem;padding:.55rem 0;display:flex}.settings-list>div:last-child{border-bottom:none}.settings-list dt{width:8rem;color:var(--shely-text-muted);flex:none;font-size:.88rem}.settings-list dd{margin:0;font-size:.9rem}.settings-warn{color:var(--shely-danger)}.profile-form{flex-direction:column;gap:.75rem;max-width:28rem;display:flex}.profile-field{flex-direction:column;gap:.3rem;display:flex}.profile-field label{color:var(--shely-text-muted);font-size:.85rem}.profile-field input{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;padding:.55rem .7rem}.profile-field input:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.profile-actions{align-items:center;gap:.75rem;display:flex}.settings-actions{flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.9rem;display:flex}.settings-form{flex-direction:column;gap:.9rem;max-width:28rem;display:flex}.settings-field{flex-direction:column;gap:.3rem;display:flex}.settings-field label{color:var(--shely-text-muted);font-size:.85rem}.settings-field select{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;padding:.5rem .7rem}.settings-field select:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.portal-chip-ok{border-color:var(--shely-success);color:var(--shely-success)}.billing-plan-list{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.75rem;margin:0 0 .9rem;padding:0;list-style:none;display:grid}.billing-plan{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:.4rem;padding:.9rem 1rem;display:flex}.billing-plan-current{border-color:var(--shely-accent);background:var(--shely-accent-subtle)}.billing-plan-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.billing-plan-head>div{flex-direction:column;gap:.15rem;display:flex}.billing-plan-head strong{font-size:.95rem}.billing-plan-head .portal-muted{font-size:.82rem}.billing-plan .button{margin-top:auto}.two-factor-method{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:.75rem;margin-bottom:.9rem;padding:.9rem 1rem;display:flex}.two-factor-method-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.two-factor-method-head>div{flex-direction:column;gap:.2rem;display:flex}.two-factor-method-head strong{font-size:.95rem}.two-factor-method-head .portal-muted{font-size:.82rem}.passkey-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.passkey{border:1px solid var(--shely-border-subtle);border-radius:var(--shely-radius-sm);background:var(--shely-background);justify-content:space-between;align-items:center;gap:1rem;padding:.55rem .75rem;display:flex}.passkey>div{flex-direction:column;gap:.15rem;font-size:.9rem;display:flex}.passkey .portal-muted{font-size:.8rem}.passkey-add{flex-wrap:wrap;gap:.6rem;display:flex}.passkey-add input{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;flex:16rem;padding:.5rem .7rem}.passkey-add input:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.totp-setup{flex-direction:column;gap:.75rem;display:flex}.totp-qr{border:1px solid var(--shely-border-subtle);border-radius:var(--shely-radius-sm);background:#fff;align-self:flex-start;padding:.6rem;display:inline-flex}.totp-secret{flex-direction:column;gap:.2rem;margin:0;display:flex}.totp-secret code{letter-spacing:.06em;word-break:break-all;font-size:.95rem}.totp-verify{flex-wrap:wrap;gap:.6rem;display:flex}.totp-verify input{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;letter-spacing:.2em;border-radius:6px;flex:10rem;padding:.5rem .7rem}.totp-verify input:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.recovery-codes{border:1px solid var(--shely-border-subtle);border-radius:var(--shely-radius-sm);background:var(--shely-background);flex-direction:column;gap:.6rem;padding:.75rem;display:flex}.recovery-code-list{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.recovery-code-list code{letter-spacing:.04em;font-size:.95rem}.device-list{flex-direction:column;gap:.5rem;margin:0 0 1rem;padding:0;list-style:none;display:flex}.device{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem .95rem;transition:border-color .12s,box-shadow .12s;display:flex}.device:hover{box-shadow:var(--shely-shadow-md)}.device-current{border-color:var(--shely-accent);background:var(--shely-accent-subtle)}.device>div{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.9rem;display:flex}.device .portal-muted{font-size:.8rem}.team-note{max-width:34rem;margin:1rem auto 0;font-size:.84rem}.team-list{flex-direction:column;gap:.8rem;margin:0;padding-left:1.1rem;display:flex}.team-list li{color:var(--shely-text-muted);font-size:.92rem;line-height:1.55}.team-list strong{color:var(--shely-text);font-weight:650}.team-onboard{text-align:left;flex-wrap:wrap;gap:1rem;margin-top:1.25rem;display:flex}.team-onboard-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;flex:16rem;gap:.45rem;padding:1rem 1.1rem;display:flex}.team-onboard-card h3{margin:0;font-size:.98rem}.team-onboard-card label{color:var(--shely-text-muted);font-size:.82rem}.team-onboard-card input{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;padding:.5rem .7rem}.team-onboard-card input:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.team-onboard-card button{align-self:flex-start;margin-top:.35rem}.team-picker-block{flex-direction:column;gap:.3rem;max-width:22rem;display:flex}.team-picker-block label{color:var(--shely-text-muted);font-size:.85rem}.team-picker-select{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;padding:.5rem .7rem}.team-picker-select:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.team-subhead{margin:1rem 0 .5rem;font-size:.95rem}.team-members,.team-servers{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.team-member,.team-server{border:1px solid var(--shely-border-subtle);border-radius:var(--shely-radius-sm);background:var(--shely-background);justify-content:space-between;align-items:center;gap:1rem;padding:.6rem .85rem;display:flex}.team-member>div,.team-server>div{flex-wrap:wrap;align-items:baseline;gap:.4rem;font-size:.9rem;display:flex}.team-server code{font-family:var(--shely-font-mono);color:var(--shely-text-muted);font-size:.82rem}.team-member-pending{border-style:dashed}.team-role[data-role=founder],.team-role[data-role=admin]{border-color:var(--shely-accent);color:var(--shely-accent)}.team-invite{flex-wrap:wrap;gap:.6rem;margin-top:.9rem;display:flex}.team-invite input{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;flex:16rem;padding:.5rem .7rem}.team-invite input:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.team-note-inline{margin-top:.9rem;font-size:.84rem}.team-cred-locked{font-size:.82rem}.team-cred-value{align-items:center;gap:.5rem;display:inline-flex}.team-cred-value code{font-family:var(--shely-font-mono);color:var(--shely-text-muted);font-size:.82rem}.titlebar-team-picker{align-items:center;margin-left:.35rem;display:inline-flex}.titlebar-team-picker select{border:1px solid var(--shely-border);background:var(--shely-background);color:var(--shely-text);font:inherit;border-radius:6px;padding:.25rem .5rem;font-size:.85rem}.titlebar-team-picker select:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}@media (max-width:48rem){.app{grid-template-columns:1fr}.app-side{border-right:none;border-bottom:1px solid var(--shely-border)}.app-side nav ul{flex-wrap:wrap;gap:.25rem;display:flex}.app-main,.app-top,.shell-route{padding:1.25rem}}.secret-rename{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.secret-rename input{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-background);color:var(--shely-text);font:inherit;padding:.38rem .6rem;font-size:.92rem;transition:border-color .12s,box-shadow .12s}.secret-rename input:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.portal-card-editing{border-top-color:var(--shely-border);padding:0}.portal-card-editing:hover{box-shadow:var(--shely-shadow-sm);transform:none}.portal-card-editing .portal-panel{box-shadow:none;background:0 0;border:none}.ssh{border-top:1px solid var(--shely-border);background:var(--shely-background);grid-template-columns:16rem 1fr;gap:0;height:calc(100vh - 7.5rem);min-height:32rem;margin:-2rem;display:grid}.ssh-rail{border-right:1px solid var(--shely-border);background:var(--shely-surface);flex-direction:column;min-height:0;display:flex}.ssh-rail-head{border-bottom:1px solid var(--shely-border-subtle);justify-content:space-between;align-items:center;padding:.85rem 1rem;display:flex}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ssh-rail-search{padding:.6rem .75rem .4rem}.ssh-rail-search input{border:1px solid var(--shely-border);background:var(--shely-background);width:100%;color:var(--shely-text);font:inherit;border-radius:999px;padding:.45rem .7rem;font-size:.84rem}.ssh-rail-search input::placeholder{color:var(--shely-text-muted)}.ssh-rail-search input:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.ssh-rail-title{letter-spacing:.08em;text-transform:uppercase;color:var(--shely-text-muted);font-size:.72rem;font-weight:600}.ssh-rail-manage{color:var(--shely-accent);font-size:.78rem;text-decoration:none}.ssh-rail-manage:hover{text-decoration:underline}.ssh-rail-empty{color:var(--shely-text-muted);margin:0;padding:1rem;font-size:.85rem}.ssh-rail-list{flex-direction:column;gap:.15rem;min-height:0;margin:0;padding:.5rem;list-style:none;display:flex;overflow-y:auto}.ssh-rail-host{border-radius:var(--shely-radius-md);width:100%;color:var(--shely-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:.65rem;padding:.55rem .65rem;transition:background .12s,border-color .12s,box-shadow .12s;display:flex}.ssh-rail-host:hover{background:var(--shely-surface-2);border-color:var(--shely-border);box-shadow:var(--shely-shadow-sm)}.ssh-rail-host[data-live=true]{background:var(--shely-accent-subtle);border-color:color-mix(in srgb, var(--shely-accent) 30%, transparent)}.ssh-rail-host[data-live=true]:hover{background:var(--shely-accent-hover)}.ssh-rail-dot{background:var(--shely-border);border-radius:50%;flex:none;width:.5rem;height:.5rem}.ssh-rail-host[data-live=true] .ssh-rail-dot{background:var(--shely-success);box-shadow:0 0 .35rem var(--shely-success)}.ssh-rail-none{color:var(--shely-text-muted);margin:0;padding:.75rem .85rem;font-size:.82rem}.ssh-rail-host-body{flex-direction:column;flex:1;gap:.05rem;min-width:0;display:flex}.ssh-rail-host-label{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:500;overflow:hidden}.ssh-rail-host-target{color:var(--shely-text-muted);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,Menlo,monospace;font-size:.72rem;overflow:hidden}.ssh-rail-host-cue{color:var(--shely-text-muted);flex:none;font-size:1rem;line-height:1}.ssh-rail-host:hover .ssh-rail-host-cue{color:var(--shely-accent)}.ssh-main{flex-direction:column;min-width:0;min-height:0;display:flex}.ssh-error,.ssh-ask{margin:.75rem}.ssh-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.6rem;padding:2rem;display:flex}.ssh-empty h2{margin:0;font-size:1.1rem}.ssh-empty p{max-width:32rem;color:var(--shely-text-muted);margin:0 0 .75rem;font-size:.92rem}.ssh-tabs{border-bottom:1px solid var(--shely-border);background:var(--shely-surface);align-items:stretch;gap:.25rem;padding:.45rem .6rem 0;display:flex;overflow-x:auto}.ssh-tab{border-radius:var(--shely-radius-sm) var(--shely-radius-sm) 0 0;max-width:16rem;color:var(--shely-text-muted);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;border:1px solid #0000;border-bottom:none;align-items:center;gap:.5rem;padding:.45rem .65rem .5rem;font-size:.85rem;transition:background .12s,color .12s;display:flex}.ssh-tab:hover{color:var(--shely-text);background:var(--shely-surface-2)}.ssh-tab[data-active=true]{color:var(--shely-text);background:var(--shely-background);border-color:var(--shely-border);margin-bottom:-1px;padding-bottom:calc(.5rem + 1px);position:relative}.ssh-tab[data-active=true]:after{content:"";background:var(--shely-accent);border-radius:2px 2px 0 0;height:2px;position:absolute;top:-1px;left:-1px;right:-1px}.ssh-tab-dot{background:var(--shely-text-muted);border-radius:50%;flex:none;width:.45rem;height:.45rem}.ssh-tab-dot[data-state=connected]{background:var(--shely-success)}.ssh-tab-dot[data-state=connecting],.ssh-tab-dot[data-state=reconnecting]{background:#e3a008}.ssh-tab-dot[data-state=closing],.ssh-tab-dot[data-state=closed]{background:var(--shely-danger)}.ssh-tab-label{text-overflow:ellipsis;overflow:hidden}.ssh-tab-close{width:1.15rem;height:1.15rem;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;font-size:1rem;line-height:1;display:inline-flex}.ssh-tab-close:hover{background:var(--shely-danger);color:#fff}.ssh-stage{background:var(--shely-background);flex:1;min-height:0;padding:.75rem;display:flex}.ssh-window{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);min-width:0;min-height:0;box-shadow:var(--shely-shadow-lg);flex-direction:column;flex:1;display:flex;overflow:hidden}.ssh-window[hidden]{display:none}.ssh-window-bar{border-bottom:1px solid var(--shely-border-subtle);background:linear-gradient(90deg, color-mix(in srgb, var(--shely-purple) 8%, transparent), transparent 55%), var(--shely-surface-2);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--shely-purple) 22%, transparent);align-items:center;gap:.75rem;padding:.55rem .9rem;display:flex}.ssh-window-title{flex:1;justify-content:center;align-items:baseline;gap:.6rem;min-width:0;font-size:.85rem;display:flex}.ssh-window-title strong{font-weight:600}.ssh-window-kind{color:var(--shely-text-muted);flex:none;font-size:.78rem;line-height:1}.ssh-window-kind[data-kind=ssh]{color:var(--shely-purple)}.ssh-window-kind[data-kind=sftp]{color:var(--shely-success)}.ssh-window-title code{border:1px solid var(--shely-border);background:var(--shely-background);font-family:var(--shely-font-mono);color:var(--shely-text-muted);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:.1rem .5rem;font-size:.74rem;overflow:hidden}.ssh-window-close{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-background);color:var(--shely-text-muted);font:inherit;cursor:pointer;flex:none;padding:.32rem .7rem;font-size:.78rem;transition:border-color .12s,color .12s,background .12s}.ssh-window-close:hover{border-color:var(--shely-danger);color:var(--shely-danger);background:color-mix(in srgb, var(--shely-danger) 12%, transparent)}.ssh-window .terminal-pane{flex:1;gap:.4rem;height:auto;min-height:0;padding:.6rem .85rem .85rem}.ssh-window .terminal-surface{border-radius:8px;flex:1;min-height:0}@media (max-width:52rem){.ssh{grid-template-columns:1fr;height:auto}.ssh-rail{border-right:none;border-bottom:1px solid var(--shely-border);max-height:14rem}.ssh-stage{min-height:26rem}}.download-options{margin-top:1.5rem}.download-actions{flex-wrap:wrap;align-items:stretch;gap:.75rem;display:flex}.download-actions .button{text-align:center;flex-direction:column;gap:.15rem}.download-format-hint{opacity:.8;font-size:.78rem}.download-note{max-width:42rem;margin:1rem 0 0;font-size:.9rem}.download-options-compact .download-note{font-size:.85rem}.admin-stat-cards{flex-wrap:wrap;gap:1rem;margin:0 0 1.25rem;display:flex}.admin-stat-card{border:1px solid var(--shely-border-subtle);border-radius:var(--shely-radius-md);flex-direction:column;gap:.25rem;min-width:9rem;padding:.85rem 1.1rem;display:flex}.admin-stat-value{font-size:1.6rem;font-weight:600}.admin-stat-label{color:var(--shely-text-muted);font-size:.85rem}.admin-table{border-collapse:collapse;width:100%;margin:.5rem 0 1rem;font-size:.9rem}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid var(--shely-border-subtle);vertical-align:middle;padding:.45rem .6rem}.admin-table th{color:var(--shely-text-muted);font-weight:600}.admin-bar{border-radius:var(--shely-radius-sm);background:var(--shely-accent);min-width:2px;height:.6rem;display:inline-block}.admin-search{flex-wrap:wrap;align-items:flex-end;gap:.6rem;margin-bottom:1rem;display:flex}.admin-search label{color:var(--shely-text-muted);font-size:.85rem;display:block}.admin-pager{align-items:center;gap:.75rem;font-size:.9rem;display:flex}.admin-detail{grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:.75rem 1.5rem;margin:0;display:grid}.admin-detail>div{flex-direction:column;gap:.15rem;display:flex}.admin-detail dt{color:var(--shely-text-muted);font-size:.8rem}.admin-detail dd{margin:0;font-size:.95rem}.admin-actions{flex-wrap:wrap;gap:.6rem;margin:.5rem 0;display:flex}.admin-confirm{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);margin-top:.75rem;padding:.85rem 1rem}.admin-checkbox{align-items:center;gap:.45rem;margin:.5rem 0;font-size:.9rem;display:flex}html[data-desktop] .landing{display:none}.lw{background:var(--shely-background);color:var(--shely-text);grid-template-columns:minmax(200px,240px) minmax(0,1fr);display:grid;position:fixed;inset:0}.lw-side{border-right:1px solid var(--shely-border);background:var(--shely-surface);flex-direction:column;gap:1.25rem;padding:1rem;display:flex}.lw-nav{border-radius:var(--shely-radius-md);color:var(--shely-text-muted);padding:.5rem .75rem;display:block}.lw-nav-active{background:var(--shely-accent-subtle);color:var(--shely-text)}.lw-side-foot{color:var(--shely-text-muted);flex-direction:column;gap:.5rem;margin-top:auto;font-size:.8rem;display:flex}.lw-side-foot p{margin:0}.lw-badge{background:var(--shely-accent-subtle);color:var(--shely-accent);border-radius:999px;align-self:flex-start;padding:.1rem .5rem;font-weight:600}.lw-main{flex-direction:column;gap:1rem;padding:1rem 1.5rem;display:flex;overflow:auto}.lw-bar{gap:.75rem;display:flex}.lw-search{flex:1}.lw-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.lw-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}.lw-card strong,.lw-card span{display:block}.lw-card span{font-family:var(--shely-font-mono);color:var(--shely-text-muted);font-size:.8rem}.lw-actions{gap:.5rem;display:flex}.lw-empty{text-align:center;color:var(--shely-text-muted);margin:auto}.lw-error{color:var(--shely-danger);margin:0}.lw-modal{background:#0000008c;place-items:center;display:grid;position:fixed;inset:0}.lw-form{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);gap:.75rem;width:min(460px,92vw);max-height:90vh;padding:1.25rem;display:grid;overflow:auto}.lw-form h2{margin:0}.lw-form label{color:var(--shely-text-muted);gap:.25rem;font-size:.85rem;display:grid}.lw-row{gap:.75rem;display:flex}.lw-grow{flex:1}.lw-port{width:6rem}.lw-form-actions{justify-content:flex-end;gap:.5rem;display:flex}.lw-stage{flex-direction:column;min-width:0;min-height:0;display:flex}.lw-stage>.lw-main{flex:1}.lw-stage [hidden]{display:none}.lw-tabs{border-bottom:1px solid var(--shely-border);background:var(--shely-surface);gap:.25rem;padding:.4rem .75rem 0;display:flex}.lw-tab{border-radius:var(--shely-radius-md) var(--shely-radius-md) 0 0;color:var(--shely-text-muted);align-items:center;display:inline-flex}.lw-tab button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;padding:.4rem .75rem}.lw-tab-active{background:var(--shely-background);color:var(--shely-text)}.lw-terminal{flex:1;min-height:0}.lt{background:#0d0a1f;height:100%;position:relative}.lt-screen{height:100%;padding:.5rem}.lt-overlay{text-align:center;color:var(--shely-text);background:#0d0a1feb;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;padding:1.5rem;display:flex;position:absolute;inset:0}.lt-overlay h3,.lt-overlay p{margin:0}.lt-overlay code{overflow-wrap:anywhere;max-width:100%;font-family:var(--shely-font-mono);color:var(--shely-accent)}.lt-actions{gap:.5rem;margin-top:.5rem;display:flex}.lw-nav{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;position:relative}.lw-dot{background:var(--shely-accent);border-radius:50%;width:.5rem;height:.5rem;margin-left:.5rem;display:inline-block}.lw-update{border:1px solid var(--shely-accent);border-radius:var(--shely-radius-md);background:var(--shely-accent-subtle);justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1rem;display:flex}img.brand-on-light,:root[data-theme=light] .brand-on-dark{display:none}:root[data-theme=light] .brand-on-light{display:block}@media (prefers-color-scheme:light){:root:not([data-theme=dark]) .brand-on-dark{display:none}:root:not([data-theme=dark]) .brand-on-light{display:block}}.lw-mark{width:100%;max-width:176px;height:auto;margin:.25rem auto .5rem;display:block}.ls{gap:1.25rem;max-width:40rem;display:grid}.ls h1{margin:0}.ls-section{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);gap:.6rem;padding:1rem;display:grid}.ls-section h2{margin:0;font-size:1rem}.ls-section p{margin:0}.ls-hint{color:var(--shely-text-muted);font-size:.85rem}.ls-error{color:var(--shely-danger)}.ls-segments{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);width:fit-content;display:inline-flex;overflow:hidden}.ls-segment{color:var(--shely-text-muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:.4rem 1rem}.ls-segment-on{background:var(--shely-accent-subtle);color:var(--shely-text);font-weight:600}.ls-field,.ls-check{align-items:center;gap:.75rem;display:flex}.ls-inline{align-items:center;gap:.5rem;display:inline-flex}.ls-row{flex-wrap:wrap;gap:.5rem;display:flex}.ls-notes{white-space:pre-wrap;border-radius:var(--shely-radius-md);background:var(--shely-surface-2);max-height:10rem;margin:0;padding:.6rem;font-size:.85rem;overflow:auto}.lw-side{min-height:0;overflow-y:auto}.lw-main{flex:1;min-height:0}.lw-stage{overflow:hidden}.lw input:not([type=checkbox]):not([type=range]),.lw select,.lw textarea{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface-2);width:100%;color:var(--shely-text);font:inherit;padding:.5rem .65rem}.lw input::placeholder,.lw textarea::placeholder{color:var(--shely-text-muted);opacity:.8}.lw input:focus-visible,.lw select:focus-visible,.lw textarea:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.lw .lw-search{flex:1;width:auto}button.lw-tab{font:inherit;cursor:pointer;background:0 0;border:0;padding:.4rem .9rem}.lw-tab-active{border-bottom:2px solid var(--shely-accent)}.lw-nav-active{font-weight:600}.lw-tags{margin-top:.15rem}.lw-tag{background:var(--shely-accent-subtle);color:var(--shely-accent);border-radius:999px;padding:0 .45rem;font-family:inherit;font-size:.7rem;font-style:normal;display:inline-block}.lw-tag-warn{background:color-mix(in srgb, var(--shely-danger) 16%, transparent);color:var(--shely-danger)}.lw-notes{margin:0;padding-left:1.1rem;font-size:.78rem}.lw-unlock{gap:.4rem;display:grid}.lw-unlock label,.lw-check{font-size:.8rem}.lw-check{align-items:center;gap:.5rem;display:flex}.lw-hint{color:var(--shely-text-muted);margin:0;font-size:.8rem}.lt-password{gap:.6rem;width:min(320px,100%);display:grid}.lt-password input{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface-2);width:100%;color:var(--shely-text);font:inherit;padding:.5rem .65rem}.kh-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.kh-list li{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);grid-template-columns:minmax(8rem,14rem) 1fr auto;align-items:center;gap:.75rem;padding:.5rem .75rem;display:grid}.kh-list code{overflow-wrap:anywhere;font-family:var(--shely-font-mono);color:var(--shely-accent);font-size:.78rem}.kh-list span{color:var(--shely-text-muted);font-size:.78rem}.key-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.key-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);gap:.4rem;padding:.85rem 1rem;display:grid}.key-head{align-items:center;gap:.6rem;display:flex}.key-algo{color:var(--shely-text-muted);margin-left:auto;font-size:.78rem}.key-fingerprint{overflow-wrap:anywhere;font-family:var(--shely-font-mono);color:var(--shely-accent);font-size:.78rem}.ls-choices{gap:.5rem;display:grid}.ls-choice{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);cursor:pointer;align-items:flex-start;gap:.65rem;padding:.6rem .75rem;display:flex}.ls-choice:has(input:checked){border-color:var(--shely-accent);background:var(--shely-accent-subtle)}.ls-choice>span{gap:.15rem;display:grid}.ls-choice-off{opacity:.6;cursor:not-allowed}.sftp-menu{display:inline-flex;position:relative}.sftp-menu>button.lw-tab{font:inherit;cursor:pointer;background:0 0;border:0;padding:.4rem .9rem}.lw-tab-open{background:var(--shely-background);color:var(--shely-text)}.sftp-panel{z-index:20;border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);width:min(22rem,80vw);max-height:min(24rem,70vh);box-shadow:var(--shely-shadow-md);gap:.35rem;padding:.5rem;display:grid;position:absolute;top:calc(100% + 1px);left:0;overflow:auto}.sftp-panel ul{gap:.15rem;margin:0;padding:0;list-style:none;display:grid}.sftp-panel li button{border-radius:var(--shely-radius-md);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:.1rem;padding:.45rem .6rem;display:grid}.sftp-panel li button:hover,.sftp-panel li button:focus-visible{background:var(--shely-accent-subtle)}.sftp-panel li button span{font-family:var(--shely-font-mono);color:var(--shely-text-muted);font-size:.78rem}.sftp-title,.sftp-empty{color:var(--shely-text-muted);margin:0;padding:.2rem .4rem;font-size:.8rem}.tag-filter{flex-wrap:wrap;gap:.4rem;margin:0 0 .9rem;display:flex}.tag-chip{border:1px solid var(--shely-border);color:var(--shely-text-muted);font:inherit;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:.4rem;padding:.25rem .7rem;font-size:.85rem;display:inline-flex}.tag-chip:hover{color:var(--shely-text);border-color:var(--shely-accent)}.tag-chip-on{border-color:var(--shely-accent);background:var(--shely-accent-subtle);color:var(--shely-text);font-weight:600}.tag-chip-count{background:var(--shely-surface-2);text-align:center;border-radius:999px;min-width:1.2rem;padding:0 .3rem;font-size:.72rem}.lw-tag-link{cursor:pointer;border:0;margin-right:.3rem}.lw-tag-link:hover{background:var(--shely-accent-hover)}.lw-embedded{width:100%;max-width:54rem}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pricing-compare-wrap{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);margin-top:1.5rem;overflow-x:auto}.pricing-compare{border-collapse:collapse;width:100%;min-width:36rem;font-size:.92rem}.pricing-compare caption{text-align:left;font-family:var(--shely-font-display);padding:.75rem 1rem;font-weight:650}.pricing-compare th,.pricing-compare td{border-top:1px solid var(--shely-border-subtle);text-align:center;padding:.55rem 1rem}.pricing-compare th[scope=row],.pricing-compare thead th:first-child{text-align:left;color:var(--shely-text-muted);font-weight:500}.pricing-compare thead th{font-family:var(--shely-font-display);color:var(--shely-text)}.home-hero{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:2rem;padding:2rem 0 3.5rem;display:grid}.home-hero h1{font-family:var(--shely-font-display);letter-spacing:-.02em;color:var(--shely-text);background:var(--shely-gradient-brand);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0 0 1rem;font-size:clamp(2.1rem,5.5vw,3.4rem);line-height:1.08}@media (prefers-color-scheme:light){.home-hero h1{background:linear-gradient(135deg, var(--shely-purple-deep) 0%, var(--shely-green-deep) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}}.home-eyebrow{font-family:var(--shely-font-display);color:var(--shely-accent);margin:0 0 .5rem;font-weight:650}.home-fineprint{color:var(--shely-text-muted);margin:1rem 0 0;font-size:.88rem}.home-hero-art{justify-content:center;display:flex;position:relative}.home-hero-art:before{content:"";background:var(--shely-gradient-brand);opacity:.28;filter:blur(48px);border-radius:50%;position:absolute;inset:10%}.home-hero-art img{width:min(100%,22rem);height:auto;position:relative}@media (max-width:40rem){.home-hero{grid-template-columns:1fr}.home-hero-art{order:-1}.home-hero-art img{width:min(60%,12rem)}}.home-tag{font-family:var(--shely-font-display);letter-spacing:.08em;text-transform:uppercase;color:var(--shely-accent);margin:0 0 .4rem;font-size:.72rem;font-weight:650}.platform-grid{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1.25rem;margin:1.5rem 0;display:grid}.platform-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);padding:1.25rem}.platform-card h3{font-family:var(--shely-font-display);margin:0 0 .4rem;font-size:1.1rem}.platform-card p:last-child{color:var(--shely-text-muted);margin:0;font-size:.94rem}.plan-switch{border:1px solid var(--shely-border);background:var(--shely-surface);border-radius:999px;margin:1.25rem 0 .75rem;padding:.2rem;display:inline-flex}.plan-switch-option{color:var(--shely-text-muted);font:inherit;font-family:var(--shely-font-display);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.45rem 1.4rem;font-weight:600}.plan-switch-option:focus-visible{outline:2px solid var(--shely-accent);outline-offset:2px}.plan-switch-active{background:var(--shely-accent);color:var(--shely-ink)}.plans-intro{color:var(--shely-text-muted);margin:0 0 1.25rem}.plan-grid{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1.25rem;display:grid}.plan-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);box-shadow:var(--shely-shadow-sm);flex-direction:column;gap:.5rem;padding:1.25rem;display:flex}.plan-card-current{border-color:var(--shely-accent)}.plan-card-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.plan-card-head h3{font-family:var(--shely-font-display);margin:0;font-size:1.15rem}.plan-chip{border:1px solid var(--shely-border);color:var(--shely-text-muted);white-space:nowrap;border-radius:999px;padding:.15rem .6rem;font-size:.75rem;font-weight:600}.plan-chip-current{background:var(--shely-accent-subtle);color:var(--shely-accent);border-color:#0000}.plan-card-price{font-family:var(--shely-font-display);color:var(--shely-text);margin:0;font-size:1.4rem;font-weight:700}.plan-card-current .plan-card-price{color:var(--shely-accent)}.plan-card-summary{color:var(--shely-text-muted);margin:0;font-size:.94rem}.plan-card-credits{margin:0;font-size:.9rem;font-weight:600}.plan-card-credits span{color:var(--shely-accent)}.plan-card-minimum{color:var(--shely-text-muted);margin:0;font-size:.88rem}.plan-card-list{margin:0;padding:0;font-size:.9rem;list-style:none}.plan-card-list li{padding:.15rem 0 .15rem 1.4rem;position:relative}.plan-card-list li:before{content:"✓";color:var(--shely-accent);position:absolute;left:0}.plan-card-list-muted{color:var(--shely-text-muted)}.plan-card-list-muted li:before{content:"–";color:var(--shely-text-muted)}.plan-card-more{color:var(--shely-text-muted);margin-top:.25rem;font-size:.88rem}.plan-card-more summary{cursor:pointer;padding:.2rem 0}.plan-card-more summary:focus-visible{outline:2px solid var(--shely-accent);outline-offset:2px}.plan-notes{color:var(--shely-text-muted);margin:1.25rem 0 0;padding:0;font-size:.9rem;list-style:none}.plan-notes li{padding:.2rem 0}.plan-notes li:before{content:"ⓘ "}.plan-grid[data-count="4"]{grid-template-columns:repeat(auto-fit,minmax(14.5rem,1fr))}.landing-section-lede a,.landing-section>p a,.home-fineprint a{color:var(--shely-accent)}.plan-grid[data-count="4"] .plan-card-price{font-size:1.2rem}.button{color:var(--shely-text-muted);background:0 0;border-radius:999px;padding:.5rem 1.1rem;font-weight:500}.button:hover{border-color:var(--shely-accent);color:var(--shely-text)}.button-primary{color:var(--shely-ink);font-weight:600}.button-primary:hover{color:var(--shely-ink)}.button-small{border-radius:999px}.button-danger{border-color:var(--shely-danger);color:var(--shely-danger)}.portal-chip{border-radius:999px}.tag-filter{gap:.5rem;margin:0 0 1rem}.tag-chip{background:var(--shely-surface-2);color:var(--shely-text);border:0;gap:.4rem;padding:.35rem .8rem;font-size:.9rem;font-weight:500}.tag-chip:hover{color:var(--shely-text);box-shadow:inset 0 0 0 1px var(--shely-accent)}.tag-chip-on,.tag-chip-on:hover{background:var(--shely-accent);color:var(--shely-ink);box-shadow:none;font-weight:600}.tag-chip-count{min-width:0;color:var(--shely-text-muted);background:0 0;padding:0;font-size:.85rem}.tag-chip-on .tag-chip-count{color:color-mix(in srgb, var(--shely-ink) 70%, transparent)}.command-bar-input,.portal-search{background:var(--shely-surface-2);border:1px solid #0000;border-radius:999px}.command-bar-input:focus-visible,.portal-search:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.page-head h1{font-family:var(--shely-font-display);letter-spacing:-.01em;margin:0 0 .35rem;font-size:1.9rem}.hosts-section-title{letter-spacing:.06em;font-size:.8rem}.host-card,.portal-card,.group-card{box-shadow:none;border-radius:14px}.host-card:hover,.portal-card:hover{background:var(--shely-surface-2);box-shadow:none;transform:none}.host-tile{border-radius:12px}.empty-state{text-align:center;flex-direction:column;align-items:center;gap:.75rem;padding:2rem 1rem;display:flex}.empty-state-hero{justify-content:center;display:flex;position:relative}.empty-state-hero:before{content:"";background:var(--shely-gradient-brand);opacity:.3;filter:blur(22px);border-radius:50%;position:absolute;inset:8%}.empty-state-hero img{width:7.5rem;height:auto;animation:4.8s ease-in-out infinite empty-float;position:relative}@keyframes empty-float{50%{transform:translateY(-6px)}}@media (prefers-reduced-motion:reduce){.empty-state-hero img{animation:none}}.empty-state-icon{color:var(--shely-accent)}.empty-state h2{font-family:var(--shely-font-display);margin:0;font-size:1.4rem}.empty-state p{max-width:28rem;color:var(--shely-text-muted);margin:0}.titlebar{justify-content:flex-start;gap:1rem}.titlebar-tabs{gap:.5rem;margin-left:auto}.titlebar-add{background:var(--shely-accent);width:2rem;height:2rem;color:var(--shely-ink);border-radius:50%}.titlebar-add:hover{background:var(--shely-accent);color:var(--shely-ink);filter:brightness(1.1)}.segmented{border:1px solid var(--shely-border);background:var(--shely-surface);border-radius:999px;padding:.15rem;display:inline-flex}.segmented-option{color:var(--shely-text-muted);border-radius:999px;padding:.3rem .95rem;font-size:.88rem;font-weight:600;text-decoration:none}.segmented-option[data-active=true]{background:var(--shely-accent);color:var(--shely-ink)}.shell-body{grid-template-columns:15rem 1fr}.rail{gap:.75rem;padding:.75rem .65rem;overflow-y:auto}.rail-heading{color:var(--shely-text-muted);letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;align-items:center;margin:.9rem 0 .35rem;padding:0 .65rem;font-size:.74rem;font-weight:650;display:flex}.rail-nav>.rail-heading:first-child{margin-top:0}.rail-count{background:var(--shely-accent-subtle);color:var(--shely-accent);border-radius:999px;padding:0 .45rem;font-size:.72rem}.rail-empty{color:var(--shely-text-muted);margin:0;padding:0 .65rem;font-size:.82rem}.rail-item{width:100%;color:var(--shely-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:.5rem .65rem;font-size:.93rem}.rail-item:hover{background:var(--shely-surface-2);color:var(--shely-text)}.rail-item[data-active=true]{background:var(--shely-accent-subtle);color:var(--shely-accent);font-weight:600}.rail-item[data-active=true]:before{content:none}.rail-icon{opacity:1;width:1.25rem;height:1.25rem;color:var(--shely-accent);flex:none}.rail-item[data-active=true] .rail-icon{color:inherit}.rail-session{align-items:center;display:flex;position:relative}.rail-session .rail-item{padding-right:2rem}.rail-session-close{width:1.5rem;height:1.5rem;color:var(--shely-text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;right:.35rem}.rail-session-close:hover{background:var(--shely-surface-2);color:var(--shely-text)}.rail-session-icon{color:var(--shely-text-muted)}.rail-session-icon[data-state=connected]{color:var(--shely-success)}.rail-session-icon[data-state=connecting],.rail-session-icon[data-state=reconnecting]{color:var(--shely-warning)}.rail-session-icon[data-state=closing],.rail-session-icon[data-state=closed]{color:var(--shely-danger)}.rail-foot{border-top:1px solid var(--shely-border-subtle);gap:.5rem;padding-top:.75rem}.rail-signed-in{color:var(--shely-text-muted);overflow-wrap:anywhere;margin:0;font-size:.78rem}.rail-user-buttons{display:flex}.app-vault-full p{align-items:center;gap:.4rem;display:flex}.app-vault-open .app-vault-full p{color:var(--shely-accent)}.shell[data-collapsed=true] .shell-body{grid-template-columns:3.75rem 1fr}.shell[data-collapsed=true] .rail-heading,.shell[data-collapsed=true] .rail-empty,.shell[data-collapsed=true] .rail-signed-in,.shell[data-collapsed=true] .rail-user-buttons,.shell[data-collapsed=true] .rail-session-close{display:none}.shell[data-collapsed=true] .rail-session .rail-item{padding-right:.35rem}.tabbar,.drawer-backdrop{display:none}@media (max-width:700px){.shell{margin:-1rem}.titlebar-tabs{gap:.35rem}.shell-body{display:block;position:relative;overflow:hidden}.shell[data-collapsed=true] .shell-body{display:block}.shell-main{height:100%}.shell-route{padding:1.1rem 1rem 5.5rem}.rail{z-index:40;width:min(18rem,84vw);box-shadow:var(--shely-shadow-lg);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.shell[data-drawer=open] .rail{transform:translate(0)}.shell[data-collapsed=true] .rail-heading,.shell[data-collapsed=true] .rail-empty,.shell[data-collapsed=true] .rail-signed-in,.shell[data-collapsed=true] .rail-user-buttons{display:revert}.shell[data-collapsed=true] .rail-user-buttons{display:flex}.shell[data-collapsed=true] .rail-session-close{display:inline-flex}.drawer-backdrop{z-index:30;opacity:0;pointer-events:none;background:#0603148c;border:0;transition:opacity .18s;position:fixed;inset:0}.shell[data-drawer=open] .drawer-backdrop{opacity:1;pointer-events:auto;display:block}.tabbar{z-index:20;padding:.35rem .25rem calc(.35rem + env(safe-area-inset-bottom,0px));border-top:1px solid var(--shely-border);background:color-mix(in srgb, var(--shely-surface) 94%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;inset:auto 0 0}.tabbar-item{color:var(--shely-text-muted);font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:.15rem;padding:.3rem 0;font-size:.68rem;font-weight:600;text-decoration:none;display:flex;position:relative}.tabbar-item:disabled{opacity:.45;cursor:default}.tabbar-item[data-active=true]{color:var(--shely-accent)}.tabbar-badge{background:var(--shely-accent);min-width:1rem;color:var(--shely-ink);text-align:center;border-radius:999px;padding:0 .28rem;font-size:.65rem;line-height:1rem;position:absolute;top:.05rem;left:calc(50% + .45rem)}}.button-primary{background:var(--shely-accent);border-color:var(--shely-accent)}.app-vault,.app-vault-locked{border-color:var(--shely-border);background:var(--shely-surface-2);color:var(--shely-text-muted)}.app-vault .button{color:var(--shely-text)}.app-vault-locked .app-vault-full p{color:var(--shely-text-muted)}.shell[data-collapsed=true] .app-vault-locked .app-vault-glyph{background:var(--shely-surface-2);color:var(--shely-text-muted);border-color:#0000}.host-grid{grid-template-columns:repeat(auto-fill,minmax(18rem,1fr))}.host-card{min-width:0}.host-card .portal-target{overflow-wrap:anywhere}.portal-card-actions{flex-wrap:wrap}.page-lede a:not(.button),.portal-muted a:not(.button),.settings-block a:not(.button){color:var(--shely-accent)}.vault-gate .empty-state-hero img{width:6.5rem}.workspace-switcher,.titlebar-team-picker select{appearance:none;background-color:var(--shely-surface-2);color:var(--shely-text);font:inherit;cursor:pointer;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 1.2rem) 55%,calc(100% - .85rem) 55%;background-repeat:no-repeat;background-size:.36rem .36rem;border:1px solid #0000;border-radius:999px;padding:.45rem 2.3rem .45rem 1rem;font-size:.9rem;font-weight:600;transition:border-color .12s,box-shadow .12s}.workspace-switcher:hover,.titlebar-team-picker select:hover{border-color:var(--shely-accent)}.workspace-switcher:focus-visible,.titlebar-team-picker select:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.workspace-switcher option,.titlebar-team-picker select option{background:var(--shely-surface);color:var(--shely-text)}.account-card{flex-direction:column;gap:1rem;display:flex}.account-card-head{align-items:center;gap:1rem;display:flex}.account-card-head>div{flex:1;min-width:0}.account-card h2{font-family:var(--shely-font-display);margin:0;font-size:1.15rem}.account-card p{margin:.2rem 0 0}.account-avatar-large{background:var(--shely-accent-subtle);width:3rem;height:3rem;color:var(--shely-accent);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.account-plans h2{font-family:var(--shely-font-display);margin:.5rem 0 0;font-size:1.4rem}@media (max-width:40rem){.account-card-head{flex-wrap:wrap}}.host-grid{border:1px solid var(--shely-border);background:var(--shely-surface);border-radius:14px;flex-direction:column;gap:0;display:flex;overflow:hidden}.host-card{border:0;border-bottom:1px solid var(--shely-border-subtle);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head actions""target actions""cred actions";align-items:center;gap:.15rem 1rem;padding:.85rem 1.1rem;display:grid}.host-grid>.host-card:last-child{border-bottom:0}.host-card:hover{background:var(--shely-surface-2)}.host-card>.host-card-head{grid-area:head}.host-card>.portal-target{color:var(--shely-text-muted);grid-area:target;padding-left:3.5rem}.host-card>.portal-credential{grid-area:cred;margin:0;padding-left:3.5rem;font-size:.8rem}.host-card>.portal-card-actions{border-top:0;flex-wrap:nowrap;grid-area:actions;margin:0;padding:0}.host-card.host-card-editing{padding:1rem 1.1rem;display:block}@media (max-width:40rem){.host-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"head""target""cred""actions"}.host-card>.portal-card-actions{flex-wrap:wrap;margin-top:.6rem}}.home-tile{background:var(--shely-accent-subtle);width:2.6rem;height:2.6rem;color:var(--shely-accent);border-radius:12px;justify-content:center;align-items:center;margin-bottom:.6rem;display:inline-flex}.home-hero-art{flex-direction:column;align-items:center}.shely-says{border:1px solid var(--shely-border);background:var(--shely-surface-2);max-width:17rem;color:var(--shely-text);font-family:var(--shely-font-display);text-align:center;border-radius:16px;margin:.9rem 0 0;padding:.8rem 1.1rem;font-size:1rem;position:relative}.shely-says:before{content:"";border-top:1px solid var(--shely-border);border-left:1px solid var(--shely-border);background:var(--shely-surface-2);width:.8rem;height:.8rem;position:absolute;top:-.45rem;left:50%;transform:translate(-50%)rotate(45deg)}.shell-route select{appearance:none;background-color:var(--shely-surface-2);color:var(--shely-text);font:inherit;cursor:pointer;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 1.1rem) 55%,calc(100% - .75rem) 55%;background-repeat:no-repeat;background-size:.34rem .34rem;border:1px solid #0000;border-radius:999px;padding:.4rem 2.2rem .4rem .9rem;font-size:.9rem}.shell-route select:focus-visible{border-color:var(--shely-accent);box-shadow:0 0 0 3px var(--shely-accent-subtle);outline:none}.shell-route select option{background:var(--shely-surface);color:var(--shely-text)}.account-card{border:1px solid var(--shely-border);background:var(--shely-surface);border-radius:14px;padding:1.25rem}.home-three{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:50rem){.home-three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:34rem){.home-three{grid-template-columns:minmax(0,1fr)}}.credit-usage{border:1px solid var(--shely-border);background:var(--shely-surface);max-width:46rem;color:var(--shely-text-muted);border-radius:14px;margin:1.25rem 0 0;padding:.9rem 1.1rem;font-size:.94rem}.credit-usage strong{color:var(--shely-text)}.landing-section .credit-usage{margin:1.5rem 0 0}button.segmented-option{font:inherit;cursor:pointer;background:0 0;border:0;font-size:.88rem;font-weight:600}button.segmented-option:focus-visible{outline:2px solid var(--shely-accent);outline-offset:2px}.rail-workspace{border:1px solid var(--shely-border);background:var(--shely-surface-2);border-radius:12px;align-items:center;gap:.65rem;margin:0 0 .35rem;padding:.6rem .7rem;display:flex}.rail-workspace .rail-label{flex-direction:column;min-width:0;display:flex}.rail-workspace strong{text-overflow:ellipsis;font-size:.93rem;overflow:hidden}.rail-workspace span{color:var(--shely-text-muted);font-size:.76rem}.rail-workspace[data-mode=team]{border-color:var(--shely-accent)}.shell[data-collapsed=true] .rail-workspace{justify-content:center;padding:.5rem .2rem}.shell[data-collapsed=true] .rail-workspace .rail-label{display:none}.capability-list{margin:1rem 0 0;padding:0;list-style:none}.capability-list li{gap:.6rem;padding:.3rem 0;font-size:.94rem;display:flex}.capability-list li[data-allowed=true] span[aria-hidden]{color:var(--shely-accent)}.capability-list li[data-allowed=false]{color:var(--shely-text-muted)}.workspace-note{border:1px solid var(--shely-border);background:var(--shely-surface-2);color:var(--shely-text-muted);border-radius:12px;margin:0 0 1rem;padding:.8rem 1rem;font-size:.92rem}.workspace-note strong{color:var(--shely-text)}.account-plans{flex-direction:column;gap:.75rem;display:flex}.assistant-page{flex-direction:column;gap:.9rem;max-width:52rem;min-height:calc(100dvh - 8rem);margin:0 auto;display:flex}.credit-meter{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);padding:.9rem 1rem}.credit-meter-head{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.credit-meter-head h2{align-items:center;gap:.4rem;margin:0;font-size:.95rem;display:flex}.credit-meter-figure{color:var(--shely-text-muted);margin:.5rem 0 .4rem;font-size:.82rem}.credit-meter-figure strong{color:var(--shely-accent);font-family:var(--shely-font-display);margin-right:.35rem;font-size:1.5rem;font-weight:600}.credit-meter-figure[data-spent=true] strong{color:var(--shely-warning)}.credit-meter-bar{background:var(--shely-surface-2);border-radius:999px;height:.4rem;overflow:hidden}.credit-meter-bar span{border-radius:inherit;background:var(--shely-accent);height:100%;transition:width .24s;display:block}.credit-meter-bar span[data-warn=true]{background:var(--shely-warning)}.credit-meter-detail{color:var(--shely-text-muted);flex-wrap:wrap;gap:.2rem 1rem;margin:.45rem 0 0;font-size:.76rem;display:flex}.assistant-conversation{flex-direction:column;flex:1;gap:.6rem;min-height:12rem;display:flex}.chat-row{justify-content:flex-start;display:flex}.chat-row[data-own=true]{justify-content:flex-end}.chat-bubble{background:var(--shely-surface-2);max-width:min(36rem,86%);color:var(--shely-text);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;border-radius:16px;margin:0;padding:.6rem .9rem;line-height:1.45}.chat-bubble[data-own=true]{background:var(--shely-accent);color:var(--shely-ink)}.chat-bubble[data-error=true]{color:var(--shely-danger)}.chat-bubble[data-error=true] a{color:inherit;text-decoration:underline}.chat-bubble[data-small=true]{max-width:94%;padding:.5rem .75rem;font-size:.88rem}.assistant-thinking{color:var(--shely-text-muted);margin:0;font-size:.82rem}.assistant-empty{flex-direction:column;align-items:stretch;gap:.8rem;padding:.4rem 0;display:flex}.assistant-hello{border:1px solid var(--shely-border);border-radius:var(--shely-radius-lg);background:var(--shely-surface);align-items:center;gap:.8rem;padding:.7rem .9rem;display:flex}.assistant-hello img{flex:none}.assistant-hello p{margin:0;line-height:1.45}.assistant-try{color:var(--shely-text-muted);margin:0;font-family:inherit;font-size:.8rem;font-weight:500}.assistant-suggestions{flex-direction:column;gap:.45rem;display:flex}.assistant-suggestions button{background:var(--shely-surface-2);color:var(--shely-text);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:12px;padding:.55rem .85rem;font-size:.9rem}.assistant-suggestions button:hover{background:color-mix(in srgb, var(--shely-accent) 14%, var(--shely-surface-2))}.assistant-promises{color:var(--shely-text-muted);margin:0;padding-left:1.1rem;font-size:.8rem;line-height:1.5}.assistant-composer{background:var(--shely-background);padding:.6rem 0 .2rem;position:sticky;bottom:0}.assistant-note{color:var(--shely-warning);margin:0 0 .4rem;font-size:.82rem}.assistant-composer-row{align-items:flex-end;gap:.6rem;display:flex}.assistant-composer-row textarea,.assistant-typed textarea{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);min-width:0;max-height:9rem;color:var(--shely-text);font:inherit;resize:vertical;flex:1;padding:.6rem .8rem}.assistant-composer-row textarea:focus-visible,.assistant-typed textarea:focus-visible{outline:2px solid var(--shely-accent);outline-offset:1px}.assistant-send{background:var(--shely-accent);width:2.3rem;height:2.3rem;color:var(--shely-ink);cursor:pointer;border:0;border-radius:50%;flex:none;font-size:1.1rem;font-weight:700}.assistant-send:disabled{opacity:.4;cursor:not-allowed}.ssh-window-body{flex:1;min-height:0;display:flex}.ssh-window-body>.terminal-pane{flex:1;min-width:0}.ssh-window-assistant{border:1px solid var(--shely-border);border-radius:var(--shely-radius-sm);background:var(--shely-background);color:var(--shely-text-muted);font:inherit;cursor:pointer;flex:none;align-items:center;gap:.35rem;padding:.32rem .7rem;font-size:.78rem;display:inline-flex}.ssh-window-assistant:hover,.ssh-window-assistant[aria-pressed=true]{border-color:var(--shely-accent);color:var(--shely-accent);background:var(--shely-accent-subtle)}.server-assistant{border-left:1px solid var(--shely-border);background:var(--shely-background);flex-direction:column;flex:none;width:min(24rem,42%);min-height:0;display:flex}.server-assistant-head{color:var(--shely-accent);align-items:center;gap:.6rem;padding:.6rem .8rem;display:flex}.server-assistant-head>div{flex:1;min-width:0}.server-assistant-head h2{color:var(--shely-text);margin:0;font-size:.95rem}.server-assistant-head code{color:var(--shely-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;display:block;overflow:hidden}.server-assistant-close{color:var(--shely-text-muted);cursor:pointer;background:0 0;border:0;padding:.3rem;display:inline-flex}.server-assistant-meter{padding:0 .8rem .6rem}.server-assistant-timeline{border-top:1px solid var(--shely-border);flex-direction:column;flex:1;gap:.6rem;min-height:0;padding:.7rem .8rem;display:flex;overflow-y:auto}.server-assistant .assistant-composer{border-top:1px solid var(--shely-border);padding:.6rem .8rem}.assistant-card{border:1px solid var(--shely-border);border-radius:var(--shely-radius-md);background:var(--shely-surface);flex-direction:column;gap:.45rem;padding:.7rem .8rem;display:flex}.assistant-card[data-state=dismissed]{opacity:.6}.assistant-card-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.assistant-card-title{margin:0;font-size:.88rem;font-weight:600}.assistant-command{border-radius:var(--shely-radius-sm);background:var(--shely-ink);color:#f2eeff;font-family:var(--shely-font-mono);overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;padding:.5rem .6rem;font-size:.78rem;display:block}.assistant-output{border-radius:var(--shely-radius-sm);background:var(--shely-ink);color:#f2eeff;max-height:12rem;font-family:var(--shely-font-mono);margin:0;padding:.5rem .6rem;font-size:.74rem;overflow:auto}.assistant-reason{color:var(--shely-text-muted);margin:0;font-size:.78rem}.assistant-card-actions{flex-wrap:wrap;gap:.5rem;display:flex}.assistant-typed{flex-direction:column;align-items:flex-start;gap:.5rem;display:flex}.assistant-typed textarea{width:100%;font-family:var(--shely-font-mono);font-size:.78rem}.risk-chip{border:1px solid;border-radius:999px;flex:none;padding:.12rem .55rem;font-size:.7rem;font-weight:600}.risk-chip[data-risk=read-only]{color:var(--shely-accent)}.risk-chip[data-risk=changes]{color:var(--shely-warning)}.risk-chip[data-risk=destructive]{color:var(--shely-danger)}@media (max-width:48rem){.ssh-window-body{position:relative}.server-assistant{z-index:2;border-left:0;width:auto;position:absolute;inset:0}.assistant-page{min-height:calc(100dvh - 11rem)}.assistant-page .assistant-composer{bottom:calc(4.1rem + env(safe-area-inset-bottom,0px))}}
