:root { --paper:#f6f3ed; --ink:#1c1917; --muted:#6f675f; --line:#e6dfd4; --card:#fffdfb; --red:#9f2d2d; --green:#2f7d4a; }
* { box-sizing: border-box; }
html, body { margin:0; background:var(--paper); color:var(--ink); font:15px/1.45 "Avenir Next","Segoe UI",sans-serif; }
button, input, select { font:inherit; }
.app { display:flex; min-height:100vh; }
.rail { width:232px; flex:0 0 232px; background:#fbf8f3; border-right:1px solid var(--line); padding:18px 12px; display:flex; flex-direction:column; }
.brand { font:500 30px/1 Georgia,serif; margin:4px 8px 16px; }
.brand i { color:var(--red); font-style:normal; }
.nav { display:flex; flex-direction:column; gap:2px; }
.nav button, .jump { display:block; width:100%; text-align:left; border:0; background:transparent; padding:9px 10px; border-radius:8px; cursor:pointer; color:var(--ink); }
.nav button.on { background:#f3e8e6; color:var(--red); }
.rail-foot { margin-top:auto; color:var(--muted); font-size:13px; padding:10px; }
.main { flex:1; padding:18px 22px 48px; min-width:0; }
.top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
h1 { font:500 34px/1.1 Georgia,serif; margin:12px 0; }
.muted { color:var(--muted); }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px; }
.num { font:600 28px/1 Georgia,serif; color:var(--red); }
table { width:100%; border-collapse:collapse; background:white; }
th, td { border-bottom:1px solid var(--line); text-align:left; padding:8px; vertical-align:top; }
.btn { background:#1c1917; color:white; border:0; border-radius:8px; padding:10px 14px; cursor:pointer; }
.btn.red { background:var(--red); }
.btn.ghost { background:white; color:var(--red); border:1px solid #e7c4c4; }
.row { display:flex; justify-content:space-between; gap:8px; padding:8px 0; border-top:1px solid var(--line); }
.ok { color:var(--green); }
.seatgrid { display:grid; grid-template-columns:repeat(12,1fr); gap:4px; }
.seat { height:28px; border-radius:50%; border:1px solid #ddd; background:white; font-size:10px; }
.seat.sold { background:#1c1917; color:white; }
.seat.held { background:#f3c7cf; }
.stagebar { background:#1c1917; color:white; text-align:center; padding:8px; letter-spacing:1px; margin-bottom:8px; }
.cues { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cue { min-height:110px; border:1px solid var(--line); border-radius:12px; background:white; }
.cue.hot { background:var(--red); color:white; border-color:var(--red); }
.menu-toggle { display:none; }
@media (max-width: 860px) {
  .app { display:block; }
  .menu-toggle { display:inline-block; margin-bottom:8px; }
  .rail { width:auto; flex:none; display:none; border-right:0; border-bottom:1px solid var(--line); }
  .rail.open { display:block; }
  .nav { flex-direction:row; flex-wrap:wrap; }
  .main { padding:14px; }
  h1 { font-size:28px; }
  .seatgrid { grid-template-columns:repeat(8,1fr); }
}
