:root {
  --workspace-max: 1560px;
  --workspace-gutter: clamp(32px, 6vw, 96px);
  --bg: #eef3fb;
  --surface: #ffffff;
  --surface-soft: #f6f9ff;
  --ink: #07111f;
  --ink-2: #2d3a4d;
  --muted: #6b7688;
  --line: #d7e0ee;
  --line-strong: #b9c3d3;
  --blue: #2558d4;
  --blue-dark: #1d3f95;
  --blue-soft: #eaf1ff;
  --red: #e23b45;
  --red-soft: #fff0f1;
  --green: #059669;
  --green-soft: #e7f8f1;
  --amber: #b06200;
  --amber-soft: #fff4dc;
  --navy: #07142b;
  --cyan: #35d7ff;
  --glass: rgba(255, 255, 255, 0.88);
  --shadow-sm: 0 10px 28px rgba(15, 35, 70, 0.08);
  --shadow-md: 0 20px 42px rgba(15, 35, 70, 0.14);
  --font-ui: Aptos, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-display: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  --font-mono: "Cascadia Mono", Consolas, monospace;
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 190px, #f3f6fb 100%);
  color: var(--ink);
  font-family: var(--font-ui);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input:focus,
select:focus,
button:focus {
  outline: 3px solid rgba(37, 88, 212, 0.18);
  outline-offset: 2px;
}

.shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(157, 205, 255, 0.22);
  background:
    radial-gradient(circle at 8% 18%, rgba(53, 215, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(44, 132, 208, 0.18), transparent 44%),
    linear-gradient(180deg, #12345d 0%, #0a2748 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 50, 90, 0.16);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #0b1220 url("/assets/fund-watch-logo-v1.png") center / cover no-repeat;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34), 0 0 24px rgba(53, 215, 255, 0.18);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 4px;
  color: #90a4c5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-copy h1,
.panel-heading h2,
.watch-title h2,
.detail-header h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.brand-copy h1 {
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
}

.market-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 230px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce8ff;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-dot,
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.status-dot.open,
.pulse-dot {
  background: var(--green);
}

.status-dot.closed {
  background: var(--amber);
}

.workspace {
  width: min(var(--workspace-max), calc(100% - var(--workspace-gutter)));
  margin: 28px auto 46px;
}

.task-zone {
  display: grid;
  grid-template-columns: minmax(440px, 1.2fr) minmax(360px, 0.8fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.search-panel,
.metric-card,
.fund-card,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 18px 20px;
  border-color: #cfdcf1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 252, 255, 0.9) 100%);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 10px;
  align-items: center;
}

input,
select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

input {
  width: 100%;
  padding: 0 13px;
  font-size: 16px;
}

select {
  padding: 0 34px 0 11px;
}

.primary-button,
.ghost-button,
.icon-button,
.remove-button {
  min-height: 40px;
  border: 1px solid #d0dced;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.primary-button {
  border-color: #c6d3e5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 245, 253, 0.96) 100%);
  box-shadow: 0 8px 18px rgba(15, 35, 70, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  color: #1a2a42;
  font-weight: 700;
}

.primary-button:hover:not(:disabled) {
  border-color: #aebfde;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(228, 237, 249, 0.98) 100%);
  box-shadow: 0 10px 20px rgba(15, 35, 70, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.ghost-button {
  padding: 0 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  color: #22324a;
  font-weight: 650;
}

.ghost-button:hover:not(:disabled),
.icon-button:hover:not(:disabled) {
  border-color: #bcd0ff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
  transform: translateY(-1px);
}

.tool-button {
  width: 42px;
  min-height: 38px;
  padding: 0;
  justify-content: center;
  border-color: #cbd6e6;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 252, 0.92));
  color: #40516a;
}

.tool-button:hover:not(:disabled) {
  border-color: #aebfde;
  color: #1c2b43;
}

.tool-button,
.tool-svg {
  display: inline-flex;
  align-items: center;
}

.tool-svg {
  width: 18px;
  height: 18px;
  justify-content: center;
}

.tool-svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.hint,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.hint {
  min-height: 18px;
  margin: 10px 0 0;
}

.search-results {
  grid-column: 1 / -1;
  margin-top: 14px;
  border: 1px solid #b8ccf4;
  border-radius: 8px;
  background: rgba(247, 250, 255, 0.94);
  box-shadow: 0 14px 30px rgba(37, 88, 212, 0.1);
  overflow: hidden;
}

.search-results[hidden] {
  display: none;
}

.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #d8e4ff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.result-close-button {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(193, 205, 222, 0.82);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  color: #64748b;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.result-close-button:hover,
.result-close-button:focus-visible {
  border-color: rgba(148, 163, 184, 0.9);
  background: #ffffff;
  color: #334155;
}

.result-list {
  max-height: 320px;
  overflow-y: auto;
}

.result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border-bottom: 1px solid #e5ecff;
}

.result-row:last-child {
  border-bottom: 0;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.product-identity strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  background: #e7f8f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-code {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.search-state {
  display: grid;
  gap: 6px;
  min-height: 96px;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.search-state strong {
  color: var(--ink);
}

.add-button {
  min-width: 88px;
  padding: 0 12px;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  min-height: 78px;
  padding: 13px;
  border-color: #d6e0ed;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
  box-shadow: 0 8px 20px rgba(15, 35, 70, 0.06);
}

.metric-card span {
  display: block;
  color: #758299;
  font-size: 12px;
  font-weight: 650;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  color: #16243a;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  word-break: break-word;
}

#nextRefresh {
  color: #1c2a40;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 750;
}

.primary-metric {
  border-color: #c9daf3;
  background:
    radial-gradient(circle at 92% 14%, rgba(53, 215, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #f5f9ff 0%, #ebf3ff 100%);
}

.index-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 44px;
}

.index-card {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid #d6e0ed;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 251, 255, 0.88) 100%);
  box-shadow: 0 8px 20px rgba(15, 35, 70, 0.06);
}

.index-card span {
  color: #758299;
  font-size: 12px;
  font-weight: 650;
}

.index-card strong {
  color: #16243a;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.1;
}

.index-card small {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
}

.index-card.positive {
  border-left: 3px solid var(--red);
}

.index-card.negative {
  border-left: 3px solid var(--green);
}

.index-card.loading,
.index-card.muted-card {
  border-left: 3px solid var(--line-strong);
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 20px;
  padding: 2px 0;
}

.watch-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watch-title h2 {
  font-size: 18px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.fund-card {
  position: relative;
  min-height: 166px;
  padding: 16px;
  border-color: #d0dced;
  border-left-width: 4px;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 18%, rgba(37, 88, 212, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

.fund-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46px;
  background: linear-gradient(90deg, rgba(37, 88, 212, 0.08), transparent 46%);
  pointer-events: none;
}

.fund-card:hover {
  transform: translateY(-2px);
  border-color: #bdd0ee;
  box-shadow: var(--shadow-md);
}

.fund-card.positive {
  border-left-color: var(--red);
  background:
    radial-gradient(circle at 96% 18%, rgba(226, 59, 69, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}

.fund-card.negative {
  border-left-color: var(--green);
  background:
    radial-gradient(circle at 96% 18%, rgba(5, 150, 105, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
}

.fund-card.warning {
  border-left-color: var(--amber);
  background:
    radial-gradient(circle at 96% 18%, rgba(176, 98, 0, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.card-top,
.card-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 7px;
  border-radius: 5px;
  background: #e9f1ff;
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-name {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-group {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.rate {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.positive-text {
  color: var(--red);
}

.negative-text {
  color: var(--green);
}

.card-meta {
  display: grid;
  gap: 4px;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf2f8;
  color: #485161;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.badge.positive {
  background: var(--red-soft);
  color: var(--red);
}

.badge.negative {
  background: var(--green-soft);
  color: var(--green);
}

.badge.warning {
  background: var(--amber-soft);
  color: var(--amber);
}

.remove-button {
  width: 30px;
  min-height: 30px;
  color: var(--muted);
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, border-color 120ms ease, color 120ms ease;
}

.fund-card:hover .remove-button,
.fund-card:focus-within .remove-button {
  opacity: 1;
  pointer-events: auto;
}

.remove-button:hover {
  border-color: #f2b8bd;
  color: var(--red);
}

.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #aebfde;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(249, 252, 255, 0.66));
  color: var(--muted);
}

.empty-state strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  width: min(var(--workspace-max), calc(100% - var(--workspace-gutter)));
  margin: 0 auto 34px;
  color: var(--muted);
}

.research-site-footer {
  margin-top: 16px;
}

.footer-tools {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.visit-stats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #d0dced;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 16px rgba(15, 35, 70, 0.06);
  font-size: 12px;
}

.visit-label {
  padding: 0 3px;
  font-weight: 700;
  white-space: nowrap;
}

.visit-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink-2);
  font-weight: 700;
  white-space: nowrap;
}

.visit-metric strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
}

.visit-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.visit-dot.pv {
  background: var(--green);
}

.visit-dot.uv {
  background: var(--blue);
}

.site-records {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #7a8495;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.record-separator {
  color: #aeb7c5;
}

.icp-link {
  color: inherit;
  text-decoration: none;
}

.icp-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer-popover {
  position: relative;
}

.disclaimer-trigger {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d0dced;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 16px rgba(15, 35, 70, 0.06);
  color: #64748b;
  cursor: pointer;
  list-style: none;
}

.disclaimer-trigger::-webkit-details-marker {
  display: none;
}

.disclaimer-trigger::marker {
  content: "";
}

.disclaimer-trigger:focus-visible {
  outline: 3px solid rgba(37, 88, 212, 0.18);
  outline-offset: 2px;
}

.disclaimer-trigger svg {
  width: 18px;
  height: 18px;
}

.disclaimer-trigger circle,
.disclaimer-trigger path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.disclaimer-trigger:hover,
.disclaimer-popover[open] .disclaimer-trigger,
.disclaimer-popover:focus-within .disclaimer-trigger {
  border-color: #b9c3d3;
  background: #ffffff;
  color: #334155;
}

.disclaimer-card {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid #d0dced;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 35, 70, 0.16);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  visibility: hidden;
}

.disclaimer-popover:hover .disclaimer-card,
.disclaimer-popover:focus-within .disclaimer-card,
.disclaimer-popover[open] .disclaimer-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.disclaimer-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
}

.disclaimer-card p {
  margin: 6px 0 0;
}

.detail-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(540px, 100%);
  height: 100vh;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
  transform: translateX(100%);
  transition: transform 160ms ease;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

.detail-panel.open {
  transform: translateX(0);
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.detail-header h2 {
  font-size: 19px;
}

.icon-button {
  width: 38px;
  font-size: 22px;
  line-height: 1;
}

.detail-content {
  padding: 18px 20px 32px;
  overflow-y: auto;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.detail-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.detail-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.detail-item strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 16px;
}

.record-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.record-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.record-row strong {
  font-family: var(--font-mono);
  font-size: 14px;
}

@media (max-width: 900px) {
  .task-zone {
    grid-template-columns: 1fr;
  }

  .panel-heading span {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .shell-header,
  .control-row {
    align-items: stretch;
    flex-direction: column;
  }

  .shell-header {
    padding: 16px;
  }

  .panel-heading {
    justify-content: flex-start;
  }

  .workspace {
    width: calc(100% - 24px);
    margin-top: 16px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .market-strip {
    min-width: 0;
    justify-content: flex-start;
  }

  .search-row,
  .result-row,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .product-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .status-board {
    grid-template-columns: 1fr;
  }

  .index-strip {
    grid-template-columns: 1fr;
  }

  .toolbar {
    justify-content: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .remove-button {
    opacity: 1;
    pointer-events: auto;
  }

  .site-footer {
    width: calc(100% - 24px);
  }

  .footer-tools {
    flex-wrap: wrap;
  }

  .visit-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .disclaimer-card {
    right: 50%;
    transform: translate(50%, 4px);
  }

  .disclaimer-popover:hover .disclaimer-card,
  .disclaimer-popover:focus-within .disclaimer-card,
  .disclaimer-popover[open] .disclaimer-card {
    transform: translate(50%, 0);
  }
}
