:root { --bg: #f4f6fb; --card: #fff; --text: #17203a; --muted: #5b6785; --line: #dfe4f0; --brand: #3b5bff; --brand-d: #2a43c8; --good: #0f8a4f; --bad: #c62828; --warn: #a15c00; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--brand); }
h1 { font-size: 26px; margin: 0 0 6px; } h2 { font-size: 19px; margin: 0 0 10px; } h3 { font-size: 16px; margin: 0 0 8px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 22px; background: #0d1436; color: #fff; }
.top a { color: #cfd7ff; text-decoration: none; margin-left: 18px; } .top a:hover { color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: #fff !important; margin: 0 !important; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 800; }
nav { display: flex; align-items: center; flex-wrap: wrap; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 26px 18px 60px; }
.narrow { max-width: 460px; margin: 30px auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(20, 30, 70, .05); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; } .stat b { display: block; font-size: 26px; }
label { display: block; font-weight: 600; font-size: 13.5px; margin: 12px 0 5px; }
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #c5cde0; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.mono { font-family: Consolas, "Courier New", monospace; }
.btn, button.btn { display: inline-block; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-d); } .btn.small { padding: 6px 12px; font-size: 13.5px; }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid #c5cde0; } .btn.ghost:hover { background: #f1f4fb; }
.btn.danger { background: #fff; color: var(--bad); border: 1px solid #e3b3b3; }
button.link { background: none; border: 0; color: #cfd7ff; font: inherit; cursor: pointer; margin-left: 18px; padding: 0; } button.link:hover { color: #fff; }
form.inline { display: inline; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row.end { align-items: flex-end; } .grow { flex: 1; min-width: 200px; }
.actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.note { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; border-left: 4px solid; }
.note.good { background: #e8f6ee; border-color: var(--good); } .note.bad { background: #fdecec; border-color: var(--bad); } .note.warn { background: #fff5e0; border-color: var(--warn); } .note.info { background: #eaefff; border-color: var(--brand); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: #e8ecf6; color: var(--muted); white-space: nowrap; }
.pill.paid { background: #dff3e7; color: var(--good); } .pill.ended { background: #fff0d6; color: var(--warn); } .pill.cancelled { background: #fbe1e1; color: var(--bad); } .pill.pending { background: #e6ebff; color: var(--brand-d); }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); } .scroll { overflow-x: auto; }
.keybox { width: 100%; min-height: 96px; font-family: Consolas, "Courier New", monospace; font-size: 13px; word-break: break-all; background: #f6f8ff; border: 2px dashed var(--brand); border-radius: 10px; padding: 12px; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; } dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; }
.steps { margin: 0; padding-left: 20px; } .steps li { margin-bottom: 6px; }
.hero { text-align: center; padding: 40px 10px 20px; } .hero h1 { font-size: 34px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }
@media (max-width: 600px) { .top a, button.link { margin-left: 12px; } .wrap { padding: 18px 12px 40px; } }
