* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.protocol-shell {
  width: min(1280px, calc(100% - 48px));
  padding: 24px 0 64px;
}

.protocol-kicker {
  margin: 0 0 7px;
  color: var(--on-accent);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.protocol-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 260px;
  margin-bottom: 34px;
  padding: 42px;
  align-items: center;
  gap: 36px;
  border: 1px solid var(--on-line);
  border-radius: var(--on-radius-lg);
  background:
    radial-gradient(circle at 90% 15%, rgba(40, 121, 103, .12), transparent 18rem),
    linear-gradient(135deg, #fff 0%, #f2f8f5 100%);
  box-shadow: var(--on-shadow-sm);
}

.protocol-hero h1,
.workspace-header h1 {
  max-width: 760px;
  margin: 0;
  color: var(--on-ink);
  font-family: var(--on-display-font);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.protocol-hero p:last-child,
.workspace-header > div:first-child > p:last-child {
  max-width: 750px;
  margin: 16px 0 0;
  color: var(--on-muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.protocol-hero__mark {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  color: var(--on-accent-strong);
  border: 1px solid rgba(40, 121, 103, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--on-shadow-sm);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.protocol-hero__mark i {
  display: block;
  width: 24px;
  height: 1px;
  margin: 0 8px;
  background: var(--on-line-strong);
}

.library-section { margin-bottom: 34px; }

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

.library-heading h2,
.framework-note h2 {
  margin: 0;
  font-family: var(--on-display-font);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -.025em;
}

.library-count,
.protocol-card__status {
  display: inline-flex;
  min-height: 28px;
  padding: 5px 11px;
  align-items: center;
  border-radius: 999px;
  background: var(--on-accent-soft);
  color: var(--on-accent-strong);
  font-size: .72rem;
  font-weight: 800;
}

.library-controls {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.library-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  width: min(430px, 100%);
  min-height: 44px;
  padding: 0 13px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--on-line-strong);
  border-radius: 12px;
  background: #fff;
}

.library-search:focus-within {
  border-color: var(--on-accent);
  box-shadow: 0 0 0 3px rgba(40, 121, 103, .12);
}

.library-search svg {
  width: 18px;
  fill: none;
  stroke: var(--on-muted);
  stroke-width: 1.8;
}

.library-search input {
  min-width: 0;
  min-height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--on-ink);
}

.category-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.category-filters button {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--on-line);
  border-radius: 999px;
  background: #fff;
  color: var(--on-muted);
  font-size: .76rem;
  font-weight: 800;
}
.category-filters button:hover,
.category-filters button.is-active {
  border-color: rgba(40, 121, 103, .22);
  background: var(--on-accent-soft);
  color: var(--on-accent-strong);
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}

.protocol-card {
  display: flex;
  min-height: 330px;
  padding: 26px;
  flex-direction: column;
  color: var(--on-ink);
  border: 1px solid var(--on-line);
  border-radius: var(--on-radius-lg);
  background: var(--on-surface);
  box-shadow: var(--on-shadow-sm);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.protocol-card:hover,
.protocol-card:focus-visible {
  border-color: rgba(40, 121, 103, .42);
  box-shadow: var(--on-shadow);
  outline: none;
  transform: translateY(-2px);
}

.protocol-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.protocol-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  background: var(--on-accent-soft);
  color: var(--on-accent-strong);
  font-size: .95rem;
  font-weight: 900;
}
.protocol-card__category {
  margin: 22px 0 5px;
  color: var(--on-accent);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.protocol-card h3 { margin: 0; font-size: 1.38rem; line-height: 1.2; }
.protocol-card__description { margin: 10px 0 16px; color: var(--on-muted); line-height: 1.58; }
.protocol-card__features { display: flex; flex-wrap: wrap; gap: 6px; }
.protocol-card__features span {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--on-surface-soft);
  color: var(--on-muted);
  font-size: .68rem;
  font-weight: 750;
}
.protocol-card__open { display: flex; margin-top: auto; padding-top: 24px; align-items: center; justify-content: space-between; color: var(--on-accent-strong); font-size: .82rem; font-weight: 850; }
.protocol-card__open b { font-size: 1.2rem; }

.library-empty { padding: 52px; border: 1px dashed var(--on-line-strong); border-radius: var(--on-radius-lg); text-align: center; }
.library-empty strong { font-family: var(--on-display-font); font-size: 1.5rem; }
.library-empty p { margin: 8px 0 0; color: var(--on-muted); }

.framework-note {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  padding: 28px;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--on-line);
  border-radius: var(--on-radius-lg);
  background: linear-gradient(125deg, var(--on-surface-warm), #fff 70%);
}
.framework-note__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #fff; color: var(--on-accent); font-size: 2rem; box-shadow: var(--on-shadow-sm); }
.framework-note p:last-child { max-width: 880px; margin: 8px 0 0; color: var(--on-muted); line-height: 1.6; }

.workspace-header {
  display: flex;
  padding: 24px 4px 30px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.workspace-header h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.workspace-back { display: inline-block; margin-bottom: 20px; color: var(--on-muted); font-size: .78rem; font-weight: 800; text-decoration: none; }
.workspace-back:hover { color: var(--on-accent); }
.workspace-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.primary-action,
.secondary-action,
.quiet-action {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 850;
}
.primary-action { border: 1px solid var(--on-accent-strong); background: var(--on-accent-strong); color: #fff; }
.secondary-action { border: 1px solid var(--on-line-strong); background: #fff; color: var(--on-ink); }
.quiet-action { border: 1px solid transparent; background: var(--on-surface-soft); color: var(--on-muted); }
.primary-action:hover { background: var(--on-accent); }
.secondary-action:hover,
.quiet-action:hover { border-color: var(--on-accent); color: var(--on-accent-strong); }

.protocol-workspace { display: grid; gap: 18px; }
.protocol-section {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 26px;
  gap: 20px;
  border: 1px solid var(--on-line);
  border-radius: var(--on-radius-lg);
  background: var(--on-surface);
  box-shadow: var(--on-shadow-sm);
}
.protocol-section__number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--on-accent-strong);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.protocol-section__content { min-width: 0; }
.protocol-section__heading { display: flex; margin-bottom: 20px; justify-content: space-between; gap: 20px; }
.protocol-section__heading h2 { margin: 0; font-size: 1.35rem; }
.protocol-section__heading p { max-width: 820px; margin: 6px 0 0; color: var(--on-muted); font-size: .88rem; line-height: 1.55; }

.protocol-field-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; }
.protocol-field { display: grid; min-width: 0; gap: 7px; color: var(--on-ink); font-size: .74rem; font-weight: 800; }
.protocol-field input,
.protocol-field select,
.mini-volume input {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--on-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--on-ink);
  outline: none;
}
.protocol-field input:focus,
.protocol-field select:focus,
.mini-volume input:focus { border-color: var(--on-accent); box-shadow: 0 0 0 3px rgba(40, 121, 103, .12); }
.protocol-input-with-unit,
.mini-volume { position: relative; display: block; }
.protocol-input-with-unit input { padding-right: 48px; }
.protocol-input-with-unit b,
.mini-volume b { position: absolute; top: 50%; right: 11px; color: var(--on-muted); font-size: .7rem; transform: translateY(-50%); pointer-events: none; }
.protocol-callout { display: flex; margin-top: 16px; padding: 13px 15px; align-items: flex-start; gap: 12px; border-radius: 11px; background: var(--on-info-soft); color: #315d85; font-size: .78rem; line-height: 1.5; }
.protocol-callout strong { flex: 0 0 auto; }

.layout-toolbar { display: grid; grid-template-columns: 150px 150px minmax(170px, 1fr) auto; align-items: end; gap: 11px; }
.layout-toolbar__actions { display: flex; gap: 7px; }
.plate-legend { display: flex; margin: 18px 0 10px; flex-wrap: wrap; align-items: center; gap: 13px; color: var(--on-muted); font-size: .72rem; font-weight: 750; }
.plate-legend span { display: inline-flex; align-items: center; gap: 6px; }
.plate-legend i { display: block; width: 10px; height: 10px; border-radius: 3px; }
.plate-legend small { margin-left: auto; }
.role-sample { background: #4f8fc7; }
.role-control { background: #8a6cb3; }
.role-blank { background: #bd8432; }
.plate-stage {
  display: grid;
  grid-template-columns: repeat(var(--plate-columns), minmax(38px, 1fr));
  max-width: 100%;
  padding: 16px;
  gap: 7px;
  overflow-x: auto;
  border: 1px solid var(--on-line);
  border-radius: 16px;
  background: var(--on-surface-soft);
}
.plate-well {
  display: grid;
  min-width: 38px;
  min-height: 58px;
  padding: 6px;
  align-content: center;
  gap: 3px;
  overflow: hidden;
  border: 1px solid var(--on-line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--on-muted);
  text-align: center;
}
.plate-well:hover { border-color: var(--on-accent); }
.plate-well b { font-size: .66rem; }
.plate-well span { overflow: hidden; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.plate-well.is-assigned { color: var(--on-ink); box-shadow: inset 0 3px var(--role-color); }
.plate-well.role-sample { --role-color: #4f8fc7; background: #eef6fc; }
.plate-well.role-control { --role-color: #8a6cb3; background: #f5f1fa; }
.plate-well.role-blank { --role-color: #bd8432; background: #fff7e9; }

.calculation-grid,
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calculation-card,
.summary-card { padding: 20px; border: 1px solid var(--on-line); border-radius: 15px; background: var(--on-surface-soft); }
.calculation-card__heading { display: flex; margin-bottom: 15px; align-items: flex-start; justify-content: space-between; gap: 16px; }
.calculation-card h3,
.summary-card h3 { margin: 0; font-size: 1.05rem; }
.calculation-card__heading > span { padding: 5px 9px; border-radius: 999px; background: var(--on-accent-soft); color: var(--on-accent-strong); font-size: .68rem; font-weight: 850; }
.mini-volume { width: 115px; }
.mini-volume input { min-height: 36px; padding-right: 36px; }
.calculation-note { margin: -5px 0 12px; color: var(--on-muted); font-size: .72rem; }
.result-list,
.summary-details { margin: 0; }
.result-list > div,
.summary-details > div { display: flex; min-height: 39px; padding: 8px 0; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--on-line); }
.result-list > div:last-child,
.summary-details > div:last-child { border-bottom: 0; }
.result-list dt,
.summary-details dt { color: var(--on-muted); font-size: .75rem; }
.result-list dd,
.summary-details dd { margin: 0; font-size: .8rem; font-weight: 850; text-align: right; }
.calculation-warning { display: flex; margin-top: 12px; padding: 13px 15px; gap: 12px; border: 1px solid rgba(180, 120, 29, .2); border-radius: 11px; background: var(--on-warning-soft); color: #805918; font-size: .76rem; line-height: 1.5; }
.calculation-warning strong { flex: 0 0 auto; }
.summary-card { background: #fff; }
.summary-card h3 { margin-bottom: 11px; }
.check-row { display: flex; min-height: 39px; padding: 7px 0; align-items: center; gap: 9px; border-bottom: 1px solid var(--on-line); color: var(--on-ink); font-size: .76rem; }
.check-row:last-child { border-bottom: 0; }
.check-row input { width: 17px; height: 17px; accent-color: var(--on-accent); }

/* Evans Blue workspace */
.evans-blue-header h1 { color: #183d43; }
.evans-blue-settings { align-items: stretch; }
.fixed-parameter {
  display: grid;
  min-height: 70px;
  padding: 11px 13px;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--on-line);
  border-radius: 11px;
  background: var(--on-surface-soft);
}
.fixed-parameter > span { color: var(--on-muted); font-size: .68rem; font-weight: 800; }
.fixed-parameter strong { color: var(--on-ink); font-size: .92rem; }
.fixed-parameter small { color: var(--on-muted); font-size: .65rem; }
.group-planner,
.animal-planner { margin-top: 24px; }
.subsection-heading {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.subsection-heading h3 { margin: 0; font-size: 1.08rem; }
.subsection-heading > span { color: var(--on-muted); font-size: .74rem; font-weight: 800; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--on-line); border-radius: 13px; }
.protocol-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .76rem; }
.protocol-table th,
.protocol-table td { min-height: 46px; padding: 10px 12px; border-bottom: 1px solid var(--on-line); text-align: left; white-space: nowrap; }
.protocol-table thead th { background: var(--on-surface-soft); color: var(--on-muted); font-size: .67rem; letter-spacing: .035em; text-transform: uppercase; }
.protocol-table tbody tr:last-child th,
.protocol-table tbody tr:last-child td { border-bottom: 0; }
.animal-table { min-width: 720px; }
.group-table { min-width: 560px; }
.group-table th:first-child,
.group-table td:first-child { width: 48px; color: var(--on-muted); text-align: center; }
.group-table th:last-child,
.group-table td:last-child { width: 210px; }
.animal-table th:first-child,
.animal-table td:first-child { width: 44px; color: var(--on-muted); text-align: center; }
.animal-table th:last-child,
.animal-table td:last-child { width: 150px; text-align: right; }
.table-input,
.table-number-input input {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid var(--on-line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--on-ink);
  outline: none;
}
.table-input:focus,
.table-number-input input:focus { border-color: var(--on-accent); box-shadow: 0 0 0 3px rgba(40, 121, 103, .1); }
.table-number-input { position: relative; display: block; min-width: 110px; }
.table-number-input input { padding-right: 28px; }
.table-number-input b { position: absolute; top: 50%; right: 9px; color: var(--on-muted); font-size: .68rem; transform: translateY(-50%); }
.group-label {
  display: inline-flex;
  min-height: 30px;
  padding: 6px 10px;
  align-items: center;
  border-radius: 999px;
  background: var(--on-accent-soft);
  color: var(--on-accent-strong);
  font-size: .72rem;
  font-weight: 850;
}
.group-plan-footer { display: flex; margin-top: 12px; align-items: center; justify-content: space-between; gap: 16px; }
.group-plan-status { display: grid; gap: 2px; color: var(--on-muted); }
.group-plan-status strong { color: var(--on-ink); font-size: .78rem; }
.group-plan-status span { font-size: .68rem; }
.group-plan-status.is-dirty span { color: #9a681a; font-weight: 750; }
button:disabled { cursor: not-allowed; opacity: .45; }
.plate-summary-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--on-line);
  border-radius: 13px;
  background: var(--on-surface-soft);
}
.plate-summary-bar > div { display: grid; min-height: 70px; padding: 12px 15px; align-content: center; gap: 3px; border-right: 1px solid var(--on-line); }
.plate-summary-bar > div:last-child { border-right: 0; }
.plate-summary-bar span { color: var(--on-muted); font-size: .67rem; font-weight: 750; }
.plate-summary-bar strong { font-size: 1rem; }
.role-standard { background: #8568a8; }
.role-ipsilateral { background: #c66352; }
.role-contralateral { background: #3d83aa; }
.role-blood { background: #b48632; }
.plate-tabs { display: flex; margin: 4px 0 10px; flex-wrap: wrap; gap: 7px; }
.plate-tabs button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--on-line);
  border-radius: 999px;
  background: #fff;
  color: var(--on-muted);
  font-size: .72rem;
  font-weight: 800;
}
.plate-tabs button:hover,
.plate-tabs button.is-active { border-color: rgba(40, 121, 103, .3); background: var(--on-accent-soft); color: var(--on-accent-strong); }
.evans-plate-wrap { max-width: 100%; padding: 14px; overflow-x: auto; border: 1px solid var(--on-line); border-radius: 16px; background: var(--on-surface-soft); }
.evans-plate {
  display: grid;
  grid-template-columns: 26px repeat(12, minmax(70px, 1fr));
  min-width: 980px;
  gap: 6px;
}
.plate-axis { display: grid; min-height: 22px; place-items: center; color: var(--on-muted); font-size: .65rem; font-weight: 850; }
.plate-axis--corner { background: transparent; }
.evans-well {
  display: grid;
  min-height: 68px;
  padding: 6px;
  align-content: center;
  gap: 2px;
  overflow: hidden;
  border: 1px solid var(--on-line-strong);
  border-radius: 9px;
  background: #fff;
  color: #9aa8a3;
  text-align: center;
}
.evans-well b { font-size: .6rem; }
.evans-well span { overflow: hidden; font-size: .64rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.evans-well small { overflow: hidden; font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }
.evans-well.is-assigned { color: var(--on-ink); box-shadow: inset 0 3px var(--well-role); }
.evans-well.role-standard { --well-role: #8568a8; background: #f5f1f9; }
.evans-well.role-ipsilateral { --well-role: #c66352; background: #fdf1ee; }
.evans-well.role-contralateral { --well-role: #3d83aa; background: #eef7fb; }
.evans-well.role-blood { --well-role: #b48632; background: #fff7e8; }
.evans-calculation-grid { align-items: start; }
.tca-card { grid-row: span 2; }
.source-link { display: inline-block; margin-top: 12px; color: var(--on-accent-strong); font-size: .7rem; font-weight: 800; text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.standard-curve-card,
.protocol-reference { margin-top: 16px; padding: 20px; border: 1px solid var(--on-line); border-radius: 15px; background: #fff; }
.standard-volume-badge { padding: 7px 11px; border-radius: 999px; background: var(--on-accent-soft); color: var(--on-accent-strong) !important; }
.solution-a-banner { display: flex; margin-bottom: 14px; padding: 13px 15px; align-items: center; justify-content: space-between; gap: 18px; border-radius: 11px; background: #f1f7f5; color: var(--on-muted); font-size: .75rem; }
.solution-a-banner strong { color: var(--on-accent-strong); }
.standard-table { min-width: 760px; }
.standard-table tbody th { color: var(--on-accent-strong); }
.table-note { margin: 10px 0 0; color: var(--on-muted); font-size: .7rem; line-height: 1.5; }
.protocol-reference { background: var(--on-surface-soft); }
.reference-steps { display: grid; margin: 0; padding: 0; gap: 8px; list-style: none; counter-reset: protocol-step; }
.reference-steps li { display: grid; grid-template-columns: minmax(145px, .32fr) minmax(0, 1fr); padding: 12px 0; gap: 18px; border-bottom: 1px solid var(--on-line); counter-increment: protocol-step; }
.reference-steps li:last-child { border-bottom: 0; }
.reference-steps b { position: relative; padding-left: 30px; font-size: .76rem; }
.reference-steps b::before { content: counter(protocol-step); position: absolute; top: -3px; left: 0; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--on-accent-strong); color: #fff; font-size: .6rem; }
.reference-steps span { color: var(--on-muted); font-size: .76rem; line-height: 1.55; }

@media (max-width: 980px) {
  .protocol-hero { grid-template-columns: 1fr; }
  .protocol-hero__mark { width: max-content; }
  .library-controls { align-items: stretch; flex-direction: column; }
  .category-filters { justify-content: flex-start; }
  .protocol-field-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .layout-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-toolbar__actions { align-items: end; }
  .plate-summary-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate-summary-bar > div:nth-child(2) { border-right: 0; }
  .plate-summary-bar > div:nth-child(-n+2) { border-bottom: 1px solid var(--on-line); }
}

@media (max-width: 700px) {
  .protocol-shell { width: min(100% - 24px, 1280px); padding-top: 18px; }
  .protocol-hero { min-height: 0; padding: 26px 22px; }
  .protocol-hero__mark { display: none; }
  .library-heading,
  .workspace-header { align-items: flex-start; flex-direction: column; }
  .workspace-actions { width: 100%; justify-content: flex-start; }
  .protocol-grid { grid-template-columns: 1fr; }
  .framework-note { grid-template-columns: 1fr; }
  .protocol-section { grid-template-columns: 1fr; padding: 18px; }
  .protocol-field-grid,
  .layout-toolbar,
  .calculation-grid,
  .summary-grid { grid-template-columns: 1fr; }
  .layout-toolbar__actions { flex-wrap: wrap; }
  .plate-legend small { width: 100%; margin-left: 0; }
  .subsection-heading,
  .solution-a-banner,
  .group-plan-footer { align-items: flex-start; flex-direction: column; }
  .reference-steps li { grid-template-columns: 1fr; gap: 7px; }
}

@media print {
  .on-header,
  .on-subnav,
  .workspace-actions,
  .workspace-back,
  .protocol-section:nth-of-type(1),
  .protocol-section:nth-of-type(2),
  .protocol-section:nth-of-type(3) { display: none !important; }
  body.on-app { background: #fff; }
  .protocol-shell { width: 100%; padding: 0; }
  .workspace-header { padding: 0 0 18px; }
  .protocol-workspace { display: block; }
  .protocol-section { padding: 0; border: 0; box-shadow: none; }
  .protocol-section__number { display: none; }
  .summary-card { break-inside: avoid; }
  .evans-blue-workspace .protocol-section:nth-of-type(2),
  .evans-blue-workspace .protocol-section:nth-of-type(3),
  .evans-blue-workspace .protocol-section:nth-of-type(4) { display: grid !important; margin-bottom: 18px; }
  .evans-blue-workspace .protocol-section:nth-of-type(1) { display: none !important; }
  .plate-tabs { display: none; }
  .evans-plate-wrap { padding: 8px; overflow: visible; }
  .evans-plate { min-width: 0; grid-template-columns: 18px repeat(12, minmax(0, 1fr)); gap: 2px; }
  .evans-well { min-height: 46px; padding: 2px; border-radius: 4px; }
  .evans-well b { font-size: .43rem; }
  .evans-well span { font-size: .46rem; }
  .evans-well small { font-size: .38rem; }
  .standard-curve-card,
  .protocol-reference { break-inside: avoid; }
}
