.exam-service-site {
  color-scheme: light;
  --red: #d84c56;
  --red-dark: #bb3641;
  --ink: #333333;
  --muted: #888888;
  --line: #e4e4e4;
  --paper: #ffffff;
  --page: #f4f4f4;
  --scope: #f7f7f7;
}

/* 短暂恢复的成绩记录，沿用服务站表格，不改变原页面框架。 */
.exam-service-site .query-reveal-record{min-height:290px;scroll-margin-top:80px;}
.exam-service-site .query-progress-table{table-layout:fixed;}
.exam-service-site .query-progress-table th{width:38%;}
.exam-service-site .query-progress-table td{height:44px;}
.exam-service-site .query-reveal-latest>td{animation:score-query-row-in 120ms cubic-bezier(.23,1,.32,1) both;}
.exam-service-site .query-empty-result{min-height:220px;}
.exam-service-site .query-empty-result .query-empty-note{margin:12px 0 0;color:#999;font:13px/1.8 SimSun,serif;}
.score-query-glitch .query-reveal-record{animation:score-query-shear 240ms steps(1,end) both;}
.score-query-interference{position:fixed;inset:0;z-index:900;pointer-events:none;background:repeating-linear-gradient(0deg,#ccdbe233 0 1px,transparent 1px 5px);animation:score-query-flash 240ms steps(1,end) both;}
.score-query-paused .query-reveal-record,.score-query-paused .score-query-interference{animation-play-state:paused;}
@keyframes score-query-row-in{from{opacity:0}to{opacity:1}}
@keyframes score-query-shear{0%,32%,71%,100%{transform:none;filter:none}12%,48%{transform:translateX(3px);filter:contrast(1.25);text-shadow:-2px 0 #239ba6,2px 0 #bd6777}23%,60%,86%{transform:translateX(-2px);filter:contrast(1.1)}}
@keyframes score-query-flash{0%,24%,57%,100%{opacity:0}8%,41%{opacity:.65;background-color:#f7ffff73}16%,72%{opacity:.25;background-color:#b4bdc933}}
@media(prefers-reduced-motion:reduce){.exam-service-site .query-reveal-latest>td{animation:none}.score-query-glitch .query-reveal-record{animation:none;box-shadow:inset 0 0 0 1px #c6d1d6}.score-query-interference{animation:none;opacity:.12;background:#edf2f4;}}

.exam-service-site * { box-sizing: border-box; }
.exam-service-site [hidden] { display: none !important; }
.exam-service-site { min-width: 320px; }
.exam-service-site {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 14px/1.7 "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
.exam-service-site button, .exam-service-site input { font: inherit; }
.exam-service-site a { color: inherit; text-decoration: none; }
.exam-service-site a:hover { color: var(--red-dark); }
.exam-service-site a:focus-visible, .exam-service-site button:focus-visible {
  outline: 2px solid var(--red-dark);
  outline-offset: 4px;
}
.exam-service-site .site-width { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.exam-service-site .utility-bar {
  height: 29px;
  border-bottom: 1px solid #e8e8e8;
  background: #eeeeee;
  color: #777777;
  font: 12px/28px SimSun, "宋体", serif;
}
.exam-service-site .utility-content { display: flex; justify-content: space-between; gap: 20px; }
.exam-service-site .site-header {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.exam-service-site .wordmark { display: flex; align-items: center; gap: 15px; }
.exam-service-site .brand-symbol { width: 39px; height: 44px; flex-shrink: 0; color: var(--red); }
.exam-service-site .wordmark-copy { display: flex; flex-direction: column; gap: 4px; }
.exam-service-site .site-name { color: #333333; font: 30px/1.2 SimHei, "黑体", sans-serif; letter-spacing: 1px; white-space: nowrap; }
.exam-service-site .site-name > span { color: #c4434d; }
.exam-service-site .site-name-en { color: #999999; font: 10px/1.2 Arial, sans-serif; letter-spacing: 2.25px; }
.exam-service-site .header-caption { display: flex; flex-direction: column; gap: 4px; color: #888888; font-size: 12px; text-align: right; }
.exam-service-site .header-caption strong { color: #666666; font-size: 14px; font-weight: 400; letter-spacing: 1px; }
.exam-service-site .navigation-band { border-top: 1px solid #e5e5e5; border-bottom: 2px solid var(--red); background: #ffffff; }
.exam-service-site .main-navigation { display: flex; min-height: 43px; align-items: stretch; }
.exam-service-site .main-navigation a { min-width: 126px; padding: 9px 25px; text-align: center; border-inline-start: 1px solid #eeeeee; font-size: 15px; }
.exam-service-site .main-navigation a:last-child { border-inline-end: 1px solid #eeeeee; }
.exam-service-site .main-navigation a[aria-current="page"] { color: #ffffff; background: var(--red); }
.exam-service-site .main-navigation a:not([aria-current="page"]):hover { background: #faf2f3; }
.exam-service-site .breadcrumb { display: flex; align-items: center; gap: 10px; min-height: 43px; color: #999999; font: 12px/1.6 SimSun, "宋体", serif; }
.exam-service-site .breadcrumb a { color: #777777; }
.exam-service-site .page-paper { background: var(--paper); border: 1px solid #dedede; }
.exam-service-site .section-heading { min-height: 60px; padding: 15px 26px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.exam-service-site .section-heading h1 { display: flex; align-items: center; gap: 11px; margin: 0; color: #333333; font-size: 18px; font-weight: 600; line-height: 1.6; }
.exam-service-site .section-heading h1::before { content: ""; width: 4px; height: 18px; background: var(--red); }
.exam-service-site .section-heading > span { color: #999999; font-size: 12px; }
.exam-service-site .query-scope { margin: 24px 26px 0; border: 1px solid var(--line); }
.exam-service-site .scope-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); min-height: 54px; }
.exam-service-site .scope-row + .scope-row { border-top: 1px solid var(--line); }
.exam-service-site .scope-row dt { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--scope); color: #888888; font-size: 13px; }
.exam-service-site .scope-row dt span { color: #aaaaaa; font-family: Arial, sans-serif; }
.exam-service-site .scope-row dd { margin: 0; padding: 10px 20px; display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.exam-service-site .selected-item { display: inline-block; border: 1px solid var(--red); border-radius: 2px; color: var(--red); padding: 3px 16px; font-size: 13px; line-height: 24px; }
.exam-service-site .scope-row .year-options { gap: 12px; }
.exam-service-site .year-option { border: 1px solid transparent; border-radius: 2px; color: #777777; background: transparent; padding: 3px 16px; font: inherit; font-size: 13px; line-height: 24px; cursor: pointer; }
.exam-service-site .year-option:hover { color: var(--red-dark); background: #fcf6f6; }
.exam-service-site .year-option[aria-pressed="true"] { border-color: var(--red); color: var(--red); background: #ffffff; }
.exam-service-site .query-record { margin: 0 0 24px; font: 13px/1.8 SimSun, "宋体", serif; }
.exam-service-site .query-record h3 { margin: 0; padding: 7px 12px; background: #f7f7f7; border: 1px solid var(--line); font-size: 14px; font-weight: 400; }
.exam-service-site .query-record table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.exam-service-site .query-record th, .exam-service-site .query-record td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.exam-service-site .query-record th { width: 110px; background: #fafafa; color: #777777; font-weight: 400; }
.exam-service-site .query-record .query-scores { margin-top: 16px; }
.exam-service-site .query-record .query-scores th, .exam-service-site .query-record .query-scores td { width: auto; padding: 9px 5px; text-align: center; }
.exam-service-site .query-record .query-scores td:last-child { color: #333333; font-weight: bold; }
.exam-service-site .scope-description { color: #aaaaaa; font: 12px/1.6 SimSun, "宋体", serif; }
.exam-service-site .query-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 246px; gap: 32px; padding: 32px 26px 22px; min-height: 304px; }
.exam-service-site .form-panel { padding: 0 22px; min-width: 0; }
.exam-service-site .form-panel h2 { margin: 0 0 28px; padding: 2px 0 17px; border-bottom: 1px solid #ececec; font-size: 20px; font-weight: 400; line-height: 1.6; text-align: center; }
.exam-service-site #score-query-form { width: min(100%, 416px); margin: 0 auto; }
.exam-service-site .field-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
.exam-service-site .field-row label { padding-block-start: 4px; text-align: right; line-height: 30px; color: #444444; white-space: nowrap; }
.exam-service-site .field-body input {
  display: block;
  width: 100%;
  height: 35px;
  padding: 5px 9px;
  border: 1px solid #bdbdbd;
  border-radius: 1px;
  background: #ffffff;
  color: #333333;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 5%);
  font: 16px/23px Arial, sans-serif;
}
.exam-service-site .field-body input:focus { outline: 1px solid #b64b54; outline-offset: 0; border-color: #b64b54; }
.exam-service-site .field-body input[aria-invalid="true"] { border-color: var(--red-dark); }
.exam-service-site .field-body p { margin: 7px 0 0; color: #999999; font: 12px/1.65 SimSun, "宋体", serif; }
.exam-service-site .form-actions { display: flex; gap: 13px; padding-inline-start: 96px; margin-top: 22px; }
.exam-service-site .form-actions button { width: 95px; min-height: 34px; padding: 4px 10px; border-radius: 2px; font-size: 14px; cursor: pointer; }
.exam-service-site .query-button { color: #ffffff; background: var(--red); border: 1px solid #ca424c; }
.exam-service-site .query-button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.exam-service-site .query-button:disabled { background: #bd6870; border-color: #bd6870; cursor: wait; }
.exam-service-site .reset-button { color: #666666; background: #f5f5f5; border: 1px solid #cccccc; }
.exam-service-site .reset-button:hover { background: #eaeaea; color: #333333; }
.exam-service-site .form-actions button:active { transform: translateY(1px); }
.exam-service-site .result-slot { min-height: 65px; padding-inline-start: 96px; padding-top: 16px; }
.exam-service-site #score-query-feedback { margin: 0; color: #888888; font-size: 12px; line-height: 1.8; }
.exam-service-site #score-query-feedback.is-error { color: #b13b45; }
.exam-service-site .query-guidance { align-self: start; border: 1px solid #e3e3e3; padding-bottom: 15px; }
.exam-service-site .query-guidance h2 { margin: 0; padding: 8px 14px; background: #f7f7f7; border-bottom: 1px solid #e3e3e3; color: #555555; font-size: 14px; font-weight: 400; }
.exam-service-site .query-guidance p { padding: 0 14px; margin: 12px 0; color: #888888; font: 12px/1.85 SimSun, "宋体", serif; }
.exam-service-site .query-guidance a { display: inline-block; margin-inline-start: 14px; color: #b94b54; font: 12px/1.8 SimSun, "宋体", serif; }
.exam-service-site .query-guidance a:hover, .exam-service-site .entry-link:hover, .exam-service-site .help-return a:hover { text-decoration: underline; }
.exam-service-site .paper-note { padding: 14px 26px; color: #999999; background: #fafafa; border-top: 1px solid #e9e9e9; font: 12px/1.85 SimSun, "宋体", serif; }
.exam-service-site .paper-note > span { color: #777777; }
.exam-service-site .site-footer { padding: 25px 0 28px; text-align: center; color: #999999; font: 12px/1.8 Arial, SimSun, "宋体", serif; }
.exam-service-site .site-footer p { margin: 3px 0; }
.exam-service-site .site-footer p:first-child { color: #888888; }
.exam-service-site .site-footer span { color: #c4c4c4; }
.exam-service-site .information-page { min-height: 545px; }
.exam-service-site .home-introduction { margin: 30px 34px; padding: 24px 26px; border: 1px solid #e5e5e5; background: #fafafa; }
.exam-service-site .home-introduction h2 { margin: 0 0 15px; color: #444444; font-size: 20px; font-weight: 400; }
.exam-service-site .home-introduction p { margin: 0 0 18px; color: #777777; font: 14px/1.9 SimSun, "宋体", serif; }
.exam-service-site .entry-link { color: #bb404b; font-size: 14px; }
.exam-service-site .information-list { margin: 28px 34px 40px; }
.exam-service-site .information-list h2 { margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid #dddddd; font-size: 15px; font-weight: 400; }
.exam-service-site .information-list > a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 12px 3px; border-bottom: 1px dotted #dddddd; font: 13px/1.8 SimSun, "宋体", serif; }
.exam-service-site .information-list time { white-space: nowrap; color: #999999; font: 12px/1.8 Arial, sans-serif; }
.exam-service-site .help-article { max-width: 880px; margin: 28px auto 36px; padding-inline: 30px; font: 14px/2 SimSun, "宋体", serif; }
.exam-service-site .help-article > h2 { margin: 0; color: #444444; font: 20px/1.8 "Microsoft YaHei", "微软雅黑", sans-serif; text-align: center; }
.exam-service-site .help-article .article-meta { margin: 9px 0 27px; padding-bottom: 17px; border-bottom: 1px solid #eeeeee; text-align: center; color: #999999; font-size: 12px; }
.exam-service-site .help-article h3 { margin: 20px 0 6px; font-size: 14px; }
.exam-service-site .help-article p { margin: 7px 0; }
.exam-service-site .help-return { margin-top: 28px; padding-top: 14px; border-top: 1px solid #eeeeee; color: #bb404b; }

@media (max-width: 900px) {
  .exam-service-site .query-workspace { grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; padding-inline: 20px; }
  .exam-service-site .form-panel { padding-inline: 0; }
  .exam-service-site .form-panel h2 { font-size: 18px; }
  .exam-service-site .scope-description { display: none; }
}
@media (max-width: 680px) {
  .exam-service-site .site-width { width: calc(100% - 24px); }
  .exam-service-site .utility-content > span:last-child { display: none; }
  .exam-service-site .site-header { min-height: 94px; gap: 8px; }
  .exam-service-site .header-caption { display: none; }
  .exam-service-site .brand-symbol { width: 31px; height: 36px; }
  .exam-service-site .wordmark { gap: 10px; }
  .exam-service-site .site-name { font-size: 26px; letter-spacing: 0; }
  .exam-service-site .site-name-en { font-size: 9px; letter-spacing: 1.5px; }
  .exam-service-site .main-navigation a { flex: 1; min-width: 0; padding-inline: 12px; font-size: 14px; }
  .exam-service-site .section-heading { padding: 13px 15px; min-height: 54px; }
  .exam-service-site .section-heading h1 { font-size: 17px; }
  .exam-service-site .section-heading > span { font-size: 11px; }
  .exam-service-site .query-scope { margin: 17px 15px 0; }
  .exam-service-site .scope-row { grid-template-columns: 92px minmax(0, 1fr); min-height: 50px; }
  .exam-service-site .scope-row dd { padding: 8px 12px; }
  .exam-service-site .scope-row dt { gap: 5px; font-size: 12px; }
  .exam-service-site .selected-item { font-size: 12px; padding: 2px 10px; }
  .exam-service-site .scope-row .year-options { gap: 5px; }
  .exam-service-site .year-option { font-size: 12px; padding: 2px 9px; }
  .exam-service-site .query-workspace { grid-template-columns: minmax(0, 1fr); padding: 26px 15px 20px; gap: 6px; }
  .exam-service-site .form-panel h2 { font-size: 17px; margin-bottom: 23px; }
  .exam-service-site .field-row { grid-template-columns: 75px minmax(0, 1fr); gap: 6px; }
  .exam-service-site .field-row label { font-size: 13px; }
  .exam-service-site .form-actions, .exam-service-site .result-slot { padding-inline-start: 81px; }
  .exam-service-site .form-actions { gap: 10px; }
  .exam-service-site .form-actions button { width: 86px; }
  .exam-service-site .query-guidance { width: 100%; }
  .exam-service-site .query-guidance p { margin: 9px 0; }
  .exam-service-site .paper-note { padding-inline: 15px; }
  .exam-service-site .site-footer { font-size: 11px; }
  .exam-service-site .home-introduction { margin: 20px 16px; padding: 18px; }
  .exam-service-site .home-introduction h2 { font-size: 18px; }
  .exam-service-site .information-list { margin: 24px 16px; }
  .exam-service-site .information-list > a { gap: 12px; }
  .exam-service-site .information-list time { font-size: 11px; }
  .exam-service-site .help-article { padding-inline: 18px; }
  .exam-service-site .help-article > h2 { font-size: 18px; }
}

.exam-service-desktop {min-height:100vh;background:#f4f4f4;padding-bottom:62px;}
.exam-service-site {min-height:calc(100vh - 106px);}
