:root {
  --ink: #142b3b;
  --muted: #516776;
  --line: #dbe4ea;
  --bg: #f4f7fa;
  --nav: #142b3d;
  --teal: #086d70;
  --shadow: 0 2px 8px rgb(20 43 61 / 5%);
}
body { font-family: Inter, "Segoe UI", Arial, sans-serif; }
.sidebar { background: var(--nav); border-right: 1px solid #243f53; }
.topbar { background: #fff; box-shadow: 0 1px 0 var(--line); }
.heading h1 { letter-spacing: -.035em; }
.panel, .metric, .person, .auth-card { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.panel-head { border-bottom-color: var(--line); }
.btn { border-radius: 8px; }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: #edf4f7; }
:focus-visible { outline: 2px solid #149292; outline-offset: 3px; }
.auth-shell { background: radial-gradient(ellipse at top right, #20545c, #132b3c 70%); }
.calendar-board-head { gap: 10px; flex-wrap: wrap; }
.calendar-board-head h2 { text-transform: capitalize; }
.calendar-controls { display: flex; gap: 6px; align-items: center; }
.calendar-controls button { min-width: 40px; }
.calendar-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekday { font-size: .78rem; color: var(--muted); font-weight: 650; text-align: center; }
.calendar-month .calendar-day { min-width: 0; min-height: 78px; border-radius: 8px; padding: 7px; }
.calendar-month .day-event { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.delivery-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.delivery-options legend { padding: 0 4px; font-weight: 650; }
.delivery-options label, .notify-check { display: flex; align-items: center; gap: 8px; }
.form input[type="checkbox"] { width: auto; accent-color: var(--teal); }
@media (max-width: 560px) {
  .calendar-month { gap: 3px; }
  .calendar-month .calendar-day { min-height: 62px; padding: 4px; }
  .calendar-month .day-number { font-size: .9rem; }
  .calendar-month .day-event { font-size: .59rem; padding: 2px; }
}
.delivery-options[hidden] { display: none; }
.delivery-options .message-field { width: 100%; }
[data-calendar-end][hidden] { display: none; }
.selected-events .event-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.selected-events .event-row > .btn { flex: 0 0 auto; }
.account-fields { display: grid; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.account-fields legend { padding: 0 4px; font-weight: 650; }
.account-fields small { color: var(--muted); }
.modal { max-height: calc(100dvh - 40px); overflow-y: auto; }
.profile-editor .modal-footer { position: sticky; bottom: -12px; z-index: 1; padding: 10px 0 3px; background: #fff; flex-wrap: wrap; }
#notificationsButton { display: inline-grid; place-items: center; }
