/* HRThink Practice 0.6.0: the arcade look. Decoration only: every rule is scoped to .hrp-* or to the .hrp-arena / .hrp-arcade wrappers,
   so the Practice Studio and the engines keep working as before. Motion is switched off for visitors who ask for reduced motion. */
.hrp-sprite{position:absolute;width:0;height:0;overflow:hidden}
.hrprac.hrp-arcade,.hrprac.hrp-arena{--navy:#0b1730;--ink:#14233f;--ind:#2f5bea;--ind2:#2447c9;--vio:#7c5cf0;--cy:#19b8d4;--gold:#f2b134;--ok:#0f9d76;--warm:#e08a00;--bad:#e5484d;--soft:#eef2ff;--line:#dfe6f5;max-width:1120px}

/* ---------- doodle animation shared by every illustration ---------- */
.hrp-art,.hrp-banner-art svg{width:100%;height:auto;overflow:visible;display:block}
.hrp-float{transform-box:fill-box;transform-origin:center;animation:hrp-bob 5.5s ease-in-out infinite}
.hrp-f2{animation-delay:-1.8s;animation-duration:6.4s}.hrp-f3{animation-delay:-3.4s;animation-duration:4.8s}
.hrp-tw{transform-box:fill-box;transform-origin:center;animation:hrp-twinkle 3.2s ease-in-out infinite}
.hrp-tw2{animation-delay:-1.1s;animation-duration:2.6s}.hrp-tw3{animation-delay:-2.1s;animation-duration:4s}
.hrp-scribble{stroke-dasharray:140;stroke-dashoffset:140;animation:hrp-draw 2.4s ease .4s forwards}
.hrp-shine{animation:hrp-glint 3.6s ease-in-out infinite}

/* ---------- catalogue banner ---------- */
.hrp-banner{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:10px 24px;align-items:center;overflow:hidden;isolation:isolate;margin:0 0 26px;padding:36px 40px;border-radius:28px;color:#fff;
  background:radial-gradient(800px 400px at 88% -10%,rgba(124,92,240,.6),transparent 60%),radial-gradient(640px 360px at -5% 115%,rgba(25,184,212,.4),transparent 60%),linear-gradient(135deg,#0b1730 0%,#14286b 55%,#2f4fd1 100%);
  box-shadow:0 24px 54px -24px rgba(20,40,107,.7)}
.hrp-banner-bg{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hrp-banner-bg i,.hrp-arena-bg i{position:absolute;border-radius:50%;filter:blur(42px);opacity:.5;animation:hrp-drift 15s ease-in-out infinite}
.hrp-banner-bg i:nth-child(1){width:260px;height:260px;left:40%;top:-90px;background:#7c5cf0}
.hrp-banner-bg i:nth-child(2){width:220px;height:220px;right:-30px;bottom:-80px;background:#19b8d4;animation-delay:-5s}
.hrp-banner-bg i:nth-child(3){width:170px;height:170px;left:-40px;top:45%;background:#2f5bea;animation-delay:-9s}
.hrp-banner::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.32;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.55) 1px,transparent 1.4px);background-size:26px 26px;-webkit-mask-image:linear-gradient(120deg,#000,transparent 62%);mask-image:linear-gradient(120deg,#000,transparent 62%)}
.hrprac .hrp-kicker{margin:0 0 8px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#9fc2ff}
.hrprac .hrp-banner h2{margin:0 0 10px;font-size:clamp(28px,3.6vw,44px);line-height:1.08;font-weight:800;letter-spacing:-.02em;color:#fff}
.hrprac .hrp-banner p{color:#d6e2ff;font-size:16px;line-height:1.55;max-width:48ch}
.hrp-banner-art{min-width:0;filter:drop-shadow(0 18px 24px rgba(5,12,40,.45))}
.hrp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.hrp-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:99px;font-size:12.5px;font-weight:600;color:#e6eeff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(6px)}
.hrp-chip b{font-weight:800;color:#fff}
.hrp-chip-lv{background:linear-gradient(135deg,rgba(255,216,119,.3),rgba(242,177,52,.22));border-color:rgba(255,216,119,.5)}
.hrp-chip-free{background:rgba(25,201,160,.22);border-color:rgba(25,201,160,.55);color:#bff5e6}
.hrp-xp{width:120px;padding:0;height:12px;align-self:center;overflow:hidden}
.hrp-xp i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#19b8d4,#7c9bff,#c4a7ff);background-size:200% 100%;animation:hrp-grow 1.3s cubic-bezier(.2,.8,.2,1) .4s forwards,hrp-sheen 3.4s linear infinite}

/* ---------- catalogue cards ---------- */
.hrp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:20px}
.hrp-card{position:relative;display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 14px 30px -20px rgba(30,60,140,.5);
  opacity:0;transform:translateY(16px);animation:hrp-rise .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--i,0)*110ms + .2s);transition:transform .22s ease,box-shadow .22s ease}
.hrp-card:hover{transform:translateY(-6px);box-shadow:0 26px 42px -22px rgba(30,60,140,.6)}
.hrp-card-art{position:relative;padding:18px 26px 6px;background:radial-gradient(260px 160px at 50% 30%,#dfe8ff,transparent 70%),linear-gradient(135deg,#eef2ff,#f5efff)}
.hrp-card-art .hrp-art{max-height:170px}
.hrp-best{position:absolute;top:12px;right:12px;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:800;color:#fff;background:linear-gradient(135deg,#19c9a0,#0f9d76);box-shadow:0 6px 14px -6px rgba(15,157,118,.9)}
.hrp-card-body{display:flex;flex-direction:column;gap:2px;padding:16px 20px 20px;flex:1}
.hrprac .hrp-card h3{margin:0 0 2px;font-size:19px;line-height:1.25;font-weight:800;color:var(--ink)}
.hrp-card .hrprac-meta{margin:0 0 8px}
.hrp-card p{margin:0 0 6px;line-height:1.5}
.hrp-card .hrprac-progress{font-size:13px;color:#526079}
.hrp-card .hrprac-button{margin-top:auto;align-self:flex-start}

/* ---------- buttons ---------- */
.hrp-arcade .hrprac-button,.hrp-arena .hrprac-button{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border:0;border-radius:99px;font-size:15px;font-weight:700;line-height:1;text-decoration:none;color:#fff;cursor:pointer;
  background:linear-gradient(135deg,#3b6cf5,#6a4fe0);box-shadow:0 10px 20px -10px rgba(47,91,234,.9),0 1px 0 rgba(255,255,255,.35) inset;position:relative;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,filter .16s}
.hrp-arcade .hrprac-button svg,.hrp-arena .hrprac-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
.hrp-arcade .hrprac-button:hover,.hrp-arena .hrprac-button:hover{transform:translateY(-2px);box-shadow:0 16px 26px -12px rgba(47,91,234,.95),0 1px 0 rgba(255,255,255,.35) inset;filter:brightness(1.06)}
.hrp-arcade .hrprac-button:hover svg{transform:translateX(4px)}
.hrp-arcade .hrprac-button:active,.hrp-arena .hrprac-button:active{transform:translateY(0) scale(.98)}
.hrp-arcade .hrprac-button::after,.hrp-arena .hrprac-button:not(.hrprac-secondary):not(.hrprac-choice)::after{content:"";position:absolute;top:0;bottom:0;left:-80px;width:50px;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);animation:hrp-sweep 4.2s ease-in-out 1.2s infinite}
.hrp-arena .hrprac-secondary{color:var(--ind2);background:#fff;box-shadow:inset 0 0 0 2px #c9d7ff}
.hrp-arena .hrprac-button[disabled]{opacity:.45;filter:grayscale(.4);transform:none;box-shadow:none}
.hrp-arena .hrprac-button:focus-visible,.hrp-arcade .hrprac-button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

/* ---------- the arena around a practice ---------- */
.hrp-arena{position:relative;overflow:hidden;isolation:isolate;margin:0 auto;padding:30px 30px 32px;border-radius:30px;color:#fff;
  background:radial-gradient(900px 420px at 90% -15%,rgba(124,92,240,.6),transparent 60%),radial-gradient(700px 380px at -8% 112%,rgba(25,184,212,.42),transparent 60%),linear-gradient(140deg,#0b1730 0%,#14286b 52%,#2f4fd1 100%);
  box-shadow:0 28px 60px -26px rgba(20,40,107,.75)}
.hrp-arena::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.3;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.55) 1px,transparent 1.4px);background-size:28px 28px;-webkit-mask-image:radial-gradient(ellipse at 20% 0%,#000,transparent 70%);mask-image:radial-gradient(ellipse at 20% 0%,#000,transparent 70%)}
.hrp-arena::after{content:"";position:absolute;width:300px;height:300px;right:-90px;top:30%;z-index:-1;border-radius:50%;background:#7c5cf0;filter:blur(70px);opacity:.35;animation:hrp-drift 16s ease-in-out infinite;pointer-events:none}
.hrp-arena-head{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:10px 28px;align-items:center;margin-bottom:22px}
.hrprac .hrp-arena-head h2{margin:0 0 4px;font-size:clamp(26px,3.2vw,38px);line-height:1.1;font-weight:800;letter-spacing:-.02em;color:#fff}
.hrp-arena-sum{margin:12px 0 4px;color:#d6e2ff;font-size:15.5px;line-height:1.55;max-width:56ch}
.hrp-arena-art{filter:drop-shadow(0 14px 20px rgba(5,12,40,.45))}
.hrp-arena-head .hrp-chips{margin-top:12px}
.hrp-slots{display:inline-flex;gap:14px;margin-top:12px}
.hrp-slot{display:inline-flex;flex-direction:column;align-items:center;gap:2px}
.hrp-slot svg{width:46px;height:50px;overflow:visible;filter:drop-shadow(0 6px 8px rgba(0,0,0,.25))}
.hrp-slot.is-earned svg{animation:hrp-medal 4s ease-in-out infinite}
.hrp-slot em{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.04em;color:#bcd0fb}
.hrp-card .hrp-slot em{color:#6b7a90}
.hrp-slot svg.is-locked{opacity:.8}

/* the stage: a bright card that holds the practice itself */
.hrp-stage{position:relative;padding:26px 28px 28px;border-radius:24px;color:var(--ink);background:linear-gradient(180deg,#fff,#f7f9ff);box-shadow:0 24px 44px -24px rgba(5,12,40,.7),0 1px 0 #fff inset;min-height:260px}
.hrp-stage p,.hrp-stage li{font-size:16px;line-height:1.6}
.hrp-stage .hrprac-meta{color:#617088;font-size:14px}
.hrp-lead{font-size:17px}
.hrp-stage .hrprac-quiz,.hrp-stage .hrprac-stage{margin-top:0}
.hrp-stage h3,.hrp-stage h4{color:var(--ink);font-weight:800}
.hrp-scene>*{opacity:0;transform:translateY(12px);animation:hrp-rise .5s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--k,0)*70ms)}

/* progress track: a path of dots with a glowing runner */
.hrp-stage progress{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.hrp-track{display:flex;align-items:center;gap:6px;margin:4px 0 18px}
.hrp-pip{position:relative;flex:1;height:10px;border-radius:99px;background:#e3e9f7;overflow:hidden}
.hrp-pip::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,#19b8d4,#7c9bff,#7c5cf0);transform:scaleX(0);transform-origin:left;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.hrp-pip.is-done::after{transform:scaleX(1)}
.hrp-pip.is-now{box-shadow:0 0 0 3px rgba(124,92,240,.25)}
.hrp-pip.is-now::after{transform:scaleX(.45);animation:hrp-pulse 1.4s ease-in-out infinite}

/* the statement card */
.hrp-stage .hrprac-prompt{margin:0 0 8px;color:#617088;font-weight:600;font-size:14px;letter-spacing:.02em;text-transform:uppercase}
.hrp-stage .hrprac-statement{position:relative;margin:6px 0 22px;padding:26px 28px 26px 34px;border:0;border-radius:20px;font-size:clamp(19px,2.2vw,24px);line-height:1.45;font-weight:600;color:var(--ink);background:linear-gradient(135deg,#f1f5ff,#f7f1ff);box-shadow:0 14px 26px -20px rgba(47,91,234,.7);transform-origin:50% 100%;animation:hrp-flip .6s cubic-bezier(.2,.9,.3,1.1) both}
.hrp-stage .hrprac-statement::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:6px;border-radius:0 6px 6px 0;background:linear-gradient(180deg,#19b8d4,#7c5cf0)}
.hrp-stage .hrprac-statement::after{content:"\201C";position:absolute;right:20px;top:-6px;font:800 84px/1 Georgia,serif;color:#7c5cf0;opacity:.16}
.hrp-stage .hrprac-review .hrprac-statement{font-size:17px;padding:16px 18px 16px 24px;margin:6px 0 10px;animation:none}

/* the big answer buttons */
.hrp-stage .hrprac-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:8px 0 4px}
.hrp-stage .hrprac-choice{position:relative;min-width:0;min-height:96px;padding:18px 16px;border:0;border-radius:22px;font-size:22px;font-weight:800;letter-spacing:.01em;color:#fff;cursor:pointer;overflow:hidden;
  box-shadow:0 16px 26px -14px rgba(20,35,63,.7),0 -5px 0 rgba(0,0,0,.14) inset;transition:transform .16s cubic-bezier(.3,1.5,.5,1),box-shadow .16s,filter .16s}
.hrp-stage .hrprac-choice::after{display:none}
.hrp-stage .hrprac-choice:nth-child(1){background:linear-gradient(135deg,#ff7a6b,#e5484d)}
.hrp-stage .hrprac-choice:nth-child(2){background:linear-gradient(135deg,#27d3a6,#0f9d76)}
.hrp-stage .hrprac-choice:nth-child(n+3){background:linear-gradient(135deg,#5b86ff,#7c5cf0)}
.hrp-stage .hrprac-choice:hover:not([disabled]){transform:translateY(-5px) scale(1.03) rotate(-.6deg);filter:brightness(1.07)}
.hrp-stage .hrprac-choice:nth-child(2):hover:not([disabled]){transform:translateY(-5px) scale(1.03) rotate(.6deg)}
.hrp-stage .hrprac-choice:active:not([disabled]){transform:translateY(1px) scale(.98)}
.hrp-stage .hrprac-choice[disabled]{opacity:.55;filter:saturate(.6)}
.hrp-stage .hrprac-choice.is-chosen{opacity:1;filter:none;background:#f2b134;color:#111}

/* the reveal */
.hrp-stage .hrprac-review{position:relative;margin:14px 0;padding:18px 20px 16px 74px;border:0;border-radius:20px;animation:hrp-pop .5s cubic-bezier(.3,1.5,.5,1) both}
.hrp-stage .hrprac-review::before{position:absolute;left:18px;top:16px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;font-size:22px;font-weight:800;color:#fff}
.hrp-stage .hrprac-review.is-right{background:linear-gradient(135deg,#e3faf1,#ecfbf6);box-shadow:0 0 0 2px #9be5cc inset}
.hrp-stage .hrprac-review.is-right::before{content:"\2713";background:linear-gradient(135deg,#27d3a6,#0f9d76);box-shadow:0 8px 16px -6px rgba(15,157,118,.8)}
.hrp-stage .hrprac-review.is-wrong{background:linear-gradient(135deg,#fff4df,#fff9ee);box-shadow:0 0 0 2px #f2cf8f inset;animation:hrp-shake .55s ease both}
.hrp-stage .hrprac-review.is-wrong::before{content:"\1F4A1";font-size:21px;background:linear-gradient(135deg,#ffd66b,#f2a31b);box-shadow:0 8px 16px -6px rgba(224,138,0,.8)}
.hrp-stage .hrprac-review p{margin:4px 0}
.hrp-stage .hrprac-verdict{font-size:17px;font-weight:800}
.hrp-stage .hrprac-review.is-right .hrprac-verdict{color:#0a7757}.hrp-stage .hrprac-review.is-wrong .hrprac-verdict{color:#9a5b00}
.hrp-spark-p{position:absolute;left:30px;top:30px;width:9px;height:9px;border-radius:50%;pointer-events:none;background:var(--c,#19b8d4);animation:hrp-fly .9s cubic-bezier(.1,.8,.3,1) forwards}

/* case, rewrite and decision practices */
.hrp-stage .hrprac-grid{gap:14px}
.hrp-stage .hrprac-card{padding:16px 18px;border:2px solid #e1e8f8;border-radius:18px;background:#fff;box-shadow:none;transition:transform .18s,border-color .18s,box-shadow .18s}
.hrp-stage .hrprac-card:hover{transform:translateY(-3px);border-color:#b9c9ff;box-shadow:0 14px 24px -18px rgba(47,91,234,.7)}
.hrp-stage .hrprac-case fieldset,.hrp-stage fieldset{padding:14px 18px 10px;border:2px solid #e6ecf9;border-radius:18px;background:#fbfcff}
.hrp-stage legend{padding:0 8px;font-weight:800;color:var(--ink)}
.hrp-stage .hrprac-option{display:flex;align-items:center;gap:10px;margin:8px 0;padding:12px 14px;border:2px solid #e1e8f8;border-radius:14px;background:#fff;cursor:pointer;transition:transform .14s,border-color .14s,background .14s}
.hrp-stage .hrprac-option:hover{transform:translateX(4px);border-color:#b9c9ff}
.hrp-stage .hrprac-option:has(input:checked){border-color:var(--ind);background:linear-gradient(135deg,#eef3ff,#f4efff);box-shadow:0 8px 16px -12px rgba(47,91,234,.8)}
.hrp-stage input[type=radio],.hrp-stage input[type=checkbox]{width:20px;height:20px;accent-color:#5a4fe0;flex:none}
.hrp-stage .hrprac-note{padding:12px 14px;border:2px solid #e6ecf9;border-radius:14px;background:#fff;animation:hrp-rise .4s ease both}
.hrp-stage textarea{width:100%;box-sizing:border-box;padding:14px 16px;border:2px solid #d6e0f7;border-radius:16px;font:inherit;line-height:1.55;background:#fff;transition:border-color .15s,box-shadow .15s}
.hrp-stage textarea:focus{outline:none;border-color:var(--ind);box-shadow:0 0 0 4px rgba(47,91,234,.16)}
.hrp-stage .hrprac-model{padding:12px 16px;border-left:5px solid #0f9d76;border-radius:0 14px 14px 0;background:#effaf6}
.hrp-stage .hrprac-chip{border-radius:99px}

/* topic bars on the result screen */
.hrp-stage .hrprac-topics{list-style:none;margin:10px 0 14px;padding:0;display:grid;gap:10px}
.hrp-stage .hrprac-topics li{display:grid;gap:5px;font-weight:600;font-size:15px}
.hrp-bar{display:block;height:10px;border-radius:99px;background:#e3e9f7;overflow:hidden}
.hrp-bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#19b8d4,#7c5cf0);animation:hrp-grow 1.1s cubic-bezier(.2,.8,.2,1) .8s forwards}
/* answer buttons get a symbol */
.hrp-stage .hrprac-choice:nth-child(1)::before,.hrp-stage .hrprac-choice:nth-child(2)::before{content:'\2715';display:inline-grid;place-items:center;width:34px;height:34px;margin-right:12px;border-radius:50%;font-size:17px;background:rgba(255,255,255,.25);vertical-align:middle}
.hrp-stage .hrprac-choice:nth-child(2)::before{content:'\2713'}

/* badge banner */
.hrp-stage .hrprac-badge-note{position:relative;overflow:hidden;margin:12px 0;padding:14px 18px 14px 56px;border:0;border-radius:16px;font-weight:800;color:#5b3b00;background:linear-gradient(135deg,#fff1c2,#ffd877);box-shadow:0 12px 22px -14px rgba(242,177,52,.95);animation:hrp-pop .6s cubic-bezier(.3,1.5,.5,1) both}
.hrp-stage .hrprac-badge-note::before{content:"\1F3C5";position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:26px}
.hrp-stage .hrprac-badge-note::after{content:"";position:absolute;top:0;bottom:0;width:60px;left:-90px;background:linear-gradient(100deg,transparent,rgba(255,255,255,.7),transparent);transform:skewX(-20deg);animation:hrp-sweep 2.6s ease-in-out .6s infinite}

/* ---------- live HUD (combo) ---------- */
.hrp-combo{position:absolute;right:22px;top:-16px;z-index:3;display:none;align-items:center;gap:6px;padding:7px 14px;border-radius:99px;font-size:14px;font-weight:800;color:#5b2d00;background:linear-gradient(135deg,#ffd877,#ff9b3d);box-shadow:0 10px 20px -8px rgba(255,140,40,.9)}
.hrp-combo.is-on{display:inline-flex;animation:hrp-pop .4s cubic-bezier(.3,1.7,.5,1) both}
.hrp-combo.is-bump{animation:hrp-bump .35s ease both}

/* ---------- result hero ---------- */
.hrp-result{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 26px;align-items:center;margin:0 0 22px;padding:22px 24px;border-radius:22px;color:#fff;overflow:hidden;
  background:radial-gradient(420px 220px at 95% 0,rgba(124,92,240,.6),transparent 65%),linear-gradient(135deg,#0b1730,#1b3290 70%,#2f5bea);box-shadow:0 20px 36px -20px rgba(20,40,107,.8);animation:hrp-pop .6s cubic-bezier(.3,1.4,.5,1) both}
.hrp-score{position:relative;display:grid;place-items:center;width:132px;height:132px}
.hrp-score svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.hrp-score circle{fill:none;stroke-width:10}
.hrp-score .bg{stroke:rgba(255,255,255,.18)}
.hrp-score .fg{stroke:url(#hrp-g-cyan);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;animation:hrp-ringfill 1.6s cubic-bezier(.2,.8,.2,1) .35s forwards}
.hrp-score b{font-size:34px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.hrp-score b small{font-size:16px;font-weight:700;opacity:.8}
.hrp-score.is-check .fg{stroke-dashoffset:0}
.hrp-score.is-check b{font-size:46px}
.hrp-result h3{margin:0 0 4px;font-size:clamp(22px,3vw,30px);font-weight:800;color:#fff;letter-spacing:-.01em}
.hrp-result p{margin:2px 0 10px;color:#d6e2ff;font-size:15px}
.hrp-stars{display:flex;gap:6px;margin:6px 0 4px}
.hrp-stars svg{width:34px;height:34px;overflow:visible}
.hrp-stars .off path{fill:rgba(255,255,255,.14);stroke:rgba(255,255,255,.35)}
.hrp-stars .on path{fill:#f2b134;stroke:#fff6d6;animation:hrp-star .6s cubic-bezier(.3,1.8,.5,1) both;animation-delay:calc(var(--s,0)*220ms + 1s)}
.hrp-stars path{stroke-width:2.2;stroke-linejoin:round}
.hrp-gain{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}
.hrp-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:99px;font-size:13px;font-weight:800;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25)}
.hrp-pill.xp{background:linear-gradient(135deg,rgba(25,184,212,.35),rgba(124,92,240,.4));animation:hrp-pop .5s cubic-bezier(.3,1.6,.5,1) 1.4s both}
.hrp-pill.lvl{color:#5b3b00;background:linear-gradient(135deg,#ffe08a,#f2b134);border-color:#fff0c2;animation:hrp-pop .5s cubic-bezier(.3,1.6,.5,1) 1.8s both,hrp-glow 1.6s ease-in-out 2.3s infinite}
.hrp-confetti{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:6}

/* ---------- landing (signed out) ---------- */
.hrp-arena-landing .hrp-stage{text-align:left}
.hrp-arena-landing .hrprac-button{margin:6px 8px 0 0}

/* ---------- keyframes ---------- */
@keyframes hrp-bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(.8deg)}}
@keyframes hrp-twinkle{0%,100%{opacity:.25;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1.1) rotate(45deg)}}
@keyframes hrp-drift{0%,100%{transform:translate(0,0)}50%{transform:translate(26px,20px)}}
@keyframes hrp-draw{to{stroke-dashoffset:0}}
@keyframes hrp-glint{0%,60%,100%{opacity:.25}75%{opacity:1}}
@keyframes hrp-rise{to{opacity:1;transform:none}}
@keyframes hrp-pop{0%{opacity:0;transform:scale(.7)}100%{opacity:1;transform:scale(1)}}
@keyframes hrp-flip{0%{opacity:0;transform:perspective(700px) rotateX(-70deg) translateY(10px)}100%{opacity:1;transform:none}}
@keyframes hrp-shake{0%{opacity:0;transform:scale(.8)}30%{opacity:1;transform:translateX(-7px)}45%{transform:translateX(6px)}60%{transform:translateX(-4px)}75%{transform:translateX(3px)}100%{transform:none;opacity:1}}
@keyframes hrp-sweep{0%,55%{left:-90px}100%{left:130%}}
@keyframes hrp-grow{to{width:var(--w,0)}}
@keyframes hrp-sheen{to{background-position:200% 0}}
@keyframes hrp-pulse{0%,100%{opacity:.8}50%{opacity:1}}
@keyframes hrp-medal{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@keyframes hrp-bump{0%{transform:scale(1)}50%{transform:scale(1.28) rotate(-4deg)}100%{transform:scale(1)}}
@keyframes hrp-fly{0%{opacity:1;transform:translate(0,0) scale(1)}100%{opacity:0;transform:translate(var(--x,0),var(--y,-40px)) scale(.2)}}
@keyframes hrp-ringfill{to{stroke-dashoffset:calc(100 - var(--p,0))}}
@keyframes hrp-star{0%{transform:scale(0) rotate(-40deg)}100%{transform:scale(1) rotate(0)}}
@keyframes hrp-glow{0%,100%{box-shadow:0 0 0 0 rgba(255,224,138,.7)}50%{box-shadow:0 0 0 8px rgba(255,224,138,0)}}

/* ---------- small screens ---------- */
@media (max-width:820px){
  .hrp-banner{grid-template-columns:1fr;padding:26px 22px}.hrp-banner-art{order:-1;max-width:300px;margin:0 auto}
  .hrp-arena{padding:20px 16px 22px;border-radius:24px}
  .hrp-arena-head{grid-template-columns:1fr}.hrp-arena-art{order:-1;max-width:210px;margin:0 auto}
  .hrp-stage{padding:20px 16px 22px}
  .hrp-result{grid-template-columns:1fr;justify-items:center;text-align:center}.hrp-stars,.hrp-gain{justify-content:center}
}
@media (max-width:520px){
  .hrp-stage .hrprac-choices{grid-template-columns:1fr 1fr;gap:12px}.hrp-stage .hrprac-choice{min-height:84px;font-size:19px}
  .hrp-stage .hrprac-review{padding-left:20px;padding-top:66px}
}
@media (prefers-reduced-motion:reduce){
  .hrp-arena *,.hrp-arcade *,.hrp-arena,.hrp-arcade{animation:none !important;transition:none !important}
  .hrp-card,.hrp-scene>*{opacity:1;transform:none}.hrp-xp i{width:var(--w,0)}.hrp-scribble{stroke-dashoffset:0}
  .hrp-score .fg{stroke-dashoffset:calc(100 - var(--p,0))}.hrp-pip.is-done::after{transform:scaleX(1)}
}

/* ===== 0.6.2: a way back, larger type, more breathing room ===== */
.hrprac.hrp-arcade,.hrprac.hrp-arena{--hp-body:clamp(18px,.5vw + 13px,21px);--hp-small:clamp(15.5px,.35vw + 12px,18px);--hp-title:clamp(30px,2.6vw + 14px,52px);max-width:1240px}
.hrp-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 16px}
.hrp-arena .hrp-top{margin:0 0 22px}
.hrprac a.hrp-back{display:inline-flex;align-items:center;gap:8px;padding:10px 18px 10px 14px;border-radius:99px;font-size:var(--hp-small);font-weight:700;line-height:1;text-decoration:none;color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);backdrop-filter:blur(6px);transition:background .15s,transform .15s}
.hrprac a.hrp-back:hover{background:rgba(255,255,255,.26);transform:translateX(-2px)}
.hrprac a.hrp-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.hrprac a.hrp-dash{padding-left:18px}
.hrp-arcade>.hrp-top a.hrp-back{color:#2447c9;background:#eaf0ff;border-color:#cfdcff}
.hrp-arcade>.hrp-top a.hrp-back:hover{background:#2f5bea;color:#fff}
.hrprac a.hrp-back:focus-visible,.hrprac a.hrp-back-btn:focus-visible{outline:3px solid #f2b134;outline-offset:3px}

.hrp-arena{padding:clamp(22px,3vw,44px) clamp(18px,3.4vw,52px) clamp(26px,3.4vw,50px)}
.hrp-arena-head{gap:14px clamp(20px,3vw,44px);margin-bottom:clamp(22px,2.6vw,34px)}
.hrprac .hrp-arena-head h2{font-size:var(--hp-title);line-height:1.1;margin:0 0 6px}
.hrp-arena-sum{font-size:var(--hp-body);line-height:1.6;max-width:60ch;margin:16px 0 6px}
.hrp-chip{font-size:var(--hp-small);padding:8px 15px}
.hrp-arena-head .hrp-chips{margin-top:16px}
.hrp-slot em{font-size:14px}.hrp-slot svg{width:54px;height:58px}
.hrp-slots{gap:18px;margin-top:16px}

.hrp-stage{padding:clamp(22px,2.8vw,40px) clamp(18px,3vw,46px) clamp(24px,3vw,44px)}
.hrp-stage p,.hrp-stage li{font-size:var(--hp-body);line-height:1.7}
.hrp-stage p{margin:0 0 18px;max-width:72ch}
.hrp-stage .hrprac-meta,.hrp-stage .hrprac-progress{font-size:var(--hp-small);line-height:1.6;color:#4d5b73}
.hrp-stage .hrprac-meta{margin:0 0 12px}
.hrp-lead{font-size:calc(var(--hp-body) + 1px)}
.hrp-stage .hrprac-prompt{font-size:var(--hp-small)}
.hrp-stage .hrprac-statement{font-size:clamp(22px,1.4vw + 14px,30px);padding:clamp(22px,2.4vw,34px) clamp(22px,2.6vw,38px) clamp(22px,2.4vw,34px) clamp(28px,3vw,42px)}
.hrp-stage .hrprac-choice{font-size:clamp(22px,1.1vw + 13px,28px);min-height:clamp(92px,8vw,116px)}
.hrp-stage .hrprac-verdict{font-size:calc(var(--hp-body) + 1px)}
.hrp-stage .hrprac-review{padding:22px 26px 20px 84px}
.hrp-stage .hrprac-option{font-size:var(--hp-body);padding:15px 18px}
.hrp-stage textarea{font-size:var(--hp-body);padding:18px 20px}
.hrp-stage .hrprac-note{padding:16px 18px}
.hrp-stage legend{font-size:calc(var(--hp-body) + 1px)}
.hrp-stage h3{font-size:clamp(22px,1.2vw + 14px,30px);margin:0 0 12px}.hrp-stage h4{font-size:calc(var(--hp-body) + 2px);margin:22px 0 10px}
.hrp-arcade .hrprac-button,.hrp-arena .hrprac-button{font-size:clamp(17px,.3vw + 14px,19px);padding:15px 28px}
.hrp-stage .hrprac-button{margin-top:6px}
/* the intro screen: a soft note box for the small print, the button clearly apart */
.hrp-stage .hrprac-quiz>.hrprac-meta,.hrp-stage .hrprac-stage>.hrprac-meta{padding:12px 16px;border-left:4px solid #b9c9ff;border-radius:0 12px 12px 0;background:#f1f5ff}
.hrp-stage .hrprac-quiz>.hrprac-button,.hrp-stage .hrprac-stage>.hrprac-button{margin-top:14px}
.hrp-result h3{font-size:clamp(26px,2vw + 14px,38px)}.hrp-result p{font-size:var(--hp-body)}
.hrp-pill{font-size:var(--hp-small);padding:8px 16px}

/* catalogue */
.hrp-banner{padding:clamp(26px,3.4vw,52px) clamp(22px,3.6vw,56px)}
.hrprac .hrp-banner h2{font-size:var(--hp-title)}
.hrprac .hrp-banner p{font-size:var(--hp-body);line-height:1.6;max-width:50ch}
.hrprac .hrp-kicker{font-size:var(--hp-small)}
.hrprac .hrp-card h3{font-size:clamp(21px,.6vw + 15px,26px)}
.hrp-card-body{padding:20px 24px 24px}
.hrp-card p{font-size:var(--hp-body);line-height:1.6}
.hrp-card .hrprac-meta,.hrp-card .hrprac-progress{font-size:var(--hp-small)}
.hrp-grid{gap:clamp(18px,2vw,28px)}

/* the way back from a finished run */
.hrp-endnav{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 0;padding-top:20px;border-top:1px dashed #cfd9ee}
a.hrp-back-btn{display:inline-flex;align-items:center;padding:13px 22px;border-radius:99px;font-size:var(--hp-small);font-weight:700;text-decoration:none;color:#2447c9;background:#eaf0ff;transition:background .15s,color .15s}
a.hrp-back-btn:hover{background:#2f5bea;color:#fff}
@media (max-width:520px){.hrp-stage .hrprac-review{padding:68px 18px 18px}.hrp-stage p{max-width:none}}

/* guests: keep this result */
.hrp-saveme { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.hrp-saveme p { flex-basis: 100%; margin: 0 0 2px; color: #e6edff; font-size: var(--hp-small); }
.hrp-result a.hrp-back-btn { color: #0b1b4d; background: #fff; } .hrp-result a.hrp-back-btn:hover { background: #dfe6ff; color: #0b1b4d; }
.hrp-result a.hrp-back-btn.is-solid { color: #fff; background: linear-gradient(135deg, #3f5bf0, #6a4fe0); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6); }

/* ================= HR Metrics Detective ================= */
.hrp-det-head { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; margin: 0 0 18px; padding: 18px 22px; border-radius: 22px; background: linear-gradient(135deg, #eef3ff, #f6f0ff); border: 1px solid #d8e1fa; }
.hrp-det-stamp { grid-row: 1 / 3; display: inline-grid; place-items: center; padding: 8px 12px; border: 3px solid #7c5cf0; border-radius: 10px; color: #7c5cf0; font-size: .78rem; font-weight: 900; letter-spacing: .16em; transform: rotate(-6deg); background: #fff; }
.hrprac .hrp-det-head h3 { margin: 0; font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem); }
.hrp-det-co { margin: 2px 0 0 !important; font-size: var(--hp-small) !important; color: #6b7aa6; font-weight: 700; }
.hrp-det-q { grid-column: 2; margin: 4px 0 0 !important; font-size: var(--hp-body) !important; color: var(--ink); max-width: none !important; }
.hrp-det-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: 20px; align-items: start; }
.hrp-det-board { display: grid; gap: 16px; }
.hrp-det-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.hrp-det-kpi { padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #e1e8fb; box-shadow: 0 12px 22px -18px rgba(53, 82, 232, .6); opacity: 0; transform: translateY(10px); animation: hrp-rise .5s ease forwards; animation-delay: calc(var(--i, 0) * 80ms); }
.hrp-det-kpi b { display: block; font-size: 1.7rem; line-height: 1.1; font-weight: 800; color: #2742cc; font-variant-numeric: tabular-nums; }
.hrp-det-kpi span { display: block; margin-top: 4px; font-size: .86rem; line-height: 1.35; color: #5a6a92; }
.hrp-det-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.hrp-det-chart { margin: 0; padding: 14px 14px 10px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f7f9ff); border: 1px solid #e1e8fb; }
.hrp-det-chart figcaption { margin: 0 0 4px 4px; font-size: .88rem; font-weight: 800; color: var(--ink); }
.hrp-det-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hrp-det-svg .grid { stroke: #e6ecfa; stroke-width: 1; } .hrp-det-svg .axis { font-size: 10.5px; fill: #7482ab; } .hrp-det-svg .val { font-size: 11px; font-weight: 800; fill: #2b3b66; }
.hrp-det-svg .dbar { cursor: pointer; transform-box: fill-box; transform-origin: bottom; animation: hrp-bargrow .8s cubic-bezier(.2, .8, .2, 1) both; transition: filter .15s, opacity .15s; } .hrp-det-svg .dbar:hover { filter: brightness(1.1); }
.hrp-det-svg .line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: hrp-draw .5s linear forwards, hrp-linedraw 1.4s ease .2s forwards; } .hrp-det-svg .dot { cursor: pointer; transition: r .15s; } .hrp-det-svg .dot:hover { r: 9; }
.hrp-det-svg .is-pinned { stroke: #0b1b4d; stroke-width: 3; filter: drop-shadow(0 4px 6px rgba(11, 27, 77, .35)); } .hrp-det-svg .dot.is-pinned { fill: #ffd36b; }
.hrp-det-svg .dbar:focus-visible, .hrp-det-svg .dot:focus-visible { outline: 3px solid #f2b134; outline-offset: 2px; }
.hrp-det-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 0 4px; font-size: .8rem; font-weight: 700; color: #5a6a92; } .hrp-det-legend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 4px; vertical-align: -1px; }
.hrp-det-notes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 18px; background: #fffaf0; border: 1px dashed #f0cf8a; min-height: 52px; }
.hrp-det-notes-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a15c00; } .hrp-det-notes em { font-style: normal; font-size: .9rem; color: #8a7a55; }
.hrp-det-clue { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border: 0; border-radius: 99px; background: #fff0c2; color: #5b3b00; font: 700 .82rem/1.2 inherit; cursor: pointer; animation: hrp-pop .3s cubic-bezier(.3, 1.6, .5, 1) both; } .hrp-det-clue b { opacity: .55; }
.hrp-det-panel { position: sticky; top: 90px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid #dfe6f7; box-shadow: 0 24px 40px -30px rgba(53, 82, 232, .6); }
.hrp-det-ch-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hrp-det-badge, .hrp-det-type { padding: 5px 12px; border-radius: 99px; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #eaf0ff; color: #2742cc; }
.hrp-det-type.t-calc { background: #e1f0ff; color: #0b6fb3; } .hrp-det-type.t-interpret { background: #ede7ff; color: #5b3fd0; } .hrp-det-type.t-limits { background: #fff0d1; color: #a15c00; }
.hrp-det-panel h4 { margin: 4px 0 6px; font-size: 1.25rem; } .hrp-det-prompt { margin: 0 0 16px !important; font-size: var(--hp-body); }
.hrp-det-calc { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; } .hrp-det-calc label { display: flex; flex: 1 1 160px; align-items: center; gap: 10px; padding: 0 16px; border: 2px solid #d3def8; border-radius: 16px; background: #fff; } .hrp-det-calc label:focus-within { border-color: #3552e8; box-shadow: 0 0 0 4px rgba(53, 82, 232, .15); }
.hrp-det-calc input { flex: 1; min-width: 0; padding: 14px 0; border: 0; outline: 0; background: transparent; font: 800 1.6rem/1 inherit; color: var(--ink); font-variant-numeric: tabular-nums; } .hrp-det-calc span { font-weight: 800; color: #6b7aa6; }
.hrp-det-link { margin: 12px 0 0; padding: 0; border: 0; background: none; color: #2742cc; font: 700 .95rem/1 inherit; text-decoration: underline; cursor: pointer; } .hrp-det-hint { margin: 10px 0 0 !important; padding: 12px 14px; border-radius: 14px; background: #eef3ff; font-size: var(--hp-small) !important; }
.hrp-det-sub { margin: 14px 0 8px !important; font-size: .78rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b7aa6; }
.hrp-det-opts { display: grid; gap: 10px; margin-bottom: 14px; }
.hrp-det-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 14px 16px; border: 2px solid #e1e8fb; border-radius: 16px; background: #fff; text-align: left; font: 600 var(--hp-small)/1.5 inherit; color: var(--ink); cursor: pointer; transition: transform .14s, border-color .14s, background .14s; }
.hrp-det-opt:hover:not(:disabled) { transform: translateX(4px); border-color: #b9c9ff; }
.hrp-det-opt > b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #eaf0ff; color: #2742cc; font-size: .85rem; } .hrp-det-opt > span { flex: 1 1 200px; }
.hrp-det-opt.is-chosen { border-color: #3552e8; background: linear-gradient(135deg, #eef3ff, #f4efff); box-shadow: 0 10px 20px -16px #3552e8; } .hrp-det-opt.is-chosen > b { background: #3552e8; color: #fff; }
.hrp-det-opts.is-multi .hrp-det-opt > b::before { content: ""; width: 14px; height: 14px; border: 2px solid #2742cc; border-radius: 4px; } .hrp-det-opts.is-multi .hrp-det-opt.is-chosen > b::before { content: "\2713"; border: 0; width: auto; height: auto; font-size: 14px; }
.hrp-det-opt .dotc::before { content: ""; width: 12px; height: 12px; border: 2px solid #2742cc; border-radius: 50%; } .hrp-det-opt.is-chosen .dotc::before { background: #fff; border-color: #fff; }
.hrp-det-opt small { flex-basis: 100%; margin-left: 42px; font-weight: 500; font-size: .88rem; line-height: 1.5; }
.hrp-det-opt.is-right { border-color: #4fd1a5; background: #effaf6; } .hrp-det-opt.is-right > b { background: #0f9d76; color: #fff; } .hrp-det-opt.is-wrong { border-color: #f2b4b6; background: #fff3f3; } .hrp-det-opt.is-wrong > b { background: #e5484d; color: #fff; } .hrp-det-opt.is-missed { border-color: #f2cf8f; background: #fff8e8; } .hrp-det-opt.is-dim { opacity: .55; }
.hrp-det-verdict { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 4px 0 12px; padding: 14px 16px; border-radius: 18px; animation: hrp-pop .45s cubic-bezier(.3, 1.5, .5, 1) both; } .hrp-det-verdict p { margin: 0 !important; font-size: var(--hp-small) !important; }
.hrp-det-solved { padding: 7px 12px; border: 3px solid currentColor; border-radius: 10px; font-size: .8rem; font-weight: 900; letter-spacing: .14em; transform: rotate(-5deg); background: #fff; }
.hrp-det-verdict.is-right { background: #e3faf1; color: #0a7757; } .hrp-det-verdict.is-part { background: #fff6dd; color: #8a5200; } .hrp-det-verdict.is-wrong { background: #fff1f0; color: #b42318; } .hrp-det-verdict p { color: var(--ink); }
.hrp-det-line { position: relative; height: 8px; margin: 34px 14px 38px; border-radius: 99px; background: linear-gradient(90deg, #dfe7ff, #c9d6ff); } .hrp-det-line i { position: absolute; top: -9px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 12px -4px rgba(11, 27, 77, .5); transition: left .8s cubic-bezier(.2, .8, .2, 1); } .hrp-det-line .ans { background: #0f9d76; } .hrp-det-line .you { background: #f5a524; }
.hrp-det-line em { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font: 800 .72rem/1 inherit; letter-spacing: .06em; text-transform: uppercase; color: #4a5a85; font-style: normal; }
.hrp-det-explain { margin: 0 0 14px !important; font-size: var(--hp-small) !important; color: #3a4a73; }
.hrp-det-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 6px 0 14px; } .hrp-det-how div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #eef3ff, #f6f0ff); } .hrp-det-how b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #3f5bf0, #7c5cf0); color: #fff; } .hrp-det-how span { font-weight: 700; color: var(--ink); font-size: var(--hp-small); }
.hrp-det-rows li { font-weight: 700; }
@keyframes hrp-bargrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hrp-linedraw { to { stroke-dashoffset: 0; } }
@media (max-width: 980px) { .hrp-det-grid { grid-template-columns: 1fr; } .hrp-det-panel { position: static; } .hrp-det-head { grid-template-columns: 1fr; } .hrp-det-stamp { grid-row: auto; justify-self: start; } .hrp-det-q { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .hrp-det-svg .dbar, .hrp-det-svg .line, .hrp-det-kpi { animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; } .hrp-det-line i { transition: none; } }
.hrp-det-line .you em { top: -30px; }

/* ---- The HR Case Room ---- */
.hrp-cr-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; margin: 0 0 16px; padding: 18px 22px; border-radius: 22px; background: linear-gradient(135deg, #fff4ea, #f6f0ff); border: 1px solid #f1dcc4; }
.hrp-cr-stamp { grid-row: 1 / 3; display: inline-grid; place-items: center; padding: 8px 12px; border: 3px solid #e0762a; border-radius: 10px; color: #e0762a; font-size: .78rem; font-weight: 900; letter-spacing: .16em; transform: rotate(-6deg); background: #fff; }
.hrprac .hrp-cr-head h3 { margin: 0; font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem); }
.hrp-cr-co { margin: 2px 0 0 !important; font-size: var(--hp-small) !important; color: #8a6a4a; font-weight: 700; }
.hrp-cr-role { grid-column: 1 / -1; margin: 8px 0 0 !important; font-weight: 800; color: #5b3fd0; }
.hrp-cr-brief { grid-column: 1 / -1; margin: 0 !important; max-width: none !important; }
.hrp-cr-incident { grid-column: 1 / -1; margin: 6px 0 0; padding: 12px 16px; border-left: 5px solid #e0762a; border-radius: 0 14px 14px 0; background: #fff; font-style: italic; color: var(--ink); }
.hrp-cr-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; }
.hrp-cr-steps li { counter-increment: s; display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px 6px 8px; border-radius: 99px; background: #f1f4fc; color: #6b7aa6; font-size: .85rem; font-weight: 700; }
.hrp-cr-steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dfe6f7; color: #4a5a85; font-size: .75rem; }
.hrp-cr-steps li.is-now { background: #fff0e0; color: #9a4a0e; } .hrp-cr-steps li.is-now::before { background: #e0762a; color: #fff; }
.hrp-cr-steps li.is-done { background: #e3faf1; color: #0a7757; } .hrp-cr-steps li.is-done::before { content: "\2713"; background: #0f9d76; color: #fff; }
.hrp-cr-panel { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid #dfe6f7; box-shadow: 0 24px 40px -30px rgba(53, 82, 232, .6); }
.hrp-cr-badge { display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fff0e0; color: #9a4a0e; }
.hrp-cr-panel h4 { margin: 8px 0 6px; font-size: 1.3rem; } .hrp-cr-prompt { margin: 0 0 16px !important; font-size: var(--hp-body); }
.hrp-cr-tally { margin: 0 0 12px !important; font-weight: 800; color: #9a4a0e; }
.hrp-cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 0 0 16px; }
.hrp-cr-card { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px; border: 2px solid #e1e8fb; border-radius: 18px; background: #fff; box-shadow: 0 12px 22px -18px rgba(53, 82, 232, .6); animation: hrp-rise .45s ease both; }
.hrp-cr-card h5 { margin: 0; font-size: 1.02rem; } .hrp-cr-teaser { margin: 0 !important; font-size: .92rem !important; color: #5a6a92; }
.hrp-cr-type { justify-self: start; padding: 3px 10px; border-radius: 99px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #eaf0ff; color: #2742cc; }
.hrp-cr-card.t-policy .hrp-cr-type { background: #ede7ff; color: #5b3fd0; } .hrp-cr-card.t-interview .hrp-cr-type { background: #ffe9ee; color: #b3264f; } .hrp-cr-card.t-record .hrp-cr-type { background: #e0f7f3; color: #0a7a6a; }
.hrp-cr-card.is-pickable { cursor: pointer; transition: transform .14s, border-color .14s, background .14s; } .hrp-cr-card.is-pickable:hover { transform: translateY(-3px); border-color: #b9c9ff; }
.hrp-cr-card.is-pickable:focus-visible { outline: 3px solid #f2b134; outline-offset: 2px; }
.hrp-cr-card.is-chosen { border-color: #e0762a; background: linear-gradient(135deg, #fff7ee, #fff); box-shadow: 0 14px 24px -16px #e0762a; } .hrp-cr-card.is-chosen::after { content: "\2713"; position: absolute; top: 10px; right: 12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e0762a; color: #fff; font-weight: 900; }
.hrp-cr-grid.is-full .hrp-cr-card.is-pickable:not(.is-chosen) { opacity: .5; cursor: not-allowed; }
.hrp-cr-body { margin: 4px 0 0 !important; padding: 10px 12px; border-radius: 12px; background: #f7f9ff; font-size: .95rem !important; color: var(--ink); }
.hrp-cr-rate { justify-self: start; padding: 4px 10px; border-radius: 99px; font-size: .74rem; font-weight: 800; }
.hrp-cr-card.is-key { border-color: #4fd1a5; } .hrp-cr-card.is-key .hrp-cr-rate { background: #e3faf1; color: #0a7757; }
.hrp-cr-card.is-useful { border-color: #f2cf8f; } .hrp-cr-card.is-useful .hrp-cr-rate { background: #fff6dd; color: #8a5200; }
.hrp-cr-card.is-noise { border-color: #e3e7f3; opacity: .85; } .hrp-cr-card.is-noise .hrp-cr-rate { background: #eef0f6; color: #5a6a92; }
.hrp-cr-why { font-size: .86rem; line-height: 1.5; color: #4a5a85; }
.hrp-cr-new { position: absolute; top: -10px; right: 12px; padding: 3px 10px; border-radius: 99px; background: #7c5cf0; color: #fff; font-size: .7rem; font-weight: 800; font-style: normal; animation: hrp-pop .4s cubic-bezier(.3, 1.6, .5, 1) both; }
.hrp-cr-opts { display: grid; gap: 10px; margin-bottom: 14px; }
.hrp-cr-opt { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 14px 16px; border: 2px solid #e1e8fb; border-radius: 16px; background: #fff; text-align: left; font: 600 var(--hp-small)/1.5 inherit; color: var(--ink); cursor: pointer; transition: transform .14s, border-color .14s, background .14s; }
.hrp-cr-opt:hover:not(:disabled) { transform: translateX(4px); border-color: #b9c9ff; }
.hrp-cr-opt > b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #eaf0ff; color: #2742cc; font-size: .85rem; } .hrp-cr-opt > span { flex: 1 1 200px; }
.hrp-cr-opt.is-chosen { border-color: #e0762a; background: linear-gradient(135deg, #fff7ee, #fff); } .hrp-cr-opt.is-chosen > b { background: #e0762a; color: #fff; }
.hrp-cr-opt.is-asked { border-color: #7c5cf0; background: #f4efff; }
.hrp-cr-opt.is-right { border-color: #4fd1a5; background: #effaf6; } .hrp-cr-opt.is-right > b { background: #0f9d76; color: #fff; }
.hrp-cr-opt.is-part { border-color: #f2cf8f; background: #fff8e8; } .hrp-cr-opt.is-part > b { background: #f5a524; color: #fff; }
.hrp-cr-opt.is-wrong { border-color: #f2b4b6; background: #fff3f3; } .hrp-cr-opt.is-wrong > b { background: #e5484d; color: #fff; }
.hrp-cr-opt.is-best { border-color: #4fd1a5; border-style: dashed; background: #f4fbf8; } .hrp-cr-opt.is-dim { opacity: .55; }
.hrp-cr-opt small { flex-basis: 100%; margin-left: 42px; font-weight: 500; font-size: .88rem; line-height: 1.5; }
.hrp-cr-answer { margin: 4px 0 14px; padding: 14px 18px; border-left: 5px solid #7c5cf0; border-radius: 0 16px 16px 0; background: #f4efff; animation: hrp-pop .45s cubic-bezier(.3, 1.5, .5, 1) both; } .hrp-cr-answer b { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #5b3fd0; } .hrp-cr-answer p { margin: 4px 0 0 !important; font-style: italic; }
.hrp-cr-verdict { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 4px 0 14px; padding: 14px 16px; border-radius: 18px; animation: hrp-pop .45s cubic-bezier(.3, 1.5, .5, 1) both; } .hrp-cr-verdict p { margin: 0 !important; font-size: var(--hp-small) !important; color: var(--ink); }
.hrp-cr-tag { padding: 7px 12px; border: 3px solid currentColor; border-radius: 10px; font-size: .78rem; font-weight: 900; letter-spacing: .12em; transform: rotate(-5deg); background: #fff; }
.hrp-cr-verdict.is-right { background: #e3faf1; color: #0a7757; } .hrp-cr-verdict.is-part { background: #fff6dd; color: #8a5200; } .hrp-cr-verdict.is-wrong { background: #fff1f0; color: #b42318; }
.hrp-cr-debrief { margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; background: #eef3ff; } .hrp-cr-debrief b { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #2742cc; } .hrp-cr-debrief p { margin: 4px 0 0 !important; }
.hrp-cr-board { margin-top: 16px; padding: 12px 16px; border-radius: 18px; background: #fffaf0; border: 1px dashed #f0cf8a; } .hrp-cr-board summary { cursor: pointer; font-weight: 800; color: #a15c00; }
.hrp-cr-boardlist { display: grid; gap: 8px; margin-top: 10px; } .hrp-cr-mini { padding: 10px 12px; border-radius: 12px; background: #fff; } .hrp-cr-mini b { display: block; font-size: .9rem; } .hrp-cr-mini span { font-size: .88rem; color: #4a5a85; }
.hrp-cr-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 6px 0 14px; } .hrp-cr-how div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #fff4ea, #f6f0ff); } .hrp-cr-how b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #f08a3a, #e0556a); color: #fff; } .hrp-cr-how span { font-weight: 700; color: var(--ink); font-size: var(--hp-small); }
.hrp-cr-rows li { font-weight: 700; }
@media (max-width: 700px) { .hrp-cr-head { grid-template-columns: 1fr; } .hrp-cr-stamp { grid-row: auto; justify-self: start; } .hrp-cr-panel { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .hrp-cr-card, .hrp-cr-answer, .hrp-cr-verdict, .hrp-cr-new { animation: none !important; } .hrp-cr-card.is-pickable, .hrp-cr-opt { transition: none; } }
@media (max-width: 700px) { .hrp-cr-opt small { margin-left: 0; } .hrp-cr-opt > span { flex-basis: 0; } }
