<style>
  :root{
    --primary:#00aaff;
    --done:#2e7d32;
    --muted:#999;
    --line:#e2e8f0;
  }
  body{font-family: Arial, sans-serif; background:#fff; margin:20px;}
  .wrap{max-width:860px;margin:0 auto;}
  /* Stepper */
  .stepper{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}
  .step-chip{
    flex:1 1 140px; text-align:center; padding:12px 10px; border-bottom:3px solid var(--line);
    color:#666; font-weight:600; user-select:none; transition:.2s;
    cursor:not-allowed;
    border-radius:6px 6px 0 0;
    background: #fafafa;
  }
  .step-chip.active{color:var(--primary); border-color:var(--primary); cursor:pointer; background:#f5fbff;}
  .step-chip.completed{color:var(--done); border-color:var(--done); cursor:pointer; background:#f5fff7;}
  .step-chip .num{display:inline-block; min-width:22px; padding:2px 8px; border-radius:999px; background:#eef6ff; margin-right:6px;}
  .step-chip.completed .num{background:#e7f6ea;}
  /* Steps */
  .card{border:1px solid #e5e7eb; border-radius:10px; padding:20px;}
  .form-step{display:none;}
  .form-step.active{display:block;}
  .upload-box{
    border:2px dashed #cbd5e1; padding:26px; text-align:center; border-radius:12px; background:#fbfdff;
  }
  .upload-hint{font-size:13px;color:#666;margin-top:6px}
  .success{color:var(--done); font-weight:700; margin-top:10px; display:none;}
  .error{color:#b00020; font-weight:600; margin-top:10px; display:none;}
  .hidden{display:none !important;}
  .btn{
    background:var(--primary); color:#fff; border:none; padding:10px 18px; cursor:pointer; border-radius:8px;
    font-weight:600; transition:.15s;
  }
  .btn:disabled{background:#cbd5e1; cursor:not-allowed;}
  .btn-ghost{background:#eef2f7; color:#222;}
  .btn + .btn{margin-left:8px;}
  .row{display:flex; gap:14px; flex-wrap:wrap;}
  .col{flex:1 1 260px;}
  input[type="text"], input[type="date"], select{
    width:100%; padding:10px 12px; border:1px solid #d1d5db; border-radius:8px; outline:none;
  }
  input[type="file"]{max-width:100%;}
  .list{margin:10px 0 0; padding-left:18px; text-align:left; max-height:140px; overflow:auto; font-size:13px;}
  .progress{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden;margin:14px 0 8px}
  .bar{height:100%;width:0;background:var(--primary);transition:width .35s;}
  .footer-actions{display:flex;justify-content:space-between;align-items:center;margin-top:18px;flex-wrap:wrap;gap:10px}
  .note{font-size:12px;color:#666}
</style>
