/* Reporting has its own visible entrance; opening it never sends a report. */
.rd-top .rd-header-report { min-height: 42px; }
.rd-top .rd-account-link { font-size: 13px; }
.rd-report-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.rd-report-entry > span { font-size: 14px; color: var(--muted); }
.rd-report-entry > .button { min-height: 44px; }
.rd-overview-service a, .rd-card-t > a { text-decoration: none; }
.rd-overview-service a:hover, .rd-card-t > a:hover { text-decoration: underline; }
.rd-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.rd-card-actions > a { display: inline-flex; align-items: center; min-height: 44px; }
.rd-card-actions > a.rd-report-btn { min-height: 36px; height: auto; line-height: 1.2; padding: 6px 12px; }
.rd-overview-card .rd-card-actions { margin-top: auto; }
.rd-overview-card .rd-overview-evidence { margin-bottom: 12px; }
.rd-card-reportable { grid-template-columns: auto minmax(0, 1fr); }
.rd-card-reportable::after { display: none; }
.rd-card-reportable .rd-card-actions { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; }
.rd-card-reportable:hover { background: var(--surface); }
.rd-report.rd-report-card:target { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 3px; }
.rd-report-chooser .rd-report-choices { margin-top: 12px; }
.rd-report-chooser .rd-finder-intro { max-width: 900px; }
@media (min-width: 641px) {
  .rd-top { flex-wrap: wrap; }
  .rd-top nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 16px; }
}
@media (max-width: 640px) {
  .rd-report-entry { align-items: flex-start; gap: 8px; }
  .rd-report-entry > span { flex-basis: 100%; }
  .rd-card-actions { gap: 6px 12px; }
}
/* A plain way back to the main HonkWatch site (owner 7 Nov): the old "by HonkWatch" line as a small outlined button. */
.rd-top .rd-hw-link { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); font-size: 12.5px; }
.rd-top .rd-hw-link:hover { border-color: var(--ink); }
@media (max-width: 900px) { .rd-top .rd-hw-link { margin: 2px 0 0 51px; height: 26px; } }
@media (max-width: 640px) { .rd-top .rd-hw-link { padding: 0 8px; margin-bottom: 0; } }
@media (min-width: 1201px) and (max-width: 1340px) { .rd-top nav { gap: 13px; } .rd-top .rd-brand { gap: 10px; } }
/* listing an id gives the whole list id weight, so this beats the older fixed 95px rules */
:root body.radar :is(#report-problem, #change-country, [id], .rd-block, .rd-service-details, .rd-local-outages, .rd-discovery-nav, .rd-finder-intro, .rd-more-services, .rd-secondary-disclosure, .rd-search-results, .rd-home-map) { scroll-margin-top: var(--rd-head, 95px); }
/* Phones (owner review 8 Nov): one compact header row (logo, Performance, one Report button, Menu), the page list and the light/dark switch behind
   Menu, so search and results start near the top. Flat: plain links in two columns, the current page underlined. */
.rd-menu-btn { display: none; }
.rd-top .rd-header-report { gap: 0; }
.rd-top .rd-header-report .rd-wide { display: inline; }
@media (max-width: 640px) {
  header.top.rd-top { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  .rd-top .rd-brand { flex-direction: row; min-width: 0; }
  .rd-top .rd-brand .brandmark { --s: 28px; width: 28px; height: 28px; }
  .rd-top .rd-brand .brandmark img { width: 28px; height: 28px; }
  header.top.rd-top .logo { gap: 6px; }
  header.top.rd-top .logo .wordmark { font-size: 17px; white-space: nowrap; }
  .rd-top .rd-hw-link, .rd-top .rd-account-link { display: none; }
  header.top.rd-top nav { gap: 4px; flex-wrap: nowrap; }
  .rd-top .theme { display: none; }  /* in the Menu on phones (rd-menu-theme), so the Performance link fits */
  header.top.rd-top .rd-header-report { min-height: 40px; padding: 0 10px; font-size: 14px; }
  .rd-top .rd-header-report .rd-wide { display: none; }
  header.top.rd-top nav a.nav-x.nav-perf { display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
  header.top.rd-top nav a.nav-x.nav-perf .nav-long { display: none; }
  header.top.rd-top nav a.nav-x.nav-perf .nav-short { display: inline; }
  .rd-top a.nav-perf[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .rd-menu-btn:not([hidden]) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r-s); background: none; color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
  .rd-menu-btn[aria-expanded="true"] { border-color: var(--ink); }
  .rd-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 4px 16px 8px; border-bottom: 1px solid var(--line); }
  .rd-menu[data-closed] { display: none; }
  /* review 18 Nov: opened after scrolling, the list sat at the top of the page, out of view. With JavaScript it opens as a panel
     fixed right under the sticky header (top set by the Menu script), scrolling on its own if the screen is short. */
  .rd-menu.rd-menu-js { position: fixed; left: 0; right: 0; top: 60px; z-index: 39; max-height: calc(100vh - 70px); overflow-y: auto; background: var(--bg); }
  .rd-menu a, .rd-menu a:not(.rd-menu-report) { flex: none; text-align: left; padding: 11px 0; min-height: 44px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .rd-menu .rd-menu-report { color: var(--ink); background: none; border-radius: 0; justify-content: flex-start; }
  .rd-menu .rd-menu-aux { font-weight: 500; color: var(--text); border-bottom: 0; }
  .rd-menu .rd-menu-theme:not([hidden]) { display: flex; align-items: center; min-height: 44px; padding: 11px 0; border: 0; background: none; color: var(--text); font: 500 14px var(--body); text-align: left; cursor: pointer; }
  .rd-menu a[aria-current="page"] { box-shadow: none; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
}
@media (max-width: 360px) { header.top.rd-top .logo .wordmark { font-size: 15px; } header.top.rd-top nav a.nav-x.nav-perf { font-size: 12.5px; } header.top.rd-top .rd-header-report { padding: 0 8px; } }
@media (max-width: 340px) { header.top.rd-top nav a.nav-x.nav-perf { display: none; } }  /* too narrow: it stays in the Menu */
/* Owner 8 Nov: the desktop header stays one row at 1280-1439 px (the map starts higher) and account links stay quiet */
.rd-top .nav-short { display: none; }
.rd-top .rd-account-link { color: var(--text); font-weight: 500; }
@media (min-width: 641px) and (max-width: 1439px) {
  .rd-top .nav-long { display: none; } .rd-top .nav-short { display: inline; }
  .rd-top .rd-signup-link { display: none; }
  .rd-top nav { gap: 12px; }
}

/* owner 17 Nov ("wtf"): every card in the same order, so rows line up: name and state, the 24-hour bars, the note (only on a
   problem), the buttons at the bottom. Before, a note took the bars' row and pushed them under the buttons. */
.rd-card-reportable { grid-template-rows: auto auto 1fr auto; height: 100%; }
.rd-card-reportable .rd-card-graph { grid-row: 2; }
.rd-card-reportable .rd-card-note { grid-row: 3; align-self: start; }
.rd-card-reportable .rd-card-actions { grid-row: 4; }
