:root { --navy:#14324f; --blue:#2E75B6; --bg:#f4f7fb; --card:#fff; --line:#d7e0ea; --text:#1c2833; --muted:#5c6b7a; }
* { box-sizing:border-box; }
body { margin:0; font-family:"Segoe UI", sans-serif; color:var(--text); background:var(--bg); }
a { color:var(--blue); text-decoration:none; }
.layout { display:flex; min-height:100vh; }
.side { width:240px; background:var(--navy); color:#fff; padding:20px 14px; }
.side h1 { font-size:16px; margin:0 0 4px; }
.side .by { color:#9fb4c9; font-size:12px; margin-bottom:22px; }
.side a { display:block; color:#e8eef5; padding:9px 10px; border-radius:8px; margin-bottom:4px; }
.side a.active, .side a:hover { background:#1f4e79; }
.main { flex:1; padding:24px; }
.top { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; margin-bottom:18px; }
.card, .panel { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px; }
.card span { display:block; color:var(--muted); font-size:12px; }
.card strong { font-size:20px; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; background:#fff; }
td.role { white-space:nowrap; line-height:1.35; }
td.role .muted, .muted { color:var(--muted); font-size:12px; }
th, td { border-bottom:1px solid var(--line); padding:8px 10px; text-align:left; font-size:13px; vertical-align:top; }
th { background:#2E75B6; color:#fff; }
.badge { display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:600; }
.green { background:#C6EFCE; color:#006100; }
.blue { background:#d6eaf8; color:#1a5276; }
.yellow { background:#FFF2CC; color:#7F6000; }
.orange { background:#FCE4D6; color:#C65911; }
.red { background:#FFC7CE; color:#9C0006; }
.grey { background:#e5e8e8; color:#424949; }
form.inline { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
input, select, textarea, button { font:inherit; padding:8px 10px; border:1px solid #c5d0dc; border-radius:8px; }
button, .btn { background:var(--blue); color:#fff; border:0; cursor:pointer; display:inline-block; }
button.secondary, .btn.secondary { background:#5d6d7e; }
.drop { border:2px dashed #8fb4d6; border-radius:12px; padding:28px; text-align:center; background:#fff; margin-bottom:12px; }
.warn { background:#fff4e5; border:1px solid #f5cba7; padding:10px 12px; border-radius:8px; }
pre { white-space:pre-wrap; background:#f7f9fb; padding:10px; }
.project-switch { display:flex; gap:6px; margin-bottom:14px; }
.project-switch form { flex:1; }
button.project-btn { width:100%; background:#1a3f63; color:#fff; font-size:12px; padding:8px 6px; }
button.project-btn.active { background:#2E75B6; }
button.nav-logout { width:100%; text-align:left; background:transparent; color:#e8eef5; padding:9px 10px; margin-top:12px; }
button.nav-logout:hover { background:#1f4e79; }
.login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; }
.login-card { width:min(420px, 100%); background:#fff; border:1px solid var(--line); border-radius:12px; padding:24px; }
.login-card h1 { font-size:20px; margin:0 0 4px; }
.login-card .by { color:var(--muted); margin:0 0 16px; }
.login-card label { display:block; margin:12px 0; font-size:13px; }
.login-card input { width:100%; margin-top:6px; }
.login-card button { width:100%; margin-top:8px; }
@media (max-width:900px) { .layout { display:block; } .side { width:auto; } }
