﻿:root {
  --bg: #eef4fb;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --ink: #172033;
  --muted: #65748a;
  --line: #dbe6f3;
  --primary: #1755c6;
  --primary-dark: #0f3f9a;
  --primary-light: #2a7bd8;
  --primary-soft: #eef5ff;
  --accent: #5aa5ee;
  --gold: #ffc107;
  --gold-dark: #f39b05;
  --success: #18795f;
  --success-soft: #e9f8f3;
  --error: #b42318;
  --shadow: 0 16px 42px rgba(23, 85, 198, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(23, 85, 198, 0.1), rgba(90, 165, 238, 0.18) 48%, rgba(238, 244, 251, 0) 100%),
    var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 14px 32px;
}

.query-panel,
.status-card,
.timeline-panel,
.logistics-panel {
  background: var(--surface);
  border: 1px solid rgba(219, 230, 243, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.query-panel {
  padding: 0;
  overflow: hidden;
}

.hero-header {
  position: relative;
  padding: 22px 24px 30px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 58%, var(--primary-light));
}

.hero-header::after {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 88px;
  height: 9px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 999px;
  transform: translateX(-50%);
  content: "";
}

.logo-lockup {
  position: static;
  display: grid;
  justify-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  text-align: center;
}

.logo-lockup > div {
  display: none;
}

.school-logo {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(7, 33, 89, 0.22);
}

.eyebrow,
.section-kicker,
.status-label {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-header .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.school-name {
  margin: 3px 0 0;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 5.8vw, 36px);
  line-height: 1.14;
}

.hero-copy {
  max-width: 500px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 3.2vw, 18px);
  font-weight: 700;
  line-height: 1.58;
}

h2 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.25;
}

.form-container {
  padding: 26px;
}

.query-form {
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 10px;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-dark);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.field-label::before {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--label-icon) center / contain no-repeat;
  mask: var(--label-icon) center / contain no-repeat;
}

.field-label--name {
  --label-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-8 9a8 8 0 0 1 16 0v1H4v-1Z'/%3E%3C/svg%3E");
}

.field-label--id {
  --label-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm3 4h6V7H6v2Zm0 4h5v-2H6v2Zm8-2h4V9h-4v2Zm0 4h4v-2h-4v2ZM6 18h12v-2H6v2Z'/%3E%3C/svg%3E");
}

.field-label--shield {
  --label-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.1 3.1 9.7 8 11 4.9-1.3 8-5.9 8-11V5l-8-3Zm0 3.2 5 1.9V11c0 3.6-1.9 6.9-5 8.1V5.2Z'/%3E%3C/svg%3E");
}

.field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: var(--ink);
  background: #fbfdff;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 18px;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.field input::placeholder {
  color: #a8b8cb;
}

.field input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 85, 198, 0.12);
}

.captcha-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 12px 10px;
  align-items: end;
}

.field--captcha {
  display: contents;
}

.field--captcha .field-label {
  grid-column: 1 / -1;
}

.field--captcha input {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-inline: 18px;
  font-size: 18px;
}

.captcha-display {
  display: grid;
  grid-column: 1;
  width: 100%;
  height: 58px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  background: linear-gradient(135deg, #f4f9ff, #eaf4ff);
  border: 1px solid #c9ddf2;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.captcha-display:hover {
  border-color: rgba(23, 85, 198, 0.38);
}

.captcha-display canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.refresh-button {
  display: inline-flex;
  grid-column: 2;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--primary);
  background: #eaf3ff;
  border: 1px solid #c8dbf2;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(23, 85, 198, 0.08);
}

.refresh-button:hover {
  border-color: rgba(23, 85, 198, 0.38);
}

.refresh-icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.7 6.3A8 8 0 0 0 4.3 10H2l3.5 3.5L9 10H6.4a6 6 0 0 1 10.1-2.3L14 10h8V2l-4.3 4.3ZM6.3 17.7A8 8 0 0 0 19.7 14H22l-3.5-3.5L15 14h2.6a6 6 0 0 1-10.1 2.3L10 14H2v8l4.3-4.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.7 6.3A8 8 0 0 0 4.3 10H2l3.5 3.5L9 10H6.4a6 6 0 0 1 10.1-2.3L14 10h8V2l-4.3 4.3ZM6.3 17.7A8 8 0 0 0 19.7 14H22l-3.5-3.5L15 14h2.6a6 6 0 0 1-10.1 2.3L10 14H2v8l4.3-4.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.primary-button {
  width: 100%;
  min-height: 62px;
  margin-top: 2px;
  color: #fff;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  border: 0;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(23, 85, 198, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.primary-button::before {
  display: inline-block;
  width: 25px;
  height: 25px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.5 3a7.5 7.5 0 0 1 5.95 12.06l4.24 4.25-1.42 1.41-4.24-4.24A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.5 3a7.5 7.5 0 0 1 5.95 12.06l4.24 4.25-1.42 1.41-4.24-4.24A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.primary-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(23, 85, 198, 0.32);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  box-shadow: none;
  transform: none;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.5;
}

.admission-progress-link {
  display: block;
  margin-top: -4px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admission-progress-link:hover {
  color: var(--primary);
}

.notice-panel {
  margin-top: 22px;
  padding: 16px 16px 16px 18px;
  background: #f3f8ff;
  border: 1px solid #d7e8fb;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}

.notice-panel h2 {
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 16px;
}

.notice-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  list-style: none;
}

.notice-panel li {
  position: relative;
  padding-left: 18px;
}

.notice-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  content: "";
}

.result-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.result-body {
  background:
    linear-gradient(180deg, rgba(23, 85, 198, 0.14), rgba(23, 85, 198, 0.06) 340px, rgba(238, 244, 251, 0.9)),
    var(--bg);
}

.result-shell {
  width: min(100%, 620px);
  padding-top: max(28px, env(safe-area-inset-top));
}

.result-shell .result-panel {
  margin-top: 0;
  gap: 18px;
}

.query-again {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px 16px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 85, 198, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.status-card {
  padding: 22px;
}

.status-card h1,
.status-card h2 {
  margin: 7px 0 14px;
  color: var(--ink);
}

.status-card h1 {
  font-size: 28px;
  line-height: 1.25;
}

.status-card--success {
  border-color: rgba(23, 85, 198, 0.24);
  background: linear-gradient(180deg, var(--primary-soft), #fff 68%);
}

.student-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.student-summary span {
  max-width: 100%;
  padding: 8px 11px;
  overflow-wrap: anywhere;
  color: var(--primary-dark);
  background: #f5f9ff;
  border: 1px solid rgba(23, 85, 198, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.status-copy {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.timeline-panel,
.logistics-panel {
  padding: 20px;
}

.admission-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 85, 198, 0.14);
}

.admission-info h2,
.timeline-panel h2,
.logistics-panel h2 {
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 18px;
}

.admission-info h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

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

.info-grid div {
  min-width: 0;
  padding: 9px 10px;
  background: rgba(247, 251, 255, 0.9);
  border: 1px solid rgba(219, 230, 243, 0.95);
  border-radius: 10px;
}

.info-grid .wide {
  grid-column: 1 / -1;
}

.info-grid dt {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.info-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.timeline {
  display: grid;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 18px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 39px;
  bottom: 0;
  left: 19px;
  width: 2px;
  background: #d9e5f3;
  content: "";
}

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

.timeline-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--muted);
  background: #f0f4f9;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.timeline-item.is-done .timeline-icon {
  color: var(--success);
  background: var(--success-soft);
}

.timeline-item.is-active .timeline-icon {
  color: var(--primary);
  background: var(--primary-soft);
}

.timeline-item h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.logistics-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

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

.copy-button {
  min-width: 78px;
  min-height: 36px;
  padding: 0 10px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(23, 85, 198, 0.18);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.logistics-message {
  min-height: 18px;
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.tracking-number {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 9px 11px;
  overflow-wrap: anywhere;
  color: var(--primary-dark);
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.trace-list {
  display: grid;
  gap: 10px;
}

.trace-item {
  padding: 12px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trace-item time {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.trace-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.ems-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 600px) {
  .app-shell {
    padding-inline: 12px;
  }

  .hero-header {
    padding: 22px 20px 30px;
  }

  .logo-lockup {
    margin-bottom: 10px;
  }

  .school-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .form-container {
    padding: 24px 22px 22px;
  }

  .query-form {
    gap: 22px;
  }

  .captcha-display {
    height: 58px;
  }

  .primary-button {
    font-size: 22px;
  }
}

@media (max-width: 430px) {
  .app-shell {
    padding-inline: 12px;
  }

  .form-container {
    padding-inline: 18px;
  }

  .captcha-block {
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 12px 8px;
  }

  .field input {
    min-height: 56px;
    padding-inline: 16px;
    font-size: 17px;
  }

  .field--captcha input {
    padding-inline: 16px;
    font-size: 17px;
  }

  .field-label {
    font-size: 18px;
  }

  .field-label::before {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .captcha-display {
    height: 56px;
  }

  .refresh-button {
    min-height: 56px;
    gap: 5px;
    padding-inline: 6px;
    font-size: 13px;
  }

  .refresh-icon {
    width: 14px;
    height: 14px;
  }

  .primary-button {
    min-height: 60px;
    font-size: 21px;
  }

  .primary-button::before {
    width: 24px;
    height: 24px;
  }

  .status-card h1 {
    font-size: 24px;
  }

  .info-grid { gap: 7px; }
}

/* result-page-organized-v2 */
.result-shell {
  width: min(100%, 720px);
}

.result-shell .result-panel {
  gap: 16px;
}

.result-hero-card {
  position: relative;
  padding: 36px 24px 34px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(219, 230, 243, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.result-hero-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  content: "";
}

.result-hero-card h1 {
  margin: 0 0 20px;
  color: #07386e;
  font-size: clamp(34px, 6vw, 46px);
  line-height: 1.1;
}

.result-hero-copy {
  margin: 0 auto;
  color: var(--primary);
  font-size: clamp(18px, 3.7vw, 27px);
  font-weight: 900;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.info-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(219, 230, 243, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-section-head {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  color: var(--primary);
  background: linear-gradient(90deg, #eaf3ff, #f6faff);
}


.info-section--personal .info-section-head,
.info-section--admission .info-section-head {
  background: linear-gradient(90deg, #eaf3ff, #f8fbff 80%);
}

.info-section--report .info-section-head {
  background: linear-gradient(90deg, #eaf8f4, #f8fbff 80%);
}

.info-section--mail .info-section-head {
  background: linear-gradient(90deg, #fff4e4, #f8fbff 80%);
}
.info-section-head h2 {
  margin: 0;
  color: currentColor;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.info-section-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  background: currentColor;
  -webkit-mask: var(--section-icon) center / contain no-repeat;
  mask: var(--section-icon) center / contain no-repeat;
}

.info-section-icon--personal {
  --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0 2c3.3 0 6 2.2 6 5v2H2v-2c0-2.8 2.7-5 6-5Zm9-2a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Zm-1 2h1c2.8 0 5 1.8 5 4v2h-6v-1c0-1.9-.8-3.6-2.2-4.9.7-.1 1.4-.1 2.2-.1Z'/%3E%3C/svg%3E");
}

.info-section-icon--admission {
  --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 3 6v6c0 5 3.8 9.4 9 10 5.2-.6 9-5 9-10V6l-9-4Zm0 3.2 6 2.7V12c0 3.5-2.5 6.5-6 7.2-3.5-.7-6-3.7-6-7.2V7.9l6-2.7Zm-3 7.6 1.4-1.4 1.4 1.4 3.8-3.8L17 10.4l-5.2 5.2L9 12.8Z'/%3E%3C/svg%3E");
}

.info-section-icon--report {
  --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3V2Zm13 8H4v10h16V10Zm-11 3h3v3H9v-3Z'/%3E%3C/svg%3E");
}

.info-section-icon--mail {
  --section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm1.9 2L12 12.1 19.1 7H4.9ZM20 8.9l-7.4 5.3a1 1 0 0 1-1.2 0L4 8.9V17h16V8.9Z'/%3E%3C/svg%3E");
}

.info-list {
  display: grid;
  margin: 0;
  padding: 20px 24px 22px;
}

.info-list div {
  display: grid;
  grid-template-columns: minmax(78px, 118px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
}

.info-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.info-list dd {
  margin: 0;
  color: #08172c;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.info-section--admission .is-highlight dd {
  color: var(--primary);
}

.info-section--mail .wide {
  align-items: start;
}

.timeline-panel,
.logistics-panel {
  box-shadow: var(--shadow);
}

@media (max-width: 520px) {
  .result-shell {
    padding-top: max(18px, env(safe-area-inset-top));
  }

  .result-hero-card {
    padding: 30px 18px 26px;
  }

  .result-hero-card h1 {
    margin-bottom: 15px;
  }

  .info-section-head {
    min-height: 62px;
    padding: 16px 18px;
  }

  
.info-section--personal .info-section-head,
.info-section--admission .info-section-head {
  background: linear-gradient(90deg, #eaf3ff, #f8fbff 80%);
}

.info-section--report .info-section-head {
  background: linear-gradient(90deg, #eaf8f4, #f8fbff 80%);
}

.info-section--mail .info-section-head {
  background: linear-gradient(90deg, #fff4e4, #f8fbff 80%);
}
.info-section-head h2 {
    font-size: 20px;
  }

  .info-section-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .info-list {
    padding: 16px 18px 18px;
  }

  .info-list div {
    grid-template-columns: minmax(72px, 96px) minmax(0, 1fr);
    gap: 12px;
    min-height: 50px;
  }

  .info-list dt {
    font-size: 15px;
  }

  .info-list dd {
    font-size: 17px;
  }
}

/* result-page-polish-v3 */
.result-body {
  background:
    linear-gradient(180deg, rgba(23, 85, 198, 0.12), rgba(237, 245, 255, 0.92) 280px, #f3f7fc 100%),
    #f3f7fc;
}

.result-shell {
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.result-shell .result-panel {
  gap: 14px;
}

.result-hero-card {
  padding: 38px 28px 30px;
  border-color: rgba(196, 214, 238, 0.95);
  box-shadow: 0 18px 42px rgba(11, 60, 132, 0.12);
}

.result-hero-card::before {
  height: 7px;
  background: linear-gradient(90deg, #0f58bf, #2478e8 60%, #5aa5ee);
}

.result-hero-card h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #083a78;
  font-weight: 950;
}

.result-hero-card h1::before {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: #0f58bf;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m4 14 6 6 10-16L4 14Zm1.8 1.2 8.8-5.3-5.3 8.8-3.5-3.5ZM17 3h2v3h-2V3Zm3.2 4.2 1.4 1.4-2.1 2.1-1.4-1.4 2.1-2.1ZM13 1h2v3h-2V1Zm6 13h3v2h-3v-2ZM10 2h2v2h-2V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m4 14 6 6 10-16L4 14Zm1.8 1.2 8.8-5.3-5.3 8.8-3.5-3.5ZM17 3h2v3h-2V3Zm3.2 4.2 1.4 1.4-2.1 2.1-1.4-1.4 2.1-2.1ZM13 1h2v3h-2V1Zm6 13h3v2h-3v-2ZM10 2h2v2h-2V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.result-hero-copy {
  width: fit-content;
  max-width: 100%;
  padding: 13px 24px;
  color: #0f58bf;
  background: linear-gradient(180deg, #eaf3ff, #deebfb);
  border: 1px solid rgba(23, 85, 198, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(23, 85, 198, 0.1);
}

.info-section {
  --section-accent: var(--primary);
  border-color: rgba(204, 219, 239, 0.96);
  box-shadow: 0 14px 34px rgba(11, 60, 132, 0.09);
}

.info-section--personal {
  --section-accent: #1755c6;
}

.info-section--admission {
  --section-accent: #0f58bf;
}

.info-section--report {
  --section-accent: #18795f;
}

.info-section--mail {
  --section-accent: #b26a00;
}

.info-section-head {
  min-height: 66px;
  color: var(--section-accent);
  background: linear-gradient(90deg, #eaf3ff, #f8fbff 80%);
  border-bottom: 1px solid rgba(219, 230, 243, 0.8);
}


.info-section--personal .info-section-head,
.info-section--admission .info-section-head {
  background: linear-gradient(90deg, #eaf3ff, #f8fbff 80%);
}

.info-section--report .info-section-head {
  background: linear-gradient(90deg, #eaf8f4, #f8fbff 80%);
}

.info-section--mail .info-section-head {
  background: linear-gradient(90deg, #fff4e4, #f8fbff 80%);
}
.info-section-head h2 {
  font-size: 21px;
  letter-spacing: 0;
}

.info-section-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.info-list {
  padding: 18px 24px 20px;
}

.info-list div {
  grid-template-columns: minmax(80px, 120px) minmax(0, 1fr);
  min-height: 52px;
  padding: 11px 0;
}

.info-list dt {
  color: #5d6d82;
  font-size: 15px;
}

.info-list dd {
  color: #07172f;
  font-size: 18px;
  letter-spacing: 0;
}

.info-section--admission .is-highlight dd {
  color: #0f58bf;
}

.info-section--report .info-list dd,
.info-section--mail .info-list dd {
  color: #12233c;
}

.timeline-panel,
.logistics-panel {
  border-color: rgba(204, 219, 239, 0.96);
  box-shadow: 0 14px 34px rgba(11, 60, 132, 0.09);
}

.timeline-panel h2,
.logistics-panel h2 {
  color: #083a78;
}

.query-again {
  min-width: 126px;
  text-align: center;
  background: #fff;
  box-shadow: 0 10px 24px rgba(11, 60, 132, 0.08);
}

@media (min-width: 680px) {
  .info-section--report .info-list,
  .info-section--mail .info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

  .info-section--mail .info-list .wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .result-shell .result-panel {
    gap: 13px;
  }

  .result-hero-card {
    padding: 32px 18px 24px;
  }

  .result-hero-card h1 {
    gap: 10px;
    margin-bottom: 18px;
  }

  .result-hero-card h1::before {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .result-hero-copy {
    padding: 11px 18px;
    border-radius: 24px;
    font-size: 18px;
  }

  .info-section-head {
    min-height: 60px;
  }

  .info-list div {
    grid-template-columns: minmax(74px, 94px) minmax(0, 1fr);
    min-height: 49px;
  }

  .info-list dd {
    font-size: 17px;
  }
}

/* result-page-reference-v4 */
.mail-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.mail-status::before {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.mail-status.is-active {
  color: #15803d;
  background: #dcfce7;
}

.logistics-panel--query {
  padding: 20px;
}

.logistics-panel--query .logistics-head {
  margin-bottom: 14px;
}

.ems-query-box {
  padding: 24px 18px 20px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 18px;
}

.ems-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.ems-row .tracking-number {
  display: block;
  max-width: min(100%, 320px);
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
  color: #1d4ed8;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(22px, 6vw, 31px);
  font-weight: 900;
  letter-spacing: 2px;
}

.copy-button--pill {
  min-width: 62px;
  color: #2563eb;
  background: #e8edf5;
  border: 0;
  border-radius: 999px;
}

.logistics-panel--query .logistics-message {
  min-height: auto;
  margin: 10px 0 18px;
  color: #94a3b8;
  font-size: 14px;
}

.logistics-actions--full {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.copy-button--primary,
.logistics-actions--full .ems-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.copy-button--primary {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.logistics-actions--full .ems-link {
  color: #1e40af;
  background: #eef2f8;
  border: 1px solid #e2e8f0;
}

.logistics-panel--query .trace-list {
  margin-top: 14px;
}

@media (max-width: 380px) {
  .ems-row {
    flex-direction: column;
    gap: 8px;
  }

  .logistics-actions--full {
    grid-template-columns: 1fr;
  }
}

/* result-page-full-reference-v5 */
.result-body {
  min-height: 100vh;
  background: #f5f7fb;
}

.result-shell {
  width: min(100%, 508px);
  padding: max(14px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom));
}

.result-shell .result-panel {
  gap: 14px;
  margin-top: 0;
}

.reference-header {
  padding: 32px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.reference-header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 36px;
  font-weight: 950;
  line-height: 1.12;
}

.reference-header h1::before {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m4 14 6 6L20 4 4 14Zm1.8 1.2 8.8-5.3-5.3 8.8-3.5-3.5ZM17 3h2v3h-2V3Zm3.2 4.2 1.4 1.4-2.1 2.1-1.4-1.4 2.1-2.1ZM13 1h2v3h-2V1Zm6 13h3v2h-3v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m4 14 6 6L20 4 4 14Zm1.8 1.2 8.8-5.3-5.3 8.8-3.5-3.5ZM17 3h2v3h-2V3Zm3.2 4.2 1.4 1.4-2.1 2.1-1.4-1.4 2.1-2.1ZM13 1h2v3h-2V1Zm6 13h3v2h-3v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.reference-desc {
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.reference-card,
.reference-notice {
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.reference-card {
  padding: 20px;
}

.reference-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #1e40af;
  font-size: 18px;
  font-weight: 900;
}

.reference-title-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 12px;
}

.reference-title-icon::before {
  width: 21px;
  height: 21px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--reference-icon) center / contain no-repeat;
  mask: var(--reference-icon) center / contain no-repeat;
}

.reference-title-icon--user { --reference-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-8 9a8 8 0 0 1 16 0v1H4v-1Z'/%3E%3C/svg%3E"); }
.reference-title-icon--admission { --reference-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 3 10 5-10 5L2 8l10-5Zm-6 8.1 6 3 6-3V17c0 1.7-2.7 4-6 4s-6-2.3-6-4v-5.9Z'/%3E%3C/svg%3E"); }
.reference-title-icon--report { --reference-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3V2Zm13 8H4v10h16V10Zm-11 3h3v3H9v-3Z'/%3E%3C/svg%3E"); }
.reference-title-icon--mail { --reference-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v12H3V6Zm2 2v.4l7 4.4 7-4.4V8H5Zm14 2.8-6.5 4.1a1 1 0 0 1-1 0L5 10.8V16h14v-5.2Z'/%3E%3C/svg%3E"); }
.reference-title-icon--timeline { --reference-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h4v4H4V5Zm6 1h10v2H10V6ZM4 10h4v4H4v-4Zm6 1h10v2H10v-2ZM4 15h4v4H4v-4Zm6 1h10v2H10v-2Z'/%3E%3C/svg%3E"); }
.reference-title-icon--box { --reference-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 9 4v12l-9 4-9-4V6l9-4Zm0 2.2L6.2 6.8 12 9.4l5.8-2.6L12 4.2ZM5 8.4v8.3l6 2.7v-8.3L5 8.4Zm14 0-6 2.7v8.3l6-2.7V8.4Z'/%3E%3C/svg%3E"); }

.reference-rows {
  margin: 0;
}

.reference-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.reference-row:last-child {
  border-bottom: 0;
}

.reference-row dt {
  margin: 0;
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.reference-row dd {
  max-width: 68%;
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}

.reference-notice {
  padding: 20px;
  background: #eff6ff;
  border-left: 5px solid #2563eb;
}

.reference-notice h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 900;
}

.reference-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 900;
}

.reference-status::before {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.reference-status.is-active {
  color: #15803d;
  background: #dcfce7;
}

.reference-timeline {
  position: relative;
  display: block;
  padding: 4px 0;
}

.reference-timeline::before {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 19px;
  width: 2.5px;
  background: #dbeafe;
  border-radius: 2px;
  content: "";
}

.reference-timeline .timeline-item {
  position: relative;
  display: flex;
  grid-template-columns: none;
  gap: 14px;
  margin: 18px 0;
  padding-bottom: 0;
}

.reference-timeline .timeline-item::before {
  display: none;
}

.reference-timeline .timeline-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #2563eb;
  background: #dbeafe;
  font-size: 14px;
}

.reference-timeline .timeline-item.is-done .timeline-icon,
.reference-timeline .timeline-item.is-active .timeline-icon {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.reference-timeline .timeline-item h3 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.reference-timeline .timeline-item p {
  margin-top: 4px;
  color: #6b7280;
  font-size: 14px;
}

.reference-ems-box {
  padding: 28px 20px 22px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 18px;
}

.reference-ems-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 4px;
}

.reference-ems-number {
  color: #1d4ed8;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(24px, 6.6vw, 32px);
  font-weight: 900;
  letter-spacing: 2px;
  overflow-wrap: anywhere;
}

.reference-copy-btn {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #2563eb;
  background: #e8edf5;
  border: 0;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
}

.reference-ems-hint {
  margin: 8px 0 18px;
  color: #94a3b8;
  font-size: 14px;
}

.reference-btn-row {
  display: flex;
  gap: 12px;
}

.reference-btn {
  display: flex;
  flex: 1;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 30px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.reference-btn--primary {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.reference-btn--secondary {
  color: #1e40af;
  background: #eef2f8;
}

.reference-trace-list {
  margin-top: 14px;
}

.query-again {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px 16px;
  color: #2563eb;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 400px) {
  .reference-header h1 { font-size: 30px; }
  .reference-row dd { max-width: 64%; }
  .reference-ems-number { font-size: 25px; letter-spacing: 1px; }
  .reference-copy-btn { padding-inline: 12px; font-size: 12px; }
  .reference-btn { font-size: 14px; }
}

@media (max-width: 360px) {
  .reference-ems-row { flex-direction: column; gap: 10px; }
  .reference-btn-row { flex-direction: column; gap: 10px; }
  .reference-timeline::before { left: 17px; }
  .reference-timeline .timeline-icon { width: 34px; height: 34px; flex-basis: 34px; }
}

/* result-page-reference-fixes-v6 */
.reference-ems-box {
  padding: 28px 20px 22px;
}

.reference-ems-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  justify-content: stretch;
  gap: 14px;
  margin-bottom: 6px;
}

.reference-ems-number {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  color: #1d4ed8;
  font-size: clamp(24px, 7.4vw, 32px);
  line-height: 1.12;
  letter-spacing: 3px;
  transform-origin: left center;
}

.reference-copy-btn {
  width: 92px;
  min-width: 92px;
  min-height: 52px;
  padding: 0 14px;
  white-space: normal;
  color: #2563eb;
  background: #e8edf5;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}

.reference-ems-hint {
  margin-top: 8px;
}

.reference-btn-row {
  margin-top: 2px;
}

@media (max-width: 420px) {
  .reference-ems-row {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
  }

  .reference-copy-btn {
    width: 86px;
    min-width: 86px;
    min-height: 50px;
    font-size: 15px;
  }

  .reference-ems-number {
    font-size: clamp(22px, 7vw, 29px);
    letter-spacing: 2px;
  }
}

@media (max-width: 360px) {
  .reference-ems-row {
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 10px;
  }

  .reference-copy-btn {
    width: 78px;
    min-width: 78px;
    min-height: 46px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .reference-ems-number {
    font-size: 21px;
    letter-spacing: 1px;
  }
}

/* result-page-trace-collapse-v7 */
.reference-trace-list {
  display: grid;
  gap: 14px;
}

.reference-trace-item {
  padding: 16px 18px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
}

.reference-trace-item time {
  display: block;
  margin-bottom: 8px;
  color: #597096;
  font-size: 14px;
  line-height: 1.35;
}

.reference-trace-item p {
  margin: 0;
  color: #001b45;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.reference-trace-list.is-collapsed .reference-trace-item.is-extra {
  display: none;
}

.reference-trace-list.is-expanded .reference-trace-item.is-extra {
  display: block;
}

.reference-trace-toggle {
  width: 100%;
  min-height: 42px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.reference-trace-toggle:active {
  transform: scale(0.98);
}

@media (max-width: 420px) {
  .reference-trace-item {
    padding: 15px 16px;
  }

  .reference-trace-item p {
    font-size: 16px;
  }
}

/* result-page-final-reference-v8 */
.result-body {
  background: #f5f7fb !important;
}

.result-shell {
  width: min(100%, 508px) !important;
  padding: 14px 14px max(24px, env(safe-area-inset-bottom)) !important;
}

.result-shell .result-panel {
  gap: 14px !important;
}

.reference-card,
.reference-notice,
.reference-header {
  margin-bottom: 0;
}

.reference-header {
  border-radius: 26px !important;
}

.reference-card {
  border-radius: 20px !important;
}

.reference-row dd {
  font-weight: 700;
}

.reference-row dd[data-field="studentNameFull"],
.reference-row dd[data-field="xb"],
.reference-row dd[data-field="ksh"],
.reference-row dd[data-field="idCardDetail"],
.reference-row dd[data-field="lqfy"],
.reference-row dd[data-field="majorDetail"],
.reference-row dd[data-field="lqcc"],
.reference-row dd[data-field="gssf"],
.reference-row dd[data-field="bdsj"] {
  font-weight: 900;
}

.reference-trace-list {
  gap: 14px;
}

.reference-trace-item {
  padding: 16px 18px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
}

.reference-trace-item time {
  margin-bottom: 8px;
  color: #597096;
  font-size: 14px;
  font-weight: 400;
}

.reference-trace-item p {
  color: #001b45;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.reference-trace-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.reference-trace-toggle::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  content: "";
}

.reference-trace-toggle.is-expanded::after {
  transform: rotate(225deg) translateY(-2px);
}

.reference-footer {
  padding: 20px 12px 4px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 420px) {
  .reference-trace-item p {
    font-size: 15px;
  }
}

/* result-page-fontawesome-icons-v9 */
.reference-header h1::before,
.reference-title-icon,
.reference-title-icon::before {
  display: none !important;
}

.reference-title i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 12px;
  font-size: 18px;
}

.reference-notice h2 > i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 12px;
  font-size: 18px;
}

.reference-timeline .timeline-icon i {
  font-size: 15px;
  line-height: 1;
}

.reference-copy-btn,
.reference-btn {
  gap: 8px;
}

.reference-copy-btn i,
.reference-btn i {
  font-size: 14px;
  line-height: 1;
}
/* result-page-sample-template-v10 */
.result-body {
  --blue: #2563eb;
  --blue2: #60a5fa;
  --blue-soft: #eff6ff;
  --bg: #f5f7fb;
  --text: #111827;
  --muted: #6b7280;
  --green: #22c55e;
  --card: #fff;
  --radius: 20px;
  min-height: 100vh;
  margin: 0;
  padding: 14px !important;
  color: var(--text);
  background: var(--bg) !important;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.result-body * {
  box-sizing: border-box;
}

.result-body .container {
  max-width: 480px;
  width: auto;
  margin: auto;
  padding: 0;
}

.result-body .result-panel {
  display: block;
  margin: 0;
}

.result-body .header {
  margin-bottom: 16px;
  padding: 32px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.result-body .header h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.12;
}

.result-body .header .desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.result-body .card {
  margin-bottom: 14px;
  padding: 20px;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.result-body .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #1e40af;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.result-body .title i {
  width: 36px;
  height: 36px;
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
  font-size: 18px;
}

.result-body .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.result-body .row:last-child {
  border-bottom: none;
}

.result-body .label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.result-body .value {
  max-width: 65%;
  color: #111827;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}

.result-body .value--auto-align {
  flex: 1 1 0;
}

.result-body .value--auto-align.is-wrapped {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
}

.result-body .notice {
  margin-bottom: 14px;
  padding: 20px;
  background: #eff6ff;
  border-left: 5px solid var(--blue);
  border-radius: 20px;
}

.result-body .notice h2 {
  display: block;
  margin: 0 0 12px;
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.result-body .notice h2 i {
  margin-right: 6px;
}

.result-body .status {
  display: inline-block;
  padding: 6px 14px;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.result-body .status.is-active {
  color: #15803d;
  background: #dcfce7;
}

.result-body .timeline {
  position: relative;
  display: block;
  padding: 4px 0;
}

.result-body .timeline::before {
  position: absolute;
  left: 19px;
  top: 32px;
  bottom: 32px;
  width: 2.5px;
  background: #dbeafe;
  border-radius: 2px;
  content: "";
}

.result-body .timeline-item {
  display: flex;
  gap: 14px;
  margin: 18px 0;
  padding: 0;
  position: relative;
}

.result-body .timeline-item::before {
  display: none;
}

.result-body .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  font-size: 15px;
  transition: 0.2s;
}

.result-body .icon.done {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.result-body .timeline-title {
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.result-body .timeline-desc {
  margin-top: 4px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.result-body .ems-box {
  position: relative;
  padding: 28px 20px 22px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 18px;
}

.result-body .ems-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 4px;
}

.result-body .ems-number {
  min-width: 0;
  color: #1d4ed8;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.15;
  white-space: nowrap;
}

.result-body .copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 16px 6px 14px;
  color: #2563eb;
  background: #e8edf5;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.result-body .copy-btn i {
  font-size: 14px;
}

.result-body .copy-btn:active {
  transform: scale(0.93);
  background: #d0dce8;
}

.result-body .copy-btn.copied {
  color: #15803d;
  background: #dcfce7;
}

.result-body .copy-btn .copy-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.result-body .ems-hint {
  margin-top: 6px;
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.45;
}

.result-body .ems-hint i {
  margin-right: 5px;
  color: #b8c9dd;
  font-size: 12px;
}

.result-body .btn-row {
  display: flex;
  gap: 12px;
}

.result-body .btn-row .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: auto;
  padding: 14px 8px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.2s ease;
}

.result-body .btn-primary {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.result-body .btn-primary:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.15);
}

.result-body .btn-secondary {
  color: #1e40af;
  background: #eef2f8;
  border: 1.5px solid transparent;
}

.result-body .btn-secondary:active {
  transform: scale(0.96);
  background: #e2e8f0;
}

.result-body .trace-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.result-body .trace-item {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
}

.result-body .trace-item time {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.result-body .trace-item p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.result-body .trace-list.is-collapsed .trace-item.is-extra {
  display: none;
}

.result-body .trace-list.is-expanded .trace-item.is-extra {
  display: block;
}

.result-body .trace-toggle {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

.result-body .trace-toggle i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.result-body .trace-toggle.is-expanded i {
  transform: rotate(180deg);
}

.result-body .trace-toggle:active {
  transform: scale(0.98);
}

.result-body .footer {
  padding: 20px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.result-body .query-again {
  display: block;
  width: fit-content;
  margin: 4px auto 0;
  padding: 8px 14px;
  color: #2563eb;
  background: #fff;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.result-body .hidden {
  display: none !important;
}

@media (max-width: 400px) {
  .result-body .header h1 { font-size: 30px; }
  .result-body .ems-number { font-size: 26px; letter-spacing: 2px; }
  .result-body .copy-btn { padding: 5px 12px 5px 10px; font-size: 12px; }
  .result-body .btn-row .btn { padding: 12px 6px; font-size: 14px; }
}

@media (max-width: 360px) {
  .result-body .value { max-width: 62%; }
  .result-body .ems-number { font-size: 22px; letter-spacing: 1px; }
  .result-body .ems-row { gap: 10px; }
  .result-body .btn-row { flex-direction: column; gap: 10px; }
  .result-body .btn-row .btn { padding: 14px; }
  .result-body .timeline::before { left: 17px; }
  .result-body .icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
}

/* result-page-local-fontawesome-icons-v11 */
.result-body.icons-fallback i.fa,
.result-body.icons-fallback i.fas,
.result-body.icons-fallback i.fa-regular {
  font-style: normal;
  line-height: 1;
}

.result-body.icons-fallback i.fa::before,
.result-body.icons-fallback i.fas::before,
.result-body.icons-fallback i.fa-regular::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  content: "";
  -webkit-mask: var(--fa-mask) center / contain no-repeat;
  mask: var(--fa-mask) center / contain no-repeat;
}

.result-body.icons-fallback .fa-user { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-8 9a8 8 0 0 1 16 0v1H4v-1Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-graduation-cap { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 3 10 5-10 5L2 8l10-5Zm-6 8.1 6 3 6-3V17c0 1.7-2.7 4-6 4s-6-2.3-6-4v-5.9Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-calendar-check { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3V2Zm13 8H4v10h16V10Zm-12 5.1 1.4-1.4 1.7 1.7 4.5-4.5 1.4 1.4-5.9 5.9L8 15.1Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-truck { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h12v10h1.2L18 11h3l2 4v3h-2.2a3 3 0 0 1-5.6 0H9.8a3 3 0 0 1-5.6 0H2V7a2 2 0 0 1 1-2Zm2 2v8h8V7H5Zm13.2 6-1 2H21l-1-2h-1.8ZM7 17a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm11 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-tasks { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h4v4H4V5Zm6 1h10v2H10V6ZM4 10h4v4H4v-4Zm6 1h10v2H10v-2ZM4 15h4v4H4v-4Zm6 1h10v2H10v-2Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-box { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 9 4v12l-9 4-9-4V6l9-4Zm0 2.2L6.2 6.8 12 9.4l5.8-2.6L12 4.2ZM5 8.4v8.3l6 2.7v-8.3L5 8.4Zm14 0-6 2.7v8.3l6-2.7V8.4Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-print { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h12v5H6V2Zm-2 7h16a2 2 0 0 1 2 2v7h-4v4H6v-4H2v-7a2 2 0 0 1 2-2Zm4 8v3h8v-3H8Zm11-5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-envelope { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm1.9 2L12 12.1 19.1 7H4.9ZM20 8.9l-7.4 5.3a1 1 0 0 1-1.2 0L4 8.9V17h16V8.9Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-location-arrow { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 11 21 3l-8 18-2.4-7.6L3 11Zm5.1-.3 4.1 1.3 1.3 4.1L17.2 6.8l-9.1 3.9Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-copy { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 2h11a2 2 0 0 1 2 2v11h-2V4H8V2ZM5 6h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Zm0 2v12h10V8H5Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-circle-question { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Zm-1-5h2v2h-2v-2Zm1-9a4 4 0 0 0-4 4h2a2 2 0 1 1 2 2 2 2 0 0 0-2 2v.4h2V14c0-.6.4-1 1-1a4 4 0 0 0-1-7Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-search { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.5 3a7.5 7.5 0 0 1 5.95 12.06l4.24 4.25-1.42 1.41-4.24-4.24A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-check { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9.2 16.6-4.3-4.3L3.5 13.7l5.7 5.7L21 7.6 19.6 6.2 9.2 16.6Z'/%3E%3C/svg%3E"); }
.result-body.icons-fallback .fa-chevron-down { --fa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 15.5-7-7L6.4 7l5.6 5.6L17.6 7 19 8.5l-7 7Z'/%3E%3C/svg%3E"); }

