/* Shared finishing layer: readable copy, clear actions and touch-sized controls. */
.learner-body,.admin-body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-text-size-adjust:100%;line-height:1.7}
.learner-body{--ui-secondary:#627c6d;--ui-soft:#edf3ee;font-size:15px}
.learner-body button,.learner-body a,.learner-body summary,.admin-body button{touch-action:manipulation}
.learner-body button{min-height:44px;font-weight:500;line-height:1.6;transition:background-color .16s,border-color .16s,box-shadow .16s}
.learner-body button:disabled{cursor:not-allowed;box-shadow:none}
.learner-body button:not(:disabled):active{filter:brightness(.95)}
.learner-body .btn,.learner-body .auth-submit{min-height:48px;padding:12px 18px;border-radius:12px;font-size:15px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;box-shadow:0 3px 9px #254d3b09}
.learner-body .btn.secondary{border-color:#d5e2d9;background:#fff;color:#426552;box-shadow:none}
.learner-body .btn.small,.learner-body .btn.ghost{min-height:44px;font-size:14px}
.learner-body input:not([type=checkbox]):not([type=radio]),.learner-body select,.learner-body textarea{font-size:16px;min-height:48px;border-radius:10px;line-height:1.6}
.learner-body textarea{min-height:120px}
.learner-body .field>span{font-size:14px;color:#456151}
.learner-body .muted,.learner-body .subtitle,.learner-body .subject-caption{font-size:13px;color:var(--ui-secondary);line-height:1.8}
.learner-body .badge{font-size:12px;line-height:1.6;white-space:normal}
.learner-body .local-banner{font-size:11px;padding:8px 14px;color:#806d4d}
.learner-logo small{font-family:inherit;font-size:11px;color:#687f70}
.learn-greeting{font-size:12px;color:#657e6c;letter-spacing:1px}
.learn-heading{font-size:27px;line-height:1.5;letter-spacing:.4px;margin-bottom:22px}
.learn-section-head{gap:12px;flex-wrap:wrap}.learn-section-head h2{font-size:17px;letter-spacing:.5px}.learn-section-head small{font-size:12px;color:#6c8274}
.study-scope small,.type-filter-label{font-size:12px;color:#657e6c}.study-scope strong{font-size:15px;font-weight:500}
.phone-shell .specialty-picker{font-size:15px;min-height:48px;padding:12px 14px;margin:8px 0 24px}
.study-hero{padding:24px;border-radius:18px}.study-hero small{font-size:12px;letter-spacing:1px}.study-hero h2{font-size:28px}.study-hero p{font-size:14px;line-height:1.8;color:#c1d3ca}
.study-stats strong{font-size:30px}.study-stats span{font-size:12px;color:#637d6b;letter-spacing:0}.study-stats .stat-link{min-height:64px}
.quick-card{border-radius:16px;padding:18px}.quick-card strong{font-size:16px;letter-spacing:.5px}.quick-card small{font-size:12px;color:#667f6d;line-height:1.75}.quick-grid{gap:12px}
.phone-shell .card-head h2{font-size:16px}.phone-shell .card-body{padding:20px}.weekly-card strong{font-size:18px}.weekly-card p,.phone-shell .member-card p,.member-points{font-size:14px;line-height:1.9}.weekly-card p,.member-points{color:#637c6c}
.bank-tabs button{font-size:13px;min-height:46px;padding:10px 2px;color:#62796a}.bank-tabs button.active{font-weight:600;box-shadow:0 2px 8px #27463510}
.bank-section-caption{font-size:14px;flex-wrap:wrap}.bank-section-caption small{font-size:12px;color:#6a8172}
.bank-options button{min-height:68px;padding:16px;font-size:15px;gap:10px}.bank-options button>span:first-child,.bank-options strong{min-width:0;overflow-wrap:anywhere}.bank-options strong{font-weight:500}.bank-options button>span:last-child,.bank-options small{font-size:12px;color:#657e6d}
.bank-resume{border-radius:16px;padding:18px;gap:12px}.bank-resume>span:first-child{min-width:0;overflow-wrap:anywhere}.bank-resume small{font-size:12px;line-height:1.8;color:#627c68}.bank-resume strong{font-size:15px}.bank-resume>span:last-child{font-size:13px;color:#42674f}
.bank-empty,.empty p{font-size:14px;color:#687e70}.bank-back{font-size:13px;min-height:44px}.practice-switch-row{gap:10px}.practice-switch{padding:10px 12px;min-width:0;border-radius:12px}.practice-switch span{font-size:12px;color:#637b6c;overflow-wrap:anywhere}.practice-switch strong{font-size:14px}
.practice-meta{font-size:13px;color:#637d6d;gap:12px}.practice-meta .answer-card-trigger{min-height:52px;padding:10px 14px}.card-trigger-copy strong{font-size:16px}.card-trigger-copy strong span{font-size:12px}
.question-chips{flex-wrap:wrap}.question-chips .badge{font-size:12px}.question-stem{font-size:17px;font-weight:500;line-height:1.95;overflow-wrap:anywhere}.question-section-title{font-size:17px;line-height:1.7}
.answer-option{font-size:15px;line-height:1.85;min-height:58px;border-radius:12px;padding:15px 14px;gap:12px}.answer-option .letter{width:28px;height:28px;font-size:13px}.answer-option>span:last-child{min-width:0;overflow-wrap:anywhere}.matching-answers .answer-option{font-size:14px}
.phone-shell .case-box,.phone-shell .case-box p,.reference-stem,.reference-options{font-size:15px;line-height:1.95}.reference-title{font-size:14px}.reference-note{font-size:12px;opacity:1;color:#667d72}
.answer-result{font-size:15px;line-height:1.95;padding:18px;border-radius:12px}.answer-result p{font-size:14px;color:#5e7968}.answer-result h4{font-size:14px}.practice-bottom{gap:12px}.practice-bottom .btn{min-width:0}
.answer-card-heading{font-size:14px;gap:8px}.answer-card-heading button{min-width:44px;font-size:13px}.answer-card-legend{font-size:12px;gap:16px;flex-wrap:wrap}
.answer-card .question-grid{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:12px 8px;padding:5px}.answer-card .question-grid button{width:44px;height:44px;min-height:44px;font-size:14px;border-radius:50%;font-variant-numeric:tabular-nums}
.switcher-heading{padding:18px 20px 0}.switcher-heading h2{font-size:22px}.switcher-heading button{width:44px;height:44px}.switcher-body{padding:0 20px calc(24px + env(safe-area-inset-bottom))}.practice-switcher{overflow-y:auto;overscroll-behavior:contain}
.account-profile .profile-details>strong{font-size:18px}.account-profile .profile-details>small{font-size:13px;color:#647e6d}.profile-memberships-label{font-size:12px;color:#6b8173}.profile-study-value{font-size:15px}.profile-study-status{font-size:12px;color:#677c6d}.profile-right{font-size:13px;flex-wrap:wrap}.profile-right-term{font-size:11px}.profile-actions{column-gap:18px;margin-top:4px}.account-profile .profile-correction{font-size:13px;min-height:44px;color:#567762}.signout-button{font-size:15px;min-height:48px;border-radius:14px;max-width:100%}
.purchase-notice{font-size:13px;color:#7a6540}.order-record{font-size:14px;overflow-wrap:anywhere}.order-record small{font-size:12px}.order-buttons .btn{font-size:14px}.order-buttons{gap:10px}
.auth-form{padding:20px;border-radius:18px}.auth-title{font-size:28px}.auth-form-title{font-size:17px}.auth-subtitle{font-size:14px;line-height:1.8;color:#6c8475}.dial-code{font-size:14px}.learner-body #phone-form .auth-line input{font-size:16px;min-height:48px}.auth-send{font-size:13px;min-height:48px}.auth-switch{font-size:14px;min-height:44px}.auth-wechat{font-size:13px;min-height:44px;color:#657e6d}.auth-test-hint,.auth-foot{font-size:12px;line-height:1.8;color:#758577}.auth-code{font-size:14px}
.learn-nav a{flex:1;min-width:0;min-height:56px;font-size:12px;gap:5px;padding:8px 12px;color:#6d8576;letter-spacing:.5px}.learn-nav a.active{font-weight:600}.learn-nav a svg{width:22px;height:22px}
.learner-body .decision-dialog{max-height:85vh;overflow:auto;padding:24px;width:min(420px,calc(100vw - 32px))}.learner-body .decision-actions{flex-wrap:wrap}.learner-body #toast{font-size:14px;bottom:calc(82px + env(safe-area-inset-bottom))}
@media(max-width:800px){.phone-shell{min-height:100dvh}.learner-top{padding:20px 20px 18px}#learn-main{padding:24px 20px 32px}.learner-body .drawer{max-width:100%;width:100%}.learner-body .drawer-body{padding:20px}.learner-body .drawer-foot{padding-bottom:calc(16px + env(safe-area-inset-bottom))}}
@media(max-width:360px){#learn-main{padding-left:16px;padding-right:16px}.learn-heading{font-size:24px}.study-hero{padding:20px}.study-hero h2{font-size:25px}.quick-card{padding:15px}.quick-card strong{font-size:15px}.quick-card small{font-size:12px}.bank-tabs{gap:2px;padding:4px}.bank-tabs button{font-size:12px}.profile-row.account-profile{padding:18px 12px;gap:10px}.account-profile .avatar{width:42px;height:42px}.profile-actions{column-gap:12px}.practice-switch{max-width:68%}.auth-screen{padding-left:0;padding-right:0}.auth-form{padding:16px}.auth-line{gap:7px}.auth-send{font-size:12px}.dial-code{padding-right:7px}.switcher-body{padding-left:16px;padding-right:16px}.study-stats span{font-size:12px}}
/* Administration retains its table layout, with phone-friendly forms and actions. */
.admin-body .btn{min-height:40px;border-radius:9px;font-size:13px;line-height:1.6}.admin-body .btn.small{min-height:36px;font-size:12px}.admin-body .close{min-width:44px;min-height:44px}.admin-body input:not([type=checkbox]):not([type=radio]),.admin-body select{min-height:42px}.admin-body .drawer-foot{padding-bottom:max(18px,env(safe-area-inset-bottom))}
@media(max-width:720px){.admin-body{font-size:15px}.admin-body .sidebar{padding:20px 16px 12px}.admin-body .sidebar nav{gap:6px;padding-bottom:4px}.admin-body nav a{min-height:44px;font-size:14px}.admin-body .main{padding:24px 16px}.admin-body .topbar{height:auto;min-height:56px;padding:12px 16px;gap:12px;flex-wrap:wrap}.admin-body .topbar-right{gap:12px;flex-wrap:wrap}.admin-body .page-head{flex-direction:column;gap:16px}.admin-body .page-head h1{font-size:25px;line-height:1.5}.admin-body .subtitle{font-size:14px}.admin-body .btn,.admin-body .btn.small{min-height:44px;font-size:14px;padding:10px 14px;white-space:normal}.admin-body .question-actions{justify-content:flex-start}.admin-body .toolbar{gap:10px}.admin-body .toolbar select,.admin-body .toolbar input{flex:1 1 145px;min-width:0;max-width:100%}.admin-body input:not([type=checkbox]):not([type=radio]),.admin-body select,.admin-body textarea{font-size:16px;min-height:46px}.admin-body .field>span{font-size:14px}.admin-body .card-head{padding:16px;flex-wrap:wrap;gap:12px}.admin-body .card-body{padding:18px}.admin-body .card-head h2{font-size:17px}.admin-body table{font-size:14px}.admin-body th{font-size:13px}.admin-body .question-title{font-size:14px}.admin-body .table-wrap{overscroll-behavior-x:contain}.admin-body .drawer{width:100%;max-width:100%}.admin-body .drawer-head,.admin-body .drawer-body,.admin-body .drawer-foot{padding:16px}.admin-body .drawer-foot{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.admin-body .page-buttons{flex-wrap:wrap}.admin-body .question-pagination{font-size:14px}.admin-body .page-jump input{width:70px}.admin-body .file-row{padding:18px;flex-wrap:wrap}.admin-body .file-info strong{font-size:14px}.admin-body .callout{font-size:14px}.admin-body .decision-dialog{padding:20px;width:calc(100vw - 32px);max-height:85vh;overflow:auto}}
@media(prefers-reduced-motion:reduce){.learner-body button,.learner-body a,.admin-body button,.admin-body a{transition:none}}
.question-source{text-align:center;color:#758577;font-size:12px;line-height:1.8;margin:20px 0 0}

.admin-body input[type=checkbox],.admin-body input[type=radio]{width:20px;height:20px;min-height:20px;accent-color:#278373}.admin-body .option-edit label{min-height:44px;min-width:48px}
.learner-body .card-head small{font-size:12px;color:#657e6d}
