/* MAM-A palette supplied by the site owner, 2026-11-18. */
:root,
html[data-theme="light"] {
  --dark-color: #654C42;
  --black-color: #654C42;
  --white-color: #F6EFE6;
  --blue-color: #3E739E;
  --blue-color-2: #3E739E;
  --border-color: #C0936E;
  --border-color-2: #EFCF9D;
  --bg-grey-color: #F9CFB1;
  --grey-color: #654C42;
  --color-titles: #654C42;
  --bg-cards: #EFCF9D;
}
html[data-theme="book"] {
  --dark-color: #654C42;
  --black-color: #654C42;
  --white-color: #F6EFE6;
  --blue-color: #3E739E;
  --blue-color-2: #3E739E;
  --border-color: #C0936E;
  --border-color-2: #C0936E;
  --bg-grey-color: #EFCF9D;
  --grey-color: #654C42;
  --color-titles: #654C42;
  --bg-cards: #F9CFB1;
}
html[data-theme="dark"] {
  --dark-color: #F6EFE6;
  --black-color: #F6EFE6;
  --white-color: #302722;
  --blue-color: #7AC0EA;
  --blue-color-2: #7AC0EA;
  --border-color: #859885;
  --border-color-2: #859885;
  --bg-grey-color: #49392F;
  --grey-color: #EFCF9D;
  --color-titles: #F9CFB1;
  --bg-cards: #49392F;
}
.header__logo { width: 70px; height: 38px; }
.header__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 480px) {
  .header__logo { width: 118px; height: 62px; }
}
html[data-theme="dark"] .header__logo {
  background: #F6EFE6;
  border-radius: 8px;
}
html[data-theme="light"] .theme-toggle__track { background-color: #7AC0EA; }
html[data-theme="book"] .theme-toggle__track { background-color: #EFCF9D; }
html[data-theme="dark"] .theme-toggle__track { background-color: #654C42; }
.theme-toggle__thumb { background-color: #F6EFE6; }
html:not([data-theme="dark"]) a:visited { text-decoration-color: #859885; }
::selection { background: #E49698; color: #654C42; }

/* Follow the taller stork logo at each header padding breakpoint. */
.sidebar__wrap { top: 63px; height: calc(100% - 63px); }
@media (min-width: 480px) {
  .sidebar__wrap { top: 87px; height: calc(100% - 87px); }
}
@media (min-width: 640px) {
  .sidebar__wrap { top: 93px; height: calc(100% - 93px); }
}

/* Override the shared logo image bounds for this portal. */
.header__logo img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
}
