/*========================================================
  WTC PHASE 4 — OFFICIAL IDENTITY AND SCOPE LOCK
  Official SVG assets remain unmodified and hash-locked.
========================================================*/
body.wtc-reference-identity::before,
body.login-page::before {
  content: '';
  position: fixed;
  z-index: 10000;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #243a73, #c6a243 32%, #0b5a47 68%, #c6a243);
}

.official-masthead {
  position: relative;
  min-height: 258px;
  overflow: visible;
  isolation: isolate;
  background: linear-gradient(90deg, #fff 0 49.5%, #08483a 49.5% 100%);
  border-bottom: 2px solid #c6a243;
  box-shadow: 0 8px 24px rgba(20, 40, 34, 0.09);
}

.official-side {
  position: absolute;
  inset-block-start: 0;
  height: 184px;
  width: 50%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.p6h-side {
  left: auto;
  right: 0;
  direction: ltr;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 34px);
  padding: 9px clamp(28px, 3.4vw, 62px) 16px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.08), transparent 32%),
    repeating-linear-gradient(128deg, transparent 0 42px, rgba(255,255,255,.018) 43px 44px),
    linear-gradient(90deg, #0b5a47, #073d31);
}

.etec-side {
  left: 0;
  right: auto;
  justify-content: center;
  padding: 8px 30px 10px;
  background: linear-gradient(105deg, #fff, #fbfbf8 76%, #f3f2ea);
}

.official-logo {
  display: block;
  object-fit: contain;
  object-position: center;
  filter: none !important;
  user-select: none;
}

.p6h-logo {
  width: clamp(165px, 10.4vw, 200px);
  transform: scale(1.1);
  transform-origin: center;
  height: clamp(145px, 9.1vw, 174px);
  flex: none;
}

.etec-logo {
  width: min(560px, 94%);
  transform: scale(1.14);
  transform-origin: center;
  height: 166px;
  object-position: center;
}

.p6h-wordmark {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  direction: rtl;
  line-height: 1.05;
  text-align: center;
}

/* Committee-approved wordmark lock: do not alter typography, white color or hierarchy. */
.p6h-name-ar {
  font-size: clamp(27px, 2.8vw, 43px);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 2px 7px rgba(0,0,0,.13);
}

.p6h-name-en {
  margin-top: 9px;
  font-size: clamp(15px, 1.45vw, 23px);
  font-weight: 700;
  color: #e8c76c;
  letter-spacing: .4px;
  direction: ltr;
  white-space: nowrap;
}

.p6h-center-name {
  width: 100%;
  margin-top: 11px;
  color: #fff;
  font-size: clamp(19px, 1.65vw, 29px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 7px rgba(0,0,0,.12);
}

.masthead-swoosh {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  height: 84px;
  pointer-events: none;
  overflow: hidden;
}

.masthead-swoosh::before {
  content: '';
  position: absolute;
  width: 74%;
  height: 112px;
  left: -8%;
  bottom: -79px;
  background: #fff;
  border-radius: 0 100% 0 0 / 0 100% 0 0;
  box-shadow: 0 -6px 0 #c6a243, 0 -10px 18px rgba(80,67,28,.12);
  transform: skewX(-13deg);
}

.masthead-swoosh::after {
  content: '';
  position: absolute;
  width: 61%;
  height: 76px;
  right: -8%;
  bottom: -57px;
  background: rgba(255,255,255,.035);
  border-radius: 100% 0 0 0;
  border-top: 1px solid rgba(230,210,142,.44);
}

.platform-plaque {
  position: absolute;
  z-index: 6;
  width: min(730px, 59vw);
  min-height: 92px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 13px 34px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.99), #fbfcf8);
  border: 1px solid #dfd8bd;
  border-top: 5px solid #c6a243;
  border-radius: 0 0 46px 46px;
  box-shadow: 0 10px 28px rgba(30,52,43,.12);
}

.platform-plaque::before,
.platform-plaque::after {
  content: '';
  position: absolute;
  top: -5px;
  width: 74px;
  height: 5px;
  background: linear-gradient(90deg, transparent, #c6a243);
}
.platform-plaque::before { right: 100%; }
.platform-plaque::after { left: 100%; transform: scaleX(-1); }

.platform-plaque h1 {
  margin: 0;
  color: #08483a;
  font-size: clamp(29px, 2.65vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.4px;
}

.header-inner,
.nav-inner,
.page-shell,
.footer-inner {
  width: min(var(--wtc-page-width), calc(100% - 40px));
  margin: 0 auto;
}

.app-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  padding-top: 10px;
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid var(--wtc-border);
  box-shadow: 0 6px 18px rgba(24,48,40,.08);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--wtc-green-900);
  font-weight: 700;
  white-space: nowrap;
}

.nav-link:hover { background: #edf4ef; }
.nav-link.is-active { color: #fff; background: #08483a; }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  inset-inline: 18px;
  inset-block-end: -9px;
  height: 3px;
  border-radius: 999px;
  background: #c6a243;
}
.nav-link.is-disabled { color: #8c938f; cursor: not-allowed; }

.nav-session-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.session-identity {
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--wtc-border-soft);
  text-align: start;
}
.session-identity strong { color: var(--wtc-green-950); font-size: 15px; }
.session-identity span { color: var(--wtc-muted); font-size: 13px; }

.nav-home-link {
  color: var(--wtc-gold-700);
  font-weight: 800;
  white-space: nowrap;
}

.btn-header {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid #b8c9c1;
  color: #fff;
  background: #08483a;
}
.btn-header:hover { background: #0b5a47; }

.page-shell { padding: 34px 0 64px; }

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.page-heading-copy h2 {
  margin: 0 0 7px;
  color: var(--wtc-green-950);
  font-size: clamp(27px, 2.6vw, 38px);
}
.page-heading-copy p { margin: 0; color: var(--wtc-muted); font-size: 18px; line-height: 1.7; }

.section { margin-top: 30px; }
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.section-heading h3 { margin: 0; color: var(--wtc-green-950); font-size: 25px; }
.section-heading p { margin: 0; color: var(--wtc-muted); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.app-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0;
  border-top: 4px solid #c6a243;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.08), transparent 28%),
    repeating-linear-gradient(128deg, transparent 0 42px, rgba(255,255,255,.018) 43px 44px),
    linear-gradient(105deg, #052f27 0%, #08483a 58%, #073d31 100%);
  box-shadow: 0 -14px 34px rgba(18,47,38,.12);
}

.app-footer::before,
.app-footer::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.app-footer::before {
  width: 190px;
  height: 190px;
  inset: auto auto -106px -54px;
  border: 1px solid rgba(224,193,112,.18);
  transform: rotate(45deg);
  box-shadow: 0 0 0 28px rgba(224,193,112,.025), 0 0 0 56px rgba(224,193,112,.016);
}

.app-footer::after {
  inset: 18px 24px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,193,112,.48), transparent);
}

.footer-inner {
  position: relative;
  z-index: 1;
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 27px 0 24px;
  color: rgba(255,255,255,.78);
}

.footer-brand,
.footer-context {
  display: grid;
  gap: 7px;
}

.footer-brand strong {
  color: #fff;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.35;
}

.footer-brand span {
  color: #e6cc82;
  font-size: 16px;
  font-weight: 700;
}

.footer-context {
  justify-items: end;
  text-align: end;
}

.footer-context strong {
  color: #f3dfaa;
  font-size: 15px;
}

.footer-context span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.footer-platform-en {
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: .2px;
}

/* Identity mount hosts must remain full-width even before JavaScript mounts the masthead. */
#appHeader,
#loginHeader,
#accessDeniedHeader,
#deniedHeader {
  width: 100%;
  min-width: 0;
}

/* Contain horizontally scrollable navigation inside the institutional shell. */
.app-nav,
.nav-inner {
  overflow-x: hidden;
}

/*========================================================
  Leadership Presentation Header Unification R1
  Role-scoped only: one compact official masthead, one commander identity,
  and a clean projector-safe navigation across every leadership-accessible page.
========================================================*/
.role-leadership .nav-links {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.role-leadership .nav-links::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.role-leadership .leadership-commander-profile {
  position: relative;
  flex: 0 0 auto;
  width: clamp(270px, 20vw, 350px);
  min-width: 270px;
  max-width: 350px;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 8px 18px 13px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 46%),
    linear-gradient(135deg, #0a3d31, #115642);
  border: 1px solid rgba(184,139,42,.68);
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(10,61,49,.16);
  text-align: center;
}

.role-leadership .app-nav .leadership-commander-profile strong {
  display: block;
  width: 100%;
  color: #e7c66d;
  font-size: clamp(15px, .9vw, 17px);
  line-height: 1.35;
  font-weight: 900;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
  text-wrap: balance;
}

.role-leadership .leadership-profile-ornament {
  position: absolute;
  left: 50%;
  inset-block-end: 5px;
  width: 92px;
  height: 9px;
  opacity: .58;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #e7c66d 30%, #e7c66d 70%, transparent) center / 100% 1px no-repeat;
  pointer-events: none;
}

.role-leadership .leadership-profile-ornament::before {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  width: 7px;
  height: 7px;
  background: #0f4c3c;
  border: 1px solid #e7c66d;
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (min-width: 901px) {
  .role-leadership .official-masthead { min-height: 226px; }
  .role-leadership .official-side { height: 161px; }
  .role-leadership .p6h-side {
    gap: clamp(17px, 1.9vw, 29px);
    padding: 7px clamp(25px, 3vw, 54px) 13px 25px;
  }
  .role-leadership .p6h-logo {
    width: clamp(145px, 9.2vw, 176px);
    height: clamp(127px, 8.1vw, 153px);
    transform: scale(1.08);
  }
  .role-leadership .etec-side { padding: 6px 27px 8px; }
  .role-leadership .etec-logo {
    width: min(510px, 93%);
    height: 146px;
    transform: scale(1.1);
  }
  .role-leadership .p6h-name-ar { font-size: clamp(24px, 2.45vw, 38px); }
  .role-leadership .p6h-name-en { margin-top: 7px; font-size: clamp(14px, 1.28vw, 20px); }
  .role-leadership .p6h-center-name { margin-top: 8px; font-size: clamp(17px, 1.45vw, 25px); }
  .role-leadership .masthead-swoosh { height: 74px; }
  .role-leadership .masthead-swoosh::before { height: 98px; bottom: -69px; }
  .role-leadership .masthead-swoosh::after { height: 67px; bottom: -50px; }
  .role-leadership .platform-plaque {
    width: min(700px, 57vw);
    min-height: 81px;
    padding: 10px 30px 13px;
    border-radius: 0 0 40px 40px;
  }
  .role-leadership .platform-plaque h1 { font-size: clamp(27px, 2.35vw, 40px); }
  .role-leadership .app-nav { padding-top: 7px; }
}

@media (max-width: 1040px) {
  .role-leadership .leadership-commander-profile {
    width: min(100%, 400px);
    max-width: 400px;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .role-leadership .leadership-commander-profile {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .role-leadership .app-nav .leadership-commander-profile strong { font-size: 16px; }
}


/*========================================================
  Evaluator / Guest Visual Refinement R1
  Role-scoped presentation only: compact official masthead,
  scrollbar-free navigation and green-gold identity badge.
========================================================*/
.role-evaluator .official-masthead {
  min-height: 214px;
}

.role-evaluator .official-side {
  height: 150px;
}

.role-evaluator .p6h-side {
  gap: clamp(14px, 1.55vw, 24px);
  padding: 6px clamp(22px, 2.6vw, 44px) 11px 22px;
}

.role-evaluator .p6h-logo {
  width: clamp(128px, 8.2vw, 158px);
  height: clamp(116px, 7.35vw, 140px);
  transform: scale(1.05);
}

.role-evaluator .etec-side {
  padding: 5px 24px 7px;
}

.role-evaluator .etec-logo {
  width: min(470px, 91%);
  height: 132px;
  transform: scale(1.06);
}

.role-evaluator .p6h-name-ar {
  font-size: clamp(24px, 2.2vw, 35px);
}

.role-evaluator .p6h-name-en {
  margin-top: 6px;
  font-size: clamp(13px, 1.08vw, 18px);
}

.role-evaluator .p6h-center-name {
  margin-top: 7px;
  font-size: clamp(17px, 1.28vw, 22px);
}

.role-evaluator .masthead-swoosh {
  height: 67px;
}

.role-evaluator .masthead-swoosh::before {
  height: 90px;
  bottom: -65px;
}

.role-evaluator .masthead-swoosh::after {
  height: 59px;
  bottom: -45px;
}

.role-evaluator .platform-plaque {
  width: min(670px, 55vw);
  min-height: 72px;
  padding: 9px 28px 12px;
  border-radius: 0 0 36px 36px;
}

.role-evaluator .platform-plaque h1 {
  font-size: clamp(26px, 2.15vw, 36px);
}

.role-evaluator .app-nav {
  padding-top: 5px;
}

.role-evaluator .nav-inner {
  min-height: 60px;
  gap: 12px;
}

.role-evaluator .nav-links {
  gap: 4px;
  overflow: visible;
  flex-wrap: wrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.role-evaluator .nav-links::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.role-evaluator .nav-link {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 14px;
}

.role-evaluator .nav-link.is-active::after {
  inset-inline: 14px;
  inset-block-end: -7px;
}

.role-evaluator .nav-session-tools {
  gap: 8px;
}

.role-evaluator .session-identity {
  min-width: 235px;
  max-width: 310px;
  min-height: 42px;
  place-content: center;
  padding: 7px 17px 8px;
  border: 1px solid rgba(190,145,45,.76);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 47%),
    linear-gradient(135deg, #073d31, #0b5845);
  box-shadow: 0 7px 17px rgba(7,61,49,.15), 0 0 0 1px rgba(255,255,255,.025) inset;
  text-align: center;
}

.role-evaluator .app-nav .session-identity strong {
  color: #e9c96d;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  white-space: normal;
  text-wrap: balance;
}

.role-evaluator .app-nav .session-identity span {
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.3;
}

.role-evaluator .nav-home-link {
  font-size: 14px;
}

.role-evaluator .btn-header {
  min-height: 36px;
  padding: 6px 12px;
}

.role-evaluator .page-shell {
  padding: 20px 0 48px;
}

@media (max-width: 1180px) {
  .role-evaluator .nav-inner {
    align-items: stretch;
    flex-direction: column;
    padding: 7px 0 10px;
  }
  .role-evaluator .nav-links,
  .role-evaluator .nav-session-tools {
    width: 100%;
    justify-content: center;
  }
  .role-evaluator .session-identity {
    min-width: min(100%, 330px);
  }
}

@media (max-width: 900px) {
  .role-evaluator .official-masthead {
    min-height: 302px;
  }
  .role-evaluator .official-side {
    height: 116px;
  }
  .role-evaluator .p6h-side {
    padding: 9px 18px 13px;
  }
  .role-evaluator .p6h-logo {
    width: 94px;
    height: 96px;
  }
  .role-evaluator .p6h-name-ar {
    font-size: 25px;
  }
  .role-evaluator .p6h-name-en {
    font-size: 12px;
  }
  .role-evaluator .p6h-center-name {
    font-size: 18px;
  }
  .role-evaluator .etec-side {
    top: 116px;
    height: 108px;
    padding: 5px 17px 17px;
  }
  .role-evaluator .etec-logo {
    height: 88px;
  }
  .role-evaluator .platform-plaque {
    width: min(690px, 89vw);
    min-height: 73px;
    padding: 8px 18px 11px;
  }
  .role-evaluator .platform-plaque h1 {
    font-size: 25px;
  }
}

@media (max-width: 640px) {
  .role-evaluator .official-masthead {
    min-height: 288px;
  }
  .role-evaluator .official-side {
    height: 108px;
  }
  .role-evaluator .p6h-logo {
    width: 78px;
    height: 80px;
  }
  .role-evaluator .p6h-name-ar {
    font-size: 20px;
  }
  .role-evaluator .p6h-name-en {
    font-size: 9px;
  }
  .role-evaluator .p6h-center-name {
    font-size: 15px;
  }
  .role-evaluator .etec-side {
    top: 108px;
    height: 104px;
  }
  .role-evaluator .etec-logo {
    height: 78px;
  }
  .role-evaluator .platform-plaque {
    width: 94vw;
    min-height: 68px;
    border-radius: 0 0 25px 25px;
  }
  .role-evaluator .platform-plaque h1 {
    font-size: 22px;
  }
  .role-evaluator .nav-session-tools {
    align-items: stretch;
  }
  .role-evaluator .session-identity {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 8px 14px;
    border: 1px solid rgba(190,145,45,.76);
  }
  .role-evaluator .page-shell {
    padding-top: 16px;
  }
}

/* Mobile evaluator navigation: readable grid without a horizontal scrollbar. */
@media (max-width: 640px) {
  .role-evaluator .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .role-evaluator .nav-link {
    width: 100%;
    min-height: 40px;
    justify-content: center;
    padding: 6px 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .role-evaluator .nav-session-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .role-evaluator .session-identity {
    grid-column: 1 / -1;
  }
  .role-evaluator .nav-home-link,
  .role-evaluator .btn-header {
    width: 100%;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


/*========================================================
  Evaluator Simplified Navigation & Visual Refinement R2
  Three-path evaluator navigation, compact footer and tools.
========================================================*/
.role-evaluator .app-nav {
  padding-top: 3px;
}

.role-evaluator .nav-inner {
  min-height: 55px;
  gap: 10px;
}

.role-evaluator .nav-links {
  gap: 7px;
}

.role-evaluator .nav-link {
  min-height: 36px;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid rgba(190,145,45,.32);
  color: #fff;
  background: linear-gradient(135deg, #073d31, #0a5845);
  box-shadow: 0 5px 13px rgba(7,61,49,.10);
  font-size: 14px;
}

.role-evaluator .nav-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #0a4a3b, #0c6a52);
}

.role-evaluator .nav-link.is-active {
  color: #f5d77d;
  background: linear-gradient(135deg, #06392e, #0a513f);
  box-shadow: 0 0 0 1px rgba(205,167,72,.30) inset, 0 6px 15px rgba(7,61,49,.13);
}

.role-evaluator .nav-link.is-active::after {
  inset-inline: 18px;
  inset-block-end: -6px;
  height: 3px;
}

.role-evaluator .nav-session-tools {
  gap: 6px;
}

.role-evaluator .session-identity {
  min-width: 205px;
  max-width: 270px;
  min-height: 38px;
  padding: 5px 14px 6px;
}

.role-evaluator .app-nav .session-identity strong {
  font-size: 14px;
}

.role-evaluator .app-nav .session-identity span {
  font-size: 11px;
}

.role-evaluator .nav-home-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  font-size: 13px;
}

.role-evaluator .btn-header {
  min-height: 33px;
  padding: 5px 10px;
  font-size: 13px;
}

.role-evaluator .page-shell {
  padding-top: 13px;
  padding-bottom: 34px;
}

.role-evaluator .app-footer {
  border-top-width: 3px;
}

.role-evaluator .footer-inner {
  min-height: 70px;
  gap: 20px;
  padding: 13px 0 12px;
}

.role-evaluator .footer-brand,
.role-evaluator .footer-context {
  gap: 3px;
}

.role-evaluator .footer-brand strong,
.role-evaluator .footer-context strong {
  font-size: 17px;
}

.role-evaluator .footer-brand span,
.role-evaluator .footer-role-label {
  font-size: 12px;
}

.role-evaluator .app-footer::after {
  inset-block-start: 9px;
}

@media (max-width: 1180px) {
  .role-evaluator .nav-inner {
    padding: 5px 0 7px;
  }
  .role-evaluator .nav-links,
  .role-evaluator .nav-session-tools {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .role-evaluator .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .role-evaluator .nav-link {
    min-height: 42px;
    padding: 5px 4px;
    font-size: 11px;
    line-height: 1.25;
  }
  .role-evaluator .footer-inner {
    min-height: 0;
    align-items: start;
    flex-direction: column;
    gap: 8px;
    padding: 13px 0;
  }
}

/* P6H identity: use the approved company artwork without changing its proportions. */
.official-masthead .p6h-side { padding: 12px 28px; }
.official-masthead .p6h-logo { width: min(100%, 510px) !important; height: auto !important; max-height: 158px; transform: none !important; }
.official-masthead .platform-plaque { width: min(1080px, 90vw); }
.official-masthead .platform-plaque h1 { font-size: clamp(23px, 2.15vw, 36px); line-height: 1.35; text-wrap: balance; }
@media (max-width: 900px) {
  .official-masthead .p6h-side { left: 0; right: 0; top: 0; padding: 8px 22px; }
  .official-masthead .p6h-logo { width: min(100%, 360px) !important; max-height: 124px; }
  .official-masthead .platform-plaque { width: 93vw; }
}
@media (max-width: 640px) {
  .official-masthead .platform-plaque h1 { font-size: 23px; }
}
