:root { --bg:#f4f6fb; --card:#fff; --ink:#1d2433; --muted:#6b7385; --brand:#1f6feb; --danger:#c0392b; --line:#e3e7ef; }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, "Noto Sans Devanagari", "Segoe UI", Roboto, sans-serif; background:var(--bg); color:var(--ink); line-height:1.6; }
.top { background:#fff; border-bottom:1px solid var(--line); display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; padding:12px 16px; position:sticky; top:0; z-index:5; }
.brand { font-weight:700; color:var(--brand); text-decoration:none; font-size:1.1rem; }
nav a { margin-left:12px; color:var(--ink); text-decoration:none; font-size:.95rem; }
nav a.lang { color:var(--brand); }
.wrap { max-width:960px; margin:24px auto; padding:0 16px; }
h1 { font-size:1.6rem; margin:.4em 0; }
h2 { font-size:1.2rem; margin:.4em 0; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px; margin:14px 0; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; }
.tile { display:block; text-decoration:none; color:inherit; }
.tile:hover { border-color:var(--brand); }
.form label { display:block; margin:10px 0; font-weight:600; }
.form input, .form select, .form textarea { display:block; width:100%; margin-top:4px; padding:9px 10px; border:1px solid var(--line); border-radius:8px; font:inherit; background:#fff; }
.form input[type=checkbox] { width:auto; display:inline-block; }
.btn { display:inline-block; background:var(--brand); color:#fff; border:0; border-radius:8px; padding:10px 18px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; }
.btn.small { padding:6px 12px; font-size:.9rem; }
.btn.danger { background:var(--danger); }
.alert { background:#fdecea; color:var(--danger); padding:12px; border-radius:8px; margin:12px 0; }
.notice { background:#eaf2ff; padding:12px; border-radius:8px; margin:12px 0; }
.muted { color:var(--muted); font-size:.95rem; }
table { width:100%; border-collapse:collapse; background:#fff; }
th, td { border-bottom:1px solid var(--line); padding:8px; text-align:left; font-size:.95rem; }
th { background:#f8f9fc; }
.scroll { overflow-x:auto; }
.tabs { margin:12px 0; }
.tabs a { display:inline-block; padding:6px 12px; margin-right:6px; border-radius:8px; text-decoration:none; color:var(--ink); background:#fff; border:1px solid var(--line); }
.tabs a.active { background:var(--brand); color:#fff; }
.foot { text-align:center; color:var(--muted); padding:24px 16px; font-size:.9rem; }
.foot a { color:var(--brand); }
.ad-slot:empty { display:none; }
.consent { position:fixed; left:0; right:0; bottom:0; background:#1d2433; color:#fff; padding:14px; display:flex; gap:12px; align-items:center; justify-content:center; flex-wrap:wrap; z-index:10; }
.consent button { background:var(--brand); color:#fff; border:0; border-radius:8px; padding:8px 14px; cursor:pointer; }
.prose p { margin:.6em 0; }
@media (max-width:600px) { h1 { font-size:1.3rem; } nav a { margin-left:8px; } }
