.original-data {
  margin: 20px 0;
  border: 1px solid #dce1e7;
  border-radius: 10px;
  background: #fff;
  padding: 24px;
  color: #25313d;
  font:
    14px/1.5 Raleway,
    Arial,
    sans-serif;
  min-width: 0;
}
.od-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.od-head h2 {
  font-size: 23px;
  margin: 3px 0 8px;
}
.od-head p {
  margin: 0 0 6px;
}
.od-eyebrow {
  color: #a32d3e;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
  font-weight: 800;
}
.od-badge {
  background: #f3e6e9;
  color: #8d2b3a;
  align-self: flex-start;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 11px;
  white-space: nowrap;
}
.od-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-block: 1px solid #e5e8eb;
  padding: 14px 0;
  margin: 14px 0;
  color: #586574;
  font-size: 12px;
}
.od-lanes b {
  display: block;
  color: #25313d;
}
.od-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.original-data label,
.od-revision label {
  display: block;
  font-size: 12px;
  font-weight: 700;
}
.original-data select,
.original-data input,
.od-revision textarea,
.od-revision input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 9px;
  border: 1px solid #bdc6cf;
  border-radius: 5px;
  background: #fff;
  color: #25313d;
  font:
    13px/1.4 Arial,
    sans-serif;
  margin-top: 5px;
}
.original-data button,
.od-dialog button {
  background: white;
  color: #25313d;
  border: 1px solid #bcc6cf;
  padding: 9px 12px;
  border-radius: 5px;
  cursor: pointer;
  font:
    600 12px/1.4 Arial,
    sans-serif;
}
.original-data button:hover,
.od-dialog button:hover {
  border-color: #a32d3e;
}
.original-data button:disabled,
.od-dialog button:disabled {
  opacity: 0.5;
  cursor: default;
}
.original-data :focus-visible,
.od-dialog :focus-visible {
  outline: 3px solid #488cb3;
  outline-offset: 3px;
}
.od-state {
  background: #f6f7f9;
  padding: 13px;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.od-state p {
  margin: 6px 0;
}
.od-state small {
  font-size: 11px;
  color: #586574;
}
.od-state code,
.od-dialog code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.od-results article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e9ed;
  align-items: center;
}
.od-results article > div {
  min-width: 0;
}
.od-results h3 {
  font-size: 14px;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.od-results p {
  font-size: 12px;
  color: #586574;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.od-id {
  font-size: 10px;
  color: #8d2b3a;
  font-weight: 700;
}
.od-results button {
  flex-shrink: 0;
}
.od-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.od-range {
  font-size: 12px;
  color: #586574;
}
.od-table-note {
  font-size: 12px;
  color: #586574;
}
.od-table-scroll {
  overflow: auto;
  max-height: 690px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  border: 1px solid #dce1e7;
  border-radius: 7px;
}
.od-therapy-table {
  width: 100%;
  min-width: 1300px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  line-height: 1.55;
  table-layout: fixed;
}
.od-therapy-table th,
.od-therapy-table td {
  vertical-align: top;
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid #e6e9ed;
  border-right: 1px solid #e6e9ed;
  overflow-wrap: anywhere;
}
.od-therapy-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f3e6e9;
  color: #742637;
  font-size: 11px;
  font-weight: 800;
}
.od-therapy-table th:first-child {
  width: 210px;
  position: sticky;
  left: 0;
  z-index: 1;
  background: #f8f9fb;
}
.od-therapy-table thead th:first-child {
  z-index: 3;
  background: #f3e6e9;
}
.od-therapy-table th:nth-child(4) {
  width: 110px;
}
.od-therapy-table th:last-child {
  width: 270px;
}
.od-therapy-table tbody th {
  font-weight: 400;
}
.od-therapy-table .od-cell-sources {
  font-size: 10px;
  margin-top: 8px;
}
.od-therapy-table .od-date {
  font-size: 10px;
  margin-top: 10px;
}
.od-therapy-table summary {
  cursor: pointer;
  color: #742637;
  font-weight: 700;
  margin: 8px 0;
}
@media print {
  .od-table-scroll {
    overflow: visible;
    max-height: none;
  }
  .od-therapy-table {
    min-width: 0;
  }
  .od-therapy-table th {
    position: static !important;
  }
}
.od-footer [data-od="export"] {
  margin-left: auto;
}
.od-stale,
.od-notice {
  border-left: 3px solid #aa752d;
  padding: 10px 12px;
  background: #fff6e8;
  color: #705018;
  font-size: 12px;
}
.od-dialog {
  width: min(1050px, calc(100vw - 32px));
  max-height: 90vh;
  box-sizing: border-box;
  border: 1px solid #ced5dc;
  border-radius: 10px;
  padding: 0;
  color: #25313d;
  font:
    14px/1.5 Raleway,
    Arial,
    sans-serif;
}
.od-dialog::backdrop {
  background: #16223099;
}
.od-dialog header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid #dde2e7;
}
.od-dialog h2 {
  font-size: 20px;
  margin: 4px 0;
}
.od-dialog small {
  color: #586574;
}
.od-body {
  padding: 20px 24px;
}
.od-muted {
  color: #63707d;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.od-actions {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.od-fields {
  margin: 10px 0;
}
.od-fields > div {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr);
  gap: 16px;
  border-bottom: 1px solid #e6e9ed;
  padding: 10px 0;
}
.od-fields dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}
.od-fields dd {
  margin: 0;
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.od-fields dd details {
  white-space: normal;
}
.od-dialog summary {
  cursor: pointer;
  font-size: 12px;
  color: #285e82;
  padding: 6px 0;
}
.od-dialog a {
  color: #285e82;
}
.od-nested {
  border-left: 2px solid #e4e8ed;
  padding-left: 10px;
}
.od-revision {
  margin-top: 20px;
  border-top: 2px solid #a32d3e;
  padding-top: 15px;
}
.od-revision textarea {
  font-family: monospace;
  max-height: 360px;
}
.od-revision label {
  margin: 12px 0;
}
.od-error {
  color: #a32d3e;
}
.od-body > details {
  margin: 12px 0;
}
.od-dialog[open] {
  display: block;
}
@media (max-width: 650px) {
  .original-data {
    padding: 16px;
  }
  .od-filters {
    grid-template-columns: 1fr;
  }
  .od-head {
    flex-wrap: wrap;
    gap: 6px;
  }
  .od-lanes {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .od-results article {
    display: block;
  }
  .od-results article button {
    margin-top: 7px;
  }
  .od-footer [data-od="export"] {
    margin-left: 0;
  }
  .od-fields > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .od-body {
    padding: 14px;
  }
  .od-dialog header {
    padding: 14px;
  }
  .od-dialog h2 {
    font-size: 16px;
  }
}
