/* MHL_TRIP_ROUTE_REPORT_GLASS_V1.9 */
:root {
  color-scheme: dark;
  --sea: #62d5e7;
  --sea-bright: #9beaf3;
  --sea-dark: #0a6e87;
  --navy: #e8f5f8;
  --muted: #a9c4cf;
  --line: rgba(143, 207, 221, .19);
  --panel: rgba(6, 35, 51, .78);
  --paper: #08283a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #03121d; }
body {
  min-height: 100vh; margin: 0; padding: 1px 0 42px;
  color: #e8f5f8;
  background: radial-gradient(ellipse at 14% 2%, rgba(20, 112, 139, .32), transparent 35%),
              radial-gradient(ellipse at 90% 21%, rgba(10, 76, 103, .32), transparent 38%),
              linear-gradient(145deg, #03131f 0%, #06283a 49%, #041724 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input { font: inherit; }
.report-shell { width: min(1120px, calc(100% - 42px)); margin: 30px auto 0; }
.report-header {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(23px, 4.5vw, 47px);
  border: 1px solid rgba(118, 210, 229, .24); border-radius: 29px;
  background: linear-gradient(135deg, rgba(5, 49, 69, .94), rgba(3, 27, 42, .95));
  box-shadow: 0 26px 75px rgba(0, 0, 0, .3), inset 0 1px rgba(255,255,255,.065);
  backdrop-filter: blur(22px);
}
.report-header::after {
  content: ""; position: absolute; z-index: -1; top: 36px; right: -35px;
  width: clamp(125px, 20vw, 225px); aspect-ratio: 1;
  background: url("/assets/images/mhl-report-anchor.webp") center / contain no-repeat;
  opacity: .09; filter: saturate(.9); pointer-events: none;
}
.report-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 22px; padding-bottom: 23px; border-bottom: 1px solid rgba(190, 231, 239, .16); }
.report-brand { display: flex; align-items: center; min-width: 0; }
.report-brand__banner { display: block; width: min(100%, 560px); max-height: 82px; height: auto; object-fit: contain; object-position: left center; border-radius: 11px; filter: drop-shadow(0 7px 15px rgba(0,0,0,.22)); }
.report-document-label { display: inline-flex; align-items: center; justify-content: center; max-width: 230px; padding: 8px 12px; border: 1px solid rgba(156, 220, 232, .21); border-radius: 999px; color: #bcdce6; background: rgba(1, 18, 29, .52); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-align: center; }
.report-intro { position: relative; z-index: 1; padding: clamp(26px, 4vw, 41px) 0 28px; }
.route-eyebrow { margin: 0 0 7px; color: #6bd9e9; font-size: 10px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.report-intro h1 { margin: 0; color: #f5fbfd; font-size: clamp(31px, 5.2vw, 52px); font-weight: 790; letter-spacing: -.048em; line-height: 1.08; }
.report-intro > p:last-child { margin: 13px 0 0; color: #c4dfe7; font-size: clamp(14px, 2vw, 18px); overflow-wrap: anywhere; }
.report-intro > p:last-child span { padding: 0 6px; color: #71dbe9; }
.report-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.report-fact { min-width: 0; padding: 16px 17px; border: 1px solid rgba(135, 208, 224, .19); border-radius: 16px; background: rgba(1, 20, 31, .51); box-shadow: inset 0 1px rgba(255,255,255,.025); backdrop-filter: blur(12px); }
.report-fact span { display: block; color: #a5c6d2; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.report-fact strong { display: block; margin-top: 6px; color: #f4fbfd; font-size: clamp(20px, 2.8vw, 30px); letter-spacing: -.03em; line-height: 1.25; overflow-wrap: anywhere; }
.report-panel { margin-top: 19px; padding: clamp(20px, 3.6vw, 31px); border: 1px solid rgba(126, 200, 218, .19); border-radius: 23px; color: #e2f0f4; background: linear-gradient(145deg, rgba(7, 41, 58, .86), rgba(4, 28, 43, .9)); box-shadow: 0 16px 44px rgba(0, 0, 0, .2), inset 0 1px rgba(255,255,255,.035); backdrop-filter: blur(18px); }
.report-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 13px; margin-bottom: 18px; }
.report-section-heading .route-eyebrow { margin-bottom: 4px; color: #65d5e6; }
.report-section-heading h2 { margin: 0; color: #f0f8fb; font-size: clamp(20px, 3vw, 26px); font-weight: 770; letter-spacing: -.025em; line-height: 1.2; }
.report-section-count { flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(135, 210, 225, .2); border-radius: 999px; color: #b6d6df; background: rgba(1, 22, 34, .56); font-size: 11px; font-weight: 750; white-space: nowrap; }
.route-stops { position: relative; list-style: none; margin: 0; padding: 0; }
.route-stops:before { content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(#43bcd1, rgba(67,188,209,.14)); }
.route-stop { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(137, 192, 207, .13); }
.route-stop:last-child { padding-bottom: 0; border-bottom: 0; }
.route-stop:first-child { padding-top: 0; }
.route-stop__number { position: relative; z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; border: 2px solid rgba(5, 36, 51, .95); border-radius: 50%; color: #042638; background: linear-gradient(145deg, #9beaf2, #48b8ce); box-shadow: 0 0 0 1px rgba(113, 213, 231, .35); font-size: 11px; font-weight: 900; }
.route-stop__body { min-width: 0; }
.route-stop__body strong { display: block; color: #edf7fa; font-size: 14px; font-weight: 760; overflow-wrap: anywhere; }
.route-stop__body small { display: block; margin-top: 3px; color: #a3c2cd; font-size: 12px; }
.route-stop__role { color: #86b6c4; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.route-leg { padding: 20px 0 22px; border-bottom: 1px solid rgba(137, 192, 207, .16); }
.route-leg:first-of-type { padding-top: 0; }
.route-leg:last-child { padding-bottom: 0; border-bottom: 0; }
.route-leg__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.route-leg__header > div:first-child { min-width: 0; }
.route-leg__header .route-eyebrow { margin-bottom: 5px; color: #67d4e5; }
.route-leg__header h3 { margin: 0; color: #eff8fb; font-size: clamp(16px, 2vw, 19px); font-weight: 760; letter-spacing: -.015em; line-height: 1.4; overflow-wrap: anywhere; }
.route-leg__header h3 span { padding: 0 3px; color: #68d4e4; }
.route-leg__metric { flex: 0 0 auto; text-align: right; }
.route-leg__metric strong { display: block; color: #f3fafc; font-size: 18px; line-height: 1.3; }
.route-leg__metric span { display: block; margin-top: 3px; color: #a5c5d0; font-size: 12px; }
.route-steps { list-style: none; counter-reset: route-step; margin: 0; padding: 0; }
.route-step { counter-increment: route-step; display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-top: 1px solid rgba(143, 194, 208, .12); border-radius: 10px; }
.route-step:nth-child(even) { background: rgba(255, 255, 255, .035); }
.route-step__number { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(125, 210, 226, .2); border-radius: 9px; color: #b5edf4; background: rgba(14, 91, 112, .42); font-size: 11px; font-weight: 850; }
.route-step__body { min-width: 0; padding-top: 2px; }
.route-step__body strong { display: block; color: #dfedf2; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.route-step__body span { display: block; margin-top: 4px; color: #95b5c1; font-size: 11px; font-variant-numeric: tabular-nums; }
.route-step__body i { padding: 0 4px; color: #608695; font-style: normal; }
.route-note { margin: 12px 0 0; color: #adc7d0; font-size: 13px; }
.route-notice { margin-top: 18px; padding: 14px 17px; border: 1px solid rgba(104, 200, 218, .2); border-left: 4px solid #50bed2; border-radius: 13px; color: #c7e3eb; background: rgba(4, 51, 68, .66); font-size: 13px; }
.route-notice--warning { border-color: rgba(226, 179, 108, .24); border-left-color: #c89c55; color: #f0dcb7; background: rgba(65, 48, 27, .42); }
.report-actions { display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; margin: 22px 0; }
.report-actions span { color: #9ab9c5; font-size: 11px; }
.report-print-button { appearance: none; border: 1px solid rgba(162, 238, 245, .27); border-radius: 12px; padding: 12px 19px; color: #032537; background: linear-gradient(135deg, #a2eef4, #51bfd2); font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; box-shadow: 0 9px 24px rgba(0,0,0,.22); }
.report-print-button:hover { filter: brightness(1.045); }
.report-print-button:focus-visible { outline: 3px solid #a1edf5; outline-offset: 3px; }
.report-footer { display: grid; grid-template-columns: 1fr auto; gap: 12px 22px; align-items: center; margin-top: 28px; padding: 20px 3px 0; border-top: 1px solid rgba(143, 201, 216, .19); }
.report-footer__brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.report-footer__mark { display: block; flex: 0 0 auto; width: 43px; height: 43px; object-fit: cover; border: 1px solid rgba(115, 212, 231, .34); border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,.25); }
.report-footer__brand > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.report-footer__brand strong { color: #e5f4f8; font-size: 12px; }
.report-footer__brand small { margin-top: 3px; color: #a3c1cc; font-size: 10px; }
.report-footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; color: #8cabb7; font-size: 10px; text-align: right; }
.report-footer > p { grid-column: 1 / -1; margin: 0; color: #8eaeba; font-size: 10px; line-height: 1.6; }
@media (max-width: 740px) {
  .report-shell { width: calc(100% - 22px); margin-top: 11px; }
  .report-header { padding: 20px 17px; border-radius: 22px; }
  .report-brand-row { align-items: flex-start; flex-direction: column; padding-bottom: 18px; }
  .report-brand { width: 100%; }
  .report-brand__banner { width: min(100%, 540px); max-height: none; }
  .report-document-label { max-width: 100%; font-size: 8px; }
  .report-header::after { top: 115px; right: -30px; width: 125px; }
  .report-intro { padding: 24px 0 20px; }
  .report-facts { grid-template-columns: 1fr; gap: 8px; }
  .report-fact { padding: 12px 14px; }
  .report-fact strong { font-size: 23px; }
  .report-panel { margin-top: 13px; padding: 19px 16px; border-radius: 18px; }
  .report-section-heading { align-items: flex-start; }
  .route-stop { grid-template-columns: 35px minmax(0, 1fr); gap: 10px; }
  .route-stop__role { display: none; }
  .route-leg__header { display: block; }
  .route-leg__metric { margin-top: 8px; text-align: left; }
  .route-leg__metric strong, .route-leg__metric span { display: inline; margin-right: 8px; }
  .route-step { grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 10px 7px; }
  .report-footer { grid-template-columns: 1fr; }
  .report-footer__meta { align-items: flex-start; text-align: left; }
  .report-footer > p { grid-column: 1; }
}

/* MHL_TRIP_ROUTE_REPORT_PRINT_CSS_V1.9 — screen-matched glass design, flowing A4 pages */
@page { size: A4; margin: 9mm 10mm 10mm; }
.report-brand__anchor-logo { display: none; }
@media print {
  :root { color-scheme: dark !important; }
  *, *::before, *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html, body {
    width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
    color: #eaf7fb !important; background: #062533 !important;
    -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important;
  }
  body { font-size: 9.2pt !important; line-height: 1.34 !important; }
  body::before { opacity: .12 !important; }
  .report-shell { width: 100% !important; max-width: none !important; margin: 0 !important; }

  .report-header {
    padding: 7mm !important; border: 1px solid #16485b !important; border-radius: 7px !important;
    color: #f0fbff !important; background: linear-gradient(125deg, #062b3b 0%, #0a3d51 58%, #0b5368 100%) !important;
    overflow: visible !important; break-inside: avoid-page; page-break-inside: avoid;
  }
  .report-header::after { opacity: .35 !important; }
  .report-brand-row { padding-bottom: 3.5mm !important; border-color: rgba(183, 229, 240, .22) !important; }
  .report-brand__banner { display: none !important; }
  .report-brand__anchor-logo {
    display: block !important; width: 17mm !important; height: 17mm !important;
    object-fit: contain !important; filter: none !important; opacity: 1 !important;
  }
  .report-document-label {
    color: #c4e5ee !important; border-color: #1d596b !important; background: rgba(0, 20, 31, .45) !important;
  }
  .report-intro { padding: 5mm 0 4mm !important; }
  .route-eyebrow, .report-section-heading .route-eyebrow, .route-leg__header .route-eyebrow { color: #69d9e9 !important; }
  .report-intro h1 { color: #f5fcff !important; font-size: 24pt !important; }
  .report-intro > p:last-child { color: #c0e0e9 !important; }
  .report-intro > p:last-child span { color: #74ddec !important; }
  .report-facts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 2.2mm !important; }
  .report-fact {
    padding: 3mm !important; border: 1px solid #17495b !important; border-radius: 6px !important;
    color: #eaf7fb !important; background: rgba(0, 17, 27, .58) !important; backdrop-filter: none !important;
  }
  .report-fact span { color: #a7cbd5 !important; font-size: 7.3pt !important; }
  .report-fact strong { color: #f4fbff !important; font-size: 15pt !important; }

  .report-panel {
    margin-top: 4.5mm !important; padding: 4.5mm 5mm !important;
    border: 1px solid #164657 !important; border-radius: 7px !important;
    color: #eaf7fb !important; background: #062c3b !important;
    break-inside: auto !important; page-break-inside: auto !important;
  }
  .report-section-heading { margin-bottom: 2.5mm !important; break-after: avoid-page; page-break-after: avoid; }
  .report-section-heading h2, .route-stop__body strong, .route-leg__header h3,
  .route-step__body strong, .route-leg__metric strong { color: #eef9fc !important; }
  .report-section-count { color: #b5d9e2 !important; background: rgba(0, 18, 28, .4) !important; border-color: #1b5365 !important; }
  .route-stop__body small, .route-leg__metric span, .route-step__body span, .route-note { color: #a6c7d2 !important; }
  .route-stops:before { background: #23788e !important; }
  .route-stop { padding: 2.1mm 0 !important; border-color: #154657 !important; break-inside: avoid-page; page-break-inside: avoid; }
  .route-stop__number { color: #062d3c !important; background: #7edce8 !important; border: 1px solid #52b6c9 !important; }

  /* The section title was occasionally stranded by itself; ETAPPE headers keep the useful heading for print. */
  .report-panel--directions > .report-section-heading { display: none !important; }
  .route-leg { padding: 2.7mm 0 !important; border-color: #154657 !important; break-inside: auto !important; page-break-inside: auto !important; }
  .route-leg__header { margin-bottom: 2mm !important; break-after: avoid-page; page-break-after: avoid; }
  .route-leg__header h3 span { color: #70ddec !important; }
  .route-step {
    padding: 2mm 1.8mm !important; border-top: 1px solid #174657 !important; border-radius: 3px !important;
    color: #eaf7fb !important; background: transparent !important;
    break-inside: avoid-page; page-break-inside: avoid;
  }
  .route-step:nth-child(even) { background: rgba(0, 16, 25, .22) !important; }
  .route-step__number { color: #9deaf2 !important; border-color: #1c6074 !important; background: #09394a !important; }
  .route-notice {
    margin-top: 4mm !important; color: #bfdae2 !important; background: #082e3c !important;
    border-color: #1b5363 !important; border-left-color: #47bacd !important;
  }
  .route-notice--warning { color: #f0d5a8 !important; background: #302b22 !important; border-color: #735a35 !important; border-left-color: #d1a05a !important; }
  .report-actions { display: none !important; }
  .report-footer {
    display: flex !important; flex-direction: column !important; align-items: flex-start !important;
    gap: 2mm !important; margin-top: 3mm !important; padding-top: 2.5mm !important;
    border-top: 1px solid #17495a !important;
    break-inside: auto !important; page-break-inside: auto !important;
  }
  .report-footer__brand { gap: 2.5mm !important; }
  .report-footer__mark { width: 9mm !important; height: 9mm !important; flex: 0 0 auto !important; box-shadow: none !important; }
  .report-footer__brand strong { color: #eaf7fb !important; }
  .report-footer__brand small, .report-footer__meta, .report-footer > p { color: #a5c6d1 !important; }
  .report-footer__meta { align-items: flex-start !important; text-align: left !important; gap: 1mm !important; }
  .report-footer > p { grid-column: auto !important; margin: 0 !important; }
  h1, h2, h3 { orphans: 2; widows: 2; }
}


/* MHL_TRIP_ROUTE_REPORT_HEADER_LAYOUT_V1.10 */
/* The anchor is a real brand-row item, never a watermark beneath text. */
.report-header::after {
  display: none !important;
  content: none !important;
}
@media screen {
  .report-brand-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(12px, 2vw, 28px) !important;
  }
  .report-brand__banner {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }
  .report-brand__anchor-logo {
    display: block !important;
    width: clamp(44px, 3.8vw, 62px) !important;
    height: clamp(44px, 3.8vw, 62px) !important;
    flex: 0 0 auto !important;
    object-fit: contain !important;
    opacity: .98 !important;
    filter: none !important;
  }
  .report-document-label {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
}
@media screen and (max-width: 760px) {
  .report-brand-row {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
  .report-brand__banner {
    max-width: min(100%, 490px) !important;
  }
  .report-document-label {
    margin-left: 0 !important;
  }
}

/* MHL_TRIP_ROUTE_REPORT_BRAND_LOCKUP_V1.12
   One compact, aligned brand line: banner → anchor → report label.
   No oversized logo, artificial row height or space-between gap. */
@media screen {
  .report-brand-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: clamp(10px, 1.25vw, 18px) !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 0 clamp(13px, 1.25vw, 18px) !important;
    margin: 0 0 clamp(18px, 1.6vw, 25px) !important;
    border-bottom: 1px solid rgba(140, 221, 235, .18) !important;
    box-sizing: border-box !important;
  }
  .report-brand__banner {
    display: block !important;
    flex: 0 1 610px !important;
    width: min(610px, 46vw) !important;
    max-width: min(610px, 46vw) !important;
    height: auto !important;
    max-height: none !important;
    min-width: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    border-radius: 13px !important;
    box-shadow: 0 6px 20px rgba(0, 12, 24, .18) !important;
  }
  .report-brand__anchor-logo {
    display: block !important;
    flex: 0 0 76px !important;
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    filter: none !important;
    border: 1px solid rgba(105, 207, 225, .23) !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 16px rgba(0, 12, 25, .18) !important;
    background: rgba(1, 30, 44, .35) !important;
    box-sizing: border-box !important;
  }
  .report-document-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
    align-self: center !important;
    padding: .72rem .95rem !important;
    border-radius: 999px !important;
    color: #bedee7 !important;
    background: rgba(0, 20, 31, .40) !important;
    border: 1px solid rgba(103, 193, 211, .25) !important;
    letter-spacing: .12em !important;
  }
}
@media screen and (max-width: 900px) {
  .report-brand-row {
    display: grid !important;
    grid-template-columns: 66px minmax(0, max-content) !important;
    grid-template-areas: "banner banner" "anchor label" !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 12px 14px !important;
  }
  .report-brand__banner {
    grid-area: banner !important;
    width: min(100%, 610px) !important;
    max-width: 100% !important;
  }
  .report-brand__anchor-logo {
    grid-area: anchor !important;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    height: 66px !important;
    max-height: 66px !important;
  }
  .report-document-label {
    grid-area: label !important;
    justify-self: start !important;
    white-space: normal !important;
  }
}
@media screen and (max-width: 420px) {
  .report-brand-row {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 10px 12px !important;
  }
  .report-brand__anchor-logo {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    max-height: 58px !important;
  }
  .report-document-label { font-size: .58rem !important; padding: .62rem .72rem !important; }
}
@media print {
  .report-brand-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6mm !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .report-brand__banner { display: none !important; }
  .report-brand__anchor-logo {
    display: block !important;
    flex: 0 0 17mm !important;
    width: 17mm !important;
    min-width: 17mm !important;
    max-width: 17mm !important;
    height: 17mm !important;
    max-height: 17mm !important;
  }
  .report-document-label { margin: 0 !important; }
}


/* MHL_TRIP_ROUTE_REPORT_SEAMLESS_BRAND_V1.13
   Borderless MHL wordmark blended into the glass header and centered anchor watermark.
   The screen and PDF header intentionally share the same composition. */
.report-header {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  color: #edfaff !important;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(24, 117, 145, .24), transparent 43%),
    radial-gradient(ellipse at 84% 12%, rgba(13, 87, 114, .22), transparent 46%),
    linear-gradient(135deg, #073247 0%, #032536 52%, #052d40 100%) !important;
  border: 1px solid rgba(105, 202, 222, .25) !important;
  box-shadow: 0 24px 64px rgba(0, 10, 18, .26), inset 0 1px 0 rgba(230, 250, 255, .045) !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}
.report-header::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  top: -7% !important;
  left: 50% !important;
  right: auto !important;
  width: clamp(205px, 29vw, 385px) !important;
  aspect-ratio: 1 / 1 !important;
  transform: translateX(-50%) !important;
  background: url("/assets/images/mhl-report-anchor.webp?v=route-report-1.13") center / contain no-repeat !important;
  opacity: .12 !important;
  filter: saturate(.72) contrast(.92) !important;
  pointer-events: none !important;
}
.report-header > * {
  position: relative !important;
  z-index: 1 !important;
}
.report-brand-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: clamp(12px, 2vw, 28px) !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 0 clamp(15px, 1.7vw, 23px) !important;
  margin: 0 0 clamp(19px, 2vw, 29px) !important;
  border-bottom: 1px solid rgba(132, 213, 228, .20) !important;
  box-sizing: border-box !important;
}
.report-brand {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.report-brand__banner {
  display: block !important;
  flex: 0 1 auto !important;
  width: min(760px, 100%) !important;
  max-width: min(760px, 100%) !important;
  height: auto !important;
  max-height: none !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
/* The circular logo is no longer an extra tile: its branding role is the centered watermark. */
.report-brand__anchor-logo { display: none !important; }
.report-document-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  max-width: 250px !important;
  margin: 0 0 0 auto !important;
  padding: .72rem .95rem !important;
  color: #c3e3ec !important;
  background: rgba(0, 21, 32, .48) !important;
  border: 1px solid rgba(100, 198, 218, .30) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(228, 250, 255, .035) !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .13em !important;
  line-height: 1.35 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.report-intro, .report-facts { position: relative !important; z-index: 1 !important; }
.report-intro .route-eyebrow { color: #63d6e7 !important; }
.report-intro h1 { color: #f4fbfe !important; }
.report-intro > p:last-child { color: #c1dfe8 !important; }
.report-fact {
  color: #eaf7fb !important;
  background: rgba(0, 22, 34, .64) !important;
  border-color: rgba(119, 206, 224, .21) !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}
.report-fact span { color: #a8ccd8 !important; }
.report-fact strong { color: #f4fbfe !important; }
@media screen and (max-width: 760px) {
  .report-brand-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "banner" "label" !important;
    gap: 12px !important;
    align-items: start !important;
  }
  .report-brand { grid-area: banner !important; width: 100% !important; }
  .report-brand__banner { width: min(100%, 620px) !important; max-width: 100% !important; }
  .report-document-label { grid-area: label !important; justify-self: start !important; margin: 0 !important; white-space: normal !important; }
  .report-header::after { top: 8% !important; width: min(70vw, 300px) !important; }
}
@media print {
  .report-header {
    background:
      radial-gradient(ellipse at 18% 0%, rgba(24, 117, 145, .24), transparent 43%),
      radial-gradient(ellipse at 84% 12%, rgba(13, 87, 114, .22), transparent 46%),
      linear-gradient(135deg, #073247 0%, #032536 52%, #052d40 100%) !important;
    color: #edfaff !important;
    border-color: rgba(105, 202, 222, .25) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .report-header::after {
    display: block !important;
    top: -5% !important;
    left: 50% !important;
    width: 46mm !important;
    opacity: .12 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .report-brand-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 5mm !important;
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 4mm !important;
    margin-bottom: 6mm !important;
  }
  .report-brand { flex: 1 1 auto !important; min-width: 0 !important; }
  .report-brand__banner {
    display: block !important;
    width: 120mm !important;
    max-width: 100% !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
  }
  .report-brand__anchor-logo { display: none !important; }
  .report-document-label {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    max-width: 45mm !important;
    margin-left: auto !important;
    padding: 2.2mm 3mm !important;
    color: #c3e3ec !important;
    background: rgba(0, 21, 32, .48) !important;
    border: 1px solid rgba(100, 198, 218, .30) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .report-intro h1 { color: #f4fbfe !important; }
  .report-intro .route-eyebrow { color: #63d6e7 !important; }
  .report-intro > p:last-child { color: #c1dfe8 !important; }
  .report-fact {
    background: rgba(0, 22, 34, .64) !important;
    border-color: rgba(119, 206, 224, .21) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .report-fact span { color: #a8ccd8 !important; }
  .report-fact strong { color: #f4fbfe !important; }
}


/* MHL_TRIP_ROUTE_REPORT_BRAND_PROTECTION_V1.14
   Crisp 2x wordmark; the anchor is centered behind the branding row only,
   clipped to that row so it can never sit behind Wegbeschreibung or the route facts. */
.report-header::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
.report-brand-row {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: 112px !important;
  height: auto !important;
  box-sizing: border-box !important;
  align-items: center !important;
}
.report-brand-row::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  width: 108px !important;
  height: 108px !important;
  transform: translate(-50%, -50%) !important;
  background: url("/assets/images/mhl-report-anchor.webp?v=route-report-1.14") center / contain no-repeat !important;
  opacity: .105 !important;
  filter: saturate(.76) contrast(.92) !important;
  pointer-events: none !important;
}
.report-brand-row > * {
  position: relative !important;
  z-index: 1 !important;
}
.report-brand {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.report-brand__banner {
  display: block !important;
  width: min(740px, 100%) !important;
  max-width: min(740px, 100%) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  image-rendering: auto !important;
  filter: none !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.report-brand__anchor-logo { display: none !important; }
.report-document-label {
  position: relative !important;
  z-index: 1 !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}
@media screen and (max-width: 760px) {
  .report-brand-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "banner" "label" !important;
    gap: 10px !important;
    min-height: 0 !important;
    align-items: start !important;
  }
  .report-brand { grid-area: banner !important; width: 100% !important; }
  .report-brand__banner { width: min(100%, 640px) !important; max-width: 100% !important; }
  .report-document-label { grid-area: label !important; justify-self: start !important; margin: 0 !important; white-space: normal !important; }
  .report-brand-row::after {
    left: auto !important;
    right: 5% !important;
    top: 39% !important;
    width: 78px !important;
    height: 78px !important;
    transform: translateY(-50%) !important;
    opacity: .075 !important;
  }
}
@media print {
  .report-header::after { display: none !important; content: none !important; }
  .report-brand-row {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: 25mm !important;
    height: auto !important;
    align-items: center !important;
    padding-top: 1mm !important;
    padding-bottom: 4mm !important;
  }
  .report-brand-row::after {
    display: block !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    width: 22mm !important;
    height: 22mm !important;
    transform: translate(-50%, -50%) !important;
    opacity: .10 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .report-brand-row > * { position: relative !important; z-index: 1 !important; }
  .report-brand__banner {
    display: block !important;
    width: 120mm !important;
    max-width: 120mm !important;
    height: auto !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
  }
  .report-brand__anchor-logo { display: none !important; }
}


/* MHL_ROUTE_REPORT_COMPACT_BANNER_V1
   Kompakter Kopfbereich; das vorhandene Bild bleibt unverändert. */
.report-header {
  padding: clamp(17px, 2.7vw, 29px) !important;
}

.report-brand-row {
  gap: 12px 18px !important;
  padding-bottom: 14px !important;
}

.report-header .report-brand__banner {
  display: block;
  width: min(100%, 460px) !important;
  max-width: 100% !important;
  max-height: 58px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  image-rendering: auto;
}

.report-intro {
  padding: 20px 0 16px !important;
}

@media (max-width: 740px) {
  .report-header {
    padding: 18px 15px !important;
  }

  .report-brand-row {
    padding-bottom: 13px !important;
  }

  .report-brand {
    width: 100%;
    min-width: 0;
  }

  .report-header .report-brand__banner {
    width: min(100%, 420px) !important;
    max-width: 100% !important;
    max-height: 52px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .report-intro {
    padding: 16px 0 14px !important;
  }
}
