:root {
  --hpe-ink: #202a3b;
  --hpe-muted: #687486;
  --hpe-border: #d9dee7;
  --hpe-panel: #f7f9fc;
  --hpe-brand: #256bb3;
  --hpe-brand-dark: #174f8b;
  --hpe-green: #11864a;
  --hpe-green-bg: #e7f7ed;
  --hpe-red: #c73535;
  --hpe-red-bg: #fff0f0;
  --hpe-violet: #7652c7;
}


.hpe-catalog, .hpe-landing, .hpe-app-wrap, .hpe-access-notice {
  color: var(--hpe-ink);
  font-family: inherit;
  line-height: 1.55;
}
.hpe-catalog-heading { margin: 0 0 24px; }
.hpe-eyebrow { display: block; color: var(--hpe-brand); font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hpe-catalog-heading h2 { margin: 5px 0 4px; color: var(--hpe-ink); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.hpe-catalog-heading p { margin: 0; color: var(--hpe-muted); }
.hpe-test-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 10px; padding: 15px 20px; border: 1px solid var(--hpe-border); border-radius: 12px; background: #fff; box-shadow: 0 3px 14px rgba(25, 40, 65, .035); }
.hpe-test-card.has-attempt-results { border-color: #9bdcba; background: #eaf8f0; }
.hpe-test-card-main { flex: 1 1 auto; min-width: 0; }
.hpe-test-card h3 { margin: 0; font-size: 19px; line-height: 1.3; color: var(--hpe-ink); }
.hpe-test-card p { margin: 0 0 12px; max-width: 760px; color: var(--hpe-muted); }
.hpe-test-result-summary { display: grid; grid-template-columns: minmax(275px, auto) minmax(190px, 1fr); align-items: center; gap: clamp(14px, 2vw, 28px); margin-top: 10px; }
.hpe-test-result-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.hpe-test-result-stat { display: flex; flex-direction: column; gap: 2px; min-width: 82px; }
.hpe-test-result-stat strong { color: #425c73; font-size: 16px; line-height: 1.2; }
.hpe-test-result-stat small { color: var(--hpe-muted); font-size: 10px; line-height: 1.35; }
.hpe-test-result-bar { display: flex; width: 100%; height: 7px; overflow: hidden; border-radius: 8px; background: #d9dee5; }
.hpe-test-result-bar span { display: block; height: 100%; }
.hpe-test-result-bar .is-correct { background: #10b981; }
.hpe-test-result-bar .is-incorrect { background: #f47d7d; }
.hpe-test-result-bar .is-unanswered { background: #9ca3af; }
.hpe-test-result-counts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 6px; color: #62748a; font-size: 11px; }
.hpe-test-tag { display: inline-block; color: var(--hpe-brand); font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.hpe-test-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.hpe-test-meta span { padding: 4px 9px; color: #4f5b6e; background: #f1f4f8; border-radius: 6px; font-size: 12px; }
.hpe-test-card-action { display: flex; flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.hpe-test-card-action .hpe-button { white-space: nowrap; }
.hpe-test-card-action small { max-width: 210px; text-align: right; font-size: 11px; color: var(--hpe-muted); }
.hpe-package-purchase-options { display: flex; flex-direction: column; align-items: stretch; gap: 7px; width: min(100%, 280px); }
.hpe-package-purchase-options-label { color: var(--hpe-muted); font-size: 11px; font-weight: 700; line-height: 1.35; }
.hpe-package-purchase-options .hpe-button { width: 100%; box-sizing: border-box; }
.hpe-button { display: inline-flex; box-sizing: border-box; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 10px 18px; border: 1px solid var(--hpe-brand); border-radius: 7px; background: var(--hpe-brand); color: #fff !important; text-align: center; text-decoration: none !important; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.hpe-button:hover { background: var(--hpe-brand-dark); border-color: var(--hpe-brand-dark); color: #fff !important; }
.hpe-button:disabled { opacity: .55; cursor: wait; }
.hpe-button-secondary { color: var(--hpe-brand) !important; background: #fff; }
.hpe-button-secondary:hover { background: #edf5ff; color: var(--hpe-brand-dark) !important; }
.hpe-locked-label { padding: 8px 12px; border-radius: 6px; background: #fff4e8; color: #995218; font-weight: 700; font-size: 13px; }
.hpe-empty, .hpe-access-notice { max-width: 850px; margin: 22px auto; padding: 24px; border: 1px solid var(--hpe-border); border-radius: 12px; background: #fff; }
.hpe-access-notice { border-color: #f0d5a6; background: #fffaf1; }
.hpe-access-notice h3 { margin-top: 0; }

.hpe-landing-top { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:clamp(24px,3vw,42px) clamp(22px,3vw,46px); color:#fff; background:linear-gradient(120deg,#153e69,#2f7dc1); border-radius:0; box-sizing:border-box; }
.hpe-landing-top .hpe-eyebrow { color: #d6eaff; }
.hpe-landing-top h1 { margin: 7px 0 4px; color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.hpe-landing-subtitle { margin: 6px 0 0; color: #e1efff; }
.hpe-landing-body { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(330px,1fr); gap:clamp(18px,2.4vw,34px); padding:clamp(20px,2.8vw,42px); border:1px solid var(--hpe-border); border-top:0; border-radius:0; background:#fff; box-sizing:border-box; }
.hpe-landing-sidebar { min-width:0; padding:22px; border:1px solid #e5eaf1; border-radius:14px; background:#fbfcfe; }
.hpe-landing-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.hpe-landing-facts > div { min-width:0; padding:13px 10px; border:1px solid #e1e8f1; border-radius:10px; background:#fff; }
.hpe-landing-facts span { display:block; color:var(--hpe-muted); font-size:11px; }
.hpe-landing-facts strong { display:block; margin-top:5px; color:#1c3d63; font-size:clamp(18px,2vw,26px); line-height:1.15; overflow-wrap:anywhere; }
.hpe-landing-sidebar h3 { margin:22px 0 10px; }
.hpe-landing-session-badge { display:flex; flex-direction:column; align-items:flex-end; gap:4px; min-width:190px; padding-left:24px; }
.hpe-landing-session-badge span { font-size:10px; font-weight:800; letter-spacing:.14em; color:#d5eaff; }
.hpe-landing-session-badge strong { color:#fff; font-size:24px; }
.hpe-landing-session-badge small { color:#e0efff; text-align:right; }
.hpe-instructions { min-width:0; padding: 22px 24px; background: #f7f9fc; border: 1px solid #e6eaf0; border-radius: 10px; }
.hpe-instructions h2 { margin: 0 0 10px; font-size: 18px; }
.hpe-instructions p:last-child { margin-bottom: 0; }
.hpe-test-summary { display:flex; flex-wrap:wrap; gap:0; margin:22px 0; padding:14px 0; border:1px solid var(--hpe-border); border-radius:10px; }
.hpe-test-summary > div { flex: 1 1 120px; display: flex; flex-direction: column; align-items: center; padding: 7px 12px; border-right: 1px solid var(--hpe-border); }
.hpe-test-summary > div:last-child { border-right: 0; }
.hpe-test-summary strong { font-size: 24px; line-height: 1.25; }
.hpe-test-summary span { color: var(--hpe-muted); font-size: 12px; }
.hpe-landing-body h3 { margin: 24px 0 10px; font-size: 17px; }
.hpe-section-preview { border: 1px solid var(--hpe-border); border-radius: 10px; overflow: hidden; }
.hpe-section-preview > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #e9edf3; }
.hpe-section-preview > div:last-child { border-bottom: 0; }
.hpe-section-preview strong { color: var(--hpe-brand); }
.hpe-landing-note, .hpe-save-note { color: var(--hpe-muted); font-size: 13px; }
.hpe-start-test { margin-top: 10px; min-width: 160px; }

.hpe-app-wrap { width: 100%; max-width: none; margin: 0; }
#hpe-app { position: relative; min-height: 490px; }
.hpe-app-loading { padding: 36px; color: var(--hpe-muted); }
.hpe-runner { position:relative; display:flex; flex-direction:column; width:100%; height:calc(100vh - 12px); min-height:620px; max-height:none; overflow:hidden; background:#fff; color:var(--hpe-ink); border:1px solid var(--hpe-border); border-radius:0; box-shadow:none; box-sizing:border-box; }
.hpe-runner:fullscreen { width: 100vw; height: 100vh; min-height: 100vh; border: 0; border-radius: 0; overflow: hidden; }
.hpe-runner-header { z-index: 3; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; padding: 14px 22px; background: #fff; border-bottom: 1px solid var(--hpe-border); }
.hpe-runner-brand { min-width:0; display:flex; flex-direction:column; gap:2px; }
.hpe-runner-brand-row { display:flex; align-items:center; gap:14px; min-width:0; }
.hpe-runner-logo { display:flex; align-items:center; justify-content:flex-start; flex:0 0 auto; max-width:155px; }
.hpe-runner-logo .hpe-brand-logo-img { max-width:145px; max-height:42px; }
.hpe-runner-logo .hpe-brand-wordmark { font-size:21px; }
.hpe-runner-title-stack { display:flex; flex-direction:column; gap:3px; min-width:0; padding-left:13px; border-left:1px solid var(--hpe-border); }
.hpe-runner-brand strong { display:block; overflow:hidden; color:var(--hpe-ink); font-size:18px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; max-width:min(42vw,620px); }
.hpe-current-section-label { color: var(--hpe-muted); font-size: 12px; }
.hpe-runner-tools { display: flex; align-items: center; justify-content: flex-end; gap: 15px; flex: 0 0 auto; }
.hpe-timer { display: flex; flex-direction: column; align-items: flex-end; min-width: 100px; padding: 0 12px; border-right: 1px solid var(--hpe-border); }
.hpe-timer-label { color: var(--hpe-muted); font-size: 10px; letter-spacing: .08em; font-weight: 800; }
.hpe-timer strong { color: var(--hpe-ink); font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.3; }
.hpe-timer strong.is-low-time { color: var(--hpe-red); }
.hpe-icon-button { padding: 9px 13px; border: 1px solid #c8d6e7; border-radius: 6px; background: #f7fbff; color: var(--hpe-brand-dark); font-weight: 700; cursor: pointer; }
.hpe-review-badge { padding: 8px 11px; color: #6042aa; background: #f2ebff; border-radius: 6px; font-size: 11px; letter-spacing: .06em; font-weight: 800; }
.hpe-runner-layout { position: relative; display: flex; flex: 1 1 auto; min-height: 0; height: 640px; overflow: hidden; background: #fff; }
.hpe-runner:fullscreen .hpe-runner-layout { height: auto; flex: 1 1 auto; }
.hpe-info-pane, .hpe-question-pane, .hpe-palette-pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.hpe-info-pane { display: flex; flex: 0 0 27%; flex-direction: column; border-right: 1px solid var(--hpe-border); background: #fff; }
.hpe-pane-heading { z-index: 1; padding: 13px 16px; border-bottom: 1px solid var(--hpe-border); background: #f6f8fb; color: #465268; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.hpe-info-scroll { min-height: 0; flex: 1 1 auto; overflow: auto; padding: 22px 20px; font-size: 15px; line-height: 1.65; }
.hpe-info-scroll img, .hpe-question-content img, .hpe-solution-content img { max-width: 100%; height: auto; }
.hpe-info-scroll table, .hpe-question-content table, .hpe-solution-content table { max-width: 100%; border-collapse: collapse; }
.hpe-info-scroll td, .hpe-info-scroll th, .hpe-question-content td, .hpe-question-content th, .hpe-solution-content td, .hpe-solution-content th { border: 1px solid var(--hpe-border); padding: 5px 8px; }
.hpe-question-pane { display: flex; flex: 1 1 auto; flex-direction: column; background: #fff; }
.hpe-question-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 22px 13px; background: #fcfdff; border-bottom: 1px solid #e9edf3; }
.hpe-question-index { color: var(--hpe-ink); font-size: 18px; font-weight: 800; }
.hpe-question-meta { display: block; margin-top: 3px; color: var(--hpe-muted); font-size: 11px; }
.hpe-save-status { display: inline-block; margin-left: 10px; color: var(--hpe-green); font-size: 11px; font-weight: 700; }
.hpe-save-status.is-error { color: var(--hpe-red); }
.hpe-answer-status { display: inline-flex; flex: 0 0 auto; padding: 5px 8px; border-radius: 5px; font-size: 11px; font-weight: 800; }
.hpe-answer-status.is-correct { color: var(--hpe-green); background: var(--hpe-green-bg); }
.hpe-answer-status.is-incorrect { color: var(--hpe-red); background: var(--hpe-red-bg); }
.hpe-answer-status.is-unanswered { color: #5b6573; background: #edf0f4; }
.hpe-answer-status.is-practice-checked { color: #6042aa; background: #f0eaff; }
.hpe-question-scroll { min-height: 0; flex: 1 1 auto; overflow: auto; padding: 22px 28px 32px; }
.hpe-question-content { font-size: 17px; line-height: 1.68; overflow-wrap: anywhere; }
.hpe-question-content > :first-child { margin-top: 0; }
.hpe-question-content p { margin: 0 0 14px; }
.hpe-options { display: flex; flex-direction: column; gap: 9px; margin: 24px 0 18px; }
.hpe-option { position: relative; display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid #dce2eb; border-radius: 9px; background: #fff; color: var(--hpe-ink); cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.hpe-option:hover { border-color: #9abbe0; background: #fbfdff; }
.hpe-option input { flex: 0 0 auto; width: 16px; height: 16px; margin: 5px 0 0; accent-color: var(--hpe-brand); }
.hpe-option-letter { display: inline-flex; flex: 0 0 26px; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid #d4dce7; border-radius: 50%; color: #536174; font-size: 12px; font-weight: 800; }
.hpe-option-text { min-width: 0; flex: 1 1 auto; padding-top: 1px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.hpe-option-text p:last-child { margin-bottom: 0; }
.hpe-option.is-selected:not(.is-correct):not(.is-incorrect) { border-color: var(--hpe-brand); background: #eff7ff; }
.hpe-option.is-selected:not(.is-correct):not(.is-incorrect) .hpe-option-letter { border-color: var(--hpe-brand); color: var(--hpe-brand); }
.hpe-option.is-correct { border-color: #61b98a; background: var(--hpe-green-bg); }
.hpe-option.is-correct .hpe-option-letter { border-color: #2f9e62; color: #0a773e; background: #fff; }
.hpe-option.is-incorrect { border-color: #e39b9b; background: var(--hpe-red-bg); }
.hpe-option.is-incorrect .hpe-option-letter { border-color: var(--hpe-red); color: var(--hpe-red); background: #fff; }
.hpe-option.is-locked { cursor: default; }
.hpe-option-result { flex: 0 0 auto; align-self: center; color: var(--hpe-green); font-size: 11px; font-weight: 800; }
.hpe-option.is-incorrect .hpe-option-result { color: var(--hpe-red); }
.hpe-solution { margin-top: 24px; border: 1px solid #d8e5f2; border-radius: 10px; overflow: hidden; background: #fbfdff; }
.hpe-solution-title { display: flex; justify-content: space-between; gap: 12px; padding: 11px 15px; background: #eaf3fc; color: #255983; font-size: 11px; letter-spacing: .07em; font-weight: 800; }
.hpe-solution-title span:last-child { color: #68819a; letter-spacing: 0; font-weight: 600; text-transform: none; }
.hpe-solution-content { padding: 18px; font-size: 15px; line-height: 1.72; overflow-wrap: anywhere; }
.hpe-solution-content > :first-child { margin-top: 0; }
.hpe-practice-check { margin: 18px 0; padding: 16px; border: 1px dashed #b2a4e2; border-radius: 9px; background: #faf8ff; }
.hpe-practice-check p { margin-top: 0; color: #5e527c; font-size: 13px; }
.hpe-question-controls { z-index: 2; display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 12px 15px; border-top: 1px solid var(--hpe-border); background: #fff; }
.hpe-control-button { min-height: 38px; padding: 8px 10px; border: 1px solid #d2dce8; border-radius: 6px; background: #fff; color: #435165; font-size: 12px; font-weight: 700; cursor: pointer; }
.hpe-control-button:hover:not(:disabled) { border-color: #94b6da; background: #f5faff; }
.hpe-control-button:disabled { opacity: .4; cursor: not-allowed; }
.hpe-control-button.is-marked { border-color: #d7b2ed; color: #7e38a9; background: #fbf5ff; }
.hpe-save-next { min-height: 38px; margin-left: auto; padding: 8px 13px; font-size: 12px; }
.hpe-review-controls-note { color: var(--hpe-muted); font-size: 11px; }
.hpe-palette-pane { display: flex; flex: 0 0 238px; flex-direction: column; border-left: 1px solid var(--hpe-border); background: #fafbfd; }
.hpe-palette-heading { display: flex; flex-direction: column; gap: 3px; padding: 15px 14px 11px; border-bottom: 1px solid #e4e9f0; background: #f4f7fb; }
.hpe-palette-heading strong { font-size: 14px; }
.hpe-palette-heading span { color: var(--hpe-muted); font-size: 10px; }
.hpe-section-tabs { display: flex; flex-direction: column; gap: 6px; padding: 11px 10px; border-bottom: 1px solid var(--hpe-border); }
.hpe-section-tab { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; padding: 8px 9px; border: 1px solid #d7dfe9; border-radius: 6px; background: #fff; color: #475568; text-align: left; cursor: pointer; font-size: 11px; font-weight: 700; }
.hpe-section-tab small { flex: 0 0 auto; color: var(--hpe-muted); font-size: 10px; }
.hpe-section-tab.is-current { border-color: var(--hpe-brand); background: #edf6ff; color: var(--hpe-brand-dark); }
.hpe-section-tab:disabled { opacity: .42; cursor: not-allowed; }
.hpe-palette-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 6px; padding: 11px 12px; border-bottom: 1px solid #e5eaf0; color: #697486; font-size: 10px; }
.hpe-palette-summary span { display: flex; align-items: center; gap: 5px; }
.hpe-legend-dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 3px; background: #dfe4eb; }
.hpe-legend-dot.answered { background: #5cbf84; }
.hpe-legend-dot.unanswered { background: #dfe4eb; }
.hpe-legend-dot.marked { background: #9360d0; }
.hpe-legend-dot.correct { background: #229a5a; }
.hpe-legend-dot.incorrect { background: #d84a4a; }
.hpe-palette-scroll { min-height: 0; flex: 1 1 auto; overflow: auto; padding: 12px; }
.hpe-palette-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hpe-palette-question { position: relative; min-width: 0; min-height: 34px; padding: 3px; border: 1px solid #cbd3de; border-radius: 6px; background: #fff; color: #4b5666; cursor: pointer; font-size: 12px; font-weight: 800; }
.hpe-palette-question:hover:not(:disabled) { border-color: var(--hpe-brand); }
.hpe-palette-question:disabled { opacity: .35; cursor: not-allowed; }
.hpe-palette-question.is-answered { border-color: #21854b; background: #3eaa69; color: #fff; }
.hpe-palette-question.is-visited { border-color: #e6a15d; background: #fff2e4; color: #92551d; }
.hpe-palette-question.is-marked { border-color: #8953c6; background: #8e61c9; color: #fff; }
.hpe-palette-question.is-marked.is-answered { background: linear-gradient(135deg, #4cae72 0 50%, #9360d0 50% 100%); }
.hpe-palette-question.is-correct { border-color: #14864a; background: #1f9b58; color: #fff; }
.hpe-palette-question.is-incorrect { border-color: #c73232; background: #d74444; color: #fff; }
.hpe-palette-question.is-unanswered { background: #fff; }
.hpe-palette-question.is-practice-checked { outline: 2px solid #9b7bd7; outline-offset: 1px; }
.hpe-palette-question.is-current { box-shadow: 0 0 0 2px #1b5c9a; }
.hpe-mark-dot { position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: #ffd36c; }
.hpe-palette-footer { display: flex; align-items: center; justify-content: center; min-height: 51px; padding: 8px; border-top: 1px solid #e0e6ee; background: #fff; }
.hpe-palette-footer a { color: var(--hpe-brand); text-decoration: none; font-size: 12px; font-weight: 700; }
.hpe-link-button { border: 0; background: transparent; color: var(--hpe-red); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.hpe-divider { position: relative; z-index: 5; flex: 0 0 6px; width: 6px; cursor: col-resize; touch-action: none; background: #f0f3f7; border-left: 1px solid #dfe4ec; border-right: 1px solid #dfe4ec; }
.hpe-divider:hover { background: #dbeafa; }
.hpe-divider:focus { outline: 2px solid #7daee1; outline-offset: -2px; }
.hpe-result-summary { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; padding: 12px 18px; border-bottom: 1px solid var(--hpe-border); background: #f8fbff; }
.hpe-result-main { display: flex; flex: 1 1 215px; flex-direction: column; justify-content: center; padding: 6px 17px; border-right: 1px solid var(--hpe-border); }
.hpe-result-main strong { font-size: 27px; line-height: 1.25; color: var(--hpe-brand-dark); }
.hpe-result-main strong small { font-size: 15px; color: var(--hpe-muted); }
.hpe-result-main > span:last-child { color: var(--hpe-muted); font-size: 11px; }
.hpe-result-stat { display: flex; flex: 1 1 90px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 10px; border-right: 1px solid var(--hpe-border); }
.hpe-result-stat:last-child { border-right: 0; }
.hpe-result-stat strong { font-size: 22px; }
.hpe-result-stat span { color: var(--hpe-muted); font-size: 11px; }
.hpe-section-results { padding: 12px 18px 16px; background: #fff; border-bottom: 1px solid var(--hpe-border); }
.hpe-section-results h3 { margin: 0 0 10px; font-size: 13px; }
.hpe-section-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 9px; }
.hpe-section-result { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid #e0e6ee; border-radius: 7px; background: #fbfcfe; }
.hpe-section-result strong { font-size: 12px; }
.hpe-section-score { color: var(--hpe-brand-dark); font-size: 15px; font-weight: 800; }
.hpe-section-result small { color: var(--hpe-muted); font-size: 10px; }
.hpe-placeholder { color: var(--hpe-muted); padding: 24px; text-align: center; }
.hpe-toast { position: absolute; z-index: 50; right: 16px; bottom: 16px; max-width: min(420px, calc(100% - 32px)); padding: 12px 15px; border-radius: 8px; background: #253247; color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.16); opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .16s ease; font-size: 13px; }
.hpe-toast.is-visible { opacity: 1; transform: translateY(0); }
.hpe-watermark { position: absolute; z-index: 4; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); align-items: center; justify-items: center; gap: 12px; overflow: hidden; pointer-events: none; user-select: none; opacity: .095; color: #27384d; mix-blend-mode: multiply; }
.hpe-watermark span { display: block; max-width: 100%; overflow: hidden; text-align: center; white-space: nowrap; font-size: 20px; font-weight: 900; letter-spacing: .06em; transform: rotate(-22deg); }
.hpe-watermark span:nth-child(2n) { transform: rotate(20deg); }
.hpe-info-pane > .hpe-watermark { opacity: .08; }

@media (max-width: 1100px) {
  .hpe-palette-pane { flex-basis: 205px; }
  .hpe-question-scroll { padding: 20px 20px 28px; }
  .hpe-question-controls { flex-wrap: wrap; }
  .hpe-save-next { margin-left: 0; }
}
@media (max-width: 900px) {
  .hpe-test-card { align-items:flex-start; flex-direction:column; gap: 12px; }
  .hpe-test-result-summary { grid-template-columns: 1fr; gap: 9px; }
  .hpe-landing-body { grid-template-columns:1fr; }
  .hpe-landing-top { display:flex; flex-direction:column; gap:20px; }
  .hpe-landing-session-badge { align-items:flex-start; padding-left:0; }
  .hpe-landing-session-badge small { text-align:left; }
  .hpe-test-card-action { align-items: flex-start; justify-content: flex-start; width: 100%; }
  .hpe-test-card-action > .hpe-button { flex: 1 1 180px; }
  .hpe-test-card-action small { text-align: left; }
  .hpe-runner { min-height: 75vh; height:auto; }
  .hpe-runner-header { align-items: flex-start; flex-direction: column; padding: 13px 16px; gap: 10px; }
  .hpe-runner-tools { width: 100%; justify-content: space-between; }
  .hpe-runner-layout { height: auto; min-height: 0; overflow: visible; flex-direction: column; }
  .hpe-info-pane { order: 1; flex: 0 0 auto; max-height: 300px; border-right: 0; border-bottom: 1px solid var(--hpe-border); }
  .hpe-info-scroll { max-height: 240px; padding: 16px; }
  .hpe-question-pane { order: 2; flex: 0 0 auto; min-height: 520px; overflow: visible; }
  .hpe-palette-pane { order: 4; flex: 0 0 auto; min-height: 300px; max-height: 440px; border-left: 0; border-top: 1px solid var(--hpe-border); }
  .hpe-divider { display: none; }
  .hpe-question-scroll { min-height: 330px; max-height: 62vh; }
  .hpe-section-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
  .hpe-palette-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .hpe-palette-scroll { max-height: 230px; }
  .hpe-question-controls { position: sticky; bottom: 0; }
}
@media (max-width: 520px) {
  .hpe-test-result-stats { gap: 10px 14px; }
  .hpe-test-result-stat { min-width: 74px; }
  .hpe-test-result-counts { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .hpe-catalog, .hpe-landing { padding: 18px 12px; margin: 0 auto; }
  .hpe-landing-top { padding: 25px 20px; }
  .hpe-landing-body { padding: 18px 16px 22px; }
  .hpe-test-summary > div { border-right: 0; border-bottom: 1px solid var(--hpe-border); }
  .hpe-test-summary > div:last-child { border-bottom: 0; }
  .hpe-runner-header { padding: 12px; }
  .hpe-runner-brand strong { max-width: 88vw; font-size: 16px; }
  .hpe-runner-brand-row { gap:9px; }
  .hpe-runner-logo { max-width:105px; }
  .hpe-runner-logo .hpe-brand-logo-img { max-width:100px; max-height:32px; }
  .hpe-runner-logo .hpe-brand-wordmark { font-size:15px; }
  .hpe-runner-title-stack { padding-left:9px; }
  .hpe-runner-tools { gap: 8px; }
  .hpe-timer { min-width: 82px; padding-left: 0; align-items: flex-start; }
  .hpe-timer strong { font-size: 18px; }
  .hpe-icon-button { padding: 8px 9px; font-size: 11px; }
  .hpe-question-topline { padding: 12px 13px; }
  .hpe-question-scroll { padding: 16px 13px 28px; }
  .hpe-question-content { font-size: 15px; }
  .hpe-option { gap: 8px; padding: 10px; }
  .hpe-option-text { font-size: 14px; }
  .hpe-question-controls { padding: 10px; gap: 6px; }
  .hpe-control-button { flex: 1 1 40%; }
  .hpe-save-next { flex: 1 1 100%; }
  .hpe-review-controls-note { flex: 1 1 100%; }
  .hpe-result-summary { padding: 8px; }
  .hpe-result-main { border-right: 0; border-bottom: 1px solid var(--hpe-border); flex-basis: 100%; padding: 9px; }
  .hpe-result-stat { border-right: 0; flex-basis: 28%; }
  .hpe-palette-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.hpe-answer-indicator { display: inline-flex; flex: 0 0 22px; align-self: center; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid #cbd3de; border-radius: 50%; color: transparent; font-size: 13px; font-weight: 900; }
.hpe-answer-indicator.is-correct { border-color: #16884b; background: #16884b; color: #fff; box-shadow: inset 0 0 0 3px #e7f7ed; }
.hpe-answer-indicator.is-incorrect { border-color: #c73535; background: #c73535; color: #fff; }

/* v0.2.0: examination hub hierarchy */
.hpe-hub-grid { display:grid; grid-template-columns:repeat(var(--hpe-grid-cols,3),minmax(0,1fr)); gap:18px; margin-top:18px; }
.hpe-hub-card { display:flex; min-height:218px; flex-direction:column; align-items:flex-start; gap:10px; padding:25px; border:1px solid var(--hpe-border); border-radius:16px; background:linear-gradient(145deg,#fff,#f7faff); color:var(--hpe-ink); text-decoration:none; box-shadow:0 5px 20px rgba(22,45,75,.05); transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.hpe-hub-card:hover { transform:translateY(-3px); border-color:#91b8e2; box-shadow:0 12px 28px rgba(22,45,75,.1); }
.hpe-hub-icon { display:flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:15px; background:#e8f2ff; color:var(--hpe-brand-dark); font-size:19px; font-weight:900; }
.hpe-hub-card strong { font-size:23px; line-height:1.25; }
.hpe-hub-card > span:not(.hpe-hub-icon) { color:var(--hpe-muted); font-size:14px; }
.hpe-hub-card small { margin-top:auto; color:var(--hpe-brand); font-weight:800; }
.hpe-category-grid { display:grid; grid-template-columns:repeat(var(--hpe-grid-cols,3),minmax(0,1fr)); gap:13px; margin:16px 0 30px; }
.hpe-category-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 12px; align-items:center; padding:18px 20px; border:1px solid var(--hpe-border); border-radius:12px; background:#fff; color:var(--hpe-ink); text-decoration:none; box-shadow:0 3px 12px rgba(20,35,60,.03); }
.hpe-category-card strong { font-size:16px; }
.hpe-category-card span { grid-column:1; color:var(--hpe-muted); font-size:12px; }
.hpe-category-card b { grid-column:2; grid-row:1 / span 2; color:var(--hpe-brand); font-size:23px; }
.hpe-category-card:hover { border-color:#91b8e2; background:#f8fbff; }
.hpe-hub-back { margin:0 0 15px; }
.hpe-hub-back a { color:var(--hpe-brand); text-decoration:none; font-weight:700; }
.hpe-category-title { margin:20px 0 14px; font-size:23px; }

.hpe-palette-pane { min-height:0; height:100%; }
.hpe-palette-scroll { min-height:0; flex:1 1 auto; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-gutter:stable; }
.hpe-palette-summary b { margin-left:auto; color:#39475a; font-variant-numeric:tabular-nums; }
.hpe-legend-dot.notvisited { background:#9ca7b5; }
.hpe-palette-question { clip-path:polygon(13% 0,87% 0,100% 22%,100% 78%,50% 100%,0 78%,0 22%); border-radius:0; min-height:35px; }
.hpe-palette-question.is-unanswered { border-color:#cbd3de; background:#dce1e8; color:#344054; }
.hpe-palette-question.is-visited { border-color:#c94e1b; background:#df552b; color:#fff; }
.hpe-palette-question.is-answered { border-color:#22864b; background:#38a763; color:#fff; }
.hpe-palette-question.is-correct { border-color:#16884b; background:#219653; color:#fff; }
.hpe-palette-question.is-incorrect { border-color:#c52f32; background:#d83f42; color:#fff; }
.hpe-palette-question.is-marked { clip-path:none; border-radius:50%; border:2px solid #8a5cc7; background:#8f64c9; color:#fff; }
.hpe-palette-question.is-marked.is-correct { border-color:#8f64c9; background:#219653; box-shadow:inset 0 0 0 2px #fff; }
.hpe-palette-question.is-marked.is-incorrect { border-color:#8f64c9; background:#d83f42; box-shadow:inset 0 0 0 2px #fff; }
.hpe-palette-question.is-marked.is-visited, .hpe-palette-question.is-marked.is-unanswered { background:#8f64c9; border-color:#7044ad; }
.hpe-palette-question.is-current { outline:2px solid #174f8b; outline-offset:2px; box-shadow:0 0 0 2px #fff; }
.hpe-mark-dot { position:absolute; top:-5px; right:-4px; display:flex; align-items:center; justify-content:center; width:15px; height:15px; border:1px solid #fff; border-radius:50%; background:#8b5dc7; color:#fff; font-size:10px; line-height:1; font-weight:900; }
.hpe-mark-dot.mark-correct, .hpe-mark-dot.mark-answered { background:#16884b; }
.hpe-mark-dot.mark-incorrect { background:#c73535; }

/* Post-test analysis is a clean report page. Question review becomes an independent fullscreen view. */
.hpe-analysis-top { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.hpe-analysis-top h1 { margin:6px 0; font-size:clamp(25px,3vw,35px); line-height:1.2; }
.hpe-analysis-top p { margin:0; color:var(--hpe-muted); }
.hpe-analysis-score-card { display:flex; align-items:stretch; flex-wrap:wrap; border:1px solid var(--hpe-border); border-radius:15px; background:#fff; box-shadow:0 4px 18px rgba(20,35,60,.04); overflow:hidden; }
.hpe-analysis-score-main { flex:1 1 250px; padding:23px 25px; background:#f5f9ff; border-right:1px solid var(--hpe-border); }
.hpe-analysis-score-main > span { display:block; color:var(--hpe-muted); font-size:11px; font-weight:800; letter-spacing:.08em; }
.hpe-analysis-score-main strong { display:block; margin:4px 0 12px; color:#5c2bb5; font-size:35px; font-variant-numeric:tabular-nums; }
.hpe-analysis-score-main strong small { color:var(--hpe-muted); font-size:17px; }
.hpe-analysis-total-track,.hpe-analysis-score-track { height:8px; border-radius:99px; background:#e8edf4; overflow:hidden; }
.hpe-analysis-total-track span,.hpe-analysis-score-track span { display:block; height:100%; border-radius:99px; background:#6637bd; }
.hpe-analysis-stat { display:flex; flex:1 1 105px; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:16px 12px; border-right:1px solid #edf0f5; }
.hpe-analysis-stat:last-child { border-right:0; }
.hpe-analysis-stat strong { font-size:27px; }
.hpe-analysis-stat span { color:var(--hpe-muted); font-size:12px; }
.hpe-analysis-attempt-strip { display:flex; flex-wrap:wrap; gap:12px 26px; padding:17px 20px; margin-top:14px; border:1px solid var(--hpe-border); border-radius:12px; background:#fff; }
.hpe-analysis-attempt-strip span { color:var(--hpe-muted); font-size:13px; }
.hpe-analysis-attempt-strip strong { margin-left:4px; color:var(--hpe-ink); }
.hpe-analysis-section-block { margin-top:27px; padding:23px; border:1px solid var(--hpe-border); border-radius:15px; background:#fff; }
.hpe-analysis-block-head { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:17px; }
.hpe-analysis-block-head h2 { margin:4px 0 0; font-size:22px; }
.hpe-analysis-legend { display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:var(--hpe-muted); font-size:11px; }
.hpe-analysis-legend i,.hpe-analysis-segments i { display:inline-block; width:9px; height:9px; border-radius:3px; background:#219653; }
.hpe-analysis-legend i.is-incorrect,.hpe-analysis-segments .is-incorrect { background:#d83f42; }
.hpe-analysis-legend i.is-skipped,.hpe-analysis-segments .is-skipped { background:#cbd2dc; }
.hpe-analysis-sections { display:grid; grid-template-columns:repeat(auto-fit,minmax(245px,1fr)); gap:13px; }
.hpe-analysis-section { padding:16px; border:1px solid #e3e8ef; border-radius:11px; background:#fbfcfe; }
.hpe-analysis-section-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:10px; }
.hpe-analysis-section-head strong { font-size:14px; }
.hpe-analysis-section-head span { color:#5c2bb5; font-size:14px; font-weight:800; white-space:nowrap; }
.hpe-analysis-section small { display:block; margin-top:9px; color:var(--hpe-muted); font-size:11px; }
.hpe-analysis-segments { display:flex; height:8px; gap:2px; margin-top:10px; overflow:hidden; border-radius:99px; background:#e8edf4; }
.hpe-analysis-segments i { min-width:0; height:100%; }
.hpe-analysis-solutions-cta { display:flex; justify-content:space-between; align-items:center; gap:25px; padding:24px; margin-top:20px; border-radius:15px; background:#1b4f86; color:#fff; }
.hpe-analysis-solutions-cta h2 { margin:0 0 6px; color:#fff; font-size:21px; }
.hpe-analysis-solutions-cta p { max-width:750px; margin:0; color:#e1edfa; font-size:13px; }
.hpe-analysis-solutions-cta .hpe-button { flex:0 0 auto; border-color:#fff; background:#fff; color:#174f8b !important; }

@media (max-width:900px) {
  .hpe-hub-grid,.hpe-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hpe-analysis-dashboard { padding:0 12px; }
  .hpe-analysis-top,.hpe-analysis-solutions-cta { align-items:stretch; flex-direction:column; }
  .hpe-analysis-block-head { align-items:flex-start; flex-direction:column; }
}
@media (max-width:600px) {
  .hpe-hub-grid,.hpe-category-grid { grid-template-columns:1fr; }
  .hpe-hub-card { min-height:0; padding:20px; }
  .hpe-analysis-score-main { border-right:0; border-bottom:1px solid var(--hpe-border); }
  .hpe-analysis-stat { flex-basis:38%; }
  .hpe-analysis-section-block { padding:14px; }
  .hpe-analysis-attempt-strip { gap:10px; }
  .hpe-analysis-solutions-cta { padding:19px; }
}


/* Post-submission distinguishes a visited-but-skipped question from one never opened. */
.hpe-palette-question.is-skipped { border-color:#a7b0bd; background:#c8ced7; color:#273345; }
.hpe-palette-question.is-unvisited { border-color:#d5dbe4; background:#edf0f4; color:#526071; }
.hpe-palette-question.is-marked.is-skipped,
.hpe-palette-question.is-marked.is-unvisited { border-color:#7044ad; background:#8f64c9; color:#fff; }

/* v0.3.0+ : cohort analytics, question timing and embeddable solution media */
.hpe-question-comparison{margin:0 0 14px;padding:12px 14px;border:1px solid #e1e7ef;border-radius:12px;background:#fbfcfe;flex:0 0 auto}
.hpe-question-time-row{display:flex;gap:9px;flex-wrap:wrap;align-items:stretch}
.hpe-time-chip{display:inline-flex;min-width:94px;flex-direction:column;gap:3px;padding:7px 11px;border-radius:9px;border:1px solid #dce3ed;background:#fff}
.hpe-time-chip small{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#637083}
.hpe-time-chip strong{font-size:17px;line-height:1.2}
.hpe-time-chip.is-fast{border-color:#94d5ad;background:#effaf3;color:#17643a}
.hpe-time-chip.is-average{border-color:#9dbaf4;background:#eff5ff;color:#244f9b}
.hpe-time-chip.is-slow{border-color:#efaaa7;background:#fff1f0;color:#a52626}
.hpe-question-cohort-rates{display:flex;gap:8px 16px;flex-wrap:wrap;margin-top:10px;font-size:13px;font-weight:650}
.hpe-question-cohort-rates .is-correct{color:#168047}.hpe-question-cohort-rates .is-incorrect{color:#ba3131}.hpe-question-cohort-rates .is-skipped{color:#596579}
.hpe-question-comparison>small{display:block;margin-top:8px;color:#728095;font-size:11px}
.hpe-cohort-analysis{margin-top:26px;padding:24px;border:1px solid #e1e7ef;border-radius:18px;background:#fff;box-shadow:0 5px 25px rgba(27,44,75,.045)}
.hpe-cohort-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.hpe-cohort-stat-grid article{display:flex;flex-direction:column;gap:7px;padding:15px 16px;border:1px solid #e5eaf1;border-radius:12px;background:#f9fbfe}
.hpe-cohort-stat-grid article span{font-size:12px;color:#667488}
.hpe-cohort-stat-grid article strong{font-size:24px;line-height:1.2;color:#1e2a3b;overflow-wrap:anywhere}
.hpe-analysis-disclaimer{padding:12px 14px;border-left:3px solid #7b8cb0;background:#f6f8fc;color:#59677c;font-size:12px;line-height:1.6}
.hpe-first-attempt-mix{margin:10px 0 24px}
.hpe-mix-track{display:flex;overflow:hidden;width:100%;height:12px;border-radius:999px;background:#e7ecf3}
.hpe-mix-track .is-correct,.hpe-mix-track .is-incorrect,.hpe-mix-track .is-skipped{display:block;height:100%}
.hpe-mix-track .is-correct,.hpe-mix-legend .is-correct{background:#23965c}.hpe-mix-track .is-incorrect,.hpe-mix-legend .is-incorrect{background:#d94a48}.hpe-mix-track .is-skipped,.hpe-mix-legend .is-skipped{background:#9aa5b5}
.hpe-mix-legend{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:#566276}
.hpe-mix-legend span{display:inline-flex;align-items:center;gap:6px}.hpe-mix-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}
.hpe-first-attempt-mix>small{display:block;margin-top:8px;color:#758195;font-size:11px}
.hpe-analysis-charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.hpe-analysis-chart-card,.hpe-analysis-leaderboard-card{min-width:0;padding:18px;border:1px solid #e5eaf1;border-radius:14px;background:#fff}
.hpe-analysis-chart-card h3,.hpe-analysis-leaderboard-card h3{margin:0 0 7px;font-size:17px;color:#1c2a3c}
.hpe-analysis-chart-card>p,.hpe-analysis-leaderboard-card>p{margin:0 0 10px;color:#68758a;font-size:12px;line-height:1.5}
.hpe-svg-chart-wrap{width:100%;overflow:hidden}
.hpe-svg-chart{display:block;width:100%;height:auto;min-height:200px;overflow:visible}
.hpe-chart-gridline{stroke:#e8edf4;stroke-width:1}.hpe-chart-gridline.is-vertical{stroke-dasharray:3 4}
.hpe-chart-axis{stroke:#8492a5;stroke-width:1.1}
.hpe-chart-axis-label{fill:#69778b;font-size:11px}.hpe-chart-title-label{fill:#526176;font-size:12px;font-weight:600}
.hpe-chart-line{fill:none;stroke:#4d6fd1;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.hpe-chart-point{fill:#4d6fd1;stroke:#fff;stroke-width:1.4}
.hpe-analysis-leaderboard-card{margin-top:16px}
.hpe-analysis-table-wrap{width:100%;overflow-x:auto}
.hpe-analysis-leaderboard{width:100%;border-collapse:collapse;font-size:13px}
.hpe-analysis-leaderboard th,.hpe-analysis-leaderboard td{padding:10px 12px;text-align:left;border-bottom:1px solid #e8edf3}
.hpe-analysis-leaderboard th{color:#5e6a7c;font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:#f8fafd}
.hpe-attempt-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.hpe-attempt-review-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 15px;border:1px solid #dce4ef;border-radius:11px;background:#fff;color:#233147;text-align:left;cursor:pointer}
.hpe-attempt-review-button:hover,.hpe-attempt-review-button:focus{border-color:#6b83ca;background:#f5f8ff}
.hpe-attempt-review-button.is-current{border-color:#647ed0;background:#f0f4ff}
.hpe-attempt-review-button span{font-weight:650}.hpe-attempt-review-button strong{white-space:nowrap;color:#435b9e;font-size:13px}
.hpe-solution-content iframe,.hpe-question-content iframe,.hpe-info-scroll iframe,.hpe-option-text iframe{display:block;max-width:100%;width:min(100%,560px);aspect-ratio:16/9;height:auto;min-height:180px;border:0;border-radius:10px;margin:14px auto}
.hpe-option-text iframe{width:100%;min-height:140px}
@media(max-width:900px){.hpe-cohort-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hpe-analysis-charts-grid{grid-template-columns:1fr}.hpe-attempt-review-list{grid-template-columns:1fr}.hpe-cohort-analysis{padding:16px}}
@media(max-width:480px){.hpe-cohort-stat-grid{grid-template-columns:1fr 1fr}.hpe-cohort-stat-grid article{padding:11px}.hpe-cohort-stat-grid article strong{font-size:19px}.hpe-time-chip{min-width:78px;padding:7px 9px}.hpe-question-comparison{padding:10px}.hpe-question-cohort-rates{font-size:12px}}

/* v0.3.1: pause/resume checkpoint screen */
.hpe-paused-screen{max-width:900px;margin:7vh auto;padding:clamp(24px,4vw,48px);background:#fff;border:1px solid var(--hpe-border,#dbe2ea);border-radius:20px;box-shadow:0 18px 55px rgba(18,35,58,.09);color:var(--hpe-ink,#17283d)}
.hpe-paused-screen h1{margin:9px 0 12px;font-size:clamp(27px,4vw,42px);line-height:1.15}
.hpe-paused-screen>p{color:#66758a;line-height:1.65}
.hpe-paused-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0}
.hpe-paused-summary>div{padding:16px;border:1px solid #e3e8ef;background:#f8fafc;border-radius:12px;min-width:0}
.hpe-paused-summary small{display:block;color:#728095;margin-bottom:7px}
.hpe-paused-summary strong{display:block;overflow-wrap:anywhere;font-size:17px}
.hpe-resume-attempt{min-width:190px}
@media(max-width:560px){.hpe-paused-summary{grid-template-columns:1fr}.hpe-watermark span{font-size:20px}}


/* v0.3.2: stable fullscreen surface, cohort chart markers and interactive percentile slider */
.hpe-chart-user-guide { stroke:#159454; stroke-width:1.5; stroke-dasharray:4 4; opacity:.8; }
.hpe-chart-user-marker { fill:#159454; stroke:#fff; stroke-width:2.2; }
.hpe-chart-user-label { fill:#147b46; font-size:12px; font-weight:800; paint-order:stroke; stroke:#fff; stroke-width:3px; stroke-linejoin:round; }
.hpe-analysis-leaderboard tr.is-current-candidate td { background:#eefaf3; font-weight:700; }
.hpe-you-label { color:#168047; font-size:11px; }
.hpe-percentile-slider-card { margin-top:16px; padding:18px; border:1px solid #dbe4ef; border-radius:14px; background:#f8fbff; }
.hpe-percentile-slider-card h3 { margin:0 0 6px; font-size:17px; color:#1c2a3c; }
.hpe-percentile-slider-card p { margin:0 0 15px; color:#68758a; font-size:12px; }
.hpe-percentile-slider-label { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:12px; color:#657388; }
.hpe-percentile-slider-label strong { color:#174f8b; font-size:19px; }
.hpe-percentile-slider-card input[type=range] { display:block; width:100%; margin:12px 0; accent-color:#246bb3; cursor:pointer; }
.hpe-percentile-slider-card output { display:block; min-height:24px; color:#174f8b; font-weight:750; font-size:14px; }
.hpe-percentile-slider-card small { display:block; margin-top:6px; color:#778398; font-size:11px; }
@media(max-width:600px){ .hpe-chart-user-label{font-size:10px}.hpe-percentile-slider-card{padding:14px} }
/* The wrapper, rather than the rerendered runner, is fullscreen in v0.3.2. */


/* v0.3.3: widen analysis for desktop, put solution review links above analytics, and use an in-page advance confirmation. */
.hpe-analysis-solutions-cta-top { box-sizing:border-box; width:100%; margin:0 0 20px; padding:20px 22px; }
.hpe-analysis-solutions-cta-top h2 { margin:0 0 6px; font-size:clamp(18px,2vw,24px); }
.hpe-analysis-solutions-cta-top p { margin:0 0 12px; line-height:1.5; opacity:.92; }
.hpe-analysis-solutions-cta-top .hpe-attempt-review-list { margin-top:10px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.hpe-analysis-dashboard .hpe-analysis-charts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:900px) { .hpe-analysis-dashboard .hpe-analysis-charts-grid { grid-template-columns:1fr; } }
@media(max-width:560px) { .hpe-analysis-dashboard { padding:16px; } .hpe-analysis-solutions-cta-top { padding:16px; } .hpe-analysis-solutions-cta-top .hpe-attempt-review-list { grid-template-columns:1fr; } }
.hpe-advance-confirm-overlay { position:fixed; inset:0; z-index:999999; display:grid; place-items:center; box-sizing:border-box; padding:20px; background:rgba(13,27,45,.62); }
.hpe-advance-confirm-dialog { box-sizing:border-box; width:min(520px,100%); padding:25px; border:1px solid #dce4ef; border-radius:16px; background:#fff; color:#1b2b40; box-shadow:0 24px 80px rgba(0,0,0,.28); }
.hpe-advance-confirm-dialog h2 { margin:0 0 10px; font-size:23px; line-height:1.25; }
.hpe-advance-confirm-dialog p { margin:0; color:#5d6b7e; line-height:1.6; }
.hpe-advance-confirm-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:22px; }
.hpe-advance-confirm-actions button { min-height:42px; }


/* v0.4.0: editable multi-level catalogue terms */
.hpe-catalog-breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:-10px 0 22px;color:var(--hpe-muted);font-size:13px}
.hpe-catalog-breadcrumbs a{color:var(--hpe-brand);text-decoration:none;font-weight:650}
.hpe-catalog-breadcrumbs a:hover{text-decoration:underline}
.hpe-catalog-breadcrumbs strong{color:var(--hpe-ink)}
.hpe-term-card .hpe-hub-icon{display:flex;align-items:center;justify-content:center;min-width:54px;min-height:54px;max-width:100%;padding:5px 10px;border:1px solid #d7e2ef;border-radius:13px;background:#edf4fb;color:#174f86;font-weight:850;font-size:20px;line-height:1.1;overflow-wrap:anywhere}
.hpe-term-card .hpe-hub-icon:empty{display:none}
.hpe-term-card strong{overflow-wrap:anywhere}
.hpe-catalog-direct-tests{margin-top:26px}
.hpe-catalog-direct-tests>.hpe-category-title{margin:0 0 14px}
@media(max-width:900px){.hpe-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.hpe-hub-grid{grid-template-columns:1fr!important}.hpe-term-card .hpe-hub-icon{min-width:46px;min-height:46px;font-size:17px}}


/* HPE APPLICATION SHELL + WIDE-VIEWPORT LAYOUT — v0.4.3
   One layout system for catalogue, instructions, active test, paused state, overall analysis and question review.
   The normal WordPress header/footer remains on public pages; only pages carrying the HPE shortcode body class are switched. */
body.hpe-te-app-page { background:#f3f6fa; overflow-x:hidden; }
body.hpe-te-app-page main { min-width:0; }
body.hpe-te-app-page #masthead,
body.hpe-te-app-page .site-header,
body.hpe-te-app-page .elementor-location-header,
body.hpe-te-app-page .elementor-sticky--active.elementor-location-header,
body.hpe-te-app-page header.wp-block-template-part,
body.hpe-te-app-page .wp-site-blocks > header,
body.hpe-te-app-page #colophon,
body.hpe-te-app-page .site-footer,
body.hpe-te-app-page .elementor-location-footer,
body.hpe-te-app-page footer.wp-block-template-part,
body.hpe-te-app-page .entry-header,
body.hpe-te-app-page .page-header,
body.hpe-te-app-page .wp-block-post-title,
body.hpe-te-app-page #secondary,
body.hpe-te-app-page .widget-area { display:none !important; }
body.hpe-te-app-page #page,
body.hpe-te-app-page #content,
body.hpe-te-app-page .site,
body.hpe-te-app-page .site-content,
body.hpe-te-app-page .content-area,
body.hpe-te-app-page .site-main,
body.hpe-te-app-page .entry-content,
body.hpe-te-app-page .wp-site-blocks,
body.hpe-te-app-page .ast-container,
body.hpe-te-app-page .grid-container,
body.hpe-te-app-page .content-container,
body.hpe-te-app-page .site-inner,
body.hpe-te-app-page .content-wrap,
body.hpe-te-app-page .site-container,
body.hpe-te-app-page .inside-article,
body.hpe-te-app-page .elementor,
body.hpe-te-app-page .elementor-section,
body.hpe-te-app-page .elementor-container,
body.hpe-te-app-page .elementor-widget-wrap,
body.hpe-te-app-page .elementor-widget,
body.hpe-te-app-page .elementor-widget-container,
body.hpe-te-app-page .e-con,
body.hpe-te-app-page .e-con-inner { width:100% !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; padding-left:0 !important; padding-right:0 !important; box-sizing:border-box !important; }
body.hpe-te-app-page .site-content,
body.hpe-te-app-page .content-area,
body.hpe-te-app-page .site-main { display:block !important; padding-top:0 !important; padding-bottom:0 !important; }
body.hpe-te-app-page .inside-article, body.hpe-te-app-page .elementor-widget-container { padding-top:0 !important; padding-bottom:0 !important; border:0 !important; box-shadow:none !important; }
body.hpe-te-app-page .entry-content > .wp-block-group.alignwide,
body.hpe-te-app-page .entry-content > .wp-block-group.alignfull,
body.hpe-te-app-page .entry-content > .wp-block-shortcode,
body.hpe-te-app-page .entry-content > .elementor,
body.hpe-te-app-page .entry-content > .elementor-widget-shortcode { width:100% !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; }
.hpe-entry-root { position:relative; display:flex; flex-direction:column; width:100vw !important; max-width:100vw !important; min-width:0; min-height:100vh; margin-left:calc(50% - 50vw) !important; margin-right:0 !important; padding:0 !important; box-sizing:border-box; color:var(--hpe-ink); }
.hpe-app-shell { display:flex; flex-direction:column; min-height:100vh; width:100%; max-width:none; background:#f3f6fa; }
.hpe-app-header { position:relative; z-index:100; display:flex; align-items:center; justify-content:space-between; gap:26px; flex:0 0 auto; width:100%; min-height:78px; padding:12px clamp(18px,3vw,48px); box-sizing:border-box; background:#fff; border-bottom:1px solid #e4e9f0; box-shadow:0 3px 14px rgba(20,35,55,.035); }
.hpe-app-brand { display:flex; align-items:center; gap:13px; min-width:0; color:var(--hpe-ink); text-decoration:none !important; }
.hpe-brand-logo-img { display:block; width:auto; max-width:210px; height:auto; max-height:48px; object-fit:contain; }
.hpe-brand-wordmark { display:inline-block; color:#18375a; font-weight:850; font-size:clamp(21px,2vw,28px); line-height:1.05; letter-spacing:-.045em; white-space:nowrap; }
.hpe-brand-wordmark span { color:#286bb2; }
.hpe-app-brand-caption { display:block; padding-left:12px; border-left:1px solid #dbe3ec; color:#718096; font-size:11px; white-space:nowrap; }
.hpe-app-nav { display:flex; align-items:center; justify-content:flex-end; gap:clamp(7px,1.2vw,20px); flex-wrap:wrap; }
.hpe-app-nav-link { display:inline-flex; align-items:center; min-height:42px; padding:8px 11px; border-radius:8px; color:#526176; text-decoration:none !important; font-size:14px; font-weight:700; white-space:nowrap; }
.hpe-app-nav-link:hover, .hpe-app-nav-link:focus, .hpe-app-nav-link.is-active { background:#eef5fc; color:#164e85; }
.hpe-app-nav-link.is-active { box-shadow:inset 0 -2px #2d73b9; }
.hpe-account-menu { position:relative; color:#26374d; font-size:14px; }
.hpe-account-menu summary { list-style:none; cursor:pointer; min-height:42px; display:flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid #dce4ed; border-radius:9px; background:#fff; font-weight:750; white-space:nowrap; }
.hpe-account-menu summary::-webkit-details-marker { display:none; }
.hpe-account-menu[open] summary { background:#f4f8fd; }
.hpe-account-menu-panel { position:absolute; top:calc(100% + 8px); right:0; z-index:1000; display:grid; min-width:190px; padding:6px; border:1px solid #dce4ed; border-radius:11px; background:#fff; box-shadow:0 14px 35px rgba(20,35,55,.15); }
.hpe-account-menu-panel a { padding:11px 12px; border-radius:7px; color:#36465c; text-decoration:none !important; font-size:13px; font-weight:650; }
.hpe-account-menu-panel a:hover { background:#f1f6fc; color:#174f86; }
.hpe-app-footer { display:flex; align-items:center; justify-content:space-between; gap:16px 28px; flex-wrap:wrap; flex:0 0 auto; width:100%; margin-top:auto; padding:22px clamp(18px,3vw,48px); box-sizing:border-box; border-top:1px solid #e1e7ef; background:#fff; color:#788599; font-size:12px; }
.hpe-app-footer nav { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.hpe-app-footer a { color:#52677f; text-decoration:none !important; font-weight:650; }
.hpe-app-footer a:hover { color:#1e64a4; text-decoration:underline !important; }
.hpe-footer-note { margin-left:auto; }
.hpe-app-message-wrap { display:flex; align-items:flex-start; justify-content:center; width:100%; max-width:none; flex:1 0 auto; padding:clamp(28px,6vh,72px) clamp(18px,3vw,48px); box-sizing:border-box; }
.hpe-app-message-wrap .hpe-access-notice { width:min(900px,100%); max-width:none; margin:0; box-sizing:border-box; }
.hpe-app-wrap, #hpe-app { width:100% !important; max-width:none !important; min-width:0; margin:0 !important; box-sizing:border-box; }
.hpe-app-shell-exam #hpe-app { min-height:calc(100vh - 12px); }
.hpe-app-shell-exam .hpe-runner { width:100% !important; height:calc(100vh - 12px); min-height:620px; max-height:none; border-radius:0; }
.hpe-app-loading { width:100%; min-height:100vh; padding:clamp(24px,4vw,60px); box-sizing:border-box; background:#fff; }
.hpe-landing-top, .hpe-landing-body { width:100% !important; max-width:none !important; }
.hpe-instructions { min-width:0; }
.hpe-section-preview { width:100%; }
.hpe-catalog, .hpe-landing, .hpe-analysis-dashboard, .hpe-student-dashboard { width:100% !important; max-width:none !important; box-sizing:border-box; }
.hpe-catalog { flex:1 0 auto; margin:0 !important; padding:clamp(24px,3vw,46px) clamp(16px,2.6vw,44px); }
.hpe-landing { flex:1 0 auto; margin:0 !important; padding:clamp(22px,2.6vw,42px) clamp(16px,2.6vw,44px); }
.hpe-landing-top { width:100%; }
.hpe-landing-body { width:100%; }
.hpe-analysis-dashboard { position:static; transform:none; width:100% !important; max-width:none !important; margin:0 !important; padding:clamp(20px,2.8vw,44px); color:var(--hpe-ink); box-sizing:border-box; }
.hpe-student-dashboard { flex:1 0 auto; padding:clamp(24px,3vw,48px) clamp(18px,3vw,48px); color:var(--hpe-ink); }

.hpe-dashboard-welcome { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:clamp(24px,3vw,42px); border:1px solid #dce7f3; border-radius:18px; background:linear-gradient(115deg,#fff 0%,#f3f8ff 100%); box-shadow:0 6px 24px rgba(24,54,88,.04); }
.hpe-dashboard-welcome h1 { margin:7px 0 6px; color:#1a304a; font-size:clamp(28px,3vw,42px); line-height:1.15; letter-spacing:-.04em; }
.hpe-dashboard-welcome p { margin:0; color:#6a788b; font-size:15px; }
.hpe-dashboard-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:22px 0; }
.hpe-dashboard-stat-grid article { min-width:0; padding:22px; border:1px solid #e1e8f0; border-radius:14px; background:#fff; box-shadow:0 4px 16px rgba(22,40,63,.025); }
.hpe-dashboard-stat-grid article span,.hpe-dashboard-stat-grid article small { display:block; color:#69788c; font-size:12px; }
.hpe-dashboard-stat-grid article strong { display:block; margin:8px 0 5px; color:#1c4f82; font-size:34px; line-height:1.1; font-variant-numeric:tabular-nums; }
.hpe-dashboard-activity { margin-top:24px; padding:clamp(18px,2vw,28px); border:1px solid #e1e8f0; border-radius:16px; background:#fff; }
.hpe-dashboard-section-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; }
.hpe-dashboard-section-heading h2 { margin:4px 0 0; color:#22344c; font-size:24px; }
.hpe-dashboard-section-heading > a { color:#2468a7; text-decoration:none; font-weight:750; font-size:13px; }
.hpe-dashboard-activity-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-top:1px solid #edf0f5; }
.hpe-dashboard-activity-main { display:flex; flex-direction:column; gap:5px; min-width:0; }
.hpe-dashboard-activity-main strong { color:#24354b; font-size:15px; overflow-wrap:anywhere; }
.hpe-dashboard-activity-main span { color:#778497; font-size:12px; }
.hpe-dashboard-activity-result { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:12px; }
.hpe-dashboard-activity-result > strong { color:#3b4d64; font-size:13px; white-space:nowrap; }
.hpe-dashboard-activity-result .hpe-button { min-height:36px; padding:7px 12px; font-size:12px; }
.hpe-dashboard-empty { padding:26px 12px; text-align:center; color:#66758a; }
.hpe-dashboard-empty strong { color:#22344c; font-size:18px; }
.hpe-dashboard-empty p { margin:8px auto 18px; max-width:520px; }
.hpe-dashboard-quick-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:18px; }
.hpe-dashboard-quick-links a { display:flex; flex-direction:column; gap:7px; padding:20px; border:1px solid #dfe7f0; border-radius:13px; background:#fff; text-decoration:none !important; }
.hpe-dashboard-quick-links strong { color:#244260; font-size:15px; }
.hpe-dashboard-quick-links span { color:#6c7a8e; font-size:13px; }
.hpe-dashboard-quick-links a:hover { border-color:#91b8e2; background:#f9fbff; }
.hpe-app-shell :focus-visible { outline:3px solid #79adf0; outline-offset:3px; }
.hpe-app-shell-exam #hpe-app.hpe-view-analysis { height:auto; min-height:100vh; max-height:none; overflow:visible; }
.hpe-app-shell-exam #hpe-app.hpe-view-paused { width:100%; min-height:100vh; }
/* Fullscreen changes the viewport constraint, never the underlying layout widths. */
.hpe-entry-root:fullscreen { display:flex !important; flex-direction:column; position:fixed; inset:0; width:100vw !important; max-width:100vw !important; height:100vh !important; min-height:100vh; margin:0 !important; padding:0 !important; overflow:hidden; transform:none !important; background:#f3f6fa; }
.hpe-entry-root:fullscreen .hpe-app-header, .hpe-entry-root:fullscreen .hpe-app-footer { flex-shrink:0; }
.hpe-entry-root:fullscreen .hpe-app-wrap, .hpe-entry-root:fullscreen #hpe-app { width:100% !important; max-width:none !important; margin:0 !important; box-sizing:border-box; }
.hpe-entry-root:fullscreen #hpe-app.hpe-view-analysis { height:100vh; max-height:100vh; overflow-y:auto; overflow-x:hidden; }
.hpe-entry-root:fullscreen #hpe-app:not(.hpe-view-analysis):not(.hpe-view-paused) { height:100vh; max-height:100vh; overflow:hidden; }
.hpe-entry-root:fullscreen .hpe-runner { width:100% !important; height:100vh; min-height:100vh; max-height:100vh; border:0; border-radius:0; }
.hpe-entry-root:fullscreen .hpe-runner-layout { min-height:0; height:auto; flex:1 1 auto; }
#hpe-app:fullscreen { width:100vw !important; height:100vh; min-height:100vh; max-width:none; margin:0; padding:0; overflow:hidden; background:#fff; }
#hpe-app:fullscreen .hpe-runner { width:100%; height:100%; min-height:100vh; border:0; border-radius:0; box-shadow:none; }
#hpe-app:fullscreen .hpe-runner-layout { height:auto; min-height:0; flex:1 1 auto; }
#hpe-app:fullscreen .hpe-analysis-dashboard { width:100% !important; max-width:none !important; height:100vh; overflow:auto; }
.hpe-runner { width:100% !important; max-width:none !important; }
@media (max-width: 900px) {
  body.hpe-te-app-page .site-content { padding:0 !important; }
  body.hpe-te-app-page #main, body.hpe-te-app-page .site-main { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
  .hpe-app-header { min-height:70px; gap:14px; padding:12px 18px; }
  .hpe-app-brand { gap:9px; }
  .hpe-brand-logo-img { max-width:165px; max-height:40px; }
  .hpe-app-brand-caption { display:none; }
  .hpe-app-nav { gap:4px; }
  .hpe-app-nav-link { font-size:12px; padding:7px 8px; }
  .hpe-app-footer { padding:18px; }
  .hpe-dashboard-welcome { align-items:flex-start; flex-direction:column; }
  .hpe-dashboard-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .hpe-dashboard-stat-grid article { padding:16px; }
  .hpe-app-shell-exam #hpe-app { min-height:calc(100vh - 8px); }
  .hpe-app-shell-exam .hpe-runner { height:auto; min-height:100vh; }
  .hpe-analysis-top { align-items:flex-start; flex-direction:column; }
  .hpe-analysis-dashboard { padding:clamp(16px,2.3vw,28px); }
}
@media (max-width: 600px) {
  .hpe-app-header { align-items:flex-start; flex-direction:column; gap:8px; padding:11px 14px; }
  .hpe-app-nav { width:100%; justify-content:flex-start; }
  .hpe-app-nav-link { min-height:36px; }
  .hpe-account-menu summary { min-height:36px; font-size:12px; }
  .hpe-brand-wordmark { font-size:22px; }
  .hpe-app-footer { align-items:flex-start; flex-direction:column; gap:10px; }
  .hpe-dashboard-stat-grid { grid-template-columns:1fr; }
  .hpe-dashboard-activity-row { align-items:flex-start; flex-direction:column; }
  .hpe-dashboard-activity-result { justify-content:flex-start; }
  .hpe-dashboard-quick-links { grid-template-columns:1fr; }
  .hpe-landing-top { align-items:flex-start; flex-direction:column; }
  .hpe-footer-note { margin-left:0; }
  .hpe-catalog, .hpe-landing { padding:18px 12px; }
}


/* v0.4.4: cleaner HPE brand header, complete compact footer, and student-first comparison layout. */
.hpe-app-brand { gap:0; flex:0 0 auto; }
.hpe-app-brand-logo { display:flex; align-items:center; width:min(340px,32vw); max-width:340px; min-width:0; flex:0 1 340px; }
.hpe-app-brand-logo .hpe-brand-logo-img { display:block; width:auto; max-width:340px; max-height:72px; object-fit:contain; object-position:left center; }
.hpe-app-brand-logo .hpe-brand-wordmark { font-size:clamp(27px,2.5vw,35px); }
.hpe-app-footer { display:block; width:100%; margin-top:auto; padding:14px clamp(18px,3vw,48px) 12px; background:#fff; border-top:1px solid #e1e7ef; color:#66758a; font-size:11px; line-height:1.5; }
.hpe-app-footer-main { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 22px; padding-bottom:9px; }
.hpe-app-footer-main nav,.hpe-app-footer-legal,.hpe-app-footer-community nav { display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:6px 15px; }
.hpe-app-footer a { color:#52677f; text-decoration:none !important; font-size:11px; font-weight:650; }
.hpe-app-footer a:hover,.hpe-app-footer a:focus { color:#1e64a4; text-decoration:underline !important; }
.hpe-footer-domain { color:#8793a4; }
.hpe-app-footer-legal { padding:9px 0; border-top:1px solid #edf0f5; border-bottom:1px solid #edf0f5; }
.hpe-app-footer-community { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; padding-top:9px; }
.hpe-app-footer-community strong { color:#495a70; font-weight:750; }
.hpe-app-footer-community nav { gap:6px 13px; }
.hpe-analysis-charts-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; margin-top:18px; }
.hpe-analysis-charts-stack > .hpe-analysis-chart-card { width:100%; min-width:0; box-sizing:border-box; }
.hpe-section-cohort-comparison { margin-top:23px; }
.hpe-section-cohort-comparison > .hpe-analysis-block-head h3 { margin:4px 0 0; font-size:20px; color:#1c2a3c; }
.hpe-section-cohort-comparison > .hpe-analysis-block-head p { margin:6px 0 0; color:#68758a; font-size:12px; }
.hpe-section-cohort-list { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.hpe-section-cohort-card { min-width:0; padding:15px; border:1px solid #e0e7f0; border-radius:13px; background:#fbfcfe; }
.hpe-section-cohort-card h4 { margin:0 0 12px; font-size:15px; color:#25364b; }
.hpe-section-cohort-metrics { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
.hpe-section-cohort-metrics > div { display:flex; min-width:0; flex-direction:column; justify-content:center; gap:6px; padding:10px; border:1px solid #e4eaf2; border-radius:9px; background:#fff; }
.hpe-section-cohort-metrics span { color:#69778a; font-size:10px; line-height:1.35; }
.hpe-section-cohort-metrics strong { color:#213d61; font-size:14px; line-height:1.3; overflow-wrap:anywhere; }
.hpe-cohort-stat-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:1350px) {
  .hpe-app-brand-logo { width:min(300px,30vw); max-width:300px; }
  .hpe-app-brand-logo .hpe-brand-logo-img { max-width:300px; max-height:64px; }
}
@media (max-width:1100px) {
  .hpe-section-cohort-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .hpe-app-brand-logo { width:min(280px,38vw); max-width:280px; }
  .hpe-app-brand-logo .hpe-brand-logo-img { max-width:280px; max-height:58px; }
  .hpe-app-footer-main { align-items:flex-start; }
  .hpe-app-footer-community { align-items:flex-start; flex-direction:column; }
  .hpe-section-cohort-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hpe-cohort-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .hpe-app-brand-logo { width:min(250px,70vw); max-width:250px; }
  .hpe-app-brand-logo .hpe-brand-logo-img { max-width:250px; max-height:52px; }
  .hpe-app-footer { padding:12px 14px; }
  .hpe-app-footer-main { flex-direction:column; gap:7px; }
  .hpe-app-footer-main nav,.hpe-app-footer-legal,.hpe-app-footer-community nav { gap:8px 12px; }
  .hpe-section-cohort-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hpe-cohort-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:901px) {
  .hpe-app-brand-logo .hpe-brand-logo-img { width:100%; }
}
@media (max-width:900px) {
  .hpe-app-brand-logo .hpe-brand-logo-img { width:100%; }
}

/* v0.5.0 Additions: Standalone window support, mobile drawer & bar-trend chart */
.hpe-chart-bar { fill: rgba(37, 107, 179, 0.22); stroke: rgba(37, 107, 179, 0.48); stroke-width: 1; }
.hpe-chart-trend-line { stroke: #256bb3; stroke-width: 2.8; }
.hpe-chart-trend-point { fill: #174f8b; stroke: #fff; stroke-width: 1.5; }


/* ==========================================================================
   v0.5.0 COMPLETE STYLES: Scrollable TCS Instructions, Bilingual Engine,
   Mobile Swipeable Palette Drawer, Combined Bar+Trend Chart, My Packages &
   Student Practice Progress Dashboard
   ========================================================================== */

/* 1. TCS iON-Style Scrollable Instructions Page */
.hpe-exam-instructions-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  padding: clamp(18px, 2.2vw, 34px) clamp(16px, 2.6vw, 44px);
  box-sizing: border-box;
  gap: 18px;
}
.hpe-instructions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding: clamp(20px, 2.5vw, 32px) clamp(22px, 3vw, 38px);
  color: #fff;
  background: linear-gradient(120deg, #153e69, #256bb3);
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(21, 62, 105, 0.12);
}
.hpe-instructions-heading .hpe-eyebrow { color: #d5eaff; }
.hpe-instructions-heading h1 {
  margin: 5px 0 4px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
}
.hpe-instructions-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hpe-instructions-badges span {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hpe-instructions-scroll {
  flex: 1 1 auto;
  max-height: clamp(420px, 60vh, 680px);
  overflow-y: auto;
  padding: clamp(20px, 2.5vw, 32px);
  background: #fff;
  border: 1px solid var(--hpe-border);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(20, 35, 60, 0.04);
  scrollbar-gutter: stable;
}
.hpe-instructions-summary h2,
.hpe-instructions-content h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--hpe-ink);
}
.hpe-instructions-content { margin-top: 24px; }
.hpe-instructions-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--hpe-border);
  border-radius: 12px;
}
.hpe-instructions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hpe-instructions-table th,
.hpe-instructions-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #e8edf3;
}
.hpe-instructions-table th {
  background: #f6f9fc;
  color: #4f5d73;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hpe-instructions-table tr:last-child td { border-bottom: 0; }
.hpe-instruction-guide h3 {
  margin: 22px 0 10px;
  font-size: 16px;
  color: #1c3554;
}
.hpe-instruction-Guide ul,
.hpe-instruction-guide ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.hpe-instruction-guide li { margin-bottom: 7px; }
.hpe-instruction-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px 16px;
  background: #f8fafd;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}
.hpe-instruction-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hpe-instruction-state {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  box-sizing: border-box;
  clip-path: polygon(13% 0, 87% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
}
.hpe-instruction-state.is-unvisited { background: #dce1e8; border: 1px solid #cbd3de; }
.hpe-instruction-state.is-visited { background: #df552b; }
.hpe-instruction-state.is-answered { background: #38a763; }
.hpe-instruction-state.is-marked {
  clip-path: none;
  border-radius: 50%;
  background: #8f64c9;
}
.hpe-instruction-state.is-review-answered {
  clip-path: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #38a763 0 50%, #8f64c9 50% 100%);
  border: 2px solid #8f64c9;
}
.hpe-instructions-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 20px 26px;
  background: #fff;
  border: 1px solid #d5e1ef;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(20, 40, 70, 0.06);
}
.hpe-instructions-start > div { flex: 1 1 420px; min-width: 0; }
.hpe-instructions-start strong { font-size: 17px; color: var(--hpe-ink); }
.hpe-instructions-start p { margin: 4px 0 8px; color: var(--hpe-muted); font-size: 13px; }
.hpe-default-language-choice {
  margin: 10px 0 0;
  padding: 12px 15px;
  border: 1px solid #d8e4f2;
  border-radius: 10px;
  background: #f7faff;
}
.hpe-default-language-choice legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--hpe-brand-dark);
}
.hpe-default-language-choice label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.hpe-default-language-choice small {
  display: block;
  margin-top: 6px;
  color: var(--hpe-muted);
  font-size: 11px;
}
.hpe-optional-hindi-instructions {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid #e1e8f0;
  border-radius: 10px;
  background: #fcfdff;
}
.hpe-optional-hindi-instructions summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--hpe-brand-dark);
}

/* 2. Bilingual Stacked & Per-Question Toggle Controls */
.hpe-question-language-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 7px 22px;
  background: #f8fbff;
  border-bottom: 1px solid #e9edf3;
  font-size: 12px;
}
.hpe-question-language-toggle span {
  color: var(--hpe-muted);
  font-weight: 700;
  margin-right: 4px;
}
.hpe-question-language-toggle button {
  padding: 4px 11px;
  border: 1px solid #cdd9e8;
  border-radius: 6px;
  background: #fff;
  color: #46556b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.hpe-question-language-toggle button.is-selected {
  border-color: var(--hpe-brand);
  background: var(--hpe-brand);
  color: #fff;
}
.hpe-bilingual-pair,
.hpe-language-pair {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hpe-bilingual-hi,
.hpe-language-block[lang="hi"] {
  padding-top: 10px;
  border-top: 1px dashed #dce3ee;
}
.hpe-language-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #eef4fb;
  color: var(--hpe-brand-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.hpe-imported-visual,
.hpe-inline-svg {
  margin: 14px 0;
  max-width: 100%;
  overflow-x: auto;
}
.hpe-inline-svg svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 3. Mobile Off-Canvas Swipeable Question Palette */
.hpe-mobile-palette-button,
.hpe-palette-backdrop,
.hpe-palette-mobile-top {
  display: none;
}
@media (max-width: 900px) {
  .hpe-mobile-palette-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid var(--hpe-brand);
    border-radius: 6px;
    background: #edf5ff;
    color: var(--hpe-brand-dark);
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
  }
  .hpe-runner .hpe-palette-pane {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10005;
    width: min(320px, 86vw);
    max-width: 86vw;
    height: 100vh;
    max-height: 100vh;
    border-top: 0;
    border-left: 1px solid var(--hpe-border);
    box-shadow: -14px 0 38px rgba(15, 28, 46, 0.22);
    transform: translateX(104%);
    transition: transform 0.22s ease;
  }
  .hpe-runner.hpe-palette-open .hpe-palette-pane {
    transform: translateX(0);
  }
  .hpe-runner.hpe-palette-open .hpe-palette-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10000;
    border: 0;
    background: rgba(15, 28, 46, 0.48);
    cursor: pointer;
  }
  .hpe-palette-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #174f8b;
    color: #fff;
  }
  .hpe-palette-mobile-top button {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
  .hpe-runner .hpe-palette-scroll {
    max-height: none;
    flex: 1 1 auto;
  }
  .hpe-runner .hpe-palette-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* 4. Combined Bar + Trend SVG Marks Distribution Chart */
.hpe-chart-bar {
  fill: rgba(37, 107, 179, 0.22);
  stroke: rgba(37, 107, 179, 0.48);
  stroke-width: 1;
  transition: fill 0.15s ease;
}
.hpe-chart-bar:hover {
  fill: rgba(37, 107, 179, 0.38);
}
.hpe-chart-trend-line {
  stroke: #256bb3;
  stroke-width: 2.8;
}
.hpe-chart-trend-point {
  fill: #174f8b;
  stroke: #fff;
  stroke-width: 1.5;
}

/* 5. Student Dashboard Exam-Wise Expected Standing & My Packages */
.hpe-dashboard-exam-standing {
  margin-top: 24px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  background: #fff;
}
.hpe-dashboard-exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.hpe-dashboard-exam-card {
  padding: 18px 20px;
  border: 1px solid #dde6f1;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 4px 14px rgba(20, 40, 70, 0.03);
}
.hpe-dashboard-exam-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.hpe-dashboard-exam-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #e8f2ff;
  color: var(--hpe-brand-dark);
  font-size: 18px;
  font-weight: 800;
  flex: 0 0 44px;
}
.hpe-dashboard-exam-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--hpe-ink);
}
.hpe-dashboard-exam-head small {
  display: block;
  margin-top: 2px;
  color: var(--hpe-muted);
  font-size: 12px;
}
.hpe-dashboard-exam-head .hpe-text-link {
  margin-left: auto;
  color: var(--hpe-brand);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.hpe-dashboard-exam-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hpe-dashboard-exam-metrics > div {
  padding: 10px 12px;
  border: 1px solid #e4ebf4;
  border-radius: 10px;
  background: #fff;
}
.hpe-dashboard-exam-metrics span {
  display: block;
  color: var(--hpe-muted);
  font-size: 11px;
}
.hpe-dashboard-exam-metrics strong {
  display: block;
  margin-top: 4px;
  color: #1c3d63;
  font-size: 16px;
}
.hpe-dashboard-quick-links {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hpe-packages-page {
  flex: 1 0 auto;
  width: 100% !important;
  max-width: none !important;
  padding: clamp(24px, 3vw, 48px) clamp(18px, 3vw, 48px);
  box-sizing: border-box;
}
.hpe-packages-heading { margin-bottom: 22px; }
.hpe-packages-heading h1 {
  margin: 6px 0;
  font-size: clamp(26px, 3vw, 38px);
}
.hpe-packages-heading p { margin: 0; color: var(--hpe-muted); }
.hpe-package-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.hpe-package-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--hpe-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 35, 60, 0.035);
}
.hpe-package-card h2 { margin: 8px 0 4px; font-size: 20px; }
.hpe-package-card p { margin: 0 0 6px; color: var(--hpe-muted); font-size: 13px; }
.hpe-package-card small { color: #5a687c; font-size: 12px; }
.hpe-package-status {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.hpe-package-status.is-active { background: var(--hpe-green-bg); color: var(--hpe-green); }
.hpe-package-status.is-expired,
.hpe-package-status.is-revoked { background: var(--hpe-red-bg); color: var(--hpe-red); }
.hpe-package-status.is-scheduled { background: #eef4fb; color: var(--hpe-brand-dark); }
.hpe-package-empty {
  padding: 28px;
  border: 1px solid var(--hpe-border);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.hpe-shop-section {
  padding: 24px;
  border: 1px solid var(--hpe-border);
  border-radius: 16px;
  background: #fff;
}
.hpe-shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.hpe-shop-product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fbfcfe;
}
.hpe-shop-product h3 { margin: 0; font-size: 17px; }
.hpe-shop-product p { margin: 0; color: var(--hpe-muted); font-size: 13px; flex: 1 1 auto; }

/* Student progress test links and category summary note. */
.hpe-dashboard-exam-standing .hpe-dashboard-section-heading p { max-width: 760px; margin: 8px 0 0; color: var(--hpe-muted); font-size: 13px; }
.hpe-dashboard-exam-tests { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.hpe-dashboard-exam-tests li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #e8edf3; padding-top: 8px; font-size: 13px; }
.hpe-dashboard-exam-tests a { color: var(--hpe-brand-dark); font-weight: 650; text-decoration: none; }
.hpe-dashboard-exam-tests a:hover { text-decoration: underline; }
.hpe-dashboard-exam-tests li span { color: var(--hpe-muted); white-space: nowrap; }

.hpe-access-catalog-page { max-width: 1240px; }
.hpe-access-catalog-hero { padding: clamp(24px,4vw,42px); margin: 0 0 22px; border-radius: 20px; color: #fff; background: linear-gradient(120deg,#194c80 0%,#286eaa 58%,#3788bd 100%); box-shadow: 0 14px 34px rgba(27,79,134,.16); }
.hpe-access-catalog-hero .hpe-eyebrow { color: #d8eafd; }
.hpe-access-catalog-hero h1 { max-width: 850px; margin: 8px 0 10px; color: #fff; font-size: clamp(27px,4vw,42px); line-height: 1.15; }
.hpe-access-catalog-hero p { max-width: 760px; margin: 0; color: #e4f0fb; font-size: 16px; line-height: 1.6; }
.hpe-access-overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 26px; }
.hpe-access-panel { padding: 22px; border: 1px solid var(--hpe-border); border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(20,35,60,.035); }
.hpe-access-panel-heading { margin-bottom: 15px; }
.hpe-access-panel-heading h2,.hpe-access-offers-heading h2 { margin: 4px 0 0; font-size: 22px; }
.hpe-access-existing-list { display: grid; gap: 10px; }
.hpe-access-existing-card { padding: 14px 15px; border: 1px solid #e5ebf2; border-radius: 12px; background: #f9fbfd; }
.hpe-access-existing-card h3 { margin: 8px 0 3px; font-size: 16px; }
.hpe-access-existing-card p { margin: 0; color: var(--hpe-muted); font-size: 13px; }
.hpe-access-empty { padding: 18px; border: 1px dashed #cbd7e4; border-radius: 12px; color: var(--hpe-muted); background: #f9fbfd; line-height: 1.55; }
.hpe-access-needed-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hpe-access-needed-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #e5ebf2; border-radius: 11px; background: #f9fbfd; }
.hpe-access-needed-list li strong { color: #a45617; font-size: 12px; text-align: right; }
.hpe-access-needed-list li.is-covered { border-color: #ccebd8; background: #f0faf4; }
.hpe-access-needed-list li.is-covered strong { color: #168047; }
.hpe-access-offers { margin-top: 8px; }
.hpe-access-offers-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 0 0 14px; }
.hpe-access-offers-heading p { margin: 7px 0 0; color: var(--hpe-muted); font-size: 13px; }
.hpe-access-product-grid { display: grid; gap: 13px; }
.hpe-access-product-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px; border: 1px solid var(--hpe-border); border-radius: 16px; background: #fff; box-shadow: 0 5px 20px rgba(20,35,60,.04); }
.hpe-access-product-copy { min-width: 0; }
.hpe-access-product-label { color: var(--hpe-brand); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.hpe-access-product-card h3 { margin: 5px 0 7px; font-size: 20px; }
.hpe-access-product-card p { max-width: 740px; margin: 0 0 12px; color: var(--hpe-muted); font-size: 13px; line-height: 1.55; }
.hpe-access-product-details { color: #1769aa; font-size: 12px; font-weight: 700; text-decoration: underline !important; }
.hpe-access-product-unlocks { display: flex; flex-wrap: wrap; gap: 4px 7px; color: var(--hpe-muted); font-size: 12px; }
.hpe-access-product-unlocks strong { color: var(--hpe-ink); font-size: 12px; font-weight: 700; }
.hpe-access-product-action { display: flex; flex: 0 0 160px; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.hpe-access-product-price { color: var(--hpe-ink); font-size: 20px; font-weight: 800; }
.hpe-access-product-price del { color: var(--hpe-muted); font-size: 13px; font-weight: 500; }
.hpe-access-product-price ins { text-decoration: none; }
.hpe-access-success,.hpe-access-order-notice,.hpe-access-error { padding: 18px 20px; margin: 0 0 18px; border: 1px solid #ccebd8; border-radius: 13px; background: #f0faf4; color: #1c5134; line-height: 1.55; }
.hpe-access-success p,.hpe-access-order-notice p { margin: 5px 0 13px; }
.hpe-access-order-notice p { margin-bottom: 0; }
.hpe-access-order-notice.is-pending { border-color: #f1ddad; background: #fff9e9; color: #76520e; }
.hpe-access-order-notice.is-attention,.hpe-access-error { border-color: #f1c9c9; background: #fff4f4; color: #8b3030; }
.hpe-access-error { margin-top: 14px; }
.hpe-access-catalog-promo { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; border: 1px solid #d8e5f2; border-radius: 16px; background: linear-gradient(110deg,#fff 0%,#f0f6fc 100%); }
.hpe-access-catalog-promo h2 { margin: 5px 0; font-size: 21px; }
.hpe-access-catalog-promo p { margin: 0; color: var(--hpe-muted); }
.hpe-package-purchase-options .hpe-button { width: auto; min-width: 170px; min-height: 43px; height: auto; padding: 10px 16px; flex: 0 0 auto; }
.hpe-attempt-review-button span { overflow-wrap: anywhere; }
@media(max-width:760px) { .hpe-access-overview-grid { grid-template-columns: 1fr; } .hpe-access-product-card { align-items: stretch; flex-direction: column; gap: 16px; } .hpe-access-product-action { flex: 0 0 auto; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } .hpe-access-product-action .hpe-button { min-width: 140px; } }
@media(max-width:560px) { .hpe-access-panel,.hpe-access-product-card { padding: 16px; } .hpe-access-needed-list li { align-items: flex-start; flex-direction: column; gap: 4px; } .hpe-access-needed-list li strong { text-align: left; } .hpe-access-product-action { align-items: center; flex-direction: row; flex-wrap: wrap; gap: 10px; } .hpe-access-product-action .hpe-button { width: auto; min-width: 130px; min-height: 43px; height: auto; padding: 9px 14px; } .hpe-access-product-price { font-size: 18px; } .hpe-access-catalog-promo { align-items: flex-start; flex-direction: column; } .hpe-access-catalog-promo .hpe-button { width: auto; min-height: 43px; padding: 9px 14px; } .hpe-test-card-action { align-items: flex-start; } .hpe-package-purchase-options { width: min(100%, 220px); } .hpe-package-purchase-options .hpe-button { width: auto; min-width: 150px; min-height: 43px; height: auto; padding: 9px 14px; } }
@media (max-width: 560px) { .hpe-dashboard-exam-tests li { align-items: flex-start; flex-direction: column; gap: 3px; } }


/* Student-friendly empty catalogue state */
.hpe-catalog-under-development > strong { display:block; margin-bottom:8px; color:#203b5b; font-size:20px; }
.hpe-catalog-under-development > p { max-width:720px; margin:0 0 16px; color:#5c6d82; line-height:1.65; }
.hpe-catalog-under-development .hpe-button { display:inline-flex; width:auto; }

.hpe-app-loading { display:flex; min-height:100vh; flex-direction:column; align-items:center; justify-content:center; gap:13px; text-align:center; }
.hpe-app-loading strong { color:var(--hpe-ink); font-size:20px; }
.hpe-app-loading small { color:var(--hpe-muted); font-size:14px; }
.hpe-loading-spinner { display:inline-block; width:42px; height:42px; border:4px solid #dce8f5; border-top-color:var(--hpe-brand); border-radius:50%; animation:hpe-loading-spin .8s linear infinite; }
.hpe-operation-loading { position:fixed; inset:0; z-index:100000; display:grid; place-items:center; padding:20px; background:rgba(241,246,252,.86); backdrop-filter:blur(3px); }
.hpe-operation-loading-panel { display:flex; width:min(440px,100%); flex-direction:column; align-items:center; gap:14px; padding:30px 24px; border:1px solid #d9e4f1; border-radius:16px; background:#fff; box-shadow:0 18px 55px rgba(24,51,84,.16); text-align:center; }
.hpe-operation-loading-panel strong { color:var(--hpe-ink); font-size:17px; line-height:1.45; }
.hpe-operation-loading-panel small { color:var(--hpe-muted); font-size:13px; line-height:1.5; }
@keyframes hpe-loading-spin { to { transform:rotate(360deg); } }
@media (max-width:900px) {
  .hpe-runner { height:auto; min-height:0; max-height:none; overflow:visible; }
  .hpe-runner [data-action="fullscreen"] { display:none; }
  .hpe-runner-layout { height:auto; min-height:0; overflow:visible; }
  .hpe-info-pane { max-height:none; overflow:visible; }
  .hpe-info-scroll { max-height:none; min-height:0; overflow:visible; flex:0 0 auto; }
  .hpe-question-pane { min-height:0; overflow:visible; }
  .hpe-question-scroll { min-height:0; max-height:none; overflow:visible; flex:0 0 auto; }
}

/* Objective numerical answer response: HPE palette colours and compact on-screen keypad. */
.hpe-nat-response { max-width: 420px; margin: 20px 0 24px; padding: 18px; border: 1px solid #d9e3ef; border-radius: 12px; background: #f7f9fc; }
.hpe-nat-label { display:block; margin:0 0 8px; color:var(--hpe-ink); font-size:13px; font-weight:750; }
.hpe-nat-input { display:block; width:100%; min-height:48px; padding:10px 13px; border:1px solid #bdc9d8; border-radius:8px; background:#fff; color:var(--hpe-ink); font-size:20px; font-variant-numeric:tabular-nums; text-align:right; }
.hpe-nat-input:focus { outline:2px solid rgba(37,112,185,.25); border-color:var(--hpe-brand); }
.hpe-nat-input.is-correct { border-color:#4eaa79; background:#f1fbf5; }
.hpe-nat-input.is-incorrect { border-color:#d87878; background:#fff5f5; }
.hpe-nat-keypad { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:12px; }
.hpe-nat-key { min-height:43px; padding:7px 10px; border:1px solid #cfd9e6; border-radius:8px; background:#fff; color:var(--hpe-ink); font-size:16px; font-weight:700; cursor:pointer; box-shadow:0 1px 1px rgba(20,43,70,.04); }
.hpe-nat-key:hover { border-color:#91b5dc; background:#edf5fd; }
.hpe-nat-key:active { transform:translateY(1px); }
.hpe-nat-key.is-wide { grid-column:span 2; font-size:13px; }
.hpe-nat-key.is-clear { grid-column:1 / -1; border-color:#d6c5c5; background:#fff8f8; color:#7d3434; }
.hpe-nat-range { margin:12px 0 0; padding:10px 12px; border-radius:8px; background:#fff; color:var(--hpe-muted); font-size:13px; }
.hpe-practice-check .hpe-control-button { width:auto; min-height:38px; padding:8px 14px; }
@media(max-width:560px) { .hpe-nat-response { max-width:none; padding:14px; } .hpe-nat-key { min-height:46px; } }
/* Optional technical-exam room presentation. The site-default runner remains untouched. */
.hpe-runner-technical {
  --hpe-tech-blue: #167ca8;
  --hpe-tech-blue-dark: #12698f;
  --hpe-tech-blue-pale: #e4f4fb;
  --hpe-tech-gold: #e8bb43;
  --hpe-tech-charcoal: #343638;
  --hpe-tech-border: #c9cdd1;
  height: 100vh;
  min-height: 660px;
  background: #fff;
  color: #17191b;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #b9bec3;
}
.hpe-runner-technical:fullscreen { height: 100vh; min-height: 100vh; }
.hpe-tech-masthead {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr) minmax(55px, 1fr);
  align-items: center;
  min-height: 72px;
  padding: 7px 18px;
  border-bottom: 3px solid var(--hpe-tech-gold);
  background: #fff;
  box-sizing: border-box;
}
.hpe-tech-brand { min-width: 0; display: flex; align-items: center; }
.hpe-tech-logo { display: flex; align-items: center; justify-content: flex-start; max-width: 170px; }
.hpe-tech-logo .hpe-brand-logo-img { display: block; max-width: 154px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.hpe-tech-logo .hpe-brand-wordmark { color: #267bb6; font-size: 22px; font-weight: 800; letter-spacing: .01em; }
.hpe-tech-heading { min-width: 0; text-align: center; }
.hpe-tech-heading strong { display: block; overflow: hidden; color: #614177; font-size: clamp(17px, 1.45vw, 25px); line-height: 1.2; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.hpe-tech-heading span { display: block; margin-top: 3px; color: #28734d; font-size: 13px; font-weight: 700; letter-spacing: .015em; }
.hpe-tech-mark { display: flex; align-items: center; justify-content: center; justify-self: end; width: 43px; height: 43px; border: 2px solid #287eaa; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #287eaa 0 48%, #e6b739 49% 67%, #5b568f 68%); font-size: 12px; font-weight: 900; box-shadow: 0 0 0 3px #f3f6f8, 0 0 0 4px #b8c4cb; }
.hpe-tech-titlebar { z-index: 3; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding: 5px 15px; border-bottom: 2px solid #c1a13b; background: var(--hpe-tech-charcoal); color: #ffe45f; box-sizing: border-box; }
.hpe-tech-titlebar > span { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hpe-tech-title-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.hpe-tech-title-actions button { min-height: 32px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 3px; color: #fff; background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.hpe-tech-title-actions button:hover { border-color: #f0d66b; background: rgba(255,255,255,.1); }
.hpe-runner-technical .hpe-icon-button { min-height: 32px; padding: 5px 10px; border-radius: 3px; border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.08); font-size: 12px; }
.hpe-runner-technical .hpe-icon-button:hover { border-color: #f0d66b; background: rgba(255,255,255,.16); }
.hpe-tech-sessionbar { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; min-height: 52px; padding: 6px 14px; background: #ededed; border-bottom: 1px solid #c9cdd1; box-sizing: border-box; }
.hpe-tech-current-section { display: inline-flex; align-items: center; min-height: 39px; max-width: min(50vw, 420px); overflow: hidden; padding: 0 17px; border: 1px solid var(--hpe-tech-blue); border-radius: 4px 4px 0 0; color: #fff; background: var(--hpe-tech-blue); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hpe-tech-time { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; margin-left: auto; color: #202124; }
.hpe-tech-time span { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hpe-tech-time strong { font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hpe-tech-time strong.is-low-time { color: #b42822; }
.hpe-tech-fullscreen { min-height: 32px; padding: 6px 10px; border: 1px solid #bcc4c9; border-radius: 3px; color: #25465a; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.hpe-tech-sections { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; min-height: 51px; padding: 5px 14px; border-bottom: 1px solid #bfc4c9; background: #fff; box-sizing: border-box; }
.hpe-tech-sections > strong { flex: 0 0 auto; color: #4b5359; font-size: 14px; }
.hpe-tech-sections .hpe-section-tabs { display: flex; flex: 1 1 auto; flex-direction: row; align-items: center; gap: 7px; min-width: 0; overflow-x: auto; padding: 0; border: 0; }
.hpe-runner-technical .hpe-section-tab { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; width: auto; min-height: 36px; padding: 7px 13px; border: 1px solid #d0d5da; border-radius: 2px; color: #176c99; background: #fff; font-size: 13px; white-space: nowrap; }
.hpe-runner-technical .hpe-section-tab small { display: none; }
.hpe-runner-technical .hpe-section-tab.is-current { border-color: var(--hpe-tech-blue); color: #fff; background: var(--hpe-tech-blue); }
.hpe-runner-technical .hpe-section-tab:disabled { opacity: .48; }
.hpe-runner-technical .hpe-tech-sections > .hpe-mobile-palette-button { display: none; }
.hpe-runner-technical .hpe-runner-layout { height: auto; min-height: 0; background: #fff; }
.hpe-runner-technical .hpe-info-pane { background: #fff; }
.hpe-runner-technical .hpe-question-pane { background: #fff; }
.hpe-runner-technical .hpe-palette-pane { flex: 0 0 clamp(280px, 20vw, 380px); border-left: 1px solid #aeb5ba; background: #e7f6fc; }
.hpe-runner-technical .hpe-palette-pane > .hpe-section-tabs { display: none; }
.hpe-tech-candidate { z-index: 1; display: flex; flex: 0 0 auto; align-items: center; gap: 12px; min-height: 89px; padding: 10px 14px; border-bottom: 1px solid #c9d1d6; background: #f8fcfe; }
.hpe-tech-candidate > span { display: flex; flex: 0 0 62px; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid #9eabb5; border-radius: 2px; color: #fff; background: linear-gradient(145deg, #184765, #83a9bc 58%, #244e69); font-size: 18px; font-weight: 800; box-shadow: inset 0 0 0 3px rgba(255,255,255,.28); }
.hpe-tech-candidate div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.hpe-tech-candidate strong { overflow: hidden; color: #243745; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.hpe-tech-candidate small { color: #647785; font-size: 11px; }
.hpe-runner-technical .hpe-palette-heading { order: 3; min-height: 43px; padding: 11px 14px 8px; border: 0; color: #fff; background: var(--hpe-tech-blue); }
.hpe-runner-technical .hpe-palette-heading strong { font-size: 16px; }
.hpe-runner-technical .hpe-palette-heading span { color: rgba(255,255,255,.9); font-size: 10px; }
.hpe-runner-technical .hpe-palette-summary { order: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 9px; padding: 12px 13px; border-bottom: 1px solid #c8dce5; background: #fff; color: #303d45; font-size: 11px; }
.hpe-runner-technical .hpe-palette-summary span { gap: 6px; }
.hpe-runner-technical .hpe-palette-summary b { margin-left: auto; font-size: 12px; }
.hpe-runner-technical .hpe-legend-dot { width: 17px; height: 17px; border-radius: 4px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.hpe-runner-technical .hpe-legend-dot.answered { background: #54b76c; }
.hpe-runner-technical .hpe-legend-dot.unanswered { background: #db6f33; }
.hpe-runner-technical .hpe-legend-dot.notvisited { background: #c9cdd0; }
.hpe-runner-technical .hpe-legend-dot.marked { background: #8758a7; }
.hpe-runner-technical .hpe-legend-dot.review-answered { background: linear-gradient(135deg, #50b56b 0 50%, #8052a3 50% 100%); }
.hpe-runner-technical .hpe-palette-scroll { order: 4; padding: 12px 13px; }
.hpe-runner-technical .hpe-palette-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px 7px; }
.hpe-runner-technical .hpe-palette-question { min-height: 43px; padding: 4px 2px 7px; border: 1px solid #9da5aa; border-radius: 2px; color: #3d4144; background: linear-gradient(#f7f7f7, #d8d8d8); font-size: 15px; font-weight: 500; clip-path: polygon(0 0, 100% 0, 100% 77%, 78% 100%, 22% 100%, 0 77%); }
.hpe-runner-technical .hpe-palette-question:hover:not(:disabled) { border-color: #9b5b19; }
.hpe-runner-technical .hpe-palette-question.is-answered { border-color: #a13e14; color: #fff; background: linear-gradient(#f06421, #c43a0a); }
.hpe-runner-technical .hpe-palette-question.is-visited { border-color: #a45b31; color: #fff; background: linear-gradient(#e99047, #cf6429); }
.hpe-runner-technical .hpe-palette-question.is-unanswered,
.hpe-runner-technical .hpe-palette-question.is-unvisited,
.hpe-runner-technical .hpe-palette-question.is-skipped { color: #3d4144; background: linear-gradient(#f7f7f7, #d8d8d8); }
.hpe-runner-technical .hpe-palette-question.is-marked { border-color: #62358e; color: #fff; background: #8052a3; clip-path: none; border-radius: 50%; }
.hpe-runner-technical .hpe-palette-question.is-marked.is-answered { color: #fff; background: linear-gradient(135deg, #46a85e 0 50%, #8052a3 50% 100%); }
.hpe-runner-technical .hpe-palette-question.is-current { outline: 2px solid #7e3a13; outline-offset: 1px; box-shadow: none; }
.hpe-runner-technical .hpe-palette-footer { order: 5; min-height: 56px; border-top: 1px solid #b8cbd3; background: #e7f6fc; }
.hpe-runner-technical .hpe-palette-footer .hpe-link-button { min-width: 126px; min-height: 41px; padding: 8px 16px; border: 1px solid #1983b2; border-radius: 2px; color: #fff; background: #4c9fc3; font-size: 14px; }
.hpe-runner-technical .hpe-palette-footer .hpe-link-button:hover { background: #167ca8; }
.hpe-runner-technical .hpe-question-topline { display: none; }
.hpe-tech-question-meta { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; padding: 7px 16px; border-bottom: 1px solid #c9cdd1; background: #fff; color: #202124; box-sizing: border-box; }
.hpe-tech-question-meta strong { font-size: 14px; }
.hpe-tech-question-meta span { color: #30363b; font-size: 13px; text-align: right; }
.hpe-tech-question-meta i { margin: 0 3px; color: #68757d; font-style: normal; }
.hpe-tech-question-number { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; min-height: 41px; padding: 6px 12px; border-bottom: 1px solid #d5d9dc; background: #fbfbfb; }
.hpe-tech-question-number strong { color: #141618; font-size: 20px; }
.hpe-runner-technical .hpe-question-scroll { padding: 17px 20px 30px; }
.hpe-runner-technical .hpe-question-content { color: #17191b; font-size: 17px; line-height: 1.55; }
.hpe-runner-technical .hpe-options { gap: 4px; margin: 21px 0 18px; }
.hpe-runner-technical .hpe-option { align-items: flex-start; gap: 11px; padding: 9px 5px; border: 0; border-bottom: 1px solid #ececec; border-radius: 0; background: #fff; }
.hpe-runner-technical .hpe-option:hover { border-color: #d1d8dc; background: #f8fbfc; }
.hpe-runner-technical .hpe-option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--hpe-tech-blue); }
.hpe-runner-technical .hpe-option-letter { display: none; }
.hpe-runner-technical .hpe-option-text { padding-top: 0; color: #202124; font-size: 16px; line-height: 1.5; }
.hpe-runner-technical .hpe-option.is-selected:not(.is-correct):not(.is-incorrect) { border-color: #d7e8ef; background: #f2f9fc; }
.hpe-runner-technical .hpe-solution { border-color: #bdd5e0; border-radius: 2px; }
.hpe-runner-technical .hpe-solution-title { color: #245872; background: #e3f2f8; }
.hpe-runner-technical .hpe-question-controls { gap: 8px; min-height: 62px; padding: 8px 12px; border-top: 1px solid #c5c9cc; background: #f8f8f8; }
.hpe-runner-technical.is-exam .hpe-question-controls [data-action="mark"] { order: 1; }
.hpe-runner-technical.is-exam .hpe-question-controls [data-action="clear"] { order: 2; }
.hpe-runner-technical.is-exam .hpe-question-controls [data-action="previous"] { order: 3; margin-left: auto; }
.hpe-runner-technical.is-exam .hpe-question-controls [data-action="next"] { order: 4; margin-left: 0; }
.hpe-runner-technical .hpe-control-button,
.hpe-runner-technical .hpe-save-next { min-height: 42px; padding: 8px 14px; border: 1px solid #c4c9cd; border-radius: 2px; color: #292d30; background: #fff; font-size: 13px; font-weight: 500; }
.hpe-runner-technical .hpe-save-next { border-color: #126b92; color: #fff; background: var(--hpe-tech-blue); }
.hpe-runner-technical .hpe-save-next:hover { background: var(--hpe-tech-blue-dark); }
.hpe-runner-technical .hpe-nat-response { max-width: 275px; margin: 18px 0 22px; padding: 12px; border: 1px solid #d4d7d9; border-radius: 2px; background: #f3f3f3; }
.hpe-runner-technical .hpe-nat-input { min-height: 42px; border-radius: 2px; font-size: 19px; }
.hpe-runner-technical .hpe-nat-keypad { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.hpe-runner-technical .hpe-nat-key { min-height: 39px; padding: 5px; border: 1px solid #7c8084; border-radius: 7px; color: #17191b; background: #eee; font-size: 17px; box-shadow: none; }
.hpe-runner-technical .hpe-nat-key:hover { border-color: #427f9b; background: #e0f1f7; }
.hpe-runner-technical .hpe-nat-key.is-wide.is-backspace { grid-column: 1 / -1; min-height: 43px; border-radius: 9px; background: #e6e2ed; }
.hpe-runner-technical .hpe-nat-key.is-wide { grid-column: span 1; font-size: 16px; }
.hpe-runner-technical .hpe-nat-key.is-clear { grid-column: 1 / -1; min-height: 43px; border-color: #7c8084; border-radius: 9px; color: #17191b; background: #e6e2ed; font-size: 16px; }
.hpe-runner-technical .hpe-nat-range { border-radius: 2px; }
.hpe-tech-dialog[hidden] { display: none !important; }
.hpe-tech-dialog { position: absolute; inset: 0; z-index: 12000; display: grid; place-items: center; padding: 22px; background: rgba(18, 28, 36, .55); box-sizing: border-box; }
.hpe-tech-dialog-card { display: flex; flex-direction: column; width: min(850px, 100%); max-height: min(78vh, 740px); border: 2px solid #dc9c32; border-radius: 5px; background: #f5f5f5; box-shadow: 0 14px 42px rgba(0,0,0,.3); overflow: hidden; }
.hpe-tech-dialog-card > header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 48px; padding: 7px 16px; color: #fff; background: #347fdf; }
.hpe-tech-dialog-card > header strong { font-size: 16px; }
.hpe-tech-dialog-card > header button { width: 34px; height: 34px; border: 0; color: #fff; background: transparent; font-size: 27px; cursor: pointer; }
.hpe-tech-dialog-content { min-height: 0; overflow: auto; padding: 21px 25px; color: #202124; font-size: 15px; line-height: 1.6; }
.hpe-tech-dialog-content h2,.hpe-tech-dialog-content h3 { color: #243c50; }
.hpe-tech-paper-section + .hpe-tech-paper-section { margin-top: 18px; }
.hpe-tech-paper-section h3 { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 9px; padding-bottom: 7px; border-bottom: 1px solid #cfd6da; font-size: 15px; }
.hpe-tech-paper-section h3 small { color: #63737d; font-size: 11px; font-weight: 500; }
.hpe-tech-paper-section > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 7px; }
.hpe-tech-paper-question { display: flex; justify-content: space-between; gap: 8px; padding: 10px; border: 1px solid #cbd3d8; border-radius: 2px; color: #1d4f69; background: #fff; text-align: left; cursor: pointer; }
.hpe-tech-paper-question span { color: #58676f; font-size: 11px; }
.hpe-tech-paper-question:hover:not(:disabled) { border-color: #2480aa; background: #f0f9fc; }
.hpe-tech-paper-question:disabled { opacity: .45; cursor: not-allowed; }
.hpe-tech-paper-item { margin: 9px 0; padding: 14px; border: 1px solid #d0d7db; border-radius: 2px; background: #fff; }
.hpe-tech-paper-item > header { display: flex; align-items: center; gap: 11px; padding-bottom: 9px; border-bottom: 1px solid #e0e4e6; }
.hpe-tech-paper-item > header > strong { color: #202c34; font-size: 14px; }
.hpe-tech-paper-item > header > span { color: #64737c; font-size: 11px; }
.hpe-tech-paper-item > header > button { margin-left: auto; padding: 6px 10px; border: 1px solid #1979a2; border-radius: 2px; color: #fff; background: #167ca8; font-size: 11px; cursor: pointer; }
.hpe-tech-paper-item > header > button:hover { background: #12698f; }
.hpe-tech-paper-stem { padding-top: 11px; color: #202124; }
.hpe-tech-paper-passage { margin: 8px 0; padding: 10px; border-left: 3px solid #2180a8; background: #f0f6f8; }
.hpe-tech-paper-passage > strong { display: block; margin-bottom: 6px; color: #315667; font-size: 12px; }
.hpe-tech-paper-item > ul { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; }
.hpe-tech-paper-item > ul li { display: flex; gap: 8px; padding: 7px 8px; border-bottom: 1px solid #edf0f2; }
.hpe-tech-paper-item > ul li > strong { flex: 0 0 22px; color: #48616f; }
.hpe-tech-paper-item > ul li > span { min-width: 0; }
.hpe-tech-paper-nat { margin: 10px 0 0; color: #60717a; font-size: 12px; font-style: italic; }
.hpe-tech-paper-loading { padding: 18px; color: #526874; text-align: center; }
.hpe-tech-paper-loading.is-error { color: #a53131; }
@media (max-width: 1100px) {
  .hpe-runner-technical .hpe-palette-pane { flex-basis: 285px; }
  .hpe-tech-candidate { min-height: 76px; }
  .hpe-tech-candidate > span { flex-basis: 52px; width: 52px; height: 52px; }
}
@media (max-width: 900px) {
  .hpe-runner-technical { height: auto; min-height: 0; overflow: visible; }
  .hpe-tech-masthead { grid-template-columns: minmax(120px, 1fr) minmax(0, 2.5fr) 42px; min-height: 65px; padding: 7px 10px; }
  .hpe-tech-logo .hpe-brand-logo-img { max-width: 128px; max-height: 42px; }
  .hpe-tech-heading strong { font-size: 17px; }
  .hpe-tech-heading span { font-size: 10px; }
  .hpe-tech-mark { width: 34px; height: 34px; font-size: 10px; }
  .hpe-tech-titlebar { align-items: flex-start; flex-direction: column; gap: 4px; padding: 6px 10px; }
  .hpe-tech-title-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .hpe-tech-sessionbar { min-height: 46px; padding: 5px 9px; }
  .hpe-tech-sections { align-items: flex-start; flex-wrap: wrap; gap: 5px 10px; padding: 7px 9px; }
  .hpe-tech-sections > strong { padding-top: 8px; }
  .hpe-tech-sections .hpe-section-tabs { order: 2; flex-basis: 100%; }
  .hpe-runner-technical .hpe-tech-sections > .hpe-mobile-palette-button { display: inline-flex; order: 1; margin-left: auto; }
  .hpe-runner-technical .hpe-section-tab { min-height: 34px; padding: 6px 9px; }
  .hpe-runner-technical .hpe-palette-pane { flex-basis: auto; }
  .hpe-runner-technical .hpe-palette-pane > .hpe-section-tabs { display: none; }
  .hpe-runner-technical .hpe-question-pane { min-height: 520px; }
  .hpe-runner-technical .hpe-question-controls { position: sticky; bottom: 0; flex-wrap: wrap; }
  .hpe-runner-technical.is-exam .hpe-question-controls [data-action="previous"] { margin-left: 0; }
  .hpe-tech-dialog { position: fixed; padding: 12px; }
  .hpe-tech-dialog-card { max-height: min(86vh, 740px); }
}
@media (max-width: 560px) {
  .hpe-tech-masthead { grid-template-columns: minmax(0, 1fr) 38px; gap: 5px; }
  .hpe-tech-brand { display: none; }
  .hpe-tech-heading { grid-column: 1; text-align: left; }
  .hpe-tech-heading strong { white-space: normal; }
  .hpe-tech-mark { grid-column: 2; grid-row: 1; }
  .hpe-tech-titlebar > span { font-size: 12px; }
  .hpe-tech-title-actions button { min-height: 30px; padding: 4px 7px; font-size: 11px; }
  .hpe-tech-current-section { max-width: 58vw; min-height: 35px; padding: 0 10px; font-size: 12px; }
  .hpe-tech-time strong { font-size: 16px; }
  .hpe-tech-sections > strong { font-size: 12px; }
  .hpe-tech-sections .hpe-section-tabs { gap: 5px; }
  .hpe-runner-technical .hpe-question-scroll { padding: 13px 12px 23px; }
  .hpe-tech-question-meta { align-items: flex-start; flex-direction: column; gap: 3px; padding: 7px 10px; }
  .hpe-tech-question-meta span { text-align: left; font-size: 11px; }
  .hpe-tech-question-number { min-height: 36px; padding: 5px 10px; }
  .hpe-tech-question-number strong { font-size: 17px; }
  .hpe-runner-technical .hpe-question-controls { gap: 5px; padding: 7px; }
  .hpe-runner-technical .hpe-control-button, .hpe-runner-technical .hpe-save-next { flex: 1 1 auto; min-height: 39px; padding: 6px 8px; font-size: 11px; }
  .hpe-runner-technical.is-exam .hpe-question-controls [data-action="previous"] { margin-left: 0; }
  .hpe-tech-candidate { min-height: 66px; padding: 7px 10px; }
  .hpe-tech-candidate > span { flex-basis: 48px; width: 48px; height: 48px; }
  .hpe-tech-candidate strong { font-size: 14px; }
  .hpe-tech-dialog-content { padding: 15px; font-size: 14px; }
  .hpe-tech-paper-section > div { grid-template-columns: 1fr; }
}
/* Technical-room scientific calculator and review palette states */
.hpe-tech-calculator-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 34px; padding: 4px 11px; border: 1px solid #d4901d; border-radius: 4px; color: #fff; background: #e99a22; box-shadow: 0 1px 2px rgba(0,0,0,.14); font-size: 13px; font-weight: 700; cursor: pointer; }
.hpe-tech-calculator-toggle:hover { background: #d98313; }
.hpe-tech-calculator-dialog { place-items: start end; padding: 72px 16px 16px; background: transparent; pointer-events: none; }
.hpe-tech-calculator-dialog .hpe-tech-dialog-card { width: min(730px, 100%); max-height: min(82vh, 760px); border-color: #dc9c32; pointer-events: auto; }
.hpe-tech-calculator-dialog .hpe-tech-dialog-card > header { min-height: 43px; padding: 4px 10px 4px 14px; }
.hpe-tech-calculator-dialog .hpe-tech-dialog-card > header > div { display: flex; align-items: center; gap: 6px; }
.hpe-tech-calculator-dialog .hpe-calc-header-button { width: auto; min-width: 40px; height: 31px; padding: 3px 10px; border: 1px solid rgba(25,60,130,.35); border-radius: 3px; background: #376aca; font-size: 12px; font-weight: 700; }
.hpe-tech-calculator-dialog .hpe-calc-header-button:hover { background: #2b58ac; }
.hpe-tech-calculator-dialog .hpe-calc-content { padding: 10px; background: #dedede; }
.hpe-calc-expression,.hpe-calc-output { display: flex; align-items: center; justify-content: flex-end; min-height: 38px; padding: 4px 10px; border: 1px solid #b6b6b6; border-radius: 3px; background: #fff; color: #202124; font: 16px/1.3 ui-monospace,Consolas,monospace; overflow: hidden; }
.hpe-calc-expression { color: #67717a; }
.hpe-calc-output { min-height: 42px; margin-top: 6px; font-size: 21px; font-weight: 700; }
.hpe-calc-error { min-height: 17px; padding: 2px 4px 0; color: #ad2d25; font-size: 11px; }
.hpe-calc-keypad { display: grid; gap: 5px; }
.hpe-calc-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.hpe-calc-row:last-child { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.hpe-calc-key { min-width: 0; min-height: 35px; padding: 3px 2px; border: 1px solid #b5b5b5; border-radius: 4px; color: #252525; background: linear-gradient(#fff, #ececec); box-shadow: 0 1px 1px rgba(0,0,0,.12); font-size: 13px; font-weight: 600; cursor: pointer; }
.hpe-calc-key:hover { border-color: #4b82d6; background: #f5f8ff; }
.hpe-calc-key.is-operator { background: linear-gradient(#f4f4f4, #ddd); }
.hpe-calc-key.is-angle { color: #254b88; background: #e8effc; }
.hpe-calc-key.is-clear { color: #fff; background: #db514b; }
.hpe-calc-key.is-equals { border-color: #179b59; color: #fff; background: #23b96b; font-size: 16px; }
.hpe-calc-help { min-height: 180px; padding: 6px 12px; color: #26292c; font-size: 14px; line-height: 1.5; }
.hpe-calc-help h3 { margin: 4px 0 10px; }
.hpe-calc-help ul { margin: 8px 0; padding-left: 22px; }
.hpe-tech-calculator-dialog .hpe-tech-dialog-card.is-minimized .hpe-tech-dialog-content { display: none; }
.hpe-runner-technical.is-review .hpe-palette-question.is-correct,
.hpe-runner-technical.is-review .hpe-palette-question.is-marked.is-correct { border-color: #8052a3; color: #fff; background: #219653; }
.hpe-runner-technical.is-review .hpe-palette-question.is-incorrect,
.hpe-runner-technical.is-review .hpe-palette-question.is-marked.is-incorrect { border-color: #8052a3; color: #fff; background: #d83f42; }
.hpe-runner-technical.is-review .hpe-palette-question.is-marked.is-skipped,
.hpe-runner-technical.is-review .hpe-palette-question.is-marked.is-unvisited { border-color: #7044ad; color: #fff; background: #8f64c9; }
@media (max-width: 720px) {
  .hpe-tech-calculator-dialog { place-items: start center; padding: 62px 8px 8px; }
  .hpe-tech-calculator-dialog .hpe-tech-dialog-card { width: min(560px, 100%); max-height: 84vh; }
  .hpe-calc-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hpe-calc-row:last-child { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hpe-calc-key { min-height: 39px; font-size: 14px; }
  .hpe-tech-calculator-toggle { min-height: 31px; padding: 3px 8px; font-size: 11px; }
}
/* Live technical exam palette follows its legend: answered is green, visited without an answer is orange. */
.hpe-runner-technical.is-exam .hpe-palette-question.is-answered { border-color: #258149; color: #fff; background: linear-gradient(#62bd78, #2b9c55); }
.hpe-runner-technical.is-exam .hpe-palette-question.is-visited { border-color: #a45b31; color: #fff; background: linear-gradient(#e99047, #cf6429); }
.hpe-runner-technical.is-exam .hpe-palette-question.is-marked.is-answered { border-color: #68408e; color: #fff; background: linear-gradient(135deg, #46a85e 0 50%, #8052a3 50% 100%); }
/* Scientific calculator keypad arranged to match the compact technical-exam calculator layout. */
.hpe-tech-calculator-dialog .hpe-tech-dialog-card { width: min(710px, 100%); max-height: min(84vh, 520px); border: 1px solid #aaa; border-radius: 5px; background: #d8d8d8; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hpe-tech-calculator-dialog .hpe-tech-dialog-card > header { min-height: 58px; padding: 5px 11px 5px 15px; background: #4285ed; }
.hpe-tech-calculator-dialog .hpe-tech-dialog-card > header strong { font-size: 20px; font-weight: 500; }
.hpe-tech-calculator-dialog .hpe-tech-dialog-card > header > div { gap: 8px; }
.hpe-tech-calculator-dialog .hpe-calc-header-button { min-width: 42px; height: 34px; background: #55b9e6; font-size: 14px; }
.hpe-tech-calculator-dialog .hpe-calc-content { padding: 15px 16px 17px; background: #d8d8d8; }
.hpe-calc-expression,.hpe-calc-output { min-height: 43px; padding: 4px 8px; border: 1px solid #b5b5b5; border-radius: 5px; background: #fff; color: #181818; font: 17px/1.3 Arial,sans-serif; }
.hpe-calc-output { min-height: 45px; margin-top: 9px; font-size: 25px; font-weight: 400; }
.hpe-calc-error { min-height: 0; padding: 0; }
.hpe-calc-toolbar { display: flex; align-items: center; gap: 12px; min-height: 39px; margin: 10px 0 12px; }
.hpe-calc-toolbar .hpe-calc-key { flex: 0 0 53px; min-height: 34px; }
.hpe-calc-angle-group { display: flex; align-items: center; gap: 9px; }
.hpe-calc-angle-option { display: inline-flex; align-items: center; gap: 4px; color: #202124; font-size: 13px; cursor: pointer; }
.hpe-calc-angle-option input { width: 18px; height: 18px; margin: 0; accent-color: #1479f6; }
.hpe-calc-memory-group { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hpe-calc-toolbar .hpe-calc-memory { flex-basis: 53px; min-height: 34px; }
.hpe-calc-keypad { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-auto-rows: minmax(36px, auto); gap: 7px; }
.hpe-calc-key { min-width: 0; min-height: 36px; padding: 3px 2px; border: 1px solid #b7b7b7; border-radius: 5px; color: #242424; background: linear-gradient(#fff, #f0f0f0); box-shadow: 0 2px 0 #aaa; font: 600 15px/1.1 Arial,sans-serif; cursor: pointer; }
.hpe-calc-key:hover { border-color: #4686e7; background: #f6f9ff; }
.hpe-calc-key.is-operator { background: linear-gradient(#fff, #ececec); }
.hpe-calc-key.is-clear,.hpe-calc-key.is-backspace { border-color: #c73d37; color: #fff; background: #e8463e; box-shadow: 0 2px 0 #b8322d; }
.hpe-calc-key.is-backspace { font-size: 22px; }
.hpe-calc-key.is-equals { grid-row: span 2; border-color: #1cad62; color: #fff; background: #28c878; box-shadow: 0 2px 0 #139a55; font-size: 22px; }
.hpe-calc-key.is-tall { grid-row: span 2; }
.hpe-calc-keypad .hpe-calc-key.is-equals { align-self: stretch; }
@media (max-width: 720px) {
  .hpe-tech-calculator-dialog .hpe-tech-dialog-card { max-height: 84vh; }
  .hpe-tech-calculator-dialog .hpe-calc-content { padding: 9px; overflow: auto; }
  .hpe-calc-toolbar { gap: 5px; }
  .hpe-calc-toolbar .hpe-calc-key,.hpe-calc-toolbar .hpe-calc-memory { flex-basis: 38px; min-height: 31px; font-size: 11px; }
  .hpe-calc-memory-group { gap: 3px; }
  .hpe-calc-angle-option { gap: 2px; font-size: 11px; }
  .hpe-calc-angle-option input { width: 15px; height: 15px; }
  .hpe-calc-keypad { gap: 4px; grid-auto-rows: minmax(33px, auto); }
  .hpe-calc-key { min-height: 33px; font-size: clamp(8px, 2vw, 13px); }
}