/* Fictional report. Keep the existing site tokens, fonts and components. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sample-report { --mk-accent: var(--signal); --mk-ink: var(--fg); --mk-line: var(--line); }
.sample-report p, .sample-report dd, .sample-report li { color: var(--fg); }
.sample-report p { max-width: 75ch; }
.sample-banner { background: var(--signal); color: var(--ink); padding: 17px 0; }
.sample-banner strong { display: block; font-size: 1.08rem; }
.sample-banner span { display: block; line-height: 1.5; margin-top: 3px; }
.report-intro { padding-top: 28px; padding-bottom: 48px; }
.sample-report h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); max-width: 12ch; }
.report-intro > p { max-width: 62ch; }
.report-intro .lead { margin-top: 20px; }
.report-nav { display: flex; flex-wrap: wrap; column-gap: 23px; row-gap: 4px; margin: 22px 0; }
.report-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.report-count { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; margin: 35px 0 0; }
.report-section { padding-top: 55px; padding-bottom: 55px; scroll-margin-top: 90px; }
.report-field { background: var(--ink-2); }
.report-split { display: grid; gap: 28px; }
.report-split > *, .plan-layout > * { min-width: 0; }
.sample-report h2 { max-width: 22ch; margin-bottom: 22px; }
.sample-report h3 { line-height: 1.3; }
.sample-report figure { margin: 0; }
.sample-report figcaption { color: var(--fg-2); font-size: 1rem; line-height: 1.55; padding-top: 18px; margin-bottom: 24px; }
.sample-report svg { display: block; width: 100%; height: auto; }
.sample-report svg text { font-family: var(--font); fill: var(--fg); font-size: 15px; }
.priority-list { padding-left: 24px; margin: 0 0 20px; }
.priority-list li { padding: 0 0 23px 7px; }
.priority-list a { font-size: 1.2rem; line-height: 1.4; }
.priority-score { display: block; color: var(--fg-2); margin-top: 6px; }
.score-key { color: var(--fg-2) !important; max-width: 65ch; }
.plan-layout { display: grid; gap: 30px; align-items: start; margin-top: 28px; }
.property-plan { max-width: 550px; }
.office-plan { max-width: 450px; }
.property-plan text, .office-plan text { font-size: 14px !important; }
.perimeter { fill: none; stroke: var(--fg-3); stroke-width: 2; }
.plan-line { fill: none; stroke: var(--fg); stroke-width: 2; }
.lot { fill: var(--line-soft); }
.building { fill: var(--ink-3); stroke: var(--fg-3); stroke-width: 1; }
.office { fill: var(--line); stroke: var(--signal); }
.office-row { fill: var(--ink-3); }
.plan-note { fill: var(--fg-2) !important; }
.plan-pin circle { stroke: var(--ink); stroke-width: 2; }
.plan-pin.urgent circle { fill: var(--signal); }
.plan-pin.raised circle { fill: var(--scan); }
.plan-pin.standard circle { fill: var(--fg); }
.plan-pin text { fill: var(--ink) !important; font-size: 16px !important; font-weight: 700; }
.plan-pin:hover circle, .plan-pin:focus circle { stroke: var(--fg); stroke-width: 4; }
.plan-pin:focus { outline: none; }
.finding-preview { margin-top: 26px; padding: 24px 20px; background: var(--ink); border-left: 4px solid var(--signal); scroll-margin-top: 100px; }
.finding-preview h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.preview-label { color: var(--signal) !important; }
/* Keep the source record readable while its plan pin retains keyboard focus. */
.finding-preview.is-companion {
  position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px;
  max-height: 44vh; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 18px; border: 2px solid var(--signal);
  scrollbar-gutter: stable;
}
.preview-help { display: none; }
.finding-preview.is-companion .preview-help { display: block; margin: 0 0 12px; font-size: 1rem; }
.finding-preview.is-companion h3 { font-size: 1.25rem; }
.finding-preview.is-companion .preview-label { margin: 0 0 8px; }
.finding-preview.is-companion dl { columns: auto; }
@media (min-width: 850px) {
  .finding-preview.is-companion { left: auto; right: 24px; width: 480px; max-height: 48vh; padding: 24px; }
}
.scope-line { margin: 30px 0 0; max-width: 76ch; }
.risk-matrix { max-width: 470px; margin-top: 28px; }
.matrix-cell.standard { fill: var(--ink-3); }
.matrix-cell.raised { fill: var(--line); }
.matrix-cell.urgent { fill: var(--signal-wash); stroke: var(--signal-dim); }
.matrix-id { font-weight: 650; }
.report-table { table-layout: fixed; width: 100%; margin: 0 0 28px; }
.report-table caption { text-align: left; color: var(--fg-2); padding: 0 0 14px; font-size: 1rem; }
.sample-report .report-table th, .sample-report .report-table td { padding: 12px 8px; overflow-wrap: anywhere; white-space: normal; font-size: 1rem; color: var(--fg); letter-spacing: normal; text-transform: none; }
.score-table th:first-child { width: 22%; }
.score-table th:nth-child(2) { width: 25%; }
.score-table th:nth-child(3) { width: 31%; }
.score-table th:last-child { width: 22%; }
.score-table td { font-variant-numeric: tabular-nums; }
.rating-definitions summary { cursor: pointer; color: var(--signal); min-height: 44px; margin: 14px 0; }
.rating-definitions th:first-child { width: 24%; }
.rating-definitions thead th:first-child { white-space: nowrap; overflow-wrap: normal; }
.rating-definitions .report-table td { font-size: 1rem; }
.report-bars, .fee-ladder { max-width: 510px; }
.bar-track { fill: var(--ink-3); }
.bar-fill { fill: var(--signal); }
.band-list { list-style: none; padding: 0; margin: 0; }
.band-list li { margin-bottom: 25px; }
.band-list strong { font-size: 1.15rem; }
.band-list p { margin-top: 9px; }
.band-list a { display: inline-block; padding: 6px 2px; }
.source-note { font-size: 1rem; color: var(--fg-2) !important; margin-top: 24px; }
.alarm-history { background: var(--ink-2); padding: 25px 20px; align-self: start; }
.report-sequence { margin: 32px 0; max-width: 850px; }
.report-sequence li { margin-bottom: 28px; }
.sequence-note { color: var(--fg-2) !important; font-size: 1rem; }
.finding { background: var(--ink-2); padding: 20px; margin-bottom: 12px; scroll-margin-top: 100px; }
.finding summary { cursor: pointer; color: var(--fg); line-height: 1.45; font-size: 1.1rem; min-height: 44px; }
.finding summary > span:first-child { font-weight: 650; }
.finding-score { display: block; padding-top: 8px; font-size: 1rem; }
.finding-score.urgent { color: var(--signal); }
.finding-score.raised { color: var(--scan); }
.finding-score.standard { color: var(--fg-2); }
.finding-content { padding-top: 20px; }
.finding-meta { color: var(--fg-2); line-height: 1.65; margin-bottom: 20px; }
.finding-meta span { display: block; }
.sample-report dl { margin: 0; }
.sample-report dt { font-weight: 650; margin-bottom: 5px; }
.sample-report dd { margin: 0 0 20px; max-width: 78ch; }
.sample-report .gets { margin-top: 0; }
.sample-report .btn { min-height: 46px; }
.sample-report .btn:active { transform: translateY(1px); }
.sample-report .btn, .plan-pin circle { transition: background-color 180ms cubic-bezier(.16,1,.3,1), stroke 180ms cubic-bezier(.16,1,.3,1); }
html:not(.js) .nav { display: flex; flex-wrap: wrap; position: static; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-head { position: static; }
html:not(.js) .site-head .wrap { flex-wrap: wrap; }
html:not(.js) .nav { width: 100%; }
html:not(.js) .nav a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 850px) {
  .report-intro { padding-top: 45px; padding-bottom: 65px; }
  .report-intro h1 { max-width: none; }
  .sample-banner .wrap { display: flex; gap: 30px; align-items: baseline; }
  .sample-banner span { margin-top: 0; }
  .report-split { grid-template-columns: 1fr 1fr; gap: 65px; align-items: start; }
  .plan-layout { grid-template-columns: 1.2fr 1fr; gap: 65px; }
  .report-section { padding-top: 85px; padding-bottom: 85px; }
  .finding-preview { padding: 30px; }
  .finding-preview dl { columns: 2; column-gap: 50px; }
  .finding-preview dt, .finding-preview dd { break-inside: avoid; }
  .finding-preview dt { break-after: avoid; }
  .sample-report .finding-content { max-width: 850px; }
}
@media (max-width: 649px) {
  .device-table, .device-table tbody, .device-table tr, .device-table th, .device-table td { display: block; width: 100%; }
  .device-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .device-table tr { margin-bottom: 25px; }
  .device-table caption { display: block; width: 100%; }
  .device-table th { background: var(--ink-3); font-weight: 650; }
  .device-table td { padding: 10px 8px; }
  .device-table td:nth-child(2)::before { content: "Records reviewed: "; font-weight: 650; }
  .device-table td:nth-child(3)::before { content: "Who confirms: "; font-weight: 650; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
