.hpr-trigger{margin-left:8px!important;white-space:nowrap}.hpr-overlay{position:fixed;inset:0;z-index:500;background:rgba(15,23,42,.76);display:grid;place-items:center;padding:16px}.hpr-modal{width:min(1000px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.35);font-family:inherit;color:#172033}.hpr-header{display:flex;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid #e2e8f0}.hpr-header small{display:block;color:#2563eb;font-size:.68rem;font-weight:800;letter-spacing:.1em}.hpr-header h2{margin:4px 0 0;font-size:1.25rem}.hpr-header p{margin:5px 0 0;color:#64748b;font-size:.82rem}.hpr-close{width:36px;height:36px;border:0;border-radius:50%;background:#f1f5f9;color:#475569;font-size:1.5rem;cursor:pointer}.hpr-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:18px;padding:20px}.hpr-stage{position:relative;display:grid;place-items:center;min-height:360px;overflow:hidden;border-radius:14px;background:#0b1220}.hpr-stage video{display:none;width:100%;height:auto;max-height:66vh;object-fit:contain}.hpr-stage video.active{display:block}.hpr-stage canvas{display:none}.hpr-placeholder{display:flex;flex-direction:column;align-items:center;gap:6px;color:#cbd5e1}.hpr-placeholder b{font-size:2.3rem}.hpr-placeholder span{color:#94a3b8;font-size:.8rem}.hpr-guide{position:absolute;inset:0;pointer-events:none}.hpr-square{position:absolute;left:50%;top:50%;width:min(88%,65vh);aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.4);border-radius:10px;box-shadow:0 0 0 999px rgba(0,0,0,.08)}.hpr-oval{position:absolute;left:50%;top:43%;width:32%;height:56%;transform:translate(-50%,-50%);border:3px dashed rgba(74,222,128,.9);border-radius:50%/55%}.hpr-vline,.hpr-hline{position:absolute;background:rgba(255,255,255,.3)}.hpr-vline{left:50%;top:0;width:1px;height:100%}.hpr-hline{left:0;top:43%;width:100%;height:1px}.hpr-face{position:absolute;border:2px solid #60a5fa;border-radius:9px;box-shadow:0 0 16px rgba(96,165,250,.6);transition:all .09s linear}.hpr-face.ready{border-color:#4ade80;box-shadow:0 0 20px rgba(74,222,128,.7)}.hpr-preview{display:block;max-width:100%;max-height:66vh;object-fit:contain}.hpr-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:13px}.hpr-btn{min-height:40px;border:0;border-radius:9px;padding:9px 14px;font-weight:700;cursor:pointer}.hpr-btn:disabled{opacity:.5;cursor:not-allowed}.hpr-primary{background:#1d4ed8;color:#fff}.hpr-ghost{border:1px solid #cbd5e1;background:#f8fafc;color:#334155}.hpr-meta{text-align:center;margin-top:8px;color:#0369a1;font-size:.78rem;font-weight:700}.hpr-error{margin-top:9px;padding:9px 11px;border-radius:8px;background:#fef2f2;color:#991b1b;font-size:.8rem;text-align:center}.hpr-guidance{display:grid;grid-template-columns:44px 1fr;gap:11px;padding:14px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}.hpr-guidance.warning{background:#fff7ed;border-color:#fed7aa}.hpr-guidance.ready{background:#ecfdf5;border-color:#86efac}.hpr-guidance.error{background:#fef2f2;border-color:#fecaca}.hpr-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e2e8f0;font-size:1.35rem;font-weight:900}.hpr-guidance.warning .hpr-icon{background:#ffedd5;color:#b45309}.hpr-guidance.ready .hpr-icon{background:#dcfce7;color:#15803d}.hpr-guidance.error .hpr-icon{background:#fee2e2;color:#b91c1c}.hpr-guidance small{display:block;font-size:.62rem;font-weight:850;letter-spacing:.08em;color:#64748b}.hpr-guidance h3{margin:4px 0 0;font-size:1rem}.hpr-guidance p{margin:5px 0 0;color:#64748b;font-size:.78rem;line-height:1.45}.hpr-checks{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.hpr-check{display:flex;justify-content:space-between;gap:6px;padding:8px 9px;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:.72rem}.hpr-check b{color:#94a3b8}.hpr-check.ok{background:#f0fdf4;border-color:#bbf7d0}.hpr-check.ok b{color:#15803d}.hpr-check.fail{background:#fff7ed;border-color:#fed7aa}.hpr-check.fail b{color:#b45309}.hpr-note{margin-top:12px;padding:11px;border-radius:9px;background:#f8fafc;color:#64748b;font-size:.75rem;line-height:1.5}@media(max-width:800px){.hpr-body{grid-template-columns:1fr}.hpr-stage{min-height:280px}}@media(max-width:480px){.hpr-overlay{padding:6px}.hpr-body{padding:12px}.hpr-header{padding:15px}.hpr-checks{grid-template-columns:1fr}}
