:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #f2f2f4;
  --surface-hover: #fafafa;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: #e5e5e7;
  --line-strong: #d2d2d7;
  --accent: #0a7f72;
  --accent-strong: #00695f;
  --accent-soft: #edf7f5;
  --accent-line: #cce8e3;
  --danger: #d70015;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.045);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.09);
  --font-sans: "SF Pro Text", "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 118, 110, 0.055), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(56, 125, 164, 0.045), transparent 28rem),
    var(--bg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.view {
  min-height: 100vh;
}

.is-hidden {
  display: none !important;
}

.watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: url("/watermark.svg");
  background-repeat: repeat;
  background-size: 340px 220px;
}

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

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Login */

.login-view {
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.login-card {
  width: min(510px, 100%);
  padding: 32px 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #12877a, #087267);
  box-shadow: 0 8px 20px rgba(10, 127, 114, 0.20);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark.small {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 13px;
}

.brand-name {
  margin: 1px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

h1 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 36px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.login-copy {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.login-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.login-facts span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fbfcfc;
  font-size: 12px;
}

.login-facts strong {
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  height: 52px;
  padding: 0 70px 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.password-field input:focus,
.search-bar input:focus,
.search-bar select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.10);
}

.text-button {
  position: absolute;
  top: 50%;
  right: 10px;
  padding: 5px 8px;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  transform: translateY(-50%);
}

.form-error {
  min-height: 22px;
  margin: 7px 0 3px;
  color: var(--danger);
  font-size: 12px;
}

.primary-button,
.secondary-button,
.ghost-button {
  border-radius: 12px;
  font-weight: 650;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(10, 127, 114, 0.16);
}

.primary-button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.login-form .primary-button {
  width: 100%;
  height: 52px;
  margin-top: 2px;
}

.login-footnote {
  margin: 18px 0 0;
  color: #89979c;
  font-size: 11px;
  text-align: center;
}

/* Header and search */

.search-view {
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(229, 229, 231, 0.9);
  background: rgba(245, 245, 247, 0.88);
  backdrop-filter: blur(16px) saturate(150%);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.topbar-copy {
  display: grid;
  gap: 0;
}

.topbar-copy .brand-name {
  font-size: 13px;
}

.topbar-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.data-count {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.download-feature {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  color: #b54708;
  background: #fff4ec;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ghost-button {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.ghost-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: #fff;
}

.search-panel {
  width: min(840px, 100%);
  margin: 0 auto 20px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

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

.search-heading h1 {
  margin: 3px 0 0;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
}

.search-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
}

.search-bar input,
.search-bar select {
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-bar input {
  min-width: 0;
  padding: 0 14px;
}

.search-bar select {
  padding: 0 34px 0 12px;
}

.search-button {
  height: 46px;
  padding: 0 18px;
}

.search-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.search-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.link-button {
  padding: 3px 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
}

.link-button:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Results */

.results-section {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.results-heading {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
  padding: 0 2px;
}

.results-heading h2 {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.results-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.results-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.results-table-head,
.result-row {
  display: grid;
  grid-template-columns: 112px minmax(250px, 2fr) minmax(190px, 1fr) 108px;
  gap: 12px;
  align-items: center;
}

.results-table-head {
  min-height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: #86868b;
  background: #fbfbfd;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.results-table-head span:last-child {
  text-align: center;
}

.results-list:empty {
  display: none;
}

.result-row {
  min-height: 54px;
  padding: 8px 14px;
  background: #fff;
  transition: background 140ms ease;
}

.result-row + .result-row {
  border-top: 1px solid #f0f0f2;
}

.result-row:hover {
  background: var(--surface-hover);
}

.cell-code {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cell-name {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cell-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.region-pill {
  min-width: 0;
  max-width: 220px;
  overflow: hidden;
  padding: 3px 8px;
  border: 0;
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 10.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.download-link {
  display: inline-flex;
  width: 92px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 1px solid #ff6a00;
  border-radius: 10px;
  color: #fff;
  background: #ff6a00;
  box-shadow: 0 4px 11px rgba(255, 106, 0, 0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.download-link:hover {
  border-color: #e85d00;
  background: #e85d00;
  box-shadow: 0 7px 18px rgba(255, 106, 0, 0.30);
  transform: translateY(-1px);
}

.download-link.is-busy {
  cursor: progress;
  opacity: 0.68;
  pointer-events: none;
}
.download-link:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.26);
  outline-offset: 2px;
}


.loading-state,
.empty-state {
  min-height: 140px;
  color: var(--muted);
  background: #fff;
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 13px;
}

.empty-state {
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 30px;
  text-align: center;
}

.empty-state strong {
  color: var(--ink-soft);
  font-size: 15px;
}

.empty-state span {
  font-size: 12px;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid #d2e3e0;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.secondary-button {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: #fff;
  font-size: 13px;
}

.secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.page-footer {
  margin-top: 22px;
  padding: 12px 2px 0;
  border-top: 1px solid rgba(207, 218, 216, 0.75);
  color: #849197;
  font-size: 11px;
}

.page-footer p {
  margin: 3px 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 28, 0.42);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(460px, 100%);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.modal-card h2 {
  margin: 5px 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.payment-file-name {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.payment-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 15px;
}

.payment-price strong {
  color: #d65300;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.payment-price span {
  color: var(--muted);
  font-size: 12px;
}

.payment-description {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.payment-disclaimer {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #7c5a27;
  background: #fff8eb;
  font-size: 11px;
  line-height: 1.65;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modal-actions .secondary-button,
.modal-actions .primary-button {
  min-width: 96px;
  min-height: 40px;
}

.payment-button {
  min-width: 126px !important;
}

.disclaimer {
  width: min(1040px, 100%);
  margin: 22px auto 0;
  color: #74747a;
  font-size: 12px;
  line-height: 1.75;
}
.download-status {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 130;
  width: min(720px, calc(100vw - 32px));
  padding: 19px 20px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

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

.download-status-copy {
  min-width: 0;
}

.download-status-label {
  margin: 0 0 2px;
  color: #b54708;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.download-status-name {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-percent {
  margin-left: auto;
  color: #e85d00;
  font-size: 26px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.download-status-close {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 17px;
  line-height: 1;
}

.download-status-close:hover {
  color: var(--ink);
  background: #ececef;
}

.download-progress {
  height: 10px;
  margin: 16px 0 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #efeff1;
}

.download-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff922e, #ff6a00);
  transition: width 220ms ease;
}

.download-status-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.download-status-meta span:nth-child(2) {
  margin-left: auto;
}

.download-status.is-complete .download-status-label {
  color: var(--accent-strong);
}

.download-status.is-complete .download-progress-bar {
  background: var(--accent);
}

.download-status.is-error .download-status-label {
  color: var(--danger);
}

.download-status.is-error .download-progress-bar {
  width: 100% !important;
  background: var(--danger);
}

.download-status.is-indeterminate .download-progress-bar {
  width: 34% !important;
  animation: download-sweep 1.2s ease-in-out infinite;
}

@keyframes download-sweep {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(310%);
  }
}
@media (max-width: 920px) {
  .search-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .search-heading > p {
    max-width: none;
    text-align: left;
  }


  .results-table-head {
    display: none;
  }

  .results-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .result-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "code action"
      "name name"
      "meta meta";
    gap: 6px 12px;
    min-height: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025);
  }

  .result-row + .result-row {
    border-top: 1px solid var(--line);
  }

  .cell-code {
    grid-area: code;
  }

  .cell-name {
    grid-area: name;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cell-meta {
    grid-area: meta;
    padding-top: 2px;
  }

  .download-link {
    grid-area: action;
    width: 92px;
  }

  .loading-state,
  .empty-state {
    border: 1px solid var(--line);
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .download-status {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: auto;
    width: auto;
    transform: none;
  }
  .shell {
    width: min(100% - 24px, 1240px);
  }

  .login-view {
    padding: 24px 0;
  }

  .login-card {
    padding: 28px 22px 24px;
    border-radius: 20px;
  }

  .login-brand {
    margin-bottom: 24px;
  }

  .topbar {
    position: static;
    align-items: flex-start;
  }

  .data-count {
    display: none;
  }

  .search-panel {
    padding: 10px;
    border-radius: 16px;
  }


  .search-foot {
    align-items: flex-start;
  }

  .search-foot p {
    max-width: 260px;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .region-pill {
    max-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* High-fidelity clean tool theme */
:root {
  --bg: #f3f7f8;
  --surface: #ffffff;
  --surface-soft: #f2f6f7;
  --surface-hover: #f7fbfa;
  --ink: #102b31;
  --ink-soft: #38535a;
  --muted: #6b7f86;
  --line: #dfe8ea;
  --line-strong: #cbd9dd;
  --accent: #0b6e69;
  --accent-strong: #075b57;
  --accent-soft: #e8f4f2;
  --accent-line: #c6e2de;
  --danger: #c62828;
  --shadow-soft: 0 1px 2px rgba(16, 43, 49, 0.03), 0 10px 28px rgba(16, 43, 49, 0.06);
  --shadow-card: 0 24px 70px rgba(16, 43, 49, 0.14);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(11, 110, 105, 0.045), transparent 28rem),
    radial-gradient(circle at 92% 5%, rgba(30, 107, 150, 0.035), transparent 26rem),
    var(--bg);
}

.topbar {
  padding: 11px 0;
  margin-bottom: 14px;
  background: rgba(243, 247, 248, 0.90);
  border-bottom-color: rgba(207, 220, 223, 0.9);
}

.brand-mark.small {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 14px;
  background: linear-gradient(180deg, #11827b, #0a625d);
  box-shadow: 0 7px 18px rgba(11, 110, 105, 0.20);
}

.topbar-copy .brand-name {
  font-size: 14px;
  font-weight: 700;
}

.topbar-title {
  color: var(--muted);
  font-size: 11px;
}

.topbar-actions {
  gap: 10px;
}

.pricing-pill {
  padding: 5px 9px;
  border: 1px solid #ffd7bd;
  border-radius: 999px;
  color: #c45100;
  background: #fff4ec;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.data-count {
  color: var(--muted);
  font-size: 11px;
}

.search-panel {
  width: min(920px, 100%);
  margin: 0 auto 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.search-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1px 5px 11px;
}

.search-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.search-caption {
  color: var(--muted);
  font-size: 11px;
}

.search-bar {
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 8px;
}

.search-bar input {
  height: 48px;
  padding: 0 15px;
  border-color: var(--line-strong);
  border-radius: 12px;
  background: #fbfcfc;
  font-size: 14px;
}

.search-bar input::placeholder {
  color: #86979c;
}

.search-button {
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(11, 110, 105, 0.16);
}

.results-section {
  width: min(1100px, 100%);
}

.results-heading {
  margin-bottom: 8px;
}

.results-count {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.results-table {
  border-color: var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow-soft);
}

.results-table-head {
  color: #7d8d92;
  background: #fbfcfd;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cell-code {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 650;
}

.cell-name {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.region-pill {
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 10.5px;
  font-weight: 650;
}

.download-link {
  width: 104px;
  min-height: 34px;
  border-radius: 10px;
  background: #ed6500;
  box-shadow: 0 4px 12px rgba(237, 101, 0, 0.22);
  font-size: 12px;
  font-weight: 750;
}

.download-link:hover {
  background: #d95d00;
  box-shadow: 0 6px 16px rgba(237, 101, 0, 0.30);
}

.modal {
  background: rgba(16, 32, 37, 0.44);
}

.modal-card {
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.modal-card h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}

.payment-file-name {
  color: var(--ink-soft);
}

.payment-price strong {
  color: #d65300;
  font-weight: 750;
}

.payment-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.payment-trust span {
  padding: 4px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 650;
}

.payment-disclaimer {
  color: #755b35;
  background: #fff9f0;
  font-size: 10.5px;
}

.payment-button {
  background: #ed6500;
  border-color: #ed6500;
  box-shadow: 0 5px 14px rgba(237, 101, 0, 0.24);
}

.payment-button:hover {
  background: #d95d00;
  border-color: #d95d00;
}

.disclaimer {
  color: #708288;
  font-size: 11px;
  line-height: 1.7;
}

.download-status {
  border-color: #d7e3e5;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 24px 70px rgba(16, 43, 49, 0.22);
}

.download-status-label {
  color: #c45100;
}

.download-percent {
  color: #d95d00;
}

.download-progress {
  background: #edf1f2;
}

.download-progress-bar {
  background: linear-gradient(90deg, #ff922e, #ed6500);
}

@media (max-width: 640px) {
  .search-panel {
    padding: 10px;
  }

  .search-meta-row {
    padding-bottom: 9px;
  }

  .search-caption {
    display: none;
  }

  .pricing-pill {
    font-size: 10px;
  }

  .download-link {
    width: 92px;
  }

  .disclaimer {
    font-size: 11px;
  }
}
@media (max-width: 920px) {
  .results-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}
/* Final clean-tool refinements */
.search-view {
  padding-top: 22px;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.topbar .data-count {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.search-panel {
  margin: 38px auto 20px;
  padding: 16px;
}

.search-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 1px 6px 15px;
}

.search-kicker {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.search-intro h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.search-intro > p {
  max-width: 280px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 11.5px;
  text-align: right;
}

.search-bar input,
.search-button {
  height: 50px;
}

.search-bar input {
  background: #f7fafb;
  font-size: 14px;
}

.search-button {
  font-size: 14px;
  font-weight: 700;
}

.results-count {
  padding: 5px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 650;
}

.fee-highlight {
  color: #d92d20;
  font-weight: 800;
}

@media (max-width: 640px) {
  .search-view {
    padding-top: 12px;
  }

  .search-panel {
    margin-top: 24px;
    padding: 10px;
  }

  .search-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 3px 4px 11px;
  }

  .search-intro h1 {
    font-size: 23px;
  }

  .search-intro > p {
    max-width: none;
    text-align: left;
  }

  .search-bar input,
  .search-button {
    height: 46px;
  }
}
/* Refined search header */
.search-intro {
  align-items: center;
  padding: 3px 6px 16px;
}

.search-intro-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.search-intro-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
}

.search-intro-icon svg {
  width: 20px;
  height: 20px;
}

.search-intro h1 {
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.search-intro-main p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.search-download-hint {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #b54708;
  background: #fff7ed;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .search-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .search-intro-main {
    gap: 10px;
  }

  .search-intro-icon {
    width: 36px;
    height: 36px;
  }

  .search-intro h1 {
    font-size: 21px;
  }

  .search-download-hint {
    margin-left: 46px;
  }
}
/* Unified compact type scale */
.topbar-copy .brand-name {
  font-size: 13px;
}

.topbar-title {
  font-size: 10.5px;
}

.topbar .data-count {
  font-size: 10.5px;
}

.search-intro h1 {
  font-size: clamp(19px, 2vw, 22px);
  letter-spacing: -0.02em;
}

.search-intro-main p {
  font-size: 11px;
}

.search-download-hint {
  padding: 4px 8px;
  font-size: 10px;
}

.search-bar input {
  font-size: 13px;
}

.search-button {
  font-size: 13px;
}

.results-count {
  font-size: 10.5px;
}

.results-table-head {
  font-size: 10px;
}

.cell-code {
  font-size: 11.5px;
}

.cell-name {
  font-size: 12.5px;
}

.region-pill {
  font-size: 10px;
}

.download-link {
  font-size: 11.5px;
}

.disclaimer {
  font-size: 10.5px;
}

.modal-card h2 {
  font-size: 22px;
}

.payment-file-name,
.payment-description {
  font-size: 12.5px;
}

.payment-disclaimer {
  font-size: 10px;
}

@media (max-width: 640px) {
  .search-intro h1 {
    font-size: 18.5px;
  }

  .search-bar input,
  .search-button {
    font-size: 12.5px;
  }
}
/* Payment credentials reminder */
.payment-order-no {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  overflow-wrap: anywhere;
  user-select: all;
}

.browser-data-warning {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #f4dfb5;
  border-radius: 9px;
  color: #755b35;
  background: #fff9ef;
  font-size: 10.5px;
  line-height: 1.6;
}
.download-guidance {
  margin: 10px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: #6b7f86;
  font-size: 10.5px;
  line-height: 1.55;
}

.download-status.is-complete .download-guidance {
  color: var(--accent-strong);
}

.download-status.is-error .download-guidance {
  color: var(--danger);
}