/* Public portal: the gain table only. Vehicle information and other panels are unchanged. */
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .mg-gain-data {
  padding: 4px;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table {
  table-layout: fixed;
  width: 100%;
  border-spacing: 5px;
  margin: 0;
  padding: 0;
  line-height: 1.35;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table th,
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table td {
  padding: 8px 6px;
  font-size: 14px !important;
  line-height: 1.35;
  vertical-align: middle;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table th:first-child {
  width: 31%;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table .rms-gains-signature-cell {
  padding: 4px 2px !important;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-signature {
  gap: 4px;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-emblem {
  flex: 0 0 40px;
  width: 40px;
  height: 19px;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-emblem img {
  width: 54px !important;
  min-width: 54px !important;
  height: 54px !important;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-wordmark strong {
  font-size: 13px !important;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-wordmark > span {
  font-size: 8px !important;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table .rms-gains-modified {
  padding: 6px 4px !important;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-modified > span {
  font-size: 11px !important;
}
html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-modified > strong {
  font-size: 13px !important;
}
@media (max-width: 600px) {
  html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .mg-gain-data {
    padding: 0;
  }
  html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table {
    border-spacing: 3px;
  }
  html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table th,
  html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table td {
    padding: 7px 4px;
    font-size: 13px !important;
  }
  html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .stage-table tr:first-child th {
    font-size: 12px !important;
  }
  html:has(meta[name="rms-api-base"][content="/test-fichiers-rms"]) .mg-page #mg-vehicle .rms-gains-emblem {
    flex-basis: 19px;
  }
}

