/* One restrained reading layer for the existing workspace. No external fonts. */
:root { --ui-font: -apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif; --sentence-font: Georgia,'Times New Roman',serif; }
body, button, input, select, textarea { font-family: var(--ui-font); }
body { background: #f6f7fa; color: #34415a; }
[hidden] { display: none !important; }
.main { max-width: 1320px; }
.appView { max-width: 1040px; margin-left: auto; margin-right: auto; animation: none !important; }
.pageHeading { margin-bottom: 28px; }
.pageHeading h1 { font-size: clamp(29px,2.8vw,39px); font-weight: 400; line-height: 1.6; }
.pageHeading p { color: #637089; max-width: 43em; font-size: 14px; }
.pageHeading .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
.pageHeading::after, .dailyPick::before, .introLetter::after, .welcomeView::before, .welcomeCard::before, .delightBurst::before, .delightBurst::after { display: none !important; }
.privatePill, .datePill, .sidebar .quote, .navLabel { display: none; }
.sidebar .primaryNav { margin-top: 45px; }
.sidebar .nav button { font-size: 14px; min-height: 47px; border-radius: 9px; margin-bottom: 5px; }
.sidebarMore { margin-top: 24px; border-top: 1px solid #e1e6ef; padding-top: 12px; }
.sidebarMore > summary { color: #62708b; cursor: pointer; min-height: 44px; padding: 10px 17px; font-size: 13px; }
.sidebarMore .nav { margin-top: 8px; }
.card, .curatedShelf, .learningHub { background: #fff; border-color: #e2e6ef; border-radius: 15px; box-shadow: none; }
#view-home > .pageHeading { margin-bottom: 25px; }
#homeTop { display: block; margin: 0; }
#nextStepCard { position: relative; padding: 21px 24px; margin: 0 0 26px; background: #edf0f7; border: 0; border-radius: 13px; min-height: 0; }
#nextStepCard h2 { margin: 0 0 5px; font-size: 18px; line-height: 1.7; }
#nextStepCard p { margin: 0 0 14px; font-size: 14px; line-height: 1.9; max-width: 42em; }
#nextStepCard .addBtn { margin: 0; }
#nextStepCard .sessionSaveNote { margin-bottom: 0; }
#dailyExamSection { border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; margin-bottom: 20px; }
#dailyExamSection > .cardHead { margin-bottom: 8px; }
#dailyExamSection > .cardHead .eyebrow { display: none; }
#dailyExamSection > .cardHead h2 { font: 500 20px/1.8 var(--ui-font); margin: 0 0 4px; max-width: none; }
#dailyTopicLabel { margin-left: 10px; font: 400 13px/1.8 var(--ui-font); color: #68728b; }
#dailyFeedStatus { font-size: 12px; line-height: 1.9; margin: 0; color: #637089; }
.quietDisclosure { margin: 16px 0; border: 0; border-top: 1px solid #e2e6ef; border-radius: 0; background: transparent; }
.quietDisclosure > summary { min-height: 45px; display: flex; justify-content: space-between; align-items: center; gap: 15px; list-style: none; cursor: pointer; color: #586985; font: 400 13px/1.8 var(--ui-font); padding: 11px 0; }
.quietDisclosure > summary::-webkit-details-marker { display: none; }
.quietDisclosure > summary::after { content: '+'; font: 400 19px/1 var(--ui-font); flex-shrink: 0; }
.quietDisclosure[open] > summary::after { content: '−'; }
.quietDisclosure > summary:focus-visible { outline: 2px solid #778aaa; outline-offset: 3px; border-radius: 5px; }
.dailyOptions { margin: 5px 0 19px; border-top: 0; }
.dailyOptions > summary { width: fit-content; gap: 15px; min-height: 44px; padding: 7px 0; font-size: 12px; }
.dailyOptionFields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 10px 0 15px; }
.dailyOptionFields .dailyArchiveControl, .dailyOptionFields .dailyTopicBar { display: flex; flex-direction: column; align-items: stretch; gap: 7px; padding: 0; margin: 0; background: transparent; border: 0; border-radius: 0; min-width: 0; }
.dailyOptionFields label { font-size: 13px; color: #5d6e89; }
.dailyOptionFields select { width: 100%; min-width: 0; font-size: 14px; min-height: 45px; }
.dailyExamGrid { gap: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.dailyExamCard, .curatedCard, .knowledgeItem { padding: 26px; border: 1px solid #e0e5ef; border-radius: 14px; background: #fff; box-shadow: none; transform: none; animation: none !important; }
.curatedCard:hover, .dailyExamCard:hover { box-shadow: none; transform: none; border-color: #c6d0e2; }
.sentenceMeta { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: #63718b; font-size: 12px; line-height: 1.8; }
.sentenceMeta small { font-size: 12px; color: #63718b; }
.sentenceMeta .sentenceNumber { color: #738099; font: 400 14px/1.8 var(--ui-font); }
.dailyExamCard h3, .curatedCard > strong, .corpusItem .corpusOriginal { font: 400 clamp(23px,2vw,27px)/1.6 var(--sentence-font); letter-spacing: -.15px; color: #34435f; margin: 18px 0 13px; overflow-wrap: anywhere; }
.dailyExamCard > p, .curatedCard > p, .corpusItem .corpusTranslation { font: 400 14px/1.95 var(--ui-font); color: #5e6b82; margin: 0 0 22px; }
.curatedActions, .dailyCardActions, .knowledgeActions { gap: 18px; margin-top: auto; padding-top: 8px; border-top: 0; }
.curatedActions button, .knowledgeActions button { font-size: 13px; min-height: 44px; }
.quickCollect { background: #eef1f8; border: 1px solid #dce3f0; border-radius: 9px; color: #4f6288; padding: 8px 16px; min-width: 80px; }
.quickCollect.isSaved { background: #f5f6fa; border-color: #e2e7ef; color: #64718a; }
.dailyStartRow { justify-content: flex-start; align-items: center; gap: 17px; padding-top: 23px; }
.dailyStartRow .hint { font-size: 12px; color: #637089; max-width: 28em; }
.dailyStartRow .addBtn { min-width: 150px; }
.curatedShelf { padding: 0; border: 0; border-radius: 0; background: transparent; }
.curatedIntro > div, .curatedShelf > .hint, #curatedFilters { display: none; }
.curatedIntro { margin: 0; justify-content: flex-end; }
#curatedImportAll { display: none; }
.libraryToolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-top: 0; }
.libraryToolbar #librarySearch, .mineToolbar #knowledgeSearch { grid-column: 1; grid-row: 1; }
.mobileFilterToggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 9px 13px; border: 1px solid #dce3ee; border-radius: 9px; color: #536585; background: #fff; font-size: 13px; }
.mobileFilterToggle svg { width: 18px; height: 18px; }
.mobileFilterToggle .filterCount { min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #52638e; color: #fff; font-size: 10px; }
#libraryLevel, #libraryKind, .examFilterBar { display: none; }
.mobileRefineOpen #libraryLevel, .mobileRefineOpen #libraryKind { display: block; grid-row: 2; grid-column: auto; }
.mobileRefineOpen .examFilterBar { display: flex; gap: 10px; flex-wrap: wrap; margin: 15px 0; padding: 15px; border: 0; background: #edf0f6; border-radius: 10px; }
.mobileRefineOpen #curatedFilters { display: flex; gap: 7px; flex-wrap: wrap; overflow: visible; margin: 12px 0; padding: 0; }
#curatedFilters button { min-height: 40px; border-radius: 8px; font-size: 12px; padding: 8px 11px; }
.mineToolbar { grid-template-columns: minmax(0,1fr) auto 44px; }
.mineToolbar #mineFiltersToggle { grid-column: 2; grid-row: 1; }
.mineToolbar #hideMeanings { grid-column: 3; grid-row: 1; }
.mineToolbar #knowledgeFilter, .mineToolbar #mineOrigin, .mineToolbar #mineStatus { display: none; }
.mobileRefineOpen .mineToolbar #knowledgeFilter, .mobileRefineOpen .mineToolbar #mineOrigin, .mobileRefineOpen .mineToolbar #mineStatus { display: block; grid-row: 2; grid-column: auto; }
.resultsCount { font-size: 12px; margin: 17px 0; }
.curatedGrid, #knowledgeList { gap: 22px; }
.activeFilterBar { background: transparent; padding-left: 0; padding-right: 0; }
.filterCaption { display: none; }
.personalNotes { width: 100%; margin: 15px 0 0; }
.personalNotes > summary { font-size: 12px; }
.personalNotes .personalMeta { font: 400 12px/1.9 var(--ui-font); color: #637089; margin: 7px 0; overflow-wrap: anywhere; }
.knowledgeItemTop strong { font-size: 12px; font-weight: 400; }
.corpusStatus { font-size: 11px; background: #f0f2f7; color: #62718a; border: 0; }
.capturePreview { border: 0; background: #f6f7fa; padding: 26px; }
.capturePreview #readerSentence { font: 400 30px/1.6 var(--sentence-font); color: #34435f; }
.capturePreview #readerMeaning { font: 400 15px/2 var(--ui-font); color: #586981; }
.capturePreview .usageNote, .personalNotes .usageNote { font: 400 14px/2 var(--ui-font); color: #5c6a81; white-space: pre-line; margin: 9px 0 17px; }
.capturePreview .applicationExample, .personalNotes .applicationExample, .applicationExample { font: 500 17px/1.9 var(--ui-font); color: #465a7b; letter-spacing: .1px; white-space: pre-line; background: #edf1f8; border-left: 2px solid #9caac2; padding: 14px 17px; border-radius: 0 8px 8px 0; margin: 11px 0 17px; }
.exampleBlock > small { display: block; margin-top: 12px; font-size: 12px; color: #637089; }
.readerNotes { margin: 15px 0 19px; }
.examNote { margin: 0; padding: 0; border: 0; }
.examNote small { font: 500 12px/1.9 var(--ui-font); color: #536581; }
.readerBottomActions { justify-content: flex-end; }
.captureFields > label textarea { min-height: 90px; }
.captureOptional { margin: 7px 0 0; }
.captureOptionalFields { padding-top: 12px; }
.captureOptionalFields label { display: block; margin-bottom: 18px; }
.draftStatusRow { margin-top: 0; }
.draftStatusRow span { font-size: 12px; }
.mineLearningActions { display: flex; flex-wrap: wrap; gap: 10px; margin: -5px 0 20px; }
.mineLearningActions button { min-height: 44px; font-size: 13px; }
.accumulationCalendar { border: 1px solid #e0e5ee; border-radius: 12px; background: #fff; margin: 0 0 24px; }
.accumulationCalendar > summary { padding: 15px 20px; justify-content: flex-start; }
.accumulationCalendar > summary small { margin-left: auto; font-size: 12px; color: #637089; }
.calendarBody { border-top: 1px solid #e5e9f1; padding: 20px; }
.accumulationMonth { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 16px; }
.accumulationMonth h2 { font: 500 17px/1.8 var(--ui-font); margin: 0; }
.accumulationMonth > div { display: flex; gap: 7px; align-items: center; }
.accumulationMonth button { min-height: 44px; min-width: 44px; font-size: 14px; }
.calendarWeekdays, .accumulationDays { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 7px; }
.calendarWeekdays { font-size: 12px; color: #64728b; text-align: center; margin-bottom: 8px; }
.calendarDay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 52px; background: #f8f9fc; border: 1px solid transparent; border-radius: 9px; color: #53637e; font-size: 14px; position: relative; padding: 7px 2px; }
.calendarDay.hasActivity { background: #edf1f8; }
.calendarDay.isToday { border-color: #b8c5dc; font-weight: 600; }
.calendarDay[aria-pressed=true] { background: #53668f; color: #fff; border-color: #53668f; }
.calendarDay:disabled { opacity: .45; cursor: default; }
.activityDot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #667da5; flex-shrink: 0; }
.calendarDay[aria-pressed=true] .activityDot { background: #fff; }
.calendarLegend { display: flex; gap: 9px; align-items: center; font-size: 12px; line-height: 1.9; color: #637089; margin: 14px 0 18px; }
.calendarDayDetail { border-top: 1px solid #e2e7ef; padding-top: 17px; }
.calendarDayDetail h3 { font-size: 14px; font-weight: 500; margin: 0 0 6px; }
#calendarDayCounts { font-size: 13px; line-height: 1.9; color: #5f6f89; margin: 0 0 12px; }
#calendarDayEntries { max-height: 280px; overflow-y: auto; }
.calendarEntry { border-top: 1px solid #edf0f5; padding: 11px 0; }
.calendarEntry p { font: 400 16px/1.8 var(--ui-font); margin: 0 0 4px; color: #435777; }
.calendarEntry small { font-size: 13px; line-height: 1.9; color: #637089; }
.progressExtras > summary { font-size: 14px; }
.progressExtras #learningHub { margin: 10px 0 20px; }
.progressExtras .homeBottom { margin-top: 10px; }
.libraryInspiration .dailyPick { margin: 5px 0 20px; background: #edf0f7; color: #34435f; padding: 26px; min-height: 0; }
.libraryInspiration .dailyPick h4 { color: #34435f; }
.libraryInspiration .dailyPick p, .libraryInspiration .dailyEyebrow { color: #5e6e88; }
.welcomeCardNote > span { display: none; }
.welcomeTopics span { background: transparent; border: 0; border-radius: 0; padding-left: 0; margin-right: 12px; }
.welcomeCard, .introLetter, .introCare { box-shadow: none; background: #fdfdff; }
.moodStamp, .buddyFace, .dailyPick, .guidePanel, .guideWelcome { animation: none !important; }
button { transition: background-color .15s ease,color .15s ease,border-color .15s ease; }
@media(min-width:781px) {
 #nextStepCard { padding-right: 210px; }
 #nextStepCard > #nextAction { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
 #nextStepCard > p { margin-bottom: 0; }
}
@media(max-width:780px) {
 .main { padding-left: 20px; padding-right: 20px; }
 .topbar { margin-bottom: 24px; }
 .mobileNav { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .mobileNav button { font-size: 12px; min-height: 57px; }
 .dailyExamGrid { grid-template-columns: minmax(0,1fr); gap: 18px; }
 .dailyExamCard, .curatedCard, .knowledgeItem { padding: 24px 22px; border-radius: 13px; }
 .dailyExamCard h3, .curatedCard > strong, .corpusItem .corpusOriginal { font-size: 25px; line-height: 1.65; margin-top: 17px; }
 .dailyExamCard > p, .curatedCard > p, .corpusItem .corpusTranslation { font-size: 15px; }
 .dailyStartRow { align-items: stretch; gap: 9px; }
 .dailyStartRow .addBtn { min-height: 48px; }
 .dailyOptionFields { gap: 16px; grid-template-columns: 1fr; }
 .dailyOptionFields select { font-size: 16px; }
 .mobileRefineOpen .examFilterBar { display: grid; }
 .mobileRefineOpen #curatedFilters { flex-wrap: wrap; overflow: visible; }
 .mobileRefineOpen .mineToolbar #knowledgeFilter, .mobileRefineOpen .mineToolbar #mineOrigin, .mobileRefineOpen .mineToolbar #mineStatus { grid-column: 1/-1; grid-row: auto; }
 .accumulationCalendar > summary { flex-wrap: wrap; gap: 5px 12px; padding: 14px 16px; font-size: 14px; }
 .accumulationCalendar > summary small { font-size: 11px; }
 .calendarBody { padding: 17px 14px; }
 .calendarWeekdays, .accumulationDays { gap: 3px; }
 .calendarDay { min-height: 46px; border-radius: 6px; font-size: 13px; }
 .calendarLegend { font-size: 11px; }
 .calendarDayDetail h3 { font-size: 15px; }
 .capturePreview #readerSentence { font-size: 27px; }
 .capturePreview .applicationExample, .personalNotes .applicationExample { font-size: 17px; }
 .captureOptionalFields .twoFields { grid-template-columns: 1fr; }
 .captureOptionalFields textarea, .captureFields input, .captureFields textarea, .captureFields select { font-size: 16px; }
 .captureFields > label textarea { min-height: 95px; }
 #nextStepCard { padding: 20px 22px; margin-bottom: 24px; }
 #nextStepCard h2 { font-size: 18px; }
 #nextStepCard .addBtn { width: 100%; }
}
@media(max-width:359px) {
 .main { padding-left: 15px; padding-right: 15px; }
 .topbar { margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px; }
 .dailyExamCard, .curatedCard, .knowledgeItem { padding: 21px 19px; }
 .accumulationCalendar > summary small { width: 100%; margin-left: 0; }
}
@media(prefers-reduced-motion:reduce) { button { transition: none; } }
