.nla-brm-filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) auto auto;
  gap: 9px;
  align-items: end;
  margin-bottom: 22px;
  padding: 18px;
  background: #10171d;
  color: white;
  border-radius: 6px;
}

.nla-brm-filters label {
  display: grid;
  gap: 5px;
  color: #bfd0d8;
  font-size: 11px;
  font-weight: 700;
}

.nla-brm-filters input,
.nla-brm-filters select,
.nla-brm-filters button {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #52646d;
  border-radius: 4px;
}

.nla-brm-filters input,
.nla-brm-filters select {
  background: white;
  color: #071018;
}

.nla-brm-filters button {
  background: #14b86a;
  color: #03140c;
  font-weight: 800;
}

.nla-brm-filters > a {
  min-height: 42px;
  padding: 9px;
  text-align: center;
  text-decoration: underline;
}

.nla-brm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nla-brm-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  background: white;
  border: 1px solid #d8e0e4;
  border-radius: 7px;
}

.nla-brm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nla-brm-logo {
  display: grid;
  width: 94px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  background: #edf3f5;
  color: #00a9d2;
  font-size: 25px;
  font-weight: 900;
}

.nla-brm-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nla-brm-rating strong {
  color: #d39a10;
  font-size: 27px;
}

.nla-brm-rating span {
  color: #6d7a81;
  font-size: 12px;
}

.nla-brm-card h3 {
  margin: 18px 0 5px;
  font-size: 22px;
}

.nla-brm-card > p {
  min-height: 50px;
  color: #5c6b73;
  font-size: 14px;
}

.nla-brm-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 8px 0 18px;
  border-top: 1px solid #d8e0e4;
}

.nla-brm-card dl div {
  min-width: 0;
  padding: 10px 8px 8px 0;
  border-bottom: 1px solid #d8e0e4;
}

.nla-brm-card dt {
  color: #65757d;
  font-size: 10px;
  text-transform: uppercase;
}

.nla-brm-card dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 800;
}

.nla-brm-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: auto;
}

.nla-brm-review-link,
.nla-brm-visit-link,
.nla-brm-comparison-picker button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.nla-brm-review-link {
  border: 1px solid #00a9d2;
  color: #087895;
}

.nla-brm-visit-link,
.nla-brm-comparison-picker button {
  background: #14b86a;
  color: #03140c;
}

.nla-brm-compare-check {
  margin-top: 12px;
  color: #526169;
  font-size: 12px;
}

.nla-brm-directory.is-compact .nla-brm-grid {
  grid-template-columns: repeat(3, 1fr);
}

.nla-brm-compare-bar {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  display: none;
  min-width: 280px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px;
  background: #10171d;
  color: white;
  border: 1px solid #00a9d2;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0,0,0,.3);
}

.nla-brm-compare-bar.is-visible {
  display: flex;
}

.nla-brm-compare-bar a {
  padding: 7px 10px;
  background: #14b86a;
  color: #03140c;
  border-radius: 4px;
  font-weight: 800;
}

.nla-brm-comparison-picker {
  margin-bottom: 18px;
  padding: 20px;
  background: white;
  border: 1px solid #d8e0e4;
  border-radius: 6px;
}

.nla-brm-comparison-picker h2 {
  margin-top: 0;
}

.nla-brm-comparison-picker > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.nla-brm-table-scroll {
  overflow-x: auto;
}

.nla-brm-comparison table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  background: white;
}

.nla-brm-comparison th,
.nla-brm-comparison td {
  min-width: 170px;
  padding: 14px;
  border: 1px solid #d8e0e4;
  text-align: left;
  vertical-align: top;
}

.nla-brm-comparison thead th {
  background: #10171d;
  color: white;
}

.nla-brm-comparison tbody th {
  background: #edf3f5;
}

.nla-brm-disclosure {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #fff7df;
  border-left: 4px solid #d7a62a;
  color: #423714;
  font-size: 13px;
}

.nla-brm-empty {
  grid-column: 1 / -1;
  padding: 26px;
  background: white;
  border: 1px dashed #8ba0aa;
  color: #5c6b73;
}

@media (max-width: 1050px) {
  .nla-brm-filters {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .nla-brm-grid,
  .nla-brm-directory.is-compact .nla-brm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nla-brm-comparison-picker > div {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .nla-brm-filters,
  .nla-brm-grid,
  .nla-brm-directory.is-compact .nla-brm-grid,
  .nla-brm-comparison-picker > div {
    grid-template-columns: 1fr;
  }

  .nla-brm-compare-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-width: 0;
  }
}

