.cmp-stats {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--sc-line); border-radius: 16px;
  background: var(--sc-card); box-shadow: var(--sc-shadow);
}
.cmp-stat {
  flex: 1 1 190px; min-width: 0;
  display: flex; align-items: center; gap: 13px;
  padding: 14px 18px;
}

.cmp-stat + .cmp-stat { box-shadow: inset 1px 0 0 var(--sc-line); }
.cmp-stat__ic {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid #ffd9b3; background: #fff6ec;
  color: var(--sc-brand); font-size: 1.1rem;
}
.cmp-stat__n {
  flex: 0 0 auto;
  font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--sc-ink); font-variant-numeric: tabular-nums;
}
.cmp-stat__l { min-width: 0; font-size: 0.9rem; line-height: 1.35; color: var(--sc-muted); }

.cmp-wrap {
  border: 1px solid var(--sc-line); border-radius: 16px;
  background: var(--sc-card); box-shadow: var(--sc-shadow);
  overflow: hidden;
}
.cmp {
  width: 100%; table-layout: fixed; border-collapse: collapse;
  font-size: 0.9rem;
}

.cmp__caption {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.cmp__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.cmp thead th {
  padding: 13px 18px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--sc-line);
  font-size: 0.78rem; font-weight: 600; color: var(--sc-muted);
}
.cmp thead th:last-child { text-align: right; }
.cmp tbody th, .cmp tbody td {
  padding: 16px 18px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--sc-line);
  font-weight: 400; color: var(--sc-body);
  overflow-wrap: anywhere;
}
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background 0.12s ease; }
.cmp tbody tr:hover { background: #fdfaf5; }

.cmp thead th:nth-child(1) { width: 18%; }
.cmp thead th:nth-child(2) { width: 11%; }
.cmp thead th:nth-child(3) { width: 12%; }
.cmp thead th:nth-child(4) { width: 16%; }
.cmp thead th:nth-child(5) { width: 15%; }
.cmp thead th:nth-child(6) { width: 15%; }
.cmp thead th:nth-child(7) { width: 13%; }

.cmp-co { display: flex; align-items: center; gap: 14px; min-width: 0; }

.cmp-mark {
  position: relative; overflow: hidden; flex: 0 0 auto;
  width: 66px; height: 66px; border-radius: 16px;
  background: #fff1e2;
}
.cmp-mark__txt {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--sc-brand-deep);
}

.cmp-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #fff; }

.cmp__name { font-weight: 700; font-size: 1.02rem; color: var(--sc-ink); }
.cmp__fit { display: block; margin-top: 2px; color: var(--sc-muted); font-size: .72rem; font-weight: 500; }

.cmp-counts { display: flex; align-items: center; gap: 0; }

.cmp-count {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0 4px; text-align: center;
}
.cmp-count + .cmp-count { border-left: 1px solid var(--sc-line); }

.cmp-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 100%; }

.cmp-chip {
  display: inline-block; max-width: 100%;
  padding: 4px 10px; border-radius: 14px;
  border: 1px solid var(--sc-chip-line); background: var(--sc-chip-bg);
  font-size: 0.74rem; font-weight: 600; line-height: 1.35; color: var(--sc-chip-ink);

  white-space: normal; text-overflow: clip; overflow: visible; overflow-wrap: break-word;
}

.cmp-chip i { display: inline-block; margin-right: 5px; vertical-align: -0.08em; color: var(--sc-muted); font-size: 0.88em; }
.cmp-chip--more { color: var(--sc-muted); }

.cmp__reviewed { font-size: 0.8rem; color: var(--sc-muted); line-height: 1.4; }
.cmp__none { color: var(--sc-muted); font-size: 0.86rem; }

.cmp__action { text-align: right; }

.cmp__go {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: none; padding: 0; border-radius: 0; box-shadow: none;

  color: var(--sc-brand-deep); font-size: 0.86rem; font-weight: 700; text-decoration: none;
}
.cmp__go i { transition: transform 0.15s ease; }
.cmp__go:hover { text-decoration: underline; text-underline-offset: 3px; }
.cmp__go:hover i { transform: translateX(3px); }
.cmp__go:focus-visible { outline: 2px solid var(--sc-brand); outline-offset: 3px; border-radius: 4px; }

.cmp__go i svg, .dir-row__go i svg { stroke-width: 2.75; }
.cmp__go i, .dir-row__go i { font-size: 0.92em; }@media (prefers-reduced-motion: reduce) {

  .cmp__go:hover { transform: none; }
  .cmp__go:hover i { transform: none; }
}

@media (max-width: 1200px) {

  .cmp-wrap { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  .cmp, .cmp tbody, .cmp tbody tr, .cmp tbody th, .cmp tbody td { display: block; width: auto; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  .cmp tbody tr {
    margin: 0 0 12px; padding: 6px 18px 14px;
    border: 1px solid var(--sc-line); border-radius: 16px;
    background: var(--sc-card); box-shadow: var(--sc-shadow);
  }
  .cmp tbody tr:hover { background: var(--sc-card); }
  .cmp tbody th, .cmp tbody td { padding: 12px 0; border-bottom: 1px solid var(--sc-line); }
  .cmp tbody tr th:first-child { padding-top: 14px; }
  .cmp tbody tr td:last-child { border-bottom: 0; padding-bottom: 2px; }

  .cmp tbody td[data-label]::before {
    content: attr(data-label);
    display: block; margin-bottom: 6px;
    font-size: 0.74rem; font-weight: 700; color: var(--sc-muted);
  }
  .cmp-counts { justify-content: flex-start; gap: 26px; }
  .cmp-count { flex: 0 0 auto; align-items: flex-start; padding: 0; text-align: left; }
  .cmp-count + .cmp-count { border-left: 0; }
  .cmp-chips { flex-direction: row; flex-wrap: wrap; }
  .cmp__action { text-align: left; }
}
@media (max-width: 620px) {

  .cmp-stat { flex: 1 1 100%; padding: 16px 18px; }

  .cmp-stat + .cmp-stat { box-shadow: inset 0 1px 0 var(--sc-line); }
  .cmp-stat__n { font-size: 1.6rem; }
}

.cmp-head { padding: clamp(30px, 4vw, 52px) 0 clamp(22px, 2.6vw, 32px); }
.cmp-head__claim { min-width: 0; }
.cmp-head h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  line-height: .96;
  letter-spacing: -.05em;
}
.cmp-head__claim > p {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--sc-body);
}

.cmp-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  border: 1px solid var(--sc-line);
  border-radius: 16px;
  background: var(--sc-card);
}
.cmp-stat {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 20px 26px;
}
.cmp-stat + .cmp-stat { box-shadow: inset 1px 0 0 var(--sc-line); }
.cmp-stat__ic {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff1e2;
  color: var(--sc-brand);
  font-size: 1.05rem;
}
.cmp-stat__n {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cmp-stat__l {
  min-width: 0;
  color: var(--sc-muted);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.25;
}

.cmp-tools {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}
.cmp-tools[hidden] { display: none; }
.cmp-tools__search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: var(--sc-card);
}
.cmp-tools__search i { flex: 0 0 auto; color: var(--sc-muted); font-size: .85rem; }
.cmp-tools__search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--sc-ink);
  font: inherit;
  font-size: .92rem;
}
.cmp-tools__search input:focus { outline: none; }
.cmp-tools__search:focus-within { border-color: var(--sc-ink); }
.cmp-tools__select {
  min-width: 0;
  min-height: 46px;
  padding: 0 38px 0 15px;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: var(--sc-card) no-repeat right 15px center/11px 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%235f6065' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  color: var(--sc-ink);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
}
.cmp-tools__select:hover { border-color: var(--sc-ink); }
.cmp-tools__select:focus-visible { outline: 2px solid var(--sc-brand); outline-offset: 2px; }

.cmp-group { margin-bottom: 34px; border-top: 2px solid var(--sc-grid-ink); }
.cmp-group[hidden] { display: none; }
.cmp-empty { margin: 0 0 34px; color: var(--sc-muted); font-size: .95rem; }
.cmp-empty[hidden] { display: none; }

.cmp-wrap { margin-top: 0; border: 0; border-radius: 0; background: transparent; }
.cmp thead th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--sc-line);
  background: transparent;
  color: var(--sc-muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: none;
}

.cmp thead th:nth-child(1) { width: 26%; }
.cmp thead th:nth-child(2) { width: 15%; }
.cmp thead th:nth-child(3) { width: 34%; }
.cmp thead th:nth-child(4) { width: 12%; }
.cmp thead th:nth-child(5) { width: 13%; }
.cmp tbody th,
.cmp tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--sc-line);
  vertical-align: middle;
}
.cmp tbody tr[hidden] { display: none; }
.cmp-co { gap: 12px; }

.cmp-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--sc-line);
  border-radius: 9px;
  background: #fff;
}
.cmp-mark--text { background: var(--sc-chip-bg); }
.cmp-mark__txt {
  color: var(--sc-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.cmp-mark img { padding: 4px; }
.cmp__name {
  min-width: 0;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.005em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmp-counts { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 6px; }
.cmp-count { display: inline; }
.cmp-count {
  padding: 0;
  border: 0;
  color: var(--sc-body);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cmp-count + .cmp-count { border-left: 0; }
.cmp-count + .cmp-count::before {
  margin-right: 6px;
  color: var(--sc-chip-line);
  content: "·";
}
.cmp-chips { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 5px; }
.cmp-chip { padding: 3px 8px; font-size: .7rem; }
.cmp-chip--more { border-color: var(--sc-line); background: var(--sc-chip-bg); }
.cmp__reviewed { color: var(--sc-muted); font-size: .84rem; white-space: nowrap; }
.cmp__none { color: var(--sc-chip-line); }
.cmp__go { font-size: .85rem; white-space: nowrap; }

.cmp tbody tr { cursor: pointer; transition: background 140ms ease; }
.cmp tbody tr:hover { background: #ffe9d1; }

.cmp tbody tr:focus-within { background: #ffe9d1; }@media (max-width: 1000px) {

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

  .cmp-tools { grid-template-columns: 1fr; }
  .cmp-stat { flex: 1 1 100%; }
  .cmp-stat + .cmp-stat { box-shadow: inset 0 1px 0 var(--sc-line); }
}
