:root {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  color: #202722;
  background: #f5f3ed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #202722;
  --muted: #7c827a;
  --line: #e6e3dc;
  --green: #c6ee76;
  --paper: #fffefa;
  --serif: Georgia, 'Noto Serif SC', serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(ellipse at 90% 3%, #e4ead3 0, transparent 26%), #f5f3ed;
}
.shell {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 5.4vw;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(32, 39, 34, 0.11);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--green);
  font-family: var(--serif);
  font-size: 20px;
}
.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.12em;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.19em;
  color: var(--muted);
}
.top-note {
  font-size: 12px;
  color: #59625a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #8aa63b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e4ebd4;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 47px 0 39px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.19em;
  color: #778271;
  margin: 0 0 12px;
  font-weight: 700;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(37px, 5.3vw, 67px);
  letter-spacing: -0.065em;
  line-height: 1.12;
  margin: 0;
}
.hero h1 em {
  font-style: normal;
  color: #70864b;
}
.hero-subtitle {
  font-size: 13px;
  color: #697169;
  margin: 16px 0 0;
  letter-spacing: 0.02em;
}
.hero-stamp {
  height: 80px;
  width: 80px;
  border: 1px solid #aab297;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #728052;
  transform: rotate(10deg);
  margin-right: 6%;
}
.hero-stamp b {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
}
.workspace {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.sidebar,
.reader {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.sidebar {
  overflow: hidden;
}
.upload-card {
  padding: 24px 22px 20px;
  border-bottom: 1px solid var(--line);
}
.section-heading,
.library-heading,
.reader-topline,
.transcript-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-heading h2,
.library-heading h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  margin: 0;
}
.section-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 7px;
}
.plus-mark {
  font-size: 21px;
  color: #819062;
}
.dropzone {
  min-height: 132px;
  border: 1px dashed #cbd0c2;
  border-radius: 8px;
  background: #fbfbf7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 17px 10px;
  margin-top: 20px;
  cursor: pointer;
  transition: 0.2s;
}
.dropzone:hover,
.dropzone.dragging {
  border-color: #8ca159;
  background: #f6f9ef;
}
.upload-icon {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #e8eedb;
  color: #718448;
  display: grid;
  place-items: center;
  font-size: 17px;
  margin-bottom: 9px;
}
.dropzone strong {
  font-size: 11px;
  font-weight: 600;
}
.dropzone small {
  font-size: 9px;
  color: #898e85;
  margin-top: 6px;
  line-height: 1.5;
}
#file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.button {
  border: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 6px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:active {
  transform: translateY(1px);
}
.button-primary {
  height: 40px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.button-primary:hover,
.button-dark:hover {
  background: #3f4b3e;
}
.upload-button {
  width: 100%;
  margin-top: 13px;
}
.upload-button span,
.button-dark span {
  font-size: 16px;
  color: var(--green);
}
.privacy-note {
  font-size: 9px;
  line-height: 1.55;
  color: #92978e;
  margin: 12px 0 0;
}
select {
  font: inherit;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  padding: 5px;
}
.library {
  padding: 19px 17px 17px;
}
.library-heading {
  padding: 0 4px 12px;
}
.library-heading h2 {
  font-size: 16px;
}
.count-pill {
  background: #f0f1eb;
  color: #77806e;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 9px;
}
.material-list {
  display: grid;
  gap: 6px;
}
.empty-library {
  text-align: center;
  padding: 19px 10px 13px;
  font-size: 11px;
  line-height: 1.8;
  color: #788071;
}
.empty-library span {
  font-size: 9px;
  color: #a0a49c;
}
.material-item {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 7px;
  text-align: left;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.material-item:hover,
.material-item.active {
  background: #f3f5ed;
}
.material-symbol {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #eef1e6;
  display: grid;
  place-items: center;
  color: #738252;
  font-size: 13px;
  flex: none;
}
.material-meta {
  min-width: 0;
  flex: 1;
}
.material-meta strong {
  display: block;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.material-meta small {
  display: block;
  color: #92968d;
  font-size: 9px;
  margin-top: 4px;
}
.reader {
  min-height: 610px;
  padding: 29px 34px 25px;
}
.welcome-state {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 35px 0 10px;
}
.welcome-art {
  height: 176px;
  width: 230px;
  position: relative;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
}
.sound-wave {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.sound-wave i {
  display: block;
  width: 4px;
  border-radius: 9px;
  background: #83975f;
  height: 25px;
  animation: pulse 1.3s ease-in-out infinite alternate;
}
.sound-wave i:nth-child(3n) {
  height: 56px;
  background: #b1c884;
}
.sound-wave i:nth-child(2n) {
  height: 38px;
  animation-delay: 0.3s;
}
.sound-wave i:nth-child(4n) {
  height: 68px;
  animation-delay: 0.6s;
}
.sound-wave i:nth-child(5n) {
  height: 19px;
  animation-delay: 0.2s;
}
.art-orbit {
  position: absolute;
  border: 1px solid #e1e6d4;
  border-radius: 50%;
  width: 142px;
  height: 142px;
}
.orbit-two {
  width: 210px;
  height: 210px;
  border-color: #edf0e6;
}
.welcome-state > .eyebrow {
  margin-bottom: 10px;
}
.welcome-state h2 {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.035em;
  margin: 0;
}
.welcome-state > p:not(.eyebrow) {
  max-width: 430px;
  margin: 13px auto 0;
  font-size: 11px;
  line-height: 1.8;
  color: #747a71;
}
.welcome-steps {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 24px;
  color: #737a6d;
  font-size: 10px;
}
.welcome-steps span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.welcome-steps b {
  font-size: 8px;
  color: #9bae71;
  letter-spacing: 0.05em;
}
.reader-state {
  animation: appear 0.25s ease;
}
.reader-topline {
  align-items: flex-start;
}
.reader-topline h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  margin: 0;
}
.reader-topline .eyebrow {
  margin-bottom: 7px;
}
.icon-button {
  background: transparent;
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #8a8f86;
  cursor: pointer;
}
.icon-button:hover {
  background: #fff1ef;
  color: #a54e45;
}
.material-status {
  font-size: 10px;
  color: #81877d;
  margin: 12px 0 17px;
  min-height: 14px;
}
.media-area {
  margin: 0 0 19px;
}
.media-area audio,
.media-area video {
  width: 100%;
  max-height: 300px;
  border-radius: 7px;
  background: #191e1b;
}
.document-placeholder {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
  background: #fafaf6;
  color: #767d70;
  font-size: 10px;
}
.segment-list {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding: 0 0 14px;
}
.segment-button {
  border: 1px solid var(--line);
  background: white;
  color: #72796c;
  border-radius: 5px;
  padding: 6px 9px;
  font: inherit;
  font-size: 9px;
  white-space: nowrap;
  cursor: pointer;
}
.segment-button:hover,
.segment-button.active {
  border-color: #9bae71;
  background: #f3f6eb;
  color: #536438;
}
.transcript-heading {
  align-items: end;
  margin-bottom: 10px;
}
.transcript-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 5px;
}
.transcript-heading h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  margin: 0;
}
.transcript-actions {
  display: flex;
  gap: 6px;
}
.button-quiet,
.button-outline {
  padding: 7px 9px;
  font-size: 9px;
  background: white;
  color: #687064;
}
.button-quiet:hover,
.button-outline:hover {
  background: #f3f5ed;
}
.button-outline {
  border: 1px solid var(--line);
}
.transcript-input {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px 17px;
  background: #fffefa;
  color: #303831;
  font-family: Georgia, 'Noto Sans SC', serif;
  font-size: 14px;
  line-height: 1.85;
  outline: none;
}
.transcript-input:focus {
  border-color: #a9b58f;
  box-shadow: 0 0 0 3px #eef2e6;
}
.transcript-input.text-hidden {
  color: transparent;
  text-shadow: 0 0 10px #404840;
  user-select: none;
}
.transcript-input.text-hidden::selection {
  background: transparent;
}
.practice-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 14px;
  padding: 13px 14px;
  background: #f3f5ee;
  border-radius: 7px;
}
.practice-bar > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: none;
}
.practice-kicker {
  font-size: 8px;
  color: #888e82;
}
.practice-bar strong {
  font-size: 11px;
}
.practice-bar p {
  font-size: 9px;
  line-height: 1.5;
  color: #798074;
  flex: 1;
  margin: 0;
}
.button-dark {
  padding: 9px 11px;
  background: var(--ink);
  color: white;
  font-size: 9px;
  white-space: nowrap;
}
.message {
  font-size: 10px;
  color: #95673f;
  min-height: 0;
  margin-top: 7px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #202722;
  color: white;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 5;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 21px 2px 27px;
  color: #93978f;
  font-size: 9px;
  letter-spacing: 0.04em;
}
.hidden {
  display: none !important;
}
@keyframes pulse {
  to {
    transform: scaleY(0.58);
    opacity: 0.55;
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .shell {
    padding: 0 4vw;
  }
  .workspace {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .reader {
    padding: 25px 23px;
  }
  .hero-stamp {
    margin-right: 2%;
  }
}
@media (max-width: 680px) {
  .shell {
    padding: 0 14px;
  }
  .topbar {
    height: 67px;
  }
  .hero {
    padding: 35px 0 25px;
  }
  .hero-stamp {
    width: 63px;
    height: 63px;
    font-size: 7px;
    margin: 0;
  }
  .hero h1 {
    font-size: 41px;
  }
  .hero-subtitle {
    font-size: 11px;
    max-width: 280px;
    line-height: 1.7;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sidebar {
    order: 2;
  }
  .reader {
    order: 1;
    min-height: 465px;
    padding: 22px 17px;
  }
  .welcome-state {
    padding: 16px 0 0;
  }
  .welcome-art {
    height: 130px;
    margin-bottom: 15px;
  }
  .orbit-two {
    width: 150px;
    height: 150px;
  }
  .orbit-one {
    width: 110px;
    height: 110px;
  }
  .sound-wave {
    transform: scale(0.82);
  }
  .welcome-state h2 {
    font-size: 27px;
  }
  .welcome-steps {
    gap: 10px;
    font-size: 8px;
  }
  .reader-topline h2 {
    font-size: 21px;
  }
  .transcript-input {
    min-height: 170px;
    font-size: 13px;
  }
  .practice-bar {
    gap: 8px;
    padding: 10px;
  }
  .practice-bar p {
    font-size: 8px;
  }
  .button-dark {
    padding: 9px 8px;
  }
  .upload-card {
    padding: 20px 17px;
  }
  .library {
    padding: 16px;
  }
  .material-list {
    grid-template-columns: 1fr 1fr;
  }
  .material-item {
    padding: 8px;
  }
  footer {
    font-size: 8px;
  }
}
:root {
  scroll-padding-top: 20px;
}
body.has-material .hero {
  display: none;
}
.reader-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reader-tools .button {
  padding: 8px 11px;
  font-size: 11px;
}
.transcript-heading {
  margin-top: 24px;
}
.transcript-actions .button {
  padding: 8px 11px;
  font-size: 11px;
}
.transcript-reading {
  width: min(100%, 820px);
  min-height: clamp(390px, 58vh, 820px);
  margin: 0 auto;
  padding: 27px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: #303831;
  font-family: Georgia, 'Noto Sans SC', serif;
  font-size: 18px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  outline: none;
}
.transcript-reading:focus {
  border-color: #a9b58f;
  box-shadow: 0 0 0 3px #eef2e6;
}
.transcript-reading.text-hidden {
  color: transparent;
  text-shadow: 0 0 10px #404840;
  user-select: none;
}
.transcript-input {
  display: block;
  width: min(100%, 900px);
  min-height: 58vh;
  margin: 0 auto;
  padding: 22px 24px;
  font-size: 17px;
  line-height: 1.85;
}
.reader-state {
  min-height: calc(100vh - 170px);
}
.practice-bar {
  max-width: 900px;
  margin: 20px auto 0;
}
.focus-reading .shell {
  max-width: none;
  width: 100%;
  padding: 0 4vw;
}
.focus-reading .hero,
.focus-reading .sidebar,
.focus-reading footer {
  display: none;
}
.focus-reading .topbar {
  height: 68px;
}
.focus-reading .workspace {
  display: block;
}
.focus-reading .reader {
  min-height: calc(100vh - 90px);
  padding: clamp(25px, 4vw, 58px) clamp(18px, 5vw, 76px);
  border-radius: 12px;
}
.focus-reading .reader-state {
  min-height: 0;
}
.focus-reading .reader-topline,
.focus-reading .material-status,
.focus-reading .media-area,
.focus-reading .segment-list,
.focus-reading .transcript-heading,
.focus-reading .transcript-reading,
.focus-reading .transcript-input,
.focus-reading .practice-bar {
  width: min(100%, 960px);
  margin-left: auto;
  margin-right: auto;
}
.focus-reading .transcript-reading {
  min-height: 64vh;
  padding: clamp(28px, 4vw, 54px) clamp(22px, 6vw, 80px);
  font-size: clamp(19px, 1.35vw, 22px);
  line-height: 1.95;
}
.focus-reading .transcript-input {
  min-height: 64vh;
  font-size: 19px;
}
.focus-reading .media-area video {
  max-height: 360px;
}
.focus-reading .transcript-heading {
  margin-top: 32px;
}
.focus-reading .practice-bar {
  margin-top: 22px;
}
@media (max-width: 680px) {
  .reader-state {
    min-height: 0;
  }
  .reader {
    min-height: 0;
  }
  .transcript-reading {
    min-height: 55vh;
    padding: 20px 18px;
    font-size: 17px;
    line-height: 1.85;
  }
  .transcript-input {
    min-height: 52vh;
    padding: 18px;
    font-size: 16px;
  }
  .transcript-heading {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  .transcript-actions {
    flex-wrap: wrap;
  }
  .reader-tools .button,
  .transcript-actions .button {
    padding: 8px 9px;
    font-size: 10px;
  }
  .focus-reading .shell {
    padding: 0 10px;
  }
  .focus-reading .reader {
    min-height: calc(100vh - 78px);
    padding: 20px 14px;
  }
  .focus-reading .reader-topline h2 {
    font-size: 20px;
  }
  .focus-reading .transcript-reading {
    min-height: 65vh;
    padding: 22px 18px;
    font-size: 18px;
    line-height: 1.9;
  }
  .focus-reading .media-area video {
    max-height: 230px;
  }
}
body:not(.management-open) .sidebar {
  display: none;
}
body:not(.management-open) .workspace {
  grid-template-columns: minmax(0, 1fr);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.manage-button {
  padding: 8px 11px;
  font-size: 11px;
}
.focus-reading .top-actions {
  gap: 14px;
}
@media (max-width: 680px) {
  .top-actions {
    gap: 9px;
  }
  .top-note {
    font-size: 10px;
  }
  .manage-button {
    padding: 7px 8px;
    font-size: 10px;
  }
}
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background: radial-gradient(ellipse at 12% 12%, #e4ead3 0, transparent 30%), #f5f3ed;
}
.session-loading {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 15px;
  color: #697169;
  background: radial-gradient(ellipse at 12% 12%, #e4ead3 0, transparent 30%), #f5f3ed;
  font-size: 12px;
}
.session-loading p {
  margin: 0;
}
.session-loading-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
  font-family: var(--serif);
  font-size: 22px;
  animation: pulse 900ms ease-in-out infinite alternate;
}
.auth-card {
  width: min(100%, 430px);
  padding: 38px 40px 30px;
  background: #fffefa;
  border: 1px solid #e6e3dc;
  border-radius: 14px;
  box-shadow: 0 18px 55px rgba(32, 39, 34, 0.07);
}
.auth-brand {
  margin-bottom: 42px;
}
.auth-card > .eyebrow {
  margin-bottom: 9px;
}
.auth-card h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.04em;
  margin: 0;
}
.auth-description {
  font-size: 12px;
  line-height: 1.7;
  color: #747a71;
  margin: 10px 0 24px;
}
.auth-form {
  display: grid;
  gap: 8px;
}
.auth-form label {
  font-size: 11px;
  color: #59625a;
  font-weight: 600;
  margin-top: 5px;
}
.auth-form input {
  height: 43px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  outline: none;
}
.auth-form input:focus {
  border-color: #a9b58f;
  box-shadow: 0 0 0 3px #eef2e6;
}
.auth-form input::placeholder {
  color: #a0a49c;
}
.auth-form .button-primary {
  width: 100%;
  margin-top: 5px;
}
.auth-form .button-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.auth-message {
  font-size: 10px;
  line-height: 1.5;
  color: #9a5146;
  min-height: 0;
  margin: 2px 0 0;
}
.auth-footnote {
  text-align: center;
  font-size: 9px;
  color: #999e94;
  margin: 22px 0 0;
}
.logout-button {
  font-size: 10px;
  padding: 7px 8px;
}
@media (max-width: 520px) {
  .auth-card {
    padding: 30px 24px 25px;
  }
  .auth-brand {
    margin-bottom: 34px;
  }
}

.transcript-segment {
  display: flex;
  width: 100%;
  gap: 14px;
  align-items: flex-start;
  padding: 6px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}
.transcript-segment:hover,
.transcript-segment.active {
  background: #f1f5e8;
  color: #52663a;
}
.transcript-timestamp {
  flex: none;
  padding-top: 0.28em;
  color: #849268;
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 0.68em;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.transcript-reading.text-hidden .transcript-segment {
  color: transparent;
  text-shadow: 0 0 10px #404840;
}
.transcript-reading.text-hidden .transcript-timestamp {
  color: transparent;
}
.transcript-segment:focus-visible {
  outline: 2px solid #9bae71;
  outline-offset: 1px;
}

.subtitle-language-toggle {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8f3;
}
.subtitle-language-toggle button {
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #6c7467;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.subtitle-language-toggle button:hover,
.subtitle-language-toggle button.active {
  background: #e9efdd;
  color: #4f6336;
}
.subtitle-language-toggle button:focus-visible {
  outline: 2px solid #9bae71;
  outline-offset: 1px;
}

#transcript-reading.transcript-reading {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  white-space: normal;
}
#transcript-reading.transcript-reading .transcript-segment {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-self: stretch;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
}
#transcript-reading.transcript-reading .transcript-segment > span:last-child {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.segment-list {
  flex-wrap: wrap;
  overflow: visible;
}
.segment-button {
  white-space: normal;
  text-align: left;
  line-height: 1.5;
  max-width: 100%;
}

#segment-list {
  display: none !important;
}

.media-area.video-sticky {
  position: sticky;
  top: 8px;
  z-index: 10;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 8px 24px rgba(32, 39, 34, 0.09);
  backdrop-filter: blur(10px);
}
.media-area.video-sticky video {
  max-height: min(300px, 42vh);
  object-fit: contain;
}
.transcript-segment {
  scroll-margin-top: 340px;
}
@media (max-width: 680px) {
  .media-area.video-sticky {
    top: 4px;
    padding: 4px;
  }
  .media-area.video-sticky video {
    max-height: 22vh;
  }
  .transcript-segment {
    scroll-margin-top: 26vh;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #687064;
  text-decoration: none;
  font-size: 11px;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  background: #f0f2e9;
  color: #425333;
}
#manage-button {
  display: none;
}
body[data-page='home'] .workspace,
body[data-page='study'] .workspace {
  display: block;
}
body[data-page='home'] .sidebar,
body[data-page='study'] .sidebar {
  display: none !important;
}
body[data-page='home'] .reader {
  display: block;
}
body[data-page='materials'] .hero,
body[data-page='upload'] .hero,
body[data-page='study'] .hero {
  display: none;
}
body[data-page='materials'] .workspace,
body[data-page='upload'] .workspace {
  display: block;
}
body[data-page='materials'] .sidebar,
body[data-page='upload'] .sidebar {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  overflow: hidden;
}
body[data-page='materials'] .upload-card {
  border-bottom: 0;
  border-right: 1px solid var(--line);
}
body[data-page='materials'] .reader,
body[data-page='upload'] .reader {
  display: none;
}
body[data-page='upload'] .sidebar {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}
body[data-page='upload'] .library {
  display: none;
}
body[data-page='study'] .workspace {
  grid-template-columns: minmax(0, 1fr);
}
body[data-page='study'] .reader {
  display: block;
}
body[data-page='home'] .main-nav a[href='/'],
body[data-page='materials'] .main-nav a[href='/materials'],
body[data-page='upload'] .main-nav a[href='/upload'] {
  background: #f0f2e9;
  color: #425333;
}
@media (max-width: 900px) {
  body[data-page='materials'] .sidebar {
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  }
}
@media (max-width: 680px) {
  .top-actions {
    gap: 5px;
  }
  .main-nav {
    gap: 0;
  }
  .main-nav a {
    padding: 7px 6px;
    font-size: 10px;
  }
  body[data-page='materials'] .sidebar,
  body[data-page='upload'] .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-page='materials'] .upload-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.welcome-actions a {
  text-decoration: none;
}
.welcome-actions .button {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}
@media (max-width: 680px) {
  .welcome-actions {
    flex-wrap: wrap;
  }
}

.vocabulary-toolbar-expanded {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.vocabulary-toolbar-expanded label {
  font-size: 10px;
}
.vocabulary-toolbar-expanded input[type='search'] {
  width: 190px;
  min-height: 31px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
  font-size: 10px;
}
.vocabulary-toolbar-expanded select {
  min-height: 31px;
}
.vocabulary-toolbar-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.vocabulary-toolbar-actions .vocabulary-action:disabled {
  opacity: 0.45;
  cursor: default;
}
.vocabulary-select-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #737a6e;
  font-size: 10px;
}
.vocabulary-select,
.vocabulary-select-all input {
  accent-color: #71864c;
}
.vocabulary-card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}
.vocabulary-card-heading > div {
  min-width: 0;
}
.vocabulary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.vocabulary-tag {
  padding: 4px 7px;
  border: 0;
  border-radius: 20px;
  background: #edf1e3;
  color: #617347;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}
@media (max-width: 680px) {
  .vocabulary-toolbar-expanded {
    align-items: stretch;
    flex-direction: column;
  }
  .vocabulary-toolbar-expanded label {
    justify-content: space-between;
  }
  .vocabulary-toolbar-expanded input[type='search'] {
    width: 65%;
  }
  .vocabulary-toolbar-actions {
    margin-left: 0;
  }
  .vocabulary-toolbar-actions button {
    flex: 1;
  }
  .vocabulary-card-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .vocabulary-card-heading > .count-pill {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }
}

body[data-page='materials'] .sidebar {
  display: block;
  overflow: visible;
}
body[data-page='materials'] .upload-card {
  display: none;
}
body[data-page='materials'] .library {
  min-height: 70vh;
}
.transcript-hint {
  display: block;
  margin-top: 6px;
  color: #858b7f;
  font:
    10px/1.5 'DM Sans',
    'Noto Sans SC',
    sans-serif;
}
.video-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #191e1b;
}
.video-stage video {
  display: block;
}
.video-subtitle-overlay {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 88%;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  text-align: center;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
.video-subtitle-overlay[hidden] {
  display: none;
}
.transcript-reading.epub-reading {
  display: block;
  width: min(100%, 960px);
  padding: clamp(24px, 4vw, 52px) clamp(22px, 5vw, 72px);
  white-space: normal;
  font-size: 16px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.transcript-reading.document-reading {
  display: block;
  white-space: normal;
}
.document-content-layout {
  width: min(100%, 1220px);
  margin: 0 auto;
}
.document-content-layout.has-outline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 20px;
  align-items: start;
}
.document-content-layout.has-outline > .transcript-reading {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin: 0;
}
.document-content-layout.has-outline > .document-outline {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  margin: 0;
}
.focus-reading .document-content-layout.has-outline > .transcript-reading {
  width: 100%;
  margin: 0;
}
.document-outline {
  position: sticky;
  top: 10px;
  z-index: 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.97);
  box-shadow: 0 5px 18px rgba(32, 39, 34, 0.06);
  backdrop-filter: blur(10px);
}
.document-outline summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  color: #4e5d42;
}
.document-outline summary::-webkit-details-marker {
  display: none;
}
.document-outline summary::after {
  content: '⌄';
  margin-left: auto;
  color: #83916f;
}
.document-outline[open] summary::after {
  content: '⌃';
}
.document-outline summary small {
  font-size: 10px;
  font-weight: 400;
  color: #8a9084;
}
.document-outline-panel {
  padding: 0 12px 12px;
}
.document-outline-panel input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 11px;
  outline: none;
}
.document-outline-panel input:focus {
  border-color: #a9b58f;
  box-shadow: 0 0 0 3px #eef2e6;
}
.document-outline-panel nav {
  display: grid;
  gap: 3px;
  max-height: 32vh;
  margin-top: 8px;
  overflow: auto;
}
.document-outline-link {
  padding: 7px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #5c6654;
  text-align: left;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}
.document-outline-link:hover {
  background: #f0f3e8;
  color: #465835;
}
.document-reading .document-paragraph {
  max-width: 74ch;
  margin: 0 auto 1.2em;
  text-indent: 1.3em;
}
.document-reading .document-heading {
  max-width: 74ch;
  margin: 1.5em auto 0.65em;
  color: #52643d;
  font-family: var(--serif);
  font-size: 1.18em;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}
.document-reading .document-heading:first-child {
  margin-top: 0;
  font-size: 1.55em;
  color: var(--ink);
}
.epub-reading .epub-paragraph {
  max-width: 74ch;
  margin: 0 auto 1.2em;
  color: #343b35;
  text-indent: 1.4em;
}
.epub-reading .epub-heading {
  max-width: 74ch;
  margin: 1.5em auto 0.65em;
  color: #52643d;
  font-family: var(--serif);
  font-size: 1.18em;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.epub-reading .epub-heading:first-child {
  margin-top: 0;
  font-size: 1.55em;
  color: var(--ink);
}
@media (max-width: 900px) {
  .document-content-layout.has-outline {
    grid-template-columns: minmax(0, 1fr) minmax(165px, 205px);
    gap: 12px;
  }
}
@media (max-width: 680px) {
  .transcript-reading.epub-reading {
    padding: 22px 18px;
    font-size: 15px;
    line-height: 1.9;
  }
  .epub-reading .epub-paragraph {
    margin-bottom: 1.05em;
    text-indent: 1em;
  }
  .document-content-layout.has-outline {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .document-content-layout.has-outline > .document-outline {
    grid-column: 1;
    grid-row: 1;
  }
  .document-content-layout.has-outline > .transcript-reading {
    grid-column: 1;
    grid-row: 2;
  }
  .document-outline {
    top: 4px;
  }
  .document-reading .document-paragraph {
    margin-bottom: 1.05em;
    text-indent: 1em;
  }
  .video-subtitle-overlay {
    bottom: 12%;
    max-width: 92%;
    padding: 5px 9px;
    font-size: clamp(12px, 3.4vw, 17px);
  }
}
body[data-page='settings'] .hero,
body[data-page='settings'] .workspace {
  display: none;
}
body[data-page='settings'] .settings-state {
  display: block;
}
.settings-state {
  max-width: 940px;
  margin: 48px auto 72px;
}
.settings-heading {
  margin-bottom: 30px;
}
.settings-heading h1 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0;
}
.settings-heading > p:last-child {
  color: #777e72;
  font-size: 13px;
  margin: 10px 0 0;
}
.settings-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.settings-tab {
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  padding: 11px 15px;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}
.settings-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.settings-section {
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}
.settings-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.settings-section-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  margin: 0;
}
.settings-section-heading p {
  font-size: 11px;
  color: #848a80;
  margin: 7px 0 0;
}
.settings-badge {
  padding: 5px 8px;
  background: #edf1e3;
  color: #66784c;
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.settings-badge-local {
  background: #eef0f3;
  color: #626c7b;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 18px;
}
.settings-field {
  display: grid;
  gap: 7px;
  font-size: 11px;
  color: #626b60;
}
.settings-field input,
.settings-field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #e2e4dc;
  border-radius: 6px;
  padding: 0 11px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  outline: none;
}
.settings-field input:focus,
.settings-field select:focus {
  border-color: #a9b58f;
  box-shadow: 0 0 0 3px #eef2e6;
}
.settings-field-wide {
  grid-column: 1/-1;
}
.settings-key-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: #838a7d;
  font-size: 10px;
}
.settings-key-status label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.settings-key-status input,
.settings-switch input {
  accent-color: #71864c;
}
.settings-switch {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -3px 0 21px;
  font-size: 11px;
  color: #4d5948;
}
.settings-switch input {
  margin: 2px 0 0;
}
.settings-switch strong,
.settings-switch small {
  display: block;
}
.settings-switch small {
  margin-top: 5px;
  color: #92978e;
  font-size: 10px;
}
.codex-fields {
  align-items: start;
}
.settings-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  padding: 17px 30px;
  background: #fbfbf7;
}
.settings-footer p {
  flex: 1;
  margin: 0;
  color: #70804f;
  font-size: 11px;
}
.settings-footer .button {
  min-width: 126px;
}
.settings-footer .button:disabled {
  opacity: 0.55;
  cursor: wait;
}
@media (max-width: 680px) {
  body[data-page='settings'] .settings-state {
    margin: 30px auto 48px;
  }
  .settings-heading h1 {
    font-size: 32px;
  }
  .settings-section {
    padding: 21px 17px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .settings-field-wide {
    grid-column: auto;
  }
  .settings-key-status {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  .settings-footer {
    padding: 14px 17px;
  }
}
.settings-codex-config {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.settings-codex-config > p {
  margin: 7px 0 18px;
  color: #848a80;
  font-size: 11px;
}
.settings-codex-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.settings-codex-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}
.subtitle-upload-option {
  margin-top: 13px;
  padding: 12px;
  background: #f3f6ec;
  border-radius: 6px;
  display: grid;
  gap: 7px;
  color: #5f6958;
  font-size: 10px;
}
.subtitle-upload-option label {
  font-weight: 600;
}
.subtitle-upload-option input[type='file'] {
  max-width: 100%;
  font: inherit;
  font-size: 10px;
}
.subtitle-upload-option small {
  color: #848a80;
  line-height: 1.5;
}
.settings-provider-select {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 18px;
}
.settings-api-provider-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 18px;
}
#ai-settings-form[data-provider='codex-local'] #api-provider-fields {
  display: none !important;
}
#ai-settings-form[data-provider='codex-local'] #codex-config {
  display: block;
}
#ai-settings-form:not([data-provider='codex-local']) #codex-config {
  display: none !important;
}
.settings-api-provider-fields .settings-key-status {
  grid-column: 1/-1;
  margin-top: 0;
}
@media (max-width: 680px) {
  .settings-api-provider-fields {
    grid-template-columns: 1fr;
  }
}
.settings-dictionary-field {
  max-width: 460px;
}
.settings-help {
  margin: 10px 0 0;
  color: #848a80;
  font-size: 11px;
  line-height: 1.6;
}
.word-card-speech-controls {
  display: flex;
  gap: 10px;
  margin-top: 11px;
}
.word-card-speech-controls label {
  display: grid;
  gap: 4px;
  color: #7c827a;
  font-size: 9px;
}
.word-card-speech-controls select {
  min-height: 29px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  font-size: 10px;
}
.word-card-audio-status {
  display: block;
  min-height: 12px;
  margin-top: 7px;
  color: #7c827a;
  font-size: 9px;
}
@media (max-width: 680px) {
  .topbar {
    height: auto;
    min-height: 72px;
    padding: 12px 0;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .top-actions {
    width: 100%;
    gap: 5px;
    justify-content: space-between;
  }
  .main-nav {
    min-width: 0;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
  }
  .main-nav a {
    flex: none;
    padding: 7px 6px;
    font-size: 10px;
  }
}
body[data-page='vocabulary'] .hero,
body[data-page='vocabulary'] .workspace {
  display: none;
}
body[data-page='vocabulary'] .vocabulary-state {
  display: block;
}
.vocabulary-state {
  max-width: 940px;
  margin: 48px auto 72px;
}
.vocabulary-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 11px;
  color: #626b60;
}
.vocabulary-toolbar label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.vocabulary-toolbar input {
  accent-color: #71864c;
}
.vocabulary-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.vocabulary-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.vocabulary-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.vocabulary-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}
.vocabulary-card p {
  margin: 7px 0 0;
  color: #6f776a;
  font-size: 11px;
  line-height: 1.6;
}
.vocabulary-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.vocabulary-source-link,
.vocabulary-action {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffefa;
  color: #5f6d4d;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.vocabulary-source-link:disabled {
  color: #a1a59d;
  cursor: default;
}
.vocabulary-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}
.vocabulary-message {
  min-height: 16px;
  color: #9a5146;
  font-size: 11px;
}
.lookup-word {
  border-radius: 3px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #cbd4bc;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.lookup-word:hover,
.lookup-word:focus-visible {
  background: #edf2e3;
  outline: 1px solid #c4d0ac;
}
.vocabulary-highlight {
  background: #dce9c2 !important;
  outline: 2px solid #9bae71 !important;
}
.transcript-reading.text-hidden .lookup-word {
  color: transparent;
  text-shadow: 0 0 10px #404840;
}
.word-card {
  position: fixed;
  z-index: 1000;
  width: min(340px, calc(100vw - 24px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #dfe4d5;
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 14px 42px rgba(32, 39, 34, 0.2);
  color: var(--ink);
}
.word-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}
.word-card p {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.65;
  color: #626b60;
}
.word-card .word-card-phonetic {
  color: #83916f;
}
.word-card-actions {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.word-card-actions button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  color: #4f5f3d;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.word-card-source {
  display: block;
  margin-top: 10px;
  color: #71864c;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.word-card-examples {
  margin: 8px 0 0;
  padding-left: 17px;
  color: #61695f;
  font-size: 10px;
  line-height: 1.6;
}
.word-card-error {
  color: #9a5146 !important;
}
@media (max-width: 680px) {
  .vocabulary-state {
    margin: 30px auto 48px;
  }
  .vocabulary-card {
    padding: 15px;
  }
  .word-card {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto;
    max-height: 55vh;
  }
}
