:root { --ink: #1c2422; --muted: #66716e; --line: #dde2de; --bg: #f4f5f3; --primary: #0f6b5c; --red: #a1231a; --amber: #8a5300; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.top { background: #12201d; color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 56px; flex-wrap: wrap; }
.brand { color: #fff; font-weight: 700; text-decoration: none; }
.brand span { font-weight: 400; opacity: .7; margin-left: 6px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a, .nav .link { color: rgba(255,255,255,.8); text-decoration: none; padding: 6px 10px; border-radius: 6px; background: none; border: 0; font: inherit; cursor: pointer; }
.nav a:hover, .nav a.on, .nav .link:hover { background: rgba(255,255,255,.12); color: #fff; }
main.wrap { padding-top: 24px; padding-bottom: 40px; }
h1 { font-size: 1.6rem; margin: 0 0 16px; } h2 { font-size: 1.1rem; margin: 0 0 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 16px; overflow-x: auto; }
.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; } @media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat strong { display: block; font-size: 1.8rem; } .stat span { color: var(--muted); }
label { display: block; font-weight: 600; margin: 0 0 12px; font-size: .92rem; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-weight: 400; background: #fff; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; } .row label { flex: 1 1 180px; }
.btn { display: inline-block; background: var(--primary); color: #fff; border: 0; border-radius: 6px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.check { display: flex; gap: 6px; align-items: center; font-weight: 400; } .check input { width: auto; margin: 0; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; } th { font-size: .78rem; color: var(--muted); text-transform: uppercase; }
.small { font-size: .85rem; } .muted { color: var(--muted); } .mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.key { font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; margin: 0 0 8px; }
.send { background: var(--bg); border-radius: 8px; padding: 12px; margin: 12px 0; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .actions form { display: flex; gap: 8px; align-items: center; margin: 0; flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .78rem; font-weight: 700; background: #eee; color: #555; }
.b-green { background: #e4f4ec; color: #0d6b45; } .b-red { background: #fdecec; color: var(--red); } .b-amber { background: #fdf2dc; color: var(--amber); }
.alert { padding: 11px 14px; border-radius: 8px; margin-bottom: 14px; background: #eef4fb; } .alert-error { background: #fdecec; color: var(--red); } .alert-success { background: #e4f4ec; color: #0d6b45; }
.err { color: var(--red); font-weight: 400; margin-left: 6px; font-size: .85rem; }
.search { display: flex; gap: 8px; margin-bottom: 12px; } .search input { margin: 0; }
.checks { list-style: none; padding: 0; } .checks .ok { color: #0d6b45; } .checks .bad { color: var(--red); font-weight: 700; }
.foot { color: var(--muted); font-size: .8rem; padding-bottom: 30px; }
code { background: var(--bg); padding: 1px 5px; border-radius: 4px; }
