/* Phone layout: a lecture, as the iPhone app shows it (2026-11-09).
   Only for html[data-layout="phone"] (phones and iPads), so the desktop
   layout never reads these rules. The frame, top bar, title, transcript and
   Ask come from phone-session.css; this file has the lecture's own parts.
   Sizes and colours from ios-native SessionDetailView.swift (tab strip,
   title), LectureStudyView.swift (Notes, Exam hints, Practice, Flashcards,
   Tasks), LectureSlidesViews.swift (materials, slide cards) and
   DesignSystem.swift. Look only: nothing here shows or hides app controls
   that the lecture's own rules show, except the web-only parts the iPhone
   app does not have (page headings, the contents list). */

html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) {
  --lime: #cdd65b;
  --lime-dark: #5a6d0c;
  --pale-lime: #eff7c1;
  --pale-yellow: #ffefb2;
  --pale-lavender: #e6d7f9;
  --pale-rose: #fbced9;
  --slide-ink: #3b5a32;
  --slide-mark: #e2edd8;
}

/* Top bar says "Lecture". */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .session-workspace-shell::before {
  content: "Lecture" !important;
}

/* ---------- Tab strip: Notes, Exam hints, Practice, Flashcards, Tasks, Transcript ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav {
  grid-area: tabs !important;
  position: sticky !important;
  top: calc(var(--ios-bar) + 6px) !important;
  z-index: 29 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  height: auto !important;
  margin: 6px 0 0 !important;
  padding: 4px 18px !important;
  border: 0 !important;
  border-bottom: .5px solid var(--ios-line) !important;
  border-radius: 0 !important;
  background: var(--ios-paper) !important;
  box-shadow: 0 -6px 0 var(--ios-paper) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav::-webkit-scrollbar {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button {
  flex: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 33px !important;
  min-height: 0 !important;
  margin: 4px 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ios-secondary) !important;
  font: 500 14px/19px var(--ios-font) !important;
  white-space: nowrap !important;
  transform: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button[hidden] {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button[aria-selected="true"] {
  background: var(--ios-chip) !important;
  color: var(--ios-label) !important;
  font-weight: 600 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button::before,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button::after {
  content: none !important;
}
/* The iPhone's names: "Notes" and "Tasks". */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button:is([data-personal-lecture-tab="notes"], [data-personal-lecture-tab="actions"]) {
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button:is([data-personal-lecture-tab="notes"], [data-personal-lecture-tab="actions"])::after {
  content: "Notes" !important;
  font-size: 14px;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button[data-personal-lecture-tab="actions"]::after {
  content: "Tasks" !important;
}

/* ---------- Page: no web headings; the iPhone's one-line meta instead ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--ios-label) !important;
  font-family: var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel:not(.active) {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel h1,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-contents {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-subtitle {
  margin: 0 0 14px !important;
  color: var(--ios-secondary) !important;
  font: 400 12px/16px var(--ios-font) !important;
}

/* Lecture materials card (LectureMaterialsCard): stone, radius 16, padding 16. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  gap: 12px 12px !important;
  margin: 0 0 14px !important;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--ios-stone) !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar-icon {
  display: grid !important;
  place-items: center !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #5a6d0c !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > div:not(.lr-toolbar-icon) {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar strong {
  color: var(--ios-label) !important;
  font: 600 14px/19px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar span:not([aria-hidden]) {
  color: var(--ios-secondary) !important;
  font: 400 11px/13px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > button {
  grid-column: 1 / -1 !important;
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 32px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(118, 118, 128, .14) !important;
  box-shadow: none !important;
  color: var(--ios-label) !important;
  font: 600 12px/16px var(--ios-font) !important;
}

/* ---------- Notes: topics as rows that open and close ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 0 12px !important;
  border: 0 !important;
  border-bottom: .5px solid var(--ios-separator) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker {
  position: absolute !important;
  top: 14px !important;
  left: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: var(--ios-chip) !important;
  color: var(--ios-secondary) !important;
  font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 8px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 34px 12px 38px !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading h2 {
  flex: 1 1 100% !important;
  margin: 0 !important;
  color: var(--ios-label) !important;
  font: 600 16px/21px var(--ios-font) !important;
  letter-spacing: -.2px !important;
}
/* The chevron at the right: down when shut, up when open. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 24px;
  height: 30px;
  background: var(--ios-secondary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5-5 5 5'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5-5 5 5'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic.is-phone-shut .lecture-topic-heading::after {
  transform: rotate(180deg);
}
/* A shut topic shows only its row. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic.is-phone-shut > :not(.lecture-kicker):not(.lecture-topic-heading) {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic.is-phone-shut {
  padding-bottom: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic.is-phone-hidden {
  display: none !important;
}

/* Slide chips: ink on mark, radius 7. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .sn-chips {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .sn-chip {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 9px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--slide-mark) !important;
  color: var(--slide-ink) !important;
  font: 600 12px/16px var(--ios-font) !important;
}

/* Study text: 17 / 27, paragraphs 14 apart; the first line bold, as on iPhone. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose {
  color: var(--ios-label) !important;
  font: 400 16px/24px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose p {
  margin: 0 0 14px !important;
  font: inherit !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose p:first-child strong:only-child,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose h3,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose h4 {
  font-weight: 600 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose :is(ul, ol) {
  margin: 10px 0 16px !important;
  padding-left: 24px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose li {
  margin: 6px 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose li::marker {
  color: var(--ios-secondary);
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose .study-exam {
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #faeeda !important;
  color: #633806 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose .study-example {
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #f3f7ee !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose .katex-display {
  margin: 14px 0 !important;
  padding: 6px 0 !important;
  overflow-x: auto !important;
}

/* Woven slide cards: white, radius 12, a hairline, the slide label in ink. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .sn-card {
  margin: 0 0 14px !important;
  padding: 8px 12px !important;
  border: 1px solid var(--ios-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .sn-card-head {
  color: var(--slide-ink) !important;
  font: 400 11px/13px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .sn-body {
  font-size: 16px !important;
  overflow-x: auto !important;
}

/* ---------- "Source" pill (View source) ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.lecture-source, .exam-hint-evidence) {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-evidence > h3 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 25px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: var(--ios-chip) !important;
  color: var(--ios-secondary) !important;
  font: 500 11px/13px var(--ios-font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  list-style: none !important;
  cursor: pointer;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary::-webkit-details-marker {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary {
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary::before,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-evidence > h3::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h3M4 10h3M11 6h9M11 10h9M4 14h16M4 18h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h3M4 10h3M11 6h9M11 10h9M4 14h16M4 18h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary::after {
  content: "Source";
  padding-right: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367676b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right center / 12px no-repeat;
  font-size: 12px;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-evidence > h3::after {
  content: "";
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367676b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.lecture-source, .exam-hint-evidence) blockquote {
  margin: 10px 0 0 !important;
  padding: 0 0 0 12px !important;
  border: 0 !important;
  border-left: 3px solid var(--ios-line) !important;
  background: none !important;
  color: var(--ios-secondary) !important;
  font: italic 400 14px/21px var(--ios-font) !important;
}
/* Exam hints show their quote inside the pill's drawer, closed until tapped. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-evidence:not(.is-phone-open) blockquote {
  display: none !important;
}

/* ---------- Exam hints: one stone panel each (radius 20, padding 18) ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hints-list {
  display: grid !important;
  gap: 20px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.exam-hint, .exam-hints-pending) {
  display: grid !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--ios-stone) !important;
  box-shadow: none !important;
}
/* "Exam hint" chip on pale lime above the title. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-heading {
  display: grid !important;
  justify-items: start !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-heading::before {
  content: "Exam hint";
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pale-lime);
  color: var(--ios-label);
  font: 600 11px/13px var(--ios-font);
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint:has(.exam-hint-question h3:not(:empty)) .exam-hint-heading::before {
  content: "Exam hint";
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.exam-hint-heading h2, .exam-hints-pending h2) {
  margin: 0 !important;
  color: var(--ios-label) !important;
  font: 600 19px/24px var(--ios-font) !important;
  letter-spacing: -.2px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-section {
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-section > h3 {
  margin: 0 !important;
  color: var(--ios-secondary) !important;
  font: 600 11px/13px var(--ios-font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-section .study-prose p:last-child {
  margin-bottom: 0 !important;
}
/* "Probable question" on pale lime (55%), radius 14, padding 14. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-question {
  gap: 8px !important;
  padding: 14px !important;
  border-radius: 14px !important;
  background: rgba(239, 247, 193, .55) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-question .study-prose {
  font-weight: 500 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hints-pending :is(p, summary) {
  color: var(--ios-secondary) !important;
  font: 400 14px/19px var(--ios-font) !important;
}

/* ---------- Practice: a stone card per question (radius 16, padding 16) ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-toolbar,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-toolbar .lecture-subtitle {
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.practice-toolbar, .flashcard-toolbar) button {
  height: 32px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ios-chip) !important;
  box-shadow: none !important;
  color: var(--ios-secondary) !important;
  font: 500 12px/16px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-toolbar button.is-active {
  color: var(--ios-label) !important;
  font-weight: 600 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item {
  display: grid !important;
  gap: 12px !important;
  margin: 0 0 16px !important;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--ios-stone) !important;
  box-shadow: none !important;
  counter-increment: phone-practice;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel {
  counter-reset: phone-practice;
}
/* "1  Calculate · Medium": the number in a 24 circle, the kind beside it. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item > .lecture-kicker {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: var(--ios-secondary) !important;
  font: 500 11px/13px var(--ios-font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item .study-question .study-prose {
  font-weight: 600 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item .study-question .study-prose p:last-child {
  margin-bottom: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-answer-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-answer {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid var(--ios-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--ios-label) !important;
  font: 400 16px/21px var(--ios-font) !important;
  resize: vertical !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-answer::placeholder {
  color: rgba(60, 60, 67, .3);
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-check {
  flex: 1 1 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 0 6px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #000 !important;
  box-shadow: none !important;
  color: var(--ios-paper) !important;
  font: 600 14px/19px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-check:disabled {
  opacity: .35 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-actions .weekly-text-button {
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--ios-label) !important;
  font: 500 12px/16px var(--ios-font) !important;
  text-decoration: none !important;
}

/* ---------- Flashcards ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-stage {
  display: grid !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: var(--ios-secondary) !important;
  font: 400 11px/13px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-position {
  margin-left: auto !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-kind {
  padding: 3px 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ios-chip) !important;
  color: var(--ios-label) !important;
  font: 700 10px/12px var(--ios-font) !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-kind:is(.exam, .exam-hint, .examHint) {
  background: var(--pale-yellow) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-face {
  display: grid !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 220px !important;
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--ios-line) !important;
  border-radius: 18px !important;
  background: var(--ios-stone) !important;
  box-shadow: none !important;
  color: var(--ios-label) !important;
  text-align: left !important;
  align-content: start !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-front .study-prose {
  font: 600 19px/24px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-hint {
  align-self: end !important;
  color: var(--ios-secondary) !important;
  font: 400 11px/13px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions {
  display: flex !important;
  gap: 8px !important;
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button {
  flex: 1 1 0 !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ios-chip) !important;
  box-shadow: none !important;
  color: var(--ios-label) !important;
  font: 600 14px/19px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button:only-child {
  border-radius: 999px !important;
  background: #000 !important;
  color: var(--ios-paper) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button:nth-child(1):not(:only-child) { background: var(--pale-rose) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button:nth-child(2) { background: var(--pale-yellow) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button:nth-child(3) { background: var(--pale-lavender) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button:nth-child(4) { background: var(--pale-lime) !important; }

/* ---------- Tasks: a stone panel each, a round check at the left ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-list {
  display: grid !important;
  gap: 14px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-row {
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  align-items: start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--ios-stone) !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-checkbox {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  margin: 2px !important;
  border: 1.6px solid var(--ios-secondary) !important;
  border-radius: 50% !important;
  background: transparent !important;
  cursor: pointer;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-checkbox:checked {
  border-color: #5a6d0c !important;
  background: var(--lime-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-heading {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 8px !important;
  margin: 0 !important;
  color: var(--ios-label) !important;
  font: 600 16px/21px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-row.is-done .lecture-action-heading label {
  text-decoration: line-through;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-tag {
  padding: 3px 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ios-chip) !important;
  color: var(--ios-secondary) !important;
  font: 500 12px/16px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.lecture-action-description, .lecture-action-timing) {
  margin: 0 !important;
  color: var(--ios-secondary) !important;
  font: 400 14px/19px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-meta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: var(--ios-secondary) !important;
  font: 400 12px/16px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-meta::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2.5'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2.5'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Notes header: "N topics · M min read" with expand-all, and Find a topic ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-meta .lecture-subtitle {
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-expand {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ios-chip);
  color: var(--ios-secondary);
  -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-expand svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-find {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0 0 18px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ios-stone);
  color: var(--ios-secondary);
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-find svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-find input {
  flex: 1;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ios-label);
  font: 400 14px/19px var(--ios-font);
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-find input::placeholder {
  color: rgba(60, 60, 67, .3);
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .phone-lecture-find-note {
  margin: -8px 0 14px;
  color: var(--ios-secondary);
  font: 400 11px/13px var(--ios-font);
}

/* ---------- Ask: "Ask about this lecture" ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #mobileMeetingChatLauncher.mobile-meeting-chat-launcher .chat-launcher-label::after {
  content: "Ask about this lecture" !important;
}

/* The topic number alone ("1"), as on iPhone, from app.js. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker[data-phone-number] {
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker[data-phone-number]::after {
  content: attr(data-phone-number);
  font-size: 12px;
}
/* Meta line: "Nov 7, 2:48 AM · 03:34 · 3 topics". */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .session-title-block .session-meta > #sessionDuration[data-phone-topics]:not([data-phone-topics=""])::after {
  content: "\00a0\00a0·\00a0\00a0" attr(data-phone-topics) !important;
  display: inline !important;
}
/* Tasks: the kind label in black on soft chip; Source at the card's left. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-tag {
  color: var(--ios-label) !important;
  font-weight: 600 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body > .lecture-source {
  margin: 14px 0 0 -40px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-lecture-find input {
  -webkit-appearance: none !important;
  appearance: none !important;
  height: 44px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 400 14px/19px var(--ios-font) !important;
}
/* Study text in the label colour (the web's notes are a warm grey). */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose :is(p, li, h3, h4, strong, span:not(.katex *)) {
  color: var(--ios-label) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose .study-exam,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose .study-exam * {
  color: #633806 !important;
}
/* Lecture materials sit on Notes only, as on iPhone. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view):not(:has(nav.personal-lecture-nav > [data-personal-lecture-tab="notes"][aria-selected="true"])) #lecturePanel > div:has(> .lr-toolbar) {
  display: none !important;
}
/* Practice details: the number in a 24 circle, ✓ on Check, eye and sparkles. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item > .lecture-kicker[data-phone-number]::before {
  content: attr(data-phone-number);
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ios-chip);
  color: var(--ios-secondary);
  font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-check::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-actions .weekly-text-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-actions .weekly-text-button::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-actions .weekly-text-button:last-child::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3.5 11.7 8.3 16.5 10 11.7 11.7 10 16.5 8.3 11.7 3.5 10 8.3 8.3Z'/%3E%3Cpath d='M18 13.5 18.9 15.6 21 16.5 18.9 17.4 18 19.5 17.1 17.4 15 16.5 17.1 15.6Z'/%3E%3Cpath d='M17.5 2.5 18.1 4 19.5 4.5 18.1 5 17.5 6.5 16.9 5 15.5 4.5 16.9 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3.5 11.7 8.3 16.5 10 11.7 11.7 10 16.5 8.3 11.7 3.5 10 8.3 8.3Z'/%3E%3Cpath d='M18 13.5 18.9 15.6 21 16.5 18.9 17.4 18 19.5 17.1 17.4 15 16.5 17.1 15.6Z'/%3E%3Cpath d='M17.5 2.5 18.1 4 19.5 4.5 18.1 5 17.5 6.5 16.9 5 15.5 4.5 16.9 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Transcript: the same column as the title (the lecture page added 22 in). */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #transcriptPanel {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #transcriptSpeakerButton:not([hidden])::before {
  display: inline-block !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view:not(.project-detail-view) #transcriptSpeakerButton :is(span, strong) {
  color: var(--ios-label) !important;
  opacity: 1 !important;
}
/* Tasks, as on iPhone: title, description, then "Assignment  [calendar] Fri, Nov 13",
   then what was said, then Source. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 10px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-heading {
  display: contents !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-heading > label {
  order: 1;
  flex: 1 1 100%;
  color: var(--ios-label) !important;
  font: 600 16px/21px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-description {
  order: 2;
  flex: 1 1 100%;
  margin-top: -4px !important;
  font: 400 16px/24px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-tag {
  order: 3;
  flex: none;
  text-transform: capitalize !important;
  font: 600 12px/16px var(--ios-font) !important;
  padding: 4px 10px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-meta {
  order: 4;
  flex: 0 1 auto;
  font: 400 12px/16px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-timing {
  order: 5;
  flex: 1 1 100%;
  font: 400 12px/16px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body > .lecture-source {
  order: 6;
  flex: 1 1 100%;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body > :not(.lecture-action-heading):not(.lecture-action-description):not(.lecture-action-meta):not(.lecture-action-timing):not(.lecture-source) {
  order: 5;
  flex: 1 1 100%;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-checkbox {
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
}
/* Topic row as on iPhone: the badge centred on the title, 12 apart; the rest
   of the topic full width below. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  column-gap: 12px !important;
  align-items: start !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > * {
  grid-column: 1 / -1;
  min-width: 0;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker {
  position: static !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker + .lecture-topic-heading {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding-left: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading {
  position: relative !important;
  padding-left: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading::after {
  top: 50% !important;
  margin-top: -15px;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose p {
  margin: 0 0 24px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .lecture-source {
  margin: 0 0 12px !important;
}
/* At the iPhone's text size: bar title 14, page title 21/26, meta 11. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .session-workspace-shell::before {
  font: 600 14px/19px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #sessionTitle {
  font: 600 21px/26px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .session-title-block .session-meta {
  font: 400 11px/13px var(--ios-font) !important;
}
/* Measured against the iPhone at 430 pt. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-lecture-expand {
  min-width: 36px !important;
  min-height: 0 !important;
  height: 36px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > button {
  height: 28px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > [data-lecture-explanation] {
  margin-top: 4px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose > p:first-child:has(> strong:only-child) {
  margin-bottom: 30px !important;
  font: 600 18px/26px var(--ios-font) !important;
}
/* True circles: older button and checkbox rules changed their width. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-lecture-expand {
  flex: 0 0 36px !important;
  box-sizing: border-box !important;
  width: 36px !important;
  max-width: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--ios-chip) !important;
  box-shadow: none !important;
  color: var(--ios-secondary) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-lecture-expand svg {
  width: 14px !important;
  height: 14px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-checkbox {
  flex: 0 0 26px !important;
  box-sizing: border-box !important;
  width: 26px !important;
  min-width: 26px !important;
  max-width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 !important;
  border-radius: 50% !important;
}
/* The iPhone's task ring: 20 across in a 28 column, a 1.5 grey line, level
   with the title's first line; Source starts at the card's padding. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-checkbox {
  flex: 0 0 20px !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  margin: 1px 4px 0 !important;
  border: 1.5px solid #8a8a8e !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-checkbox:checked {
  border-color: #5a6d0c !important;
  background-size: 13px !important;
}

/* Tasks, tighter (the iPhone's cards at a phone's width): description 15/21,
   padding 16, 20 between cards. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-list {
  gap: 20px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-row {
  padding: 16px !important;
  border-radius: 18px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  column-gap: 12px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body {
  gap: 6px 8px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-description {
  margin-top: -2px !important;
  font: 400 15px/21px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-tag {
  padding: 3px 9px !important;
  font: 600 12px/16px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body > .lecture-source {
  margin: 8px 0 0 -40px !important;
}

/* Flashcards, as on iPhone: the stats line, the card row, a card sized to its
   words (padding 22, radius 18), and a black "Show answer" 44 tall. The web's
   Review / All cards / Rebuild sit small at the right, like the iPhone's menu. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-toolbar {
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: -6px 0 14px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-toolbar button {
  height: 28px !important;
  padding: 0 11px !important;
  text-decoration: none !important;
  font: 500 12px/16px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-face {
  min-height: 0 !important;
  gap: 14px !important;
  padding: 22px !important;
  border-radius: 18px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-hint {
  align-self: start !important;
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button:only-child {
  min-height: 44px !important;
  border-radius: 12px !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-meta {
  align-items: center !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-meta > span:not(.flashcard-kind):not(.flashcard-position) {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-position {
  flex: none;
}

/* ---------- Lecture materials: the iPhone's sheet ---------- */
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader.lr-panel {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .25) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader.lr-panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 50%;
  width: 36px;
  height: 5px;
  margin-left: -18px;
  border-radius: 3px;
  background: rgba(60, 60, 67, .3);
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-panel-header {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 14px 84px 4px !important;
  border: 0 !important;
  background: transparent !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-panel-header::before {
  content: "Lecture materials";
  color: #000;
  font: 600 14px/19px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-panel-tabs {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-close {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  width: auto !important;
  min-width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #000 !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-close::after {
  content: "Done";
  font: 600 14px/19px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-library {
  padding: 10px 20px 28px !important;
  background: transparent !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-library-heading {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-upload {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  justify-items: start !important;
  align-items: center !important;
  gap: 2px 12px !important;
  margin: 0 0 12px !important;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #eff0e8 !important;
  text-align: left !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-upload svg {
  grid-row: 1 / span 3;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  color: #5a6d0c !important;
  stroke: currentColor !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-upload strong {
  color: #000 !important;
  font: 600 14px/19px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-upload :is(span, small) {
  color: #67676b !important;
  font: 400 11px/14px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
  text-align: left !important;
}
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-empty {
  padding: 18px 0 !important;
  color: #67676b !important;
  font: 400 14px/19px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
}
/* Rating buttons: one row of four, filled, radius 12 (as on iPhone). */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate > button {
  display: grid !important;
  justify-items: center !important;
  gap: 2px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 4px !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #000 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate > button strong {
  font: 600 14px/19px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate > button small {
  overflow: hidden;
  max-width: 100%;
  color: rgba(0, 0, 0, .62) !important;
  font: 400 11px/13px var(--ios-font) !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate-again { background: var(--pale-rose) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate-hard { background: var(--pale-yellow) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate-good { background: var(--pale-lavender) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate-easy { background: var(--pale-lime) !important; }
/* The answer under a hairline, in body text. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-face hr {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-top: .5px solid rgba(60, 60, 67, .29) !important;
}
/* Model answer: on paper, radius 12, padding 12 (as on iPhone). */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-model {
  margin: 0 !important;
  padding: 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ios-paper) !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-model .study-prose p:last-child {
  margin-bottom: 0 !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-evidence.is-phone-open > h3::after {
  transform: rotate(180deg);
}

/* ---------- Text sizes: the iPhone's own (default) size ----------
   Measured from iPhone screenshots (a 440 pt wide phone): body and the bold
   lead line 17 on 25, topic and task titles 17, tabs and bar 15, title 22,
   exam hint titles 20, task text 15, labels and Source 12, meta 12. These
   win over the smaller sizes tried earlier above. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .session-workspace-shell::before { font: 600 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #sessionTitle { font: 600 22px/28px var(--ios-font) !important; letter-spacing: -.4px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .session-title-block .session-meta { font: 400 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button { height: 34px !important; font: 500 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button[aria-selected="true"] { font-weight: 600 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button:is([data-personal-lecture-tab="notes"], [data-personal-lecture-tab="actions"]) { font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) nav.personal-lecture-nav > button:is([data-personal-lecture-tab="notes"], [data-personal-lecture-tab="actions"])::after { font-size: 15px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.lecture-subtitle, .phone-lecture-count) { font: 400 13px/18px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar strong { font: 600 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar span:not([aria-hidden]) { font: 400 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > button { height: 30px !important; font: 600 13px/18px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-lecture-find input { font: 400 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker[data-phone-number] { font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-kicker[data-phone-number]::after { font-size: 12px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading h2 { font: 600 17px/22px var(--ios-font) !important; letter-spacing: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .sn-chip { font: 600 13px/18px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose { font: 400 17px/25px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose p { margin: 0 0 25px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose > p:first-child:has(> strong:only-child) { margin-bottom: 25px !important; font: 600 17px/25px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .sn-card-head { font: 400 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary,
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-evidence > h3 { height: 26px !important; font: 500 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary { font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-source > summary::after { font-size: 12px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.lecture-source, .exam-hint-evidence) blockquote { font: italic 400 15px/22px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.exam-hint-heading h2, .exam-hints-pending h2) { font: 600 20px/25px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-heading::before { font: 600 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-section > h3 { font: 600 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hints-pending :is(p, summary) { font: 400 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item > .lecture-kicker { font: 500 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item > .lecture-kicker[data-phone-number]::before { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item .study-question .study-prose { font: 600 17px/25px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-answer { font: 400 17px/22px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-check { font: 600 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-actions .weekly-text-button { font: 500 13px/18px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.practice-toolbar, .flashcard-toolbar) button { font: 500 13px/18px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-meta { font: 400 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-front .study-prose { font: 600 20px/25px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-hint { font: 400 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-actions button { font: 600 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-rate > button strong { font: 600 15px/20px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-heading > label { font: 600 17px/22px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-description { font: 400 15px/23px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-tag { font: 600 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel :is(.lecture-action-meta, .lecture-action-timing) { font: 400 12px/16px var(--ios-font) !important; }
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-panel-header::before { font: 600 15px/20px var(--ios-font, -apple-system, sans-serif) !important; }
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-close::after { font: 600 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-upload strong { font: 600 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-upload :is(span, small) { font: 400 12px/16px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp.lecture-materials-open #lectureMaterialsReader .lr-empty { font: 400 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
/* Measured at 440: materials card 105 tall, 34 after the bold lead line. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar { row-gap: 10px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > button { height: 26px !important; padding: 0 12px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose > p:first-child:has(> strong:only-child) { margin-bottom: 34px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar { padding: 13px 16px !important; }
/* "Practice with Elthos": paper capsule, sparkles, footnote semibold. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-practice-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  margin: 2px 0 0;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ios-paper);
  box-shadow: none;
  color: #000;
  font: 600 13px/18px var(--ios-font);
  -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-practice-button::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3.5 11.7 8.3 16.5 10 11.7 11.7 10 16.5 8.3 11.7 3.5 10 8.3 8.3Z'/%3E%3Cpath d='M18 13.5 18.9 15.6 21 16.5 18.9 17.4 18 19.5 17.1 17.4 15 16.5 17.1 15.6Z'/%3E%3Cpath d='M17.5 2.5 18.1 4 19.5 4.5 18.1 5 17.5 6.5 16.9 5 15.5 4.5 16.9 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3.5 11.7 8.3 16.5 10 11.7 11.7 10 16.5 8.3 11.7 3.5 10 8.3 8.3Z'/%3E%3Cpath d='M18 13.5 18.9 15.6 21 16.5 18.9 17.4 18 19.5 17.1 17.4 15 16.5 17.1 15.6Z'/%3E%3Cpath d='M17.5 2.5 18.1 4 19.5 4.5 18.1 5 17.5 6.5 16.9 5 15.5 4.5 16.9 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .exam-hint-question { background: #eef3d0 !important; }
/* Practice measured at 440: the question 12 under its number, the answer 12
   under the question, the field 108 tall. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-item .study-question { margin: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-answer { min-height: 108px !important; height: 108px; }
/* Tasks measured at 440: 20 under the count, padding 18, 32 from title to
   description baseline, a slim label, 25 above Source. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-lecture-count[data-for="tasks"] { margin: 0 0 16px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-list { margin: 0 !important; padding: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-row { padding: 18px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-checkbox { margin: 1px 4px 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-description { margin-top: 3px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-tag { padding: 1px 8px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-action-body > .lecture-source { margin: 18px 0 0 -40px !important; }

/* ---------- Materials card: "Slides / PDF" and "Photo of board" ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > button.is-phone-replaced { display: none !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-materials-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-materials-actions > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(118, 118, 128, .14);
  box-shadow: none;
  color: #000;
  font: 600 13px/18px var(--ios-font);
  -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-materials-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-materials-actions > button:active { opacity: .6; }

/* ---------- Practice and Flashcards: "⋯" (36 circle on soft chip) ---------- */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .practice-toolbar > button:not(.phone-tool-more),
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .flashcard-toolbar[data-phone-menu] {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-tool-row .lecture-subtitle { margin: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-tool-more {
  flex: 0 0 36px !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--ios-chip) !important;
  box-shadow: none !important;
  color: var(--ios-secondary) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-tool-more svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}
html[data-layout="phone"] .phone-session-menu.phone-tool-menu {
  top: var(--tool-top, 120px) !important;
  right: var(--tool-right, 11px) !important;
  width: auto !important;
  min-width: 223px !important;
}
html[data-layout="phone"] .phone-session-menu.phone-tool-menu button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > .phone-materials-actions { display: flex !important; flex-direction: row !important; gap: 10px !important; margin: 0 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > .phone-materials-actions > button {
  flex: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  height: 28px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(118, 118, 128, .14) !important;
  box-shadow: none !important;
  color: #000 !important;
  font: 600 13px/18px var(--ios-font) !important;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > .phone-materials-actions > button span { color: #000 !important; font: inherit !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar > div.phone-materials-actions.phone-materials-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 10px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .phone-tool-more svg { width: 22px !important; height: 22px !important; }

/* 2026-11-10, matched to the iPhone's LectureStudyView (the same screen as a
   class lecture): the topic title left-aligned with its slide chip to the
   right, the first line semibold, and the materials card's picture-and-text icon. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading { flex-wrap: nowrap !important; justify-content: flex-start !important; text-align: left !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading h2 { flex: 1 1 auto !important; min-width: 0 !important; text-align: left !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading .sn-chips { flex: none !important; margin: 0 !important; justify-content: flex-end !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose p:first-child strong:only-child { font-weight: 600 !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar-icon > svg { display: none !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lr-toolbar-icon::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: #5a6d0c;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2.75' width='16' height='18.5' rx='2.5'/%3E%3Cpath d='M7.5 7h3M7.5 9.75h3M13.5 7h3M13.5 9.75h3'/%3E%3Crect x='7.25' y='12.75' width='9.5' height='5.5' rx='1'/%3E%3Cpath d='m7.6 17.9 2.7-2.6 1.9 1.7 1.6-1.4 2.6 2.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2.75' width='16' height='18.5' rx='2.5'/%3E%3Cpath d='M7.5 7h3M7.5 9.75h3M13.5 7h3M13.5 9.75h3'/%3E%3Crect x='7.25' y='12.75' width='9.5' height='5.5' rx='1'/%3E%3Cpath d='m7.6 17.9 2.7-2.6 1.9 1.7 1.6-1.4 2.6 2.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic-heading { flex-direction: row !important; align-items: center !important; gap: 8px !important; }

/* Topic body, as the iPhone's LectureStudyView (measured on the class lecture
   screenshots, the same screen): 27.5 pt lines, 14 pt between paragraphs, the
   body 14 pt under the topic row. */
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .study-prose { line-height: 27.5px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose p { margin: 0 0 14px !important; line-height: 27.5px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic .study-prose > p:first-child:has(> strong:only-child) { margin-bottom: 14px !important; line-height: 27.5px !important; }
html[data-layout="phone"] body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) #lecturePanel .lecture-topic > .lecture-topic-heading + * { margin-top: 15px !important; }
