/* Mobile reading and motion: quiet surfaces, fewer layers, clear touch feedback. */
.servicePanel { margin-top: 23px; }
.servicePanelHead { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.servicePanelHead h2 { font-size: 18px; margin: 0 0 9px; }
.servicePanelHead p, .serviceSummary { font-size: 14px; line-height: 1.95; color: #606d86; margin: 0; }
.serviceBadge { flex-shrink: 0; font-size: 12px; line-height: 1.7; padding: 6px 11px; color: #626d85; background: #eef1f7; border: 1px solid #dfe5ee; border-radius: 20px; }
.serviceBadge[data-state=ready] { color: #4e6289; background: #edf1fa; border-color: #cbd6e9; }
.serviceBadge[data-state=unavailable] { color: #806b55; background: #f7f1e9; border-color: #e8dac8; }
.serviceStages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 23px 0; }
.serviceStages article { padding: 16px; background: #f6f7fb; border: 1px solid #e2e6ef; border-radius: 12px; }
.serviceStages small { font-size: 11px; color: #66748e; }
.serviceStages h3 { font-size: 15px; font-weight: 500; color: #435474; margin: 8px 0 5px; }
.serviceStages p { font-size: 13px; color: #606d86; line-height: 1.9; margin: 0; }
.serviceActions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; }
.serviceActions small { font-size: 12px; color: #65718a; }
.displayPreference { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #e0e6ef; }
.displayPreference strong { display: block; font-size: 15px; font-weight: 500; color: #435474; }
.displayPreference p { margin: 6px 0 0; color: #606d86; font-size: 13px; line-height: 1.9; }
.displayPreference button { flex-shrink: 0; min-height: 44px; }
.displayPreference button[aria-pressed=true] { background: #e8edf8; border-color: #becbe2; color: #4c6187; }
body.reduceEffects .appView, body.reduceEffects .dialogBack, body.reduceEffects .dialog, body.reduceEffects .dailyExamCard, body.reduceEffects .quickCollect, body.reduceEffects .guidePanel, body.reduceEffects .guideWelcome, body.reduceEffects .buddyFace, body.reduceEffects .guideDemoBody, body.reduceEffects .revealedMeaning, body.reduceEffects .moodStamp { animation: none !important; }
body.reduceEffects .delightBurst::before, body.reduceEffects .delightBurst::after { display: none; }
body.reduceEffects button, body.reduceEffects .toast, body.reduceEffects .goalTrackFill, body.reduceEffects .reviewProgress > i { transition: none !important; }
@media (max-width:780px) {
 html { background: #f5f6fa; }
 .topbar { background: #f7f8fc; backdrop-filter: none; -webkit-backdrop-filter: none; min-height: 66px; margin-bottom: 22px; border-color: #e0e5ef; }
 .mobileBrandMark { background: #e9edf7; border-color: #d2daea; }
 .mobileBrand strong { letter-spacing: 1px; }
 .mobileMenuBtn, .topright > .iconBtn { box-shadow: 0 2px 6px #35466504; }
 .main { padding-left: 20px; padding-right: 20px; }
 .topbar { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
 .pageHeading { gap: 15px; margin-bottom: 23px; }
 .pageHeading h1 { font-size: clamp(28px,7.2vw,34px); line-height: 1.55; letter-spacing: -.6px; }
 .pageHeading p { font-size: 14px; line-height: 1.9; max-width: 25em; }
 .pageHeading .eyebrow { font-size: 9px; letter-spacing: 1.35px; line-height: 1.8; }
 #view-home > .homeTop:empty { display: none; }
 #view-home > .pageHeading::after { display: none; }
 #view-home > .nextCard { margin: 0 0 25px; padding: 21px; border: 1px solid #dce3f0; border-radius: 19px; background: linear-gradient(120deg,#eef2fa,#f2eff8); }
 .nextCard > .eyebrow, .nextCard > .orbit { display: none; }
 .nextCard .buddyButton { margin-bottom: 11px; background: #ffffff80; }
 .nextCard h2 { font-size: 19px; margin: 0 0 7px; line-height: 1.7; }
 .nextCard p { max-width: none; margin: 0 0 15px; font-size: 14px; line-height: 1.85; }
 .nextCard #nextAction { min-height: 46px; font-size: 14px; }
 #dailyExamSection { margin-bottom: 29px; }
 #dailyExamSection > .cardHead { display: block; margin-bottom: 18px; }
 #dailyExamSection > .cardHead h2 { font-size: 21px; line-height: 1.65; margin: 7px 0; max-width: 13em; }
 #dailyFeedStatus { font-size: 12px; line-height: 1.9; color: #66738a; }
 .dailyArchiveControl { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
 .dailyArchiveControl label { font-size: 13px; white-space: nowrap; }
 .dailyArchiveControl select { min-height: 44px; font-size: 16px; width: auto; max-width: 100%; }
 .dailyTopicBar { padding: 17px; border: 1px solid #e0e5ee; border-radius: 15px; background: #fdfdff; gap: 9px 12px; margin-bottom: 17px; }
 .dailyTopicBar label { font-size: 14px; }
 .dailyTopicBar select { min-height: 48px; border-radius: 11px; background-color: #f4f6fb; min-width: 0; width: 100%; font-size: 16px; }
 .dailyQuota { font-size: 12px; color: #66738b; }
 .dailyExamGrid { gap: 15px; }
 .dailyExamCard { position: relative; padding: 23px 22px; border: 1px solid #dfe5ef; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px #37466b04; }
 .dailyExamCard h3 { font-size: 26px; line-height: 1.6; margin: 19px 0 13px; color: #34435f; letter-spacing: -.2px; }
 .dailyExamCard > p { font-size: 15px; line-height: 1.95; color: #5f6d85; }
 .dailySentenceTop { align-items: flex-start; gap: 12px; }
 .dailyExamCard .examBadges { gap: 6px; flex-wrap: wrap; }
 .dailyExamCard .examBadges > span { padding: 4px 8px; line-height: 1.7; font-size: 11px; border-radius: 6px; background: #f0f2f8; color: #62718d; }
 .sentenceNumber { color: #7d88a0; font-size: 14px; min-width: 23px; }
 .sentenceNote { margin: 6px 0; border-top: 1px solid #edf0f6; }
 .sentenceNote > summary { padding: 12px 0; min-height: 44px; font-size: 13px; }
 .sentenceNote p, .dailyPattern { font-size: 14px; line-height: 1.95; }
 .dailyCardActions { padding-top: 5px; gap: 10px; }
 .dailyCardActions .quickCollect { min-width: 90px; border-radius: 10px; }
 .dailyCardActions button { min-height: 44px; }
 .dailyStartRow { display: flex; flex-direction: column; align-items: stretch; gap: 9px; padding-top: 16px; }
 .dailyStartRow .hint { font-size: 13px; line-height: 1.9; margin: 0; }
 .dailyStartRow .addBtn { width: 100%; min-height: 49px; font-size: 14px; border-radius: 12px; }
 #learningHub { margin-bottom: 25px; border-radius: 18px; }
 #view-home > .dailyPick { margin: 0 0 25px; min-height: 0; border-radius: 19px; padding: 25px; }
 .dailyPick h4 { font-size: 26px; line-height: 1.55; }
 .dailyPick p { font-size: 14px; line-height: 1.9; }
 .dailyPick .dailyNote { font-size: 13px; }
 #view-home > .homeBottom { margin-top: 0; }
 .curatedCard, .knowledgeItem { padding: 24px 22px; border-radius: 17px; border-color: #dfe5ef; box-shadow: 0 2px 9px #37466b03; }
 .curatedCard:hover { box-shadow: 0 2px 9px #37466b03; }
 .curatedCard strong, .corpusItem .corpusOriginal { font-size: 26px; line-height: 1.6; letter-spacing: -.2px; }
 .libraryToolbar input, .mineToolbar input { border-radius: 12px; min-height: 49px; background: #fff; }
 .curatedFilters { padding-bottom: 11px; }
 .curatedFilters button { border-radius: 12px; }
 .mobileNav { background: #fdfdff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -2px 12px #46557e05; padding-top: 7px; }
 .mobileNav button { min-height: 56px; gap: 5px; font-size: 11px; border-radius: 13px; color: #65738c; }
 .mobileNav button.active { color: #475d85; background: #e9eef8; }
 .mobileNav svg { width: 22px; height: 22px; }
 .quizActions, .dialogHead, .dialogActions { background: #fdfdff; backdrop-filter: none; -webkit-backdrop-filter: none; }
 .dialogBack { background: #25334b66; backdrop-filter: none; -webkit-backdrop-filter: none; }
 .dialog { border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px #29385514; }
 .dialogHead { padding-top: 24px; }
 .dialogHead::before { content: ''; position: absolute; top: 9px; left: 50%; width: 32px; height: 3px; margin-left: -16px; border-radius: 3px; background: #cbd3e2; pointer-events: none; }
 .dialogHead h2 { font-size: 20px; }
 .capturePreview { border-radius: 15px; padding: 21px; background: #f5f7fc; border-color: #e1e7f1; }
 .capturePreview h3 { font-size: 27px; line-height: 1.6; }
 .readerTool { background: #fdfdff; }
 .readerStatus { overflow-wrap: anywhere; }
 .servicePanel { padding: 22px; border-radius: 18px; }
 .servicePanelHead { display: block; }
 .serviceBadge { display: inline-block; margin-top: 14px; }
 .serviceStages { grid-template-columns: 1fr; gap: 10px; margin: 20px 0; }
 .serviceStages article { padding: 15px 17px; }
 .serviceStages h3 { margin-top: 4px; }
 .serviceActions, .displayPreference { align-items: flex-start; flex-direction: column; gap: 12px; }
 .serviceActions button, .displayPreference button { font-size: 14px; min-height: 46px; }
 .displayPreference p, .serviceStages p { font-size: 14px; }
 .card, .dailyExamCard, .curatedCard { scroll-margin-top: 90px; }
 @media (prefers-reduced-motion:no-preference) {
  .appView { animation: mobileViewIn .16s ease-out; }
  .dailyExamCard { animation: none; }
  .dialog { animation-duration: .18s; }
  .quickCollect.justCollected { animation: mobileCollect .22s ease-out; }
  button { transition: background-color .14s ease,color .14s ease,transform .12s ease; }
  .mobileNav button:active, .readerTool:active { transform: translateY(1px); }
  @keyframes mobileViewIn { from { opacity: .85; } to { opacity: 1; } }
  @keyframes mobileCollect { from { transform: scale(.97); } to { transform: scale(1); } }
 }
}
@media (max-width:359px) {
 .main { padding-left: 14px; padding-right: 14px; }
 .topbar { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
 .dailyExamCard, .curatedCard, .knowledgeItem { padding: 21px 19px; }
 .dailyExamCard h3, .curatedCard strong, .corpusItem .corpusOriginal { font-size: 24px; }
 .servicePanel { padding: 19px; }
}
@media (prefers-reduced-motion:reduce) {
 .appView, .dailyExamCard, .dialog { animation: none !important; }
}
