.daily-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.daily-heading h2 {
  margin: 3px 0 14px;
  font-size: 1.65rem;
}
.daily-heading .eyebrow {
  margin: 0;
}
.daily-count {
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
  background: #e0e9f2;
  padding: 9px 12px;
  border-radius: 20px;
}
progress {
  width: 100%;
  height: 7px;
  accent-color: #164bbd;
  border: 0;
  border-radius: 10px;
  display: block;
}
progress::-webkit-progress-bar {
  background: #dbe4eb;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: #164bbd;
  border-radius: 10px;
}
.daily-note {
  font-size: 0.875rem;
  color: #475f6d;
  margin: 14px 0 24px;
}
.daily-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.daily-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.daily-row:first-child {
  border-color: #164bbd;
  box-shadow: inset 4px 0 0 #164bbd;
}
.tick {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #9dafbb;
  border-radius: 50%;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475f6d;
}
.tick[aria-pressed='true'] {
  background: #23775c;
  border-color: #23775c;
  color: #fff;
}
.done {
  background: #f0f7f4;
}
.task-open {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: none;
  padding: 0;
  display: grid;
  gap: 7px;
}
.task-open strong {
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}
.task-open > span:last-child {
  font-size: 0.875rem;
  color: #475f6d;
  line-height: 1.5;
}
.task-tag {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: #31516a;
  font-weight: 700;
}
.start-task {
  font-size: 0.85rem;
  background: none;
  color: #164bbd;
  font-weight: 700;
  min-height: 44px;
  padding: 5px 0;
  white-space: nowrap;
}
.task-open:hover strong,
.start-task:hover {
  text-decoration: underline;
}
.bonus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bonus-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bonus-row .quiet {
  text-align: left;
  line-height: 1.5;
}
.word-ratings,
.chat-actions,
.summary-actions,
.backup-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.answer > .quiet {
  display: block;
}
.link-button {
  display: inline-block;
  color: #164bbd;
  font-weight: 600;
  padding: 12px;
  line-height: 1.5;
}
.chat-guide {
  min-width: 0;
}
.chat-guide ol {
  padding-left: 23px;
  line-height: 1.6;
}
.chat-guide li {
  padding-bottom: 12px;
}
textarea {
  width: 100%;
  resize: vertical;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #a7b9c5;
  color: var(--ink);
  background: #f5f8fa;
  min-height: 150px;
}
input[type='file'] {
  max-width: 100%;
  font-size: 0.875rem;
}
.import-label {
  font-weight: 400;
}
.quiet {
  min-height: 44px;
}
.storage-note {
  line-height: 1.6;
}
.session-top {
  gap: 15px;
}
.clock {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.clock > span {
  white-space: nowrap;
}
dialog {
  max-height: 90dvh;
  overflow: auto;
}
.exercise,
.answer,
.transcript {
  overflow-wrap: anywhere;
}
.exercise .solid {
  line-height: 1.5;
}
.trip-note {
  max-width: 265px;
}
@media (max-width: 1000px) {
  .daily-list {
    grid-template-columns: 1fr;
  }
  .daily-row {
    padding: 20px;
  }
  .task-open strong {
    font-size: 1.1rem;
  }
}
@media (max-width: 680px) {
  .daily-row {
    padding: 16px 12px;
    gap: 11px;
  }
  .daily-heading {
    align-items: flex-end;
  }
  .daily-heading h2 {
    font-size: 1.35rem;
  }
  .daily-count {
    font-size: 0.8rem;
    padding: 8px 10px;
    margin-bottom: 14px;
  }
  .daily-heading .eyebrow {
    font-size: 0.7rem;
  }
  .task-open strong {
    font-size: 1rem;
  }
  .task-open > span:last-child {
    font-size: 0.85rem;
  }
  .start-task {
    font-size: 0.8rem;
  }
  .tick {
    width: 44px;
    height: 44px;
  }
  .bonus-list {
    grid-template-columns: 1fr;
  }
  .trip-note {
    max-width: none;
  }
  .word-ratings {
    align-items: stretch;
    flex-direction: column;
  }
  .word-ratings > * {
    width: 100%;
  }
  .session-top > .quiet {
    padding-left: 0;
  }
  .session-heading h1 {
    font-size: 1.95rem;
  }
  .play {
    min-height: 58px;
  }
  .chat-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .chat-actions > * {
    text-align: center;
  }
  .summary-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .import-label input {
    width: 100%;
  }
  .brand span {
    line-height: 1.4;
  }
  header > .quiet {
    font-size: 0.85rem;
  }
}
@media (max-width: 370px) {
  .shell {
    padding: 0 14px;
  }
  .daily-row {
    gap: 8px;
  }
  .start-task {
    font-size: 0.75rem;
  }
  .task-tag {
    font-size: 0.7rem;
  }
  .task-open > span:last-child {
    font-size: 0.8rem;
  }
}
@media (max-width: 680px) {
  .intro {
    padding: 22px 0 20px;
  }
  .intro .eyebrow {
    display: none;
  }
  .intro h1 {
    font-size: 2.2rem;
    margin: 0 0 12px;
  }
  .intro h1 br {
    display: none;
  }
  .intro p:last-child {
    font-size: 0.95rem;
  }
  .trip-note {
    margin-top: 14px;
    padding: 6px 0 6px 14px;
  }
  .trip-note span {
    display: none;
  }
  .course-bar {
    gap: 8px;
    padding: 16px;
    margin-bottom: 20px;
  }
  .course-bar p {
    font-size: 0.95rem;
  }
  .course-bar span {
    font-size: 0.85rem;
  }
  .daily-note {
    margin: 10px 0 16px;
    font-size: 0.85rem;
  }
  .daily-heading h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
}
