.official-brand {
  display: inline-flex;
  align-items: center;
}

/* The quiet platform signature is supplied once by the shared masterji.css base. */

/* Shared role-portal refinements. Specific selectors override older module scales. */
body:not(:has(.login-shell)) .admin-kpis small{font-size:12px}
body:not(:has(.login-shell)) .admin-kpis em{font-size:11px}
body:not(:has(.login-shell)) .work-tile strong{font-size:14px}
body:not(:has(.login-shell)) .work-tile small{font-size:11px}
body:not(:has(.login-shell)) .attention-list strong{font-size:13px}
body:not(:has(.login-shell)) .attention-list small{font-size:11px}
body:not(:has(.login-shell)) .admin-table{font-size:12px}
body:not(:has(.login-shell)) .admin-table th{font-size:10px}
body:not(:has(.login-shell)) .readiness{font-size:10px}
body:not(:has(.login-shell)) .setup-flow strong{font-size:12px}
body:not(:has(.login-shell)) .setup-flow small{font-size:10px}
body:not(:has(.login-shell)) .admin-profile strong{font-size:12px}
body:not(:has(.login-shell)) .admin-profile small{font-size:10px}
body:not(:has(.login-shell)) .navbar .btn{min-height:40px;display:inline-flex;align-items:center;gap:7px}
body:not(:has(.login-shell)) main{padding-bottom:max(42px,env(safe-area-inset-bottom))}
@media(max-width:576px){body:not(:has(.login-shell)) .navbar-brand .brand-logo-long{max-width:138px}body:not(:has(.login-shell)) .navbar .btn{padding-inline:11px}body:not(:has(.login-shell)) .expense-hero,body:not(:has(.login-shell)) .role-hero,body:not(:has(.login-shell)) .teacher-hero{border-radius:18px}}

.official-brand img {
  display: block;
  object-fit: contain;
}

.navbar .official-brand img {
  width: auto;
  height: 44px;
  max-width: 190px;
}

.official-brand .brand-logo-short {
  display: none;
}

.official-brand--login {
  width: 275px;
  max-width: 76%;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.official-brand--login .brand-logo-long {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.65)) drop-shadow(0 0 9px rgba(255,255,255,.22));
}

.official-brand--header {
  padding: 3px 0;
}

.official-brand--header .brand-logo-long {
  width: 146px;
  height: 45px;
}

.official-brand--header:hover {
  opacity: .92;
}

.mobile-brand.official-brand--mobile {
  display: none;
}

.official-brand--mobile img {
  width: 176px;
  height: auto;
}

@media (max-width: 760px) {
  .mobile-brand.official-brand--mobile {
    display: flex;
  }
}

@media (max-width: 430px) {
  .official-brand--header .brand-logo-long {
    display: none;
  }

  .official-brand--header .brand-logo-short {
    display: block;
    width: 42px;
    height: 43px;
  }

  .official-brand--login {
    width: 220px;
  }
}
@media (max-width:700px){
  .table-responsive:has(#exams){overflow:visible}
  table:has(#exams) thead{display:none}
  #exams{display:block}
  #exams tr{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:2px 12px;border:1px solid #e5e9f2;border-radius:14px;padding:10px;margin-bottom:10px;background:#fff}
  #exams td{display:flex;min-width:0;flex-direction:column;justify-content:center;border:0;padding:5px 6px;white-space:normal}
  #exams td::before{font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#748198;margin-bottom:2px}
  #exams td:nth-child(1)::before{content:"Examination"}
  #exams td:nth-child(2)::before{content:"Type"}
  #exams td:nth-child(3)::before{content:"Dates"}
  #exams td:nth-child(4)::before{content:"Papers"}
  #exams td:nth-child(5)::before{content:"Submitted"}
  #exams td:nth-child(6)::before{content:"Status"}
}
