:root {
  --paper: #f7f4ef;
  --surface: #ffffff;
  --surface-soft: #eee8de;
  --ink: #1d2323;
  --muted: #626a67;
  --line: #8a8175;
  --teal: #006f6f;
  --green: #3c7a3f;
  --amber: #9a5600;
  --coral: #bf4f45;
  --blue: #2f6f9f;
  --focus: #005fcc;
  --shadow: 0 14px 36px rgba(31, 30, 26, 0.08);
  font-family:
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 244, 239, 0) 420px),
    var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-links {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100vw - 16px);
  transform: translateY(calc(-100% - 16px));
}

.skip-links:focus-within {
  transform: translateY(0);
}

.skip-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 9px 12px;
  background: #27312e;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

:where(a, button, input, summary, [tabindex="0"]):focus-visible,
.skip-target:focus {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

:where(a, button, input, summary, [tabindex="0"], .skip-target) {
  scroll-margin-block: 12px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 48px) 20px;
  border-bottom: 1px solid var(--line);
}

.brand h1,
.section-head h2,
.result-head h2,
.filter-block h2 {
  margin: 0;
  letter-spacing: 0;
}

.brand h1 {
  max-width: 14em;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1.02;
  word-break: keep-all;
  overflow-wrap: normal;
}

.kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  min-width: min(420px, 100%);
  border: 1px solid var(--line);
  background: var(--surface);
}

.summary-strip div {
  padding: 14px 16px;
  border-left: 1px solid var(--line);
}

.summary-strip div:first-child {
  border-left: 0;
}

.summary-strip span {
  display: block;
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
}

.summary-strip small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

main {
  padding: 24px clamp(14px, 3vw, 42px) 42px;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.control-panel {
  min-width: 0;
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search-box,
.filter-block,
.filter-note {
  min-width: 0;
  display: block;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-note {
  border-bottom: 0;
  background: #f5efe5;
}

.filter-note strong {
  display: block;
  margin-bottom: 8px;
}

.filter-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.search-box span,
.filter-block h2 {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}

.search-box input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.chip-grid {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#makerFilters,
#gradeFilters,
#screenSizeFilters,
#screenTypeFilters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

#makerFilters .chip,
#gradeFilters .chip,
#screenSizeFilters .chip,
#screenTypeFilters .chip {
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: center;
}

#screenTypeFilters .chip {
  white-space: normal;
  overflow-wrap: anywhere;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.selected-mark {
  flex: 0 0 auto;
  font-weight: 900;
  line-height: 1;
}

.chip,
.ghost-button,
.preset-button,
.compare-button,
.db-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  touch-action: manipulation;
}

.chip.is-active {
  border-color: var(--teal);
  background: #e3f4f1;
  color: #005d58;
}

.ghost-button {
  background: transparent;
}

.ghost-button:disabled {
  cursor: not-allowed;
  border-color: #b7aea2;
  background: #ece7de;
  color: #5f5a53;
}

.compare-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0 14px;
}

.compare-tools > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.compare-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.preset-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fffdf9;
}

.preset-button.is-active {
  border-color: var(--teal);
  background: #e3f4f1;
  color: #005d58;
}

.preset-button small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.main-panel {
  min-width: 0;
}

.result-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(286px, 1fr));
  gap: 14px;
}

.series-card {
  display: grid;
  grid-template-rows: 104px minmax(0, 1fr);
  min-height: 450px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-media {
  display: grid;
  place-items: center;
  height: 104px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 5px solid var(--accent, var(--teal));
  overflow: hidden;
}

.card-media img.maker-logo-image,
.maker-logo img.maker-logo-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 76px;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.card-body {
  display: grid;
  grid-template-rows:
    repeat(5, max-content)
    minmax(max-content, 1fr)
    max-content;
  align-content: stretch;
  gap: 12px;
  padding: 16px;
}

.maker-label {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.series-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.series-title h3 {
  margin: 0;
  font-size: 1.55rem;
}

.grade {
  color: var(--accent-text, var(--teal));
  font-size: 0.84rem;
  font-weight: 850;
}

.year-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #16726a;
  border-radius: 999px;
  padding: 3px 8px;
  background: #e5f5f1;
  color: #075c55;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.card-model,
.card-stand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.card-model strong,
.card-stand strong {
  color: var(--ink);
}

.card-model span,
.card-stand span {
  overflow-wrap: anywhere;
}

.headline {
  margin: 0;
  min-height: 48px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.55;
}

.talk {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-fit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.card-fit strong {
  border-radius: 999px;
  padding: 2px 7px;
  background: #edf5f3;
  color: #006760;
  font-size: 0.7rem;
  white-space: nowrap;
}

.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: start;
}

.card-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 38px;
  border: 1px solid #8a6500;
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff0a8;
  color: #493700;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.card-feature-chip > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: #faf8f4;
  color: #3f4643;
  font-size: 0.78rem;
  font-weight: 700;
}

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.card-actions .compare-button {
  flex: 2 1 160px;
}

.card-actions .db-button {
  flex: 1 1 96px;
}

.compare-button {
  flex: 1;
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.compare-button.is-selected {
  color: var(--ink);
  background: #f6ead8;
  border-color: #8a6500;
}

.compare-button:disabled {
  cursor: not-allowed;
  color: #8d867b;
  border-color: #d8d1c5;
  background: #ebe5dc;
}

.db-button {
  color: #fff;
  border-color: #27312e;
  background: #27312e;
}

.empty-state {
  border: 1px dashed var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
}

.comparison-band,
.guide-band {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
}

.compare-scroll-hint {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.compare-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table[data-count="5"] {
  min-width: 1430px;
}

.compare-table[data-count="6"] {
  min-width: 1680px;
}

.compare-table[data-count="7"] {
  min-width: 1930px;
}

.compare-axis-col {
  width: 180px;
}

.compare-item-col {
  width: 250px;
}

.compare-table th,
.compare-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
  text-align: left;
}

.compare-table th:first-child,
.compare-table td:first-child {
  border-left: 0;
}

.compare-table th {
  background: #f2ece2;
  font-size: 0.84rem;
}

.compare-table thead th:first-child,
.compare-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--line);
}

.compare-table thead th:first-child {
  z-index: 3;
}

.compare-feature-row th {
  vertical-align: top;
}

.compare-feature-axis {
  display: grid;
  gap: 4px;
  line-height: 1.35;
}

.compare-feature-axis-main {
  color: #655e56;
  font-size: 0.7rem;
  font-weight: 850;
}

.compare-feature-axis-genre {
  color: #00746e;
  font-size: 0.86rem;
  font-weight: 900;
}

.compare-feature-axis-part {
  border-left: 4px solid #008b83;
  padding-left: 7px;
  color: #303835;
  font-size: 0.82rem;
  font-weight: 900;
}

.compare-feature-row td {
  background: #fffdf9;
}

.compare-feature-row .compare-feature-cell:first-child {
  border-left: 1px solid var(--line);
}

.compare-points {
  display: grid;
  gap: 8px;
}

.compare-points p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.compare-points strong {
  width: fit-content;
  border-radius: 999px;
  padding: 2px 7px;
  background: #edf5f3;
  color: #006760;
  font-size: 0.72rem;
  line-height: 1.45;
}

.compare-points span {
  color: #333b38;
  font-size: 0.9rem;
}

.compare-sales-row td,
.compare-customer-row td,
.compare-spec-row td {
  background: #fffdf9;
}

.compare-spec-row .spec-value {
  font-size: 1rem;
  line-height: 1.55;
}

.summary-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.05rem;
  color: #303835;
  font-size: 0.92rem;
  line-height: 1.6;
}

.summary-list li::marker {
  color: var(--accent-text, var(--teal));
  font-weight: 900;
}

.compare-table .summary-list {
  gap: 6px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 10px;
  align-items: flex-start;
}

.feature-group {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.compare-feature-group {
  gap: 8px;
}

.feature-genre {
  border-bottom: 1px solid #dce8e5;
  padding-bottom: 3px;
  color: #00746e;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.35;
}

.feature-empty {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #6f6a63;
  font-size: 0.82rem;
  font-weight: 750;
}

.feature-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-start;
}

.clean-part-list {
  display: grid;
  gap: 9px;
}

.clean-part {
  display: grid;
  gap: 5px;
}

.clean-part-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-left: 3px solid var(--accent, var(--teal));
  padding-left: 7px;
  color: #52635e;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.35;
}

.clean-part-items {
  padding-left: 10px;
}

.feature-tip {
  max-width: 100%;
}

.feature-tip summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: #faf8f4;
  color: #27312e;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  touch-action: manipulation;
}

.feature-tip summary > span:not(.feature-badge) {
  min-width: 0;
}

.feature-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid #8a6500;
  border-radius: 999px;
  padding: 3px 6px;
  background: #fff0a8;
  color: #493700;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.feature-tip.is-featured summary {
  border-color: #8a6500;
  background: #fff0a8;
  color: #493700;
  box-shadow: inset 0 -2px 0 rgba(184, 132, 0, 0.16);
}

.feature-tip summary::-webkit-details-marker {
  display: none;
}

.feature-tip summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent, var(--teal));
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  flex: 0 0 auto;
  margin-left: auto;
}

.feature-tip[open] summary {
  border-color: var(--accent, var(--teal));
  background: #e9f5f2;
}

.feature-tip.is-featured[open] summary {
  border-color: #8a6500;
  background: #ffe47a;
}

.feature-tip[open] summary::after {
  content: "-";
}

.feature-tip p {
  margin: 7px 0 0;
  border-left: 3px solid var(--accent, var(--teal));
  padding: 8px 9px;
  background: #fffdf9;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-actions .db-button {
  flex: 1 1 120px;
}

.catalog-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: none;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(31, 30, 26, 0.28);
}

.catalog-dialog::backdrop {
  background: rgba(29, 35, 35, 0.42);
}

.catalog-dialog-inner {
  position: relative;
  max-height: min(88vh, 860px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 64px;
  padding: 10px;
  background: linear-gradient(180deg, #fff 78%, rgba(255, 255, 255, 0.88));
}

.dialog-close {
  position: static;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.catalog-record {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.catalog-record-head {
  border-left: 5px solid var(--accent, var(--teal));
  padding-left: 14px;
}

.catalog-record-head h2,
.catalog-section h3 {
  margin: 0;
}

.catalog-record-head h2 {
  font-size: clamp(1.45rem, 4vw, 2.1rem);
}

.catalog-record-head .year-badge {
  margin-top: 8px;
  margin-right: 5px;
}

.catalog-record-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.catalog-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  background: #f8f3ea;
}

.catalog-fields div {
  padding: 12px;
  border-left: 1px solid var(--line);
}

.catalog-fields div:first-child {
  border-left: 0;
}

.catalog-fields dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.catalog-fields dd {
  margin: 4px 0 0;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.catalog-fit {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 13px 14px 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent, var(--teal));
  background: #fffdf9;
}

.catalog-fit h3 {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.catalog-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-fit-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #a9b9b4;
  border-radius: 999px;
  padding: 6px 11px;
  background: #eef6f4;
  color: #245d57;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.3;
}

.catalog-section {
  display: grid;
  gap: 10px;
}

.catalog-section h3 {
  font-size: 1rem;
}

.db-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fffdf9;
}

.db-panels > div {
  min-width: 0;
  padding: 12px;
  border-left: 1px solid var(--line);
}

.db-panels > div:first-child {
  border-left: 0;
}

.db-panels strong {
  display: inline-flex;
  border-radius: 999px;
  padding: 2px 7px;
  background: #edf5f3;
  color: #006760;
  font-size: 0.72rem;
}

.db-panels p {
  margin: 7px 0 0;
  color: #333b38;
  font-size: 0.88rem;
  line-height: 1.6;
}

.feature-count {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.feature-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.feature-legend .feature-badge {
  flex: 0 0 auto;
}

.compare-cards {
  display: none;
}

.compare-card {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.compare-card:last-child {
  border-bottom: 0;
}

.compare-card-head {
  display: grid;
  gap: 4px;
  padding: 15px;
  border-left: 5px solid var(--accent, var(--teal));
  background: #f8f3ea;
}

.compare-card-head strong {
  font-size: 1.05rem;
}

.compare-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.compare-card dl > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 12px 15px;
  border-top: 1px solid var(--line);
}

.compare-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.compare-card dd {
  min-width: 0;
  margin: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.compare-card dd small {
  overflow-wrap: anywhere;
}

.compare-fab {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  border: 1px solid rgba(39, 49, 46, 0.92);
  border-radius: 999px;
  padding: 10px 14px 10px 16px;
  background: #27312e;
  color: #fff;
  box-shadow: 0 16px 34px rgba(31, 30, 26, 0.22);
  font-weight: 850;
  text-decoration: none;
}

.compare-fab strong,
.dialog-compare-jump span {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1;
}

.dialog-compare-jump {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px 8px 13px;
  background: #27312e;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.mobile-jumpbar {
  display: none;
}

.maker-guide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.maker-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.maker-logo {
  display: grid;
  place-items: center;
  height: 108px;
  padding: 10px 18px;
  background: #fff;
  border-bottom: 5px solid var(--accent, var(--teal));
  overflow: hidden;
}

.maker-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.maker-copy {
  padding: 15px;
}

.maker-card h3 {
  margin: 0 0 8px;
}

.maker-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.maker-card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: var(--accent-text, var(--teal));
}

.no-results {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .summary-strip {
    min-width: 0;
  }

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

  .control-panel {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .filter-block,
  .search-box,
  .filter-note {
    padding: 15px;
  }

  .chip-grid {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow-x: visible;
    overscroll-behavior-x: contain;
  }

  .chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .compare-axis-col {
    width: 140px;
  }

  .compare-item-col {
    width: 210px;
  }

  .compare-table[data-count="5"] {
    min-width: 1190px;
  }

  .compare-table[data-count="6"] {
    min-width: 1400px;
  }

  .compare-table[data-count="7"] {
    min-width: 1610px;
  }

  .compare-table th,
  .compare-table td {
    padding: 11px 10px;
  }

  .series-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    scroll-padding-top: 8px;
    scroll-padding-bottom: 112px;
  }

  body {
    padding-bottom: 104px;
  }

  :where(a, button, input, summary, [tabindex="0"], .skip-target) {
    scroll-margin-bottom: 104px;
  }

  .topbar,
  main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar {
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .brand h1 {
    max-width: none;
    font-size: clamp(1.8rem, 9.2vw, 2.65rem);
    line-height: 1.04;
  }

  .kicker {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  main {
    padding-top: 14px;
  }

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

  .summary-strip div {
    padding: 12px 9px;
  }

  .summary-strip span {
    font-size: 1.25rem;
  }

  .control-panel,
  .series-card,
  .table-wrap,
  .maker-card {
    box-shadow: 0 8px 22px rgba(31, 30, 26, 0.07);
  }

  .search-box input {
    min-height: 48px;
  }

  .filter-note p {
    font-size: 0.84rem;
  }

  .chip-grid {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow-x: visible;
  }

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

  .series-card {
    min-height: auto;
  }

  .card-media {
    height: 88px;
    padding: 8px 14px;
  }

  .card-media img {
    max-height: 64px;
  }

  .card-media img.maker-logo-image {
    height: 62px;
  }

  .card-body {
    gap: 10px;
    padding: 14px;
  }

  .series-title {
    align-items: start;
    justify-content: space-between;
  }

  .series-title h3 {
    font-size: 1.45rem;
  }

  .headline {
    min-height: 0;
    font-size: 0.98rem;
  }

  .talk {
    font-size: 0.9rem;
  }

  .tag-list {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .tag {
    flex: 0 0 auto;
  }

  .card-actions {
    position: static;
    padding-top: 8px;
    background: transparent;
  }

  .result-head,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

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

  .table-wrap {
    overflow: visible;
  }

  .compare-fab {
    display: none;
  }

  .compare-scroll-hint {
    display: none;
  }

  .compare-table {
    display: none;
  }

  .compare-cards {
    display: grid;
  }

  .catalog-dialog {
    width: calc(100vw - 18px);
    max-height: none;
    margin-bottom: 80px;
  }

  .catalog-dialog-inner {
    max-height: 86vh;
  }

  .catalog-record {
    gap: 14px;
    padding: 18px 14px;
  }

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

  .db-panels {
    grid-template-columns: 1fr;
  }

  .db-panels > div,
  .db-panels > div:first-child {
    border-left: 0;
  }

  .db-panels > div + div {
    border-top: 1px solid var(--line);
  }

  .catalog-fields div:nth-child(odd) {
    border-left: 0;
  }

  .catalog-fields div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .catalog-fields div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .resource-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .maker-guide {
    grid-template-columns: 1fr;
  }

  .maker-logo {
    height: 96px;
    padding: 8px 16px;
  }

  .maker-logo img {
    max-height: 70px;
  }

  .maker-logo img.maker-logo-image {
    height: 68px;
  }

  .mobile-jumpbar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(31, 30, 26, 0.18);
    backdrop-filter: blur(12px);
  }

  .mobile-jumpbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f5efe5;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 850;
  }

  .mobile-jumpbar span {
    min-width: 22px;
    border-radius: 999px;
    padding: 2px 6px;
    background: var(--teal);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .topbar,
  main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .chip,
  .ghost-button,
  .preset-button,
  .compare-button,
  .db-button {
    padding-right: 10px;
    padding-left: 10px;
  }

  .compare-card dl > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-fields {
    grid-template-columns: 1fr;
  }

  .catalog-fields div,
  .catalog-fields div:nth-child(odd) {
    border-left: 0;
  }

  .catalog-fields div:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .catalog-fields div:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .catalog-fields dd {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

.fatal-error {
  margin: 32px;
  border: 1px solid #9d2f2f;
  padding: 20px;
  background: #fff4f2;
  color: #7b1f1f;
  font-weight: 800;
}

.media-fallback {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: var(--accent-text, var(--teal));
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.card-media .media-fallback,
.maker-logo .media-fallback {
  font-size: clamp(3.25rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.media-fallback[hidden] {
  display: none;
}

.need-tag {
  border-color: var(--accent, var(--teal));
  background: #edf5f3;
}

.spec-note {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  border: 1px solid var(--line);
  background: #fffdf9;
}

.spec-grid > div {
  min-width: 0;
  padding: 12px;
  border-left: 1px solid var(--line);
}

.spec-grid > div:first-child {
  border-left: 0;
}

.spec-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.spec-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--accent-text, var(--teal));
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 620px) {
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-grid > div:nth-child(odd) {
    border-left: 0;
  }

  .spec-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* Comparison table: category rows and expandable feature chips */
.comparison-band .section-head {
  margin-bottom: 12px;
}

.comparison-band .table-wrap {
  border-color: #8f877c;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(31, 30, 26, 0.1);
}

.compare-caption {
  caption-side: top;
  padding: 10px 13px;
  border-bottom: 1px solid #d7d0c5;
  background: #fffaf0;
  color: #665f56;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.55;
  text-align: left;
}

.compare-table {
  min-width: 100%;
  background: #fff;
}

.compare-table[data-count="2"] {
  min-width: 770px;
}

.compare-table[data-count="3"] {
  min-width: 1050px;
}

.compare-table[data-count="4"] {
  min-width: 1330px;
}

.compare-table[data-count="5"] {
  min-width: 1610px;
}

.compare-table[data-count="6"] {
  min-width: 1890px;
}

.compare-table[data-count="7"] {
  min-width: 2170px;
}

.compare-axis-col {
  width: 190px;
}

.compare-item-col {
  width: 280px;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-color: #a79f93;
  line-height: 1.5;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  border-top: 4px solid var(--accent, #343b39);
  background: #f0e9de;
  box-shadow: 0 1px 0 #8f877c;
}

.compare-table thead th:first-child {
  z-index: 6;
  border-top-color: #006f6f;
}

.compare-table tbody th {
  z-index: 3;
  padding: 20px 16px;
  background: #f0e9de;
}

.compare-table tbody tr:nth-child(even) td {
  background: #fffdf9;
}

.compare-product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: start;
}

.compare-product-heading > span {
  grid-column: 1 / -1;
  color: #635e57;
  font-size: 0.72rem;
  font-weight: 800;
}

.compare-product-heading > strong {
  min-width: 0;
  color: #1f2725;
  font-size: 1rem;
  line-height: 1.35;
}

.compare-header-remove {
  min-height: 30px;
  border: 1px solid #aca397;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: #5e5851;
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

.compare-header-remove:hover {
  border-color: #8f3028;
  color: #8f3028;
}

.compare-axis-title {
  display: block;
  color: #27312e;
  font-size: 0.86rem;
  font-weight: 900;
}

.compare-overview {
  display: grid;
  gap: 8px;
}

.compare-overview > strong {
  font-size: 0.94rem;
  line-height: 1.5;
}

.compare-overview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.compare-grade {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #b2a99d;
  border-radius: 999px;
  padding: 3px 9px;
  background: #f7f3ed;
  color: #514c45;
  font-size: 0.72rem;
  font-weight: 900;
}

.compare-model {
  font-size: 0.86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.compare-year {
  color: #075c55;
  font-size: 0.9rem;
  white-space: nowrap;
}

.compare-feature-axis {
  gap: 5px;
}

.compare-feature-axis small {
  color: #635e57;
  font-size: 0.68rem;
  font-weight: 850;
}

.compare-feature-axis strong {
  border-left: 4px solid #008b83;
  padding-left: 8px;
  color: #00746e;
  font-size: 0.96rem;
  font-weight: 900;
}

.compare-feature-row td {
  padding: 18px 16px 20px;
  background: #fff;
}

.compare-feature-cell {
  min-height: 150px;
}

.compare-feature-score {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
  border: 1px solid #c8c0b5;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f8f6f2;
  color: #58524b;
}

.compare-feature-score > span {
  margin-right: 2px;
  font-size: 0.66rem;
  font-weight: 900;
}

.compare-feature-score > strong {
  color: var(--accent-text, var(--teal));
  font-size: 1.12rem;
  line-height: 1;
}

.compare-feature-score > small {
  color: #777068;
  font-size: 0.7rem;
  font-weight: 800;
}

.compare-feature-score.is-best {
  border-color: #9b7507;
  background: #fff0a8;
  color: #493700;
}

.compare-feature-score.is-best > strong {
  color: #493700;
}

.compare-feature-cell .feature-items {
  display: grid;
  gap: 8px;
}

.compare-feature-cell .feature-tip {
  width: 100%;
}

.compare-feature-cell .feature-tip summary {
  width: 100%;
  border-color: #a9a195;
  border-radius: 18px;
  padding: 9px 10px 9px 12px;
  background: #fbfaf7;
  font-size: 0.8rem;
}

.compare-feature-cell .feature-tip.is-featured summary {
  border-color: #9b7507;
  background: #fff0a8;
}

.compare-feature-cell .feature-tip p {
  margin: 6px 0 0;
  border-radius: 6px;
  background: #f4f8f7;
  font-size: 0.78rem;
}

.compare-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-tag-list li {
  border: 1px solid #c1b9ae;
  border-radius: 999px;
  padding: 6px 9px;
  background: #faf8f4;
  color: #4f4a44;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.35;
}

.compare-card-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
}

.compare-card-head > span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.compare-card-overview {
  display: grid;
  gap: 8px;
  padding: 14px 15px;
}

.compare-card-overview > small {
  color: var(--muted);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.compare-card-features {
  display: grid;
}

.compare-card-features section {
  display: grid;
  gap: 10px;
  padding: 14px 15px;
  border-top: 1px solid var(--line);
}

.compare-card-features h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.compare-card-features h4 > span {
  border-left: 4px solid var(--accent, var(--teal));
  padding-left: 8px;
  color: #27312e;
  font-size: 0.86rem;
}

.compare-card-features h4 > strong {
  color: var(--accent-text, var(--teal));
  font-size: 1.08rem;
}

.compare-card-features h4 small {
  color: var(--muted);
  font-size: 0.68rem;
}

.compare-card-cautions {
  display: grid;
  gap: 10px;
  padding: 14px 15px 17px;
  border-top: 1px solid var(--line);
}

.compare-card-cautions > strong {
  font-size: 0.8rem;
}

@media (max-width: 980px) and (min-width: 621px) {
  .compare-axis-col {
    width: 170px;
  }

  .compare-item-col {
    width: 260px;
  }

  .compare-table[data-count="2"] {
    min-width: 690px;
  }

  .compare-table[data-count="3"] {
    min-width: 950px;
  }

  .compare-table[data-count="4"] {
    min-width: 1210px;
  }

  .compare-table[data-count="5"] {
    min-width: 1470px;
  }

  .compare-table[data-count="6"] {
    min-width: 1730px;
  }

  .compare-table[data-count="7"] {
    min-width: 1990px;
  }
}

@media (max-width: 620px) {
  .comparison-band .table-wrap {
    border-radius: 8px;
  }

  .compare-card-head .compare-header-remove {
    align-self: center;
  }

  .compare-card .feature-tip {
    width: 100%;
  }

  .compare-card .feature-tip summary {
    width: 100%;
    border-radius: 18px;
  }
}

/* --------------------------------------------------------------------------
   2026 Apple-inspired interaction and visual refinement
   -------------------------------------------------------------------------- */

:root {
  --paper: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #f1f1f3;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.14);
  --line-strong: rgba(29, 29, 31, 0.22);
  --teal: #007a75;
  --teal-soft: #e7f5f3;
  --green: #2d7d46;
  --amber: #8a5b00;
  --coral: #b5443c;
  --blue: #006edb;
  --focus: #006edb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 18px 44px rgba(0, 0, 0, 0.055);
  --shadow-raised: 0 8px 22px rgba(0, 0, 0, 0.07), 0 28px 64px rgba(0, 0, 0, 0.08);
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
  background: var(--paper);
  scroll-padding-top: 24px;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(116, 196, 189, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(139, 176, 224, 0.1), transparent 34rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(0, 122, 117, 0.2);
}

:where(a, button, input, summary, [tabindex="0"]):focus-visible,
.skip-target:focus {
  outline: 3px solid rgba(0, 110, 219, 0.86);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.94);
}

.skip-links {
  top: 12px;
  left: 12px;
  gap: 6px;
}

.skip-links a {
  border: 0;
  border-radius: 12px;
  background: rgba(29, 29, 31, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(160%);
}

.topbar {
  position: relative;
  align-items: center;
  padding: 34px clamp(20px, 4vw, 64px) 30px;
  border-bottom: 0;
}

.topbar::after {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 0;
  left: clamp(20px, 4vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 9%, var(--line-strong) 91%, transparent);
  content: "";
}

.brand {
  min-width: 0;
}

.brand h1 {
  max-width: none;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.brand-support {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 520;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.kicker {
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: 0.13em;
}

.summary-strip {
  grid-template-columns: repeat(3, minmax(84px, 1fr));
  min-width: min(390px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 36px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(24px) saturate(175%);
}

.summary-strip div {
  padding: 16px 18px;
  border-left-color: var(--line);
}

.summary-strip span {
  font-size: 1.75rem;
  font-weight: 720;
  letter-spacing: -0.045em;
}

.summary-strip small {
  margin-top: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

main {
  width: min(1720px, 100%);
  margin-inline: auto;
  padding: 28px clamp(16px, 3vw, 48px) 72px;
}

.workbench {
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}

.control-panel {
  top: 18px;
  max-height: calc(100vh - 36px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  scrollbar-color: rgba(29, 29, 31, 0.22) transparent;
  scrollbar-width: thin;
  backdrop-filter: blur(26px) saturate(165%);
}

.control-panel::-webkit-scrollbar {
  width: 7px;
}

.control-panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.22);
  background-clip: padding-box;
}

.search-box,
.filter-block,
.filter-note {
  padding: 18px 18px 19px;
  border-bottom-color: var(--line);
}

.search-box {
  position: relative;
}

.search-box span,
.filter-block h2 {
  margin-bottom: 11px;
  color: #4d4d52;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.search-box input {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 14px;
  padding: 11px 13px 11px 38px;
  background:
    radial-gradient(circle at 18px 22px, transparent 6px, #77777c 6.5px, #77777c 8px, transparent 8.5px),
    linear-gradient(45deg, transparent 48%, #77777c 49%, #77777c 58%, transparent 59%) 24px 28px / 8px 8px no-repeat,
    rgba(245, 245, 247, 0.86);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03) inset;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.search-box input:focus {
  border-color: rgba(0, 122, 117, 0.56);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 122, 117, 0.1);
}

#makerFilters,
#gradeFilters,
#screenSizeFilters,
#screenTypeFilters {
  gap: 8px;
}

#makerFilters .chip:first-child,
#gradeFilters .chip:first-child,
#screenSizeFilters .chip:first-child,
#screenTypeFilters .chip:first-child {
  grid-column: 1 / -1;
}

.chip,
.ghost-button,
.preset-button,
.compare-button,
.db-button,
.compare-header-remove,
.dialog-close,
.dialog-compare-jump,
.mobile-jumpbar a,
.compare-fab {
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 120ms ease-out,
    border-color 160ms ease-out,
    background-color 160ms ease-out,
    color 160ms ease-out,
    box-shadow 180ms ease-out;
}

.chip,
.ghost-button,
.preset-button,
.compare-button,
.db-button {
  min-height: 44px;
  border-color: var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  font-weight: 650;
}

.chip {
  color: #4b4b50;
}

.chip.is-active {
  border-color: rgba(0, 122, 117, 0.32);
  background: var(--teal-soft);
  color: #006561;
  box-shadow: 0 0 0 1px rgba(0, 122, 117, 0.08) inset;
}

.selected-mark {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.64rem;
}

.filter-note {
  border-bottom: 0;
  background: rgba(245, 245, 247, 0.78);
}

.filter-note strong {
  color: #404044;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.filter-note p {
  font-size: 0.79rem;
  line-height: 1.7;
}

.result-head,
.section-head {
  align-items: flex-end;
  margin-bottom: 18px;
}

.result-head h2,
.section-head h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.result-helper {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}

.ghost-button {
  border-color: transparent;
  padding-inline: 15px;
  background: rgba(255, 255, 255, 0.74);
  color: #3a3a3e;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ghost-button:disabled {
  border-color: transparent;
  background: rgba(235, 235, 237, 0.58);
  color: #a1a1a6;
  box-shadow: none;
}

.series-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

.series-card {
  grid-template-rows: 108px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms ease-out, border-color 180ms ease-out;
}

.card-media {
  height: 108px;
  padding: 10px 14px;
  border-bottom: 4px solid var(--accent, var(--teal));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 249, 0.9)),
    #fff;
}

.card-media img.maker-logo-image,
.maker-logo img.maker-logo-image {
  width: 100%;
  max-width: 100%;
  height: 80px;
  max-height: 80px;
  object-fit: contain;
  filter: saturate(0.92);
}

.card-body {
  gap: 11px;
  padding: 19px 19px 18px;
}

.maker-label {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.series-title {
  gap: 7px;
}

.series-title h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 740;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.grade {
  color: var(--accent-text, var(--teal));
  font-size: 0.76rem;
  font-weight: 720;
}

.year-badge {
  border-color: rgba(0, 122, 117, 0.2);
  padding: 4px 8px;
  background: var(--teal-soft);
  color: #00615d;
  font-size: 0.67rem;
  font-weight: 720;
}

.headline {
  min-height: 0;
  font-size: 0.96rem;
  font-weight: 680;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.card-model,
.card-stand,
.card-fit {
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.card-model strong,
.card-stand strong {
  color: #4d4d52;
  font-weight: 700;
}

.card-fit strong {
  border-radius: 7px;
  background: var(--teal-soft);
  color: #00645f;
  font-size: 0.66rem;
  font-weight: 720;
}

.card-highlights {
  gap: 6px;
}

.card-feature-chip {
  min-height: 34px;
  border-color: rgba(132, 89, 0, 0.2);
  padding: 6px 9px;
  background: #fff8dd;
  color: #5e4300;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.3;
}

.feature-badge {
  border: 0;
  padding: 3px 6px;
  background: #f4d873;
  color: #574000;
  font-size: 0.61rem;
  font-weight: 760;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(104px, 0.85fr);
  gap: 9px;
  padding-top: 3px;
}

.card-actions .compare-button,
.card-actions .db-button {
  width: 100%;
}

.compare-button {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
  box-shadow: 0 5px 14px rgba(0, 122, 117, 0.16);
}

.compare-button.is-selected {
  border-color: rgba(0, 122, 117, 0.25);
  background: var(--teal-soft);
  color: #00605c;
  box-shadow: none;
}

.compare-button:disabled {
  border-color: transparent;
  background: #e5e5e7;
  color: #9a9a9f;
  box-shadow: none;
}

.db-button {
  border-color: var(--line);
  background: rgba(240, 240, 242, 0.82);
  color: #323236;
}

.comparison-band,
.guide-band {
  margin-top: 46px;
  border-top: 0;
  padding-top: 0;
}

.comparison-band {
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 28px;
  padding: clamp(18px, 2.5vw, 30px);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(22px) saturate(150%);
}

.empty-state {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 20px;
  padding: 22px;
  background: rgba(245, 245, 247, 0.78);
  color: var(--muted);
}

.empty-state-icon {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 400;
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.empty-state p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.empty-state a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.comparison-band .table-wrap {
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.compare-caption {
  border-bottom-color: var(--line);
  background: #f7f7f8;
}

.compare-table th,
.compare-table td {
  border-color: var(--line);
}

.compare-table thead th,
.compare-table tbody th {
  background: #f2f2f4;
}

.compare-table tbody tr:nth-child(even) td,
.compare-feature-row td,
.compare-sales-row td,
.compare-customer-row td,
.compare-spec-row td {
  background: #fff;
}

.compare-header-remove {
  border-color: transparent;
  background: rgba(29, 29, 31, 0.06);
}

.maker-guide {
  gap: clamp(16px, 1.6vw, 24px);
}

.maker-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms ease-out;
}

.maker-logo {
  height: 108px;
  padding: 10px 12px;
  border-bottom-width: 4px;
  background: linear-gradient(145deg, #fff, #f7f7f9);
}

.maker-copy {
  padding: 18px;
}

.maker-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.maker-card p {
  font-size: 0.84rem;
  line-height: 1.72;
}

.maker-card a {
  color: var(--teal);
  text-underline-offset: 3px;
}

.compare-fab {
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 32px);
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.88);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  backdrop-filter: blur(20px) saturate(165%);
}

.compare-fab strong,
.dialog-compare-jump span {
  background: #26a69f;
}

.catalog-dialog {
  width: min(780px, calc(100vw - 32px));
  max-height: min(92vh, 920px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(252, 252, 253, 0.94);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(32px) saturate(170%);
  transform-origin: 82% 12%;
}

.catalog-dialog[open] {
  animation: dialog-materialize 320ms cubic-bezier(.2, .85, .25, 1) both;
}

.catalog-dialog::backdrop {
  background: rgba(20, 22, 24, 0.42);
  backdrop-filter: blur(6px);
  animation: backdrop-appear 220ms ease-out both;
}

@keyframes dialog-materialize {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.965);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes backdrop-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.catalog-dialog-inner {
  max-height: min(90vh, 900px);
}

.dialog-toolbar {
  min-height: 62px;
  padding: 10px 12px;
  background: rgba(252, 252, 253, 0.76);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(170%);
}

.dialog-close {
  border-color: transparent;
  background: rgba(29, 29, 31, 0.07);
  font-size: 1.15rem;
  font-weight: 500;
}

.dialog-compare-jump {
  border-color: transparent;
  background: rgba(29, 29, 31, 0.88);
}

.catalog-record {
  gap: 20px;
  padding: 12px 28px 30px;
}

.catalog-record-head {
  border-left-width: 4px;
  border-radius: 3px;
}

.catalog-record-head h2 {
  font-weight: 740;
  letter-spacing: -0.035em;
}

.catalog-fields,
.db-panels,
.spec-grid,
.catalog-fit {
  overflow: hidden;
  border-color: var(--line);
  border-radius: 16px;
  background: rgba(245, 245, 247, 0.78);
}

.catalog-fields div,
.db-panels > div,
.spec-grid > div {
  border-color: var(--line);
}

.catalog-fit {
  border-left: 4px solid var(--accent, var(--teal));
}

.feature-tip summary {
  border-color: var(--line);
  background: rgba(245, 245, 247, 0.8);
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out;
}

.feature-tip[open] summary {
  border-color: rgba(0, 122, 117, 0.24);
  background: var(--teal-soft);
}

.feature-tip summary::after {
  background: rgba(0, 122, 117, 0.12);
  color: var(--teal);
  font-size: 0.9rem;
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), background-color 160ms ease-out;
}

.feature-tip[open] summary::after {
  transform: rotate(180deg);
}

.feature-tip p {
  border-left-color: var(--accent, var(--teal));
  border-radius: 0 10px 10px 0;
  background: rgba(245, 245, 247, 0.7);
}

.no-results,
.fatal-error {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@media (hover: hover) and (pointer: fine) {
  .series-card:hover,
  .maker-card:hover {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-raised);
    transform: translateY(-3px);
  }

  .chip:hover,
  .ghost-button:not(:disabled):hover,
  .db-button:hover,
  .dialog-close:hover,
  .compare-header-remove:hover {
    background-color: #fff;
    border-color: var(--line-strong);
  }

  .compare-button:not(:disabled):hover {
    background: #006d69;
    box-shadow: 0 7px 18px rgba(0, 122, 117, 0.22);
  }

  .compare-button.is-selected:hover {
    background: #dcefeb;
    color: #005a56;
    box-shadow: none;
  }

  .compare-fab:hover {
    background: rgba(29, 29, 31, 0.96);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
    transform: translateY(-2px);
  }
}

:where(.chip, .ghost-button, .preset-button, .compare-button, .db-button, .compare-header-remove, .dialog-close, .dialog-compare-jump, .mobile-jumpbar a, .compare-fab):active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

@media (max-width: 980px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .control-panel {
    position: static;
    max-height: none;
    overflow-y: visible;
    border-radius: 22px;
  }

  .series-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    scroll-padding-top: 12px;
    scroll-padding-bottom: 110px;
  }

  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 30% 0%, rgba(116, 196, 189, 0.1), transparent 22rem),
      var(--paper);
  }

  .topbar,
  main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .topbar {
    gap: 16px;
    padding-top: calc(22px + env(safe-area-inset-top));
    padding-bottom: 18px;
  }

  .topbar::after {
    right: 14px;
    left: 14px;
  }

  .brand h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    letter-spacing: -0.05em;
  }

  .brand-support {
    margin-top: 8px;
    font-size: 0.85rem;
  }

  .summary-strip {
    border-radius: 17px;
  }

  .summary-strip div {
    padding: 12px 10px;
  }

  .summary-strip span {
    font-size: 1.35rem;
  }

  main {
    padding-top: 18px;
    padding-bottom: 48px;
  }

  .control-panel {
    border-radius: 20px;
  }

  .search-box,
  .filter-block,
  .filter-note {
    padding: 16px;
  }

  .result-head,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .result-head .ghost-button,
  .section-head .ghost-button {
    align-self: stretch;
  }

  .series-card {
    border-radius: 21px;
    grid-template-rows: 96px minmax(0, 1fr);
  }

  .series-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-media {
    height: 96px;
  }

  .card-media img.maker-logo-image {
    height: 72px;
    max-height: 72px;
  }

  .card-body {
    padding: 17px 16px 16px;
  }

  .series-title h3 {
    font-size: 1.42rem;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1.25fr) minmax(100px, 0.9fr);
    padding-top: 6px;
  }

  .comparison-band {
    margin-top: 34px;
    border-radius: 22px;
    padding: 17px 14px;
  }

  .guide-band {
    margin-top: 38px;
  }

  .empty-state {
    align-items: flex-start;
    border-radius: 17px;
    padding: 17px;
  }

  .maker-card {
    border-radius: 21px;
  }

  .catalog-dialog {
    width: 100vw;
    max-width: none;
    max-height: 92vh;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 26px 26px 0 0;
    transform-origin: 50% 100%;
  }

  .catalog-dialog[open] {
    animation-name: sheet-materialize;
  }

  @keyframes sheet-materialize {
    from {
      opacity: 0.7;
      transform: translateY(38px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .catalog-dialog-inner {
    max-height: 92vh;
  }

  .dialog-toolbar::before {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.18);
    content: "";
    transform: translateX(-50%);
  }

  .dialog-toolbar {
    min-height: 66px;
    padding-top: 16px;
  }

  .catalog-record {
    padding: 10px 16px calc(28px + env(safe-area-inset-bottom));
  }

  .mobile-jumpbar {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(246, 246, 248, 0.78);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(26px) saturate(180%);
  }

  .mobile-jumpbar a {
    min-height: 46px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #3e3e43;
    font-size: 0.78rem;
  }

  .mobile-jumpbar span {
    background: var(--teal);
  }
}

@media (max-width: 380px) {
  .topbar,
  main {
    padding-right: 10px;
    padding-left: 10px;
  }

  .topbar::after {
    right: 10px;
    left: 10px;
  }

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

@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;
  }

  .series-card:hover,
  .maker-card:hover,
  .compare-fab:hover,
  :where(.chip, .ghost-button, .preset-button, .compare-button, .db-button, .compare-header-remove, .dialog-close, .dialog-compare-jump, .mobile-jumpbar a, .compare-fab):active {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .summary-strip,
  .control-panel,
  .comparison-band,
  .compare-fab,
  .catalog-dialog,
  .dialog-toolbar,
  .mobile-jumpbar {
    background: var(--surface-solid);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(29, 29, 31, 0.48);
    --line-strong: rgba(29, 29, 31, 0.7);
  }

  .summary-strip,
  .control-panel,
  .series-card,
  .comparison-band,
  .maker-card,
  .catalog-dialog,
  .mobile-jumpbar {
    border-color: var(--line-strong);
    background: #fff;
  }
}

/* The same field presentation is used in the comparison table, mobile cards and detail dialog. */
#compareEmpty[hidden] {
  display: none;
}

.compare-table .compare-category-heading th {
  position: static;
  padding: 12px 16px;
  border-left: 0;
  background: #dcebe7;
  color: #075c55;
  font-size: 0.96rem;
  font-weight: 900;
}

.compare-category-row th {
  color: #263733;
  font-size: 0.84rem;
}

.compare-category-row td {
  min-width: 0;
  background: #fff;
}

.category-values {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.category-plain {
  display: block;
  font-size: 0.87rem;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.category-port-total {
  display: block;
  color: var(--accent-text, var(--teal));
  font-size: 0.84rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.category-unknown,
.category-partial,
.category-unsupported {
  color: #755a28;
  font-size: 0.76rem;
  font-weight: 800;
}

.category-unsupported {
  color: #76534b;
}

.category-feature {
  min-width: 0;
  border: 1px solid #c8d9d3;
  border-radius: 11px;
  background: #f7faf8;
}

.category-feature summary {
  padding: 8px 10px;
  color: #174b44;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.category-feature[open] summary {
  border-bottom: 1px solid #d5e3dd;
}

.category-feature p {
  margin: 0;
  padding: 9px 10px 10px;
  color: #273733;
  font-size: 0.79rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.compare-card-category {
  border-top: 1px solid var(--line);
}

.compare-card-category h4 {
  margin: 0;
  padding: 11px 15px;
  background: #dcebe7;
  color: #075c55;
  font-size: 0.92rem;
}

.compare-card-category dl > div {
  grid-template-columns: minmax(88px, 29%) minmax(0, 1fr);
}

.detail-models {
  overflow-wrap: anywhere;
}

.category-detail-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.category-detail-fields > div {
  min-width: 0;
  border: 1px solid #dedbd4;
  border-radius: 12px;
  padding: 11px;
  background: #fff;
}

.category-detail-fields dt {
  margin-bottom: 7px;
  color: #52615b;
  font-size: 0.76rem;
  font-weight: 850;
}

.category-detail-fields dd {
  min-width: 0;
  margin: 0;
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.compare-difference-button[aria-pressed="true"] {
  border-color: rgba(0, 122, 117, 0.42);
  background: #e3f4f1;
  color: #005d58;
  box-shadow: 0 0 0 1px rgba(0, 122, 117, 0.1) inset;
}

.compare-difference-button[aria-pressed="true"]::before {
  content: "✓ ";
}

.compare-diff-summary {
  margin: 0 0 12px;
  color: #075c55;
  font-size: 0.83rem;
  font-weight: 750;
  line-height: 1.5;
}

.compare-diff-summary[hidden] {
  display: none;
}

.compare-no-differences {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 680px) {
  .category-detail-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .compare-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .compare-actions .ghost-button {
    min-width: 0;
    padding-inline: 8px;
  }
}
