/* Shared action sizing; question choices keep their reading size. */
:root{--control-height:30px;--control-font:.75rem;--control-pad:4px 9px}
body :is(.plain-btn,.action-btn,.icon-btn),body .question-bottom-actions button{
 min-height:var(--control-height);padding:var(--control-pad);font-size:var(--control-font);line-height:20px;border-radius:6px;box-sizing:border-box;
}
body .icon-btn{min-width:30px;padding:4px 7px;font-size:1rem}
body :is(.topic-head-actions,.review-head-actions,.question-bottom-actions){gap:6px}
.resume-card{position:relative;min-width:0}
.resume-card>.recent-topic{width:100%;height:100%;padding:10px 35px 10px 11px;gap:3px;border-radius:9px}
.resume-card>.recent-topic strong{font-size:12px;line-height:1.45}
.resume-card>.recent-topic :is(.recent-progress,.recent-subject){font-size:11px;line-height:1.4}
.resume-dismiss{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:20px;line-height:1;font-family:inherit;cursor:pointer}
.resume-dismiss:hover{background:#e5ecdf;color:var(--ink)}
.resume-dismiss:focus-visible{outline:2px solid var(--brand);outline-offset:1px}
.resume-dismiss:disabled{cursor:wait;opacity:.5}
.resume-card>.action-btn{padding-right:36px}
.review-head-actions>.resume-card{display:inline-flex}
#wrongReviewSubjects>.resume-card{justify-self:start;width:fit-content;max-width:100%}
body.header-progress .topbar{padding-block:3px}
body.header-progress .topbar #topProgress.compact-header-progress:not([hidden]){max-width:360px;gap:3px}
#topProgress .top-progress-card{padding:2px 4px;gap:1px;border-radius:4px}
#topProgress .top-progress-card :is(.top-progress-primary,.top-progress-name,strong){font-size:11px;line-height:14px}
#topProgress .top-progress-card .top-progress-secondary,#topProgress .top-progress-card .top-progress-secondary strong{font-size:10px;line-height:12px;gap:3px}
body .progress-panel{padding:11px 13px;border-radius:10px}
body .progress-row{font-size:11px}
body .progress-row strong{font-size:12px}
body .progress-track{height:5px;margin:8px 0 5px}
body .metric{padding:11px 13px;min-height:84px;border-radius:10px}
body .metric-num{font-size:23px;margin-top:6px}
body .home-panel .exam-progress{padding:8px}
body .home-panel .exam-progress h2{font-size:13px}
body .home-panel .exam-progress-counts dd{font-size:14px}
body #progressDetailDialog{width:min(560px,calc(100vw - 24px));font-size:14px;border-radius:12px}
body .progress-detail-header{padding:12px 14px}
body .progress-detail-header h2{font-size:18px}
body .progress-detail-close{min-height:30px;padding:4px 9px;font-size:12px;border-radius:6px}
body .progress-detail-body{padding:12px 14px 16px}
body :is(.progress-detail-round,.progress-detail-scope,.progress-detail-error-note,.progress-subject-errors){font-size:12px}
body .progress-detail-summary{gap:6px;margin:12px 0 18px}
body .progress-detail-summary>div{padding:9px 6px;border-radius:8px}
body .progress-detail-summary dt,body .progress-detail-summary dd small{font-size:12px}
body .progress-detail-summary dd{font-size:21px;margin-top:4px}
body .progress-detail-errors{gap:6px;margin-bottom:8px}
body .progress-detail-errors>div{padding:9px;border-radius:8px}
body .progress-detail-errors dt,body .progress-detail-errors dd small{font-size:12px}
body .progress-detail-errors dd{font-size:20px;margin-top:4px}
body .progress-detail-list-title h3{font-size:15px}
body .progress-detail-list-title span,body .progress-subject-count,body .progress-detail-metrics p{font-size:12px}
body .progress-subject{padding:11px 0}
body .progress-subject-heading :is(h4,strong){font-size:14px}
@media(min-width:1000px){body.header-progress .topbar>.wrap{grid-template-columns:auto minmax(0,340px) minmax(0,1fr) auto;column-gap:10px}body.header-progress .topbar{min-height:42px}}
@media(max-width:700px){
 body.header-progress .topbar #topProgress.compact-header-progress:not([hidden]){max-width:none}
 .resume-card>.recent-topic{padding:8px 33px 8px 9px}
 body.header-progress .account-menu-trigger{width:30px;min-height:30px;padding:2px}
 body.header-progress .account-avatar{width:24px;height:24px;font-size:13px}
}
@media(max-width:350px){#topProgress .top-progress-card .top-progress-secondary{flex-direction:row;gap:1px}#topProgress .top-progress-card .top-progress-metric{width:auto;gap:1px}}
