.medical-hero .hero-description{max-width:420px}.study-card{position:absolute;top:92px;left:30px;right:15px;max-width:420px;background:#fff;border:1px solid #e1e6f1;border-radius:12px;box-shadow:0 22px 45px #43577b1c;transform:rotate(-3deg);overflow:hidden}.study-card-top{display:flex;justify-content:space-between;background:#f8f9fc;border-bottom:1px solid var(--line);padding:13px 21px;font-size:9px;color:#8b98b1;letter-spacing:1px}.study-card-top>span:last-child{font-family:var(--mono);font-size:8px;letter-spacing:2px}.study-card-title{font:28px var(--serif);letter-spacing:3px;padding:23px 25px 19px}.study-card-title>span{display:block;font:10px var(--sans);letter-spacing:.3px;color:#929db1;margin-top:12px}.study-steps{display:flex;padding:6px 25px 25px;gap:21px}.study-steps>div{flex:1;min-width:0}.study-steps>div>span{display:grid;place-items:center;width:30px;height:30px;background:#edf0f8;color:var(--accent);font:15px var(--serif);border-radius:8px}.study-steps p{font-size:11px;margin-top:12px;white-space:nowrap}.study-steps small{display:block;font-size:8px;color:#9da6b7;margin-top:6px;line-height:1.9;white-space:normal}.study-card-bottom{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:12px 23px;font:10px var(--serif);color:#a1aabd;letter-spacing:1px}.subject-section{padding-bottom:55px}.subject-section:only-child{padding-top:45px}.chapter-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.chapter-toolbar .search-box{width:330px;background:white;padding:10px 13px;border-color:var(--line)}.chapter-toolbar .search-box input{font-size:11px}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.chapter-card{border:1px solid var(--line);border-radius:9px;background:#fff;padding:23px 25px;display:flex;flex-direction:column;min-height:195px;transition:border-color .2s,box-shadow .2s}.chapter-card:hover{border-color:#cbd5e9;box-shadow:0 8px 22px #5267a80a}.chapter-card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.chapter-index{font:16px var(--mono);color:#9ba8c3}.chapter-question-count{font-size:10px;color:#a1aabd}.chapter-card h3{font-size:16px;font-weight:500;line-height:1.7;letter-spacing:.4px}.chapter-meta{display:flex;gap:12px;color:#9ba5b6;font-size:9px;margin-top:12px;flex-wrap:wrap}.chapter-card-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f6;padding-top:16px;margin-top:auto;gap:12px}.chapter-meta+.chapter-card-actions{margin-top:23px}.chapter-practice{font-size:11px;color:var(--accent);font-weight:500}.chapter-lecture{font-size:10px;color:#929fb7}.chapter-card a:hover{color:#354d90}.chapter-progress{height:3px;background:#f1f3f8;margin-top:20px;margin-bottom:15px;border-radius:3px;overflow:hidden}.chapter-progress>span{display:block;height:100%;background:#9baed4}.materials-note{display:flex;gap:13px;color:#959fb1;font-size:10px;line-height:2;margin-top:27px;max-width:900px}.materials-note>span{font-size:20px;color:#aeb9ce}.medical-library{padding:43px 0 60px}.medical-library .section-heading h1{font-size:25px}.medical-filter{display:flex;gap:18px;align-items:flex-end;padding:20px 23px;border-bottom:1px solid var(--line);flex-wrap:wrap}.chapter-select-label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#8d98ad}.chapter-select-label select{font:11px var(--sans);padding:9px 28px 9px 11px;border:1px solid #e6eaf3;background:#fafbfe;border-radius:5px;color:#586984;max-width:280px;height:36px;min-width:112px}.medical-search{display:flex;gap:9px;margin-left:auto;align-items:center}.medical-search .search-box{width:240px;height:36px}.medical-search .button{min-height:36px}.medical-table .question-title{font-size:12px;line-height:1.9}.medical-table .question-subtitle{font-size:9px;color:#9aa6ba;line-height:1.7}.medical-table td{padding-top:21px;padding-bottom:21px}.medical-table .number-column{width:74px}.type-column{width:76px}.record-column{width:70px}.type-badge{font-size:10px;display:inline-flex;padding:4px 8px;border-radius:5px;color:#7086b4;background:#eef2fa;white-space:nowrap}.type-badge.multiple{color:#9a83ac;background:#f3eff8}.type-badge.text{color:#a68e64;background:#f8f4ec}.record-status{font-size:10px;color:#a4adbd;white-space:nowrap}.record-status.right,.result-correct{color:#5f927e}.record-status.wrong,.result-wrong{color:#b77584}.record-status.done{color:#8c91a3}.pagination{display:flex;gap:8px}.pagination button{width:29px;height:26px;background:#fff;color:var(--accent);border:1px solid #e3e8f2;border-radius:4px}.pagination button:disabled{color:#c2c9d7;opacity:.7}.quiz-breadcrumb{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.quiz-breadcrumb .back-link{margin:0}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:23px;align-items:start}.quiz-panel{padding:30px}.quiz-topline{display:flex;align-items:center;justify-content:space-between;gap:18px}.quiz-topline .eyebrow{font-size:10px;letter-spacing:1px;line-height:1.9}.quiz-number{font-size:12px;color:#657797;margin-top:29px;margin-bottom:19px}.quiz-number span{font-size:10px;margin-left:13px;color:#9da7ba}.quiz-stem{font-size:18px;font-weight:500;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:26px}.case-material{background:#f5f7fc;border:1px solid #e8ecf4;border-left:3px solid #c3cee5;padding:17px 19px;border-radius:6px;margin:0 0 25px}.case-material>span{font-size:10px;color:#8392ae;letter-spacing:1px}.case-material p{font-size:12px;color:#6f7e98;line-height:2;white-space:pre-wrap;margin-top:9px;overflow-wrap:anywhere}.source-caution{background:#faf6ed;border:1px solid #eee6d2;color:#a18c62;padding:12px 15px;font-size:11px;line-height:1.9;border-radius:6px;margin-bottom:22px}.option-list{display:grid;gap:11px}.answer-option{display:flex;align-items:center;gap:13px;padding:15px 17px;min-height:57px;border:1px solid #e5eaf3;border-radius:7px;background:#fff;cursor:pointer;position:relative;transition:background .18s,border-color .18s}.answer-option:hover{border-color:#b7c5e3;background:#fbfcff}.answer-option:focus-within{outline:2px solid #8d9ed4;outline-offset:2px}.answer-option input{position:absolute;opacity:0;width:1px;height:1px}.option-letter{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border:1px solid #dfe5ef;border-radius:50%;font:12px var(--mono);color:#8f9db7;background:#f9fafe}.answer-option:has(input[type=checkbox]) .option-letter{border-radius:6px}.option-copy{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;flex:1;min-width:0}.answer-option.chosen{border-color:#9aaed5;background:#f1f4fb}.chosen .option-letter{border-color:var(--accent);background:var(--accent);color:#fff}.answer-option.correct{border-color:#a5ccba;background:#f1f8f4}.correct .option-letter{border-color:#83b19a;color:#4e856b;background:#e8f3ed}.answer-option.incorrect{border-color:#dcb2bd;background:#fcf4f6}.incorrect .option-letter{border-color:#c995a4;color:#a9697c;background:#f8eaf0}.option-check{color:#65927c}.medical-text-answer label{font-size:11px;line-height:1.9}.medical-text-answer textarea{width:100%;min-height:200px;resize:vertical;padding:17px;border:1px solid var(--line);border-radius:7px;background:#fafbfe;color:var(--ink);font-size:13px;line-height:2}.quiz-submit-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:25px 0}.quiz-submit-row>div{display:flex;gap:20px;align-items:center;flex-shrink:0}.quiz-submit-row>.muted{font-size:10px}.reveal-button{font-size:10px;color:#98a4bb}.solution-panel{background:#f8fafd;border:1px solid #e1e7f2;border-radius:7px;padding:22px 24px;margin-top:25px}.solution-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.solution-heading h2{font-size:16px;font-weight:500}.solution-heading>span{font-size:11px}.reference-answer{margin:19px 0}.reference-answer h3,.explanation h3{font-size:11px;color:#8a98b2;margin-bottom:9px;font-weight:400}.reference-answer p{font-size:14px;color:#52678c;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.explanation p{font-size:12px;line-height:2.1;color:#6a7a95;white-space:pre-wrap;overflow-wrap:anywhere}.solution-source{font-size:9px;color:#a4aec0;line-height:1.8;border-top:1px solid #e6ebf4;padding-top:15px;margin-top:23px;overflow-wrap:anywhere}.solution-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px}.solution-actions .muted{font-size:9px}.solution-actions button{flex-shrink:0;font-size:10px}.question-navigation{display:flex;justify-content:space-between;gap:20px;margin-top:27px;padding-top:23px;border-top:1px solid var(--line)}.quiz-progress-card{padding:24px}.quiz-progress-card h2{font-size:16px;font-weight:500;line-height:1.8;margin-top:15px}.study-progress-number{font:36px var(--mono);margin-top:27px;color:#758ab7}.study-progress-number span{font:11px var(--sans);color:#a0aabe;margin-left:8px}.quiz-progress-card .muted{font-size:9px;margin-top:7px}.quiz-progress-card .button{width:100%;margin-top:24px;font-size:10px}.study-tip{padding:25px 19px;color:#939fb4}.study-tip>span{font-family:var(--serif);font-size:31px;color:#bdc8df}.study-tip h3{font:18px var(--serif);letter-spacing:1px;line-height:1.8;margin:12px 0}.study-tip p{font-size:10px;line-height:2}.lecture-page{padding:30px 0 50px}.lecture-page .section-heading{margin:30px 0 23px}.lecture-page .section-heading h1{font-size:25px}.lecture-frame{width:100%;height:78vh;min-height:500px;border:1px solid var(--line);border-radius:9px;background:#fff;display:block}.study-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:15px}.study-stats>div{background:white;border:1px solid var(--line);padding:23px 26px;border-radius:8px;display:flex;align-items:center;gap:20px}.study-stats strong{font:32px var(--mono);font-weight:400;color:#7e91ba}.study-stats span{font-size:11px;color:#9aa5b7}.progress-scope{font-size:10px;line-height:1.9;color:#a0aabd;margin-bottom:25px}.recent-records{margin-top:23px}.recent-record{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:17px 0;font-size:11px;line-height:1.9}.recent-record>span:last-child{white-space:nowrap}.header-inner{gap:28px}.nav{gap:27px}
@media(max-width:1100px){.chapter-grid{gap:15px}.chapter-card{padding:20px}.chapter-card h3{font-size:14px}.study-card{left:12px;right:0}.study-steps{gap:12px;padding-left:21px;padding-right:21px}.quiz-layout{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.quiz-panel{padding:25px}.quiz-submit-row{align-items:flex-start;flex-direction:column;gap:13px}.quiz-submit-row>div{align-self:flex-end}.medical-search{margin-left:0}.medical-search .search-box{width:220px}.medical-filter{gap:14px}}
@media(max-width:780px){.nav{gap:32px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-toolbar .muted{font-size:9px}.study-card{left:9px;top:87px;right:0}.study-card-top{padding:11px 15px;font-size:8px}.study-card-title{font-size:25px;padding:20px 18px 15px}.study-card-title>span{font-size:9px;line-height:1.8}.study-steps{padding:4px 18px 20px;gap:10px}.study-steps>div>span{width:26px;height:26px;font-size:14px}.study-steps p{font-size:9px;margin-top:10px}.study-steps small{font-size:7px;line-height:1.8}.study-card-bottom{font-size:9px;padding:11px 17px}.medical-hero h1{font-size:40px}.medical-hero .hero-description{font-size:11px;max-width:280px;line-height:2}.medical-hero .hero-actions{flex-wrap:wrap;gap:13px}.medical-hero .hero-actions .quiet-link{font-size:10px}.medical-hero .hero-footnote{font-size:8px}.quiz-layout{grid-template-columns:minmax(0,1fr)}.quiz-sidebar{display:none}.medical-filter{padding:17px 20px}.medical-search{flex:1}.medical-search .search-box{flex:1;width:auto}.chapter-select-label select{max-width:250px}.type-column{width:65px}.record-column{width:60px}.medical-table .number-column{width:64px}.quiz-stem{font-size:17px}.study-stats{gap:12px}.study-stats>div{padding:20px;gap:13px}.study-stats strong{font-size:28px}.study-stats span{font-size:9px}.chapter-toolbar{gap:13px}.chapter-toolbar>.muted{display:none}.chapter-toolbar .search-box{width:100%}.subject-section:only-child{padding-top:30px}.chapter-card h3{font-size:15px}}
@media(max-width:540px){.nav{gap:24px;justify-content:space-around}.nav a{font-size:11px}.medical-hero h1{font-size:45px}.medical-hero .hero-description{font-size:12px;max-width:100%;line-height:2}.medical-hero .hero-actions{flex-wrap:nowrap;gap:20px}.medical-hero .hero-actions .button{padding:12px 17px;gap:10px;font-size:11px}.medical-hero .hero-actions .quiet-link{font-size:10px;gap:5px}.medical-hero .hero-footnote{font-size:9px}.medical-hero .hero-art{height:360px;margin-top:17px}.study-card{top:95px;left:6px;right:6px}.study-card-title{font-size:27px;padding:21px 21px 17px}.study-card-title>span{font-size:10px}.study-card-top{padding:12px 19px}.study-steps{padding:4px 21px 21px;gap:14px}.study-steps>div>span{width:27px;height:27px}.study-steps p{font-size:10px}.study-steps small{font-size:8px}.study-card-bottom{padding:12px 21px;font-size:10px}.medical-hero .moon-caption{bottom:4px}.chapter-grid{grid-template-columns:minmax(0,1fr);gap:13px}.chapter-card{min-height:178px;padding:20px 23px}.chapter-card-heading{margin-bottom:14px}.chapter-card h3{font-size:16px}.chapter-meta{font-size:9px}.chapter-meta+.chapter-card-actions{margin-top:20px}.chapter-card-actions{padding-top:15px}.chapter-practice{font-size:11px}.chapter-lecture{font-size:10px}.materials-note{font-size:9px;gap:9px}.subject-section{padding-bottom:37px}.subject-section .section-heading{align-items:flex-start}.subject-section .section-heading>.quiet-link{margin-top:29px;font-size:9px}.medical-library{padding:30px 0 40px}.medical-library .section-heading{align-items:flex-start;flex-direction:column;gap:15px}.medical-library .section-heading h1{font-size:22px}.medical-filter{padding:15px;gap:13px 10px}.chapter-select-label:first-child{flex:1;min-width:0}.chapter-select-label select{max-width:100%;min-width:0;width:100%;font-size:10px}.chapter-select-label:nth-child(2){width:90px;flex-shrink:0}.medical-search{width:100%;flex-basis:100%;margin-top:1px}.medical-search .search-box{min-width:0;padding:9px}.medical-search input{font-size:10px}.medical-search .button{font-size:10px;padding:8px 11px;min-height:35px}.medical-table .question-title{font-size:11px;line-height:1.9}.medical-table .question-subtitle{font-size:8px}.medical-table .number-column{width:47px}.medical-table .type-column{width:49px}.medical-table .record-column{width:44px}.medical-table .open-column{width:28px}.medical-table .type-badge{font-size:8px;padding:4px 5px}.medical-table .record-status{font-size:8px}.medical-table td,.medical-table th{padding-left:6px;padding-right:6px}.medical-table td:first-child,.medical-table th:first-child{padding-left:12px}.medical-table td{padding-top:18px;padding-bottom:18px}.medical-table .open-question{width:20px;height:23px;font-size:11px}.medical-table .question-number{font-size:9px}.quiz-panel{padding:23px 17px}.quiz-topline{gap:13px;align-items:flex-start}.quiz-topline .eyebrow{font-size:9px;letter-spacing:.5px}.quiz-topline .type-badge{font-size:9px}.quiz-number{margin-top:22px;font-size:11px}.quiz-number span{font-size:9px}.quiz-stem{font-size:16px;line-height:1.95;margin-bottom:21px}.case-material{padding:15px;border-radius:5px}.case-material p{font-size:11px;line-height:2}.source-caution{padding:11px 12px;font-size:10px}.answer-option{padding:13px 12px;gap:10px}.option-letter{width:24px;height:24px;font-size:11px}.option-copy{font-size:11px;line-height:1.9}.quiz-submit-row{padding:23px 0 8px}.quiz-submit-row>div{gap:17px}.quiz-submit-row>.muted{font-size:9px}.quiz-submit-row .button{font-size:11px}.solution-panel{padding:19px 15px;margin-top:24px}.solution-heading{gap:8px}.solution-heading h2{font-size:15px}.solution-heading>span{font-size:10px;white-space:nowrap}.reference-answer p{font-size:12px}.explanation p{font-size:11px;line-height:2.1}.solution-source{font-size:8px}.solution-actions{flex-direction:column;align-items:flex-start;gap:10px}.question-navigation{margin-top:23px}.question-navigation .button{font-size:10px;min-height:35px}.quiz-breadcrumb .quiet-link{font-size:10px}.quiz-breadcrumb .back-link{font-size:11px}.lecture-page{padding-top:25px}.lecture-page .section-heading{align-items:flex-start;flex-direction:column;gap:13px}.lecture-page .section-heading h1{font-size:22px}.lecture-page .quiet-link{font-size:10px}.lecture-frame{height:76vh;min-height:420px;border-radius:6px}.study-stats{gap:8px}.study-stats>div{padding:18px 10px;display:flex;flex-direction:column;gap:9px}.study-stats strong{font-size:25px}.study-stats span{font-size:8px}.progress-scope{font-size:9px}.recent-record{font-size:10px;gap:12px;align-items:flex-start}.recent-record>span:last-child{font-size:9px}.recent-records .panel-heading h2{font-size:13px}.recent-records .panel-heading .quiet-link{font-size:9px}.subject-section .count-label{font-size:9px;white-space:nowrap;margin-top:8px}}

@media(max-width:540px){.medical-table th:first-child{font-size:9px;white-space:nowrap}}

/* Multi-subject navigation and learning records. */
select:focus-visible{outline:3px solid #8d9ed4;outline-offset:3px}.catalog-section{padding-top:3px}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.subject-grid.single-subject{grid-template-columns:1fr}.subject-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;position:relative;overflow:hidden}.subject-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.subject-symbol{font:23px var(--serif);color:#7185b1;display:grid;place-items:center;width:49px;height:49px;border-radius:13px;background:#edf1fa}.subject-status{display:flex;align-items:center;gap:6px;color:#8ca99b;font-size:9px;letter-spacing:1px}.subject-status i{width:4px;height:4px;border-radius:50%;background:#90b4a1}.subject-card h3{font:27px var(--serif);letter-spacing:2px;line-height:1.6;font-weight:500}.subject-card h3:hover{color:var(--accent)}.subject-description{max-width:540px;color:#8d99af;font-size:11px;line-height:2;margin-top:10px;min-height:40px}.subject-numbers{display:flex;gap:27px;margin:22px 0 25px;flex-wrap:wrap;color:#9ba6b8;font-size:10px}.subject-numbers strong{font:22px var(--mono);color:#778ab0;margin-right:5px}.subject-card-links{display:flex;align-items:center;gap:23px;padding-top:20px;border-top:1px solid var(--line);flex-wrap:wrap}.subject-card-links .quiet-link{font-size:10px;gap:7px}.subject-progress{margin-bottom:20px}.subject-progress>span{font-size:9px;color:#9ba9c1}.subject-progress>div{margin-top:8px;height:3px;background:#f0f3f9;border-radius:3px;overflow:hidden}.subject-progress i{display:block;height:100%;background:#9aadd4}.learning-aside{display:grid;gap:15px}.continue-card{padding:25px 24px;border:1px solid #e0e6f2;border-radius:9px;background:#edf0f8}.continue-card h3{font:21px/1.7 var(--serif);font-weight:500;letter-spacing:1px;margin:15px 0 11px}.continue-card>p{font-size:10px;color:#8b98b1;line-height:2}.continue-card>p.continue-subject{font-size:9px;color:#9aa5bb;margin-top:13px}.continue-card>p.continue-title{font-size:11px;line-height:1.9;color:#6d7f9e;margin-top:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.continue-card .quiet-link{font-size:10px;color:#798db5;margin-top:21px}.learning-shortcuts{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.learning-shortcuts>a{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;font-size:11px;color:#8291ac}.learning-shortcuts>a+a{border-top:1px solid #eef0f6}.learning-shortcuts strong{font:15px var(--mono);font-weight:400;color:#7c90b9}.learning-shortcuts i{font:12px var(--sans);font-style:normal;color:#a4b0c6;margin-left:13px}.learning-shortcuts a:hover{background:#fafbfe;color:var(--accent)}.scope-footnote{font-size:9px;color:#a2acbe;line-height:1.9;padding:0 5px}.scoped-section{padding-top:30px}.scoped-section .back-link{margin-bottom:26px}.subject-switch-row{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-bottom:28px}.subject-switch-row h1{font:32px/1.7 var(--serif);font-weight:500;letter-spacing:2px;margin-top:9px}.subject-switch-row>div>p{font-size:11px;color:#94a0b4;line-height:1.9;margin-top:7px;max-width:750px}.subject-picker{display:flex;flex-direction:column;gap:8px;color:#96a1b7;font-size:9px;flex-shrink:0;min-width:145px}.subject-picker select{font:11px var(--sans);color:#647997;border:1px solid #dfe6f2;background:white;border-radius:6px;padding:9px 32px 9px 12px;min-height:37px;max-width:220px;width:100%}.subject-local-nav{display:flex;gap:28px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:26px;overflow:auto}.subject-local-nav>a{padding:13px 0 16px;white-space:nowrap;font-size:11px;color:#99a4b8;border-bottom:2px solid transparent}.subject-local-nav>a.active{border-color:#778bb6;color:var(--accent)}.subject-local-nav>a>span{font:10px var(--mono);margin-left:6px;opacity:.7}.subject-local-nav>a:hover{color:var(--accent)}.subject-filter-label select{min-width:140px}.unavailable-subject{margin:40px 0}.records-toolbar{display:flex;align-items:center;gap:25px;justify-content:space-between;padding-bottom:23px;border-bottom:1px solid var(--line);margin-bottom:5px;flex-wrap:wrap}.records-toolbar .filter-tabs{width:auto;margin-top:18px}.records-toolbar .filter-tabs button{font-size:11px;padding:9px 13px}.records-toolbar>.quiet-link{font-size:11px;margin-top:18px}.record-question{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:23px 0;border-bottom:1px solid #edf0f6}.record-question>div{min-width:0}.record-breadcrumb{font-size:9px;color:#a0adc3;line-height:1.9}.record-question h3{font-size:12px;line-height:1.9;font-weight:400;color:#627592;margin-top:8px;overflow-wrap:anywhere}.record-question time{display:block;font-size:9px;color:#b0b8c8;margin-top:9px}.record-question .record-status{font-size:10px;flex-shrink:0}.record-question:hover h3{color:var(--accent)}.recent-records>.table-footer{padding-left:0;padding-right:0}.records-empty{padding:50px 15px;text-align:center}.records-empty>span{display:block;color:#c2cce0;font:45px var(--serif);margin-bottom:15px}.records-empty h2{font-size:19px;font-weight:400;letter-spacing:1px}.records-empty p{font-size:11px;line-height:1.9;color:#a0aabc;margin-top:13px}.records-empty .quiet-link{margin-top:23px;font-size:11px}.medical-filter>.chapter-select-label:nth-child(2){width:auto;flex:1;min-width:180px}.medical-filter>.chapter-select-label:nth-child(3){width:115px;flex-shrink:0}.medical-filter .medical-search{flex-basis:100%;width:100%;margin:0;max-width:100%}.medical-filter .medical-search .search-box{width:auto;flex:1}.medical-filter .subject-filter-label{width:170px;flex-shrink:0}
@media(max-width:1100px){.catalog-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.subject-card{padding:24px}.subject-card h3{font-size:25px}.subject-numbers{gap:18px}.subject-card-links{gap:18px}.subject-grid:not(.single-subject){grid-template-columns:1fr}.continue-card{padding:23px 21px}.continue-card h3{font-size:20px}.subject-switch-row h1{font-size:29px}}
@media(max-width:780px){.catalog-layout{grid-template-columns:minmax(0,1fr)}.learning-aside{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.scope-footnote{grid-column:1/-1;margin-top:-6px}.learning-shortcuts{align-self:start}.subject-grid:not(.single-subject){grid-template-columns:repeat(2,minmax(0,1fr))}.subject-card-links{gap:15px}.subject-switch-row{gap:25px}.subject-switch-row h1{font-size:27px}.subject-picker{min-width:130px}.subject-local-nav{gap:23px}.subject-local-nav>a{font-size:10px}.records-toolbar{gap:18px}.records-toolbar>.quiet-link{font-size:10px}.medical-filter>.chapter-select-label:nth-child(2){min-width:120px}.medical-filter .subject-filter-label{width:140px}}
@media(max-width:540px){.catalog-section{padding-top:0}.catalog-section .section-heading{align-items:flex-start}.catalog-section .section-heading h2{font-size:20px;line-height:1.7;max-width:245px}.catalog-section .count-label{max-width:65px;white-space:normal;text-align:right;font-size:9px;margin-top:29px;line-height:1.9}.subject-card{padding:23px}.subject-card h3{font-size:27px}.subject-card-top{margin-bottom:17px}.subject-symbol{width:44px;height:44px;font-size:21px;border-radius:12px}.subject-description{font-size:10px;line-height:2}.subject-numbers{gap:22px;margin:22px 0;font-size:9px}.subject-numbers strong{font-size:21px}.subject-card-links{gap:20px}.subject-card-links .button{font-size:10px}.subject-card-links .quiet-link{font-size:9px}.subject-grid:not(.single-subject){grid-template-columns:minmax(0,1fr)}.learning-aside{grid-template-columns:minmax(0,1fr);gap:14px}.scope-footnote{grid-column:auto;margin-top:0}.continue-card h3{font-size:22px}.continue-card>p{font-size:11px}.learning-shortcuts>a{font-size:11px}.scoped-section{padding-top:25px}.scoped-section .back-link{font-size:11px;margin-bottom:23px}.subject-switch-row{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:17px}.subject-switch-row h1{font-size:28px;line-height:1.7;margin-top:7px}.subject-switch-row>div>p{font-size:10px}.subject-switch-row .subject-picker{flex-direction:row;align-items:center;gap:12px;width:100%;font-size:10px}.subject-switch-row .subject-picker select{flex:1;max-width:none;font-size:11px}.subject-local-nav{gap:22px;margin-bottom:21px}.subject-local-nav>a{font-size:10px;padding:13px 0}.subject-local-nav>a>span{font-size:9px;margin-left:3px}.medical-filter .subject-filter-label{flex:1 0 100%;width:100%;min-width:0}.medical-filter>.chapter-select-label:nth-child(2){flex:1;width:auto;min-width:0}.medical-filter>.chapter-select-label:nth-child(3){width:89px;flex:none}.medical-filter .subject-filter-label select{min-width:0;max-width:100%;width:100%}.records-toolbar{gap:18px;align-items:center;padding-bottom:19px}.records-toolbar .subject-picker{flex-basis:100%;flex-direction:row;align-items:center;gap:12px;font-size:10px}.records-toolbar .subject-picker select{max-width:none;flex:1}.records-toolbar .filter-tabs{margin-top:0;gap:7px}.records-toolbar .filter-tabs button{font-size:10px;padding:8px 11px}.records-toolbar>.quiet-link{margin-top:0;font-size:9px}.record-question{padding:20px 0;gap:13px;align-items:flex-start}.record-breadcrumb{font-size:8px}.record-question h3{font-size:11px;line-height:1.9;margin-top:7px}.record-question time{font-size:8px}.record-question .record-status{font-size:9px;margin-top:29px}.records-empty{padding:36px 12px}.records-empty h2{font-size:18px}.records-empty p{font-size:10px}.study-card-title{letter-spacing:1px;font-size:25px}}

/* Quiz & explanation experience enhancements (v=multi-2) */
.pagination-group{display:flex;align-items:center;gap:14px}
.page-jump-form{display:inline-flex;align-items:center;gap:6px}
.page-jump-form input{width:56px;height:26px;padding:0 7px;border:1px solid #dfe5f2;border-radius:4px;background:#fafbfe;font:10px var(--mono);color:var(--ink);text-align:center}
.page-jump-form input::-webkit-inner-spin-button,.page-jump-form input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.page-jump-form .text-button{font-size:10px;padding:2px 4px}
.quiz-breadcrumb-actions{display:flex;align-items:center;gap:16px}
.mobile-matrix-toggle{display:none;font-size:11px;padding:5px 10px;border:1px solid #dce3f1;border-radius:5px;background:#fff}
.quiz-number-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px;margin-bottom:19px;flex-wrap:wrap}
.quiz-number-bar .quiz-number{margin:0}
.quick-jump-inline{display:inline-flex;align-items:center;gap:6px;background:#f7f9fd;border:1px solid #e3e9f4;border-radius:6px;padding:3px 9px}
.quick-jump-inline input{width:76px;border:0;background:transparent;font-size:11px;color:var(--ink);outline:none;height:22px}
.quick-jump-inline input:focus-visible{outline:none}
.quick-jump-inline .text-button{font-size:10px;padding:2px 4px;white-space:nowrap}
.option-kbd{font:10px var(--mono);color:#9aa7c0;background:#f4f6fb;border:1px solid #e2e8f3;border-radius:4px;padding:2px 6px;flex-shrink:0;opacity:.75;transition:opacity .15s,background .15s}
.answer-option:hover .option-kbd,.answer-option.chosen .option-kbd{opacity:1;border-color:#c5d1ea;background:#ebf0fa;color:var(--accent)}
.option-cross{color:#b77584;font-weight:600;font-size:14px}
.quiz-submit-hints{display:flex;flex-direction:column;gap:7px}
.shortcut-bar{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#8c98b0;flex-wrap:wrap}
.shortcut-bar kbd,.shortcut-inline kbd{font:10px var(--mono);background:#f1f4fa;border:1px solid #dce3f0;border-radius:4px;padding:1px 5px;color:#5f7091;box-shadow:0 1px 0 #d4dceb}
.solution-panel.is_correct{border-color:#c6dfd2;background:#f6fbf8}
.solution-panel.is_wrong{border-color:#e5c8d0;background:#fdf8f9}
.answer-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.compare-box{background:#fff;border:1px solid #e4eaf4;border-radius:6px;padding:11px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.compare-label{font-size:10px;color:#8b98b1}
.compare-box strong{font:15px var(--mono);font-weight:600;color:#4f6388;letter-spacing:1px}
.Compare-box strong.result-correct,.compare-box strong.result-correct{color:#4e856b}
.compare-box strong.result-wrong{color:#b06375}
.explanation-blocks{display:grid;gap:10px;margin-top:10px}
.explanation-item{display:flex;align-items:flex-start;gap:11px;padding:11px 14px;background:#fff;border:1px solid #e7ecf5;border-radius:6px;transition:border-color .15s}
.explanation-item.kind-option-right,.explanation-item.kind-conclusion{border-left:3px solid #7aa993;background:#f9fdfb}
.explanation-item.kind-option-other{border-left:3px solid #cbd4e6}
.explanation-item.kind-point{border-left:3px solid #8a9ec9}
.exp-badge{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:5px;font:11px var(--mono);font-weight:600;background:#eef2fa;color:#5a709f;margin-top:2px}
.kind-option-right .exp-badge,.kind-conclusion .exp-badge{background:#e4f2eb;color:#487e64}
.explanation-item p{font-size:13px;line-height:2;color:#4e5f7c;margin:0;flex:1;min-width:0}
.explanation>p{font-size:13px;line-height:2.05;color:#4e5f7c}
.exp-term{background:#eef2fb;color:#3f568a;padding:1px 5px;border-radius:4px;font-weight:500}
.exp-key{color:#415a94;font-weight:600;background:#f3f6fc;padding:1px 5px;border-radius:4px}
.question-matrix-wrap{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.matrix-header{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8895ae;margin-bottom:11px}
.matrix-legend{display:inline-flex;align-items:center;gap:6px;font-size:9px}
.matrix-legend i{display:inline-block;width:7px;height:7px;border-radius:2px;background:#7aa993}
.matrix-legend i.w{background:#c58493;margin-left:4px}
.question-matrix{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-height:230px;overflow-y:auto;padding-right:2px}
.matrix-dot{display:grid;place-items:center;height:30px;border:1px solid #e3e8f3;border-radius:5px;background:#fafbfe;font:10px var(--mono);color:#75839d;transition:all .15s}
.matrix-dot:hover{border-color:var(--accent);color:var(--accent);background:#f0f4fc}
.matrix-dot.right{background:#edf6f1;border-color:#bedbd0;color:#4b8168}
.matrix-dot.wrong{background:#fbf0f3;border-color:#e2bec7;color:#a86072}
.matrix-dot.done{background:#f1f3f9;border-color:#d5dceb;color:#667591}
.matrix-dot.current{outline:2px solid var(--accent);outline-offset:-1px;font-weight:700;color:var(--accent);background:#e9eef9}
@media(max-width:780px){
  .mobile-matrix-toggle{display:inline-flex}
  .option-kbd,.shortcut-bar,.shortcut-inline{display:none}
  .quiz-sidebar.drawer-open{display:block;margin-top:16px}
  .quiz-sidebar.drawer-open .study-tip{display:none}
  .question-matrix{grid-template-columns:repeat(7,minmax(0,1fr))}
}
@media(max-width:540px){
  .question-matrix{grid-template-columns:repeat(6,minmax(0,1fr))}
  .answer-compare-grid{grid-template-columns:1fr;gap:8px}
  .explanation-item{padding:10px 11px;gap:8px}
  .explanation-item p,.explanation>p{font-size:12px;line-height:1.95}
  .page-jump-form{display:none}
}
/* Uses the existing moonlight color and typography system. */
.personal-actions{display:flex;gap:20px;align-items:center;padding:18px 0;margin:0 0 8px;border-bottom:1px solid var(--line);flex-wrap:wrap}.bookmark-button{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border:1px solid #dce2ef;background:#fff;border-radius:7px;color:#7888a5;font:12px var(--sans);cursor:pointer}.bookmark-button>span{font-size:19px;line-height:1}.bookmark-button.selected{background:#f3f0e8;border-color:#e1d5bb;color:#9b7c44}.bookmark-button:disabled{opacity:.6;cursor:wait}.personal-actions .text-button{font-size:11px}.personal-scope{font-size:10px;color:#98a6ba;margin-left:auto}.private-note{margin-top:30px;padding-top:27px;border-top:1px solid var(--line)}.private-note-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:17px}.private-note-heading h2{font-size:18px;font-weight:400;margin:7px 0 0;color:#5f7393}.private-note-heading h2>span{font:9px var(--sans);color:#a1acbf;margin-left:8px}.private-note-heading>.muted{font-size:10px}.private-note textarea{display:block;width:100%;min-height:156px;resize:vertical;border:1px solid #dfe5ef;border-radius:7px;padding:17px;font:13px/1.9 var(--sans);background:#fcfcff;color:#5e7190;box-sizing:border-box;overflow-wrap:anywhere}.private-note textarea:focus{outline:2px solid #a8b7d6;outline-offset:2px}.private-note textarea::placeholder{color:#adb7c8}.private-note textarea:disabled{opacity:.7}.note-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;line-height:1.8;color:#a1adbf;margin-top:11px;min-height:20px}.note-meta .unsaved-note{color:#a48852}.note-actions{display:flex;gap:19px;align-items:center;flex-wrap:wrap;margin-top:16px}.note-actions .text-button{font-size:10px}.note-actions .button:disabled{opacity:.5;cursor:not-allowed}.personal-hub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:25px 0}.personal-hub-link{display:flex;gap:17px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.hub-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#f0f2f8;color:#8b9abd;font-size:26px}.personal-hub-link>div{flex:1;min-width:0}.personal-hub-link h2{font:20px var(--serif);color:#5c708e;font-weight:400}.personal-hub-link p{font-size:10px;line-height:1.8;color:#a3afc1;margin-top:8px}.personal-hub-link>strong{font:24px var(--serif);font-weight:400;color:#7186ac}.personal-hub-link>span:last-child{font-size:13px;color:#a2afc4}.personal-hub-link:hover{border-color:#bcc8df;background:#fdfdff}.learning-dashboard{margin:26px 0 30px;padding:30px}.learning-dashboard-heading{display:flex;gap:22px;justify-content:space-between;align-items:center;margin-bottom:28px}.learning-dashboard-heading h2{font:25px var(--serif);font-weight:400;margin-top:8px;color:#526987}.learning-dashboard-heading .subject-picker{font-size:10px;min-width:145px}.progress-overview{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.4fr);gap:45px;align-items:center;padding-bottom:20px}.progress-completion>strong{display:block;font:46px/1.2 var(--serif);color:#687fa8;font-weight:400}.progress-completion>span{display:block;font-size:10px;margin:8px 0 17px;color:#9eacc1}.learning-meter{height:5px;border-radius:4px;background:#edf0f7;overflow:hidden}.learning-meter>i{display:block;height:100%;background:#94a5c8;border-radius:4px;min-width:0}.progress-overview dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.progress-overview dt{font-size:10px;color:#a6b0c1;margin-bottom:7px}.progress-overview dd{font:24px var(--serif);color:#637b9f;margin:0}.progress-overview dd>span{font:13px var(--sans);color:#abb5c7}.progress-definition{font-size:10px;line-height:1.9;color:#a5afbf;border-bottom:1px solid var(--line);padding-bottom:20px}.learning-subject-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:23px 0;border-bottom:1px solid #edf0f6}.learning-subject-row a{font:19px var(--serif);color:#667d9f}.learning-subject-row a>span{font:12px var(--sans);margin-left:7px;color:#a3afc3}.learning-subject-row p{font-size:10px;margin-top:9px;color:#a0adc0;line-height:1.9}.learning-row-meter{width:160px;flex-shrink:0}.learning-row-meter>span{display:block;text-align:right;color:#8397ba;font:13px var(--sans);margin-bottom:9px}.chapter-progress-details{margin-top:21px}.chapter-progress-details>summary{cursor:pointer;font-size:11px;color:#7e91b0;padding:5px 0}.chapter-progress-details>summary>span{font-size:10px;color:#a7b3c8;margin-left:10px}.learning-chapter-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid #edf0f6}.learning-chapter-row>div{min-width:0}.learning-chapter-row>div>span{font-size:11px;line-height:1.8;color:#7489a9}.learning-chapter-row small{display:block;font-size:9px;line-height:1.9;color:#a7b2c5;margin-top:5px}.learning-chapter-row>strong{font:12px var(--sans);color:#91a1bc;white-space:nowrap;font-weight:400}.learning-chapter-row>strong>span{margin-left:12px}.saved-panel{padding:27px 32px}.saved-panel .filter-tabs a{font-size:11px;padding:9px 13px;border-radius:6px;color:#96a4bb;border:1px solid transparent}.saved-panel .filter-tabs a.selected{background:#edf0f7;border-color:#dde3f0;color:#7086ad}.saved-panel .filter-tabs{display:flex;gap:10px}.saved-question{padding:24px 0;border-bottom:1px solid #edf0f6}.saved-question-link{display:block;min-width:0}.saved-question h2{font-size:13px;line-height:1.9;font-weight:400;color:#627796;margin-top:11px;overflow-wrap:anywhere}.saved-note-preview{font-size:11px;line-height:1.9;color:#8698b3;padding:14px 17px;background:#f7f8fc;border-left:2px solid #d8e0ef;margin-top:15px;white-space:pre-wrap;overflow-wrap:anywhere}.saved-question-meta{display:flex;gap:18px;justify-content:space-between;align-items:center;font-size:9px;color:#a5b0c2;margin-top:14px}.saved-question-meta>span{color:#889abb}.saved-panel>.table-footer{padding:20px 0 0}.saved-page .section-heading h1{line-height:1.6}.bookmark-button:focus-visible,.personal-hub-link:focus-visible,.saved-question-link:focus-visible,.learning-chapter-row:focus-visible{outline:2px solid #99aed3;outline-offset:4px}
@media(max-width:780px){.personal-hub-link{padding:21px;gap:13px}.personal-hub-link p{max-width:150px}.learning-dashboard{padding:25px}.progress-overview{gap:27px;grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr)}.saved-panel{padding:24px}.saved-panel .records-toolbar .filter-tabs{margin-top:0}.saved-panel .records-toolbar{align-items:flex-end}}
@media(max-width:540px){.personal-actions{gap:14px;padding:15px 0}.personal-scope{flex-basis:100%;margin-left:0;font-size:9px}.bookmark-button{font-size:11px;padding:8px 12px}.personal-actions .text-button{font-size:10px}.private-note{padding-top:22px;margin-top:23px}.private-note-heading{align-items:flex-start}.private-note-heading h2{font-size:18px}.private-note-heading>.muted{font-size:8px;padding-top:22px;white-space:nowrap}.private-note textarea{font-size:12px;padding:14px;min-height:165px}.note-meta{font-size:9px}.note-actions{gap:15px}.note-actions .text-button{font-size:9px}.personal-hub{grid-template-columns:minmax(0,1fr);gap:13px;margin:22px 0}.personal-hub-link{padding:21px;gap:14px}.personal-hub-link h2{font-size:21px}.personal-hub-link p{max-width:none;font-size:10px}.learning-dashboard{padding:23px 20px}.learning-dashboard-heading{align-items:flex-start;flex-direction:column;gap:22px;margin-bottom:25px}.learning-dashboard-heading h2{font-size:25px}.learning-dashboard-heading .subject-picker{display:flex;flex-direction:row;align-items:center;gap:13px;width:100%;min-width:0}.learning-dashboard-heading .subject-picker select{flex:1;max-width:none}.progress-overview{grid-template-columns:minmax(0,1fr);gap:27px;padding-bottom:23px}.progress-completion>strong{font-size:43px}.progress-overview dl{gap:23px}.progress-overview dd{font-size:23px}.progress-definition{font-size:9px}.learning-subject-row{gap:15px;padding:21px 0}.learning-subject-row a{font-size:20px}.learning-subject-row p{font-size:9px}.learning-row-meter{width:77px}.learning-row-meter>span{font-size:11px}.learning-chapter-row{gap:13px}.learning-chapter-row>div>span{font-size:10px}.learning-chapter-row>strong{font-size:10px}.learning-chapter-row>strong>span{margin-left:5px}.learning-chapter-row small{font-size:8px}.saved-panel{padding:21px}.saved-panel .records-toolbar{gap:19px}.saved-panel .records-toolbar .filter-tabs{margin-top:0;gap:7px}.saved-panel .filter-tabs a{font-size:10px;padding:8px 9px}.saved-question h2{font-size:12px}.saved-question{padding:21px 0}.saved-note-preview{font-size:10px;padding:12px}.saved-question-meta{font-size:8px}.saved-page .section-heading{align-items:flex-start}.saved-page .section-heading h1{font-size:25px;max-width:245px}.saved-page .section-heading>.quiet-link{font-size:9px;white-space:nowrap;margin-top:20px}}


.profile-page>.profile-guest{display:grid;grid-template-columns:minmax(0,1fr) auto;text-align:left;column-gap:26px;padding:24px 28px}.profile-page>.profile-guest h2{font-size:20px;grid-column:1;margin:0}.profile-page>.profile-guest p{font-size:11px;line-height:1.9;margin:9px 0 0;grid-column:1}.profile-page>.profile-guest>.button{grid-column:2;grid-row:1/3;align-self:center;font-size:11px;min-height:40px}
@media(max-width:540px){.profile-page>.profile-guest{grid-template-columns:minmax(0,1fr);padding:23px}.profile-page>.profile-guest h2{font-size:20px}.profile-page>.profile-guest p{font-size:10px;margin-top:10px}.profile-page>.profile-guest>.button{grid-column:1;grid-row:auto;justify-self:start;margin-top:18px;font-size:10px;min-height:38px}}
