/* BA reference: white surfaces, teal navigation and warm orange detail. */
:root {
  --ink: #12232b;
  --muted: #526f7b;
  --line: #dce7eb;
  --paper: #fff;
  --page: #f4f7f8;
  --sky: #f6f9fa;
  --blue: #087e73;
  --green: #087e73;
  --coral: #087e73;
  --focus: #087e73;
  --active: #e3f5f2;
  --word-accent: #a64d16;
  --word-soft: #fff1e4;
  --white-accent: #087e73;
  --white-soft: #eaf7f4;
  --sentence-accent: #087e73;
  --sentence-soft: #e3f5f2;
  --ba-orange: #f3934d;
  --ba-shadow: 0 4px 14px #10343f0b;
}

body, body.review-body { background: #f4f7f8; color: var(--ink); }
.site-header { min-height: 64px; padding: 10px 24px; box-shadow: 0 1px 4px #10343f08; }
.brand, [data-page="home"] .brand { font-size: 18px; }
.brand-symbol { width: 38px; height: 40px; border: 0; border-radius: 8px; background: var(--blue); }
.brand .lucide { color: #fff; width: 24px; height: 24px; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: 0; }
.brand.brand-logo, body.study-page .brand.brand-logo { flex: 0 0 auto; width: auto; height: 44px; gap: 10px; }
.brand-logo-image { display: block; flex: 0 0 176px; width: 176px; height: 44px; }
.brand-logo .site-logo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.brand-platform { color: var(--ink); font-size: 18px; font-weight: 600; white-space: nowrap; }
.top-nav a { color: var(--blue); border: 1px solid var(--line); background: #f6f9fa; border-radius: 6px; }
.top-nav .site-contact-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 40px; gap: 7px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; background: #f6f9fa; color: var(--blue); font-size: 14px; font-weight: 400; line-height: 1.4; white-space: nowrap; cursor: pointer; }
.top-nav .site-contact-button:hover { background: var(--active); }
.top-nav .site-contact-button .lucide { color: currentColor; }
.site-header .top-nav .site-nav-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; }
.site-header .site-nav-icon .lucide { width: 20px; height: 20px; }
.site-header .top-nav .site-nav-icon > .nav-tooltip { display: block; position: absolute; z-index: 60; top: 100%; right: 0; width: max-content; max-width: calc(100vw - 24px); padding-top: 8px; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 100ms ease; }
.nav-tooltip-text { display: block; padding: 6px 10px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 400; line-height: 1.5; white-space: nowrap; box-shadow: 0 3px 10px #10343f20; }
.site-header .top-nav .site-nav-icon:not(.is-tooltip-dismissed):focus-visible > .nav-tooltip { visibility: visible; opacity: 1; pointer-events: auto; }
@media (hover: hover) {
  .site-header .top-nav .site-nav-icon:not(.is-tooltip-dismissed):hover > .nav-tooltip { visibility: visible; opacity: 1; pointer-events: auto; }
}
.contact-modal { width: min(420px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 16px 50px #10343f28; overflow: auto; }
.contact-modal::backdrop { background: #12232b80; }
.contact-modal[open] { display: grid; gap: 8px; }
.contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-heading h2 { margin: 0; font-size: 20px; }
.contact-modal .contact-modal-close { width: 44px; height: 44px; min-height: 44px; color: var(--blue); }
.contact-caption { margin: 0; color: var(--muted); font-size: 14px; }
.contact-qr-image { display: block; width: min(100%,320px); height: auto; margin: 0 auto; }
body.contact-modal-open { overflow: hidden; }
.site-footer { background: transparent; }
.button-link, .ghost-link { border-radius: 6px; }
.page-title { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-title .eyebrow { color: var(--blue); }
.page-title h1 { color: var(--ink); }
.page-shell:not(#app) { background: transparent; }

body.study-page { background: #f4f7f8; padding-bottom: var(--study-player-height,80px); }
body.study-page .site-header { min-height: 64px; padding: 8px 24px; gap: 24px; }
body.study-page .brand { font-size: 18px; gap: 10px; }
body.study-page .brand-symbol { width: 36px; height: 38px; }
body.study-page .brand-copy small { display: block; }
.study-header-book { display: block; flex: 0 1 300px; min-width: 0; }
.study-header-language { display: flex; margin-left: auto; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #f6f9fa; }
.study-header-language button { min-height: 32px; padding: 3px 13px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.study-header-language button[aria-pressed="true"] { background: var(--blue); color: #fff; }
body.study-page .top-nav { margin-left: 0; }
.mobile-book-picker { min-height: 38px; padding-inline: 12px; border-radius: 7px; background: var(--version-soft); }
.mobile-book-picker > span { gap: 8px; }
.mobile-book-picker strong { font-size: 14px; }
.book-title-compact { display: none; }
body.study-page .page-shell { width: min(1500px,calc(100% - 40px)); padding: 0 0 24px; }
.study-workspace { grid-template-columns: 260px minmax(0,1fr); gap: 28px; }
.course-sidebar { top: 64px; max-height: calc(100dvh - 158px); padding: 20px 16px 16px 0; border-right: 1px solid var(--line); }
.study-book-heading { display: flex; align-items: center; gap: 12px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.book-stamp { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 52px; height: 68px; border-radius: 6px; border-left: 4px solid var(--ba-orange); background: var(--blue); color: #fff; }
.book-stamp .lucide { width: 26px; height: 26px; }
.book-stamp small { font-size: 9px; }
.study-book-heading strong { font-size: 15px; color: var(--ink); }
.study-book-heading span:not(.book-stamp) { font-size: 11px; }
.quick-books { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 16px 0 10px; }
.quick-books button { min-height: 32px; min-width: 0; padding: 4px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--muted); font-size: 12px; cursor: pointer; overflow-wrap: anywhere; }
.quick-books button:hover { border-color: var(--blue); color: var(--blue); }
.quick-books [aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.course-heading { padding: 10px 0; }
.course-heading h2 { font-size: 13px; }
.course-list { gap: 8px; }
.course-unit { min-height: 56px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.course-unit:hover { background: #f6f9fa; border-color: #8fbfb7; }
.course-unit[aria-current="page"] { background: var(--active); color: var(--ink); border-color: #7ebbb1; box-shadow: var(--ba-shadow); }
.course-copy strong { font-size: 13px; font-weight: 600; }
.course-unit[aria-current="page"] .course-copy small, .course-unit[aria-current="page"] > .lucide { color: var(--blue); }
.course-number { border: 0; background: #f1f6f7; color: var(--muted); border-radius: 6px; }
.course-unit[aria-current="page"] .course-number { background: var(--blue); color: #fff; }
.course-sections { margin-left: 12px; padding-left: 12px; }
.course-sections [data-course-mode="words"][aria-current="true"] { background: var(--word-soft); color: var(--word-accent); }
.course-sections [data-course-mode="sentences"][aria-current="true"] { background: var(--active); color: var(--blue); }
.study-main { padding-top: 10px; }
.study-toolbar { top: var(--study-header-height,64px); padding: 4px 0 0; border-top: 0; border-bottom: 0; background: #f4f7f8; }
.study-page .workspace-selector { display: none; }
.study-navigation { min-height: 56px; gap: 12px; }
.study-unit-summary { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; }
.unit-tag { flex: 0 0 auto; padding: 4px 9px; color: var(--blue); background: var(--active); border-radius: 5px; font-size: 12px; font-weight: 600; }
.study-unit-summary h1 { margin: 0; font-size: 26px; line-height: 1.3; overflow-wrap: anywhere; }
.study-unit-summary p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.study-unitbar { flex: 0 1 230px; }
.unit-stepper { gap: 5px; }
.study-page .unit-stepper .selector-field select { height: 36px; background: #fff; }
.study-toolbar .unit-stepper button.study-icon { display: none; }
.study-toolbar button.unit-favorite { color: var(--word-accent); background: #fff; }
.unit-favorite[aria-pressed="true"] .lucide { fill: #ffe0a8; stroke: #a64d16; }
.study-tabbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); margin: 4px 0 8px; }
.study-tabs { gap: 8px; padding: 0; background: transparent; border-radius: 0; }
.study-tabs button { gap: 7px; min-height: 42px; padding: 9px 14px; border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; }
.study-tabs button[aria-current="page"] { color: var(--blue); background: transparent; border-bottom: 2px solid var(--blue); }
.study-tabs [data-study-mode="knowledge"] { --mode-accent: #745295; --mode-soft: #f4effa; }
.study-tabs button .lucide { color: currentColor; }
.study-tabs small { color: var(--muted); font-size: 11px; font-weight: 400; }
.unit-overview { color: var(--muted); font-size: 12px; white-space: nowrap; }
.study-actionbar { display: block; margin: 0; padding: 0; border: 0; }
.study-actionbar .study-content-tools { margin-bottom: 4px; }
.word-category-filter label > span { min-height: 32px; background: #fff; }
body[data-learning-mode="sentences"] .workspace-content { background: transparent; padding: 0 0 16px; }
.workspace-content { padding-bottom: 16px; }
.study-page .word-grid { gap: 6px; padding-top: 6px; }
.study-page .word-group-header { border: 0; border-radius: 5px; padding: 3px 10px; margin-top: 6px; }
.study-page .word-button { min-height: 56px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.study-page .word-button[data-word-type="black"] { border-left: 3px solid #e7a76f; }
.study-page .word-phonetic { color: var(--word-accent); }
.word-meta { display: none; }
.study-page .word-button:hover { border-color: #92bcb5; background: #fff; box-shadow: var(--ba-shadow); }
.study-page .word-button.is-active { background: var(--active); border-color: #7ebbb1; box-shadow: inset 3px 0 var(--blue); }
.study-page .word-button.is-active .word-en { color: var(--blue); }
.study-page .word-button .row-sound { background: #f6f9fa; color: var(--blue); }
body.study-page[data-word-layout="cards"] .word-grid { grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 10px; }
body.study-page[data-word-layout="cards"] .word-button { min-height: 104px; border-radius: 8px; padding: 14px; }
body.study-page[data-word-layout="cards"] .word-spelling { display: grid; gap: 3px; }
body.study-page[data-word-layout="cards"] .word-meta { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
body.study-page[data-word-layout="cards"] .word-button .row-sound { width: 30px; height: 32px; }
.study-page .line-list { max-width: none; }
.study-page .line-list > li { margin-bottom: 8px; }
.study-page .line-row { min-height: 82px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; gap: 4px 12px; }
.study-page .line-index { align-self: start; width: 28px; height: 28px; margin-top: 3px; background: #f1f6f7; color: var(--muted); border-radius: 6px; }
.study-page .line-row { grid-template-columns: 28px minmax(0,1fr) 18px; }
.study-page .line-row:hover { border-color: var(--ba-orange); background: #fff; box-shadow: var(--ba-shadow); }
.study-page .line-row.is-active { background: var(--active); border-color: #7ebbb1; box-shadow: var(--ba-shadow); }
.study-page .line-row.is-active .line-index { background: var(--blue); color: #fff; }
.study-page .line-row.is-active .row-sound { color: var(--blue); }
.study-page .line-en { font-weight: 500; color: var(--ink); }
.study-page .line-zh { color: var(--muted); }
.study-page .line-group-title { border: 0; background: transparent; color: var(--word-accent); padding: 5px 0; margin-top: 10px; }
.reader-edition-note { max-width: none; margin-bottom: 10px; color: #795533; }
.reader-edition-note[open] { background: #fff8ee; padding: 6px 10px; border: 1px solid #eed9bd; border-radius: 6px; }
.study-empty { background: #fff; padding: 32px 16px; }
.unit-footer { margin: 12px 0 0; }
.nce-lesson-title { display: none; }

/* One persistent transport; secondary settings remain in a native dialog. */
.study-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(140px,1fr) minmax(500px,1.4fr); align-items: center; gap: 26px; min-height: 80px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -6px 18px #10343f0a; }
.study-player .study-playback-status { position: static; width: auto; height: auto; clip-path: none; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 1px 9px; padding: 0; min-width: 0; }
.study-playback-status > .lucide { grid-column: 1; grid-row: 1 / 3; align-self: center; color: var(--blue); }
.study-playback-status [data-playback-status] { grid-column: 2; min-width: 0; color: var(--ink); font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.study-playback-status [data-playback-translation] { grid-column: 2; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.study-playback-status [data-mini-count] { display: none; }
.study-controls { grid-template-columns: 144px minmax(90px,1fr) auto 38px; gap: 14px; }
.study-transport { gap: 8px; }
.study-transport button.study-icon { width: 38px; height: 38px; min-height: 38px; border-radius: 50%; background: #f6f9fa; }
.study-controls button.study-icon[data-action="toggle"] { width: 52px; height: 52px; min-height: 52px; background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 16px #0e93842b; }
.study-controls button.study-icon[data-action="toggle"]:hover:not(:disabled) { background: #06695f; border-color: #06695f; }
.study-controls select { height: 38px; border-radius: 5px; }
.study-controls .study-display { display: none; }
.study-progress { gap: 8px; }
.study-progress input { accent-color: var(--blue); }
.study-preferences { gap: 8px; }
.study-continuous { min-height: 38px; padding: 0; }
.study-controls > [data-settings-open] { width: 38px; height: 38px; }
.study-settings, .book-dialog, .course-dialog, .nce-import-dialog { border-radius: 8px; box-shadow: 0 12px 50px #10343f24; }
.study-settings .course-heading, .book-dialog .course-heading, .course-dialog .course-heading, .nce-import-dialog .course-heading { background: #edf8f5; }
.favorite-links { border-top: 1px solid var(--line); padding-top: 10px; }
.favorite-links summary { display: flex; gap: 8px; align-items: center; min-height: 44px; color: var(--blue); cursor: pointer; font-size: 14px; }
.favorite-links summary span { margin-left: auto; font-size: 12px; }
.favorite-links > div { display: grid; gap: 6px; padding-top: 8px; }
.favorite-links a { display: grid; grid-template-columns: minmax(0,1fr) 18px; gap: 3px 8px; padding: 8px; border-bottom: 1px solid var(--line); }
.favorite-links a strong { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.favorite-links a small { grid-column: 1; font-size: 12px; color: var(--muted); }
.favorite-links a .lucide { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--blue); }
.favorite-links p { margin: 0; color: var(--muted); font-size: 13px; }

.study-page .knowledge-surface { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; padding: 0; border: 0; background: transparent; }
.study-page .knowledge-group { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.knowledge-group-header .card-kicker { color: var(--blue); font-size: 11px; margin: 0 0 3px; }
.study-page .knowledge-group-header { padding: 0; border: 0; }
.study-page .knowledge-list { display: block; }
.study-page .knowledge-group h2 { margin: 0 0 14px; font-size: 17px; }
.study-page .knowledge-item { min-height: 0; padding: 12px 0; border: 0; border-top: 1px solid var(--line); }
.study-page .knowledge-item h3 { font-size: 15px; }
.study-page .knowledge-item p { color: var(--muted); font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }
.study-page .knowledge-item ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0 0; }
.knowledge-item li { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-size: 13px; }
.knowledge-example { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; min-height: 36px; max-width: 100%; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #f6f9fa; font-size: 13px; text-align: left; cursor: pointer; scroll-margin-top: var(--study-scroll-top); scroll-margin-bottom: var(--study-scroll-bottom); }
.knowledge-example span { overflow-wrap: anywhere; min-width: 0; }
.knowledge-example .lucide { width: 14px; height: 14px; color: var(--blue); }
.knowledge-example:hover, .knowledge-example.is-active { background: var(--active); border-color: #8fbfb7; color: var(--blue); }
.library-list { border-color: var(--line); }
.material-card { border-radius: 6px; margin-bottom: 6px; border: 1px solid var(--line); background: #fff; }
.material-card.is-active { border-color: #7ebbb1; background: var(--active); }
.library-section-card { border-color: var(--line); }
.material-source-note, .note-band { border-left: 3px solid #e7a76f; background: #fff6eb; }
.library-tools { border-radius: 6px; background: #fff; }

@media (max-width: 1200px) {
  .study-workspace { grid-template-columns: 224px minmax(0,1fr); gap: 22px; }
  .study-unit-summary { display: block; }
  .unit-tag { display: none; }
  .study-unit-summary h1 { font-size: 23px; }
  .study-unitbar { flex-basis: 190px; }
  .unit-overview { display: none; }
}
@media (max-width: 1100px) {
  body.study-page .site-header { gap: 16px; }
  .study-header-language { display: none; }
  body.study-page .top-nav { margin-left: auto; }
  .study-player { grid-template-columns: minmax(140px,1fr) minmax(320px,1.3fr); gap: 16px; }
  .study-controls { grid-template-columns: 144px minmax(90px,1fr) 38px; gap: 12px; }
}
@media (max-width: 900px) {
  .study-workspace { grid-template-columns: minmax(0,1fr); }
  .study-main { padding-top: 8px; }
  .study-unitbar { flex-basis: 260px; }
  .study-unit-summary h1 { font-size: 24px; }
  .study-page .knowledge-surface { gap: 10px; }
}
@media (max-width: 700px) {
  .site-header, body.study-page .site-header { min-height: 56px; padding: 6px 12px; gap: 8px; }
  body.study-page .brand { gap: 6px; font-size: 15px; }
  body.study-page .brand-symbol { width: 31px; height: 32px; }
  body.study-page .brand-copy small { display: none; }
  .brand.brand-logo, body.study-page .brand.brand-logo { flex-direction: column; justify-content: center; flex-basis: 112px; width: 112px; gap: 0; }
  .brand-logo-image { flex: 0 0 28px; width: 112px; height: 28px; }
  .brand-platform { font-size: 11px; font-weight: 500; line-height: 14px; }
  .study-header-book { flex: 1 1 auto; }
  .mobile-book-picker { min-height: 44px; padding: 3px 8px; border: 0; }
  .mobile-book-picker strong { font-size: 13px; }
  .mobile-book-picker small { font-size: 10px; }
  .book-title-full { display: none; }
  .book-title-compact { display: inline; }
  body.study-page .top-nav a { width: 38px; height: 44px; border: 0; background: transparent; }
  .site-header .top-nav .site-contact-button { width: 38px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; }
  .site-header .top-nav .site-nav-icon { width: 38px; }
  .contact-modal { padding: 16px; }
  body.study-page .page-shell { width: calc(100% - 24px); padding-top: 0; }
  .study-main { padding-top: 0; }
  .study-toolbar { padding-top: 4px; padding-bottom: 0; background: #f4f7f8; }
  .study-navigation { min-height: 44px; gap: 6px; }
  .study-unit-summary { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .study-unitbar { flex: 1 1 auto; }
  .study-page .unit-stepper .selector-field select { height: 44px; min-height: 44px; font-size: 16px; background: #fff; }
  .study-toolbar button.unit-favorite { width: 44px; height: 44px; min-height: 44px; }
  .study-tabbar { margin: 4px 0 6px; }
  .study-tabs { gap: 3px; width: 100%; }
  .study-tabs button { flex: 1 1 0; gap: 5px; padding: 8px 6px; min-height: 42px; font-size: 13px; }
  .study-tabs button .lucide { display: inline-block; width: 15px; height: 15px; }
  .study-tabs small { font-size: 10px; }
  .study-actionbar .study-content-tools { margin: 0; }
  .study-content-tools { padding-top: 0; }
  .word-category-filter label > span { min-height: 44px; }
  .workspace-content, body[data-learning-mode="sentences"] .workspace-content { padding: 0 0 16px; }
  .study-page .word-group-header { margin-top: 6px; }
  .study-page .word-button { padding: 9px 10px; min-height: 68px; }
  body.study-page[data-word-layout="cards"] .word-grid { grid-template-columns: minmax(0,1fr); gap: 6px; }
  body.study-page[data-word-layout="cards"] .word-button { min-height: 90px; }
  .study-page .line-row { grid-template-columns: 24px minmax(0,1fr) 16px; gap: 4px 9px; padding: 12px 10px; }
  .study-page .line-index { width: 24px; height: 25px; }
  .study-page .line-en { line-height: 1.45; }
  .study-page .line-row .row-sound .lucide { width: 16px; }
  .reader-edition-note { margin-bottom: 6px; }
  .nce-lesson-title { display: block; margin: 8px 0 12px; font-size: 16px; }
  .study-player { grid-template-columns: minmax(0,1fr) auto; gap: 8px; min-height: 64px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .study-controls { grid-template-columns: auto 44px; gap: 6px; }
  .study-transport { gap: 5px; }
  .study-transport button.study-icon { width: 40px; height: 44px; min-height: 44px; }
  .study-controls button.study-icon[data-action="toggle"] { width: 46px; height: 46px; min-height: 46px; }
  .study-controls > [data-settings-open] { width: 44px; height: 44px; background: #f1f8f6; }
  .study-player .study-playback-status { grid-template-columns: minmax(0,1fr); gap: 1px; }
  .study-playback-status > .lucide { display: none; }
  .study-playback-status [data-playback-status] { grid-column: 1; font-size: 11px; }
  .study-playback-status [data-playback-translation] { display: none; }
  .study-playback-status [data-mini-count] { display: block; grid-column: 1; font-size: 11px; }
  .study-page .knowledge-surface { grid-template-columns: minmax(0,1fr); }
  .knowledge-example { min-height: 44px; }
}
@media (pointer: coarse) {
  .study-header-language button, .quick-books button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .study-header-book, .study-header-language, .quick-books, .study-unitbar, .unit-favorite { display: none; }
  .study-unit-summary { position: static; width: auto; height: auto; clip-path: none; margin: 0; }
  body.study-page { padding-bottom: 0; }
  .study-page .knowledge-surface { grid-template-columns: minmax(0,1fr); }
}
