/* ════ LOG IN TO AGORIA — the one press after a report, on /assess and on a shared report (report-open.js).
   Drawn in the page's own colours: the design system's where the page has it (theme.css), else the report's own. */
.agop {
  --agop-ground: var(--surface-1, var(--card));
  --agop-ink: var(--text, var(--ink));
  --agop-soft: var(--text-2, var(--steel));
  --agop-line: var(--border-strong, var(--line));
  --agop-fill: var(--ag-signal, var(--cool));
  --agop-on: var(--ag-signal-contrast, var(--card));
  box-sizing: border-box;
  max-width: 920px;
  margin: 18px auto;
  padding: 0 16px;
  font-family: var(--font, inherit);
}
/* The scan scrolls here when it finishes: clear of the page's fixed top bar. */
#ar-before { scroll-margin-top: 76px; }
.agop-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: center;
  background: var(--agop-ground);
  color: var(--agop-ink);
  border: 1px solid var(--agop-line);
  border-top: 3px solid var(--agop-ink);
  padding: 18px 22px;
  text-align: left;
}
.agop-title { margin: 0 0 4px; font-family: var(--ag-font-display, inherit); font-size: 21px; line-height: 1.25; font-weight: 600; color: var(--agop-ink); }
.agop-line { margin: 0; color: var(--agop-soft); font-size: 14.5px; line-height: 1.5; }
.agop-act { display: grid; gap: 7px; justify-items: start; }
.agop-btn {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--ag-radius-md, 8px);
  background: var(--agop-fill);
  color: var(--agop-on);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
a.agop-btn, a.agop-btn:hover, a.agop-btn:visited { color: var(--agop-on); }
.agop-btn:hover { filter: brightness(1.1); }
.agop-btn:focus-visible { outline: 2px solid var(--agop-ink); outline-offset: 2px; }
.agop-btn[disabled] { opacity: .6; cursor: progress; }
.agop-note { margin: 0; color: var(--agop-soft); font-size: 12.5px; overflow-wrap: anywhere; }
.agop-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.5; }
.agop-msg:empty { display: none; }
.agop-msg a { color: inherit; text-decoration: underline; font-weight: 600; }
@media (max-width: 640px) {
  .agop-box { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .agop-act { justify-items: stretch; }
  .agop-btn { text-align: center; white-space: normal; min-height: 44px; }
}
@media print { .agop { display: none; } }
