.page-head {
  margin-bottom: 20px;
}

.page-head h1 {
  font-size: 1.7rem;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-head p {
  color: var(--muted);
  margin-top: 6px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.year-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.year-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

.year-label {
  font-size: 1.1rem;
  min-width: 64px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--brand) 65%, #ffffff);
  color: var(--brand-ink);
  font-size: 0.88rem;
  border: 1px solid color-mix(in srgb, var(--brand) 40%, #ffffff);
  margin-left: auto;
}

.btn:hover {
  background: color-mix(in srgb, var(--brand) 85%, #ffffff);
}

.banner {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.banner.show {
  display: flex;
}

.banner.error {
  background: rgba(185, 28, 28, 0.12);
  color: var(--busy);
}

.banner .icon {
  flex: none;
}

.banner .btn {
  margin-left: auto;
}

.empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 48px 20px;
  color: var(--muted);
}

.empty-state.show {
  display: flex;
}

.empty-state .icon {
  width: 34px;
  height: 34px;
}

.holiday-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.holiday-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.date-badge {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 55%, #ffffff);
  color: var(--brand-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.date-badge .day {
  font-size: 1.1rem;
  line-height: 1;
}

.date-badge .mon {
  font-size: 0.65rem;
  text-transform: uppercase;
}

.holiday-row .info {
  flex: 1;
  min-width: 0;
}

.holiday-row .name {
  font-size: 0.95rem;
}

.holiday-row .meta {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.type-tag {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.type-tag.national {
  background: color-mix(in srgb, var(--brand) 55%, #ffffff);
  color: var(--brand-ink);
}

.type-tag.joint {
  background: rgba(16, 36, 26, 0.08);
  color: var(--muted);
}
