/* Approved service detail: report first in document order; evidence first visually on desktop. */
.rd-service-refresh { max-width: 1380px; }
.rd-service-refresh .rd-head { gap: 14px; margin-bottom: 20px; }
.rd-service-refresh .rd-head h1 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; }
.rd-current-summary { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 6px; padding: 16px 20px; }
.rd-current-summary .rd-plain { font-size: 23px; line-height: 1.3; margin: 0 0 8px; }
.rd-current-summary .rd-answer-source { margin: 0; font-size: 13px; line-height: 1.65; }
.rd-current-summary .rd-plain-line { margin: 7px 0; }
.rd-service-refresh .rd-network-actions { margin: 10px 0 0; gap: 20px; font-size: 12px; }
.rd-service-refresh .rd-service-actions { margin: 12px 0 20px; gap: 10px; }
.rd-service-refresh .rd-service-actions > .rd-report-btn { display: none; }
.rd-service-refresh .rd-service-find { max-width: 330px; }
.rd-service-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, .94fr); gap: 22px; align-items: start; margin-bottom: 24px; }
.rd-report-column { grid-column: 2; grid-row: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 20px; }
.rd-evidence-column { grid-column: 1; grid-row: 1; min-width: 0; }
.rd-report-column .rd-report-card { padding: 0; margin: 0; border: 0; box-shadow: none; background: none; max-width: none; }
.rd-report-column .rd-report-card h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.rd-report-column .rd-report-card p { font-size: 12px; line-height: 1.6; }
.rd-report-column .rd-report-card [data-report-entry] { display: flex; flex-direction: column; }
.rd-report-column .rd-report-card [data-report-entry] > h2 { order: -5; }
.rd-report-column .rd-report-card [data-report-entry] > h2 + p { order: -4; }
.rd-report-column .rd-problem-taps { order: -3; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; margin: 12px 0 16px; padding: 0; min-width: 0; }
.rd-report-column .rd-problem-taps legend { font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.rd-report-column .rd-problem-choice { min-height: 48px; padding: 10px 8px; font-size: 12px; line-height: 1.4; margin: 0; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 5px; }
.rd-report-column .rd-problem-choice input { width: 15px; height: 15px; min-height: 0; flex: 0 0 15px; margin: 0; accent-color: var(--accent); }
.rd-report-column .rd-problem-choice:has(input:checked) { border-color: var(--accent); }
.rd-report-column .rd-report-location { display: grid; gap: 7px; margin: 0 0 16px; font-size: 12px; }
.rd-report-column select { width: 100%; max-width: 100%; min-width: 0; font-size: 13px; min-height: 43px; }
.rd-report-column .rd-report-send { width: 100%; min-height: 45px; }
.rd-report-column .rd-report-scope { padding-top: 15px; margin: 15px 0 10px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.rd-report-column .rd-hw-alert { font-size: 12px; line-height: 1.6; margin: 0; }
.rd-evidence-panel { padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.rd-evidence-panel .rd-report-heading { margin: 0 0 13px; gap: 12px; align-items: start; }
.rd-evidence-panel .rd-report-heading h2 { font-size: 20px; line-height: 1.25; margin: 0 0 5px; letter-spacing: -.025em; }
.rd-evidence-panel .rd-report-heading p { font-size: 11px; margin: 0; }
.rd-evidence-panel .rd-report-total { font-size: 23px; line-height: 1.2; white-space: nowrap; }
.rd-evidence-panel .rd-report-total span { display: block; font-size: 10px; font-weight: 400; }
.rd-evidence-panel > .sub { font-size: 12px; }
.rd-evidence-lane { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px; align-items: center; }
.rd-lane-label { min-width: 0; }
.rd-lane-label h3 { font: 600 13px/1.4 var(--body); margin: 0; color: var(--ink); }
.rd-lane-label > span, .rd-lane-label > strong { display: block; font-size: 11px; line-height: 1.5; margin-top: 5px; }
.rd-lane-label > span { color: var(--muted); }
.rd-lane-label > strong { font-weight: 500; }
.rd-lane-plot { min-width: 0; }
.rd-lane-plot .rc { display: block; width: 100%; height: auto; margin: 0; min-height: 100px; overflow: visible; }
.rd-evidence-reports .rc text[y="196"] { visibility: hidden; }
.rd-evidence-provider { border-block: 1px solid var(--line); margin: 8px 0; padding: 12px 0; }
.rd-lane-plot .rd-provider-lane { min-height: 35px; }
.rd-unrecorded-line { stroke: var(--line); stroke-width: 3; stroke-dasharray: 8 5; }
.rd-provider-lane .rc-band-minor { fill: var(--warn); opacity: .85; }
.rd-provider-lane .rc-band-major { fill: var(--down); opacity: .85; }
.rd-provider-lane .rc-band-maintenance { fill: #7d9cdb; opacity: .85; }
.rd-lane-caption { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 0 0 0 4.6%; }
.rd-response-lane .rd-response-trace { fill: none; stroke: var(--up, #35b28e); stroke-width: 2; opacity: 1; vector-effect: non-scaling-stroke; }
.rd-response-hit { fill: transparent; }
.rd-evidence-panel .rd-evidence-period { border-top: 1px solid var(--line); margin: 10px 0 0; padding-top: 10px; font-size: 10px; line-height: 1.6; }
.rd-evidence-notes { font-size: 12px; margin-top: 10px; }
.rd-evidence-notes > summary { padding: 6px 0; cursor: pointer; color: var(--muted); }
.rd-evidence-notes p { font-size: 12px; line-height: 1.65; }
.rd-evidence-panel .rd-report-refresh { margin-top: 8px; gap: 8px; }
.rd-evidence-panel .rd-report-refresh .sub { font-size: 10px; }
.rd-current-checks { padding: 18px 2px 0; }
.rd-current-checks h2 { font-size: 19px; margin: 0 0 7px; }
.rd-current-check-verdict { font-size: 14px; margin: 5px 0; line-height: 1.5; }
.rd-current-check-numbers { font-size: 12px; margin: 6px 0; line-height: 1.6; }
.rd-current-checks .rd-check-target { font-size: 11px; line-height: 1.6; margin: 6px 0 12px; }
.rd-check-locations { border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; }
.rd-check-locations > summary { cursor: pointer; padding: 12px 0; font-size: 12px; line-height: 1.5; }
.rd-check-locations > summary > span { color: var(--muted); margin-left: 12px; }
.rd-check-locations > p { font-size: 12px; line-height: 1.6; }
.rd-check-city-list { margin: 0; padding: 0; max-height: 360px; overflow: auto; list-style: none; }
.rd-check-city-list li { display: grid; grid-template-columns: 1fr 1.15fr auto; gap: 5px 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 12px; align-items: center; }
.rd-check-city-list strong { font-weight: 500; }
.rd-check-city-list time { font-size: 10px; color: var(--muted); white-space: nowrap; }
.rd-check-city-list small { grid-column: 1 / -1; font-size: 10px; color: var(--muted); }
.rd-check-success { color: var(--up, #35b28e); }
.rd-check-failure { color: var(--warn); }
.rd-current-checks .rd-check-scope { font-size: 11px; line-height: 1.65; margin: 11px 0 0; }
.rd-service-refresh .rd-local-outages { border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 7px; padding: 0 17px; margin: 20px 0; background: var(--surface); }
.rd-service-refresh .rd-local-outages summary { padding: 16px 0; font-size: 14px; }
.rd-service-refresh .rd-local-outages .tp-events { border-top: 1px solid var(--line); padding-top: 8px; }
.rd-updates-heading { font-size: 23px; margin: 28px 0 14px; letter-spacing: -.02em; }
.rd-refresh-secondary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 25px 0; }
.rd-refresh-secondary > [hidden] { display: none; }
.rd-refresh-secondary h2 { font-size: 18px; }
.rd-service-refresh :is(#report-problem, #current-checks, #check-locations, #local-outages) { scroll-margin-top: 90px; }
@media (max-width: 1100px) {
  .rd-service-layout { grid-template-columns: minmax(0, 1.7fr) minmax(275px, 1fr); gap: 16px; }
  .rd-evidence-panel { padding: 16px 12px; }
  .rd-evidence-lane { grid-template-columns: 108px minmax(0, 1fr); gap: 5px; }
  .rd-report-column { padding: 17px; }
  .rd-report-column .rd-problem-taps { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .rd-service-layout { grid-template-columns: minmax(0, 1fr); }
  .rd-report-column { grid-column: 1; grid-row: 1; }
  .rd-evidence-column { grid-column: 1; grid-row: 2; }
  .rd-report-column .rd-problem-taps { grid-template-columns: 1fr 1fr; }
  .rd-report-column .rd-report-card h2 { font-size: 24px; }
  .rd-service-refresh .rd-service-find { max-width: none; }
  .rd-evidence-lane { grid-template-columns: 125px minmax(0, 1fr); }
  .rd-refresh-secondary { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 500px) {
  .rd-current-summary { padding: 13px 14px; }
  .rd-current-summary .rd-plain { font-size: 20px; }
  .rd-current-summary .rd-answer-source { font-size: 11px; }
  .rd-service-refresh .rd-network-actions { gap: 13px; font-size: 11px; }
  .rd-evidence-panel .rd-report-heading h2 { font-size: 19px; }
  .rd-evidence-panel .rd-report-total { font-size: 21px; }
  .rd-evidence-lane { grid-template-columns: 88px minmax(0, 1fr); gap: 4px; }
  .rd-lane-label h3 { font-size: 11px; }
  .rd-lane-label > span, .rd-lane-label > strong { font-size: 10px; }
  .rd-lane-caption { font-size: 9px; }
  .rd-evidence-panel .rd-evidence-period { font-size: 9px; }
  .rd-check-locations > summary > span { display: block; margin: 3px 0 0 15px; font-size: 10px; }
  .rd-check-city-list li { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .rd-check-city-list time { grid-column: 2; }
  .rd-service-refresh .rd-notice-preview { display: block; margin: 5px 0 0 17px; font-size: 11px; }
}
