:root {
  --red: #c4161c; --red-dark: #9e1015; --ink: #f4f1f1; --muted: #b3aaab; --bg: #0e0c0d; --card: #1a1617;
  --line: #342d2f; --ok: #3fb26b; --warn: #e3a72f; --field: #120f10;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: #ff6a6f; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
header.top img { height: 46px; display: block; }
header.top a.call { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
h1 { font-size: 30px; line-height: 1.15; margin: 28px 0 8px; }
h2 { font-size: 20px; margin: 28px 0 10px; }
p.lead { color: var(--muted); margin-top: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 14px 0; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
label .hint { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--field);
  color: var(--ink); font: inherit; color-scheme: dark;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); border-color: transparent; }
textarea { min-height: 84px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } h1 { font-size: 26px; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
button, .btn {
  display: inline-block; border: 0; border-radius: 10px; padding: 12px 18px; font: inherit; font-weight: 700;
  background: var(--red); color: #fff; cursor: pointer; text-decoration: none; text-align: center;
}
button:hover, .btn:hover { background: var(--red-dark); }
button:disabled { opacity: .55; cursor: wait; }
button.ghost, .btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
button.ghost:hover, .btn.ghost:hover { border-color: var(--muted); }
button.small, .btn.small { padding: 7px 12px; font-size: 14px; }
button.wide { width: 100%; padding: 14px; font-size: 17px; }
.msg { padding: 10px 12px; border-radius: 10px; margin: 12px 0; font-size: 15px; }
.msg.err { background: #3a1214; border: 1px solid #7a2227; }
.msg.ok { background: #10301e; border: 1px solid #23633d; }
.msg.info { background: #2c2412; border: 1px solid #6b5420; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: #2b2426; color: var(--ink); }
.pill.requested { background: #4a3a10; color: #ffd27a; }
.pill.approved { background: #10324a; color: #8fd0ff; }
.pill.booked { background: #10391f; color: #8be3ad; }
.pill.completed { background: #2b2426; color: var(--muted); }
.pill.declined, .pill.cancelled { background: #3a1214; color: #ff9aa0; }
dl.facts { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; white-space: pre-wrap; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: 8px; } }
.money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.money div { background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.money b { display: block; font-size: 20px; }
.money span { color: var(--muted); font-size: 13px; }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pay-row:first-child { border-top: 0; }
footer.foot { color: var(--muted); font-size: 13px; text-align: center; padding: 30px 16px; border-top: 1px solid var(--line); }
.hero { text-align: center; padding: 40px 0 10px; }
.hero img { width: min(340px, 80%); }
.hero h1 { font-size: 36px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
