:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #f1f5f7;
  --text: #172026;
  --muted: #65727c;
  --border: #dbe3e8;
  --border-strong: #b7c5ce;
  --accent: #087f8c;
  --accent-strong: #045f69;
  --accent-soft: #e5f5f7;
  --warning: #b7791f;
  --shadow: 0 16px 40px rgba(23, 32, 38, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand-block h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 750;
}

.brand-block p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.toolbar,
.quick-filters,
.summary-strip,
.pager,
.field-filter,
.history-actions,
.panel-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.segment,
.text-button,
.icon-button,
.pager button,
.field-filter button {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.segment {
  border-color: transparent;
  padding: 0 12px;
  background: transparent;
}

.segment.active {
  background: var(--accent);
  color: #ffffff;
}

.text-button {
  padding: 0 12px;
}

.icon-button {
  width: 36px;
  padding: 0;
}

.search-control,
.quick-filters label,
.column-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.search-control input,
.quick-filters select,
.field-filter input,
.field-filter select,
.column-search input,
#pageSize,
#pageJump {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

#pageJump {
  width: 64px;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.page-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.search-control input {
  width: 240px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
  padding: 16px;
}

.table-region,
.side-panel {
  min-width: 0;
}

.summary-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(100px, 1fr));
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.summary-strip div {
  padding: 12px 14px;
  border-right: 1px solid var(--border);
}

.summary-strip div:last-child {
  border-right: 0;
}

.summary-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.summary-strip strong {
  font-size: 22px;
  line-height: 1;
}

.quick-filters {
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.quick-filters label {
  flex: 1 1 190px;
  justify-content: space-between;
}

.table-wrap {
  position: relative;
  height: calc(100vh - 252px);
  min-height: 420px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  max-width: 280px;
  min-width: 132px;
  padding: 8px 10px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th:first-child,
td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  min-width: 178px;
  background: inherit;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #eef4f6;
  color: #24323a;
  font-weight: 750;
}

thead tr.filter-row th {
  top: 38px;
  padding: 6px;
  background: #f8fbfc;
}

thead th:first-child {
  z-index: 12;
}

tbody tr:nth-child(even) td {
  background: #fbfdfe;
}

tbody tr:hover td {
  background: var(--accent-soft);
}

.sort-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font-weight: 750;
}

.filter-input {
  width: 100%;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: 0;
  background: var(--surface);
  font-size: 12px;
}

.empty-state {
  position: sticky;
  left: 0;
  display: grid;
  min-height: 240px;
  place-content: center;
  padding: 24px;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.pager {
  justify-content: center;
  margin-top: 10px;
}

.pager button {
  padding: 0 12px;
}

.pager button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-panel section {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.side-panel h2 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.2;
}

.field-filter {
  align-items: stretch;
  flex-wrap: wrap;
}

.field-filter select,
.field-filter input {
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.field-filter select {
  flex: 1 1 42%;
}

.field-filter input {
  flex: 1 1 36%;
}

.field-filter button {
  padding: 0 10px;
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

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

.condition-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fbfdfe;
}

.condition-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.range-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 6px;
}

.range-controls input,
.history-sync input {
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.range-controls button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.history-sync {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.history-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 8px;
}

.history-status {
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.history-list {
  display: grid;
  max-height: 220px;
  overflow: auto;
  gap: 8px;
}

.history-item {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fbfdfe;
}

.history-item button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  text-align: left;
  font-size: 13px;
  font-weight: 750;
}

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

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px;
}

.filter-chip button {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  line-height: 18px;
}

.panel-title-row {
  justify-content: space-between;
}

.panel-title-row h2 {
  margin: 0;
}

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

.column-search {
  justify-content: space-between;
  margin-bottom: 10px;
}

.column-list {
  display: grid;
  max-height: 42vh;
  overflow: auto;
  gap: 6px;
  padding-right: 4px;
}

.column-list label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--text);
  font-size: 13px;
}

.column-list span {
  overflow-wrap: anywhere;
}

.download-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.download-list a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar {
    justify-content: flex-start;
    width: 100%;
  }

  .search-control input {
    width: 180px;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    height: 62vh;
  }

  .summary-strip {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .summary-strip div:nth-child(even) {
    border-right: 0;
  }
}

.center-region {
  min-width: 0;
}
.center-hero, .center-filters section, .card-list article, .custom-sort-panel {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.center-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.center-hero h2 { margin: 6px 0; font-size: 26px; }
.center-hero p { margin: 0; color: var(--muted); }
.center-count { text-align: right; }
.center-count strong { display: block; font-size: 34px; color: var(--accent); }
.center-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.center-inline, .sort-level { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.center-inline label, .sort-level label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.center-inline select, .sort-level select, .sort-level textarea { border: 1px solid var(--border); border-radius: 6px; padding: 8px; background: var(--surface); color: var(--text); }
.center-condition-list { display: flex; flex-wrap: wrap; gap: 8px; }
.center-condition-list label { border: 1px solid var(--border); border-radius: 999px; padding: 7px 10px; background: var(--surface-soft); }
.center-condition-group { margin-bottom: 10px; }
.center-group-title { margin: 0 0 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.center-condition-item { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 6px 0; }
.center-range-label { border: 1px solid var(--border); border-radius: 999px; padding: 7px 10px; background: var(--surface-soft); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.center-range-inputs { display: inline-flex; gap: 4px; align-items: center; }
.center-range-inputs input { width: 70px; border: 1px solid var(--border); border-radius: 6px; padding: 5px 8px; font-size: 13px; background: var(--surface); }
.selected-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.selected-tags span { padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.card-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card-list article { margin: 0; box-shadow: none; }
.card-list h3 { margin: 0 0 8px; font-size: 17px; }
.series-card-toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.series-card-toggle h3 { grid-column: 1; margin-bottom: 3px; }
.series-match-count { grid-column: 1; color: var(--muted); font-size: 12px; font-weight: 650; }
.series-expand-indicator { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent-strong); font-size: 12px; font-weight: 750; }
.series-model-list { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.series-model-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 10px; border-radius: 8px; background: var(--surface-soft); }
.series-model-row h4 { margin: 0; font-size: 14px; min-width: 160px; }
.series-model-row .card-meta { display: contents; }
.series-model-row .card-meta span { display: inline-flex; align-items: center; margin: 0; }
@media (max-width: 768px) {
  .series-model-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .series-model-row .card-meta { display: flex; flex-wrap: wrap; }
}
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 12px; }
.card-meta span { padding: 4px 7px; border: 1px solid var(--border); border-radius: 999px; }
.verified-badge { color: var(--accent-strong); font-weight: 800; }
.center-actions, .custom-sort-actions { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.custom-sort-panel h2 { margin-top: 0; }
.sort-level { padding: 10px 0; border-top: 1px solid var(--border); }
.sort-level:first-of-type { border-top: 0; }
.sort-level textarea { min-width: 220px; min-height: 38px; }
@media (max-width: 860px) {
  .workspace, .center-filters { grid-template-columns: 1fr; }
  .center-hero { align-items: flex-start; flex-direction: column; }
}

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

  .summary-strip div {
    border-right: 0;
  }

  .search-control,
  .search-control input,
  .text-button,
  .segmented {
    width: 100%;
  }

  .segment {
    flex: 1;
  }

  body {
    font-size: 16px;
    line-height: 1.5;
  }

  .topbar {
    padding: 14px;
  }

  .brand-block h1 {
    font-size: 26px;
  }

  .brand-block p {
    font-size: 14px;
    line-height: 1.45;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar .icon-button {
    width: 100%;
  }

  .search-control {
    min-height: 44px;
    font-size: 14px;
  }

  button {
    min-height: 44px;
    font-size: 16px;
  }

  .segment,
  .text-button,
  .icon-button,
  .pager button,
  .field-filter button,
  .range-controls button,
  .link-button,
  .sort-level button,
  input:not([type="checkbox"]),
  select,
  textarea {
    min-height: 44px;
    font-size: 16px;
  }

  #globalSearch,
  #pageSize,
  #pageJump,
  .field-filter select,
  .center-inline select,
  .sort-level select,
  .sort-level textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-label {
    font-size: 14px;
  }

  .summary-strip strong {
    font-size: 24px;
  }

  .center-hero,
  .center-filters section,
  .card-list article,
  .custom-sort-panel {
    padding: 14px;
  }

  .center-hero h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .center-hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .eyebrow,
  .condition-title,
  .center-group-title,
  .center-inline label,
  .sort-level label,
  .history-sync,
  .history-status,
  .history-item span,
  .column-list label,
  .download-list {
    font-size: 14px;
  }

  .center-condition-item {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    flex-wrap: wrap;
    font-size: 15px;
  }

  .condition-title,
  .column-list label {
    min-height: 44px;
    align-items: center;
  }

  .center-condition-item > label,
  .center-range-label {
    min-height: 44px;
    max-width: 100%;
    flex: 1 1 100%;
    flex-wrap: wrap;
    align-items: center;
    overflow-wrap: anywhere;
  }

  .center-range-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .center-range-inputs input {
    width: 100%;
  }

  .selected-tags span {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .card-list {
    grid-template-columns: 1fr;
  }

  .card-list h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .series-card-toggle,
  .history-item button {
    min-height: 44px;
    font-size: 16px;
  }

  .filter-chip button {
    width: 44px;
    height: 44px;
    font-size: 16px;
    line-height: 44px;
  }

  .series-match-count,
  .series-expand-indicator,
  .card-meta {
    font-size: 15px;
    line-height: 1.4;
  }

  .card-meta span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .field-filter > * {
    flex: 1 1 100%;
  }

  .range-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .range-controls button {
    grid-column: 1 / -1;
  }

  .pager {
    flex-wrap: wrap;
  }

  .table-wrap {
    min-height: 360px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    min-width: 150px;
    font-size: 14px;
    line-height: 1.4;
  }

  thead th {
    white-space: nowrap;
  }

  .sort-button {
    min-height: 44px;
    font-size: 16px;
  }

  thead tr.filter-row th {
    top: 61px;
  }
}


.mobile-filter-actions {
  display: none;
}

@media (max-width: 720px) {
  .center-region {
    display: flex;
    flex-direction: column;
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .center-hero { order: 1; }
  .selected-tags {
    order: 2;
    flex-wrap: nowrap;
    margin: 0 -10px 12px;
    padding: 0 10px 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .selected-tags::-webkit-scrollbar { display: none; }
  .selected-tags span {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .center-filters { order: 3; }
  .mobile-filter-actions { order: 4; }
  .card-list { order: 5; }
  .center-actions { order: 6; }

  .center-filters > section {
    padding: 0;
    overflow: visible;
  }

  .center-filters > section > h3 {
    margin: 0;
    padding: 14px 14px 10px;
    font-size: 18px;
  }

  .center-condition-list {
    display: block;
  }

  .mobile-filter-layout {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    min-width: 0;
    border-top: 1px solid var(--border);
  }

  .major-category-rail {
    position: sticky;
    top: 8px;
    align-self: start;
    display: grid;
    width: 96px;
    max-height: calc(100vh - 104px - env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--surface-soft);
    border-right: 1px solid var(--border);
  }

  .major-category-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 52px;
    padding: 8px 5px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
  }

  .major-category-button.active {
    background: var(--surface);
    color: var(--accent-strong);
  }

  .major-category-button.active::before {
    position: absolute;
    inset: 8px auto 8px 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent);
    content: "";
  }

  .major-category-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .major-category-badge {
    display: inline-grid;
    flex: 0 0 auto;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    line-height: 1;
  }

  .minor-content-pane {
    min-width: 0;
    padding: 12px;
    background: var(--surface);
  }

  .mobile-category-panel:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .mobile-category-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
  }

  .mobile-minor-section + .mobile-minor-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .mobile-minor-title {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 750;
  }

  .mobile-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-option-grid .center-condition-item {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .mobile-option-grid .center-condition-item[data-condition-type="feature"] > label {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    line-height: 1.3;
    text-align: center;
  }

  .mobile-option-grid input[type="checkbox"] {
    accent-color: var(--accent);
  }

  .mobile-option-grid .center-condition-item[data-condition-type="feature"] > label:has(input:checked),
  .mobile-option-grid .center-range-label:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
  }

  .mobile-option-grid .center-condition-item[data-condition-type="range"] {
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft);
  }

  .mobile-option-grid .center-range-label {
    border: 0;
    padding: 0;
    background: transparent;
  }

  .mobile-filter-actions {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(100px, auto) minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 24px rgba(23, 32, 38, 0.12);
  }

  .mobile-filter-actions button {
    min-height: 48px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 750;
  }

  #mobileRestoreDefaults {
    background: var(--surface);
    color: var(--accent-strong);
  }

  #mobileViewResults {
    background: var(--accent);
    color: #fff;
  }

  #cardList:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
  }
}
