:root {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #182b43;
  background: #f7f8fb;
  font-synthesis: none;
  --blue: #28426d;
  --line: #eaf0f7;
  --muted: #98a3b6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ee7b30;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
header {
  height: 60px;
  background: white;
}
header .header-inner {
  width: min(1180px, calc(100% - 48px));
  height: 60px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand img {
  width: 80px;
  height: auto;
}
.brand span {
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  color: #080808;
  border-left: 1px solid #e5e9f0;
  padding-left: 10px;
}
nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 18px;
  color: #45515f;
}
nav a:hover {
  color: var(--blue);
}
.account {
  background: #050505;
  color: #fff;
  border-radius: 6px;
  width: 80px;
  height: 36px;
  font-size: 14px;
  white-space: nowrap;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.hero {
  height: 200px;
  background: #f2f5f9;
}
.hero .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: -1.5px;
  font-weight: 700;
}
.hero.exam {
  background-image: none;
}
.hero #hero-tag {
  background: #fff;
  color: #fb634c;
  font-weight: 700;
  font-size: 28px;
  border-radius: 7px;
  padding: 4px 13px;
}
.hero #hero-tag[hidden] {
  display: none;
}
main {
  padding-top: 32px;
  padding-bottom: 60px;
  min-height: 600px;
}
.section {
  margin-bottom: 52px;
}
h2 {
  margin: 0 0 28px;
  font-size: 26px;
  line-height: 36px;
  color: #263d62;
  display: flex;
  align-items: center;
  gap: 12px;
}
h2 img {
  width: 30px;
  height: 32px;
  object-fit: contain;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.section-heading h2 {
  margin: 0;
}
.tip {
  font-size: 12px;
  color: #ff6247;
  background: #fff0eb;
  border: 1px solid #ffd8cb;
  border-radius: 5px;
  padding: 6px 8px;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.field,
.tile {
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}
.field {
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 24px #dfe8f52b;
}
.field select,
.field input {
  border: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  color: #4b5c74;
  outline: none;
  font-size: 16px;
  min-width: 0;
}
.field select {
  appearance: none;
  padding-right: 32px;
  cursor: pointer;
}
.field:has(select):after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 22px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #adb8ce;
}
.field select:invalid,
.field input::placeholder {
  color: #8996a9;
}
.field:focus-within {
  border-color: #ee7b30;
}
.primary {
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(100deg, #ee7b30, #e88a48);
  color: white;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 5px 20px #28426d22;
  border: 1px solid #ee7b30;
}
.primary:hover {
  filter: brightness(1.04);
}
.search-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  top: 1px;
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  right: -5px;
  bottom: -2px;
}
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  font-size: 16px;
  transition:
    border-color 0.16s,
    color 0.16s,
    box-shadow 0.16s;
}
.tile:hover {
  color: var(--blue);
  border-color: #e4a77e;
  box-shadow: 0 4px 12px #447aff0c;
}
.region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}
.region-nav a {
  font-size: 15px;
  padding: 3px 4px;
}
.region-nav a:hover {
  color: var(--blue);
}
.province-row {
  display: grid;
  grid-template-columns: 64px repeat(5, minmax(0, 1fr)) 52px;
  gap: 16px;
  align-items: center;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  scroll-margin-top: 30px;
  font-size: 15px;
}
.province-row:first-of-type {
  border-radius: 8px 8px 0 0;
}
.province-row strong {
  color: #17253b;
}
.province-row a:hover {
  color: var(--blue);
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.text-link {
  color: var(--blue);
  font-size: 14px;
}
.breadcrumb {
  font-size: 14px;
  margin: -10px 0 24px;
  display: flex;
  gap: 10px;
  color: #687b96;
}
.breadcrumb a {
  color: #263c58;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 58px;
}
.stat {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 28px 40px;
  position: relative;
  overflow: hidden;
}
.stat:after {
  content: "";
  width: 100px;
  height: 100px;
  border-radius: 30px;
  position: absolute;
  right: -12px;
  bottom: -30px;
  background: linear-gradient(135deg, #deeaff, #fff);
  transform: rotate(-25deg);
}
.stat:nth-child(2):after {
  background: linear-gradient(135deg, #d3f3ff, #fff);
}
.stat:nth-child(3):after {
  background: linear-gradient(135deg, #ffe0d4, #fff);
}
.stat strong {
  display: block;
  font-size: 36px;
  line-height: 1.3;
  color: #28426d;
  position: relative;
  z-index: 1;
  margin-bottom: 9px;
}
.stat strong.long {
  font-size: 23px;
  max-width: 220px;
}
.stat span {
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.result-section {
  margin-top: 20px;
}
.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 16px;
  flex-wrap: wrap;
}
.result-top strong {
  font-size: 24px;
  color: var(--blue);
  margin: 0 6px;
}
.result-top .actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.result-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}
th {
  background: #f7f9fb;
  color: #60738e;
  font-weight: 400;
  height: 50px;
  padding: 10px 8px;
}
td {
  padding: 20px 10px;
  line-height: 1.8;
  text-align: center;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
tbody tr:hover {
  background: #fafcff;
}
td.department {
  text-align: left;
}
td.department small {
  display: block;
  color: #8995a7;
  margin-top: 5px;
}
.truncate {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}
.detail-link {
  color: var(--blue);
  display: block;
  margin: auto auto 4px;
}
.star {
  font-size: 22px;
  color: #a9b5c9;
}
.star.saved {
  color: #ffb143;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 14px;
}
.pagination button {
  min-width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 5px;
}
.pagination button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.pagination input {
  width: 58px;
  height: 34px;
  border: 1px solid #e4eaf3;
  border-radius: 5px;
  padding: 5px;
  text-align: center;
}
.empty,
.loading {
  padding: 64px 20px;
  text-align: center;
  color: #8f9db3;
  line-height: 2;
}
.loading:before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid #dfe8fa;
  border-top-color: var(--blue);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.error {
  padding: 24px;
  background: #fff2ee;
  color: #9c4b3b;
  border: 1px solid #ffe0d4;
  border-radius: 8px;
  line-height: 1.8;
}
.error button {
  color: var(--blue);
  margin-left: 16px;
}
.result-source {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #9aa6b8;
  margin-top: 14px;
  line-height: 1.8;
}
.result-source a {
  color: #7c94b7;
}
.tabs {
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 0 15px;
  margin-bottom: 20px;
}
.tabs button {
  padding: 8px 2px;
}
.tabs button.active {
  color: var(--blue);
  box-shadow: 0 2px var(--blue);
}
.department-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.department-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  line-height: 1.8;
}
.department-card:hover {
  border-color: #8dadfa;
}
.department-card small {
  display: block;
  color: #8696ad;
}
.exam-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exam-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 8px;
  line-height: 1.6;
}
.exam-item:hover {
  color: var(--blue);
  border-color: #abc3fb;
}
.exam-item span {
  font-size: 13px;
  color: var(--blue);
  white-space: nowrap;
}
.filter-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
  min-height: 20px;
}
.filter-actions button {
  color: #7c8aa0;
  padding: 0;
}
.filter-actions button:hover {
  color: var(--blue);
}
.education-btn {
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 0 20px;
  color: #8996a9;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.education-btn.has-value {
  color: #4b5c74;
}
.detail-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.detail-card h2 {
  display: block;
  font-size: 25px;
  margin-bottom: 12px;
}
.detail-meta {
  color: #8291a7;
  font-size: 14px;
  margin-bottom: 30px;
  line-height: 2;
}
.detail-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin: 20px 0 30px;
}
.detail-field {
  display: grid;
  grid-template-columns: 135px 1fr;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
}
.detail-field dt {
  padding: 16px;
  background: #f8fafc;
  color: #73839c;
  margin: 0;
}
.detail-field dd {
  padding: 16px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-field.wide {
  grid-column: 1/-1;
}
.notice {
  padding: 15px 18px;
  border-radius: 6px;
  background: #f1f6ff;
  color: #59749e;
  font-size: 13px;
  line-height: 1.9;
  margin: 20px 0;
}
.detail-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.detail-actions .primary {
  padding: 0 28px;
  display: flex;
  align-items: center;
  font-size: 16px;
}
.outline {
  padding: 12px 24px;
  border: 1px solid #d9e4f8;
  border-radius: 6px;
  color: var(--blue);
  background: white;
}
.data-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
}
.data-line a {
  color: var(--blue);
}
footer {
  background: #222;
  color: #a0a6b1;
  padding: 34px 0 28px;
  font-size: 12px;
  line-height: 1.9;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}
.footer-top strong {
  color: #ddd;
  font-size: 18px;
}
.footer-top div {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}
footer p {
  margin: 5px 0;
}
footer button {
  padding: 0;
}
#to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  width: 40px;
  height: 40px;
  color: var(--blue);
  box-shadow: 0 4px 18px #00000008;
}
dialog {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 90px #1b366444;
  width: min(720px, calc(100% - 32px));
  max-height: 85vh;
  padding: 36px;
  color: #243751;
}
dialog::backdrop {
  background: #162a4855;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 10px;
  color: #8896a9;
  font-size: 26px;
}
dialog h2 {
  font-size: 24px;
  margin: 0 0 20px;
}
dialog h3 {
  font-size: 16px;
  font-weight: 500;
}
dialog .check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
dialog .check-grid label {
  padding: 14px;
  background: #f6f8fc;
  border-radius: 6px;
  font-size: 14px;
}
dialog .primary {
  padding: 0 28px;
  font-size: 16px;
}
dialog .field {
  margin-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #263c59;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 35px #21395725;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
  font-size: 14px;
}
#toast.show {
  opacity: 1;
}
.favorite-list .exam-item {
  align-items: flex-start;
}
.favorite-list small {
  display: block;
  color: #91a0b4;
  margin-top: 8px;
}
.loading-bar {
  padding: 14px;
  color: #7d8ca4;
  font-size: 13px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1100px) {
  nav {
    gap: 20px;
    font-size: 15px;
  }
  .province-row {
    grid-template-columns: 60px repeat(3, 1fr);
  }
  .province-row a:nth-of-type(4),
  .province-row a:nth-of-type(5) {
    display: none;
  }
  .hero h1 {
    font-size: 38px;
  }
  .stat {
    padding: 24px;
  }
  .stat strong {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  header,
  header .header-inner {
    height: 58px;
  }
  header .header-inner,
  .container {
    width: calc(100% - 32px);
  }
  nav {
    display: none;
  }
  .hero {
    height: 150px;
    background-position: 60% center;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero #hero-tag {
    font-size: 20px;
  }
  main {
    padding-top: 24px;
  }
  .section {
    margin-bottom: 36px;
  }
  h2 {
    font-size: 21px;
    gap: 8px;
    margin-bottom: 20px;
  }
  .section-heading {
    margin-bottom: 22px;
    gap: 8px;
  }
  .tip {
    font-size: 11px;
  }
  .filter-grid,
  .grid,
  .grid.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .field input,
  .field select,
  .tile {
    font-size: 14px;
  }
  .field input,
  .field select {
    padding-left: 12px;
  }
  .education-btn {
    font-size: 14px;
    padding-left: 12px;
  }
  .primary {
    font-size: 16px;
  }
  .province-row {
    padding: 18px 14px;
    gap: 12px;
    grid-template-columns: 44px repeat(2, 1fr);
    font-size: 13px;
  }
  .province-row a:nth-of-type(3) {
    display: none;
  }
  .province-row a:last-child {
    display: none;
  }
  .region-nav {
    gap: 10px 16px;
    padding: 16px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    min-height: 110px;
    padding: 20px;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat strong.long {
    font-size: 18px;
  }
  .stat span {
    font-size: 12px;
  }
  .stats .stat:nth-child(3) {
    grid-column: 1/-1;
    min-height: 90px;
  }
  .stats .stat:nth-child(3) strong {
    max-width: none;
  }
  .department-grid {
    grid-template-columns: 1fr;
  }
  .result-table table {
    min-width: 1000px;
  }
  td {
    padding: 16px 8px;
  }
  .detail-card {
    padding: 20px;
  }
  .detail-card h2 {
    font-size: 22px;
  }
  .detail-fields {
    grid-template-columns: 1fr;
  }
  .detail-field {
    grid-template-columns: 100px 1fr;
  }
  .detail-field dt,
  .detail-field dd {
    padding: 12px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-top div {
    gap: 22px;
  }
  .exam-item {
    padding: 16px;
    font-size: 14px;
  }
  dialog {
    padding: 28px 20px;
  }
  dialog .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .result-top strong {
    font-size: 20px;
  }
  .result-top {
    font-size: 14px;
  }
  .breadcrumb {
    line-height: 1.8;
  }
  .hero.exam .hero h1 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

.field select.placeholder {
  color: #8996a9;
}
.field select option {
  color: #4b5c74;
}
@media (min-width: 1101px) {
  nav {
    margin-left: 80px;
    margin-right: auto;
  }
  h2 {
    margin-bottom: 22px;
  }
}

/* 优小途公考品牌与页面布局 */
:root {
  --navy: #28426d;
  --orange: #ee7b30;
  --blue: #28426d;
  --line: #e5ebf2;
  --muted: #8491a4;
  color: #334563;
  background: #f7f8fb;
}
body {
  line-height: 1.5;
}
a,
button {
  transition:
    color 0.16s,
    background 0.16s,
    border-color 0.16s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #f2ad7e;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 30;
  padding: 10px 20px;
  background: white;
}
.skip-link:focus {
  top: 10px;
}
header {
  height: 88px;
  border-bottom: 1px solid #e9edf3;
  background: #fff;
  position: relative;
  z-index: 5;
}
header .header-inner {
  height: 88px;
  gap: 26px;
}
.brand {
  gap: 16px;
}
.brand img {
  width: 208px;
  height: auto;
}
.brand span {
  font-size: 15px;
  line-height: 22px;
  color: #52637b;
  font-weight: 400;
  border-color: #dfe5ed;
  padding-left: 16px;
}
nav {
  gap: 28px;
  margin-left: auto;
  margin-right: 0;
  font-size: 15px;
  height: 100%;
  white-space: nowrap;
}
nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: #526078;
}
nav a.active {
  color: var(--navy);
  font-weight: 700;
}
nav a.active:after {
  content: "";
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  position: absolute;
  bottom: 16px;
  left: calc(50% - 10px);
  width: 20px;
}
.account {
  width: auto;
  padding: 0 16px;
  height: 40px;
  background: #edf2f8;
  color: var(--navy);
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.account span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  font-size: 11px;
  padding: 0 4px;
}
.account:hover {
  background: #e2eaf4;
}
.menu-toggle {
  display: none;
}
.hero,
.hero.exam {
  height: 310px;
  background: linear-gradient(105deg, #f0f4f9 0%, #f7f9fb 54%, #fff4e9 100%);
  border-bottom: 1px solid #e9edf3;
  background-image: linear-gradient(
    105deg,
    #f0f4f9 0%,
    #f7f9fb 54%,
    #fff4e9 100%
  );
}
.hero .hero-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 20px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 24px;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  color: #7c583e;
  margin-bottom: 18px;
}
.hero-eyebrow span {
  color: #ee7b30;
  padding: 0 6px;
}
.hero h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
}
.hero p {
  font-size: 15px;
  color: #78879a;
  margin: 16px 0 20px;
}
.hero-features {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: #6d7f96;
}
.hero-features span:before {
  content: "✓";
  color: var(--orange);
  margin-right: 6px;
}
.hero-art {
  width: 420px;
  height: 280px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}
.hero #hero-tag {
  background: transparent;
  color: #af5a24;
  padding: 0;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
}
.hero #hero-tag:not([hidden]) ~ h1 {
  font-size: 32px;
}
.hero:has(#hero-tag:not([hidden])) {
  height: 250px;
}
.hero:has(#hero-tag:not([hidden])) .hero-art {
  height: 220px;
  width: 350px;
}
.hero:has(#hero-tag:not([hidden])) .hero-eyebrow,
.hero:has(#hero-tag:not([hidden])) .hero-features {
  display: none;
}
.hero:has(#hero-tag:not([hidden])) .hero-copy {
  padding-bottom: 0;
}
main {
  padding-top: 30px;
  padding-bottom: 64px;
  outline: none;
}
body[data-page="home"] main {
  padding-top: 0;
}
.home-quick {
  position: relative;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  padding: 26px 30px 28px;
  box-shadow: 0 8px 32px #28426d05;
  margin-bottom: 28px;
}
body[data-page="home"] .home-quick {
  margin-top: -32px;
}
.section {
  margin-bottom: 38px;
}
.section-heading {
  margin-bottom: 22px;
  justify-content: space-between;
  gap: 14px;
}
h2 {
  font-size: 23px;
  line-height: 1.5;
  gap: 10px;
  margin-bottom: 22px;
  font-weight: 700;
  color: var(--navy);
}
h2 img {
  width: 32px;
  height: 32px;
}
.tip {
  font-size: 12px;
  color: #a76234;
  background: #fff6ee;
  border: 1px solid #f9e6d7;
  padding: 5px 10px;
  border-radius: 5px;
}
.filter-grid {
  gap: 14px;
}
.field {
  height: 49px;
  box-shadow: none;
  background: #fbfcfe;
  border: 1px solid #e2e8f1;
  border-radius: 7px;
}
.field:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ee7b3010;
}
.field input,
.field select {
  font-size: 14px;
  padding-left: 15px;
  color: #415575;
}
.field select.placeholder,
.field input::placeholder,
.education-btn {
  color: #8795a9;
}
.field select option {
  color: #415575;
}
.education-btn {
  font-size: 14px;
  padding-left: 15px;
}
.primary {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  box-shadow: 0 4px 10px #ee7b3017;
  font-size: 16px;
  font-weight: 600;
  border-radius: 7px;
  height: 49px;
}
.primary:hover {
  background: #dd6d27;
  border-color: #dd6d27;
  filter: none;
}
.primary.small {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
}
.outline {
  border-color: #d9e1ec;
  border-radius: 7px;
  font-size: 14px;
  color: var(--navy);
  background: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.outline:hover {
  background: #f2f5f9;
  border-color: #c6d3e5;
}
.text-link:hover {
  color: #cc6827;
}
.service-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 38px;
  padding: 0 6px;
  font-size: 13px;
  color: #7b889a;
}
.service-strip i {
  font-style: normal;
  font-size: 11px;
  background: #edf1f7;
  color: #8494ae;
  border: 1px solid #dde5ef;
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 7px;
}
.service-strip a {
  color: #af612b;
}
.grid {
  gap: 16px;
}
.tile {
  height: 57px;
  border-color: #e5eaf1;
  border-radius: 8px;
  color: #3f5372;
  background: #fff;
  font-size: 15px;
  box-shadow: 0 2px 4px #28426d02;
}
.tile:hover {
  background: #fff8f2;
  border-color: #f0c5a7;
  color: #ad5b24;
  box-shadow: none;
  transform: translateY(-1px);
}
body[data-page="home"] .section:nth-of-type(2) .grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
body[data-page="home"] .section:nth-of-type(2) .tile {
  height: 66px;
  font-weight: 500;
}
.grid.six .tile {
  font-size: 14px;
}
.region-nav {
  border-color: #e4eaf2;
  border-radius: 10px;
  gap: 12px 22px;
  padding: 22px;
}
.province-row {
  font-size: 14px;
  padding: 20px 24px;
  gap: 14px;
}
.province-row strong {
  color: var(--navy);
}
.province-row a:hover {
  color: #b95f25;
}
.province-list {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e5eaf2;
}
.province-row:last-child {
  border-bottom: 0;
}
.stats {
  gap: 16px;
  margin-bottom: 32px;
}
.stat {
  padding: 24px 30px;
  min-height: 116px;
}
.stat:after {
  background: #eaf0f7;
}
.stat:nth-child(2):after {
  background: #fff0e4;
}
.stat:nth-child(3):after {
  background: #eaf0f7;
}
.stat strong {
  font-size: 32px;
  color: var(--navy);
}
.stat span {
  font-size: 14px;
}
.stat strong.long {
  font-size: 20px;
}
.breadcrumb {
  margin: 0 0 24px;
  font-size: 13px;
}
.result-top {
  margin-top: 16px;
}
.result-top strong {
  color: #cf6927;
}
.result-table {
  border-radius: 10px;
  border-color: #e2e8f1;
}
.result-table th {
  background: #f3f6fa;
  color: #607390;
}
.result-table td {
  font-size: 13px;
}
.result-table .detail-link {
  font-size: 13px;
}
.result-source {
  color: #7e8b9e;
}
.result-source a {
  color: #6b7d97;
}
.pagination button.active {
  background: var(--navy);
  border-color: var(--navy);
}
.notice {
  background: #f1f5fa;
  color: #60728f;
  border: 1px solid #e4eaf2;
}
.compare-toggle {
  font-size: 11px;
  white-space: nowrap;
  display: block;
  margin: 4px auto 0;
  color: #7a899f;
  padding: 4px 0;
}
.compare-toggle.selected {
  color: #c86d2e;
}
.compare-toggle.outline {
  font-size: 13px;
  padding: 9px 14px;
  display: inline-flex;
  margin: 0;
}
.detail-card {
  border-color: #e4eaf2;
}
.detail-card h2 {
  color: var(--navy);
}
.detail-actions .primary {
  font-size: 14px;
}
.detail-actions a {
  white-space: normal;
}
.compare-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  background: white;
  box-shadow: 0 10px 45px #28426d25;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  padding: 12px 16px 12px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 360px;
}
.compare-dock[hidden] {
  display: none;
}
.compare-dock strong {
  font-size: 14px;
  margin-right: 12px;
  color: var(--navy);
}
.compare-dock span {
  font-size: 12px;
  color: #8793a7;
}
.compare-dock .primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  font-size: 13px;
  margin-left: auto;
}
.compare-dock > button {
  font-size: 22px;
  color: #a1acba;
}
.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.workspace-head h2 {
  margin-bottom: 8px;
}
.workspace-head p {
  margin: 0;
}
.workspace-head .actions {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
.exam-item {
  border-color: #e4eaf2;
  padding: 22px 24px;
  color: var(--navy);
  font-size: 15px;
}
.exam-item:hover {
  border-color: #cad7e7;
}
.saved-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.saved-info > span {
  display: block;
  margin-top: 4px;
}
.download-filters {
  display: grid;
  grid-template-columns: 180px 180px 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.download-item small {
  display: block;
  font-size: 12px;
  color: #8a96a8;
  margin-top: 7px;
}
.download-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.empty-card {
  background: white;
  border: 1px solid #e5eaf2;
  text-align: center;
  border-radius: 14px;
  padding: 50px 24px;
}
.empty-card > img {
  width: 76px;
  height: 76px;
  opacity: 0.85;
  margin-bottom: 8px;
}
.empty-card h2,
.empty-card h3 {
  display: block;
  color: var(--navy);
  font-size: 23px;
  margin: 12px 0;
}
.empty-card p {
  font-size: 14px;
  color: #8290a6;
  margin: 12px 0 24px;
}
.compare-table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid #e1e8f1;
  border-radius: 10px;
}
.compare-table {
  min-width: 650px;
  table-layout: fixed;
}
.compare-table th:first-child {
  width: 140px;
}
.compare-table thead th {
  padding: 24px 16px;
  text-align: left;
  font-weight: 600;
  line-height: 1.8;
  color: var(--navy);
  background: #edf2f8;
}
.compare-table th button {
  display: block;
  font-size: 12px;
  color: #a47657;
  margin-top: 10px;
  padding: 0;
}
.compare-table tbody th {
  padding: 18px 14px;
  text-align: left;
  background: #f8fafc;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.compare-table td {
  padding: 20px 16px;
  text-align: left;
  vertical-align: top;
  white-space: pre-line;
  border-left: 1px solid var(--line);
  font-size: 13px;
}
.info-page {
  background: white;
  border: 1px solid #e5ebf2;
  border-radius: 12px;
  padding: 36px 44px;
  max-width: 1000px;
  margin: auto;
}
.info-intro {
  padding: 6px 0 26px;
  border-bottom: 1px solid #e8edf3;
  margin-bottom: 30px;
}
.info-intro > span {
  font-size: 11px;
  letter-spacing: 2px;
  color: #c17b4a;
}
.info-intro h2 {
  margin: 12px 0;
  color: var(--navy);
  font-size: 28px;
}
.info-intro > p {
  margin: 0;
  color: #8793a4;
  font-size: 15px;
}
.guide-steps > section {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #edf1f6;
}
.step-number {
  color: #ce742f;
  background: #fff1e7;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.guide-steps h2 {
  font-size: 20px;
  margin: 4px 0 12px;
}
.guide-steps p,
.prose p,
.about-brand p,
.about-grid p {
  font-size: 14px;
  color: #6d7d94;
  line-height: 1.95;
  margin: 10px 0 14px;
}
.faq {
  margin-top: 40px;
}
.faq h2 {
  font-size: 21px;
}
.faq details {
  border-top: 1px solid #edf1f6;
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 15px;
  color: #3e5474;
}
.faq details p {
  font-size: 14px;
  line-height: 1.9;
  color: #7b889b;
  margin-bottom: 0;
}
.about-brand > img {
  width: 240px;
  height: auto;
  margin: 4px 0 14px;
}
.about-brand p {
  max-width: 780px;
  font-size: 16px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.about-grid section {
  background: #f7f9fc;
  border: 1px solid #ecf0f6;
  padding: 24px;
  border-radius: 10px;
}
.about-grid img {
  width: 38px;
}
.about-grid h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 18px 0 8px;
}
.about-grid p {
  margin: 0;
  font-size: 13px;
}
.about-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #fff4eb;
  border-radius: 10px;
  padding: 26px 28px;
}
.about-cta h2 {
  font-size: 21px;
  margin: 0 0 6px;
}
.about-cta p {
  font-size: 13px;
  color: #9c7d65;
  margin: 0;
}
.prose h2 {
  font-size: 20px;
  margin: 30px 0 12px;
}
.prose a {
  color: #b96b33;
}
.prose .outline {
  margin-top: 12px;
  color: var(--navy);
}
.technical-download {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
}
.technical-download summary {
  cursor: pointer;
}
.prose .notice {
  margin: 16px 0;
}
footer {
  padding: 44px 0 0;
  background: #edf1f6;
  color: #8190a5;
  border-top: 1px solid #e3e9f1;
}
.footer-top {
  align-items: flex-start;
  margin-bottom: 34px;
  gap: 50px;
}
.footer-brand {
  min-width: 250px;
  display: block !important;
}
.footer-brand img {
  width: 208px;
  height: auto;
}
.footer-brand p {
  font-size: 13px;
  margin-top: 16px;
}
.footer-top .footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 74px;
  font-size: 13px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-links strong {
  font-size: 14px;
  color: #3a5278;
  margin-bottom: 7px;
}
.footer-links a:hover {
  color: #b96b33;
}
.footer-bottom {
  border-top: 1px solid #dce3ec;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.footer-bottom #data-summary {
  font-size: 11px;
}
#to-top {
  border-color: #e0e6ee;
  bottom: 25px;
  right: 22px;
  color: var(--navy);
}
dialog {
  color: var(--navy);
  padding: 36px;
  max-width: 680px;
}
dialog h2 {
  font-size: 24px;
}
#toast {
  background: var(--navy);
  bottom: 90px;
}
.loading:before {
  border-top-color: var(--orange);
}
@media (max-width: 1200px) {
  .brand img {
    width: 180px;
  }
  .brand span {
    display: none;
  }
  nav {
    gap: 22px;
    margin-left: auto;
  }
  .header-inner {
    gap: 22px !important;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-art {
    width: 360px;
  }
  .hero-eyebrow {
    font-size: 12px;
  }
  .hero-features {
    gap: 18px;
  }
  .footer-top .footer-links {
    gap: 46px;
  }
}
@media (max-width: 960px) {
  nav {
    gap: 16px;
    font-size: 14px;
  }
  .brand img {
    width: 160px;
  }
  .hero-art {
    width: 300px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-features {
    gap: 12px;
    font-size: 11px;
  }
  .service-strip {
    font-size: 12px;
    gap: 12px;
  }
  .service-strip span:nth-child(3) {
    display: none;
  }
  .footer-top .footer-links {
    gap: 30px;
  }
  .footer-brand {
    min-width: 190px;
  }
  .footer-brand img {
    width: 180px;
  }
}
@media (max-width: 760px) {
  header,
  header .header-inner {
    height: 72px;
  }
  .header-inner {
    gap: 12px !important;
  }
  .brand img {
    width: 156px;
  }
  .account {
    margin-left: auto;
    padding: 0 10px;
    height: 35px;
    font-size: 12px;
  }
  .account span {
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    margin-left: 4px;
  }
  .menu-toggle {
    display: block;
    font-size: 21px;
    padding: 2px;
    color: var(--navy);
  }
  nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    height: auto;
    background: white;
    padding: 10px 20px 18px;
    box-shadow: 0 8px 14px #28426d10;
    margin: 0;
    gap: 0;
    z-index: 20;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  nav a {
    height: 45px;
    display: flex;
    justify-content: flex-start;
    font-size: 15px;
  }
  nav a.active:after {
    left: 0;
    bottom: 6px;
    width: 24px;
  }
  .hero,
  .hero.exam {
    height: 250px;
  }
  .hero .hero-inner {
    overflow: hidden;
    gap: 0;
  }
  .hero-copy {
    padding-bottom: 14px;
    max-width: 100%;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 27px;
    letter-spacing: -0.5px;
    max-width: 100%;
  }
  .hero p {
    font-size: 12px;
    margin: 15px 0;
    max-width: 290px;
    line-height: 1.8;
  }
  .hero-features {
    gap: 14px;
    font-size: 10px;
  }
  .hero-art {
    position: absolute;
    width: 260px;
    height: 210px;
    right: -130px;
    bottom: 4px;
    opacity: 0.13;
    pointer-events: none;
  }
  .hero #hero-tag:not([hidden]) ~ h1 {
    font-size: 27px;
    line-height: 1.5;
  }
  .hero:has(#hero-tag:not([hidden])) {
    height: 210px;
  }
  .hero:has(#hero-tag:not([hidden])) .hero-art {
    width: 250px;
    height: 180px;
  }
  .hero:has(#hero-tag:not([hidden])) .hero-copy {
    max-width: 100%;
  }
  .hero #hero-tag {
    font-size: 10px;
  }
  main {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .home-quick {
    padding: 20px 16px;
    border-radius: 11px;
    margin-bottom: 22px;
  }
  body[data-page="home"] .home-quick {
    margin-top: -22px;
  }
  .section-heading {
    margin-bottom: 18px;
    gap: 8px;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .tip {
    font-size: 10px;
    padding: 4px 8px;
  }
  .filter-grid {
    gap: 10px;
  }
  .field {
    height: 46px;
  }
  .field input,
  .field select,
  .education-btn {
    font-size: 12px;
    padding-left: 10px;
  }
  .field select {
    padding-right: 24px;
  }
  .field:has(select):after {
    right: 11px;
    top: 20px;
    border-top-width: 5px;
  }
  .primary {
    height: 46px;
    font-size: 14px;
  }
  .section {
    margin-bottom: 30px;
  }
  .service-strip {
    padding: 0;
    margin-bottom: 28px;
    font-size: 11px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .service-strip a {
    grid-column: 1/-1;
    font-size: 12px;
  }
  .service-strip i {
    width: 20px;
    height: 20px;
    font-size: 10px;
    margin-right: 5px;
  }
  h2 {
    font-size: 20px;
    margin-bottom: 18px;
  }
  h2 img {
    width: 28px;
    height: 28px;
  }
  .grid {
    gap: 10px;
  }
  body[data-page="home"] .section:nth-of-type(2) .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .section:nth-of-type(2) .tile {
    height: 52px;
    font-size: 14px;
  }
  .grid.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile {
    height: 50px;
    font-size: 13px;
  }
  .province-row {
    font-size: 12px;
    padding: 17px 12px;
    grid-template-columns: 38px repeat(2, 1fr);
    gap: 10px;
  }
  .region-nav {
    padding: 16px;
    gap: 8px 14px;
  }
  .region-nav a {
    font-size: 13px;
  }
  .stats {
    gap: 12px;
    margin-bottom: 26px;
  }
  .stat {
    padding: 20px;
    min-height: 110px;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat span {
    font-size: 12px;
  }
  .workspace-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
  }
  .workspace-head h2 {
    font-size: 20px;
  }
  .workspace-head .actions {
    gap: 10px;
  }
  .outline {
    padding: 10px 16px;
    font-size: 13px;
  }
  .primary.small {
    height: 38px;
    font-size: 12px;
    padding: 0 15px;
  }
  .favorite-list .exam-item {
    flex-direction: column;
    padding: 18px;
    gap: 16px;
  }
  .saved-info {
    font-size: 15px;
  }
  .favorite-list small {
    font-size: 12px;
    line-height: 1.8;
  }
  .saved-actions {
    align-self: stretch;
    justify-content: space-between;
  }
  .download-filters {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .download-filters .field:last-child {
    grid-column: 1/-1;
  }
  .download-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 16px;
  }
  .download-item small {
    font-size: 11px;
  }
  .download-actions {
    gap: 22px;
    width: 100%;
    justify-content: space-between;
  }
  .compare-dock {
    left: 16px;
    right: 16px;
    bottom: 15px;
    min-width: 0;
    transform: none;
    gap: 12px;
    padding: 10px 12px;
  }
  .compare-dock strong {
    display: block;
    font-size: 12px;
    margin: 0;
  }
  .compare-dock span {
    font-size: 10px;
  }
  .compare-dock .primary {
    height: 34px;
    font-size: 12px;
    padding: 0 13px;
  }
  .compare-dock > button {
    font-size: 20px;
  }
  .compare-table th:first-child {
    width: 110px;
  }
  .compare-table td {
    font-size: 12px;
  }
  .empty-card {
    padding: 40px 18px;
  }
  .empty-card h2,
  .empty-card h3 {
    font-size: 20px;
  }
  .empty-card p {
    font-size: 13px;
  }
  .info-page {
    padding: 24px 20px;
  }
  .info-intro {
    padding: 2px 0 20px;
    margin-bottom: 20px;
  }
  .info-intro h2 {
    font-size: 24px;
  }
  .info-intro > p {
    font-size: 13px;
    line-height: 1.8;
  }
  .info-intro > span {
    font-size: 9px;
  }
  .guide-steps > section {
    gap: 14px;
    padding: 20px 0;
  }
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-radius: 8px;
  }
  .guide-steps h2 {
    font-size: 17px;
    margin-top: 3px;
  }
  .guide-steps p,
  .prose p {
    font-size: 13px;
  }
  .faq h2 {
    font-size: 19px;
  }
  .faq summary {
    font-size: 14px;
  }
  .about-brand > img {
    width: 190px;
  }
  .about-brand p {
    font-size: 14px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
  }
  .about-grid section {
    padding: 20px;
  }
  .about-grid h3 {
    margin-top: 12px;
  }
  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .about-cta h2 {
    font-size: 18px;
  }
  .prose h2 {
    font-size: 18px;
  }
  .footer-top {
    gap: 28px;
  }
  .footer-top .footer-links {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    font-size: 11px;
  }
  .footer-links strong {
    font-size: 12px;
  }
  .footer-links > div {
    gap: 9px;
  }
  .footer-brand img {
    width: 180px;
  }
  .footer-brand p {
    font-size: 12px;
    margin-top: 12px;
  }
  footer {
    padding-top: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
    padding: 18px 0 24px;
  }
  .footer-bottom #data-summary {
    font-size: 10px;
    line-height: 1.8;
  }
  #to-top {
    right: 12px;
    bottom: 85px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  dialog {
    padding: 28px 20px;
  }
  .detail-actions {
    gap: 12px;
  }
  .detail-card {
    padding: 20px 16px;
  }
  .result-top .actions {
    gap: 10px;
  }
  .result-source {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile:hover {
    transform: none;
  }
}
