/* ============================================================
   智觅 · 条件检索页
   ============================================================ */
body.search-page .nav {
  position: fixed;
  z-index: 5;
  background: rgba(245, 247, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 235, 245, 0.7);
}
.results { padding: 92px 0 56px; }
.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}
.filters,
.list-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.filters { padding: 20px 18px 18px; align-self: start; }
.filter-note {
  margin: -4px 0 16px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--blue-ghost);
  color: #61708f;
  font-size: 12px;
  line-height: 1.6;
}
.filters h2 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.filters label,
.date-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #5d6b86;
}
.filters input,
.filters select {
  height: 38px;
  border: 1px solid #e3e9f5;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 11px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.filters input:hover,
.filters select:hover { border-color: #cdd7ef; }
.filters input:focus,
.filters select:focus {
  border-color: var(--blue);
  box-shadow: var(--ring);
}
.filters select:disabled {
  background: #f4f7fb;
  color: #98a2b3;
  cursor: not-allowed;
}
.date-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
.filter-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.filter-actions button {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #4a6cf7 0%, var(--blue-deep) 100%);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(60, 91, 240, 0.28);
  cursor: pointer;
  transition: transform var(--fast), box-shadow var(--fast), filter var(--fast);
}
.filter-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(60, 91, 240, 0.36);
  filter: brightness(1.03);
}
.text-btn { color: #5d6b86; font-size: 13px; transition: color var(--fast); }
.text-btn:hover { color: var(--blue); }

.list-wrap { padding: 10px 24px 20px; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meta { margin: 14px 0 4px; color: var(--muted); font-size: 13px; }
.result-actions { display: flex; gap: 8px; }
.result-actions button,
.push-foot button[type="submit"] {
  height: 32px;
  padding: 0 15px;
  border: 1px solid #d5def8;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #31456f;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--fast);
}
.result-actions button:hover,
.push-foot button[type="submit"]:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-ghost);
}
.error { color: var(--danger); }
.hit-list { list-style: none; margin: 0; padding: 0; }
.hit {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.hit time {
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  font-size: 13px;
  padding-top: 3px;
}
.hit h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.hit h3 a { color: var(--ink); transition: color var(--fast); }
.hit h3 a:hover { color: var(--blue); }
.hit p { margin: 0 0 8px; color: #3c465c; font-size: 14px; line-height: 1.7; }
.hit .facts { color: var(--faint); font-size: 13px; }
.hit .facts a { color: var(--blue); }
.hit .facts a:hover { text-decoration: underline; }
.hit mark {
  background: linear-gradient(180deg, transparent 62%, #dfe8ff 62%);
  color: var(--blue-deep);
  font-weight: 500;
  padding: 0 1px;
}
.pager {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  color: #5d6b86;
  font-size: 13px;
}
.pager button {
  min-width: 32px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: #31456f;
  cursor: pointer;
  transition: all var(--fast);
}
.pager button:hover:not(:disabled) { border-color: #c3d0f5; color: var(--blue); }
.pager button:disabled { opacity: 0.4; cursor: default; }
.pager button.is-on {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

/* ---------- 导出 / 推送弹层 ---------- */
.push-mask[hidden] { display: none !important; }
.push-mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 34, 56, 0.42);
  backdrop-filter: blur(3px);
}
.push-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-pop);
}
.push-head { display: flex; align-items: center; justify-content: space-between; }
.push-head h2 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.push-x {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #7b879c;
  cursor: pointer;
  transition: background var(--fast), color var(--fast);
}
.push-x:hover { background: var(--line-soft); color: var(--ink); }
.push-hint { margin: 10px 0 14px; color: #5d6b86; font-size: 13px; line-height: 1.6; }
.push-dialog label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  color: #5d6b86;
  font-size: 13px;
}
.push-dialog input,
.push-dialog select {
  height: 38px;
  padding: 0 11px;
  border: 1px solid #e1e6f0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.push-dialog input:focus,
.push-dialog select:focus { border-color: var(--blue); box-shadow: var(--ring); }
.push-note { min-height: 20px; margin: 0 0 8px; color: var(--danger); font-size: 13px; }
.push-note.is-ok { color: var(--ok); }
.push-quota { margin: -6px 0 12px; color: var(--blue); font-size: 13px; }
#push-hour-wrap[hidden] { display: none !important; }
.push-rules { list-style: none; margin: 0 0 8px; padding: 0; }
.push-rules li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  color: #31415f;
  font-size: 13px;
}
.push-rules button {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  transition: opacity var(--fast);
}
.push-rules button:hover { opacity: 0.75; }
.push-foot { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }

@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .hit { grid-template-columns: 1fr; gap: 4px; }
  .hit time { padding-top: 0; }
}
