*{box-sizing:border-box}html,body{margin:0}body,button,input{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button{cursor:pointer}[hidden]{display:none!important}p{margin:0}
.screen {
  --green: #075537;
  --muted: #5b6f70;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  color: #193a33;
  background: radial-gradient(ellipse at 88% 10%, #dff8ed 0, transparent 44%), radial-gradient(ellipse at 12% 84%, #e4f6fb 0, transparent 46%), #f8fcfc;
  font-size: 16px;
}
.skip { position: absolute; z-index: 10; left: 16px; top: 12px; padding: 12px 18px; border-radius: 10px; transform: translateY(-160%); color: var(--green); background: white; }
.skip:focus { transform: none; }
.stage { position: relative; display: grid; flex: 1; place-items: center; width: 100%; padding: 28px 20px 16px; }
.atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.atmosphere span { position: absolute; width: 130%; height: 62%; left: -65%; top: 14%; border: 1px solid #65bdc826; border-radius: 50%; transform: rotate(-17deg); }
.atmosphere span:nth-child(2) { left: 45%; top: 30%; width: 110%; height: 66%; border-color: #73cdbb24; }
.content { position: relative; width: min(100%, 440px); padding: 28px 32px 20px; border: 1px solid #bfe9df; border-radius: 24px; background: linear-gradient(145deg, #fffffff2, #ffffffcc); box-shadow: 0 18px 56px #135e4d0c, 0 3px 12px #135e4d05, inset 0 1px white; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.inner { width: 100%; }
.brands { --brand-height: 68px; display: flex; justify-content: center; align-items: center; gap: 20px; min-height: var(--brand-height); }
.schoolLogo { display: block; flex: none; width: auto; height: var(--brand-height); aspect-ratio: 640 / 235; object-fit: contain; mix-blend-mode: multiply; }
.brandDivider { flex: none; width: 1px; height: calc(var(--brand-height) * .65); background: #cfdfd8; }
.ministryLogo { display: block; flex: none; width: auto; height: var(--brand-height); aspect-ratio: 540 / 518; }
.content h1 { margin: 19px 0 0; color: #064b36; text-align: center; font: 800 38px/1.12 'Instrument Sans', 'DM Sans', sans-serif; letter-spacing: -.045em; }
.description { margin-top: 7px; color: var(--muted); text-align: center; font-size: 15px; line-height: 1.5; }
.destination { display: flex; align-items: center; justify-content: center; gap: 5px; width: fit-content; max-width: 100%; min-height: 30px; margin: 16px auto 0; padding: 5px 15px; border: 1px solid #d4efe1; border-radius: 999px; color: #1a6849; background: #e6f8ed; font-size: 14px; line-height: 1.4; }
.destination strong { font-weight: 750; }
.form { display: grid; gap: 15px; margin-top: 23px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { color: #23473b; font-size: 14px; font-weight: 700; }
.inputWrap { position: relative; min-width: 0; }
.fieldIcon { position: absolute; left: 13px; top: 50%; translate: 0 -50%; color: #738583; pointer-events: none; }
.field input { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b5cdcc; border-radius: 9px; color: #1b3633; background: #ffffffc9; font-size: 16px; transition: border-color .18s, box-shadow .18s; }
.field input::placeholder { color: #738080; opacity: 1; }
.field input:disabled { color: #738080; -webkit-text-fill-color: #738080; opacity: 1; }
.inputWrap input { padding-inline-start: 41px; }
.inputWrap .password { padding-inline-end: 48px; }
.field input:focus-visible, .toggle:focus-visible, .submit:focus-visible, .textButton:focus-visible, .support button:focus-visible { outline: 3px solid #0c957c; outline-offset: 3px; }
.field input:focus { border-color: #159d80; background: white; box-shadow: 0 0 0 4px #21c5a110; }
.toggle { position: absolute; inset: 1px 1px 1px auto; display: grid; place-items: center; width: 44px; border: 0; border-radius: 8px; background: transparent; color: #687c78; }
.toggle:hover { background: #edf8f4; }
.submit { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 10px; margin-top: 3px; padding: 10px 16px; border: 1px solid #0b9273; border-radius: 9px; background: linear-gradient(105deg, #159447, #078e76 65%, #0097a2); color: white; font-size: 17px; font-weight: 750; box-shadow: 0 5px 14px #008b6a10, inset 0 1px #ffffff30; transition: filter .2s; }
.submit:not(:disabled):hover { filter: brightness(1.06); }
.submit:disabled { opacity: .72; }
.accountActions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: -5px; }
.textButton { min-height: 36px; border: 0; border-radius: 5px; padding: 6px 0; text-align: left; color: #285c48; background: transparent; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.textButton:hover { color: #008d75; }
.support { margin-top: 9px; text-align: center; }
.support button { min-height: 36px; padding: 6px; border: 0; border-radius: 5px; background: transparent; color: #48675c; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.hint { color: var(--muted); font-size: 14px; }
.help, .preview { margin-top: 12px; padding: 12px; border: 1px solid #c2e2d7; border-radius: 9px; color: #3e6258; background: #eefbf6; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.preview a { color: #075b3d; font-weight: 700; }
.error { display: flex; align-items: flex-start; gap: 8px; padding: 11px 12px; border: 1px solid #edbec6; border-radius: 9px; background: #fff4f4; color: #8c2936; font-size: 14px; }
.error svg { flex: none; margin-top: 2px; }
.recovery { display: grid; gap: 8px; }
.spinner { animation: spin .8s linear infinite; }
.footer { position: relative; padding: 0 16px max(18px, env(safe-area-inset-bottom)); color: #71817d; text-align: center; font-size: 14px; line-height: 1.5; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
  .stage { padding: 20px 16px 14px; }
  .content { padding: 24px 24px 16px; border-radius: 21px; }
  .brands { --brand-height: 60px; gap: 16px; }
  .content h1 { margin-top: 17px; font-size: 34px; }
  .form { margin-top: 21px; }
  .footer { font-size: 14px; }
}
@media (max-width: 360px) {
  .content { padding-inline: 20px; }
  .brands { --brand-height: 52px; gap: 14px; }
}
@media (max-height: 700px) and (min-width: 481px) {
  .stage { padding-block: 18px 12px; }
  .content { padding-block: 22px 14px; }
  .brands { --brand-height: 60px; }
  .content h1 { margin-top: 14px; font-size: 34px; }
  .destination { margin-top: 12px; }
  .form { margin-top: 18px; gap: 13px; }
  .support { margin-top: 4px; }
  .footer { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } .field input, .submit { transition: none; } }

.inputWrap input{padding-inline-start:12px}.stage{padding-top:max(24px,env(safe-area-inset-top))}.content{box-sizing:border-box;width:min(100%,480px)}.description{margin-top:9px}.error{margin:0}.field[hidden]{display:none}@media(max-width:480px){.brands{--brand-height:58px;gap:14px}.content{padding:24px 22px 18px}.stage{padding-inline:16px}.footer{font-size:12px}}@media(max-width:360px){.brands{--brand-height:50px;gap:12px}.content{padding-inline:18px}}
