/* Generated by build-performance.py. Edit the original CSS files. */

/* lesson-library.css */
.lesson-library {
  max-width: 1100px;
  margin: 48px auto;
  padding: 32px;
  background: linear-gradient(135deg, #fafbf5, #e9eedf);
  border: 1px solid #d7dfca;
  border-radius: 28px;
  box-shadow:
    0 6px 0 #dce3d0,
    0 15px 35px #344d3510;
  color: #294638;
}
.lesson-library h2 {
  font:
    2rem Georgia,
    serif;
  margin: 10px 0;
}
.lesson-library h2 em {
  color: #b76c48;
}
.lesson-library p {
  line-height: 1.65;
}
.lesson-eyebrow,
.lesson-resume span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.lesson-resume {
  display: flex;
  gap: 24px;
  padding: 24px;
  margin: 24px 0;
  border-radius: 20px;
  background: #fffdf7;
  border: 1px solid #dce3d0;
  box-shadow: 0 5px 15px #29463809;
}
.lesson-resume img {
  object-fit: contain;
  border-radius: 12px;
  align-self: center;
}
.lesson-resume h3 {
  margin: 8px 0;
  font-size: 1.2rem;
}
.lesson-link,
.lesson-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #c9d5b9;
  border-radius: 18px;
  background: #edf2e5;
  color: #294638;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.lesson-favorite[aria-pressed='true'] {
  background: #e1e9d5;
}
.lesson-link:hover,
.lesson-favorite:hover {
  background: #f2e2d2;
  box-shadow: 0 2px 12px #cda77b30;
}
.lesson-link:focus-visible,
.lesson-favorite:focus-visible,
.lesson-toolbar a:focus-visible {
  outline: 3px solid #b58e59;
  outline-offset: 3px;
}
.lesson-saved-heading h3 {
  margin-bottom: 0;
}
.lesson-saved-heading h3 span {
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: #dce6cd;
}
.lesson-saved-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lesson-saved-card {
  padding: 18px;
  border-radius: 20px;
  background: #fffdf7;
  border: 1px solid #dce3d0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lesson-saved-card img {
  width: 100%;
  object-fit: contain;
}
.lesson-saved-card h4 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 auto;
}
.lesson-pdf {
  color: #365542;
  text-align: center;
  padding: 8px;
}
.lesson-empty {
  grid-column: 1/-1;
}
.lesson-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px auto 24px;
  padding: 12px;
  max-width: 1000px;
  border: 1px solid #d7dfca;
  border-radius: 20px;
  background: #f3f6eb;
}
.lesson-toolbar a {
  color: #294638;
  padding: 10px;
}
.lesson-toolbar span {
  font-size: 0.875rem;
}
.lesson-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.picker-card .lesson-favorite {
  margin-top: auto;
  width: 100%;
}
.lesson-favorite {
  position: relative;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ccd8bf;
  border-radius: 28px 24px 27px 23px;
  background: linear-gradient(155deg, #fffef8 0%, #f1f5e9 55%, #e6edda 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 3px 0 #d7dfca,
    0 5px 12px #4056380b;
  font-size: 0.9375rem;
  line-height: 1.3;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.lesson-favorite::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, #ffffffa0 48%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}
.lesson-favorite .lesson-heart {
  flex: 0 0 22px;
  fill: transparent;
  stroke: #849874;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition:
    fill 0.3s,
    stroke 0.3s,
    transform 0.3s;
  filter: drop-shadow(0 1px 0 #fff);
}
.lesson-favorite .lesson-favorite-label {
  width: auto;
  font-size: inherit;
  letter-spacing: 0.01em;
}
.lesson-favorite[aria-pressed='true'] {
  background: linear-gradient(155deg, #f8fbed, #e6eed9);
  border-color: #bfcfab;
}
.lesson-favorite[aria-pressed='true'] .lesson-heart {
  fill: #bc8068;
  stroke: #af725c;
}
@media (hover: hover) and (pointer: fine) {
  .lesson-favorite:hover {
    transform: translateY(-2px);
    background: linear-gradient(155deg, #fffdf7, #edf3e1);
    border-color: #b9cba4;
    box-shadow:
      inset 0 1px 0 #fff,
      0 4px 0 #d0dbc2,
      0 7px 20px #c5d2a840;
  }
  .lesson-favorite:hover::after {
    transform: translateX(130%);
    transition: transform 0.9s ease;
  }
  .lesson-favorite:hover .lesson-heart {
    transform: scale(1.1) rotate(-5deg);
  }
}
.lesson-favorite:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 3px #70865e18,
    0 1px 0 #d7dfca;
}
@media (prefers-reduced-motion: reduce) {
  .lesson-favorite,
  .lesson-favorite .lesson-heart {
    transition: none;
  }
  .lesson-favorite:hover,
  .lesson-favorite:hover .lesson-heart {
    transform: none;
  }
  .lesson-favorite::after {
    display: none;
  }
}
@media (max-width: 700px) {
  .lesson-library {
    margin: 32px 16px;
    padding: 22px 18px;
  }
  .lesson-saved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .lesson-saved-grid {
    grid-template-columns: 1fr;
  }
  .lesson-resume {
    padding: 18px;
    gap: 12px;
  }
  .lesson-resume img {
    width: 64px;
  }
  .lesson-toolbar {
    margin: 12px;
    gap: 8px;
  }
  .lesson-toolbar span {
    text-align: center;
    width: 100%;
  }
}


/* sounds.css */
:root {
  --cream: #faf8f2;
  --green: #283d32;
  --sage: #e9eddf;
  --terra: #c56c47;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
[role='tabpanel']:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 5px;
}
header {
  max-width: 1150px;
  margin: auto;
  padding: 27px 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #dfdfd3;
  font-size: 13px;
}
.brand {
  font-size: 19px;
  font-weight: bold;
}
main {
  max-width: 1150px;
  margin: auto;
  padding: 55px 25px 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: bold;
  margin: 0 0 18px;
}
h1 {
  font:
    400 52px/1.1 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0 0 20px;
}
h1 em {
  font-weight: 400;
  color: var(--terra);
}
.lead {
  font-size: 15px;
  line-height: 1.9;
  color: #6d7866;
  margin-bottom: 30px;
}
.sound-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid #dfdfd3;
}
.sound-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 93px;
  background: #f1eee4;
  border: 1px solid #dcdcca;
  border-radius: 17px;
  padding: 15px 18px;
  color: var(--green);
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 3px 0 #e0dccd;
  transition:
    background 0.18s,
    transform 0.18s;
}
.sound-tabs small {
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}
.sound-tabs button[aria-selected='true'] {
  background: #365c45;
  color: white;
  border-color: #365c45;
  box-shadow: 0 3px 0 #233f2c;
}
.sound-tabs button:hover {
  transform: translateY(-2px);
}
.section-heading {
  margin: 30px 0 25px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.section-heading h2 {
  font:
    400 32px Georgia,
    serif;
  margin: 0;
}
.section-heading h2 span {
  color: var(--terra);
}
.section-heading p {
  font-size: 13px;
  color: #6d7866;
  line-height: 1.7;
  margin: 0;
}
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.material-card {
  border: 1px solid #dedbcb;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8f4e9, #efeadc);
  box-shadow:
    0 4px 0 #ded8c8,
    0 18px 35px -26px #283d3270;
  display: flex;
  flex-direction: column;
}
.cover {
  display: block;
  height: 300px;
  overflow: hidden;
  background: #e9eddf;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.card-content {
  padding: 25px;
}
.tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #758369;
  margin: 0 0 12px;
}
h3 {
  font:
    400 28px Georgia,
    serif;
  margin: 0 0 13px;
}
.card-content > p:not(.tag) {
  font-size: 13px;
  line-height: 1.9;
  color: #66735e;
}
.format-tags {
  display: flex;
  gap: 9px;
  margin: 20px 0;
}
.format-tags span {
  background: #e3e8d6;
  border-radius: 20px;
  padding: 6px 11px;
  font-size: 10px;
}
.primary {
  background: #365c45;
  color: white;
  padding: 14px 18px;
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: bold;
}
.primary span {
  background: var(--terra);
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  font-size: 19px;
}
.primary:hover {
  background: #466e50;
}
.download {
  display: inline-block;
  font-size: 11px;
  margin-top: 17px;
  border-bottom: 1px solid #bbc4ae;
  padding-bottom: 4px;
}
.coming {
  padding: 50px 25px;
  background: #e9eddf;
  text-align: center;
  border-radius: 20px;
  margin-top: 30px;
}
.coming > span {
  display: inline-grid;
  place-items: center;
  background: #fff8ed;
  border-radius: 20px;
  width: 75px;
  height: 75px;
  font:
    400 44px Georgia,
    serif;
  color: var(--terra);
}
.coming h2 {
  font:
    400 29px Georgia,
    serif;
  margin: 22px 0 12px;
}
.coming p {
  font-size: 14px;
  line-height: 1.8;
  color: #6d7866;
}
.adult-note {
  font-size: 12px;
  line-height: 1.8;
  color: #76806c;
  margin: 35px 0 0;
}
footer {
  text-align: center;
  padding: 20px 25px 30px;
  font-size: 10px;
  color: #7b846f;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  main {
    padding: 35px 18px;
  }
  header {
    padding: 22px 18px;
  }
  .brand {
    font-size: 16px;
  }
  h1 {
    font-size: 38px;
  }
  .lead {
    font-size: 13px;
  }
  .sound-tabs {
    gap: 9px;
  }
  .sound-tabs button {
    min-width: calc((100% - 27px) / 4);
    padding: 13px 8px;
    font-size: 26px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
  .cover {
    height: 330px;
  }
  .card-content {
    padding: 22px;
  }
  h3 {
    font-size: 26px;
  }
  .coming h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sound-tabs button {
    transition: none;
  }
  .sound-tabs button:hover {
    transform: none;
  }
}

/* Story previews: choose a title before entering its reader. */
.materials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.material-card .cover {
  height: 215px;
}
.material-card .card-content {
  padding: 21px;
}
.material-card h3 {
  font-size: 25px;
  line-height: 1.2;
}
.material-card .primary {
  margin-top: auto;
}
.material-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.material-card .primary {
  gap: 10px;
}
@media (max-width: 950px) {
  .materials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
  .material-card .cover {
    height: 260px;
  }
}
.collection-card {
  max-width: 420px;
}
.collection-card .collection-cover {
  height: 235px;
  background: #faf8f2;
}
.collection-cover img {
  object-fit: cover;
  object-position: left bottom;
}
.collection-back {
  display: inline-block;
  margin: 0 0 24px;
  padding: 12px 18px;
  border: 1px solid #d4dcc7;
  border-radius: 16px;
  background: #e9eddf;
  color: #283d32;
  font-size: 13px;
  box-shadow: 0 3px 0 #d4dcc7;
}
.collection-back:hover {
  background: #dce5d0;
}
.collection-title {
  margin: 0 0 10px;
}
.collection-description {
  font-size: 13px;
  color: #66735e;
  margin: 0 0 24px;
}
#l-collections {
  grid-template-columns: minmax(0, 420px);
}
.collection-card .primary {
  align-self: flex-start;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 10px 16px;
  background: #e9eddf;
  color: #365c45;
  border: 1px solid #cbd5bf;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}
.collection-card .primary span {
  width: auto;
  height: auto;
  background: transparent;
  color: #c56c47;
  font-size: 18px;
}
.collection-card .primary:hover {
  background: #dfe7d4;
  border-color: #aebf9e;
}
@media (prefers-reduced-motion: reduce) {
  .collection-card .primary {
    transition: none;
  }
}

/* Light cloud buttons shared by every story and collection card. */
.material-card .primary {
  position: relative;
  isolation: isolate;
  align-self: flex-start;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  max-width: 100%;
  padding: 18px 24px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #365c45;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-shadow: none;
  transition: transform 180ms ease;
}
.material-card .primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23e9eddf' stroke='%23cbd5bf' stroke-width='1.2'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 1px #365c4510);
  transition: filter 180ms ease;
}
.material-card .primary span {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  background: transparent;
  color: #c56c47;
  font-size: 18px;
}
.material-card .primary:hover {
  background: transparent;
  border-color: transparent;
  transform: translateY(-2px);
}
.material-card .primary:hover::before {
  filter: drop-shadow(0 3px 2px #365c4525);
}
.material-card .primary:active {
  transform: translateY(1px);
}
@media (prefers-reduced-motion: reduce) {
  .material-card .primary,
  .material-card .primary::before {
    transition: none;
  }
  .material-card .primary:hover,
  .material-card .primary:active {
    transform: none;
  }
}
/* Warm hover color for story and collection clouds. */
.material-card .primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23f0e0d0' stroke='%23d5ad91' stroke-width='1.2'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  opacity: 0;
  transition: opacity 220ms ease;
}
.material-card .primary:hover::after,
.material-card .primary:focus-visible::after {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .material-card .primary::after {
    transition: none;
  }
}


/* menu.css */
/* Sage menu surfaces matching the warm, raised product cards. */
.header nav {
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
) {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid #d4dcc7;
  border-radius: 16px;
  background: linear-gradient(145deg, #f0f3e8, #e9eddf);
  color: #283d32;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  box-shadow:
    0 3px 0 #d4dcc7,
    0 9px 16px -12px #34452a55;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
)::before {
  content: '';
  position: absolute;
  inset: -12px -5px -5px;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23e9eddf' stroke='%23cbd5bc' stroke-width='1.5'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 0 #d4dcc7) drop-shadow(0 5px 5px #34452a18);
  opacity: 0;
  transform: scale(0.9, 0.8);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
):focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
:is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
@media (hover: hover) and (pointer: fine) {
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):hover {
    color: #365c45;
    background: transparent;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: none;
  }
  :is(
      .header nav a,
      .filters button,
      .sound-tabs button,
      .story-header a,
      body > header > a:not(.brand)
    ):hover::before {
    opacity: 1;
    transform: scale(1);
  }
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
):active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #d4dcc7;
}
@media (max-width: 1050px) {
  .header {
    flex-wrap: wrap;
  }
  .header nav {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .header nav {
    display: flex;
    gap: 8px;
  }
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ) {
    flex: 1 1 calc(50% - 8px);
    padding: 10px 9px;
    font-size: 11px;
    border-radius: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ),
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  )::before {
    transition: none;
  }
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):hover,
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):active {
    transform: none;
  }
}

/* Preserve sound lettering and distinguish the currently selected tab. */
.sound-tabs button {
  font-size: 28px;
  padding: 15px 18px;
}
.filters button.active,
.sound-tabs button[aria-selected='true'] {
  background: linear-gradient(145deg, #dce5d0, #cddbbb);
  color: #283d32;
  border-color: #9eaf8c;
  box-shadow:
    0 3px 0 #b4c39f,
    0 9px 16px -12px #34452a55;
}
.story-header,
body > header {
  align-items: center;
  flex-wrap: wrap;
}
@media (hover: hover) and (pointer: fine) {
  .filters button.active:hover,
  .sound-tabs button[aria-selected='true']:hover {
    background: transparent;
    color: #365c45;
    border-color: transparent;
    box-shadow: none;
  }
}
.filters button.active:focus-visible,
.sound-tabs button[aria-selected='true']:focus-visible {
  background: transparent;
  color: #365c45;
  border-color: transparent;
  box-shadow: none;
}
@media (max-width: 700px) {
  .sound-tabs button {
    font-size: 26px;
    padding: 13px 8px;
  }
  .story-header a {
    flex: 1 1 180px;
  }
}
/* Keep the chosen sound on a cloud after clicking or tapping. */
.sound-tabs {
  gap: 18px 14px;
  padding-top: 12px;
}
.sound-tabs button {
  flex: 0 1 auto;
}
.sound-tabs button[aria-selected='true'] {
  background: transparent;
  border-color: transparent;
  color: #283d32;
  box-shadow: none;
}
.sound-tabs button[aria-selected='true']::before {
  opacity: 1;
  transform: scale(1);
}
.sound-tabs button[aria-selected='true'] small {
  font-weight: 700;
}
.sound-tabs button[aria-selected='true'] > small {
  color: #365c45;
}
@media (max-width: 700px) {
  .sound-tabs {
    gap: 18px 12px;
  }
  .sound-tabs button {
    min-width: calc((100% - 36px) / 4);
  }
}


/* sounds-background.css */
/* Quiet typographic decoration stays behind the sound and story choices. */
body {
  background-color: #faf8f2;
  background-image: url('images/sounds-cloud-pattern-v2.svg?v=3');
  background-position: center top;
  background-size: 960px 720px;
  background-repeat: repeat;
}
body > header {
  background: #faf8f2e8;
}
main > .eyebrow,
main > h1,
main > .lead {
  position: relative;
}
.section-heading {
  background: #faf8f2e8;
  border-radius: 18px;
  padding: 16px 20px;
}
.sound-tabs {
  background: #faf8f2c9;
  border-radius: 20px 20px 0 0;
  padding-left: 10px;
  padding-right: 10px;
}
main > .adult-note {
  background: #faf8f2ed;
  border-radius: 16px;
  padding: 14px 18px;
}
@media (max-width: 760px) {
  body {
    background-size: 640px 480px;
    background-position: left top;
  }
  main > .lead {
    background: #faf8f2d9;
    border-radius: 16px;
    padding: 10px 0;
  }
  .section-heading {
    padding: 15px;
  }
}

html {
  min-height: 100%;
}
body {
  min-height: 100vh;
}


/* button-hover.css */
/* Ordinary controls and cloud controls have separate hover surfaces. */
@media (hover: hover) and (pointer: fine) {
  body
    :is(
      .cart-button,
      .add-button,
      .quantity button,
      .detail-add,
      .photo-thumbnails button,
      .controls button:not(:disabled),
      .collection-back,
      .button
    ):hover {
    background: #f0e0d0;
    color: #283d32;
    border-color: #d5ad91;
  }
  body .hero-copy > .button.primary:hover {
    background: #f0e0d0;
    color: #283d32;
    border-color: #d5ad91;
    box-shadow:
      0 3px 0 #d5ad91,
      0 10px 20px -12px #c56c4740;
  }
  body .hero-copy > .button.primary:hover > span {
    color: #fffaf0;
    background: #c56c47;
  }
}
/* One silhouette only: recolor the existing cloud instead of stacking a second one. */
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
)::after {
  content: none;
}
@media (hover: hover) and (pointer: fine) {
  :is(
      .header nav a,
      .filters button,
      .sound-tabs button,
      .story-header a,
      body > header > a:not(.brand)
    ):hover::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23f0e0d0' stroke='%23d5ad91' stroke-width='1.2'/%3E%3C/svg%3E")
      center / 100% 100% no-repeat;
  }
}
:is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):focus-visible::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23f0e0d0' stroke='%23d5ad91' stroke-width='1.2'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}
/* Preserve the large letter styling despite shared navigation selectors. */
.sound-tabs button[role='tab'] {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  min-height: 82px;
  min-width: 93px;
  padding: 15px 18px;
}
.sound-tabs button[role='tab'] small {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}
.sound-tabs button[role='tab'][aria-selected='true'] small {
  font-weight: 700;
}
@media (max-width: 700px) {
  .sound-tabs button[role='tab'] {
    font-size: 26px;
    padding: 13px 8px;
    min-width: calc((100% - 36px) / 4);
    min-height: 78px;
  }
}
/* The discussion row remains an unobtrusive text control. */
body .question-area button:hover,
body .question-area button:focus-visible {
  background: transparent;
  color: #365c45;
}
body .question-area button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
body .question-area button:hover span {
  color: #c56c47;
}
/* Text actions stay text: no rectangular hover fill. */
body :is(.product-title, .download, .wb-link, .remove-selection, .close):hover {
  background: transparent;
}
body .product-title:hover {
  color: #365c45;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}


/* brand-logo.css */
/* Cover wordmark with a slightly bolder handwritten НШ signature. */
body a.brand.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 340px;
  width: 340px;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  line-height: 0;
}
body a.brand.site-logo::before,
body a.brand.site-logo::after {
  content: none;
}
.site-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.header {
  flex-wrap: wrap;
}
.header nav {
  flex: 1 1 auto;
}
.story-header .site-logo {
  margin-right: auto;
}
body .story-header a.site-logo {
  flex-basis: 100%;
  width: 300px;
}
.story-header .site-logo img {
  max-width: 300px;
}
.footer a.brand.site-logo {
  flex: 0 1 auto;
  width: 290px;
}
@media (max-width: 1050px) {
  .header .cart-button {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  body a.brand.site-logo {
    flex-basis: 240px;
    width: 240px;
  }
  body .header a.brand.site-logo {
    flex-basis: min(240px, calc(100% - 115px));
  }
  body .story-header a.site-logo {
    flex-basis: 100%;
  }
  .story-header .site-logo img {
    max-width: 260px;
  }
  .footer a.brand.site-logo {
    flex-basis: auto;
  }
}


/* gnome-feature.css */
.gnome-feature {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  align-items: center;
  background: #e9eddf;
  border: 1px solid #d4ddc8;
  border-radius: 24px;
  padding: 18px 26px;
  margin: 0 0 36px;
}
.gnome-feature img {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: contain;
  border-radius: 18px;
}
.gnome-feature h2 {
  font:
    400 30px/1.2 Georgia,
    serif;
  margin: 8px 0 12px;
}
.gnome-feature p:not(.tag) {
  font-size: 13px;
  line-height: 1.8;
  color: #66775c;
}
.gnome-feature .collection-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  background: #faf8f2;
  border: 1px solid #cdd6bf;
  border-radius: 20px;
  padding: 9px 18px;
  font-size: 13px;
  color: #365c45;
  margin: 0;
}
.gnome-feature .collection-back:hover {
  background: #f0e0d0;
  border-color: #d5ad91;
}
@media (max-width: 580px) {
  .gnome-feature {
    grid-template-columns: 110px 1fr;
    gap: 15px;
    padding: 16px;
  }
  .gnome-feature img {
    height: 140px;
  }
  .gnome-feature h2 {
    font-size: 24px;
  }
  .gnome-feature .tag {
    font-size: 8px;
    letter-spacing: 1px;
  }
}
@media (max-width: 380px) {
  .gnome-feature {
    grid-template-columns: 1fr;
  }
  .gnome-feature > a {
    max-width: 160px;
    margin: auto;
  }
}


/* holiday.css */
/* Small seasonal accents, shared across the site. */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: url('images/holiday-garland-twinkle.svg') repeat-x top center;
  background-size: 800px 80px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.95;
}
.values-strip {
  position: relative;
  background: #edf0e4 !important;
  border-top: 1px solid #dce3ce;
  border-bottom: 1px solid #dce3ce;
  padding: 29px 20px 27px !important;
  overflow: hidden;
}
.values-strip::before,
.values-strip::after {
  content: '';
  position: absolute;
  top: 0;
  width: 180px;
  height: 80px;
  background: url('images/holiday-garland-twinkle.svg') center top/800px 80px no-repeat;
  opacity: 0.95;
  pointer-events: none;
}
.values-strip::before {
  left: 0;
}
.values-strip::after {
  right: 0;
  transform: scaleX(-1);
}
.values-strip .holiday-intro {
  display: block;
  text-align: center;
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: #526b50;
}
.values-strip > .wrap {
  position: relative;
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.values-strip > .wrap span {
  font-size: 14px;
  color: #52634f;
}
.values-strip > .wrap b {
  font-size: 19px;
  font-weight: 400;
  color: #c49a6d;
}
@media (max-width: 650px) {
  body::before {
    height: 57px;
    background-size: 600px 60px;
    opacity: 0.85;
  }
  .values-strip {
    padding: 25px 22px !important;
  }
  .values-strip > .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
  }
  .values-strip > .wrap b {
    display: none;
  }
  .values-strip > .wrap span {
    font-size: 13px;
  }
  .values-strip::before,
  .values-strip::after {
    width: 100px;
    opacity: 0.8;
  }
}
@media print {
  body::before,
  .values-strip::before,
  .values-strip::after {
    display: none;
  }
}


/* logo-shine.css */
body a.brand.site-logo {
  position: relative;
  isolation: isolate;
}
body a.brand.site-logo img {
  transition: filter 0.35s ease;
}
body a.brand.site-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
      110deg,
      transparent 40%,
      #fffbe4aa 47%,
      #ffffffed 50%,
      #fffbe4aa 53%,
      transparent 60%
    ) -150%
    0/250% 100% no-repeat;
  -webkit-mask: url('images/logo-nsh-transparent.webp') center/100% 100% no-repeat;
  mask: url('images/logo-nsh-transparent.webp') center/100% 100% no-repeat;
}
@media (hover: hover) {
  body a.brand.site-logo:hover img {
    filter: drop-shadow(0 0 5px #d7bf8170);
  }
  body a.brand.site-logo:hover::after {
    opacity: 1;
    animation: nsh-logo-shine 1.35s ease-in-out 1;
  }
}
body a.brand.site-logo:focus-visible::after {
  opacity: 1;
  animation: nsh-logo-shine 1.35s ease-in-out 1;
}
@keyframes nsh-logo-shine {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -150% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body a.brand.site-logo img {
    transition: none;
  }
  body a.brand.site-logo:hover::after,
  body a.brand.site-logo:focus-visible::after {
    animation: none;
    opacity: 0;
  }
}


/* button-glow.css */
/* Light follows existing button silhouettes, including the cloud shapes. */
@media (hover: hover) and (pointer: fine) {
  body
    :is(
      .button,
      .cart-button,
      .add-button,
      .detail-add,
      .filters button,
      .sound-tabs button,
      .header nav a,
      .story-header a:not(.brand),
      .collection-back,
      .controls button,
      .catalog-view-switch button,
      .catalog-slider-controls button,
      .wb-reviews-bottom a,
      #approach .text-link,
      #motion,
      #complete,
      #previous,
      #next,
      .star
    ):not(:disabled):not([aria-disabled='true']):hover {
    filter: brightness(1.045) drop-shadow(0 0 5px #e2cc9270) drop-shadow(0 0 11px #d5bf7438);
    animation: nsh-button-glimmer 1.3s ease-out 1;
  }
}
body
  :is(
    .button,
    .cart-button,
    .add-button,
    .detail-add,
    .filters button,
    .sound-tabs button,
    .catalog-view-switch button,
    .catalog-slider-controls button,
    #motion,
    #complete,
    #previous,
    #next,
    .star
  ):not(:disabled):focus-visible {
  filter: drop-shadow(0 0 6px #d9c58b80);
}
@keyframes nsh-button-glimmer {
  0% {
    filter: brightness(1) drop-shadow(0 0 0 #e2cc9200);
  }
  45% {
    filter: brightness(1.1) drop-shadow(0 0 7px #e2cc9290) drop-shadow(0 0 14px #d5bf7445);
  }
  100% {
    filter: brightness(1.045) drop-shadow(0 0 5px #e2cc9270) drop-shadow(0 0 11px #d5bf7438);
  }
}
@media (prefers-reduced-motion: reduce) {
  body
    :is(
      .button,
      .cart-button,
      .add-button,
      .detail-add,
      .filters button,
      .sound-tabs button,
      .header nav a,
      .story-header a:not(.brand),
      .collection-back,
      .controls button,
      .catalog-view-switch button,
      .catalog-slider-controls button,
      .wb-reviews-bottom a,
      #approach .text-link,
      #motion,
      #complete,
      #previous,
      #next,
      .star
    ):hover {
    animation: none;
  }
}


/* holiday-botanical.css */
/* Watercolour branches sit behind content and follow the length of the page. */
body {
  position: relative;
  isolation: isolate;
}
body::before {
  content: none !important;
}
.values-strip::before,
.values-strip::after {
  content: none !important;
}
.holiday-botanical {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}
.holiday-botanical::before,
.holiday-botanical::after {
  content: '';
  position: absolute;
  top: 90px;
  bottom: 0;
  width: clamp(135px, 18vw, 300px);
  background: url('images/holiday-watercolor-ornaments.svg') top center/100% auto repeat-y;
  opacity: 0.48;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    transparent,
    #000 100px,
    #000 calc(100% - 100px),
    transparent
  );
  mask-image: linear-gradient(transparent, #000 100px, #000 calc(100% - 100px), transparent);
}
.holiday-botanical::before {
  left: -48px;
}
.holiday-botanical::after {
  right: -48px;
  top: 450px;
  transform: scaleX(-1);
}
@media (max-width: 1050px) {
  .holiday-botanical::before,
  .holiday-botanical::after {
    width: 170px;
    opacity: 0.25;
  }
  .holiday-botanical::before {
    left: -70px;
  }
  .holiday-botanical::after {
    right: -70px;
  }
}
@media (max-width: 650px) {
  .holiday-botanical::before,
  .holiday-botanical::after {
    width: 140px;
    opacity: 0.2;
  }
  .holiday-botanical::before {
    left: -82px;
  }
  .holiday-botanical::after {
    right: -82px;
    top: 650px;
  }
}
@media print {
  .holiday-botanical {
    display: none;
  }
}

/* A tiny, slow breeze; right-hand decoration retains its mirrored pose. */
.holiday-botanical::before {
  transform-origin: 50% 25%;
  animation: botanical-breeze-left 19s ease-in-out infinite;
}
.holiday-botanical::after {
  transform-origin: 50% 30%;
  animation: botanical-breeze-right 23s ease-in-out -8s infinite;
}
@keyframes botanical-breeze-left {
  0%,
  100% {
    transform: translateX(-1px) rotate(-0.16deg);
  }
  50% {
    transform: translateX(2px) rotate(0.16deg);
  }
}
@keyframes botanical-breeze-right {
  0%,
  100% {
    transform: scaleX(-1) translateX(-1px) rotate(0.14deg);
  }
  50% {
    transform: scaleX(-1) translateX(2px) rotate(-0.14deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .holiday-botanical::before,
  .holiday-botanical::after {
    animation: none;
  }
  .holiday-botanical::before {
    transform: none;
  }
  .holiday-botanical::after {
    transform: scaleX(-1);
  }
}


/* site-audit-fixes.css */
/* Avoid duplicate plus signs added by the earlier raised FAQ styling. */
#questions summary > span {
  display: none;
}
/* Flex/grid children must be able to shrink on narrow screens. */
.header,
.hero,
.section-top,
.approach,
.offer-cards,
.wb-reviews-grid {
  min-width: 0;
}
.hero > * {
  min-width: 0;
}
#products a.product-visual {
  display: block;
}
#products a.product-title {
  display: block;
  text-align: left;
  text-decoration: none;
}
@media (max-width: 420px) {
  .snow-settings {
    max-width: calc(100vw - 20px);
  }
  .catalog-view-switch {
    gap: 6px;
  }
  .header nav a {
    overflow-wrap: anywhere;
  }
}


/* learning-seo.css */
.learning-summary {
  max-width: 900px;
  margin: 38px auto 25px;
  padding: 24px 28px;
  border: 1px solid #d7e0ca;
  border-radius: 22px;
  background: linear-gradient(140deg, #fafbf4, #eaf0df);
  box-shadow:
    inset 0 2px #fff,
    0 4px #dbe2ce;
  text-align: left;
}
.learning-summary h2 {
  font:
    25px/1.3 Georgia,
    serif;
  color: #526b50;
  margin: 0 0 12px;
}
.learning-summary p {
  font:
    14px/1.85 Arial,
    sans-serif;
  color: #68795e;
  margin: 0;
}
@media (max-width: 650px) {
  .learning-summary {
    margin: 28px 15px 22px;
    padding: 21px;
  }
  .learning-summary h2 {
    font-size: 23px;
  }
}


/* lesson-tools.css */
.lesson-plan h2,
.lesson-related h2 {
  font:
    2rem Georgia,
    serif;
  margin: 12px 0;
  color: #294638;
}
.lesson-plan h2 em {
  color: #b76c48;
}
.lesson-plan-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.lesson-plan-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d7dfca;
  border-radius: 18px;
  background: #fffdf7;
}
.lesson-plan-list img {
  object-fit: contain;
  flex-shrink: 0;
}
.lesson-plan-title {
  flex: 1;
  line-height: 1.5;
  min-width: 0;
}
.lesson-plan-title span {
  display: block;
  font-size: 0.875rem;
  color: #526849;
  margin-top: 4px;
}
.lesson-plan-order {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lesson-plan-note {
  font-size: 0.875rem;
}
.lesson-plan-add,
.lesson-preview-button,
.lesson-session-bar button,
.lesson-plan-order button,
.lesson-tool-card button,
.lesson-pdf-dialog button,
.lesson-pdf-dialog a {
  font: inherit;
  line-height: 1.4;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 18px;
  border: 1px solid #c7d4b6;
  background: linear-gradient(140deg, #fffdf7, #e8efde);
  color: #294638;
  cursor: pointer;
  box-shadow: 0 2px 0 #d7dfca;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    box-shadow 0.2s,
    background 0.2s;
}
.lesson-plan-add[aria-pressed='true'] {
  background: #dfe9d1;
}
.lesson-preview-button {
  font-size: 0.875rem;
  margin: 4px;
}
.lesson-download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0 24px;
  padding: 18px;
  border: 1px solid #dbe2ce;
  border-radius: 20px;
  background: #f3f5eb;
}
.lesson-download-actions .lesson-download-link,
.lesson-download-actions .lesson-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #cdd8bd;
  border-radius: 16px;
  background: #fafbf6;
  color: #304e3d;
  font:
    600 14px/1.5 Arial,
    sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
}
.lesson-download-actions .lesson-download-link:hover {
  background: #e7eddb;
}
.lesson-download-actions .lesson-download-link:focus-visible {
  outline: 3px solid #8caa78;
  outline-offset: 3px;
}
.lesson-print-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 32px;
  margin: 32px 0;
  padding: 28px;
  border-radius: 26px;
  background: #e9eddf;
  color: #2e4638;
}
.lesson-print-copy {
  min-width: 0;
}
.lesson-print-panel .lesson-print-eyebrow {
  margin: 0 0 16px;
  color: #78876a;
  font:
    700 12px/1.5 Arial,
    sans-serif;
  letter-spacing: 0.16em;
}
.lesson-print-panel h2 {
  margin: 0 0 16px;
  font:
    400 34px/1.2 Georgia,
    serif;
}
.lesson-print-copy > p:not(.lesson-print-eyebrow) {
  margin: 0 0 16px;
  font:
    400 14px/1.7 Arial,
    sans-serif;
}
.lesson-print-panel .lesson-download-actions {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.lesson-print-extra {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
}
.lesson-print-thumbnail {
  display: block;
  width: 100%;
  padding: 7px;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 24px #56664312;
  cursor: zoom-in;
}
.lesson-print-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}
.lesson-print-thumbnail:focus-visible {
  outline: 3px solid #8caa78;
  outline-offset: 5px;
}
@media (max-width: 650px) {
  .lesson-print-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 18px;
    gap: 24px;
  }
  .lesson-print-panel h2 {
    font-size: 28px;
  }
  .lesson-print-thumbnail {
    max-width: 190px;
    justify-self: center;
  }
}
@media (max-width: 540px) {
  .lesson-download-actions {
    padding: 14px;
    gap: 10px;
  }
  .lesson-download-actions > * {
    flex: 1 1 100%;
  }
}
.lesson-plan-order button {
  font-size: 0.875rem;
  padding: 8px 10px;
}
.lesson-plan-order button:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}
.lesson-plan-add:hover,
.lesson-preview-button:hover,
.lesson-session-bar button:hover,
.lesson-tool-card button:hover,
.lesson-pdf-dialog button:hover {
  background: #f2e5d7;
  box-shadow: 0 3px 12px #c6b48b30;
}
:is(
  .lesson-plan-add,
  .lesson-preview-button,
  .lesson-session-bar button,
  .lesson-plan-order button,
  .lesson-pdf-dialog a,
  .lesson-pdf-dialog button
):focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
.lesson-session-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  margin: 16px auto;
  max-width: 1100px;
  border-radius: 20px;
  background: #edf2e5;
  border: 1px solid #d4dfc6;
}
.lesson-session-bar a {
  color: #294638;
  padding: 10px;
}
#lesson-plan-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.lesson-related {
  max-width: 1100px;
  margin: 48px auto;
  padding: 28px;
}
.lesson-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lesson-tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: #f4f6ec;
  border: 1px solid #d4dfc6;
  border-radius: 22px;
  box-shadow: 0 4px 0 #dfe5d4;
}
.lesson-tool-card img {
  width: 100%;
  object-fit: contain;
}
.lesson-tool-card h3 {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 auto;
}
.lesson-pdf-dialog {
  width: min(1080px, 94vw);
  max-width: 94vw;
  height: min(920px, 94dvh);
  max-height: 94dvh;
  border: 1px solid #c8d5b8;
  border-radius: 24px;
  padding: 20px;
  background: #fafbf5;
  color: #294638;
  box-shadow: 0 20px 80px #1a302c40;
}
.lesson-pdf-dialog::backdrop {
  background: #18302677;
  backdrop-filter: blur(4px);
}
.lesson-pdf-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lesson-pdf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lesson-pdf-top h2 {
  font:
    1.4rem Georgia,
    serif;
  margin: 0;
}
.lesson-pdf-dialog p {
  margin: 0;
  line-height: 1.5;
}
.lesson-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lesson-pdf-frame {
  width: 100%;
  min-height: 180px;
  flex: 1;
  border: 1px solid #d1dbc4;
  border-radius: 12px;
  background: #e4e8dc;
}
.lesson-pdf-help {
  font-size: 0.875rem;
}
body.lesson-focus {
  background: #fafbf5 !important;
}
body.lesson-focus::before,
body.lesson-focus::after,
body.lesson-focus > header,
body.lesson-focus > footer,
body.lesson-focus .gentle-snow,
body.lesson-focus .snow-settings,
body.lesson-focus .watercolor-garland,
body.lesson-focus .lesson-toolbar,
body.lesson-focus .lesson-related,
body.lesson-focus .learning-summary,
body.lesson-focus .print-section,
body.lesson-focus .adult-note {
  display: none !important;
}
body.lesson-focus .lesson-session-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 20px #29463812;
}
body.lesson-focus
  :is(#next, #previous, #journey-next, #journey-back, #river-next, #river-back, #collect) {
  min-height: 52px;
  font-size: 1.125rem;
}
@media (max-width: 700px) {
  .lesson-plan-list li {
    flex-wrap: wrap;
  }
  .lesson-plan-order {
    width: 100%;
    justify-content: flex-end;
  }
  .lesson-related-grid {
    grid-template-columns: 1fr;
  }
  .lesson-related {
    padding: 20px;
    margin: 32px 12px;
  }
  .lesson-pdf-dialog {
    padding: 14px;
  }
  .lesson-pdf-actions {
    gap: 6px;
  }
  .lesson-pdf-actions > * {
    flex: 1 1 45%;
  }
  .lesson-pdf-help {
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lesson-tools button,
  .lesson-session-bar button,
  .lesson-preview-button,
  .lesson-plan-add {
    transition: none;
  }
}
body.lesson-focus .holiday-botanical {
  display: none !important;
}
.lesson-pdf-pages {
  flex: 1;
  min-height: 180px;
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 12px;
  background: #e5e9de;
  border: 1px solid #d1dbc4;
  padding: 16px;
}
.lesson-pdf-pages figure {
  margin: 0 auto 20px;
  max-width: 850px;
}
.lesson-pdf-pages img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
  box-shadow: 0 3px 14px #29463820;
}
.lesson-pdf-pages figcaption {
  text-align: center;
  padding: 10px 0;
  font-size: 0.875rem;
}
.lesson-pdf-dialog [hidden] {
  display: none !important;
}
.lesson-pdf-pages.is-zoomed figure {
  width: 1100px;
  min-width: 1100px;
  max-width: none;
}


/* lesson-plus.css */
.lesson-plus-plan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  border-top: 1px solid #d6dfc9;
  padding-top: 20px;
}
.lesson-plus-plan-actions p {
  width: 100%;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.lesson-plus-plan-actions button,
.lesson-share-dialog button,
.lesson-image-dialog > button,
.lesson-incoming button,
.lesson-news-grid a {
  font: inherit;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #c8d5b9;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffef8, #e6eed9);
  color: #294638;
  box-shadow: 0 3px 0 #d7dfca;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lesson-plus-plan-actions button:disabled {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}
.lesson-plus-plan-actions button:hover:not(:disabled),
.lesson-share-dialog button:hover,
.lesson-incoming button:hover {
  background: #f2e5d7;
}
.lesson-share-dialog {
  width: min(600px, 92vw);
  max-width: 92vw;
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid #c9d6bc;
  border-radius: 24px;
  background: #fafbf5;
  color: #294638;
  box-shadow: 0 20px 70px #29463844;
}
.lesson-share-dialog h2 {
  font:
    1.8rem Georgia,
    serif;
}
.lesson-share-dialog p {
  line-height: 1.65;
}
.lesson-share-dialog label {
  display: block;
  margin: 16px 0 8px;
}
.lesson-share-dialog input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px;
  border: 1px solid #c9d6bc;
  border-radius: 12px;
  background: #fffdf7;
  font: inherit;
  color: #294638;
}
.lesson-share-dialog > div,
.lesson-incoming > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.lesson-share-dialog::backdrop,
.lesson-image-dialog::backdrop {
  background: #18302688;
  backdrop-filter: blur(4px);
}
.lesson-image-dialog {
  width: min(1200px, 94vw);
  max-width: 94vw;
  height: 94dvh;
  max-height: 94dvh;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid #d2ddc5;
  border-radius: 24px;
  background: #fafbf5;
  color: #294638;
}
.lesson-image-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lesson-image-dialog > button {
  align-self: flex-end;
  flex-shrink: 0;
}
.lesson-image-stage {
  flex: 1;
  min-height: 100px;
  overflow: auto;
  display: grid;
  align-items: start;
  justify-items: center;
}
.lesson-image-stage > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}
.lesson-image-stage > .scene {
  width: 100%;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}
.lesson-image-stage > svg {
  width: 100%;
  height: auto;
  max-height: none;
  background: #f4f5e9;
  border-radius: 16px;
}
.lesson-image-stage > div:not(.scene) {
  width: 100%;
  max-width: 1100px;
}
.lesson-image-stage > .finds-panel {
  width: 100%;
  max-width: 1100px;
}
.lesson-image-dialog > p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}
.lesson-plus-status {
  max-width: 1000px;
  margin: 8px auto;
  text-align: center;
  padding: 0 16px;
  color: #7b4b34;
  line-height: 1.5;
}
.lesson-plus-status:empty {
  display: none;
}
.lesson-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.lesson-news-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid #d5dfc9;
  border-radius: 20px;
  background: #fffdf7;
  box-shadow: 0 4px 0 #dfe5d4;
}
.lesson-news-grid time {
  font-size: 0.875rem;
  color: #6a775c;
}
.lesson-news-grid h3 {
  font-size: 1.15rem;
  line-height: 1.5;
}
.lesson-news-grid p {
  margin-top: 0;
  flex: 1;
}
.lesson-incoming ol {
  padding-left: 24px;
  line-height: 1.8;
}
.lesson-incoming {
  border-color: #b8cba2;
}
.lesson-plus-plan-actions button:focus-visible,
.lesson-share-dialog :is(input, button):focus-visible,
.lesson-image-dialog button:focus-visible,
.lesson-news-grid a:focus-visible,
.lesson-incoming button:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .lesson-news-grid {
    grid-template-columns: 1fr;
  }
  .lesson-plus-plan-actions button {
    width: 100%;
  }
  .lesson-share-dialog {
    padding: 20px;
  }
  .lesson-image-dialog {
    padding: 12px;
  }
}
.lesson-image-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.lesson-image-actions button {
  font: inherit;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #c8d5b9;
  border-radius: 20px;
  background: #edf3e5;
  color: #294638;
  cursor: pointer;
}
.lesson-image-actions button:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
.lesson-image-stage.is-zoomed {
  display: block;
}
.lesson-image-stage.is-zoomed > * {
  width: 1400px;
  min-width: 1400px;
  max-width: none;
  max-height: none;
}


/* site-utilities.css */
.picker-controls {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Keep the hero illustration inside the page at intermediate desktop widths. */
.hero .hero-art.real-hero.site-cover {
  width: 100%;
  margin-right: 0;
  min-width: 0;
}
.picker-controls label:last-child {
  grid-column: 1/-1;
}
.picker-task-info {
  font-size: 0.875rem;
  color: #526849;
  line-height: 1.6;
}
.parent-guide {
  max-width: 1100px;
  margin: 14px auto 24px;
  border: 1px solid #d3dfc5;
  border-radius: 20px;
  background: #f1f5e9;
  color: #294638;
  box-shadow: 0 3px 0 #dce5d0;
}
.parent-guide summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}
.parent-guide > div {
  padding: 0 22px 20px;
  line-height: 1.75;
}
.parent-guide ol {
  padding-left: 24px;
}
.parent-guide li {
  margin: 10px 0;
}
.parent-note {
  font-size: 0.875rem;
  color: #526849;
}
.site-utilities {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 30px auto;
  padding: 18px;
  color: #294638;
}
.site-utilities button,
.site-utility-dialog button {
  font: inherit;
  line-height: 1.4;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #c8d5b9;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffef8, #e6eed9);
  color: #294638;
  box-shadow: 0 3px 0 #d7dfca;
  cursor: pointer;
}
.site-utilities > p {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
}
.site-utilities > p:empty {
  display: none;
}
.site-utility-dialog {
  width: min(620px, 92vw);
  max-width: 92vw;
  max-height: 90dvh;
  box-sizing: border-box;
  border: 1px solid #c8d5b9;
  border-radius: 24px;
  padding: 26px;
  background: #fafbf5;
  color: #294638;
  box-shadow: 0 20px 70px #29463844;
}
.site-utility-dialog::backdrop {
  background: #18302688;
  backdrop-filter: blur(4px);
}
.site-utility-dialog h2 {
  font:
    1.8rem Georgia,
    serif;
  margin: 0 0 18px;
}
.site-utility-dialog p,
.site-utility-dialog li {
  line-height: 1.65;
}
.site-utility-dialog li {
  margin: 12px 0;
}
.site-utility-dialog label {
  display: block;
  line-height: 1.5;
  margin: 16px 0;
}
.site-utility-dialog select,
.site-utility-dialog textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  color: #294638;
  border: 1px solid #c8d5b9;
  border-radius: 12px;
  padding: 12px;
  background: #fffef8;
  margin-top: 8px;
}
.site-utility-dialog textarea {
  resize: vertical;
}
.utility-dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.utility-small {
  font-size: 0.875rem;
}
.site-utility-dialog :is(button, select, textarea):focus-visible,
.site-utilities button:focus-visible,
.parent-guide summary:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
body.lesson-focus .site-utilities {
  display: none;
}
@media (max-width: 800px) {
  .picker-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .picker-controls {
    grid-template-columns: 1fr;
  }
  .site-utility-dialog {
    padding: 20px;
  }
  .parent-guide {
    margin: 14px 0 24px;
  }
  .site-utilities {
    padding: 14px;
    margin: 24px 12px;
  }
}
.site-back-to-top {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 24;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #becdad;
  border-radius: 50%;
  background: linear-gradient(145deg, #fffef8, #e4ecd7);
  color: #36543e;
  box-shadow:
    0 3px 0 #cfdbc0,
    0 5px 16px #29463818;
  cursor: pointer;
}
.site-back-to-top[hidden] {
  display: none !important;
}
.site-back-to-top svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-back-to-top:hover {
  background: #f2e5d7;
}
.site-back-to-top:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .site-back-to-top {
    width: 44px;
    height: 44px;
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}


/* lesson-navigation.css */
.lesson-hub {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 20px;
  color: #294638;
  scroll-margin-top: 16px;
}
.hub-heading h2 {
  font:
    clamp(1.8rem, 3vw, 2.5rem) / 1.25 Georgia,
    serif;
  margin: 12px 0;
}
.hub-heading em {
  font-weight: normal;
  color: #b76c48;
}
.hub-heading p {
  line-height: 1.65;
  max-width: 680px;
}
.hub-resume {
  padding: 16px 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1.5;
}
.hub-resume span {
  font-size: 0.9375rem;
  color: #526849;
}
.hub-resume a {
  color: #294638;
  text-underline-offset: 4px;
  font-weight: 600;
}
.lesson-hub-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid #d5dfc8;
  border-radius: 22px;
  background: #f1f5e9;
  box-shadow: 0 3px 0 #dce5d0;
  margin-bottom: 24px;
  position: sticky;
  top: 8px;
  z-index: 25;
}
.lesson-hub-tabs button {
  font: inherit;
  min-height: 54px;
  line-height: 1.4;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #526849;
  cursor: pointer;
}
.lesson-hub-tabs button[aria-selected='true'] {
  background: #fffdf7;
  color: #294638;
  border-color: #c7d5b7;
  box-shadow: 0 3px 10px #29463810;
}
.lesson-hub-tabs span {
  display: inline-block;
  min-width: 22px;
  border-radius: 15px;
  padding: 2px 5px;
  margin-left: 4px;
  background: #e2ead7;
  font-size: 0.8rem;
}
.lesson-navigation-panel[hidden] {
  display: none !important;
}
.lesson-hub .material-picker,
.lesson-hub .lesson-library {
  margin: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.hub-news {
  max-width: 1160px;
  margin: 28px auto 48px;
  border: 1px solid #d7dfca;
  border-radius: 20px;
  background: #f4f6ee;
  color: #294638;
}
.hub-news > summary {
  padding: 18px 24px;
  cursor: pointer;
}
.hub-news .lesson-library {
  margin: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
}
.picker-main-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}
.picker-main-actions > * {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.picker-main-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}
.picker-main-actions .picker-primary:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  font:
    700 16px/1.4 Arial,
    sans-serif;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: 1px solid #3d624b;
  border-radius: 18px;
  background: linear-gradient(140deg, #4e7658, #365641);
  color: #fffdf7;
  box-shadow: 0 3px 0 #2b4936;
  cursor: pointer;
}
.picker-main-actions .lesson-plan-add {
  font-size: 0.875rem;
}
.material-more {
  border-top: 1px solid #dbe2d0;
  margin-top: 16px;
  padding-top: 8px;
}
.material-more summary {
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #526849;
  padding: 8px 0;
}
.material-more > div {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}
.material-more a {
  color: #294638;
  padding: 10px;
  text-align: center;
}
.material-more button,
.plan-edit-toggle,
.plan-open-item {
  font: inherit;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #c7d4b6;
  border-radius: 18px;
  background: #edf3e5;
  color: #294638;
  cursor: pointer;
}
#lesson-plan .lesson-plan-order {
  display: none;
}
#lesson-plan.plan-editing .lesson-plan-order {
  display: flex;
}
#lesson-plan.plan-editing .plan-open-item {
  display: none;
}
.plan-start-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.plan-start-actions > a {
  color: #294638;
  padding: 12px;
}
.plan-start-actions > .lesson-link {
  background: #3d624b;
  color: #fffdf7;
  padding: 14px 24px;
}
.plan-edit-toggle {
  margin-left: auto;
}
.plan-extra-actions {
  border-top: 1px solid #d7dfca;
  margin-top: 20px;
  padding-top: 14px;
}
.plan-extra-actions > summary {
  cursor: pointer;
  line-height: 1.6;
  padding: 10px 0;
}
.plan-extra-actions .lesson-plus-plan-actions {
  border-top: 0;
  margin-top: 0;
  padding-top: 14px;
}
.plan-open-item {
  margin-left: auto;
  white-space: nowrap;
}
.session-adult {
  position: relative;
  margin-left: auto;
}
.session-adult > summary {
  cursor: pointer;
  list-style-position: inside;
  min-height: 44px;
  padding: 12px;
  box-sizing: border-box;
  font-size: 0.875rem;
}
.session-adult-content {
  position: absolute;
  right: 0;
  top: 100%;
  width: min(500px, calc(100vw - 40px));
  max-height: 75dvh;
  overflow: auto;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #ccd9bd;
  border-radius: 20px;
  background: #fafbf5;
  box-shadow: 0 16px 40px #29463826;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.session-adult .lesson-toolbar {
  margin: 0;
  padding: 12px;
  box-shadow: none;
}
.session-adult .parent-guide {
  margin: 0;
}
.session-adult-content > a {
  color: #294638;
}
.lesson-session-bar {
  position: relative;
  z-index: 40;
}
.session-back {
  font-weight: 600;
  white-space: nowrap;
}
body.lesson-focus .session-adult .lesson-toolbar {
  display: flex !important;
}
.lesson-hub-tabs button:focus-visible,
.material-more summary:focus-visible,
.material-more button:focus-visible,
.picker-primary:focus-visible,
.plan-edit-toggle:focus-visible,
.plan-open-item:focus-visible,
.plan-extra-actions > summary:focus-visible,
.session-adult > summary:focus-visible,
.hub-news > summary:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .lesson-hub {
    padding: 0 14px;
    margin: 32px auto;
  }
  .lesson-hub-tabs {
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
  }
  .lesson-hub-tabs button {
    padding: 10px 5px;
    font-size: 0.875rem;
  }
  .lesson-hub-tabs span {
    margin-left: 0;
  }
  .hub-news {
    margin: 24px 14px;
  }
  .plan-start-actions > .lesson-link {
    width: 100%;
  }
  .plan-edit-toggle {
    margin-left: 0;
  }
  #lesson-plan .lesson-plan-list li {
    gap: 12px;
  }
  .lesson-session-bar {
    gap: 6px;
    padding: 10px;
  }
  .lesson-session-bar > button {
    font-size: 0.875rem;
    padding: 10px;
  }
  .session-adult-content {
    position: fixed;
    top: 90px;
    right: 16px;
    max-height: 70dvh;
  }
  .plan-open-item {
    margin-left: 0;
  }
  .session-adult {
    margin-left: 0;
  }
  .hub-heading h2 {
    font-size: 1.9rem;
  }
}
.lesson-hub .picker-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lesson-hub .picker-controls label:last-child {
  grid-column: auto;
}
.picker-refine {
  margin: 0 0 20px;
  border: 1px solid #d7dfca;
  border-radius: 16px;
  padding: 0 16px;
  background: #ffffff55;
}
.picker-refine > summary {
  cursor: pointer;
  padding: 13px 0;
  color: #526849;
  font-size: 0.9375rem;
}
.picker-refine > summary:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
.lesson-hub .picker-refine-controls {
  margin: 6px 0 14px;
}
.lesson-hub .picker-refine-controls label:last-of-type {
  grid-column: 1/-1;
}
/* On small screens, navigation stays in the page flow so it cannot cover a task. */
.lesson-hub-tabs {
  --active-tab: 0;
  --switch-pad: 8px;
  --switch-gap: 8px;
  isolation: isolate;
  background: #e5ebdd;
}
.lesson-hub-tabs::before {
  content: '';
  position: absolute;
  left: var(--switch-pad);
  top: var(--switch-pad);
  bottom: var(--switch-pad);
  width: calc((100% - 2 * var(--switch-pad) - 2 * var(--switch-gap)) / 3);
  border: 1px solid #d1dbc5;
  box-sizing: border-box;
  border-radius: 16px;
  background: linear-gradient(150deg, #ffffff, #fafcf5);
  box-shadow:
    0 2px 5px #29463818,
    0 1px 2px #2946380d;
  transform: translateX(calc(var(--active-tab) * (100% + var(--switch-gap))));
  transition: transform 300ms cubic-bezier(0.22, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}
.lesson-hub-tabs button {
  position: relative;
  z-index: 1;
  transition: color 200ms ease;
}
.lesson-hub-tabs button[aria-selected='true'] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #294638;
}
@media (max-width: 700px) {
  .lesson-hub-tabs {
    --switch-pad: 5px;
    --switch-gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lesson-hub-tabs::before,
  .lesson-hub-tabs button {
    transition: none;
  }
}
.session-adult-trigger {
  font: inherit;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #c9d5ba;
  border-radius: 18px;
  background: #fafcf4;
  color: #294638;
  cursor: pointer;
}
.adult-settings-dialog {
  width: min(570px, 92vw);
  max-width: 92vw;
  max-height: 90dvh;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #cbd8bf;
  border-radius: 24px;
  background: #fafbf5;
  color: #294638;
  box-shadow: 0 24px 80px #18302640;
}
.adult-settings-dialog[open] {
  display: flex;
  flex-direction: column;
}
.adult-settings-dialog::backdrop {
  background: #18302677;
  backdrop-filter: blur(4px);
}
.adult-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #dce4d2;
  flex-shrink: 0;
  max-width: none;
  margin: 0;
}
.adult-settings-header h2 {
  font:
    1.7rem/1.3 Georgia,
    serif;
  margin: 0;
  color: #294638;
}
.adult-settings-header p {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #617156;
}
.adult-settings-x {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #cbd8bf;
  border-radius: 50%;
  background: #edf3e5;
  color: #294638;
  cursor: pointer;
}
.adult-settings-x svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.adult-settings-body {
  padding: 20px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.adult-settings-actions {
  display: grid;
  gap: 12px;
}
.adult-settings-actions > a {
  text-align: center;
  padding: 12px;
  color: #294638;
}
.adult-settings-actions > button,
.adult-settings-done {
  font: inherit;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #c8d5b9;
  border-radius: 18px;
  background: #edf3e5;
  color: #294638;
  cursor: pointer;
}
.adult-settings-body .lesson-toolbar {
  margin: 0;
  padding: 16px;
  gap: 12px;
  box-shadow: none;
}
body.lesson-focus .adult-settings-dialog .lesson-toolbar {
  display: flex !important;
}
.adult-settings-body .parent-guide {
  margin: 0;
}
.adult-settings-footer {
  padding: 16px 24px 22px;
  border-top: 1px solid #dce4d2;
  flex-shrink: 0;
  margin: 0;
  background: transparent;
}
.adult-settings-done {
  width: 100%;
  font-size: 16px;
  line-height: 1.4;
  background: #3d624b;
  border-color: #3d624b;
  color: #fffdf7;
  font-weight: 600;
}
.adult-settings-dialog button:focus-visible,
.session-adult-trigger:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .adult-settings-header {
    padding: 18px 18px 16px;
  }
  .adult-settings-body {
    padding: 16px 18px;
  }
  .adult-settings-footer {
    padding: 14px 18px 18px;
  }
}
@media (max-width: 900px), (max-height: 600px) and (pointer: coarse) {
  .lesson-hub-tabs,
  .lesson-session-bar,
  body.lesson-focus .lesson-session-bar {
    position: static;
    top: auto;
    z-index: auto;
  }
  .lesson-hub-tabs {
    position: relative;
  }
}
@media (max-width: 480px) {
  .lesson-hub .picker-controls {
    grid-template-columns: 1fr;
  }
}


/* learning-breadcrumbs.css */
body.learning-page > header .learning-header-logo {
  display: inline-flex;
  align-items: center;
  width: 220px;
  max-width: 70vw;
  flex: 0 1 220px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
body.learning-page > header .learning-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.learning-page > header {
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
body.learning-page > header .learning-header-logo {
  order: -1;
}
.learning-route {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 10px 0;
  color: #36543e;
}
.learning-route-brand {
  display: none;
  width: 220px;
  flex: 0 0 220px;
  line-height: 0;
  border-radius: 8px;
}
.learning-route-brand img {
  display: block;
  width: 100%;
  height: auto;
}
body.lesson-focus .learning-route-brand {
  display: inline-flex;
}
.learning-breadcrumbs {
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.learning-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.learning-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.learning-breadcrumbs li + li::before {
  content: '/';
  color: #94a384;
  padding: 0 5px;
  flex-shrink: 0;
}
.learning-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 6px;
  color: #526b45;
  text-decoration: underline;
  text-underline-offset: 4px;
  border-radius: 8px;
}
.learning-breadcrumbs [aria-current='page'] {
  padding: 4px 6px;
  color: #294638;
  overflow-wrap: anywhere;
}
.learning-breadcrumbs a:hover {
  background: #e8efde;
  color: #294638;
}
.learning-breadcrumbs a:focus-visible,
.learning-route-brand:focus-visible,
.learning-header-logo:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .learning-route {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 0;
  }
  .learning-route-brand {
    width: 220px;
    flex: 0 0 auto;
  }
  .learning-breadcrumbs {
    font-size: 0.875rem;
  }
  .learning-breadcrumbs a {
    min-height: 36px;
  }
  body.learning-page > header .learning-header-logo {
    width: 200px;
    flex-basis: 200px;
  }
}

