:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#19334a;background:#f2f5f8;font-size:15px}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;background:#112d41;color:#fff;padding:32px max(24px,calc((100% - 1200px)/2))}header small{color:#9fc3d5;letter-spacing:2px}h1{font-size:30px;margin:10px 0}header p{margin:0;color:#bbd0de}main{max-width:1248px;margin:28px auto;padding:0 24px}h2{font-size:20px}h2 small{font-size:13px;font-weight:400;color:#697b89}section,.project{background:#fff;border:1px solid #dce5eb;border-radius:12px;padding:22px;margin:18px 0}button{border:1px solid #bdcdd8;border-radius:7px;padding:9px 15px;cursor:pointer;background:white;color:#234256;font:inherit}button:hover{background:#eaf2f6}button.primary{background:#126c86;border-color:#126c86;color:white}button.danger{color:#ae2331}nav{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}label{display:block;margin:15px 0;color:#4b6171}input,select{width:100%;display:block;padding:10px;border:1px solid #b6c8d3;border-radius:7px;font:inherit;margin-top:6px;background:#fff}input[type=checkbox]{width:auto;display:inline}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:20px 0}.stat{padding:20px;background:white;border:1px solid #dce5eb;border-radius:10px}.stat strong{display:block;font-size:30px;margin-top:6px}.banner{background:#e4eff4;padding:13px 18px;border-radius:8px}.banner.warn{background:#fff1dc;color:#7b5215}.hint,footer{color:#687e8d;font-size:13px;line-height:1.8}.category-title,.project-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.project-title h3{margin:4px 0 12px}.status{display:inline-block;font-weight:600;border-radius:15px;padding:4px 10px;background:#edf1f4;color:#617483}.status.ok{background:#e4f5eb;color:#197146}.status.error,.status.offline,.status.stale,.status.not_connected{background:#fff0ee;color:#b33230}.status.unknown,.status.waiting{background:#fff4df;color:#906316}.status.maintenance{background:#e9e9fa;color:#62569b}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:14px 8px;border-bottom:1px solid #e8edf1}th{color:#667d8b;font-weight:500}td small{color:#758995;display:block;margin-top:4px}.scroll{overflow:auto}a{color:#126c86;text-decoration:none}a:hover{text-decoration:underline}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.compact{font-size:12px;padding:5px 9px;margin:3px}dialog{width:min(580px,94vw);max-height:90vh;border:1px solid #c4d3de;border-radius:14px;padding:25px;box-shadow:0 20px 90px #112d4150}dialog::backdrop{background:#112d4166}#detail{width:min(900px,94vw)}#message,#form-error{color:#a32929;margin:10px 0;white-space:pre-wrap}#login{max-width:430px;margin:70px auto}.credential{word-break:break-all;background:#f0f4f7;padding:18px;user-select:all}.empty{padding:45px;text-align:center;color:#687e8d}footer{margin:24px 0}@media(max-width:760px){.stats{grid-template-columns:repeat(2,1fr)}header{padding:24px}main{padding:0 14px}.project{padding:14px}td,th{min-width:100px}nav button{font-size:13px}h2 small{display:block;margin-top:6px}}
.status{white-space:nowrap}
