:root{
  --green:#35b44a;
  --green-dark:#23963a;
  --bg:#ffffff;
  --card:#ffffff;
  --text:#0b0f14;
  --muted: rgba(11,15,20,.60);
  --stroke: rgba(11,15,20,.10);
  --chip: rgba(11,15,20,.06);
  --radius: 18px;
  --shadow: 0 18px 48px rgba(11,15,20,.08);
  --maxw: 980px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; }

.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 16px 42px;
}

.panel{
  width:min(980px, 100%);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.progressBox{
  flex:1;
}

.progressLine{
  width:100%;
  height:10px;
  background: rgba(53,180,74,.15);
  border-radius:999px;
  overflow:hidden;
}

.progressFill{
  height:100%;
  width:10%;
  background: var(--green);
  border-radius:999px;
}

.progressMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:10px;
  font-size:18px;
}

.percent{
  color: var(--green);
  font-weight:700;
}

.time{
  color: var(--muted);
  font-weight:600;
}

.card{
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  padding: 34px 26px 26px;
}

.h1{
  font-size: 44px;
  line-height:1.05;
  text-align:center;
  margin: 10px 0 26px;
  letter-spacing:-.02em;
}

@media (max-width:560px){
  .h1{ font-size: 32px; }
  .card{ padding: 26px 16px 18px; }
  .progressMeta{ font-size:16px; }
}

.grid2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

@media (max-width:560px){
  .grid2{ grid-template-columns: 1fr; }
}

.choice{
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  font-size: 22px;
  line-height:1.15;
  text-align:center;
  cursor:pointer;
  transition: transform .05s ease, border-color .15s ease, background .15s ease;
  user-select:none;
}

.choice:hover{
  transform: translateY(-1px);
  border-color: rgba(53,180,74,.45);
}

.choice.isActive{
  border-color: rgba(53,180,74,.85);
  background: rgba(53,180,74,.07);
}

.form{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-top: 8px;
}

.field{
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px 16px 12px;
  background:#fff;
}

.label{
  display:block;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 8px;
}

.input{
  width:100%;
  border:none;
  outline:none;
  font-size: 26px;
  padding: 2px 0 6px;
  background:transparent;
  color: var(--text);
}

.field.isFocus{
  border-color: rgba(53,180,74,.85);
  box-shadow: 0 0 0 4px rgba(53,180,74,.12);
}

.actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top: 18px;
}

.btnBack{
  width: 68px;
  height: 62px;
  border-radius: 18px;
  border: 2px solid rgba(53,180,74,.35);
  background:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  color: var(--green-dark);
}

.btn{
  flex:1;
  height: 62px;
  border-radius: 18px;
  border:none;
  background: var(--green);
  color:#fff;
  font-size: 26px;
  font-weight: 800;
  cursor:pointer;
  transition: transform .05s ease, background .15s ease, opacity .15s ease;
}

.btn:hover{ background: var(--green-dark); }
.btn:active{ transform: translateY(1px); }

.btn[disabled]{
  opacity:.55;
  cursor:not-allowed;
}

.footerSafe{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color: var(--green-dark);
  margin-top: 18px;
  font-weight:700;
}

.badge{
  width:22px;height:22px;
  border-radius:8px;
  background: rgba(53,180,74,.16);
  border:1px solid rgba(53,180,74,.35);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.kicker{
  text-align:center;
  color: var(--muted);
  font-weight:700;
  margin-top:-6px;
  margin-bottom:18px;
}

.notice{
  border: 1px solid rgba(53,180,74,.35);
  background: rgba(53,180,74,.08);
  border-radius: 18px;
  padding: 16px;
  margin: 10px 0 18px;
}

.noticeTitle{
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px;
}

.noticeText{
  margin: 0;
  color: rgba(11,15,20,.78);
  font-size: 18px;
  line-height: 1.35;
}

.codeRow{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top: 14px;
}

.code{
  font-weight: 900;
  letter-spacing:.06em;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(53,180,74,.6);
}

.small{
  text-align:center;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 650;
}
.disclosure{
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(11,15,20,.03);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 10px 0 18px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(11,15,20,.78);
}
.disclosure b{ color: rgba(11,15,20,.92); }

.legalLinks{
  margin-top: 14px;
  text-align:center;
  font-size: 14px;
  color: rgba(11,15,20,.65);
}
.legalLinks a{
  color: rgba(11,15,20,.75);
  text-decoration: underline;
  margin: 0 8px;
}
