:root {
  color-scheme: light;
  --bg: #07110d;
  --surface: #ffffff;
  --surface-soft: #f5fbf8;
  --surface-glass: rgb(255 255 255 / 0.86);
  --line: #d9e8e4;
  --line-strong: #a9c2bc;
  --text: #101b19;
  --muted: #5f716d;
  --accent: #08a77d;
  --accent-2: #0878b8;
  --accent-soft: #e4fbf3;
  --warning: #a56a1d;
  --sidebar-bg: #06130f;
  --sidebar-line: rgb(0 217 255 / 0.24);
  --sidebar-text: #d9fff5;
  --sidebar-muted: #86aaa1;
  --neon-cyan: #00d9ff;
  --neon-emerald: #12e6b0;
  --neon-soft: rgb(18 230 176 / 0.12);
  --shadow: 0 24px 60px rgb(5 24 20 / 0.12);
  --shadow-soft: 0 12px 30px rgb(5 24 20 / 0.08);
  --sidebar-shadow: 0 22px 70px rgb(0 217 255 / 0.16), inset 0 0 0 1px rgb(18 230 176 / 0.08);
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sidebar-icon-ai: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 20 7v10l-8 4.5L4 17V7l8-4.5Z'/%3E%3Cpath d='M8 15l2.2-6h3.6L16 15'/%3E%3Cpath d='M9.2 12.8h5.6'/%3E%3Cpath d='M18 9v6'/%3E%3C/svg%3E");
  --sidebar-icon-trend: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 16l4-5 3 3 5-7'/%3E%3Cpath d='M19 7v5h-5'/%3E%3Cpath d='M8 19v-3'/%3E%3Cpath d='M12 19v-6'/%3E%3Cpath d='M16 19v-4'/%3E%3C/svg%3E");
  --sidebar-icon-data: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 16V9'/%3E%3Cpath d='M12 16v-5'/%3E%3Cpath d='M16 16V7'/%3E%3Cpath d='M7 8l3 3 3-2 4 4'/%3E%3C/svg%3E");
  --sidebar-icon-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h8l4 4v14H7V3Z'/%3E%3Cpath d='M15 3v5h4'/%3E%3Cpath d='M10 12h6'/%3E%3Cpath d='M10 16h6'/%3E%3C/svg%3E");
  --sidebar-icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.2 7-11a7 7 0 0 0-14 0c0 5.8 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  --sidebar-icon-quota: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='5' cy='18' r='2'/%3E%3Ccircle cx='19' cy='18' r='2'/%3E%3Cpath d='M12 7v4'/%3E%3Cpath d='M5 16v-3h14v3'/%3E%3C/svg%3E");
  --sidebar-icon-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='m12 10 1.1 2.2 2.4.3-1.7 1.7.4 2.4-2.2-1.1-2.2 1.1.4-2.4-1.7-1.7 2.4-.3L12 10Z'/%3E%3C/svg%3E");
  --sidebar-icon-profile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 7h2'/%3E%3Cpath d='M13 7h2'/%3E%3Cpath d='M9 11h2'/%3E%3Cpath d='M13 11h2'/%3E%3Cpath d='M9 15h2'/%3E%3Cpath d='M13 15h2'/%3E%3C/svg%3E");
  --sidebar-icon-tier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18h16'/%3E%3Cpath d='M7 18v-4'/%3E%3Cpath d='M12 18V9'/%3E%3Cpath d='M17 18V6'/%3E%3Cpath d='M6 10l4-4 4 3 4-5'/%3E%3C/svg%3E");
  --sidebar-icon-middle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3Cpath d='M7.5 18a5 5 0 0 1 9 0'/%3E%3Cpath d='M18 6l2-2'/%3E%3C/svg%3E");
  --sidebar-icon-gaokao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='M6 10v5c2 2 10 2 12 0v-5'/%3E%3Cpath d='M21 8v6'/%3E%3C/svg%3E");
  --sidebar-icon-estimator: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3Cpath d='M7 12a5 5 0 0 1 10 0'/%3E%3C/svg%3E");
  --sidebar-icon-volunteer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h4'/%3E%3C/svg%3E");
  --sidebar-icon-rules: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='16' rx='2'/%3E%3Cpath d='M9 9h6'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h4'/%3E%3C/svg%3E");
  --sidebar-icon-timeline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M8 14h4'/%3E%3Cpath d='M8 18h8'/%3E%3C/svg%3E");
  --sidebar-icon-web: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='11' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3C/svg%3E");
  --sidebar-icon-feedback: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='12' height='17' rx='2'/%3E%3Cpath d='M9 4h6'/%3E%3Cpath d='m9 13 2 2 4-5'/%3E%3C/svg%3E");
}

/* 2026 广东高考志愿驾驶舱 v7 */
.app-shell.is-gaokao-view {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "workspace"
    "footer";
  height: 100vh;
  padding: 0;
  background: #08111f;
}

.app-shell.is-gaokao-view::before,
.app-shell.is-gaokao-view [class~="batch-sidebar"] {
  display: none;
}

.app-shell.is-gaokao-view .workspace {
  grid-area: workspace;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: auto;
  background: #08111f;
}

.app-shell.is-gaokao-view .gaokao-workspace {
  min-height: 100%;
  padding: 0;
  color: #e9efff;
  background:
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px),
    #08111f;
  background-size: 32px 32px;
}

.app-shell.is-gaokao-view .site-footer {
  position: relative;
  z-index: 1;
  grid-area: footer;
  border-top-color: #1f2d43;
  background: #07101d;
  color: #8997ac;
}

.app-shell.is-gaokao-view .site-footer__link,
.app-shell.is-gaokao-view .site-footer__copyright,
.app-shell.is-gaokao-view .site-footer__statement {
  color: #8997ac;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.gaokao-command-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #203047;
  background: rgb(7 16 29 / 0.96);
  padding: 0 28px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.18);
}

.gaokao-command-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gaokao-command-brand > strong {
  color: #f6f8ff;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.gaokao-stage-tabs {
  display: inline-flex;
  gap: 3px;
  border: 1px solid #33445f;
  border-radius: 8px;
  padding: 3px;
  background: #101c2d;
}

.gaokao-stage-tabs button,
.gaokao-command-nav button {
  border: 0;
  background: transparent;
  color: #93a2ba;
  cursor: pointer;
  font: inherit;
}

.gaokao-stage-tabs button {
  min-height: 32px;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 720;
}

.gaokao-stage-tabs button[aria-selected="true"] {
  background: #3658d4;
  color: #fff;
}

.gaokao-command-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 4px;
}

.gaokao-command-nav button {
  position: relative;
  min-width: 92px;
  padding: 0 14px;
  font-size: 14px;
}

.gaokao-command-nav button[aria-current="page"] {
  color: #f4f7ff;
}

.gaokao-command-nav button[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  background: #7a65f6;
}

.gaokao-command-status {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: #7e8ba0;
  font-size: 11px;
}

.gaokao-command-status strong {
  color: #dce5f5;
  font-size: 13px;
}

.gaokao-home-shell,
.gaokao-reference-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.gaokao-home-intro,
.gaokao-reference-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.gaokao-home-intro h1,
.gaokao-reference-head h1 {
  margin: 8px 0 10px;
  color: #f5f7ff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.gaokao-home-intro p,
.gaokao-reference-head p {
  max-width: 760px;
  margin: 0;
  color: #94a2b8;
  font-size: 15px;
  line-height: 1.75;
}

.gaokao-kicker {
  color: #8fa5ff;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.gaokao-outline-button {
  flex: none;
  min-height: 40px;
  border: 1px solid #465c7d;
  border-radius: 8px;
  background: #101d30;
  color: #cbd7eb;
  padding: 0 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
  line-height: 38px;
  text-decoration: none;
}

.gaokao-profile-board,
.gaokao-reference-card {
  border: 1px solid #253751;
  border-radius: 12px;
  background: #0d192a;
  padding: 26px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.18);
}

.gaokao-profile-board__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.gaokao-profile-board__head span {
  color: #8595ad;
  font-size: 12px;
}

.gaokao-profile-board__head h2 {
  margin: 5px 0 0;
  color: #edf2ff;
  font-size: 22px;
}

.gaokao-profile-board__head p {
  max-width: 440px;
  margin: 0;
  color: #7f8ca0;
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.gaokao-profile-board .gaokao-profile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gaokao-profile-board .gaokao-profile-grid label > span,
.gaokao-reference-card .gaokao-search > span {
  color: #92a0b5;
}

.gaokao-profile-board .gaokao-profile-grid input,
.gaokao-profile-board .gaokao-profile-grid select,
.gaokao-reference-card .gaokao-search input {
  border-color: #33445f;
  background: #101e31;
  color: #eef3ff;
}

.gaokao-profile-board .gaokao-profile-actions {
  border-top: 1px solid #22344e;
  margin-top: 22px;
  padding-top: 20px;
}

.gaokao-profile-board .gaokao-profile-actions p {
  color: #7e8ba0;
}

.gaokao-gradient-button {
  min-height: 44px;
  border: 1px solid #8977ff;
  border-radius: 8px;
  background: #6655e8;
  color: #fff;
  padding: 0 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
  box-shadow: 0 10px 26px rgb(90 72 220 / 0.28);
}

.gaokao-gradient-button--wide {
  width: 100%;
}

.gaokao-readiness-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid #253751;
  border-radius: 12px;
  background: #0c1727;
}

.gaokao-readiness-strip > div {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border-right: 1px solid #253751;
}

.gaokao-readiness-strip > div:last-child {
  border-right: 0;
}

.gaokao-readiness-strip span,
.gaokao-readiness-strip small {
  color: #78879d;
  font-size: 11px;
}

.gaokao-readiness-strip strong {
  color: #ecf2ff;
  font-size: 20px;
}

.gaokao-cockpit {
  padding: 18px;
}

.gaokao-intent-bar {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  border: 1px solid #273a57;
  border-radius: 10px;
  background: #0d192a;
  padding: 12px 14px;
}

.gaokao-intent-bar > div {
  display: grid;
  gap: 4px;
  min-width: 260px;
}

.gaokao-intent-bar span {
  color: #77869d;
  font-size: 10px;
}

.gaokao-intent-bar strong {
  color: #e3eaff;
  font-size: 13px;
}

.gaokao-intent-bar input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #334763;
  border-radius: 8px;
  outline: 0;
  background: #111f33;
  color: #f0f4ff;
  padding: 0 15px;
  font: inherit;
}

.gaokao-intent-bar input:focus {
  border-color: #7869ee;
  box-shadow: 0 0 0 3px rgb(120 105 238 / 0.14);
}

.gaokao-cockpit-grid {
  display: grid;
  grid-template-columns: 236px minmax(620px, 1fr) 246px;
  gap: 14px;
  min-height: calc(100vh - 168px);
}

.gaokao-filter-panel,
.gaokao-results-panel,
.gaokao-plan-panel {
  min-width: 0;
  border: 1px solid #263852;
  border-radius: 10px;
  background: #0c1829;
  overflow: hidden;
}

.gaokao-filter-panel > header,
.gaokao-plan-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  border-bottom: 1px solid #263852;
  padding: 0 16px;
}

.gaokao-filter-panel h2,
.gaokao-plan-panel h2 {
  margin: 0;
  color: #f0f4ff;
  font-size: 16px;
}

.gaokao-filter-panel > header button,
.gaokao-plan-list button {
  border: 0;
  background: transparent;
  color: #7184a4;
  cursor: pointer;
  font-size: 12px;
}

.gaokao-filter-group {
  padding: 18px 16px;
  border-bottom: 1px solid #22344d;
}

.gaokao-filter-group > span {
  display: block;
  margin-bottom: 12px;
  color: #c9d5e8;
  font-size: 13px;
  font-weight: 760;
}

.gaokao-segmented-filter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.gaokao-segmented-filter button {
  min-height: 34px;
  border: 1px solid #30425d;
  border-radius: 7px;
  background: #111f32;
  color: #8f9eb4;
  cursor: pointer;
  font-size: 12px;
}

.gaokao-segmented-filter button[aria-pressed="true"] {
  border-color: #6b70ea;
  background: #25305f;
  color: #eef0ff;
}

.gaokao-check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  color: #91a0b6;
  font-size: 12px;
  line-height: 1.55;
}

.gaokao-check-row input {
  margin-top: 3px;
  accent-color: #6e63ed;
}

.gaokao-profile-summary {
  display: grid;
  gap: 8px;
  margin: 0;
}

.gaokao-profile-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.gaokao-profile-summary dt {
  color: #718198;
  font-size: 11px;
}

.gaokao-profile-summary dd {
  margin: 0;
  color: #d7e1f2;
  font-size: 12px;
  text-align: right;
}

.gaokao-filter-note,
.gaokao-plan-method {
  margin: 16px;
  border: 1px solid #283b57;
  border-radius: 8px;
  background: #101e31;
  padding: 13px;
}

.gaokao-filter-note strong,
.gaokao-plan-method strong {
  color: #cbd7ea;
  font-size: 12px;
}

.gaokao-filter-note p,
.gaokao-plan-method p {
  margin: 7px 0 0;
  color: #73839a;
  font-size: 11px;
  line-height: 1.65;
}

.gaokao-results-panel {
  display: flex;
  flex-direction: column;
}

.gaokao-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 16px;
  border-bottom: 1px solid #263852;
}

.gaokao-results-head h1 {
  margin: 0 0 5px;
  color: #f2f5ff;
  font-size: 18px;
}

.gaokao-results-head p {
  margin: 0;
  color: #718198;
  font-size: 11px;
}

.gaokao-results-head a {
  color: #8699b8;
  font-size: 11px;
  text-decoration: none;
}

.gaokao-results-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.gaokao-results-table {
  --table-min-width: 760px;
  width: 100%;
  min-width: var(--table-min-width, 100%);
  border-collapse: collapse;
  table-layout: fixed;
  color: #d8e1f1;
  font-size: 12px;
}

.gaokao-results-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 42px;
  background: #142239;
  color: #aebbd0;
  font-weight: 700;
  text-align: left;
}

.gaokao-results-table th,
.gaokao-results-table td {
  border-right: 1px solid #263852;
  border-bottom: 1px solid #263852;
  padding: 9px 10px;
  overflow-wrap: break-word;
}

.gaokao-results-table th:nth-child(1) { width: 31%; }
.gaokao-results-table th:nth-child(2) { width: 9%; }
.gaokao-results-table th:nth-child(3) { width: 10%; }
.gaokao-results-table th:nth-child(4) { width: 14%; }
.gaokao-results-table th:nth-child(5) { width: 13%; }
.gaokao-results-table th:nth-child(6) { width: 10%; }
.gaokao-results-table th:nth-child(7) { width: 13%; }

.gaokao-results-table tbody tr:hover {
  background: #101f33;
}

.gaokao-results-table td strong {
  display: block;
  color: #eef3ff;
  font-size: 12px;
}

.gaokao-results-table td small {
  display: block;
  margin-top: 3px;
  color: #718198;
  font-size: 10px;
}

.gaokao-rank-gap {
  font-variant-numeric: tabular-nums;
}

.gaokao-rank-gap.is-positive {
  color: #53c99d;
}

.gaokao-rank-gap.is-negative {
  color: #f18b6f;
}

.gaokao-table-action {
  min-height: 30px;
  border: 1px solid #41608b;
  border-radius: 6px;
  background: #10223a;
  color: #8ebcff;
  cursor: pointer;
  padding: 0 10px;
  font-size: 11px;
}

.gaokao-table-action:disabled {
  border-color: #2a394e;
  color: #62728a;
  cursor: default;
}

.gaokao-results-footer {
  padding: 11px 16px;
  color: #697991;
  font-size: 10px;
}

.gaokao-plan-panel {
  padding-bottom: 16px;
}

.gaokao-plan-panel > header p {
  margin: 4px 0 0;
  color: #7d8ca3;
  font-size: 11px;
}

.gaokao-plan-panel > header > span {
  color: #8494ac;
  font-size: 11px;
}

.gaokao-plan-progress {
  height: 7px;
  margin: 16px;
  border-radius: 999px;
  background: #1d2b40;
  overflow: hidden;
}

.gaokao-plan-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #7664ef;
}

.gaokao-risk-summary {
  display: grid;
  gap: 10px;
  padding: 0 16px;
}

.gaokao-risk-summary > div {
  display: grid;
  gap: 5px;
  border: 1px solid #293c57;
  border-radius: 8px;
  background: #101e31;
  padding: 12px;
}

.gaokao-risk-summary strong {
  font-size: 17px;
}

.gaokao-risk-summary span {
  color: #73839a;
  font-size: 10px;
}

.gaokao-risk-summary .is-rush strong { color: #f07b9b; }
.gaokao-risk-summary .is-steady strong { color: #e3bb63; }
.gaokao-risk-summary .is-safe strong { color: #55cc8f; }

.gaokao-plan-list {
  display: grid;
  margin: 16px;
  border-top: 1px solid #263852;
}

.gaokao-plan-list > div {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #263852;
  padding: 9px 0;
}

.gaokao-plan-list > div > span {
  color: #65758d;
  font-size: 10px;
}

.gaokao-plan-list p {
  min-width: 0;
  margin: 0;
}

.gaokao-plan-list strong,
.gaokao-plan-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gaokao-plan-list strong {
  color: #dce5f5;
  font-size: 11px;
}

.gaokao-plan-list small {
  margin-top: 3px;
  color: #6e7e96;
  font-size: 9px;
}

.gaokao-plan-more {
  margin: -6px 16px 12px;
  color: #718198;
  font-size: 10px;
}

.gaokao-plan-panel > .gaokao-gradient-button {
  width: calc(100% - 32px);
  margin: 0 16px;
}

.gaokao-cockpit .gaokao-inline-message {
  margin: 10px 14px;
  border-color: #5f4b90;
  background: #251e3d;
  color: #d9d0ff;
}

.gaokao-reference-head h1 {
  font-size: 36px;
}

.gaokao-reference-card {
  color: #dbe5f5;
}

.gaokao-reference-card .gaokao-draft-table {
  color: #dbe5f5;
  background: #0f1c2e;
}

.gaokao-reference-card .gaokao-draft-table th {
  background: #15243a;
}

@media (max-width: 1180px) {
  .gaokao-command-bar {
    grid-template-columns: 1fr auto;
  }

  .gaokao-command-nav {
    display: none;
  }

  .gaokao-cockpit-grid {
    grid-template-columns: 220px minmax(560px, 1fr);
  }

  .gaokao-plan-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .gaokao-command-bar,
  .gaokao-intent-bar,
  .gaokao-profile-board__head,
  .gaokao-home-intro,
  .gaokao-reference-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gaokao-command-status {
    display: none;
  }

  .gaokao-command-brand {
    justify-content: space-between;
  }

  .gaokao-home-shell,
  .gaokao-reference-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .gaokao-profile-board .gaokao-profile-grid,
  .gaokao-readiness-strip,
  .gaokao-cockpit-grid {
    grid-template-columns: 1fr;
  }

  .gaokao-readiness-strip > div {
    border-right: 0;
    border-bottom: 1px solid #253751;
  }

  .gaokao-profile-board__head p {
    text-align: left;
  }
}

/* 2026 广东高考志愿板块 */
.exam-stage-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 4px 16px 14px;
  border: 1px solid rgb(18 230 176 / 0.2);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.05);
  padding: 4px;
}

.exam-stage-switch button {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--sidebar-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.exam-stage-switch button[aria-selected="true"] {
  background: linear-gradient(135deg, rgb(18 230 176 / 0.2), rgb(0 217 255 / 0.12));
  color: #f2fffb;
  box-shadow: inset 0 0 0 1px rgb(18 230 176 / 0.28);
}

.gaokao-sidebar-nav {
  display: grid;
}

.gaokao-sidebar-entry {
  width: 100%;
}

.app-shell.is-gaokao-view .workspace {
  padding: 0;
  background:
    radial-gradient(circle at 80% 0%, rgb(8 167 125 / 0.1), transparent 360px),
    #f5f8f7;
}

.gaokao-workspace {
  min-height: calc(100vh - 94px);
  padding: 34px clamp(24px, 4vw, 64px) 56px;
}

.gaokao-hero {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.gaokao-hero--compact {
  align-items: center;
}

.gaokao-hero h1 {
  margin: 8px 0 10px;
  color: #10251f;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.gaokao-hero p,
.gaokao-official-card p,
.gaokao-reference-card p {
  max-width: 780px;
  margin: 0;
  color: #64736f;
  font-size: 15px;
  line-height: 1.75;
}

.gaokao-eyebrow,
.gaokao-section-heading span {
  color: #078761;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gaokao-source-pill,
.gaokao-secondary-button {
  flex: none;
  border: 1px solid #c9dcd6;
  border-radius: 9px;
  background: #fff;
  color: #183c32;
  padding: 11px 15px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 8px 20px rgb(21 63 50 / 0.06);
}

.gaokao-profile-card,
.gaokao-official-card,
.gaokao-reference-card,
.gaokao-candidate-panel,
.gaokao-draft-panel {
  border: 1px solid #d8e5e1;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 18px 48px rgb(26 65 53 / 0.07);
}

.gaokao-profile-card {
  padding: 26px;
}

.gaokao-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.gaokao-section-heading h2,
.gaokao-official-card h2,
.gaokao-reference-card h2 {
  margin: 5px 0 0;
  color: #142a24;
  font-size: 22px;
}

.gaokao-section-heading p {
  max-width: 480px;
  margin: 0;
  color: #73817d;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.gaokao-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gaokao-profile-grid label,
.gaokao-search {
  display: grid;
  gap: 7px;
  color: #51635e;
  font-size: 12px;
  font-weight: 720;
}

.gaokao-profile-grid input,
.gaokao-profile-grid select,
.gaokao-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfddd9;
  border-radius: 8px;
  outline: 0;
  background: #fbfdfc;
  color: #12251f;
  padding: 0 12px;
}

.gaokao-profile-grid input:focus,
.gaokao-profile-grid select:focus,
.gaokao-search input:focus {
  border-color: #08a77d;
  box-shadow: 0 0 0 3px rgb(8 167 125 / 0.11);
}

.gaokao-profile-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.gaokao-profile-actions p,
.gaokao-draft-footer p {
  margin: 0;
  color: #74817d;
  font-size: 12px;
  line-height: 1.6;
}

.gaokao-primary-button {
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #087b5d, #08a77d);
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 780;
  box-shadow: 0 10px 22px rgb(8 167 125 / 0.22);
}

.gaokao-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.gaokao-data-card {
  border: 1px solid #d9e7e2;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f7fbf9);
  padding: 20px;
}

.gaokao-data-card span {
  color: #70807b;
  font-size: 12px;
}

.gaokao-data-card strong {
  display: block;
  margin: 7px 0;
  color: #12372c;
  font-size: 24px;
}

.gaokao-data-card p {
  margin: 0;
  color: #7b8985;
  font-size: 12px;
  line-height: 1.55;
}

.gaokao-official-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
}

.gaokao-official-links {
  display: grid;
  gap: 7px;
  min-width: 210px;
}

.gaokao-official-links a {
  color: #087b5d;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}

.gaokao-official-links a::after {
  content: " ↗";
}

.gaokao-inline-message {
  margin: 16px 0 0;
  border-left: 3px solid #b86d23;
  background: #fff7e8;
  color: #80511d;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
}

.gaokao-inline-message.is-success {
  border-color: #08a77d;
  background: #effaf6;
  color: #166a52;
}

.gaokao-draft-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.gaokao-candidate-panel,
.gaokao-draft-panel,
.gaokao-reference-card {
  padding: 22px;
}

.gaokao-candidate-panel {
  position: sticky;
  top: 18px;
}

.gaokao-candidate-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 330px);
  overflow: auto;
  margin-top: 14px;
  padding-right: 3px;
}

.gaokao-candidate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #dfebe7;
  border-radius: 9px;
  padding: 11px;
}

.gaokao-candidate > div {
  display: grid;
  gap: 4px;
}

.gaokao-candidate > div:last-child {
  justify-items: end;
}

.gaokao-candidate strong {
  overflow: hidden;
  color: #18332b;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gaokao-candidate small,
.gaokao-candidate > div:last-child > span,
.gaokao-draft-table small {
  display: block;
  color: #75837f;
  font-size: 11px;
}

.gaokao-candidate button {
  border: 0;
  border-radius: 6px;
  background: #e7f8f2;
  color: #087b5d;
  padding: 5px 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.gaokao-candidate button:disabled {
  color: #87938f;
  cursor: default;
}

.gaokao-risk {
  display: inline-grid;
  width: 28px;
  height: 22px;
  place-items: center;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 820;
}

.gaokao-risk.is-rush {
  background: #fff0ed;
  color: #b94f3b;
}

.gaokao-risk.is-steady {
  background: #fff7df;
  color: #9a6719;
}

.gaokao-risk.is-safe {
  background: #e8f8f1;
  color: #087b5d;
}

.gaokao-risk.is-unknown {
  background: #eef2f1;
  color: #62716d;
}

.gaokao-draft-table-wrap,
.gaokao-reference-table-wrap {
  overflow: auto;
  border: 1px solid #dce8e4;
  border-radius: 10px;
}

.gaokao-draft-table {
  --table-min-width: 590px;
  width: 100%;
  min-width: var(--table-min-width, 100%);
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.gaokao-draft-table-wrap .gaokao-draft-table {
  table-layout: fixed;
}

.gaokao-draft-table-wrap th:nth-child(1) { width: 52px; }
.gaokao-draft-table-wrap th:nth-child(2) { width: 56px; }
.gaokao-draft-table-wrap th:nth-child(3) { width: 180px; }
.gaokao-draft-table-wrap th:nth-child(4) { width: 92px; }
.gaokao-draft-table-wrap th:nth-child(5) { width: 110px; }
.gaokao-draft-table-wrap th:nth-child(6) { width: 100px; }

.gaokao-draft-table th {
  background: #f1f7f5;
  color: #5d6f69;
  font-size: 11px;
  font-weight: 780;
  text-align: left;
}

.gaokao-draft-table th,
.gaokao-draft-table td {
  border-bottom: 1px solid #e5eeeb;
  padding: 11px 10px;
  vertical-align: middle;
}

.gaokao-draft-table tbody tr:last-child td {
  border-bottom: 0;
}

.gaokao-draft-table td strong {
  color: #173229;
}

.gaokao-order {
  color: #62726d;
  font-weight: 780;
}

.gaokao-row-actions {
  white-space: nowrap;
}

.gaokao-row-actions button {
  border: 0;
  background: transparent;
  color: #087b5d;
  cursor: pointer;
  padding: 4px 5px;
  font-size: 12px;
}

.gaokao-draft-footer {
  padding-top: 14px;
}

.gaokao-empty {
  margin: 0;
  color: #788681;
  font-size: 13px;
  line-height: 1.7;
}

.gaokao-empty--large {
  padding: 36px 12px;
  text-align: center;
}

.gaokao-reference-card {
  min-height: 360px;
}

.gaokao-reference-card > h2 {
  margin: 14px 0 10px;
}

.gaokao-reference-card .gaokao-primary-button {
  margin-top: 22px;
}

.gaokao-search--wide {
  max-width: 520px;
  margin-bottom: 16px;
}

@media (max-width: 1080px) {
  .gaokao-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gaokao-draft-layout {
    grid-template-columns: 1fr;
  }

  .gaokao-candidate-panel {
    position: static;
  }

  .gaokao-candidate-list {
    max-height: 420px;
  }
}

@media (max-width: 720px) {
  .gaokao-workspace {
    padding: 22px 14px 36px;
  }

  .gaokao-hero,
  .gaokao-official-card,
  .gaokao-profile-actions,
  .gaokao-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .gaokao-profile-grid,
  .gaokao-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .gaokao-section-heading p {
    text-align: left;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgb(0 217 255 / 0.18), transparent 320px),
    radial-gradient(circle at 88% 8%, rgb(18 230 176 / 0.18), transparent 360px),
    linear-gradient(135deg, #04100d 0%, #07110d 42%, #eaf4f0 42%, #f6fbf9 100%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

body.has-compliance-modal,
body.has-legal-doc-modal {
  overflow: hidden;
}

.compliance-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.compliance-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(23 32 24 / 0.46);
}

.compliance-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(92vw, 520px);
  max-height: min(84vh, 640px);
  overflow-y: auto;
  border: 1px solid #d8e3dc;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgb(23 32 24 / 0.22);
  padding: 24px;
}

.compliance-modal__panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 780;
}

.compliance-modal__body {
  display: grid;
  gap: 10px;
}

.compliance-modal__body p,
.compliance-modal__agreement {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.compliance-modal__instruction {
  margin: -2px 0 -4px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 760;
}

.compliance-modal__agreement {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 12px;
}

.compliance-modal__agreement--attention {
  border-color: #d05b48;
  background: #fff7f4;
  box-shadow: 0 0 0 3px rgb(208 91 72 / 0.12);
}

.compliance-modal__agreement input {
  width: 16px;
  height: 16px;
  margin: 4px 0 0;
  accent-color: var(--accent);
}

.compliance-modal__agreement a {
  color: var(--accent);
  font-weight: 760;
  text-decoration: none;
}

.compliance-modal__agreement a:hover {
  text-decoration: underline;
}

.compliance-modal__hint {
  margin: -8px 0 0;
  color: #a43c2e;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 720;
}

.compliance-modal__hint[hidden] {
  display: none;
}

.compliance-modal__submit {
  justify-self: end;
  min-width: 116px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(31 122 77 / 0.18);
}

.compliance-modal__submit:hover:not([data-agreement-pending="true"]) {
  background: #17663f;
}

.compliance-modal__submit[data-agreement-pending="true"] {
  background: #b9c8bd;
  color: #f7faf8;
  box-shadow: none;
}

.legal-doc-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-doc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(23 32 24 / 0.48);
}

.legal-doc-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(92vw, 760px);
  max-height: min(86vh, 720px);
  overflow: hidden;
  border: 1px solid #d8e3dc;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgb(23 32 24 / 0.24);
}

.legal-doc-modal__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px 18px;
}

.legal-doc-modal__head h2 {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 780;
}

.legal-doc-modal__head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.legal-doc-modal__close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.legal-doc-modal__close:hover {
  border-color: var(--line-strong);
  background: #edf5f0;
}

.legal-doc-modal__body {
  min-height: 0;
  overflow-y: auto;
  padding: 22px 24px 26px;
}

.app-shell {
  position: relative;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    "sidebar topbar"
    "sidebar controls"
    "sidebar table-tabs"
    "sidebar table-panel"
    "footer footer";
  column-gap: 20px;
  align-content: start;
  height: 100vh;
  min-height: 100vh;
  padding: 24px 24px 0;
  isolation: isolate;
  overflow: hidden;
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 42px 292px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(0 217 255 / 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgb(18 230 176 / 0.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 6%, rgb(0 217 255 / 0.14), transparent 260px),
    radial-gradient(circle at 38% 24%, rgb(18 230 176 / 0.1), transparent 340px);
  background-size: 88px 88px, 88px 88px, auto, auto;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.88), transparent 74%);
}

.workspace {
  display: contents;
  min-width: 0;
}

.app-shell.is-guide-view {
  grid-template-areas:
    "sidebar table-panel"
    "footer footer";
  grid-template-rows: minmax(0, 1fr) auto;
}

.app-shell.is-tool-view {
  grid-template-areas:
    "sidebar workspace"
    "footer footer";
  grid-template-rows: minmax(0, 1fr) auto;
}

.app-shell.is-tool-view .workspace {
  grid-area: workspace;
  display: grid;
  grid-template-areas:
    "topbar"
    "controls"
    "table-panel";
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start;
  min-width: 0;
  min-height: 0;
}

.batch-sidebar {
  grid-area: sidebar;
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgb(0 217 255 / 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgb(6 19 15 / 0.98) 0%, rgb(4 13 15 / 0.98) 100%),
    radial-gradient(circle at 38% 3%, rgb(0 217 255 / 0.22), transparent 180px),
    linear-gradient(90deg, transparent 0 12px, rgb(0 217 255 / 0.06) 12px 13px, transparent 13px);
  box-shadow: var(--sidebar-shadow);
  padding: 20px 18px 16px;
  scrollbar-gutter: stable;
}

.batch-sidebar::before {
  content: "";
  position: absolute;
  inset: 10px 8px;
  pointer-events: none;
  border: 1px solid rgb(0 217 255 / 0.22);
  border-top-color: rgb(18 230 176 / 0.38);
  border-bottom-color: rgb(0 217 255 / 0.1);
  border-radius: 14px;
  clip-path: polygon(0 18px, 18px 0, 82% 0, 82% 6px, 100% 6px, 100% 84%, 94% 84%, 94% 100%, 10px 100%, 0 calc(100% - 10px));
}

.batch-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, var(--neon-cyan) 0 2px, transparent 3px) 7px 34% / 6px 120px no-repeat,
    radial-gradient(circle, var(--neon-emerald) 0 2px, transparent 3px) right 11px bottom 26% / 6px 148px no-repeat,
    linear-gradient(180deg, transparent 0 58%, rgb(0 217 255 / 0.34) 58% 70%, transparent 70%) right 16px top / 1px 100% no-repeat,
    linear-gradient(180deg, transparent 0 42%, rgb(18 230 176 / 0.28) 42% 56%, transparent 56%) 12px top / 1px 100% no-repeat;
}

.batch-sidebar::-webkit-scrollbar {
  width: 8px;
}

.batch-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgb(0 217 255 / 0.22);
}

.sidebar-brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 74px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgb(0 217 255 / 0.18);
  padding: 2px 8px 14px;
}

.sidebar-brand__mark {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border: 1px solid rgb(18 230 176 / 0.28);
  border-radius: 4px;
  background:
    linear-gradient(180deg, transparent 0 74%, rgb(0 217 255 / 0.36) 74% 78%, transparent 78%),
    #06120f;
  box-shadow: 0 0 26px rgb(18 230 176 / 0.24);
}

.sidebar-brand__mark::before,
.sidebar-brand__mark::after {
  content: "";
  position: absolute;
}

.sidebar-brand__mark::before {
  bottom: 11px;
  left: 10px;
  width: 4px;
  height: 20px;
  border-radius: 2px 2px 0 0;
  background: var(--neon-emerald);
  box-shadow:
    7px -9px 0 var(--neon-cyan),
    14px -2px 0 var(--neon-emerald),
    21px -16px 0 var(--neon-cyan),
    28px -6px 0 var(--neon-emerald);
}

.sidebar-brand__mark::after {
  left: 8px;
  right: 8px;
  bottom: 9px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.sidebar-brand__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sidebar-brand__copy strong {
  color: #f2fffb;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 820;
  white-space: nowrap;
}

.sidebar-brand__copy span {
  color: rgb(185 211 205 / 0.82);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.2;
  font-weight: 760;
}

.topbar {
  grid-area: topbar;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.control-band {
  grid-area: controls;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.table-tabs {
  grid-area: table-tabs;
  position: relative;
  z-index: 1;
  align-items: center;
  min-width: 0;
}

.table-panel {
  position: relative;
  z-index: 1;
  grid-area: table-panel;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  grid-area: footer;
  min-width: 0;
  margin: 10px -24px 0;
  border-top: 1px solid rgb(0 217 255 / 0.18);
  background: linear-gradient(90deg, rgb(5 16 14 / 0.96), rgb(6 23 25 / 0.94));
  padding: 10px 24px 12px;
  color: rgb(217 255 245 / 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.site-footer__row,
.site-footer__nav,
.site-footer__records {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 16px;
  min-width: 0;
}

.site-footer__row {
  max-width: 100%;
}

.site-footer__copyright {
  flex: 0 0 auto;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: rgb(217 255 245 / 0.72);
  text-decoration: none;
}

.site-footer__link:hover {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.site-footer__link[aria-current="page"] {
  color: var(--neon-emerald);
  font-weight: 760;
}

.site-footer__statement {
  margin: 0;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.site-footer__contact {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  text-align: center;
}

.site-footer__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

[data-nav-icon="AI"] {
  --nav-icon: var(--sidebar-icon-ai);
}

[data-nav-icon="6Y"] {
  --nav-icon: var(--sidebar-icon-trend);
}

[data-nav-icon="DOC"] {
  --nav-icon: var(--sidebar-icon-doc);
}

[data-nav-icon="PIN"] {
  --nav-icon: var(--sidebar-icon-pin);
}

[data-nav-icon="Q"] {
  --nav-icon: var(--sidebar-icon-quota);
}

[data-nav-icon="K"] {
  --nav-icon: var(--sidebar-icon-key);
}

[data-nav-icon="PRO"] {
  --nav-icon: var(--sidebar-icon-profile);
}

[data-nav-icon="T"] {
  --nav-icon: var(--sidebar-icon-tier);
}

[data-nav-icon="UP"] {
  --nav-icon: var(--sidebar-icon-middle);
}

[data-nav-icon="GAO"] {
  --nav-icon: var(--sidebar-icon-gaokao);
}

[data-nav-icon="EST"] {
  --nav-icon: var(--sidebar-icon-estimator);
}

[data-nav-icon="VOL"] {
  --nav-icon: var(--sidebar-icon-volunteer);
}

[data-nav-icon="RUL"] {
  --nav-icon: var(--sidebar-icon-rules);
}

[data-nav-icon="TIM"] {
  --nav-icon: var(--sidebar-icon-timeline);
}

[data-nav-icon="WEB"] {
  --nav-icon: var(--sidebar-icon-web);
}

[data-nav-icon="DAT"] {
  --nav-icon: var(--sidebar-icon-data);
}

[data-nav-icon="FB"] {
  --nav-icon: var(--sidebar-icon-feedback);
}

.batch-nav {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.batch-nav summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  padding: 12px 16px;
  cursor: pointer;
  color: rgb(219 235 245 / 0.78);
  font-size: 17px;
  font-weight: 790;
  line-height: 1.35;
  list-style: none;
  white-space: normal;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.batch-nav summary:hover {
  border-color: rgb(0 217 255 / 0.22);
  background: rgb(0 217 255 / 0.08);
  color: #ffffff;
  box-shadow: 0 0 18px rgb(0 217 255 / 0.12);
}

.batch-nav.is-current summary {
  border-color: rgb(18 230 176 / 0.42);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgb(18 230 176 / 0.28), rgb(0 217 255 / 0.12)),
    rgb(4 26 25 / 0.72);
  box-shadow:
    0 0 26px rgb(18 230 176 / 0.18),
    inset 0 0 0 1px rgb(255 255 255 / 0.05);
  clip-path: polygon(0 12px, 12px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 12px 100%, 0 calc(100% - 12px));
  color: var(--sidebar-text);
}

.batch-nav summary::-webkit-details-marker {
  display: none;
}

.batch-nav summary::before {
  content: "";
  width: 30px;
  height: 30px;
  color: rgb(203 232 255 / 0.78);
  background-color: currentColor;
  -webkit-mask: var(--nav-icon, var(--sidebar-icon-trend)) center / 30px 30px no-repeat;
  mask: var(--nav-icon, var(--sidebar-icon-trend)) center / 30px 30px no-repeat;
  transition:
    color 160ms ease,
    filter 160ms ease;
}

.batch-nav summary:hover::before {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgb(0 217 255 / 0.44));
}

.batch-nav.is-current summary::before {
  color: var(--neon-emerald);
  filter: drop-shadow(0 0 10px rgb(18 230 176 / 0.4));
}

.batch-nav summary::after {
  content: "▾";
  color: rgb(203 232 255 / 0.78);
  font-size: 13px;
  line-height: 1;
}

.batch-nav.is-current summary::after {
  color: var(--neon-cyan);
}

.batch-nav:not([open]) summary::after {
  content: "▸";
}

.batch-nav__items {
  display: grid;
  gap: 6px;
  padding: 9px 4px 8px 14px;
}

.batch-nav__items a,
.batch-nav__items button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgb(219 235 245 / 0.76);
  text-align: left;
  text-decoration: none;
  font-size: 16px;
  font-weight: 740;
  cursor: pointer;
}

.batch-nav__items a {
  padding: 0 10px;
}

.batch-nav__items button {
  padding: 0 10px;
}

.batch-nav__items a::before,
.batch-nav__items button::before {
  content: "";
  width: 26px;
  height: 26px;
  color: rgb(203 232 255 / 0.78);
  background-color: currentColor;
  -webkit-mask: var(--nav-icon, var(--sidebar-icon-doc)) center / 24px 24px no-repeat;
  mask: var(--nav-icon, var(--sidebar-icon-doc)) center / 24px 24px no-repeat;
}

.batch-nav__items button:disabled {
  color: rgb(134 170 161 / 0.68);
  cursor: not-allowed;
  opacity: 0.72;
}

.batch-nav__items a:hover,
.batch-nav__items button:not(:disabled):hover {
  background: rgb(0 217 255 / 0.08);
  color: #f7fffc;
}

.batch-nav__items a[aria-current="page"],
.batch-nav__items button[aria-current="page"] {
  border: 1px solid rgb(18 230 176 / 0.34);
  background:
    linear-gradient(135deg, rgb(18 230 176 / 0.22), rgb(0 217 255 / 0.12)),
    rgb(7 32 32 / 0.82);
  color: #fff;
  clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  box-shadow: inset 3px 0 0 var(--neon-emerald), 0 0 18px rgb(0 217 255 / 0.18);
}

.sidebar-entry {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: rgb(219 235 245 / 0.78);
  padding: 0 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 760;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.sidebar-entry::before {
  content: "";
  width: 28px;
  height: 28px;
  color: rgb(203 232 255 / 0.78);
  background-color: currentColor;
  -webkit-mask: var(--nav-icon, var(--sidebar-icon-doc)) center / 26px 26px no-repeat;
  mask: var(--nav-icon, var(--sidebar-icon-doc)) center / 26px 26px no-repeat;
  transition:
    color 160ms ease,
    filter 160ms ease;
}

.sidebar-entry:hover {
  border-color: rgb(0 217 255 / 0.22);
  background: rgb(0 217 255 / 0.08);
  color: #ffffff;
  box-shadow: 0 0 18px rgb(0 217 255 / 0.12);
}

.sidebar-entry:hover::before {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgb(0 217 255 / 0.44));
}

.sidebar-entry[aria-current="page"] {
  border-color: rgb(18 230 176 / 0.5);
  background:
    linear-gradient(135deg, rgb(18 230 176 / 0.28), rgb(0 217 255 / 0.13)),
    rgb(6 34 32 / 0.82);
  color: #fff;
  clip-path: polygon(0 12px, 12px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow:
    inset 4px 0 0 var(--neon-emerald),
    0 0 24px rgb(0 217 255 / 0.22),
    0 0 36px rgb(18 230 176 / 0.13);
}

.sidebar-entry[aria-current="page"]::before {
  color: var(--neon-emerald);
  filter: drop-shadow(0 0 12px rgb(18 230 176 / 0.48));
}

.sidebar-update-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 4px 10px;
  align-items: end;
  min-height: 54px;
  margin-top: 5px;
  border: 1px solid rgb(0 217 255 / 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 22%, rgb(18 230 176 / 0.24), transparent 56px),
    linear-gradient(135deg, rgb(5 23 31 / 0.86), rgb(2 15 22 / 0.9));
  clip-path: polygon(0 16px, 16px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.03), 0 0 22px rgb(0 217 255 / 0.12);
  padding: 9px 11px 8px;
}

.sidebar-update-card__label {
  grid-column: 1;
  color: rgb(203 232 255 / 0.72);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.06em;
}

.sidebar-update-card strong {
  grid-column: 1;
  color: rgb(203 232 255 / 0.58);
  font-family: Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 760;
}

.sidebar-update-card__spark {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  min-height: 46px;
  border-bottom: 1px solid rgb(18 230 176 / 0.48);
  background:
    linear-gradient(180deg, transparent 0, transparent 54%, rgb(0 217 255 / 0.12) 54% 100%),
    repeating-linear-gradient(90deg, rgb(0 217 255 / 0.14) 0 1px, transparent 1px 10px);
}

.sidebar-update-card__spark::before {
  content: "";
  position: absolute;
  inset: 10px 4px 10px 0;
  border-top: 2px solid var(--neon-emerald);
  border-right: 2px solid var(--neon-cyan);
  transform: skewY(-18deg);
  filter: drop-shadow(0 0 8px rgb(18 230 176 / 0.45));
}

.sidebar-update-card__spark i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px rgb(18 230 176 / 0.62);
}

.sidebar-update-card__spark i:nth-child(1) {
  left: 0;
  bottom: 2px;
}

.sidebar-update-card__spark i:nth-child(2) {
  left: 18px;
  bottom: 18px;
}

.sidebar-update-card__spark i:nth-child(3) {
  left: 38px;
  bottom: 12px;
}

.sidebar-update-card__spark i:nth-child(4) {
  right: 20px;
  bottom: 28px;
}

.sidebar-update-card__spark i:nth-child(5) {
  right: 0;
  bottom: 34px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  border: 1px solid rgb(0 217 255 / 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.96), rgb(244 252 249 / 0.92)),
    radial-gradient(circle at 82% 0%, rgb(0 217 255 / 0.14), transparent 220px);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 27px;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: -0.01em;
}

.topbar p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.topbar-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.topbar-status span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgb(0 217 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  color: #173f38;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 780;
}

.topbar-status span:first-child {
  border-color: rgb(18 230 176 / 0.38);
  background: linear-gradient(135deg, rgb(18 230 176 / 0.16), rgb(0 217 255 / 0.08));
  color: #075a48;
}

.topbar-inline-notice {
  display: inline;
  color: var(--muted);
}

.source-link,
.year-tabs button,
.table-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgb(9 58 50 / 0.14);
  background: rgb(255 255 255 / 0.82);
  color: var(--text);
  min-height: 40px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgb(5 24 20 / 0.05);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.source-link {
  padding: 0 14px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

.table-source-link {
  min-height: 36px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
}

.table-source-link:not([href]) {
  cursor: default;
}

.source-link:hover,
.year-tabs button:hover,
.table-tabs button:hover {
  border-color: rgb(0 217 255 / 0.42);
  background: #f8fffc;
  box-shadow: 0 10px 26px rgb(0 217 255 / 0.1);
}

.source-link:active,
.year-tabs button:active,
.table-tabs button:active {
  transform: translateY(1px);
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-band {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.year-tabs,
.table-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.estimator-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(138px, 1fr)) minmax(220px, auto) minmax(104px, auto);
  align-items: end;
  gap: 10px;
  width: 100%;
}

.volunteer-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(126px, 1fr));
  gap: 10px;
  width: 100%;
}

.rules-controls {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(120px, 160px);
  gap: 10px;
  width: 100%;
}

.estimator-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.estimator-field input,
.estimator-field select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid rgb(9 58 50 / 0.16);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.9);
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 650;
  outline: 0;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7);
}

.estimator-field input:focus,
.estimator-field select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgb(0 217 255 / 0.14);
}

.estimator-acknowledgment {
  display: inline-flex;
  align-items: center;
  align-self: end;
  gap: 8px;
  min-height: 40px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.estimator-acknowledgment input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.estimator-predict-button {
  align-self: end;
  min-height: 40px;
}

.volunteer-checkbox-field {
  align-content: start;
}

.volunteer-checkbox-field input {
  position: relative;
  width: 48px;
  min-height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  appearance: none;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.volunteer-checkbox-field input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #bcc9c1;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.volunteer-checkbox-field input:checked {
  border-color: var(--neon-emerald);
  background: rgb(18 230 176 / 0.14);
}

.volunteer-checkbox-field input:checked::before {
  background: var(--neon-emerald);
  transform: translateX(20px);
}

.year-tabs button {
  width: 72px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 750;
}

.year-tabs button[data-dataset-id] {
  width: auto;
  min-width: 128px;
  padding: 0 14px;
}

.year-tabs button[aria-selected="true"],
.table-tabs button[aria-selected="true"] {
  border-color: rgb(18 230 176 / 0.55);
  background: linear-gradient(135deg, #0aa87d, #00a6ca);
  color: #fff;
  box-shadow: 0 14px 30px rgb(0 166 202 / 0.2);
}

.table-tabs {
  margin-bottom: 10px;
}

.table-tabs button {
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
}

.tier-year-header {
  display: grid;
  gap: 4px;
  justify-items: center;
  line-height: 1.2;
}

.tier-year-header__year {
  font-weight: 800;
}

.tier-year-header__cutoff {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.section-select {
  min-height: 40px;
  min-width: 180px;
  border: 1px solid rgb(9 58 50 / 0.16);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 650;
}

.gaokao-filter-button {
  min-height: 36px;
  border: 1px solid rgb(9 58 50 / 0.16);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.gaokao-filter-button:hover {
  border-color: rgb(0 217 255 / 0.38);
  background: #f7fffc;
}

.gaokao-filter-button[aria-selected="true"] {
  border-color: rgb(18 230 176 / 0.55);
  background: linear-gradient(135deg, #0aa87d, #00a6ca);
  color: #fff;
}

.table-panel {
  overflow: hidden;
  border: 1px solid rgb(0 217 255 / 0.18);
  border-radius: var(--radius);
  background: var(--surface-glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.table-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid rgb(0 217 255 / 0.12);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.98) 0%, rgb(242 252 249 / 0.96) 100%),
    radial-gradient(circle at 100% 0%, rgb(0 217 255 / 0.12), transparent 210px);
}

.table-panel.is-student-score-panel .table-panel__head {
  display: none;
}

.table-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 180px;
}

.table-notice-slot {
  flex: 0 0 auto;
  padding: 7px 20px;
  border-bottom: 1px solid rgb(0 217 255 / 0.1);
  background: #f8fffc;
}

.table-notice-slot:empty {
  display: none;
}

.admission-plan-summary {
  padding: 3px 0;
}

.admission-plan-summary__content {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.admission-plan-summary__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.admission-plan-summary__head strong {
  color: #123f36;
  font-size: 14px;
}

.admission-plan-summary__head span,
.admission-plan-summary__card span,
.admission-plan-summary__card small,
.admission-plan-summary__policy-head span,
.admission-plan-summary__policy-card span,
.admission-plan-summary__policy-card small,
.admission-plan-summary__limit span,
.admission-plan-summary__limit small {
  color: var(--muted);
  font-size: 12px;
}

.admission-plan-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admission-plan-summary__card,
.admission-plan-summary__limit {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid #d6ebe5;
  border-radius: var(--radius);
  background: #fff;
  padding: 8px 11px;
}

.admission-plan-summary__card.is-active {
  border-color: #66d5b9;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgb(8 167 125 / 0.08);
}

.admission-plan-summary__card strong,
.admission-plan-summary__limit strong {
  color: #087e63;
  font-size: 18px;
  line-height: 1.1;
}

.admission-plan-summary__card small {
  margin-left: auto;
}

.admission-plan-summary__details {
  min-width: 0;
}

.admission-plan-summary__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #d6ebe5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #f2fcf8 100%);
  color: #126d5b;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.admission-plan-summary__toggle:hover {
  border-color: #66d5b9;
  background: #f2fcf8;
}

.admission-plan-summary__toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.admission-plan-summary__toggle small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.admission-plan-summary__toggle-label--open {
  display: none;
}

.admission-plan-summary__details[open] .admission-plan-summary__toggle-label--closed {
  display: none;
}

.admission-plan-summary__details[open] .admission-plan-summary__toggle-label--open {
  display: inline;
}

.admission-plan-summary__policy {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #cfe5df;
}

.admission-plan-summary__policy-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.admission-plan-summary__policy-head strong {
  color: #123f36;
  font-size: 14px;
}

.admission-plan-summary__policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admission-plan-summary__policy-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 6px;
  min-width: 0;
  border: 1px solid #d8e7ee;
  border-radius: var(--radius);
  background: #f9fcfe;
  padding: 11px 12px;
}

.admission-plan-summary__policy-card.is-active {
  border-color: #55cdb0;
  background: #f0fcf8;
  box-shadow: inset 0 0 0 1px rgb(8 167 125 / 0.08);
}

.admission-plan-summary__policy-card strong {
  color: #126d5b;
  font-size: 17px;
  line-height: 1.25;
}

.admission-plan-summary__policy-card small {
  line-height: 1.55;
}

.admission-plan-summary__policy-card a,
.admission-plan-summary__limit a {
  justify-self: start;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.admission-plan-summary__policy-card a:hover,
.admission-plan-summary__limit a:hover {
  text-decoration: underline;
}

.admission-plan-summary__limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.admission-plan-summary__limit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  align-items: center;
  border-color: #cbdfee;
  background: #f7fbff;
}

.admission-plan-summary__limit strong {
  grid-row: 1 / span 3;
  grid-column: 2;
  color: var(--accent-2);
  text-align: right;
}

.admission-plan-summary__limit a {
  grid-column: 1;
}

.admission-plan-summary__note {
  margin: 8px 0 0;
  color: #61726e;
  font-size: 11px;
  line-height: 1.55;
}

.rank-recommendations {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  width: min(720px, 52vw);
}

.rank-recommendations--empty {
  display: flex;
  align-items: center;
  width: min(420px, 42vw);
  min-height: 54px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fbfdfb;
  color: var(--muted);
  padding: 0 14px;
  font-size: 13px;
  line-height: 1.45;
}

.recommendation-block {
  min-width: 0;
  border: 1px solid rgb(9 58 50 / 0.14);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px 10px;
}

.recommendation-block strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.25;
}

.recommendation-block p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 760;
}

.table-panel__head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
}

.table-wrap.is-fit-width {
  overflow-x: hidden;
}

.table-wrap.is-rank-prediction {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: var(--table-min-width, 100%);
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
}

.rank-prediction-table {
  min-width: 980px;
}

.table-wrap.is-student-score-view {
  overflow-x: hidden;
  background: transparent;
}

.student-score-table {
  min-width: 100%;
  border-spacing: 0;
}

.student-score-table > tbody > tr > td.student-score-cell {
  border: 0;
  background: transparent;
  padding: 0;
  white-space: normal;
}

.student-score-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.student-score-toolbar,
.student-score-panel {
  border: 1px solid rgb(0 217 255 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.88);
  box-shadow: var(--shadow-soft);
}

.student-score-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 0.8fr);
  gap: 12px;
  align-items: end;
  padding: 14px;
}

.student-score-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.student-score-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.student-score-status.is-error {
  color: #a43c2e;
  font-weight: 760;
}

.student-score-main-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(280px, 0.95fr);
  gap: 14px;
  align-items: start;
}

.student-score-panel {
  min-width: 0;
  padding: 14px;
}

.student-score-panel h3,
.student-score-exam-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 780;
}

.student-score-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.student-score-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.student-score-form-grid,
.student-score-exam-meta,
.student-score-chart-controls {
  display: grid;
  gap: 10px;
}

.student-score-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.student-score-exam-meta {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 12px 0;
}

.student-score-chart-controls {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.student-score-field,
.student-score-select-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.student-score-field input,
.student-score-field select,
.student-score-select-field select,
.student-score-inline-input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid rgb(9 58 50 / 0.16);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 650;
  outline: 0;
}

.student-score-field input:focus,
.student-score-field select:focus,
.student-score-select-field select:focus,
.student-score-inline-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgb(0 217 255 / 0.14);
}

.student-score-chart {
  display: grid;
  gap: 10px;
  min-height: 300px;
  margin-top: 12px;
}

.student-score-chart.is-empty {
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  min-height: 240px;
  padding: 24px;
}

.student-score-chart svg {
  width: 100%;
  height: 300px;
}

.student-score-chart text {
  fill: var(--muted);
  stroke: none;
  font-size: 11px;
  font-weight: 650;
}

.student-score-grid-line {
  stroke: #dcece8;
  stroke-width: 1;
}

.student-score-axis {
  stroke: var(--line-strong);
  stroke-width: 1.2;
}

.student-score-series path {
  fill: none;
  stroke: var(--series-color);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-score-series circle {
  fill: var(--surface);
  stroke: var(--series-color);
  stroke-width: 2.4;
}

.student-score-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.student-score-chart-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.student-score-chart-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.student-score-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.student-score-insight-card,
.student-score-subject-card {
  border: 1px solid rgb(0 217 255 / 0.12);
  border-radius: var(--radius);
  background: #f8fffc;
  padding: 10px;
}

.student-score-insight-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.student-score-insight-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}

.student-score-insight-card p,
.student-score-subject-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.student-score-subject-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 280px;
  overflow-y: auto;
}

.student-score-subject-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.student-score-badge {
  border-radius: 999px;
  padding: 3px 8px;
  background: #eef2f6;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.student-score-badge.is-good,
.student-score-badge.is-stable {
  background: rgb(18 230 176 / 0.13);
  color: #087d62;
}

.student-score-badge.is-warning {
  background: #fff3df;
  color: var(--warning);
}

.student-score-badge.is-danger {
  background: #fff0ed;
  color: #a43c2e;
}

.student-score-badge.is-muted {
  background: #eef2f0;
  color: var(--muted);
}

.student-score-matrix-wrap {
  overflow-x: auto;
  border: 1px solid rgb(0 217 255 / 0.14);
  border-radius: var(--radius);
  background: var(--surface);
}

.student-score-matrix-table,
.student-score-detail-table {
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: var(--surface);
}

.student-score-detail-table {
  min-width: 100%;
}

.student-score-matrix-table th,
.student-score-matrix-table td,
.student-score-detail-table th,
.student-score-detail-table td {
  border-bottom: 1px solid var(--line);
  padding: 7px 8px;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
}

.student-score-matrix-table th,
.student-score-detail-table th {
  position: static;
  background: #ecf7f4;
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
}

.student-score-matrix-table td,
.student-score-detail-table td {
  color: var(--text);
  font-size: 12.5px;
}

.student-score-stage-cell {
  width: 112px;
  color: var(--text);
  font-weight: 820;
}

.student-score-filter-head {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.student-score-filter-head span {
  color: var(--text);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.2;
}

.student-score-stage-filter,
.student-score-detail-filter {
  width: 100%;
  min-width: 0;
  min-height: 30px;
  border: 1px solid rgb(9 58 50 / 0.16);
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface);
  color: var(--text);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 760;
  outline: 0;
}

.student-score-detail-filter-row th {
  background: #f7fbf8;
  padding-top: 6px;
  padding-bottom: 6px;
}

.student-score-subject-head {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.student-score-subject-head strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
}

.student-score-subject-head label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.student-score-subject-head input,
.student-score-size-input,
.student-score-score-input {
  width: 100%;
  min-width: 0;
  min-height: 30px;
  border: 1px solid rgb(9 58 50 / 0.16);
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface);
  color: var(--text);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  outline: 0;
}

.student-score-subject-head input {
  max-width: 68px;
}

.student-score-score-cell {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.student-score-rate {
  min-width: 42px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  text-align: right;
  white-space: nowrap;
}

.student-score-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.middle-school-progress-table {
  min-width: 1480px;
}

.high-school-gaokao-table {
  min-width: 1080px;
}

.official-sites-table {
  min-width: 1040px;
}

table.is-quota-allocation-table {
  min-width: 100%;
  font-size: 11px;
}

table.is-quota-allocation-table th,
table.is-quota-allocation-table td {
  padding: 5px 2px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

table.is-quota-allocation-table th.school-col,
table.is-quota-allocation-table td.school-col {
  width: 24%;
}

table.is-quota-allocation-table th:nth-child(1),
table.is-quota-allocation-table td:nth-child(1) {
  width: 3%;
}

table.is-quota-allocation-table th:nth-child(2),
table.is-quota-allocation-table td:nth-child(2) {
  width: 5%;
}

table.is-quota-allocation-table th:nth-child(4),
table.is-quota-allocation-table th:nth-child(5),
table.is-quota-allocation-table th:nth-child(6),
table.is-quota-allocation-table td:nth-child(4),
table.is-quota-allocation-table td:nth-child(5),
table.is-quota-allocation-table td:nth-child(6) {
  width: 4%;
}

th,
td {
  min-width: 0;
  max-width: none;
  border-right: 1px solid #e2eeeb;
  border-bottom: 1px solid #e2eeeb;
  padding: 7px 6px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.35;
  background: #fff;
  overflow-wrap: break-word;
  word-break: normal;
}

th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #ecf7f4;
  color: #10231f;
  font-weight: 760;
}

thead tr:nth-child(2) th {
  top: var(--first-header-row-height, 36px);
  background: #f8fffc;
  font-size: 12px;
}

thead tr:nth-child(2) th.public-score-head {
  width: 4.8%;
  min-width: 0;
  max-width: none;
  padding: 6px 5px;
  line-height: 1.2;
  white-space: normal;
}

.public-score-head .header-line {
  display: block;
}

th.controlled-col {
  min-width: 0;
  padding: 6px 8px;
}

th.school-col,
td.school-col,
th.sticky-col-2 {
  width: 18%;
  min-width: 0;
  max-width: none;
}

th.school-profile-summary-col,
td.school-profile-summary-col {
  width: 46%;
}

table.is-school-profile-table {
  min-width: 100%;
}

table.is-school-profile-table th,
table.is-school-profile-table td {
  padding-left: 8px;
  padding-right: 8px;
}

table.is-school-profile-table th:nth-child(1),
table.is-school-profile-table td:nth-child(1) {
  width: 48px;
  max-width: 48px;
}

table.is-school-profile-table th.school-col,
table.is-school-profile-table td.school-col {
  width: 300px;
}

table.is-school-profile-table th:nth-child(3),
table.is-school-profile-table td:nth-child(3) {
  width: 164px;
}

table.is-school-profile-table th.school-profile-summary-col,
table.is-school-profile-table td.school-profile-summary-col {
  width: auto;
}

td.school-profile-summary-col {
  text-align: left;
  vertical-align: top;
  white-space: normal;
  line-height: 1.65;
  padding-top: 0;
  padding-bottom: 0;
}

.school-profile-summary {
  display: grid;
}

.school-profile-summary__section {
  display: grid;
  grid-template-columns: minmax(150px, 18%) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 4px;
  border-bottom: 1px solid #d7e8e3;
}

.school-profile-summary__section:last-child {
  border-bottom: 0;
}

.school-profile-summary__title {
  color: #073f36;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.school-profile-summary__content {
  min-width: 0;
  color: #243f3a;
}

.high-school-gaokao-table th,
.high-school-gaokao-table td {
  vertical-align: top;
  line-height: 1.45;
}

.high-school-gaokao-table .gaokao-seq-col {
  width: 44px;
}

.high-school-gaokao-table .gaokao-school-col {
  width: 210px;
}

.high-school-gaokao-table .gaokao-type-col {
  width: 86px;
}

.high-school-gaokao-table .gaokao-score-col {
  width: 132px;
}

.high-school-gaokao-table .gaokao-rate-col {
  width: 118px;
}

.high-school-gaokao-table .gaokao-signal-col {
  width: 180px;
  text-align: left;
}

.high-school-gaokao-table .gaokao-summary-col {
  width: 300px;
  text-align: left;
}

.official-sites-table th,
.official-sites-table td {
  vertical-align: top;
  line-height: 1.45;
}

.official-sites-table .official-site-seq-col {
  width: 50px;
}

.official-sites-table .official-site-school-col {
  width: 260px;
  text-align: left;
}

.official-sites-table .official-site-category-col {
  width: 128px;
}

.official-sites-table .official-site-link-col {
  width: 220px;
  text-align: left;
}

.official-sites-table .official-site-note-col {
  width: 300px;
  text-align: left;
}

.official-site-link {
  color: var(--accent-2);
  font-weight: 780;
  text-decoration: none;
}

.official-site-link:hover {
  text-decoration: underline;
}

.official-site-missing {
  color: var(--muted);
  font-weight: 760;
}

.official-site-note {
  color: #526258;
}

.official-site-subsets {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.score-explainer-table {
  min-width: 100%;
  table-layout: auto;
}

.score-explainer-table th,
.score-explainer-table td {
  border-right: 0;
  text-align: left;
}

.score-explainer-cell {
  padding: 0;
  background: transparent;
  vertical-align: top;
}

.score-explainer-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #f7fcfb;
}

.score-explainer-section {
  border: 1px solid #d6ebe5;
  border-radius: 8px;
  background: #fff;
}

.score-explainer-section__head h3 {
  margin: 0;
  color: #10231f;
  font-size: 20px;
  line-height: 1.3;
}

.score-explainer-section__head p,
.score-explainer-card p,
.score-explainer-card li {
  margin: 0;
  color: #526258;
  font-size: 14px;
  line-height: 1.7;
}

.score-explainer-card__groups {
  display: grid;
  gap: 12px;
}

.score-explainer-group {
  display: grid;
  gap: 7px;
  border-top: 1px solid #e6f2ef;
  padding-top: 10px;
}

.score-explainer-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.score-explainer-group h5 {
  margin: 0;
  color: #0f6f60;
  font-size: 14px;
  line-height: 1.35;
}

.score-explainer-card__head span {
  border: 1px solid rgb(18 230 176 / 0.32);
  border-radius: 999px;
  background: rgb(18 230 176 / 0.1);
  color: #08715d;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.score-explainer-section {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.score-explainer-section__head {
  display: grid;
  gap: 6px;
}

.score-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.score-explainer-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid #e0efeb;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfefd 100%),
    radial-gradient(circle at 100% 0%, rgb(0 217 255 / 0.08), transparent 180px);
  padding: 14px;
}

.score-explainer-card__head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.score-explainer-card h4 {
  margin: 0;
  color: #10231f;
  font-size: 17px;
  line-height: 1.35;
}

.score-explainer-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.score-explainer-card li::marker {
  color: #0fb89f;
}

.related-data-table {
  min-width: 100%;
}

.related-data-table th,
.related-data-table td {
  border-right: 0;
  text-align: left;
}

.related-data-cell {
  padding: 0;
  background: transparent;
}

.related-data-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #f7fcfb;
}

.related-data-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.related-data-summary-card,
.related-data-section {
  border: 1px solid #d6ebe5;
  border-radius: 8px;
  background: #fff;
}

.related-data-summary-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.related-data-summary-card span {
  color: #60736b;
  font-size: 12px;
  font-weight: 760;
}

.related-data-summary-card strong {
  color: #0d4036;
  font-size: 24px;
  line-height: 1.1;
}

.related-data-summary-card p,
.related-data-section__head p {
  margin: 0;
  color: #526258;
  line-height: 1.55;
}

.related-data-section {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.related-data-section__head {
  display: grid;
  gap: 5px;
}

.related-data-section__head h3 {
  margin: 0;
  color: #10231f;
  font-size: 18px;
  line-height: 1.25;
}

.related-data-exam-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.related-data-exam-overview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #cce7df;
  border-radius: 7px;
  background: #f2fbf8;
}

.related-data-exam-overview span,
.related-data-exam-sources > span {
  color: #60736b;
  font-size: 12px;
  font-weight: 760;
}

.related-data-exam-overview strong {
  color: #087e6d;
  font-size: 17px;
}

.related-data-exam-table-wrap {
  overflow-x: auto;
  border: 1px solid #d6ebe5;
  border-radius: 8px;
}

.related-data-exam-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
}

.related-data-exam-table th,
.related-data-exam-table td {
  padding: 12px 14px;
  border-right: 1px solid #e0efeb;
  border-bottom: 1px solid #e0efeb;
  text-align: left;
  vertical-align: top;
}

.related-data-exam-table th {
  background: #eaf7f3;
  color: #0d4036;
  font-size: 13px;
  font-weight: 800;
}

.related-data-exam-table th:first-child {
  width: 190px;
}

.related-data-exam-table th:nth-child(2) {
  width: 92px;
}

.related-data-exam-table th:last-child,
.related-data-exam-table td:last-child {
  border-right: 0;
}

.related-data-exam-table tbody tr:last-child td {
  border-bottom: 0;
}

.related-data-exam-table tbody tr:nth-child(even) td {
  background: #f8fcfb;
}

.related-data-exam-table td > strong {
  color: #15352e;
  font-size: 14px;
  line-height: 1.5;
}

.related-data-exam-score {
  color: #008f7d !important;
  white-space: nowrap;
}

.related-data-exam-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.related-data-exam-parts span {
  padding: 5px 8px;
  border: 1px solid #cce7df;
  border-radius: 999px;
  background: #f0faf7;
  color: #17483e;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.related-data-exam-note {
  margin: 8px 0 0;
  color: #5a6b64;
  font-size: 12px;
  line-height: 1.55;
}

.related-data-exam-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.related-data-exam-sources .related-data-source-link {
  padding: 4px 0;
  font-size: 12px;
}

.related-data-gradient-chart {
  overflow: hidden;
  border: 1px solid #d6ebe5;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fffd 0%, #edf8f4 100%);
}

.related-data-score-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.related-data-score-years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-data-score-source {
  white-space: nowrap;
}

.related-data-score-table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #d6ebe5;
  border-radius: 8px;
  background: #fff;
}

.related-data-score-distribution-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  table-layout: fixed;
}

.related-data-score-distribution-table th,
.related-data-score-distribution-table td {
  padding: 10px 14px;
  border-right: 1px solid #e0efeb;
  border-bottom: 1px solid #e0efeb;
  text-align: center;
}

.related-data-score-distribution-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eaf7f3;
  color: #0d4036;
  font-size: 13px;
  font-weight: 800;
}

.related-data-score-distribution-table td {
  color: #18332c;
  font-size: 14px;
  font-weight: 680;
}

.related-data-score-distribution-table th:last-child,
.related-data-score-distribution-table td:last-child {
  border-right: 0;
}

.related-data-score-distribution-table tbody tr:last-child td {
  border-bottom: 0;
}

.related-data-score-distribution-table tbody tr:nth-child(even) td {
  background: #f8fcfb;
}

.related-data-gradient-chart svg {
  display: block;
  width: 100%;
  height: 180px;
}

.related-data-chart-axis {
  fill: none;
  stroke: #9fc9bd;
  stroke-width: 2;
}

.related-data-chart-line {
  fill: none;
  stroke: #0fb89f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.related-data-chart-dot {
  fill: #ffffff;
  stroke: #008f7d;
  stroke-width: 3;
}

.related-data-gradient-chart text {
  fill: #24433c;
  font-size: 13px;
  font-weight: 780;
}

.related-data-mini-table,
.related-data-district-table {
  display: grid;
  gap: 6px;
}

.related-data-gradient-row,
.related-data-candidate-row,
.related-data-district-row {
  display: grid;
  align-items: center;
  gap: 8px;
  border: 1px solid #e0efeb;
  border-radius: 6px;
  background: #fbfefd;
  color: #10231f;
  font-size: 13px;
  font-weight: 700;
}

.related-data-gradient-row {
  grid-template-columns: 62px 94px 92px repeat(5, minmax(70px, 1fr)) minmax(94px, 1.65fr);
}

.related-data-candidate-row {
  grid-template-columns: 96px 150px minmax(280px, 1fr);
}

.related-data-district-row {
  grid-template-columns: 120px 120px minmax(0, 1fr);
}

.related-data-gradient-row span,
.related-data-candidate-row span,
.related-data-district-row span,
.related-data-source-link {
  padding: 9px 10px;
}

.related-data-gradient-row span {
  white-space: nowrap;
}

.related-data-source-link {
  color: #0575a8;
  font-weight: 780;
  text-decoration: none;
}

.related-data-source-link:hover {
  text-decoration: underline;
}

.exam-timeline-table {
  min-width: 100%;
}

.exam-timeline-table th,
.exam-timeline-table td {
  border-right: 0;
  text-align: left;
}

.exam-timeline-cell {
  padding: 0;
  background: transparent;
}

.exam-timeline-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgb(0 217 255 / 0.12), transparent 230px),
    linear-gradient(180deg, #f7fcfb 0%, #f2faf7 100%);
}

.exam-timeline-intro,
.exam-timeline-summary-card,
.exam-timeline-card,
.exam-timeline-sources {
  border: 1px solid #d6ebe5;
  border-radius: 8px;
  background: #fff;
}

.exam-timeline-intro {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.exam-timeline-intro span,
.exam-timeline-summary-card span {
  color: #0878b8;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.exam-timeline-intro h3,
.exam-timeline-sources h3 {
  margin: 0;
  color: #10231f;
  font-size: 20px;
  line-height: 1.25;
}

.exam-timeline-intro p,
.exam-timeline-summary-card p,
.exam-timeline-summary,
.exam-timeline-source-card span {
  margin: 0;
  color: #526258;
  line-height: 1.58;
}

.exam-timeline-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.exam-timeline-summary-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.exam-timeline-summary-card strong {
  color: #0d4036;
  font-size: 22px;
  line-height: 1.1;
}

.exam-timeline-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exam-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.exam-timeline-item::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: -14px;
  left: 26px;
  width: 2px;
  background: #c5e5dc;
}

.exam-timeline-item:last-child::before {
  display: none;
}

.exam-timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid #b6e3d7;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8fbf5, #ffffff);
  color: #087b68;
  font-family: Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 820;
  box-shadow: 0 10px 20px rgb(8 167 125 / 0.12);
}

.exam-timeline-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.exam-timeline-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  justify-content: flex-start;
}

.exam-timeline-tag,
.exam-timeline-source-chip {
  border: 1px solid #cfe8e1;
  border-radius: 999px;
  background: #f2fbf8;
  color: #087b68;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 780;
}

.exam-timeline-card__head strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #cce8f4;
  border-radius: 999px;
  background: #eef9fd;
  color: #0878b8;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.25;
}

.exam-timeline-card h4 {
  margin: 0;
  color: #10231f;
  font-size: 18px;
  line-height: 1.3;
}

.exam-timeline-tasks {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: #18332e;
  line-height: 1.55;
}

.exam-timeline-source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exam-timeline-source-chip {
  text-decoration: none;
}

.exam-timeline-source-chip:hover,
.exam-timeline-source-card:hover {
  border-color: #7bcfbd;
  color: #045b4f;
}

.exam-timeline-sources {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.exam-timeline-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.exam-timeline-source-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  border: 1px solid #e0efeb;
  border-radius: 8px;
  background: #fbfefd;
  padding: 12px;
  text-decoration: none;
}

.exam-timeline-source-card strong {
  color: #0d4036;
  font-size: 14px;
}

th.range-col {
  width: 6%;
  min-width: 0;
  max-width: none;
}

.column-control {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.column-label {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
}

.header-search,
.header-select {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  border: 1px solid rgb(9 58 50 / 0.22);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  outline: 0;
  font-size: 12px;
  padding: 0 8px;
}

.header-select {
  cursor: pointer;
}

.header-search:focus,
.header-select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgb(0 217 255 / 0.14);
}

td.sticky-col-1,
th.sticky-col-1 {
  position: sticky;
  left: 0;
  z-index: 2;
}

td.sticky-col-2,
th.sticky-col-2 {
  position: sticky;
  left: 42px;
  z-index: 2;
  text-align: left;
}

th.sticky-col-1,
th.sticky-col-2 {
  z-index: 5;
}

td.sticky-col-1,
th.sticky-col-1 {
  width: 42px;
  min-width: 0;
  max-width: 42px;
}

tbody tr:hover td {
  background: #f6fffb;
}

tbody tr.is-hidden {
  display: none;
}

.score-cell {
  color: #111b12;
  font-weight: 780;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
}

.risk-badge--safe {
  background: #dff1e7;
  color: #176642;
}

.risk-badge--borderline {
  background: #e5eefb;
  color: #235b9b;
}

.risk-badge--reach {
  background: #fff2d9;
  color: #8a570e;
}

.risk-badge--high-risk {
  background: #fde7e2;
  color: #a13b28;
}

.risk-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 5px;
  width: 100%;
  min-width: 0;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  padding-left: 9px;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
}

.risk-notice__text {
  color: var(--muted);
  white-space: pre-line;
}

.risk-notice--key-classes,
.risk-notice--middle-school-progress,
.risk-notice--high-school-gaokao {
  align-items: baseline;
}

.risk-notice--middle-school-progress .risk-notice__text,
.risk-notice--high-school-gaokao .risk-notice__text {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
}

.risk-notice--key-classes .risk-notice__text {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
}

.risk-notice__link {
  color: var(--accent);
  font-weight: 720;
  text-decoration: none;
}

.risk-notice__link:hover {
  text-decoration: underline;
}

.volunteer-cell {
  padding: 0;
  text-align: left;
  background: var(--surface);
}

.rules-cell {
  padding: 0;
  text-align: left;
  background: #f7fffc;
}

.rules-workspace {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.rules-flow-scene {
  display: grid;
  gap: 14px;
  border: 1px solid rgb(0 217 255 / 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 0%, rgb(0 217 255 / 0.16), transparent 260px),
    linear-gradient(135deg, #ffffff 0%, #f8fffc 54%, #eef9fb 100%);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.rules-flow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.rules-flow-head h3,
.rules-stage-panel h4 {
  margin: 0;
  color: #142118;
  line-height: 1.35;
}

.rules-flow-head h3 {
  font-size: 19px;
}

.rules-flow-head p,
.rules-current-step p,
.rules-conveyor p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.rules-playback {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.rules-current-step {
  display: grid;
  gap: 2px;
  border: 1px solid rgb(18 230 176 / 0.3);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgb(23 32 24 / 0.06);
}

.rules-current-step strong {
  color: #078666;
  font-size: 18px;
  line-height: 1.35;
}

.rules-current-step.is-blocked {
  border-color: #efb7aa;
  background: #fff8f6;
}

.rules-current-step.is-blocked strong {
  color: #a13b28;
}

.rules-stage {
  display: grid;
  grid-template-columns: minmax(430px, 1.35fr) minmax(280px, 0.85fr);
  gap: 12px;
  align-items: stretch;
}

.rules-stage-panel {
  min-width: 0;
  border: 1px solid rgb(0 217 255 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.86);
  padding: 14px;
}

.rules-stage-panel h4 {
  margin-bottom: 12px;
  font-size: 15px;
}

.rules-scan-matrix {
  overflow-x: auto;
}

.rules-matrix {
  display: grid;
  gap: 6px;
  min-width: 410px;
}

.rules-matrix-head,
.rules-matrix-ladder,
.rules-scan-cell {
  min-height: 42px;
  border-radius: var(--radius);
}

.rules-matrix-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecf7f4;
  color: #52615a;
  font-size: 11px;
  font-weight: 800;
}

.rules-matrix-ladder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #334038;
  font-size: 11px;
}

.rules-matrix-ladder.is-active {
  border-color: var(--neon-emerald);
  background: rgb(18 230 176 / 0.13);
  color: #087d62;
}

.rules-scan-cell {
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #d9e2dc;
  background: #fff;
  color: #52615a;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.rules-scan-cell strong {
  font-size: 14px;
  line-height: 1;
}

.rules-scan-cell span {
  font-size: 10px;
  line-height: 1.2;
}

.rules-scan-cell.is-scanned {
  border-color: rgb(18 230 176 / 0.36);
  background: #effdf8;
  color: #087d62;
}

.rules-scan-cell.is-active {
  border-color: var(--neon-emerald);
  background: linear-gradient(135deg, #0aa87d, #00a6ca);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 166 202 / 0.2);
}

.rules-scan-cell.is-complete {
  border-color: #b66a37;
  background: #d99b2b;
}

.rules-scan-cell.is-skipped {
  border-style: dashed;
  background: #f4f5f4;
  color: #9aa49d;
}

.rules-scan-matrix > p,
.rules-school-scanner > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.rules-scanner-beam {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid #cddbd2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fcfa, #eef5fb);
  padding: 18px;
}

.rules-scanner-beam i {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgb(31 122 77 / 0.08) 38%, rgb(31 122 77 / 0.28) 50%, rgb(40 102 168 / 0.08) 62%, transparent 100%);
  transform: translateX(-62%);
}

.rules-flow-scene.is-playing .rules-scanner-beam i {
  animation: rules-scan-sweep 1500ms ease-in-out infinite;
}

.rules-scanner-beam.is-complete i {
  background: linear-gradient(100deg, transparent 0%, rgb(217 155 43 / 0.1) 38%, rgb(217 155 43 / 0.34) 50%, transparent 100%);
}

.rules-scanner-beam strong,
.rules-scanner-beam span {
  position: relative;
  z-index: 1;
}

.rules-scanner-beam strong {
  color: #152119;
  font-size: 20px;
}

.rules-scanner-beam span {
  color: var(--accent);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.rules-scan-target {
  color: #c33a2c;
  font-style: normal;
}

.rules-scanner-beam.is-complete span {
  color: #a45f17;
}

.rules-scan-order {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.rules-scan-order li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 9px 10px;
  color: #52615a;
  font-size: 12px;
  line-height: 1.4;
}

.rules-scan-order li.is-active {
  border-color: #2866a8;
  background: #f3f7fd;
  color: #1d4e83;
  font-weight: 800;
}

.rules-queue {
  display: grid;
  align-content: start;
  gap: 8px;
}

.rules-queue-lane {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfb;
  padding: 9px;
}

.rules-queue-lane > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.rules-queue-lane.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.rules-queue-lane.is-current-candidate > span {
  color: var(--accent);
}

.rules-candidate-dots {
  display: flex;
  gap: 5px;
}

.rules-candidate-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7c4b6;
}

.rules-queue-lane.is-active .rules-candidate-dots i {
  background: var(--accent);
  animation: rules-dot-pulse 1100ms ease-in-out infinite;
}

.rules-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(54px, 1fr));
  gap: 8px;
  align-items: stretch;
  min-height: 190px;
  padding: 58px 8px 8px;
  overflow: hidden;
}

.rules-track::before {
  content: "";
  position: absolute;
  top: 86px;
  left: 8%;
  width: 84%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #2866a8, #d99b2b);
  opacity: 0.35;
}

.rules-moving-token {
  position: absolute;
  top: 67px;
  left: 6%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgb(31 122 77 / 0.28);
}

.rules-moving-token.is-blocked {
  background: #b84c3c;
  box-shadow: 0 10px 24px rgb(184 76 60 / 0.24);
}

.rules-flow-scene.is-playing .rules-moving-token {
  animation: rules-token-move 2100ms ease-in-out infinite;
}

.rules-slot-node {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 6px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 6px;
}

.rules-slot-node strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9f2ed;
  color: var(--accent);
  font-size: 15px;
}

.rules-slot-node span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.rules-slot-node.is-active {
  border-color: #2866a8;
  background: #f3f7fd;
  box-shadow: inset 0 0 0 1px rgb(40 102 168 / 0.12);
}

.rules-slot-node.is-active strong {
  background: #2866a8;
  color: #fff;
}

@keyframes rules-token-move {
  0% {
    transform: translateX(0) scale(0.95);
  }
  50% {
    transform: translateX(42vw) scale(1);
  }
  100% {
    transform: translateX(0) scale(0.95);
  }
}

@keyframes rules-scan-sweep {
  0% {
    transform: translateX(-62%);
  }
  55% {
    transform: translateX(48%);
  }
  100% {
    transform: translateX(88%);
  }
}

@keyframes rules-dot-pulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.rules-hero,
.rules-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.rules-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  background:
    linear-gradient(135deg, #f5fbf7 0%, #ffffff 52%, #f7fbff 100%);
}

.rules-hero h3,
.rules-section h3 {
  margin: 0;
  color: #142118;
  font-size: 18px;
  line-height: 1.35;
}

.rules-hero p,
.rules-section p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.rules-score-meter {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 150px;
  border: 1px solid rgb(18 230 176 / 0.28);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgb(23 32 24 / 0.08);
  text-align: center;
}

.rules-score-meter strong {
  color: #078666;
  font-size: 46px;
  line-height: 1;
}

.rules-score-meter span {
  margin-top: 8px;
  color: #142118;
  font-size: 16px;
  font-weight: 800;
}

.rules-score-meter p {
  margin-top: 6px;
  font-size: 12px;
}

.rules-section {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.rules-ladder {
  display: grid;
  grid-template-columns: repeat(7, minmax(88px, 1fr));
  gap: 8px;
}

.rules-ladder__item {
  display: grid;
  gap: 8px;
  min-height: 78px;
  align-content: center;
  border: 1px solid rgb(0 217 255 / 0.12);
  border-radius: var(--radius);
  background: #fbfdfb;
  padding: 10px;
}

.rules-ladder__item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.rules-ladder__item strong {
  color: #162119;
  font-size: 19px;
  line-height: 1;
}

.rules-ladder__item.is-current {
  border-color: var(--neon-emerald);
  background: rgb(18 230 176 / 0.13);
  box-shadow: inset 0 0 0 1px rgb(18 230 176 / 0.18);
}

.rules-ladder__item.is-current strong,
.rules-ladder__item.is-current span {
  color: #078666;
}

.rules-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-timeline li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-height: 142px;
  border: 1px solid rgb(0 217 255 / 0.12);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.rules-timeline li.is-active {
  border-color: rgb(0 217 255 / 0.34);
  background: #f2fbff;
}

.rules-timeline__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0aa87d, #00a6ca);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.rules-timeline strong,
.rules-card-grid strong {
  color: #152119;
  font-size: 14px;
  line-height: 1.35;
}

.rules-timeline p {
  font-size: 12.5px;
  line-height: 1.55;
}

.rules-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
}

.rules-card-grid article {
  display: grid;
  align-content: start;
  min-height: 118px;
  border: 1px solid rgb(0 217 255 / 0.12);
  border-radius: var(--radius);
  background: #fbfdfb;
  padding: 12px;
}

.rules-card-grid p {
  font-size: 12.5px;
}

.rules-cautions {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--warning);
  font-size: 13px;
  line-height: 1.6;
}

.rules-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rules-source-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgb(0 217 255 / 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: #0878b8;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rules-source-list a:hover {
  border-color: rgb(0 217 255 / 0.34);
  background: #f7fffc;
}

.volunteer-simulator {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1.64fr);
  gap: 16px;
  padding: 16px;
  align-items: start;
}

.volunteer-panel {
  min-width: 0;
  border: 1px solid rgb(0 217 255 / 0.16);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.volunteer-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgb(0 217 255 / 0.12);
  background:
    linear-gradient(135deg, #ffffff, #f3fffb),
    radial-gradient(circle at 100% 0%, rgb(0 217 255 / 0.1), transparent 180px);
}

.volunteer-panel__head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.volunteer-panel__head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.primary-action,
.secondary-action {
  min-height: 36px;
  border: 1px solid rgb(18 230 176 / 0.48);
  border-radius: var(--radius);
  padding: 0 14px;
  background: linear-gradient(135deg, #0aa87d, #00a6ca);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.secondary-action {
  border-color: rgb(0 217 255 / 0.18);
  background: #fff;
  color: #0878b8;
}

.primary-action:disabled,
.secondary-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.volunteer-summary-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.volunteer-summary-metric {
  display: grid;
  gap: 4px;
  border: 1px solid rgb(0 217 255 / 0.12);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #f8fffc;
}

.volunteer-summary-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.volunteer-summary-metric strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.volunteer-method-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 16px 16px 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.volunteer-choice-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(18 230 176 / 0.13);
  color: #078666;
  font-size: 14px;
  font-weight: 800;
}

.volunteer-empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.volunteer-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 12px;
  padding: 14px;
}

.volunteer-plan-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgb(0 217 255 / 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgb(5 24 20 / 0.06);
  overflow: hidden;
}

.volunteer-plan-card--safe {
  border-top: 4px solid #12b886;
}

.volunteer-plan-card--steady {
  border-top: 4px solid #00a6ca;
}

.volunteer-plan-card--rush {
  border-top: 4px solid #b87616;
}

.volunteer-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 0;
}

.volunteer-plan-card h4,
.volunteer-plan-item h5 {
  margin: 0;
  color: var(--text);
  line-height: 1.35;
}

.volunteer-plan-card h4 {
  font-size: 15px;
}

.volunteer-plan-item h5 {
  font-size: 14px;
}

.volunteer-plan-verdict {
  margin: 0;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.volunteer-plan-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 12px 12px;
  list-style: none;
}

.volunteer-plan-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  border: 1px solid rgb(0 217 255 / 0.12);
  border-radius: var(--radius);
  padding: 10px;
  background: #f8fffc;
}

.volunteer-plan-item--rush {
  background: #fffaf0;
}

.volunteer-plan-item--steady {
  background: #f7fbff;
}

.volunteer-plan-item--safe {
  background: #f7fcf9;
}

.volunteer-plan-item__body {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.volunteer-plan-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.volunteer-plan-reason {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}

.volunteer-plan-candidate-list {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.volunteer-plan-candidate-list__summary {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.volunteer-plan-candidate-select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 34px 0 10px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  cursor: pointer;
}

.volunteer-plan-candidate-select:hover,
.volunteer-plan-candidate-select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(11, 176, 132, 0.14);
  outline-offset: 1px;
}

.volunteer-result-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.volunteer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.volunteer-badge--safe {
  background: #dff1e7;
  color: #176642;
}

.volunteer-badge--steady {
  background: #e5eefb;
  color: #235b9b;
}

.volunteer-badge--rush {
  background: #fff2d9;
  color: #8a570e;
}

.volunteer-badge--high-risk,
.volunteer-badge--out,
.volunteer-badge--invalid,
.volunteer-badge--unknown {
  background: #fde7e2;
  color: #a13b28;
}

.volunteer-history {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.volunteer-history span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--muted);
  background: #fafcfb;
  font-size: 11px;
  font-weight: 700;
}

.volunteer-warnings {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: var(--warning);
  font-size: 12px;
  line-height: 1.5;
}

.official-image-cell {
  padding: 16px;
  background: #f8faf8;
}

.official-images {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.official-images figure {
  margin: 0;
}

.official-table-image {
  display: block;
  max-width: min(100%, 1180px);
  height: auto;
  border: 1px solid #d9e4dc;
  background: #fff;
}

.official-images figcaption {
  margin-top: 8px;
  color: #627166;
  font-size: 13px;
}

.empty-state {
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.table-wrap.is-feedback-view {
  overflow-x: hidden;
}

.table-wrap.is-legal-view {
  overflow-x: hidden;
}

.table-wrap.is-policy-qa-view {
  overflow-x: hidden;
}

.table-wrap.is-score-explainer-view {
  overflow-x: hidden;
}

.legal-page-table {
  min-width: 100%;
  table-layout: auto;
}

.legal-page-table td.legal-page-cell {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  vertical-align: top;
}

.legal-article {
  display: grid;
  gap: 16px;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 34px 24px 44px;
}

.legal-section {
  display: grid;
  gap: 10px;
  border: 1px solid rgb(0 217 255 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.legal-section h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.legal-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.legal-action {
  justify-self: start;
  margin-top: 4px;
}

.legal-article--modal {
  width: 100%;
  margin: 0;
  padding: 0;
}

.legal-article--modal .legal-section {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 16px 0 0;
}

.legal-article--modal .legal-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.policy-qa-table {
  min-width: 100%;
  table-layout: auto;
}

.policy-qa-table td.policy-qa-cell {
  border: 0;
  padding: 0;
  background: var(--surface);
  text-align: left;
  vertical-align: top;
}

.policy-qa-panel {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid rgb(0 217 255 / 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.96), rgb(244 252 249 / 0.94));
  box-shadow: 0 24px 70px rgb(5 24 20 / 0.1);
  overflow: hidden;
  padding: 28px 24px 30px;
}

.policy-qa-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(0 217 255 / 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgb(18 230 176 / 0.045) 1px, transparent 1px),
    radial-gradient(circle at 86% 18%, rgb(0 217 255 / 0.14), transparent 260px);
  background-size: 74px 74px, 74px 74px, auto;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.7), transparent 78%);
}

.policy-qa-intro {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding-right: 120px;
}

.policy-qa-intro h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 840;
}

.policy-qa-intro h3::after {
  content: "AI";
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgb(18 230 176 / 0.55);
  border-radius: 6px;
  background: rgb(18 230 176 / 0.12);
  color: #058060;
  padding: 0 8px;
  font-size: 13px;
  line-height: 1;
  font-weight: 860;
}

.policy-qa-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.policy-qa-workbench {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 14px 16px;
  border-top: 1px solid rgb(0 217 255 / 0.12);
  padding-top: 20px;
}

.policy-qa-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.policy-qa-status span {
  border: 1px solid rgb(0 217 255 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.72);
  color: #1e544b;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
}

.policy-qa-search {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 12px;
  border: 1px solid rgb(0 217 255 / 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #071610, #0a1d1b),
    radial-gradient(circle at 94% 50%, rgb(0 217 255 / 0.22), transparent 180px);
  box-shadow: 0 18px 42px rgb(0 31 35 / 0.18), inset 0 0 0 1px rgb(18 230 176 / 0.08);
  padding: 12px;
}

.policy-qa-search::before {
  content: "AI";
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--neon-emerald);
  font-size: 12px;
  line-height: 1;
  font-weight: 880;
  letter-spacing: 0.08em;
}

.policy-qa-search input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgb(0 217 255 / 0.42);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  color: #f4fffb;
  padding: 0 15px 0 48px;
  font-size: 16px;
  font-weight: 720;
  outline: 0;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.policy-qa-search input::placeholder {
  color: rgb(217 255 245 / 0.66);
}

.policy-qa-search input:hover {
  border-color: var(--neon-cyan);
}

.policy-qa-search input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 4px rgb(0 217 255 / 0.16),
    0 0 32px rgb(18 230 176 / 0.2);
}

.policy-qa-search button {
  min-width: 88px;
  min-height: 58px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--neon-emerald), #00a6ca);
  color: #03100d;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 880;
  cursor: pointer;
  box-shadow: 0 0 24px rgb(18 230 176 / 0.28);
}

.policy-qa-examples {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.policy-qa-examples span,
.policy-qa-source span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.policy-qa-examples button {
  min-height: 32px;
  border: 1px solid rgb(9 58 50 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.78);
  color: var(--text);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}

.policy-qa-examples button:hover {
  border-color: rgb(0 217 255 / 0.34);
  background: #f7fffc;
}

.policy-qa-source {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.policy-qa-source a,
.policy-qa-result__foot a {
  color: #0878b8;
  font-weight: 760;
  text-decoration: none;
}

.policy-qa-results {
  display: grid;
  gap: 12px;
  align-content: start;
}

.policy-qa-answer-slot {
  margin-bottom: 2px;
}

.policy-qa-answer {
  display: grid;
  gap: 10px;
  border: 1px solid rgb(18 230 176 / 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgb(18 230 176 / 0.18), transparent 220px),
    linear-gradient(135deg, #f8fffc, #ffffff);
  padding: 18px;
  box-shadow: 0 18px 40px rgb(5 24 20 / 0.08);
}

.policy-qa-answer__label {
  justify-self: start;
  border: 1px solid rgb(18 230 176 / 0.42);
  border-radius: 999px;
  background: rgb(18 230 176 / 0.12);
  color: #05785b;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.policy-qa-answer p {
  margin: 0;
  color: #14251f;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line;
}

.policy-qa-answer__hint {
  color: var(--warning) !important;
  font-size: 13px !important;
}

.policy-qa-answer__analysis {
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.policy-qa-answer__evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.policy-qa-answer__evidence span {
  border: 1px solid rgb(0 217 255 / 0.16);
  border-radius: 999px;
  background: #fff;
  color: #36523f;
  padding: 5px 9px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 720;
}

.policy-qa-summary,
.policy-qa-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.policy-qa-result {
  display: grid;
  gap: 10px;
  border: 1px solid rgb(0 217 255 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.82);
  padding: 16px;
  box-shadow: 0 12px 28px rgb(5 24 20 / 0.06);
}

.policy-qa-result__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.policy-qa-result__head h4 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 780;
}

.policy-qa-result__head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgb(0 217 255 / 0.1);
  color: #0878b8;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.policy-qa-result p {
  margin: 0;
  color: #3f4d43;
  font-size: 14px;
  line-height: 1.8;
}

.policy-qa-result__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.feedback-table {
  min-width: 100%;
  table-layout: auto;
}

.feedback-table td.feedback-cell {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  vertical-align: top;
}

.feedback-panel {
  width: min(720px, 100%);
  margin: 0 auto;
  border: 1px solid rgb(0 217 255 / 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 0%, rgb(0 217 255 / 0.12), transparent 220px),
    linear-gradient(135deg, rgb(255 255 255 / 0.96), rgb(246 253 250 / 0.94));
  box-shadow: var(--shadow);
  padding: 38px 24px 46px;
}

.feedback-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.feedback-intro h3 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 780;
}

.feedback-intro p {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.feedback-form {
  display: grid;
  gap: 18px;
}

.feedback-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.feedback-label {
  color: #263228;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.feedback-type-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-type {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.feedback-type:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.feedback-type[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.feedback-field textarea,
.feedback-field input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgb(9 58 50 / 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  outline: 0;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.72);
}

.feedback-field textarea {
  min-height: 188px;
  padding: 14px 16px;
  resize: vertical;
  font-size: 15px;
  line-height: 1.7;
}

.feedback-field input {
  min-height: 46px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 1.4;
}

.feedback-field textarea:focus,
.feedback-field input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgb(0 217 255 / 0.14);
}

.feedback-field textarea::placeholder,
.feedback-field input::placeholder {
  color: #8a948b;
}

.feedback-char-count {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.feedback-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  padding-top: 4px;
}

.feedback-status {
  flex: 1 1 auto;
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feedback-status.is-pending {
  color: var(--accent-2);
}

.feedback-status.is-success {
  color: var(--accent);
}

.feedback-status.is-error {
  color: #9b3c25;
}

.feedback-submit {
  flex: 0 0 auto;
  min-width: 104px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0aa87d, #00a6ca);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 14px 30px rgb(0 166 202 / 0.2);
}

.feedback-submit:hover {
  background: linear-gradient(135deg, #07936d, #008fb0);
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: 0.66;
}

.notes {
  display: grid;
  gap: 6px;
  padding: 14px 20px 18px;
  border-top: 1px solid rgb(0 217 255 / 0.1);
  color: var(--muted);
  background: #f8fffc;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "topbar"
      "sidebar"
      "controls"
      "table-tabs"
      "table-panel"
      "footer";
    height: auto;
    overflow: visible;
    padding: 14px 14px 0;
  }

  .app-shell::before {
    inset: 0;
  }

  .app-shell.is-guide-view {
    grid-template-areas:
      "sidebar"
      "table-panel"
      "footer";
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .app-shell.is-tool-view {
    grid-template-areas:
      "sidebar"
      "workspace"
      "footer";
    grid-template-rows: auto auto auto;
  }

  .app-shell.is-tool-view .workspace {
    grid-template-rows: auto auto auto;
  }

  .workspace {
    display: contents;
  }

  .batch-nav {
    position: static;
    width: 100%;
  }

  .batch-sidebar {
    max-height: none;
    overflow-y: visible;
    padding: 12px;
    scrollbar-gutter: auto;
  }

  .sidebar-brand {
    min-height: 48px;
  }

  .batch-nav__items a,
  .batch-nav__items button {
    min-height: 34px;
    font-size: 13px;
  }

  .topbar,
  .control-band {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    display: grid;
  }

  .topbar-status {
    justify-content: flex-start;
  }

  .table-panel__head {
    display: grid;
  }

  .policy-qa-panel {
    padding: 22px 16px 26px;
  }

  .policy-qa-intro {
    padding-right: 0;
  }

  .policy-qa-workbench {
    grid-template-columns: 1fr;
  }

  .exam-timeline-summary-grid,
  .exam-timeline-source-grid {
    grid-template-columns: 1fr;
  }

  .exam-timeline-panel {
    padding: 14px;
  }

  .score-explainer-panel {
    padding: 14px;
  }

  .score-explainer-grid {
    grid-template-columns: 1fr;
  }

  .score-explainer-card__head {
    display: grid;
    justify-content: stretch;
  }

  .estimator-controls,
  .volunteer-controls,
  .rules-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimator-acknowledgment,
  .estimator-predict-button {
    align-self: stretch;
  }

  .volunteer-simulator {
    grid-template-columns: 1fr;
  }

  .volunteer-plan-grid {
    grid-template-columns: 1fr;
  }

  .rules-flow-head,
  .rules-stage {
    grid-template-columns: 1fr;
  }

  .rules-flow-head {
    display: grid;
  }

  .feedback-panel {
    padding: 28px 16px 36px;
  }

  .feedback-intro h3 {
    font-size: 24px;
  }

  .feedback-actions {
    display: grid;
    justify-items: stretch;
  }

  .feedback-submit {
    width: 100%;
  }

  .rules-playback {
    justify-content: flex-start;
  }

  .rules-hero,
  .rules-ladder,
  .rules-timeline,
  .rules-card-grid {
    grid-template-columns: 1fr;
  }

  .table-panel__actions {
    justify-content: stretch;
    min-width: 0;
  }

  .risk-notice {
    width: 100%;
  }

  .rank-recommendations {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .student-score-table {
    min-width: 100%;
  }

  .student-score-toolbar,
  .student-score-main-grid {
    grid-template-columns: 1fr;
  }

  .student-score-actions,
  .student-score-status {
    justify-content: flex-start;
    text-align: left;
  }

  .student-score-exam-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .official-site-subsets {
    justify-content: flex-start;
    width: 100%;
  }

  .table-panel__actions .section-select {
    width: 100%;
  }

  h1 {
    font-size: 23px;
  }

  .site-footer {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .admission-plan-summary__grid,
  .admission-plan-summary__policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 560px) {
  .compliance-modal {
    padding: 14px;
  }

  .compliance-modal__panel {
    width: min(92vw, 520px);
    max-height: 88vh;
    padding: 20px 16px;
  }

  .compliance-modal__submit {
    justify-self: stretch;
    width: 100%;
  }

  .legal-doc-modal {
    padding: 14px;
  }

  .legal-doc-modal__panel {
    width: min(94vw, 760px);
    max-height: 88vh;
  }

  .legal-doc-modal__head {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 12px;
    padding: 18px 16px 14px;
  }

  .legal-doc-modal__close {
    width: 36px;
    height: 36px;
  }

  .legal-doc-modal__body {
    padding: 18px 16px 22px;
  }

  .estimator-controls,
  .volunteer-controls,
  .rules-controls {
    grid-template-columns: 1fr;
  }

  .student-score-table {
    min-width: 100%;
  }

  .student-score-exam-meta,
  .student-score-chart-controls,
  .student-score-insight-grid {
    grid-template-columns: 1fr;
  }

  .student-score-panel-head,
  .student-score-exam-head {
    display: grid;
  }

  .admission-plan-summary__head,
  .admission-plan-summary__policy-head,
  .admission-plan-summary__toggle {
    display: grid;
    gap: 3px;
  }

  .admission-plan-summary__toggle small {
    margin-left: 0;
  }

  .admission-plan-summary__grid,
  .admission-plan-summary__policy-grid,
  .admission-plan-summary__limits {
    grid-template-columns: 1fr;
  }

  .admission-plan-summary__limit {
    grid-template-columns: 1fr;
  }

  .admission-plan-summary__card {
    display: grid;
  }

  .admission-plan-summary__card small {
    margin-left: 0;
  }

  .admission-plan-summary__limit strong {
    grid-row: auto;
    grid-column: 1;
    max-width: none;
    font-size: 20px;
    text-align: left;
  }

  .student-score-panel-head p {
    text-align: left;
  }

  .volunteer-summary-body {
    grid-template-columns: 1fr;
  }

  .volunteer-panel__head {
    display: grid;
  }

  .volunteer-panel__head p {
    max-width: none;
    text-align: left;
  }

  .rules-workspace,
  .rules-flow-scene,
  .rules-stage-panel {
    padding: 12px;
  }

  .rules-track {
    grid-template-columns: 1fr !important;
    min-height: auto;
    padding: 10px;
  }

  .rules-track::before,
  .rules-moving-token {
    display: none;
  }

  .rules-slot-node {
    min-height: 78px;
    grid-template-columns: 40px minmax(0, 1fr);
    align-content: center;
    justify-items: start;
    text-align: left;
  }

  .year-tabs button {
    width: calc((100% - 16px) / 3);
  }

  .year-tabs button[data-dataset-id] {
    width: 100%;
  }

  .source-link {
    width: 100%;
  }

  .policy-qa-search {
    grid-template-columns: 1fr;
  }

  .policy-qa-search button {
    width: 100%;
  }
}

/* Keep the Gaokao cockpit above legacy page and shared table rules. */
.app-shell.is-gaokao-view .workspace {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: auto;
  background: #08111f;
}

.app-shell.is-gaokao-view .gaokao-workspace {
  min-height: 100%;
  padding: 0;
  color: #e9efff;
  background: #08111f;
}

.gaokao-results-table tbody td {
  background: #0e192b;
  color: #d8e1f1;
}

.gaokao-results-table th:first-child,
.gaokao-results-table td:first-child {
  text-align: left;
}

.gaokao-results-table tbody tr:hover td {
  background: #101f33;
}

/* 2026 广东高考信息与决策数据库 v1 */
.app-shell.is-gaokao-view {
  grid-template-columns: 292px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "sidebar workspace"
    "footer footer";
  gap: 0 20px;
  height: 100vh;
  padding: 24px 24px 0;
  background: var(--bg);
}

.app-shell.is-gaokao-view::before {
  display: block;
}

.app-shell.is-gaokao-view [class~="batch-sidebar"] {
  display: grid;
}

.app-shell.is-gaokao-view .workspace {
  grid-area: workspace;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.app-shell.is-gaokao-view .topbar {
  grid-area: auto;
  display: flex;
}

.app-shell.is-gaokao-view .gaokao-workspace {
  grid-area: auto;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 0 0 42px;
  color: var(--text);
  background: transparent;
}

.app-shell.is-gaokao-view .site-footer {
  background: transparent;
  color: var(--sidebar-muted);
}

.app-shell.is-gaokao-view .site-footer__link,
.app-shell.is-gaokao-view .site-footer__copyright,
.app-shell.is-gaokao-view .site-footer__statement {
  color: var(--sidebar-muted);
}

.app-shell.is-gaokao-view .gaokao-sidebar-nav {
  display: grid;
  gap: 3px;
  padding-bottom: 6px;
}

.app-shell.is-gaokao-view .gaokao-sidebar-entry {
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
}

.gk-page {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.gk-page h2,
.gk-page h3,
.gk-page p {
  margin-top: 0;
}

.gk-update-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 168px;
  overflow: hidden;
  border: 1px solid rgb(18 230 176 / 0.28);
  border-radius: 10px;
  padding: 28px 32px;
  background:
    radial-gradient(circle at 84% 14%, rgb(0 217 255 / 0.18), transparent 210px),
    linear-gradient(125deg, #09241d, #071711 70%);
  box-shadow: var(--shadow-soft);
  color: #eafff8;
}

.gk-update-banner h2 {
  margin: 7px 0 8px;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.gk-update-banner p {
  max-width: 720px;
  margin-bottom: 0;
  color: #9fc5ba;
  line-height: 1.65;
}

.gk-update-banner > a,
.gk-resource-feature > a,
.gk-table-toolbar > a,
.gk-rule-summary > a {
  flex: none;
  border: 1px solid #b9d7cf;
  border-radius: 8px;
  background: #fff;
  color: #075f47;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.gk-eyebrow {
  color: #0ba67d;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gk-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gk-metric-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 18px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.gk-metric-card:hover {
  border-color: #78cbb4;
  transform: translateY(-1px);
}

.gk-metric-card span,
.gk-metric-card small {
  color: var(--muted);
}

.gk-metric-card strong {
  margin-top: 4px;
  color: #075f47;
  font-size: 27px;
}

.gk-metric-card i {
  margin-top: 9px;
  color: #09805f;
  font-size: 11px;
  font-style: normal;
  font-weight: 740;
}

.gk-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.gk-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.gk-card--page {
  min-height: 420px;
  padding: 24px;
}

.gk-card > header,
.gk-draft-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.gk-card > header h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.gk-card > header button,
.gk-draft-panel > header button {
  border: 0;
  background: transparent;
  color: #087f60;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.gk-cutoff-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gk-cutoff-pairs > div {
  border: 1px solid #d9ebe6;
  border-radius: 8px;
  background: #f5fbf8;
  padding: 16px;
}

.gk-cutoff-pairs > div > strong {
  display: block;
  margin-bottom: 10px;
}

.gk-cutoff-pairs p {
  display: flex;
  justify-content: space-between;
  margin: 7px 0 0;
  color: var(--muted);
}

.gk-cutoff-pairs b {
  color: #075f47;
  font-size: 20px;
}

.gk-shortcuts {
  display: grid;
  gap: 2px;
}

.gk-shortcuts button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid #e5efec;
  background: transparent;
  padding: 10px 4px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.gk-shortcuts button > span {
  color: #0a9671;
  font-size: 11px;
  font-weight: 800;
}

.gk-shortcuts p,
.gk-shortcuts strong,
.gk-shortcuts small {
  display: block;
  margin: 0;
}

.gk-shortcuts small {
  margin-top: 3px;
  color: var(--muted);
}

.gk-shortcuts i {
  color: #0a9671;
  font-style: normal;
}

.gk-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gk-status-grid > div {
  min-width: 0;
  border: 1px solid #e0ece8;
  border-radius: 8px;
  padding: 13px;
}

.gk-status-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}

.gk-status-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.gk-status {
  display: inline-flex;
  border-radius: 999px;
  background: #e8f8f2;
  color: #087453;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 780;
}

.gk-status.is-official-link {
  background: #eaf3fb;
  color: #176897;
}

.gk-status.is-pending {
  background: #fff3dc;
  color: #94601b;
}

.gk-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.gk-table-toolbar > div > strong,
.gk-table-toolbar > div > span {
  display: block;
}

.gk-table-toolbar > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.gk-table-toolbar--filters {
  justify-content: flex-start;
}

.gk-table-toolbar--filters > a {
  margin-left: auto;
}

.gk-stream-tabs {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f8f7;
  padding: 3px;
}

.gk-stream-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 16px;
  cursor: pointer;
  font-weight: 720;
}

.gk-stream-tabs button[aria-selected="true"] {
  background: #087f60;
  color: #fff;
}

.gk-search {
  min-width: min(380px, 42vw);
}

.gk-search input,
.gk-profile-fields input,
.gk-profile-fields select {
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  border: 1px solid #cbdcd7;
  border-radius: 7px;
  background: #fff;
  padding: 0 11px;
  color: var(--text);
  font: inherit;
}

.gk-table-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dcebe7;
  border-bottom: 0;
  background: #f4faf8;
  padding: 10px 13px;
  font-size: 12px;
}

.gk-table-summary span {
  color: var(--muted);
}

.gk-table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid #dce8e5;
  border-radius: 8px;
}

.gk-table-wrap--dataset {
  max-height: min(68vh, 760px);
  overscroll-behavior: contain;
}

.gk-data-tag {
  display: inline-flex;
  margin: 2px 4px 2px 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff1dc;
  color: #9a4d12;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.gk-table-summary + .gk-table-wrap {
  border-radius: 0 0 8px 8px;
}

.gk-data-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: #fff;
  color: var(--text);
  font-size: 12px;
}

.gk-data-table th,
.gk-data-table td {
  border-bottom: 1px solid #e4ecea;
  padding: 10px 12px;
  text-align: right;
  white-space: nowrap;
}

.gk-data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #edf6f3;
  color: #49635d;
  font-size: 11px;
}

.gk-data-table th:nth-child(2),
.gk-data-table td:nth-child(2),
.gk-data-table th:first-child,
.gk-data-table td:first-child {
  text-align: left;
}

.gk-data-table tbody tr:hover td {
  background: #f3faf7;
}

.gk-data-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.gk-resource-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #d6eae4;
  border-radius: 9px;
  background: linear-gradient(135deg, #f3fbf7, #edf8f6);
  padding: 24px;
}

.gk-resource-feature h2,
.gk-rule-summary h2 {
  margin: 7px 0 8px;
  color: #11352c;
  font-size: 22px;
}

.gk-resource-feature p,
.gk-rule-summary p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gk-method-grid,
.gk-major-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.gk-method-grid > div,
.gk-major-stats > div {
  border: 1px solid #dfeae7;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.gk-method-grid > div > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5f8f1;
  color: #087455;
  font-weight: 800;
}

.gk-method-grid strong {
  display: block;
  margin-top: 14px;
}

.gk-method-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.gk-major-stats > div {
  display: grid;
  text-align: center;
}

.gk-major-stats strong {
  color: #08785a;
  font-size: 34px;
}

.gk-major-stats span {
  margin-top: 5px;
  color: var(--muted);
}

.gk-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  border-left: 3px solid #0a9972;
  background: #f1f8f6;
  padding: 13px 15px;
  color: #31544b;
  font-size: 12px;
}

.gk-notice p {
  margin: 0;
  line-height: 1.6;
}

.gk-school-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 500px;
  overflow: auto;
  margin-top: 12px;
}

.gk-school-cloud span {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid #dfebe8;
  border-radius: 7px;
  padding: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gk-school-cloud small {
  color: #0a8665;
  font-weight: 760;
}

.gk-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.gk-checklist--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gk-checklist > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  border: 1px solid #dfeae7;
  border-radius: 8px;
  padding: 14px;
}

.gk-checklist > div > span {
  grid-row: 1 / span 2;
  color: #0a8968;
  font-size: 11px;
  font-weight: 820;
}

.gk-checklist small {
  color: var(--muted);
}

.gk-rule-summary {
  border: 1px solid #d6e9e3;
  border-radius: 9px;
  background: #f4faf8;
  padding: 24px;
}

.gk-rule-summary > a {
  display: inline-flex;
  margin-top: 15px;
}

.gk-timeline {
  display: grid;
  max-width: 820px;
  margin: 0 auto;
}

.gk-timeline > div {
  display: grid;
  grid-template-columns: 140px 20px minmax(0, 1fr);
  gap: 14px;
  min-height: 90px;
}

.gk-timeline time {
  padding-top: 5px;
  color: #42635a;
  font-size: 12px;
  font-weight: 720;
  text-align: right;
}

.gk-timeline > div > span {
  position: relative;
}

.gk-timeline > div > span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  width: 8px;
  height: 8px;
  border: 3px solid #dff8ef;
  border-radius: 50%;
  background: #08a77d;
}

.gk-timeline > div > span::after {
  content: "";
  position: absolute;
  top: 21px;
  bottom: -8px;
  left: 10px;
  width: 2px;
  background: #cfe8e1;
}

.gk-timeline > div:last-child > span::after {
  display: none;
}

.gk-timeline article {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding-bottom: 20px;
}

.gk-timeline article small {
  color: #098364;
}

.gk-timeline article a {
  color: #087c60;
  font-size: 11px;
}

.gk-resource-list,
.gk-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gk-resource-list > a,
.gk-question-grid > button {
  display: grid;
  justify-items: start;
  border: 1px solid #dce9e5;
  border-radius: 9px;
  background: #fff;
  padding: 18px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.gk-resource-list > a:hover,
.gk-question-grid > button:hover {
  border-color: #72c4ad;
  background: #f7fcfa;
}

.gk-resource-list span {
  color: #0a8968;
  font-size: 11px;
  font-weight: 760;
}

.gk-resource-list strong {
  margin-top: 8px;
}

.gk-resource-list p {
  margin: 7px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.gk-resource-list i,
.gk-question-grid span {
  color: #087c60;
  font-size: 11px;
  font-style: normal;
  font-weight: 740;
}

.gk-question-grid > button {
  gap: 10px;
  min-height: 104px;
  font: inherit;
  font-weight: 680;
}

.gk-empty-state {
  display: grid;
  justify-items: center;
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
}

.gk-empty-state h2 {
  margin: 10px 0;
}

.gk-empty-state p {
  color: var(--muted);
  line-height: 1.7;
}

.gk-empty-state button,
.gk-profile-fields button {
  border: 0;
  border-radius: 7px;
  background: #087f60;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 740;
}

.gk-draft-setup {
  display: grid;
  gap: 18px;
}

.gk-draft-setup h2 {
  margin: 7px 0;
  font-size: 21px;
}

.gk-draft-setup p {
  margin-bottom: 0;
  color: var(--muted);
}

.gk-profile-fields {
  display: grid;
  grid-template-columns: 140px 140px 160px minmax(190px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.gk-profile-fields label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}

.gk-profile-fields button {
  min-height: 38px;
}

.gk-draft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.gk-draft-list {
  display: grid;
  gap: 6px;
  max-height: 520px;
  overflow: auto;
}

.gk-draft-list > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #e1ebe8;
  border-radius: 7px;
  padding: 9px;
}

.gk-draft-list > div > span {
  color: #0a8968;
  font-size: 11px;
  font-weight: 800;
}

.gk-draft-list p,
.gk-draft-list strong,
.gk-draft-list small {
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gk-draft-list small {
  margin-top: 3px;
  color: var(--muted);
}

.gk-draft-list button,
.gk-table-button {
  border: 1px solid #bad9d0;
  border-radius: 6px;
  background: #fff;
  color: #087a5d;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 11px;
}

.gk-table-button:disabled {
  cursor: default;
  opacity: 0.55;
}

.gk-draft-foot {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.gk-message {
  margin: 0;
  border: 1px solid #a8d7c9;
  border-radius: 7px;
  background: #effaf6;
  padding: 10px 13px;
  color: #15634f;
  font-size: 12px;
}

.gk-empty {
  padding: 30px !important;
  color: var(--muted);
  text-align: center !important;
}

@media (max-width: 1180px) {
  .gk-metric-grid,
  .gk-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gk-dashboard-grid,
  .gk-draft-grid {
    grid-template-columns: 1fr;
  }

  .gk-school-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gk-profile-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .app-shell.is-gaokao-view {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "workspace"
      "footer";
    height: auto;
    overflow: visible;
  }

  .app-shell.is-gaokao-view .batch-sidebar {
    max-height: 520px;
  }

  .gk-update-banner,
  .gk-resource-feature,
  .gk-table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .gk-metric-grid,
  .gk-status-grid,
  .gk-method-grid,
  .gk-checklist,
  .gk-checklist--two,
  .gk-resource-list,
  .gk-question-grid {
    grid-template-columns: 1fr;
  }

  .gk-search {
    min-width: 0;
  }
}
