/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}:root{--bg: #0b1014;--panel: #121a21;--panel-2: #18222c;--line: #2a3a48;--text: #e7eef4;--muted: #8b9aab;--teal: #2ec4b6;--teal-dim: #1a6f68;--warn: #e3b341;--danger: #e35d6a;--ok: #5bd38a;--queued: #7aa2c8;--shadow: 0 18px 50px rgba(0, 0, 0, .35);font-family:Segoe UI,IBM Plex Sans,ui-sans-serif,system-ui,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}button,input,select{font:inherit;color:inherit}button{background:var(--teal);color:#06221f;border:0;border-radius:4px;padding:.4rem .75rem;font-weight:600;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button.ghost{background:transparent;color:var(--text);border:1px solid var(--line)}button.warn{background:var(--warn);color:#1c1403}button.danger{background:var(--danger);color:#fff}input,select{background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:.4rem .55rem;min-width:10rem}input.grow{flex:1;min-width:16rem}label{display:flex;flex-direction:column;gap:.3rem;font-size:.8rem;color:var(--muted)}.muted{color:var(--muted)}.tiny{font-size:.75rem}.mono{font-family:ui-monospace,Cascadia Code,Liberation Mono,monospace}.err{color:var(--danger)}.pad{padding:.6rem 1rem}.boot{height:100%;display:grid;place-items:center;font-weight:700;letter-spacing:.35em;color:var(--teal)}.login-wrap{min-height:100%;display:grid;place-items:center;background:radial-gradient(1200px 500px at 10% -10%,#16343a 0%,transparent 55%),var(--bg)}.login-card{width:24rem;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:1.6rem 1.5rem 1.4rem;display:flex;flex-direction:column;gap:.75rem;box-shadow:var(--shadow)}.login-card h1{margin:0;font-size:1.15rem;font-weight:600}.login-eula{align-items:flex-start}.login-eula a,.legal-links a,.login-legal a{color:var(--teal)}.legal-links{margin-right:.4rem}.login-legal{margin:.85rem 0 0;text-align:center}.site-footer{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;justify-content:center;align-items:center;gap:.35rem;padding:.4rem .75rem;min-height:2.1rem;font-size:.78rem;color:var(--muted);background:color-mix(in srgb,var(--panel) 94%,transparent);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.site-footer a{color:var(--teal);text-decoration:none}.site-footer a:hover{text-decoration:underline}.login-wrap,.legal-page,.app{padding-bottom:2.6rem}.cookie-consent-modal{z-index:40}.cookie-consent-card{width:min(26rem,calc(100vw - 1.5rem))}.cookie-consent-card h2{margin:0 0 .5rem;font-size:1.1rem}.cookie-consent-card p{margin:0 0 .65rem;font-size:.9rem;line-height:1.45}.cookie-consent-card a{color:var(--teal)}.cookie-consent-actions{margin-top:.35rem;align-items:center}a.buttonish{display:inline-flex;align-items:center;justify-content:center;padding:.45rem .85rem;border-radius:6px;text-decoration:none;border:1px solid var(--line);color:var(--text);background:transparent}.cookie-gate-bg{position:relative}.cookie-gate-placeholder{opacity:.35;pointer-events:none;filter:blur(1px)}.legal-page{max-width:46rem;margin:0 auto;padding:2rem 1.25rem 4rem}.legal-nav{font-size:.85rem;color:var(--muted);margin-bottom:1.25rem}.legal-nav a{color:var(--teal)}.legal-body h1{font-size:1.5rem}.legal-body h2{font-size:1.15rem;margin-top:1.6rem}.legal-body table{width:100%;border-collapse:collapse;font-size:.85rem}.legal-body th,.legal-body td{border:1px solid var(--line);padding:.4rem .5rem;vertical-align:top;text-align:left}.mark{width:2.4rem;height:2.4rem;display:grid;place-items:center;background:var(--teal);color:#06221f;font-weight:800;letter-spacing:.04em;border-radius:6px}.mark.sm{width:1.8rem;height:1.8rem;font-size:.75rem}.app{min-height:100%;display:flex;flex-direction:column}.app.with-drawer main{margin-right:28rem}.app.with-pty main{margin-right:min(52rem,90vw)}input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:1.05rem;height:1.05rem;min-width:1.05rem;margin:0;flex:none;display:inline-grid;place-items:center;background:var(--bg);border:1px solid var(--line);border-radius:3px;cursor:pointer;accent-color:var(--teal)}input[type=checkbox]:checked{background:var(--teal);border-color:var(--teal)}input[type=checkbox]:checked:after{content:"";width:.22rem;height:.42rem;margin-top:-.08rem;border:solid #06221f;border-width:0 2px 2px 0;transform:rotate(45deg)}input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}input[type=checkbox]:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.top{display:flex;align-items:center;gap:1rem;padding:.65rem 1rem;border-bottom:1px solid var(--line);background:var(--panel);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:.6rem;font-weight:650;letter-spacing:.02em}.top-right{margin-left:auto;display:flex;align-items:center;gap:.5rem}.who{color:var(--muted);font-size:.85rem}.who em{font-style:normal;color:var(--teal)}.cert-warn{background:#3a2e12;color:var(--warn);padding:.25rem .6rem;border-radius:4px;font-size:.8rem}.emergency-banners{display:flex;flex-direction:column;gap:.25rem;max-width:48rem;max-height:7.5rem;overflow:auto;min-width:0;flex:1}.emergency-banner{background:#4a1515;color:#fecaca;border:1px solid #f87171;padding:.2rem .45rem .2rem .7rem;border-radius:4px;font-size:.8rem;max-width:none;display:flex;align-items:center;gap:.5rem}.emergency-banner-text{cursor:pointer;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emergency-resolve{flex:none;background:#7f1d1d;color:#fecaca;border:1px solid #f87171;border-radius:4px;padding:.15rem .5rem;font-size:.75rem;cursor:pointer}.st.emergency{color:#fecaca;background:#4a1515}.pill.emergency{color:#fecaca;border-color:#f87171;background:#4a1515}.emergency-row{background:#2a1212}.banner{padding:.5rem 1rem}main{padding:1rem 1.1rem 6rem;display:flex;flex-direction:column;gap:1.1rem}.section-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:.8rem;margin-bottom:.5rem}.section-head h2{margin:0;font-size:.95rem;font-weight:650}.host-page,.timeline,.fleet,.actions,.recent{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:.85rem}table{width:100%;border-collapse:collapse}th{text-align:left;color:var(--muted);font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:.35rem .5rem}td{padding:.55rem .5rem;border-top:1px solid var(--line);vertical-align:top}tbody tr{cursor:pointer}tbody tr:hover{background:var(--panel-2)}tbody tr.on{background:#16343a}.host{font-weight:600}.empty{text-align:center;color:var(--muted);cursor:default}.dot{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:#5a6a78}.dot.up{background:var(--ok);box-shadow:0 0 0 3px #5bd38a26}.dot.down{background:#5a6a78}.health-cell{min-width:5.5rem}.health-score{font-variant-numeric:tabular-nums;font-weight:700;font-size:.95rem;line-height:1.1}.health-score.ok{color:var(--ok)}.health-score.warn{color:var(--warn)}.health-score.bad{color:var(--danger)}button.health-score-btn{background:transparent;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}button.health-score-btn:hover{text-decoration:underline}.health-problems{width:100%;margin:.75rem 0;border-collapse:collapse;font-size:.88rem}.health-problems th{text-align:left;color:var(--muted);font-size:.72rem;padding:.3rem .4rem;border-bottom:1px solid var(--line)}.health-problems td{padding:.45rem .4rem;border-bottom:1px solid var(--line);vertical-align:top}.spark{display:block;margin-top:.15rem;color:var(--muted)}.spark.empty{display:inline-block;width:80px;height:18px}.spark.wide,.spark.empty.wide{width:120px}.panel-util{margin:.35rem 0 .75rem;padding:.65rem .85rem;border:1px solid var(--line);border-radius:8px;background:var(--panel-2)}.panel-util-head{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin-bottom:.45rem}.panel-util-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.panel-util-metric-top{display:flex;justify-content:space-between;align-items:baseline;font-size:.82rem;margin-bottom:.1rem}@media (max-width: 720px){.panel-util-grid{grid-template-columns:1fr}}.disks-cell{white-space:normal;max-width:22rem}.row{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.45rem;align-items:center}.pill{font-size:.75rem;color:var(--warn);border:1px solid var(--warn);padding:.1rem .45rem;border-radius:99px}.pill.proxy{color:var(--teal);border-color:var(--teal-dim);display:inline-block;margin:.25rem .25rem 0 0}.pill.stack{color:var(--queued);border-color:#3d5570;display:inline-block;margin:.25rem .25rem 0 0}.pill.tls-warn{color:var(--danger);border-color:var(--danger);display:inline-block;margin:.25rem .25rem 0 0}.pill.watch{color:var(--teal);border-color:var(--teal-dim);display:inline-block;margin:.25rem .25rem 0 0}.pill.label{color:#c5d4e0;border-color:#3d4f5c;display:inline-block;margin:.25rem .25rem 0 0}.fleet-filters{margin:.35rem 0 .6rem}.fleet-filters input,.fleet-filters select{min-width:6rem}.watch-tabs{margin:.4rem 0}.watch-detail,.watch-tty pre{margin-top:.7rem;padding:.7rem;max-height:18rem;overflow:auto;font-size:.78rem;background:#0b1216;border:1px solid var(--line);border-radius:6px;white-space:pre-wrap;word-break:break-word}.warn.tiny{color:var(--warn);font-size:.8rem;margin:.4rem 0}.host-pills{display:flex;flex-wrap:wrap;gap:.2rem;align-items:center}.warn-text{color:var(--warn);font-weight:600}.certs-table{width:100%;border-collapse:collapse;margin-top:.7rem;font-size:.85rem}.certs-table th{text-align:left;color:var(--muted);font-weight:600;font-size:.75rem;padding:.35rem .4rem;border-bottom:1px solid var(--line)}.certs-table td{padding:.4rem;border-bottom:1px solid var(--line);vertical-align:top}.certs-table tbody tr{cursor:pointer}.certs-table tbody tr.on{background:#16343a}.certs-table .certs-detail{cursor:default}.activity-log li{align-items:flex-start}.journal-out{margin-top:.7rem;max-height:28rem;overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:.7rem;font-size:.78rem;white-space:pre-wrap;word-break:break-word}.recent ul,.toks{list-style:none;margin:0;padding:0}.recent li,.toks li{display:flex;gap:.7rem;align-items:center;padding:.4rem .2rem;border-top:1px solid var(--line);cursor:pointer;font-size:.9rem}.st{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.12rem .4rem;border-radius:3px;background:var(--panel-2)}.st.queued{color:var(--queued)}.st.running{color:var(--teal)}.st.succeeded{color:var(--ok)}.st.failed,.st.timeout{color:var(--danger)}.st.canceled{color:var(--muted)}.drawer{position:fixed;top:0;right:0;bottom:0;width:28rem;background:#0e151b;border-left:1px solid var(--line);display:flex;flex-direction:column;z-index:8}.drawer-head{display:flex;align-items:center;gap:.6rem;padding:.7rem .85rem;border-bottom:1px solid var(--line)}.drawer-head strong{display:block}.drawer pre{flex:1;margin:0;padding:.85rem;overflow:auto;font-size:.78rem;line-height:1.4;font-family:ui-monospace,Cascadia Code,Liberation Mono,monospace;white-space:pre-wrap;word-break:break-word;color:#d5e7df}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:grid;place-items:center;z-index:20;padding:.75rem;overflow:hidden}.modal-card{width:min(40rem,calc(100vw - 1.5rem));background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:1.1rem;box-shadow:var(--shadow);max-height:calc(100dvh - 1.5rem);max-width:calc(100vw - 1.5rem);overflow:auto}.modal-card.wide{width:min(56rem,calc(100vw - 1.5rem))}.exclude-modal{z-index:22}.exclude-picks{list-style:none;margin:.5rem 0;padding:0}.exclude-picks li{padding:.28rem 0;border-top:1px solid var(--line)}.exclude-picks .check{flex-direction:row;align-items:center;gap:.45rem}.help-card{display:flex;flex-direction:column}.help-jump{display:flex;flex-wrap:wrap;gap:.3rem;margin:.35rem 0 .55rem}.help-jump button{margin-left:0}.help-body{flex:1 1 auto;min-height:0;overflow:auto}.help-body section{scroll-margin-top:.4rem}.help-body h3{margin:.85rem 0 .3rem;font-size:.85rem}.help-body p,.help-body li{font-size:.88rem;line-height:1.45}.help-body p{margin:0 0 .4rem}.help-body ul,.help-body ol{margin:0 0 .45rem;padding-left:1.2rem}.help-body li{margin:.15rem 0}.help-body code{font-size:.8rem}.modal-card.watch-card{display:flex;flex-direction:column;overflow:hidden;padding:.9rem 1rem}.modal-card.services-card{width:min(72rem,calc(100vw - 1.5rem))}.services-table td{word-break:break-word}.services-table tbody tr{cursor:default}.watch-head{flex:0 0 auto}.watch-head h2{margin:0 0 .35rem}.watch-filters input,.watch-filters select{min-width:0;max-width:100%}.watch-filters input.grow{min-width:10rem}.watch-filters input[type=datetime-local]{min-width:11rem;flex:1 1 11rem}.watch-body{flex:1 1 auto;min-height:0;overflow:auto;margin-top:.45rem}.watch-body .toks li{min-width:0}.watch-body .toks li>span:nth-child(2){flex:1 1 auto;min-width:0;overflow-wrap:anywhere;word-break:break-word}.watch-body .toks li>span:last-child{flex:0 0 auto}.modal-card textarea{width:100%;min-height:4.2rem;resize:vertical;background:var(--bg);color:inherit;border:1px solid var(--line);border-radius:6px;padding:.45rem .55rem;font:inherit}.palette input{width:100%;min-width:0;margin-bottom:.55rem}.palette .toks{max-height:22rem;overflow:auto}.palette .toks li.on{background:#16343a}.pty-drawer{width:min(52rem,90vw)}.pty-wrap{flex:1;min-height:14rem;padding:.45rem .55rem;overflow:hidden}.pty-wrap .xterm{height:100%}.replay-wrap{min-height:16rem;height:18rem;background:#0b1216;border:1px solid var(--line);border-radius:6px}.tty-replay{margin-top:.7rem}.log-hits li{align-items:flex-start}.log-hits .mono{white-space:pre-wrap;word-break:break-word}.cmd{margin-top:.8rem;padding:.7rem;background:var(--bg);border:1px solid var(--line);border-radius:6px;display:flex;gap:.5rem;align-items:flex-start}.cmd code{font-size:.78rem;white-space:pre-wrap;flex:1}.app.admin-mode{min-height:100%}.admin{flex:1;display:grid;grid-template-columns:14rem minmax(0,1fr)}.admin-nav{background:var(--panel);border-right:1px solid var(--line);padding:.75rem .45rem 2rem;display:flex;flex-direction:column;gap:.15rem}.admin-nav button{display:block;width:100%;text-align:left;background:transparent;color:var(--text);border:0;font-weight:500;padding:.42rem .7rem;border-radius:4px}.admin-nav button.on{background:#16343a;color:var(--teal)}.admin-nav .later{padding:1rem .7rem 0;margin:0;line-height:1.4}.admin-body{padding:1.1rem 1.4rem 4rem;max-width:56rem;min-width:0}.admin-body h2{margin:0 0 .35rem;font-size:1.15rem}.admin-body h3{margin:1.2rem 0 .4rem;font-size:.9rem}.admin-tabs{display:flex;gap:.35rem;margin:.6rem 0 .2rem}.admin-tabs button{padding:.3rem .7rem}.admin-form{display:flex;flex-direction:column;gap:.75rem;margin-top:.8rem}.admin-form .grid2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.admin-form input:not([type=checkbox]),.admin-form select,.admin-form textarea{min-width:0;width:100%}.admin-table td{cursor:default}.admin-table tbody tr{cursor:pointer}.perm-group{border:1px solid var(--line, #2a4448);border-radius:8px;padding:.5rem .75rem .75rem;margin:0}.perm-group legend{padding:0 .35rem}.perm-group .check-list{margin-top:.35rem}.soon{background:#1a2430;border:1px dashed var(--line);padding:.7rem .85rem;border-radius:6px;color:var(--muted);margin:.5rem 0 .9rem}.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.7rem;margin:.9rem 0}.stat{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:.8rem}.stat .k{color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}.stat .v{font-size:1.15rem;font-weight:650;margin-top:.25rem}.stat.warn .v{color:var(--warn)}.check{display:inline-flex;flex-direction:row;align-items:center;gap:.5rem;width:max-content;max-width:100%;align-self:flex-start;color:var(--text);font-size:.85rem;cursor:pointer;-webkit-user-select:none;user-select:none}.check input{width:1.05rem}.check-list{display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center}.ok-msg{color:var(--ok);font-size:.85rem}.upgrade-progress-modal{z-index:30}.upgrade-progress-card{width:min(28rem,calc(100vw - 1.5rem))}.upgrade-progress-card h2{margin:0 0 .35rem;font-size:1.05rem}.upgrade-steps{list-style:none;margin:.85rem 0 .5rem;padding:0;display:flex;flex-direction:column;gap:.55rem}.upgrade-step{display:flex;gap:.55rem;align-items:flex-start;padding:.35rem 0;border-top:1px solid var(--line)}.upgrade-step:first-child{border-top:0;padding-top:0}.upgrade-step-mark{flex:0 0 1.25rem;width:1.25rem;height:1.25rem;display:grid;place-items:center;border-radius:999px;border:1px solid var(--line);font-size:.72rem;line-height:1;color:var(--muted)}.upgrade-step.active .upgrade-step-mark{border-color:var(--teal);color:var(--teal)}.upgrade-step.done .upgrade-step-mark{border-color:var(--ok);color:var(--ok);background:color-mix(in srgb,var(--ok) 12%,transparent)}.upgrade-step.error .upgrade-step-mark{border-color:var(--danger);color:var(--danger)}.upgrade-step-body{display:flex;flex-direction:column;gap:.1rem;min-width:0}.upgrade-step-label{font-size:.9rem}.upgrade-step.pending{opacity:.55}.upgrade-step.active .upgrade-step-label{font-weight:600}.upgrade-bar{height:3px;margin-top:.65rem;border-radius:2px;background:linear-gradient(90deg,transparent,var(--teal),transparent);background-size:40% 100%;animation:upgrade-slide 1.1s linear infinite}@keyframes upgrade-slide{0%{background-position:-40% 0}to{background-position:140% 0}}.admin-form textarea{background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:.4rem .55rem;color:inherit;font:inherit;resize:vertical}.toks li.on{background:#16343a}.timeline-chips button{min-width:4.2rem}.pill.src-job{color:var(--teal);border-color:var(--teal-dim)}.pill.src-watch{color:var(--queued);border-color:#3d5570}.pill.src-alert{color:var(--warn);border-color:var(--warn)}.pill.src-audit{color:var(--muted);border-color:var(--line)}button.tiny,.ghost.tiny{font-size:.75rem;padding:.05rem .4rem;margin-left:.35rem}.toks li.alert-item{display:flex;flex-direction:column;align-items:stretch;gap:.4rem;cursor:default}.alert-item-head{display:flex;flex-wrap:wrap;gap:.45rem .7rem;align-items:baseline}.alert-item-head>span:nth-child(2){flex:1 1 14rem;min-width:0;overflow-wrap:anywhere}.alert-actions,.alert-ops{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin:0}.alert-actions>button,.alert-ops button{margin-left:0}.timeline .toks li>span:nth-child(3){flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.change-list{list-style:none;padding:0;margin:.8rem 0 1rem;display:flex;flex-direction:column;gap:.7rem}.change-item{background:var(--panel-2);border:1px solid var(--line);border-radius:6px;padding:.55rem .7rem}.change-head{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.change-block{margin:.35rem 0 0;display:flex;flex-direction:column;gap:.15rem}
