.qhpc{--qhpc-accent:#4be2af;--qhpc-edge:#343f4d;--qhpc-muted:#c4cbd4;color:#f4f8fb;background:linear-gradient(135deg,#172027,#101419 72%);border:1px solid var(--qhpc-edge);border-radius:18px;padding:clamp(14px,2.8vw,28px);margin:10px 0 38px;font-size:15px;line-height:1.5;box-sizing:border-box}
.qhpc *{box-sizing:border-box}.qhpc [hidden]{display:none!important}
.qhpc button,.qhpc input{font:inherit}.qhpc button{min-height:46px;cursor:pointer;border-radius:10px}
.qhpc button:disabled{opacity:.55;cursor:not-allowed}
.qhpc button:focus-visible,.qhpc input:focus-visible{outline:3px solid var(--qhpc-accent);outline-offset:3px}
.qhpc-top{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.qhpc-brand{display:flex;flex-direction:column;gap:3px}.qhpc-kicker{color:var(--qhpc-accent);font-size:11px;letter-spacing:.15em;font-weight:800}
.qhpc-sub{color:var(--qhpc-muted);font-size:13px}
.qhpc-modes{display:flex;gap:3px;padding:4px;border-radius:12px;border:1px solid var(--qhpc-edge);background:#090f14}
.qhpc-modes button{border:0;background:transparent;color:#c0c8d0;padding:8px 14px}
.qhpc-modes [aria-pressed=true]{background:var(--qhpc-accent);color:#062019;font-weight:800}
.qhpc-meta{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 12px}
.qhpc-meta span{font-size:12px;color:#d5e0e9;padding:5px 9px;border:1px solid var(--qhpc-edge);background:#222c35;border-radius:99px}
.qhpc-rounds{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0 0 10px}
.qhpc-rounds span{text-align:center;background:#1b252d;border:1px solid #37434b;padding:8px 2px;border-radius:7px;font-size:12px;color:#a4b1bc}
.qhpc-rounds span[data-active=true]{background:#17392f;border-color:var(--qhpc-accent);color:#fff;font-weight:800}
.qhpc-rounds span[data-done=true]{background:#1f3036;color:var(--qhpc-accent)}
.qhpc-stage{border:1px solid #33444e;background:#0d161c;padding:clamp(14px,2.8vw,26px);border-radius:13px;min-height:285px}
.qhpc-stage h2{font-size:clamp(19px,3vw,24px)!important;line-height:1.25;color:#fff!important;margin:0 0 8px!important}
.qhpc-stage p{color:#d2dbe1;font-size:14px;line-height:1.6}
.qhpc-step{font-weight:800;font-size:11px;letter-spacing:.11em;color:var(--qhpc-accent);margin:0 0 6px}
.qhpc-display{background:#15242d;border:1px solid #31505b;border-radius:12px;height:clamp(132px,22vw,198px);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:14px 0}
.qhpc-display svg{max-width:100%;width:100%;height:100%;display:block}
.qhpc-display .qhpc-placeholder{text-align:center;font-weight:700;color:#a4c1ca;font-size:16px}
.qhpc-btn{border:0;background:var(--qhpc-accent);color:#082018;font-weight:800;padding:10px 20px}
.qhpc-secondary{background:#22313a;color:#ecf8f3;border:1px solid #456154;padding:10px 17px}
.qhpc-action-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 0}
.qhpc-action-row .qhpc-btn{flex:0 1 auto}
.qhpc-help{font-size:13px;color:#bfcdd3}
.qhpc-number{width:110px;padding:10px 12px;border-radius:9px;background:#23313b;border:1px solid #536674;color:#fff;min-height:48px}
.qhpc-slider{width:100%;accent-color:var(--qhpc-accent);height:32px;cursor:pointer}
.qhpc-slider-labels{display:flex;justify-content:space-between;font-size:12px;color:#b4cbd2;gap:8px}
.qhpc-angle-line{stroke:#859ca7;stroke-width:4;stroke-linecap:round}
.qhpc-angle-ray{stroke:var(--qhpc-accent);stroke-width:5;stroke-linecap:round}
.qhpc-track-line{stroke:#809cab;stroke-width:2;stroke-dasharray:5 5}
.qhpc-track-marker{fill:var(--qhpc-accent)}.qhpc-track-target{fill:#ffbd66}
.qhpc-beat-dots{display:flex;gap:12px;justify-content:center;align-items:center;width:100%}
.qhpc-beat-dots span{width:30px;height:30px;border-radius:99px;border:2px solid #5a7f82;background:#315052;transition:background .1s}
.qhpc-beat-dots span.on{background:var(--qhpc-accent);box-shadow:0 0 30px #4be2af9e}
.qhpc-tap{width:100%;min-height:74px!important;font-size:19px}
.qhpc-split-bar{display:flex;align-items:stretch;width:92%;max-width:460px;height:58px;border-radius:9px;overflow:hidden;border:2px solid #c7d2d9}
.qhpc-split-bar .mint{background:var(--qhpc-accent)}.qhpc-split-bar .dark{flex:1;background:#657889}
.qhpc-results{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:15px 0}
.qhpc-results div{background:#1c3033;border:1px solid #3a5c51;border-radius:9px;padding:8px;text-align:center}
.qhpc-results strong{font-size:22px;color:var(--qhpc-accent);display:block}
.qhpc-results small{font-size:11px;color:#bdcad0}
.qhpc-final{text-align:center;color:var(--qhpc-accent);font-size:clamp(50px,9vw,76px);font-weight:900;margin:10px 0;line-height:1.1}
.qhpc-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;min-height:64px;margin-top:9px}
.qhpc-controls .qhpc-feedback{flex:1;min-width:150px;font-size:14px;color:#d7e5e8;margin:0}
.qhpc-controls button{border:0;background:var(--qhpc-accent);font-weight:800;color:#071f13;padding:11px 18px}
.qhpc-fine{font-size:12px;color:#b4bfc8;margin:8px 0 0;line-height:1.6}
.qhpc textarea{width:100%;background:#0b1419;color:#fff;border:1px solid #54767a;padding:11px;border-radius:8px;min-height:80px}
@media(max-width:640px){.qhpc-sub{display:none}.qhpc-top{flex-direction:column;align-items:stretch;gap:8px}.qhpc-modes{display:grid;grid-template-columns:1fr 1fr}.qhpc-modes button{padding:8px}.qhpc-meta{margin:10px 0}.qhpc-rounds span{font-size:10px;padding:7px 1px}.qhpc-stage{padding:12px;min-height:280px}.qhpc-display{height:150px;margin:10px 0}.qhpc-action-row .qhpc-btn{flex:1 1 100%}.qhpc-controls button{width:100%}.qhpc-controls{align-items:stretch}.qhpc-results{gap:3px}.qhpc-results div{padding:5px 2px}.qhpc-results strong{font-size:17px}}
