:root { --bg: #f6f3ee; --card: #fff; --ink: #1f1b16; --muted: #6f675d; --line: #e6dfd4; --brand: #ea1d2c; --brand-dark: #b8141f; --ok: #1e8a4c; --warn: #b7791f; --error: #c0392b; font-family: "Segoe UI", system-ui, sans-serif; color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); font-size: 15px; line-height: 1.5; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; }
nav a { color: var(--muted); margin-left: 14px; text-decoration: none; }
main { max-width: 980px; margin: 0 auto; padding: 24px 16px 60px; display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
h1 { font-size: 28px; margin: 0 0 8px; } h2 { font-size: 18px; margin: 0 0 10px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; display: grid; gap: 6px; }
.plan .price { font-size: 26px; font-weight: 700; }
.button { display: inline-block; border: 1px solid var(--brand); background: var(--brand); color: #fff; padding: 9px 16px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.button:hover { background: var(--brand-dark); } .button.ghost { background: #fff; color: var(--brand); } .button:disabled { opacity: .5; cursor: not-allowed; }
.button.small { padding: 5px 10px; font-size: 13px; }
form.grid { display: grid; gap: 10px; max-width: 420px; }
label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
input, select, textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 12px; }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #eee; } .badge.ok { background: #e3f4e9; color: var(--ok); } .badge.warn { background: #fdf1dc; color: var(--warn); } .badge.error { background: #fdecea; color: var(--error); }
.notice { padding: 10px 12px; border-radius: 8px; background: #fff4d6; border: 1px solid #f1dca0; } .notice.error { background: #fdecea; border-color: #f5c6c0; } .notice.ok { background: #e3f4e9; border-color: #b9e0c6; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; } .stat b { display: block; font-size: 22px; }
[hidden] { display: none !important; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }
pre { white-space: pre-wrap; font-size: 12px; background: #faf8f4; padding: 8px; border-radius: 8px; max-height: 260px; overflow: auto; }
