.live-wrap{max-width:1180px;margin:32px auto;padding:0 24px}.live-auth{max-width:570px;margin:40px auto;padding:28px}.live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.live-form{display:grid;gap:16px}.live-form label{display:block;font-weight:600}.live-form input:not([type=checkbox]),.live-form select,.live-form textarea,.live-search input{width:100%;padding:12px;border:1px solid #dacfc8;border-radius:8px;font:inherit;margin-top:6px}.live-form textarea{min-height:110px}.live-form .checks label{font-weight:400;margin:12px 0}.live-form button{justify-self:start}.live-panel{background:white;border:1px solid #e3d8d0;border-radius:14px;padding:24px;margin:20px 0}.live-panel h2{margin-top:0}.live-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.live-tabs a{color:#164a33;padding:10px 14px;border:1px solid #c8d7cc;border-radius:8px;text-decoration:none}.live-tabs a.active{background:#164a33;color:white}.live-table{width:100%;border-collapse:collapse}.live-table th,.live-table td{padding:12px;text-align:left;border-bottom:1px solid #e4dbd6}.live-table th{color:#6a4837}.live-overflow{overflow-x:auto}.live-error{color:#9c2525;background:#fff0ef;padding:12px;border-radius:8px}.live-note{color:#705e53;font-size:14px}.live-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.live-actions .btn{display:inline-block;text-decoration:none}.live-code{font-family:monospace;font-size:12px;word-break:break-all}.live-empty{padding:40px;text-align:center;color:#786459}.live-meta{display:flex;gap:20px;flex-wrap:wrap}.live-meta b{display:block}.live-pdf{width:100%;height:680px;border:1px solid #ddd}.live-message{border-bottom:1px solid #e4dbd6;padding:14px 0}.live-message small{display:block;color:#786459}#toast{position:fixed;right:20px;bottom:20px;max-width:420px;padding:14px 20px;background:#164a33;color:white;border-radius:10px;z-index:1000;display:none}button:disabled{opacity:.5;cursor:wait}pre{white-space:pre-wrap}.live-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.live-search{display:flex;gap:12px;margin:16px 0}.live-search input{margin:0}.live-form input[type=checkbox]{accent-color:#164a33}.live-step{border-left:4px solid #164a33;padding:10px 16px;margin:10px 0}.live-step.pending{border-color:#d9ccc2;color:#8a7c72}details pre{font-size:13px}a{overflow-wrap:anywhere}@media(max-width:650px){.live-wrap{padding:0 14px}.live-top{display:block}.live-table td,.live-table th{padding:8px}.badge{display:none}.live-pdf{height:450px}}
[hidden]{display:none!important}body.is-live .landing-menu{display:block}.landing-menu-links button{display:block;text-align:left;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:var(--brown);font-weight:600}.landing-menu-links button:hover{background:var(--greenlight)}.live-wrap h1{overflow-wrap:anywhere}@media(max-width:650px){.live-top h1{font-size:28px}.live-top>div:last-child{margin-top:12px}.live-grid{grid-template-columns:1fr}.live-panel{padding:18px}.live-search{flex-wrap:wrap}}
.live-pdf-pages{background:#eee9e5;border:1px solid #d5c9c0;border-radius:10px;padding:18px;max-height:850px;overflow:auto}.live-pdf-pages canvas{display:block;width:100%;max-width:700px;height:auto;margin:0 auto 20px;background:white;box-shadow:0 2px 12px #33201926}

/* Preserve the supplied prototype design on every live portal. */
.live-wrap.portal-wrap{max-width:1280px;margin:auto;padding:28px clamp(18px,4vw,50px) 80px}
.live-panel.portal-card{background:#fffaf6;border:1px solid #decabc;border-radius:12px;padding:22px;box-shadow:var(--shadow)}
.live-tabs.portal-nav{flex-wrap:nowrap;gap:7px;margin:0 0 26px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.live-tabs.portal-nav a{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--brown);white-space:nowrap;padding:9px 13px;border-radius:7px;font:500 14px Poppins,'Segoe UI',sans-serif;text-decoration:none}
.live-tabs.portal-nav a.active{background:var(--green);color:var(--cream)}
.live-tabs.portal-nav a:hover:not(.active){background:var(--blush)}
.live-form input:not([type=checkbox]),.live-form select,.live-form textarea{border-color:#aa8b7a;background:white}
.live-table th{background:#f4e9e0;color:var(--dark)}
.live-panel h2{font-size:1.35rem}.live-note{color:#755846}.live-actions{gap:10px}.live-top{margin-bottom:20px}
.auth-form input:not([type=checkbox]),.auth-form select,.staff-login-modal input,.staff-login-modal select{width:100%;padding:10px 12px;border:1px solid #aa8b7a;border-radius:8px;background:white}
.auth-form .btn.secondary{display:block;text-align:center;text-decoration:none}.auth-row input[type=checkbox]{width:auto}
.auth-modal{max-height:calc(100vh - 36px);overflow:auto}.staff-login-modal input[type=password]{margin-bottom:14px}
@media(max-width:650px){.live-wrap.portal-wrap{padding:20px 15px 60px}.registry-kpis{grid-template-columns:1fr 1fr}.portal-head{display:block}.live-panel.portal-card{padding:18px}}

.confirmation-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}.portal-stack{min-width:0}.live-pdf-pages.approval-pdf{display:block}.live-panel.gen-step{margin-top:0}@media(max-width:850px){.confirmation-layout{grid-template-columns:1fr}}

/* Fixed request messaging panel */
.live-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:1000;display:flex;align-items:center;gap:10px;border-radius:30px;box-shadow:0 6px 24px #0003}
.live-chat-launcher span{font-size:24px}
.live-chat-panel{position:fixed;right:24px;bottom:100px;width:min(420px,calc(100vw - 32px));height:min(620px,calc(100dvh - 130px));z-index:1001;display:flex;flex-direction:column;background:var(--cream,#fffaf5);color:var(--brown,#56311c);border:1px solid #d9c0b1;border-radius:18px;box-shadow:0 12px 48px #0004;overflow:hidden;animation:chat-enter .2s ease-out}
.live-chat-panel[hidden]{display:none}
.live-chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;background:var(--green,#204b38);color:white}
.live-chat-header h2{font-size:1rem;margin:0 0 4px;color:inherit}
.live-chat-header button{border:0;background:transparent;color:white;font-size:30px;cursor:pointer;padding:0 8px}
.live-chat-history{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}
.live-chat-history .live-message{background:white;border:1px solid #e4d3c8;border-radius:12px;padding:12px;margin:0 24px 12px 0;overflow-wrap:anywhere}
.live-chat-history .live-message.live-chat-own{margin:0 0 12px 24px;background:#eaf2ec}
.live-chat-history p{white-space:pre-wrap;margin:8px 0}
.live-chat-compose{flex-shrink:0;padding:14px;border-top:1px solid #d9c0b1;background:var(--cream,#fffaf5);gap:8px}
.live-chat-compose textarea{width:100%;box-sizing:border-box;min-height:75px;max-height:120px;resize:vertical}
.live-chat-compose .btn{justify-self:end}
@keyframes chat-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.live-chat-launcher{right:16px;bottom:16px}.live-chat-panel{right:16px;bottom:90px;height:calc(100dvh - 110px)}}
@media(prefers-reduced-motion:reduce){.live-chat-panel{animation:none}}

.live-chat-request{padding:12px 16px;border-bottom:1px solid #d9c0b1;display:grid;gap:8px}
.live-chat-request select{width:100%;min-width:0;border:1px solid #aa8b7a;border-radius:8px;padding:8px;background:white;color:inherit}
.live-chat-request .btn{font-size:13px;padding:6px 10px;justify-self:end}

/* Taller messaging panel, covering the launcher */
.live-chat-panel {
  top: 16px;
  bottom: 16px;
  right: 16px;
  height: auto;
  max-height: none;
}
.live-chat-header {
  padding: 12px 16px;
  flex-shrink: 0;
}
.live-chat-request {
  padding: 8px 16px;
  flex-shrink: 0;
}
.live-chat-compose {
  padding: 10px 16px;
}
.live-chat-compose textarea {
  min-height: 60px;
  max-height: 90px;
}
.live-chat-launcher[aria-expanded="true"] {
  visibility: hidden;
}

.landing-menu-links .md-login-submenu > summary {
  font: inherit;
  font-weight: inherit;
  color: inherit;
}
.landing-menu-links .md-login-submenu[open] > summary,
.landing-menu-links .md-login-submenu > summary:hover,
.landing-menu-links .md-login-submenu > summary:focus-visible {
  background: #e2efe5;
  color: var(--brown, #56311c);
}

.landing-menu-links .md-login-submenu > summary {
  font: 600 15px Poppins, 'Segoe UI', sans-serif !important;
  padding: 10px 12px;
  height: auto;
  color: var(--brown);
}
.landing-menu-links .md-login-submenu[open] > summary,
.landing-menu-links .md-login-submenu > summary:hover,
.landing-menu-links .md-login-submenu > summary:focus-visible {
  background: var(--greenlight, #e2efe5);
  color: var(--brown);
}

.auth-shell .auth-card {
  position: relative;
}
.auth-shell .auth-head .login-close {
  position: absolute;
  top: 9px;
  right: 13px;
  font-size: 24px;
  color: var(--brown);
  text-decoration: none;
}

html:has(#staff-login-backdrop),
body:has(#staff-login-backdrop) {
  overflow: hidden;
}
#staff-login-backdrop {
  overscroll-behavior: none;
}
#staff-login-backdrop .staff-login-modal {
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.landing-menu-links .md-login-submenu > summary {
  font: inherit;
  font-weight: inherit;
  color: inherit;
}
.landing-menu-links .md-login-submenu[open] > summary,
.landing-menu-links .md-login-submenu > summary:hover,
.landing-menu-links .md-login-submenu > summary:focus-visible {
  background: #e2efe5;
  color: var(--brown, #56311c);
}

.top .brand {
  gap: 4px !important;
}
.top .brand img {
  width: 56px !important;
  height: 48px !important;
  margin: 0 !important;
  object-fit: contain;
}
.top .brand span {
  margin: 0 !important;
  padding-left: 6px !important;
  border-left: 1px solid #aa8b7a;
}

/* Consistent font family throughout the interface */
body,
body *,
body *::before,
body *::after {
  font-family: Poppins, 'Segoe UI', sans-serif !important;
}

/* Matching close icon for the open navigation menu */
.landing-menu > summary {
  position: relative;
}
.landing-menu[open] > summary svg {
  visibility: hidden;
}
.landing-menu[open] > summary::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(45deg,
      transparent calc(50% - 1px),
      currentColor calc(50% - 1px),
      currentColor calc(50% + 1px),
      transparent calc(50% + 1px)),
    linear-gradient(-45deg,
      transparent calc(50% - 1px),
      currentColor calc(50% - 1px),
      currentColor calc(50% + 1px),
      transparent calc(50% + 1px));
  pointer-events: none;
}

@media (min-width: 851px) {
  #staff-access button[data-action="open-staff-login"] {
    position: relative;
    left: 16px;
  }
}

#staff-access .staff-landing-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
}
#staff-access .staff-landing-inner > div {
  flex: 0 1 620px;
  min-width: 0;
}
#staff-access button[data-action="open-staff-login"] {
  position: static;
  margin: 0;
  flex-shrink: 0;
}
@media (max-width: 850px) {
  #staff-access .staff-landing-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  #staff-access .staff-landing-inner > div {
    flex: auto;
  }
}

@media (min-width: 851px) {
  #staff-access .staff-landing-inner {
    gap: 64px;
  }
}

#staff-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 16px;
}
#staff-login-form > * {
  grid-column: 1 / -1;
  min-width: 0;
}
#staff-login-form > .field:has(input[name="identifier"]) {
  grid-column: 1;
}
#staff-login-form > .field:has(select[name="process"]) {
  grid-column: 2;
}
#staff-login-form .field {
  margin-bottom: 0;
}
#staff-login-form input,
#staff-login-form select {
  min-width: 0;
  width: 100%;
}
#staff-login-form > a {
  margin: 0;
}
@media (max-width: 480px) {
  #staff-login-form {
    grid-template-columns: minmax(0, 1fr);
  }
  #staff-login-form > .field:has(input[name="identifier"]),
  #staff-login-form > .field:has(select[name="process"]) {
    grid-column: 1;
  }
}

/* Shared form appearance */
.auth-card,
.auth-modal,
.live-panel:has(form) {
  background: #fffaf6;
  border-radius: 18px;
  color: var(--brown);
}

form,
form input,
form select,
form textarea,
form button,
form label,
form a {
  font-family: Poppins, 'Segoe UI', sans-serif !important;
}

form label {
  color: var(--brown);
  font-size: 15px;
  font-weight: 600;
}

form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
form select,
form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #aa8b7a;
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.5;
}

form input::placeholder,
form textarea::placeholder {
  color: #808080;
  font-weight: 400;
  opacity: 1;
}

form input:focus-visible,
form select:focus-visible,
form textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

form .btn:not(.secondary) {
  background: var(--green);
  color: var(--cream);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
}

form .btn.secondary {
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

form a {
  color: var(--green);
}

.auth-card h1,
.auth-modal h2 {
  color: var(--brown);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.auth-card:has(form[data-form="login"]) .auth-head img {
  display: none;
}

.auth-card:has(form[data-form="login"]) .auth-footer,
.auth-card:has(form[data-form="login"]) > p.muted {
  display: none;
}

.password-visibility-field {
  position: relative;
  width: 100%;
  min-width: 0;
}
.password-visibility-field > input {
  padding-right: 72px !important;
  margin-bottom: 0 !important;
}
.password-visibility-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--green);
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.password-visibility-toggle:hover {
  background: var(--greenlight);
}
.password-visibility-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* MDTECH NAV ICONS START */
:is(nav a, .sidebar a, .landing-menu-links a, .landing-menu-links button, .md-login-submenu > summary):not(:where(footer *, .footer *, .land-footer *)):not(:has(svg, .nav-icon)) {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
:is(nav a, .sidebar a, .landing-menu-links a, .landing-menu-links button, .md-login-submenu > summary):not(:where(footer *, .footer *, .land-footer *)):not(:has(svg, .nav-icon))::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-right: 9px;
  vertical-align: -3px;
  background-color: currentColor;
  -webkit-mask: var(--md-nav-icon, url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6M8%2013h8M8%2017h6%22%2F%3E%3C%2Fsvg%3E")) center / contain no-repeat;
  mask: var(--md-nav-icon, url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6M8%2013h8M8%2017h6%22%2F%3E%3C%2Fsvg%3E")) center / contain no-repeat;
}
.landing-menu-links a,
.landing-menu-links button,
.landing-menu-links .md-login-submenu > summary { width: 100%; }
.landing-menu-links .md-login-submenu > summary::after { margin-left: auto; }

:is([href*="#landing"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207v10a1%201%200%200%201-1%201h-5v-7H9v7H4a1%201%200%200%201-1-1z%22%2F%3E%3C%2Fsvg%3E"); }
:is(.md-login-submenu > summary) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203h5a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202h-5M3%2012h12m-4-4%204%204-4%204%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="#student-auth"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="#registry-auth"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021h18M5%2021V9h14v12M3%209l9-6%209%206M9%2012v5m6-5v5%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="#staff-auth"], [href*="#staff-access"], [href="#staff"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M2%2021v-3a7%207%200%200%201%2014%200v3m0-17a3%203%200%200%201%200%206m3%205a5%205%200%200%201%203%204v2%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="how-it-works"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2215%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M9%206h9v9M6%209v9h9%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="#about"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%2011v6m0-10v.01%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="#contact"], [href*="/messages"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%206%209%207%209-7%22%2F%3E%3C%2Fsvg%3E"); }
:is([href="#dashboard"], [href^="#process/"][href$="/0"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E"); }
:is([href="#new-request"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8zM14%202v6h6M12%2012v6m-3-3h6%22%2F%3E%3C%2Fsvg%3E"); }
:is([href="#student-tab/payment"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2010h20M6%2015h3%22%2F%3E%3C%2Fsvg%3E"); }
:is([href="#student-tab/tracking"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E"); }
:is([href="#notifications"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%208a6%206%200%200%200-12%200c0%207-3%207-3%209h18c0-2-3-2-3-9M10%2021h4%22%2F%3E%3C%2Fsvg%3E"); }
:is(#logout) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203H5a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h5m4-13%204%204-4%204m-5-4h12%22%2F%3E%3C%2Fsvg%3E"); }
:is([href*="#faq"]) { --md-nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9%209a3%203%200%201%201%205%202c-2%201-2%202-2%203m0%203v.01%22%2F%3E%3C%2Fsvg%3E"); }
footer a, .footer a, .land-footer a,
footer a:hover, .footer a:hover, .land-footer a:hover,
footer a:focus, .footer a:focus, .land-footer a:focus {
  text-decoration: none !important;
}
footer a::before, .footer a::before, .land-footer a::before {
  content: none !important;
}
/* MDTECH NAV ICONS END */

.auth-register-link{text-align:center;margin:24px 0 0;font-size:15px}
.auth-register-link a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px}

/* Authentication branding outside the form */
body.is-auth .top{
  display:block;
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
body.is-auth .top-inner{
  display:flex;
  justify-content:flex-start;
  max-width:none;
  padding:26px 32px;
}
body.is-auth .top .brand{display:flex}
body.is-auth .top .brand img{
  display:block;
  width:140px;
  height:auto;
}
body.is-auth .top-right{display:none}
body.is-auth .auth-head img{display:none}
body.is-auth .auth-head:empty{display:none}
.auth-account-link{
  text-align:center;
  margin:24px 0 0;
  font-size:15px;
}
.auth-account-link a{
  color:inherit;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:4px;
}
@media(max-width:600px){
  body.is-auth .top-inner{padding:18px 20px}
  body.is-auth .top .brand img{width:105px}
}

/* Use the existing navigation bar on authentication pages */
body.is-auth .top{
  display:block;
  position:sticky;
  top:0;
  z-index:100;
  background:var(--cream,#fffaf6);
  border-bottom:1px solid #ecdacf;
}
body.is-auth .top-inner{
  max-width:1200px;
  margin:0 auto;
  padding:12px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
body.is-auth .top-right{
  display:flex;
  align-items:center;
  gap:12px;
}
body.is-auth .landing-menu{display:block}
body.is-auth .top .brand img{
  width:92px;
  height:auto;
}
@media(max-width:600px){
  body.is-auth .top-inner{padding:12px 16px}
  body.is-auth #identity-label{display:none}
  body.is-auth .brand span{font-size:18px}
}

/* One navigation appearance across all page types */
body .top{
  display:block!important;
  position:sticky!important;
  top:0;
  z-index:100;
  background:#f8d2ba!important;
  border-bottom:1px solid #c99880!important;
  box-shadow:none!important;
}
body .top .top-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  box-sizing:border-box;
  width:100%;
  max-width:none!important;
  margin:0!important;
  padding:12px 32px!important;
  gap:16px;
}
body .top .brand{
  display:flex!important;
  align-items:center;
  gap:12px!important;
  text-decoration:none;
}
body .top .brand img{
  display:block!important;
  width:92px!important;
  height:auto!important;
}
body .top .brand span{
  color:#301b12!important;
  font:700 22px/1.2 Poppins,'Segoe UI',sans-serif!important;
}
body .top .top-right{
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  width:auto!important;
  gap:12px;
}
body .top #identity-label{display:none!important}
body .top .landing-menu{display:block!important}
body .top .landing-menu>summary{
  display:grid!important;
  place-items:center;
  box-sizing:border-box;
  width:44px!important;
  height:44px!important;
  padding:0!important;
  border:1px solid #653626!important;
  border-radius:10px!important;
  background:#fffaf6!important;
  color:#1d4938!important;
}
body .top .landing-menu[open]>summary{
  background:#1d4938!important;
  color:#fffaf6!important;
}
body .top .landing-menu>summary svg{
  width:24px;
  height:24px;
  stroke:currentColor;
}
body .top .landing-menu-links{
  background:#fffaf6!important;
  border-color:#c99880!important;
  color:#653626;
}
body .top .landing-menu-links a,
body .top .landing-menu-links button,
body .top .md-login-submenu>summary{
  font:600 15px Poppins,'Segoe UI',sans-serif!important;
  color:#653626;
}
@media(max-width:600px){
  body .top .top-inner{padding:10px 16px!important;gap:10px}
  body .top .brand img{width:72px!important}
  body .top .brand span{font-size:18px!important}
}

/* Keep the landing navbar behind the Staff login overlay */
body:has(#staff-login-backdrop) .top{
  z-index:10!important;
  pointer-events:none!important;
}
body:has(#staff-login-backdrop) #app{
  position:relative;
  z-index:11;
}
#staff-login-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:1000!important;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  padding:18px;
}
#staff-login-backdrop .staff-login-modal{
  box-sizing:border-box;
  max-height:calc(100dvh - 36px);
  overflow-y:auto;
  overscroll-behavior:contain;
}

.auth-card{position:relative}
.auth-card .register-close{
  position:absolute;
  top:12px;
  right:14px;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  color:var(--brown,#653626);
  background:transparent;
  border-radius:50%;
  font-size:26px;
  line-height:1;
  text-decoration:none;
  z-index:2;
}
.auth-card:has(.register-close){padding-top:56px}
.auth-card .register-close:hover{background:#f4e5db}
.auth-card .register-close:focus-visible{
  outline:2px solid #1d4938;
  outline-offset:2px;
}

/* Student portal: heading and profile */
body.is-student .portal-head > div:first-child > .eyebrow,
body.is-student .portal-head > div:first-child > p.muted{
  display:none;
}
body.is-student .portal-head > div:last-child > b{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
body.is-student .portal-head > div:last-child > b::before{
  content:"";
  display:inline-block;
  flex:0 0 28px;
  width:28px;
  height:28px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3Cpath d='M5 19a7 7 0 0 1 14 0'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3Cpath d='M5 19a7 7 0 0 1 14 0'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Shared heading style across all seven portals */
/* Student portal: heading and profile */
body.is-live .portal-head > div:first-child > .eyebrow,
body.is-live .portal-head > div:first-child > p.muted{
  display:none;
}
body.is-live .portal-head > div:last-child > b{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
body.is-live .portal-head > div:last-child > b::before{
  content:"";
  display:inline-block;
  flex:0 0 28px;
  width:28px;
  height:28px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3Cpath d='M5 19a7 7 0 0 1 14 0'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3Cpath d='M5 19a7 7 0 0 1 14 0'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Hide Staff login scrollbars while retaining scrolling */
#staff-login-backdrop,
#staff-login-backdrop .staff-login-modal{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
#staff-login-backdrop::-webkit-scrollbar,
#staff-login-backdrop .staff-login-modal::-webkit-scrollbar{
  display:none;
}
#staff-login-backdrop .staff-login-modal{
  overflow-x:hidden;
  overflow-y:auto;
}
html:has(#staff-login-backdrop),
body:has(#staff-login-backdrop){
  overflow:hidden!important;
}

/* Staff login: remove the description beneath the heading */
#staff-login-backdrop .staff-login-modal > h2 + p{
  display:none;
}

/* Smaller error and confirmation messages */
.live-error,
#toast{
  font-size:14px!important;
  line-height:1.5!important;
}
#staff-login-backdrop .live-error{
  padding:10px 14px;
  margin:12px 0;
}

/* Generation academic review */
.academic-review{min-width:900px}.academic-review input{box-sizing:border-box;width:100%;min-width:65px;padding:8px}.academic-review td:nth-child(2){width:35%}.academic-review td:first-child{width:12%}.academic-ack{margin:20px 0;display:block}.academic-ack input{width:auto!important}#ocr-output pre{white-space:pre-wrap;max-height:350px;overflow:auto}#ocr-output{margin:16px 0}
/* Keep the wide academic editor inside its scroll container. */
body.is-generation .gen-workbench > *,
body.is-generation .gen-workbench .live-panel,
body.is-generation #academic-table{min-width:0;max-width:100%;box-sizing:border-box}
body.is-generation #academic-table .live-overflow{display:block;overflow-x:auto;max-width:100%;position:relative}
body.is-generation #toast{pointer-events:none}
body.is-generation #academic-table .live-overflow{max-height:540px;overflow:auto}
body.is-generation .academic-review thead th{position:sticky;top:0;z-index:1;background:#f7e9df}
