:root {
  --ink:#112c58;
  --blue:#1c66bc;
  --light:#f3f7fc;
  --line:#d8e1ee;
  --orange:#f3ad3d
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--light);
  color:#192536;
  font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif
}
.container {
  width:min(100% - 32px,1050px);
  margin:auto
}
.hero {
  background:linear-gradient(125deg,#0b2c58,#14af29);
  color:#fff;
  padding:56px 0 45px
}
.eyebrow {
  margin:0;
  color:#f5ba57;
  font-weight:800;
  letter-spacing:.12em;
  font-size:.77rem
}
.hero h1 {
  margin:8px 0;
  font-size:clamp(1.8rem,5vw,3.2rem);
  line-height:1.1
}
.hero h1 span {
  display:block;
  color:#afdcff
}
.hero-copy {
  margin:0;
  max-width:620px;
  color:#e6f0fd
}
.page {
  padding:32px 0 55px
}
.notice {
  background:#fff7e5;
  border-left:5px solid var(--orange);
  padding:15px 18px;
  border-radius:7px;
  margin-bottom:24px
}
.form-section {
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  padding:28px;
  margin:18px 0;
  box-shadow:0 4px 14px #17335b0a
}
.section-heading {
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:22px
}
.section-heading span {
  display:grid;
  place-items:center;
  background:var(--blue);
  color:#fff;
  border-radius:50%;
  width:35px;
  height:35px;
  font-weight:800
}
.section-heading h2 {
  margin:0;
  color:var(--ink);
  font-size:1.25rem
}
.section-heading p {
  margin:0;
  color:#607087;
  font-size:.9rem
}
.grid {
  display:grid;
  gap:17px
}
.two {
  grid-template-columns:repeat(2,1fr)
}
.three {
  grid-template-columns:repeat(3,1fr);
  margin-top:17px
}
.compact {
  align-content:start
}
.wide-2 {
  grid-column:span 2
}
label {
  display:grid;
  gap:7px;
  font-weight:650;
  color:#263954;
  margin-top:16px
}
label:first-child {
  margin-top:0
}
b {
  color:#ae3a2f
}
input,select,textarea {
  font:inherit;
  border:1px solid #bdc9d8;
  border-radius:7px;
  padding:11px;
  width:100%;
  color:#17263d;
  background:#fff
}
textarea {
  resize:vertical
}
.upload-help {
  font-size:.78rem;
  color:#68778c;
  font-weight:400
}
.photo-field {
  border:1px dashed #99b6d9;
  border-radius:10px;
  padding:18px;
  min-height:185px;
  align-content:start
}
.photo-field img {
  width:120px;
  height:145px;
  object-fit:cover;
  border-radius:6px;
  margin-top:5px
}
.choice-set {
  border:0;
  padding:0;
  margin:0
}
.choice-set legend {
  font-weight:650;
  color:#263954
}
.radio {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:14px 25px 5px 0
}
.radio input,.accept input {
  width:auto;
  accent-color:var(--blue)
}
.add-guardian {
  background:#eef5ff;
  color:#1557a6;
  border:1px solid #9bc1ef;
  border-radius:7px;
  padding:10px 14px;
  font:inherit;
  font-weight:700;
  margin-top:18px;
  cursor:pointer
}
.guardian {
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-top:18px
}
.guardian-head {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.guardian-head h3 {
  margin:0;
  color:var(--ink);
  font-size:1rem
}
.remove {
  color:#a42e2e;
  background:none;
  border:0;
  text-decoration:underline;
  cursor:pointer;
  font:inherit
}
.contract-box {
  max-height:225px;
  overflow:auto;
  border:1px solid var(--line);
  background:#fbfdff;
  border-radius:8px;
  padding:17px;
  color:#41526a
}
.contract-box h3 {
  color:var(--ink);
  margin:0 0 8px
}
.scroll-note {
  font-style:italic;
  font-size:.86rem
}
.accept {
  display:flex;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:9px;
  margin-top:17px;
  color:#1c2f4b
}
.accept input:disabled {
  opacity:.45
}
.form-actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-top:26px
}
.form-actions p {
  margin:0;
  color:#aa332e;
  font-weight:650
}
.submit,.receipt-actions button {
  background:var(--blue);
  color:#fff;
  border:0;
  border-radius:8px;
  padding:13px 19px;
  font:inherit;
  font-weight:750;
  cursor:pointer
}
.submit:disabled {
  opacity:.5;
  cursor:not-allowed
}
.receipt-wrap {
  width:min(100% - 32px,900px);
  margin:40px auto
}
.receipt-actions {
  display:flex;
  gap:12px;
  margin-bottom:18px
}
.receipt-actions .secondary {
  background:#eef5ff;
  color:#1557a6;
  border:1px solid #9bc1ef
}
.receipt {
  background:#fff;
  border:1px solid var(--line);
  padding:42px;
  color:#17263d
}
.receipt header {
  display:flex;
  justify-content:space-between;
  gap:25px;
  border-bottom:3px solid var(--blue);
  padding-bottom:18px
}
.receipt h2 {
  color:var(--ink);
  margin:3px 0;
  font-size:1.75rem
}
.receipt header p:not(.eyebrow) {
  margin:0;
  color:#53647c;
  font-weight:700
}
.receipt header img {
  width:120px;
  height:145px;
  object-fit:cover;
  border-radius:5px;
  border:1px solid var(--line)
}
.receipt-number {
  background:#eef5ff;
  padding:9px 12px;
  margin:18px 0
}
.receipt-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0 22px
}
.receipt h3 {
  grid-column:1/-1;
  color:var(--ink);
  border-bottom:1px solid var(--line);
  padding-bottom:7px;
  margin:24px 0 10px
}
.receipt dl {
  margin:0
}
.receipt dt {
  font-size:.78rem;
  text-transform:uppercase;
  color:#64748b;
  font-weight:700
}
.receipt dd {
  margin:1px 0 13px;
  font-weight:650
}
.receipt footer {
  border-top:1px solid var(--line);
  margin-top:22px;
  padding-top:12px;
  color:#64748b;
  font-size:.85rem
}
@media(max-width:700px) {
  .two,.three,.receipt-grid {
    grid-template-columns:1fr
  }
  .wide-2 {
    grid-column:auto
  }
  .form-section {
    padding:20px
  }
  .hero {
    padding:40px 0
  }
  .form-actions {
    align-items:stretch;
    flex-direction:column
  }
  .submit {
    width:100%
  }
  .receipt {
    padding:23px
  }
  .receipt header {
    align-items:flex-start
  }
  .receipt header img {
    width:85px;
    height:105px
  }
}
@media print {
  body {
    background:#fff
  }
  .hero,.page,.no-print {
    display:none!important
  }
  .receipt-wrap {
    display:block!important;
    width:100%;
    margin:0
  }
  .receipt {
    border:0;
    padding:0
  }
  .receipt h3 {
    margin-top:18px
  }
}
