/* Light reference header and permanently reachable completion controls. */
html:has(body.d3){height:auto;min-height:100%;scroll-padding-top:132px}
body.d3{--site-header-height:92px;height:auto;min-height:100vh;padding-top:var(--site-header-height)}
.d3>header,.d3.testing-mode>header{
 position:fixed!important;top:0!important;left:var(--sidebar-size,204px)!important;right:0!important;
 width:auto;margin:0!important;min-height:var(--site-header-height);z-index:190;
 background:url('reference-header.svg?v=20261028-6') center bottom/100% 100% no-repeat,#f6fbff!important;
 border-bottom:1px solid #d6e6f2;box-shadow:0 3px 15px #204c6b0c;color:#28597d;
}
.d3>header .container{min-height:var(--site-header-height);height:var(--site-header-height);box-sizing:border-box}
.d3 .d3-breadcrumb{color:#245578;font-weight:600}
.d3 .timer{color:#18577e}.d3 .timer-container i{color:#4796ba}
.d3 .timer.warning{color:#a67c28}.d3 .timer.danger{color:#c15d59}
.d3 #go-admin-btn{background:#ffffffb8!important;border-color:#cbdfee!important;color:#477b9c!important}
.d3 #score-circle .score-label{display:none}
.d3 #jump-to-question{top:calc(var(--site-header-height) + 20px)}
.d3 .single-question-container,.d3 .review-section,.d3 .detailed-results{scroll-margin-top:calc(var(--site-header-height) + 20px)}
.d3 .skipped-questions-container{overflow:visible}
.d3 .skipped-actions{
 position:sticky;top:calc(var(--site-header-height) + 12px);z-index:40;
 display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;
 margin:0 0 22px!important;padding:14px!important;background:#fffffffa;
 border:1px solid #dbe8f1!important;border-radius:12px;box-shadow:0 5px 20px #1c476c12;
}
.d3 .skipped-actions .btn{min-height:46px;white-space:normal;line-height:1.45;cursor:pointer}
.d3 .skipped-actions #skip-all-skipped-btn{order:-1;background:linear-gradient(110deg,#1762cd,#0b9bd6);color:white;border:0;font-weight:600}
.d3 .skipped-actions #answer-all-skipped-btn{background:#f0f8f5;border:1px solid #d4e9df;color:#428d76}
.d3 .skipped-actions #review-skipped-btn{background:#f6f9fc;border:1px solid #dce7ef;color:#7293ab}
.d3-admin .topbar{background:url('reference-header.svg?v=20261028-6') center bottom/100% 100% no-repeat,#f6fbff;color:#28597d}
.d3-admin .topbar h1,.d3-admin .topbar #page-title{color:#28597d}
@media(min-width:2200px){body.d3{--site-header-height:110px}.d3 .skipped-actions{padding:18px!important;gap:14px}.d3 .skipped-actions .btn{font-size:17px;min-height:54px;padding:14px 22px}}
@media(max-width:800px){
 html:has(body.d3){scroll-padding-top:92px}body.d3{--site-header-height:72px}
 .d3>header,.d3.testing-mode>header{left:0!important}
 .d3 .skipped-actions{gap:8px;padding:11px!important;top:calc(var(--site-header-height) + 8px)}
 .d3 .skipped-actions .btn{flex:1 1 40%;font-size:12px;min-width:0;min-height:44px;padding:10px}
 .d3 .skipped-actions #skip-all-skipped-btn{flex:1 1 100%}
}
.d3>header,.d3.testing-mode>header{z-index:220}

/* The catalog exposes only the destinations available before a test starts. */
.d3:has(#json-upload-container:not([style*="display: none"]):not([style*="display:none"])) :is(.d3-testing-link,.d3-results-link,#header-actions){display:none!important}
@media(max-width:800px){
 .d3:has(#json-upload-container:not([style*="display: none"]):not([style*="display:none"])) .d3-admin-link{display:block;grid-column:2;justify-self:end;margin:0;padding:8px 9px;font-size:11px}
}
