.cal { width: 100%; max-width: 420px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-family: var(--serif); font-size: 24px; }
.cal-head button { width: 40px; height: 40px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 18px; color: var(--ink); }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-w { text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-d { position: relative; aspect-ratio: 1; border: 1px solid transparent; background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; padding: 0; }
.cal-d:disabled { color: #c9c1b8; cursor: default; }
.cal-d.today { border-color: var(--line); }
.cal-d.mark-free { font-weight: 500; }
.cal-d.mark-free::after, .cal-d.mark-booked::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; transform: translateX(-50%); background: var(--accent); }
.cal-d.mark-booked::after { background: var(--muted); }
.cal-d:not(:disabled):not(.selected):hover { border-color: var(--accent); }
.cal-d.selected { background: var(--ink); color: #fff; }
.cal-d.selected::after { background: #fff; }
