:root { --border:#ddd; --muted:#666; --accent:#8a2f2f; --bg:#faf9f7; }
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin:0; background:var(--bg); color:#222; }
header { background: var(--accent); color:#fff; padding: 16px 20px; }
header h1 { font-size: 18px; margin:0; font-weight:600; }
header a { color:#fff; text-decoration:none; opacity:.85; font-size:13px; }
main { max-width: 640px; margin: 0 auto; padding: 24px 16px 60px; }
.card { background:#fff; border:1px solid var(--border); border-radius:10px; padding:18px; margin-bottom:16px; }
h2 { font-size:16px; margin:0 0 12px; }
label { display:block; font-size:13px; color:var(--muted); margin:10px 0 4px; }
input, select, textarea { width:100%; padding:9px 10px; border:1px solid var(--border); border-radius:6px; font-size:15px; }
.row { display:flex; gap:12px; flex-wrap:wrap; }
.row > div { flex:1; min-width:150px; }
button.primary { background:var(--accent); color:#fff; border:none; padding:11px 18px; border-radius:6px; cursor:pointer; font-size:15px; width:100%; margin-top:6px; }
button.primary:disabled { opacity:.5; cursor:default; }
button.secondary { background:#fff; border:1px solid var(--border); padding:8px 14px; border-radius:6px; cursor:pointer; font-size:14px; }
.list-item { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--border); cursor:pointer; }
.list-item:last-child { border-bottom:none; }
.list-item:hover { background:#faf5f2; }
.list-item .name { font-weight:600; font-size:15px; }
.list-item .meta { color:var(--muted); font-size:13px; }
.price { font-weight:600; color:var(--accent); }
.muted { color:var(--muted); font-size:13px; }
.error { color:#c66; font-size:13px; margin-top:8px; }
.selected { background:#faf5f2; border:1px solid var(--accent); border-radius:8px; padding:10px 12px; margin-bottom:12px; }
.slot-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap:8px; margin-top:10px; }
.slot-btn { padding:8px 4px; border:1px solid var(--border); border-radius:6px; background:#fff; cursor:pointer; font-size:13px; text-align:center; }
.slot-btn.active { background:var(--accent); color:#fff; border-color:var(--accent); }
.status-pending { color:#8a6d1a; }
.status-confirmed { color:#1a6b1a; font-weight:600; }
.hidden { display:none !important; }
.cal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; font-weight:600; }
.cal-weekdays { display:grid; grid-template-columns: repeat(7,1fr); text-align:center; color:var(--muted); font-size:12px; margin-bottom:4px; }
.cal-grid { display:grid; grid-template-columns: repeat(7,1fr); gap:4px; }
.cal-day { padding:8px 0; border:1px solid transparent; border-radius:6px; background:none; font-size:13px; cursor:pointer; }
.cal-day.open { background:#faf5f2; border-color:var(--border); }
.cal-day.open:hover { border-color:var(--accent); }
.cal-day.closed { color:#ccc; cursor:default; }
.cal-day.selected { background:var(--accent); color:#fff; border-color:var(--accent); }
