/* NKORANMAN SHS student entrance header: scoped to the student quiz page only. */
body[data-workspace-design="student-quiz"] .quiz-access-shell > .nk-student-hero{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:26px;
  width:100%;margin:0 0 24px;padding:32px 38px !important;min-height:210px;
  border:1px solid rgba(127,205,255,.4)!important;border-radius:26px!important;
  background:linear-gradient(112deg,#081d47 0%,#0b3e7d 47%,#0870bc 83%,#10a5d3 100%)!important;
  color:#fff!important;box-shadow:0 20px 48px rgba(9,43,87,.17)!important;overflow:hidden;
}
body[data-workspace-design="student-quiz"] .nk-student-hero::before{content:"";position:absolute;width:340px;height:340px;right:7%;top:-190px;border:58px solid rgba(255,255,255,.08);border-radius:50%;pointer-events:none}
body[data-workspace-design="student-quiz"] .nk-student-hero::after{content:"";position:absolute;width:320px;height:320px;right:-100px;bottom:-250px;border:52px solid rgba(100,225,255,.17);border-radius:50%;pointer-events:none}
body[data-workspace-design="student-quiz"] .nk-hero-brand{display:flex;align-items:center;gap:25px;position:relative;z-index:1;min-width:0}
body[data-workspace-design="student-quiz"] .nk-hero-logo{display:grid;place-items:center;flex:0 0 105px;width:105px;height:105px;border-radius:26px;background:#ffffffed;border:2px solid rgba(255,255,255,.65);box-shadow:0 8px 25px #02193855;padding:12px}
body[data-workspace-design="student-quiz"] .nk-hero-logo img{width:100%;height:100%;object-fit:contain}
body[data-workspace-design="student-quiz"] .nk-hero-text{min-width:0;position:relative;z-index:1}
body[data-workspace-design="student-quiz"] .nk-hero-eyebrow{display:block!important;font-size:12px!important;font-weight:800;letter-spacing:.18em!important;color:#baf0ff!important;margin:0 0 7px}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-school{font-size:clamp(40px,6.2vw,72px)!important;line-height:.98;margin:0 0 10px!important;font-weight:950;letter-spacing:.045em;color:#fff!important;text-shadow:0 3px 10px #04193655}
body[data-workspace-design="student-quiz"] .nk-hero-subtitle{font-size:clamp(14px,1.7vw,21px);font-weight:850;letter-spacing:.13em;color:#ffe3a0}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-message{font-size:15px!important;line-height:1.55!important;color:#edf8ff!important;margin:10px 0 0!important;max-width:650px}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;align-self:flex-start;background:#fff;color:#0a4f8a!important;border:1px solid #d9ecff;border-radius:999px;padding:11px 18px;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 5px 16px #06254933;transition:transform .15s ease,background .15s ease}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home:hover{background:#eaf8ff;transform:translateY(-1px)}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:750px){body[data-workspace-design="student-quiz"] .quiz-access-shell > .nk-student-hero{padding:25px 20px!important;gap:18px;flex-direction:column;align-items:stretch;min-height:0;border-radius:20px!important}body[data-workspace-design="student-quiz"] .nk-hero-brand{gap:14px;align-items:flex-start}body[data-workspace-design="student-quiz"] .nk-hero-logo{flex-basis:68px;width:68px;height:68px;border-radius:16px;padding:7px}body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-school{font-size:clamp(36px,10vw,54px)!important}body[data-workspace-design="student-quiz"] .nk-hero-eyebrow{font-size:10px!important;letter-spacing:.1em!important}body[data-workspace-design="student-quiz"] .nk-hero-subtitle{font-size:13px;letter-spacing:.07em}body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-message{font-size:13px!important}body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home{align-self:flex-end;padding:8px 14px}}
@media(prefers-reduced-motion:reduce){body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home{transition:none}}
body[data-workspace-design="student-quiz"].high-contrast .nk-student-hero{background:#000!important;border:2px solid #fff!important}

/* The code-entry step is distraction-free once the student enables fullscreen. */
body.nk-code-only-view .quiz-access-shell > .nk-student-hero,
body.nk-code-only-view .quiz-access-shell > .quiz-hero,
body.nk-code-only-view .quiz-access-shell > .accessibility-tools,
body.nk-code-only-view #codeEntry .code-entry-hero{display:none!important}
body.nk-code-only-view #codeEntry{width:min(100%,760px);margin:30px auto;padding:clamp(16px,3vw,28px);border-radius:24px}
body.nk-code-only-view #codeEntry .code-entry-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
body.nk-code-only-view #codeEntry .code-entry-rules,
body.nk-code-only-view #codeEntry .code-entry-form{width:100%;max-width:none}
body.nk-code-only-view #codeEntry .code-entry-rules{padding:22px 24px}
body.nk-code-only-view #codeEntry .code-entry-rules h3{font-size:clamp(20px,3vw,26px);margin:0 0 12px}
body.nk-code-only-view #codeEntry .code-entry-form{padding:22px 24px}
body.nk-code-only-view #codeEntry #codeForm{max-width:none}
@media(max-width:600px){body.nk-code-only-view #codeEntry{margin:12px auto;padding:14px}body.nk-code-only-view #codeEntry .code-entry-rules,body.nk-code-only-view #codeEntry .code-entry-form{padding:16px}}

/* NKORANMAN SHS: premium branded entrance, no change to exam or fullscreen behavior. */
body[data-workspace-design="student-quiz"] .quiz-access-shell > .nk-student-hero{
  background:linear-gradient(118deg,#091a44 0%,#122f74 41%,#136cb1 78%,#06a7b7 100%)!important;
  border:1px solid rgba(190,228,255,.48)!important;
  box-shadow:0 24px 54px rgba(5,29,81,.20),inset 0 1px 0 rgba(255,255,255,.23)!important;
  min-height:242px;padding:39px 42px!important;
}
body[data-workspace-design="student-quiz"] .nk-hero-logo{position:relative;background:linear-gradient(155deg,#fffef5,#eaf2ff);border:2px solid #ffdea0;flex-basis:112px;width:112px;height:112px;box-shadow:0 10px 36px #02133e66,0 0 0 6px #ffffff1a}
body[data-workspace-design="student-quiz"] .nk-hero-monogram{font-size:43px;font-weight:950;color:#12427d;letter-spacing:-.075em;line-height:1}
body[data-workspace-design="student-quiz"] .nk-hero-logo-mark{position:absolute;right:13px;top:12px;color:#e6a931;font-size:20px}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-school{font-size:clamp(36px,5.1vw,70px)!important;line-height:1.02;letter-spacing:.005em;max-width:900px;margin-bottom:12px!important;text-wrap:balance}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-school span{color:#ffe19b;white-space:nowrap}
body[data-workspace-design="student-quiz"] .nk-hero-subtitle{display:inline-block;padding:7px 13px;border:1px solid #ffffff4b;border-radius:100px;background:#ffffff16;font-size:clamp(11px,1.4vw,15px);letter-spacing:.12em;color:#fff0b8}
body[data-workspace-design="student-quiz"] .nk-hero-eyebrow{color:#bfefff!important}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-message{font-size:16px!important;max-width:700px}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home{color:#092e60!important;background:linear-gradient(150deg,#fff,#e9f5ff);border:1px solid #c7e8ff;padding:12px 20px}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home:hover{background:#fff4d9;transform:translateY(-2px)}
body[data-workspace-design="student-quiz"] #codeEntry .nk-code-monogram{font-weight:950;font-size:28px;color:#0e5ba5;letter-spacing:-.08em}
body[data-workspace-design="student-quiz"] #codeEntry .code-entry-school{font-size:clamp(19px,3vw,27px);letter-spacing:0}
@media(max-width:750px){
 body[data-workspace-design="student-quiz"] .quiz-access-shell > .nk-student-hero{padding:27px 21px!important;min-height:0}
 body[data-workspace-design="student-quiz"] .nk-hero-logo{flex-basis:72px;width:72px;height:72px;border-radius:18px}
 body[data-workspace-design="student-quiz"] .nk-hero-monogram{font-size:29px}
 body[data-workspace-design="student-quiz"] .nk-hero-logo-mark{font-size:15px;top:5px;right:8px}
 body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-school{font-size:clamp(30px,8vw,53px)!important;letter-spacing:0}
 body[data-workspace-design="student-quiz"] .nk-hero-subtitle{letter-spacing:.04em}
}
/* Fullscreen code-only view retains the previous deliberate simplified layout. */
body[data-workspace-design="student-quiz"].nk-code-only-view .quiz-access-shell > .nk-student-hero{display:none!important}

/* Actual school crest replaces the former NS monogram in the header and access card. */
body[data-workspace-design="student-quiz"] .nk-hero-logo img{display:block;width:100%;height:100%;object-fit:contain;}
body[data-workspace-design="student-quiz"] #codeEntry .code-entry-logo-wrap img{display:block;width:100%;height:100%;object-fit:contain;}

/* Compact, professional NKORANMAN SHS entrance banner. */
body[data-workspace-design="student-quiz"] .quiz-access-shell > .nk-student-hero{
  min-height:0!important;
  padding:20px 26px!important;
  margin:0 0 18px!important;
  gap:18px!important;
  border-radius:20px!important;
}
body[data-workspace-design="student-quiz"] .nk-hero-brand{gap:17px!important}
body[data-workspace-design="student-quiz"] .nk-hero-logo{
  flex-basis:76px!important;width:76px!important;height:76px!important;
  border-radius:18px!important;padding:8px!important;
}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-school{
  font-size:clamp(30px,4vw,48px)!important;line-height:1.04!important;
  margin:0 0 7px!important;letter-spacing:.015em!important;
}
body[data-workspace-design="student-quiz"] .nk-hero-eyebrow{
  font-size:10px!important;letter-spacing:.14em!important;margin-bottom:5px!important;
}
body[data-workspace-design="student-quiz"] .nk-hero-subtitle{
  padding:5px 10px!important;font-size:11px!important;letter-spacing:.09em!important;
}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-message{
  margin-top:7px!important;font-size:13px!important;line-height:1.45!important;max-width:620px!important;
}
body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-home{
  padding:9px 15px!important;font-size:12px!important;
}
body[data-workspace-design="student-quiz"].quiz-attempt-active .quiz-access-shell > .nk-student-hero{
  display:none!important;
}
@media(max-width:750px){
  body[data-workspace-design="student-quiz"] .quiz-access-shell > .nk-student-hero{
    padding:16px!important;gap:12px!important;border-radius:16px!important;
  }
  body[data-workspace-design="student-quiz"] .nk-hero-brand{gap:12px!important}
  body[data-workspace-design="student-quiz"] .nk-hero-logo{
    flex-basis:60px!important;width:60px!important;height:60px!important;border-radius:14px!important;
  }
  body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-school{
    font-size:clamp(25px,7.5vw,38px)!important;
  }
  body[data-workspace-design="student-quiz"] .nk-hero-subtitle{
    font-size:10px!important;letter-spacing:.04em!important;
  }
  body[data-workspace-design="student-quiz"] .nk-student-hero .nk-hero-message{
    font-size:12px!important;
  }
}
