:root { --bg:#f5f6f8; --card:#fff; --fg:#1c2230; --muted:#5d6678; --line:#d9dde5; --accent:#0f5d8a; --ok:#1d7a3a; --bad:#b3261e; }
@media (prefers-color-scheme: dark) { :root { --bg:#14171c; --card:#1d2128; --fg:#e7e9ee; --muted:#9aa3b2; --line:#333a45; --accent:#4aa3d8; --ok:#5cc27a; --bad:#ff8a80; } }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--fg); font:15px/1.5 system-ui, "Segoe UI", sans-serif; }
header { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 16px; background:var(--accent); color:#fff; flex-wrap:wrap; }
header .sub { margin-left:10px; opacity:.85; font-size:13px; }
.who { font-size:14px; }
main { max-width:860px; margin:0 auto; padding:16px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px; margin-bottom:14px; }
h2 { font-size:17px; margin:0 0 10px; }
label { display:block; font-weight:600; font-size:13px; margin:8px 0 4px; }
label.inline { display:inline-flex; gap:6px; align-items:center; font-weight:500; margin-right:16px; }
input, select { width:100%; padding:8px 10px; border:1px solid var(--line); border-radius:7px; background:var(--bg); color:var(--fg); font:inherit; }
input[type=radio], input[type=checkbox] { width:auto; }
.row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.row input { flex:1 1 200px; width:auto; }
.row input[type=radio], .row input[type=checkbox] { flex:none; }
button { padding:8px 16px; border:0; border-radius:7px; background:var(--accent); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
button:disabled { opacity:.45; cursor:not-allowed; }
button.secondary { background:transparent; color:var(--accent); border:1px solid var(--accent); }
button.link { background:none; color:#fff; text-decoration:underline; padding:0 4px; }
.grid { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; margin-top:8px; }
@media (max-width:600px) { .grid { grid-template-columns:1fr; } }
.resv { margin-top:10px; padding:10px; border:1px dashed var(--line); border-radius:8px; }
.arrivals { display:flex; flex-direction:column; gap:6px; margin-top:10px; max-height:280px; overflow:auto; }
.arrival { text-align:left; background:var(--bg); color:var(--fg); border:1px solid var(--line); font-weight:500; }
.state { color:var(--muted); font-size:13px; }
.msg { min-height:1.2em; margin:8px 0 0; } .ok { color:var(--ok); } .bad { color:var(--bad); }
.hidden { display:none !important; }
