:root{--bg-page:#f8fafc;--bg-surface:#fff;--bg-muted:#f8fafc;--border-subtle:#f1f5f9;--border-default:#e2e8f0;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#6b7280;--accent:#3b82f6;--accent-hover:#2563eb;--accent-soft:#f0f7ff;--accent-indigo:#6366f1;--accent-indigo-hover:#4f46e5;--accent-indigo-soft:#eef2ff;--shadow-sm:0 1px 3px 0 #0f172a08, 0 1px 2px -1px #0f172a08;--shadow-md:0 4px 6px -1px #0f172a0d, 0 2px 4px -2px #0f172a0d, 0 10px 15px -3px #0f172a08;--shadow-lg:0 10px 15px -3px #0f172a0f, 0 4px 6px -4px #0f172a0f, 0 20px 25px -5px #0f172a0a;--tabs-height:43px;color:var(--text-primary);background:var(--bg-page);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}body{background:var(--bg-page);margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;white-space:nowrap;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 14px;font-size:14px;font-weight:600;transition:background-color .15s,border-color .15s,box-shadow .15s,transform .1s;display:inline-flex}button:disabled{cursor:not-allowed;opacity:.65}input,select,textarea:not(.xterm-helper-textarea){border:1px solid var(--border-default);width:100%;color:var(--text-primary);background:var(--bg-surface);border-radius:8px;transition:border-color .15s,box-shadow .15s}input,select{height:36px;padding:0 10px}textarea:not(.xterm-helper-textarea){resize:vertical;padding:10px}input:focus,select:focus,textarea:focus:not(.xterm-helper-textarea){border-color:var(--accent);outline:none;box-shadow:0 0 0 4px #3b82f614}.terminal-output .xterm-helper-textarea{width:1px!important;height:1px!important;box-shadow:none!important;color:#0000!important;resize:none!important;background:0 0!important;border:none!important;border-radius:0!important;outline:none!important;padding:0!important;overflow:hidden!important}h1,h2,h3,p{margin:0}h1{letter-spacing:0;font-size:19px}h2{font-size:18px}h3{font-size:15px}.login-shell{background:#0b1220;place-items:center;min-height:100vh;padding:24px;display:grid;position:relative;overflow:hidden}.login-shell:before,.login-shell:after{content:"";pointer-events:none;z-index:1;opacity:.85;border-radius:50%;position:absolute}.login-shell:before{background:radial-gradient(circle,#3b82f626 0%,#6366f100 70%);width:500px;height:500px;animation:20s ease-in-out infinite alternate floatOrbOne;top:-10%;left:-10%}.login-shell:after{background:radial-gradient(circle,#6366f11f 0%,#8b5cf600 70%);width:550px;height:550px;animation:25s ease-in-out infinite alternate floatOrbTwo;bottom:-15%;right:-10%}@keyframes floatOrbOne{0%{transform:translate(0)scale(1)}to{transform:translate(60px,40px)scale(1.1)}}@keyframes floatOrbTwo{0%{transform:translate(0)scale(1)}to{transform:translate(-70px,-50px)scale(.9)}}.login-panel{-webkit-backdrop-filter:blur(20px);width:min(410px,100%);box-shadow:var(--shadow-lg), 0 30px 60px -20px #0f172a2e, inset 0 1px 0 #fffc;z-index:5;background:#fffffff0;border:1px solid #ffffffb3;border-radius:16px;gap:18px;padding:32px;transition:transform .3s,box-shadow .3s;display:grid;position:relative}.login-panel:hover{box-shadow:var(--shadow-lg), 0 35px 70px -15px #0f172a38, inset 0 1px 0 #ffffffe6;transform:translateY(-2px)}.login-mark{width:56px;height:56px;color:var(--accent);background:var(--accent-soft);border-radius:12px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #2563eb2e}.captcha-line{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.captcha-line strong{background:var(--bg-muted);min-width:92px;color:var(--text-primary);text-align:center;letter-spacing:1px;border-radius:8px;padding:8px 10px;font-family:Cascadia Code,Consolas,monospace}.captcha-image{border:1px solid var(--border-default);background:var(--accent-soft);object-fit:cover;border-radius:8px;width:126px;height:42px}.admin-shell{background:var(--bg-page);grid-template-columns:196px minmax(0,1fr);height:100dvh;min-height:100vh;display:grid;overflow:hidden}.mobile-nav-toggle{z-index:35;background:var(--bg-surface);width:44px;height:44px;color:var(--text-primary);border:1px solid var(--border-default);box-shadow:var(--shadow-sm);border-radius:10px;justify-content:center;align-items:center;padding:0;display:none;position:fixed;top:10px;left:10px}.mobile-nav-toggle:hover{background:var(--bg-muted)}.mobile-nav-mask{z-index:25;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a73;display:none;position:fixed;inset:0}.admin-sidebar{color:#e5e7eb;background:linear-gradient(#0b1220 0%,#111827 60%,#0f172a 100%);border-right:1px solid #94a3b814;grid-template-rows:auto 1fr auto;gap:16px;width:196px;height:100dvh;min-height:100dvh;padding:18px 12px;display:grid;position:fixed;top:0;bottom:0;left:0;overflow-y:auto}.brand{border-bottom:1px solid #94a3b81f;padding:6px 10px 16px}.brand h1{color:#fff;letter-spacing:.4px;font-size:19px;font-weight:700}.eyebrow{color:#93a4b8;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:800}.main-nav{align-content:start;gap:4px;display:grid}.main-nav button,.logout-btn{color:#cbd5e1;background:0 0;border-radius:8px;justify-content:flex-start;width:100%;height:38px;min-height:38px;padding:0 12px;font-weight:600}.main-nav button:hover,.logout-btn:hover{color:#f8fafc;background:#94a3b81a}.main-nav button.active{background:var(--accent);color:#fff;font-weight:700;box-shadow:0 4px 12px -2px #3b82f659}.logout-btn{color:#94a3b8}.admin-main{overscroll-behavior:contain;grid-column:2;align-content:start;min-width:0;height:100dvh;min-height:0;display:grid;overflow:hidden auto}.workspace-tabs{z-index:20;min-height:var(--tabs-height);-webkit-backdrop-filter:saturate(180%)blur(12px);border-bottom:1px solid var(--border-default);scrollbar-width:none;-ms-overflow-style:none;background:#f8fafcd9;align-items:flex-end;gap:6px;padding:8px 24px 0;display:flex;position:sticky;top:0;overflow-x:auto}.workspace-tabs::-webkit-scrollbar{display:none}.workspace-tab{border:1px solid var(--border-default);min-width:96px;max-width:180px;height:34px;color:var(--text-muted);background:#f1f5f9;border-bottom:0;border-radius:6px 6px 0 0;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:600;transition:background-color .15s,color .15s;display:inline-flex}.workspace-tab:hover{color:var(--text-primary);background:#e2e8f0}.workspace-tab span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace-tab.active{background:var(--bg-surface);height:35px;color:var(--text-primary);border-color:var(--border-default);box-shadow:0 -2.5px 0 var(--accent) inset;margin-bottom:-1px;font-weight:700}.tab-close{color:#9ca3af;flex:none}.workspace-tab:hover .tab-close,.tab-close:hover{color:#dc2626}.live-dot{background:#16a34a;border-radius:999px;width:7px;height:7px;box-shadow:0 0 0 3px #dcfce7}.admin-header{background:var(--bg-surface);border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:14px 24px;display:flex}.sticky-header-main .admin-header{top:var(--tabs-height);z-index:18;position:sticky;box-shadow:0 10px 24px -22px #0f172a73}.admin-header h2{color:var(--text-primary);letter-spacing:.2px;font-size:19px;font-weight:700}.admin-header p{color:var(--text-muted);word-break:break-all;margin-top:4px;font-size:13px}.header-actions{align-items:center;gap:10px;display:flex}.node-select{width:min(300px,34vw)}.user-badge{border:1px solid var(--border-default);background:var(--bg-muted);min-height:32px;color:var(--text-secondary);border-radius:999px;align-items:center;padding:6px 12px;font-size:13px;font-weight:600;display:inline-flex}.page-stack,.hosts-layout,.terminal-page,.message{margin:22px 24px 0}.terminal-page{min-width:0;max-width:calc(100vw - 324px);min-height:560px;height:calc(100dvh - var(--tabs-height) - 72px - 44px);flex-direction:column;display:flex;overflow:hidden}.page-stack{gap:16px;display:grid}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metrics.embedded{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 16px}.metric{border:1px solid var(--border-default);background:var(--bg-surface);min-height:96px;box-shadow:var(--shadow-sm);border-radius:10px;gap:6px;padding:16px 18px;transition:border-color .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1);display:grid}.metric:hover{box-shadow:var(--shadow-md);border-color:#3b82f633;transform:translateY(-2px)}.metric svg,.resource-grid svg{color:var(--accent)}.metric span,.resource-grid span,.resource-grid small,.panel-title span{color:var(--text-muted);font-size:13px}.metric strong{color:var(--text-primary);letter-spacing:.2px;font-size:22px;font-weight:700}.panel{border:1px solid var(--border-default);background:var(--bg-surface);box-shadow:var(--shadow-sm);border-radius:10px;padding:20px;transition:border-color .2s,box-shadow .2s}.panel-title{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:12px;min-height:36px;margin-bottom:18px;padding-bottom:14px;display:flex}.panel-title h2{color:var(--text-primary);letter-spacing:.2px;font-size:16px;font-weight:700}.primary{background:var(--accent);color:#fff;box-shadow:0 4px 12px -6px #2563eb8c}.primary:hover{background:var(--accent-hover);box-shadow:0 6px 16px -6px #2563ebb3}.ghost{background:var(--bg-surface);color:var(--text-secondary);border:1px solid var(--border-default)}.ghost:hover{background:var(--bg-muted);color:var(--text-primary);border-color:#d0d6df}.danger{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.danger:hover{background:#fee2e2}.compact{min-height:32px;padding:0 11px;font-size:13px}.inline{margin-top:0}.icon-btn{border:1px solid var(--border-default);background:var(--bg-surface);width:34px;min-height:34px;color:var(--text-secondary);padding:0}.icon-btn:hover{background:var(--bg-muted);color:var(--text-primary)}.usage-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.line-chart-wrap{background:#fff;border:1px solid #eef0f3;border-radius:8px;gap:10px;padding:12px;display:grid;overflow-x:auto}.usage-chart-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.usage-chart-head strong{color:#111827;font-size:20px}.usage-chart-title{color:#374151;font-size:14px;font-weight:800}.line-chart-wrap::-webkit-scrollbar{height:8px}.line-chart{width:100%;min-width:520px;height:320px}.grid-lines line{stroke:var(--border-subtle);stroke-width:1px}.axis-labels text,.time-labels text{fill:#6b7280;font-size:12px}.time-labels text{text-anchor:middle}.cpu-line,.memory-line{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.cpu-line{stroke:#3b82f6}.memory-line{stroke:#10b981}.cpu-dot{fill:#3b82f6}.memory-dot{fill:#10b981}.history-line{fill:none;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.history-dot{opacity:.35;stroke:#fff;stroke-width:1px}.chart-legend{color:#4b5563;flex-wrap:wrap;gap:8px;font-size:13px;font-weight:700;display:flex}.chart-filter{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.chart-filter .active,.legend-item.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.legend-item{color:#4b5563;background:#fff;border:1px solid #e5e7eb;min-height:28px;padding:0 8px;font-size:13px;font-weight:800}.chart-legend span,.legend-item{align-items:center;gap:6px;display:inline-flex}.chart-legend i,.legend-item i{border-radius:999px;width:22px;height:3px;display:inline-block}.legend-cpu{background:#3b82f6}.legend-memory{background:#10b981}@media (width<=1100px){.usage-chart-grid{grid-template-columns:1fr}}.host-table{border:1px solid var(--border-subtle);background:var(--bg-surface);-webkit-overflow-scrolling:touch;border-radius:10px;display:grid;overflow:auto}.table-head,.table-row{align-items:center;gap:12px;padding:12px 16px;display:grid}.overview-table .table-head,.overview-table .table-row{grid-template-columns:1fr 1.2fr .7fr .9fr 1fr 1fr .9fr .9fr}.container-table .table-head,.container-table .table-row{grid-template-columns:minmax(170px,1fr) 96px minmax(190px,1.2fr) 100px 80px 170px minmax(250px,auto)}.log-table .table-head,.log-table .table-row{grid-template-columns:150px 80px 130px minmax(360px,1fr)}.user-table .table-head,.user-table .table-row{grid-template-columns:1fr 120px 110px 180px 170px}.backup-table .table-head,.backup-table .table-row{grid-template-columns:minmax(180px,1.4fr) minmax(120px,.9fr) minmax(120px,.8fr) minmax(160px,1fr) minmax(220px,1.2fr)}.table-head{color:#6b7280;background:#f9fafb;min-width:920px;font-size:13px;font-weight:700}.table-row{color:#1f2937;text-align:left;background:#fff;border-top:1px solid #eef0f3;min-width:920px;min-height:52px}.table-row.static{cursor:default}.table-row:hover:not(.static){background:var(--bg-muted);transform:translate(2px)}.table-row small{color:#6b7280;margin-top:3px;display:block}.table-row>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.table-row strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.status{color:#475569;letter-spacing:.2px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:4px 10px;font-size:12px;font-style:normal;font-weight:600;display:inline-flex}.status:before{content:"";opacity:.85;background:currentColor;border-radius:999px;width:6px;height:6px}.status.online,.status.running{color:#15803d;background:#ecfdf5;border-color:#10b98126}.status.error,.status.dead,.status.exited{color:#b91c1c;background:#fef2f2;border-color:#ef444426}.status.paused{color:#b45309;background:#fffbeb;border-color:#f59e0b26}.status.queued{color:#1d4ed8;background:#eff6ff;border-color:#3b82f626}.status.secondary{color:#64748b;background:#f8fafc;padding:3px 8px;font-weight:700}.status.secondary.online{color:#16a34a;background:#f0fdf4}.status.secondary.error{color:#dc2626;background:#fef2f2}.status.secondary.paused{color:#b45309;background:#fffbeb}.hosts-layout{align-items:start;gap:16px;display:grid}.host-list{gap:16px;padding-top:0;display:grid}.host-toolbar{top:var(--tabs-height);z-index:15;-webkit-backdrop-filter:saturate(160%)blur(8px);border-bottom:1px solid var(--border-subtle);background:#ffffffeb;border-radius:12px 12px 0 0;grid-template-columns:minmax(0,auto) 1fr;align-items:center;gap:12px 16px;margin:-18px -18px 4px;padding:14px 18px;display:grid;position:sticky}.host-toolbar-head{align-items:baseline;gap:10px;min-width:0;display:inline-flex}.host-toolbar-head h2{color:#111827;letter-spacing:.2px;margin:0;font-size:17px;font-weight:700}.host-count{color:#6b7280;background:#f3f4f6;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600}.host-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.host-search{color:#6b7280;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;flex:240px;align-items:center;gap:8px;min-width:240px;max-width:360px;height:34px;padding:0 10px;transition:border-color .15s,background-color .15s,box-shadow .15s;display:inline-flex;position:relative}.host-search:focus-within{background:#fff;border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb1f}.host-search svg{flex:none}.host-search input{color:#111827;background:0 0;border:none;outline:none;flex:auto;min-width:0;height:100%;font-size:13px}.host-search input::placeholder{color:#9ca3af}.host-search-clear{color:#4b5563;cursor:pointer;background:#e5e7eb;border:none;border-radius:999px;flex:none;place-items:center;width:22px;height:22px;min-height:22px;padding:0;display:inline-grid}.host-search-clear:hover{color:#111827;background:#d1d5db}.host-card-list{gap:12px;display:grid}.host-card{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:14px;padding:16px;transition:border-color .18s,box-shadow .18s,transform .18s,background-color .18s;display:grid;position:relative}.host-card:hover{background:#fbfdff;border-color:#bfdbfe;transform:translateY(-1px);box-shadow:0 6px 16px -10px #2563eb59}.host-card.active{background:linear-gradient(#f5f9ff 0%,#fff 60%);border-color:#93c5fd;box-shadow:inset 3px 0 #2563eb,0 6px 18px -12px #2563eb73}.host-card-main{justify-content:space-between;align-items:center;gap:14px;display:flex}.host-card-title{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:inline-flex}.host-name-cell{align-items:center;gap:7px;min-width:0;display:inline-flex}.country-flag{object-fit:cover;background:#f8fafc;border-radius:3px;flex:none;width:24px;height:18px;box-shadow:inset 0 0 0 1px #0f172a1f}.host-card-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.host-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.host-card-details{border-top:1px solid #eef0f3;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 14px;padding-top:10px;display:grid}.host-card-details>div{align-items:center;gap:7px;min-width:0;display:flex}.host-card-details svg{color:#2563eb}.host-card-details span{color:#6b7280;flex:none;font-size:12px;font-weight:800}.host-card-details strong{text-overflow:ellipsis;white-space:nowrap;color:#111827;align-items:center;gap:7px;min-width:0;font-size:13px;display:inline-flex;overflow:hidden}.backup-task-panel{padding-top:0}.backup-task-card{cursor:default}.backup-task-card .host-card-title svg{color:#2563eb;flex:none}.backup-card-details{grid-template-columns:repeat(6,minmax(0,1fr))}.backup-source-inline strong{max-width:100%}.backup-queue-inline strong{color:#1d4ed8}.backup-run-list{gap:10px;display:grid}.backup-task-runs{background:#fcfcfd;border:1px solid #e5e7eb;border-radius:10px;gap:10px;padding:14px;display:grid}.backup-task-runs .small-empty{min-height:96px}.backup-runs-modal .backup-task-runs{max-height:min(72vh,760px);overflow:auto}.backup-schedule-section{background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;gap:10px;padding:14px;display:grid}.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-schedule-list{gap:10px;display:grid}.backup-timezone-select{max-width:360px}.backup-schedule-row{background:#fff;border:1px solid #dbeafe;border-radius:8px;grid-template-columns:minmax(120px,1fr) minmax(150px,1fr) minmax(120px,1fr) auto;align-items:end;gap:10px;padding:10px;display:grid}.backup-schedule-row .schedule-cron{grid-column:span 2}.backup-schedule-row .icon-btn{align-self:end}.inline-time-grid{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;display:grid}.backup-run-card{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(160px,1fr) auto minmax(280px,1.6fr);align-items:center;gap:12px;padding:13px 14px;display:grid}.backup-run-card.active{background:#f8fbff;border-color:#93c5fd;box-shadow:inset 3px 0 #2563eb}.backup-run-card.failed{background:snow;border-color:#fecaca}.backup-run-card strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.backup-run-card span,.backup-run-card p{color:#6b7280;font-size:13px}.backup-run-summary{gap:8px;min-width:0;display:grid}.backup-run-summary p{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.backup-progress-line{color:#64748b;grid-template-columns:auto minmax(100px,1fr) 42px;align-items:center;gap:8px;font-size:12px;display:grid}.backup-progress-line div{background:#e5e7eb;border-radius:999px;height:7px;overflow:hidden}.backup-progress-line i{border-radius:inherit;background:#2563eb;height:100%;display:block}.backup-progress-line strong{color:#334155;text-align:right;font-size:12px}.backup-event-panel{background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;gap:10px;padding:12px;display:grid}.backup-event-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.backup-event-title h4{color:#334155;margin:0;font-size:13px}.backup-event-list{gap:7px;max-height:260px;display:grid;overflow:auto}.backup-event-row{color:#475569;background:#fff;border:1px solid #e5edf4;border-radius:8px;grid-template-columns:138px 72px 44px minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:grid}.backup-event-row span,.backup-event-row em,.backup-event-row strong,.backup-event-row p{min-width:0;margin:0}.backup-event-row em{color:#2563eb;font-style:normal;font-weight:800}.backup-event-row p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.backup-task-modal .form-section-title{padding-bottom:0}.backup-task-modal .form-section-title h3{color:#334155}.sort-control{color:#6b7280;align-items:center;height:34px;display:inline-flex}.sort-control select{appearance:none;color:#111827;cursor:pointer;background:#f9fafb url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") right 10px center no-repeat;border:1px solid #e5e7eb;border-radius:8px;min-width:132px;height:34px;padding:0 30px 0 12px;font-size:13px}.sort-control select:focus{border-color:#93c5fd;outline:none;box-shadow:0 0 0 3px #2563eb1f}.tabs{flex-wrap:wrap;gap:8px;display:flex}.tabs button{color:#4b5563;background:#fff;border:1px solid #e5e7eb}.tabs button.active{color:#fff;background:#2563eb;border-color:#2563eb}.resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.resource-grid>div{background:#fbfdff;border:1px solid #eef0f3;border-radius:8px;gap:4px;min-height:96px;padding:14px;display:grid}.resource-grid strong{font-size:16px}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.detail-grid>div,.readonly-line{background:#f9fafb;border:1px solid #eef0f3;border-radius:8px;gap:5px;padding:12px;display:grid}.secret-line{grid-template-columns:minmax(0,1fr) auto;align-items:center}.secret-line span{grid-column:1/-1}.secret-line strong{min-width:0}.secret-label{gap:6px;display:grid}.input-with-icon{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.detail-grid span,.readonly-line span{color:#6b7280;font-size:12px;font-weight:700}.detail-grid strong,.readonly-line strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.os-detail strong{align-items:center;gap:8px;display:inline-flex}.os-logo-img{background:var(--os-logo-color,#111827);width:20px;height:20px;-webkit-mask:var(--os-logo-src) center / contain no-repeat;mask:var(--os-logo-src) center / contain no-repeat;-webkit-mask:var(--os-logo-src) center / contain no-repeat;flex:0 0 20px;display:inline-block}label{color:#4b5563;gap:7px;font-size:13px;font-weight:700;display:grid}.path-form{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-bottom:12px;display:grid}.file-tools{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px;margin-bottom:12px;display:grid}.tool-form{grid-template-columns:90px minmax(0,1fr) auto;gap:8px;display:grid}.chmod-form{grid-template-columns:minmax(0,1fr) 86px auto}.rename-form{grid-template-columns:minmax(0,1fr) auto}.file-manager-shell{gap:12px;display:grid}.file-pathbar{grid-template-columns:minmax(260px,1fr) auto auto auto auto auto;align-items:center;gap:8px;display:grid}.file-actionbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.new-file-form{grid-template-columns:92px minmax(180px,260px) auto;gap:8px;display:grid}.selected-filebar{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(180px,260px) 174px 82px 82px;align-items:end;gap:10px;padding:10px;display:grid}.selected-filebar>div{gap:4px;min-width:0;display:grid}.selected-filebar span{color:#6b7280;font-size:12px;font-weight:800}.selected-filebar strong{text-overflow:ellipsis;white-space:nowrap;color:#111827;min-width:0;overflow:hidden}.selected-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.chmod-inline{grid-template-columns:76px 88px}.upload-control{color:#374151;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d1d5db;border-radius:6px;justify-content:center;align-items:center;min-height:36px;padding:0 13px;font-size:14px;font-weight:600;display:inline-flex}.upload-control.compact{min-height:32px;padding:0 10px}.create-file-modal{grid-template-columns:140px minmax(0,1fr)}.upload-control input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.file-table{border:1px solid #eef0f3;border-radius:8px;overflow:hidden}.file-head{color:#6b7280;background:#f9fafb;grid-template-columns:minmax(0,1fr) 90px 118px;align-items:center;gap:10px;min-height:38px;padding:0 10px 0 38px;font-size:12px;font-weight:800;display:grid}.file-row{color:#1f2937;text-align:left;background:#fff;border-top:1px solid #eef0f3;grid-template-columns:18px minmax(0,1fr) 90px 118px;justify-items:start;gap:10px;width:100%;min-height:42px;padding:0 10px;display:grid}.file-row:first-child{border-top:0}.file-row:hover{background:#f9fafb}.file-row.active{color:#1d4ed8;background:#eff6ff}.file-row span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.file-row small{color:#6b7280;font-weight:600}.terminal-output{color:#d1e7ff;background:#0f172a;border:1px solid #d1d5db;border-radius:8px;width:100%;min-height:420px;font-family:Cascadia Code,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.55}.code-editor{border:1px solid var(--border-default);background:#282c34;border-radius:10px;width:100%;height:60vh;min-height:420px;overflow:hidden}.code-editor .cm-editor{color:#abb2bf;background:#282c34;height:100%;font-family:Cascadia Code,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.55}.code-editor .cm-editor.cm-focused{outline:none}.code-editor .cm-scroller{font-family:inherit}.code-editor .cm-content{caret-color:#fff}.code-editor .cm-gutters{border-right:1px solid #94a3b826}.editor-toolbar{align-items:center;gap:10px;display:inline-flex}.editor-language{border:1px solid var(--border-default);background:var(--bg-muted);height:32px;color:var(--text-secondary);border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.editor-language svg{color:var(--accent)}.editor-language select{appearance:none;min-width:110px;height:28px;color:var(--text-primary);cursor:pointer;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") right 4px center no-repeat;border:none;padding:0 22px 0 4px;font-size:12px;font-weight:600}.editor-language select:focus{box-shadow:none;outline:none}.editor-status{color:var(--text-muted);margin-right:auto;font-size:12px;font-weight:600}.terminal-toolbar{flex-wrap:wrap;flex:none;align-items:center;gap:8px;display:flex}.font-control{color:#4b5563;grid-auto-flow:column;align-items:center;width:auto}.font-control input{width:70px}.terminal-output{cursor:text;outline:none;flex:480px;width:100%;min-width:0;max-width:100%;min-height:420px;max-height:none;margin:14px 0 0;padding:0;overflow:hidden}.terminal-output:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #2563eb33}.terminal-output .xterm{box-sizing:border-box;width:100%;max-width:100%;height:100%;min-height:0}.terminal-output .xterm-screen,.terminal-output .xterm-rows{max-width:100%}.terminal-output .xterm-viewport{border-radius:6px}.terminal-resource-grid{flex:none;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%;min-width:0;max-width:100%;margin-top:8px;display:grid;overflow:hidden}.terminal-resource-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:7px;grid-template-columns:16px minmax(46px,auto) minmax(42px,1fr);align-items:center;gap:4px 6px;min-width:0;min-height:34px;padding:6px 8px;display:grid;overflow:hidden}.terminal-resource-card svg{color:#2563eb;width:16px;height:16px}.terminal-resource-card span,.terminal-resource-card small{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:800;overflow:hidden}.terminal-resource-card strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;text-align:left;min-width:46px;font-size:13px;line-height:1.2;overflow:hidden}.terminal-resource-card.net-card strong{font-size:12px}.terminal-resource-card.net-card{grid-template-columns:16px minmax(0,1fr)}.terminal-resource-card.net-card strong{min-width:0}.terminal-resource-card small{grid-column:1/-1}.mini-progress{background:var(--border-default);border-radius:999px;min-width:42px;height:4px;overflow:hidden}.mini-progress i{border-radius:inherit;background:linear-gradient(90deg, var(--accent), #10b981);height:100%;display:block}.process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.process-grid>div{border:1px solid #eef0f3;border-radius:8px;overflow:hidden}.process-grid h3{background:#f9fafb;border-bottom:1px solid #eef0f3;padding:12px}.process-row{border-bottom:1px solid #f3f4f6;grid-template-columns:70px minmax(0,1fr) 90px auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.process-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.process-row small{color:#6b7280;text-align:right}.row-actions{flex-wrap:wrap;gap:6px;display:flex}.pager{color:var(--text-muted);justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;font-size:13px;display:flex}.compact-pager{justify-content:space-between}.notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-bottom:12px;padding:11px 14px;font-size:14px;line-height:1.5}.inline-message{margin:0 0 12px}.message{background:var(--accent-soft);color:#1e40af;border:1px solid #dbeafe;border-radius:10px;padding:11px 14px;font-size:14px;line-height:1.5}.error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-top:12px;padding:11px 14px;line-height:1.5}.empty{text-align:center;min-height:280px;color:var(--text-muted);place-content:center;justify-items:center;gap:12px;display:grid;position:relative}.empty svg{color:var(--accent);filter:drop-shadow(0 4px 12px #3b82f629);animation:4s ease-in-out infinite floatEmptyIcon}@keyframes floatEmptyIcon{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-8px)rotate(1deg)}}.small-empty{min-height:220px}.actions{justify-content:flex-end;gap:8px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(6px);background:#0f172a80;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.modal-panel{border:1px solid var(--border-subtle);background:var(--bg-surface);border-radius:14px;width:min(760px,100%);max-height:calc(100vh - 56px);padding:22px;overflow:auto;box-shadow:0 30px 80px -20px #0f172a73}.small-modal{width:min(560px,100%)}.editor-modal{width:min(1080px,100%)}.manager-modal{width:min(1180px,100%)}.backup-task-modal{width:min(920px,100%)}.backup-runs-modal{width:min(960px,100%)}.modal-toolbar{border-bottom:0;margin-bottom:12px;padding-bottom:0}.modal-scroll-list{max-height:min(46vh,520px);overflow:auto}.modal-title{border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:12px;display:flex}.modal-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.notify-form{grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);align-items:start;gap:16px;display:grid}.notify-column{gap:14px;min-width:0;display:grid}.main-column{align-content:start}.form-section{background:#fff;border:1px solid #eef0f3;border-radius:8px;align-content:start;gap:12px;padding:14px;display:grid}.system-basic-section,.cleanup-section,.webdav-section,.backup-editor-section,.backup-list-section,.notification-feishu-section,.notification-telegram-section,.notification-rule-section,.notification-host-section,.notification-template-section{border-left-width:4px}.system-basic-section{background:#f8fbff;border-left-color:#3b82f6}.cleanup-section{background:#f7fdf9;border-left-color:#22c55e}.webdav-section{background:#f7fcfb;border-left-color:#14b8a6}.backup-editor-section{background:#fffaf2;border-left-color:#f59e0b}.backup-list-section{background:#fbf8ff;border-left-color:#8b5cf6}.notification-feishu-section{background:#f7fbff;border-left-color:#0ea5e9}.notification-telegram-section{background:#f8fbff;border-left-color:#2563eb}.notification-rule-section{background:#fff8f8;border-left-color:#ef4444}.notification-host-section{background:#f7fdfb;border-left-color:#10b981}.notification-template-section{background:#fcf8ff;border-left-color:#a855f7}.form-section-title{border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;display:flex}.cleanup-title-actions{align-items:center;gap:10px;display:inline-flex}.webdav-inline-grid{grid-template-columns:minmax(280px,1.6fr) minmax(150px,.8fr) minmax(130px,.7fr) minmax(150px,.8fr) 110px;align-items:end;gap:10px;display:grid}.webdav-status{text-align:center;min-width:72px}.webdav-status.idle{color:#4b5563;background:#f3f4f6}.webdav-status.success{color:#15803d;background:#dcfce7}.webdav-status.error{color:#b91c1c;background:#fee2e2}.channel-section{min-height:190px}.threshold-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.cleanup-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;display:grid}.cleanup-result-list{gap:8px;display:grid}.backup-sources{background:#fcfcfd;border:1px solid #e5e7eb;border-radius:10px;gap:10px;padding:14px;display:grid}.backup-task-form .backup-sources,.backup-task-form .advanced-box,.backup-task-form .backup-task-runs,.backup-task-form .backup-schedule-section{grid-column:1/-1}.backup-task-form .compact-title{padding-bottom:8px}.backup-toggle-row{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-wrap:wrap;align-items:center;gap:14px;min-width:0;padding:7px 10px;display:flex}.backup-toggle-row .switch-line{min-height:30px}.backup-task-actions{background:#fff;border-top:1px solid #e5e7eb;margin-top:0;padding:12px 0 2px}.backup-source-row{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 34px;align-items:end;gap:10px;display:grid}.backup-target-row{grid-template-columns:minmax(220px,.5fr);gap:10px;display:grid}.backup-run-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.run-limit-control{color:#4b5563;align-items:center;gap:6px;min-height:34px;font-size:13px;font-weight:700;display:inline-flex}.run-limit-control select{min-width:92px;height:34px;min-height:34px;padding:0 28px 0 10px}.advanced-box{background:#f8fafc;border:1px solid #dbe3ea;border-radius:10px;padding:0}.advanced-box summary{cursor:pointer;color:var(--text-secondary);padding:10px 12px;font-size:13px;font-weight:700}.advanced-box[open] summary{border-bottom:1px solid #e5edf4}.advanced-box .threshold-grid{padding:12px}.cleanup-result-row{color:#1e40af;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;grid-template-columns:minmax(120px,.4fr) minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:10px 12px;font-size:13px;display:grid}.cleanup-result-row.failed{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.cleanup-result-row strong,.cleanup-result-row span{text-overflow:ellipsis;min-width:0;overflow:hidden}.compact-title{padding-top:4px}.multi-select-wrap{min-width:0;position:relative}.multi-select-trigger{color:#111827;text-align:left;background:#fff;border:1px solid #d1d5db;border-radius:8px;gap:3px;width:100%;min-height:46px;padding:9px 12px;display:grid}.multi-select-trigger span,.multi-select-trigger small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.multi-select-trigger span{font-weight:800}.multi-select-trigger small{color:#6b7280;font-size:12px;font-weight:700}.multi-select-menu{z-index:20;background:#fff;border:1px solid #dbe2ea;border-radius:8px;gap:8px;max-height:320px;padding:10px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 18px 40px #0f172a24}.multi-select-actions{border-bottom:1px solid #eef0f3;flex-wrap:wrap;gap:8px;padding-bottom:8px;display:flex}.multi-select-option{background:#f9fafb;border:1px solid #eef0f3;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:3px 8px;min-width:0;min-height:46px;padding:9px;display:grid}.multi-select-option input{width:16px;height:16px}.multi-select-option span{text-overflow:ellipsis;white-space:nowrap;color:#111827;min-width:0;font-weight:800;overflow:hidden}.multi-select-option small{text-overflow:ellipsis;white-space:nowrap;color:#6b7280;grid-column:2/4;min-width:0;font-size:12px;font-weight:700;overflow:hidden}.span-2{grid-column:span 2}.check-line,.switch-line,.checkbox-row{color:#374151;align-items:center;gap:8px;min-height:36px;font-weight:700;display:inline-flex}.check-line input,.switch-line input,.checkbox-row input{width:16px;height:16px}.section-actions{justify-content:flex-end;margin-top:auto;display:flex}.hint{color:#6b7280;font-size:12px;line-height:1.6}.log-filter{grid-template-columns:160px 220px;align-items:end;gap:12px;margin-bottom:14px;display:grid}.log-hint{margin:-4px 0 12px}.readonly-line{margin-bottom:14px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.notify-actions{grid-column:1/-1;margin-top:0}@media (width<=1280px){.metrics,.host-card-details{grid-template-columns:repeat(3,minmax(0,1fr))}.backup-run-card{grid-template-columns:1fr auto}.backup-run-summary{grid-column:1/-1}.backup-event-row{grid-template-columns:1fr auto auto}.backup-event-row p{grid-column:1/-1}.detail-grid,.threshold-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1020px){.admin-shell,.hosts-layout{grid-template-columns:1fr}.terminal-page{max-width:calc(100vw - 28px)}.notify-form{grid-template-columns:1fr}.mobile-nav-toggle{display:flex}.mobile-nav-mask{min-height:100dvh;display:block}.admin-sidebar{z-index:26;overscroll-behavior:contain;width:min(80vw,280px);height:100dvh;min-height:100dvh;max-height:100dvh;box-shadow:none;background:linear-gradient(#0b1220 0%,#111827 60%,#0f172a 100%);grid-template-rows:auto 1fr auto;grid-template-columns:1fr;padding:18px 14px;transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;top:0;bottom:auto;left:0;overflow-y:auto;transform:translate(-100%)}.admin-sidebar.open{box-shadow:var(--shadow-lg);transform:translate(0)}.brand{border-bottom:1px solid #94a3b81f;padding:0 6px 14px}.brand h1{white-space:nowrap;font-size:17px}.main-nav{align-content:start;gap:4px;display:grid;overflow:visible}.main-nav button,.logout-btn{justify-content:flex-start;width:100%;height:44px;min-height:44px;padding:0 12px}.logout-btn{align-self:end}.admin-main{grid-column:1}.workspace-tabs{padding-left:16px;padding-right:16px;top:0}.sticky-header-main .admin-header{top:var(--tabs-height)}.file-tools{grid-template-columns:1fr}.file-pathbar,.file-actionbar,.selected-filebar{grid-template-columns:1fr 1fr}.file-pathbar input{grid-column:1/-1}.file-actionbar{flex-direction:column;align-items:stretch}.new-file-form,.selected-form,.chmod-inline,.create-file-modal,.host-toolbar{grid-template-columns:1fr}.host-toolbar-actions{justify-content:flex-start}}@media (width<=760px){.login-shell{place-items:start center;padding:72px 16px 24px}.login-panel{border-radius:12px;width:100%;max-width:360px;padding:24px 18px}.captcha-line{grid-template-columns:1fr}.captcha-line .compact{width:100%}.captcha-image{width:100%;max-width:220px}.admin-header,.header-actions,.panel-title,.form-section-title,.cleanup-title-actions{flex-direction:column;align-items:stretch}.cleanup-title-actions button{width:100%}.workspace-tabs{min-height:44px;padding:6px 10px 0 64px}.workspace-tab{min-width:78px;min-height:38px;padding:0 10px;font-size:12px}.admin-header{gap:10px;min-height:0;padding:12px 14px}.sticky-header-main .admin-header{top:var(--tabs-height)}input,select,textarea{min-height:40px;font-size:16px}.admin-header h2{font-size:17px}.admin-header p{font-size:12px}.header-actions{grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;display:grid}.header-actions .user-badge{grid-column:1/-1;justify-content:center}.header-actions>button,.node-select{width:100%}.page-stack,.hosts-layout,.terminal-page,.message{margin:14px 10px 0}.terminal-page{max-width:calc(100vw - 28px);height:auto;min-height:0}.metrics,.metrics.embedded,.resource-grid,.terminal-resource-grid,.host-card-details,.detail-grid,.process-grid,.modal-form,.notify-form,.log-filter,.threshold-grid,.cleanup-type-grid,.backup-schedule-row,.backup-source-row,.backup-target-row,.webdav-inline-grid,.backup-run-card,.backup-event-row{grid-template-columns:1fr}.backup-schedule-row .schedule-cron{grid-column:auto}.metrics,.metrics.embedded{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{border-radius:10px;min-height:82px;padding:12px}.metric strong{font-size:18px}.metric span{font-size:12px}.panel{border-radius:10px;padding:14px}.panel-title{gap:8px;margin-bottom:14px;padding-bottom:12px}.usage-chart-grid{gap:10px}.line-chart-wrap{padding:10px}.line-chart{min-width:420px;height:260px}.usage-chart-head strong{font-size:16px}.table-head,.table-row{min-width:760px;min-height:56px;padding:10px 12px;font-size:12px}.table-head>span:first-child,.table-row>span:first-child{background:inherit;z-index:1;box-shadow:1px 0 0 var(--border-subtle);padding-right:8px;position:sticky;left:0}.table-head{background:#f9fafb}.table-row{background:#fff}.table-row:hover:not(.static){background:#f9fafb}.overview-table .table-head,.overview-table .table-row{grid-template-columns:minmax(150px,1.2fr) 1.2fr .7fr .9fr 1fr 1fr .9fr .9fr}.log-table .table-head,.log-table .table-row{grid-template-columns:minmax(140px,1fr) 80px 130px minmax(280px,1.4fr);min-width:680px}.user-table .table-head,.user-table .table-row{grid-template-columns:minmax(140px,1fr) 120px 110px 180px 170px;min-width:640px}.backup-table .table-head,.backup-table .table-row{grid-template-columns:minmax(160px,1.2fr) 120px 120px minmax(150px,1fr) minmax(220px,1.2fr);min-width:860px}.container-table .table-head,.container-table .table-row{grid-template-columns:minmax(150px,1fr) 96px minmax(190px,1.2fr) 100px 80px 170px minmax(220px,auto);min-width:820px}.host-card{border-radius:10px;padding:14px}.host-card-header{flex-direction:column;align-items:stretch}.host-actions{justify-content:stretch}.host-actions button{flex:120px}.terminal-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.terminal-toolbar .font-control{grid-column:1/-1}.terminal-output{height:clamp(280px,50dvh,520px);min-height:280px}.terminal-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.terminal-resource-card{min-height:34px;padding:6px 8px}.path-form,.tool-form,.chmod-form,.file-pathbar,.selected-filebar{grid-template-columns:1fr}.file-tools,.new-file-form,.file-pathbar,.selected-filebar{gap:8px}.file-head,.file-row{grid-template-columns:18px minmax(0,1fr) 76px 92px;min-width:560px}.file-head{grid-template-columns:minmax(0,1fr) 76px 92px}.modal-panel{border-radius:0;width:100%;height:100dvh;max-height:100dvh;padding:14px}.modal-title{align-items:start;gap:10px}.modal-title h2{font-size:17px}.modal-actions{background:var(--bg-surface);z-index:2;flex-direction:column-reverse;align-items:stretch;padding-top:12px;position:sticky;bottom:0}.modal-actions button{width:100%;min-height:44px}.editor-modal .modal-panel{padding:8px}.editor-modal .modal-actions{grid-template-columns:1fr;display:grid}.pager{flex-direction:column;align-items:stretch}.span-2{grid-column:auto}.modal-backdrop{align-items:stretch;padding:0}.host-toolbar-actions{flex-direction:column;align-items:stretch}.host-search{max-width:none}.sort-control select{width:100%}}@media (width<=420px){button{font-size:13px}.metrics,.metrics.embedded{grid-template-columns:1fr}.line-chart{min-width:360px}.terminal-resource-grid{grid-template-columns:1fr}.login-shell{padding-left:12px;padding-right:12px}.login-panel{padding:22px 14px}}@media (width<=380px){.brand h1{font-size:15px}.workspace-tab{min-width:64px;padding:0 8px}.metric{min-height:72px;padding:10px}.metric strong{font-size:16px}.panel{padding:12px}.page-stack,.hosts-layout,.terminal-page,.message{margin:12px 8px 0}.terminal-page{max-width:calc(100vw - 16px)}.mobile-nav-toggle{width:40px;height:40px;top:8px;left:8px}.workspace-tabs{padding-left:56px}}
