:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  color: #152f4c;
  background: #f4f8fc;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.masthead { background: #fff; border-bottom: 1px solid #cfdfef; padding: .9rem max(1rem, calc((100% - 38rem) / 2)); }
.brand { white-space: nowrap; color: #14499f; font-size: 1.1rem; font-weight: 750; }
.brand span { color: #254763; font-weight: 550; }
main { width: min(38rem, calc(100% - 2rem)); margin: clamp(1rem, 5vw, 3rem) auto; padding: clamp(1.1rem, 5vw, 2.2rem); border: 1px solid #d2e0ed; border-radius: 1rem; background: #fff; }
h1, h2 { line-height: 1.2; }
h1 { font-size: clamp(1.65rem, 6vw, 2.15rem); margin: 0 0 .8rem; }
h2 { font-size: 1.22rem; margin: 1.6rem 0 1rem; }
p { margin: .8rem 0 1rem; }
#error { padding: .7rem 1rem; border-left: 3px solid #b63834; color: #7b2024; background: #fff3f2; }
label[for] { display: block; font-weight: 600; margin-bottom: .3rem; }
button, select, .file-button { font: inherit; min-height: 2.8rem; border-radius: .48rem; }
select { width: 100%; padding: .5rem; border: 1px solid #9eb3cc; background: #fff; color: inherit; }
button, .file-button { cursor: pointer; padding: .55rem .95rem; font-weight: 600; }
.primary { border: 1px solid #1947a5; background: #2057ba; color: #fff; }
.secondary, .file-button { background: #f7faff; color: #194b9a; border: 1px solid #adc3e0; }
.quiet { border: 0; color: #345b87; background: transparent; text-decoration: underline; text-underline-offset: .18em; }
.primary:disabled, button:disabled { background: #edf1f5; color: #56677a; border-color: #d9e1e9; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.file-button { display: inline-flex; align-items: center; position: relative; }
.file-button input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
:focus-visible, .file-button:focus-within { outline: 3px solid #267bbd; outline-offset: 3px; }
figure { margin: 1rem 0; }
figure img { display: block; max-height: 9rem; max-width: 100%; border-radius: .35rem; }
figcaption { font-size: .88rem; margin-top: .3rem; }
.challenge { background: #edf4ff; padding: .8rem 1rem; border-left: 3px solid #3c72bb; font-weight: 600; }
video { display: block; background: #172637; border-radius: .6rem; width: min(100%, 26rem); max-height: 19rem; }
.consent { display: flex; align-items: start; gap: .55rem; margin: 1.4rem 0; }
.consent input { margin: .3rem 0; width: 1.05rem; height: 1.05rem; flex: none; }
.cancel { display: block; padding-left: 0; margin-top: 1.2rem; }
