/* ============================================================
   pages.css — 内页通用样式（查询页 / 关于我们 / 联系我们）
   基于 design-system.css tokens · 8px 网格 · V2 增强交互
   ============================================================ */

/* ══════════════════════════════════════════════════
   页头 Hero — 内页统一
   ══════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 55%, var(--bg) 100%);
  padding: 56px 24px 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: var(--text);
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero .hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

.page-hero .hero-desc strong {
  color: var(--primary);
}

/* Hero 统计条 */
.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.stat-item {
  padding: var(--space-3) var(--space-5);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  font-feature-settings: 'tnum';
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════
   通用区块标题
   ══════════════════════════════════════════════════ */
.section-block {
  margin-bottom: var(--space-12);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-head .section-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-1);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.link-more:hover { opacity: 0.85; }

/* ══════════════════════════════════════════════════
   工具栏 — 搜索 + 筛选 + 排序（查询页）
   ══════════════════════════════════════════════════ */
.page-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.page-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1), var(--shadow-md);
  transform: translateY(-1px);
}

.page-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  min-width: 0;
}

.page-search input::placeholder { color: var(--muted); }

.page-search svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: color var(--duration-fast);
}

.page-search:focus-within svg { color: var(--primary); }

/* 地区筛选 tab（与 city-list.css .region-tab 同风格） */
.filter-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-5) 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.filter-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.filter-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* 排序 */
.sort-select {
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--card);
  color: var(--text);
  outline: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.sort-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

/* ══════════════════════════════════════════════════
   数据表（查询页主表）
   ══════════════════════════════════════════════════ */
.table-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.query-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
  min-width: 720px;
}

.query-table thead th {
  background: linear-gradient(135deg, var(--primary-light), #e8f0fe);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-align: left;
  padding: var(--space-3) var(--space-4);
  white-space: nowrap;
  border-bottom: 2px solid var(--primary-light);
}

.query-table tbody td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: background var(--duration-fast);
}

.query-table tbody tr:last-child td { border-bottom: none; }

.query-table tbody tr:hover td {
  background: var(--bg);
}

.query-table .num {
  font-feature-settings: 'tnum';
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.query-table .hl { color: var(--primary); }

.query-table .city-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.city-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary);
  flex-shrink: 0;
}

.query-table a {
  color: var(--primary);
  font-weight: 600;
}

.query-table a:hover { text-decoration: underline; }

/* 表格行内小按钮 */
.table-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
}

.table-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

/* ══════════════════════════════════════════════════
   说明卡 / 信息网格
   ══════════════════════════════════════════════════ */
.explain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.explain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-fast);
}

.explain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.explain-card:active { transform: translateY(-2px) scale(0.99); }

.explain-card .ec-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: var(--space-3);
}

.explain-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.explain-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

.explain-card p strong { color: var(--primary); }

/* 提示条 */
.note-bar {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.note-bar.info {
  background: var(--primary-light, #eff6ff);
  background: linear-gradient(135deg, #eff6ff, #f5f9ff);
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.note-bar.warn {
  background: linear-gradient(135deg, #fff8e6, #fff4d9);
  border: 1px solid #ffd666;
  color: #8a6500;
}

[data-theme="dark"] .note-bar.info {
  background: linear-gradient(135deg, #16233a, #131d30);
  border-color: #26456e;
  color: #93c5fd;
}

[data-theme="dark"] .note-bar.warn {
  background: linear-gradient(135deg, #2a1f00, #1f1700);
  border-color: #7a5000;
  color: #ffd666;
}

.note-bar .note-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════
   关于我们
   ══════════════════════════════════════════════════ */
.about-mission {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: stretch;
}

.mission-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: rotate(30deg);
  transition: transform 0.6s;
  pointer-events: none;
}

.mission-card:hover::before { transform: rotate(30deg) translateX(100%); }

.mission-card .mission-kicker {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-bottom: var(--space-3);
}

.mission-card h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.mission-card p {
  font-size: var(--text-base);
  line-height: 1.8;
  opacity: 0.92;
}

.mission-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mission-stat {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast);
}

.mission-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mission-stat .ms-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.mission-stat .ms-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text);
  font-feature-settings: 'tnum';
  line-height: 1.2;
}

.mission-stat .ms-label {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* 价值卡 */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  transition: all var(--duration-normal) var(--ease-out);
  border-top: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}

.value-card .vc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-light), #e8f0fe);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-4);
}

.value-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.75;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--border) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) + 2px);
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

.timeline-item .tl-date {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-1);
  font-feature-settings: 'tnum';
}

.timeline-item .tl-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-1);
}

.timeline-item .tl-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* 里程碑 */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.milestone-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  transition: all var(--duration-fast) var(--ease-out);
}

.milestone-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.milestone-card .mi-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  margin-bottom: var(--space-3);
}

.milestone-card.done .mi-tag {
  color: var(--color-success, #16a34a);
  background: var(--color-success-light, #f0fdf4);
}

.milestone-card h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.milestone-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════
   联系我们
   ══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.contact-card:active { transform: translateY(-2px) scale(0.99); }

.contact-card .cc-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-light), #e8f0fe);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-1);
}

.contact-card .cc-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
  word-break: break-all;
}

.contact-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
}

/* 留言表单 */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-8);
}

.contact-form-card h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-1);
}

.contact-form-card .cf-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-6);
}

.form-field {
  margin-bottom: var(--space-5);
}

.form-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-field label .required {
  color: var(--color-error, #ef4444);
  margin-left: 2px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px var(--space-4);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  transform: translateY(-1px);
}

.form-field .field-err {
  font-size: var(--text-xs);
  color: var(--color-error, #ef4444);
  margin-top: var(--space-1);
  display: none;
}

.form-field.invalid input,
.form-field.invalid textarea {
  border-color: var(--color-error, #ef4444);
}

.form-field.invalid .field-err { display: block; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.contact-submit {
  width: 100%;
  padding: 14px var(--space-6);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

.contact-submit:active { transform: translateY(0); }

/* 表单侧栏 */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.contact-side-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.contact-side-card ul {
  list-style: none;
}

.contact-side-card li {
  font-size: var(--text-sm);
  color: var(--muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.contact-side-card li:last-child { border-bottom: none; }

.contact-side-card li strong { color: var(--text); font-weight: 600; }

/* 成功提示 */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8) var(--space-5);
}

.form-success.show { display: block; animation: slideUp var(--duration-slow) var(--ease-out); }

.form-success .fs-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-success-light, #f0fdf4);
  color: var(--color-success, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.form-success h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-success p {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ══════════════════════════════════════════════════
   响应式
   ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-mission { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 36px 20px 48px;
  }

  .page-hero h1 { font-size: 28px; }
  .page-hero .hero-desc { font-size: 15px; }

  .hero-stats { gap: var(--space-3); }

  .section-block { margin-bottom: var(--space-8); }
  .section-head h2 { font-size: var(--text-xl); }

  .page-search { max-width: 100%; }

  .form-row-2 { grid-template-columns: 1fr; }

  .contact-form-card { padding: var(--space-5); }

  .mission-card { padding: var(--space-6); }

  .timeline { padding-left: var(--space-6); }

  .timeline-item::before {
    left: calc(-1 * var(--space-6) + 2px);
  }
}


/* ══════════════════════════════════════════════════
   深色主题 — 内页覆盖
   ══════════════════════════════════════════════════ */
[data-theme="dark"] .page-hero {
  background: linear-gradient(180deg, #131f38 0%, #16233a 55%, var(--bg) 100%);
}

[data-theme="dark"] .query-table thead th {
  background: linear-gradient(135deg, #1e2d45, #162035);
  color: #93c5fd;
  border-bottom-color: #26456e;
}

[data-theme="dark"] .query-table tbody tr:hover td {
  background: #16233a;
}

[data-theme="dark"] .explain-card:hover,
[data-theme="dark"] .value-card:hover,
[data-theme="dark"] .contact-card:hover {
  border-color: #26456e;
}

[data-theme="dark"] .explain-card .ec-icon,
[data-theme="dark"] .value-card .vc-icon,
[data-theme="dark"] .contact-card .cc-icon {
  background: linear-gradient(135deg, #1e2d45, #162035);
  color: #6ea8ff;
}

[data-theme="dark"] .milestone-card.done .mi-tag {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
}

[data-theme="dark"] .form-success .fs-icon {
  background: rgba(34, 197, 94, 0.12);
}

[data-theme="dark"] .timeline-item::before {
  background: #162035;
}


/* ── 在线留言验证码 ── */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.captcha-row input {
  flex: 1;
  min-width: 120px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'SF Mono', Consolas, monospace;
}

.captcha-row .captcha-img {
  height: 48px;
  width: 140px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  object-fit: contain;
  flex-shrink: 0;
}

.captcha-row .captcha-refresh-btn {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  font-family: inherit;
}

.captcha-row .captcha-refresh-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

@media (max-width: 480px) {
  .captcha-row .captcha-img { width: 124px; }
  .captcha-row .captcha-refresh-btn { padding: 0 10px; }
}
