/* Heilsan – Plattform: Sperrbildschirm, Anmeldung, Benutzer-Chip, Speicher & Sicherheit */
.k-lock { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(900px 500px at 50% -10%, rgba(56, 189, 248, 0.12), transparent 60%), rgba(3, 7, 15, 0.86); backdrop-filter: blur(14px); animation: fade-in .2s ease; }
:root[data-theme="light"] .k-lock { background: rgba(238, 242, 248, 0.92); }
.k-lock-card { width: min(420px, 100%); background: var(--panel-solid, #0f172a); border: 1px solid var(--line2, rgba(148,163,184,.24)); border-radius: 20px; padding: 26px 24px; box-shadow: var(--shadow, 0 10px 40px rgba(0,0,0,.45));
  display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: center; color: var(--text, #e7eef8); font-family: var(--font, system-ui, sans-serif); }
.k-lock-card.wide { width: min(560px, 100%); }
.k-lock-card .brand-mark { width: 44px; height: 44px; margin: 0 auto; border-radius: 12px; display: grid; place-items: center; background: conic-gradient(from 210deg, #38bdf8, #a78bfa, #f472b6, #38bdf8); }
.k-lock-card .brand-mark svg { width: 22px; height: 22px; color: #04131f; }
.k-lock-card h2 { margin: 4px 0 0; font-size: 19px; }
.k-lock-card p { margin: 0; }
.k-lock-card input { text-align: center; font-size: 18px; letter-spacing: .2em; padding: 12px; }
.k-lock-msg { min-height: 18px; font-size: 13px; color: var(--err, #f87171); }
.k-users { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.k-user { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line, rgba(148,163,184,.13)); background: var(--panel2, #131d33); color: inherit; cursor: pointer; font: inherit; }
.k-user:hover { border-color: var(--line2, rgba(148,163,184,.24)); }
.k-user.active { border-color: var(--accent, #38bdf8); background: var(--accent-soft, rgba(56,189,248,.13)); }
.k-user:focus-visible, .k-user-chip:focus-visible, .k-pad .btn:focus-visible { outline: 2px solid var(--accent, #38bdf8); outline-offset: 2px; }
.k-user-n { font-weight: 620; font-size: 12.5px; line-height: 1.25; }
.k-user-r { font-size: 11px; color: var(--muted, #8495b0); }
.k-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.k-pad .btn { height: 48px; font-size: 18px; }
.k-user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid var(--line, rgba(148,163,184,.13)); background: var(--panel2, #131d33); color: var(--text, #e7eef8); cursor: pointer; font: inherit; max-width: 220px; }
.k-user-chip .avatar { width: 28px; height: 28px; flex-basis: 28px; font-size: 11px; }
.k-user-chip-t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; min-width: 0; }
.k-user-chip-t b { font-size: 12.5px; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-user-chip-t small { font-size: 10.5px; color: var(--muted, #8495b0); }
@media (max-width: 900px) { .k-user-chip-t { display: none; } .k-user-chip { padding: 3px; } }
.k-storage-bar { height: 10px; border-radius: 6px; background: var(--panel3, #18233d); overflow: hidden; position: relative; }
.k-storage-bar > i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--ok, #34d399), var(--warn, #fbbf24), var(--err, #f87171)); background-size: 300% 100%; }
.k-perm-yes { color: var(--ok, #34d399); font-weight: 700; }
.k-perm-no { color: var(--faint, #5b6a84); }
.k-backup-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
