:root {
  --report-ink: #072d40;
  --report-blue: #0e5679;
  --report-teal: #68a5a2;
  --report-light-blue: #b8dcef;
  --report-orange: #f47222;
  --report-text: #384858;
  --report-muted: #6a7e8c;
  --report-faint: #9db0bc;
  --report-line: #e4eaef;
  --report-surface: #f7f9fa;
  --report-paper: #ffffff;
  --report-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --report-sans: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

/* Structured report hierarchy; scoped to preserve historical document layouts. */
.assessment-report--structured .report-contents {
  padding: 1.5rem 3rem;
  background: #edf4f5;
  border-block: 1px solid #ccdade;
}

.assessment-report--structured .report-contents__label {
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--report-ink);
}

.assessment-report--structured .report-contents ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.assessment-report--structured .report-contents a {
  display: flex;
  gap: 0.65rem;
  color: var(--report-blue);
  text-decoration: none;
  padding: 0.25rem 0;
}

.assessment-report--structured .report-contents a:hover {
  text-decoration: underline;
}

.assessment-report--structured .report-contents a span {
  font-variant-numeric: tabular-nums;
  color: #526773;
}

.assessment-report--structured a:focus-visible, .assessment-report--structured summary:focus-visible {
  outline: 3px solid var(--report-blue);
  outline-offset: 4px;
}

.assessment-report--structured .report-section {
  padding: 2.5rem 3rem;
  scroll-margin-top: 5rem;
}

.assessment-report--structured .report-chapter-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--report-ink);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  break-after: avoid;
}

.assessment-report--structured .report-chapter-heading h2 {
  margin: 0;
  font: 700 1.65rem/1.25 var(--report-sans);
  letter-spacing: -0.025em;
  color: var(--report-ink);
}

.assessment-report--structured .report-chapter-number {
  display: grid;
  place-items: center;
  flex: 0 0 2.6rem;
  height: 2.6rem;
  border-radius: 0.4rem;
  color: white;
  background: var(--report-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.assessment-report--structured .report-purpose {
  color: #526773;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.assessment-report--structured .report-purpose p {
  margin: 0.4rem 0 0;
}

.assessment-report--structured .report-main-picture__text {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--report-ink);
  max-width: 65ch;
  margin-bottom: 1.75rem;
}

.assessment-report--structured .report-conclusion-evidence {
  padding-left: 1.25rem;
  color: #526773;
}

.assessment-report--structured .report-conclusion-evidence li + li {
  margin-top: 0.35rem;
}

.assessment-report--structured .report-main-picture .report-conclusion-evidence {
  max-width: 65ch;
  margin-top: -1rem;
  margin-bottom: 1.75rem;
}

.assessment-report--structured .report-content-label {
  display: block;
  margin: 0 0 0.5rem;
  color: #526773;
  font: 700 0.76rem/1.4 var(--report-sans);
  letter-spacing: 0.065em;
  text-transform: uppercase;
  break-after: avoid;
}

.assessment-report--structured .report-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.assessment-report--structured .report-metric {
  border-radius: 0.4rem;
}

.assessment-report--structured .report-metric-title {
  margin: 0.6rem 0 0.4rem;
  font: 700 0.9rem/1.4 var(--report-sans);
  text-transform: none;
  letter-spacing: 0;
  color: var(--report-ink);
}

.assessment-report--structured .report-overview-card {
  border-radius: 0.4rem;
  padding: 1.25rem;
}

.assessment-report--structured .report-overview-card:hover {
  background: #f1f7f7;
}

.assessment-report--structured .report-overview-card h3 {
  color: var(--report-ink);
  font-size: 1.05rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

.assessment-report--structured .report-area-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.assessment-report--structured .report-pattern-status {
  display: inline-block;
  border-radius: 0.25rem;
  padding: 0.2rem 0.5rem;
  background: #edf4f5;
  color: #234653;
  font-weight: 700;
}

.assessment-report--structured .report-pattern-status--green {
  background: #e5f3e9;
  color: #1d623d;
}

.assessment-report--structured .report-pattern-status--amber {
  background: #fff2de;
  color: #774709;
}

.assessment-report--structured .report-pattern-status--red {
  background: #fde9e9;
  color: #8e2e2e;
}

.assessment-report--structured .report-pattern-status--grey {
  background: #edf0f2;
  color: #526773;
}

.assessment-report--structured .report-pattern-status--worth_review, .assessment-report--structured .report-pattern-status--change_identified {
  background: #fff2de;
  color: #774709;
}

.assessment-report--structured .report-pattern-status--not_assessable {
  background: #edf0f2;
  color: #526773;
}

.assessment-report--structured .report-evidence-confidence {
  color: #526773;
}

.assessment-report--care-act .report-pattern-status {
  padding: 0.3rem 0.65rem;
  border-radius: 0.35rem;
  color: #fff;
}

.assessment-report--care-act .report-pattern-status--green {
  background: #236746;
}

.assessment-report--care-act .report-pattern-status--amber {
  background: #975b13;
}

.assessment-report--care-act .report-pattern-status--red {
  background: #a93636;
}

.assessment-report--care-act .report-pattern-status--grey {
  background: #59666f;
}

.assessment-report--care-act .report-overview-card {
  background: #fbfcfc;
  border-color: #dce5e9;
}

.assessment-report--care-act .report-overview-card--green {
  border-left-color: #236746;
}

.assessment-report--care-act .report-overview-card--amber {
  border-left-color: #975b13;
}

.assessment-report--care-act .report-overview-card--red {
  border-left-color: #a93636;
}

.assessment-report--care-act .report-overview-card--grey {
  border-left-color: #59666f;
}

.assessment-report--structured .report-findings-list {
  display: grid;
  gap: 1rem;
}

.assessment-report--structured .report-key-finding {
  padding: 1.25rem 1.5rem;
  margin: 0;
  border: 1px solid var(--report-line);
  border-left: 4px solid var(--report-blue);
  background: #f7f9fa;
  border-radius: 0.3rem;
  break-inside: avoid;
}

.assessment-report--structured .report-key-finding h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  color: var(--report-ink);
  margin-bottom: 0.65rem;
}

.assessment-report--structured .report-key-finding p:last-child {
  margin-bottom: 0;
}

.assessment-report--structured .report-referral-list {
  display: grid;
  gap: 0.75rem;
}

.assessment-report--structured .report-referral-evidence {
  color: #526773;
}

.assessment-report--structured .report-referral-evidence-list {
  color: #526773;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.assessment-report--structured .report-referral-evidence-list li + li {
  margin-top: 0.35rem;
}

.assessment-report--structured .report-referral-labels {
  color: #526773;
  font-size: 0.85rem;
  font-weight: 700;
}

.assessment-report--structured .report-assessment-area {
  margin: 0 0 2rem;
  padding: 1.5rem;
  border: 1px solid #ccdade;
  border-top: 4px solid #68a5a2;
  border-radius: 0.35rem;
}

.assessment-report--structured .report-assessment-area > h3, .assessment-report--structured .report-assessment-area > h4 {
  font: 700 1.3rem/1.35 var(--report-sans);
  color: var(--report-ink);
  margin-bottom: 0.75rem;
  break-after: avoid;
}

.assessment-report--structured .report-appendix__areas > h3 {
  font: 700 1.3rem/1.35 var(--report-sans);
  color: var(--report-ink);
  margin-bottom: 1rem;
}

.assessment-report--structured .report-appendix__areas {
  margin-bottom: 2rem;
}

.assessment-report--structured .report-area-block {
  margin: 1.25rem 0;
}

.assessment-report--structured .report-area-block p:last-child, .assessment-report--structured .report-area-block ul:last-child {
  margin-bottom: 0;
}

.assessment-report--structured .report-area-meaning {
  background: #f1f7f7;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--report-teal);
  margin: 1.25rem 0;
}

.assessment-report--structured .report-area-meaning p {
  margin-bottom: 0;
}

.assessment-report--structured .report-chart {
  border-radius: 0.4rem;
  background: white;
}

.assessment-report--care-act .report-room-heatmap__panel {
  margin: 0.5rem 0 1rem;
}

.assessment-report--care-act .report-room-heatmap__row,
.assessment-report--care-act .report-room-heatmap__axis {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.4rem;
}

.assessment-report--care-act .report-room-heatmap__row {
  position: relative;
  height: 8px;
  margin: 0 0 4px;
  cursor: default;
  transition: height 150ms ease;
}

.assessment-report--care-act .report-room-heatmap__row:hover,
.assessment-report--care-act .report-room-heatmap__row:focus {
  height: 31px;
  outline: none;
}

.assessment-report--care-act .report-room-heatmap__row:hover .report-room-heatmap__track,
.assessment-report--care-act .report-room-heatmap__row:focus .report-room-heatmap__track {
  height: calc(100% - 6px);
}

.assessment-report--care-act .report-room-heatmap__row:focus-visible .report-room-heatmap__track {
  outline: 2px solid var(--report-blue);
  outline-offset: 2px;
}

.assessment-report--care-act .report-room-heatmap__date {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3.25rem;
  transform: translateY(-50%);
  visibility: hidden;
  text-align: right;
  color: var(--report-ink);
  font: 12px/1 var(--report-sans);
  white-space: nowrap;
}

.assessment-report--care-act .report-room-heatmap__row:hover .report-room-heatmap__date,
.assessment-report--care-act .report-room-heatmap__row:focus .report-room-heatmap__date {
  visibility: visible;
}

.assessment-report--care-act .report-room-heatmap__track {
  grid-column: 2;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: #f1f5f5;
  overflow: hidden;
}

.assessment-report--care-act .report-room-heatmap__block {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--report-teal);
}

.assessment-report--care-act .report-room-heatmap__axis {
  margin-top: 0.5rem;
}

.assessment-report--care-act .report-room-heatmap__hours {
  position: relative;
  display: block;
  height: 1.2rem;
  color: var(--report-muted);
  font: 11px/1 var(--report-sans);
}

.assessment-report--care-act .report-room-heatmap__hours span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.assessment-report--care-act .report-room-heatmap__hours span:first-child {
  transform: none;
}

.assessment-report--care-act .report-room-heatmap__hours span:last-child {
  transform: translateX(-100%);
}

.assessment-report--structured .report-chart-title {
  font: 700 1rem/1.4 var(--report-sans);
  color: var(--report-ink);
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 0.5rem;
}

.assessment-report--structured summary {
  cursor: pointer;
  color: var(--report-blue);
}

.assessment-report--structured .report-review-list {
  padding-left: 1.75rem;
}

.assessment-report--structured .report-review-list li {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--report-line);
  break-inside: avoid;
}

.assessment-report--structured .report-review-list li::marker {
  color: var(--report-blue);
  font-weight: 700;
}

.assessment-report--structured .report-review-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--report-ink);
  margin-bottom: 0.5rem;
}

.assessment-report--structured .report-review-reason {
  font-size: 0.95rem;
  color: #526773;
  margin-bottom: 0;
}

.assessment-report--structured .report-appendix {
  background: #f7f9fa;
  font-size: 0.85rem;
}

.assessment-report--structured .report-appendix > details > summary {
  font-weight: 700;
  font-size: 1rem;
}

.assessment-report--structured .report-appendix > details[open] > summary {
  margin-bottom: 1rem;
}

.assessment-report--structured .report-care-outcome {
  margin: 0 0 1.75rem;
  border: 1px solid #ccdade;
  border-radius: 0.4rem;
  overflow: hidden;
}

.assessment-report--structured .report-care-outcome__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f7f9fa;
}

.assessment-report--structured .report-care-outcome__heading h3 {
  margin: 0;
  font: 700 1.2rem/1.35 var(--report-sans);
  color: var(--report-ink);
}

.assessment-report--structured .report-care-outcome__answers {
  margin: 0;
}

.assessment-report--structured .report-care-outcome__row {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr);
  border-top: 1px solid #dce5e9;
  break-inside: avoid;
}

.assessment-report--structured .report-care-outcome__answers dt, .assessment-report--structured .report-care-outcome__answers dd {
  margin: 0;
  padding: 0.85rem 1.25rem;
}

.assessment-report--structured .report-care-outcome__answers dt {
  font-weight: 700;
  color: var(--report-ink);
  background: #f7f9fa;
}

.assessment-report--structured .report-care-outcome__answers dd {
  border-left: 1px solid #dce5e9;
}

@media screen and (max-width: 700px) {
  .assessment-report--structured .report-section, .assessment-report--structured .report-contents {
    padding: 1.5rem;
  }
  .assessment-report--structured .report-contents ol {
    grid-template-columns: 1fr;
  }
  .assessment-report--structured .report-chapter-heading h2 {
    font-size: 1.35rem;
  }
  .assessment-report--structured .report-assessment-area {
    padding: 1rem;
  }
  .assessment-report--structured .report-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .assessment-report--structured .report-care-outcome__row {
    grid-template-columns: 1fr;
  }
  .assessment-report--structured .report-care-outcome__answers dt {
    padding-bottom: 0.25rem;
  }
  .assessment-report--structured .report-care-outcome__answers dd {
    border-left: 0;
    padding-top: 0.25rem;
  }
}
@media print {
  .assessment-report--care-act .report-room-heatmap__row {
    height: 31px;
    break-inside: avoid;
  }
  .assessment-report--care-act .report-room-heatmap__track {
    height: calc(100% - 6px);
  }
  .assessment-report--care-act .report-room-heatmap__date {
    visibility: visible;
  }
  .assessment-report--structured .report-contents {
    display: none;
  }
  .assessment-report--structured .report-section {
    padding: 6mm 8mm;
  }
  .assessment-report--structured .report-assessment-area {
    padding: 4mm;
    margin-bottom: 6mm;
    box-decoration-break: clone;
  }
  .assessment-report--structured .report-area-badges {
    break-after: avoid;
  }
  .assessment-report--structured .report-main-picture__text {
    font-size: 11pt;
  }
  .assessment-report--structured .report-chapter-heading h2 {
    font-size: 16pt;
  }
  .assessment-report--structured .report-chapter-number {
    color: var(--report-ink);
    background: white;
    border: 1px solid var(--report-ink);
  }
}
.assessment-report--structured .report-cover {
  min-height: 0;
  padding: 1.5rem 3rem;
}

.assessment-report--structured .report-cover > .report-kicker {
  margin-top: 1.5rem;
}

.assessment-report--structured .report-cover__status {
  top: 1.25rem;
  right: 3rem;
}

.assessment-report--structured .report-cover h1 {
  font-size: 2rem;
}

.assessment-report--structured .report-metadata {
  margin-top: 1rem;
}

.report-main-picture {
  padding-top: 1.5rem;
}

.assessment-report--structured .report-decision-summary__parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.assessment-report--structured .report-decision-summary__parts > div {
  min-width: 0;
  padding: 1rem 1.25rem;
  border: 1px solid #dce5e9;
  border-top: 3px solid #237d82;
  border-radius: 0.4rem;
  background: #f7f9fa;
  break-inside: avoid;
}

.report-decision-summary__parts .report-content-label {
  margin: 0 0 0.35rem;
}

.report-decision-summary__parts dd {
  margin: 0;
}

.assessment-report--structured .report-decision-summary__parts p {
  margin: 0;
  font: 400 0.95rem/1.5 var(--report-sans);
  color: var(--report-ink);
}

.assessment-report--structured .report-decision-summary__parts strong {
  font-weight: 700;
}

.report-main-picture__text {
  font-size: 1.05rem;
}

.report-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.8rem;
  margin: 1.25rem 0;
}

.report-metric {
  padding: 1rem;
  background: #f1f7f7;
  border-top: 3px solid #237d82;
  break-inside: avoid;
}

.report-metric strong {
  display: block;
  color: #123f4e;
  font-size: 1.65rem;
  line-height: 1.15;
}

.report-metric h3 {
  margin: 0.5rem 0;
  font-size: 0.68rem;
}

.report-metric p, .report-metric small, .report-metric__unit {
  font-size: 0.75rem;
  line-height: 1.35;
}

.report-metric p {
  margin-bottom: 0;
}

.report-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.report-overview-card {
  display: block;
  padding: 1rem;
  border: 1px solid #dce5e9;
  border-left: 4px solid #237d82;
  color: inherit;
  text-decoration: none;
  break-inside: avoid;
}

.report-overview-card--green {
  border-left-color: #287a52;
}

.report-overview-card--amber {
  border-left-color: #b87726;
}

.report-overview-card--red {
  border-left-color: #b84444;
}

.report-overview-card--grey {
  border-left-color: #89949d;
}

.report-overview-card--worth_review, .report-overview-card--change_identified {
  border-left-color: #b87726;
}

.report-overview-card--not_assessable {
  border-left-color: #89949d;
}

.report-overview-card p:last-child {
  margin-bottom: 0;
}

.report-overview-card__status {
  font-size: 0.75rem;
  color: #526773;
}

.report-chart {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #dce5e9;
  break-inside: avoid;
}

.report-chart svg {
  display: block;
  width: 100%;
  height: auto;
  font: 12px sans-serif;
  fill: #526773;
}

.report-chart figcaption p {
  font-size: 0.8rem;
}

.report-chart table {
  width: 100%;
  text-align: left;
  font-size: 0.8rem;
  border-collapse: collapse;
}

.report-chart td, .report-chart th {
  padding: 0.25rem;
  border-bottom: 1px solid #dce5e9;
}

.report-chart__table, .report-supporting-evidence {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.report-key-finding, .report-assessment-area {
  margin: 1.25rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dce5e9;
}

.report-assessment-area {
  scroll-margin-top: 5rem;
}

.report-assessment-area h3 {
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.report-area-limitation {
  font-size: 0.8rem;
  color: #526773;
  border-left: 2px solid #b8c8cf;
  padding-left: 0.75rem;
}

.report-practitioner-space {
  margin-top: 2rem;
  padding: 1rem;
  background: #f7f9fa;
}

.report-practitioner-space > div {
  min-height: 5rem;
  border-bottom: 1px solid #b8c8cf;
}

.report-section__intro {
  font-size: 0.8rem;
}

@media screen and (max-width: 600px) {
  .report-overview-grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 600px) {
  .assessment-report--structured .report-decision-summary__parts {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 780px) {
  .assessment-report--structured .report-cover {
    padding: 1.5rem;
  }
  .assessment-report--structured .report-cover__status {
    top: 1.25rem;
    right: 1.5rem;
    left: auto;
  }
}
@media print {
  .assessment-report--structured .report-cover {
    break-after: auto;
    min-height: 0;
  }
  .assessment-report--structured .report-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .report-chart__table {
    display: none;
  }
  .report-overview-card {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  .report-metric {
    padding: 0.6rem;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: #edf1f3;
  color: var(--report-text);
  font-family: var(--report-sans);
  font-size: 16px;
  line-height: 1.55;
}

.report-document {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 12% 8%, rgba(184, 220, 239, 0.42), transparent 28rem), #edf1f3;
}

.report-shell {
  padding-bottom: 4rem;
}

.report-toolbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 4rem;
  padding: 0.65rem max(1.25rem, (100vw - 56rem) / 2);
  gap: 1rem;
  background: var(--report-ink);
  box-shadow: 0 0.5rem 1.5rem rgba(7, 45, 64, 0.18);
  color: #fff;
}

.report-toolbar__back,
.report-toolbar__export {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: none;
  color: var(--report-light-blue);
  font: 700 0.75rem/1 var(--report-sans);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.report-toolbar__back {
  justify-self: start;
}

.report-toolbar__back > span:first-child {
  font-size: 1.15rem;
}

.report-toolbar__export {
  justify-self: end;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(184, 220, 239, 0.45);
  border-radius: 0.4rem;
  cursor: pointer;
}

.report-toolbar__export:hover,
.report-toolbar__back:hover {
  color: #fff;
}

.report-toolbar__export-icon {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.report-toolbar__actions {
  display: flex;
  justify-self: end;
  gap: 0.5rem;
}

.report-toolbar__actions .report-toolbar__export {
  white-space: nowrap;
}

.report-share-dialog {
  width: min(34rem, 100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgba(7, 45, 64, 0.3);
  color: var(--report-text);
  font: inherit;
}

.report-share-dialog::backdrop {
  background: rgba(7, 45, 64, 0.65);
}

.report-share-dialog__content {
  padding: clamp(1.25rem, 5vw, 2rem);
}

.report-share-dialog__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.report-share-dialog__heading h2 {
  margin: 0;
  color: var(--report-ink);
  font-size: 1.35rem;
}

.report-share-dialog__close {
  border: 0;
  background: none;
  color: var(--report-ink);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.report-share-dialog__link-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  min-width: 0;
}

.report-share-dialog__link {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 0.7rem;
  border: 1px solid var(--report-line);
  border-radius: 0.4rem;
  color: var(--report-blue);
}

.report-share-dialog__copy {
  flex: none;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 0.4rem;
  background: var(--report-blue);
  color: white;
  cursor: pointer;
  font: 700 0.85rem var(--report-sans);
}

.report-share-dialog__status {
  min-height: 1.5em;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}

@media screen and (max-width: 480px) {
  .report-share-dialog__link-row {
    flex-direction: column;
  }
  .report-share-dialog__copy {
    width: 100%;
  }
  .report-document .report-toolbar {
    grid-template-columns: 1fr;
  }
  .report-toolbar__actions {
    justify-self: stretch;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .report-toolbar__actions .report-toolbar__export {
    padding: 0.55rem 0.65rem;
  }
}
.report-document--shared .report-toolbar {
  grid-template-columns: 1fr;
}

.report-message {
  max-width: 56rem;
  margin: 1.25rem auto -0.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid #c8e6d0;
  border-radius: 0.4rem;
  background: #f4faf6;
  color: #1d6542;
  font-size: 0.85rem;
}

.report-message--alert {
  border-color: #f0d2b0;
  background: #fff8f1;
  color: #774709;
}

.assessment-report {
  width: min(56rem, 100% - 2rem);
  margin: 2rem auto 0;
  background: var(--report-paper);
  box-shadow: 0 1.25rem 4rem rgba(7, 45, 64, 0.13);
}

.assessment-report h1,
.assessment-report h2,
.assessment-report h3,
.assessment-report p,
.assessment-report ul,
.assessment-report ol,
.assessment-report dl,
.assessment-report blockquote {
  margin-top: 0;
}

.assessment-report h1,
.assessment-report h2 {
  font-family: var(--report-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.assessment-report h3 {
  color: var(--report-blue);
  font-size: 0.76rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.assessment-report p,
.assessment-report li {
  orphans: 3;
  widows: 3;
}

.report-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 52rem;
  padding: 3.5rem 4rem;
  overflow: hidden;
  background: radial-gradient(circle at 92% 14%, rgba(184, 220, 239, 0.45), transparent 18rem), linear-gradient(145deg, #fff 40%, #f2f7f8 100%);
}

.report-cover::after {
  position: absolute;
  right: -6rem;
  bottom: -10rem;
  width: 25rem;
  height: 25rem;
  border: 5rem solid rgba(104, 165, 162, 0.1);
  border-radius: 50%;
  content: "";
}

.report-cover__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--report-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.report-cover__brand-mark {
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--report-teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.report-cover__status {
  position: absolute;
  top: 3.35rem;
  right: 4rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--report-light-blue);
  border-radius: 999px;
  color: var(--report-blue);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-kicker {
  margin-bottom: 0.9rem;
  color: var(--report-teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.report-cover > .report-kicker {
  margin-top: 8rem;
}

.report-cover h1 {
  max-width: 38rem;
  margin-bottom: 1.25rem;
  color: var(--report-ink);
  font-size: clamp(2.8rem, 7vw, 4.7rem);
  line-height: 1.08;
}

.report-cover__headline {
  max-width: 38rem;
  color: var(--report-muted);
  font-family: var(--report-serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.report-rag-overview {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.report-rag-overview__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.report-rag-overview__heading h2 {
  margin-bottom: 0;
  color: var(--report-ink);
  font-family: var(--report-sans);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.report-rag-overview__heading p,
.report-rag-overview__legend {
  margin-bottom: 0;
  color: var(--report-muted);
  font-size: 0.62rem;
}

.report-rag-overview__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.report-rag-card {
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--report-line);
  border-left: 0.22rem solid var(--report-faint);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.85);
}

.report-rag-card--green {
  border-left-color: #1d7a4a;
}

.report-rag-card--amber {
  border-left-color: #b8860b;
}

.report-rag-card--red {
  border-left-color: #c93030;
}

.report-rag-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.report-rag-card .report-status {
  min-height: 1.35rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.52rem;
}

.report-rag-card__confidence {
  color: var(--report-muted);
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
}

.report-rag-card h3 {
  margin: 0.45rem 0 0.2rem;
  color: var(--report-ink);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: none;
}

.report-rag-card p {
  margin-bottom: 0;
  color: var(--report-muted);
  font-size: 0.62rem;
  line-height: 1.35;
}

.report-rag-overview__legend {
  margin-top: 0.55rem;
}

.report-metadata {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 1.1rem;
  gap: 1.5rem;
  border-top: 1px solid var(--report-line);
}

.report-metadata div {
  min-width: 0;
}

.report-metadata dt {
  margin-bottom: 0.25rem;
  color: var(--report-faint);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-metadata dd {
  margin: 0;
  color: var(--report-ink);
  font-size: 0.83rem;
  font-weight: 700;
}

.report-section {
  padding: 3.75rem 4rem;
  border-top: 1px solid var(--report-line);
}

.report-section__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  gap: 2rem;
}

.report-section__heading h2 {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--report-ink);
  font-size: 2rem;
  line-height: 1.15;
}

.report-section__number {
  color: var(--report-light-blue);
  font-family: var(--report-serif);
  font-size: 2.5rem;
}

.report-findings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
  gap: 0.8rem;
}

.report-finding {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 1.15rem;
  gap: 0.85rem;
  border: 1px solid var(--report-line);
  border-radius: 0.45rem;
  background: var(--report-surface);
}

.report-finding > span {
  color: var(--report-orange);
  font-size: 0.65rem;
  font-weight: 800;
}

.report-finding p {
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.report-callout {
  margin-bottom: 2rem;
  padding: 1.3rem 1.4rem;
  border-left: 0.25rem solid var(--report-teal);
  background: #f2f7f7;
}

.report-callout ul,
.report-domain ul,
.report-anomalies ul,
.report-review ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.report-callout li,
.report-domain li,
.report-anomalies li,
.report-review li {
  margin-bottom: 0.45rem;
}

.report-narrative p {
  margin-bottom: 0;
  color: var(--report-text);
  font-family: var(--report-serif);
  font-size: 1.15rem;
  line-height: 1.65;
}

.report-domain__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.report-status,
.report-confidence {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--report-line);
  border-radius: 999px;
  background: var(--report-surface);
  color: var(--report-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-status i {
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--report-faint);
}

.report-status--green i {
  background: #1d7a4a;
}

.report-status--amber i {
  background: #b8860b;
}

.report-status--red i {
  background: #c93030;
}

.report-domain__evidence {
  margin-bottom: 1rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #cfdee5;
  border-radius: 0.45rem;
  background: #f5f9fb;
}

.report-domain__evidence li {
  color: var(--report-ink);
  font-weight: 600;
}

.report-domain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--report-line);
  border: 1px solid var(--report-line);
}

.report-domain__grid article {
  position: relative;
  padding: 1.4rem;
  background: #fff;
}

.report-insights {
  display: grid;
  gap: 1.25rem;
}

.report-insight {
  padding: 1.5rem 1.65rem;
  border: 1px solid var(--report-line);
  border-radius: 0.45rem;
  background: var(--report-surface);
  break-inside: avoid;
}

.report-insight__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.report-insight__heading h3 {
  margin: 0 0 0.75rem;
  color: var(--report-ink);
  font-size: 1.25rem;
}

.report-insight__body {
  color: var(--report-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.report-insight__body p:last-child {
  margin-bottom: 0;
}

.report-insight__question {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-left: 0.2rem solid var(--report-teal);
  background: #f2f7f7;
  color: var(--report-text);
  font-size: 0.82rem;
  line-height: 1.55;
}

.report-insight__question strong {
  margin-right: 0.3rem;
  color: var(--report-ink);
}

.report-domain__grid p,
.report-domain__grid li {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.55;
}

.report-domain__step {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--report-light-blue);
  font-family: var(--report-serif);
  font-size: 1.4rem;
}

.report-limit {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-left: 0.2rem solid var(--report-orange);
  background: #fdf7f3;
  color: var(--report-muted);
  font-size: 0.76rem;
}

.report-limit strong {
  margin-right: 0.35rem;
  color: var(--report-ink);
}

.report-anomalies,
.report-transcripts {
  display: grid;
  gap: 1rem;
}

.report-anomalies article,
.report-transcripts article {
  padding: 1.4rem;
  border: 1px solid var(--report-line);
  border-radius: 0.45rem;
}

.report-anomalies article {
  border-left: 0.25rem solid var(--report-orange);
}

.report-anomalies h3,
.report-transcripts h3 {
  color: var(--report-ink);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.report-anomalies li,
.report-transcripts p {
  font-size: 0.82rem;
}

.report-question {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--report-line);
  color: var(--report-blue);
  font-size: 0.8rem;
}

.report-question strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--report-faint);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-transcripts small {
  color: var(--report-faint);
  font-size: 0.68rem;
}

.report-review__questions {
  margin-bottom: 1rem;
  padding: 1.4rem;
  background: var(--report-ink);
  color: #fff;
}

.report-review__questions h3 {
  color: var(--report-light-blue);
}

.report-review__questions ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.report-review__questions li {
  margin-bottom: 0.55rem;
  font-family: var(--report-serif);
  font-size: 1rem;
}

.report-review__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.report-review__grid article {
  padding: 1.25rem;
  border: 1px solid var(--report-line);
}

.report-review__grid p,
.report-review__grid li {
  color: var(--report-muted);
  font-size: 0.78rem;
}

.report-statement {
  margin: 1rem 0 0;
  padding: 1.35rem 1.5rem;
  border: 0;
  background: #edf6fa;
  color: var(--report-blue);
  font-family: var(--report-serif);
  font-size: 1rem;
  line-height: 1.6;
}

.report-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1.4rem 4rem;
  gap: 1.5rem;
  border-top: 1px solid var(--report-line);
  color: var(--report-faint);
  font-size: 0.6rem;
}

.report-footer div {
  display: flex;
  flex-direction: column;
}

.report-footer strong {
  color: var(--report-ink);
  font-size: 0.75rem;
}

.report-footer p {
  margin-bottom: 0;
  text-align: center;
}

@media screen and (max-width: 700px) {
  .report-toolbar {
    grid-template-columns: 1fr auto;
    padding: 0.65rem 1rem;
  }
  .report-message {
    margin-right: 1rem;
    margin-left: 1rem;
  }
  .assessment-report {
    width: 100%;
    margin-top: 0;
  }
  .report-cover,
  .report-section {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  .report-cover {
    min-height: 40rem;
  }
  .report-cover__status {
    top: 5.5rem;
    right: auto;
    left: 1.5rem;
  }
  .report-cover > .report-kicker {
    margin-top: 9rem;
  }
  .report-metadata {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .report-rag-overview__heading {
    display: block;
  }
  .report-rag-overview__heading p {
    margin-top: 0.35rem;
  }
  .report-rag-overview__cards {
    grid-template-columns: 1fr;
  }
  .report-section__heading,
  .report-domain__badges,
  .report-insight__heading {
    display: block;
  }
  .report-domain__badges,
  .report-insight__heading .report-domain__badges {
    margin-top: 1rem;
  }
  .report-status,
  .report-confidence {
    margin-right: 0.25rem;
  }
  .report-findings,
  .report-domain__grid,
  .report-review__grid {
    grid-template-columns: 1fr;
  }
  .report-footer {
    grid-template-columns: 1fr;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    text-align: center;
  }
}
@page {
  size: A4;
  margin: 12mm;
}
@media print {
  html,
  .report-document {
    min-width: 0;
    background: #fff;
  }
  .report-shell {
    padding: 0;
  }
  .report-toolbar,
  .report-message {
    display: none !important;
  }
  .assessment-report {
    width: 100%;
    margin: 0;
    box-shadow: none;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .report-cover {
    min-height: 262mm;
    break-after: page;
  }
  .report-section {
    padding: 12mm 10mm;
  }
  .report-section__heading,
  .report-finding,
  .report-domain__evidence,
  .report-domain__grid article,
  .report-anomalies article,
  .report-transcripts article,
  .report-review__questions,
  .report-review__grid article,
  .report-statement {
    break-inside: avoid;
  }
  .report-domain {
    break-before: auto;
  }
  .report-footer {
    padding: 8mm 10mm;
  }
}
