:root {
  --bg:#0b0e11; --panel:#12161b; --border:#232a32; --text:#e8edf2; --muted:#8a97a3; --accent:#3ddc97;
}
* { box-sizing:border-box; }
body { background:var(--bg); color:var(--text); font-family:-apple-system,"Segoe UI",Roboto,sans-serif; margin:0; padding:24px; }
body.center-page { min-height:100vh; display:flex; align-items:center; justify-content:center; }
a { color:var(--accent); }
h1 { font-size:20px; margin-bottom:8px; }
.muted { color:var(--muted); font-size:13px; }
.card { background:var(--panel); border:1px solid var(--border); border-radius:14px; padding:32px; }
input[type=text], input[type=date], input[type=color], select, textarea {
  width:100%; padding:10px; border-radius:8px; border:1px solid var(--border);
  background:#0e1216; color:var(--text); font-size:14px; margin-bottom:12px; font-family:inherit;
}
textarea { resize:vertical; min-height:70px; }
button, .btn {
  padding:10px 18px; border-radius:8px; border:1px solid var(--border); background:transparent;
  color:var(--text); font-size:13px; cursor:pointer; text-decoration:none; display:inline-block;
}
button.primary, .btn.primary { background:var(--accent); color:#06110c; font-weight:600; border:none; }
button.danger:hover, .btn.danger:hover { border-color:#ff6b6b; color:#ff6b6b; }
header.top { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:20px; max-width:1400px; margin-left:auto; margin-right:auto; }
header.top .links a { margin-left:14px; font-size:13px; color:var(--muted); text-decoration:none; }
header.top .links a:hover { color:var(--accent); }
.wrap { max-width:1400px; margin:0 auto; }
.filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; background:var(--panel); border:1px solid var(--border); padding:16px; border-radius:12px; }
.filters > div { flex:1; min-width:160px; }
.filters label { display:block; font-size:11px; color:var(--muted); margin-bottom:4px; }
.filters input, .filters select { margin-bottom:0; }
table { width:100%; border-collapse:collapse; background:var(--panel); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
th, td { padding:12px 14px; text-align:left; font-size:13px; border-bottom:1px solid var(--border); vertical-align:top; }
th { background:#161b21; font-size:11px; text-transform:uppercase; letter-spacing:0.5px; color:var(--muted); }
th a { color:var(--muted); text-decoration:none; }
th a:hover { color:var(--accent); }
tr:last-child td { border-bottom:none; }
.prio-badge { display:inline-block; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:600; }
.actions-cell { white-space:nowrap; }
.actions-cell form { display:inline; }
.actions-cell .btn, .actions-cell button { padding:5px 10px; font-size:12px; }
.meta { font-size:11px; color:var(--muted); }
.empty { text-align:center; padding:40px; color:var(--muted); }
.info-box { background:var(--panel); border:1px solid var(--border); border-radius:12px; padding:16px 20px; margin-bottom:16px; font-size:13px; color:var(--muted); }
.info-box strong { color:var(--text); }
