/* Approved UI refinement, 2026-10-29. Presentation only; existing statistical rules retained. */
#app .h5-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;align-items:center}
#app .h5-foot .h5f-apply,#app .h5-foot .portal-guide-link{display:flex;align-items:center;justify-content:center;min-height:40px;width:100%;box-sizing:border-box;padding:9px 5px;border:1px solid rgba(108,147,179,.07);border-radius:10px;background:rgba(255,255,255,.2);box-shadow:none;color:#65809a;font-size:13px;font-weight:400;line-height:1.4;text-decoration:none;white-space:nowrap}
#app .h5-foot .h5f-apply svg{display:none}
#app .h5-foot .h5f-tag{grid-column:1/-1;justify-self:center;margin:0;font-size:12px}
#app .h5-foot a:hover{background:rgba(255,255,255,.65)}
.wing-register-logo{display:block;width:180px;height:60px;object-fit:contain}
body.match-page .match-navigation{display:block;margin:16px 0 20px;padding:0;background:none;border:none;box-shadow:none}
.match-navigation .match-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;background:#e7eff6;border-radius:13px;padding:5px}
body.match-page .match-navigation button{margin:0;font:inherit;cursor:pointer;min-width:0;min-height:44px;box-shadow:none}
body.match-page .match-primary button{border:0;border-radius:10px;background:transparent;color:#69839a;font-size:15px;font-weight:600;padding:10px 4px}
body.match-page .match-primary button[aria-selected="true"]{background:#fff;color:#246ac8}
.match-navigation .match-secondary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 0}
body.match-page .match-secondary button{background:#fff;border:1px solid #d3e1ef;border-radius:10px;padding:8px 3px;color:#244766;font-size:13px;font-weight:550;white-space:nowrap}
body.match-page .match-secondary button[aria-selected="true"]{background:#eef5ff;border-color:#377acb;color:#2369bb}
body.match-page .match-secondary button:hover{background:#eef5fc}
body.match-page .instant-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}
body.match-page .instant-filters .field{min-width:0}
body.match-page .instant-filters label{font-size:12px;font-weight:500;color:#617e97;white-space:nowrap}
body.match-page .instant-filters select{width:100%;min-width:0;min-height:43px;padding:9px 5px;font-size:14px;border-radius:9px}
body.match-page .paired-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.match-page .paired-actions .btn{width:100%;min-width:0;min-height:44px;padding:10px 4px;font-size:13px;white-space:normal}
body.match-page .paired-actions .btn+ .btn{background:#eef5ff;color:#2567b5;border-color:#d8e7fb}
body.match-page .job-facts time{white-space:nowrap}
.wk-card .wk-hd .doc-help{margin-left:auto;flex:0 0 auto}
.institution-dashboard .expand-groups{display:block;width:100%;min-height:44px;background:transparent;border:0;border-radius:8px;margin:10px 0 0;color:#587a99;font:inherit;font-size:13px;cursor:pointer}
.institution-dashboard .expand-groups:hover{background:#f2f7fc}
.institution-dashboard .exam-detail-period{border:1px solid #e0ebf5;border-radius:13px;margin:12px 0 0;overflow:hidden}
.institution-dashboard .exam-detail-period>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;cursor:pointer}
.institution-dashboard .exam-detail-period>summary::-webkit-details-marker{display:none}
.institution-dashboard .exam-detail-period>summary strong{font-size:18px;display:block}
.institution-dashboard .exam-detail-period>summary small{display:block;margin-top:5px;color:#718aa1;font-size:12px}
.institution-dashboard .exam-detail-period[open]>summary>.icon{transform:rotate(90deg)}
.institution-dashboard .exam-detail-people{padding:0 18px}
.institution-dashboard .exam-detail-person{padding:16px 0;border-top:1px solid #e4edf5}
.institution-dashboard .exam-detail-name{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#71869b;font-size:12px}
.institution-dashboard .exam-detail-student{border:0;background:none;color:#163c5a;font-size:15px;font-weight:700;padding:0;cursor:pointer}
.institution-dashboard .exam-detail-level{background:#eef5ff;border-radius:6px;padding:4px 7px;color:#5380a8}
.institution-dashboard .exam-detail-subject{display:grid;grid-template-columns:minmax(0,1fr) 70px 70px;gap:7px;align-items:center;padding:10px 0;font-size:13px}
.institution-dashboard .exam-detail-subject>b{font-size:12px;font-weight:600}
.institution-dashboard .exam-detail-subject>span:last-child{color:#7c91a3;text-align:right;font-size:12px}
.institution-dashboard .exam-detail-subject .passed{color:#117d71}.institution-dashboard .exam-detail-subject .failed{color:#ac681c}.institution-dashboard .exam-detail-subject .unrecorded{color:#74899b}
#legacyBridgeOverlay .legacy-dialog{height:min(620px,74dvh);min-height:300px;max-height:calc(100dvh - 40px);display:block;border-radius:24px 24px 0 0;padding:24px 20px max(24px,env(safe-area-inset-bottom));overflow:auto;width:min(650px,100%)}
#legacyBridgeOverlay .sheet-head{min-height:44px;margin:0 0 22px;padding-bottom:10px}
#legacyBridgeOverlay .sheet-head h3{font-size:18px}
#legacyBridgeOverlay .legacy-dialog>.empty{display:grid;place-items:center;min-height:180px}
@media(max-width:420px){#app .h5-foot{gap:8px}#app .h5-foot .h5f-apply,#app .h5-foot .portal-guide-link{font-size:11.5px}.match-navigation .match-secondary{gap:7px}.wing-register-logo{width:160px;height:54px}}
@media(prefers-reduced-motion:reduce){.match-navigation button,.exam-detail-period .icon{transition:none}}

/* Small refinements to the existing teaching pages, 2026-10-29. */
.institution-dashboard .exam-view-switch{flex:none;min-height:38px;padding:7px 12px;border:1px solid #d5e4f2;border-radius:9px;background:#f2f7fd;color:#326a9d;font-family:inherit;font-size:13px;line-height:1.4;font-weight:600;cursor:pointer;white-space:nowrap}
.institution-dashboard .exam-view-switch[aria-pressed="true"]{background:#eaf3ff;border-color:#bcd5f0;color:#2466a5}
.institution-dashboard .exam-view-caption{margin:-2px 0 14px;color:#7088a0;font-size:12px}
.institution-dashboard .exam-detail-period>summary::after{content:none}
.institution-dashboard .exam-detail-period>summary>.icon{margin-left:auto;flex:none;width:15px;height:15px}
.institution-dashboard .exam-detail-period .exam-result-summary{font-size:11px;color:#537a78;line-height:1.7}
.institution-dashboard .expand-groups{margin:12px 0 0;border-top:1px solid #edf2f7;border-radius:0;color:#5e7f9f}
#coachBody .student-detail-view{font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.7}
#coachBody .student-detail-view .block-title{font-size:15px;line-height:1.5;font-weight:650;margin-bottom:10px;color:#2466af}
#coachBody .student-detail-view .kv{font-size:14px;line-height:1.75;font-weight:400;padding:3px 0;color:#4d6b87}
#coachBody .student-detail-view .kv b{font-weight:600}
#coachBody .student-detail-view .pill{font-family:inherit;font-size:12px;font-weight:600;line-height:1.45;padding:4px 9px}
#coachBody .student-detail-view .pills{gap:6px}
#coachBody .student-detail-view .detail-head .meta{font-size:13px;line-height:1.75}
#coachBody .student-detail-view .doc-exam-heading{font-size:14px;font-weight:500}
#coachBody .student-detail-view .doc-exam-facts time,#coachBody .student-detail-view .doc-exam-date{font-size:16px;font-weight:650;line-height:1.4}
#coachBody .student-detail-view .doc-exam-facts b{font-size:14px;font-weight:600}
#coachBody .student-detail-view .ground-stage-note{font-size:13px!important;line-height:1.75!important}
#appRoot main:has(.student-detail-view){padding-bottom:calc(var(--tabbar-h,60px) + 14px)}
.wk-card .wk-chart{height:158px!important;padding:4px 3px!important}
.wk-card .wk-chart .wk-col{height:auto!important;flex-shrink:0}
.wk-card .wk-num{line-height:18px}
.wk-card .wk-rate{line-height:18px;margin-bottom:5px}
.wk-card .wk-day{line-height:17px;margin-top:3px}
/* [2026-11-08] 教练页柱形与数据看板统一：纯色 / 顶部小圆角 / 28px 柱宽（手机 24px）；容器空白收小 */
/* 与看板 .week-track{width:28px;max-width:65%} 完全对齐：桌面 34px×65%≈22px、手机 30px×65%≈19.5px */
.wk-card .wk-bar{width:28px;max-width:65%;border-radius:5px 5px 0 0;background:#86baf5;box-shadow:none}
.wk-card .wk-col.empty-day .wk-bar{background:#86baf5}
.wk-card .wk-col.today .wk-bar{background:#1768e8;box-shadow:none}
@media(max-width:740px){.wk-card .wk-chart{height:156px!important;padding:4px 32px!important}.wk-card .wk-chart .wk-col{flex-basis:30px!important;min-width:30px!important}.wk-card .wk-bar{width:24px;max-width:65%}}
.exam-view-switch:focus-visible{outline:3px solid #82b8f3;outline-offset:2px}

/* Identical date typography in exam arrangements and exam results. */
.institution-dashboard .date-main>strong,
.institution-dashboard .exam-detail-period>summary strong{
  display:block;font-family:inherit;font-size:17px;font-weight:700;
  line-height:1.5;letter-spacing:normal;color:#264d76;
  font-variant-numeric:tabular-nums;
}
@media(max-width:760px){
  .institution-dashboard .date-main>strong,
  .institution-dashboard .exam-detail-period>summary strong{font-size:15px}
}

/* Compact exam record facts; keep one confirmation/rejection date only. */
#coachBody .student-detail-view .doc-exam-facts{gap:7px 12px;margin:8px 0;font-size:12px;line-height:1.4}
#coachBody .student-detail-view .doc-exam-facts>span{gap:2px}
#coachBody .student-detail-view .doc-exam-facts time,
#coachBody .student-detail-view .doc-exam-facts b{font-family:inherit;font-size:14px;font-weight:600;line-height:1.4}
#coachBody .student-detail-view .exam-item{padding:11px 0!important}
