
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f7f7f5;
}
header.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 32rem; margin: 0 auto; padding: 0.75rem 1rem 0; }
header.top a { color: #1b5fa8; text-decoration: none; font-size: 0.9375rem; }
header.top a.brand { font-weight: 700; color: #1a1a1a; }
header.top a.lang-toggle { text-decoration: underline; }
.wrap { max-width: 32rem; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; }
input[aria-invalid="true"] { border-color: #a3231a; }
h1 { font-size: 1.375rem; margin: 0 0 0.5rem; }
p.lede { color: #4b4b4b; margin: 0 0 1.5rem; }
label, .field-label { display: block; font-size: 0.875rem; font-weight: 600; margin: 0 0 0.25rem; }
/* A value the form shows but does not let you change (the signed-in
   account's name). */
.static-value { margin: 0; font-size: 1rem; padding: 0.25rem 0; }
.field { margin-bottom: 1rem; }
[hidden] { display: none; }
.showpw { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; margin: -0.25rem 0 1rem; }
.showpw input { width: auto; }
.hint { font-size: 0.8125rem; color: #666; margin-top: 0.25rem; }
.hint.bad { color: #a3231a; }
.hint.good { color: #2a6b3a; }
.hint:empty { display: none; }
h2 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
dl.details { margin: 0 0 1rem; padding: 0.75rem 1rem; background: #fff; border: 1px solid #ddd; border-radius: 0.375rem; }
dl.details dt { font-size: 0.8125rem; color: #666; }
dl.details dd { margin: 0 0 0.5rem; overflow-wrap: anywhere; }
dl.details dd:last-child { margin-bottom: 0; }
input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  padding: 0.5rem 0.625rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  background: #fff;
  color: inherit;
}
input:focus-visible { outline: 3px solid #1b5fa8; outline-offset: 1px; }
/* A <select> looks like the text fields beside it, not the browser's own
   button; the chevron is two gradients, so it needs no image (the CSP
   allows none inline). */
select {
  width: 100%;
  padding: 0.5rem 2.25rem 0.5rem 0.625rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: right 1.125rem center, right 0.8125rem center;
  background-size: 0.3125rem 0.3125rem;
  background-repeat: no-repeat;
  cursor: pointer;
}
select:focus-visible { outline: 3px solid #1b5fa8; outline-offset: 1px; }
select[aria-invalid="true"] { border-color: #a3231a; }
.slug-preview { font-size: 0.875rem; margin: 0.5rem 0 0; overflow-wrap: anywhere; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.error { color: #a3231a; font-size: 0.875rem; margin: 0 0 1rem; }
button {
  font: inherit;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 0.375rem;
  background: #1b5fa8;
  color: #fff;
  cursor: pointer;
}
button:hover { opacity: 0.9; }
.notice { background: #eef5ee; border: 1px solid #b9d7bd; border-radius: 0.375rem; padding: 0.625rem 0.75rem; margin: 0 0 1rem; }
.card { background: #fff; border: 1px solid #ddd; border-radius: 0.5rem; padding: 0.875rem 1rem; margin: 0 0 0.75rem; }
.card h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.card a { margin-right: 1rem; }
.card a.btn { display: block; margin: 0.5rem 0 0.5rem; padding: 0.875rem 1.25rem; border-radius: 0.5rem; background: #1b5fa8; color: #fff; text-align: center; font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.card a.btn:hover { opacity: 0.9; }
.card a.btn:focus-visible { outline: 3px solid #1b5fa8; outline-offset: 2px; }
ul.upcoming { list-style: none; margin: 0; padding: 0; }
.upcoming__title { margin: 0; font-weight: 600; }
.upcoming__tags { margin: 0.375rem 0 0; }
.tag { display: inline-block; margin-right: 0.375rem; padding: 0.125rem 0.5rem; border: 1px solid #ccc; border-radius: 999px; background: #f4f4f4; font-size: 0.8125rem; color: #444; }
.tag--attention { border-color: #a3231a; background: #fbeeed; color: #a3231a; font-weight: 600; }
details.join { margin-top: 1.5rem; }
details.join summary { cursor: pointer; }
details.join summary h2 { display: inline; margin: 0; }
button.link { background: none; color: #1b5fa8; padding: 0; text-decoration: underline; }
.policy { font-size: 0.8125rem; color: #666; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #ddd; }

/* The sign-in and account pages (bulletin-v9wo, bulletin-8fju.3): a normal
   page at every width -- the site's header bar (the landing page's brand
   mark), then the content left-aligned under it in the same measure, never
   a lone column floating in the middle of a wide screen. The sign-in page
   puts the form and a short explainer side by side (.auth-split). */
body.auth { background: #fff; }
.auth-top { border-bottom: 1px solid #e5e5e5; }
.auth-top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 64rem; margin: 0 auto; padding: 0.75rem 1.25rem; }
.brand-link { color: #16202a; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.125rem; }
.brand-mark { flex-shrink: 0; }
.auth-top-link { font-size: 0.875rem; font-weight: 600; color: #1d4ed8; text-decoration: none; white-space: nowrap; }
.auth-top-link:hover { text-decoration: underline; }
body.auth .wrap { max-width: 64rem; padding: 2.5rem 1.25rem 1rem; }
body.auth .wrap > :not(.auth-split), .auth-form { max-width: 26rem; }
.auth-split { display: grid; gap: 2rem; }
@media (min-width: 48rem) {
  body.auth .wrap { padding-top: 3.5rem; }
  .auth-split { grid-template-columns: minmax(0, 26rem) minmax(0, 22rem); gap: 4rem; align-items: start; }
}
.auth-side { padding: 1.25rem 1.25rem 0.25rem; background: #fff; border: 1px solid #e5e5e5; border-radius: 0.5rem; font-size: 0.9375rem; color: #444; }
.auth-side h2 { margin: 0 0 0.5rem; font-size: 1rem; color: #1a1a1a; }
.auth-side p { margin: 0 0 1rem; }
.auth-features { list-style: none; margin: 0 0 1rem; padding: 0; }
.auth-features li { margin: 0 0 0.75rem; padding-left: 1rem; border-left: 3px solid #1d4ed8; }
.auth-features strong { display: block; color: #1a1a1a; font-weight: 600; }
body.auth h1 { font-size: 1.25rem; font-weight: 600; }
body.auth p.lede { font-size: 0.9375rem; color: #555; margin-bottom: 1.5rem; }
body.auth label { font-weight: 500; }
body.auth button[type="submit"] { display: block; width: 100%; font-size: 0.875rem; font-weight: 600; padding: 0.625rem 1rem; background: #1d4ed8; }
body.auth input:focus-visible { outline-color: #1d4ed8; }
body.auth .links { margin: 1.25rem 0 0; font-size: 0.875rem; }
body.auth .links p { margin: 0 0 0.5rem; }
body.auth .links a, body.auth p.hint a { color: #1d4ed8; text-decoration: underline; text-decoration-color: rgb(29 78 216 / 0.3); text-underline-offset: 2px; }
body.auth .links a:hover, body.auth p.hint a:hover { text-decoration-color: currentColor; }
body.auth .policy { border-top: 0; padding-top: 0; margin-top: 2rem; }
body.auth .policy a { color: #666; }
main.wrap p.lang-toggle { padding: 0; margin: 1rem 0 0; font-size: 0.875rem; }
body.auth p.lang-toggle a { color: #555; }

/* The authenticator page (bulletin-x2y4): the QR code to scan, the same
   secret as a key to type, and its actions side by side. */
.auth-qr { width: 12rem; max-width: 100%; aspect-ratio: 1; padding: 0.5rem; margin: 0 0 1rem; background: #fff; border: 1px solid #e5e5e5; border-radius: 0.5rem; }
.auth-qr svg { display: block; width: 100%; height: 100%; }
.auth-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; letter-spacing: 0.05em; overflow-wrap: anywhere; user-select: all; }
body.auth h2 { font-size: 1.125rem; margin: 0 0 0.5rem; }
.auth-actions { display: grid; gap: 0.75rem; margin: 0 0 1rem; }
.auth-actions form { margin: 0; }
body.auth button.secondary[type="submit"] { background: #fff; color: #a3231a; border: 1px solid #d9b2ae; }
