.methods-iv .compliance-type.type-complier { color: #006b76; }
.methods-iv .compliance-type.type-always-taker { color: #8a5100; }
.methods-iv .compliance-type.type-never-taker { color: #65428a; }
.methods-iv .compliance-type.type-defier { color: #ac2940; }

.methods-iv table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.6rem 0;
}

.methods-iv th,
.methods-iv td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.6rem;
  vertical-align: top;
  text-align: center !important;
}

.methods-iv th { background: #f1f5f7; }
.methods-iv .compliance-types table,
.methods-iv .baseline-types table { display: table; table-layout: fixed; }
.methods-iv .compliance-types th:nth-child(1) { width: 18%; }
.methods-iv .compliance-types th:nth-child(2),
.methods-iv .compliance-types th:nth-child(3) { width: 20%; }
.methods-iv .compliance-types th:nth-child(4) { width: 42%; }
.methods-iv .baseline-types th:nth-child(1) { width: 20%; }
.methods-iv .baseline-types th:nth-child(2),
.methods-iv .baseline-types th:nth-child(3) { width: 11%; }
.methods-iv .baseline-types th:nth-child(4) { width: 23%; }
.methods-iv .baseline-types th:nth-child(5) { width: 35%; }

.methods-iv .observation-map {
  border: 1px solid #b6c7d1;
  border-radius: 8px;
  padding: 20px;
  margin: 2rem 0 0.9rem;
  background: #f8fafc;
  font-size: 0.9em;
}

.methods-iv .observation-map .observation-map-title {
  margin: 0 0 18px;
  color: #163b50;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.methods-iv .observation-map p { margin: 0.5em 0; }
.methods-iv .potential-card,
.methods-iv .offer-path,
.methods-iv .hidden-card { padding: 14px 18px; border-radius: 5px; }
.methods-iv .potential-card {
  background: #e6f0fb;
  border: 1px solid #2f6093;
  border-left: 6px solid #2f6093;
  text-align: center;
}
.methods-iv .map-card-heading,
.methods-iv .path-label { font-weight: 650; text-align: center; }
.methods-iv .potential-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.methods-iv .map-detail { font-size: 0.9em; line-height: 1.5; }
.methods-iv .offer-path { margin-top: 16px; }
.methods-iv .unrealized-path {
  border: 2px dashed #687486;
  background: #eef0f5;
  color: #415065;
}
.methods-iv .realized-path {
  border: 2px solid #26724c;
  border-left-width: 6px;
  background: #e4f3e8;
}
.methods-iv .path-sequence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.3fr) 22px minmax(0, 1.5fr);
  gap: 8px;
  align-items: center;
  text-align: center;
  line-height: 1.5;
}
.methods-iv .path-arrow { font-size: 1.6em; font-weight: 650; }
.methods-iv .observation-map .observed-row {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #26724c;
  border-radius: 4px;
  background: #d0e8d8;
  text-align: center;
}
.methods-iv .observed-row strong { font-size: 1.2em; }
.methods-iv .hidden-card {
  margin-top: 16px;
  background: #fff0cc;
  border: 1px solid #a86c13;
  border-left: 6px solid #a86c13;
}
.methods-iv .hidden-card > p:first-child { text-align: center; }

.methods-iv .subscribe-callout {
  margin: 2.2rem 0;
  padding: 14px 20px;
  border-left: 3px solid var(--accent);
  background: #f1f5f7;
}
.methods-iv .subscribe-callout p { margin: 0.4em 0; }
.methods-iv .subscribe-callout a { font-weight: 700; }
.methods-iv .lecture-video { width: 100%; aspect-ratio: 16 / 9; margin: 1.5rem 0 0.5rem; }
.methods-iv .lecture-video iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 600px) {
  .methods-iv th,
  .methods-iv td { padding: 8px 5px; }
  .methods-iv .observation-map { padding: 12px; font-size: 0.92em; }
  .methods-iv .potential-card,
  .methods-iv .offer-path,
  .methods-iv .hidden-card { padding: 12px; }
  .methods-iv .potential-pairs { grid-template-columns: 1fr; gap: 0; }
  .methods-iv .path-sequence { grid-template-columns: 1fr; gap: 4px; }
  .methods-iv .path-arrow { transform: rotate(90deg); line-height: 1; }
}
