:root {
  --paper: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #f2f2f7;
  --ink: #1d1d1f;
  --muted: #64646a;
  --line: #d6d6dc;
  --teal: #0066cc;
  --green: #268145;
  --amber: #8a5a00;
  --coral: #bc4e45;
  --blue: #0066cc;
  --focus: #0071e3;
  --danger: #8b2f28;
  --shadow: 0 10px 30px rgba(22, 32, 50, 0.06);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif;
  font-synthesis: none;
  font-optical-sizing: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
}

button,
input {
  font: inherit;
}

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

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.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 {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

.skip-target:focus {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

.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-block h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: 0;
}

.brand-block h1 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
}

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

.update-line {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

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

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

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

.summary strong,
.summary span {
  display: block;
}

.summary strong {
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
}

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

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

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

.filters {
  position: sticky;
  top: 14px;
  min-width: 0;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  scrollbar-width: thin;
  scrollbar-color: #a49b8f transparent;
}

.search-field,
.filters fieldset,
.sales-note {
  min-width: 0;
  display: block;
  margin: 0;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.search-field > span,
.filters legend {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.search-field 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-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

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

.chip-list.stack {
  display: grid;
}

.filter-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  touch-action: manipulation;
}

.filter-chip span:empty {
  display: none;
}

.filter-chip span {
  width: 12px;
  flex: 0 0 auto;
  color: var(--teal);
  font-weight: 900;
  line-height: 1;
}

.filter-chip:hover {
  border-color: var(--teal);
}

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

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

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

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

.results {
  min-width: 0;
}

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

.section-heading h2 {
  font-size: 1.55rem;
  line-height: 1.2;
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.filter-summary {
  color: var(--muted);
  font-size: 0.78rem;
}

.ghost-button,
.preset-box button,
.detail-button,
.compare-button,
.maker-guide button,
.light-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  touch-action: manipulation;
}

.ghost-button {
  background: transparent;
}

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

.product-card {
  min-width: 0;
  min-height: 440px;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.card-media .maker-logo {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

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

.logo-fallback {
  color: var(--accent, var(--teal));
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

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

.series-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.series-title h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.5rem;
  line-height: 1.2;
}

.series-title span {
  flex: 0 0 auto;
  color: var(--accent, var(--teal));
  font-size: 0.76rem;
  font-weight: 850;
}

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

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

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

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

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

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

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

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

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

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

.no-results p {
  margin: 5px 0 0;
}

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

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

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

.preset-box {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

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

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

.compare-message {
  min-height: 1.45em;
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.compare-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: #fffdf9;
  color: var(--muted);
}

.compare-tools small {
  color: var(--muted);
}

.difference-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.difference-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.difference-toggle > span {
  position: relative;
  width: 40px;
  height: 23px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ddd6ca;
}

.difference-toggle > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(31, 30, 26, 0.25);
  transition: transform 0.18s ease;
}

.difference-toggle input:checked + span {
  border-color: var(--teal);
  background: var(--teal);
}

.difference-toggle input:checked + span::after {
  transform: translateX(17px);
}

.difference-toggle input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  outline: none;
  overscroll-behavior-x: contain;
}

.compare-legend {
  min-width: 760px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  background: #f8f3ea;
  color: #40534e;
  font-size: 0.72rem;
}

.compare-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.compare-legend i {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 1px solid #b88b20;
  background: #fff0a8;
}

.compare-legend small {
  color: var(--muted);
  white-space: nowrap;
}

.compare-table {
  width: max(100%, 760px);
  min-width: max-content;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.82rem;
}

.compare-table caption {
  caption-side: top;
  padding: 13px 14px;
  background: #edf5f1;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

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

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

.compare-table thead th {
  position: relative;
  background: #f2ece2;
  color: var(--ink);
  font-size: 0.84rem;
}

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

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

.compare-table tbody td {
  background: #fffdf9;
}

.compare-table tr.has-difference th,
.compare-table tr.has-difference td {
  background: #fff6d8;
}

.compare-table tr.is-same td {
  color: #59635f;
  background: #fffdf9;
}

.compare-table .compare-section-row th,
.compare-table .compare-group-row th {
  position: static;
  width: auto;
  max-width: none;
  border-left: 0;
  padding: 8px 12px;
  font-size: 0.72rem;
  box-shadow: none;
}

.compare-table .compare-section-row th {
  padding-block: 10px;
  background: #d6ebe6;
  color: #00554d;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.compare-table .compare-group-row th {
  background: #edf6f3;
  color: #345f56;
  font-weight: 800;
}

.difference-mark {
  float: right;
  min-width: 22px;
  border: 1px solid #b88b20;
  border-radius: 999px;
  padding: 1px 5px;
  background: #fffdf5;
  color: #654c08;
  font-size: 0.58rem;
  text-align: center;
}

.compare-table thead th span,
.compare-table thead th strong,
.compare-table thead th small {
  display: block;
}

.compare-table thead th span {
  color: var(--muted);
  font-size: 0.68rem;
}

.compare-table thead th strong,
.compare-table thead th small {
  padding-right: 24px;
}

.compare-table thead th small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 500;
}

.compare-table thead th button {
  position: absolute;
  top: 8px;
  right: 7px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: #fff;
  color: var(--ink);
}

.plain-list {
  margin: 0;
  padding-left: 17px;
}

.plain-list li + li {
  margin-top: 5px;
}

.feature-explainer-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-explainer {
  min-width: 0;
}

.feature-explainer summary,
.feature-name-only {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #9f978b;
  border-radius: 6px;
  padding: 7px 32px 7px 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.feature-name-only {
  padding-right: 10px;
}

.feature-explainer summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

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

.feature-explainer summary::marker {
  content: "";
}

.feature-explainer summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #7d8c87;
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.84rem;
  line-height: 1;
}

.feature-explainer[open] summary {
  border-color: var(--teal);
  background: #e7f4f2;
  color: #005d58;
}

.feature-explainer[open] summary::after {
  content: "−";
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.feature-explainer summary:hover {
  border-color: var(--teal);
}

.feature-explainer summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 34%, transparent);
  outline-offset: 2px;
}

.feature-explainer-copy {
  margin: 6px 1px 0;
  border-left: 3px solid var(--teal);
  padding: 8px 9px;
  background: #fffdf9;
  color: #40534e;
  font-size: 0.76rem;
  line-height: 1.6;
}

.no-difference-rows {
  padding: 32px !important;
  color: var(--muted);
  text-align: center;
}

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

.maker-guide article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

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

.maker-guide h3 {
  margin: 0;
  padding: 15px 15px 5px;
  font-size: 1rem;
}

.maker-guide p {
  margin: 0;
  padding: 0 15px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.maker-guide button {
  margin: auto 15px 15px;
  color: var(--accent, var(--teal));
  border-color: var(--accent, var(--teal));
  background: #fff;
}

.compare-fab {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 18;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  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;
}

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

.mobile-nav {
  display: none;
}

.detail-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);
}

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

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

.dialog-close {
  position: sticky;
  top: 0;
  z-index: 3;
  float: right;
  width: 44px;
  height: 44px;
  margin: 0 0 8px 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 5px solid var(--accent, var(--teal));
  padding: 8px 52px 8px 14px;
}

.detail-head .maker-logo {
  width: 104px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.detail-head .maker-logo img {
  max-height: 52px;
  object-fit: contain;
}

.detail-head p {
  margin: 0;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
}

.detail-head h2 {
  margin: 2px 0;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
}

.detail-head span {
  color: var(--muted);
  font-size: 0.78rem;
}

.detail-actions {
  margin: 18px 0;
}

.detail-actions .compare-button {
  min-width: 170px;
}

.detail-article section {
  margin-top: 24px;
}

.detail-article section h3 {
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.detail-difference {
  border: 1px solid var(--line);
  padding: 15px 17px;
  background: #f5efe5;
}

.detail-difference span,
.detail-difference strong {
  display: block;
}

.detail-difference span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 900;
}

.detail-difference strong {
  margin-top: 2px;
  font-size: 1rem;
}

.detail-difference p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

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

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

.spec-grid > div:nth-child(3n + 1) {
  border-left: 0;
}

.spec-grid > div:nth-child(-n + 3) {
  border-top: 0;
}

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

.spec-grid strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}

.feature-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.feature-group {
  min-width: 0;
}

.feature-group h4 {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 0.78rem;
}

.feature-group > div {
  border-left: 3px solid var(--accent, var(--teal));
  padding: 10px 12px;
  background: #faf8f4;
}

.feature-group > div + div {
  margin-top: 6px;
}

.feature-group p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.sales-talk {
  border: 1px solid var(--line);
  padding: 16px;
  background: #e3f4f1;
}

.sales-talk p {
  margin: 4px 0 0;
  color: #3f514c;
}

.source-details {
  border: 1px solid var(--line);
  background: #fffdf9;
}

.source-details summary {
  padding: 11px 13px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.source-details ul {
  margin: 0;
  padding: 0 15px 13px 32px;
}

.source-details li + li {
  margin-top: 7px;
}

.source-details a {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.source-details span {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
}

.muted {
  color: #777168;
  font-size: 0.76rem;
}

.not-applicable {
  color: #655f57;
  font-size: 0.76rem;
}

.fatal-error {
  width: min(640px, 90%);
  margin: 80px auto;
  border: 1px solid #9d2f2f;
  padding: 20px;
  background: #fff4f2;
  color: #7b1f1f;
  font-weight: 800;
}

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

  .summary {
    min-width: 0;
  }

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

  .filters {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .chip-list.stack {
    display: flex;
  }

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

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

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

  body {
    padding-bottom: 74px;
  }

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

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

  .brand-block h1 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
    line-height: 1.04;
  }

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

  main {
    padding-top: 14px;
  }

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

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

  .summary strong {
    font-size: 1.25rem;
  }

  .filters,
  .product-card,
  .compare-wrap,
  .maker-guide article {
    box-shadow: 0 8px 22px rgba(31, 30, 26, 0.07);
  }

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

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

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

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

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

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

  .series-title {
    align-items: start;
  }

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

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

  .talk {
    font-size: 0.86rem;
  }

  .section-heading,
  .compare-tools,
  .compare-presets {
    align-items: stretch;
    flex-direction: column;
  }

  .result-actions {
    justify-content: space-between;
  }

  .compare-fab {
    display: none;
  }

  .compare-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .compare-table th,
  .compare-table td {
    width: 190px;
    max-width: 210px;
    padding: 11px 10px;
  }

  .compare-table thead th:first-child,
  .compare-table tbody th {
    width: 112px;
    min-width: 112px;
  }

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

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

  .mobile-nav 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;
  }

  .detail-dialog {
    width: calc(100vw - 18px);
    margin-bottom: 80px;
  }

  .dialog-shell {
    max-height: 86vh;
    padding: 18px 14px;
  }

  .detail-head {
    align-items: flex-start;
  }

  .detail-head .maker-logo {
    width: 82px;
  }

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

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

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

  .spec-grid > div:nth-child(2n + 1) {
    border-left: 0;
  }

  .spec-grid > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .feature-groups {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .spec-grid > div,
  .spec-grid > div:nth-child(2n + 1),
  .spec-grid > div:nth-child(3n + 1) {
    border-left: 0;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* A quiet, system-native visual layer for comparing detailed catalog data. */
.topbar {
  align-items: center;
  border-bottom: 1px solid rgba(214, 214, 220, 0.72);
  background: linear-gradient(150deg, #fff 0%, #f9f9fb 100%);
}

.brand-block h1 {
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.055em;
}

.summary {
  overflow: hidden;
  border-color: #e4e4e9;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(22, 32, 50, 0.035);
}

.summary div {
  border-left-color: #e8e8ed;
}

.summary strong {
  font-weight: 760;
  letter-spacing: -0.025em;
}

main {
  max-width: 1800px;
  margin-inline: auto;
}

.workbench {
  gap: clamp(18px, 2vw, 28px);
}

.filters,
.product-card,
.compare-wrap,
.maker-guide article {
  overflow: hidden;
  border: 1px solid #e4e4e9;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.filters {
  overflow-y: auto;
  scrollbar-color: #c3c3cb transparent;
}

.search-field,
.filters fieldset,
.sales-note {
  border-bottom-color: #e8e8ed;
}

.search-field > span,
.filters legend,
.maker-label {
  color: #56565c;
  font-weight: 740;
}

.search-field input {
  border-color: #d5d5dc;
  border-radius: 12px;
  background: #f8f8fa;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.search-field input:focus {
  border-color: var(--focus);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
  outline: 0;
}

.filter-chip,
.ghost-button,
.preset-box button,
.detail-button,
.compare-button,
.maker-guide button,
.light-button {
  border-color: #d7d7de;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 120ms ease-out, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.filter-chip {
  background: #f8f8fa;
}

.filter-chip:hover,
.preset-box button:hover {
  border-color: #a8cdf4;
  background: #eef6ff;
  color: #004b99;
}

.filter-chip.active {
  border-color: #0071e3;
  background: #eaf4ff;
  color: #004b99;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.12);
}

.filter-chip span {
  color: var(--teal);
}

.sales-note {
  background: #f8f8fb;
}

.section-heading h2 {
  font-weight: 760;
  letter-spacing: -0.025em;
}

.product-grid,
.maker-guide {
  gap: 16px;
}

.product-card {
  min-height: 420px;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .maker-guide article:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 38px rgba(22, 32, 50, 0.1);
  }
}

.card-media,
.maker-guide .maker-logo {
  border-bottom: 1px solid #e8e8ed;
  background: #f9f9fb;
}

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

.series-title h3 {
  font-weight: 760;
  letter-spacing: -0.02em;
}

.headline {
  font-weight: 690;
}

.talk {
  color: #606068;
}

.tag-list span {
  border-color: #e5e5ea;
  background: #f7f7f9;
  color: #56565c;
  font-weight: 640;
}

.compare-button {
  border-color: #0066cc;
  background: #0066cc;
  color: #fff;
}

.compare-button:hover:not(:disabled) {
  border-color: #0053ab;
  background: #0053ab;
}

.compare-button.selected {
  border-color: #b6d7f7;
  background: #e9f3ff;
  color: #0053ab;
}

.compare-button.selected:hover {
  background: #dcecff;
}

.compare-button:disabled {
  border-color: #e5e5ea;
  background: #ededf0;
  color: #898991;
}

.detail-button {
  border-color: #e4e4e9;
  background: #f1f1f4;
  color: #1d1d1f;
}

.detail-button:hover,
.ghost-button:hover,
.light-button:hover {
  background: #e7e7ed;
}

:where(.filter-chip, .ghost-button, .preset-box button, .detail-button, .compare-button, .maker-guide button, .light-button, .mobile-nav a, .compare-fab, .dialog-close):active {
  transform: scale(0.975);
  transition-duration: 60ms;
}

.compare-section,
.guide-section {
  border-top-color: #e0e0e6;
}

.preset-box button,
.compare-tools,
.compare-empty {
  background: #fff;
}

.compare-tools,
.compare-empty,
.detail-difference,
.source-details,
.sales-talk,
.no-results {
  border-color: #e2e2e8;
  border-radius: 16px;
}

.difference-toggle > span {
  border-color: #c9c9d1;
  background: #c9c9d1;
}

.difference-toggle input:checked + span {
  border-color: #0071e3;
  background: #0071e3;
}

.detail-difference {
  background: #eef6ff;
}

.compare-legend,
.compare-table caption,
.compare-table thead th,
.compare-table thead th:first-child,
.compare-table tbody th {
  background: #f7f7f9;
}

.compare-legend {
  border-bottom-color: #e7e7ed;
  color: #56565c;
}

.compare-table caption {
  border-bottom: 1px solid #e8e8ed;
  font-weight: 750;
}

.compare-table th,
.compare-table td {
  border-color: #e5e5ea;
}

.compare-table tbody td,
.compare-table tr.is-same td {
  background: #fff;
}

.compare-table tr.has-difference th,
.compare-table tr.has-difference td {
  background: #fff8e5;
}

.compare-table .compare-section-row th {
  background: #e8f2ff;
  color: #004b99;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.compare-table .compare-group-row th {
  background: #f2f7ff;
  color: #3f5c7e;
}

.feature-explainer summary,
.feature-name-only {
  border-color: #dfdfe5;
  border-radius: 10px;
  background: #fff;
}

.feature-explainer[open] summary {
  border-color: #a8cdf4;
  background: #eff7ff;
  color: #004b99;
}

.feature-explainer-copy {
  border-left-color: #0071e3;
  border-radius: 0 8px 8px 0;
  background: #f8fbff;
  color: #4b5c6d;
}

.maker-guide article {
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.maker-guide button {
  color: #0066cc;
  border-color: #a8cdf4;
}

.compare-fab {
  border-color: #0053ab;
  background: #0066cc;
  box-shadow: 0 12px 34px rgba(0, 83, 171, 0.27);
}

.compare-fab strong,
.mobile-nav span {
  background: rgba(255, 255, 255, 0.22);
}

.detail-dialog {
  border-color: #e2e2e8;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(22, 32, 50, 0.28);
}

.detail-dialog::backdrop {
  background: rgba(18, 25, 36, 0.46);
  backdrop-filter: blur(5px);
}

.dialog-close {
  border-color: #e3e3e9;
  background: #f2f2f5;
}

.detail-head {
  border-left-width: 3px;
}

.detail-head h2 {
  letter-spacing: -0.025em;
}

.spec-grid {
  overflow: hidden;
  border-color: #e3e3e9;
  border-radius: 14px;
  background: #f9f9fb;
}

.spec-grid > div {
  border-color: #e3e3e9;
}

.feature-group > div {
  border-radius: 0 9px 9px 0;
  background: #f8f8fa;
}

.sales-talk {
  background: #eef6ff;
}

.source-details {
  background: #fafafd;
}

@media (max-width: 620px) {
  .topbar {
    gap: 14px;
  }

  .brand-block h1 {
    letter-spacing: -0.03em;
  }

  .summary {
    border-radius: 14px;
  }

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

  .mobile-nav {
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 7px;
    background: rgba(248, 248, 251, 0.78);
    box-shadow: 0 12px 38px rgba(22, 32, 50, 0.18);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
  }

  .mobile-nav a {
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #3b3b43;
    font-weight: 730;
    transition: transform 120ms ease-out, background-color 160ms ease;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: rgba(0, 113, 227, 0.09);
  }

  .mobile-nav span {
    background: #0066cc;
  }

  .detail-dialog {
    width: calc(100vw - 18px);
    border-radius: 20px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mobile-nav {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .detail-dialog::backdrop {
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: #71717a;
    --muted: #3f3f46;
  }

  .filters,
  .product-card,
  .compare-wrap,
  .maker-guide article,
  .mobile-nav {
    border-color: #71717a;
    background: #fff;
  }

  .filter-chip,
  .ghost-button,
  .preset-box button,
  .detail-button,
  .compare-button {
    border-color: #52525b;
  }
}
