.experiments {
  --exp-blue: #004caa;
  --exp-border: #e1e5e9;
  --exp-muted: #66717c;
  max-width: 1500px;
  margin: 0 auto;
  color: #202b35;
}
.experiments .exp-intro {
  color: var(--exp-muted);
  margin: 0 0 25px;
}
.exp-actions,
.exp-panel-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.exp-overview {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  padding: 32px;
  background: #f1f4f6;
  border: 1px solid var(--exp-border);
}
.exp-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--exp-muted);
}
.exp-overview h2 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin: 15px 0;
}
.exp-overview p {
  max-width: 460px;
  line-height: 1.6;
  color: var(--exp-muted);
}
.exp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: center;
}
.exp-stats div {
  border-left: 2px solid #cad5df;
  padding-left: 18px;
}
.exp-stats strong {
  display: block;
  font-size: 30px;
  letter-spacing: -1px;
}
.exp-stats span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}
.experiments small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--exp-muted);
  margin-top: 5px;
}
.exp-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--exp-border);
  margin: 24px 0;
}
.exp-tabs button {
  background: none;
  border: 0;
  padding: 12px 0;
  font: inherit;
  font-size: 13px;
  color: var(--exp-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.exp-tabs button[aria-selected="true"] {
  color: var(--exp-blue);
  border-bottom-color: var(--exp-blue);
  font-weight: 700;
}
.exp-panel {
  background: white;
  border: 1px solid var(--exp-border);
  padding: 24px;
  margin-bottom: 24px;
}
.exp-panel-heading {
  margin-bottom: 18px;
}
.exp-panel h3 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin: 8px 0;
}
.exp-panel-heading p,
.exp-muted {
  font-size: 12px;
  color: var(--exp-muted);
  line-height: 1.6;
}
.exp-table-scroll {
  overflow-x: auto;
}
.exp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.exp-table th,
.exp-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--exp-border);
  vertical-align: top;
}
.exp-table thead th {
  font-size: 10px;
  color: var(--exp-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f6f8fa;
}
.exp-table tbody th {
  min-width: 185px;
}
.exp-table td {
  min-width: 110px;
  font-variant-numeric: tabular-nums;
}
.exp-table td strong {
  font-size: 17px;
  font-weight: 600;
}
.exp-text-button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--exp-blue);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.exp-meter {
  height: 3px;
  background: #e9eff5;
  width: 110px;
  margin-top: 10px;
}
.exp-meter span {
  display: block;
  height: 100%;
  background: #5488b8;
}
.exp-note {
  padding: 14px 16px;
  background: #f5f7f9;
  font-size: 12px;
  line-height: 1.65;
  color: var(--exp-muted);
  margin: 20px 0 30px;
}
.exp-field,
.exp-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: var(--exp-muted);
}
.exp-filters {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 14px;
}
.experiments .input {
  width: 100%;
  min-height: 36px;
  font-size: 12px;
  border: 1px solid #ced6de;
  border-radius: 0;
  padding: 8px;
  background: white;
  color: #202b35;
}
.exp-review {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  border-top: 1px solid var(--exp-border);
}
.exp-clip-list {
  max-height: 820px;
  overflow-y: auto;
  border-right: 1px solid var(--exp-border);
}
.exp-review-row {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--exp-border);
  padding: 16px 12px;
  background: white;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.exp-review-row.selected {
  background: #eef4fa;
  box-shadow: inset 3px 0 var(--exp-blue);
}
.exp-review-row strong {
  overflow-wrap: anywhere;
}
.exp-review-main {
  min-width: 0;
  padding: 20px 0 0 24px;
}
.exp-review-main video {
  width: 100%;
  max-height: 400px;
  background: #101821;
}
.exp-badge {
  background: #edf0f3;
  padding: 6px 8px;
  font-size: 11px;
}
.exp-outcome {
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
  color: #47705b;
}
.exp-fn,
.exp-fp {
  color: #a04b30;
}
.exp-unscored {
  color: #767676;
}
.exp-predictions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin: 20px 0;
}
.exp-predictions div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--exp-border);
  padding: 8px 0;
  gap: 10px;
  font-size: 11px;
}
.exp-predictions .exp-outcome {
  margin: 0;
  white-space: nowrap;
}
.exp-windows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.exp-windows article {
  border: 1px solid var(--exp-border);
  padding: 14px;
  min-width: 0;
}
.exp-windows p {
  font-size: 12px;
  line-height: 1.65;
  margin: 10px 0;
}
.exp-window {
  font: inherit;
  font-size: 12px;
  border: 1px solid #d7e2ec;
  padding: 5px 8px;
  background: #f3f7fb;
  color: var(--exp-blue);
  cursor: pointer;
}
.exp-window:disabled {
  cursor: default;
  color: #606e7a;
}
.exp-windows .exp-panel-heading {
  gap: 6px;
  margin: 0;
}
.experiments details {
  font-size: 12px;
  padding: 10px 0;
}
.experiments summary {
  cursor: pointer;
  color: var(--exp-blue);
}
.experiments pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f6f8fa;
  padding: 12px;
  font-size: 11px;
  max-height: 350px;
  overflow: auto;
}
.exp-no-media,
.exp-empty {
  padding: 36px 24px;
  background: #f1f4f6;
  font-size: 13px;
  text-align: center;
}
.exp-no-media p {
  max-width: 450px;
  margin: 12px auto;
  line-height: 1.6;
  color: var(--exp-muted);
}
.exp-error {
  padding: 16px;
  background: #fff0e9;
  margin: 16px 0;
}
.exp-method {
  max-width: 950px;
  line-height: 1.75;
}
.exp-method p {
  font-size: 14px;
  color: #52606c;
}
.exp-method dd {
  margin: 4px 0 18px;
  overflow-wrap: anywhere;
}
.experiments button:focus-visible,
.experiments select:focus-visible,
.experiments input:focus-visible {
  outline: 2px solid var(--exp-blue);
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .exp-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .exp-filters {
    grid-template-columns: 1fr 1fr;
  }
  .exp-predictions,
  .exp-windows {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .exp-panel {
    padding: 14px;
  }
  .exp-overview {
    padding: 20px;
  }
  .exp-overview h2 {
    font-size: 28px;
  }
  .exp-tabs {
    gap: 16px;
  }
  .exp-tabs button {
    font-size: 11px;
  }
  .exp-review {
    grid-template-columns: 1fr;
  }
  .exp-clip-list {
    max-height: 230px;
    border-right: 0;
  }
  .exp-review-main {
    padding: 18px 0 0;
  }
  .exp-filters {
    grid-template-columns: 1fr;
  }
}
