.portal-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 85% 15%, #214b91, transparent 60%), linear-gradient(135deg, #091b3a, #112d62);
}
.portal-card {
  width: min(100%, 480px);
  padding: clamp(24px, 5vw, 46px);
  color: #10244c;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 80px #020f2e80;
}
.portal-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 25px 0 14px;
  border-radius: 16px;
  background: #ffdc78;
  color: #122956;
  font-size: 24px;
}
.portal-kicker { font-size: .77rem; letter-spacing: .14em; font-weight: 800; }
.portal-card h1 { font-size: clamp(1.5rem, 5vw, 2.15rem); line-height: 1.2; margin: .45rem 0 .75rem; }
.portal-back { color: #245099; font-weight: 700; }
.portal-form { display: grid; gap: 14px; margin-top: 20px; }
.portal-form label, .portal-filters label { display: grid; gap: 5px; font-weight: 600; }
.portal-form input, .portal-filters select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #8798b5;
  border-radius: 10px;
  background: #fff;
  color: #10244c;
  font: inherit;
}
.portal-form :focus-visible, .portal-filters :focus-visible, .portal-event summary:focus-visible { outline: 3px solid #3074d7; outline-offset: 2px; }
.portal-form button { justify-content: center; min-height: 44px; }
.portal-error { color: #8d2929; margin: 0; }
.portal-error:empty { display: none; }
.portal-public { background: #eef3fa; min-height: 100vh; color: #142950; }
.portal-hero { background: linear-gradient(120deg, #0c214c, #204f92); color: white; padding: 30px max(5vw, calc((100% - 1040px)/2)) 50px; }
.portal-hero h1 { font-size: clamp(2.1rem, 7vw, 4rem); line-height: 1.12; margin: .35rem 0; }
.portal-hero .portal-kicker { color: #ffdf7d; }
.portal-admin { display: block; text-align: right; color: white; margin-bottom: 24px; }
.portal-content { max-width: 1080px; margin: auto; padding: 24px 20px 44px; }
.portal-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.portal-event { margin: 10px 0; padding: 0 16px; background: white; border: 1px solid #d2deef; border-radius: 12px; }
.portal-event summary { cursor: pointer; padding: 14px 0; }
.portal-event summary span { margin-inline-start: .5rem; color: #475f82; }
#logout { background: transparent; border: 0; font: inherit; text-align: start; width: 100%; cursor: pointer; }
