/* Scoped report layout. Does not change public or portal layout elsewhere. */
.performance-page { background: #f6f8fb; color: #18354b; }
.performance-page .performance-container { max-width: 1200px; }
.performance-page .performance-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .35fr); gap: 32px; align-items: start; margin-bottom: 32px; }
.performance-page h1 { margin: 10px 0 18px; max-width: 850px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.035em; }
.performance-page .performance-lead { max-width: 720px; margin: 0 0 16px; color: #425b6c; line-height: 1.7; }
.performance-page .performance-method-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.performance-page .performance-collection { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px solid #dce5ec; border-radius: 16px; background: #fff; font-size: .86rem; }
.performance-page .performance-collection > span:not(.performance-badge) { color: #526779; margin-top: 8px; }
.performance-page time { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.performance-page .performance-badge { display: inline-block; max-width: 100%; padding: 5px 10px; border-radius: 999px; background: #eaf0f5; color: #43596b; font-size: .75rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.performance-page .performance-badge.is-good { background: #e4f3e9; color: #22613a; }
.performance-page .performance-badge.is-preliminary { background: #fff0cd; color: #715000; }
.performance-page .performance-badge.is-poor { background: #fbe7e7; color: #973535; }
.performance-page .performance-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 24px; border: 1px solid #dce5ec; border-radius: 18px; background: #dce5ec; overflow: hidden; }
.performance-page .performance-summary > div { min-width: 0; padding: 20px 24px; background: #fff; }
.performance-page dt { margin-bottom: 8px; font-size: .82rem; color: #526779; }
.performance-page dd { margin: 0; font-size: 1.3rem; font-weight: 700; }
.performance-page dd small { display: block; margin-top: 4px; color: #526779; font-size: .8rem; font-weight: 400; }
.performance-page .performance-notice { padding: 18px 22px; margin-bottom: 36px; border: 1px solid #e9d294; border-left: 4px solid #b88716; border-radius: 12px; background: #fff9e9; color: #644b19; }
.performance-page .performance-notice p { margin: 6px 0 0; line-height: 1.65; }
.performance-page .performance-device { margin-top: 36px; }
.performance-page .performance-device-heading { margin-bottom: 18px; }
.performance-page .performance-device-heading h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.3; }
.performance-page .performance-device-heading p { margin: 0; color: #526779; }
.performance-page .performance-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.performance-page .performance-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid #dce5ec; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(17, 52, 78, .035); }
.performance-page .performance-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.performance-page .performance-card h3 { margin: 0; font-size: 1.2rem; }
.performance-page .performance-description { min-height: 3.4em; margin: 16px 0; font-size: .92rem; color: #526779; line-height: 1.6; }
.performance-page .performance-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 4px 0 8px; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.performance-page .performance-value span { color: #526779; font-size: 1rem; font-weight: 500; }
.performance-page .performance-value.is-empty { font-size: clamp(1.45rem, 2.5vw, 2rem); color: #647788; }
.performance-page .performance-target { margin: 0 0 22px; font-size: .86rem; color: #526779; }
.performance-page .performance-card-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid #e8edf2; }
.performance-page .performance-card-footer p { margin: 0 0 4px; font-size: .83rem; line-height: 1.6; }
.performance-page .performance-card-footer p:last-child { color: #526779; }
.performance-page .performance-methodology { margin-top: 48px; padding-top: 32px; border-top: 1px solid #dce5ec; scroll-margin-top: 110px; }
.performance-page .performance-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 36px; }
.performance-page .performance-method-grid h3 { margin: 10px 0 8px; font-size: 1rem; }
.performance-page .performance-method-grid p, .performance-page .performance-footnote { margin: 0; font-size: .9rem; line-height: 1.75; color: #425b6c; }
.performance-page .performance-footnote { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: #eaf0f5; }
.performance-page a:focus-visible { outline: 3px solid var(--brand, #0b5d8b); outline-offset: 4px; }
@media (max-width: 900px) {
  .performance-page .performance-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .performance-page .performance-collection { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .performance-page .performance-collection > span:not(.performance-badge) { margin: 0; }
  .performance-page .performance-card { padding: 20px; }
  .performance-page .performance-cards { gap: 12px; }
}
@media (max-width: 700px) {
  .performance-page .performance-summary, .performance-page .performance-cards, .performance-page .performance-method-grid { grid-template-columns: minmax(0, 1fr); }
  .performance-page .performance-summary > div { padding: 16px 20px; }
  .performance-page dd small { display: inline; margin-left: 8px; }
  .performance-page .performance-description { min-height: 0; }
  .performance-page .performance-device { margin-top: 28px; }
  .performance-page .performance-notice { padding: 16px; }
  .performance-page .performance-method-grid { gap: 14px; }
  .performance-page .performance-footnote { padding: 16px; }
}
@media print {
  .performance-page { background: #fff; }
  .performance-page .performance-card { box-shadow: none; break-inside: avoid; }
  .performance-page .performance-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .performance-page .performance-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* This stylesheet is loaded only on /performance. Keep consent buttons
   above the floating consultant without taking the panel out of document flow. */
.cookie-panel[data-cookie-panel] {
  position: relative;
  inset: auto;
  z-index: 180;
}
