/* 哆读英语 · The Daily Desk. Local fonts and original book covers only. */
:root {
  --paper: #f8f7f3;
  --surface: #fffefa;
  --ink: #302e36;
  --muted: #75716f;
  --line: #e5e1d9;
  --purple: #7155b7;
  --purple-dark: #533a90;
  --lavender: #ede7f4;
  --soft: #f3eff7;
  --green: #536d60;
  --book-serif: Georgia, "Songti SC", "STSong", "SimSun", serif;
}
::selection { background: #e4d9f0; color: #392851; }
.app-shell { grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { background: #f0eee8; border-color: #e1ddd5; padding: 33px 18px 22px; }
.brand { gap: 10px; font-size: 26px; letter-spacing: 1px; color: #39313e; }
.brand-mark { width: 38px; height: 43px; border-radius: 3px 3px 11px 3px; background: #6b509c; }
.brand small { color: #77716c; font-size: 10px; letter-spacing: 1.6px; }
.nav-label { color: #77726c; font-size: 11px; letter-spacing: 1.2px; margin-top: 42px; }
.nav-main a,.nav-tools a,.nav-support button { border-radius: 5px; color: #65615f; padding: 11px 13px; }
.nav-main a.active { position: relative; background: #e5ddec; color: #5b418a; }
.nav-main a.active::before { content: ""; width: 3px; position: absolute; left: -18px; top: 12px; bottom: 12px; background: #7155b7; border-radius: 0 2px 2px 0; }
.nav-main a:hover,.nav-tools a:hover,.nav-support button:hover { background: #e9e4ee; }
.nav-tools a,.nav-support button { font-size: 13px; }
.nav-main .icon,.nav-tools .icon,.nav-support .icon { width: 19px; height: 19px; }
.tools-label { margin-top: 31px; }
.nav-count { color: #76648c; }
.mini-tag { color: #756583; background: #e7e0ec; font-size: 10px; }
.local-note { border: 0; border-top: 1px solid #dcd8cf; border-radius: 0; background: transparent; padding: 19px 10px 0; }
.local-note b { font-size: 11px; color: #68685f; }
.local-note p { color: #7c7971; font-size: 10px; }
.topbar { height: 72px; padding: 0 40px; background: #f8f7f3; border-color: var(--line); gap: 16px; }
.breadcrumb { color: #888178; font-size: 12px; }
.breadcrumb b { color: #5c555e; }
.global-search { width: 292px; background: #efede7; border-radius: 5px; color: #817a72; min-height: 38px; }
.global-search input { font-size: 12px; }
.global-search input::placeholder { color: #827b74; }
.global-search kbd { color: #81756f; border-color: #d9d2c7; }
.local-status { color: #6f7769; }
.avatar { width: 34px; height: 34px; border: 1px solid #dcd2e4; background: #e8e0ee; color: #69507f; }
.main { width: 100%; max-width: none; padding: 34px 40px 24px; }
.eyebrow { color: #81766f; font-size: 10px; font-weight: 500; letter-spacing: 1.8px; line-height: 1.5; }
.welcome-editorial { margin-bottom: 27px; }
.welcome-editorial .eyebrow { margin-bottom: 10px; }
.welcome-editorial .eyebrow span { color: #b8aa9e; margin: 0 6px; }
.welcome-editorial h1 { font-family: var(--book-serif); font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; letter-spacing: .01em; }
.welcome-editorial .page-intro { color: #79716d; font-size: 13px; margin-top: 10px; }
.welcome-note { display: flex; gap: 13px; align-items: center; color: #898271; font-size: 11px; line-height: 1.9; letter-spacing: 1px; flex: none; padding-right: 5px; }
.note-line { height: 34px; width: 1px; background: #cec5b4; transform: rotate(20deg); margin-right: 3px; }
.desk-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; overflow: hidden; background: #ebe5f1; border: 1px solid #dfd6e8; border-radius: 8px; margin-bottom: 30px; min-height: 294px; }
.desk-hero::before { content: ""; width: 5px; position: absolute; top: 0; bottom: 0; left: 0; background: #83659e; }
.desk-hero-copy { min-width: 0; padding: 30px 34px 27px; position: relative; z-index: 1; }
.desk-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #78628e; margin-bottom: 17px; }
.desk-kicker .icon { width: 15px; height: 15px; }
.desk-hero h2 { font-size: clamp(23px, 2.15vw, 31px); line-height: 1.5; letter-spacing: -.04em; font-weight: 600; color: #45334f; max-width: 25ch; overflow-wrap: anywhere; }
.desk-hero-note { color: #7b6b82; font-size: 12px; margin-top: 8px; max-width: 46ch; overflow-wrap: anywhere; }
.desk-hero-actions { display: flex; gap: 21px; align-items: center; flex-wrap: wrap; margin-top: 25px; }
.desk-primary,.desk-secondary { display: inline-flex; gap: 17px; align-items: center; min-height: 44px; font-size: 13px; }
.desk-primary { background: #695098; border: 1px solid #695098; border-radius: 5px; color: #fff; padding: 10px 18px; }
.desk-primary:hover { background: #543b80; border-color: #543b80; }
.desk-secondary { color: #6f597f; gap: 7px; }
.desk-primary .icon,.desk-secondary .icon { width: 16px; height: 16px; }
.desk-position { font-size: 11px; color: #7d6f85; margin-top: 16px; }
.desk-book-stage { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding: 34px 20px 40px; background: #e4dcebdd; }
.desk-book-caption { position: absolute; top: 15px; left: 0; right: 0; text-align: center; font-size: 8px; letter-spacing: 2.7px; color: #8e7c96; }
.desk-book-cover,.desk-blank-book { position: relative; z-index: 2; height: 180px; max-width: 165px; object-fit: contain; box-shadow: 5px 8px 0 #f5f1e9, 6px 9px 0 #c5b8cb, 13px 16px 20px #4932541a; border-radius: 2px 3px 3px 2px; transform: rotate(-7deg); }
.desk-blank-book { width: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #647664; color: #f5f1e8; }
.desk-blank-book b { font: italic 48px Georgia, serif; }
.desk-blank-book small { font-size: 8px; letter-spacing: 1px; margin-top: 25px; }
.desk-paper-tab { position: absolute; top: 32px; left: calc(50% + 48px); width: 21px; height: 57px; background: #b69b63; transform: rotate(9deg); clip-path: polygon(0 0,100% 0,100% 100%,50% 84%,0 100%); }
.desk-book-baseline { width: 174px; height: 1px; background: #cfc1d4; position: absolute; bottom: 43px; }
.desk-book-footnote { position: absolute; bottom: 13px; font: italic 16px var(--book-serif); letter-spacing: .3px; color: #8a7493; }
.home-section { margin-bottom: 32px; }
.home-section>.section-title { margin-bottom: 17px; }
.section-title h2,.home-section>.section-title h2 { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.section-title .eyebrow { font-size: 9px; letter-spacing: 1.9px; margin-bottom: 4px; }
.section-title .text-link { color: #746080; min-height: 40px; font-size: 12px; }
.text-link { color: #71538c; }
.bookshelf-section { padding: 0 0 25px; border-bottom: 1px solid var(--line); }
.shelf-empty { display: flex; gap: 19px; align-items: center; background: #f0eee6; border: 1px solid #e4dfd2; border-radius: 6px; margin: 0; padding: 20px 22px; }
.shelf-empty-mark { width: 44px; height: 55px; display: grid; place-items: center; border: 1px dashed #bcb1a0; border-radius: 2px; color: #998b76; flex: none; }
.shelf-empty-mark .icon { width: 24px; height: 24px; }
.shelf-empty>div { flex: 1; min-width: 0; }
.shelf-empty b { font-size: 14px; font-weight: 500; color: #6b6255; }
.shelf-empty p { color: #847a6b; font-size: 12px; margin-top: 4px; }
.shelf-empty .button-secondary { background: #faf8f2; border-color: #d9cfbe; color: #79664a; min-height: 40px; flex: none; }
.bookshelf { gap: 16px; }
.shelf-book { position: relative; background: #fffefa; border-color: #e0d9cc; border-radius: 5px; border-bottom: 3px solid #dbd2c2; padding: 21px; overflow: hidden; }
.shelf-bookmark { position: absolute; top: 0; right: 18px; width: 11px; height: 28px; background: #a28c62; clip-path: polygon(0 0,100% 0,100% 100%,50% 80%,0 100%); }
.my-textbook>img { filter: none; box-shadow: 3px 4px 0 #ebe5d8; border-radius: 2px; }
.my-textbook b { font-size: 15px; }
.my-textbook p { font-size: 12px; color: #7a736c; }
.my-textbook .text-link { font-size: 12px; min-height: 32px; }
.numbered-heading { display: flex; align-items: center; gap: 14px; }
.section-number { font: italic 32px/1 var(--book-serif); color: #b6aa98; min-width: 36px; }
.stage-grid { gap: 16px; }
.stage-grid .choice-card { position: relative; border-radius: 5px; border-color: #e1ddd3; background: #fffefa; padding: 22px 20px; min-height: 140px; align-items: flex-start; }
.stage-grid .choice-card::after { content: ""; height: 3px; width: 36px; background: #b6a2cd; position: absolute; bottom: 0; left: 20px; }
.stage-grid .choice-card:nth-child(2)::after { background: #96ae9b; }
.stage-grid .choice-card:nth-child(3)::after { background: #c3ae87; }
.stage-grid .choice-icon { width: 34px; height: 37px; border-radius: 3px; background: #eee7f4; color: #806592; }
.stage-grid .choice-card h3 { font-size: 17px; }
.stage-grid .choice-card p { font-size: 12px; line-height: 1.8; color: #81786f; }
.stage-grid .choice-card>.icon { width: 14px; height: 14px; color: #9b8b9d; }
.stage-grid .choice-card:hover { border-color: #b6a0c2; background: #fdfafc; }
.goals-section .goal-grid { gap: 0 25px; }
.goals-section .choice-card { border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; padding: 17px 3px; gap: 12px; }
.goals-section .choice-card:hover { background: #f0ece6; }
.goals-section .choice-icon { background: transparent; width: 29px; height: 30px; color: #8b7e6e; }
.goals-section .choice-card h3 { font-size: 15px; }
.goals-section .choice-card p { font-size: 12px; color: #80776e; margin-top: 5px; }
.goals-section .choice-card>.icon { color: #a69a8b; width: 13px; }
.template-tools { gap: 0; background: #eeede6; border: 1px solid #e3dfd3; border-radius: 5px; }
.template-tools .tool-tile { border: 0; border-right: 1px solid #ded8cb; border-radius: 0; background: transparent; padding: 18px; min-height: 92px; gap: 12px; }
.template-tools .tool-tile:last-child { border-right: 0; }
.template-tools .tool-tile:hover { background: #e7e3d8; }
.template-tools .tool-icon { background: transparent !important; color: #7e715d !important; width: 25px; }
.template-tools .tool-icon .icon { width: 22px; height: 22px; }
.template-tools .tool-tile b { font-size: 13px; color: #5c5448; }
.template-tools .tool-tile small { font-size: 11px; color: #867969; }
.desk-section .continue-grid { grid-template-columns: 1fr; }
.continue-card { position: relative; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; min-height: 0; padding: 0 0 22px 28px; gap: 18px; }
.continue-bookmark { position: absolute; left: 0; top: 0; width: 10px; height: 31px; background: #a599b6; clip-path: polygon(0 0,100% 0,100% 100%,50% 84%,0 100%); }
.continue-bookmark span { display: none; }
.continue-cover { width: 51px; height: 72px; object-fit: contain; border-radius: 2px; background: transparent; box-shadow: 2px 3px 0 #e5dfd4; }
.continue-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 20px; align-items: center; }
.continue-card .tiny-label { margin: 0; grid-column: 1; font-size: 10px; color: #84786e; }
.continue-card h3 { grid-column: 1; font-size: 15px; line-height: 1.5; }
.continue-card .progress-note { grid-column: 1; margin: 3px 0 0; font-size: 11px; color: #847b72; }
.continue-footer { grid-column: 2; grid-row: 1 / span 3; gap: 20px; }
.continue-footer span { font-size: 11px; color: #8a7c6f; }
.round-arrow { width: 37px; height: 37px; background: #eae3ef; }
.page-heading h1,.book-page-heading h1 { font-family: var(--book-serif); font-weight: 600; font-size: 30px; letter-spacing: 0; }
.page-heading p,.book-page-heading>p:last-child { font-size: 13px; color: #7b746d; }
.page-heading .eyebrow { font-size: 10px; color: #887868; }
.book-page-heading { margin-bottom: 27px; }
.book-page-heading .eyebrow { margin-bottom: 9px; }
.book-page-heading>p:last-child { margin-top: 7px; }
.choice-card,.grade-card,.profile-placeholder { border-radius: 5px; border-color: var(--line); background: #fffefa; }
.choice-card p,.grade-card span { color: #7f756d; }
.choice-card small { color: #786384; }
.choice-card:hover,.grade-card:hover { border-color: #beacc5; background: #fcf9fc; }
.grade-card b { font-family: var(--book-serif); font-size: 24px; }
.grade-card { min-height: 124px; }
.choice-icon { border-radius: 4px; color: #80668f; background: #eee7f3; }
.path-nav { margin-bottom: 25px; color: #898075; }
.path-nav .text-link { color: #79677d; }
.textbook-confirm { position: relative; background: #fffefa; border: 1px solid #ded7cb; border-top: 3px solid #b9a3c8; border-radius: 3px 3px 7px 7px; padding: 36px; gap: 40px; box-shadow: 0 5px 0 -2px #f3eee4,0 6px 0 -2px #e4dcd0; }
.textbook-confirm::before { content: ""; position: absolute; top: -3px; right: 28px; width: 16px; height: 45px; background: #8e749d; clip-path: polygon(0 0,100% 0,100% 100%,50% 83%,0 100%); }
.confirm-cover { width: 205px; height: 287px; object-fit: contain; padding: 16px; border-radius: 2px; background: #ece8dd; border: 1px solid #e1d9ca; box-shadow: 4px 5px 0 #f2ede3,5px 6px 0 #d4c9ba; }
.confirm-heading { padding-right: 12px; }
.confirm-heading h2 { font-size: 28px; font-weight: 600; line-height: 1.45; margin: 2px 0 10px; letter-spacing: -.02em; }
.confirm-heading .version-caption { font-size: 13px; color: #7f7266; }
.confirm-actions { gap: 10px; margin: 25px 0 12px; }
.confirm-actions .primary-link { min-height: 46px; font-size: 13px; padding: 11px 18px; border-radius: 5px; background: #695098; gap: 14px; }
.confirm-actions .primary-link:hover { background: #543b80; }
.confirm-actions .button-secondary { min-height: 46px; background: transparent; border-color: #d9d0de; color: #796380; border-radius: 5px; padding: 10px 14px; }
.confirm-actions .button-secondary[aria-pressed="true"] { color: #536d60; background: #edf1e9; border-color: #d2dbcd; }
.confirm-tip { font-size: 12px; color: #80776f; }
.confirm-body dl { margin: 25px 0 18px; border-color: #e9e3d8; font-size: 13px; }
.confirm-body dl>div { border-color: #e9e3d8; padding: 12px 0; grid-template-columns: 108px minmax(0,1fr); }
.confirm-body dt { color: #8a7e71; }
.confirm-body dd { color: #5b5250; }
.version-evidence { border-left: 2px solid #d8c8b5; padding-left: 12px; color: #817365; font-size: 12px; }
.version-evidence summary { min-height: 32px; display: list-item; padding: 5px 0; }
.textbook-grid .course-card { border-radius: 4px; border-color: #e1dbd0; background: #fffefa; }
.textbook-card .course-cover-link { background: #eeeae0; border-bottom: 1px solid #e4ddcf; }
.textbook-card .course-cover-link img { border-radius: 1px; }
.course-card { border-radius: 6px; border-color: #e3ded5; background: #fffefa; }
.course-card .intro { color: #81746f; }
.course-tags span { color: #7e6f87; background: #f0eaf3; }
.simple-tabs .tab-link { border-color: #e0d8cf; border-radius: 4px; color: #7e7169; background: #fffefa; }
.simple-tabs .tab-link.active { background: #eae2f0; color: #644980; border-color: #d3c1dd; }
.button-secondary { background: #faf7fc; color: #735884; border-radius: 5px; min-height: 40px; }
.site-footer { align-self: stretch; width: auto; max-width: none; border-top: 1px solid #e7e1d7; color: #978a7b; font-size: 10px; margin: 0 40px; padding: 20px 0; }
.site-footer i { color: #a38d6d; }
.site-footer .icp-record { color: inherit; text-decoration: none; white-space: nowrap; }
.site-footer .icp-record:hover { color: #6d6258; text-decoration: underline; }
@media (min-width: 1650px) {
  .main { padding-top: 42px; }
  .desk-hero { grid-template-columns: minmax(0,1fr) 325px; }
  .desk-hero-copy { padding: 35px 38px; }
}
@media (max-width: 1280px) {
  .topbar { padding: 0 28px; }
  .main { padding: 30px 28px 20px; }
  .desk-hero { grid-template-columns: minmax(0,1fr) 230px; }
  .desk-hero-copy { padding: 27px 28px; }
  .stage-grid .choice-card { padding: 20px 15px; gap: 10px; }
  .stage-grid .choice-card h3 { font-size: 16px; }
  .template-tools .tool-tile { padding: 16px 12px; gap: 8px; }
  .site-footer { margin: 0 28px; }
  .textbook-confirm { padding: 30px; gap: 30px; }
}
@media (max-width: 1020px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { width: 244px; }
  .topbar { height: 70px; }
  .toast { left: 50%; }
}
@media (max-width: 850px) {
  .welcome-editorial h1 { font-size: 31px; }
  .stage-grid .choice-card { display: block; }
  .stage-grid .choice-card .choice-icon { margin-bottom: 12px; }
  .stage-grid .choice-card>.icon { display: none; }
  .goal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .template-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .template-tools .tool-tile { padding: 18px; }
  .template-tools .tool-tile:nth-child(2) { border-right: 0; }
  .template-tools .tool-tile:nth-child(-n+2) { border-bottom: 1px solid #ded8cb; }
  .confirm-cover { width: 165px; height: 235px; padding: 12px; }
}
@media (max-width: 640px) {
  .topbar { height: 64px; padding: 0 12px; gap: 8px; }
  .global-search { min-height: 40px; padding: 7px 10px; }
  .global-search input { font-size: 16px; }
  .avatar { width: 31px; height: 31px; font-size: 11px; }
  .main { padding: 25px 20px 16px; }
  .welcome-editorial { display: flex; gap: 10px; margin-bottom: 22px; }
  .welcome-editorial .eyebrow { font-size: 8px; letter-spacing: 1.4px; margin-bottom: 10px; }
  .welcome-editorial .eyebrow span { margin: 0 3px; }
  .welcome-editorial h1 { font-size: 28px; line-height: 1.4; letter-spacing: -.03em; }
  .welcome-editorial .page-intro { font-size: 12px; line-height: 1.8; margin-top: 8px; }
  .welcome-note { display: none; }
  .desk-hero { min-height: 0; grid-template-columns: minmax(0,1fr) 100px; border-radius: 5px; margin-bottom: 26px; }
  .desk-hero-copy { padding: 22px 0 22px 21px; }
  .desk-kicker { font-size: 11px; margin-bottom: 12px; gap: 5px; }
  .desk-kicker .icon { width: 13px; height: 13px; }
  .desk-hero h2 { font-size: 22px; line-height: 1.5; letter-spacing: -.04em; }
  .desk-hero-note { font-size: 11px; margin-top: 7px; }
  .desk-hero-actions { gap: 10px 15px; margin-top: 19px; }
  .desk-primary { font-size: 12px; padding: 9px 12px; gap: 12px; }
  .desk-secondary { font-size: 11px; gap: 3px; min-height: 36px; }
  .desk-secondary .icon { width: 13px; height: 13px; }
  .desk-position { font-size: 10px; line-height: 1.7; margin-top: 11px; }
  .desk-book-stage { padding: 25px 10px 50px; background: transparent; justify-content: flex-start; padding-top: 54px; }
  .desk-book-caption { font-size: 6px; letter-spacing: 1px; top: 24px; }
  .desk-book-cover,.desk-blank-book { height: auto; max-height: 105px; width: 64px; max-width: 64px; box-shadow: 3px 4px 0 #f7f2e9,4px 5px 0 #c7b9ce,7px 9px 12px #49325413; }
  .desk-blank-book { height: 94px; }
  .desk-blank-book b { font-size: 30px; }
  .desk-blank-book small { font-size: 5px; margin-top: 13px; }
  .desk-paper-tab { width: 12px; height: 35px; top: 45px; left: calc(50% + 21px); }
  .desk-book-baseline { width: 68px; top: 171px; bottom: auto; }
  .desk-book-footnote { font-size: 11px; bottom: auto; top: 183px; text-align: center; white-space: nowrap; }
  .home-section { margin-bottom: 27px; }
  .home-section>.section-title h2 { font-size: 17px; }
  .section-title .text-link { font-size: 12px; }
  .section-title .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .bookshelf-section { padding-bottom: 23px; }
  .shelf-empty { display: grid; grid-template-columns: 35px minmax(0,1fr); gap: 12px; padding: 17px 15px; }
  .shelf-empty-mark { width: 35px; height: 44px; }
  .shelf-empty-mark .icon { width: 19px; height: 19px; }
  .shelf-empty b { font-size: 13px; }
  .shelf-empty p { font-size: 12px; line-height: 1.8; }
  .shelf-empty .button-secondary { grid-column: 2; justify-self: start; margin-left: 0; min-height: 40px; font-size: 12px; padding: 7px 12px; }
  .bookshelf { grid-template-columns: 1fr; gap: 12px; }
  .shelf-book { padding: 17px; gap: 16px; }
  .my-textbook>img,.my-textbook>.cover-placeholder { width: 58px; height: 83px; }
  .my-textbook b { font-size: 15px; }
  .my-textbook p { font-size: 12px; }
  .my-textbook .text-link { min-height: 36px; }
  .numbered-heading { gap: 11px; }
  .section-number { font-size: 29px; min-width: 29px; }
  .section-title>.subtle { font-size: 11px; }
  .stage-grid { gap: 11px; }
  .stage-grid .choice-card { display: flex; min-height: 0; align-items: center; padding: 18px 16px; gap: 14px; }
  .stage-grid .choice-card .choice-icon { margin-bottom: 0; width: 35px; height: 39px; }
  .stage-grid .choice-card h3 { font-size: 17px; }
  .stage-grid .choice-card p { font-size: 12px; color: #7b7066; margin-top: 5px; }
  .stage-grid .choice-card>.icon { display: block; margin-top: 0; }
  .goals-section .goal-grid { grid-template-columns: 1fr; }
  .goals-section .choice-card { padding: 16px 2px; gap: 13px; }
  .goals-section .choice-card h3 { font-size: 15px; }
  .goals-section .choice-card p { font-size: 12px; }
  .template-tools .tool-tile { gap: 9px; padding: 17px 12px; align-items: flex-start; min-height: 95px; }
  .template-tools .tool-tile b { font-size: 13px; }
  .template-tools .tool-tile small { font-size: 11px; line-height: 1.7; }
  .template-tools .tool-icon { width: 20px; height: 26px; }
  .template-tools .tool-icon .icon { width: 19px; height: 19px; }
  .continue-card { gap: 15px; padding: 0 0 18px 22px; }
  .continue-cover { width: 43px; height: 65px; }
  .continue-body { gap: 3px 12px; }
  .continue-card h3 { font-size: 14px; }
  .continue-card .progress-note { font-size: 11px; }
  .continue-footer span { display: none; }
  .continue-footer .sr-only { display: block; }
  .round-arrow { width: 35px; height: 35px; }
  .page-heading h1,.book-page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 13px; }
  .path-nav { margin-bottom: 20px; font-size: 11px; }
  .path-nav .text-link { font-size: 11px; }
  .book-page-heading { margin-bottom: 21px; }
  .book-page-heading .eyebrow { font-size: 8px; margin-bottom: 7px; }
  .book-page-heading>p:last-child { font-size: 12px; }
  .textbook-confirm { padding: 21px 18px; grid-template-columns: 86px minmax(0,1fr); gap: 21px 18px; border-radius: 3px; }
  .textbook-confirm::before { width: 12px; height: 30px; right: 18px; }
  .textbook-confirm .confirm-cover { width: 86px; height: 128px; padding: 5px; }
  .confirm-heading { padding-right: 0; }
  .confirm-heading h2 { font-size: 23px; line-height: 1.45; margin-bottom: 7px; }
  .confirm-heading .version-caption { font-size: 12px; line-height: 1.75; }
  .confirm-actions { margin: 0; gap: 10px; }
  .confirm-actions .primary-link,.confirm-actions .button-secondary { min-height: 44px; padding: 10px 12px; font-size: 12px; }
  .confirm-tip { font-size: 12px; line-height: 1.8; }
  .confirm-body dl { margin: 0; font-size: 12px; }
  .confirm-body dl>div { grid-template-columns: 78px minmax(0,1fr); font-size: 12px; gap: 10px; padding: 11px 0; }
  .version-evidence { margin: 0; font-size: 12px; }
  .textbook-card .version-caption { font-size: 12px; }
  .textbook-card .course-info h2 { font-size: 14px; }
  .site-footer { margin: 0 20px; padding: 19px 0; gap: 10px; font-size: 9px; }
}
@media (max-width: 374px) {
  .main { padding-left: 16px; padding-right: 16px; }
  .welcome-editorial h1 { font-size: 25px; }
  .welcome-editorial .eyebrow { letter-spacing: 1px; font-size: 7px; }
  .welcome-editorial .page-intro { font-size: 11px; }
  .desk-hero { grid-template-columns: minmax(0,1fr) 80px; }
  .desk-hero-copy { padding-left: 17px; }
  .desk-hero h2 { font-size: 21px; }
  .desk-hero-actions { gap: 4px 10px; }
  .desk-book-cover,.desk-blank-book { width: 53px; max-width: 53px; }
  .desk-book-footnote { font-size: 9px; }
  .textbook-confirm { grid-template-columns: 70px minmax(0,1fr); gap: 19px 14px; padding: 20px 15px; }
  .textbook-confirm .confirm-cover { width: 70px; height: 108px; }
  .confirm-heading h2 { font-size: 21px; }
  .confirm-heading .version-caption { font-size: 11px; }
  .confirm-actions { flex-direction: column; align-items: stretch; }
  .section-title .text-link { font-size: 11px; }
  .template-tools .tool-tile { padding: 16px 10px; gap: 7px; }
}
@media (prefers-reduced-motion: no-preference) {
  .desk-primary,.primary-link,.choice-card,.tool-tile,.shelf-book { transition: background .16s, border-color .16s, color .16s; }
}
