#meeting-calendar { min-width: 0; }
#meeting-calendar p, #schedule-dialog p { margin: 0; }
#meeting-calendar button, #schedule-dialog button {
  min-height: 44px; min-width: 0; padding: 7px 10px;
  border: 1px solid #b7c9c0; border-radius: var(--jaba-button-radius);
  background: #fffdf7; color: #173831; font-size: .9rem;
  font-weight: 650; line-height: 1.25; white-space: normal;
}
#meeting-calendar button:hover, #schedule-dialog button:hover { background: #e6efe8; }
#meeting-calendar button[aria-pressed="true"], #schedule-dialog button[aria-pressed="true"] {
  border-color: #07665a; background: #07665a; color: white;
}
#meeting-calendar button:disabled, #schedule-dialog button:disabled { opacity: .5; cursor: default; }
#meeting-calendar a, #schedule-dialog a { color: #07665a; }
.schedule-next {
  display: flex; align-items: baseline; gap: 4px 16px; flex-wrap: wrap;
  background: #e2efe8; border-left: 3px solid #07665a; border-radius: 4px;
  padding: 12px 16px; margin-bottom: 14px; overflow-wrap: anywhere;
}
.schedule-next > strong { font-size: .84rem; color: #07665a; }
.schedule-tools, .schedule-views { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.schedule-tools { margin-bottom: 6px; }
.schedule-tools [data-control="expand"] { margin-left: auto; }
.schedule-filters { border-bottom: 1px solid #d5ddd2; }
.schedule-filters summary {
  display: list-item; min-height: 44px; padding: 10px 0; color: #07665a;
  font-size: .9rem; font-weight: 650; cursor: pointer; overflow-wrap: anywhere;
}
.schedule-fields {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 10px;
  padding-bottom: 12px;
}
.schedule-fields label { display: block; min-width: 0; }
.schedule-fields input, .schedule-fields select { min-width: 0; width: 100%; max-width: 100%; min-height: 44px; }
.schedule-range {
  display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px;
  align-items: center; margin: 12px 0 6px; text-align: center;
}
.schedule-range p { font-weight: 700; line-height: 1.35; }
#meeting-calendar .schedule-range button, #schedule-dialog .schedule-range button { font-size: 1.5rem; }
.schedule-dates, .schedule-week, .schedule-month { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
#meeting-calendar .schedule-dates button, #schedule-dialog .schedule-month button { padding: 4px 0; }
.schedule-dates button span, .schedule-dates button strong { display: block; }
.schedule-dates button span { font-size: .72rem; }
.schedule-dates button strong { font-size: 1rem; }
.schedule-dates [aria-current="date"]:not([aria-pressed="true"]), .schedule-month [aria-current="date"]:not([aria-pressed="true"]) { box-shadow: inset 0 -3px #07665a; }
.schedule-week { margin-top: 4px; }
.schedule-week section, .schedule-day {
  min-width: 0; border: 1px solid #d5ddd2; border-radius: 5px; background: #fffdf7;
}
.schedule-week .schedule-chosen { border-color: #07665a; }
.schedule-meetings { list-style: none; padding: 0; margin: 0; }
.schedule-meeting { min-width: 0; padding: 9px 8px; line-height: 1.35; overflow-wrap: anywhere; }
.schedule-meeting + .schedule-meeting { border-top: 1px solid #e0e6df; }
.schedule-time, .schedule-group { font-weight: 700; }
.schedule-time { color: #07665a; font-variant-numeric: tabular-nums; font-size: .88rem; }
.schedule-time time { white-space: nowrap; }
.schedule-group { font-size: .95rem; }
.schedule-location, .schedule-past, .schedule-empty, .schedule-zone { color: #455d53; font-size: .84rem; }
.schedule-day { margin-top: 8px; }
.schedule-day h3, .schedule-day h4 {
  margin: 0; padding: 10px 12px; border-bottom: 1px solid #d5ddd2;
  font-size: 1.06rem; line-height: 1.4; letter-spacing: normal;
}
.schedule-day .schedule-meeting {
  display: grid; grid-template-columns: minmax(0,5.6rem) minmax(0,1fr); gap: 6px 10px;
  padding: 9px 12px;
}
.schedule-day .schedule-time span { display: block; }
.schedule-today { margin-left: 4px; color: #07665a; font: 650 .75rem system-ui,sans-serif; }
#meeting-calendar .schedule-empty, #schedule-dialog .schedule-empty { padding: 12px; }
#meeting-calendar .schedule-zone, #schedule-dialog .schedule-zone { margin-top: 9px; }
.schedule-dialog {
  width: min(calc(100% - 24px),760px); max-height: calc(100dvh - 24px); overflow-y: auto;
  padding: clamp(12px,3vw,26px); border: 1px solid #b7c9c0; border-radius: 9px;
  background: #f8f7f0; color: #173831;
}
.schedule-dialog::backdrop { background: #173831aa; }
.schedule-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.schedule-dialog-heading h2 { margin: 0; font-size: clamp(1.4rem,3.5vw,2.2rem); }
.schedule-month > span { text-align: center; font-size: .74rem; }
@media (max-width: 360px) {
  .schedule-dates, .schedule-month { gap: 2px; }
  .schedule-day .schedule-meeting { grid-template-columns: minmax(0,4.8rem) minmax(0,1fr); gap: 4px 8px; padding-inline: 8px; }
}
#meeting-calendar .schedule-dates button, #schedule-dialog .schedule-month button {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
}
#meetings .public-section-heading { gap: 8px 24px; margin-bottom: 14px; }
#meetings .public-section-heading p { margin-bottom: 0; }

.schedule-events { margin-block: 6px; }
.schedule-events .schedule-meeting { background: #ecf3e6; border-radius: 4px; }
.schedule-events a { font-weight: 700; overflow-wrap: anywhere; }
.schedule-event-label { color: #315b35; font-weight: 700; font-size: .75rem; }
#meeting-calendar .schedule-event-dot, #schedule-dialog .schedule-event-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline: 4px;
  border-radius: 50%;
  background: currentColor;
}
