.question-map-card{min-width:0;align-self:start}
.question-map-panel{width:100%;border:1px solid #c4d4e0;border-radius:14px;background:#f5f8fc;color:#19334f;overflow:hidden}
.question-map-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:12px 14px;cursor:pointer;list-style:none}
.question-map-heading::-webkit-details-marker{display:none}
.question-map-title-group{display:grid;gap:3px}
.question-map-title-group strong{font-size:1rem;color:#19334f}
.question-map-title-group small{font-size:.82rem;color:#4e667b}
.question-map-count{white-space:nowrap;color:#315d65;font-size:.82rem;font-weight:700}
.question-map-content{padding:0 13px 14px}
.question-map-current{padding:8px 10px;border-radius:9px;background:#e7eff5;color:#19334f;font-weight:700}
.question-map-counts{display:flex;flex-wrap:wrap;gap:7px 12px;margin:10px 0;color:#38546b;font-size:.82rem}
.question-map-counts .is-skipped{color:#8a5700;font-weight:700}
.question-map-counts .is-marked{color:#785a00;font-weight:700}
.question-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:7px;max-height:min(42vh,400px);overflow:auto;padding:2px}
.question-map-button{position:relative;min-width:38px;min-height:38px;border:1px solid #aebfcd;border-radius:9px;background:#fff;color:#19334f;font:inherit;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.question-map-button:hover{transform:translateY(-1px);border-color:#1676c2}
.question-map-button.is-answered:not(.is-current){background:#dcefe6;border-color:#31825c;color:#164c32}
.question-map-button.is-unanswered:not(.is-current){background:#f5f8fc;border-style:dashed;border-color:#74899a;color:#334e63}
.question-map-button.is-skipped:not(.is-current){background:#fff1d0;border-color:#bc801a;color:#5e420e}
.question-map-button.is-current{background:#1676c2;border:2px solid #0c4f91;color:#fff;box-shadow:0 0 0 2px #c4e0fa}
.question-map-button.is-marked:after{content:"★";position:absolute;inset-block-start:-8px;inset-inline-end:-5px;font-size:12px;line-height:1;color:#8b6500;text-shadow:0 1px 2px #fff}
.question-map-button.is-current.is-marked:after{color:#ffdc66;text-shadow:0 1px 2px #10344f}
.question-map-button:focus-visible,.question-map-heading:focus-visible{outline:3px solid #1676c2;outline-offset:2px}
.question-map-legend{display:flex;flex-wrap:wrap;gap:8px 12px;padding-top:12px;color:#38546b;font-size:.8rem}
.question-map-legend-item{display:inline-flex;align-items:center;gap:5px}
.question-map-legend-symbol{display:inline-grid;place-items:center;width:19px;height:19px;border:1px solid currentColor;border-radius:6px;font-size:.75rem;font-style:normal;font-weight:700}
.question-map-legend-item.is-current .question-map-legend-symbol{background:#1676c2;border-color:#0c4f91;color:#fff}
.question-map-legend-item.is-answered .question-map-legend-symbol{background:#dcefe6;color:#164c32}
.question-map-legend-item.is-unanswered .question-map-legend-symbol{background:#f5f8fc;color:#334e63}
.question-map-legend-item.is-skipped .question-map-legend-symbol,.question-map-legend-item.is-marked .question-map-legend-symbol{background:#fff1d0;color:#6a4b0a}
.assessment-scope-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.assessment-scope-options .student-test-card{min-width:0}
.assessment-scope-options .student-test-card h4{color:var(--ink,#19334f)}
.assessment-pool-status{font-weight:700;color:#34556d!important}
.assessment-unavailable-reason{display:block;margin-top:8px;color:#704c12;line-height:1.6}
.assessment-availability-message{line-height:1.7}
html[data-theme="dark"] .question-map-panel{background:#10243a;border-color:#365873;color:#eef7ff}
html[data-theme="dark"] .question-map-title-group strong{color:#f1f7fb}
html[data-theme="dark"] .question-map-title-group small,html[data-theme="dark"] .question-map-legend{color:#c4d4df}
html[data-theme="dark"] .question-map-count{color:#9be3df}
html[data-theme="dark"] .question-map-current{background:#18364c;color:#eef7ff}
html[data-theme="dark"] .question-map-counts{color:#c8d8e2}
html[data-theme="dark"] .question-map-counts .is-skipped,html[data-theme="dark"] .question-map-counts .is-marked{color:#ffdb78}
html[data-theme="dark"] .question-map-button{background:#142d44;border-color:#587287;color:#eef7ff}
html[data-theme="dark"] .question-map-button.is-answered:not(.is-current){background:#153d35;border-color:#3ca989;color:#d8fff0}
html[data-theme="dark"] .question-map-button.is-unanswered:not(.is-current){background:#142d44;border-color:#7890a2;color:#e4edf4}
html[data-theme="dark"] .question-map-button.is-skipped:not(.is-current){background:#493918;border-color:#dbaf4d;color:#fff0c4}
html[data-theme="dark"] .question-map-button.is-current{background:#176fc1;border-color:#72c9ef;color:#fff;box-shadow:0 0 0 2px #163f5b}
html[data-theme="dark"] .question-map-button.is-marked:after{color:#ffdc66;text-shadow:0 1px 3px #000}
html[data-theme="dark"] .question-map-button:focus-visible,html[data-theme="dark"] .question-map-heading:focus-visible{outline-color:#83e0ea}
html[data-theme="dark"] .assessment-pool-status{color:#c9d9e5!important}
html[data-theme="dark"] .assessment-unavailable-reason{color:#ffdc9a}
@media(max-width:760px){
  .assessment-scope-options{grid-template-columns:1fr}
  .contentgrid:has(.question-map-card){grid-template-columns:minmax(0,1fr)!important}
  .exam-layout:has(.question-map-card){grid-template-columns:minmax(0,1fr)!important}
  .question-map-card{order:2}
  .question-map-content{padding-inline:10px}
  .question-map-grid{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));max-height:34vh}
}
