:root {
  --canvas: #f3f8fd;
  --surface: #ffffff;
  --surface-soft: #f7fafe;
  --ink: #18354d;
  --muted: #71869a;
  --line: #dce9f3;
  --line-strong: #c5dbea;
  --blue: #3f83bc;
  --blue-deep: #245f8d;
  --aqua: #6fa8d3;
  --mint: #eaf6f3;
  --sky: #edf6fd;
  --amber: #b66a17;
  --red: #a84747;
  --shadow: 0 18px 55px rgba(52, 104, 145, .09);
  --shadow-soft: 0 8px 26px rgba(52, 104, 145, .07);
  --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --utility: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% -10%, rgba(139, 193, 232, .18), transparent 31rem),
    linear-gradient(180deg, #fbfdff 0, var(--canvas) 34rem);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(63, 131, 188, .24);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1320px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue), var(--aqua));
  box-shadow: 0 8px 22px rgba(63, 131, 188, .23);
}
.brand__mark::before, .brand__mark::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
}
.brand__mark::before { width: 26px; height: 26px; }
.brand__mark::after { width: 13px; height: 13px; }
.brand__mark i { width: 5px; height: 5px; border-radius: 50%; background: white; box-shadow: 0 0 0 4px rgba(255,255,255,.16); }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__text strong { font-size: 17px; letter-spacing: .02em; }
.brand__text small { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.edition { display: flex; align-items: baseline; gap: 8px; margin-right: 8px; color: var(--muted); font-size: 11px; }
.edition strong { color: var(--ink); font-family: var(--utility); font-size: 11px; font-weight: 600; }
.source-library-link, .source-button, .account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--blue-deep);
  background: rgba(255,255,255,.72);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.source-library-link:hover, .source-button:hover, .account-button:hover { border-color: var(--blue); background: white; transform: translateY(-1px); }
.source-library-link[hidden] { display: none; }
.access-badge { padding: 5px 9px; border-radius: 999px; color: var(--blue-deep); background: var(--sky); font-size: 10px; font-weight: 700; }

main { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 64px; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 282px;
  overflow: hidden;
  border: 1px solid rgba(196, 222, 240, .95);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255,255,255,.98) 0%, rgba(244,249,254,.97) 56%, rgba(230,243,252,.95) 100%);
  box-shadow: var(--shadow);
}
.hero__copy { position: relative; z-index: 2; padding: clamp(32px, 4.2vw, 52px); }
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 19px; }
.hero__eyebrow span {
  padding: 5px 9px;
  border: 1px solid rgba(63, 131, 188, .22);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255,255,255,.65);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
h1 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4.4vw, 56px); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; }
h1 em { color: var(--blue); font-style: normal; }
.hero__lede { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #657f94; font-size: 11px; }
.hero__note i { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 5px rgba(130,185,226,.14); }
.coverage-radar { position: relative; align-self: stretch; min-height: 282px; }
.coverage-radar__ring, .coverage-radar__sweep { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.coverage-radar__ring { border: 1px solid rgba(63,131,188,.2); }
.coverage-radar__ring--one { width: 120px; height: 120px; }
.coverage-radar__ring--two { width: 220px; height: 220px; }
.coverage-radar__ring--three { width: 286px; height: 286px; }
.coverage-radar__sweep { width: 220px; height: 220px; background: conic-gradient(from 315deg, rgba(63,131,188,.23), transparent 20%, transparent 100%); }
.coverage-radar::before, .coverage-radar::after { position: absolute; z-index: 1; content: ""; background: rgba(63,131,188,.16); }
.coverage-radar::before { top: 50%; left: 12%; width: 76%; height: 1px; }
.coverage-radar::after { top: 12%; left: 50%; width: 1px; height: 76%; }
.coverage-radar strong, .coverage-radar small { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); }
.coverage-radar strong { top: calc(50% - 22px); font-size: 25px; letter-spacing: .12em; }
.coverage-radar small { top: calc(50% + 16px); color: var(--blue); font-family: var(--utility); font-size: 8px; letter-spacing: .16em; }
.signal-strip { position: absolute; right: 0; bottom: 0; left: 0; display: flex; height: 5px; gap: 2px; overflow: hidden; }
.signal-strip span { min-width: 4px; background: var(--blue); }
.signal-strip span:nth-child(2n) { background: var(--aqua); }
.signal-strip span:nth-child(3n) { background: #96c1df; }

.control-deck {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns:
    minmax(260px, 2.45fr)
    repeat(4, minmax(126px, 1fr))
    minmax(88px, .62fr);
  gap: 12px;
  margin-top: 18px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(207, 224, 237, .95);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.control-deck__head { display: flex; justify-content: space-between; align-items: end; grid-column: 1 / -1; padding-bottom: 4px; }
.control-deck__head span, .section-label { color: var(--blue); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.control-deck__head h2 { margin: 4px 0 0; font-size: 19px; }
.control-deck__head p { margin: 0; color: var(--muted); font-size: 11px; }
.search-field,
.filter-field--province,
.filter-field--city,
.filter-field--category,
.filter-field--deadline,
.reset-button { grid-column: auto; min-width: 0; }
.search-field label, .filter-field label { display: block; margin: 0 0 7px; color: #617b91; font-size: 11px; font-weight: 650; }
.search-field__input, .field-control { position: relative; display: flex; align-items: center; }
.field-icon { position: absolute; z-index: 1; left: 13px; top: 50%; display: grid; width: 17px; height: 17px; place-items: center; color: #5e95be; pointer-events: none; transform: translateY(-50%); }
.field-icon svg, .reset-button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
input, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface-soft);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input:hover, select:hover { border-color: #aac9df; background: white; }
input:focus, select:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(63,131,188,.11); outline: none; }
input { padding: 0 44px; }
select { padding: 0 34px 0 40px; }
.filter-field .field-control input { padding: 0 13px 0 40px; }
input:disabled { cursor: not-allowed; opacity: .65; }
kbd { position: absolute; right: 12px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: white; font-family: var(--utility); font-size: 10px; }
.reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  justify-self: end;
  width: 88px;
  align-self: end;
  min-height: 48px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--blue-deep);
  background: var(--sky);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.reset-button svg { width: 14px; height: 14px; flex: 0 0 auto; }
.reset-button:hover { color: white; border-color: var(--blue); background: var(--blue); }

.dashboard { margin-top: 14px; }
.results-panel { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-soft); }
.results-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 2px 12px; }
.results-panel__head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.035em; }
.results-panel__head h2 span { color: var(--blue); font-family: var(--utility); font-weight: 650; }
.section-label { margin: 0; }
.results-panel .section-label { display: none; }
.results-panel__hint { max-width: 340px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: right; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; min-height: 0; padding: 0; }
.active-filters:not(:empty) { padding: 0 2px 12px; }
.filter-pill { padding: 6px 10px; border-radius: 999px; color: var(--blue-deep); background: var(--sky); font-size: 10px; }
.job-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.job-table { width: 100%; min-width: 1360px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.job-table .col-entry { width: 96px; }
.job-table .col-title { width: 300px; }
.job-table .col-category { width: 126px; }
.job-table .col-count { width: 68px; }
.job-table .col-province { width: 92px; }
.job-table .col-city { width: 124px; }
.job-table .col-education { width: 108px; }
.job-table .col-major { width: 180px; }
.job-table .col-deadline { width: 146px; }
.job-table .col-source { width: 64px; }
.job-table th { padding: 14px 13px; border-bottom: 1px solid var(--line); color: #587185; background: #f0f6fb; font-size: 13px; font-weight: 700; text-align: left; white-space: nowrap; }
.job-table td { padding: 14px 13px; border-bottom: 1px solid #e8f0f6; color: #435d72; background: white; font-size: 14px; line-height: 1.5; vertical-align: middle; }
.job-table tbody tr:last-child td { border-bottom: 0; }
.job-table tbody tr:hover td { background: #f6faff; }
.cell-date { color: #687f92 !important; font-family: var(--utility); font-size: 13px !important; white-space: nowrap; }
.cell-title strong { display: block; overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.cell-center { text-align: center; }
.cell-clamp { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tag { display: inline-block; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: var(--surface-soft); font-size: 12px; white-space: nowrap; }
.tag--category { color: var(--blue-deep); border-color: rgba(63,131,188,.28); background: var(--sky); }
.tag--public { color: #996018; border-color: #efd1a5; background: #fff8e9; }
.tag--education { color: #137369; border-color: #afe0d8; background: #ebfaf6; }
.tag--state-owned { color: #376a9f; border-color: #c0d5ea; background: #eef6fd; }
.tag--health { color: #a54b62; border-color: #efc0ca; background: #fff2f5; }
.tag--university { color: #70569b; border-color: #d6caeb; background: #f7f3fc; }
.tag--research { color: #477355; border-color: #c1dec8; background: #f0f8f1; }
.deadline-value { display: block; font-family: var(--utility); font-size: 12px; line-height: 1.5; }
.deadline-state { display: inline-block; margin-top: 4px; padding: 3px 7px; border-radius: 5px; color: #28776d; background: var(--mint); font-size: 12px; }
.deadline-state.is-unknown { color: var(--amber); background: #fff4e5; }
.deadline-state.is-expired { color: var(--red); background: #fff0f0; }
.table-link { padding: 5px 0; color: var(--blue-deep); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.table-link:hover { color: var(--blue); text-decoration: underline; }
.table-link--button { border: 0; background: transparent; cursor: pointer; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 24px 0 2px; }
.pagination button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--blue-deep); background: white; cursor: pointer; }
.pagination button:hover:not(:disabled) { color: white; border-color: var(--blue); background: var(--blue); }
.pagination button:disabled { cursor: not-allowed; opacity: .4; }
.pagination span { font-family: var(--utility); font-size: 11px; }
.page-jump-control, .page-size-control { display: inline-flex; align-items: center; gap: 7px; margin-left: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.page-jump-control input { width: 66px; min-height: 40px; padding: 0 8px; font-family: var(--utility); font-size: 10px; text-align: center; }
.page-size-control select { width: 80px; min-height: 40px; padding: 0 8px; font-family: var(--utility); font-size: 10px; }
.empty-state { padding: 70px 20px; text-align: center; background: var(--surface); }
.empty-state strong { font-size: 23px; }
.empty-state p { color: var(--muted); }

.job-dialog { width: min(720px, calc(100vw - 28px)); max-height: 86vh; padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 22px; color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px rgba(8,34,48,.25); }
.job-dialog::backdrop { background: rgba(22, 48, 62, .42); backdrop-filter: blur(5px); }
.job-dialog__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 13px 17px; color: white; background: var(--ink); font-size: 11px; }
.job-dialog__bar button { width: 32px; height: 32px; border: 0; color: white; background: transparent; cursor: pointer; font-size: 24px; }
.dialog-body { padding: 28px; }
.dialog-body h2 { margin: 0; font-size: 28px; line-height: 1.35; }
.dialog-body__id { margin-bottom: 10px; color: var(--blue); font-family: var(--utility); font-size: 10px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.detail-grid div { padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-grid div:nth-child(2n) { border-right: 0; }
.detail-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.detail-grid dt { margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.detail-grid dd { margin: 0; font-size: 13px; line-height: 1.6; }
.major-block { padding: 17px; border-radius: 12px; background: var(--surface-soft); }
.major-block span { color: var(--muted); font-size: 10px; }
.major-block p { margin: 7px 0 0; line-height: 1.7; }
.dialog-source { display: inline-flex; margin-top: 20px; padding: 12px 16px; border-radius: 10px; color: white; background: var(--blue); text-decoration: none; }

.account-dialog { width: min(480px, calc(100vw - 28px)); max-height: 88vh; padding: 0; overflow: hidden auto; border: 1px solid var(--line-strong); border-radius: 22px; color: var(--ink); background: white; box-shadow: 0 30px 100px rgba(8,34,48,.25); }
.account-dialog::backdrop { background: rgba(22, 48, 62, .42); backdrop-filter: blur(5px); }
.account-dialog__body { padding: 26px; }
.account-kicker { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; padding: 4px; border-radius: 12px; background: var(--surface-soft); }
.account-tabs button { min-height: 40px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 700; }
.account-tabs button.is-active { color: var(--blue-deep); background: white; box-shadow: var(--shadow-soft); }
.account-form { display: grid; gap: 15px; }
.account-form[hidden], #guestAccountView[hidden], #memberAccountView[hidden] { display: none; }
.account-form label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.account-form input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); background: white; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.code-row button, .account-submit, .account-logout { min-height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-weight: 700; }
.code-row button { color: var(--blue-deep); background: var(--sky); }
.account-submit { border-color: var(--blue); color: white; background: var(--blue); }
.account-form .account-consent { display: flex; grid-template-columns: none; align-items: center; gap: 7px; margin: -4px 0 0; color: var(--muted); font-size: 10px; }
.account-form .account-consent input { width: 15px; min-height: 15px; margin: 0; }
.account-message { min-height: 20px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.account-message[data-kind="error"] { color: var(--red); }
.account-message[data-kind="success"] { color: #28745f; }
.account-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--blue-deep); background: var(--sky); font-size: 10px; font-weight: 700; }
#memberAccountView h2 { margin: 13px 0 7px; font-size: 21px; overflow-wrap: anywhere; }
#memberAccountView p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.account-logout { color: var(--red); background: white; }
.redemption-form { display: grid; gap: 7px; margin: 0 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.redemption-form label { color: var(--muted); font-size: 11px; font-weight: 700; }
.redemption-form span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.redemption-form input { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 9px; }
.redemption-form button { padding: 0 14px; border: 0; border-radius: 9px; color: white; background: var(--blue); cursor: pointer; font-weight: 700; }
.account-section { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.account-section summary { padding: 13px 14px; cursor: pointer; color: var(--blue-deep); font-size: 12px; font-weight: 700; }
.account-form--compact { padding: 0 14px 14px; }
.session-list { display: grid; gap: 8px; padding: 0 12px 12px; color: var(--muted); font-size: 11px; }
.session-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border-radius: 9px; background: var(--surface-soft); }
.session-item span, .session-item strong, .session-item small { display: block; min-width: 0; }
.session-item small { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-item button { border: 0; color: var(--red); background: transparent; cursor: pointer; font-size: 11px; }
.control-deck :disabled { cursor: not-allowed; opacity: .58; }

.source-dialog { width: min(860px, calc(100vw - 28px)); }
.source-dialog__body { padding: 23px 27px 30px; }
.source-overview > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.source-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 16px; gap: 10px; align-items: center; width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; cursor: pointer; font: inherit; text-align: left; }
.source-item:hover { border-color: #b9d6e0; background: var(--surface-soft); }
.source-item__index { color: var(--muted); font-family: var(--utility); font-size: 9px; }
.source-item__main { min-width: 0; }
.source-item strong, .source-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-item strong { font-size: 12px; }
.source-item small { margin-top: 4px; color: var(--muted); font-family: var(--utility); font-size: 9px; }
.source-item__count { color: var(--blue); font-family: var(--utility); font-size: 9px; white-space: nowrap; }
.source-item__arrow { color: var(--blue); font-size: 13px; }
.source-detail[hidden], .source-overview[hidden] { display: none; }
.source-back { padding: 8px 0; border: 0; color: var(--blue); background: transparent; cursor: pointer; font-weight: 700; }
.source-back:hover { text-decoration: underline; }
.source-detail__heading { margin: 12px 0 20px; padding: 18px 20px; border-radius: 13px; background: var(--surface-soft); }
.source-detail__heading > span { color: var(--muted); font-family: var(--utility); font-size: 9px; letter-spacing: .08em; }
.source-detail__heading h2 { margin: 6px 0 4px; font-size: 26px; }
.source-detail__heading p { margin: 0; color: var(--muted); font-size: 12px; }
.source-url-list { border-top: 1px solid var(--line); }
.source-url-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) 88px 18px; gap: 12px; align-items: start; padding: 15px 10px; border-bottom: 1px solid var(--line); color: var(--ink); background: white; text-decoration: none; }
.source-url-item:hover { background: var(--surface-soft); }
.source-url-item__index, .source-url-item time { color: var(--muted); font-family: var(--utility); font-size: 9px; }
.source-url-item__content { min-width: 0; }
.source-url-item__content strong { display: block; margin-bottom: 6px; font-size: 13px; line-height: 1.5; }
.source-url-item__content span { display: block; color: var(--blue); font-family: var(--utility); font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; word-break: break-word; }
.source-url-item > span:last-child { color: var(--blue); }

.job-loading, .job-load-error { height: 150px; color: var(--muted) !important; text-align: center !important; }
.job-loading span { display: inline-block; width: 12px; height: 12px; margin-right: 10px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; vertical-align: -2px; animation: loading-spin .7s linear infinite; }
.job-load-error { color: var(--red) !important; }

footer { display: flex; justify-content: space-between; width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 25px 4px 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

@keyframes loading-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .control-deck { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr) 250px; }
  .coverage-radar__ring--three { width: 280px; height: 280px; }
  .search-field { grid-column: 1 / -1; }
  .filter-field--province, .filter-field--city, .filter-field--category, .filter-field--deadline, .reset-button { grid-column: auto; }
}

@media (max-width: 700px) {
  .site-header { width: min(100% - 28px, 1320px); min-height: 72px; }
  .brand__mark { width: 39px; height: 39px; border-radius: 12px; }
  .brand__text small, .edition, .source-library-link, .access-badge { display: none; }
  .source-button { min-height: 38px; padding: 0 12px; }
  main, footer { width: min(100% - 24px, 1320px); }
  .hero { grid-template-columns: 1fr; min-height: 410px; }
  .hero__copy { padding: 32px 26px; }
  h1 { font-size: clamp(35px, 11vw, 48px); }
  .hero__lede { font-size: 14px; }
  .coverage-radar { position: absolute; right: -72px; bottom: -126px; width: 300px; min-height: 300px; opacity: .75; }
  .control-deck { position: static; gap: 11px; padding: 18px; border-radius: 18px; }
  .control-deck__head { align-items: start; }
  .control-deck__head p { display: none; }
  .search-field, .filter-field--province, .filter-field--city, .filter-field--category, .filter-field--deadline, .reset-button { grid-column: 1 / -1; }
  .reset-button { justify-self: stretch; width: 100%; }
  .results-panel { padding: 12px; border-radius: 17px; }
  .results-panel__head { align-items: start; padding-right: 6px; padding-left: 6px; }
  .results-panel__hint { display: none; }
  .job-table { min-width: 1360px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid div, .detail-grid div:nth-child(2n), .detail-grid div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-grid div:last-child { border-bottom: 0; }
  .source-dialog__body { padding: 18px; }
  .source-list { grid-template-columns: 1fr; }
  .source-url-item { grid-template-columns: 28px minmax(0, 1fr) 18px; }
  .source-url-item time { grid-column: 2; grid-row: 2; }
  .source-url-item > span:last-child { grid-column: 3; grid-row: 1; }
  footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
