.cr-root {
  box-sizing: border-box;
  max-width: 100%;
  padding: 16px;
  background: var(--navy2, #13243d);
  color: var(--white, #ffffff);
  font-family: inherit;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.cr-root *,
.cr-root *::before,
.cr-root *::after {
  box-sizing: border-box;
}

.cr-h {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--white, #ffffff);
}

.cr-sub {
  margin: 0 0 16px;
  color: var(--muted, #9db0c6);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cr-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.cr-day {
  flex: 1 1 150px;
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 8px 12px;
  border: 1px solid var(--navy3, #0a1729);
  border-radius: 10px;
  background: var(--navy3, #0a1729);
  color: var(--white, #ffffff);
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.cr-day > span {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted, #9db0c6);
  overflow-wrap: anywhere;
}

.cr-day > .cr-tick {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--yellow, #ffd33d);
  color: var(--navy3, #0a1729);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.cr-day[aria-selected="true"] {
  background: var(--yellow, #ffd33d);
  border-color: var(--yellow, #ffd33d);
  color: var(--navy3, #0a1729);
}

.cr-day[aria-selected="true"] > span {
  color: var(--navy3, #0a1729);
}

.cr-day[aria-selected="true"] > .cr-tick {
  background: var(--navy3, #0a1729);
  color: var(--yellow, #ffd33d);
}

.cr-panel {
  display: block;
  max-width: 100%;
}

.cr-mod {
  margin: 0 0 10px;
  border: 1px solid var(--navy3, #0a1729);
  border-radius: 10px;
  background: var(--navy3, #0a1729);
  overflow: hidden;
}

.cr-mod summary {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 12px;
  color: var(--white, #ffffff);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.cr-mod summary::-webkit-details-marker {
  display: none;
}

.cr-mod summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 10px;
  color: var(--yellow, #ffd33d);
  font-weight: 700;
}

.cr-mod[open] summary::after {
  content: "\2212";
}

.cr-topic {
  margin: 14px 12px 6px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--yellow, #ffd33d);
  overflow-wrap: anywhere;
}

.cr-facts {
  margin: 0 12px 14px;
  padding-left: 1.15em;
  color: var(--white, #ffffff);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cr-facts li {
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.cr-facts li:last-child {
  margin-bottom: 0;
}

.cr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cr-quiz,
.cr-done {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid var(--yellow, #ffd33d);
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.cr-quiz {
  background: var(--yellow, #ffd33d);
  color: var(--navy3, #0a1729);
}

.cr-done {
  background: transparent;
  color: var(--yellow, #ffd33d);
}

.cr-day:hover,
.cr-quiz:hover,
.cr-done:hover {
  filter: brightness(1.08);
}

.cr-root button:focus-visible,
.cr-mod summary:focus-visible {
  outline: 2px solid var(--yellow, #ffd33d);
  outline-offset: 2px;
}

.cr-anim .cr-day,
.cr-anim .cr-mod,
.cr-anim .cr-quiz,
.cr-anim .cr-done {
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cr-anim .cr-day,
  .cr-anim .cr-mod,
  .cr-anim .cr-quiz,
  .cr-anim .cr-done {
    transition: none;
  }
}
