body.hpk-body { background:#eef1f6 !important; color:#1b2030 !important; --hpk-ink:#1f2a44; --hpk-gold:#e6c98a; --hpk-muted:#516079; --quiz-guide-bg:#f7f8fb; --quiz-guide-color:#1b2030; }
body.hpk-body .shell-footer { position:static !important; }
main.shell-main.hpk-main { padding-left:22px; padding-right:22px; }
.hpk-page { width:min(820px,100%); margin:30px auto 60px; color:#1b2030; }
.hpk-page [hidden] { display:none !important; }
.hpk-page h1,.hpk-page h2,.hpk-page h3,.hpk-page p,.hpk-page li,.hpk-page label { color:#1b2030; }
.hpk-page h1 { font-size:clamp(30px,5vw,48px); font-weight:800; letter-spacing:-.03em; line-height:1.25; margin:16px 0 26px; text-wrap:balance; }
.hpk-page h2 { font-size:22px; margin:0 0 14px; line-height:1.5; }
.hpk-page p { line-height:1.9; }
.hpk-page .hpk-eyebrow { color:#516079; font-size:13px; letter-spacing:.08em; margin:0; }
.hpk-welcome { padding:24px 0 18px; border-top:2px solid #d0d8e5; }
.hpk-intro { font-size:19px; max-width:680px; }
.hpk-page .hpk-exclude { font-size:14px; color:#516079; max-width:680px; }
.hpk-gates { display:grid; gap:12px; margin:30px 0 22px; }
.hpk-gates label { display:flex; align-items:flex-start; gap:12px; min-height:44px; padding:10px 0; cursor:pointer; font-size:15px; line-height:1.7; }
.hpk-gates input { width:21px; height:21px; flex-shrink:0; accent-color:#1f2a44; margin-top:3px; }
.hpk-button { background:#1f2a44; color:#fff; border:1px solid #1f2a44; border-radius:7px; padding:15px 24px; min-height:48px; font-weight:600; font-size:16px; line-height:1.4; cursor:pointer; transition:background .18s,transform .18s; }
.hpk-page button { font-family:inherit; font-size:16px; }
.hpk-button:hover:not(:disabled) { background:#35486c; transform:translateY(-1px); }
.hpk-button:disabled { opacity:.4; cursor:not-allowed; }
.hpk-secondary { background:transparent; color:#1f2a44; border-color:#a5b0c3; }
.hpk-secondary:hover:not(:disabled) { background:#dde4ef; }
.hpk-page button:focus-visible,.hpk-page a:focus-visible,.hpk-page input:focus-visible { outline:3px solid #96702e; outline-offset:4px; }
.hpk-progress { display:flex; align-items:center; gap:25px; margin-bottom:48px; font-variant-numeric:tabular-nums; color:#516079; }
.hpk-progress span { white-space:nowrap; }
.hpk-progress progress { width:100%; height:6px; appearance:none; border:0; background:#d8dfeb; border-radius:0; }
.hpk-progress progress::-webkit-progress-bar { background:#d8dfeb; }
.hpk-progress progress::-webkit-progress-value { background:#1f2a44; }
.hpk-progress progress::-moz-progress-bar { background:#1f2a44; }
.hpk-ask { padding-top:25px; }
.hpk-page #hpk-question { font-size:clamp(25px,4vw,34px); line-height:1.6; min-height:118px; margin-bottom:36px; letter-spacing:-.02em; }
.hpk-ruler { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:1px; background:#b6bfcf; border:1px solid #b6bfcf; border-radius:7px; overflow:hidden; }
.hpk-option { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:102px; padding:16px 10px; background:#f9fafc; color:#1f2a44; border:0; font:inherit; line-height:1.5; cursor:pointer; transition:background .16s; }
.hpk-option span { font-size:12px; color:#69768d; }
.hpk-option:hover,.hpk-option.is-selected { background:#e6c98a; color:#1b2030; }
.hpk-option:disabled { cursor:default; }
.hpk-back { color:#516079; background:transparent; border:0; border-bottom:1px solid #a5b0c3; padding:12px 0; margin-top:24px; min-height:44px; cursor:pointer; }
.hpk-back:disabled { opacity:.4; }
.hpk-result { padding-top:15px; }
.hpk-page #hpk-name { font-size:clamp(28px,5vw,44px); }
.hpk-chart { margin:0 0 35px; padding:28px 28px 24px; background:#f8f9fc; border:1px solid #d0d8e5; border-radius:10px; }
.hpk-columns { display:grid; grid-template-columns:1fr 1fr; gap:28px; max-width:480px; margin:0 auto 26px; }
.hpk-column { display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; }
.hpk-column b { font-size:30px; font-weight:500; color:#1f2a44; }
.hpk-column b small { font-size:13px; color:#516079; }
.hpk-well { height:160px; width:100%; max-width:130px; display:flex; align-items:flex-end; background:repeating-linear-gradient(to top,#e7ecf3 0,#e7ecf3 1px,transparent 1px,transparent 32px); border-bottom:1px solid #a6b4c9; }
.hpk-bar { height:var(--fill); width:100%; background:#35496c; border-radius:5px 5px 0 0; }
.hpk-column:nth-child(2) .hpk-bar { background:#8094b7; }
.hpk-column-label { font-size:14px; line-height:1.7; color:#1f2a44; }
.hpk-styles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.hpk-style { border:1px solid #d3dbe8; padding:16px 8px; border-radius:5px; text-align:center; color:#58667e; font-size:14px; line-height:1.5; }
.hpk-style strong { display:block; color:#1f2a44; font-size:20px; margin-top:8px; font-weight:500; }
.hpk-style.is-active { border:2px solid #c4a15f; background:#fbf5e9; transform:translateY(-4px); padding:15px 7px; color:#1f2a44; }
.hpk-chart.is-unused .hpk-style { opacity:.55; }
.hpk-reading { padding-bottom:25px; }
.hpk-page #hpk-reading { font-size:18px; line-height:2; margin:0; }
.hpk-explain,.hpk-opening { border-top:1px solid #cbd4e3; padding:26px 0; }
.hpk-opening ol { padding-left:25px; margin-bottom:0; }
.hpk-opening li { padding:4px 0 8px 7px; line-height:1.9; }
.hpk-misread { background:#e3e9f2; padding:22px; border-radius:7px; }
.hpk-misread p { margin-bottom:0; }
.hpk-page .hpk-short { font-size:16px; color:#516079; margin-top:28px; }
.hpk-actions { display:flex; flex-wrap:wrap; gap:10px; }
.hpk-status { min-height:24px; font-size:14px; color:#516079 !important; }
.hpk-canvas { width:100%; max-width:420px; height:auto; display:block; margin:20px auto; }
.hpk-download { display:block; width:max-content; padding:14px; margin:10px auto; color:#1f2a44; }
.hpk-page .quiz-seo-guide { background:#f7f8fb; color:#1b2030; border-color:#cbd4e3; }
.hpk-page .quiz-seo-guide h2,.hpk-page .quiz-seo-guide h3,.hpk-page .quiz-seo-guide p,.hpk-page .quiz-seo-guide li { color:#1b2030; }
.hpk-page .quiz-login,.hpk-page .quiz-related { background:#f7f8fb; border-color:#cbd4e3; color:#1b2030; }
.hpk-page .quiz-login span,.hpk-page .quiz-related-title { color:#516079; }
.hpk-page .quiz-related-list a { color:#1f2a44; background:#fff; border-color:#cbd4e3; }
.hpk-ask:not([hidden]),.hpk-result:not([hidden]) { animation:hpk-enter .2s ease-out; }
@keyframes hpk-enter { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
@media(max-width:600px) { main.shell-main.hpk-main{padding-left:18px;padding-right:18px} .hpk-page{margin-top:12px} .hpk-ruler{grid-template-columns:repeat(6,minmax(0,1fr))} .hpk-option{grid-column:span 2;min-height:87px;padding:12px 6px} .hpk-option:nth-child(n+4){grid-column:span 3} .hpk-progress{margin-bottom:28px} .hpk-page #hpk-question{min-height:140px;margin-bottom:28px} .hpk-chart{padding:24px 14px} .hpk-columns{gap:20px} .hpk-styles{gap:7px} .hpk-style{font-size:13px;padding-left:4px;padding-right:4px} .hpk-actions .hpk-button{flex:1 1 140px;padding:13px 10px} }
@media(prefers-reduced-motion:reduce) { .hpk-page *, .hpk-page *::before, .hpk-page *::after{animation:none !important;transition:none !important} }
