:root { --ink:#132224; --paper:#f6f1e8; --line:#d9d0c3; --accent:#0f4d57; }
* { box-sizing: border-box; }
body { margin:0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:var(--paper); color:var(--ink); }
.admin { width:min(1180px, calc(100% - 32px)); margin:0 auto; padding:28px 0 60px; }
header { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; flex-wrap:wrap; }
h1 { margin:0; font-family:Georgia, "Times New Roman", serif; font-size:38px; }
nav, .tabs { display:flex; gap:8px; flex-wrap:wrap; }
a, button { border:1px solid var(--line); border-radius:6px; padding:10px 12px; color:var(--ink); background:white; text-decoration:none; font-weight:800; cursor:pointer; }
a.active, button { background:var(--accent); color:white; border-color:var(--accent); }
.panel { background:white; border:1px solid var(--line); border-radius:8px; padding:18px; margin:14px 0; box-shadow:0 10px 30px rgba(19,34,36,.06); }
.grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; }
.grid label:nth-last-of-type(-n+2) { grid-column:1 / -1; }
.compact { max-width:520px; display:grid; gap:12px; }
.login { max-width:420px; margin-top:80px; display:grid; gap:12px; }
label { display:grid; gap:6px; color:#61716e; font-size:13px; font-weight:800; }
input, textarea { width:100%; border:1px solid var(--line); border-radius:6px; padding:11px; font:inherit; background:#fffdfa; color:var(--ink); }
textarea { resize:vertical; }
.notice { padding:12px 14px; background:#e7f2ee; border:1px solid #b7d7cc; border-radius:6px; font-weight:800; }
table { width:100%; border-collapse:collapse; }
th, td { text-align:left; vertical-align:top; border-bottom:1px solid var(--line); padding:12px; }
small { color:#72807d; }
@media (max-width:760px) { .grid { grid-template-columns:1fr; } }
