:root{--mgr-bg:#17191b;--mgr-card:#202326;--mgr-text:#f5f5f3;--mgr-muted:#a8adb3;--mgr-line:#ffffff14;--mgr-accent:#f3c544}
.mgr-body{background:var(--mgr-bg);color:var(--mgr-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0}.mgr-header{max-width:1240px;margin:auto;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.mgr-brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:inherit}.mgr-brand b{font-size:23px;letter-spacing:-.06em}.mgr-brand em{font-style:normal;color:var(--mgr-accent)}.mgr-brand small{display:block;color:var(--mgr-muted);font-size:12px;margin-top:3px}.mgr-emblem{display:block;width:34px;height:34px;border:5px solid var(--mgr-accent);border-right-color:transparent;border-radius:50%;transform:rotate(-35deg)}.mgr-nav{max-width:1192px;margin:0 auto 32px;padding:10px;background:#ffffff04;border:1px solid var(--mgr-line);border-radius:16px;display:flex;flex-wrap:wrap;gap:5px}.mgr-nav a{padding:11px 14px;border-radius:10px;font-size:13px;font-weight:500;color:var(--mgr-muted);text-decoration:none;white-space:nowrap}.mgr-nav a:hover{background:#ffffff08;color:#fff}.mgr-nav a[aria-current=page]{background:var(--mgr-accent);color:#17191b;font-weight:650}.mgr-main{max-width:1240px;padding:0 24px 30px;margin:0 auto}.mgr-title{display:flex;gap:18px;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.mgr-title h1{margin:8px 0 0;font-size:clamp(26px,4vw,38px);letter-spacing:-.04em;line-height:1.2}.mgr-eyebrow{font-size:10px;letter-spacing:.15em;color:var(--mgr-accent);font-weight:650}.mgr-updated{font-size:12px;color:var(--mgr-muted);white-space:nowrap}.mgr-grid{display:grid;gap:16px}.mgr-three{grid-template-columns:repeat(3,minmax(0,1fr))}.mgr-two{grid-template-columns:repeat(2,minmax(0,1fr))}.mgr-card{padding:24px;background:var(--mgr-card);border:1px solid var(--mgr-line);border-radius:18px;min-width:0}.mgr-card h2{font-size:18px;line-height:1.4;margin:0 0 12px;letter-spacing:-.025em}.mgr-card p{color:var(--mgr-muted);font-size:14px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.mgr-label{color:var(--mgr-muted);font-size:12px;display:block}.mgr-number{display:block;font-size:clamp(20px,2vw,27px);letter-spacing:-.035em;margin:16px 0 8px;overflow-wrap:anywhere}.mgr-section{margin-top:20px}.mgr-link{display:block;color:inherit;text-decoration:none;transition:border-color .2s}.mgr-link:hover{border-color:#f3c54466}.mgr-notice{padding:18px 20px;background:#f3c5440a;border:1px solid #f3c54430;border-radius:14px;font-size:14px;line-height:1.7;margin-bottom:20px;overflow-wrap:anywhere}.mgr-notice p{margin:8px 0}.mgr-error{background:#ff6b6b0c;border-color:#ff6b6b40;color:#ffb3b3}.mgr-warning{color:#ecd590}.mgr-job{padding:18px 20px;border:1px solid var(--mgr-line);border-radius:14px;margin-bottom:20px;display:flex;gap:16px;justify-content:space-between;background:#ffffff04}.mgr-job strong{display:block;font-size:14px;font-weight:500;line-height:1.65;margin-top:9px;white-space:pre-line;overflow-wrap:anywhere}.mgr-job small{white-space:nowrap;color:var(--mgr-muted);font-size:12px}.mgr-job.error{border-color:#ff6b6b40}.mgr-pill{display:inline-flex;padding:5px 9px;border-radius:7px;font-size:11px;color:#81dba8;background:#81dba812;line-height:1.4}.mgr-pill.bad,.mgr-job.error .mgr-pill{color:#ffb3b3;background:#ff6b6b12}.mgr-job.running .mgr-pill{color:var(--mgr-accent);background:#f3c54412}.mgr-action-row{display:flex;gap:24px;align-items:center;justify-content:space-between}.mgr-action-row>div{max-width:750px}.mgr-btn{appearance:none;-webkit-appearance:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:43px;padding:11px 16px;background:var(--mgr-accent);color:#17191b;border:1px solid transparent;border-radius:10px;cursor:pointer;text-decoration:none;font:inherit;font-size:13px;font-weight:650;line-height:1.4;text-align:center}.mgr-btn:hover{filter:brightness(1.08)}.mgr-btn:focus-visible{outline:2px solid var(--mgr-accent);outline-offset:3px}.mgr-btn:disabled{opacity:.4;cursor:wait}.mgr-secondary{background:transparent;border-color:#ffffff20;color:var(--mgr-text)}.mgr-quiet{background:transparent;color:var(--mgr-muted)}.mgr-danger{background:#f38172;color:#241613}.mgr-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.mgr-form{margin:0;flex-shrink:0}.mgr-copy{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid var(--mgr-line)}.mgr-copy:first-child{margin-top:18px}.mgr-copy strong{font-size:14px;overflow-wrap:anywhere}.mgr-copy small{display:block;color:var(--mgr-muted);font-size:12px;margin-top:7px}.mgr-fields{max-width:680px;display:grid;gap:18px;margin-top:22px}.mgr-fields>label{display:grid;gap:8px;font-size:13px;color:var(--mgr-muted)}.mgr-fields select,.mgr-fields input:not([type=checkbox]){width:100%;min-height:47px;min-width:0;background:#17191b;color:var(--mgr-text);border:1px solid #ffffff24;border-radius:10px;padding:12px;font:inherit;font-size:16px}.mgr-fields select:focus,.mgr-fields input:focus{outline:2px solid #f3c54477;outline-offset:2px}.mgr-fields .mgr-check{display:flex;align-items:flex-start;gap:10px;line-height:1.6}.mgr-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--mgr-accent);margin-top:2px}.mgr-fields .mgr-notice{margin:0}.mgr-fields>.mgr-btn{justify-self:start}.mgr-empty{text-align:center;padding:60px 20px;color:var(--mgr-muted)}.mgr-empty h2{font-size:21px;color:var(--mgr-text)}.mgr-empty p{line-height:1.7;font-size:14px}.mgr-details{margin:20px 0;display:grid;gap:0}.mgr-details>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--mgr-line);font-size:13px}.mgr-details dt{color:var(--mgr-muted)}.mgr-details dd{margin:0;text-align:right;white-space:nowrap}.mgr-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:10px}.mgr-log{padding:20px 0;border-top:1px solid var(--mgr-line)}.mgr-log>div{display:flex;align-items:center;gap:12px}.mgr-log small{color:var(--mgr-muted)}.mgr-log p{white-space:pre-line}.mgr-footer{font-size:12px;color:var(--mgr-muted);line-height:1.8;margin-top:28px}.mgr-footer a{color:var(--mgr-accent)}.mgr-alert{padding-left:14px;border-left:2px solid var(--mgr-accent)}
/* The existing monitoring page keeps its working cards and polling. */
body:not(.mgr-body)>.mgr-nav{width:calc(100% - 48px);margin-top:18px}
@media(max-width:1000px){.mgr-nav{margin-left:24px;margin-right:24px}.mgr-three{grid-template-columns:1fr 1fr}.mgr-title{align-items:flex-start;flex-direction:column}.mgr-action-row{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.mgr-header{padding:20px 16px}.mgr-nav{margin:0 16px 24px;padding:7px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mgr-nav a{padding:11px 10px;font-size:12px;white-space:normal}.mgr-main{padding:0 16px 24px}.mgr-title{margin-bottom:22px;gap:12px}.mgr-title h1{font-size:28px}.mgr-grid,.mgr-three,.mgr-two{grid-template-columns:1fr}.mgr-card{padding:20px}.mgr-number{font-size:25px;margin:12px 0 6px}.mgr-job{flex-direction:column;gap:10px;padding:16px}.mgr-copy{flex-wrap:wrap}.mgr-copy>.mgr-form{margin-left:auto}.mgr-buttons .mgr-form{flex:1}.mgr-buttons .mgr-btn{width:100%;font-size:12px;padding:10px}.mgr-fields>.mgr-btn{width:100%}.mgr-action-row .mgr-form,.mgr-action-row .mgr-btn{width:100%}.mgr-details>div{font-size:12px}.mgr-details dd{white-space:normal}.mgr-brand b{font-size:21px}body:not(.mgr-body)>.mgr-nav{width:auto;margin:16px}.mgr-job strong{font-size:13px}}
body:not(.mgr-body){--bg:#17191b;--panel:#202326;--panel2:#25282c;--accent:#f3c544;--muted:#a8adb3;background:#17191b}body:not(.mgr-body) .topbar{background:#17191bf2}body:not(.mgr-body) .brand-mark{font-size:0;border:5px solid #f3c544;border-right-color:transparent;border-radius:50%;background:transparent;box-shadow:none;transform:rotate(-35deg);width:34px;height:34px}body:not(.mgr-body) .hero h1 span{color:#f3c544}body:not(.mgr-body) .metric-icon{color:#f3c544;border-color:#f3c54440}
