/* Values checked against the reference's UIkit 3.15.10 and custom.css. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1a42;
  animation: report-entry .8s linear both;
}
.report-card {
  width: 450px;
  max-width: 100%;
  flex: 0 1 450px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}
.verified-header {
  padding: 15px;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 5px 5px 0 0;
  background: #32d296;
  color: rgba(255, 255, 255, .9);
  text-align: center;
}
.verified-icon { width: 48px; height: 48px; margin: 0 auto; }
.verified-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.verified-header h1 {
  margin: 10px 0 0;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
}
.verified-header p {
  margin: 10px 0 0;
  font-size: .680rem;
  line-height: 1.5;
}
.verified-header strong { font-weight: 700; }
.report-body {
  padding: 15px;
  border: 1px solid #d6d6d6;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  background: #fff;
  font-size: .680rem;
  line-height: 1.5;
}
.row { display: flex; align-items: center; text-transform: uppercase; }
.row + .row, .row + .analysis, .analysis + .row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e5e5;
}
.row span:first-child { flex: auto; font-weight: 700; color: #999; }
.row span:last-child {
  min-width: 0;
  max-width: 100%;
  margin-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.analysis { text-transform: uppercase; }
.analysis-title { color: #999; font-weight: 700; text-align: center; }
.analysis > :last-child { margin-left: 10px; }
.print-area { padding: 15px; text-align: center; font-size: .875rem; }
.print-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.5;
  cursor: pointer;
}
.print-button:hover { color: #1e87f0; }
.print-button:focus-visible { outline: 2px solid #1e87f0; outline-offset: 4px; }
.print-button svg { width: 1em; height: 1em; vertical-align: -.125em; fill: currentColor; }
/* Distinguish this local visual study from the clinical verification service. */
.preview-notice {
  position: fixed;
  bottom: 8px;
  left: 8px;
  right: 8px;
  width: fit-content;
  max-width: calc(100% - 16px);
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 11px;
}
.preview-notice a { color: #1553d1; }
@keyframes report-entry { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } }
@media print {
  @page { size: A4 portrait; margin: 10mm; }
  html, body { background: #fff; color: #000; }
  .page {
    display: block;
    min-height: 0;
    padding: 40mm 0 0;
    background: #fff;
    animation: none;
    opacity: 1;
    break-after: avoid;
  }
  .report-card {
    width: 450px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .verified-header {
    background: #fff;
    color: #000;
    border-bottom-color: transparent;
  }
  .report-body, .row span:first-child, .analysis-title { color: #000; }
  .row span:last-child {
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .print-area { display: block; }
  .print-button { color: #000; text-decoration: underline; }
  .preview-notice {
    position: static;
    width: 450px;
    max-width: 100%;
    margin: 12px auto 0;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    text-align: center;
    color: #000;
    break-before: avoid;
    break-inside: avoid;
  }
  .preview-notice a { color: #000; }
}
