.mvd-planning-page .accordion > h3 {
  border-top: 1px solid #e1e8ec;
  margin-top: 28px;
  padding-top: 25px;
  scroll-margin-top: 18px;
}

.mvd-planning-page .accordion > h3:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.mvd-planning-page #aside_scroll {
  align-self: flex-start;
  position: sticky;
  top: 18px;
}

.mvd-calendar-availability {
  --mvd-calendar-accent: #218552;
  --mvd-calendar-soft: #e4f4eb;
  color: #185d3b;
}

.mvd-calendar-filter {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  box-sizing: border-box;
  color: #425965;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 9px;
  line-height: 1.35;
  margin: 0 0 3px;
  padding: 9px 8px;
  text-align: left;
  transition: background-color .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
  width: 100%;
}

.mvd-calendar-filter > span {
  background: var(--mvd-calendar-accent, #36a5c9);
  border-radius: 50%;
  display: block;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.mvd-calendar-filter:hover,
.mvd-calendar-filter:focus {
  background: #f0f5f7;
  color: #123f58;
  filter: brightness(1.05);
  transform: var(--mvd-raise-hover);
}

.mvd-calendar-filter.is-active {
  background: var(--mvd-calendar-soft, #e6f4f8);
  color: var(--mvd-domain-ink, #0b6d90);
}

.mvd-calendar-intro p + p {
  margin-top: 8px;
}

.mvd-calendar-filter[data-calendar-filter="all"]::before {
  border: 2px solid #36a5c9;
  border-radius: 50%;
  content: "";
  display: block;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.mvd-calendar-mobile-filter {
  display: none;
}

.mvd-monthly-calendar {
  border: 1px solid #d9e4e9;
  border-radius: 6px;
  margin: 26px 0 38px;
  overflow: hidden;
}

.mvd-calendar-toolbar {
  align-items: center;
  background: #f4f8fa;
  border-bottom: 1px solid #d9e4e9;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 20px;
}

.mvd-modern-public .article-content .mvd-calendar-heading h2 {
  color: #123f58;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 3px;
}

.mvd-calendar-heading p {
  color: #566d79;
  font-size: 13px;
  margin: 0;
}

.mvd-calendar-controls {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.mvd-calendar-step {
  align-items: center;
  background: #fff;
  border: 1px solid #cddbe1;
  border-radius: 4px;
  color: #174f69;
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 24px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: border-color .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
  min-width: 40px;
  width: 40px;
}

.mvd-calendar-step:hover:not(:disabled),
.mvd-calendar-step:focus:not(:disabled) {
  border-color: #36a5c9;
  color: #0d7194;
  filter: brightness(1.06);
  transform: var(--mvd-raise-hover);
}

.mvd-calendar-step:focus-visible:not(:disabled) {
  outline: 3px solid #0d7194;
  outline-offset: 3px;
}

.mvd-calendar-step:disabled {
  color: #aebec5;
  cursor: default;
  filter: none;
  transform: none;
}

.mvd-calendar-picker {
  border: 1px solid #cddbe1;
  border-radius: 4px;
  box-sizing: border-box;
  color: #163f54;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  margin: 0;
  min-width: 155px;
  padding: 7px 10px;
}

.mvd-calendar-panels {
  padding: 20px;
}

.mvd-calendar-filter-empty {
  background: #f7fafb;
  border-bottom: 1px solid #d9e4e9;
  color: #5e737e;
  font-size: 13px;
  padding: 18px 20px;
}

.mvd-calendar-filter-empty[hidden] {
  display: none;
}

.mvd-calendar-month[hidden] {
  display: none;
}

.mvd-calendar-month-header {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.mvd-modern-public .article-content .mvd-calendar-month-header h3 {
  color: #123f58;
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
}

.mvd-calendar-month-header span {
  color: #607783;
  font-size: 13px;
  font-weight: 600;
}

.mvd-calendar-grid {
  background: #dce6eb;
  border: 1px solid #dce6eb;
  border-radius: 5px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  position: relative;
}

.mvd-calendar-weekday {
  background: #eef4f6;
  color: #56707c;
  font-size: 11px;
  font-weight: 700;
  padding: 9px 5px;
  text-align: center;
  text-transform: uppercase;
}

.mvd-calendar-weekday.is-weekend {
  background: #e8edef;
  color: #526873;
}

.mvd-calendar-day {
  background: #fff;
  box-sizing: border-box;
  /* One concise marker per date: keep the monthly overview dense. */
  min-height: 68px;
  padding: 6px;
  position: relative;
}

.mvd-calendar-day.is-weekend {
  background: #f5f7f8;
}

.mvd-calendar-day.is-outside {
  background: #f8fafb;
}

.mvd-calendar-day.is-outside.is-weekend {
  background: #f2f5f6;
}

.mvd-calendar-day.is-outside > time {
  color: #5d717b;
}

.mvd-calendar-day.is-holiday {
  background: #fff5f3;
}

.mvd-calendar-day.is-holiday > time {
  color: #bd432c;
  font-weight: 700;
}

.mvd-calendar-holiday {
  background: #fde4df;
  border-radius: 3px;
  color: #a33e2d;
  display: block;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 5px;
  overflow: hidden;
  padding: 2px 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mvd-calendar-day.is-outside .mvd-calendar-event {
  opacity: .82;
}

.mvd-calendar-day > time {
  color: #4c6572;
  display: block;
  font-size: 12px;
  line-height: 1;
  margin-bottom: 4px;
}

.mvd-calendar-day.is-today > time {
  align-items: center;
  background: #123f58;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  margin: -2px 0 5px -2px;
  width: 24px;
}

.mvd-calendar-event {
  background: var(--mvd-calendar-soft, #e6f4f8);
  border-left: 3px solid var(--mvd-calendar-accent, #36a5c9);
  border-radius: 3px;
  color: #124b64;
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
  overflow: hidden;
  padding: 3px 4px;
  text-overflow: ellipsis;
}

.mvd-calendar-event:hover,
.mvd-calendar-event:focus {
  box-shadow: inset 0 0 0 1px var(--mvd-calendar-accent, #36a5c9);
  color: #0d7194;
  filter: none;
  transform: none;
}

.mvd-calendar-event.is-full {
  background: #fde9e6;
  border-left-color: #b94135;
  color: #8c2f27;
}

.mvd-calendar-event.is-confirmed:not(.is-full) {
  box-shadow: inset 0 0 0 1px rgba(33, 133, 82, .28);
}

.mvd-calendar-other-activity {
  background: #246f93;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  bottom: 3px;
  left: 2px;
  overflow: hidden;
  padding: 3px 5px;
  position: absolute;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: calc((100% + 1px) * var(--mvd-calendar-activity-span) - 5px);
  z-index: 2;
}

.mvd-calendar-other-activity.is-compact {
  font-size: 8px;
  line-height: 1.2;
  padding: 2px 3px;
  white-space: normal;
}

.mvd-calendar-other-activity:hover,
.mvd-calendar-other-activity:focus {
  box-shadow: 0 0 0 2px rgba(36, 111, 147, .25), inset 0 0 0 1px rgba(255, 255, 255, .28);
  outline: 0;
}

.mvd-calendar-other-activity::after {
  background: #246f93;
  border-radius: 3px;
  bottom: calc(100% + 4px);
  box-shadow: 0 3px 10px rgba(20, 47, 63, .22);
  color: #fff;
  content: attr(aria-label);
  display: none;
  font-size: 10px;
  font-weight: 700;
  left: 0;
  line-height: 1.35;
  min-width: 190px;
  padding: 6px 8px;
  position: absolute;
  white-space: normal;
  width: 240px;
  z-index: 4;
}

.mvd-calendar-other-activity:hover::after,
.mvd-calendar-other-activity:focus::after {
  display: block;
}

.mvd-calendar-event.mvd-calendar-availability:hover,
.mvd-calendar-event.mvd-calendar-availability:focus {
  color: #154f33;
}

.mvd-calendar-session-list {
  margin-top: 22px;
}

.mvd-modern-public .article-content .mvd-calendar-session-list h4 {
  color: #536b77;
  font-size: 12px;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.mvd-modern-public .mvd-calendar-session-card {
  align-items: center;
  /* Override the generic card border and retain the parent-domain colour. */
  border-left: 4px solid var(--mvd-calendar-accent, #36a5c9);
  border-top: 1px solid #e3eaee;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 11px 0 11px 12px;
}

.mvd-calendar-availability-card {
  align-items: center;
  border-left: 3px solid #218552;
  border-top: 1px solid #dbeae2;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 11px 0 11px 12px;
}

.mvd-calendar-availability-card .mvd-calendar-session-date {
  color: #218552;
}

.mvd-calendar-session-copy {
  min-width: 0;
}

.mvd-calendar-session-date {
  color: #0d708f;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 3px;
}

.mvd-modern-public .article-content .mvd-calendar-session-copy h5 {
  color: #1f3f4f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 3px;
  text-transform: none;
}

.mvd-calendar-session-copy p {
  color: #617784;
  font-size: 12px;
  margin: 0;
}

.mvd-calendar-register {
  background: #117da2;
  border-radius: 4px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  transition: background-color .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
}

.mvd-calendar-session-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 7px;
  min-width: 98px;
}

.mvd-calendar-registration-note {
  color: #617784;
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 3px;
}

.mvd-calendar-register-contact {
	background: #a65f1f;
}

.mvd-calendar-register-contact:hover,
.mvd-calendar-register-contact:focus {
	background: #8f5019;
}

.mvd-calendar-register-disabled {
  background: #e8edf0;
  color: #5e717c;
  cursor: default;
}

.mvd-calendar-register:hover,
.mvd-calendar-register:focus {
  background: #1592be;
  color: #fff;
  filter: brightness(1.06);
  transform: var(--mvd-raise-hover);
}

.mvd-calendar-register-disabled:hover,
.mvd-calendar-register-disabled:focus {
  background: #e8edf0;
  color: #5e717c;
}

.mvd-calendar-register.mvd-calendar-request {
  background: #218552;
}

.mvd-calendar-register.mvd-calendar-request:hover,
.mvd-calendar-register.mvd-calendar-request:focus {
  background: #2ca66a;
}

.mvd-schedule-catalog-heading {
  border-top: 1px solid #e1e8ec;
  margin-top: 28px;
  padding-top: 28px;
}

.mvd-modern-public .article-content .mvd-schedule-catalog-heading h2 {
  color: #123f58;
  font-size: 23px;
  margin: 0 0 5px;
}

.mvd-schedule-catalog-heading p {
  color: #5e737e;
  margin: 0 0 24px;
}

.mvd-schedule-domain-empty {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #dfe7ea;
  border-radius: 6px;
  background: #f7fafb;
  color: #526774;
  font-weight: 700;
}

.mvd-schedule-domain-empty[hidden] {
  display: none;
}

.mvd-schedule-domain-explorer {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.mvd-schedule-domain-card {
  overflow: hidden;
}

.mvd-schedule-domain-card[hidden] {
  display: none;
}

.mvd-schedule-domain-header {
  align-items: center;
  background: var(--mvd-calendar-soft, #f5f8f9);
  border-left: 5px solid var(--mvd-calendar-accent, #36a5c9);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 20px;
}

.mvd-modern-public .mvd-schedule-domain-header h3 {
  color: #152b36;
  font-size: 21px;
  line-height: 1.35;
  /* Cancel the global article H3 margin inside this compact header. */
  margin: 0 0 4px;
  text-transform: none;
}

.mvd-schedule-domain-toggle {
  align-items: flex-start;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  font: inherit;
  gap: 4px;
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
  text-align: left;
  width: 100%;
}

.mvd-schedule-domain-toggle::after {
  color: var(--mvd-domain-ink, #123f58);
  content: "+";
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.mvd-schedule-domain-toggle[aria-expanded="true"]::after {
  content: "−";
}

.mvd-schedule-domain-toggle:focus-visible {
  outline: 3px solid var(--mvd-calendar-accent, #36a5c9);
  outline-offset: 4px;
}

.mvd-schedule-domain-content[hidden] {
  display: none;
}

.mvd-schedule-domain-summary {
  color: #526774;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
}

.mvd-schedule-domain-header > .mvd-schedule-domain-page-link {
  align-self: center;
  background: #152b36;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 800;
  padding: 10px 14px;
  text-align: center;
  transition: background-color .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
  white-space: nowrap;
}

.mvd-schedule-domain-header > a:hover,
.mvd-schedule-domain-header > a:focus {
  background: #244b5d;
  color: #ffffff;
  filter: brightness(1.08);
  transform: var(--mvd-raise-hover);
}

.mvd-schedule-subdomain-grid {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.mvd-schedule-subdomain {
  border-top: 1px solid #e7eef1;
  padding-top: 16px;
}

.mvd-schedule-subdomain:first-child {
  border-top: 0;
  padding-top: 0;
}

.mvd-schedule-subdomain h4 {
  align-items: center;
  color: #152b36;
  display: flex;
  font-size: 19px;
  font-weight: 900;
  gap: 10px;
  line-height: 1.25;
  margin: 0 0 13px;
  text-transform: none;
}

.mvd-schedule-subdomain h4::before {
  background: var(--mvd-calendar-accent, #36a5c9);
  border-radius: 999px;
  content: "";
  flex: 0 0 8px;
  height: 28px;
}

.mvd-schedule-training-list {
  display: grid;
  gap: 10px;
}

.mvd-schedule-training-card {
  align-items: start;
  background: #fbfcfd;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.mvd-schedule-training-main h5 {
  color: #102b38;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 8px;
  text-transform: none;
}

.mvd-schedule-training-ref {
  margin: 0 6px 4px 0;
  vertical-align: middle;
}

.mvd-schedule-training-title {
  vertical-align: middle;
}

.mvd-schedule-training-main p {
  color: #526774;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 9px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mvd-schedule-training-meta {
  display: grid;
  gap: 7px;
}

.mvd-schedule-training-meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mvd-schedule-training-meta-row span:not(.mvd-schedule-duration-badge):not(.mvd-level-badge) {
  background: #eef4f6;
  border-radius: 999px;
  color: #334a56;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.mvd-schedule-training-meta-row .mvd-schedule-registration-badge {
  background: #edf6f2;
  color: #1d6040;
}

.mvd-schedule-training-meta-row .mvd-schedule-access-badge {
  background: #edf4f7;
  color: #345362;
}

.mvd-schedule-training-actions > a:not(.mvd-calendar-register) {
  border: 1px solid #9db9c4;
  border-radius: 4px;
  color: #17627d;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
  white-space: nowrap;
}

.mvd-schedule-training-actions > a:not(.mvd-calendar-register):hover,
.mvd-schedule-training-actions > a:not(.mvd-calendar-register):focus {
  background: #f5fbfd;
  border-color: #73bed7;
  filter: brightness(1.08);
  transform: var(--mvd-raise-hover);
}

.mvd-schedule-session-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  grid-column: 1 / -1;
}

.mvd-schedule-session-chip,
.mvd-schedule-request-chip {
  border: 1px solid transparent;
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  padding: 8px 10px;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
}

.mvd-schedule-session-chip em {
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  opacity: 1;
}

.mvd-schedule-session-chip.is-confirmed {
  border-color: #bfdfcf;
  background: #e3f4ec;
  color: #17623c;
}

.mvd-schedule-session-chip.is-pending {
  border-color: #f1dfac;
  background: #fff3d7;
  color: #8a5a00;
}

.mvd-schedule-session-chip.is-full {
  border-color: #efc6c0;
  background: #fde9e6;
  color: #9c342b;
}

.mvd-schedule-request-chip {
  background: #152b36;
}

.mvd-schedule-request-chip.is-inter-request {
  background: #9c5a00;
  color: #ffffff;
}

.mvd-schedule-request-chip.is-intra-request {
  background: #152b36;
}

.mvd-schedule-session-chip:hover,
.mvd-schedule-session-chip:focus {
  filter: brightness(1.08);
  transform: var(--mvd-raise-hover);
}

.mvd-schedule-session-chip.is-confirmed:hover,
.mvd-schedule-session-chip.is-confirmed:focus {
  border-color: #91cbae;
  background: #d6f0e3;
  color: #17623c;
}

.mvd-schedule-session-chip.is-pending:hover,
.mvd-schedule-session-chip.is-pending:focus {
  border-color: #dfbf5a;
  background: #ffe8a6;
  color: #744b00;
}

.mvd-schedule-session-chip.is-full:hover,
.mvd-schedule-session-chip.is-full:focus {
  border-color: #d99188;
  background: #f9d8d3;
  color: #8b2d25;
}

.mvd-schedule-request-chip:hover,
.mvd-schedule-request-chip:focus {
  color: #ffffff;
  filter: brightness(1.08);
  transform: var(--mvd-raise-hover);
}

.mvd-schedule-request-chip.is-inter-request:hover,
.mvd-schedule-request-chip.is-inter-request:focus {
  background: #7f4900;
  border-color: #7f4900;
  color: #ffffff;
}

.mvd-schedule-request-chip.is-intra-request:hover,
.mvd-schedule-request-chip.is-intra-request:focus {
  background: #244b5d;
  border-color: #244b5d;
  color: #ffffff;
}

.mvd-calendar-empty {
  background: #f4f8fa;
  border: 1px solid #d9e4e9;
  border-radius: 5px;
  margin: 24px 0 36px;
  padding: 18px;
}

