
:root{
  --hv-green:#1fa971;
  --hv-border:rgba(2,6,23,.12);
  --hv-muted:rgba(2,6,23,.65);
}
.hv-wrap{max-width:980px;margin:18px auto;}
.hv-card{background:#fff;border:1px solid var(--hv-border);border-radius:18px;box-shadow:0 20px 60px rgba(2,6,23,.08);overflow:hidden}
.hv-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 16px 10px;background:linear-gradient(0deg,#fff, #f8fafc)}
.hv-title{font-size:18px;font-weight:800}
.hv-sub{font-size:13px;color:var(--hv-muted);margin-top:2px}
.hv-dots{display:flex;gap:6px}
.hv-dot{width:10px;height:10px;border-radius:999px;background:rgba(2,6,23,.12)}
.hv-dot.active{background:var(--hv-green)}
.hv-step{padding:14px 16px}
.hv-step[hidden]{display:none !important;}
.hv-step h3{margin:0 0 10px;font-size:16px}
.hv-grid{display:grid;gap:12px}
.hv-two{grid-template-columns:1fr 1fr}
@media (max-width:680px){.hv-two{grid-template-columns:1fr}}
label{font-size:12px;font-weight:700;color:rgba(2,6,23,.8)}
input,select{width:100%;padding:10px 12px;border:1px solid rgba(2,6,23,.16);border-radius:12px;font-size:14px;outline:none}
input:focus,select:focus{border-color:var(--hv-green);box-shadow:0 0 0 4px rgba(31,169,113,.15)}
.hv-mt{margin-top:10px}
.hv-hr{height:1px;background:rgba(2,6,23,.08);margin:12px 0}
.hv-check{display:flex;gap:10px;align-items:flex-start;margin-top:10px;font-size:13px;color:rgba(2,6,23,.8)}
.hv-check input{width:auto;margin-top:2px}
.hv-picks{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}
.hv-pick{border:1px solid rgba(2,6,23,.14);background:#fff;border-radius:14px;padding:10px 14px;font-weight:800;cursor:pointer}
.hv-pick.active{border-color:var(--hv-green);box-shadow:0 0 0 4px rgba(31,169,113,.15)}
.hv-checkgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hv-checkgrid label{display:flex;gap:8px;align-items:center;font-weight:600;font-size:13px;color:rgba(2,6,23,.8)}
.hv-checkgrid input{width:auto}
.hv-box{border:1px solid rgba(2,6,23,.12);border-radius:16px;padding:12px;background:#fff}
.hv-muted{color:var(--hv-muted)}
.hv-small{font-size:12px;color:var(--hv-muted);margin-top:6px}
.hv-err{display:none;margin-top:10px;color:#e11d48;font-size:13px;font-weight:700}
.hv-ok{display:none;margin-top:10px;color:#16a34a;font-size:13px;font-weight:800}
.hv-foot{display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap;padding:12px 16px;border-top:1px solid rgba(2,6,23,.08);background:#fff;position:sticky;bottom:0}
.hv-btn{border:1px solid rgba(2,6,23,.14);background:#fff;border-radius:14px;padding:10px 14px;font-weight:800;cursor:pointer}
.hv-btn:hover{border-color:rgba(2,6,23,.28)}
.hv-btn[disabled]{opacity:.6;cursor:not-allowed}
.hv-primary{background:var(--hv-green);color:#fff;border-color:var(--hv-green)}
.hv-primary:hover{filter:brightness(.98)}
.hv-summary{margin-top:10px}
.hv-sum-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media (max-width:860px){.hv-sum-grid{grid-template-columns:repeat(2,1fr)}}
.hv-k{font-size:11px;color:var(--hv-muted);font-weight:700}
.hv-v{font-size:14px;font-weight:900}
.hv-checkline{display:flex;gap:10px;align-items:flex-start;margin-top:8px;font-size:13px;color:rgba(2,6,23,.8)}
.hv-checkline input{width:auto;margin-top:2px}
.hv-signwrap{width:100%;border:1px dashed rgba(2,6,23,.25);border-radius:14px;background:#fff;overflow:hidden;margin-top:8px}
#hv-sign{width:100%;height:180px;display:block;touch-action:none}
.hv-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hv-modal{position:fixed;inset:0;z-index:9999}
.hv-modal-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.55)}
.hv-modal-card{position:relative;max-width:980px;margin:4vh auto;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(2,6,23,.25);border:1px solid rgba(2,6,23,.12);display:flex;flex-direction:column;max-height:92vh;overflow:hidden}
.hv-modal-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid rgba(2,6,23,.10)}
.hv-modal-body{padding:14px;overflow:auto}
.hv-modal-foot{display:flex;gap:10px;justify-content:flex-end;align-items:center;padding:12px 14px;border-top:1px solid rgba(2,6,23,.10);flex-wrap:wrap}
.hv-x{padding:8px 10px;border-radius:12px}
