.submit-status{margin:12px 0 0;color:#0b2447;font-size:13px;font-weight:700;line-height:1.45;text-align:center}.submit-status[hidden]{display:none!important}button[type="submit"]:disabled{opacity:.7;cursor:wait}
:root{
  --ink:#0b2447;
  --muted:#68717d;
  --line:#e3e5e8;
  --paper:#fff;
  --canvas:#f7f4ed;
  --navy:#0b2447;
  --gold:#cfae78;
  --cream:#fef7e2;
  --safe-top:env(safe-area-inset-top,0px);
  --safe-right:env(safe-area-inset-right,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-left:env(safe-area-inset-left,0px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;
  min-height:100vh;
  min-height:100dvh;
  background:linear-gradient(135deg,#f7f4ed,#fff);
  color:var(--ink);
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  overflow-x:hidden;
}
.form-shell{
  width:100%;
  max-width:720px;
  margin:0 auto;
  padding:calc(34px + var(--safe-top)) calc(18px + var(--safe-right)) calc(60px + var(--safe-bottom)) calc(18px + var(--safe-left));
}
.form-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font:700 20px Georgia,serif;
  margin-bottom:22px;
}
.brand-mark{
  display:grid;
  place-items:center;
  width:38px;
  height:30px;
  border-radius:4px;
  background:var(--navy);
  color:var(--gold);
  font-size:12px;
  letter-spacing:.04em;
}
.form-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-top:4px solid var(--gold);
  border-radius:3px;
  padding:30px;
  box-shadow:0 18px 55px rgba(11,36,71,.09);
}
.eyebrow{
  color:var(--navy);
  font-weight:700;
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin:0 0 7px;
}
.form-intro h1{
  font:700 33px Georgia,serif;
  margin:0 0 9px;
  line-height:1.15;
}
.form-intro p:last-child{
  color:var(--muted);
  line-height:1.55;
  margin:0 0 26px;
}
fieldset{
  border:0;
  border-top:1px solid var(--line);
  padding:22px 0 4px;
  margin:0;
}
legend{
  font:700 17px Georgia,serif;
  padding:0 10px 0 0;
}
label{
  display:block;
  color:#353c4c;
  font-size:12px;
  font-weight:700;
  margin:15px 0;
}
.required-mark{color:#bc3f3f;font-weight:800;margin-left:2px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.question{margin:15px 0;color:#353c4c;font-size:12px;font-weight:700}
.radio-group{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:9px}
.radio-group label{display:flex;align-items:center;gap:7px;margin:0;font-weight:600;min-height:44px}
.radio-group input{width:18px;height:18px;margin:0}
input,select,textarea{
  display:block;
  width:100%;
  max-width:100%;
  margin-top:7px;
  border:1px solid #cfd4da;
  border-radius:3px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  padding:12px;
  min-height:48px;
}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid #ead8b6;border-color:var(--gold)}
input[type=file]{padding:12px;font-size:14px;min-height:52px}
.hint{float:right;color:#8b929b;font-weight:400}
.consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-weight:400;
  color:var(--muted);
  line-height:1.45;
  margin-top:18px;
}
.consent input{width:20px;height:20px;margin:2px 0;flex:none;min-height:0}
button{
  width:100%;
  border:0;
  border-radius:3px;
  background:var(--navy);
  color:white;
  font:700 15px inherit;
  padding:16px 14px;
  min-height:52px;
  cursor:pointer;
  margin-top:10px;
  -webkit-tap-highlight-color:transparent;
}
button:hover{background:#071a35}
button span{float:right;color:var(--gold)}
.privacy{text-align:center;color:#91a099;font-size:11px;margin:19px 0 0;line-height:1.45}
.login-error{
  margin:0 0 16px;
  padding:12px 14px;
  border:1px solid #efc1c1;
  border-radius:6px;
  background:#fff0ed;
  color:#9b3e30;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
}
.login-shell{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:460px;
}
.login-card .form-intro h1{font-size:28px}
.login-card form{margin-top:4px}

@media (max-width:720px){
  .form-shell{
    padding:calc(18px + var(--safe-top)) calc(12px + var(--safe-right)) calc(36px + var(--safe-bottom)) calc(12px + var(--safe-left));
  }
  .form-brand{margin-bottom:16px;font-size:18px}
  .form-card{
    padding:22px 16px;
    border-radius:10px;
    box-shadow:0 10px 28px rgba(11,36,71,.08);
  }
  .form-intro h1{font-size:26px}
  .form-intro p:last-child{margin-bottom:18px;font-size:14px}
  legend{font-size:16px}
  fieldset{padding-top:18px}
  .split{display:grid;grid-template-columns:1fr;gap:0}
  .hint{
    float:none;
    display:inline-block;
    margin-left:6px;
    font-size:11px;
  }
  .radio-group{gap:8px}
  .radio-group label{
    flex:1 1 calc(50% - 8px);
    justify-content:center;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fbfaf7;
  }
  input,select,textarea{font-size:16px;padding:14px 12px}
  input[type=file]{font-size:14px}
  button{font-size:15px;border-radius:8px}
  button span{float:none;margin-left:8px}
  .login-shell{justify-content:flex-start;padding-top:calc(28px + var(--safe-top))}
  .login-card .form-intro h1{font-size:24px}
}

@media (max-width:400px){
  .form-shell{padding-left:calc(10px + var(--safe-left));padding-right:calc(10px + var(--safe-right))}
  .form-card{padding:18px 12px}
  .form-intro h1{font-size:23px}
  .radio-group label{flex:1 1 100%}
}
