* {
  box-sizing: border-box;
  margin: 0;
}

body {
  min-width: 1000px;
  min-height: 100vh;
  padding: 3rem 1rem;
  background: #f3f4f6;
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 56rem;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 1.5rem;
}

header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
}

header a {
  color: #2563eb;
  text-decoration: none;
}

header a:hover {
  text-decoration: underline;
}

.hours-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  padding: 1.5rem;
}

.card h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.card p {
  margin-bottom: 0.5rem;
}

.calendar {
  margin-bottom: 0.5rem;
}

h2.calendar-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: normal;
  margin-bottom: 1.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.weekday {
  text-align: center;
  color: #4b5563;
  font-weight: 700;
}

.day {
  display: flex;
  flex-direction: column;
  height: 6rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.day-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #374151;
  padding-right: 0.25rem;
}

.day-month {
  font-size: 0.75rem;
  color: #4b5563;
}

.day-message {
  margin: auto 0;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
}

.closed {
  background: #fecaca;
}

.early {
  background: #fef08a;
}

.open {
  background: #bbf7d0;
}

.weekend {
  background: #e5e7eb;
}

.footnote {
  text-align: center;
  color: #4b5563;
}

.editor-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
}

.add-option,
.save-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.editor-toolbar select,
.editor-toolbar button {
  font: inherit;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background: #ffffff;
}

.editor-toolbar button {
  cursor: pointer;
}

#save-button {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  padding: 0.25rem 1.5rem;
}

#save-button:disabled {
  opacity: 0.5;
  cursor: default;
}

#save-status {
  color: #4b5563;
}

.signed-in,
.last-edited {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.calendar + .calendar {
  margin-top: 1.5rem;
}

.day select {
  margin: auto 0;
  width: 100%;
  font: inherit;
  font-size: 0.875rem;
  padding: 0.125rem;
  border: 1px solid rgb(0 0 0 / 0.2);
  border-radius: 0.25rem;
  background: #ffffff;
}

.day.blank {
  background: transparent;
}

.day.past {
  opacity: 0.5;
}
