/* Full-window viewer. #F4F3EF is the report's own page and outspace color, so loading and letterboxing blend in. */
:root { color-scheme: light; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #F4F3EF;
  color: #323130;
  font: 15px/1.45 "Segoe UI", system-ui, -apple-system, sans-serif;
}

#report { position: fixed; inset: 0; }
#report iframe { border: 0; display: block; }

#status {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #F4F3EF;
  z-index: 1;
}
#status[hidden] { display: none; }
#status .card { max-width: 440px; text-align: center; }
#msg { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
#detail { margin: 0 0 14px; color: #605E5C; }
#detail:empty { display: none; }
.nowrap { white-space: nowrap; }
#retry, #switch {
  font: inherit;
  margin: 0 4px;
  padding: 6px 16px;
  border: 1px solid #8A8886;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  cursor: pointer;
}
#switch { border-color: #2A78D6; background: #2A78D6; color: #FFFFFF; }
#switch[hidden], #retry[hidden] { display: none; }

/* Full-screen toggle: small and faint in the top-right corner, solid on hover. */
#fs {
  position: fixed;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  padding: 5px;
  border: 0;
  border-radius: 6px;
  background: rgba(50, 49, 48, 0.08);
  color: #323130;
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}
#fs:hover, #fs:focus-visible { opacity: 1; background: rgba(50, 49, 48, 0.16); }
#fs[hidden] { display: none; }
#fs svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* "?" sits left of the full-screen button and matches it. */
#help {
  position: fixed;
  top: 6px;
  right: 42px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(50, 49, 48, 0.08);
  color: #323130;
  font: 600 16px/30px "Segoe UI", system-ui, sans-serif;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}
#help:hover, #help:focus-visible { opacity: 1; background: rgba(50, 49, 48, 0.16); }

/* The getting-around card: same blue as the report's buttons (#2A78D6). */
#helpbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(11, 11, 11, 0.28);
  z-index: 3;
}
#helpbox[hidden] { display: none; }
#helpbox .panel {
  max-width: 480px;
  padding: 20px 24px 18px;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}
#helpbox h2 { margin: 0 0 10px; font-size: 18px; }
#helpbox ul { margin: 0 0 16px; padding-left: 18px; }
#helpbox li { margin: 0 0 8px; }
#helpbox .pill {
  display: inline-block;
  padding: 0 8px;
  border: 1px solid #2A78D6;
  border-radius: 999px;
  background: #EAF2FC;
  color: #2A78D6;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}
#helpbox .pill.off { border-color: #C9C7C0; background: #FFFFFF; color: #9E9C96; }
#helpok {
  display: block;
  margin-left: auto;
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: #2A78D6;
  color: #FFFFFF;
  font: 600 14px "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}
#helpok:hover, #helpok:focus-visible { background: #1F5FAD; }
#fs .exit { display: none; }
#fs.on .enter { display: none; }
#fs.on .exit { display: inline; }
