:root {
  color-scheme: light;
  --ground: #f3f5f2;
  --paper: #fff;
  --ink: #17332f;
  --muted: #586a65;
  --line: #d9e2dc;
  --accent: #116b58;
  --tint: #e5f1eb;
  --amber: #80520e;
  --amber-bg: #fcf2df;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 15px/1.55 var(--body);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
select,
summary {
  touch-action: manipulation;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #1687aa;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin-bottom: 14px;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 9px;
}
p {
  margin-bottom: 12px;
}
.muted,
small {
  color: var(--muted);
}
.scope-note {
  font-size: 11px;
  line-height: 1.6;
  background: #eef4f0;
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  margin-bottom: 16px;
  color: var(--ink);
}
.attribution {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 10px;
  max-width: 700px;
}
small {
  font-size: 12px;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
}
.eyebrow {
  color: var(--accent);
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 5;
  background: var(--paper);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.masthead {
  display: flex;
  align-items: center;
  gap: 35px;
  background: var(--paper);
  padding: 18px 4vw;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.3px;
  margin-top: 5px;
}
.brand-mark {
  border: 1px solid var(--accent);
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 0 0 12px 12px;
  font: 600 21px var(--body);
  letter-spacing: 0;
  color: var(--accent);
}
nav {
  display: flex;
  align-self: stretch;
  gap: 28px;
  align-items: center;
  margin-left: auto;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
nav a[aria-current] {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 54px 4vw 0;
}
.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
h1 {
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 66px);
  letter-spacing: -2.8px;
  line-height: 1.06;
  margin-bottom: 20px;
}
h1 span {
  color: #788d82;
}
.intro {
  max-width: 560px;
  color: var(--muted);
  margin-bottom: 0;
}
.edition {
  min-width: 220px;
  border-left: 1px solid var(--line);
  padding: 10px 0 10px 24px;
  font-size: 13px;
  margin-bottom: 4px;
}
.edition small {
  display: block;
  margin: 7px 0 0 13px;
  font-family: var(--mono);
  font-size: 10px;
}
.status-dot {
  display: inline-block;
  background: var(--accent);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 7px;
}
.source-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--tint);
  border: 1px solid #cddfd2;
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
}
.source-banner strong {
  font-size: 14px;
  font-weight: 500;
}
.source-banner p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
  max-width: 800px;
}
.source-banner .button {
  flex-shrink: 0;
}
.source-banner.demo {
  background: var(--amber-bg);
  border-color: #e8d4a7;
  border-left-color: var(--amber);
}
.source-banner.demo strong {
  color: var(--amber);
}
.app-status {
  font-size: 12px;
  margin: 12px 0 18px;
  min-height: 19px;
  color: var(--muted);
}
.app-status.error {
  color: #9e3428;
}
.selection {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 46px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label,
.compact-field {
  font-size: 11px;
  font-weight: 500;
}
.field label span {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select,
.field textarea,
.compact-field select {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 11px;
  width: 100%;
  border-radius: 3px;
  font-size: 13px;
  min-height: 42px;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}
.asof-field {
  grid-column: 1/3;
}
.update-button {
  grid-column: 5/7;
  align-self: end;
}
.button {
  border: 1px solid #bdcec4;
  background: var(--paper);
  border-radius: 3px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.button:hover:not(:disabled) {
  background: #f2f8f4;
  border-color: var(--accent);
}
.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.button.primary:hover:not(:disabled) {
  background: #0b5545;
}
.button.quiet {
  border-color: var(--line);
  background: transparent;
}
.button.full {
  width: 100%;
}
.text-button {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  text-align: left;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
.section-heading > p {
  font-size: 12px;
  margin: 0;
}
.findings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.finding {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px 22px;
  position: relative;
  min-width: 0;
}
.finding-number {
  display: block;
  font: 400 28px/1.2 var(--body);
  letter-spacing: -1px;
  color: var(--accent);
  margin: 4px 0 19px;
}
.finding h3 {
  font-size: 13px;
  font-weight: 500;
}
.finding p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.finding .finding-tag {
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.brief-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 26px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.panel-heading .text-button {
  margin-top: 22px;
  white-space: nowrap;
}
.supplier-panel,
.trend-panel {
  grid-column: span 8;
}
.quality-panel,
.change-panel {
  grid-column: span 4;
}
.relationships-panel,
.workspace-panel {
  grid-column: 1/-1;
}
.scenario-panel {
  grid-column: 1/-1;
  background: #edf1ed;
}
.panel > .muted,
.panel-heading + .muted {
  font-size: 12px;
  max-width: 770px;
}
.empty {
  padding: 22px 0;
}
.empty .empty-label {
  display: block;
  font: 10px var(--mono);
  letter-spacing: 1.4px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.empty h3 {
  font-size: 18px;
  font-weight: 400;
  max-width: 480px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  max-width: 550px;
}
.empty ul {
  font-size: 12px;
  color: var(--muted);
  padding-left: 18px;
}
.supplier-chart {
  margin-top: 22px;
}
.supplier-bar {
  display: grid;
  grid-template-columns: 110px 1fr 58px;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  margin: 13px 0;
}
.bar-track {
  height: 8px;
  background: #eef2ef;
  border-radius: 1px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--accent);
  min-width: 1px;
}
.supplier-bar.unknown .bar-fill {
  background: repeating-linear-gradient(120deg, #b6a37d, #b6a37d 3px, #eee4cc 3px, #eee4cc 6px);
}
.bar-number {
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
}
.table-wrap {
  overflow: auto;
  margin-top: 18px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 10px 0;
  white-space: nowrap;
}
td {
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid #eaf0eb;
  vertical-align: top;
}
td:last-child,
th:last-child {
  padding-right: 0;
}
.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.quality-row {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.quality-row:first-child {
  padding-top: 2px;
}
.quality-row:last-of-type {
  margin-bottom: 20px;
}
.quality-row .label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.quality-row strong {
  font-size: 17px;
  font-weight: 400;
  display: block;
  margin: 4px 0;
}
.quality-row small {
  display: block;
  font-size: 11px;
}
.quality-meter {
  height: 5px;
  background: #eef2ef;
  margin-top: 10px;
}
.quality-meter > span {
  display: block;
  background: var(--accent);
  height: 100%;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--line);
  background: #f4f7f4;
  border-radius: 2px;
  font: 10px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.pill.warning {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: #eadabb;
}
.pill.verified {
  background: var(--tint);
  color: var(--accent);
  border-color: #cddfd2;
}
.trend-chart svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 250px;
  margin-top: 12px;
  overflow: visible;
}
.chart-label {
  font: 11px var(--mono);
  fill: var(--muted);
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-area {
  fill: #116b580a;
}
.chart-grid {
  stroke: #e3eae4;
  stroke-width: 1;
}
.trend-chart > .empty {
  padding: 10px 0;
}
.trend-chart circle {
  fill: var(--accent);
}
details {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 12px;
}
summary {
  font-size: 11px;
  color: var(--accent);
  cursor: pointer;
}
.change-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.change-item strong {
  font-size: 15px;
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
}
.change-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.compact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
}
.compact-field select {
  padding: 7px 10px;
  min-height: 35px;
  max-width: 270px;
}
.relation-direction {
  white-space: nowrap;
  color: var(--muted);
  font-size: 10px;
  font-family: var(--mono);
}
.relationship-name {
  font-weight: 500;
}
.validity {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.scenario-panel h2 {
  margin-bottom: 9px;
}
.scenario-panel p {
  font-size: 13px;
  max-width: 900px;
  color: var(--muted);
}
.scenario-unavailable {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-top: 16px;
}
.scenario-unavailable p {
  margin: 0;
}
.export-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.workspace-split {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding-top: 24px;
  margin-top: 24px;
}
.workspace-split .field {
  margin-bottom: 12px;
}
.workspace-split h3 {
  font-weight: 500;
}
.workspace-split small {
  font-size: 11px;
}
.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.assessment-archive {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
#assessment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
#case-scope,
#assessment-context {
  overflow-wrap: anywhere;
}
#use-current-case-scope {
  margin-bottom: 16px;
}
.case-list p {
  font-size: 12px;
  color: var(--muted);
  white-space: pre-wrap;
}
.case-list .export-actions {
  margin-bottom: 0;
}
.case-list .button {
  padding: 6px 10px;
  min-height: 32px;
}
.watchlist-insights:not(:empty) {
  padding: 15px;
  background: #f3f7f3;
  margin-top: 16px;
}
.watchlist-insights h3 {
  font-size: 13px;
}
.watchlist-insights p {
  font-size: 11px;
}
.watchlist-insights .change-item {
  padding: 10px 0;
}
.watchlist-insights strong {
  font-size: 13px;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding: 25px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 10px;
}
footer > span {
  font: 10px var(--mono);
  white-space: nowrap;
  letter-spacing: 1px;
}
footer p {
  margin: 0;
}
footer a {
  margin-left: auto;
  white-space: nowrap;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  width: min(760px, calc(100% - 28px));
  max-height: 86dvh;
  padding: 28px;
  box-shadow: 0 20px 80px #0a201f40;
}
dialog::backdrop {
  background: #0c272780;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.close-button {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 30px;
  color: var(--muted);
  padding: 0 2px;
}
.dialog-heading .eyebrow {
  margin-bottom: 7px;
}
dialog h3 {
  font-size: 15px;
  margin-top: 23px;
}
dialog p,
dialog li {
  font-size: 13px;
}
dialog ul {
  padding-left: 20px;
}
.evidence-record {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.evidence-record h3 {
  margin: 0 0 5px;
  font-size: 14px;
}
.evidence-record p {
  font-size: 12px;
  margin: 5px 0;
  color: var(--muted);
}
.evidence-record a {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.evidence-record .mono {
  font-size: 10px;
}
.evidence-subtitle {
  font-size: 12px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.revision-comparison .field {
  margin: 15px 0 10px;
}
.revision-comparison .change-item p {
  font-size: 11px;
}
.scenario-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.scenario-assumptions {
  grid-column: span 3;
}
.scenario-form > .button {
  align-self: end;
}
#manual-scenario > p {
  margin-top: 15px;
}
.scenario-result {
  border: 1px solid #bdcec4;
  background: #fff;
  padding: 20px;
  margin-top: 22px;
}
.scenario-result .scenario-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.scenario-values strong {
  display: block;
  font-size: 27px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 4px;
}
.scenario-values span {
  font-size: 11px;
}
.scenario-result .scenario-inputs {
  font: 11px/1.8 var(--mono);
  margin-top: 15px;
}
.scenario-result li {
  font-size: 12px;
  color: var(--muted);
}
.conditional-panel {
  grid-column: 1/-1;
}
.conditional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.conditional-grid .empty {
  padding: 5px 0;
}
.conditional-grid h3 {
  font-size: 17px;
}
.conditional-grid .empty p {
  font-size: 12px;
}
.relationship-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.relationship-pagination > span {
  font-size: 11px;
  margin-right: auto;
}
.relationship-pagination .button {
  font-size: 11px;
  padding: 6px 10px;
  min-height: 34px;
}
@media (min-width: 1450px) {
  main {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 1100px) {
  .selection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .asof-field {
    grid-column: auto;
  }
  .update-button {
    grid-column: 2/4;
  }
  .findings {
    grid-template-columns: repeat(2, 1fr);
  }
  .masthead {
    gap: 20px;
  }
  nav {
    gap: 16px;
  }
  .supplier-panel,
  .trend-panel {
    grid-column: span 7;
  }
  .quality-panel,
  .change-panel {
    grid-column: span 5;
  }
  .panel {
    padding: 22px;
  }
  .panel-heading {
    flex-wrap: wrap;
    gap: 8px;
  }
  .panel-heading .text-button {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .panel-heading h2 {
    margin-bottom: 8px;
  }
  h2 {
    font-size: 20px;
  }
  .supplier-bar {
    grid-template-columns: 88px 1fr 49px;
    gap: 9px;
  }
}
@media (max-width: 760px) {
  .scenario-form {
    grid-template-columns: 1fr 1fr;
  }
  .scenario-assumptions {
    grid-column: 1/-1;
  }
  .scenario-form > .button {
    grid-column: 1/-1;
  }
  .scenario-result .scenario-values {
    grid-template-columns: 1fr;
  }
  .conditional-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .masthead {
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand {
    font-size: 15px;
  }
  .brand small {
    font-size: 9px;
  }
  nav {
    order: 3;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }
  .masthead > .button {
    margin-left: auto;
    padding: 7px 10px;
    min-height: 36px;
    font-size: 11px;
  }
  main {
    padding: 33px 20px 0;
  }
  .heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .intro {
    font-size: 13px;
  }
  .edition {
    border-left: 0;
    padding: 0;
    margin: 0;
    font-size: 11px;
  }
  .edition small {
    display: inline;
    margin-left: 10px;
    font-size: 9px;
  }
  .source-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 17px;
  }
  .source-banner .button {
    align-self: flex-start;
  }
  .selection {
    padding: 16px;
    gap: 13px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 32px;
  }
  .snapshot-field {
    grid-column: 1/-1;
  }
  .update-button {
    grid-column: 1/-1;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .findings {
    gap: 10px;
  }
  .finding {
    padding: 16px;
    min-height: 170px;
  }
  .finding-number {
    font-size: 25px;
    margin-bottom: 16px;
  }
  .finding p {
    font-size: 11px;
  }
  .finding h3 {
    font-size: 12px;
  }
  .brief-grid {
    display: block;
  }
  .panel {
    margin-bottom: 16px;
    padding: 21px;
  }
  .quality-panel {
    display: block;
  }
  .quality-row strong {
    font-size: 20px;
  }
  .panel-heading {
    gap: 9px;
  }
  .relationships-panel .panel-heading {
    display: block;
  }
  .compact-field {
    max-width: 100%;
    margin: 15px 0;
  }
  .compact-field select {
    max-width: 100%;
    width: 100%;
  }
  h2 {
    font-size: 21px;
  }
  .scenario-unavailable {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .scenario-unavailable p {
    font-size: 12px;
  }
  .workspace-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .export-actions .button {
    flex: 1 1 auto;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer p {
    width: 100%;
    order: 3;
  }
  footer a {
    margin-left: auto;
  }
  dialog {
    padding: 22px;
  }
  .trend-chart svg {
    min-height: 180px;
  }
  .supplier-bar {
    grid-template-columns: 100px 1fr 56px;
  }
  td,
  th {
    padding-right: 16px;
  }
  .relationships-panel td {
    min-width: 140px;
  }
  .relationships-panel td:last-child {
    min-width: 90px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button,
  a {
    transition:
      background 0.15s ease,
      border-color 0.15s ease;
  }
}
@media print {
  body {
    font-size: 10pt;
    background: #fff;
  }
  .masthead,
  form,
  #demo-button,
  .app-status,
  .text-button,
  .export-actions,
  .quality-panel > .button,
  #case-workspace,
  footer a {
    display: none !important;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .heading-row {
    margin-bottom: 18px;
  }
  .edition {
    font-size: 9pt;
  }
  h1 {
    font-size: 30pt;
  }
  h2 {
    font-size: 15pt;
  }
  .source-banner {
    padding: 10px;
    background: #fff !important;
    border: 1px solid #888;
  }
  .findings {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .finding {
    padding: 12px;
    break-inside: avoid;
  }
  .finding-number {
    font-size: 20pt;
  }
  .brief-grid {
    display: block;
  }
  .panel {
    padding: 16px;
    margin: 12px 0;
    break-inside: avoid;
  }
  .panel.quality-panel {
    display: block;
  }
  .quality-row {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    padding: 10px;
  }
  .relationships-panel {
    break-inside: auto;
  }
  a {
    color: inherit;
  }
  details > div {
    display: block;
  }
  details:not([open]) > div {
    display: none;
  }
  dialog {
    display: none;
  }
  footer {
    font-size: 8pt;
  }
  .selection-label {
    font-size: 10pt;
  }
}
