@font-face {
  font-family: 'Sori Noto';
  src: url('../assets/fonts/sori-noto.woff') format('woff');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --type: 'Sori Noto','Noto Sans KR',system-ui,sans-serif;
  --paper: #fbfaf7;
  --ink: #242422;
  --muted: #625e59;
  --line: #dedbd3;
  --wash: #f1efe9;
  --sori: #aa3e2b;
  --serif: var(--type);
  background: var(--paper);
}
body {
  max-width: 1100px;
  padding-inline: clamp(18px, 4vw, 38px);
  font-family: var(--type);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
:is(#homeView,#newsletterView,#guideView,#mainContent,.header,.sori-nav,.mobile-nav)
  :is(h1,h2,h3,p,small,label,button,select,input,summary,strong,em) { font-family: var(--type); }
button, input { font-family: var(--type); }
[hidden] { display: none !important; }
.header { min-height: 64px; border-color: var(--line); padding-block: 6px; }
.header .logo-home {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 5px 3px 0;
  border: 0; background: transparent; color: var(--ink); font-size: 34px;
  font-weight: 780; letter-spacing: -.075em; line-height: 1; min-height: 46px;
}
.header .logo-home .soundmark { display: inline-flex; gap: 2.5px; align-items: center; transform: rotate(8deg); margin: 4px 0 0; }
.soundmark i { width: 3.5px; height: 13px; border-radius: 3px; background: var(--sori); }
.soundmark i:nth-child(2) { height: 23px; }
.soundmark i:nth-child(3) { height: 17px; }
.soundmark i:nth-child(4) { height: 8px; }
.header-actions .top-btn.primary { border: 1px solid var(--line); border-radius: 24px; padding-inline: 16px; min-height: 40px; }
.mobile-nav,.sori-nav { border-color: var(--line); background: var(--paper); }
.sori-nav button,.mobile-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.sori-nav svg,.mobile-nav svg { width: 20px; height: 20px; }
.mobile-nav button { flex-direction: column; gap: 4px; min-height: 63px; padding: 7px 4px; font-size: 12px; border-top: 0; }
.mobile-nav button.active,.sori-nav button.active { color: var(--sori); font-weight: 700; border-color: var(--sori); }
.speak-heading h1,.learn-heading h1,.story-feed-heading h1 {
  font-size: clamp(33px,4.4vw,54px); letter-spacing: -.065em; line-height: 1.1; font-weight: 730;
}
.speak-heading h1 { margin: 22px 0 12px; }
#homeView,#newsletterView { max-width: none; margin-inline: auto; }
#mainContent { max-width: 740px; margin-inline: auto; }
#mainContent.practice-session-active { max-width: 620px; }
#homeView .text-button,#mainContent .text-button,.story-korean .text-button {
  text-decoration: none; font-weight: 570; color: var(--sori); min-height: 44px; gap: 5px;
}
#homeView .sori-primary,#mainContent .sori-primary,#newsletterView .sori-primary {
  background: var(--sori); color: white; border-color: var(--sori); border-radius: 8px; font-weight: 650;
}
#homeView .sori-primary:hover,#mainContent .sori-primary:hover,#newsletterView .sori-primary:hover { background: #913220; }
#mainContent .sori-secondary,#newsletterView .sori-secondary {
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; font-weight: 560;
}
.phrase-finder { background: transparent; color: var(--ink); margin: 0 0 20px; }
.finder-title,.list-title,.turn-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.finder-title label,.list-title h2 { font-size: 19px; font-weight: 650; letter-spacing: -.035em; margin: 0; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid #c7c3b9; border-radius: 9px; background: #fffefa; }
.search-field:focus-within { outline: 2px solid var(--sori); outline-offset: 1px; }
.search-field > span { position: relative; border: 1.6px solid var(--muted); border-radius: 50%; width: 14px; height: 14px; flex: none; }
.search-field > span::after { content: ''; position: absolute; width: 7px; height: 1.6px; background: var(--muted); transform: rotate(45deg); top: 11px; left: 10px; }
.search-field input { min-width: 0; width: 100%; height: 47px; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: 0; padding: 0 2px; }
.search-field input:focus-visible { outline: none; }
.phrase-topics { display: flex; flex-wrap: wrap; gap: 2px 10px; padding-top: 4px; }
.phrase-topics button { background: transparent; color: var(--muted); border: 0; min-height: 44px; padding: 4px; font-size: 13px; }
.phrase-topics button:first-child { margin-left: -4px; }
.phrase-topics button[aria-pressed=true] { color: var(--sori); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.phrase-finder [role=status] { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 6px 0; }
.phrase-finder [role=status]:empty { display: none; }
.phrase-hit { width: 100%; display: grid; gap: 2px; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 13px 0; text-align: left; color: var(--ink); }
.phrase-hit strong { font-size: 18px; font-weight: 610; }
.phrase-hit span { font-size: 14px; }
.phrase-hit .phrase-reading,.roman-line { color: var(--muted); }
.phrase-hit:hover,.conversation-row:hover { background: var(--wash); }
.speaking-feature { display: grid; align-items: center; gap: 19px; }
.speaking-feature > img { display: block; width: 100%; height: clamp(136px,24svh,245px); object-fit: cover; object-position: 50% 60%; border-radius: 12px; }
.feature-meta { color: var(--sori); font-size: 13px; font-weight: 600; }
.feature-copy h2 { font-size: clamp(32px,4.8vw,55px); line-height: 1.09; letter-spacing: -.065em; margin: 5px 0 15px; font-weight: 705; }
.feature-copy p { font-size: 15px; line-height: 1.5; margin: 2px 0; }
.feature-copy .feature-sample { font-size: 20px; font-weight: 580; letter-spacing: -.035em; word-break: keep-all; }
.feature-copy .sori-primary { display: inline-flex; width: 100%; gap: 13px; margin-top: 16px; min-height: 49px; font-size: 16px; }
.conversation-list { margin: 30px 0 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.list-title > span { font-size: 13px; color: var(--muted); }
.conversation-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 15px 3px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); text-align: left; }
.conversation-row strong,.conversation-row small { display: block; }
.conversation-row strong { font-weight: 600; font-size: 16px; }
.conversation-row small { color: var(--muted); font-size: 13px; margin-top: 2px; }
.conversation-row > span:last-child { color: var(--sori); }
.learn-heading { padding-block: 12px; }
.learn-heading h1 { margin: 4px 0 18px; }
#mainContent.single-phrase > .learn-heading,#mainContent.single-phrase > .learn-next { display: none; }
#mainContent.single-phrase > .card:has(.category-bar) { display: none; }
#mainContent .lesson-back { margin-bottom: 10px; }
#lessonCard { border-radius: 10px; border: 1px solid var(--line); box-shadow: none; background: var(--paper); }
#lessonCard .kbox { text-align: left; background: transparent; padding: 4px 0 14px; }
#lessonCard .ko { color: var(--ink); font-size: clamp(27px,5vw,38px); letter-spacing: -.045em; line-height: 1.4; margin: 0; }
#lessonCard #pronunciation,#lessonCard #english { display: block; margin: 4px 0; font-size: 16px; color: var(--muted); line-height: 1.5; }
#lessonCard #english { color: var(--ink); }
#lessonCard #context { text-align: left; color: var(--muted); }
#lessonCard .learn-display-controls { padding: 0; }
#lessonCard .learn-display-controls label { font-size: 13px; }
#lessonVoice { border: 0; margin: 2px 0 20px; }
#playBtn,#pickerTrigger { background: var(--ink); color: #fff; }
#practiceSession { padding-top: 8px; max-width: none; }
#practiceSession h1 { font-size: clamp(27px,4vw,40px); line-height: 1.2; letter-spacing: -.055em; margin: 15px 0 18px; font-weight: 690; }
#practiceSession progress { display: block; width: 100%; height: 4px; border: 0; background: var(--line); accent-color: var(--sori); border-radius: 4px; }
#practiceSession progress::-webkit-progress-bar { border-radius: 4px; background: var(--line); }
#practiceSession progress::-webkit-progress-value { border-radius: 4px; background: var(--sori); }
.session-header { font-size: 13px; color: var(--muted); }
.speaker-cue { padding: 10px 16px 14px; background: var(--wash); border: 0; border-radius: 10px; margin: 0 0 8px; }
.turn-cap > span { font-size: 13px; font-weight: 650; color: var(--sori); }
.turn-cap .sori-secondary,.turn-cap .text-button { min-height: 44px; padding: 4px 5px; font-size: 13px; }
#practiceSession .speaker-cue button { background: transparent; border: 0; color: var(--sori); }
#practiceSession .speaker-cue p[lang=ko] { font-size: clamp(19px,4vw,24px); line-height: 1.5; letter-spacing: -.03em; font-weight: 600; margin: 0 0 3px; }
.session-answer { margin: 13px 0 0; padding: 0; border: 0; }
.session-answer h2 { color: var(--ink); font-size: clamp(24px,4vw,33px); line-height: 1.45; margin: 4px 0; letter-spacing: -.045em; }
.turn-intent,.roman-line,.meaning-line { margin: 2px 0; line-height: 1.55; font-size: 15px; }
.turn-intent { color: var(--muted); font-size: 14px; }
.session-answer .audio-choices { display: flex; gap: 8px; margin: 10px 0 5px; }
.session-answer .audio-choices button { padding: 6px 14px; font-size: 14px; min-height: 44px; }
.reply-recorder { display: grid; gap: 7px; margin: 10px 0; }
.reply-recorder .record-action { width: 100%; font-size: 16px; min-height: 50px; }
.reply-recorder > small { color: var(--muted); font-size: 12px; }
.voice-settings { display: flex; flex-wrap: wrap; gap: 0 20px; }
.voice-settings label { display: flex; align-items: center; gap: 6px; min-height: 38px; color: var(--muted); font-size: 13px; cursor: pointer; }
.voice-settings input { width: 16px; height: 16px; accent-color: var(--sori); }
.reply-recorder [role=status]:not(:empty) { padding: 7px 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.check-result { background: var(--wash); width: 100%; padding: 10px 14px; border-radius: 7px; }
.check-result strong,.check-result small { display: block; }
.check-result strong { font-size: 19px; font-weight: 600; }
.check-result small { margin-top: 4px; }
.check-result.correct { border-left: 3px solid #a43d2d; }
.check-result.retry { border-left: 3px solid var(--sori); }
.speaking-tip { font-size: 14px; color: var(--muted); }
.session-answer .speaking-tip summary { min-height: 44px; }
.session-answer .recall-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.session-answer .recall-actions button { min-height: 46px; }
.audio-status:empty { display: none; }
.story-feed-heading { padding-top: 20px; }
.story-feed-heading h1 { margin: 0 0 12px; }
.latest-issue { border: 0; background: transparent; padding: 0; gap: 22px; }
.latest-issue .issue-cover { border-radius: 11px; overflow: hidden; }
.latest-issue .eyebrow,.native-story .eyebrow { color: var(--sori); font-weight: 600; }
.latest-issue h2,.native-story h1 { font-weight: 690; letter-spacing: -.055em; }
.native-story,.story-body { max-width: 660px; margin-inline: auto; }
.story-body p { font-size: 17px; line-height: 1.85; }
.story-body .inline-speech { display: inline; min-height: auto; padding: 0 .12em; font: inherit; text-underline-offset: 4px; text-decoration: underline; border: 0; background: transparent; color: var(--sori); }
.inline-speech::after { content: ' ▷'; font-size: .74em; }
.inline-speech[aria-busy=true]::after { content: ' ◼'; }
.story-korean { border-radius: 9px; background: var(--wash); }
.story-korean .roman-line,.story-korean .meaning-line { margin: 2px 0; }
.story-korean .audio-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
@media (min-width: 760px) {
  .speak-heading h1 { margin: 28px 0 10px; }
  .speaking-feature { grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); gap: clamp(26px,4vw,56px); margin-top: 21px; }
  .speaking-feature > img { height: auto; aspect-ratio: 1.65; }
  .feature-copy .sori-primary { width: auto; min-width: 205px; }
  #homeView .phrase-finder { max-width: 650px; }
  .conversation-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
  .list-title { grid-column: 1 / -1; }
}
@media(max-width: 420px) {
  .search-field input { font-size: 16px; }
  .phrase-topics { column-gap: 6px; }
  #homeView .phrase-finder { margin-bottom: 12px; }
}
@media(prefers-reduced-motion:no-preference) {
  .phrase-hit,.conversation-row,.sori-primary { transition: background-color .14s; }
}

#mainContent.phrase-index > .card,#mainContent.phrase-index > .learn-next,
#mainContent.collection > .learn-heading { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.device-choice { display: grid; gap: 5px; margin: 4px 0; }
.device-choice small { color: var(--muted); font-size: 12px; }
.device-choice .sori-secondary { justify-self: start; font-size: 14px; min-height: 44px; }

#dailyVocabulary { margin: 15px 0 28px; }
.vocab-card,.vocab-prompt {
  background: #f6eee4; border: 1px solid #e5d5c4; border-radius: 15px;
  padding: clamp(18px,4vw,34px);
}
.vocab-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vocab-card header h2 { margin: 0; color: #8d3727; font-size: 17px; letter-spacing: -.025em; }
.vocab-card header > span { font-size: 13px; color: #67594c; white-space: nowrap; }
.vocab-meaning { color: #51483f; font-size: clamp(17px,2.5vw,21px); line-height: 1.45; margin: 0; }
.vocab-card .vocab-meaning { margin-top: 14px; }
.vocab-sentence {
  color: var(--ink); font-size: clamp(24px,5.2vw,38px); font-weight: 650;
  line-height: 1.6; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; margin: 7px 0;
}
.vocab-blank {
  display: inline-block; position: relative; min-width: 2.3em; height: 1.24em; vertical-align: -.12em;
  margin: 0 .06em; border-bottom: 3px solid #aa553d; background: #efddcc; border-radius: 4px 4px 0 0;
}
.vocab-blank[data-result] { height: auto; line-height: 1.25; vertical-align: baseline; text-align: center; color: #833b27; padding: 0 .15em; }
.vocab-blank[data-result=correct] { background: #f7eae5; border-color: #a43d2d; color: #7b2d21; }
.vocab-instruction { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 12px 0; }
.vocab-card > button,.vocab-next .sori-primary { min-height: 48px; font-size: 16px; padding-inline: 25px; }
.vocab-prompt { margin: 12px 0; }
.vocab-prompt .vocab-sentence { margin-bottom: 0; }
.vocab-exercise { margin-top: 14px; }
.vocab-mic .voice-settings { display: none; }
.vocab-mic .vocab-heard { color: var(--ink); font-size: 20px; margin: 0; }
.vocab-mic p:empty { display: none; }
.vocab-mic small[data-mic-note] { min-height: 0; font-size: 12px; }
.vocab-options,.vocab-next { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vocab-options { margin-top: 8px; }
.vocab-next { padding-top: 10px; }
.vocab-type { display: grid; gap: 7px; margin: 13px 0 4px; }
.vocab-type label { font-size: 14px; font-weight: 600; }
.vocab-type > div { display: flex; gap: 8px; }
.vocab-type input { min-width: 0; width: 100%; min-height: 47px; border: 1px solid #bcb4a7; border-radius: 8px; padding: 8px 11px; font-size: 18px; background: var(--paper); }
.vocab-type button { flex: none; padding-inline: 12px; }
.vocab-type [role=status] { margin: 0; font-weight: 620; }
.vocab-finish ul { list-style: none; margin: 12px 0 22px; padding: 0; }
.vocab-finish li { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vocab-finish li strong { font-size: 22px; }
.vocab-finish li span { font-size: 15px; color: var(--muted); }
@media(max-width:480px) {
  .vocab-card > button { width: 100%; }
  .vocab-next .sori-primary { flex: 1; }
}
.vocab-audio-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin-top: 15px; }
.vocab-audio-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; font-size: 15px; }
.vocab-audio-toggle svg { flex: none; }
.cue-status { color: var(--muted); font-size: 14px; }

/* Vocabulary browsing, difficulty and spaced review */
.vocab-links,.vocab-hub-actions,.vocab-levels { display:flex; flex-wrap:wrap; align-items:center; gap:6px 13px; }
.vocab-links a,.vocab-resume { display:inline-flex; align-items:center; min-height:44px; color:#813924; font-size:.94rem; font-weight:620; text-underline-offset:.2em; }
.vocab-links a[aria-current] { color:var(--ink); text-decoration:underline; }
.vocab-card .vocab-links { margin-top:6px; }
.vocab-hub .vocab-subtitle { color:var(--muted); line-height:1.55; margin:0 0 16px; }
.vocab-levels { border:0; padding:0; margin:16px 0 20px; gap:6px; min-width:0; }
.vocab-levels legend { padding:0 0 6px; font-size:.9rem; font-weight:650; color:var(--muted); }
.vocab-levels button { padding:8px 12px; min-height:42px; border-radius:20px; border:1px solid #c8c1b6; background:var(--paper); cursor:pointer; color:var(--ink); font:inherit; font-size:.9rem; }
.vocab-levels button[aria-pressed=true] { background:#7b2d21; color:white; border-color:#7b2d21; }
.vocab-card .vocab-levels { margin:8px 0 0; }
.vocab-topic-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr)); gap:12px; margin-top:15px; }
.vocab-topic-tile { display:flex; flex-direction:column; align-items:flex-start; padding:17px 19px; min-width:0; color:var(--ink); text-decoration:none; border:1px solid var(--line); border-radius:14px; background:var(--paper); }
.vocab-topic-tile:hover,.vocab-word-list button:hover { background:#f4f1e9; }
.vocab-topic-sample { align-self:flex-start; color:#a43d2d; font-size:1.05rem; font-weight:600; margin-bottom:11px; }
.vocab-topic-tile strong { font-size:1.15rem; letter-spacing:-.03em; }
.vocab-topic-desc,.vocab-gloss { display:block; color:var(--muted); font-size:.96rem; line-height:1.45; margin:3px 0; }
.vocab-topic-count { color:#574944; font-size:.83rem; margin-top:auto; padding-top:12px; }
.vocab-hub-actions { margin:8px 0; }
.vocab-shelf-intro { border-radius:14px; padding:clamp(17px,4vw,26px); background:#f7eae5; border:1px solid #eed5cc; }
.vocab-shelf-intro h2 { margin:0 0 6px; font-size:1.25rem; }
.vocab-shelf-intro p { margin:0 0 14px; line-height:1.5; color:#574944; }
.vocab-hub a.sori-primary,.vocab-finish a.sori-primary { display:inline-flex; align-items:center; text-decoration:none; }
.vocab-word-list { padding:0; list-style:none; margin:18px 0; }
.vocab-word-list li { border-bottom:1px solid var(--line); }
.vocab-word-list button { width:100%; background:transparent; border:0; padding:12px 4px; text-align:left; display:flex; align-items:center; justify-content:space-between; color:var(--ink); gap:10px; font:inherit; cursor:pointer; }
.vocab-word-list strong { font-size:1.2rem; }
.vocab-word-meta { color:var(--muted); text-align:right; font-size:.84rem; }
.vocab-word-meta small { display:block; font-size:.8rem; color:#6f482e; }
.vocab-step { color:var(--muted); margin:10px 0 6px; font-size:.9rem; }
.vocab-choices { display:flex; gap:8px; flex-wrap:wrap; }
.vocab-choices button { background:var(--paper); border:1px solid #a99e91; border-radius:10px; min-height:48px; font:inherit; font-size:1.1rem; padding:9px 18px; color:var(--ink); cursor:pointer; }
.vocab-choices button[data-correct] { background:#f7eae5; color:#7b2d21; border-color:#a43d2d; }
.vocab-choices button[data-wrong] { background:#f4dfd8; color:#823525; border-color:#a96655; }
.vocab-choice-status:empty { display:none; }
.vocab-choice-status { font-weight:620; }
.vocab-exercise > .vocab-levels { margin-top:24px; }
.vocab-spoken,.vocab-heard span { color:#51330d; background:#f9d995; border-radius:.12em; }
.vocab-spoken { box-shadow:inset 0 -.08em #ae7628; }
.vocab-blank:has(.vocab-spoken) { height:auto; vertical-align:baseline; text-align:center; line-height:1.25; }
.vocab-heard { white-space:pre-wrap; overflow-wrap:anywhere; }
.vocab-heard:empty { display:none; }
.vocab-heard span { animation:sori-heard .32s ease-out; }
@keyframes sori-heard { from { background:#eeb24f; } to { background:#f9d995; } }
@media(prefers-reduced-motion:reduce) { .vocab-heard span { animation:none; } }
@media(max-width:480px) {
  .vocab-topic-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .vocab-topic-tile { padding:12px; }
  .vocab-topic-tile strong { font-size:1.04rem; }
  .vocab-hub-actions { align-items:stretch; }
  .vocab-levels button { padding:7px 10px; }
}

/* Service navigation and the pages within the selected service */
.section-nav { display:flex; align-items:center; gap:20px; padding:10px 0; border-bottom:1px solid var(--line); color:var(--ink); font-family:var(--type); }
.section-parent { font-size:1.03rem; font-weight:720; letter-spacing:-.035em; padding-right:19px; border-right:1px solid #cfc8bd; }
.section-nav > div { display:flex; gap:5px; align-items:stretch; }
.section-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:7px 15px; border-radius:8px; color:var(--muted); text-decoration:none; font-weight:570; font-size:.96rem; }
.section-nav a[aria-current=page] { color:#682d20; background:#f1e2d8; font-weight:690; }
.section-nav[data-service=read] a[aria-current=page] { background:#f7eae5; color:#7b2d21; }
.section-nav[data-service=explore] a[aria-current=page] { background:#f7eae5; color:#7b2d21; }
.section-nav a:hover,.menu-group a:hover,.section-back:hover { text-decoration:underline; text-underline-offset:3px; }
.section-page-title { font-family:var(--type); font-size:clamp(2rem,5.3vw,3.4rem); line-height:1.1; letter-spacing:-.05em; margin:24px 0 18px; }
.section-back { display:inline-flex; align-items:center; min-height:42px; font-size:.94rem; color:#743a2c; font-weight:620; text-decoration:underline; text-underline-offset:3px; }
.section-rows { margin:12px 0 22px; }
.section-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; width:100%; font:inherit; color:var(--ink); text-align:left; text-decoration:none; padding:16px 4px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; }
button.section-row,a.section-row { cursor:pointer; }
button.section-row:hover,a.section-row:hover { background:#f2f0e9; }
.section-row strong { font-size:1.09rem; font-weight:650; letter-spacing:-.02em; }
.section-row span,.empty-note { color:var(--muted); font-size:.96rem; line-height:1.5; }
.section-row span { text-align:right; }
.quiet-row { color:var(--muted); }
.topic-entry { margin:10px 0 0; }
.subsection-title { font-size:1.3rem; letter-spacing:-.035em; margin:30px 0 4px; }
#homeView [data-speak-panel=conversations] > .phrase-finder { margin:13px 0 24px; }
#homeView [data-speak-panel=conversations] .speaking-feature { margin:6px 0 20px; }
.sidebar { height:100dvh; width:min(330px,92vw); right:0; visibility:hidden; transform:translateX(102%); transition:transform .2s ease,visibility .2s; background:var(--paper); }
.sidebar.open { visibility:visible; transform:translateX(0); }
.sidebar .sidebar-menu { overflow-y:auto; overscroll-behavior:contain; padding:0 18px 28px; }
.menu-group { padding:14px 0 10px; border-bottom:1px solid var(--line); }
.menu-group h3 { font-size:1.18rem; margin:0 0 4px; letter-spacing:-.025em; }
.menu-group h3 a { display:inline-flex; min-height:36px; align-items:center; padding:0 9px; font:inherit; color:var(--ink); }
.menu-group a { text-decoration:none; }
.menu-group > div { margin-left:10px; border-left:2px solid var(--line); padding-left:7px; }
.menu-group [data-section-link] { display:flex; align-items:center; min-height:40px; padding:6px 10px; border-radius:7px; font-size:.96rem; color:var(--muted); }
.menu-group [aria-current=page] { background:#f1e2d8; color:#682d20; font-weight:650; }
.menu-group[data-service-group=read] [aria-current] { background:#f7eae5; color:#7b2d21; }
.menu-group[data-service-group=explore] [aria-current] { background:#f7eae5; color:#7b2d21; }
.spoken-turn { margin:10px 0; }
.spoken-turn .vocab-mic { margin-block:5px; }
.spoken-turn .vocab-mic .record-action { background:var(--paper)!important; color:#733b2b!important; border:1px solid #c6b4a5!important; }
.spoken-turn .turn-audio-state,.turn-recording summary,.phrase-audio-tools summary { color:var(--muted); font-size:.94rem; }
.turn-audio-state:empty,#quizFeedback:empty { display:none; }
.turn-audio-state { margin:8px 0; }
.turn-recording,.phrase-audio-tools { margin:10px 0; }
.turn-recording summary,.phrase-audio-tools summary { cursor:pointer; padding:7px 0; }
.spoken-turn .vocab-type label { display:grid; gap:4px; }
.spoken-turn .vocab-type button { justify-self:start; }
#quizView .quiz-listen { white-space:normal; font-size:1rem; min-height:46px; padding:8px 16px; }
#quizFeedback { font-weight:650; color:var(--ink); }
#quizView .quiz-option[data-verdict=correct] { background:#f7eae5; border-color:#a43d2d; color:#7b2d21; }
#quizView .quiz-option[data-verdict=retry] { background:#f6e3da; border-color:#a55f40; color:#773c26; }
#quizView .quiz-question { gap:12px; flex-wrap:wrap; }
@media(max-width:640px) {
  .section-nav { display:block; padding:8px 0 9px; }
  .section-parent { display:block; border:0; padding:0; margin:0 0 4px 2px; font-size:1.04rem; }
  .section-nav > div { display:flex; gap:3px; }
  .section-nav a { flex:1; min-height:41px; padding:6px 4px; font-size:.88rem; text-align:center; }
  .section-row { align-items:flex-start; flex-direction:column; gap:3px; padding:13px 2px; }
  .section-row span { text-align:left; }
  .section-page-title { margin:18px 0 14px; }
}
@media(prefers-reduced-motion:reduce) { .sidebar { transition:none; } }
