/* ATLAS - IT-Werkzeuge */
.i.spin { animation: spin 1s linear infinite; }
.it-form { display: flex; gap: 8px; flex-wrap: wrap; }
.it-form input, .it-form select { flex: 1; min-width: 120px; height: 34px; border-radius: 9px; border: 1px solid var(--line2); background: var(--bg2); padding: 0 11px; outline: none; font-size: 13px; }
.it-form select { flex: 0 0 auto; min-width: 0; }
.it-form input:focus, .it-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.it-presets { margin-top: 8px; }
.it-out { margin-top: 12px; }
.it-out:empty { display: none; }
.it-out code, .net-card code, #scanOut code, .host code, #invBox code { font: 12px var(--mono); color: var(--text); }
.it-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.it-stats b { color: var(--text); font: 600 16px var(--display); }
.it-stats .bad b { color: #ff6b6b; }
.it-stats .ok b { color: #4fd18b; }
.ping-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 10px; }
.ping-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--accent), var(--accent2)); opacity: .85; }
.hops { display: flex; flex-direction: column; gap: 3px; max-height: 300px; overflow: auto; }
.hop { display: grid; grid-template-columns: 26px minmax(110px, 150px) 1fr 82px; gap: 10px; align-items: center; font-size: 12.5px; padding: 3px 4px; border-radius: 6px; }
.hop:hover { background: var(--panel2); }
.hop-n { font: 600 11px var(--mono); color: var(--faint); text-align: right; }
.hop-bar { height: 6px; border-radius: 6px; background: var(--panel3); overflow: hidden; }
.hop-bar i { display: block; height: 100%; background: var(--accent-grad); border-radius: 6px; }
.hop-ms { text-align: right; color: var(--muted); font: 11.5px var(--mono); }
.hop.to code, .hop.to .hop-ms { color: var(--faint); }
.port-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.port { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg2); font-size: 12px; color: var(--muted); }
.port b { font: 600 12.5px var(--mono); color: var(--text2); }
.port em { font-style: normal; color: var(--faint); font-size: 11px; }
.port.open { border-color: color-mix(in srgb, #4fd18b 45%, transparent); background: color-mix(in srgb, #4fd18b 10%, var(--bg2)); color: var(--text2); }
.port.open b { color: #4fd18b; }
.sub-list { margin-top: 10px; max-height: 220px; overflow: auto; display: grid; gap: 2px; }
.sub-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); padding: 3px 4px; border-bottom: 1px dashed var(--line); }
.net-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.net-card { border: 1px solid var(--line); border-radius: 15px; background: var(--panel); padding: 14px 16px; }
.net-card.main { border-color: color-mix(in srgb, #4cc2ff 40%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, #4cc2ff 8%, var(--panel)), var(--panel) 60%); }
.net-top { display: flex; align-items: center; gap: 9px; }
.net-top .i { color: var(--accent); }
.net-top b { flex: 1; font: 600 15px var(--display); }
.net-card > small { display: block; color: var(--muted); font-size: 11.8px; margin: 2px 0 10px; }
.it-check { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 13px; cursor: pointer; }
.it-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.guard-box.warn { border-color: rgba(255, 107, 107, .45); background: rgba(255, 107, 107, .07); }
.guard-box.warn > .i { color: #ff6b6b; }

/* Server & Verbindungen */
.host-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.host { display: flex; flex-direction: column; gap: 5px; padding: 15px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); text-align: left; }
.host.up { border-color: color-mix(in srgb, #4fd18b 30%, var(--line)); }
.host-top { display: flex; align-items: center; gap: 9px; }
.host-top b { flex: 1; font: 600 15.5px var(--display); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-top .tag { display: inline-flex; align-items: center; gap: 4px; }
.host-top .tag .i { width: 12px; height: 12px; }
.host small { color: var(--muted); font-size: 12px; }
.host-acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.host.add { align-items: center; justify-content: center; border-style: dashed; color: var(--muted); min-height: 140px; cursor: pointer; text-align: center; }
.host.add:hover { border-color: var(--accent); color: var(--text); }
.host.add .i { width: 22px; height: 22px; color: var(--accent); }

/* Arbeitsrapport */
.btn .btn-app { width: 17px; height: 17px; }
.rep-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.rep-nav > div:not(.rep-kpis) { display: flex; flex-direction: column; min-width: 150px; text-align: center; }
.rep-nav > div b { font: 600 20px var(--display); }
.rep-nav > div span { font-size: 12px; color: var(--muted); }
.rep-kpis { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.rep-kpis span { padding: 6px 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; color: var(--muted); }
.rep-kpis b { font: 600 16px var(--display); color: var(--text); margin-right: 3px; }
.rep-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 90px; align-items: end; padding: 12px 14px 8px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); margin-bottom: 14px; }
.rep-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.rep-col i { width: 100%; max-width: 46px; min-height: 3px; border-radius: 7px 7px 3px 3px; background: var(--accent-grad); }
.rep-col span { font-size: 11px; color: var(--muted); }
.rep-day { border: 1px solid var(--line); border-radius: 15px; background: var(--panel); padding: 14px 16px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 9px; }
.rep-day.empty-day { flex-direction: row; justify-content: space-between; padding: 9px 16px; color: var(--muted); font-size: 12.5px; background: transparent; border-style: dashed; }
.rep-day.empty-day b { font-weight: 500; }
.rep-head { display: flex; align-items: center; justify-content: space-between; }
.rep-head b { font: 600 16px var(--display); }
.rep-note { min-height: 56px; }
.rep-note::placeholder { color: var(--muted); font-style: italic; }
.rep-day [data-rep-take] { align-self: flex-start; }
.rep-proj { display: flex; flex-wrap: wrap; gap: 6px; }
.rep-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; border: 1px solid color-mix(in srgb, var(--sc, var(--accent)) 35%, var(--line)); background: color-mix(in srgb, var(--sc, var(--accent)) 9%, transparent); color: var(--text2); }
.rep-chip em { font: normal 10.5px var(--mono); color: var(--muted); }
.rep-chip .i { width: 12px; height: 12px; }
a.rep-chip:hover { color: var(--text); border-color: var(--sc, var(--accent)); }
.rep-commits { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--text2); }
.rep-commits div { display: flex; align-items: center; gap: 7px; min-width: 0; }
.rep-commits b { font-weight: 600; color: var(--muted); white-space: nowrap; }
.rep-commits .i { width: 12px; height: 12px; color: var(--muted); flex: none; }

/* Inventar + Ablaufdaten */
.ok-t { color: #4fd18b; font-weight: 600; }
.bad-t { color: #ff6b6b; font-weight: 600; }
.sw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px 18px; max-height: 420px; overflow: auto; }
.sw-list > div { display: grid; grid-template-columns: 1fr auto; padding: 5px 4px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.sw-list b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-list span { color: var(--muted); font: 11px var(--mono); }
.sw-list small { grid-column: 1 / -1; color: var(--faint); font-size: 11px; }
.exp-list { display: flex; flex-direction: column; gap: 2px; }
.exp { display: flex; align-items: center; gap: 11px; padding: 7px 6px; border-radius: 9px; }
.exp:hover { background: var(--panel2); }
.exp-bar { width: 140px; height: 6px; border-radius: 6px; background: var(--panel3); overflow: hidden; flex: none; }
.exp-bar i { display: block; height: 100%; border-radius: 6px; background: #4fd18b; }
.exp-bar i.warn { background: #ffb547; }
.exp-bar i.bad { background: #ff6b6b; }
.exp-days { width: 86px; text-align: right; font: 600 12.5px var(--mono); color: var(--text2); flex: none; }
.sdot.warn { background: #ffb547; }
@media (max-width: 860px) { .hop { grid-template-columns: 22px 1fr 70px; } .hop-bar { display: none; } .exp-bar { display: none; } }
#scanOut .guard-box { margin: 4px 0 0; }
