/* Tablet information hierarchy: one task canvas, independent reading regions. */
.tablet-subject-switch{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:5px 12px;background:#edf1ff;border:1px solid #dce5ff;color:#315cf5;border-radius:9px;font-family:inherit;font-size:14px;font-weight:600;white-space:nowrap}
.tablet-context-divider{height:16px;width:1px;background:#e0e6f2;flex-shrink:0}
.tablet-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:10px 13px;border:1px solid #e0e7f4;border-radius:9px;background:#fff;color:#627798;font-size:13px;font-weight:500;white-space:nowrap}
.tablet-tool-button:hover{background:#edf2ff;color:#315cf5;border-color:#c9d8ff}
.tablet-lesson-actions{display:flex;gap:8px;align-items:center;margin-left:auto}
.tablet-subject-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tablet-catalog-menu .course-sidebar{width:100%;margin:0;max-width:none;min-height:0;padding:8px;background:#fff;border:0;border-radius:0}.tablet-catalog-menu .chapter-item{width:100%;font-size:14px;min-height:48px}.tablet-catalog-menu .sidebar-note{display:none}.tablet-catalog-menu .chapter-label{font-size:15px}.tablet-catalog-menu .course-heading h3{font-size:17px}
.tablet-resource-menu .delivery-toolbar{padding:0;margin-bottom:20px}.tablet-resource-menu .delivery-toolbar-top{gap:16px;padding:15px;flex-wrap:wrap}.tablet-resource-menu .delivery-buttons .btn,.tablet-resource-menu .delivery-device button{min-height:48px;font-size:14px}.tablet-resource-menu .delivery-buttons .text-button{min-height:48px;font-size:14px}
.tablet-report-header h1{display:flex;align-items:center;gap:14px}.tablet-report-status{font-size:12px;line-height:1.6;padding:5px 9px;border-radius:6px;background:#e6f5ee;color:#34876d;letter-spacing:0;font-weight:500}
.tablet-report-content{display:flex;flex-direction:column;gap:16px;min-height:0}
.tablet-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #dfe6f4;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 4px 15px #273d7205;flex-shrink:0}
.tablet-report-metric{padding:19px 24px;border-left:1px solid #e8edf6;min-width:0}.tablet-report-metric:first-child{border-left:0}.tablet-report-metric>span{display:block;font-size:13px;color:#7d8eac}.tablet-report-metric strong{display:block;font-size:33px;font-weight:650;letter-spacing:-.5px;line-height:1.3;margin:5px 0;color:#2c446e;font-variant-numeric:tabular-nums}.tablet-report-metric strong small{font-size:13px;font-weight:400;color:#8192af;letter-spacing:0;margin-left:5px}.tablet-report-metric p{font-size:12px;line-height:1.7;color:#778ba9;margin:0}.tablet-report-metric.primary{background:#223970;border:0}.tablet-report-metric.primary>span{color:#c3d1f2}.tablet-report-metric.primary strong{color:#a4ebd6}.tablet-report-metric.primary strong small{color:#8facd2}.tablet-report-metric.primary p{color:#bdcee9}
.tablet-report-conclusions{display:grid;grid-template-columns:1fr 1fr;gap:16px;flex-shrink:0}.tablet-report-conclusions article{position:relative;border:1px solid #e1e8f5;border-radius:14px;background:#fff;padding:21px 24px;min-width:0}.tablet-report-conclusions article::before{content:"";position:absolute;left:24px;top:0;width:25px;height:3px;border-radius:0 0 3px 3px;background:#8fa9fb}.tablet-report-conclusions article:last-child::before{background:#6bc9ad}.tablet-report-section-label{font-size:11px;letter-spacing:.5px;color:#8b9bb4}.tablet-report-conclusions h2{font-size:18px;color:#32496f;margin:5px 0 9px;font-weight:600}.tablet-report-conclusions p{font-size:15px;line-height:1.8;color:#617596;margin:0}.tablet-report-cause,.tablet-report-next-note{font-size:14px;line-height:1.8;color:#8493ac;margin-top:12px;padding-top:11px;border-top:1px solid #edf0f7}
.tablet-report-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.tablet-report-actions .btn{min-height:48px;font-size:14px}
.tablet-report-archives{border:1px solid #e0e7f4;border-radius:14px;background:#fff;padding:16px 20px;flex-shrink:0}.tablet-report-archives h2{font-size:15px;color:#536b91;font-weight:600}.tablet-report-archives>.row>span{font-size:12px;color:#93a1b7}.tablet-report-records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px;gap:12px}.tablet-report-records>button{min-height:66px;display:flex;align-items:center;gap:13px;padding:10px 15px;text-align:left;border:1px solid #e5eafa;border-radius:10px;background:#f8faff;color:#6d88b8}.tablet-report-records>button>span{flex:1;min-width:0}.tablet-report-records b{display:block;font-size:14px;color:#4d658d;font-weight:600}.tablet-report-records small{display:block;font-size:12px;color:#8394b0;margin-top:3px}.tablet-report-records>button:hover{border-color:#adbeee;background:#eef3ff;color:#315cf5}
.tablet-report-originals{margin-top:20px;border:1px solid #e1e7f4;background:#fff;border-radius:12px;padding:22px}.tablet-report-originals h3{font-size:16px;color:#435e87;margin:18px 0 10px}.tablet-report-originals h3:first-child{margin-top:0}.tablet-report-originals>p{font-size:15px;line-height:1.9;color:#63789a;white-space:pre-wrap;overflow-wrap:anywhere}.tablet-report-readback .panel{box-shadow:none}.tablet-report-readback .question-table{font-size:14px}.tablet-report-readback .report-step{font-size:14px}.tablet-report-readback .note-item{margin:10px 0}.tablet-report-readback audio{width:100%}
@media screen and (min-width:900px){
 body:has(.workspace[data-view-role="student"]){height:100dvh;overflow:hidden}
 .rail{width:76px;padding:18px 8px}.rail .brand{font-size:21px;letter-spacing:2px;margin-bottom:7px}.rail .rail-role{font-size:9px;margin-bottom:25px}.rail .rail-item{width:60px;min-height:64px;margin-bottom:9px;border-radius:12px;gap:7px}.rail .rail-item svg{width:21px;height:21px}.rail .rail-item span{font-size:11px}.rail .rail-item.active::after{right:-8px;top:23px}.rail .rail-bottom .rail-item{min-height:52px}
 .workspace[data-view-role="student"]{height:100dvh;margin-left:76px;overflow:hidden;padding:0}
 .workspace[data-view-role="student"] .topbar{height:52px;min-height:52px;padding:0 20px}
 .workspace[data-view-role="student"] .breadcrumb{font-size:13px;gap:12px}.workspace[data-view-role="student"] .breadcrumb>span:first-child::before{display:none}.workspace[data-view-role="student"] .topbar-right{gap:12px}.workspace[data-view-role="student"] .role-switch>span,.workspace[data-view-role="student"] .prototype-print{display:none}.workspace[data-view-role="student"] .role-switch{border-radius:8px;padding:2px}.workspace[data-view-role="student"] .role-switch button{min-height:36px;font-size:12px;padding:5px 12px}.workspace[data-view-role="student"] .avatar-circle{height:31px;width:31px;font-size:13px;border-radius:9px}.workspace[data-view-role="student"] .avatar-text small{display:none}
 .workspace[data-view-role="student"] .subjectbar{display:none!important}
 .workspace[data-view-role="student"] .layout{height:calc(100dvh - 52px);min-height:0;display:flex;overflow:hidden}
 .workspace[data-view-role="student"] .main{height:100%;padding:14px 20px 16px;display:flex;flex-direction:column;min-height:0;max-width:none;overflow:hidden;box-sizing:border-box}
 .workspace[data-view-role="student"] .page-foot{display:none}
 .workspace[data-view-role="student"] .main>.tablet-lesson-heading{height:56px;min-height:56px;flex-shrink:0;padding:0;margin:0 0 10px;background:none;box-shadow:none;border:0;border-radius:0;overflow:visible;isolation:auto;align-items:center;gap:16px}
 .tablet-lesson-heading::before,.tablet-lesson-heading::after{display:none}.tablet-lesson-heading>div:first-child{max-width:none;min-width:0}.tablet-lesson-heading h1{font-size:22px;color:#24375d;line-height:1.5;font-weight:650;letter-spacing:.2px}.tablet-lesson-heading p{font-size:11px;color:#8494af;line-height:1.6;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .workspace[data-view-role="student"] .stepper{height:58px;min-height:58px;flex-shrink:0;gap:4px;margin-bottom:12px;padding:3px;border:1px solid #e4eaf2;border-radius:14px;background:#fff;box-sizing:border-box}
 .workspace[data-view-role="student"] .step-button{height:50px;min-height:50px;padding:7px 14px;gap:10px;border:0;border-radius:10px;justify-content:center;background:transparent;box-shadow:none;transform:none}
 .workspace[data-view-role="student"] .step-button:not(.active) .step-letter{background:transparent;color:#8797ad;font-weight:500}
 .workspace[data-view-role="student"] .step-button:not(.active) .step-info b{color:#7f8ea5;font-weight:500}
 .workspace[data-view-role="student"] .step-button.done:not(.active){background:transparent;border:0}
 .workspace[data-view-role="student"] .step-button.done:not(.active) .step-letter{color:#268c7c;background:transparent}
 .workspace[data-view-role="student"] .step-button.active{background:#eef2ff;border:0;box-shadow:none}
 .workspace[data-view-role="student"] .step-button.active .step-letter{background:transparent;color:#315cf5}
 .workspace[data-view-role="student"] .step-button.active .step-info b{color:#315cf5}
 .step-button .step-index,.step-button .step-info small{display:none}.step-button .step-letter{width:30px;height:32px;border-radius:7px;font-size:21px}.step-button .step-info{display:block}.step-button .step-info b{font-size:13px}.step-button.done .step-check{top:5px;right:7px;width:13px;height:13px;font-size:9px}.step-button.active{box-shadow:0 4px 10px #315cf51c}
 .workspace[data-view-role="student"] .lesson-grid{display:flex;flex:1;min-height:0;height:auto;margin:0;clear:both}
 .workspace[data-view-role="student"] .lesson-grid>.panel{width:100%;height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;border-radius:15px}
 .workspace[data-view-role="student"] .lesson-grid>.panel>.panel-body{height:100%;min-height:0;padding:18px;overflow:auto;box-sizing:border-box}
 .workspace[data-view-role="student"] .lesson-grid>.panel>.panel-body:has(>.op-root),.workspace[data-view-role="student"] .lesson-grid>.panel>.panel-body:has(>.analysis-plan-one){padding:0;overflow:hidden}
 /* Previews keep the controls separate from the scrollable paper. */
 .workspace[data-view-role="student"] .stage-preview .panel-body{padding:18px;display:block;min-height:0}
 .preview-learning-grid{height:100%;min-height:0;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:stretch}
 .preview-task-pane{height:100%;min-height:0;display:flex;flex-direction:column;padding:0}.tablet-preview-tasks{flex:1;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:#c9d4ed transparent}
 .preview-task-title{font-size:17px;margin:0 0 12px;line-height:1.6}.preview-task-title::before{display:none}.stage-preview .checklist{gap:8px}.stage-preview .check-item{min-height:73px;padding:12px;gap:10px;border-radius:10px}.stage-preview .check-circle{height:27px;width:27px;border-radius:8px;font-size:12px}.stage-preview .check-content b{font-size:14px}.stage-preview .check-content small{font-size:14px;line-height:1.65;margin-top:4px}
 .workspace[data-view-role="student"] .stage-preview .upload-zone{margin-top:12px;padding:8px 0;border:0;border-top:1px solid #e8edf7;border-radius:0;background:none}
 .stage-preview .upload-actions{display:flex;flex-wrap:nowrap;gap:8px;justify-content:space-between}.stage-preview .upload-actions>.btn{min-height:48px;padding:9px 12px;border-radius:9px;font-size:13px;gap:6px;white-space:nowrap}.stage-preview .upload-actions>.text-button{min-height:48px;font-size:12px;line-height:1.6;white-space:nowrap;padding:8px 1px}
 .stage-preview .note-list{margin:6px 0 0;gap:7px}.stage-preview .note-item{padding:9px;gap:8px;min-height:60px}.stage-preview .note-thumb{width:35px;height:42px;min-height:0;border-radius:5px}.stage-preview .note-text b{font-size:12px;overflow-wrap:anywhere}.stage-preview .note-text small{font-size:11px}.stage-preview .note-item>.icon-button{width:38px;min-width:38px;min-height:44px}
 .workspace[data-view-role="student"] .stage-preview .actions{flex-shrink:0;position:static;display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:12px;padding:12px 0 0;border:0;border-top:1px solid #e4eaf7;box-shadow:none;border-radius:0;background:#fff}
 .stage-preview .actions .action-hint{font-size:12px;color:#8292ad}.stage-preview .actions>.btn{width:100%;min-height:48px;font-size:14px;margin:0}
 .preview-handout{height:100%;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;border-radius:11px;box-shadow:none}
 .lh-paper{padding:22px 28px;line-height:1.85}.lh-paper h2{font-size:22px;margin:13px 0 18px}.lh-paper h3{font-size:15px}.lh-paper p{font-size:14px;line-height:1.85}.lh-paper dl>div{font-size:14px;padding:12px}.lh-paper section+section{margin-top:20px}
 /* Practice: scrolling is confined to the question, never the action footer. */
 .op-root{height:100%;min-height:0;display:flex;flex-direction:column;background:#fff}
 .op-content{height:auto;flex:1;min-height:0;width:100%;max-width:none;display:flex;flex-direction:column;overflow:hidden;padding:18px 24px;border-radius:0;box-shadow:none}
 .op-question-indicator{top:19px;right:24px;font-size:13px}.op-q-type{font-size:12px;margin-bottom:12px}.op-number-row{margin:0;padding-bottom:12px;gap:12px;flex-shrink:0}.op-question-numbers{gap:9px}.op-question-number{width:48px;height:48px;min-width:48px;border-radius:10px}.op-number-caption{font-size:12px}.op-number-caption small{display:none}
 .op-question-area{min-height:0;flex:1;overflow-y:auto;padding-right:8px;margin:16px 0 12px;scrollbar-width:thin;scrollbar-color:#c4d0e9 transparent}.op-q-stem{font-size:19px!important;line-height:1.7;margin-bottom:15px}.op-options{display:grid;gap:9px}.op-option{margin:0;min-height:56px;padding:10px 16px;font-size:16px!important;line-height:1.7;border-radius:10px}.op-option-key{height:29px;width:29px;font-size:13px;border-radius:8px}
 .op-bottom-action-bar{position:static;flex-shrink:0;min-height:60px;margin:0;padding:12px 0 0;box-shadow:none;background:#fff;border:0;border-top:1px solid #e5eaf5;border-radius:0;gap:12px}.op-action-btn{min-height:48px;font-size:14px!important;border-radius:9px;padding:10px 18px}.op-submission-summary{flex-shrink:0;font-size:12px;min-height:45px;margin:0 24px 14px;padding:9px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px}.op-view-result{margin:0;min-height:40px;padding:6px 12px;font-size:12px!important}
 /* Analysis plan one keeps its existing three steps, with local reading areas. */
 .analysis-plan-one{position:relative;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:0}
 .p1-sub-tabs-bar{flex-shrink:0;min-height:65px;padding:8px 16px;gap:16px;background:#fafbff}.p1-q-num-group{gap:10px}.p1-q-num-label{font-size:12px}.p1-q-num-list{gap:8px}.p1-q-num{width:48px;height:48px;font-size:16px;border-radius:10px}.p1-sub-tabs{padding:3px;gap:4px;border-radius:10px}.p1-sub-tab{min-height:48px;font-size:13px;padding:9px 14px;border-radius:8px}
 .p1-info{flex-shrink:0;font-size:13px;padding:8px 17px;line-height:1.6}
 .p1-tab-panel{flex:1;min-height:0;overflow:hidden;padding:16px}
 .p1-analysis-layout,.p1-practice-layout{height:100%;min-height:0;gap:18px;align-items:stretch}
 .p1-left-col{min-height:0;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:#c4d0e9 transparent;gap:12px}.p1-right-col{min-height:0;height:100%;gap:10px;overflow:hidden}
 .p1-panel-card{padding:17px;border-radius:11px}.p1-q-type{font-size:13px;margin-bottom:10px}.p1-q-stem{font-size:17px;line-height:1.8;margin-bottom:14px}.p1-option{font-size:14px;line-height:1.7;padding:10px 32px 10px 14px;min-height:48px;margin-bottom:8px}.p1-answer-row{font-size:14px;line-height:1.85;margin-top:10px}.p1-video-unavailable{font-size:11px;margin-top:12px;padding:10px 12px}
 .p1-model-section{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c4d0e9 transparent}.p1-model-head{padding:13px 16px}.p1-model-head h3{font-size:15px}.p1-step-row{min-height:0;padding:12px 16px;gap:11px}.p1-step-content p{font-size:14px;line-height:1.8}.p1-step-title-line b{font-size:14px}.p1-model-summary{font-size:12px;padding:12px 15px}
 .p1-action-bar{flex-shrink:0;margin:0;min-height:48px;gap:10px}.p1-btn{min-height:48px;font-size:14px;padding:10px 20px;border-radius:9px}.p1-reason-section{flex:1;min-height:0;overflow:auto;padding:14px;border-radius:11px}.p1-reason-list{gap:6px}.p1-reason-item{font-size:14px;line-height:1.6;min-height:48px;padding:9px 12px;border-radius:9px}.p1-section-title{font-size:15px!important}.p1-local-status{font-size:12px;line-height:1.7;margin-top:8px}.p1-strategy-section{flex-shrink:0;padding:0 14px;background:#fff8ef;border:1px solid #f1dec7;border-radius:9px}.p1-strategy-section>summary{min-height:36px;display:flex;align-items:center;font-size:12px;color:#a27844;cursor:pointer}.p1-strategy-flow{font-size:12px;padding:0 0 12px}
 .p1-practice-layout{grid-template-columns:minmax(0,1fr) 270px}.p1-practice-left{min-height:0;overflow-y:auto;padding:0 5px 0 0;scrollbar-width:thin;scrollbar-color:#c4d0e9 transparent}.p1-practice-tag{font-size:12px;margin-bottom:10px}.p1-practice-right{min-height:0;font-size:14px;gap:10px;overflow:auto}.p1-practice-right .p1-panel-card{padding:17px}.p1-practice-right p{font-size:14px;line-height:1.8}.p1-submit-btn{flex-shrink:0;min-height:48px;font-size:14px;margin-top:auto;border-radius:9px}.p1-answer-result{margin-top:12px;padding:12px 15px}.p1-answer-result>p{font-size:13px}
 /* Reports have a readable summary first; evidence opens inside the screen. */
 .workspace[data-view-role="student"] .tablet-report-header{flex-shrink:0;min-height:55px;margin:0 0 16px;gap:18px;align-items:center}
 .tablet-report-header h1{font-size:24px;line-height:1.45;letter-spacing:.2px}.tablet-report-header p{font-size:12px;color:#8192ae;line-height:1.6;margin-top:3px}.tablet-report-header .btn{min-height:48px;font-size:13px}
 .tablet-report-content{flex:1;min-height:0;overflow:auto;gap:15px;padding-right:1px;scrollbar-width:thin;scrollbar-color:#c4d0e9 transparent}.tablet-report-metric{padding:16px 22px}.tablet-report-metric strong{font-size:32px}.tablet-report-conclusions article{padding:18px 22px}.tablet-report-conclusions p{font-size:15px}.tablet-report-cause,.tablet-report-next-note{font-size:14px;margin-top:10px;padding-top:9px}.tablet-report-archives{padding:15px 20px}.tablet-report-records{margin-top:10px}
 body:has(.tablet-report-readback) .modal{width:780px;max-width:calc(100vw - 80px);max-height:calc(100dvh - 60px)}
 body:has(.workspace[data-view-role="student"]) .modal-head .icon-button{width:48px;height:48px;min-width:48px;min-height:48px;border-radius:10px;background:#f0f4fc}
 body:has(.workspace[data-view-role="student"]) .modal-head{padding-top:12px;padding-bottom:12px;flex-shrink:0}
 body:has(.workspace[data-view-role="student"]) .modal{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 48px)}
 body:has(.workspace[data-view-role="student"]) .modal-body{overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#c4d0e9 transparent}
 body:has(.workspace[data-view-role="student"]) .modal-actions{flex-shrink:0}
}
@media screen and (min-width:900px) and (max-width:1100px){.tablet-lesson-actions{gap:6px}.tablet-tool-button{padding:9px 10px;font-size:12px}.tablet-lesson-heading h1{font-size:21px}.tablet-lesson-heading p{max-width:330px}.preview-learning-grid{grid-template-columns:270px minmax(0,1fr);gap:18px}.stage-preview .check-item{min-height:71px}.stage-preview .upload-actions{gap:4px}.stage-preview .upload-actions>.btn{padding:8px 9px;font-size:12px}.stage-preview .upload-actions>.text-button{font-size:11px}.lh-paper{padding:20px}.p1-practice-layout{grid-template-columns:minmax(0,1fr) 240px}.p1-sub-tab{font-size:12px;padding:8px 10px}.p1-step-content p{font-size:14px}.tablet-report-metric{padding:15px 18px}.tablet-report-conclusions article{padding:18px}.tablet-report-records>button{gap:10px;padding:10px 12px}.tablet-report-records small{font-size:11px}}
@media(max-width:899px){.tablet-report-header h1{flex-wrap:wrap;gap:8px}.tablet-report-status{font-size:10px}.tablet-lesson-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.tablet-tool-button{min-height:42px;padding:8px 10px;font-size:11px}.tablet-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tablet-report-metric{padding:15px}.tablet-report-conclusions{grid-template-columns:1fr}.tablet-report-records{grid-template-columns:1fr}.tablet-report-actions{flex-wrap:wrap}.tablet-report-metric strong{font-size:28px}.preview-task-pane>.actions{margin-bottom:18px}.tablet-subject-switch{font-size:12px;min-height:38px;padding:5px 9px}}
@media print{.tablet-subject-switch,.tablet-lesson-actions,.tablet-report-actions,.tablet-report-archives{display:none!important}.tablet-report-content{display:block;overflow:visible}.tablet-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));box-shadow:none;margin-bottom:18px}.tablet-report-metric.primary{background:#eaf0fb}.tablet-report-metric.primary>span,.tablet-report-metric.primary strong,.tablet-report-metric.primary strong small,.tablet-report-metric.primary p{color:#2e4874}.tablet-report-conclusions{margin-bottom:18px}.tablet-report-status{color:#386f5b;background:#e9f5ee}}
/* Result rail: one strong score, two comparison metrics, two clear actions. */
.tablet-analysis-meta{display:flex;align-items:center;gap:16px;flex-shrink:0;min-height:96px;padding:12px 18px;border-bottom:1px solid #e5ebf5;background:#f7f9fd;box-sizing:border-box}
.tablet-analysis-meta .p1-result-overview{flex:1;min-width:0;order:1;margin:0;border:0;background:transparent;box-shadow:none;color:#344b70}
.p1-result-overview>.p1-performance-summary{display:grid;grid-template-columns:112px minmax(160px,1fr) minmax(120px,.75fr) auto;align-items:center;gap:22px;padding:0;min-height:70px;list-style:none;box-sizing:border-box;line-height:1.4;cursor:pointer}
.p1-result-overview>.p1-performance-summary::-webkit-details-marker{display:none}
.p1-performance-summary .p1-metric-label{display:block;font-size:12px;line-height:1.5;font-weight:500;color:#7f8fa8;letter-spacing:.2px}
.p1-score-tile{display:flex;flex-direction:column;justify-content:center;min-height:70px;padding:9px 17px;border-radius:12px;background:#243c75;box-sizing:border-box;box-shadow:0 4px 9px #1f376414}
.p1-score-tile .p1-metric-label{color:#c1cfe8;font-size:11px}
.p1-score-tile>strong{display:block;color:#fff;font-size:34px;line-height:1.1;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin-top:3px}
.p1-score-tile small{font-size:12px;color:#c3d1eb;font-weight:500;letter-spacing:0;margin-left:5px}
.p1-rank-metric{display:block;min-width:0;padding-left:2px}
.p1-metric-label em{display:inline-block;vertical-align:1px;font-style:normal;color:#8697b1;background:#eaf0f8;padding:1px 5px;margin-left:4px;border-radius:4px;font-size:10px;font-weight:400;letter-spacing:0}
.p1-rank-metric>strong{display:block;white-space:nowrap;font-size:25px;line-height:1.3;font-weight:650;color:#2c4266;letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin-top:5px}
.p1-rank-metric small{font-size:12px;font-weight:400;color:#8d9bb0;letter-spacing:0}
.p1-percentile-metric{display:block;position:relative;border-left:1px solid #dfe6f1;padding-left:23px;min-width:0}
.p1-percentile-metric>strong{display:block;color:#168e7b;font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin-top:3px}
.p1-percentile-metric small{font-size:15px;font-weight:500;letter-spacing:0;margin-left:2px}
.p1-percentile-track{display:block;width:64px;height:3px;border-radius:3px;background:#dceee8;margin-top:6px;overflow:hidden}
.p1-percentile-track i{display:block;height:100%;border-radius:inherit;background:#4dbfa8}
.p1-performance-summary>.p1-detail-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 10px;font-size:13px;font-weight:600;white-space:nowrap;color:#466aa3;border-radius:9px;transition:background .15s,color .15s}
.p1-detail-action .p1-details-chevron{width:16px;height:16px;transition:transform .18s}
.p1-performance-summary:hover .p1-detail-action{background:#eaf0fa;color:#315cf5}
.p1-result-overview[open]>.p1-performance-summary .p1-detail-action .p1-details-chevron{transform:rotate(90deg)}
.tablet-analysis-meta .p1-study-tools{order:2;display:flex;flex:none;padding:0;margin:0;gap:0}
.tablet-analysis-meta .p1-wrongbook-button{display:flex;align-items:center;gap:11px;min-height:70px;min-width:166px;padding:10px 14px;border:1px solid #e0e7f2;background:#fff;border-radius:12px;box-shadow:0 2px 5px #213c6910;text-align:left;color:#6480aa;transition:background .15s,border-color .15s}
.p1-book-icon{display:grid;place-items:center;width:32px;height:36px;flex:none;color:#5e7da9;background:#f0f4fb;border-radius:7px}
.p1-book-text{display:block;flex:1}.p1-book-text>span{display:block;color:#7185a4;font-size:11px;line-height:1.4}.p1-book-text>strong{display:block;color:#3c547b;font-size:22px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;margin-top:3px}.p1-book-text small{font-size:11px;font-weight:400;color:#8b9bb3;margin-left:5px}
.p1-wrongbook-button>.p1-details-chevron{width:14px;height:14px;color:#9aaac0;flex:none}
.tablet-analysis-meta .p1-wrongbook-button:hover{border-color:#b6c8e9;background:#fbfdff}
.tablet-analysis-meta .p1-result-overview[open]{position:absolute;top:8px;left:12px;right:12px;z-index:8;max-height:calc(100% - 16px);overflow-y:auto;border:1px solid #d9e3f4;border-radius:14px;padding:12px 16px;background:#f7f9fd;box-shadow:0 16px 44px #20375e29;box-sizing:border-box}
.p1-result-overview[open]>.lf-practice-result{margin:13px 0 0;background:#fff;border-color:#e1e9f4}
@media(max-width:1050px){.p1-result-overview>.p1-performance-summary{grid-template-columns:100px minmax(145px,1fr) minmax(100px,.7fr) auto;gap:14px}.tablet-analysis-meta{gap:12px;padding:12px 14px}.tablet-analysis-meta .p1-wrongbook-button{min-width:150px;padding:10px 12px;gap:8px}.p1-percentile-metric{padding-left:16px}}
@media(max-width:899px){.tablet-analysis-meta{flex-wrap:wrap;margin-bottom:0}.tablet-analysis-meta .p1-result-overview{flex-basis:100%}.p1-result-overview>.p1-performance-summary{grid-template-columns:85px minmax(110px,1fr) 90px;gap:12px}.p1-score-tile{padding:9px 12px}.p1-rank-metric>strong{font-size:22px}.p1-percentile-metric{padding-left:10px}.p1-performance-summary>.p1-detail-action{grid-column:1/-1;min-height:44px;background:#edf2fa}.tablet-analysis-meta .p1-study-tools{width:100%}.tablet-analysis-meta .p1-wrongbook-button{width:100%;min-height:52px}.p1-book-text{display:flex;align-items:center;justify-content:space-between}.p1-book-text>strong{margin:0}.tablet-analysis-meta .p1-result-overview[open]{position:static;max-height:65vh;flex-basis:100%}.p1-score-tile>strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){.p1-performance-summary>.p1-detail-action,.p1-detail-action .p1-details-chevron,.tablet-analysis-meta .p1-wrongbook-button{transition:none}}
