:root { --blue: #0000ff; --lime: #cdf75c; --ink: #262838; --bg: #f0f0f0; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Raleway, sans-serif; color: var(--ink); background: var(--bg); }
.shell { display: flex; min-height: 100vh; }
.side { width: 240px; background: #fff; border-right: 1px solid #e4e4ea; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.brand img { width: 140px; height: auto; }
.who { margin: 8px 0; font-size: 14px; font-weight: 700; }
.who span { font-weight: 600; color: #6b6b76; font-size: 12px; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 10px; }
.side a.on, .side a:hover { background: #eef0ff; color: var(--blue); }
.out { margin-top: auto; }
.ver { color: #8d8d95; font-size: 11px; font-weight: 800; }
main { flex: 1; padding: 28px 32px 64px; max-width: 1100px; }
h1 { margin: 0 0 16px; font-size: 28px; }
h2 { font-size: 18px; margin: 28px 0 10px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee; font-size: 14px; vertical-align: top; }
th { font-size: 12px; color: #6b6b76; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.card { background: #fff; border-radius: 16px; padding: 14px; }
.card b { display: block; font-size: 26px; }
.card span { color: #6b6b76; font-size: 13px; font-weight: 700; }
form.box, .box { background: #fff; border-radius: 16px; padding: 16px; margin: 12px 0 20px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 8px 0; }
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #ddd; border-radius: 12px; }
textarea { min-height: 70px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
button, .btn { background: var(--blue); color: #fff; border: 0; border-radius: 12px; padding: 10px 14px; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-block; }
button.ghost, .btn.ghost { background: #ececf1; color: var(--ink); }
button.lime { background: var(--lime); color: var(--ink); }
.ok { background: #f3ffe0; border-radius: 12px; padding: 10px 12px; }
.err { background: #ffe8e8; border-radius: 12px; padding: 10px 12px; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 800; background: #eee; }
.badge.reserved { background: #ffe8a3; }
.badge.paid { background: #d9e0ff; color: var(--blue); }
.badge.issued { background: var(--lime); }
.badge.cancelled { background: #eee; color: #777; }
.login { max-width: 420px; margin: 8vh auto; background: #fff; padding: 24px; border-radius: 20px; }
.nums { display: flex; gap: 8px; flex-wrap: wrap; }
.nums span { background: #f6f6f8; border-radius: 10px; padding: 6px 8px; font-size: 12px; font-weight: 700; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.actions form { margin: 0; }
code { font-weight: 800; }
@media (max-width: 800px) {
  .shell { display: block; }
  .side { width: auto; }
  .row, .row3 { grid-template-columns: 1fr; }
  main { padding: 16px; }
}
