/* Proxserv Panel – schlicht, dunkel, blau. Keine externen Ressourcen. */
:root {
  --brand-rgb: 122, 166, 207;
  --brand1: #3f6a92;
  --brand2: #7aa6cf;
  --bg: #06090f;
  --bg2: #0a0f1a;
  --panel: #0d1322;
  --panel2: #111a2d;
  --border: #1a2440;
  --border2: #24315a;
  --text: #e8eeff;
  --muted: #8592b5;
  --dim: #5b6787;
  --blue: #4c7397;
  --blue2: var(--brand2);
  --grad: linear-gradient(135deg, var(--brand1) 0%, var(--brand2) 100%);
  --ok: #20c98b;
  --warn: #f5a524;
  --err: #ff4d6a;
  --radius: 12px;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(var(--brand-rgb),  .10), transparent 60%),
                    radial-gradient(900px 500px at -10% 110%, rgba(var(--brand-rgb),  .06), transparent 60%);
  background-attachment: fixed;
  color: var(--text); font: 14px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 22px; }
h2 { font-size: 15px; }
h3 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.grow { flex: 1; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stack > * + * { margin-top: 14px; }

/* ------------------------------------------------------------------ Shell */
.shell { display: flex; min-height: 100vh; }
.side {
  width: 248px; flex: 0 0 248px; background: rgba(8, 12, 22, .92); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 20;
  backdrop-filter: blur(8px);
}
.brand { display: block; padding: 22px 22px 14px; }
.brand:hover { text-decoration: none; }
.brand img { width: 168px; display: block; }
.brand-sub {
  display: inline-block; margin-top: 8px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue2); border: 1px solid rgba(var(--brand-rgb),  .35); border-radius: 999px; padding: 2px 9px;
}
.side nav { padding: 8px 12px; flex: 1; overflow-y: auto; }
.nav-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 16px 10px 6px; }
.side nav a {
  display: flex; align-items: center; gap: 11px; color: #b9c4e4; padding: 9px 10px; border-radius: 9px;
  font-weight: 500; margin: 1px 0; position: relative;
}
.side nav a svg { width: 18px; height: 18px; opacity: .8; }
.side nav a:hover { background: var(--panel); color: var(--text); text-decoration: none; }
.side nav a.active { background: linear-gradient(90deg, rgba(var(--brand-rgb),  .18), rgba(var(--brand-rgb),  .04)); color: #fff; }
.side nav a.active::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad);
}
.side-foot { border-top: 1px solid var(--border); padding: 14px; display: flex; align-items: center; gap: 8px; }
.me { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--text); }
.me:hover { text-decoration: none; }
.avatar {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: #fff; flex: 0 0 34px;
}
.me-text { min-width: 0; }
.me-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-role { font-size: 11.5px; color: var(--muted); }

.main { flex: 1; min-width: 0; padding: 0 30px 30px; }
.top { display: flex; align-items: center; gap: 14px; height: 62px; border-bottom: 1px solid var(--border); margin: 0 -30px 24px; padding: 0 30px; background: rgba(6, 9, 15, .6); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.crumbs { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; flex: 1; min-width: 0; }
.crumbs a { color: var(--muted); }
.crumbs b { color: var(--text); font-weight: 600; }
.burger { display: none; background: none; border: 0; color: var(--text); padding: 6px; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.live { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(32, 201, 139, .18); }
.live.stale::before { background: var(--warn); box-shadow: 0 0 0 3px rgba(245, 165, 36, .18); }
footer { color: var(--dim); font-size: 12px; margin-top: 40px; text-align: center; }

.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head .grow p { margin: 4px 0 0; }

/* ------------------------------------------------------------- Bausteine */
.card { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; min-width: 0; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { flex: 1; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.span-2 { grid-column: span 2; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 16px; }
.tile { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: .55; }
.tile-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.tile-value { font-size: 26px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tile-value small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.tile-sub { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.tile .meter { margin-top: 10px; }

.meter { height: 7px; background: #141d33; border-radius: 99px; overflow: hidden; }
.meter-fill { height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .6s ease; }
.meter.warn .meter-fill { background: linear-gradient(90deg, #f5a524, #ffcb57); }
.meter.crit .meter-fill { background: linear-gradient(90deg, #ff4d6a, #ff7a8f); }
.meter.sm { height: 5px; }
.mline { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; margin: 7px 0; }
.mline span:first-child { color: var(--muted); }
.mline span:last-child { font-variant-numeric: tabular-nums; color: #c7d1ee; min-width: 120px; text-align: right; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--border2); color: #c2cce9; white-space: nowrap; }
.badge.ok { color: var(--ok); border-color: rgba(32, 201, 139, .35); background: rgba(32, 201, 139, .08); }
.badge.warn { color: var(--warn); border-color: rgba(245, 165, 36, .35); background: rgba(245, 165, 36, .08); }
.badge.err { color: var(--err); border-color: rgba(255, 77, 106, .35); background: rgba(255, 77, 106, .08); }
.badge.blue { color: var(--blue2); border-color: rgba(var(--brand-rgb),  .35); background: rgba(var(--brand-rgb),  .08); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); display: inline-block; flex: 0 0 8px; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(32, 201, 139, .15); }
.dot.warn { background: var(--warn); }
.dot.err { background: var(--err); }
.tag { font-size: 11px; padding: 1px 7px; border-radius: 6px; background: #17223d; color: #a9b6dc; margin-right: 4px; }

/* -------------------------------------------------------------- Tabellen */
.table-wrap { overflow-x: auto; margin: 0 -18px; padding: 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding: 9px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 10px; border-bottom: 1px solid rgba(26, 36, 64, .6); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr.click { cursor: pointer; }
tbody tr.click:hover td { background: rgba(var(--brand-rgb),  .06); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td .meter { width: 90px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.empty { color: var(--muted); text-align: center; padding: 26px 10px; }

.kv { display: grid; grid-template-columns: 170px 1fr; gap: 0; font-size: 13px; }
.kv > div { padding: 8px 0; border-bottom: 1px solid rgba(26, 36, 64, .6); min-width: 0; overflow-wrap: anywhere; }
.kv > div:nth-child(odd) { color: var(--muted); }
.kv > div:nth-child(even) { font-family: var(--mono); font-size: 12.5px; }

/* ---------------------------------------------------------------- Formulare */
label { display: block; font-size: 12.5px; color: #b3bedf; margin: 0 0 6px; font-weight: 500; }
input[type=text], input[type=password], input[type=email], input[type=url], input[type=number], input[type=search], input[type=datetime-local], input[type=date], input[type=time], select, textarea {
  width: 100%; background: #070b15; border: 1px solid var(--border2); color: var(--text); border-radius: 9px;
  padding: 10px 12px; font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { font-family: var(--mono); font-size: 12.5px; min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),  .2); }
input.code-input { font-family: var(--mono); font-size: 24px; letter-spacing: .4em; text-align: center; }
.field { margin-bottom: 14px; }
.field small { display: block; color: var(--dim); margin-top: 5px; font-size: 12px; }
.check { display: flex; gap: 9px; align-items: center; color: var(--text); font-size: 13.5px; }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.radio-card { display: flex; gap: 10px; border: 1px solid var(--border2); border-radius: 10px; padding: 12px; cursor: pointer; margin-bottom: 8px; color: var(--text); }
.radio-card input { accent-color: var(--blue); margin-top: 3px; }
.radio-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--border2);
  background: var(--panel2); color: var(--text); padding: 8px 14px; border-radius: 9px; font: inherit; font-weight: 600;
  font-size: 13px; cursor: pointer; white-space: nowrap; transition: transform .05s, background .15s, border-color .15s;
}
.btn:hover { border-color: #3a4c80; background: #152140; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 20px -8px rgba(var(--brand-rgb),  .7); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.08); border-color: transparent; }
.btn-danger { color: #ffb3c0; border-color: rgba(255, 77, 106, .4); background: rgba(255, 77, 106, .08); }
.btn-danger:hover { background: rgba(255, 77, 106, .16); border-color: var(--err); }
.btn-ghost { background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.btn.block { width: 100%; padding: 11px; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

.seg { display: inline-flex; background: #070b15; border: 1px solid var(--border2); border-radius: 9px; padding: 3px; }
.seg button { background: none; border: 0; color: var(--muted); padding: 4px 10px; border-radius: 7px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.seg button.on { background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border2); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: none; border: 0; color: var(--muted); padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--text); border-bottom-color: var(--blue2); }

/* ----------------------------------------------------------- Meldungen */
.flash, .alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; border: 1px solid; font-size: 13.5px; }
.flash-ok, .alert-ok { border-color: rgba(32, 201, 139, .35); background: rgba(32, 201, 139, .08); color: #9df0cf; }
.flash-warn, .alert-warn { border-color: rgba(245, 165, 36, .35); background: rgba(245, 165, 36, .08); color: #ffd99a; }
.flash-err, .alert-err { border-color: rgba(255, 77, 106, .4); background: rgba(255, 77, 106, .08); color: #ffb3c0; }
.alert-info { border-color: rgba(var(--brand-rgb),  .35); background: rgba(var(--brand-rgb),  .07); color: #a9dcff; }
#toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 100; max-width: 380px; }
.toast { background: var(--panel2); border: 1px solid var(--border2); border-left: 3px solid var(--blue2); padding: 11px 14px; border-radius: 10px; box-shadow: 0 10px 30px -10px #000; font-size: 13px; animation: tin .2s ease; }
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--err); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }

dialog { background: var(--panel); color: var(--text); border: 1px solid var(--border2); border-radius: 14px; padding: 22px; width: min(440px, calc(100vw - 30px)); box-shadow: 0 30px 80px -20px #000; }
dialog::backdrop { background: rgba(2, 4, 10, .7); backdrop-filter: blur(3px); }
dialog h2 { margin-bottom: 8px; font-size: 17px; }
dialog p { color: #b9c4e4; margin: 0 0 16px; }
dialog .btn-group { justify-content: flex-end; margin-top: 18px; }

pre.snippet { background: #050810; border: 1px solid var(--border); border-radius: 10px; padding: 14px; overflow-x: auto; font-size: 12px; color: #b9d4ff; margin: 0; white-space: pre; }
.copy-wrap { position: relative; }
.copy-wrap .btn { position: absolute; right: 8px; top: 8px; }

/* -------------------------------------------------------------- Charts */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.chart-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.chart-title { font-weight: 600; font-size: 13px; }
.chart-legend { display: flex; gap: 12px; font-size: 11.5px; color: var(--muted); margin-left: auto; }
.chart-legend i { display: inline-block; width: 9px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.chart-box { position: relative; height: 170px; }
.chart-box svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-box text { fill: var(--dim); font-size: 10.5px; font-family: var(--sans); }
.chart-box .grid-line { stroke: #172038; stroke-width: 1; }
.chart-box .hover-line { stroke: #4a5b8e; stroke-width: 1; stroke-dasharray: 3 3; }
.chart-tip { position: absolute; top: 0; pointer-events: none; background: rgba(13, 19, 34, .96); border: 1px solid var(--border2); border-radius: 8px; padding: 7px 9px; font-size: 11.5px; white-space: nowrap; z-index: 2; display: none; }
.chart-tip b { display: block; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 12px; }

/* ------------------------------------------------------------- Nodes */
.node-card { border: 1px solid var(--border); border-radius: 10px; padding: 14px; background: rgba(7, 11, 21, .5); display: block; color: var(--text); }
.node-card + .node-card { margin-top: 10px; }
.node-card:hover { border-color: var(--border2); text-decoration: none; }
.node-card .row { margin-bottom: 8px; }
.node-name { font-weight: 650; font-size: 15px; }

/* ----------------------------------------------------- Auth-Seiten */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.auth-card { width: min(430px, 100%); background: linear-gradient(180deg, rgba(13, 19, 34, .95), rgba(10, 15, 26, .95)); border: 1px solid var(--border); border-radius: 18px; padding: 34px 32px 28px; box-shadow: 0 40px 100px -40px rgba(0, 90, 255, .45); position: relative; }
.auth-card.wide { width: min(560px, 100%); }
.auth-card::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; background: linear-gradient(160deg, rgba(var(--brand-rgb),  .55), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.auth-logo { display: block; width: 210px; margin: 0 auto 6px; }
.auth-sub { text-align: center; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--blue2); margin-bottom: 26px; }
.auth h1 { font-size: 19px; margin-bottom: 6px; }
.auth p.lead { color: var(--muted); margin: 0 0 20px; font-size: 13.5px; }
.auth-foot { text-align: center; color: var(--dim); font-size: 11.5px; margin-top: 22px; }
.qr { background: #fff; border-radius: 12px; padding: 10px; width: 200px; height: 200px; margin: 0 auto 14px; display: block; }
.secret { font-family: var(--mono); text-align: center; background: #070b15; border: 1px dashed var(--border2); border-radius: 8px; padding: 9px; font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; word-break: break-all; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.codes code { background: #070b15; border: 1px solid var(--border2); border-radius: 8px; padding: 9px; text-align: center; font-size: 14px; letter-spacing: .08em; }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps span { flex: 1; height: 3px; border-radius: 3px; background: var(--border2); }
.steps span.on { background: var(--grad); }

/* ---------------------------------------------------------- Konsole */
.console-shell { display: flex; flex-direction: column; height: 100vh; background: #000; }
.console-bar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.console-bar img { height: 20px; }
.console-screen { flex: 1; min-height: 0; position: relative; }
.console-status { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); pointer-events: none; }

@media (max-width: 1100px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .charts { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .side { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; box-shadow: 0 0 60px #000; }
  .burger { display: block; }
  .main { padding: 0 16px 24px; }
  .top { margin: 0 -16px 18px; padding: 0 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 120px 1fr; }
}
.sm-select { width: auto; padding: 6px 10px; font-size: 12.5px; }
#narrow { max-width: 560px; }
dialog.wide-dialog { width: min(860px, calc(100vw - 30px)); }
dialog.wide-dialog pre { max-height: 60vh; overflow: auto; }
.seg a.btn { margin: 0; }
th[data-sort] { cursor: pointer; }
th[data-sort]:hover { color: var(--text); }

/* ------------------------------------------------ Erweiterungen v1.1 */
.nav-count { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--warn); color: #1a1200; border-radius: 99px; padding: 0 7px; line-height: 18px; }
.nav-count.crit { background: var(--err); color: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 106, .6); } 50% { box-shadow: 0 0 0 6px rgba(255, 77, 106, 0); } }
.attack-banner { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(90deg, rgba(255, 77, 106, .22), rgba(255, 77, 106, .06)); border: 1px solid rgba(255, 77, 106, .55); color: #ffd3da; }
.attack-banner b { color: #fff; }
.attack-banner .pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--err); animation: pulse 1.2s infinite; flex: 0 0 12px; }
.attack-banner a { color: #fff; text-decoration: underline; margin-left: auto; white-space: nowrap; }
.sim-tag { font-size: 10.5px; letter-spacing: .1em; font-weight: 700; background: #3d2a00; color: #ffcb57; border: 1px solid rgba(245, 165, 36, .5); border-radius: 6px; padding: 1px 6px; }
.hero { display: flex; gap: 22px; align-items: center; padding: 22px; border-radius: 14px; border: 1px solid var(--border); margin-bottom: 16px; background: linear-gradient(135deg, rgba(32, 201, 139, .10), rgba(32, 201, 139, .02)); }
.hero.attack { border-color: rgba(255, 77, 106, .6); background: linear-gradient(135deg, rgba(255, 77, 106, .20), rgba(255, 77, 106, .03)); }
.hero-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(32, 201, 139, .15); color: var(--ok); flex: 0 0 58px; }
.hero.attack .hero-icon { background: rgba(255, 77, 106, .2); color: var(--err); animation: pulse 1.4s infinite; }
.hero-icon svg { width: 30px; height: 30px; }
.hero h2 { font-size: 20px; }
.hero .big { font-size: 30px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hero-metrics { display: flex; gap: 28px; margin-left: auto; flex-wrap: wrap; }
.hero-metrics small { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.wizard .summary { position: sticky; top: 80px; }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--blue2); margin: 22px 0 12px; font-weight: 700; }
.section-title:first-child { margin-top: 0; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(26, 36, 64, .6); font-size: 13px; }
.steps-list li .dot { margin-top: 6px; }
.steps-list li small { display: block; color: var(--muted); }
.rec-table input, .rec-table select { padding: 6px 8px; font-size: 12.5px; border-radius: 7px; }
.rec-table td { padding: 5px 4px; }
.rec-table tr.locked td { color: var(--dim); }
.rec-table tr.dirty td:first-child { box-shadow: inset 3px 0 0 var(--blue2); }
.days-warn { color: var(--warn); font-weight: 600; }
.days-crit { color: var(--err); font-weight: 600; }
.mini-stat { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(26, 36, 64, .6); font-size: 13px; }
.mini-stat:last-child { border-bottom: 0; }
.mini-stat span:first-child { color: var(--muted); }
@media (max-width: 1100px) { .wizard { grid-template-columns: 1fr; } .wizard .summary { position: static; } .form-grid.three { grid-template-columns: 1fr 1fr; } }
a.tile { color: var(--text); display: block; transition: border-color .15s; }
a.tile:hover { text-decoration: none; border-color: var(--border2); }

/* ------------------------------------------------ v1.2: Hosting & Kunden */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pkg { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.pkg.hl { border-color: rgba(var(--brand-rgb),  .6); box-shadow: 0 20px 50px -30px rgba(var(--brand-rgb),  .8); }
.pkg.off { opacity: .55; }
.pkg .ribbon { position: absolute; top: -10px; right: 16px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 3px 10px; letter-spacing: .06em; }
.pkg h3 { color: var(--text); font-size: 18px; letter-spacing: 0; text-transform: none; }
.pkg .price { font-size: 30px; font-weight: 750; letter-spacing: -.02em; }
.pkg .price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.pkg ul { list-style: none; margin: 4px 0 8px; padding: 0; font-size: 13.5px; }
.pkg li { padding: 5px 0; border-bottom: 1px solid rgba(26, 36, 64, .6); display: flex; justify-content: space-between; gap: 8px; }
.pkg li span:first-child { color: var(--muted); }
.pkg .btn { margin-top: auto; }
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.os-tile { border: 1px solid var(--border2); border-radius: 10px; padding: 14px; cursor: pointer; background: #070b15; text-align: left; color: var(--text); font: inherit; }
.os-tile.on { border-color: var(--blue2); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),  .2); }
.os-tile b { display: block; }
.os-tile small { color: var(--muted); }
.steps-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.steps-bar span { flex: 1; padding: 8px 12px; border-radius: 9px; background: var(--panel); border: 1px solid var(--border); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.steps-bar span.on { color: #fff; border-color: rgba(var(--brand-rgb),  .5); background: linear-gradient(90deg, rgba(var(--brand-rgb),  .25), rgba(var(--brand-rgb),  .05)); }
.price-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; }
.price-line b { font-size: 24px; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.srv { display: block; color: var(--text); background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.srv:hover { text-decoration: none; border-color: var(--border2); }
.srv .row { margin-bottom: 10px; }
.srv-name { font-weight: 700; font-size: 16px; }
.ip-card { border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 10px; background: rgba(7, 11, 21, .5); }
.ip-card.attack { border-color: rgba(255, 77, 106, .6); background: rgba(255, 77, 106, .06); }
.ip-card .row { justify-content: space-between; }
.ip-addr { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.notice { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px dashed var(--border2); border-radius: 10px; margin-bottom: 16px; color: #c9d3f0; }
.notice .grow { min-width: 0; }

/* v1.3 */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 14px; margin: 4px 0 6px; }
.ann-bar { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ann { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); }
.ann b { display: block; }
.ann.info { border-left: 4px solid var(--blue); }
.ann.warn { border-left: 4px solid var(--warn); }
.ann.crit { border-left: 4px solid var(--err); }
.ann .x { margin-left: auto; cursor: pointer; opacity: .6; background: none; border: 0; color: inherit; font-size: 18px; line-height: 1; }
.suspended-banner { border-left: 4px solid var(--err); }

/* =====================================================================
   v1.4 – Futuristisches Design: Glas, Leuchtkanten, Bewegung.
   Akzentfarben kommen aus /brand.css. Alles respektiert reduced-motion.
   ===================================================================== */
:root {
  --glow: 0 0 0 1px rgba(var(--brand-rgb),  .18), 0 8px 30px -10px rgba(var(--brand-rgb),  .45);
  --glow-strong: 0 0 0 1px rgba(var(--brand-rgb),  .35), 0 10px 40px -8px rgba(var(--brand-rgb),  .6);
  --glass: linear-gradient(160deg, rgba(18, 28, 52, .78), rgba(8, 13, 25, .82));
  --edge: linear-gradient(135deg, rgba(var(--brand-rgb),  .55), rgba(var(--brand-rgb),  .08) 35%, rgba(var(--brand-rgb),  .05) 65%, rgba(var(--brand-rgb),  .35));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --cyan: #a9c8e6;
  --display: "Segoe UI Variable Display", "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Hintergrund: Aurora + Raster ---------- */
body { background: #04070d; }
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; }
body::before {
  background:
    radial-gradient(40vw 40vw at 15% 10%, rgba(0, 90, 255, .20), transparent 60%),
    radial-gradient(35vw 35vw at 85% 25%, rgba(0, 190, 255, .13), transparent 60%),
    radial-gradient(45vw 45vw at 60% 110%, rgba(40, 70, 255, .14), transparent 60%);
  filter: blur(10px); animation: aurora 26s ease-in-out infinite alternate; will-change: transform;
}
body::after {
  background-image: linear-gradient(rgba(80, 140, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 140, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 80%);
  animation: gridmove 40s linear infinite;
}
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-3%, 2%, 0) scale(1.08); } 100% { transform: translate3d(3%, -2%, 0) scale(1.03); } }
@keyframes gridmove { to { background-position: 0 44px, 44px 0; } }
.shell { position: relative; z-index: 1; }
::selection { background: rgba(var(--brand-rgb),  .35); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: #1c2a4d transparent; }

h1 { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.025em;
  background: linear-gradient(180deg, #fff 30%, #9fc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { letter-spacing: -.01em; }

/* ---------- Seitenleiste ---------- */
.side { background: linear-gradient(180deg, rgba(7, 11, 22, .86), rgba(4, 7, 14, .9)); border-right: 1px solid rgba(40, 80, 160, .25); backdrop-filter: blur(16px) saturate(140%); }
.side::after { content: ""; position: absolute; top: 0; right: -1px; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(var(--brand-rgb),  .7), transparent); background-size: 100% 40%; background-repeat: no-repeat; animation: scan 7s ease-in-out infinite; }
@keyframes scan { 0% { background-position: 0 -40%; } 100% { background-position: 0 140%; } }
.brand img { filter: drop-shadow(0 0 14px rgba(var(--brand-rgb),  .35)); transition: filter .4s var(--ease); }
.brand:hover img { filter: drop-shadow(0 0 22px rgba(var(--brand-rgb),  .7)); }
.brand-sub { background: rgba(var(--brand-rgb),  .08); box-shadow: inset 0 0 12px rgba(var(--brand-rgb),  .15); }
.side nav a { transition: background .25s var(--ease), color .25s, transform .25s var(--ease); }
.side nav a:hover { background: rgba(var(--brand-rgb),  .1); transform: translateX(3px); }
.side nav a:hover svg { opacity: 1; color: var(--blue2); filter: drop-shadow(0 0 6px rgba(var(--brand-rgb),  .7)); }
.side nav a svg { transition: color .25s, filter .25s, opacity .25s; }
.side nav a.active { background: linear-gradient(90deg, rgba(var(--brand-rgb),  .26), rgba(var(--brand-rgb),  .03)); box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb),  .18); }
.side nav a.active svg { color: var(--cyan); opacity: 1; filter: drop-shadow(0 0 8px rgba(var(--brand-rgb),  .9)); }
.side nav a.active::before { box-shadow: 0 0 12px 2px rgba(var(--brand-rgb),  .8); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
.nav-label { color: #4b5a82; }
.nav-count { box-shadow: 0 0 12px rgba(245, 165, 36, .5); animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.avatar { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 16px -4px rgba(var(--brand-rgb),  .7); }

/* ---------- Kopfzeile ---------- */
.top { background: rgba(4, 7, 14, .55); border-bottom: 1px solid rgba(40, 80, 160, .22); backdrop-filter: blur(16px) saturate(140%); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue2), transparent); background-size: 30% 100%; background-repeat: no-repeat; animation: sweep 6s linear infinite; opacity: .8; }
@keyframes sweep { from { background-position: -30% 0; } to { background-position: 130% 0; } }
.live::before { animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(32, 201, 139, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(32, 201, 139, 0); } }
.cmd-trigger { display: flex; align-items: center; gap: 10px; background: rgba(13, 20, 38, .7); border: 1px solid var(--border2); color: var(--muted); border-radius: 10px; padding: 6px 8px 6px 12px; cursor: pointer; font: inherit; font-size: 13px; min-width: 220px; transition: border-color .25s, box-shadow .25s, color .25s; }
.cmd-trigger:hover { border-color: rgba(var(--brand-rgb),  .6); box-shadow: var(--glow); color: var(--text); }
.cmd-trigger-txt { flex: 1; text-align: left; }
kbd { font-family: var(--mono); font-size: 11px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--border2); background: #0b1222; color: var(--muted); }

/* ---------- Karten: Glas + Leuchtkante + Licht unter dem Zeiger ---------- */
.card, .tile, .stat-tile, .srv, .ticket-card, .node-card {
  background: var(--glass); border: 1px solid rgba(50, 90, 170, .28); position: relative; isolation: isolate;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before, .tile::before, .stat-tile::before, .srv::before, .ticket-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--edge); pointer-events: none; z-index: -1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; transition: opacity .35s;
}
.card::after, .stat-tile::after, .srv::after, .ticket-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--brand-rgb),  .10), transparent 45%);
}
.card:hover::after, .stat-tile:hover::after, .srv:hover::after, .ticket-card:hover::after { opacity: 1; }
.card:hover::before, .tile:hover::before, .stat-tile:hover::before, .srv:hover::before, .ticket-card:hover::before { opacity: 1; }
.tile:hover, .stat-tile:hover, .srv:hover, .ticket-card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.tile::after { height: 2px; opacity: .9; box-shadow: 0 0 14px rgba(var(--brand-rgb),  .8); }
.tile-value, .st-value { font-family: var(--display); text-shadow: 0 0 24px rgba(0, 150, 255, .35); }

/* Einblend-Animation */
.rv { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); }
.rv.in { opacity: 1; transform: none; filter: none; transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms), filter .6s var(--ease) var(--d, 0ms); }
body.leaving .main > *:not(.top) { opacity: .35; transform: translateY(6px); transition: opacity .25s, transform .25s; }

/* ---------- Knöpfe ---------- */
.btn { transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s, background .25s, color .25s; position: relative; overflow: hidden; }
.btn:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(var(--brand-rgb),  .55); box-shadow: 0 6px 20px -8px rgba(var(--brand-rgb),  .6); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--brand1), var(--brand2) 70%, var(--cyan)); background-size: 160% 160%; box-shadow: 0 6px 24px -8px rgba(var(--brand-rgb),  .9), inset 0 1px 0 rgba(255, 255, 255, .25); animation: gradshift 8s ease infinite; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover:not(:disabled) { box-shadow: 0 10px 34px -8px rgba(0, 150, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
@keyframes gradshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-danger:hover:not(:disabled) { box-shadow: 0 6px 22px -8px rgba(255, 77, 106, .8); border-color: rgba(255, 77, 106, .7); }

/* ---------- Eingaben ---------- */
input[type=text], input[type=password], input[type=email], input[type=url], input[type=number], input[type=search], input[type=datetime-local], input[type=date], input[type=time], select, textarea {
  background: rgba(6, 11, 22, .75); transition: border-color .25s, box-shadow .25s, background .25s; }
input:focus, select:focus, textarea:focus { border-color: rgba(var(--brand-rgb),  .8); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),  .18), 0 0 24px -6px rgba(var(--brand-rgb),  .6); background: rgba(8, 14, 28, .9); }

/* ---------- Tabs & Segmente ---------- */
.tabs button { transition: color .25s; position: relative; }
.tabs button::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 2px; background: var(--grad); box-shadow: 0 0 10px rgba(var(--brand-rgb),  .9); transition: left .35s var(--ease), right .35s var(--ease); }
.tabs button.on::after { left: 8px; right: 8px; }
.tabs button:hover { color: var(--text); }
.seg button { transition: background .25s, color .25s, box-shadow .25s; }
.seg button.on { box-shadow: 0 0 14px -2px rgba(var(--brand-rgb),  .6); }

/* ---------- Tabellen ---------- */
tbody tr { transition: background .2s; }
tbody tr.click:hover td { background: linear-gradient(90deg, rgba(var(--brand-rgb),  .12), rgba(var(--brand-rgb),  .02)); }
tbody tr.click:hover td:first-child { box-shadow: inset 2px 0 0 var(--blue2); }
tbody tr.unread td { font-weight: 600; }
tbody tr.unread td:first-child { box-shadow: inset 3px 0 0 var(--warn); }

/* ---------- Badges, Punkte, Balken ---------- */
.badge.ok, .badge.err, .badge.warn, .badge.blue { text-shadow: 0 0 10px currentColor; }
.badge.glow { animation: glowpulse 2s ease-in-out infinite; }
@keyframes glowpulse { 50% { box-shadow: 0 0 16px rgba(var(--brand-rgb),  .7); } }
.badge.violet { color: #b79bff; border-color: rgba(150, 110, 255, .4); background: rgba(150, 110, 255, .1); }
.dot.ok { box-shadow: 0 0 10px rgba(32, 201, 139, .9); }
.dot.err { box-shadow: 0 0 10px rgba(255, 77, 106, .9); }
.dot.warn { box-shadow: 0 0 10px rgba(245, 165, 36, .9); }
.dot.pulse { animation: dotpulse 1.8s ease-out infinite; }
@keyframes dotpulse { 0% { box-shadow: 0 0 0 0 currentColor; } 100% { box-shadow: 0 0 0 9px transparent; } }
.dot.ok.pulse { color: rgba(32, 201, 139, .6); } .dot.warn.pulse { color: rgba(245, 165, 36, .6); } .dot.err.pulse { color: rgba(255, 77, 106, .6); }
.meter { background: rgba(20, 30, 55, .8); box-shadow: inset 0 0 0 1px rgba(60, 100, 180, .15); }
.meter-fill { position: relative; box-shadow: 0 0 12px rgba(0, 150, 255, .7); transition: width 1s var(--ease); }
.meter-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: shimmer 2.8s ease-in-out infinite; }
@keyframes shimmer { from { background-position: -60% 0; } to { background-position: 160% 0; } }

/* ---------- Dialoge & Meldungen ---------- */
dialog { background: linear-gradient(160deg, rgba(16, 26, 50, .96), rgba(7, 12, 24, .97)); border: 1px solid rgba(var(--brand-rgb),  .3); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(var(--brand-rgb),  .5); }
dialog[open] { animation: dlgin .35s var(--ease); }
dialog::backdrop { background: rgba(2, 5, 12, .6); backdrop-filter: blur(6px); animation: fadein .3s; }
@keyframes dlgin { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } }
.toast { backdrop-filter: blur(12px); background: rgba(12, 20, 38, .9); box-shadow: 0 12px 34px -10px rgba(0, 0, 0, .8), 0 0 24px -8px rgba(var(--brand-rgb),  .6); animation: toastin .45s var(--ease); }
.toast.ok { box-shadow: 0 12px 34px -10px rgba(0, 0, 0, .8), 0 0 24px -8px rgba(32, 201, 139, .7); }
.toast.err { box-shadow: 0 12px 34px -10px rgba(0, 0, 0, .8), 0 0 24px -8px rgba(255, 77, 106, .7); }
@keyframes toastin { from { opacity: 0; transform: translateX(40px) scale(.95); } to { opacity: 1; transform: none; } }
.flash, .alert { animation: dlgin .45s var(--ease); }
.attack-banner { box-shadow: 0 0 30px -6px rgba(255, 77, 106, .7); animation: alarm 2.4s ease-in-out infinite; }
@keyframes alarm { 50% { box-shadow: 0 0 46px -4px rgba(255, 77, 106, .95); } }

/* ---------- Anmeldung ---------- */
.auth { position: relative; z-index: 1; }
.auth-card { background: linear-gradient(160deg, rgba(16, 26, 50, .8), rgba(6, 10, 20, .88)); backdrop-filter: blur(18px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(var(--brand-rgb),  .7); animation: dlgin .7s var(--ease); }
.auth-logo { animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(var(--brand-rgb),  .55)); }
@keyframes float { 50% { transform: translateY(-5px); } }

/* ---------- Befehlspalette ---------- */
dialog.cmdk { width: min(640px, 92vw); padding: 0; top: 12vh; margin-top: 0; overflow: hidden; }
.cmd-input { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(50, 90, 170, .3); }
.cmd-input input { flex: 1; background: none !important; border: 0 !important; box-shadow: none !important; font-size: 16px; padding: 4px 0; }
.cmd-icon { color: var(--blue2); font-size: 20px; text-shadow: 0 0 10px rgba(var(--brand-rgb),  .8); }
.cmd-list { max-height: 52vh; overflow-y: auto; padding: 6px; }
.cmd-item { display: grid; grid-template-columns: 74px 1fr; gap: 2px 12px; padding: 9px 12px; border-radius: 9px; color: var(--text); align-items: center; }
.cmd-item:hover { text-decoration: none; }
.cmd-item.sel { background: linear-gradient(90deg, rgba(var(--brand-rgb),  .25), rgba(var(--brand-rgb),  .05)); box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb),  .3); }
.cmd-type { grid-row: span 2; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue2); }
.cmd-title { font-weight: 600; }
.cmd-sub { color: var(--muted); font-size: 12px; grid-column: 2; }
.cmd-foot { display: flex; gap: 18px; padding: 9px 16px; border-top: 1px solid rgba(50, 90, 170, .3); color: var(--dim); font-size: 12px; }

/* ---------- Kennzahlen ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-tile { border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.st-label { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; }
.st-value { font-size: 30px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.st-sub { color: var(--dim); font-size: 12px; }
.stat-tile.warn .st-value { color: var(--warn); text-shadow: 0 0 24px rgba(245, 165, 36, .45); }
.stat-tile.ok .st-value { color: var(--ok); text-shadow: 0 0 24px rgba(32, 201, 139, .45); }
.stat-tile.blue .st-value { color: var(--blue2); }
.stat-tile.violet .st-value { color: #b79bff; text-shadow: 0 0 24px rgba(150, 110, 255, .5); }

/* ---------- Tickets ---------- */
.ticket-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ticket-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; border-radius: var(--radius); padding: 14px 18px; color: var(--text);
  animation: slidein .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.ticket-card:hover { text-decoration: none; }
.ticket-card.unread { border-color: rgba(var(--brand-rgb),  .55); }
.ticket-card.closed { opacity: .65; }
.tc-id { font-family: var(--mono); color: var(--blue2); font-size: 13px; }
.tc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tc-side time { color: var(--dim); font-size: 12px; }
@keyframes slidein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.badge.tk-open { color: var(--warn); border-color: rgba(245, 165, 36, .35); background: rgba(245, 165, 36, .08); }
.badge.tk-answered { color: var(--blue2); border-color: rgba(var(--brand-rgb),  .35); background: rgba(var(--brand-rgb),  .08); }
.badge.tk-closed { color: var(--muted); }
.badge.prio-low { color: var(--dim); }
.badge.prio-normal { color: #c2cce9; }
.badge.prio-high { color: var(--warn); border-color: rgba(245, 165, 36, .35); }
.badge.prio-urgent { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff4d6a, #ff7a3d); box-shadow: 0 0 14px rgba(255, 77, 106, .7); animation: glowpulse 1.6s infinite; }
.ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.ticket-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.msg { display: flex; gap: 12px; align-items: flex-start; max-width: 86%; animation: slidein .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.msg.mine { flex-direction: row-reverse; margin-left: auto; }
.msg .avatar { background: linear-gradient(135deg, #2a3555, #1a2340); }
.msg .avatar.team { background: var(--grad); }
.bubble { background: var(--glass); border: 1px solid rgba(50, 90, 170, .3); border-radius: 14px; padding: 12px 16px; min-width: 0; box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .9); }
.msg.mine .bubble { background: linear-gradient(160deg, rgba(0, 80, 255, .26), rgba(var(--brand-rgb),  .1)); border-color: rgba(var(--brand-rgb),  .4); }
.msg.internal .bubble { background: repeating-linear-gradient(135deg, rgba(245, 165, 36, .07) 0 10px, rgba(245, 165, 36, .03) 10px 20px); border-color: rgba(245, 165, 36, .45); }
.msg-head { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.msg-head time { color: var(--dim); font-size: 12px; margin-left: auto; }
.msg-body { white-space: pre-wrap; word-break: break-word; line-height: 1.6; }
.msg-system { display: flex; gap: 10px; justify-content: center; align-items: center; color: var(--dim); font-size: 12px; }
.msg-system::before, .msg-system::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(60, 100, 180, .35), transparent); }
.msg-system time { opacity: .7; }
.msg-system.internal { color: #c99a45; }
.composer.internal { border-color: rgba(245, 165, 36, .5); }
.composer.internal textarea { border-color: rgba(245, 165, 36, .4); }
.cust-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stars { display: flex; gap: 6px; margin-bottom: 12px; }
.stars button { background: none; border: 0; font-size: 30px; color: #2a3658; cursor: pointer; transition: transform .2s var(--ease), color .2s, text-shadow .2s; }
.stars button:hover { transform: scale(1.2); }
.stars button.on { color: #ffcb57; text-shadow: 0 0 16px rgba(255, 190, 60, .8); }
.sm-input { max-width: 280px; }
.empty-hero { text-align: center; padding: 60px 20px; }
.empty-hero h2 { margin: 18px 0 6px; font-size: 18px; }
.empty-orb { width: 80px; height: 80px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5fd0ff, var(--brand1) 55%, #001a66); box-shadow: 0 0 50px rgba(var(--brand-rgb),  .7), inset 0 0 20px rgba(255, 255, 255, .25); animation: float 5s ease-in-out infinite; }

/* ---------- Systemstatus ---------- */
.status-hero { display: flex; align-items: center; gap: 26px; padding: 30px; border-radius: 18px; margin-bottom: 16px; background: var(--glass); border: 1px solid rgba(32, 201, 139, .35); position: relative; overflow: hidden; }
.status-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 10% 50%, rgba(32, 201, 139, .15), transparent 60%); pointer-events: none; }
.status-hero h1 { font-size: 30px; }
.status-orb { width: 64px; height: 64px; border-radius: 50%; flex: 0 0 64px; position: relative; background: radial-gradient(circle at 35% 30%, #9dffd9, #20c98b 55%, #07603f); box-shadow: 0 0 40px rgba(32, 201, 139, .8); }
.status-orb::before, .status-orb::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(32, 201, 139, .6); animation: ring 2.6s ease-out infinite; }
.status-orb::after { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.status-hero.warn, .status-hero.shield { border-color: rgba(245, 165, 36, .4); }
.status-hero.warn .status-orb, .status-hero.shield .status-orb { background: radial-gradient(circle at 35% 30%, #ffe3a3, #f5a524 55%, #7a4a00); box-shadow: 0 0 40px rgba(245, 165, 36, .8); }
.status-hero.warn .status-orb::before, .status-hero.warn .status-orb::after, .status-hero.shield .status-orb::before, .status-hero.shield .status-orb::after { border-color: rgba(245, 165, 36, .6); }
.status-hero.shield .status-orb { background: radial-gradient(circle at 35% 30%, #a5e8ff, var(--brand2) 55%, #00317a); box-shadow: 0 0 40px rgba(var(--brand-rgb),  .8); }
.status-hero.crit { border-color: rgba(255, 77, 106, .45); }
.status-hero.crit .status-orb { background: radial-gradient(circle at 35% 30%, #ffb3c0, #ff4d6a 55%, #7a0018); box-shadow: 0 0 40px rgba(255, 77, 106, .8); }
.status-hero.crit .status-orb::before, .status-hero.crit .status-orb::after { border-color: rgba(255, 77, 106, .6); }
.comp + .comp { margin-top: 22px; }
.comp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; height: 34px; }
.bar { border-radius: 3px; background: linear-gradient(180deg, #2de3a0, #149e6c); box-shadow: 0 0 8px rgba(32, 201, 139, .35); transform-origin: bottom; animation: grow .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms); transition: transform .2s, filter .2s; }
.bar:hover { transform: scaleY(1.15); filter: brightness(1.3); }
.bar.warn { background: linear-gradient(180deg, #ffcb57, #d48600); box-shadow: 0 0 8px rgba(245, 165, 36, .45); }
.bar.crit { background: linear-gradient(180deg, #ff7a8f, #d1203f); box-shadow: 0 0 8px rgba(255, 77, 106, .5); }
@keyframes grow { from { transform: scaleY(0); } }
.bars-legend { display: flex; justify-content: space-between; color: var(--dim); font-size: 11.5px; margin-top: 6px; }

/* ---------- Aktivität (Zeitleiste) ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--blue2), rgba(var(--brand-rgb),  .05)); box-shadow: 0 0 10px rgba(var(--brand-rgb),  .5); }
.tl-item { position: relative; padding: 6px 0 14px; animation: slidein .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.tl-dot { position: absolute; left: -24px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: #0a1224; border: 2px solid var(--blue2); box-shadow: 0 0 10px rgba(var(--brand-rgb),  .8); }
.tl-item.err .tl-dot, .tl-item.crit .tl-dot { border-color: var(--err); box-shadow: 0 0 10px rgba(255, 77, 106, .8); }
.tl-item.warn .tl-dot { border-color: var(--warn); box-shadow: 0 0 10px rgba(245, 165, 36, .8); }
.tl-item.team:not(.warn):not(.crit):not(.err) .tl-dot { border-color: #b79bff; box-shadow: 0 0 10px rgba(150, 110, 255, .8); }
.steps-list li.running .dot, .dot.warn.pulse { animation: dotpulse 1.4s ease-out infinite; }

@media (max-width: 1100px) { .ticket-layout { grid-template-columns: 1fr; } .ticket-side { position: static; } .cmd-trigger { min-width: 0; } .cmd-trigger-txt, .cmd-trigger kbd { display: none; } }
@media (max-width: 820px) { .msg { max-width: 100%; } .ticket-card { grid-template-columns: 1fr auto; } .tc-id { display: none; } .status-hero { flex-direction: column; text-align: center; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; filter: none; }
}
.console-shell { position: relative; z-index: 1; }
.pkg { background: var(--glass); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pkg:hover { transform: translateY(-4px); border-color: rgba(var(--brand-rgb),  .55); box-shadow: var(--glow-strong); }
.pkg.hl { animation: hlpulse 4s ease-in-out infinite; }
@keyframes hlpulse { 50% { box-shadow: 0 20px 60px -24px rgba(var(--brand-rgb),  1); } }
.pkg .ribbon { box-shadow: 0 0 16px rgba(var(--brand-rgb),  .8); }
.srv { border-radius: 14px; }
.srv .dot.ok { animation: dotpulse 2s ease-out infinite; color: rgba(32, 201, 139, .55); }
.ip-card { transition: border-color .3s, box-shadow .3s; }
.ip-card:hover { border-color: rgba(var(--brand-rgb),  .45); box-shadow: 0 0 22px -10px rgba(var(--brand-rgb),  .8); }
.ip-card.attack { animation: alarm 2.4s ease-in-out infinite; }
.cmd-trigger svg { width: 16px; height: 16px; color: var(--blue2); }
.composer textarea, #tk-body { font-family: var(--sans); font-size: 14px; line-height: 1.6; }
.ticket-side .mline { grid-template-columns: 1fr auto; }
.ticket-side .mline span:last-child { min-width: 0; }

/* =====================================================================
   v1.5 – Bewegung & Ladezustände
   ===================================================================== */
html { scroll-behavior: smooth; }

/* ---------- Ladebalken oben ---------- */
#vp-loadbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity .35s; }
#vp-loadbar.on { opacity: 1; }
#vp-loadbar .lb-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .3s var(--ease);
  background: linear-gradient(90deg, var(--brand1), var(--brand2), var(--cyan), var(--brand2), var(--brand1)); background-size: 200% 100%; animation: lbflow 1.2s linear infinite;
  box-shadow: 0 0 12px rgba(var(--brand-rgb),  .9), 0 0 3px rgba(25, 227, 255, 1); }
#vp-loadbar .lb-glow { position: absolute; top: 0; height: 3px; width: 120px; right: 0; background: radial-gradient(ellipse at center, rgba(160, 240, 255, .9), transparent 70%); filter: blur(2px); opacity: .0; }
#vp-loadbar.on .lb-glow { animation: lbspark 1.1s ease-in-out infinite; }
@keyframes lbflow { to { background-position: -200% 0; } }
@keyframes lbspark { 0% { transform: translateX(-100vw); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
body.submitting .auth-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, var(--brand2), var(--cyan), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: sweep 1s linear infinite; }

/* ---------- Skeletons (schimmern, bis Daten da sind) ---------- */
.skel, .skel-block, .table-wrap:has(> table > tbody[id]:empty)::after, .server-grid:empty, .ticket-list:empty, .thread:empty, .stat-row:empty,
.timeline:empty, #st-comps:empty, .pkg-grid:empty, #my-servers:empty, .chart-box.skel, .tiles:empty, #net-box:empty, #sc-box:empty, #ms-net:empty, #tk-customer:empty {
  --sk: rgba(40, 70, 130, .22);
  background-color: transparent;
  background-image:
    linear-gradient(100deg, transparent 20%, rgba(120, 180, 255, .13) 40%, rgba(160, 220, 255, .22) 50%, rgba(120, 180, 255, .13) 60%, transparent 80%),
    var(--skel-shape, linear-gradient(var(--sk), var(--sk)));
  background-size: 220% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: skswipe 1.5s ease-in-out infinite;
  border-radius: 12px;
}
@keyframes skswipe { from { background-position: 160% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
.skel-block { display: block; min-height: 120px; padding: 0 !important;
  --skel-shape: repeating-linear-gradient(180deg, var(--sk) 0 14px, transparent 14px 30px); }
/* Tabelle: Zeilen-Attrappen */
.table-wrap:has(> table > tbody[id]:empty)::after { content: ""; display: block; height: 176px; margin-top: 8px;
  --skel-shape: repeating-linear-gradient(180deg, transparent 0 10px, var(--sk) 10px 26px, transparent 26px 44px); }
/* Karten-Raster */
.server-grid:empty, #my-servers:empty, .pkg-grid:empty { min-height: 190px;
  --skel-shape: linear-gradient(90deg, var(--sk) 0 32%, transparent 32% 34%, var(--sk) 34% 66%, transparent 66% 68%, var(--sk) 68% 100%); }
.ticket-list:empty { min-height: 230px;
  --skel-shape: repeating-linear-gradient(180deg, var(--sk) 0 66px, transparent 66px 78px); }
.thread:empty { min-height: 220px; --skel-shape: repeating-linear-gradient(180deg, var(--sk) 0 64px, transparent 64px 82px); }
.stat-row:empty, .tiles:empty { min-height: 104px;
  --skel-shape: linear-gradient(90deg, var(--sk) 0 23.5%, transparent 23.5% 25.5%, var(--sk) 25.5% 49%, transparent 49% 51%, var(--sk) 51% 74.5%, transparent 74.5% 76.5%, var(--sk) 76.5% 100%); }
.timeline:empty { min-height: 150px; --skel-shape: repeating-linear-gradient(180deg, var(--sk) 0 16px, transparent 16px 36px); }
.timeline:empty::before { display: none; }
#st-comps:empty { min-height: 300px; --skel-shape: repeating-linear-gradient(180deg, transparent 0 22px, var(--sk) 22px 56px, transparent 56px 110px); }
.chart-box.skel { min-height: 170px; --skel-shape: linear-gradient(180deg, transparent 0 8px, var(--sk) 8px 100%); }
#net-box:empty, #sc-box:empty, #ms-net:empty, #tk-customer:empty { min-height: 140px; --skel-shape: repeating-linear-gradient(180deg, var(--sk) 0 18px, transparent 18px 34px); }

/* ---------- Knöpfe: Lade-, Erfolgs- und Fehlerzustand + Welle ---------- */
.btn .ripple { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none; animation: ripple .65s ease-out forwards; }
@keyframes ripple { to { transform: scale(30); opacity: 0; } }
.btn.busy { color: transparent !important; pointer-events: none; }
.btn.busy > * { visibility: hidden; }
.btn.busy::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn:not(.btn-primary):not(.btn-danger).busy::before { border-color: rgba(var(--brand-rgb),  .25); border-top-color: var(--blue2); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.done { animation: okflash .9s var(--ease); }
@keyframes okflash { 30% { box-shadow: 0 0 0 3px rgba(32, 201, 139, .5), 0 0 26px rgba(32, 201, 139, .6); } }
.btn.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* ---------- Toasts mit Restzeit + Abgang ---------- */
.toast { position: relative; overflow: hidden; cursor: pointer; display: flex; }
.toast-time { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; background: var(--blue2); box-shadow: 0 0 8px var(--blue2); animation: toasttime linear forwards; opacity: .8; }
.toast.ok .toast-time { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.toast.err .toast-time { background: var(--err); box-shadow: 0 0 8px var(--err); }
@keyframes toasttime { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.toast.out { animation: toastout .32s var(--ease) forwards; }
@keyframes toastout { to { opacity: 0; transform: translateX(60px) scale(.92); } }

/* ---------- Dialog schließt weich ---------- */
dialog.closing { animation: dlgout .17s ease-in forwards; }
dialog.closing::backdrop { animation: fadeout .17s forwards; }
@keyframes dlgout { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes fadeout { to { opacity: 0; } }
#confirm-extra > * { animation: slidein .35s var(--ease) both; }

/* ---------- Tabs: gleitender Indikator + Inhalt gleitet ein ---------- */
.tabs { position: relative; }
.tabs.has-ink button::after { display: none; }
.tab-ink { position: absolute; left: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(var(--brand-rgb),  .9);
  transition: transform .45s var(--ease), width .45s var(--ease); pointer-events: none; }
.pane-in { animation: panein .45s var(--ease); }
@keyframes panein { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.seg button { position: relative; }

/* ---------- Tabellen: Zeilen gleiten nacheinander ein ---------- */
tbody.rows-in > tr { animation: rowin .5s var(--ease) both; }
tbody.rows-in > tr:nth-child(2) { animation-delay: 30ms; } tbody.rows-in > tr:nth-child(3) { animation-delay: 60ms; }
tbody.rows-in > tr:nth-child(4) { animation-delay: 90ms; } tbody.rows-in > tr:nth-child(5) { animation-delay: 120ms; }
tbody.rows-in > tr:nth-child(6) { animation-delay: 150ms; } tbody.rows-in > tr:nth-child(7) { animation-delay: 180ms; }
tbody.rows-in > tr:nth-child(8) { animation-delay: 210ms; } tbody.rows-in > tr:nth-child(n+9) { animation-delay: 240ms; }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Diagramme zeichnen sich von links ---------- */
.chart-box.enter svg { animation: chartin 1.2s var(--ease) both; }
@keyframes chartin { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.chart-box.enter svg path { animation: fadein .9s ease both; }

/* ---------- Große Fortschrittsanzeige ---------- */
.job-hero { border: 1px solid rgba(var(--brand-rgb),  .35); border-radius: 14px; padding: 18px 20px; margin: 14px 0 10px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(0, 60, 180, .18), rgba(5, 10, 22, .6)); box-shadow: 0 0 40px -14px rgba(var(--brand-rgb),  .7); animation: dlgin .5s var(--ease); }
.job-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at 0% 0%, rgba(var(--brand-rgb),  .16), transparent 60%); }
.jh-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.jh-title { font-size: 16px; flex: 1; }
.jh-pct { font-family: var(--display); font-size: 26px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--cyan); text-shadow: 0 0 20px rgba(25, 227, 255, .6); }
.jh-spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(var(--brand-rgb),  .2); border-top-color: var(--cyan); border-right-color: var(--blue2); animation: spin .8s linear infinite; box-shadow: 0 0 14px rgba(var(--brand-rgb),  .5); }
.jh-bar { height: 16px; border-radius: 99px; background: rgba(10, 18, 36, .9); box-shadow: inset 0 0 0 1px rgba(60, 110, 200, .3); position: relative; overflow: hidden; }
.jh-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); border-radius: 99px;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .16) 0 12px, transparent 12px 24px), linear-gradient(90deg, var(--brand1), var(--brand2) 60%, var(--cyan));
  background-size: 34px 100%, 100% 100%; animation: stripes .8s linear infinite; box-shadow: 0 0 20px rgba(var(--brand-rgb),  .8); }
@keyframes stripes { to { background-position: 34px 0, 0 0; } }
.jh-swipe { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(200, 240, 255, .55) 50%, transparent 70%); background-size: 40% 100%; background-repeat: no-repeat; animation: jhswipe 1.8s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes jhswipe { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.jh-step { position: relative; height: 22px; margin-top: 12px; overflow: hidden; color: #c7d3f5; }
.jh-step > span { position: absolute; left: 0; right: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jh-step-in { animation: stepup .4s var(--ease) both; }
.jh-step-out { animation: stepout .35s var(--ease) both; }
@keyframes stepup { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes stepout { to { transform: translateY(-100%); opacity: 0; } }
.job-hero.ok { border-color: rgba(32, 201, 139, .5); box-shadow: 0 0 40px -14px rgba(32, 201, 139, .8); }
.job-hero.ok .jh-fill { background: linear-gradient(90deg, #149e6c, #20c98b, #6dffc9); animation: none; box-shadow: 0 0 20px rgba(32, 201, 139, .8); }
.job-hero.ok .jh-pct { color: var(--ok); text-shadow: 0 0 20px rgba(32, 201, 139, .6); }
.job-hero.ok .jh-spinner, .job-hero.err .jh-spinner { animation: none; border-color: transparent; box-shadow: none; position: relative; }
.job-hero.ok .jh-spinner::after { content: "✓"; position: absolute; inset: -4px; display: grid; place-items: center; color: var(--ok); font-weight: 800; font-size: 18px; text-shadow: 0 0 12px var(--ok); animation: pop .5s var(--ease); }
.job-hero.err { border-color: rgba(255, 77, 106, .55); box-shadow: 0 0 40px -14px rgba(255, 77, 106, .8); }
.job-hero.err .jh-fill { background: linear-gradient(90deg, #a1132d, #ff4d6a); animation: none; }
.job-hero.err .jh-pct { color: var(--err); text-shadow: 0 0 20px rgba(255, 77, 106, .6); font-size: 18px; }
.job-hero.err .jh-spinner::after { content: "!"; position: absolute; inset: -4px; display: grid; place-items: center; color: var(--err); font-weight: 900; font-size: 18px; }
.job-hero:not(.run) .jh-swipe { display: none; }
.steps-list li.step-in { animation: slidein .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.dot.soft { box-shadow: none; opacity: .8; }

/* ---------- Kleine Extras ---------- */
.side nav a { overflow: hidden; }
.side nav a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(var(--brand-rgb),  .12) 50%, transparent 70%); background-size: 220% 100%; background-position: 160% 0; transition: background-position .7s var(--ease); pointer-events: none; }
.side nav a:hover::after { background-position: -60% 0; }
.badge, .nav-count { transition: transform .25s var(--ease); }
.badge:hover { transform: translateY(-1px); }
details > summary { cursor: pointer; }
details[open] > *:not(summary) { animation: panein .35s var(--ease); }
.flash { animation: flashin .6s var(--ease); }
@keyframes flashin { from { opacity: 0; transform: translateY(-12px) scale(.98); } }

@media (prefers-reduced-motion: reduce) {
  .skel, .skel-block, .table-wrap::after, .server-grid:empty, .ticket-list:empty, .thread:empty { animation: none !important; }
  #vp-loadbar .lb-glow { display: none; }
}
.cn-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(26, 36, 64, .6); animation: slidein .4s var(--ease) both; }
.cn-item .btn { flex: 0 0 auto; }

/* =====================================================================
   v1.6 – Server-Konfigurator
   ===================================================================== */
.configurator { position: relative; border-radius: 20px; padding: 26px; margin-bottom: 18px; background: var(--glass); border: 1px solid rgba(var(--brand-rgb),  .35);
  box-shadow: 0 30px 70px -40px rgba(var(--brand-rgb),  .9); overflow: hidden; isolation: isolate; animation: dlgin .6s var(--ease); }
.configurator::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(var(--brand-rgb),  .18), transparent 65%); animation: aurora 18s ease-in-out infinite alternate; }
.cfg-head { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 22px; }
.cfg-head > div:first-child { flex: 1; min-width: 260px; }
.cfg-head h2 { font-family: var(--display); font-size: 24px; font-weight: 750; margin: 4px 0; background: linear-gradient(90deg, #fff, #8fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cfg-kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 12px rgba(25, 227, 255, .7); }
.cfg-presets { display: flex; gap: 8px; }
.chip { font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--border2); background: rgba(10, 18, 36, .7); color: #c2cce9; cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: rgba(var(--brand-rgb),  .6); color: #fff; transform: translateY(-1px); }
.chip.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(var(--brand-rgb),  .7); }
.cfg-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 26px; align-items: start; }
.cfg-sliders { display: flex; flex-direction: column; gap: 18px; }
.cfg-slider { padding: 14px 16px 10px; border-radius: 14px; background: rgba(6, 11, 24, .55); border: 1px solid rgba(50, 90, 170, .25); transition: border-color .3s, box-shadow .3s; }
.cfg-slider:hover, .cfg-slider:focus-within { border-color: rgba(var(--brand-rgb),  .5); box-shadow: 0 0 26px -12px rgba(var(--brand-rgb),  .9); }
.cfg-sl-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #c7d3f5; font-weight: 600; }
.cfg-ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(var(--brand-rgb),  .15); color: var(--cyan); font-size: 13px; text-shadow: 0 0 8px rgba(25, 227, 255, .8); }
.cfg-val { white-space: nowrap; }
.cfg-num { display: inline-block; font-family: var(--display); font-size: 24px; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(var(--brand-rgb),  .6); min-width: 1ch; text-align: right; }
.cfg-num.bump { animation: bump .3s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); color: var(--cyan); } }
.cfg-unit { color: var(--muted); font-size: 13px; }
.cfg-scale { display: flex; justify-content: space-between; color: var(--dim); font-size: 11.5px; margin-top: 2px; }
/* Schieberegler */
.cfg-slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; margin: 0; }
.cfg-slider input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2) calc(var(--p, 0%) * .7), var(--cyan) var(--p, 0%), rgba(30, 45, 80, .9) var(--p, 0%)); box-shadow: 0 0 14px -2px rgba(var(--brand-rgb),  .6), inset 0 0 0 1px rgba(80, 130, 220, .2); }
.cfg-slider input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(30, 45, 80, .9); }
.cfg-slider input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand1), var(--cyan)); box-shadow: 0 0 12px rgba(var(--brand-rgb),  .8); }
.cfg-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8fe6ff 40%, var(--brand2));
  border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(var(--brand-rgb),  .25), 0 0 20px rgba(var(--brand-rgb),  .9); transition: transform .2s var(--ease), box-shadow .2s; }
.cfg-slider input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8fe6ff 40%, var(--brand2)); border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(var(--brand-rgb),  .25), 0 0 20px rgba(var(--brand-rgb),  .9); }
.cfg-slider input[type=range]:hover::-webkit-slider-thumb, .cfg-slider input[type=range]:focus::-webkit-slider-thumb { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(var(--brand-rgb),  .22), 0 0 28px rgba(0, 220, 255, 1); }
.cfg-slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.3); }
.cfg-slider input[type=range]:focus { outline: none; box-shadow: none; }
/* Schalter */
.cfg-toggle, .switch { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 12px 16px; border-radius: 14px; background: rgba(6, 11, 24, .55); border: 1px solid rgba(50, 90, 170, .25); }
.switch { padding: 4px 10px; gap: 8px; font-size: 13px; color: var(--muted); }
.cfg-toggle input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-toggle .tg, .switch > span:first-of-type { width: 42px; height: 24px; border-radius: 99px; background: rgba(30, 45, 80, .9); position: relative; flex: 0 0 42px; transition: background .3s, box-shadow .3s; box-shadow: inset 0 0 0 1px rgba(80, 130, 220, .25); }
.cfg-toggle .tg::after, .switch > span:first-of-type::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #c7d3f5; transition: transform .35s var(--ease), background .3s; }
.cfg-toggle input:checked + .tg, .switch input:checked + span { background: var(--grad); box-shadow: 0 0 16px rgba(var(--brand-rgb),  .7); }
.cfg-toggle input:checked + .tg::after, .switch input:checked + span::after { transform: translateX(18px); background: #fff; }
/* Vorschau-„Server“ */
.cfg-preview { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.rig { border-radius: 18px; padding: 18px; background: linear-gradient(170deg, #0d1730, #050913 70%); border: 1px solid rgba(var(--brand-rgb),  .35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 50px -20px rgba(var(--brand-rgb),  .7); position: relative; overflow: hidden; }
.rig::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.rig.pulse { animation: rigpulse .5s var(--ease); }
@keyframes rigpulse { 40% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 70px -10px rgba(var(--brand-rgb),  .95); } }
.rig-top { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(60, 100, 180, .25); }
.rig-top b { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: .04em; text-shadow: 0 0 10px rgba(25, 227, 255, .6); }
.rig-led { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: blink 1.6s steps(2) infinite; }
.rig-led:nth-child(2) { background: var(--blue2); box-shadow: 0 0 8px var(--blue2); animation-duration: .9s; }
.rig-led:nth-child(3) { background: var(--warn); box-shadow: 0 0 8px var(--warn); animation-duration: 2.3s; }
@keyframes blink { 50% { opacity: .25; } }
.rig-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 10px 0 6px; }
.rig-cores { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.rig-cores.dense { grid-template-columns: repeat(16, 1fr); gap: 3px; }
.core { aspect-ratio: 1; border-radius: 4px; background: rgba(30, 45, 80, .7); box-shadow: inset 0 0 0 1px rgba(80, 130, 220, .2);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i) * 12ms); }
.core.on { background: linear-gradient(135deg, var(--cyan), #0060ff); box-shadow: 0 0 10px rgba(var(--brand-rgb),  .8), inset 0 0 0 1px rgba(255, 255, 255, .25); transform: scale(1.02); }
.rig-ram { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; height: 54px; }
.dimm { position: relative; border-radius: 4px; background: rgba(30, 45, 80, .7); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(80, 130, 220, .2); }
.dimm i { position: absolute; inset: 0; transform-origin: bottom; transform: scaleY(0); background: linear-gradient(0deg, #7b5cff, var(--cyan)); transition: transform .5s var(--ease); box-shadow: 0 0 12px rgba(100, 140, 255, .8); }
.rig-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; margin-top: 4px; }
.rig-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.rig-ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(30, 45, 80, .8); }
.ring-fg { stroke: url(#none); stroke: var(--cyan); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); filter: drop-shadow(0 0 6px rgba(25, 227, 255, .8)); }
.rig-ring text { transform: rotate(90deg); transform-origin: 60px 60px; fill: #fff; font-family: var(--display); font-weight: 700; font-size: 17px; }
.rig-facts { display: grid; gap: 6px; }
.fact { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px dashed rgba(60, 100, 180, .25); }
.fact span { color: var(--muted); }
.cfg-go { padding: 14px; font-size: 15px; }
.center { text-align: center; }
.or-sep { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 18px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(60, 100, 180, .5), transparent); }
/* Admin */
.cfg-admin.off .cfg-table, .cfg-admin.off .form-grid { opacity: .5; }
.cfg-table input { max-width: 120px; }
@media (max-width: 1000px) { .cfg-body { grid-template-columns: 1fr; } .cfg-preview { position: static; } }
@media (prefers-reduced-motion: reduce) { .configurator::before, .rig-led { animation: none; } }

/* ---------- v1.6 – Nutzungsbedingungen ---------- */
.terms-info { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.doc-stack { display: flex; flex-direction: column; gap: 10px; }
.doc-stack .terms-info { padding: 10px 12px; border-radius: 10px; background: rgba(6, 11, 24, .5); border: 1px solid rgba(50, 90, 170, .25); }
.doc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.doc-ic { display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; color: #fff; width: 28px; height: 32px; border-radius: 5px;
  background: linear-gradient(160deg, #ff4d6a, #b3122f); box-shadow: 0 0 12px rgba(255, 77, 106, .5); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.doc-ic.big { width: 40px; height: 48px; font-size: 11px; flex: 0 0 40px; }
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.doc-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; color: var(--text); background: rgba(6, 11, 24, .55);
  border: 1px solid rgba(50, 90, 170, .3); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; animation: slidein .45s var(--ease) both; }
.doc-card:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(var(--brand-rgb),  .55); box-shadow: var(--glow); }
.terms-alert { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 16px; border-radius: 14px;
  background: linear-gradient(100deg, rgba(0, 90, 255, .22), rgba(var(--brand-rgb),  .06)); border: 1px solid rgba(var(--brand-rgb),  .5); animation: glowpulse 2.4s ease-in-out infinite; }
.ta-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--grad); box-shadow: 0 0 18px rgba(var(--brand-rgb),  .8); }
.glow-btn { animation: glowpulse 2s ease-in-out infinite; }
dialog.terms-dlg { width: min(860px, 94vw); }
.ta-head { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
.ta-head > div { flex: 1; }
.ta-head h2 { font-size: 20px; margin-top: 4px; }
.pdf-wrap { border-radius: 12px; overflow: hidden; border: 1px solid rgba(50, 90, 170, .35); background: #0b0f19; height: min(58vh, 640px);
  background-image: linear-gradient(100deg, transparent 20%, rgba(120, 180, 255, .1) 50%, transparent 80%); background-size: 220% 100%; animation: skswipe 1.6s ease-in-out infinite; }
.pdf-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.accept-check { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 90, 255, .1); border: 1px solid rgba(var(--brand-rgb),  .35); }
.dropzone { position: relative; display: flex; gap: 16px; align-items: center; padding: 26px; border-radius: 16px; cursor: pointer; border: 2px dashed rgba(var(--brand-rgb),  .45);
  background: rgba(0, 60, 180, .08); transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s; }
.dropzone:hover, .dropzone:focus { border-color: var(--blue2); background: rgba(0, 90, 255, .14); outline: none; }
.dropzone.over { transform: scale(1.02); border-color: var(--cyan); box-shadow: 0 0 36px -8px rgba(25, 227, 255, .9); background: rgba(var(--brand-rgb),  .2); }
.dropzone.has-file { border-style: solid; border-color: rgba(32, 201, 139, .7); background: rgba(32, 201, 139, .08); }
.drop-ic { width: 52px; height: 62px; display: grid; place-items: center; font-weight: 800; color: #fff; border-radius: 6px; background: linear-gradient(160deg, #ff4d6a, #b3122f);
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); box-shadow: 0 0 20px rgba(255, 77, 106, .6); animation: float 4s ease-in-out infinite; }
.drop-txt { display: flex; flex-direction: column; gap: 4px; }
.shake-x { animation: shake .45s; }
.up-prog { position: relative; height: 26px; border-radius: 99px; background: rgba(10, 18, 36, .9); overflow: hidden; margin: 6px 0 12px; box-shadow: inset 0 0 0 1px rgba(60, 110, 200, .3); }
.up-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .2s; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .16) 0 12px, transparent 12px 24px), linear-gradient(90deg, var(--brand1), var(--cyan));
  background-size: 34px 100%, 100% 100%; animation: stripes .8s linear infinite; }
.up-prog span { position: relative; display: block; text-align: center; line-height: 26px; font-weight: 700; font-size: 12px; }
.tp-pane .field { margin-top: 14px; }

/* =====================================================================
   v1.7 – Firewall, IP-Schutz, Rettungsmodus, Upgrade, Wartung
   ===================================================================== */
.fw-head.on { border-color: rgba(32, 201, 139, .45); box-shadow: 0 0 40px -18px rgba(32, 201, 139, .8); }
.fw-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
tr.paused td { opacity: .45; }
.ipguard { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(50, 90, 170, .3); background: rgba(6, 11, 24, .55); }
.ipguard.on { border-color: rgba(32, 201, 139, .4); background: linear-gradient(100deg, rgba(32, 201, 139, .1), rgba(6, 11, 24, .5)); }
.ipguard.off { border-color: rgba(245, 165, 36, .4); }
.ipg-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: rgba(32, 201, 139, .18); box-shadow: 0 0 16px rgba(32, 201, 139, .5); }
.ipguard.off .ipg-ic { background: rgba(245, 165, 36, .2); box-shadow: 0 0 16px rgba(245, 165, 36, .45); font-weight: 800; color: var(--warn); }
.cfg-toggle.mini { padding: 6px 10px; flex: 0 0 auto; }
.rescue-card.active { border-color: rgba(245, 165, 36, .55); box-shadow: 0 0 40px -16px rgba(245, 165, 36, .8); }
.up-current { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.up-current .st-value { font-size: 22px; }
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.up-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; border: 1px solid rgba(50, 90, 170, .3); background: rgba(6, 11, 24, .55);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.up-card:hover { transform: translateY(-2px); border-color: rgba(var(--brand-rgb),  .55); box-shadow: var(--glow); }
.up-card .btn { align-self: flex-start; }
.deltas { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; margin: 6px 0 10px; }
.delta { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; animation: pop .35s var(--ease); }
.delta.up { color: var(--ok); background: rgba(32, 201, 139, .12); border: 1px solid rgba(32, 201, 139, .35); }
.delta.down { color: var(--warn); background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .35); }
.up-sliders { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.up-diff { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-diff { font-size: 12px; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--border2); color: var(--muted); }
.chip-diff.up { color: var(--ok); border-color: rgba(32, 201, 139, .4); }
.chip-diff.down { color: var(--warn); border-color: rgba(245, 165, 36, .4); }
.mt-list { display: flex; flex-direction: column; gap: 10px; }
.mt-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(6, 11, 24, .5); border: 1px solid rgba(50, 90, 170, .25);
  animation: slidein .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.mt-item .row { margin-top: 6px; gap: 6px; }
.mt-dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; flex: 0 0 12px; background: var(--dim); }
.mt-item.geplant .mt-dot { background: var(--blue2); box-shadow: 0 0 10px var(--blue2); }
.mt-item.läuft { border-color: rgba(245, 165, 36, .5); }
.mt-item.läuft .mt-dot { background: var(--warn); animation: dotpulse 1.4s infinite; color: rgba(245, 165, 36, .6); }
.mt-item.beendet, .mt-item.abgesagt { opacity: .6; }
.ann.maint { border-left: 4px solid #8b7bff; }
.ann.maint.now { border-left-color: var(--warn); animation: glowpulse 2.4s ease-in-out infinite; }
.status-hero.maintenance { border-color: rgba(139, 123, 255, .5); }
.status-hero.maintenance .status-orb { background: radial-gradient(circle at 35% 30%, #d9d2ff, #8b7bff 55%, #2b1a7a); box-shadow: 0 0 40px rgba(139, 123, 255, .8); }
.status-hero.maintenance .status-orb::before, .status-hero.maintenance .status-orb::after { border-color: rgba(139, 123, 255, .6); }
input[type=datetime-local], input[type=date], input[type=time] { color-scheme: dark; font-variant-numeric: tabular-nums; min-height: 42px; }
input[type=datetime-local]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }

/* =====================================================================
   v1.8 – moderneres Interface, Boot-Animation, Ringanzeigen, Monitoring
   ===================================================================== */
@property --v { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------- Seitenwechsel: weicher Übergang zwischen Seiten ---------- */
@view-transition { navigation: auto; }
.side { view-transition-name: side; }
.top { view-transition-name: top; }
::view-transition-old(root) { animation: vtout .16s ease-in both; }
::view-transition-new(root) { animation: vtin .34s var(--ease) both; }
@keyframes vtout { to { opacity: 0; transform: translateY(-4px); filter: blur(2px); } }
@keyframes vtin { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }

/* ---------- Karten: Glas, feine Lichtkante, mehr Luft ---------- */
.card, .tile { border-radius: 16px; }
.card { background: linear-gradient(180deg, rgba(17, 26, 46, .82), rgba(9, 14, 26, .9)); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(140, 180, 255, .07), 0 18px 40px -28px rgba(0, 0, 0, .9); }
.card-head h2 { font-size: 15.5px; letter-spacing: -.005em; }
.page-head h1 { display: inline-block; font-family: var(--display); font-size: 26px; letter-spacing: -.025em;
  background: linear-gradient(92deg, #fff 0%, #cfe2ff 55%, #7fc4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Tabs als Segment-Leiste mit gleitender Pille ---------- */
.tabs { border: 1px solid var(--border); border-radius: 14px; padding: 4px; gap: 2px; background: rgba(8, 13, 25, .7); backdrop-filter: blur(8px);
  scrollbar-width: none; box-shadow: inset 0 1px 0 rgba(140, 180, 255, .05); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; margin: 0; border-radius: 10px; padding: 7px 11px; font-size: 13.5px; z-index: 1; transition: color .25s, background .25s; }
.tabs button:hover:not(.on) { background: rgba(80, 130, 255, .07); }
.tabs button::after { display: none; }
.tabs button.on { color: #fff; }
.tab-ink { top: 4px; bottom: 4px; height: auto; border-radius: 10px; z-index: 0;
  background: linear-gradient(135deg, rgba(0, 90, 255, .55), rgba(0, 170, 255, .38));
  box-shadow: 0 0 0 1px rgba(90, 170, 255, .35), 0 6px 22px -6px rgba(0, 130, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .18); }
.tabs:not(.has-ink) button.on { background: linear-gradient(135deg, rgba(0, 90, 255, .55), rgba(0, 170, 255, .38)); }

/* ---------- Kacheln mit Ringanzeige ---------- */
.tile.has-ring { padding-right: 74px; }
.tile.has-ring .tile-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .05em; font-size: 11.5px; }
.tile.has-ring .meter { display: none; }
.ring { --v: 0; --c1: #0a6bff; --c2: #22c7ff; position: absolute; right: 14px; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--c1), var(--c2) calc(var(--v) * 360deg), rgba(120, 150, 220, .1) calc(var(--v) * 360deg));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  transition: --v 1.2s var(--ease); filter: drop-shadow(0 0 8px rgba(0, 150, 255, .55)); }
.ring.warn { --c1: #f59e0b; --c2: #ffd166; filter: drop-shadow(0 0 8px rgba(245, 165, 36, .55)); }
.ring.crit { --c1: #ff3b5c; --c2: #ff8aa0; filter: drop-shadow(0 0 8px rgba(255, 77, 106, .6)); }
.ring-pct { display: none; }
.tile.has-ring::before { content: ""; position: absolute; right: 14px; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb),  .14), transparent 65%); }

/* ---------- Boot-Animation beim Server-Aufruf ---------- */
body.booting .tiles .tile, body.booting [data-pane]:not(.hidden) { opacity: .25; filter: blur(2px); transition: opacity .4s, filter .4s; }
.boot { position: fixed; left: var(--bl, 0); top: var(--bt, 0); right: 0; bottom: 0; z-index: 30; display: grid; place-items: center;
  background: radial-gradient(600px 380px at 50% 45%, rgba(0, 80, 255, .16), transparent 70%), rgba(5, 8, 15, .55); backdrop-filter: blur(6px);
  animation: fadein .25s ease both; }
.boot.out { animation: bootout .6s var(--ease) forwards; }
@keyframes bootout { to { opacity: 0; transform: scale(1.04); filter: blur(6px); } }
.boot-core { text-align: center; width: min(420px, 90%); }
.boot-orb { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; }
.boot-orb i { position: absolute; inset: 0; border-radius: 50%; }
.boot-orb .r1 { border: 2px solid transparent; border-top-color: #22c7ff; border-right-color: rgba(34, 199, 255, .35); animation: spin 1.1s linear infinite;
  filter: drop-shadow(0 0 10px rgba(34, 199, 255, .9)); }
.boot-orb .r2 { inset: 16px; border: 2px dashed rgba(70, 140, 255, .45); animation: spin 6s linear infinite reverse; }
.boot-orb .r3 { inset: 30px; background: conic-gradient(from var(--spin), transparent 0 70%, rgba(var(--brand-rgb),  .65) 92%, transparent);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spinv 1.8s linear infinite; }
@keyframes spinv { to { --spin: 360deg; } }
.boot-orb .sat { width: 8px; height: 8px; inset: auto; left: 50%; top: -4px; margin-left: -4px; background: #7fdcff; box-shadow: 0 0 12px 3px rgba(0, 170, 255, .9);
  transform-origin: 4px 79px; animation: spin 2.6s linear infinite; }
.boot-orb .s2 { background: #3c7bff; animation-duration: 4.2s; animation-direction: reverse; }
.boot-chip { position: absolute; inset: 48px; border-radius: 14px; background: linear-gradient(160deg, #0d2a6b, #071430); border: 1px solid rgba(80, 160, 255, .45);
  box-shadow: 0 0 30px rgba(var(--brand-rgb),  .55), inset 0 1px 0 rgba(255, 255, 255, .15); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 12px; }
.boot-chip span { height: 6px; border-radius: 3px; background: rgba(90, 160, 255, .25); position: relative; overflow: hidden; }
.boot-chip span::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, #4fd2ff, transparent); animation: chipscan 1.2s ease-in-out infinite; }
.boot-chip span:nth-child(2)::after { animation-delay: .2s; } .boot-chip span:nth-child(3)::after { animation-delay: .4s; }
@keyframes chipscan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.boot-title { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.boot-state { color: var(--muted); margin: 2px 0 16px; }
.boot.ok .boot-state { color: var(--ok); }
.boot-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(40, 60, 110, .45); overflow: hidden; }
.boot-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .45s var(--ease); border-radius: 99px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2), #66e0ff); background-size: 200% 100%; animation: lbflow 1.4s linear infinite; box-shadow: 0 0 16px rgba(0, 160, 255, .9); }
.boot.ok .boot-fill { background: linear-gradient(90deg, #12b981, #38f0b0); box-shadow: 0 0 16px rgba(32, 201, 139, .9); }
.boot-pct { position: absolute; right: 0; top: 12px; font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.boot-steps { list-style: none; padding: 0; margin: 30px 0 0; text-align: left; display: grid; gap: 8px; }
.boot-steps li { display: flex; align-items: center; gap: 10px; color: var(--dim); opacity: .5; transition: opacity .3s, color .3s; }
.boot-steps li.on { opacity: 1; color: var(--text); }
.boot-steps li.done { opacity: .85; color: var(--muted); }
.bs-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(110, 140, 210, .4); flex: 0 0 16px; position: relative; transition: all .3s; }
.boot-steps li.on .bs-dot { border-color: #22c7ff; border-top-color: transparent; animation: spin .7s linear infinite; }
.boot-steps li.done .bs-dot { border-color: var(--ok); background: var(--ok); animation: pop .35s var(--ease); }
.boot-steps li.done .bs-dot::after { content: ""; position: absolute; left: 3.5px; top: .5px; width: 4px; height: 8px; border: solid #04120c; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body.boot-reveal .tiles .tile { animation: tilein .7s var(--ease) both; }
body.boot-reveal .tiles .tile:nth-child(2) { animation-delay: .07s; } body.boot-reveal .tiles .tile:nth-child(3) { animation-delay: .14s; }
body.boot-reveal .tiles .tile:nth-child(4) { animation-delay: .21s; } body.boot-reveal .tiles .tile:nth-child(5) { animation-delay: .28s; }
body.boot-reveal .tabs, body.boot-reveal [data-pane]:not(.hidden) { animation: tilein .7s .3s var(--ease) both; }
@keyframes tilein { from { opacity: 0; transform: translateY(16px) scale(.97); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Kunden-Startseite ---------- */
.my-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.hero-stat { position: relative; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 34, 66, .75), rgba(9, 14, 26, .85)); animation: tilein .6s var(--ease) both; color: var(--text); }
.hero-stat:nth-child(2) { animation-delay: .06s; } .hero-stat:nth-child(3) { animation-delay: .12s; } .hero-stat:nth-child(4) { animation-delay: .18s; }
a.hero-stat:hover { text-decoration: none; border-color: var(--border2); }
.hero-stat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.hero-stat.good::before { background: linear-gradient(#12b981, #38f0b0); } .hero-stat.warn::before { background: linear-gradient(#f59e0b, #ffd166); }
.hero-stat.bad::before { background: linear-gradient(#ff3b5c, #ff8aa0); }
.hs-l { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; }
.hs-v { display: block; font-family: var(--display); font-size: 20px; margin-top: 4px; letter-spacing: -.01em; }
.hero-stat.bad .hs-v { color: #ff8aa0; }
.srv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip-mini { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 3px 9px; border-radius: 99px; color: var(--muted);
  background: rgba(60, 100, 200, .1); border: 1px solid rgba(80, 130, 255, .16); }
.chip-mini.ok { color: #6ff0bf; border-color: rgba(32, 201, 139, .3); } .chip-mini.err { color: #ff8aa0; border-color: rgba(255, 77, 106, .4); }
.chip-mini .dot { width: 6px; height: 6px; }
.srv { border-radius: 16px; }

/* ---------- Konto: kompakte Dokumente ---------- */
.compact-docs .doc-list.slim { display: grid; gap: 6px; grid-template-columns: 1fr; }
.compact-docs .doc-card .grow { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.compact-docs .doc-card .grow .muted { font-size: 12px; }
.compact-docs .doc-card { padding: 8px 12px; gap: 12px; min-height: 0; display: flex; align-items: center; width: 100%; }
.compact-docs .doc-ic.big { width: 30px; height: 30px; font-size: 9px; }
.compact-docs .doc-card b { font-size: 13px; }
form.inline { display: inline; }
.dev-ic { opacity: .8; margin-right: 4px; }

/* ---------- Uptime-Monitoring ---------- */
.mon-hero { display: flex; align-items: center; gap: 16px; }
.mon-hero-ic { width: 46px; height: 46px; border-radius: 50%; position: relative; flex: 0 0 46px;
  background: radial-gradient(circle, rgba(var(--brand-rgb),  .35), rgba(0, 60, 160, .15) 60%, transparent 70%); border: 1px solid rgba(80, 160, 255, .35); overflow: hidden; }
.mon-radar { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--spin), rgba(var(--brand-rgb),  .6), transparent 25%); animation: spinv 2.4s linear infinite; }
.mon-hero.good .mon-hero-ic { border-color: rgba(32, 201, 139, .5); background: radial-gradient(circle, rgba(32, 201, 139, .35), transparent 70%); }
.mon-hero.good .mon-radar { background: conic-gradient(from var(--spin), rgba(56, 240, 176, .6), transparent 25%); }
.mon-hero.bad { border-color: rgba(255, 77, 106, .45); animation: alarm 2.4s ease-in-out infinite; }
.mon-hero.bad .mon-radar { background: conic-gradient(from var(--spin), rgba(255, 77, 106, .7), transparent 25%); animation-duration: 1s; }
.mon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.mon-card { padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(17, 26, 46, .85), rgba(9, 14, 26, .9));
  animation: tilein .5s var(--ease) both; position: relative; overflow: hidden; }
.mon-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: .8; }
.mon-card.up::before { background: linear-gradient(90deg, #12b981, #38f0b0); }
.mon-card.down { border-color: rgba(255, 77, 106, .45); } .mon-card.down::before { background: linear-gradient(90deg, #ff3b5c, #ff8aa0); }
.mon-card.paused { opacity: .7; } .mon-card.paused::before { background: rgba(120, 140, 190, .4); }
.mon-top { display: flex; align-items: center; gap: 12px; }
.mon-top .badge { display: inline-flex; align-items: center; gap: 6px; }
.mon-top .badge .dot { width: 6px; height: 6px; }
.mon-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex: 0 0 36px;
  background: rgba(var(--brand-rgb),  .14); border: 1px solid rgba(80, 150, 255, .25); color: #8fd3ff; }
.mon-stats { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 18px; align-items: end; margin: 14px 0 10px; }
.mon-stats span { display: block; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.mon-stats b { font-family: var(--display); font-size: 17px; font-variant-numeric: tabular-nums; }
.mon-sp { justify-self: end; width: 100%; max-width: 170px; }
.mon-spark { width: 100%; height: 34px; display: block; overflow: visible; }
.mon-spark path { fill: none; stroke: #22c7ff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(0, 170, 255, .7)); }
.mon-spark rect.fail { fill: rgba(255, 77, 106, .55); }
.mon-bar { display: grid; grid-template-columns: repeat(48, 1fr); gap: 2px; height: 22px; }
.mon-bar i { border-radius: 3px; background: rgba(110, 130, 180, .16); transform-origin: bottom; animation: grow .5s var(--ease) both; }
.mon-bar i.up { background: linear-gradient(180deg, #38f0b0, #12b981); }
.mon-bar i.part { background: linear-gradient(180deg, #ffd166, #f59e0b); }
.mon-bar i.down { background: linear-gradient(180deg, #ff8aa0, #ff3b5c); box-shadow: 0 0 8px rgba(255, 77, 106, .6); }
.mon-bar i:hover { filter: brightness(1.4); }
.mon-err { margin-top: 10px; font-size: 12.5px; color: #ff8aa0; background: rgba(255, 77, 106, .08); border: 1px solid rgba(255, 77, 106, .25); padding: 6px 10px; border-radius: 8px; }
.mon-act { display: flex; align-items: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; font-size: 12.5px; }

@media (max-width: 900px) {
  .my-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mon-grid { grid-template-columns: 1fr; }
  .boot { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .boot, .ring { transition: none; animation: none; }
  body.boot-reveal .tiles .tile, .hero-stat, .mon-card, .mon-bar i { animation: none; }
}

/* =====================================================================
   v1.9 – ruhigere Ladeanzeigen: Fortschrittskreis + drehender Kreis
   ===================================================================== */
body.booting .tiles .tile, body.booting [data-pane]:not(.hidden) { opacity: .35; filter: none; }
.boot { backdrop-filter: none; background: rgba(5, 8, 15, .45); }
.boot.out { animation: fadeout .35s ease forwards; }
.bl { position: relative; width: 96px; height: 96px; margin: 0 auto 16px; }
.bl-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.bl-ring circle { fill: none; stroke-width: 6; }
.bl-track { stroke: rgba(110, 140, 210, .16); }
.bl-arc { stroke: var(--blue2); stroke-linecap: round; stroke-dasharray: 301.6; stroke-dashoffset: 301.6; transition: stroke-dashoffset .4s var(--ease), stroke .3s; }
.bl-spin { stroke: rgba(160, 220, 255, .55); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 24 278; transform-origin: 56px 56px; animation: spin 1.1s linear infinite; }
.boot.ok .bl-arc { stroke: var(--ok); }
.boot.ok .bl-spin { display: none; }
.bl-pct { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 650; font-variant-numeric: tabular-nums; font-size: 15px; }
.boot .boot-title { font-size: 18px; }
.boot .boot-state { margin: 4px 0 0; font-size: 13.5px; }
body.boot-reveal .tiles .tile, body.boot-reveal .tabs, body.boot-reveal [data-pane]:not(.hidden) { animation: fadein .35s ease both; }

/* Platzhalter: statt schimmernder Attrappen ein ruhiger, drehender Kreis */
.skel, .skel-block, .table-wrap:has(> table > tbody[id]:empty)::after, .server-grid:empty, .ticket-list:empty, .thread:empty, .stat-row:empty,
.timeline:empty, #st-comps:empty, .pkg-grid:empty, #my-servers:empty, .chart-box.skel, .tiles:empty, #net-box:empty, #sc-box:empty, #ms-net:empty, #tk-customer:empty,
.fw-box:empty, .mon-box:empty, #up-box:empty, .rescue-card:empty {
  background-image: none; animation: none; position: relative;
}
.server-grid:empty, #my-servers:empty, .pkg-grid:empty, .ticket-list:empty, .thread:empty, .timeline:empty, #st-comps:empty, .stat-row:empty, .tiles:empty,
#net-box:empty, #sc-box:empty, #ms-net:empty, #tk-customer:empty, .fw-box:empty, .mon-box:empty, #up-box:empty, .rescue-card:empty, .skel-block, .chart-box.skel { min-height: 120px; }
.server-grid:empty::after, #my-servers:empty::after, .pkg-grid:empty::after, .ticket-list:empty::after, .thread:empty::after, .timeline:empty::after,
#st-comps:empty::after, .stat-row:empty::after, .tiles:empty::after, #net-box:empty::after, #sc-box:empty::after, #ms-net:empty::after, #tk-customer:empty::after,
.fw-box:empty::after, .mon-box:empty::after, #up-box:empty::after, .rescue-card:empty::after, .skel-block::after, .chart-box.skel::after, .table-wrap:has(> table > tbody[id]:empty)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 3px solid rgba(110, 140, 210, .18); border-top-color: var(--blue2); animation: spin .8s linear infinite; background: none;
  display: block; right: auto; bottom: auto;
}
.table-wrap:has(> table > tbody[id]:empty) { position: relative; min-height: 130px; }
.table-wrap:has(> table > tbody[id]:empty)::after { top: auto; bottom: 34px; margin-top: 0; }
#my-servers:empty, .server-grid:empty { grid-template-columns: 1fr; }

/* ---------- Öffentliche Statusseite ---------- */
body.pub { min-height: 100vh; }
.pub-wrap { max-width: 760px; margin: 0 auto; padding: 40px 18px 30px; display: grid; gap: 14px; }
.pub-logo { width: 150px; margin: 0 auto 10px; display: block; }
.pub-head { display: flex; align-items: center; gap: 16px; }
.pub-title { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.pub-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--dim); flex: 0 0 16px; }
.pub-up .pub-dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(32, 201, 139, .6); animation: ping 2s infinite; }
.pub-down { border-color: rgba(255, 77, 106, .5); }
.pub-down .pub-dot { background: var(--err); animation: pulse 1.6s infinite; }
.pub-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pub-meta { display: flex; gap: 8px; color: var(--dim); font-size: 12px; margin-top: 8px; }
.pub-foot { text-align: center; color: var(--dim); font-size: 12px; margin-top: 8px; }
td.skel-block { display: table-cell; height: 130px; }

/* =====================================================================
   v2.0 – Feedback & Ideen, Beta-Kennzeichnung
   ===================================================================== */
.beta-chip { display: inline-block; margin-left: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px;
  color: #04121f; background: linear-gradient(135deg, #5fe0ff, #2e8bff); box-shadow: 0 0 14px rgba(0, 170, 255, .55); vertical-align: 1px; }
.side nav a.nav-feedback { margin-top: 6px; border: 1px dashed rgba(90, 170, 255, .35); background: rgba(var(--brand-rgb),  .06); }
.side nav a.nav-feedback:hover { border-style: solid; }
.fb-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fb-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip.on { background: linear-gradient(135deg, rgba(0, 90, 255, .55), rgba(0, 170, 255, .38)); border-color: rgba(90, 170, 255, .6); color: #fff; }
.fb-done { display: grid; gap: 10px; }
.fb-done-row { display: flex; gap: 10px; align-items: flex-start; animation: tilein .5s var(--ease) both; }
.fb-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: 0 0 22px;
  color: #04120c; background: linear-gradient(135deg, #38f0b0, #12b981); box-shadow: 0 0 12px rgba(32, 201, 139, .5); }
.fb-list { display: grid; gap: 12px; }
.fb-item { display: flex; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); animation: tilein .45s var(--ease) both;
  background: linear-gradient(180deg, rgba(17, 26, 46, .85), rgba(9, 14, 26, .9)); }
.fb-item.st-done { border-color: rgba(32, 201, 139, .35); }
.fb-item.st-declined, .fb-item.st-duplicate { opacity: .75; }
.fb-vote { flex: 0 0 54px; height: 62px; border-radius: 12px; border: 1px solid var(--border2); background: rgba(10, 18, 36, .8); color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; font: inherit; transition: all .2s; }
.fb-vote b { font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
.fb-vote:hover:not([disabled]) { border-color: var(--blue2); color: var(--blue2); transform: translateY(-2px); }
.fb-vote.on { border-color: var(--blue2); color: #fff; background: linear-gradient(160deg, rgba(0, 90, 255, .5), rgba(0, 170, 255, .3)); box-shadow: 0 6px 20px -8px rgba(var(--brand-rgb),  .9); }
.fb-vote[disabled] { cursor: default; opacity: .55; }
.fb-arrow { font-size: 12px; }
.fb-main { min-width: 0; }
.fb-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fb-title { margin: 8px 0 4px; font-size: 15px; color: var(--text); text-transform: none; letter-spacing: -.005em; font-weight: 650; }
.fb-body { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fb-body.open { display: block; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue2); cursor: pointer; font: inherit; font-size: 12.5px; }
.fb-meta { margin-top: 6px; font-size: 12px; }
.fb-reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--blue2); border-radius: 0 10px 10px 0; background: rgba(var(--brand-rgb),  .08); }
.fb-reply b { font-size: 12px; color: var(--blue2); }
.fb-reply p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-admin { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border2); }
.fb-pub { align-self: end; padding-bottom: 10px; }
.fb-empty { padding: 30px; }
@media (max-width: 900px) { .fb-layout { grid-template-columns: 1fr; } }
.toast-report { margin-left: 10px; font-weight: 650; font-size: 12.5px; color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* =====================================================================
   v2.1 – Als Benutzer anmelden (Admin-Ansicht)
   ===================================================================== */
.imp-box { margin: 10px 12px 0; padding: 12px; border-radius: 14px; border: 1px solid rgba(245, 165, 36, .55);
  background: linear-gradient(160deg, rgba(245, 165, 36, .16), rgba(245, 120, 36, .06)); box-shadow: 0 0 24px -8px rgba(245, 165, 36, .6);
  animation: tilein .5s var(--ease) both; }
.imp-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #ffd27a; }
.imp-head b { color: #fff; }
.imp-eye { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(245, 165, 36, .2); flex: 0 0 26px; }
.imp-eye svg { width: 15px; height: 15px; }
.imp-note { margin: 8px 0 10px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.imp-back { width: 100%; justify-content: center; color: #1a1205; font-weight: 700; border: 0;
  background: linear-gradient(135deg, #ffd166, #f59e0b); box-shadow: 0 6px 18px -8px rgba(245, 165, 36, .9); }
.imp-back:hover { filter: brightness(1.08); transform: translateY(-1px); }
body.impersonating .main::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60;
  background: repeating-linear-gradient(90deg, #f59e0b 0 18px, #ffd166 18px 36px); animation: impstripe 1.2s linear infinite; }
@keyframes impstripe { to { background-position: 36px 0; } }
body.impersonating .side { box-shadow: inset -1px 0 0 rgba(245, 165, 36, .35); }
.imp-btn { border-color: rgba(245, 165, 36, .45); color: #ffd27a; }
.imp-btn:hover { background: rgba(245, 165, 36, .12); }

/* =====================================================================
   v2.2 – App-Katalog & Traffic für Kunden
   ===================================================================== */
.apps-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.app-seg button { white-space: nowrap; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-top: 16px; }
.app-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 26, 46, .85), rgba(9, 14, 26, .9)); animation: tilein .45s var(--ease) both; transition: border-color .2s, transform .2s; }
.app-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.app-card.blocked { opacity: .6; }
.app-card .btn { align-self: center; flex: 0 0 auto; }
.app-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px; flex: 0 0 46px;
  background: radial-gradient(circle at 30% 25%, rgba(120, 170, 255, .28), rgba(0, 60, 160, .12)); border: 1px solid rgba(90, 150, 255, .28); }
.app-ic.big { width: 58px; height: 58px; flex-basis: 58px; font-size: 30px; border-radius: 16px; }
.app-main { min-width: 0; }
.app-top { display: flex; align-items: center; gap: 10px; }
.app-top b { font-size: 15px; }
.app-desc { margin: 4px 0 8px; font-size: 13px; line-height: 1.45; }
.app-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.app-block { margin-top: 8px; font-size: 12.5px; color: #ffd27a; }
.app-mhead { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.app-mhead h2 { margin: 0 0 2px; }
.app-mhead p { margin: 0; }
.app-dlg .form-grid { margin-bottom: 6px; }
.app-check { margin: 4px 0; }
.app-check.req { color: #ffd27a; }
.app-note { margin: 12px 0 14px; font-size: 12.5px; }
.inst-list { display: grid; gap: 14px; margin-top: 16px; }
.inst-card { padding: 16px; border-radius: 16px; border: 1px solid var(--border); animation: tilein .45s var(--ease) both;
  background: linear-gradient(180deg, rgba(17, 26, 46, .85), rgba(9, 14, 26, .9)); }
.inst-card.st-running { border-color: rgba(var(--brand-rgb),  .45); box-shadow: 0 0 30px -14px rgba(var(--brand-rgb),  .8); }
.inst-card.st-failed { border-color: rgba(255, 77, 106, .4); }
.app-prog { margin-top: 14px; }
.app-meter { margin: 10px 0; height: 8px; }
.app-meter .meter-fill { width: 3%; transition: width .8s var(--ease); background: linear-gradient(90deg, var(--brand1), var(--brand2), #66e0ff); background-size: 200% 100%; animation: lbflow 1.4s linear infinite; }
.spin-sm { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(110, 140, 210, .25); border-top-color: var(--blue2); animation: spin .8s linear infinite; flex: 0 0 16px; }
.app-log { margin: 8px 0 0; max-height: 260px; overflow: auto; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5;
  background: rgba(2, 5, 12, .75); border: 1px solid var(--border); white-space: pre-wrap; overflow-wrap: anywhere; color: #b8c6e6; }
.app-log.tall { max-height: 62vh; }
.app-prog summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
.app-results { display: grid; gap: 6px; margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(var(--brand-rgb),  .06); border: 1px solid rgba(80, 150, 255, .18); }
.kv-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.kv-row > .dim { min-width: 150px; }
.kv-row code { font-size: 12.5px; padding: 2px 8px; border-radius: 6px; background: rgba(2, 5, 12, .6); overflow-wrap: anywhere; }
.app-console { margin-top: 10px; gap: 8px; }
.app-console input { font-size: 13px; }
.apps-toggles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px; }
.tr-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tr-meter { height: 10px; margin: 12px 0; }
.tr-meter .meter-fill { width: 0; transition: width 1.2s var(--ease); }
.tr-meter.warn .meter-fill { background: linear-gradient(90deg, #f59e0b, #ffd166); }
.tr-meter.crit .meter-fill { background: linear-gradient(90deg, #ff3b5c, #ff8aa0); }
.apps-box:empty, .tr-box:empty { position: relative; min-height: 160px; }
.apps-box:empty::after, .tr-box:empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 3px solid rgba(110, 140, 210, .18); border-top-color: var(--blue2); animation: spin .8s linear infinite; }
@media (max-width: 900px) { .tr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .app-grid { grid-template-columns: 1fr; } }
.app-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.app-foot .app-block { margin-top: 0; }
.app-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.quota-lead { font-size: 16px; margin: 4px 0 0; color: var(--text); }
.quota-scale { display: flex; justify-content: space-between; font-size: 12px; margin-top: -4px; }
.quota-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.quota-facts span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; }
.quota-facts p { margin: 4px 0 0; color: var(--muted); line-height: 1.45; }
.quota .notice { margin: 14px 0 0; }
@media (max-width: 900px) { .quota-facts { grid-template-columns: 1fr; } }

/* =====================================================================
   v2.3 – Werkzeuge: Netzwerk-Check, Systeminfo, SSH-Schlüssel
   ===================================================================== */
.nc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nc-tool { padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(8, 14, 28, .55); display: flex; flex-direction: column; }
.nc-tool p { margin: 4px 0 10px; font-size: 12.5px; flex: 1; }
.nc-tool .row { gap: 8px; }
.nc-tool input { min-width: 0; }
.nc-results { display: grid; gap: 8px; margin-top: 14px; }
.nc-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); animation: tilein .35s var(--ease) both; }
.nc-row.ok { border-color: rgba(32, 201, 139, .35); background: rgba(32, 201, 139, .06); }
.nc-row.bad { border-color: rgba(255, 77, 106, .35); background: rgba(255, 77, 106, .05); }
.nc-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: 0 0 26px; }
.nc-row.ok .nc-ic { background: linear-gradient(135deg, #38f0b0, #12b981); color: #04120c; }
.nc-row.bad .nc-ic { background: linear-gradient(135deg, #ff8aa0, #ff3b5c); color: #1c0408; }
.si-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 10px 0; }
.si-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.si-kv > div { padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(8, 14, 28, .55); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.si-kv span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.si-kv b { overflow-wrap: anywhere; }
.si-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.si-grid h3 { font-size: 13px; margin: 0 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.si-res { margin-bottom: 12px; font-size: 13px; }
.si-res .meter { margin-top: 6px; }
.si-res .meter-fill { width: 0; transition: width 1s var(--ease); }
.si-res .meter.warn .meter-fill { background: linear-gradient(90deg, #f59e0b, #ffd166); }
.si-res .meter.crit .meter-fill { background: linear-gradient(90deg, #ff3b5c, #ff8aa0); }
.si-ports { display: grid; gap: 6px; }
.si-port { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.si-local, .si-ts { font-size: 12px; margin: 10px 0 0; }
.ssh-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.ssh-ic { font-size: 18px; }
.ssh-add { margin-top: 12px; grid-template-columns: 1fr 2fr; }
.ssh-picks { display: grid; gap: 4px; }
.sysinfo:empty, .netcheck:empty, .sshpush:empty { min-height: 0; }
@media (max-width: 1100px) { .nc-grid, .si-kv { grid-template-columns: 1fr 1fr; } .si-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .nc-grid, .si-kv, .ssh-add { grid-template-columns: 1fr; } }

/* =====================================================================
   v2.4 – aufgeräumte Serverseiten
   ===================================================================== */
.tabs.tabs-src { display: none; }
.vnav { margin: 4px 0 18px; }
.vnav-groups { display: flex; gap: 6px; padding: 5px; border-radius: 16px; border: 1px solid var(--border); background: rgba(8, 13, 25, .7);
  backdrop-filter: blur(8px); overflow-x: auto; scrollbar-width: none; }
.vnav-groups::-webkit-scrollbar { display: none; }
.vnav-groups button { flex: 1 1 0; min-width: max-content; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px;
  border: 0; border-radius: 11px; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: color .2s, background .2s; }
.vnav-groups button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 17px; }
.vnav-groups button small { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: rgba(120, 150, 220, .14); color: var(--dim); }
.vnav-groups button:hover:not(.on) { color: var(--text); background: rgba(80, 130, 255, .07); }
.vnav-groups button.on { color: #fff; background: linear-gradient(135deg, rgba(0, 90, 255, .55), rgba(0, 170, 255, .38));
  box-shadow: 0 0 0 1px rgba(90, 170, 255, .35), 0 6px 22px -8px rgba(0, 130, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .16); }
.vnav-groups button.on small { background: rgba(255, 255, 255, .2); color: #fff; }
.vnav-sub { display: flex; gap: 4px; margin-top: 10px; padding: 0 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.vnav-sub.empty { display: none; }
.vnav-sub button { position: relative; padding: 9px 14px 11px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: color .2s; }
.vnav-sub button:hover { color: var(--text); }
.vnav-sub button.on { color: #fff; }
.vnav-sub button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #0a6bff, #22c7ff); box-shadow: 0 0 10px rgba(0, 160, 255, .8); }
.pane-head { margin: 2px 0 14px; }
.pane-head h2 { margin: 0; font-family: var(--display); font-size: 19px; letter-spacing: -.015em; }
.pane-head p { margin: 4px 0 0; font-size: 13.5px; }
/* gleichmäßiger Abstand zwischen allen Karten eines Bereichs */
[data-pane] > .field:empty, .mon-box > .field:empty, .fw-box > .field:empty, .apps-box > .field:empty, .tr-box > .field:empty,
#up-box > .field:empty, .grid-2 > .field:empty { display: none; }
[data-pane] > * + *, .mon-box > * + *, .fw-box > * + *, .tr-box > * + *, #up-box > * + * { margin-top: 16px; }
[data-pane] > .pane-head + * { margin-top: 0; }
[data-pane] > div:empty:not([class]) { display: none; }
body.boot-reveal .vnav { animation: tilein .7s .25s var(--ease) both; }
@media (max-width: 900px) { .vnav-groups button { flex: 0 0 auto; padding: 9px 12px; font-size: 13px; } }
.access-grid { align-items: stretch; }
.access-grid > .sshpush > .card { height: 100%; }
.danger-zone { border-color: rgba(255, 77, 106, .35); background: linear-gradient(180deg, rgba(40, 12, 22, .55), rgba(9, 14, 26, .92)); }
.danger-zone .form-grid.three textarea { min-height: 42px; }

/* =====================================================================
   v2.5 – Systeminfo & Werkzeuge
   ===================================================================== */
.si-top { margin-bottom: 12px; }
.si-health { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); margin-bottom: 16px; animation: tilein .4s var(--ease) both; }
.si-health.ok { border-color: rgba(32, 201, 139, .35); background: rgba(32, 201, 139, .06); }
.si-health.warn { border-color: rgba(245, 165, 36, .4); background: rgba(245, 165, 36, .06); }
.si-health-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: 0 0 30px; }
.si-health.ok .si-health-ic { background: linear-gradient(135deg, #38f0b0, #12b981); color: #04120c; }
.si-health.warn .si-health-ic { background: linear-gradient(135deg, #ffd166, #f59e0b); color: #1a1205; }
.si-health ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.si-cols { columns: 2 380px; column-gap: 16px; }
.si-card { break-inside: avoid; margin: 0 0 16px; display: block; }
.kv2 { display: grid; grid-template-columns: 170px 1fr; gap: 2px 12px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.kv2:last-child { border-bottom: 0; }
.kv2 > .dim { grid-row: span 2; }
.kv2 > b { overflow-wrap: anywhere; font-weight: 600; }
.kv2 small { grid-column: 2; }
.kv2.bad > b { color: #ff8aa0; }
.si-last { padding: 8px 0 0; font-size: 13px; display: grid; gap: 6px; }
.si-last .row { gap: 10px; }
.tb { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; }
.tb-nav { display: grid; gap: 6px; position: sticky; top: 76px; }
.tb-nav button { text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(8, 14, 28, .55); color: var(--text); font: inherit; cursor: pointer; display: grid; gap: 2px; transition: border-color .2s, background .2s; }
.tb-nav button small { color: var(--dim); font-size: 12px; }
.tb-nav button:hover { border-color: var(--border2); }
.tb-nav button.on { border-color: rgba(90, 170, 255, .55); background: linear-gradient(135deg, rgba(0, 90, 255, .32), rgba(0, 170, 255, .16)); box-shadow: 0 6px 22px -12px rgba(0, 130, 255, .9); }
.tb-out { min-height: 300px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(17, 26, 46, .85), rgba(9, 14, 26, .9)); min-width: 0; }
.tb-head { gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.tb-hint { margin: 12px 0 0; font-size: 12.5px; }
.svc-list { display: grid; }
.svc-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.svc-row .dot { width: 8px; height: 8px; }
.svc-row .grow { min-width: 200px; }
.svc-row.st-failed { background: rgba(255, 77, 106, .05); }
.du-list { display: grid; gap: 4px; }
.du-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 6px 0; font-size: 13px; }
.du-bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(110, 140, 210, .12); overflow: hidden; }
.du-bar > div { height: 100%; width: 0; background: linear-gradient(90deg, #0a6bff, #22c7ff); transition: width .9s var(--ease); }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qa { padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(8, 14, 28, .55); display: flex; flex-direction: column; }
.qa p { margin: 4px 0 12px; font-size: 12.5px; flex: 1; }
.qa .row { gap: 8px; }
@media (max-width: 1000px) { .tb { grid-template-columns: 1fr; } .tb-nav { position: static; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } .qa-grid { grid-template-columns: 1fr; } .kv2 { grid-template-columns: 1fr; } .kv2 > .dim { grid-row: auto; } .kv2 small { grid-column: 1; } }

/* ===================== v2.6 – Einfacher Modus / Profi-Modus ===================== */
body[data-mode="simple"] [data-adv] { display: none !important; }
body[data-mode="pro"] [data-simple] { display: none !important; }
body[data-mode="simple"] .access-grid { grid-template-columns: 1fr; }

.mode-box { margin: 18px 4px 6px; padding: 12px 10px 10px; border-top: 1px solid rgba(40, 80, 160, .25); }
.mode-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px;
  background: rgba(8, 14, 28, .8); border: 1px solid rgba(60, 110, 200, .3); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45); }
.mode-switch button { position: relative; z-index: 1; appearance: none; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--dim); padding: 7px 0; border-radius: 999px;
  transition: color .25s var(--ease); }
.mode-switch button:hover { color: var(--text); }
.mode-switch button[aria-checked="true"] { color: #fff; }
.mode-switch button:focus-visible { outline: 2px solid var(--blue2); outline-offset: 2px; }
.mode-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--brand2)); box-shadow: 0 2px 12px rgba(var(--brand-rgb),  .45), inset 0 1px 0 rgba(255, 255, 255, .2); }
body[data-mode="pro"] .mode-thumb { transform: translateX(100%); background: linear-gradient(135deg, #6a3dff, var(--blue)); box-shadow: 0 2px 12px rgba(110, 70, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .2); }
.mode-switch.ready .mode-thumb { transition: transform .35s cubic-bezier(.5, 1.5, .5, 1), background .35s, box-shadow .35s; }
.mode-hint { margin: 8px 4px 0; font-size: 11.5px; line-height: 1.4; color: var(--dim); }
@media (prefers-reduced-motion: reduce) { .mode-switch.ready .mode-thumb { transition: none; } }

/* ===================== v2.7 – Einfacher Modus (strenger), Identität, Verbinden, Leistungstest, Neu ===================== */
body[data-mode="simple"] .my-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Farben */
.acc-none { --acc: transparent; }
.acc-blue { --acc: #3a7bff; } .acc-cyan { --acc: #13c6e8; } .acc-green { --acc: #20c98b; } .acc-yellow { --acc: #f5c524; }
.acc-orange { --acc: #ff8a3d; } .acc-red { --acc: #ff4d6a; } .acc-pink { --acc: #ff5fb4; } .acc-purple { --acc: #8b5cff; }
.srv:not(.acc-none) { box-shadow: inset 0 3px 0 var(--acc), 0 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent); }
.srv:not(.acc-none) .srv-name { color: color-mix(in srgb, var(--acc) 35%, #fff); }
.srv-card-desc { margin: -4px 0 8px; font-size: 13px; color: #b9c6e6; line-height: 1.4; }

/* Kopf mit Name, Stift und Beschreibung */
.ident-head h1 { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ident-head .accent-dot { display: none; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); flex: none; }
.ident-head:not(.acc-none) .accent-dot { display: inline-block; }
.ident-edit { -webkit-text-fill-color: initial; color: var(--dim); background: rgba(20, 32, 60, .6); border: 1px solid var(--border); border-radius: 9px;
  width: 30px; height: 30px; display: inline-grid; place-items: center; cursor: pointer; padding: 0; transition: color .2s, border-color .2s, background .2s; }
.ident-edit svg { width: 16px; height: 16px; }
.ident-edit:hover, .ident-edit:focus-visible { color: #fff; border-color: var(--blue2); background: rgba(var(--brand-rgb),  .2); outline: none; }
.srv-desc { margin: 4px 0 2px; color: #c7d3f0; font-size: 14.5px; max-width: 70ch; }

/* Dialog „Server bearbeiten“ */
.id-dlg { width: min(520px, calc(100vw - 32px)); }
.id-form h2 { margin: 0 0 14px; }
.id-form input[type="text"], .id-form textarea { width: 100%; }
.id-prev, .id-cnt { display: block; margin-top: 5px; }
.id-prev.bad { color: var(--err); }
.id-cnt { text-align: right; }
.id-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.id-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); background: var(--acc); cursor: pointer; padding: 0;
  transition: transform .15s, border-color .15s, box-shadow .15s; }
.id-sw.acc-none { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .1) 0 4px, transparent 4px 8px); }
.id-sw:hover { transform: scale(1.1); }
.id-sw[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(var(--brand-rgb),  .45); }
.id-os { display: block; margin: 4px 0 6px; }
.id-btns { justify-content: flex-end; margin-top: 16px; }

/* Verbinden */
.connect-card { margin-bottom: 16px; }
.cn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.cn-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 11px; background: rgba(8, 14, 28, .45); min-width: 0; }
.cn-label { font-size: 12px; min-width: 70px; }
.cn-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6eeff; }
.cn-copy { flex: none; }
.cn-more { margin: 10px 2px 0; }
.cn-apps { margin-top: 14px; display: grid; gap: 8px; }
.cn-app { display: grid; grid-template-columns: 34px 150px 1fr; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--border); }
.cn-app-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 17px;
  background: color-mix(in srgb, var(--c, #3a7bff) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c, #3a7bff) 45%, transparent); }
.cn-app-items { display: grid; gap: 4px; min-width: 0; }
.cn-app-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cn-app-item > .dim { min-width: 70px; font-size: 12px; }
.cn-app-item > .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) { .cn-app { grid-template-columns: 34px 1fr; } .cn-app-items { grid-column: 1 / -1; } }


/* Leistungstest */
.bn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 4px; }
.bn-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 13px; border: 1px solid var(--border); background: rgba(8, 14, 28, .5); }
.bn-card.g-great { border-color: rgba(32, 201, 139, .35); }
.bn-card.g-slow { border-color: rgba(245, 165, 36, .35); }
.bn-card.none { opacity: .7; }
.bn-card .badge { align-self: flex-start; }
.bn-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.bn-val b { font-size: 26px; font-family: var(--display); letter-spacing: -.02em; }
.bn-when { margin: 12px 2px 0; }
.bn-hist { margin-top: 18px; }
.bn-hist h3 { font-size: 14px; margin: 0 0 8px; }
.bn-run { display: flex; align-items: center; gap: 14px; padding: 26px; border: 1px dashed var(--border2); border-radius: 13px; }
.bn-empty { padding: 26px; text-align: center; border: 1px dashed var(--border); border-radius: 13px; }

/* Neu im Panel */
.wn-dlg { width: min(560px, calc(100vw - 32px)); }
.wn-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wn-head h2 { margin: 0; }
.wn-badge { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 3px 9px; border-radius: 99px;
  background: linear-gradient(135deg, var(--blue), #8b5cff); box-shadow: 0 0 14px rgba(110, 90, 255, .5); }
.wn-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.wn-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 9px 4px; border-bottom: 1px solid rgba(60, 100, 180, .15); }
.wn-list li:last-child { border-bottom: 0; }
.wn-ic { font-size: 20px; line-height: 1.3; text-align: center; }
.wn-list p { margin: 2px 0 0; font-size: 13.5px; }
.wn-pro { margin-left: 8px; font-size: 10.5px; padding: 1px 7px; }
.wn-btns { justify-content: space-between; margin-top: 14px; }
.cn-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, .75fr); }
@media (max-width: 1100px) { .cn-grid { grid-template-columns: minmax(0, 1fr); } }
.id-form textarea { font-family: inherit; resize: vertical; }

/* ===================== v2.8 – Werkzeuge: Dateien, Netzwerk-Diagnose, Sicherheits-Check ===================== */
.tb-nav { gap: 4px; position: static; }
.tb-nav button { padding: 8px 12px; }
.tb-nav button small { font-size: 11.5px; line-height: 1.3; }
.tb-sec { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 12px 4px 2px; }
.tb-sec:first-child { margin-top: 0; }
.tb-pre { margin: 8px 0 0; padding: 12px; border-radius: 10px; background: rgba(4, 8, 18, .8); border: 1px solid var(--border); font-size: 12.5px;
  line-height: 1.45; max-height: 320px; overflow: auto; white-space: pre; color: #cfe0ff; }
.chip-btn { appearance: none; border: 1px solid var(--border); background: rgba(8, 14, 28, .5); color: #c9d6f5; border-radius: 99px; padding: 4px 11px;
  font: inherit; font-size: 12px; font-family: var(--mono, ui-monospace, monospace); cursor: pointer; transition: border-color .2s, background .2s; }
.chip-btn:hover { border-color: var(--border2); }
.chip-btn.on { border-color: rgba(90, 170, 255, .55); background: rgba(var(--brand-rgb),  .2); color: #fff; }

/* Dateien */
.fm-head { flex-wrap: wrap; }
.fm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 13.5px; }
.fm-crumb { appearance: none; background: none; border: 0; color: #dbe6ff; font: inherit; cursor: pointer; padding: 3px 5px; border-radius: 6px; }
.fm-crumb:hover { background: rgba(var(--brand-rgb),  .18); color: #fff; }
.fm-quick { flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.fm-go { flex: 1 1 260px; min-width: 200px; font-size: 13px; }
.fm-table { max-height: 560px; overflow: auto; }
.fm-table td { padding-top: 7px; padding-bottom: 7px; }
.fm-ic { width: 28px; font-size: 15px; }
.fm-name { appearance: none; background: none; border: 0; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-align: left; }
.fm-name:hover { color: var(--blue2); text-decoration: underline; }
.fm-target { font-size: 12px; }
.fm-mode { font-size: 12px; white-space: nowrap; }
.fm-path { word-break: break-all; font-size: 13.5px; }
.fm-state.dirty { color: var(--warn); font-weight: 600; }
.fm-editor { display: block; width: 100%; min-height: 460px; resize: vertical; tab-size: 4; font-size: 13px; line-height: 1.5; white-space: pre;
  background: rgba(4, 8, 18, .85); color: #e4ecff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-top: 8px; }
.fm-editor:focus { outline: none; border-color: rgba(90, 170, 255, .55); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),  .15); }
.fm-noedit { padding: 30px; text-align: center; }

/* Netzwerk-Diagnose */
.dg-hint { margin: 10px 2px; }
.dg-form { gap: 8px; margin-bottom: 14px; }
.dg-form input { font-size: 14px; }
.dg-bigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.dg-big { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(8, 14, 28, .5); }
.dg-big b { font-size: 20px; font-family: var(--display); }
.dg-big.good b { color: var(--ok); } .dg-big.warn b { color: var(--warn); } .dg-big.bad b { color: var(--err); }
.dg-raw { margin-top: 12px; }
.dg-raw summary { cursor: pointer; color: var(--dim); font-size: 13px; }
.dg-hops { display: grid; gap: 4px; }
.dg-hop { display: grid; grid-template-columns: 30px minmax(150px, 220px) 1fr 80px; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 9px; background: rgba(8, 14, 28, .45); }
.dg-hop.none { opacity: .55; }
.dg-n { color: var(--dim); font-weight: 700; text-align: right; }
.dg-bar { height: 6px; border-radius: 99px; background: rgba(40, 70, 130, .35); overflow: hidden; }
.dg-bar-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue), #00c8ff); transition: width .6s var(--ease); }
.dg-dns h3 { font-size: 13px; margin: 12px 0 6px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.dg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-recs { display: grid; gap: 4px; }
.dg-rec { display: flex; gap: 10px; align-items: center; }

/* Sicherheits-Check */
.sc-top { display: flex; gap: 20px; align-items: center; margin-bottom: 16px; }
.sc-top h3 { margin: 0 0 4px; font-size: 19px; }
.sc-top p { margin: 2px 0; }
.sc-grade { --g: var(--ok); width: 92px; height: 92px; flex: none; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 0;
  border: 3px solid var(--g); box-shadow: 0 0 26px -4px var(--g), inset 0 0 22px -8px var(--g); background: rgba(8, 14, 28, .6); }
.sc-grade b { font-size: 38px; line-height: 1; font-family: var(--display); color: var(--g); }
.sc-grade small { color: var(--dim); font-size: 12px; }
.sc-grade.g-B { --g: #7bd88f; } .sc-grade.g-C { --g: var(--warn); } .sc-grade.g-D { --g: #ff8a3d; } .sc-grade.g-E { --g: var(--err); }
.sc-list { display: grid; gap: 8px; }
.sc-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(8, 14, 28, .45); }
.sc-item p { margin: 2px 0 0; font-size: 13.5px; }
.sc-item .btn { align-self: center; flex: none; }
.sc-ic { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.sc-item.s-ok .sc-ic { color: var(--ok); background: rgba(32, 201, 139, .14); }
.sc-item.s-warn .sc-ic { color: var(--warn); background: rgba(245, 165, 36, .14); }
.sc-item.s-bad { border-color: rgba(255, 77, 106, .35); }
.sc-item.s-bad .sc-ic { color: var(--err); background: rgba(255, 77, 106, .14); }
@media (max-width: 720px) { .dg-hop { grid-template-columns: 26px 1fr 70px; } .dg-bar { display: none; } .sc-top { flex-direction: column; align-items: flex-start; } }
.sc-top h3 { text-transform: none; letter-spacing: -.01em; color: #fff; }

/* ===================== v2.9 – Spieler online, Discord, Geplante Befehle, Befehl ausführen ===================== */
.players-card { margin-bottom: 16px; }
.pl-list { display: grid; gap: 10px; }
.pl-row { display: grid; grid-template-columns: 44px 1fr 150px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 13px;
  border: 1px solid var(--border); background: rgba(8, 14, 28, .45); }
.pl-row.off { opacity: .75; }
.pl-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px;
  background: color-mix(in srgb, var(--c) 20%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.pl-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--err); box-shadow: 0 0 8px var(--err); }
.pl-dot.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pl-pulse 2.4s ease-in-out infinite; }
@keyframes pl-pulse { 50% { box-shadow: 0 0 14px var(--ok); } }
.pl-title { margin-top: 3px; color: #dbe6ff; font-size: 14px; }
.pl-meta { font-size: 12.5px; margin-top: 2px; }
.pl-names { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.pl-count { text-align: right; }
.pl-count b { font-size: 28px; font-family: var(--display); letter-spacing: -.02em; }
.pl-bar { height: 5px; border-radius: 99px; background: rgba(40, 70, 130, .35); overflow: hidden; margin-top: 6px; }
.pl-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #20c98b, #13c6e8); transition: width .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .pl-dot.on { animation: none; } }
@media (max-width: 720px) { .pl-row { grid-template-columns: 40px 1fr; } .pl-count { grid-column: 1 / -1; text-align: left; } }

/* Discord */
.dc-body { display: grid; gap: 14px; }
.dc-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 11px; border: 1px solid rgba(88, 101, 242, .45);
  background: rgba(88, 101, 242, .12); }
.dc-ok { color: #a5b0ff; font-weight: 700; }
.dc-kinds { display: grid; gap: 6px; }
.dc-kinds-h { font-size: 12.5px; }
.dc-body input[type="url"] { width: 100%; }

/* Geplante Befehle */
.cj-list { display: grid; gap: 10px; }
.cj-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 14px; border-radius: 13px; border: 1px solid var(--border); background: rgba(8, 14, 28, .45); }
.cj-item.off { opacity: .6; }
.cj-main { min-width: 0; display: grid; gap: 6px; }
.cj-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cj-cmd { display: block; font-size: 12.5px; color: #cfe0ff; background: rgba(4, 8, 18, .6); padding: 6px 9px; border-radius: 8px; white-space: pre-wrap; word-break: break-all; }
.cj-last summary { cursor: pointer; font-size: 13px; }
.cj-ok { color: var(--ok); font-weight: 600; } .cj-bad { color: var(--err); font-weight: 600; }
.cj-never { font-size: 12.5px; }
.cj-btns { flex: none; flex-wrap: wrap; justify-content: flex-end; max-width: 260px; }
.cj-sw { appearance: none; flex: none; width: 38px; height: 22px; margin-top: 2px; border-radius: 99px; background: rgba(60, 80, 120, .5); border: 1px solid var(--border);
  position: relative; cursor: pointer; transition: background .2s; }
.cj-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #cdd8f5; transition: transform .2s var(--ease); }
.cj-sw:checked { background: linear-gradient(135deg, var(--blue), var(--brand2)); }
.cj-sw:checked::after { transform: translateX(16px); background: #fff; }
.cj-sw:focus-visible { outline: 2px solid var(--blue2); outline-offset: 2px; }
.cj-dlg { width: min(620px, calc(100vw - 32px)); }
.cj-tpl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.cj-sched { gap: 8px; flex-wrap: wrap; align-items: center; }
.cj-when { gap: 8px; align-items: center; flex-wrap: wrap; }
.cj-when input[type="number"] { width: 80px; }
.cj-when input[type="text"] { width: 240px; }
.cj-prev { margin-top: 8px; font-size: 13.5px; }
.id-form textarea.mono { font-family: var(--mono, ui-monospace, monospace); }
@media (max-width: 720px) { .cj-item { flex-wrap: wrap; } .cj-btns { max-width: none; justify-content: flex-start; } }

/* Befehl ausführen */
.run-form { gap: 8px; align-items: stretch; margin-bottom: 10px; }
.run-in { flex: 1; resize: vertical; min-height: 44px; font-size: 13.5px; background: rgba(4, 8, 18, .8); }
.run-quick, .run-hist { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.run-term { margin-top: 10px; border-radius: 12px; border: 1px solid var(--border); background: #050a14; overflow: hidden; }
.run-cmd { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(60, 100, 180, .2); font-family: var(--mono, ui-monospace, monospace);
  font-size: 13px; color: #e6eeff; background: rgba(20, 32, 60, .45); flex-wrap: wrap; }
.run-ps { color: var(--ok); font-weight: 700; }
.run-out { margin: 0; padding: 12px; font-size: 12.5px; line-height: 1.45; color: #cfe0ff; white-space: pre-wrap; word-break: break-word; max-height: 520px; overflow: auto; }
.run-wait { padding: 14px 12px; color: var(--dim); display: flex; gap: 10px; align-items: center; }
.run-note { padding: 0 12px 10px; font-size: 12px; }
.cj-sched { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; }
.cj-when select { width: auto; min-width: 140px; }
.cj-when input[type="time"] { width: 130px; }
@media (max-width: 620px) { .cj-sched { grid-template-columns: 1fr; } }

/* ===================== v3.0 – Push, Spieler verwalten, Hoch-/Herunterladen ===================== */
.pu-body { display: grid; gap: 14px; }
.pu-row { gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(8, 14, 28, .45); }
.pu-on { border-color: rgba(32, 201, 139, .45); background: rgba(32, 201, 139, .1); }
.pu-on .dc-ok { color: var(--ok); }
.pu-devs { display: grid; gap: 6px; }
.pu-dev { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); }
.app-install { margin-top: 10px; width: 100%; appearance: none; border: 1px dashed rgba(90, 170, 255, .45); background: rgba(var(--brand-rgb),  .1); color: #cfe0ff;
  border-radius: 10px; padding: 8px; font: inherit; font-size: 12.5px; cursor: pointer; }
.app-install:hover { background: rgba(var(--brand-rgb),  .2); color: #fff; }

.pl-name { cursor: pointer; border: 1px solid var(--border); background: rgba(20, 32, 60, .5); color: #dbe6ff; font: inherit; font-size: 12px; }
.pl-name:hover { border-color: var(--blue2); color: #fff; }
.pl-toggle { appearance: none; margin-top: 8px; border: 0; background: none; color: var(--blue2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }
.pl-toggle:hover { text-decoration: underline; }
.pl-manage { margin-top: 10px; display: grid; gap: 8px; padding: 12px; border-radius: 11px; border: 1px solid rgba(90, 170, 255, .25); background: rgba(4, 10, 24, .55); }
.pl-mrow { gap: 8px; align-items: center; flex-wrap: wrap; }
.pl-mrow input { flex: 1 1 200px; min-width: 160px; }
.pl-mlabel { width: 22px; text-align: center; }

.fm-act { width: 36px; text-align: right; }
.fm-dl { appearance: none; border: 1px solid var(--border); background: rgba(20, 32, 60, .5); color: #cfe0ff; border-radius: 8px; width: 28px; height: 26px;
  cursor: pointer; font-size: 13px; opacity: .55; transition: opacity .15s, border-color .15s; }
tr:hover .fm-dl, .fm-dl:focus-visible { opacity: 1; }
.fm-dl:hover { border-color: var(--blue2); color: #fff; }
.fm-trans { display: grid; gap: 6px; margin-top: 10px; }
.fm-trans:empty { display: none; }
.fm-tr { display: grid; grid-template-columns: minmax(120px, 260px) 1fr minmax(160px, auto); gap: 12px; align-items: center; padding: 8px 12px;
  border-radius: 10px; border: 1px solid var(--border); background: rgba(8, 14, 28, .6); font-size: 13px; }
.fm-tr-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-tr-bar { height: 6px; border-radius: 99px; background: rgba(40, 70, 130, .35); overflow: hidden; }
.fm-tr-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #00c8ff); transition: width .25s; }
.fm-tr.ok .fm-tr-fill { background: var(--ok); } .fm-tr.bad .fm-tr-fill { background: var(--err); }
.fm-tr.ok .fm-tr-st { color: var(--ok); } .fm-tr.bad .fm-tr-st { color: var(--err); }
.tb-out.fm-drop { outline: 2px dashed var(--blue2); outline-offset: -6px; background: rgba(var(--brand-rgb),  .06); }
@media (max-width: 720px) { .fm-tr { grid-template-columns: 1fr; } }

/* ===================== v3.1 – Sicherheit ===================== */
.ra-dlg { width: min(420px, calc(100vw - 32px)); text-align: center; }
.ra-ic { font-size: 34px; margin-bottom: 4px; }
.ra-dlg h2 { margin: 0 0 6px; }
.ra-code { display: block; width: 100%; text-align: center; font-size: 26px; letter-spacing: .3em; font-family: var(--mono, ui-monospace, monospace); margin: 14px 0 8px; }
.ra-btns { justify-content: center; margin-top: 10px; }
.reauth-wrap { display: grid; place-items: center; min-height: 60vh; }
.reauth-card { width: min(460px, 100%); text-align: center; }
.reauth-card h1 { margin: 6px 0; }
.reauth-ic { font-size: 40px; }
.reauth-form { display: grid; gap: 10px; margin-top: 14px; }
.reauth-form input { text-align: center; font-size: 24px; letter-spacing: .3em; font-family: var(--mono, ui-monospace, monospace); }
.sec-top { display: flex; gap: 20px; align-items: center; margin-bottom: 16px; }
.sec-top h2 { margin: 0 0 4px; }

/* ===================================================== v3.2 – Freigaben */
.shared-banner { display: flex; gap: 12px; align-items: center; margin: 10px 0; padding: 10px 14px; border-radius: 12px;
  background: rgba(var(--brand-rgb),  .08); border: 1px solid rgba(80, 130, 255, .25); }
.chip-mini.share { color: #9ec1ff; border-color: rgba(80, 130, 255, .4); }
.chip-mini.setup { color: #ffd479; border-color: rgba(255, 196, 64, .4); }
.chip-mini.warn { color: #ffd479; border-color: rgba(255, 196, 64, .35); }
.share-list { display: grid; gap: 8px; margin-top: 8px; }
.share-row { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--border); }
.share-row.off { opacity: .55; }
.share-row .row { gap: 8px; align-items: center; }
.share-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: 0 0 38px;
  background: linear-gradient(135deg, #3a7bff, #00c2ff); color: #fff; }
.share-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 4px; }
.share-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.share-empty { display: grid; justify-items: center; gap: 6px; padding: 26px 10px; text-align: center; }
.share-empty .big, .lc-none .big, .term-intro .big, .wiz-empty .big { font-size: 34px; }
.share-link code { word-break: break-all; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .25); }
.share-link .row { gap: 8px; align-items: center; margin-top: 6px; }
.share-dialog { display: grid; gap: 10px; }
dialog:has(.share-picker) { width: min(720px, calc(100vw - 30px)); }
.share-picker { display: grid; gap: 8px; }
.share-presets { flex-wrap: wrap; }
.share-perm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; max-height: 46vh; overflow: auto; padding-right: 2px; }
.share-perm { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel2); cursor: pointer; }
.share-perm > span { display: grid; gap: 2px; }
.share-perm small { color: var(--dim); font-size: 11.5px; line-height: 1.35; }
.share-perm.fixed { opacity: .7; cursor: default; }
.share-perm.risky:has(input:checked) { border-color: rgba(255, 196, 64, .55); }
.share-perm:has(input:checked) { border-color: rgba(80, 130, 255, .6); background: rgba(var(--brand-rgb),  .08); }
.risk-tag { margin-left: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #ffd479; }
.share-perms ul { margin: 6px 0 8px 18px; }
.share-or { text-align: center; margin: 16px 0 10px; color: var(--dim); font-size: 12.5px; }
.small { font-size: 12px; }

/* ===================================================== v3.2 – Live-Konsole */
.livecon-card .card-head { flex-wrap: wrap; gap: 8px; }
.livecon-card .card-head input[type=search] { max-width: 200px; padding: 5px 10px; }
.lc-src { margin: 4px 0 10px; flex-wrap: wrap; }
.lc-out { height: min(58vh, 560px); overflow: auto; padding: 10px 12px; border-radius: 12px; background: #070b13; border: 1px solid var(--border);
  font: 12.5px/1.55 var(--mono); color: #cfd8e8; white-space: pre-wrap; word-break: break-word; }
.lc-line { display: flex; gap: 10px; }
.lc-line .lc-t { color: #56627a; flex: 0 0 auto; user-select: none; }
.lc-line.me .lc-x { color: #7fb2ff; font-weight: 600; }
.lc-line.warn .lc-x { color: #ffd479; }
.lc-line.bad .lc-x { color: #ff8aa0; }
.lc-empty { color: var(--dim); padding: 8px 0; }
.lc-in { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.lc-in input { flex: 1; font-family: var(--mono); }
.lc-prompt { font: 700 15px var(--mono); color: #3a7bff; }
.lc-hints { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lc-hints button.chip-mini { cursor: pointer; font-family: var(--mono); }
.ans-b { font-weight: 700; }
.ans-f0 { color: #6e7681; } .ans-f1 { color: #ff7b72; } .ans-f2 { color: #56d364; } .ans-f3 { color: #e3b341; }
.ans-f4 { color: #79c0ff; } .ans-f5 { color: #d2a8ff; } .ans-f6 { color: #56d4dd; } .ans-f7 { color: #e6edf3; }
.ans-f8 { color: #8b949e; } .ans-f9 { color: #ffa198; } .ans-f10 { color: #7ee787; } .ans-f11 { color: #f2cc60; }
.ans-f12 { color: #a5d6ff; } .ans-f13 { color: #e2c5ff; } .ans-f14 { color: #b3f0ff; } .ans-f15 { color: #ffffff; }

/* ===================================================== v3.2 – Web-Terminal */
.term-card .card-head { gap: 8px; flex-wrap: wrap; }
.term-screen { height: min(62vh, 620px); padding: 8px; border-radius: 12px; background: #0b0f17; border: 1px solid var(--border); overflow: hidden; }
.term-screen .xterm { height: 100%; }
.term-intro { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 30px 12px; }
.term-foot { margin-top: 8px; }
.term-card.term-full { position: fixed; inset: 10px; z-index: 60; display: flex; flex-direction: column; margin: 0; }
.term-card.term-full .term-screen { flex: 1; height: auto; }

/* ===================================================== v3.2 – Ressourcen-Alarme */
.al-list { display: grid; gap: 8px; margin: 10px 0; }
.al-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, 1fr) minmax(240px, 1.4fr); gap: 16px; align-items: center;
  padding: 12px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--border); }
.al-row.firing { border-color: rgba(255, 77, 106, .55); box-shadow: 0 0 18px -6px rgba(255, 77, 106, .6); }
.al-name { display: grid; gap: 2px; } .al-name .badge { margin-left: 8px; }
.al-now { display: grid; gap: 4px; }
.al-set { display: flex; gap: 10px; align-items: center; }
.al-set input[type=range] { flex: 1; accent-color: #3a7bff; }
.al-val { min-width: 48px; text-align: right; }
.meter.warn .meter-fill { background: linear-gradient(90deg, #ff9f43, #ff4d6a); }
.al-foot { gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.al-foot select { width: auto; }
.al-log { margin-top: 14px; display: grid; gap: 6px; }
.al-logrow { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .al-row { grid-template-columns: 1fr; gap: 8px; } }

/* ===================================================== v3.2 – Einrichtungs-Assistent */
.wiz-q { margin: 6px 0 14px; font-size: 22px; }
.wiz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 18px; }
.wiz-app { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 16px; border-radius: 16px; cursor: pointer; color: var(--text); font: inherit;
  background: var(--panel); border: 1px solid var(--border); transition: transform .2s, border-color .2s, box-shadow .2s; }
.wiz-app:hover, .wiz-app:focus-visible { transform: translateY(-2px); border-color: rgba(80, 130, 255, .6); box-shadow: 0 10px 30px -14px rgba(var(--brand-rgb),  .7); }
.wiz-app small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.wiz-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px;
  background: color-mix(in srgb, var(--c) 20%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.wiz-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.wiz-size { display: grid; gap: 6px; padding: 20px; border-radius: 16px; cursor: pointer; text-align: left; color: var(--text); font: inherit; background: var(--panel); border: 1px solid var(--border); }
.wiz-size b { font-size: 18px; }
.wiz-size.on, .wiz-size:hover { border-color: rgba(80, 130, 255, .6); }
.wiz-other { margin-top: 6px; color: var(--muted); }
.wiz-pk { margin-bottom: 16px; }
.wiz-banner { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.wiz-banner .big { font-size: 28px; }
.wiz-empty { display: grid; justify-items: center; gap: 10px; padding: 34px 12px; text-align: center; }
.wiz-steps { grid-template-columns: repeat(4, 1fr); }
.check.req { font-weight: 600; }

/* ===================================================== v3.2 – Tagesbericht */
.daily-top { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.daily-top .big { font-size: 34px; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; }
.daily-top.good .big { background: rgba(32, 201, 139, .14); color: #6ff0bf; }
.daily-top.bad .big { background: rgba(255, 196, 64, .14); color: #ffd479; }
.daily-top h2 { margin: 0 0 4px; }
.daily-sub { display: grid; gap: 8px; justify-items: end; }
.daily-sub .row { gap: 8px; align-items: center; } .daily-sub select { width: auto; }
.daily-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; margin-top: 14px; }
.daily-sec.bad { border-color: rgba(255, 196, 64, .45); }
.daily-stats { display: grid; gap: 6px; }
.daily-items { margin: 10px 0 0 18px; color: var(--muted); font-size: 13px; display: grid; gap: 3px; }
.wiz > .row { margin-top: 14px; gap: 10px; }

/* ===================================================== v3.3: Seitenleiste mit Produktgruppen */
.nav-group { margin: 2px 0; }
.nav-group > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--muted); cursor: pointer; user-select: none; font-size: 14px; transition: background .25s var(--ease), color .25s; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary svg { width: 18px; height: 18px; opacity: .8; }
.nav-group > summary:hover { background: rgba(var(--brand-rgb),  .1); color: var(--text); }
.nav-group[open] > summary { color: var(--text); }
.nav-chev { margin-left: auto; display: inline-flex; transition: transform .3s var(--ease); }
.nav-chev svg { width: 14px !important; height: 14px !important; }
.nav-group[open] .nav-chev { transform: rotate(90deg); }
.nav-sub { margin: 2px 0 6px 14px; padding-left: 10px; border-left: 1px solid rgba(60, 110, 200, .25); animation: navIn .3s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.side nav .nav-sub a { font-size: 13.5px; padding: 7px 10px; }
.nav-num { margin-left: auto; font-size: 11px; color: var(--cyan); background: rgba(var(--brand-rgb),  .12); border-radius: 99px; padding: 0 7px; line-height: 18px; }
.nav-off { display: flex; align-items: flex-start; gap: 10px; padding: 7px 10px; border-radius: 10px; color: #4b5873; cursor: not-allowed; font-size: 13.5px; opacity: .65; filter: grayscale(1); }
.nav-off svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; }
.nav-off-txt { display: flex; flex-direction: column; line-height: 1.25; }
.nav-off-txt small { font-size: 10.5px; color: #5d6b8c; letter-spacing: .02em; }

/* ===================================================== v3.3: Preise & Laufzeiten */
.pkg-price { margin: 10px 0 12px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.pkg-price b { font-size: 24px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg-price span { color: var(--muted); font-size: 13px; }
.pkg-price small { flex-basis: 100%; color: var(--dim); font-size: 12px; }
.cfg-price { display: flex; align-items: baseline; gap: 8px; justify-content: center; margin: 12px 0 8px; }
.cfg-price b { font-size: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.term-grid.sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.term-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(6, 11, 24, .55); border: 1px solid rgba(50, 90, 170, .3); color: var(--text); cursor: pointer; text-align: left; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.term-tile:hover { transform: translateY(-2px); border-color: rgba(var(--brand-rgb),  .6); }
.term-tile.on { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 18px rgba(var(--brand-rgb),  .35); }
.term-tile .term-price { font-size: 18px; font-weight: 700; }
.term-tile:disabled { opacity: .5; cursor: wait; }
.term-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.term-card-c .term-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 6px 0 12px; }
.term-card-c .term-kv > div { display: flex; flex-direction: column; gap: 2px; }
.term-card-c .term-kv b { font-size: 17px; }
.term-card-c.warn { box-shadow: inset 0 0 0 1px rgba(245, 165, 36, .5); }
.term-card-c.crit { box-shadow: inset 0 0 0 1px rgba(255, 80, 80, .6); }
.term-bar { height: 6px; border-radius: 99px; background: rgba(30, 45, 80, .9); overflow: hidden; margin-bottom: 10px; }
.term-bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.term-card-c.warn .term-bar i { background: linear-gradient(90deg, #f5a524, #ff6b3d); }
.term-note { padding: 8px 12px; border-left: 3px solid var(--cyan); background: rgba(var(--brand-rgb),  .07); border-radius: 6px; }
.term-extend { margin-top: 10px; }
.term-extend > summary { cursor: pointer; color: var(--cyan); font-weight: 600; }
.term-box { margin-bottom: 14px; }
.err-txt { color: var(--err); }
.badge.term-badge-paid { color: #7fd0ff; border-color: rgba(var(--brand-rgb),  .4); background: rgba(var(--brand-rgb),  .1); }
.badge.term-badge-lifetime { color: #ffd76a; border-color: rgba(255, 200, 60, .45); background: rgba(255, 200, 60, .1); }
.badge.term-badge-sponsored { color: #ff9ad5; border-color: rgba(255, 120, 200, .4); background: rgba(255, 120, 200, .1); }
.badge.term-badge-free, .badge.term-badge-trial { color: #8ff0b5; border-color: rgba(60, 220, 130, .4); background: rgba(60, 220, 130, .1); }
.chip-mini.term-lifetime { color: #ffd76a; }
.chip-mini.term-sponsored { color: #ff9ad5; }
.term-types { display: flex; flex-wrap: wrap; gap: 8px; }
.term-type { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(50, 90, 170, .35); background: rgba(6, 11, 24, .55); color: var(--text); cursor: pointer; }
.term-type.on { border-color: var(--cyan); box-shadow: 0 0 14px rgba(var(--brand-rgb),  .35); }
.howto { margin: 0; padding-left: 18px; line-height: 1.7; }
.soon-card { text-align: center; padding: 40px 20px; }
.soon-icon svg { width: 54px; height: 54px; color: var(--cyan); opacity: .7; margin-bottom: 8px; }
.term-open { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(245, 165, 36, .08); border: 1px solid rgba(245, 165, 36, .3); }
.term-open .row { gap: 8px; }

/* ===================================================== v3.4: Live-Betrieb */
.ok-txt { color: var(--ok, #20c98b); }
.sm-txt { font-size: 12px; }
.linkish { background: none; border: 0; padding: 0; color: var(--cyan); cursor: pointer; font: inherit; font-size: 12.5px; }
.linkish:hover { text-decoration: underline; }
.inv-extras { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.legal-box { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(6, 11, 24, .5); border: 1px solid rgba(50, 90, 170, .3); margin: 10px 0; }
.legal-box .check { align-items: flex-start; line-height: 1.45; }
.legal-box .check input { margin-top: 3px; }
.pay-extra { margin-top: 6px; }
.credit-card .credit-amt { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-top { gap: 8px; align-items: center; flex-wrap: wrap; }
.cr-input { width: 90px; }
.cr-log { margin-top: 8px; }
.cr-log summary { cursor: pointer; color: var(--muted); }
.rev-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 190px; padding: 10px 0 4px; }
.rev-col { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.rev-bar { width: 100%; flex: 1; display: flex; align-items: flex-end; }
.rev-bar i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: var(--grad); box-shadow: 0 0 14px rgba(var(--brand-rgb),  .35); transition: height .8s var(--ease); }
.rev-col small { color: var(--dim); font-size: 10.5px; }
.rev-val { font-size: 10px; color: var(--muted); white-space: nowrap; min-height: 13px; }
.top-list { display: flex; flex-direction: column; gap: 6px; }
.top-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(6, 11, 24, .45); }
.top-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: rgba(var(--brand-rgb),  .15); color: var(--cyan); }
.cr-top input.cr-input { width: 96px; flex: 0 0 96px; }
td .switch { display: inline-flex; background: none; border: 0; padding: 0; }

/* ===================================================== v3.5: Rechtstexte */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-top { display: flex; align-items: center; gap: 20px; padding: 18px 32px; border-bottom: 1px solid rgba(40, 80, 160, .25); background: rgba(4, 7, 14, .7); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
.legal-brand img { height: 30px; display: block; }
.legal-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.legal-nav a { padding: 6px 12px; border-radius: 99px; color: var(--muted); font-size: 14px; }
.legal-nav a:hover { color: var(--text); background: rgba(var(--brand-rgb),  .1); text-decoration: none; }
.legal-nav a.on { color: #fff; background: rgba(var(--brand-rgb),  .22); box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb),  .35); }
main.legal-doc { width: 100%; max-width: 860px; margin: 0 auto; padding: 40px 28px 60px; flex: 1; }
.legal-doc { line-height: 1.7; color: var(--text); }
.legal-doc h1 { font-size: 32px; margin: 0 0 24px; }
.legal-doc h2 { font-size: 21px; margin: 32px 0 10px; color: #fff; }
.legal-doc h3 { font-size: 17px; margin: 24px 0 8px; color: #dbe6ff; }
.legal-doc h4 { font-size: 15px; margin: 18px 0 6px; }
.legal-doc p { margin: 0 0 12px; color: #c9d4ee; }
.legal-doc ul, .legal-doc ol { margin: 0 0 14px; padding-left: 22px; color: #c9d4ee; }
.legal-doc li { margin: 3px 0; }
.legal-doc hr { border: 0; border-top: 1px solid rgba(60, 110, 200, .3); margin: 28px 0; }
.legal-doc a { color: var(--cyan); }
.legal-stand { margin-top: 36px !important; color: var(--dim) !important; font-size: 13px; }
.legal-foot { text-align: center; padding: 20px; color: var(--dim); font-size: 13px; border-top: 1px solid rgba(40, 80, 160, .2); }
.legal-foot a, footer a { color: var(--muted); }
.auth-legal { margin-top: 10px; font-size: 12px; }
.auth-legal a { color: var(--muted); }
.lg-tools { gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.lg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.lg-split textarea { min-height: 560px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.6; resize: vertical; }
.lg-preview { min-height: 560px; max-height: 720px; overflow: auto; padding: 4px 20px 20px; border-radius: 12px; background: rgba(6, 11, 24, .5); border: 1px solid rgba(50, 90, 170, .3); }
.lg-preview h2:first-child { margin-top: 12px; }
@media (max-width: 1000px) { .lg-split { grid-template-columns: 1fr; } .lg-split textarea, .lg-preview { min-height: 320px; } .legal-top { padding: 14px 16px; } }
@media (max-width: 640px) { .legal-top { gap: 10px; } .legal-brand img { height: 24px; } .legal-top .btn { margin-left: auto; } .legal-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; } main.legal-doc { padding: 28px 18px 48px; } .legal-doc h1 { font-size: 26px; } }

/* ===================================================== v3.6: Branding */
.brand img { max-height: 40px; max-width: 190px; object-fit: contain; }
.auth-logo { max-height: 64px; max-width: 280px; object-fit: contain; }
.br-swatch { --b1: var(--brand1, var(--brand1)); --b2: var(--brand2, var(--brand2)); display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: rgba(6, 11, 24, .5); border: 1px solid rgba(50, 90, 170, .3); margin-bottom: 12px; }
.br-btn { padding: 8px 16px; border-radius: 10px; color: #fff; font-weight: 600; background: linear-gradient(135deg, var(--b1), var(--b2)); }
.br-link { color: var(--b2); text-decoration: underline; }
.br-chip { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--b2); color: var(--b2); }
.br-logo-prev { display: grid; place-items: center; padding: 26px; border-radius: 12px; background: repeating-conic-gradient(rgba(255, 255, 255, .03) 0 25%, transparent 0 50%) 0 0 / 22px 22px, rgba(4, 7, 14, .8); border: 1px solid rgba(50, 90, 170, .3); margin-bottom: 10px; }
.br-logo-prev img { max-height: 80px; max-width: 100%; }
.br-icons { gap: 14px; align-items: center; }
.br-icon { width: 64px; height: 64px; border-radius: 14px; }
input[type=color] { width: 44px; height: 38px; padding: 2px; border-radius: 8px; background: transparent; border: 1px solid var(--border2); }
.beta-chip { background: var(--grad) !important; color: #fff !important; box-shadow: 0 0 10px rgba(var(--brand-rgb), .45) !important; }

/* ===================================================== v3.7: Proxie */
.proxie { padding: 0; overflow: hidden; }
.px-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(var(--brand-rgb), .2); background: linear-gradient(90deg, rgba(var(--brand-rgb), .12), transparent); }
.px-avatar { position: relative; width: 42px; height: 42px; border-radius: 12px; background: var(--brand1, #4c7397); display: grid; place-items: center; color: #fff; font: 700 15px var(--mono); box-shadow: 0 0 18px rgba(var(--brand-rgb), .45); flex: 0 0 42px; }
.px-avatar span { animation: pxBlink 3.2s infinite; }
.px-avatar i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid #0b1120; }
.px-avatar.sm { width: 30px; height: 30px; flex-basis: 30px; font-size: 11px; border-radius: 9px; }
.px-avatar.sm i { width: 9px; height: 9px; }
@keyframes pxBlink { 0%, 92%, 100% { opacity: 1; } 95% { opacity: .2; } }
.px-chat { display: flex; flex-direction: column; gap: 10px; padding: 18px; max-height: 620px; overflow-y: auto; }
.px-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; line-height: 1.5; animation: pxIn .35s var(--ease); }
.px-msg.bot { align-self: flex-start; background: rgba(13, 20, 36, .9); border: 1px solid rgba(var(--brand-rgb), .25); border-top-left-radius: 4px; }
.px-msg.me { align-self: flex-end; background: var(--grad); color: #fff; border-top-right-radius: 4px; }
.px-msg.typing { display: flex; gap: 4px; padding: 14px; }
.px-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: pxDot 1s infinite; }
.px-msg.typing span:nth-child(2) { animation-delay: .15s; } .px-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes pxDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes pxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.px-choices { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 4px; animation: pxIn .35s var(--ease); }
.px-choice { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(var(--brand-rgb), .45); background: rgba(var(--brand-rgb), .08); color: var(--text); cursor: pointer; font: inherit; transition: background .2s, transform .2s var(--ease), border-color .2s; }
.px-choice:hover { background: rgba(var(--brand-rgb), .2); border-color: var(--blue2); transform: translateY(-1px); }
.px-ic { font-size: 16px; }
.px-find { display: flex; flex-direction: column; gap: 6px; }
.px-find p { margin: 0; color: #c9d4ee; }
.px-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.px-msg.bot:has(.px-crit) { border-color: rgba(255, 77, 106, .55); background: rgba(60, 14, 24, .55); }
.px-msg.bot:has(.px-warn) { border-color: rgba(245, 165, 36, .5); background: rgba(55, 38, 8, .45); }
.px-msg.bot:has(.px-ok) { border-color: rgba(32, 201, 139, .45); }
.px-msg.bot:has(.px-tip) { border-style: dashed; }
.px-stat { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 14px; border-radius: 12px; background: rgba(var(--brand-rgb), .08); border: 1px solid rgba(var(--brand-rgb), .25); }
@media (max-width: 640px) { .px-msg { max-width: 94%; } .px-head { padding: 12px; } #px-skip { display: none; } }

/* ===================================================== v3.8: Registrierung */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.legal-check { align-items: flex-start; margin: 4px 0 14px; line-height: 1.45; }
.legal-check input { margin-top: 3px; }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-list .radio-card { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(var(--brand-rgb), .25); cursor: pointer; }
.radio-list .radio-card span { display: flex; flex-direction: column; }
.radio-list .radio-card:has(input:checked) { border-color: var(--blue2); background: rgba(var(--brand-rgb), .1); }
.danger-zone-acc { border-color: rgba(255, 77, 106, .35); }
.captcha-box { display: flex; justify-content: center; margin: 4px 0 14px; min-height: 78px; }

/* v3.10: Angaben für Rechtstexte */
.lg-info-card > summary { cursor: pointer; list-style: none; }
.lg-info-card > summary::-webkit-details-marker { display: none; }
.lg-info-card > summary h2::before { content: '▸ '; color: var(--dim); }
.lg-info-card[open] > summary h2::before { content: '▾ '; }
.lg-info-card .field > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.lg-info-card .field.wide { grid-column: 1 / -1; }

/* v3.11: Host-Systeme */
.host-chip { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; vertical-align: middle;
  background: rgba(var(--brand-rgb), .14); color: var(--cyan); border: 1px solid rgba(var(--brand-rgb), .3); letter-spacing: .02em; }
.host-chip.big { font-size: 13px; padding: 3px 10px; }
h1 .host-chip { font-size: 13px; margin-left: 6px; }
.chip-mini.host { color: var(--cyan); }
.hs-names { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.hs-names.small { margin: 6px 0 12px; }
.hs-name { background: rgba(var(--brand-rgb), .1); border: 1px solid var(--border2); color: var(--text); border-radius: 8px; padding: 6px 12px;
  font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.hs-name:hover { border-color: var(--blue); background: rgba(var(--brand-rgb), .2); }
.hs-names.small .hs-name { padding: 3px 9px; font-size: 12px; }
.host-chip.team { background: rgba(255, 255, 255, .06); color: var(--muted); border-color: var(--border2); }
.btn-icon-mini { background: none; border: 1px solid var(--border2); color: var(--muted); border-radius: 6px; padding: 0 6px; margin-left: 4px; cursor: pointer; font: inherit; }
.btn-icon-mini:hover { color: var(--text); border-color: var(--blue); }
.hs-found { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--border2); border-radius: 10px; }
