:root {
  --pico-font-family-sans-serif: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pico-font-size: 100%;
  --pico-line-height: 1.5;
  --pico-border-radius: 5px;
  --pico-spacing: 0.9rem;
  --pico-primary: #2457a6;
  --pico-primary-hover: #1b478a;
  --pico-primary-focus: rgba(36, 87, 166, 0.2);
  --pico-primary-inverse: #ffffff;
  --pico-secondary: #526173;
  --pico-secondary-hover: #3f4d5d;
  --pico-muted-color: #647184;
  --pico-color: #182230;
  --pico-background-color: #f7f8fa;
  --pico-card-background-color: #ffffff;
  --pico-card-border-color: #dce1e8;
  --pico-form-element-border-color: #cbd2dc;
  --pico-form-element-active-border-color: #2457a6;
  --pico-form-element-focus-color: rgba(36, 87, 166, 0.16);
  --page-width: 1240px;
  --surface: #ffffff;
  --surface-subtle: #f3f5f7;
  --surface-blue: #f2f6fc;
  --text: #182230;
  --muted: #647184;
  --line: #dce1e8;
  --line-strong: #c8d0db;
  --blue: #2457a6;
  --blue-dark: #183d76;
  --green: #26734d;
  --green-bg: #edf7f1;
  --amber: #8a5b12;
  --amber-bg: #fff7e8;
  --red: #a23c35;
  --red-bg: #fff0ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f7f8fa;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #f7f8fa;
  font-feature-settings: "kern", "tnum";
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-dark);
}

code {
  padding: 0.12rem 0.32rem;
  border: 1px solid #e0e4ea;
  border-radius: 3px;
  color: #344153;
  background: #f4f5f7;
  font-size: 0.9em;
}

h1,
h2,
h3,
h4 {
  color: #142033;
  letter-spacing: -0.018em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

p,
ul,
ol,
dl {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.site-header-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  width: min(calc(100% - 40px), var(--page-width));
  min-height: 64px;
  margin: 0 auto;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  width: max-content;
  color: var(--text);
  text-decoration: none;
}

.site-brand strong {
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.site-brand span {
  color: var(--muted);
  font-size: 0.77rem;
  white-space: nowrap;
}

.primary-nav,
.account-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
}

.account-nav {
  justify-content: flex-end;
  gap: 14px;
}

.primary-nav a,
.account-nav a,
.link-button {
  position: relative;
  margin: 0;
  padding: 1.3rem 0 1.18rem;
  border: 0;
  border-radius: 0;
  color: #4e5d70;
  background: transparent;
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1;
  text-decoration: none;
}

.primary-nav a::after,
.account-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
}

.primary-nav a:hover,
.primary-nav a.active,
.account-nav a:hover,
.account-nav a.active,
.link-button:hover {
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.primary-nav a.active::after,
.account-nav a.active::after {
  background: var(--blue);
}

.account-nav form {
  margin: 0;
}

.link-button {
  width: auto;
  cursor: pointer;
}

.site-main {
  width: min(calc(100% - 40px), var(--page-width));
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 34px 0 64px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
  padding: 20px 0 28px;
  gap: 20px;
  font-size: 0.78rem;
}

.site-footer a {
  color: inherit;
}

.page-heading,
.page-hero {
  display: grid;
  gap: 22px;
  margin: 0 0 28px;
  padding: 4px 0 26px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.page-heading.two-column,
.page-hero.two-column {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.75fr);
  align-items: start;
}

.page-heading.compact,
.page-hero.compact {
  padding-bottom: 22px;
}

.page-heading h1,
.page-hero h1 {
  max-width: 950px;
}

.page-heading p,
.page-hero p,
.hero-copy > p {
  max-width: 860px;
  margin: 12px 0 0;
  color: #536174;
  font-size: 1rem;
  line-height: 1.65;
}

.kicker,
.eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-actions,
.button-row,
.hero-tags,
.chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.page-actions,
.button-row {
  margin-top: 18px;
}

.hero-tags {
  margin-top: 16px;
}

.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 18px;
  color: #59687a;
  font-size: 0.88rem;
}

.summary-strip span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.summary-strip strong {
  color: var(--text);
  font-size: 1rem;
}

.hero-chip,
.chip,
.status-badge,
.rank-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  padding: 0.2rem 0.48rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #526173;
  background: #ffffff;
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.25;
}

.hero-chip,
.chip.sky,
.chip.teal {
  border-color: #cdd9eb;
  color: #315889;
  background: var(--surface-blue);
}

.chip.amber {
  border-color: #ead8b9;
  color: var(--amber);
  background: var(--amber-bg);
}

.chip.coral {
  border-color: #edcbc8;
  color: var(--red);
  background: var(--red-bg);
}

.rank-chip {
  justify-content: center;
  min-width: 36px;
  border-color: transparent;
  color: #445266;
  background: transparent;
  font-size: 0.84rem;
}

.rank-chip.leader,
.rank-chip.top {
  color: var(--blue-dark);
  background: #eef3fa;
}

.status-badge {
  text-transform: capitalize;
}

.status-badge.official,
.status-badge.success {
  border-color: #c5dfd1;
  color: var(--green);
  background: var(--green-bg);
}

.status-badge.pending,
.status-badge.unofficial {
  border-color: #ead8b9;
  color: var(--amber);
  background: var(--amber-bg);
}

.status-badge.failed,
.status-badge.error {
  border-color: #edcbc8;
  color: var(--red);
  background: var(--red-bg);
}

.button,
a.button,
button.button,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 0.55rem 0.78rem;
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover,
a.button:hover,
button.button:hover,
button[type="submit"]:hover {
  border-color: var(--blue-dark);
  color: #ffffff;
  background: var(--blue-dark);
  box-shadow: none;
}

.button.secondary,
a.button.secondary {
  border-color: var(--line-strong);
  color: #364458;
  background: #ffffff;
}

.button.secondary:hover,
a.button.secondary:hover {
  border-color: #9ba8b8;
  color: var(--blue-dark);
  background: #f5f7fa;
}

.button.inline,
a.button.inline,
button.button.inline {
  min-height: 30px;
  padding: 0.35rem 0.56rem;
  font-size: 0.76rem;
}

.text-link {
  font-size: 0.84rem;
  font-weight: 650;
}

.hero-aside,
.panel-stack,
.stack {
  display: grid;
  gap: 12px;
}

.hero-sidecard,
.surface,
.metric-card,
.insight-card,
.spotlight-card,
.capability-card,
.doc-brief-card,
.trial-leader-card {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: none;
}

.surface code {
  overflow-wrap: anywhere;
  white-space: normal;
}

.hero-sidecard h2,
.hero-sidecard h3,
.surface h3,
.metric-card h3,
.insight-card h3,
.spotlight-card h3,
.capability-card h3 {
  margin: 0 0 8px;
}

.panel {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: none;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 18px;
}

.panel-header h2,
.panel-header h3 {
  margin: 0;
}

.panel-header p {
  margin: 6px 0 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 18px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p {
  max-width: 720px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.kpi-grid,
.metric-grid,
.insight-grid,
.spotlight-grid,
.card-grid,
.micro-grid,
.split-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.kpi-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
}

.kpi-label,
.metric-label,
.protocol-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.kpi-value,
.metric-value {
  color: #17243a;
  font-size: 1.55rem;
  font-weight: 700;
}

.score-stack {
  display: grid;
  gap: 2px;
}

.score-pair {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.score-primary {
  color: #17243a;
  font-size: 0.98rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.score-value-secondary,
.score-secondary,
.subtle,
.muted,
.caption,
.fine-print,
.metric-note,
.kpi-meta {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.score-separator {
  color: #9aa5b3;
}

.model-cell strong {
  display: block;
}

.model-cell a {
  color: #1c4f95;
  font-weight: 650;
}

.table-shell {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.table-shell table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.table-shell th,
.table-shell td {
  padding: 0.67rem 0.72rem;
  border-bottom: 1px solid #e6e9ee;
  vertical-align: top;
}

.table-shell th {
  color: #526173;
  background: #f4f6f8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-shell tbody tr:last-child td {
  border-bottom: 0;
}

.table-shell tbody tr:hover td {
  background: #fafbfd;
}

.table-shell td:first-child,
.table-shell th:first-child {
  padding-left: 0.82rem;
}

.numeric,
.table-shell td.numeric,
.table-shell th.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.metric-head-note {
  display: block;
  margin-top: 2px;
  color: #7b8796;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.definition-strip,
.protocol-facts,
.trial-leader-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.definition-strip > div,
.protocol-facts > div,
.trial-leader-metrics > div {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.definition-strip > div:last-child,
.protocol-facts > div:last-child,
.trial-leader-metrics > div:last-child {
  border-right: 0;
}

.system-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.system-summary.pending-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
}

.review-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 3px;
  background: #ffffff;
  gap: 18px;
}

.review-line > div {
  display: grid;
  gap: 2px;
}

.review-line strong {
  color: #26364b;
  font-size: 0.86rem;
}

.review-line span {
  color: var(--muted);
  font-size: 0.79rem;
}

.review-line form {
  flex: none;
  margin: 0;
}

.hero-model-title {
  overflow-wrap: anywhere;
}

.definition-strip dt,
.definition-strip .label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.definition-strip dd,
.definition-strip .value {
  margin: 0;
  color: #17243a;
  font-size: 0.92rem;
  font-weight: 650;
}

.segmented {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f6f8;
}

.segmented a {
  padding: 0.35rem 0.55rem;
  border-radius: 3px;
  color: #586679;
  font-size: 0.75rem;
  text-decoration: none;
}

.segmented a.active {
  color: #213650;
  background: #ffffff;
}

.rail-list,
.leader-list,
.mini-list,
.callout-list,
.evidence-compact-list,
.doc-fact-list {
  margin: 0;
  padding-left: 1.1rem;
}

.rail-list {
  display: grid;
  padding: 0;
  list-style: none;
}

.rail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #e8ebef;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.rail-row:last-child {
  border-bottom: 0;
}

.rail-main {
  display: grid;
  gap: 1px;
}

.rail-main span,
.rail-meta {
  color: var(--muted);
  font-size: 0.72rem;
}

.protocol-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0 0;
}

.hero-protocol-brief p {
  font-size: 0.84rem;
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: #e7ebf0;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
}

.evidence-compact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.evidence-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.22rem 0.38rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #445266;
  background: #ffffff;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.evidence-metric:hover {
  border-color: #aeb9c7;
  color: var(--blue-dark);
  background: #f7f9fc;
}

.evidence-rank {
  min-width: 22px;
  color: #6a7686;
  font-weight: 700;
}

.evidence-rank.leader,
.evidence-rank.top {
  color: var(--blue-dark);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(260px, 360px);
  align-items: start;
  justify-content: center;
  gap: 28px;
}

.form-layout.wide {
  grid-template-columns: minmax(0, 720px) minmax(280px, 380px);
}

.form-panel {
  margin: 0;
}

.side-notes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.side-notes section {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.side-notes h2 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.side-notes p,
.side-notes ul,
.side-notes ol {
  margin-bottom: 12px;
  color: #596779;
  font-size: 0.84rem;
  line-height: 1.6;
}

.compact-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #566477;
  font-size: 0.84rem;
  line-height: 1.65;
}

.workflow-list {
  border-top: 1px solid var(--line-strong);
}

.workflow-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: start;
  margin: 0;
  padding: 25px 0;
  border-bottom: 1px solid var(--line-strong);
  gap: 22px;
  background: transparent;
  box-shadow: none;
}

.workflow-index {
  color: #8792a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
}

.workflow-row h2 {
  margin: 0 0 7px;
}

.workflow-row p {
  max-width: 760px;
  margin: 0 0 10px;
  color: #596779;
  font-size: 0.9rem;
}

.workflow-action {
  align-self: center;
}

.workflow-actions {
  display: grid;
  gap: 8px;
}

.workflow-actions .button {
  width: 100%;
}

.resource-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 28px;
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  gap: 28px;
}

.resource-callout > div {
  max-width: 820px;
}

.resource-callout h2 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.resource-callout p {
  margin: 0;
  color: #596779;
  font-size: 0.86rem;
  line-height: 1.6;
}

.resource-callout .button {
  flex: none;
}

.document-shell {
  padding: 26px clamp(18px, 4vw, 48px) 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}

.table-actions {
  margin: 0;
  gap: 6px;
}

.table-actions form {
  margin: 0;
}

.form-grid label {
  margin: 0;
  color: #344154;
  font-size: 0.82rem;
  font-weight: 650;
}

input,
textarea,
select {
  margin-top: 5px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}

textarea {
  resize: vertical;
}

.form-note,
.success,
.error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 3px;
  font-size: 0.84rem;
}

.success {
  border-left-color: var(--green);
  color: #245d42;
  background: var(--green-bg);
}

.error {
  border-left-color: var(--red);
  color: #84352f;
  background: var(--red-bg);
}

.disclosure,
.mini-disclosure {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.disclosure summary,
.mini-disclosure summary,
.disclosure-summary {
  padding: 12px 14px;
  color: #26364b;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
}

.disclosure-body,
.mini-disclosure-copy {
  padding: 0 14px 14px;
}

.mini-disclosure-icon {
  color: var(--muted);
}

.markdown-body {
  max-width: 900px;
  margin: 0 auto;
  color: #263448;
  font-size: 0.94rem;
  line-height: 1.75;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
  margin-top: 1.7em;
}

.markdown-body pre {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f5f7;
}

.markdown-body pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.footer-note,
.filing-record {
  display: none;
}

body.capture-mode .site-header,
body.capture-mode .site-footer {
  display: none;
}

body.capture-mode .site-main {
  width: min(calc(100% - 28px), var(--page-width));
  padding-top: 18px;
}

@media (max-width: 1050px) {
  .site-header-inner {
    grid-template-columns: 1fr auto;
    gap: 8px 20px;
    padding-top: 10px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .primary-nav a {
    padding: 0.7rem 0 0.85rem;
  }

  .account-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .account-nav a,
  .link-button {
    padding: 0.65rem 0;
  }

  .page-heading.two-column,
  .page-hero.two-column {
    grid-template-columns: 1fr;
  }

  .form-layout,
  .form-layout.wide {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  }

  .hero-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-grid,
  .metric-grid,
  .insight-grid,
  .spotlight-grid,
  .card-grid,
  .micro-grid,
  .split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --pico-font-size: 95%;
  }

  .site-header-inner,
  .site-main,
  .site-footer-inner {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .site-header-inner {
    grid-template-columns: 1fr;
    padding-top: 11px;
  }

  .site-brand span {
    display: none;
  }

  .account-nav {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .primary-nav {
    grid-column: 1;
    grid-row: 3;
    gap: 18px;
  }

  .site-main {
    padding: 24px 0 48px;
  }

  .site-footer-inner,
  .panel-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading,
  .page-hero {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .page-heading h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-aside,
  .kpi-grid,
  .metric-grid,
  .insight-grid,
  .spotlight-grid,
  .card-grid,
  .micro-grid,
  .split-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-layout,
  .form-layout.wide {
    grid-template-columns: 1fr;
  }

  .workflow-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .workflow-action {
    grid-column: 2;
  }

  .resource-callout {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .panel {
    padding: 14px;
  }

  .definition-strip,
  .protocol-facts,
  .trial-leader-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .system-summary,
  .system-summary.pending-summary {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }

  .review-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .definition-strip > div:nth-child(2n),
  .protocol-facts > div:nth-child(2n),
  .trial-leader-metrics > div:nth-child(2n) {
    border-right: 0;
  }

  .definition-strip > div,
  .protocol-facts > div,
  .trial-leader-metrics > div {
    border-bottom: 1px solid var(--line);
  }

  .definition-strip > div:nth-last-child(-n + 2),
  .protocol-facts > div:nth-last-child(-n + 2),
  .trial-leader-metrics > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .table-shell table {
    min-width: 680px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .page-actions {
    display: none !important;
  }

  body,
  .site-main {
    width: 100%;
    background: #ffffff;
  }

  .panel,
  .table-shell,
  .hero-sidecard,
  .surface {
    break-inside: avoid;
  }
}
