:root{
  --bg:#f4fbf7;
  --card:#ffffff;
  --ink:#0c1a13;
  --muted:#6a7a72;
  --stroke:rgba(12,26,19,.12);
  --shadow:0 22px 60px rgba(0,0,0,.08);

  --green:#169b55;
  --green2:#0f8f4b;
  --greenSoft:rgba(22,155,85,.12);

  --chip:#e8f4ee;
  --chipInk:#102016;
  --chipStroke:rgba(12,26,19,.10);

  --btnStroke:rgba(12,26,19,.10);
  --danger:#d23b3b;
  --dangerSoft:rgba(210,59,59,.10);
}

*{ box-sizing:border-box; }

html,body{
  height:100%;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background: radial-gradient(1100px 700px at 20% 10%, #eafff3 0%, var(--bg) 55%, #f7fff9 100%);
}

.page{
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:24px 16px 10px;
}

.card{
  width:min(980px, 100%);
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:22px 22px 18px;
}

.topRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.brandTitle{
  margin:0;
  font-size:34px;
  letter-spacing:-.02em;
  line-height:1.05;
}

.brandSub{
  margin:0;
  font-size:14px;
  color:var(--muted);
}

.quickLine{
  margin:0;
  font-size:14px;
  color:var(--muted);
}

.progressWrap{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  padding-top:4px;
  min-width:210px;
}

.progressDots{
  display:flex;
  gap:6px;
}
.dot{
  width:9px; height:9px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#eef2ef;
}
.dot.on{
  background:var(--green);
  border-color:rgba(22,155,85,.35);
}

.progressBar{
  width:210px;
  height:10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#f1f5f2;
  overflow:hidden;
}
.progressFill{
  height:100%;
  width:0%;
  background:linear-gradient(180deg, var(--green) 0%, var(--green2) 100%);
  border-radius:999px;
}

.hr{
  height:1px;
  background:var(--stroke);
  margin:16px 0;
}

.sectionTitle{
  font-weight:800;
  margin:0 0 8px;
  font-size:18px;
}

.helpText{
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  margin:0 0 12px;
}

.label{
  font-size:12px;
  color:var(--muted);
  margin:0 0 6px;
}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media (max-width:760px){
  .grid2{ grid-template-columns:1fr; }
  .brandTitle{ font-size:28px; }
  .progressWrap{ min-width:0; }
  .progressBar{ width:160px; }
}

.input, .textarea, .select{
  width:100%;
  border:1px solid var(--stroke);
  border-radius:12px;
  padding:12px 12px;
  font-size:15px;
  outline:none;
  background:#fff;
}
.textarea{ min-height:92px; resize:vertical; }

.smallBox{
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:12px;
  background:#fff;
}

.smallBox .miniTitle{
  font-size:11px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 6px;
  font-weight:800;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.chip{
  border:1px solid var(--chipStroke);
  background:var(--chip);
  color:var(--chipInk);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
  user-select:none;
}

.chip.selected{
  background:rgba(22,155,85,.18);
  border-color:rgba(22,155,85,.35);
  box-shadow:0 8px 20px rgba(22,155,85,.14);
}

.chip.ghost{
  background:#fff;
}

.chip.danger{
  background:var(--dangerSoft);
  border-color:rgba(210,59,59,.25);
  color:var(--danger);
}

.boxGrid{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  gap:10px;
  align-items:start;
  margin-top:10px;
}
@media (max-width:860px){
  .boxGrid{
    grid-template-columns:1fr;
  }
  .op{ display:none; }
}

.op{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:rgba(12,26,19,.40);
  height:100%;
  padding-top:18px;
}

.boxHead{
  background:#f3f6f4;
  border:1px solid var(--stroke);
  border-radius:12px 12px 0 0;
  padding:10px 10px;
  font-weight:800;
  font-size:13px;
}

.boxBody{
  border:1px solid var(--stroke);
  border-top:none;
  border-radius:0 0 12px 12px;
  padding:10px 10px;
  font-size:12.5px;
  color:var(--muted);
  line-height:1.45;
  background:#fff;
}

.qaCard{
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:12px;
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:10px;
}

.qaTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.qaWord{
  font-weight:900;
}
.qaQ{
  font-size:13px;
  color:var(--muted);
  line-height:1.45;
  margin-top:4px;
}

.btnRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  border:1px solid var(--btnStroke);
  background:#fff;
  color:var(--ink);
  padding:10px 18px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}
.btn:disabled{ opacity:.45; cursor:not-allowed; }

.btnPrimary{
  border:none;
  background:linear-gradient(180deg, var(--green) 0%, var(--green2) 100%);
  color:#fff;
  padding:12px 22px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 16px 35px rgba(22,155,85,.25);
  cursor:pointer;
}

.navRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:16px;
}

.footer{
  width:min(980px, 100%);
  padding:10px 2px 0;
  color:rgba(12,26,19,.55);
  font-size:12px;
  text-align:center;
}
.footerLink{
  color:inherit;
  text-decoration:none;
  border-bottom:1px dotted rgba(12,26,19,.35);
}
.footerLink:hover{ border-bottom-style:solid; }
.footerSep{ margin:0 6px; opacity:.6; }

/* -------- Mobile fix: prevent progress bar overlapping title -------- */
@media (max-width: 480px) {

  .topRow {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .progressWrap {
    width: 100%;
  }

  .brandTitle {
    font-size: 28px;
    line-height: 1.2;
  }
  .progressBar {
  display: none;
}


  .progressDots {
    margin-top: 6px;
  }
}
