/* Page layout for the hosted service. Colours and type come from report.css. */
.topbar {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
}
.topbar .brand { font-weight: 700; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.topbar nav { margin: 0; flex: 1; }
.topbar .who { color: var(--muted); overflow-wrap: anywhere; }
.topbar form { margin: 0; }

form { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
label { display: block; font-size: 0.82rem; color: var(--muted); margin: 12px 0 4px; }
input[type="text"], input[type="email"], input[type="url"], select {
  width: 100%; max-width: 460px; padding: 9px 10px; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
button {
  font: 600 0.9rem/1 ui-sans-serif, system-ui, sans-serif; padding: 10px 16px; margin-top: 14px;
  color: var(--bg); background: var(--accent); border: 1px solid var(--accent);
  border-radius: 4px; cursor: pointer;
}
button.quiet { color: var(--accent); background: transparent; }
button.danger { color: var(--high); background: transparent; border-color: var(--high); }
button.link { border: 0; background: none; color: var(--accent); padding: 0; margin: 0; text-decoration: underline; font-weight: 400; }
.row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; }
.row > div { flex: 1 1 220px; }
.inline { display: inline; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; margin: 14px 0; }
.card h3 { margin-top: 0; }
.banner { border-left: 4px solid var(--c, var(--accent)); background: var(--surface); padding: 10px 14px; margin: 14px 0; border-radius: 0 4px 4px 0; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.92rem; }
.banner.error { --c: var(--high); }
.banner.ok { --c: var(--pass); }
.record { background: var(--code-bg); padding: 10px 12px; border-radius: 4px; margin: 10px 0; }
.record dt { color: var(--muted); }
.narrow { max-width: 520px; margin: 48px auto; }
.status { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 1.1rem; }
.muted { color: var(--muted); }
td form { margin: 0; }
td button { margin: 0; padding: 6px 10px; }
