:root{--rg-blue:#0077bc;--rg-red:#ff0000;--rg-ink:#1f2937;--rg-muted:#6b7280;--rg-border:#e5e7eb;--rg-bg:#f8fafc}.rha-form-header{max-width:960px;margin:10px auto 8px;padding:0 16px;display:nowrap;align-items:center;gap:16px}.rha-logo{max-width:130px;height:auto;display:block}.rha-title{font:700 28px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";color:var(--rg-blue);margin:0}.rha-progress{max-width:960px;margin:6px auto 18px;height:8px;background:var(--rg-border);border-radius:999px;overflow:hidden}.rha-progress .bar{height:100%;width:0;background:var(--rg-red);border-radius:999px;transition:width .25s ease}.rha-form-wrap{max-width:960px;margin:0 auto 40px;padding:0 16px}.rha-step{background:#fff;border:1px solid var(--rg-border);border-radius:16px;padding:16px 16px 12px;margin:16px 0;display:none}.rha-step.active{display:block}.rha-step h2{font:700 22px/1.25 system-ui,-apple-system,Segoe UI,Roboto,Arial;color:#111827;margin:0 0 8px}.subline{height:3px;width:80px;background:var(--rg-red);border-radius:999px;margin:4px 0 14px}.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px 16px}.grid>label{grid-column:span 6}.grid>label input,.grid>label select,.grid>label textarea{width:100%;margin-top:6px;padding:12px;border:1px solid var(--rg-border);border-radius:12px;background:#f9fafb;font-size:16px;line-height:1.35}.checks{margin:6px 0;border:1px solid var(--rg-border);border-radius:12px;padding:12px;background:#fff}.checks legend{font-weight:700;color:#374151;padding:0 6px}.checks .checks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}@media (max-width:720px){.grid>label{grid-column:span 12}.checks .checks-grid{grid-template-columns:1fr}}.rha-form-wrap input[type="checkbox"]{accent-color:var(--rg-red)}.rha-form-wrap input[type="radio"]{accent-color:var(--rg-red)}.sig-wrap{margin:12px 0}#signature-pad{border:1px solid var(--rg-border);border-radius:12px;background:#fff;display:block;width:100%;height:auto}.rha-actions{display:flex;justify-content:space-between;gap:10px;margin-top:4px}.rha-btn{border:none;border-radius:12px;padding:12px 18px;font-weight:700;cursor:pointer}.rha-btn.primary{background:var(--rg-blue);color:#fff}.rha-btn.secondary{background:#eef2f7;color:#0f172a}.rha-success{max-width:960px;margin:12px auto;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;border-radius:12px;padding:12px 14px}.muted{color:var(--rg-muted);font-size:14px}.sig-wrap{position:relative;margin:12px 0}#signature-pad{border:1px solid var(--rg-border);border-radius:12px;background:#fff;display:block;width:100%;max-width:100%;height:auto}.signature-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;text-align:center;font-size:12px;line-height:1.3;color:#777;pointer-events:none}.sig-wrap{position:relative;margin:12px 0}#signature-pad{border:1px solid var(--rg-border);border-radius:12px;background:#fff;display:block;width:100%;max-width:100%;height:auto}.signature-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;text-align:center;font-size:12px;line-height:1.3;color:#777;pointer-events:none;opacity:.8;transition:opacity 0.2s ease}.signature-hint[style*="display: none"]{opacity:0}.rha-success-actions{display:flex;gap:10px;margin-top:12px}.rha-success-actions .rha-btn{flex:1;text-align:center}@media (max-width:600px){.rha-success-actions{flex-direction:column}.rha-success-actions .rha-btn{width:100%}}.rha-success-actions{display:flex;gap:10px;margin-top:12px}.rha-success-actions .rha-btn{flex:1;text-align:center;transition:all 0.25s ease}.rha-success-actions .rha-btn.primary:hover{background:#005a8f;transform:translateY(-2px);box-shadow:0 4px 8px rgb(0 0 0 / .15)}.rha-success-actions .rha-btn.secondary:hover{background:#d1d5db;transform:translateY(-2px);box-shadow:0 4px 8px rgb(0 0 0 / .12)}.rha-success-actions .rha-btn:active{transform:translateY(0);box-shadow:0 2px 4px rgb(0 0 0 / .1)}@media (max-width:600px){.rha-success-actions{flex-direction:column}.rha-success-actions .rha-btn{width:100%}}.rha-cta-row{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}.rha-cta-row .rha-btn{display:inline-block;padding:12px 20px;font-size:16px;font-weight:600;border-radius:8px;text-decoration:none;text-align:center;transition:background 0.25s ease,color 0.25s ease}.rha-cta-row .rha-btn.primary{background:#0077bc;color:#fff}.rha-cta-row .rha-btn.primary:hover{background:#005a8f}.rha-cta-row .rha-btn.secondary{background:#f3f4f6;color:#111827}.rha-cta-row .rha-btn.secondary:hover{background:#e5e7eb}@media (max-width:600px){.rha-cta-row{flex-direction:column}.rha-cta-row .rha-btn{width:100%}}.rha-cta-row .rha-btn.primary{background:#0077bc;color:#fff!important}.rha-cta-row .rha-btn.primary:hover{background:#005a8f;color:#fff!important}.rha-cta-row .rha-btn.secondary{background:#fff;color:#0077bc;border:2px solid #cbd5e1;font-weight:600}.rha-cta-row .rha-btn.secondary:hover{border-color:#0077bc;background:#f1f5f9;color:#005a8f}.req{color:#e30613;margin-left:4px;font-weight:700}.rha-form-wrap legend .req{margin-left:4px}fieldset.required.has-error{outline:2px solid #e30613;border-radius:6px;padding:8px}fieldset.required .error-msg{font-size:13px;color:#e30613;margin-top:4px;display:none}fieldset.required.has-error .error-msg{display:block}button.loading{opacity:.7;cursor:not-allowed}.rha-error-summary{border:2px solid #e30613;background:#fde8e8;color:#991b1b;padding:12px 16px;margin:16px 0;border-radius:6px;font-size:15px;line-height:1.4}.rha-error-summary h3{margin:0 0 8px;font-size:16px;font-weight:600;color:#991b1b}.rha-error-summary ul{margin:0;padding-left:20px}.rha-error-summary li{margin:4px 0}