/* TestMyOils portfolio chart — page-local styles only. */
.tmo-intro { max-width: 70ch; margin: 0 0 12px; }
.tmo-tested {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
}
.tmo-caption { margin: 0 0 16px; color: #555; }
.tmo-legend {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  color: #555;
}
.tmo-legend li { display: inline-block; margin: 0 16px 6px 0; }
.tmo-wrap { width: 100%; overflow-x: auto; margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
.tmo-table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0; border-top: none; }
.tmo-table thead th {
  background: #111;
  color: #f2f2f2;
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #222;
}
.tmo-table thead th.tmo-brand-col { text-align: left; width: 34%; }
.tmo-table tbody th,
.tmo-table tbody td {
  background: #fff;
  border: 1px solid #e7e7e7;
  padding: 8px 8px;
  vertical-align: middle;
  text-align: center;
  color: #333;
}
.tmo-table tbody th { text-align: left; font-weight: normal; background: #fafafa; text-transform: none; }
.tmo-table tbody tr:hover th,
.tmo-table tbody tr:hover td { background: #f3f3f3; }
.tmo-brand { display: flex; align-items: center; gap: 10px; }
.tmo-thumb {
  width: 36px !important;
  height: auto !important;
  max-height: 64px !important;
  max-width: 36px !important;
  object-fit: contain;
  flex: 0 0 36px;
}
.tmo-brand-text { display: block; line-height: 1.35; }
.tmo-brand-name { display: block; color: #111; font-weight: 700; }
.tmo-origin { display: block; color: #666; font-size: 12px; }
.tmo-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.tmo-table a { text-decoration: none; }
.tmo-table a:hover .tmo-result { text-decoration: underline; }
.tmo-pass { color: #1b6b3a; }
.tmo-fail { color: #a32020; }
.tmo-na { color: #999; font-weight: 400; }
.tmo-result img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  vertical-align: middle;
}
.tmo-note, .tmo-links { margin: 0 0 12px; color: #555; }
.tmo-links { list-style: none; padding: 0; }
.tmo-links li { margin: 0 0 4px; }
.tmo-credit { margin-top: 24px; font-size: 13px; color: #555; font-style: italic; }
.tmo-contact { margin: 16px 0 0; }

@media (max-width: 720px) {
  .tmo-wrap { overflow: visible; }
  .tmo-table, .tmo-table tbody { display: block; width: 100%; }
  .tmo-table thead { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .tmo-table tr {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 10px 10px 4px;
    border: 1px solid #e7e7e7;
    background: #fff;
  }
  .tmo-table tbody th,
  .tmo-table tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-top: 1px solid #eee;
    text-align: left;
    padding: 8px 0;
    background: transparent !important;
  }
  .tmo-table tbody th { border-top: none; padding-top: 0; }
  .tmo-table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
    margin-bottom: 2px;
  }
  .tmo-thumb {
    width: 48px !important;
    max-width: 48px !important;
    max-height: 80px !important;
    flex-basis: 48px;
  }
  .tmo-brand-name { font-size: 16px; }
  .tmo-origin { font-size: 14px; }
  .tmo-result { font-size: 16px; }
  .tmo-tested { font-size: 18px; }
}
