/* Shared statistical panels follow the task-card prototype's visual language. */
.attempt-page{width:100%;min-width:0;box-sizing:border-box}.attempt-history{min-width:0;grid-template-columns:minmax(0,1fr)}.attempt-history select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.attempt-results-body{box-sizing:border-box}
@media(max-width:650px){.attempt-parts :is(th,td){font-size:12px;padding:10px 6px}.attempt-parts tbody th{min-width:84px}.attempt-parts .metric-bar{min-width:62px}}
.portal-statistics{overflow:hidden}.portal-statistics .stats-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.portal-statistics .stats-head h2{margin:0;font-size:23px}.portal-statistics .sample-count{display:flex;align-items:baseline;gap:6px;padding:7px 11px;border-radius:11px;background:#f3f7f4;color:#6b7c71;font-size:12px;flex-wrap:wrap}.portal-statistics .sample-count strong{font-size:20px;color:#183c2d;font-family:Georgia,"Times New Roman",serif}.portal-statistics .stat-metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-statistics .stat-metric{padding:14px 15px;border:1px solid #dbe4dc;border-radius:14px;background:#fbfcfb;min-width:0}.portal-statistics .metric-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:13px;font-weight:700;color:#3e4e45}.portal-statistics .metric-head strong{font-size:18px;color:#183c2d;white-space:nowrap}.portal-statistics .metric-bar{height:9px;border-radius:999px;background:#e8ede9;overflow:hidden}.portal-statistics .metric-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2b6848,#6d916f)}.portal-statistics .metric-bar.warm span{background:linear-gradient(90deg,#d0a642,#b98225)}.portal-statistics .metric-bar.neutral span{background:linear-gradient(90deg,#75877d,#a5b1aa)}.portal-statistics .metric-caption{margin-top:7px;color:#718077;font-size:11.5px;line-height:1.5}.portal-statistics .stats-detail{padding:15px;border:1px solid #dbe4dc;border-radius:14px;background:#fbfcfb;margin-top:14px}.portal-statistics .detail-title{font-size:13px;font-weight:800;color:#30463a;margin:0 0 12px}.portal-statistics .stats-data-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(80px,1.2fr) auto;gap:12px;align-items:center;font-size:12px;margin:12px 0}.portal-statistics .stats-data-row>span{min-width:0}.portal-statistics .stats-data-row small{display:block;color:#718077;font-size:11px;margin-top:3px}.portal-statistics .stats-data-row strong{white-space:nowrap;color:#30463a}.portal-statistics .stats-empty{color:#718077;border:1px dashed #c7d3ca;background:#fbfcfb;border-radius:12px;padding:14px 16px;font-size:13px;margin-top:14px}.portal-statistics .attempt-score-ring{width:142px;height:142px;padding:11px;background:conic-gradient(#c5a34e calc(var(--result-percent)*1%),#e7ece8 0)}.portal-statistics .attempt-score-ring strong{font-family:Georgia,"Times New Roman",serif;font-size:32px;color:#274532}.portal-statistics.attempt-results{gap:26px;padding:24px;background:#fff;align-items:flex-start}.portal-statistics .attempt-results-body h2{font-size:27px;margin-bottom:16px}.portal-statistics .attempt-result-legend{margin-top:15px}.portal-statistics .profile-progress-section{margin-top:18px}.profile-attempt .metric-bar{height:7px;margin-top:6px}.attempt-parts .metric-bar{min-width:100px;margin-top:7px}.attempt-history select{font-size:13px}@media(max-width:700px){.portal-statistics .stat-metrics-grid{grid-template-columns:1fr}.portal-statistics .stats-head{flex-wrap:wrap}.portal-statistics .stats-data-row{grid-template-columns:minmax(90px,1fr) minmax(60px,1fr) auto;gap:8px}.portal-statistics .metric-head{font-size:12px}.portal-statistics .metric-head strong{font-size:17px}.portal-statistics.attempt-results{padding:18px}.portal-statistics .sample-count{font-size:11px}}
