:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #202d27;
  --green: #0d633c;
  --sage: #e1eddd;
  --line: #d4d9ce;
  --muted: #536257;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
}
a {
  color: var(--green);
  text-underline-offset: 0.22em;
}
a,
button {
  touch-action: manipulation;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a.action {
  cursor: pointer;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  padding: 0.62rem 1.05rem;
  border-radius: 0.35rem;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
}
button:hover,
a.action:hover {
  filter: brightness(0.9);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}
.plain {
  padding: 0.3rem 0.45rem;
  background: none;
  color: var(--green);
  border: 0;
  font-weight: 600;
}
.danger {
  color: #933731;
}
.skip {
  position: absolute;
  z-index: 20;
  left: 0.5rem;
  top: -5rem;
  background: white;
  padding: 0.5rem;
}
.skip:focus {
  top: 5px;
}
:focus-visible {
  outline: 3px solid #33966a;
  outline-offset: 3px;
}
header {
  border-bottom: 1px solid var(--line);
  background: #fcfcf8;
}
.bar,
main,
footer {
  width: min(1152px, calc(100% - 56px));
  margin: auto;
}
.bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.89rem;
  font-weight: 650;
}
.brand img {
  width: 96px;
  height: auto;
}
.brand span {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 600;
}
nav a[aria-current="page"] {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.account {
  display: flex;
  gap: 10px;
  align-items: center;
}
.account .plain {
  font-size: 0.82rem;
}
main {
  min-height: calc(100vh - 190px);
  padding: clamp(2rem, 6vw, 5rem) 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 16ch;
  margin-bottom: 1.2rem;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  margin-bottom: 1.1rem;
}
h3 {
  font-size: 1.15rem;
  line-height: 1.35;
}
p {
  max-width: 66ch;
}
.muted,
.empty,
.hint {
  color: var(--muted);
}
.hint,
small,
time {
  font-size: 0.86rem;
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: var(--muted);
}
.login {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: clamp(2rem, 7vw, 6.5rem);
}
.login .intro {
  align-self: center;
  padding: 22px 0;
}
.cover {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #21362c;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.signin-preview {
  align-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #193b2b;
  color: #f7f5e9;
}
.signin-preview figcaption {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}
.signin-preview .eyebrow {
  color: #b4dbb4;
  margin-bottom: .6rem;
}
.signin-preview h2 {
  margin-bottom: .75rem;
  max-width: 24ch;
}
.signin-preview figcaption > p:last-child {
  margin: 0;
  font-size: .9rem;
  color: #dae7dd;
}
.login h1 {
  margin-top: 16px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.formgrid,
form.stack {
  display: grid;
  gap: 0.85rem;
  max-width: 650px;
}
.login form {
  max-width: 390px;
  margin: 2rem 0 1rem;
}
.login form button {
  width: 100%;
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
}
input,
textarea,
select {
  max-width: 100%;
  width: 100%;
  background: #fff;
  border: 1px solid #b9c5b9;
  padding: 0.65rem 0.8rem;
  border-radius: 4px;
  color: var(--ink);
}
textarea {
  min-height: 95px;
  resize: vertical;
}
.login input {
  height: 48px;
}
.loading {
  margin: 15vh 0;
}
.banner {
  background: var(--sage);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
}
.banner .intro {
  padding: clamp(1.4rem, 5vw, 4rem);
}
.banner h1 {
  max-width: 13ch;
}
.banner .cover {
  border-radius: 0 6px 6px 0;
  min-height: 100%;
}
.spaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.space,
.row,
.panel {
  background: #fefefa;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.space {
  padding: 1.5rem;
  display: block;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.space:hover,
.row:hover {
  border-color: #7d9e87;
}
.space h2 {
  font-size: 1.85rem;
  margin: 1.3rem 0 0.6rem;
}
.space p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 30ch;
}
.arrow {
  float: right;
  color: var(--green);
}
.space .icon {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 650;
  letter-spacing: 0.01em;
}
.heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.heading h1,
.heading h2 {
  margin: 0;
}
.crumb {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.3rem;
}
.rows {
  display: grid;
  gap: 0.6rem;
}
.row {
  padding: 1.05rem 1.3rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.row strong {
  display: block;
}
.row .hint {
  display: block;
  margin: 0.3rem 0 0;
}
.panel {
  padding: clamp(1rem, 2.8vw, 2rem);
  margin: 1rem 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.5rem;
}
.narrow {
  max-width: 780px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.stack button {
  justify-self: start;
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.lesson h1 {
  max-width: 22ch;
}
.lesson .prose {
  line-height: 1.7;
}
.lesson .section {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
}
.video,
video,
.pdf {
  border: 0;
  background: #17211c;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
}
.pdf {
  height: 60vh;
}
.thumb {
  height: 4px;
  width: 7rem;
  background: #d7ded3;
  border-radius: 2px;
}
audio {
  width: 100%;
}
.post {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
  overflow-wrap: anywhere;
}
.post:last-child {
  border: 0;
}
.post p {
  margin: 0.35rem 0;
}
.meta {
  color: var(--muted);
  font-size: 0.84rem;
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.meta strong {
  color: var(--ink);
}
.reply {
  margin-left: clamp(0.7rem, 3vw, 2.5rem);
  border-left: 2px solid var(--line);
  padding-left: 1rem;
}
.thread {
  margin-top: 0.55rem;
}
details {
  margin: 0.8rem 0;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 650;
}
.feedback-form {
  margin-top: 1.3rem;
}
.feedback-form textarea {
  min-height: 80px;
}
.status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green);
}
.error {
  color: #8c3026;
}
.empty {
  padding: 1rem 0;
}
footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.83rem;
}
footer img {
  width: 63px;
}
.group {
  margin-top: 2.2rem;
}
#notice {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  max-width: 90vw;
  z-index: 4;
}
#notice:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
}
@media (max-width: 760px) {
  .bar,
  main,
  footer {
    width: calc(100% - 36px);
  }
  .bar {
    gap: 12px;
    flex-wrap: wrap;
    padding: 13px 0;
  }
  .brand {
    margin-right: auto;
  }
  .brand img {
    width: 76px;
  }
  nav:not(:empty) {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
  }
  .brand span {
    padding-left: 10px;
  }
  .brand {
    gap: 10px;
  }
  .login,
  .split {
    grid-template-columns: 1fr;
  }
  .login {
    gap: 1.5rem;
  }
  .login .intro {
    padding: 0;
  }
  .spaces {
    grid-template-columns: 1fr;
  }
  .space h2 {
    margin: 0.6rem 0;
  }
  .space {
    padding: 1.05rem;
  }
  .banner {
    grid-template-columns: 1fr;
  }
  .banner .cover {
    display: none;
  }
  .heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .row {
    align-items: start;
  }
  .panel {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* Lesson library */
.library-intro { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.library-intro h1 { margin-bottom: .65rem; }
.library-intro .lead { margin-bottom: 0; }
.library-filter-groups { display: grid; gap: .75rem; margin: 1.5rem 0 2.4rem; }
.lesson-folders > details { border-bottom: 1px solid var(--line); }
.lesson-folders summary { padding: .8rem .3rem; cursor: pointer; font-weight: 650; color: var(--ink); }
.lesson-folders details details { margin-left: 1.25rem; border-left: 2px solid var(--line); padding-left: .85rem; }
.folder-question { padding: .15rem 0 .9rem; }
.folder-question p { margin: 0 0 .5rem; }
.folder-question .action { padding: .35rem .7rem; font-size: .88rem; }
.folder-count { margin-left: .5rem; font-weight: 400; font-size: .84rem; color: var(--muted); white-space: nowrap; }
nav.library-filters {
  margin: 0; width: auto; display: flex; flex-wrap: wrap; align-items: center;
  overflow: visible; gap: .45rem; order: initial;
}
.filter-label { min-width: 5rem; font-size: .85rem; font-weight: 600; }
@media (max-width: 600px) {
  .library-filters .filter-label { flex-basis: 100%; }
}
.topic-option {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 2rem;
  background: #fffefa; color: var(--ink); font-size: .88rem;
}
nav .topic-option[aria-current="page"] { color: #fff; background: var(--green); border-color: var(--green); text-decoration: none; }
.topic-option:hover { border-color: var(--green); }
.library-heading { margin-bottom: 1rem; align-items: baseline; }
.lesson-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(15rem, 82%); align-items: start;
  gap: .85rem; list-style: none; margin: 0 0 .8rem; padding: .25rem .2rem .8rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scroll-padding-inline: .2rem; scrollbar-color: var(--green) var(--sage);
}
.lesson-strip:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.lesson-strip > li { min-width: 0; scroll-snap-align: start; overflow-wrap: anywhere; }
.library-card { --inset: .85rem; background: #fffefa; border: 1px solid var(--line); border-radius: 7px; }
.lesson-entry { display: block; color: var(--ink); text-decoration: none; border-radius: 7px; }
.lesson-entry:hover h3,.lesson-entry:focus-visible h3 { color: var(--green); text-decoration: underline; }
.library-cover {
  --cover-paper: #d7e4cb; --cover-ink: #659477;
  display: block; overflow: hidden; border-radius: 6px 6px 0 0; aspect-ratio: 16 / 9;
  background: repeating-radial-gradient(ellipse at 78% 140%, transparent 0 16px, var(--cover-ink) 17px 19px, transparent 20px 28px), var(--cover-paper);
}
.library-cover:is([data-topic="audience-growth"],[data-topic="measurement"],[data-topic="community"]) { --cover-paper: #e5dcea; --cover-ink: #9b85a8; }
.library-cover:is([data-topic="short-form-video"],[data-topic="production"],[data-topic="publishing"]) { --cover-paper: #d8e5eb; --cover-ink: #789ba9; }
.library-cover:is([data-topic="interviewing"],[data-topic="storytelling"]) { --cover-paper: #efdfc6; --cover-ink: #b99769; }
.library-cover img,.library-cover video { display: block; width: 100%; height: 100%; object-fit: cover; }
.library-cover picture { display: block; height: 100%; }
.library-cover video:not(.has-frame) { visibility: hidden; }
.library-card h3 { margin: 0; padding: var(--inset) var(--inset) .45rem; font: normal 1.35rem/1.18 var(--serif); letter-spacing: -.035em; }
.library-card-details { display: grid; justify-items: start; gap: .55rem; padding: 0 var(--inset) var(--inset); }
.library-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; color: var(--muted); font-size: .85rem; }
.lesson-type { display: inline-block; border-radius: .3rem; padding: .15rem .5rem; background: #e5eee4; color: var(--green); font-size: .8rem; font-weight: 600; text-decoration: none; }
.lesson-type:hover,.lesson-type:focus-visible { text-decoration: underline; }
.lesson-done { font-size: .8rem; color: var(--green); }
.lesson-topics { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; }
.lesson-topics span { color: #9aab9a; }
.lesson-detail { max-width: 940px; margin: 0 auto; }
.lesson-classification { display: grid; justify-items: start; gap: .25rem; }
.lesson-detail > .lesson-classification { margin-bottom: 1rem; }
.home-feature-meta > .lesson-classification { flex-basis: 100%; }
.home-lesson-row .lesson-classification, .saved-lessons .lesson-classification, .row .lesson-classification { margin-top: .3rem; }
.lesson-detail h1 { font-size: clamp(2.25rem, 5.7vw, 4.6rem); max-width: 24ch; }
.watch-cue { margin: .5rem 0 1.35rem; color: var(--ink); max-width: 57ch; border-left: 3px solid #428a5d; padding-left: 1rem; font-size: clamp(1.03rem, 2vw, 1.2rem); }
.lesson-example {
  background: #fefefa; border: 1px solid var(--line); border-radius: 8px;
  display: grid; gap: clamp(1rem, 3vw, 2.4rem); align-items: center;
  padding: clamp(1rem, 2.7vw, 2rem); margin: 1.5rem 0 2rem;
}
.lesson-example .video { display: block; }
.short-example { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.short-example .video { width: min(100%, 255px); aspect-ratio: 9/16; justify-self: center; }
.example-notes { min-width: 0; }
.example-notes h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.example-notes h3,.practice-panel h3 { font-size: 1rem; margin: 1.1rem 0 .5rem; }
.example-source { margin-bottom: .7rem; }
.example-source small { display: block; color: var(--muted); }
.moment-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.moment-list li + li { margin-top: .3rem; }
button.moment {
  text-align: left; justify-content: flex-start; width: 100%; min-height: 42px;
  border: 1px solid transparent; color: var(--ink); background: transparent; padding: .45rem .7rem;
}
button.moment span { color: var(--green); min-width: 3em; font-variant-numeric: tabular-nums; }
button.moment:hover,button.moment[aria-pressed="true"] { background: #edf2e8; border-color: #b1cbb6; filter: none; }
.source-link { font-size: .88rem; }
.lesson-reading { max-width: 720px; }
.lesson-reading p { max-width: none; }
.practice-panel { margin-top: 2rem; padding: clamp(1.2rem, 3vw, 2rem); background: var(--sage); border-radius: 6px; }
.lesson-advice { margin-top: 2rem; }
.practice-answer { margin: 1.25rem 0 2rem; }
.lesson-reaction { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.lesson-reaction h2 { font-size: 1.4rem; margin: 0 0 .7rem; }
.lesson-reaction button { min-height: 44px; }
.lesson-reaction [aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.lesson-reaction [data-count] { font-variant-numeric: tabular-nums; }
.lesson-reaction form { margin-top: 1rem; }
.lesson-reaction .hint { margin: .3rem 0 .65rem; }
.lesson-reaction [role="status"]:empty { margin: 0; }
.work-actions, .resource-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; }
.resource-heading { justify-content: space-between; border: 0; background: transparent; }
.resource-page { max-width: 900px; }
.resource-page p { max-width: 72ch; }
.start-grid, .comparison { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); }
.start-card, .worked-example { padding: clamp(1rem,2.5vw,1.65rem); background: #fffefa; border: 1px solid var(--line); border-radius: .45rem; }
.start-card { display: grid; gap: .5rem; color: var(--ink); text-decoration: none; }
.start-card:hover strong,.start-card:focus-visible strong { text-decoration: underline; color: var(--green); }
.guided-start, .worked-example { margin: 1.75rem 0; }
.comparison > div { padding: 1rem; background: var(--paper); border-left: 3px solid var(--line); }
.comparison > div + div { border-left-color: var(--green); }
.comparison h4,.worked-example h3 { margin-top: 0; }
.comparison audio { display: block; width: 100%; margin: .7rem 0; }
.prep-list { padding-left: 1.25rem; }
.prep-list a { display: inline-block; padding: .65rem .2rem; }
.lesson-advice h2 { margin-bottom: .35rem; }
.lesson-advice p { margin: 0 0 1rem; }
.lesson-actions { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .75rem; align-items: center; }
.lesson-actions a { min-height: 44px; text-align: center; }
.lesson-actions .action { padding: .95rem 1rem; }
.lesson-share { display: grid; place-items: center; padding: .4rem .6rem; font-size: .92rem; font-weight: 600; }
@media (max-width: 440px) {
  .lesson-actions { grid-template-columns: 1fr; gap: .25rem; }
}
.lesson-end { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }
@media (max-width: 650px) {
  .short-example { grid-template-columns: 1fr; }
  .short-example .video { width: min(100%, 225px, 42vh); }
  .lesson-detail .crumb { margin-bottom: .8rem; }
  .lesson-example { margin: 1rem 0; }
}

/* Member home */
.home-heading {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: 1.5rem;
}
.home-heading h1 { max-width: none; margin: 0; font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.home-heading > a { font-weight: 600; }
.home-feature { background: #e1eddd; border-radius: 8px; overflow: hidden; }
.home-feature.with-cover { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.home-feature-copy { padding: clamp(1.4rem, 4vw, 3.4rem); align-self: center; }
.feature-label { color: #225c3e; font-weight: 700; font-size: .9rem; margin-bottom: .7rem; }
.home-feature h2,.home-feature h3 { font: normal clamp(2.1rem, 4.4vw, 3.8rem)/1.05 var(--serif); letter-spacing: -.045em; max-width: 23ch; margin-bottom: .75rem; }
.home-history > h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.home-history > ul { list-style: none; margin: .75rem 0 0; padding: 0; }
.home-history + .home-history,.home-lists + .home-history,.home-feature + .home-history { margin-top: 2.25rem; }
.feature-label time { font-size: inherit; }
.feature-cue { max-width: 52ch; }
.home-feature-meta { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; font-size: .84rem; margin: .65rem 0 1.25rem; }
.home-feature-meta time { color: var(--muted); }
.home-feature-art { align-self: stretch; background: #162a20; display: grid; align-items: center; }
.home-feature-art img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.home-lists { margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 340px),1fr)); gap: 1.6rem; }
.home-lists h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.home-lists ul { list-style: none; margin: 0; padding: 0; }
.home-lesson-row { border-top: 1px solid var(--line); padding: .95rem 0; display: flex; align-items: center; justify-content: space-between; gap: .8rem; text-decoration: none; color: var(--ink); }
.home-lesson-row:hover strong,.room-links a:hover strong { text-decoration: underline; }
.home-lesson-row small { display: block; color: var(--muted); margin-top: .2rem; }
.room-links { margin-top: 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.room-links a { border-top: 1px solid var(--line); padding: 1.1rem 0; text-decoration: none; }
.room-links strong { display: block; font: normal 1.55rem var(--serif); color: var(--ink); }
.room-links span { color: var(--muted); font-size: .9rem; }
.dashboard-tools {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: start; gap: 1rem; margin-top: 2rem;
}
.dashboard-panel {
  min-width: 0; padding: clamp(1.15rem, 2.2vw, 1.65rem); border: 1px solid var(--line);
  border-radius: 7px; background: #fffefa; overflow-wrap: anywhere;
}
.dashboard-panel h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 0 0 .8rem; }
.dashboard-panel p { margin: .4rem 0 .8rem; color: var(--muted); }
.dashboard-panel a { font-weight: 600; }
.dashboard-panel summary { cursor: pointer; color: var(--green); padding-top: .75rem; }
.home-heading + .dashboard-replies { margin-bottom: 1.75rem; background: #eef3e9; }
.reply-list,.saved-lessons { list-style: none; margin: 0; padding: 0; }
.reply-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 1.35rem; }
.reply-preview { display: grid; gap: .4rem; color: var(--ink); text-decoration: none; }
.reply-preview:hover strong,.reply-preview:focus-visible strong { text-decoration: underline; }
.reply-byline,.listener-name { font-size: .86rem; color: var(--muted); font-weight: 500; }
.reply-excerpt { font-weight: 400; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.thread-action { color: var(--green); text-decoration: underline; font-size: .9rem; }
.dashboard-panel .feedback-question { color: var(--ink); font-weight: 650; }
.listen-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.saved-lessons li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem 0; }
.saved-lessons li + li { border-top: 1px solid var(--line); }
.bookmark-button { flex: none; min-height: 40px; padding: .35rem .7rem; background: transparent; color: var(--green); font-size: .85rem; border: 1px solid var(--line); }
.bookmark-button::before { content: ""; width: .6rem; height: .85rem; background: currentColor; clip-path: polygon(0 0,100% 0,100% 100%,50% 75%,0 100%); }
.bookmark-button[aria-pressed="true"] { background: var(--sage); border-color: #95b59e; }
.bookmark-button[aria-disabled="true"] { opacity: .65; cursor: wait; }
.lesson-bookmark { margin: .6rem 0 1.2rem; }
@media(max-width:650px) {
  .home-feature.with-cover { grid-template-columns: 1fr; }
  .home-feature-art { order: -1; max-height: 160px; }
  .home-feature-art img { height: 160px; }
  .room-links { grid-template-columns: 1fr; gap: 0; }
}

#account { position: relative; display: flex; align-items: center; gap: .4rem; }
.lesson-bell summary {
  position: relative; display: grid; place-items: center; color: var(--green);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; list-style: none;
}
.lesson-bell summary::-webkit-details-marker { display: none; }
.lesson-bell summary:hover, .lesson-bell[open] summary { background: var(--sage); }
.bell-count {
  position: absolute; top: 0; right: -2px; background: var(--green); color: white;
  border-radius: 1rem; min-width: 1.1rem; padding: 0 .23rem; text-align: center;
  font: 650 .7rem/1.1rem var(--sans);
}
.bell-panel {
  position: absolute; z-index: 10; top: calc(100% + .4rem); right: 0;
  width: min(21rem, calc(100vw - 36px)); max-height: min(65vh, 27rem); overflow: auto;
  padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; background: #fff;
  box-shadow: 0 6px 24px #2037291a;
}
.bell-panel h2 { font-size: 1.45rem; margin: 0 0 .6rem; }
.bell-panel p { color: var(--muted); margin: 0; }
.bell-panel ul { list-style: none; padding: 0; margin: 0; }
.bell-panel li + li { border-top: 1px solid var(--line); }
.bell-panel a { display: block; padding: .65rem .15rem; overflow-wrap: anywhere; }
@media (min-width: 761px) and (max-width: 1100px) {
  header .bar { flex-wrap: wrap; gap: .75rem; padding-block: .75rem; }
  header .brand { margin-right: auto; }
  header nav:not(:empty) { order: 3; width: 100%; }
}
