:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202f40;
  background: #f3f5f7;
  line-height: 1.6;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding: clamp(0.75rem, 4vw, 2.5rem); }
.portal {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1rem, 5vw, 2.5rem);
  background: #fff;
  border: 1px solid #cbd3dd;
  border-radius: 0.75rem;
  overflow-wrap: anywhere;
}
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { margin: 0; font-size: 1.5rem; font-weight: 750; color: #173c60; }
.language-control { max-width: 100%; }
.language-control label { margin: 0 0 0.25rem; font-size: 0.9rem; }
h1 { font-size: clamp(1.8rem, 6vw, 2.3rem); line-height: 1.2; margin: 1.75rem 0 1rem; }
h2 { font-size: 1.3rem; line-height: 1.4; margin-top: 1.5rem; }
p { margin: 0.75rem 0; }
.notice { padding: 1rem; border-left: 4px solid #255b85; background: #eef4f9; }
#announcement { margin: 1.25rem 0; }
#announcement[data-error="true"] { color: #8e2420; }
#session-message { font-weight: 600; }
fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
label { display: block; font-weight: 600; margin: 1rem 0 0.35rem; }
input, select, button { font: inherit; max-width: 100%; border-radius: 0.35rem; }
input:not([type="checkbox"]), select { padding: 0.7rem; border: 1px solid #687b8e; color: #202f40; background: #fff; }
input:not([type="checkbox"]) { width: 100%; min-width: 0; }
button { display: block; width: 100%; min-height: 2.75rem; margin-top: 1rem; padding: 0.8rem 1rem; border: 1px solid transparent; background: #194b73; color: #fff; font-weight: 650; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
button:hover:not(:disabled) { background: #123853; }
button.secondary { background: #fff; color: #194b73; border-color: #687b8e; }
button.secondary:hover:not(:disabled) { background: #eef4f9; }
button.destructive { background: #a32622; }
button.destructive:hover:not(:disabled) { background: #7f1d1a; }
button:disabled { background: #e6eaee; color: #536172; border-color: #bdc7d1; cursor: not-allowed; }
:focus-visible { outline: 3px solid #126ab0; outline-offset: 3px; }
.acknowledgement { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 400; }
input[type="checkbox"] { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: #194b73; }
footer { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #cbd3dd; }
a { color: #194b73; text-underline-offset: 0.2em; }
footer a { padding: 0.25rem 0; }
