*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f4f7fb;color:#203047}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#13263b;color:#fff;padding:20px 14px;display:flex;flex-direction:column;gap:6px}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 24px}.brandmark{width:42px;height:42px;border-radius:12px;background:#17aaff;display:grid;place-items:center;font-weight:700}.brand span{display:block;color:#9fb6ca;font-size:12px;margin-top:3px}.sidebar a{color:#dce8f2;text-decoration:none;padding:12px 14px;border-radius:9px}.sidebar a:hover{background:#1e3b58;color:#fff}.sidefoot{margin-top:auto;color:#7f9ab0;font-size:12px;padding:10px}main{margin-left:240px}.topbar{height:84px;background:#fff;border-bottom:1px solid #e3e9ef;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.topbar h1{font-size:22px;margin:0}.topbar small{color:#7a8998}.user{font-size:13px}.user a{color:#168ed4}.content{padding:28px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid #e1e8ef;border-radius:13px;padding:20px;box-shadow:0 2px 8px rgba(20,45,70,.04)}.stat span,.stat small{display:block;color:#758595}.stat strong{display:block;font-size:32px;margin:10px 0}.panel{margin-top:22px}.panel h2{font-size:17px;margin:0 0 16px}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf1f5;font-size:14px}th{color:#637486;background:#f8fafc}.badge{padding:4px 8px;border-radius:12px;font-size:12px;background:#e9eef3}.ok{background:#e5f6ec;color:#19733d}.warn{background:#fff1d7;color:#8a5b00}.crit{background:#fde6e6;color:#a12a2a}.btn{display:inline-block;border:0;border-radius:8px;background:#17aaff;color:white;padding:10px 15px;text-decoration:none;cursor:pointer}.btn.secondary{background:#e8eef4;color:#29445d}input,select{width:100%;padding:10px;border:1px solid #cfd9e3;border-radius:8px;margin:5px 0 14px}.formbox{max-width:650px}.loginwrap{min-height:100vh;display:grid;place-items:center;background:#eef3f8}.login{width:390px}.login h1{margin-top:0}.notice{padding:12px;border-radius:8px;background:#eef7fd;margin-bottom:15px}.error{background:#fdeaea;color:#8d2626}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:190px}main{margin-left:190px}}.loginlinks{display:flex;justify-content:flex-end;margin:-6px 0 16px}.loginlinks a{font-size:13px;color:#168ed4;text-decoration:none}.actions{display:flex;gap:8px;flex-wrap:wrap}.btn.danger{background:#b63b3b}.pwbar{height:8px;background:#e6ebf0;border-radius:8px;overflow:hidden;margin:-7px 0 5px}.pwbar span{display:block;height:100%;width:0;background:#8c9aaa;transition:.2s}.hint{font-size:12px;color:#758595;margin-bottom:14px}.inline{display:flex;gap:10px;align-items:center}.inline>*{flex:1}.check{width:auto;margin-right:6px}.table-actions form{display:inline}.success{background:#e5f6ec;color:#19733d}

.device-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}.device-tabs a{padding:10px 14px;background:#fff;border:1px solid #dce5ee;border-radius:8px;text-decoration:none;color:#40556b}.device-tabs a.active{background:#168ed4;color:#fff;border-color:#168ed4}.muted{font-size:13px;color:#7b8b9b;font-weight:400}

/* v0.9.2 – kompakte Geräteübersicht */
.devices-panel{padding:0;overflow:hidden}.devices-head{display:flex;justify-content:space-between;align-items:center;padding:20px 20px 8px}.devices-head h2{margin:0;font-size:19px}.devices-sub{margin:5px 0 0;color:#7b8b9b;font-size:13px}.device-counts{color:#6e7f90;font-size:13px}.device-tools{padding:12px 20px 18px}.device-tools input,.device-tools select{margin:0;min-width:0}.device-search{width:100%;margin-bottom:10px!important}.device-filter-row{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;gap:10px;align-items:center}.device-reset{white-space:nowrap}.table-wrap{overflow:auto}.devices-table{min-width:1180px}.devices-table th{white-space:nowrap}.devices-table td{vertical-align:middle}.device-name{font-weight:700;color:#203047;text-decoration:none;white-space:nowrap}.device-name:hover{color:#168ed4;text-decoration:underline}.metric-cell{font-variant-numeric:tabular-nums;white-space:nowrap}.device-empty{padding:18px 20px;margin:0;color:#68798a}.devices-table tbody tr:hover td{background:#fbfdff}@media(max-width:1100px){.device-filter-row{grid-template-columns:1fr 1fr}.device-reset{width:max-content}}@media(max-width:650px){.device-filter-row{grid-template-columns:1fr}.device-reset{width:100%}}
