/* The vessel evaluation report's own styling.
 *
 * Its own file rather than folded into styles.css: 115 classes, all prefixed rpt- or
 * vr-, and exactly two names overlap with the app's 592 (css, js — both harmless).
 * Keeping them apart means a change to the report cannot move a survey screen, and a
 * change to the app cannot move a report an adjuster is reading.
 *
 * Loaded by app.html beside styles.css, and previously served at
 * /evaluation/assets/vessel-research/vessel-research.css for the standalone page.
 */
/* ==========================================================
   Vessel Research widget — Marine Surveyors Pro LLC themed copy.
   Based on the upstream public/vessel-research.css, with the
   palette/fonts aligned to style.css and the page background
   left to the site (embeds inside a normal site section).
   ========================================================== */

:root {
  --vr-bg: #FFFFFF;
  --vr-bg2: #13263A;
  --vr-card: #1B3A57;
  --vr-card2: #1a3457;
  --vr-line: #F4F8FB;
  --vr-text: #16232F;
  --vr-muted: #4E6273;
  --vr-blue: #2E6DA4;
  --vr-blue2: #2E6DA4;
  --vr-green: #15803D;
  --vr-yellow: #e9b752;
  --vr-orange: #ef8746;
  --vr-red: #ee5d68;
  --vr-shadow: 0 18px 55px rgba(0,0,0,.24);
}

.vr-app * { box-sizing: border-box; }

.vr-app {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--vr-text);
  background: radial-gradient(circle at 15% 0%, #EAF2F9, transparent 30%);
  padding: 42px 16px 70px;
}

.vr-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.vr-top {
  max-width: 900px;
  margin-bottom: 22px;
}

.vr-kicker {
  display: inline-block;
  font-family: var(--sans);
  color: var(--vr-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.vr-top h1,
.vr-results-head h2,
.vr-panel h2 {
  margin: 0;
}

.vr-top h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -.02em;
}

.vr-top p {
  color: var(--vr-muted);
  line-height: 1.65;
  max-width: 830px;
}

.vr-grid {
  display: grid;
  grid-template-columns: 1.55fr .75fr;
  gap: 18px;
}

.vr-panel {
  background: #FFFFFF;
  border: 1px solid var(--vr-line);
  border-radius: 14px;
  box-shadow: var(--vr-shadow);
  padding: 22px;
}

.vr-panel h2 {
  font-size: 23px;
  margin-bottom: 17px;
}

.vr-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px;
}

.vr-fields label {
  display: block;
}

.vr-fields label > span {
  display: block;
  color: #4E6273;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.vr-fields input,
.vr-fields textarea,
#vrReportSearch {
  width: 100%;
  border: 1px solid #D8E2EA;
  background: #FFFFFF;
  color: #16232F;
  border-radius: 10px;
  padding: 12px 13px;
  outline: none;
  font: inherit;
}

.vr-fields input:focus,
.vr-fields textarea:focus,
#vrReportSearch:focus {
  border-color: var(--vr-blue);
  box-shadow: 0 0 0 3px #EAF2F9;
}

.vr-span-2 { grid-column: 1 / -1; }

.vr-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
}

.vr-primary,
.vr-secondary {
  appearance: none;
  border: 0;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 800;
  cursor: pointer;
  padding: 12px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vr-primary {
  color: #fff;
  background: linear-gradient(135deg, #4A8BC2, #2E6DA4);
}

.vr-secondary {
  color: #4E6273;
  background: #F4F8FB;
  border: 1px solid #D8E2EA;
}

.vr-danger {
  appearance: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 800;
  cursor: pointer;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #B42318;
  background: #FDF1F0;
  border: 1px solid #E8A8A2;
}
.vr-danger:hover { background: #FAE3E1; }

.vr-primary:disabled,
.vr-danger:disabled {
  opacity: .55;
  cursor: wait;
}

.vr-cost-note,
.vr-disclaimer {
  color: var(--vr-muted);
  font-size: 12px;
  line-height: 1.5;
}

.vr-checks {
  display: grid;
  gap: 9px;
}

.vr-checks > div {
  padding: 10px 11px;
  border-radius: 9px;
  background: #F4F8FB;
  color: #4E6273;
  font-size: 13px;
}

.vr-checks > div::before {
  content: "✓";
  color: var(--vr-green);
  font-weight: 900;
  margin-right: 8px;
}

.vr-error {
  margin-top: 14px;
  color: #B42318;
  background: #FDF1F0;
  border: 1px solid #E8A8A2;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.vr-progress-panel {
  margin-top: 18px;
}

.vr-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.vr-progress-head h2 {
  margin-bottom: 2px;
}

#vrProgressPercent {
  color: var(--vr-blue2);
  font-size: 26px;
  font-family: var(--sans);
}

.vr-progress-track {
  height: 12px;
  background: #F4F8FB;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 16px;
}

.vr-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4A8BC2, #2E6DA4);
  transition: width .35s ease;
}

.vr-progress-step {
  margin-top: 9px;
  color: var(--vr-muted);
  font-size: 13px;
}

.vr-results-section {
  margin-top: 38px;
}

.vr-results-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.vr-results-head h2 {
  font-size: 28px;
}

#vrReportSearch {
  width: min(390px, 100%);
}

.vr-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 15px;
}

.vr-card {
  background: #FFFFFF;
  border: 1px solid #D8E2EA;
  border-radius: 12px;
  padding: 17px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.vr-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.vr-card-builder {
  color: var(--vr-blue2);
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.vr-risk {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 900;
  padding: 5px 7px;
  border-radius: 999px;
}

.vr-risk-low { color:#15803D; background:#E8F6EE; border:1px solid #9AD5B4; }
/* #fff0c5 on #FFF7E8 measured 1.06:1 — cream on cream, so "MODERATE RISK" was
   invisible on the one risk level most reports carry. A leftover from the dark→light
   flip: the cream text was right against the old dark panel and stayed put when the
   panel turned white. #8A6410 is the same amber family at 4.9:1. */
.vr-risk-moderate { color:#8A6410; background:#FFF7E8; border:1px solid #E8C48A; }
.vr-risk-elevated { color:#B45309; background:#FFF7E8; border:1px solid #E8C48A; }
.vr-risk-high { color:#B42318; background:rgba(238,93,104,.15); border:1px solid rgba(238,93,104,.3); }

.vr-card h3 {
  font-size: 23px;
  margin: 11px 0 3px;
}

.vr-card-model {
  color: #d2dfeb;
  font-weight: 700;
}

.vr-card-summary {
  color: var(--vr-muted);
  font-size: 13px;
  line-height: 1.55;
  min-height: 80px;
  margin: 12px 0;
}

.vr-card-meta {
  color: #becddd;
  font-size: 12px;
  display: grid;
  gap: 4px;
  margin-bottom: 13px;
}

.vr-card-actions {
  display: flex;
  gap: 7px;
}

.vr-card-actions a {
  flex: 1;
}

.vr-empty {
  color: var(--vr-muted);
  padding: 30px 0;
}

.vr-report-page {
  padding-top: 22px;
}

.vr-report {
  background: #f8fbfd;
  color: #173047;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--vr-shadow);
}

.vr-report-hero {
  background: linear-gradient(135deg, #FFFFFF, #25578A);
  color: white;
  padding: 34px;
}

.vr-report-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 3px 0 7px;
}

.vr-report-hero p {
  margin: 0;
  color: #d5ebfb;
}

.vr-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.vr-report-body {
  padding: 28px 34px 45px;
}

.vr-report-body h2 {
  color: #0b5d9a;
  border-bottom: 1px solid #cfdee8;
  padding-bottom: 6px;
  margin-top: 28px;
}

.vr-report-body h2,
.vr-report-body h3 {
  color: #0b5d9a;
}

.vr-report-body p,
.vr-report-body li {
  line-height: 1.62;
  color: #173047;
}

.vr-report-body ul,
.vr-report-body ol {
  list-style: revert;
  margin: 8px 0 0 20px;
  padding: 0;
}

.vr-report-body a {
  color: #0b69aa;
}

.vr-facts {
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid #dbe6ed;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0;
}

.vr-facts > div {
  padding: 9px 11px;
  border-bottom: 1px solid #e0e9ef;
}

.vr-facts > div:nth-child(odd) {
  font-weight: 800;
  background: #edf5fa;
}

.vr-issue {
  border-left: 4px solid #f0a24c;
  background: #f6f9fb;
  border-radius: 7px;
  padding: 12px 14px;
  margin: 10px 0;
}

.vr-issue[data-severity="high"],
.vr-issue[data-severity="critical"] {
  border-left-color: #d84b58;
}

.vr-issue h3 {
  margin: 0 0 6px;
}

/* Risk pills are designed for the dark cards; on the light report background
   they need darker text and stronger fills to stay legible. */
/* These four were written to override the set above, but .vr-report-body is markup the
   standalone page had and the app does not — so they have been overriding nothing.
   Scoped to .vr-report as well, which is the wrapper that actually exists in both. */
.vr-report-body .vr-risk-low, .vr-report .vr-risk-low { color:#0f6b48; background:#E8F6EE; border:1px solid rgba(15,107,72,.45); }
.vr-report-body .vr-risk-moderate, .vr-report .vr-risk-moderate { color:#8a6410; background:#FDF3DE; border:1px solid rgba(138,100,16,.45); }
.vr-report-body .vr-risk-elevated, .vr-report .vr-risk-elevated { color:#a1490f; background:#FDEEE4; border:1px solid rgba(161,73,15,.45); }
.vr-report-body .vr-risk-high, .vr-report .vr-risk-high { color:#b21e2a; background:#FDECEE; border:1px solid rgba(178,30,42,.45); }

.vr-source {
  padding: 10px 0;
  border-bottom: 1px solid #dce7ee;
}

@media (max-width: 900px) {
  .vr-grid { grid-template-columns: 1fr; }
  .vr-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 630px) {
  .vr-app { padding-left: 10px; padding-right: 10px; }
  .vr-fields { grid-template-columns: 1fr; }
  .vr-span-2 { grid-column: auto; }
  .vr-results-head { align-items: stretch; flex-direction: column; }
  #vrReportSearch { width: 100%; }
  .vr-cards { grid-template-columns: 1fr; }
  .vr-actions { flex-direction: column; align-items: stretch; }
  .vr-facts { grid-template-columns: 1fr; }
  .vr-facts > div:nth-child(odd) { border-bottom: 0; }
  .vr-report-body, .vr-report-hero { padding-left: 20px; padding-right: 20px; }
}

/* ==========================================================
   Branded due-diligence report (rpt-*) — rendered by
   research-page.js inside the .vr-report light card.
   ========================================================== */
.rpt{ --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --rnavy:#0D1B2A; --rnavy2:#17304f; --rblue:#2E6DA4; --rblue-dk:#4A8BC2;
  --rink:#1f2d3d; --rmuted:#5b6b7d; --rline:#d9e2ec; --rsoft:#f4f8fb;
  color:var(--rink); }
.rpt *{ box-sizing:border-box; }

.rpt-cover{
  background:
    radial-gradient(circle at 18% 0%, #BBD3E6, transparent 42%),
    linear-gradient(160deg,var(--rnavy2),var(--rnavy));
  color:#fff; padding:36px 34px 32px;
}
/* Cover header: title block on the left, WLC badge on the right. */
.rpt-cover-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:20px; }
.rpt-cover-head{ flex:1 1 auto; min-width:0; }
.rpt-brandrow{ flex:0 0 auto; }
/* Badge art is circular on a black square — clip to a circle so the black
   corners don't show as a box on the navy cover. */
.rpt-mark{ width:195px; height:195px; display:block; border-radius:50%; object-fit:cover; }
.rpt-name{ font-family:var(--sans); font-weight:900; font-size:1.15rem; letter-spacing:.02em; }
.rpt-name .wet{ color:#fff; } .rpt-name .cus{ color:var(--rblue); }
.rpt-eyebrow{ color:var(--rblue); font-family:var(--sans); font-weight:800; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; margin-bottom:12px; }
.rpt-cover h1{ color:#fff; font-size:clamp(2.1rem,5vw,3rem); font-weight:900; letter-spacing:-.01em; margin:0 0 6px; }
.rpt-sub{ color:#cfe3f5; font-size:1.15rem; font-weight:600; margin-bottom:18px; }
.rpt-taglist{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.rpt-taglist span{ border:1px solid rgba(120,190,255,.4); color:#bfe0ff; border-radius:999px; padding:5px 12px; font-size:.68rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.rpt-facts{ width:100%; border-collapse:collapse; background:#F4F8FB; border-radius:8px; overflow:hidden; }
.rpt-facts td{ padding:9px 13px; border-bottom:1px solid #F4F8FB; font-size:.92rem; vertical-align:top; }
.rpt-facts td.k{ color:var(--rmuted); font-weight:700; width:180px; white-space:nowrap; }
.rpt-facts td.v{ color:var(--rink); }
.rpt-actions{ display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
.rpt-disc{ margin-top:18px; color:#9db6cc; font-size:.78rem; font-style:italic; line-height:1.5; }

.rpt-body{ padding:26px 34px 40px; }
.rpt-sec{ padding:6px 0 4px; margin-bottom:14px; }
.rpt-h{ font-family:var(--sans); color:var(--rnavy); font-size:1.5rem; font-weight:800; margin:16px 0 4px; }
.rpt-sub-h{ font-family:var(--sans); color:var(--rnavy); font-size:1.02rem; margin:16px 0 6px; }
.rpt-rule{ height:3px; width:52px; background:var(--rblue); border-radius:2px; margin:8px 0 16px; }
.rpt-body p{ margin:0 0 12px; line-height:1.6; color:var(--rink); }
.rpt-lead{ color:var(--rmuted); }
.rpt-em{ color:var(--rmuted); font-size:.85rem; font-style:italic; }
.rpt-conf{ color:var(--rmuted); font-size:.82rem; }
.rpt-refs{ color:var(--rblue-dk); font-size:.82rem; font-weight:600; }

.rpt-riskline{ margin:6px 0 14px; }
.rpt-riskline strong{ margin-left:6px; }

.rpt-grid{ width:100%; border-collapse:collapse; margin:6px 0 14px; font-size:.9rem; }
.rpt-grid th{ background:var(--rnavy); color:#fff; text-align:left; padding:9px 11px; font-family:var(--sans); font-weight:700; font-size:.72rem; letter-spacing:.03em; text-transform:uppercase; }
.rpt-grid td{ padding:9px 11px; border-bottom:1px solid var(--rline); vertical-align:top; color:var(--rink); }
.rpt-grid tr:nth-child(even) td{ background:var(--rsoft); }
.rpt-grid td.k{ font-weight:700; color:var(--rnavy); }
.rpt-score{ font-weight:800; color:var(--rblue-dk); white-space:nowrap; }

.rpt-callout{ background:var(--rsoft); border-left:4px solid var(--rblue); border-radius:0 8px 8px 0; padding:12px 15px; margin:6px 0 16px; }
.rpt-acv{ background:#eafaf1; border-left-color:#2f855a; }
.rpt-acv h4{ color:#1f6b48 !important; }
.rpt-acv-figure{ font-family:var(--sans); font-weight:900; font-size:1.5rem; color:#1f6b48; letter-spacing:-.01em; }
.rpt-callout h4{ margin:0 0 5px; font-size:1rem; color:var(--rnavy); font-family:var(--sans); }
.rpt-callout p{ margin:0; }

.rpt-plain{ margin:6px 0 14px; padding-left:20px; } .rpt-plain li{ margin:5px 0; }
.rpt-q{ margin:6px 0 14px; padding-left:22px; } .rpt-q li{ margin:7px 0; }
.rpt-chk{ list-style:none; padding:0; margin:6px 0 14px; }
.rpt-chk li{ position:relative; padding:5px 0 5px 26px; border-bottom:1px dashed #e6edf3; }
.rpt-chk li::before{ content:""; position:absolute; left:2px; top:9px; width:12px; height:12px; border:2px solid var(--rblue); border-radius:3px; }
.rpt-grp{ margin:12px 0 4px; font-family:var(--sans); font-weight:800; color:var(--rnavy2); font-size:.95rem; }

.rpt-issue{ padding:11px 0; border-bottom:1px solid var(--rline); }
.rpt-issue:last-child{ border-bottom:0; }
.rpt-issue h4{ display:flex; align-items:center; gap:10px; margin:0 0 4px; font-size:1rem; color:var(--rnavy); font-family:var(--sans); }
.rpt-issue p{ margin:0 0 4px; font-size:.92rem; }
.rpt-sev{ font-family:var(--sans); font-weight:800; font-size:.62rem; letter-spacing:.05em; text-transform:uppercase; color:#fff; padding:3px 8px; border-radius:5px; white-space:nowrap; }
.rpt-sev.hi{ background:#c0392b; } .rpt-sev.medhi{ background:#d35400; } .rpt-sev.med{ background:#b7791f; } .rpt-sev.lowmed{ background:#2b6cb0; } .rpt-sev.info{ background:#5b6b7d; }
/* GREEN/YELLOW/RED rating chip (insurability, support ecosystem) */
.rpt-rate{ font-family:var(--sans); font-weight:800; font-size:.62rem; letter-spacing:.05em; text-transform:uppercase; color:#fff; padding:3px 9px; border-radius:5px; white-space:nowrap; vertical-align:middle; }
.rpt-rate.green{ background:#2f855a; } .rpt-rate.yellow{ background:#b7791f; } .rpt-rate.red{ background:#c0392b; }

.rpt-numflag{ padding:10px 0; border-bottom:1px solid var(--rline); }
.rpt-numflag h4{ margin:0 0 3px; font-size:1rem; color:var(--rnavy); font-family:var(--sans); }
.rpt-numflag .n{ color:var(--rblue-dk); }

.rpt-transflag{ background:#fff7ec; border:1px solid #f0d8ac; border-radius:8px; padding:12px 14px; margin:6px 0 8px; }
.rpt-transflag h4{ margin:0 0 4px; color:#8a6410; font-size:.95rem; font-family:var(--sans); }
.rpt-transflag p{ margin:0; font-size:.9rem; }
.rpt-watch{ background:#eefaf3; border:1px solid #b9e6cd; border-radius:8px; padding:12px 14px; margin:6px 0 14px; }
.rpt-watch h4{ margin:0 0 4px; color:#2f855a; font-size:.95rem; font-family:var(--sans); }
.rpt-watch p{ margin:0; font-size:.9rem; }

.rpt-buckets{ display:grid; gap:12px; margin:8px 0 14px; }
.rpt-bucket{ border-left:5px solid var(--rline); border-radius:0 8px 8px 0; padding:12px 16px; background:var(--rsoft); }
.rpt-bucket.green{ border-left-color:#2f855a; } .rpt-bucket.yellow{ border-left-color:#b7791f; } .rpt-bucket.red{ border-left-color:#c0392b; }
.rpt-bucket h4{ margin:0 0 6px; font-family:var(--sans); }
.rpt-bucket.green h4{ color:#2f855a; } .rpt-bucket.yellow h4{ color:#8a6410; } .rpt-bucket.red h4{ color:#c0392b; }
.rpt-bucket ul{ margin:0; padding-left:18px; } .rpt-bucket li{ margin:4px 0; font-size:.9rem; }

.rpt-source{ padding:9px 0; border-bottom:1px solid var(--rline); font-size:.9rem; word-break:break-word; }
.rpt-source a{ color:var(--rblue-dk); }
.rpt-limits{ color:var(--rmuted); font-size:.84rem; font-style:italic; border-top:2px solid var(--rline); padding-top:14px; margin-top:14px; }
/* Owner-only "Sections in this report" control (never printed). */
.rpt-sectionctl{ background:#eef5fa; border:1px solid #cfe0ec; border-radius:10px; padding:12px 14px; margin:0 0 20px; }
.rpt-sectionctl-h{ font-family:var(--sans); font-size:.82rem; font-weight:700; color:#0b5d9a; margin-bottom:9px; }
.rpt-sectionctl-h strong{ color:#0b5d9a; }
.rpt-sectionctl-list{ display:flex; flex-wrap:wrap; gap:7px 18px; }
.rpt-sectionctl label{ display:inline-flex; align-items:center; gap:6px; font-size:.85rem; color:#173047; cursor:pointer; }
.rpt-sectionctl input{ width:15px; height:15px; }

.rpt-prem{ font-family:var(--sans); font-weight:800; font-size:1.15rem; color:var(--rnavy);
  font-variant-numeric:tabular-nums; }

.rpt-endbrand{ text-align:center; color:var(--rmuted); font-size:.8rem; padding:24px 0 8px; border-top:1px solid var(--rline); margin-top:22px; }
.rpt-endbrand strong{ color:var(--rnavy); }

@media (max-width:630px){
  .rpt-cover{ padding:26px 20px; }
  .rpt-body{ padding:22px 20px 32px; }
  .rpt-facts td.k{ width:120px; }
  .rpt-cover-top{ gap:12px; }
  .rpt-mark{ width:140px; height:140px; }
}

/* Print-only page spacers (rendered by research-page.js). Hidden on screen;
   in print they become repeating table header/footer groups so every page
   keeps top/bottom whitespace even with @page margin:0. */
.rpt-print-top, .rpt-print-bottom{ display:none; }

/* Printing an evaluation.
   Scoped to body.ev-print, not a bare @media print. Inside the app this stylesheet is
   loaded on every screen, so unscoped it would fire when a survey report or a
   depreciation sheet is printed — and it hides .toolbar, which the app uses for its own
   report toolbars. app.js adds ev-print for the duration of the print and removes it
   afterwards. */
@media print {
  /* Zero page margin suppresses the browser's own header and footer — the date, time
     and site URL it stamps on a printout. The margins come back as padding, and as the
     repeating spacers below. */
  body.ev-print { background: #fff !important; }

  body.ev-print .site-header,
  body.ev-print .site-footer,
  body.ev-print .rpt-actions,
  body.ev-print .toolbar,
  body.ev-print .rpt-sectionctl,
  body.ev-print .rpt-backlink { display: none !important; }

  body.ev-print .vr-page-pad { padding-top: 0 !important; background: #fff !important; min-height: 0 !important; }
  body.ev-print .vr-shell { padding-top: 0 !important; margin-top: 0 !important; }
  body.ev-print .vr-report.rpt { box-shadow: none !important; border-radius: 0 !important;
    display: table !important; width: 100% !important; }

  /* Header and footer GROUPS, so every page keeps its top and bottom whitespace. */
  body.ev-print .rpt-print-top { display: table-header-group; }
  body.ev-print .rpt-print-bottom { display: table-footer-group; }
  body.ev-print .rpt-print-top > div,
  body.ev-print .rpt-print-bottom > div { height: 0.42in; }

  body.ev-print .rpt-cover { padding: 0.5in 0.6in 0.45in; }
  body.ev-print .rpt-body { padding: 0.15in 0.6in 0.3in; }

  body.ev-print .rpt-sec,
  body.ev-print .rpt-issue,
  body.ev-print .rpt-numflag,
  body.ev-print .rpt-bucket,
  body.ev-print .rpt-callout,
  body.ev-print tr { break-inside: avoid; }

  /* Without this the navy table heads print white-on-white and the header row simply
     is not on the page — which is exactly what happened to the CHECK / HOW and
     METRIC / EXPECTED rows. */
  body.ev-print .rpt-cover,
  body.ev-print .rpt-grid th,
  body.ev-print .rpt-sev,
  body.ev-print .rpt-rate,
  body.ev-print .rpt-bucket,
  body.ev-print .rpt-callout,
  body.ev-print .rpt-transflag,
  body.ev-print .rpt-watch { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Sample-report view-only mode ---------- */
.rpt-sample-badge{ display:inline-block; font-family:var(--sans); font-weight:800; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:#b45309; background:#fffbeb; border:1px dashed #B45309; border-radius:6px; padding:9px 14px; margin-right:8px; }
.rpt-sample-mode .rpt{ position:relative; }
.rpt-sample-mode .rpt::after{ content:""; position:absolute; inset:0; pointer-events:none; z-index:4;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='320'%3E%3Ctext x='210' y='160' font-family='Arial' font-size='44' font-weight='bold' fill='rgba(14,28,48,0.06)' text-anchor='middle' transform='rotate(-30 210 160)'%3ESAMPLE%3C/text%3E%3C/svg%3E");
  background-repeat:repeat; }
.rpt-sample-printnote{ display:none; }
@media print{
  /* Samples are view-only: hide the entire report in print output and show
     the notice instead. Purchased reports print normally. */
  .rpt-sample-mode #vrStandaloneContent, .rpt-sample-mode .vr-shell{ display:none !important; }
  .rpt-sample-mode .rpt-sample-printnote{ display:block !important; font-family:'Montserrat',Arial,sans-serif; font-size:16px; font-weight:700; color:#FFFFFF; text-align:center; padding:2in .5in; }
}

/* The hidden attribute must always win, even over display rules like .vr-primary. */
.vr-app [hidden] { display: none !important; }

/* ---------- contrast fixes after the dark→light flip ---------- */
/* This sheet loads after style.css, so the override has to live here or it loses.
   A white label needs a filled button under it: on the dark original these sat on
   translucent panels; on white they measured 1.1:1 and were invisible. */
.vr-primary, a.vr-primary, button.vr-primary {
  background: #2E6DA4; border-color: #2E6DA4; color: #fff;
}
.vr-primary:hover, a.vr-primary:hover, button.vr-primary:hover {
  background: #1F5A8C; border-color: #1F5A8C; color: #fff;
}

/* Time on Market: the headline number for how long the boat has been for sale. */
.rpt-tom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 4px 0 14px;
  padding: 12px 16px; border-left: 4px solid var(--rblue, #2E6DA4); background: #F4F8FB; border-radius: 6px; }
.rpt-tom-n { font-size: 22px; font-weight: 800; color: var(--rnavy, #14507E); }
.rpt-tom-sub { font-size: 13px; color: var(--rmuted, #5B6B7A); }
@media print { .rpt-tom { break-inside: avoid; } }
