*{box-sizing:border-box}
:root{
  --navy:#123b78;
  --blue:#155eef;
  --blue2:#0f4dcc;
  --light:#eef5ff;
  --border:#d7e3f2;
  --text:#1b2b45;
  --muted:#667085;
  --green:#16803c;
  --red:#e5484d;
}
html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:#f3f7fc}
body{background:linear-gradient(180deg,#fff 0 168px,#f3f7fc 168px 100%)}
button,input{font:inherit}
.hidden{display:none!important}
.site-header{background:#fff;border-bottom:1px solid #d9e1ec}
.brand{text-align:center;padding:18px 16px 19px}
.brand-logo{width:92px;height:92px;object-fit:contain;display:block;margin:0 auto 4px}
.brand h1{margin:0;color:var(--navy);font-size:34px;line-height:1.1;font-weight:800;letter-spacing:-.5px}
.brand p{margin:7px 0 0;color:#53647d;font-size:17px}
.page{max-width:1240px;margin:0 auto;padding:26px 24px 36px}
.registration-shell{display:flex;justify-content:center}
.registration-card{width:min(720px,100%);background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 12px 30px rgba(16,24,40,.08);padding:30px 32px}
.welcome{text-align:center;margin-bottom:24px}
.eyebrow{display:inline-block;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.4px;margin-bottom:8px}
.welcome h2{margin:0;color:var(--navy);font-size:21px}
.welcome p{margin:10px auto 0;color:var(--muted);font-size:13px;line-height:1.5;max-width:600px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field label{display:block;font-size:13px;font-weight:700;margin:0 0 7px;color:#24324a}
.field input{width:100%;height:44px;border:1px solid #cbd8e8;border-radius:9px;padding:0 12px;outline:none;color:#182a45;background:#fff}
.field input:focus{border-color:#5b8def;box-shadow:0 0 0 3px #e7efff}
.privacy-note{display:flex;gap:9px;align-items:center;background:#f1f3f6;border-radius:9px;padding:11px 13px;margin-top:18px;color:#53647d;font-size:12px}
.check-icon{width:19px;height:19px;display:inline-grid;place-items:center;border-radius:50%;background:#dff7e8;color:#16803c;font-weight:800;flex:0 0 19px}
.btn{border:0;border-radius:11px;min-height:52px;padding:0 28px;font-weight:700;cursor:pointer;transition:.15s ease;display:inline-flex;align-items:center;justify-content:center;gap:9px}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn-primary,.btn-record{background:var(--blue);color:#fff}
.btn-primary:hover,.btn-record:hover:not(:disabled){background:var(--blue2)}
.btn-start{margin-top:14px;min-height:46px;font-size:13px}
.inline-error{margin-top:10px;color:#b42318;background:#fef3f2;padding:10px;border-radius:8px;font-size:13px}
.assessment-shell{width:100%}
.progress-card{width:min(550px,100%);margin:0 auto 18px;background:#fff;border:1px solid #e0e7f0;border-radius:15px;box-shadow:0 5px 16px rgba(16,24,40,.08);padding:12px 38px}
.progress-label{text-align:center;color:#2a3c58;font-weight:700;font-size:15px;margin-bottom:8px}
.progress-track{height:9px;background:#e4e8ee;border-radius:99px;overflow:hidden}
.progress-fill{height:100%;width:10%;background:linear-gradient(90deg,#155eef,#286ff2);border-radius:99px;transition:width .3s}
.question-card{background:#fff;border:1px solid #cfe0ff;border-radius:17px;box-shadow:0 7px 22px rgba(16,24,40,.08);padding:26px 26px 22px}
.question-heading{display:flex;gap:16px;align-items:flex-start}
.round-icon{width:56px;height:56px;border-radius:50%;background:#e8f0ff;display:grid;place-items:center;font-size:27px;flex:0 0 56px}
.question-type{color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.4px;margin:5px 0 8px}
.question-heading h2{margin:0;color:#1e3354;font-size:24px;line-height:1.35}
.instruction{margin:22px 0 18px;background:#eff5ff;border:1px solid #cfe0ff;border-radius:12px;padding:14px 18px;display:flex;align-items:center;gap:12px;color:#244b86;font-size:16px}
.instruction-icon{font-size:22px}
.recording-area{text-align:center;padding-top:2px}
.timer{font-size:43px;line-height:1;font-weight:800;color:var(--navy);margin:24px 0 13px}
.timer span{font-size:15px;vertical-align:middle}
.waveform{height:36px;display:flex;justify-content:center;align-items:center;gap:3px;margin:auto}
.waveform i{display:block;width:3px;border-radius:3px;background:#a9c6f6;height:8px;transition:height .12s}
.recording-label{margin:8px 0 18px;color:#667085;font-size:15px}
.controls{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}
.btn-record{min-width:260px}
.btn-stop{min-width:260px;background:#f3a3a6;color:#fff}
.btn-stop:not(:disabled):hover{background:#e9898e}
.btn-hear{min-width:260px;background:#eef5ff;color:#174ea6;border:1px solid #a9c7fb}
.btn-hear:hover{background:#e2edff}
.status{text-align:left;border-radius:10px;padding:12px 14px;margin-top:18px;font-size:14px;line-height:1.45}
.status-blue{background:#eaf7ef;color:#15733a}
.status-blue.loading{background:#eef5ff;color:#174ea6}
.status-red{background:#fff1f1;color:#b42318}
.status-green{background:#ecfdf3;color:#087443}
.answer-status{text-align:center}
.tips-card{margin-top:18px;background:#fff;border:1px solid var(--border);border-radius:16px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
.tip{padding:24px 20px;display:flex;gap:13px;align-items:center;border-right:1px solid #e0e6ee}
.tip:last-child{border-right:0}
.tip-icon{width:48px;height:48px;border-radius:50%;background:#e9f1ff;color:var(--navy);display:grid;place-items:center;font-size:20px;flex:0 0 48px}
.tip strong{display:block;color:#15386e;font-size:15px;margin-bottom:5px}
.tip span{display:block;color:#667085;font-size:13px;line-height:1.35}
.secure-footer{margin-top:18px;background:#eef5ff;color:#2864c5;border-radius:12px;padding:16px;text-align:center;font-size:14px}
.completion-shell{display:flex;justify-content:center;padding-top:20px}
.completion-card{width:min(650px,100%);background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 10px 28px rgba(16,24,40,.08);padding:42px 34px;text-align:center}
.completion-icon{width:66px;height:66px;border-radius:50%;background:#e3f8eb;color:#16803c;display:grid;place-items:center;font-size:34px;font-weight:800;margin:0 auto 16px}
.completion-card h2{margin:0;color:var(--navy);font-size:27px}
.completion-card p{color:#667085}
.completion-note{font-size:13px;line-height:1.5}
.reference{margin:16px 0;background:#eef5ff;color:#174ea6;border:1px solid #cfe0ff;border-radius:10px;padding:12px;font-weight:700}
@media(max-width:800px){
  .page{padding:18px 12px 28px}
  .brand h1{font-size:29px}
  .brand-logo{width:78px;height:78px}
  .form-grid{grid-template-columns:1fr}
  .question-heading h2{font-size:20px}
  .tips-card{grid-template-columns:1fr 1fr}
  .tip{border-right:1px solid #e0e6ee;border-bottom:1px solid #e0e6ee}
  .tip:nth-child(2){border-right:0}
  .tip:nth-child(3),.tip:nth-child(4){border-bottom:0}
}
@media(max-width:560px){
  .registration-card{padding:24px 18px}
  .question-card{padding:20px 16px}
  .progress-card{padding:12px 18px}
  .controls{gap:10px}
  .btn-record,.btn-stop,.btn-hear{min-width:100%;width:100%}
  .tips-card{grid-template-columns:1fr}
  .tip{border-right:0!important;border-bottom:1px solid #e0e6ee!important}
  .tip:last-child{border-bottom:0!important}
}
