@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #243d32;
  background: #f8faf8;
  font-synthesis: none;
  --green: #194b39;
  --ink: #243d32;
  --muted: #708077;
  --line: #e4eae5;
  --yellow: #f4eab6;
  --white: #fff;
  --soft: #edf3ee;
  --birds: #2d6749;
  --english: #4666a6;
  --salsa: #a05b48;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: var(--green);
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #749880;
  outline-offset: 4px;
}
button:hover {
  transition: background 0.15s;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}
p {
  line-height: 1.6;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--green);
  color: white;
  padding: 12px;
  z-index: 99;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  min-height: 100dvh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 37px 22px 24px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -1.8px;
  padding-left: 9px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--green);
  color: var(--yellow);
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -2px;
  padding-bottom: 6px;
  padding-right: 2px;
}
.brand-period {
  margin-left: -7px;
  color: #a1bc91;
}
.main-nav {
  display: grid;
  gap: 7px;
  margin-top: 58px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 11px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #6a786f;
  min-height: 48px;
}
.nav-link:hover {
  background: #f3f6f3;
}
.nav-link.active {
  background: var(--soft);
  color: var(--green);
  font-weight: 650;
}
.nav-link svg {
  width: 19px;
  height: 19px;
}
.nav-count {
  margin-left: auto;
  font-size: 12px;
  min-width: 20px;
  text-align: center;
  background: #e4ece6;
  border-radius: 5px;
  line-height: 21px;
}
.sidebar-bottom {
  margin-top: auto;
}
.prototype-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #849289;
  text-align: center;
  margin-bottom: 18px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 22px 0 0;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
.profile > span:last-child {
  margin-left: auto;
  color: #7a8a7e;
}
.profile small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  height: 38px;
  width: 38px;
  background: #ede5cb;
  color: #75633b;
  font-size: 14px;
  font-weight: 600;
}
.avatar.small {
  width: 32px;
  height: 32px;
  font-size: 12px;
}
.workspace {
  margin-left: 224px;
}
.topbar {
  height: 83px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff80;
}
.topbar-note {
  font-size: 14px;
  color: #7b877e;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 23px;
}
.sample-badge {
  font-size: 12px;
  color: #708176;
}
.sample-badge:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1.5px solid #90a282;
  border-radius: 50%;
  margin-right: 8px;
}
main {
  max-width: 1270px;
  margin: 0 auto;
  padding: 38px 48px 70px;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 11px !important;
  font-weight: 650;
  letter-spacing: 1.7px;
  color: #849185;
  line-height: 1.6;
}
.page-heading .eyebrow {
  margin-bottom: 7px;
}
h1 {
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -1.6px;
  line-height: 1.15;
}
.heading-dot {
  color: #8caa78;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  font-weight: 650;
  line-height: 1.25;
}
h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.text-button {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #637768;
  padding: 10px;
  border-radius: 8px;
  min-height: 44px;
}
.text-button:hover {
  background: #eaf1e9;
}
.filter-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 17px;
  font-size: 14px;
  min-height: 42px;
}
.filter-chip svg {
  width: 16px;
  height: 16px;
}
.filter-chip:hover {
  background: #eef4ef;
}
.filter-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
  gap: 34px;
  align-items: start;
}
.feed-column {
  min-width: 0;
}
.learning-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 5px 22px #213c2710;
  margin-bottom: 26px;
  scroll-margin-top: 24px;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 16px 22px;
}
.topic-tag {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.topic-tag svg {
  width: 17px;
  height: 17px;
}
.birds {
  color: var(--birds);
}
.english {
  color: var(--english);
}
.salsa {
  color: var(--salsa);
}
.card-meta {
  font-size: 12px;
  color: #89948c;
  margin-left: auto;
}
.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #f0f4ef;
}
.icon-button.saved {
  background: #edf3e9;
  color: var(--green);
}
.icon-button.saved svg {
  fill: #c9ddbe;
}
.bird-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 450px;
  padding: 0;
  text-align: left;
  color: #fff;
  overflow: hidden;
  background: #475743;
}
.bird-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
  object-position: center 45%;
}
.bird-visual:hover img {
  transform: scale(1.025);
}
.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #132a1ca8, transparent 58%);
}
.image-caption {
  position: absolute;
  left: 30px;
  bottom: 65px;
  right: 24px;
}
.photo-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffffb8;
  margin-bottom: 10px;
}
.photo-question {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.2;
}
.reveal-hint {
  position: absolute;
  left: 30px;
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #ffffffde;
}
.card-bottom {
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #728175;
  min-height: 65px;
}
.card-bottom h2 {
  color: var(--ink);
  margin: 5px 0 10px;
}
.card-number {
  font-size: 11px;
  letter-spacing: 1px;
  color: #98a297;
}
.scroll-cue {
  text-align: center;
  font-size: 12px;
  color: #8a978c;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 22px 0 35px;
}
.scroll-cue span {
  font-size: 19px;
}
.learning-rail {
  position: sticky;
  top: 28px;
}
.rail-note {
  background: #edf2e8;
  border-radius: 17px;
  padding: 26px 24px;
}
.rail-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #cad8c1;
  border-radius: 50%;
  margin-bottom: 21px;
  color: #6d8860;
}
.rail-note .eyebrow {
  font-size: 10px !important;
  color: #78906a;
}
.rail-note h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 9px;
  margin-bottom: 18px;
  letter-spacing: -0.7px;
}
.rail-note > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: #728368;
}
.rail-divider {
  border-top: 1px solid #d7e1cf;
  margin: 23px 0 16px;
}
.rail-footer {
  font-size: 12px;
  color: #849775;
}
.mix-summary {
  padding: 28px 6px 0;
}
.mix-summary h3 {
  font-size: 14px;
  margin-bottom: 18px;
}
.mix-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin: 15px 0;
}
.mix-item > span:last-child {
  margin-left: auto;
  font-size: 11px;
  color: #929d94;
}
.topic-dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.local-note {
  font-size: 12px !important;
  color: #919b93;
  margin: 24px 6px;
  line-height: 1.7;
}
.modal {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  width: min(530px, calc(100% - 32px));
  max-height: 90dvh;
  box-shadow: 0 30px 100px #0a21172e;
  color: var(--ink);
}
.modal::backdrop {
  background: #14271966;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green);
  color: white;
  padding: 13px 21px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  box-shadow: 0 5px 30px #13332425;
  max-width: calc(100% - 32px);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  margin: 80px;
  padding: 20px;
}
.primary-button,
.reveal-button,
.next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 45px;
  padding: 12px 19px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 550;
  background: var(--green);
  color: #fff;
  line-height: 1.4;
}
.primary-button:hover {
  background: #286048;
}
.full-width {
  width: 100%;
  margin-top: 18px;
}
.card-content {
  padding: 27px;
}
.card-content > .description {
  font-size: 16px;
  color: #566b5d;
  line-height: 1.7;
}
.bird-detail .description {
  font-size: 16px;
}
.traits {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 22px;
  background: #f4f7f2;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.traits > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.traits > div > span {
  display: grid;
  place-items: center;
  border: 1px solid #d3dfcb;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: 11px;
  color: #6c865e;
}
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 25px 0;
}
.detail-label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #80917e;
  margin-bottom: 8px;
}
.fact-grid p {
  font-size: 14px;
  color: #617160;
  line-height: 1.6;
}
.rating-block {
  padding: 21px 0;
  border-top: 1px solid var(--line);
  margin-top: 23px;
}
.rating-block > span {
  font-size: 13px;
  color: #7a8a7b;
  display: block;
  margin-bottom: 12px;
}
.rating-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border: 1px solid #dce6d7;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
}
.rating svg {
  width: 15px;
  height: 15px;
}
.rating:hover,
.rating.selected {
  background: #e8f0e3;
  border-color: #97b28c;
}
.source-details {
  font-size: 12px;
  color: #70806f;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 12px;
  line-height: 1.6;
}
.source-details summary {
  cursor: pointer;
  min-height: 35px;
  display: list-item;
}
.source-details p {
  margin: 5px 0 14px;
  font-size: 12px;
  line-height: 1.8;
}
.source-details a {
  text-decoration-color: #b5c4ae;
  text-underline-offset: 3px;
}
.next-button {
  width: 100%;
  margin-top: 20px;
  background: #f0f5ed;
  color: var(--green);
}
.next-button:hover {
  background: #e3ecde;
}
.small-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 36px;
}
.small-link svg {
  width: 16px;
  height: 16px;
}
.english-front {
  position: relative;
  background: #f0f3fa;
  padding: 39px 35px 28px;
  overflow: hidden;
}
.english-front > .eyebrow {
  color: #8390ae;
  font-size: 10px !important;
  position: relative;
  z-index: 1;
}
.quote-mark {
  position: absolute;
  right: 20px;
  top: 12px;
  font:
    200px/0.9 Georgia,
    serif;
  color: #e2e8f3;
  pointer-events: none;
}
.english-front blockquote {
  position: relative;
  margin: 27px 0 23px;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: -0.7px;
  color: #3b5078;
  z-index: 1;
}
.english-front mark {
  background: #dbe5f7;
  color: inherit;
  border-radius: 3px;
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.audio-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #667da6;
  border: 1px solid #d5deed;
  border-radius: 24px;
  padding: 10px 15px;
  min-height: 42px;
  background: #ffffff60;
}
.audio-button svg {
  width: 17px;
  height: 17px;
}
.audio-button:hover {
  background: white;
}
.quiz-question {
  font-size: 16px;
  font-weight: 550;
  margin-bottom: 18px;
}
.quiz {
  display: grid;
  gap: 9px;
}
.bird-visual + .quiz {
  padding: 22px;
}
.answer-option {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  min-height: 50px;
}
.answer-option:not(:disabled):hover {
  border-color: #9ab2a0;
  background: #f6f9f3;
}
.answer-option:disabled {
  opacity: 1;
}
.answer-option.correct {
  background: #eef6e9;
  border-color: #a0be95;
  color: #3c693c;
}
.answer-option.incorrect {
  background: #fff2ed;
  border-color: #debbab;
  color: #91674f;
}
.answer-option > svg {
  margin-left: auto;
  width: 17px;
}
.answer-letter {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-size: 11px;
  color: #879986;
}
.answer-feedback {
  font-size: 13px;
  color: #86684c;
  line-height: 1.6;
  margin-top: 7px;
}
.answer-feedback.correct-text {
  color: #527a48;
}
.reveal-button {
  background: none;
  color: #7b887c;
  font-size: 13px;
  width: 100%;
  margin-top: 12px;
  min-height: 42px;
}
.reveal-button:hover {
  background: #f3f6f1;
}
.english-detail {
  margin-top: 25px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.detail-heading h2 {
  font-size: 28px;
  color: #3e5580;
}
.language-badge {
  border: 1px solid #dbe1ed;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 9px;
  color: #7b8ba7;
}
.english-detail > p {
  color: #667569;
  font-size: 15px;
}
.pattern {
  font-size: 14px;
  color: #5f7293;
  background: #f3f5f9;
  padding: 15px 18px;
  border-radius: 9px;
  margin: 21px 0;
}
.examples {
  display: grid;
  gap: 18px;
}
.examples > div {
  border-left: 2px solid #dce3ef;
  padding-left: 16px;
}
.examples p {
  font-size: 15px;
  color: #435670;
}
.examples p.translation {
  font-size: 13px;
  color: #8c948e;
  margin-top: 4px;
}
.your-turn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f7f8ee;
  padding: 18px;
  margin-top: 25px;
  font-size: 14px !important;
  border-radius: 10px;
}
.your-turn svg {
  margin-top: 2px;
  color: #9ba366;
  width: 17px;
}
.salsa-front {
  background: #f6eee8;
  color: #8b5642;
  padding: 28px 30px;
}
.salsa-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.salsa-topline .eyebrow {
  color: #b28e7d;
  font-size: 10px !important;
}
.salsa-topline svg {
  color: #be9b87;
}
.salsa-wordmark {
  padding: 33px 0 30px;
  text-align: center;
}
.salsa-wordmark > span {
  font-size: 10px;
  letter-spacing: 4px;
  color: #b08b70;
}
.salsa-wordmark h2 {
  font-family: Georgia, serif;
  font-size: 53px;
  line-height: 1.3;
  letter-spacing: -2px;
  font-weight: 400;
  color: #9c6147;
  margin: 13px 0 17px;
}
.salsa-wordmark p {
  font-size: 14px;
  color: #ad8a77;
}
.salsa-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.salsa-tags span {
  border: 1px solid #e6d7cb;
  font-size: 11px;
  padding: 6px 11px;
  border-radius: 18px;
  color: #a58470;
}
.video-panel {
  margin: 22px 0;
}
.video-consent {
  min-height: 210px;
  background: #26342f;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  color: white;
  padding: 22px;
}
.video-consent > span:last-child {
  font-size: 12px;
  color: #b7c3ba;
}
.video-consent strong {
  font-size: 16px;
  font-weight: 500;
}
.play-circle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f4ead3;
  color: #53674d;
}
.play-circle svg {
  margin-left: 3px;
}
.video-frame {
  display: block;
  aspect-ratio: 16/9;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #26342f;
}
.video-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #939b92;
  margin: 12px 0 19px;
}
.video-caption a {
  color: #7a8a76;
}
.practice-note {
  font-size: 12px;
  color: #8b9689;
  margin-top: 14px;
}
.rail-feedback {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: #788d70;
  padding: 6px;
  min-height: 40px;
}
.rail-feedback svg {
  width: 16px;
}
.mix-item {
  width: 100%;
  padding: 0;
  text-align: left;
  min-height: 28px;
}
.mix-item:hover {
  color: var(--green);
}
.feed-end {
  text-align: center;
  padding: 30px 25px 45px;
}
.feed-end > span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #eaf1e5;
  color: #739562;
  margin: 0 auto 18px;
}
.feed-end h2 {
  font-size: 24px;
  font-weight: 600;
}
.feed-end p {
  font-size: 14px;
  color: #81907f;
  max-width: 390px;
  margin: 14px auto 22px;
}
.end-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.empty-state {
  background: white;
  padding: 55px 28px;
  text-align: center;
  border: 1px dashed #ccd9c5;
  border-radius: 18px;
}
.empty-state > svg {
  color: #90a984;
  width: 35px;
  height: 35px;
  margin-bottom: 20px;
}
.empty-state h2 {
  font-size: 24px;
}
.empty-state p {
  font-size: 15px;
  max-width: 390px;
  color: #81917c;
  margin: 15px auto 23px;
}
.page-intro {
  font-size: 16px;
  color: #7e8c7e;
  margin: -8px 0 29px;
  max-width: 650px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.topic-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.topic-cover {
  height: 190px;
  position: relative;
  background: #edf2eb;
  overflow: hidden;
}
.topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  display: block;
}
.topic-cover.english {
  background: #e8eef8;
}
.topic-cover.salsa {
  background: #f1e4db;
}
.topic-cover-type {
  display: block;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1.15;
  padding: 42px 27px;
  letter-spacing: -1.1px;
}
.topic-cover-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #ffffffcc;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.topic-tile-content {
  padding: 23px 20px;
  color: var(--ink);
}
.topic-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.topic-title-row h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
}
.topic-tile-content > p {
  font-size: 14px;
  color: #82917f;
  margin-top: 15px;
  min-height: 70px;
  line-height: 1.7;
}
.switch-label {
  display: inline-flex;
  position: relative;
  width: 38px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
  align-items: center;
}
.switch-label input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.switch-track {
  display: block;
  width: 36px;
  height: 21px;
  background: #d5ded1;
  border-radius: 20px;
  position: relative;
  transition: 0.2s;
}
.switch-track:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}
.switch-label input:checked + .switch-track {
  background: var(--green);
}
.switch-label input:checked + .switch-track:after {
  transform: translateX(15px);
}
.switch-label input:focus-visible + .switch-track {
  outline: 3px solid #9ab589;
  outline-offset: 4px;
}
.topic-goal {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 19px;
}
.topic-goal p {
  font-size: 13px;
  color: #64785f;
  min-height: 42px;
}
.topic-tile-bottom {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}
.topic-tile-bottom > span {
  font-size: 11px;
  color: #8e9a8b;
}
.tile-credit {
  font-size: 10px;
  color: #94a08f;
  display: block;
  margin-top: 12px;
  line-height: 1.6;
}
.interests-section {
  margin-top: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.interests-section h2 {
  font-size: 24px;
  margin: 8px 0 12px;
}
.interests-section p:not(.eyebrow) {
  font-size: 14px;
  color: #7d8c77;
  max-width: 610px;
}
.interest-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}
.interest-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px dashed #c7d5bf;
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 13px;
  color: #73866a;
  min-height: 42px;
}
.interest-chip svg {
  width: 16px;
}
.interest-chip:hover {
  background: #f0f5ec;
}
.interest-list {
  padding: 0;
  margin: 23px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.interest-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.interest-list li > span {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}
.interest-list svg {
  width: 17px;
  color: #8aa07f;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
  margin: 28px 0 32px;
}
.stat-grid > section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.stat-icon {
  color: #94a688;
}
.stat-grid strong {
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  letter-spacing: -1px;
  font-weight: 600;
}
.stat-grid section > span:last-child {
  font-size: 13px;
  color: #7d8c76;
}
.progress-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 29px;
  margin-top: 22px;
}
.section-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.progress-section h2 {
  font-size: 22px;
}
.topic-progress {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 29px;
}
.progress-topic-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f0f4ec;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.progress-topic-icon.english {
  background: #eef2f9;
}
.progress-topic-icon.salsa {
  background: #f8eee8;
}
.topic-progress > div {
  flex: 1;
}
.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.progress-row > span {
  font-size: 12px;
  color: #8d9a86;
}
.topic-progress progress {
  appearance: none;
  width: 100%;
  height: 6px;
  display: block;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eff3eb;
}
.topic-progress progress::-webkit-progress-bar {
  background: #eff3eb;
}
.topic-progress progress::-webkit-progress-value {
  background: #9cb88b;
  border-radius: 10px;
}
.topic-progress progress::-moz-progress-bar {
  background: #9cb88b;
  border-radius: 10px;
}
.activity-list {
  margin-top: 18px;
}
.activity-list > button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}
.activity-list > button:last-child {
  border: 0;
}
.activity-list > button > span:nth-child(2) {
  font-weight: 500;
}
.activity-list small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #8c9984;
  margin-top: 5px;
}
.activity-list > button > svg {
  width: 17px;
  color: #a7b19f;
}
.result-label {
  margin-left: auto;
  font-size: 12px !important;
  font-weight: 400;
  background: #eff5e9;
  color: #748966;
  padding: 7px 11px;
  border-radius: 6px;
  white-space: nowrap;
}
.result-label.again {
  background: #fcf2df;
  color: #a19063;
}
.result-label.new {
  background: #f0f2f7;
  color: #7f8aa5;
}
.quiet-empty {
  font-size: 14px;
  color: #86937e;
  padding: 27px 0 10px;
}
.local-footnote {
  font-size: 12px;
  color: #929e8c;
  margin-top: 25px;
  max-width: 670px;
}
.modal fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 23px;
}
.modal legend {
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 14px;
}
.check-option,
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  color: #6b7e65;
  cursor: pointer;
}
.check-option svg {
  width: 17px;
}
.modal input[type="checkbox"],
.modal input[type="radio"] {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.modal .form-note {
  font-size: 13px;
  color: #87967e;
  line-height: 1.7;
  margin: 10px 0 15px;
}
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 20px 0 12px;
}
.modal textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #d5dfd1;
  background: #fcfdfb;
  border-radius: 10px;
  padding: 13px;
  color: #53674b;
  font-size: 16px;
  line-height: 1.7;
  min-height: 110px;
}
.modal textarea::placeholder {
  color: #a1ad9a;
}
.bird-visual.revealed img {
  filter: brightness(0.96);
}
@media (min-width: 1550px) {
  main {
    padding-top: 48px;
  }
  .bird-visual {
    height: 490px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 190px;
    padding-inline: 16px;
  }
  .workspace {
    margin-left: 190px;
  }
  main {
    padding: 30px;
  }
  .topbar {
    padding: 0 30px;
  }
  .feed-layout {
    grid-template-columns: minmax(0, 1fr) 185px;
    gap: 22px;
  }
  .rail-note {
    padding: 22px 18px;
  }
  .rail-note h2 {
    font-size: 20px;
  }
  .bird-visual {
    height: 390px;
  }
  .card-top {
    padding-inline: 16px;
    gap: 9px;
  }
  .card-meta {
    font-size: 11px;
  }
}
@media (max-width: 950px) {
  .learning-rail {
    display: none;
  }
  .feed-layout {
    display: block;
  }
  .feed-column {
    max-width: 700px;
    margin: auto;
  }
  .sidebar {
    width: 185px;
  }
  .workspace {
    margin-left: 185px;
  }
  .bird-visual {
    height: 460px;
  }
}
@media (max-width: 680px) {
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: calc(70px + env(safe-area-inset-bottom));
    padding: 0 10px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    border-right: 0;
    background: #ffffffed;
    backdrop-filter: blur(16px);
  }
  .brand,
  .sidebar-bottom {
    display: none;
  }
  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    height: 70px;
  }
  .nav-link {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px 2px;
    border-radius: 0;
    font-size: 11px;
    min-height: 60px;
  }
  .nav-link.active {
    background: transparent;
    color: var(--green);
  }
  .nav-link.active > span:first-child {
    background: #e7f0e4;
    padding: 3px 14px;
    margin: -3px -14px;
    border-radius: 20px;
  }
  .nav-link svg {
    width: 20px;
    height: 20px;
  }
  .nav-count {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 62px;
    padding: 0 21px;
  }
  .topbar-note {
    font-size: 13px;
  }
  .topbar-right {
    gap: 13px;
  }
  .sample-badge {
    font-size: 10px;
  }
  .sample-badge:before {
    display: none;
  }
  main {
    padding: 26px 16px 95px;
  }
  .page-heading {
    margin-bottom: 24px;
    padding: 0 5px;
  }
  .page-heading .eyebrow {
    font-size: 10px !important;
  }
  h1 {
    font-size: 32px;
  }
  .text-button {
    font-size: 12px;
    padding-right: 0;
    gap: 6px;
  }
  .text-button svg {
    width: 17px;
  }
  .filter-row {
    gap: 7px;
    flex-wrap: nowrap;
    overflow: auto;
    padding: 0 2px 3px;
    margin-bottom: 21px;
    scrollbar-width: none;
  }
  .filter-chip {
    font-size: 12px;
    white-space: nowrap;
    padding: 9px 12px;
    min-height: 40px;
    gap: 5px;
  }
  .filter-chip svg {
    width: 14px;
  }
  .learning-card {
    border-radius: 16px;
    margin-bottom: 22px;
  }
  .card-top {
    min-height: 61px;
    padding: 10px 15px;
    gap: 7px;
  }
  .topic-tag {
    font-size: 12px;
  }
  .card-meta {
    font-size: 10px;
  }
  .card-top .icon-button {
    width: 30px;
    height: 36px;
  }
  .bird-visual {
    height: min(460px, 58dvh);
    min-height: 300px;
  }
  .image-caption {
    left: 24px;
    bottom: 65px;
  }
  .photo-question {
    font-size: 29px;
  }
  .reveal-hint {
    left: 24px;
    font-size: 13px;
    bottom: 26px;
  }
  .photo-eyebrow {
    font-size: 10px;
  }
  .card-bottom {
    padding: 18px;
    font-size: 12px;
  }
  .scroll-cue {
    font-size: 11px;
  }
  .toast {
    bottom: 90px;
    width: max-content;
    text-align: center;
  }
  .modal {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 1150px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topic-cover {
    height: 190px;
  }
  .topic-tile-content > p {
    min-height: 50px;
  }
}
@media (max-width: 680px) {
  .card-content {
    padding: 23px 19px;
  }
  .fact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .traits {
    padding: 17px;
    font-size: 13px;
  }
  .rating-buttons {
    gap: 7px;
  }
  .rating {
    font-size: 12px;
    padding: 9px 10px;
    flex: 1;
    white-space: nowrap;
  }
  .english-front {
    padding: 32px 25px 25px;
  }
  .english-front blockquote {
    font-size: 26px;
    line-height: 1.6;
  }
  .english-front > .eyebrow {
    font-size: 9px !important;
  }
  .answer-option {
    font-size: 13px;
    padding: 12px;
    gap: 10px;
  }
  .quiz-question {
    font-size: 15px;
  }
  .salsa-front {
    padding: 24px;
  }
  .salsa-wordmark h2 {
    font-size: 48px;
  }
  .salsa-wordmark {
    padding: 30px 0 25px;
  }
  .salsa-wordmark p {
    font-size: 13px;
  }
  .video-consent {
    min-height: 190px;
  }
  .video-caption {
    font-size: 10px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .topic-cover {
    height: 180px;
  }
  .topic-tile-content {
    padding: 23px;
  }
  .topic-tile-content > p {
    min-height: 0;
  }
  .topic-goal p {
    min-height: 0;
  }
  .page-intro {
    font-size: 14px;
    padding: 0 5px;
  }
  .page-heading > .primary-button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .page-heading > .primary-button svg {
    width: 15px;
  }
  .interests-section {
    padding: 23px;
  }
  .interests-section h2 {
    font-size: 21px;
  }
  .stat-grid {
    gap: 9px;
    margin-top: 23px;
  }
  .stat-grid > section {
    padding: 18px 12px;
    gap: 9px;
    border-radius: 12px;
  }
  .stat-grid strong {
    font-size: 30px;
  }
  .stat-grid section > span:last-child {
    font-size: 11px;
    line-height: 1.5;
  }
  .progress-section {
    padding: 23px 18px;
  }
  .progress-section h2 {
    font-size: 20px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 8px;
  }
  .section-heading .text-button {
    font-size: 12px;
  }
  .progress-row > span {
    font-size: 10px;
  }
  .progress-row h3 {
    font-size: 14px;
  }
  .topic-progress {
    gap: 12px;
  }
  .progress-topic-icon {
    width: 35px;
    height: 35px;
    border-radius: 9px;
  }
  .activity-list > button {
    gap: 10px;
    font-size: 13px;
    flex-wrap: wrap;
  }
  .activity-list small {
    font-size: 10px;
  }
  .result-label {
    font-size: 10px !important;
    padding: 6px 8px;
  }
  .activity-list > button > svg {
    display: none;
  }
  .feed-end {
    padding: 27px 12px;
  }
  .feed-end h2 {
    font-size: 22px;
  }
  .end-actions > .primary-button {
    font-size: 13px;
  }
  .card-bottom .small-link {
    font-size: 11px;
    white-space: nowrap;
  }
  .modal fieldset {
    margin-bottom: 19px;
  }
  .modal legend {
    font-size: 14px;
  }
  .check-option,
  .radio-option {
    font-size: 13px;
    line-height: 1.6;
  }
  .field-label {
    font-size: 14px;
  }
  .source-details,
  .source-details p {
    font-size: 12px;
  }
  .bird-visual + .quiz {
    padding: 19px;
  }
}
/* Persistent learning, feedback and practice controls. */
.mobile-next {
  display: none;
}
.generation-note,
[data-generation] {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.generation-note:empty,
[data-generation]:empty {
  display: none;
}
.generation-note {
  padding: 14px 0;
}
.feedback-tag {
  color: var(--green);
}
.feedback-content {
  padding: 30px;
}
.feedback-symbol {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #f4eab6;
  margin-bottom: 24px;
}
.feedback-symbol svg {
  width: 26px;
  height: 26px;
}
.feedback-content h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin-bottom: 14px;
}
.feedback-content > p {
  color: var(--muted);
  margin-bottom: 24px;
}
.feedback-options {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}
.feedback-options button {
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 12px;
  text-align: left;
  line-height: 1.4;
}
.feedback-options button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--green);
}
.feedback-content textarea {
  margin-bottom: 16px;
}
.feedback-skip {
  display: block;
  margin: 8px auto 0;
  padding: 12px;
}
.feedback-thanks {
  display: grid;
  gap: 24px;
  padding: 28px 0;
}
.gap-form {
  display: grid;
  gap: 12px;
}
.gap-form input,
#preferences-form select {
  width: 100%;
  border: 1px solid #cbd7ce;
  border-radius: 10px;
  padding: 13px;
  color: var(--ink);
  background: #fff;
}
.gap-hint {
  margin-bottom: 18px;
  color: var(--muted);
}
.gap-explanation {
  margin-top: 12px;
}
.detail-modal {
  width: min(680px, calc(100% - 24px));
  max-height: 90dvh;
  overscroll-behavior: contain;
}
.detail-modal .dialog-head {
  position: sticky;
  top: -23px;
  z-index: 3;
  background: white;
  padding: 12px 0;
}
.detail-modal .bird-visual,
.detail-modal .english-front,
.detail-modal .salsa-front {
  display: none;
}
.detail-modal .card-content {
  padding: 0;
}
.detail-modal .quiz {
  display: none;
}
.detail-modal .next-button {
  margin-top: 20px;
}
.close-detail {
  font-size: 28px;
}
.loop-controls {
  padding: 14px;
  background: var(--soft);
}
.loop-controls p {
  font-size: 12px;
  color: var(--muted);
}
.loop-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.loop-buttons button {
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
}
.loop-buttons button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
}
#preferences-form select {
  margin-bottom: 18px;
}
#sync-status {
  max-width: 220px;
  text-align: right;
}
.feed-end [data-generation] {
  margin: 16px 0;
}
@media (max-width: 680px) {
  body.feed-view {
    overflow: hidden;
  }
  .feed-view .app-shell,
  .feed-view .workspace {
    height: 100dvh;
    min-height: 0;
  }
  .feed-view .topbar {
    height: 44px;
    padding: 0 16px;
  }
  .feed-view .topbar-note {
    font-size: 12px;
  }
  .feed-view main {
    height: calc(100dvh - 114px - env(safe-area-inset-bottom));
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .feed-view .page-heading {
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 6px;
    align-items: center;
  }
  .feed-view .page-heading .eyebrow {
    display: none;
  }
  .feed-view .page-heading h1 {
    font-size: 25px;
  }
  .feed-view .page-heading .text-button {
    font-size: 11px;
  }
  .feed-view .filter-row {
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 2px 0 6px;
    flex-shrink: 0;
  }
  .feed-view .filter-chip {
    min-height: 36px;
    padding: 6px 10px;
  }
  .feed-view .feed-layout {
    display: block;
    flex: 1;
    min-height: 0;
  }
  .feed-view .learning-rail {
    display: none;
  }
  .feed-view .feed-column {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
  }
  .feed-view .learning-card,
  .feed-view .feed-end {
    height: 100%;
    min-height: 100%;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin: 0;
  }
  .feed-view .learning-card {
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-radius: 14px;
  }
  .feed-view .card-top {
    min-height: 48px;
    height: 48px;
    flex-shrink: 0;
    padding: 5px 12px;
  }
  .feed-view .bird-visual {
    flex: 1;
    min-height: 100px;
    height: auto;
    width: 100%;
  }
  .feed-view .card-bottom {
    flex-shrink: 0;
    padding: 12px 16px;
  }
  .feed-view .bird-visual + .quiz {
    padding: 10px 14px;
    flex-shrink: 0;
  }
  .feed-view .bird-visual + .quiz .answer-feedback {
    margin-top: 4px;
  }
  .feed-view .english-front {
    padding: 20px 22px 12px;
    flex: 1;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .feed-view .english-front .quote-mark {
    display: none;
  }
  .feed-view .english-front blockquote {
    font-size: clamp(23px, 6vw, 30px);
    line-height: 1.35;
    margin: 14px 0;
  }
  .feed-view .english-front .eyebrow {
    font-size: 9px;
  }
  .feed-view .audio-button {
    align-self: flex-start;
    padding: 5px 0;
  }
  .feed-view .card-content {
    padding: 14px 18px;
    flex-shrink: 1;
    min-height: 0;
    overflow-y: auto;
  }
  .feed-view .quiz-question {
    font-size: 13px;
    margin-bottom: 9px;
  }
  .feed-view .answer-option {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 13px;
    gap: 9px;
  }
  .feed-view .quiz {
    gap: 7px;
  }
  .feed-view .answer-feedback {
    font-size: 12px;
    margin-top: 8px;
  }
  .feed-view .reveal-button {
    margin-top: 10px;
    padding: 10px 0;
  }
  .feed-view .salsa-front {
    padding: 20px;
    flex: 1;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .feed-view .salsa-wordmark {
    margin: 18px 0;
  }
  .feed-view .salsa-wordmark h2 {
    font-size: clamp(31px, 9vw, 47px);
  }
  .feed-view .salsa-tags {
    margin-top: 0;
  }
  .feed-view .card-content > .description {
    margin-bottom: 12px;
    font-size: 13px;
  }
  .feed-view .mobile-next {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 35px;
    min-height: 35px;
    margin-top: auto;
    font-size: 11px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: #fafcf9;
  }
  .feed-view .mobile-next svg {
    width: 14px;
    transform: rotate(90deg);
  }
  .feed-view .feedback-content {
    padding: 18px;
    overflow-y: auto;
  }
  .feed-view .feedback-symbol {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 10px;
  }
  .feed-view .feedback-content h2 {
    font-size: 23px;
  }
  .feed-view .feedback-content > p {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .feed-view .feedback-options {
    gap: 7px;
    margin-bottom: 14px;
  }
  .feed-view .feedback-options button {
    font-size: 13px;
    padding: 10px 12px;
  }
  .feed-view .feedback-content textarea {
    font-size: 16px;
  }
  .feed-view .field-label {
    font-size: 12px;
  }
  .feed-view .gap-hint {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .feed-view .gap-form {
    gap: 9px;
  }
  .feed-view .gap-form input {
    font-size: 16px;
  }
  .feed-view .feed-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
  }
  .detail-modal {
    margin: auto auto 0;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    width: 100%;
  }
}
@media (max-width: 680px) and (max-height: 680px) {
  .feed-view .english-front {
    min-height: 110px;
    padding: 12px 18px;
    flex: 0 0 auto;
  }
  .feed-view .english-front blockquote {
    font-size: 22px;
    margin: 7px 0;
  }
  .feed-view .card-content {
    flex: 1;
  }
  .feed-view .salsa-front {
    min-height: 115px;
  }
  .feed-view .salsa-wordmark {
    margin: 10px 0;
  }
  .feed-view .salsa-topline,
  .feed-view .salsa-tags {
    display: none;
  }
  .feed-view .bird-visual {
    min-height: 80px;
  }
  .feed-view .photo-question {
    font-size: 24px;
  }
  .feed-view .feedback-content {
    padding: 14px 18px;
  }
  .feed-view .feedback-symbol {
    display: none;
  }
}
.feed-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
@media (max-width: 680px) {
  .feed-actions {
    gap: 4px;
  }
  .feed-actions > .icon-button {
    width: 32px;
    height: 36px;
  }
  .feed-view .answer-option,
  .feed-view .feedback-options button,
  .feed-view .field-label {
    font-size: 14px;
  }
  .feed-view .english-front .eyebrow,
  .feed-view .mobile-next {
    font-size: 12px;
  }
  .feed-view .card-top .card-meta {
    font-size: 12px;
  }
}

[hidden] {
  display: none !important;
}
.login-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(ellipse at 80% 10%, #dfe9df 0, transparent 55%), #f6f5ef;
}
.login-card {
  width: min(100%, 430px);
}
.login-brand {
  display: flex;
  width: fit-content;
  margin-bottom: 64px;
}
.login-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #55705e;
}
.login-card h1 {
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 14px 0 20px;
}
.login-card > p:not(.login-eyebrow):not(.login-error) {
  color: #667069;
  line-height: 1.7;
  margin-bottom: 32px;
}
.login-card small {
  display: block;
  color: #68726b;
  line-height: 1.6;
  margin-top: 24px;
}
.login-card .primary-button {
  min-height: 50px;
}
.login-error {
  color: #914a36;
  line-height: 1.5;
  font-size: 14px;
}
#logout-button {
  margin: 12px 0 0 48px;
  font-size: 12px;
}
#account-button {
  border: 0;
  cursor: pointer;
}

.welcome-card h2 {
  font-size: clamp(1.65rem, 4vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.welcome-card fieldset {
  border: 0;
  padding: 0;
  margin: 1.2rem 0;
}
.welcome-card textarea {
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid #cbd7ce;
  border-radius: 12px;
  background: #fbfcfa;
  padding: 12px 14px;
  resize: vertical;
  color: var(--ink);
}
.welcome-card input {
  accent-color: var(--green);
}
.welcome-card .card-content {
  padding-top: 1.25rem;
}

.welcome-card [data-action="welcome-skip"] {
  display: block;
  margin: 1rem auto 0;
}
.invitation-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.invitation-row strong {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.invitation-row small {
  display: block;
  opacity: 0.7;
}
#invite-email {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid #d5ddd5;
  border-radius: 10px;
  margin-bottom: 1rem;
}
#account-logout {
  margin-top: 1rem;
}
@media (max-width: 680px) {
  .feed-view .welcome-card {
    overflow-y: auto;
  }
  .welcome-card .card-content {
    padding: 1rem 1.4rem;
  }
}
