:root { --bg:#f6f7fb; --card:#fff; --muted:#6b7280; --brand:#0b5fff; --accent:#7fcf6b; }
* { box-sizing:border-box; }
body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background:var(--bg); color:#111827; }
header.topbar { background:#fff; border-bottom:1px solid #e5e7eb; }
.wrap { max-width:1200px; margin:0 auto; padding:0 1rem; }
.brand { display:grid; grid-template-columns: 1fr auto; align-items:center; gap:1rem; padding:1rem 0; }
.brand-left { display:flex; gap:1rem; align-items:center; }
.brand-left img.swoboda { height:64px; }
.brand-right { text-align:right; }
.brand-right img.lw { height:20px; opacity:.9; margin-top:1.2rem; }
.brand h1 { font-size:1.7rem; margin:0; letter-spacing:.5px; text-transform:lowercase; }
.brand .subtitle { color:var(--muted); margin-top:.15rem; font-size:.95rem;}
.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap:1rem; }
.card { background:var(--card); border:1px solid #e5e7eb; border-radius:16px; padding:1rem; box-shadow:0 8px 24px rgba(0,0,0,.04); }
.card h2 { margin:.2rem 0 1rem; font-size:1rem; color:#111827; display:flex; align-items:center; gap:.5rem; }
.link { display:flex; justify-content:space-between; align-items:center; gap:.8rem; padding:.7rem .9rem; border:1px solid #e5e7eb; border-radius:12px; text-decoration:none; color:#111827; margin:.5rem 0; transition:.15s border-color,.15s background; }
.link:hover { border-color:#c7cbd3; background:#fafafa; }
.link .name { display:flex; align-items:center; gap:.6rem; }
.icon { width:18px; height:18px; display:inline-block; }
.muted { color:#6b7280; font-size:.9rem; }
.btn { border:1px solid #e5e7eb; background:#fff; padding:.5rem .8rem; border-radius:10px; text-decoration:none; color:#111827; }
.btn:hover { background:#fafafa; }
.toolbar { display:flex; gap:.5rem; align-items:center; }
footer { text-align:center; color:#374151; font-size:.9rem; padding:1.2rem 1rem; }
.login-card { background:#fff; padding:2rem; border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.08); width:100%; max-width:480px; }
label { display:block; margin:.6rem 0 .25rem; font-size:.9rem; }
input, select, textarea { width:100%; padding:.65rem .9rem; border:1px solid #d9dbe3; border-radius:10px; font-size:1rem; }
button, .btn-primary { border:0; border-radius:12px; background:var(--brand); color:#fff; font-weight:600; cursor:pointer; padding:.7rem 1rem; }
.btn-outline { border:1px solid #e5e7eb; background:#fff; color:#111827; padding:.6rem .9rem; border-radius:10px; }
.row { display:flex; gap:.5rem; align-items:center; }
table { width:100%; border-collapse:collapse; }
th, td { padding:.55rem .6rem; border-bottom:1px solid #eef0f3; text-align:left; }
.badge { display:inline-block; padding:.15rem .45rem; border-radius:999px; background:#eef6ff; color:#0b5fff; font-size:.75rem; }
.err { background:#ffe9ea; color:#9c1c28; padding:.6rem .8rem; border-radius:10px; margin-bottom:1rem; }
.ok  { background:#e8f7ee; color:#166534; padding:.6rem .8rem; border-radius:10px; margin-bottom:1rem; }
