[hidden] { display: none !important; }
body { background: #f3f5fb; }
.trial-band { background: linear-gradient(115deg, #f8faff, #e8f0ff); color: var(--ink); }
.trial-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 7vw, 105px); align-items: start; padding-block: clamp(32px, 5vw, 72px); }
.trial-copy { padding-top: clamp(10px, 3vw, 40px); }
.trial-copy h1 { font-size: clamp(2.25rem, 5.8vw, 4.25rem); line-height: 1.13; letter-spacing: -.045em; margin: 15px 0; }
.trial-copy p { color: #4a5a76; max-width: 36ch; font-size: clamp(1rem, 2vw, 1.2rem); }
.trial-platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.trial-platforms span { font-size: .875rem; padding: 3px 11px; border: 1px solid #aabde3; border-radius: 999px; color: #274aaa; background: #f6f9ff; }
.trial-intro-steps { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 440px; }
.trial-intro-steps li { display: grid; gap: 7px; grid-template-columns: 5.4em 1fr; padding: 8px 0; border-top: 1px solid #cbd9f0; color: var(--muted); }
.trial-intro-steps strong { color: #213663; }
.trial-box { background: #fff; color: var(--ink); border: 1px solid var(--lines); border-radius: 16px; padding: clamp(16px, 3.2vw, 30px); }
.trial-form { display: grid; gap: 14px; }
.trial-form h2 { font-size: 1.36rem; }
.trial-form label { display: grid; gap: 5px; font-size: .93rem; font-weight: 650; min-width: 0; }
.trial-form :is(input, textarea, select) { width: 100%; padding: 9px 11px; min-height: 44px; min-width: 0; font: inherit; color: var(--ink); background: #f9fbfd; border: 1px solid #c9d6e1; border-radius: 8px; }
.trial-form textarea { resize: vertical; }
.trial-input-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trial-form > .button { justify-self: start; }
.trial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.trial-text-button { border: 0; background: none; padding: 6px; color: var(--green); text-decoration: underline; cursor: pointer; font: inherit; }
.trial-muted { color: #51617b; font-size: .93rem; }
.trial-message { color: var(--muted); margin-top: 8px; font-size: .93rem; }
.trial-message[data-error="true"] { color: #932f42; }
.trial-result { display: grid; gap: 16px; padding-block: 30px 58px; }
.trial-result > [id] { scroll-margin-top: 76px; }
.trial-result-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: clamp(20px, 3.5vw, 42px);
  background: radial-gradient(ellipse at 88% 12%, #c3d7ff, transparent 65%), #eaf1ff;
  border: 1px solid #c3d1ee;
  border-radius: 17px;
  color: var(--ink);
}
.report-overline { color: var(--indigo); font-weight: 750; font-size: .875rem; }
.trial-result-head h1 { margin: 8px 0; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.trial-result-head .trial-muted { color: #455979; }
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.trial-result-head .button-primary { background: var(--indigo); color: white; }
.trial-result-head .button-primary:hover { background: #193ba7; }
.trial-result-head .button-outline { min-height: 46px; border-color: #899ac6; }
.report-jump {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  padding: 8px;
  border: 1px solid #d8e0f2;
  border-radius: 10px;
  background: #f9faff;
  box-shadow: 0 6px 14px #1a2f5612;
}
.report-jump a { padding: 5px 8px; text-decoration: underline; text-decoration-color: #a1b1e2; text-underline-offset: 4px; color: #334791; font-size: .875rem; font-weight: 660; }
.report-jump a:hover { background: #eaf0ff; border-radius: 5px; }
#trial-result-status { margin: 0; }
#trial-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); gap: 12px; }
.trial-metric, .report-panel { background: #fff; border: 1px solid var(--lines); border-radius: 13px; }
.trial-metric { padding: clamp(13px, 2vw, 19px); }
.metric-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #eaf0ff; color: var(--indigo); font-size: 1.15rem; font-weight: 750; }
.metric-label { display: block; margin-top: 9px; color: #32415b; font-weight: 740; }
.trial-metric strong { display: block; margin: 2px 0; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.25; font-variant-numeric: tabular-nums; }
.trial-analysis { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px; }
.report-panel { padding: clamp(16px, 2.7vw, 26px); min-width: 0; }
.report-panel h2, #trial-originals > h2 { font-size: clamp(1.12rem, 2.6vw, 1.4rem); line-height: 1.4; margin-bottom: 9px; }
.report-readout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 10px 20px; align-items: center; background: #edf1ff; border-color: #cdd8fb; border-left: 4px solid #697ed8; }
.report-readout h2 { margin: 4px 0 0; color: #24366d; }
.report-readout > p { color: #34476f; }
.readout-label { color: #3a52aa; font-size: .875rem; font-weight: 730; }
.report-panel-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.report-panel-heading label { display: grid; gap: 4px; margin-left: auto; color: var(--muted); font-size: .875rem; font-weight: 690; }
.report-panel-heading select { padding: 6px 10px; border: 1px solid #ccd6e9; border-radius: 7px; background: #f8faff; color: var(--ink); font: inherit; }
.domain-summary { padding: 8px 10px; margin-block: 12px; border-radius: 7px; background: #eff3fe; color: #30477f; font-size: .9375rem; font-weight: 700; }
.domain-list { display: grid; gap: 7px; }
.domain-row { border: 1px solid #dce4f4; border-radius: 8px; min-width: 0; }
.domain-row summary { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(75px, .8fr) minmax(5.5em, .55fr) minmax(4.2em, .45fr); gap: 4px clamp(6px, 2vw, 15px); align-items: center; padding: 9px 12px; cursor: pointer; list-style: none; }
.domain-row summary::-webkit-details-marker { display: none; }
.domain-row summary:hover { background: #f5f7ff; border-radius: 8px; }
.domain-name { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 7px; overflow-wrap: anywhere; }
.domain-name::before { content: "+"; font-weight: 800; color: var(--indigo); }
.domain-row[open] .domain-name::before { content: "−"; }
.domain-count { color: var(--muted); font-size: .875rem; text-align: right; }
.domain-official { font-size: .83rem; color: var(--green); background: #def6eb; border-radius: 4px; padding: 1px 5px; }
.domain-shared { font-size: .83rem; color: #294a9e; background: #e8efff; border-radius: 4px; padding: 1px 5px; }
.domain-row progress { width: 100%; appearance: none; accent-color: #7186d7; border: 0; border-radius: 4px; background: #e7ecf9; height: 8px; }
.domain-row progress::-webkit-progress-bar { background: #e7ecf9; border-radius: 4px; }
.domain-row progress::-webkit-progress-value { background: #7186d7; border-radius: 4px; }
.domain-links { margin: 0; padding: 8px 12px 10px 33px; border-top: 1px solid #e4ebf7; overflow-wrap: anywhere; }
.domain-links li + li { margin-top: 6px; }
.domain-links a { color: #334fa4; text-decoration: underline; }
.domain-links span { margin-left: 8px; }
.trial-matrix.trial-method-table :is(thead th:first-child, tbody th) { width: 23%; }
.method-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 14px; }
.method-notes div { background: #f6f8ff; padding: 10px; border-radius: 6px; }
.method-notes dt { font-weight: 720; }
.method-notes dd { color: var(--muted); font-size: .9375rem; }
.platform-chart, .source-chart { margin-top: 14px; }
.chart-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.chart-label span { color: var(--muted); font-size: .875rem; }
.platform-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 6px 0; }
.platform-segments span { height: 12px; border-radius: 4px; background: #a7b5c7; }
.platform-segments span[data-outcome="pending"] { background: repeating-linear-gradient(135deg, #eff2f6 0 5px, #dae4ed 5px 8px); }
.platform-segments span[data-outcome="recommended"] { background: #128365; }
.platform-segments span[data-outcome="mentioned"] { background: #4d96c9; }
.source-chart progress { display: block; width: 100%; height: 12px; margin: 7px 0; border: 0; border-radius: 4px; appearance: none; accent-color: #11856a; }
.source-chart[data-group="third-party"] progress { accent-color: #4d7faf; }
.source-chart progress::-webkit-progress-bar { border-radius: 4px; background: #e7eef3; }
.source-chart progress::-webkit-progress-value { border-radius: 4px; background: #11856a; }
.source-chart[data-group="third-party"] progress::-webkit-progress-value { background: #4d7faf; }
#trial-source-chart > p { margin-top: 10px; }
.trial-matrix { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 12px; font-size: .94rem; }
.trial-matrix th, .trial-matrix td { border-bottom: 1px solid #e4ebf2; padding: 8px; text-align: center; overflow-wrap: anywhere; }
.trial-matrix :is(thead th:first-child, tbody th) { width: 55%; padding-left: 0; text-align: left; }
.trial-matrix thead th { background: #f3f8fa; color: #485872; }
.trial-matrix thead th:first-child { padding-left: 8px; }
.trial-matrix tbody th { font-weight: 610; }
.trial-matrix td .answer-chip { min-height: 37px; padding: 5px 8px; border: 1px solid transparent; }
.trial-matrix td button { cursor: pointer; font-family: inherit; }
.trial-matrix td button:hover { border-color: currentColor; }
.trial-brand-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; margin: 14px 0 7px; }
.trial-brand-form label { display: grid; gap: 4px; flex: 1 1 220px; min-width: 0; max-width: 430px; color: #3d506f; font-size: .9375rem; font-weight: 700; }
.trial-brand-form input { border: 1px solid #b5c5e1; border-radius: 7px; padding: 10px; min-height: 46px; font: inherit; color: var(--ink); background: #f9fbff; }
.trial-brand-form .button { background: var(--indigo); }
.trial-comparison-table :is(thead th:first-child, tbody th) { width: 24%; }
.trial-comparison-table thead th:last-child { width: 33%; }
.trial-comparison-table small { display: block; font-weight: 500; color: var(--muted); }
.trial-comparison-table .answer-chip { margin: 2px; }
#trial-observations { margin-block: 8px 12px; padding-inline-start: 20px; display: grid; gap: 8px; }
#trial-observations li::marker { color: var(--green); }
.trial-conversion { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; background: #123239; color: white; border-radius: 15px; padding: clamp(18px, 3vw, 30px); }
.trial-conversion p { margin-top: 5px; color: #d4ede7; max-width: 55ch; }
#trial-questions, .trial-records { display: grid; gap: 12px; }
.trial-question { padding: 17px; border: 1px solid var(--lines); border-radius: 13px; background: #fff; }
.trial-question h3 { font-size: 1.08rem; margin: 0 0 10px; }
.trial-answer { border: 1px solid var(--lines); border-radius: 9px; margin-top: 8px; padding: 10px 12px; }
.trial-answer summary, .trial-box > summary { cursor: pointer; font-weight: 700; overflow-wrap: anywhere; }
.trial-answer .trial-muted { padding-left: 7px; font-weight: 500; }
.trial-answer pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0; }
.trial-citations { margin: 7px 0 0; padding-left: 23px; font-size: .9rem; overflow-wrap: anywhere; }
.trial-citations a, .trial-fact a { color: var(--green); text-decoration: underline; }
.trial-fact { padding: 12px 14px; background: #fff; border: 1px solid var(--lines); border-radius: 9px; overflow-wrap: anywhere; }
#trial-facts-title { margin: 0 0 9px; }
#trial-review form { margin-top: 13px; }
@media (max-width: 740px) {
  .trial-intro { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .trial-copy { padding: 0; }
  .trial-analysis, .report-readout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 475px) {
  .trial-result > [id] { scroll-margin-top: 110px; }
  #trial-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .trial-matrix :is(th, td) { padding-inline: 4px; }
  .trial-matrix :is(thead th:first-child, tbody th) { width: 48%; }
  .trial-matrix.trial-method-table :is(thead th:first-child, tbody th) { width: 22%; }
  .trial-matrix.trial-comparison-table :is(thead th:first-child, tbody th) { width: 23%; }
  .trial-matrix td .answer-chip { padding-inline: 4px; }
  .domain-row summary { grid-template-columns: minmax(0, 1fr) auto auto; padding-inline: 7px; }
  .domain-row progress { display: none; }
  .method-notes { grid-template-columns: 1fr; }
  .trial-input-context { grid-template-columns: 1fr; }
}
