/*!
 * eSchool ERP & LMS — Copyright (c) 2026 Design Technosoft. All rights reserved.
 *
 * Proprietary and confidential. This file is part of eSchool ERP & LMS and is protected by copyright law,
 * including the Copyright Act, 2059 (2002) of Nepal and international copyright treaties.
 * Unauthorized copying, modification, distribution, hosting, resale or reuse of this file, of any
 * part of it, or of code copied or closely imitated from it, is strictly prohibited.
 * Anyone who steals or copies this code, in whole or in part, will face legal action.
 *
 * www.designtechnosoft.com · info@designtechnosoft.com
 */
/* Public school websites and the marketing site. Colours come from theme.css per school. */
.site { background: var(--bg); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--surface); padding: .5rem 1rem; }
.site-wrap { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.site-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-head__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .8rem; flex-wrap: wrap; }
.site-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.site-brand__logo { width: 56px; height: 56px; object-fit: contain; }
.site-brand small { display: block; color: var(--muted); font-weight: 400; }
.site-head__tools { display: flex; align-items: center; gap: .8rem; }
.site-lang a[aria-current] { font-weight: 700; text-decoration: none; }
.site-nav { background: var(--brand); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; margin: 0; padding: .3rem 0; }
.site-nav ul a { color: #fff; text-decoration: none; padding: .45rem .8rem; display: block; border-radius: 6px; }
.site-nav ul a:hover, .site-nav ul a:focus-visible { background: rgba(255, 255, 255, .15); }
.site-main { padding-block: 1.5rem 3rem; min-height: 60vh; }
.site-hero { padding: 2rem 0 1.5rem; border-bottom: 4px solid var(--site-accent, var(--brand)); margin-bottom: 1.5rem; }
.site-hero--big h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.site-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.site-list { list-style: none; padding: 0; }
.site-list li { padding: .5rem 0; border-bottom: 1px dashed var(--border); }
.news-card { text-decoration: none; color: inherit; overflow: hidden; }
.news-card img { width: calc(100% + 2 * var(--space-4, 1rem)); margin: calc(-1 * var(--space-4, 1rem)) calc(-1 * var(--space-4, 1rem)) .8rem; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card h2, .news-card h3 { font-size: 1.1rem; margin: .2rem 0; }
.site-article { max-width: 760px; }
.site-article__image { width: 100%; border-radius: var(--radius); margin: 1rem 0; }
.prose img { max-width: 100%; height: auto; border-radius: 6px; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 1rem 0; padding: .3rem 1rem; color: var(--muted); }
.site-notice { margin-bottom: 1rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 6px; }
.photo-grid figcaption { font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-foot { background: var(--surface); border-top: 1px solid var(--border); padding: 1.5rem 0; }
.site-foot__row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pricing .price strong { font-size: 1.6rem; }
.checklist { list-style: none; padding: 0; }
.checklist li::before { content: "✓ "; color: var(--ok, #15803d); font-weight: 700; }
.site-hero--banner { position: relative; border-radius: var(--radius); overflow: hidden; padding: 0; min-height: 220px; display: grid; }
.site-hero--banner .site-hero__text { padding: 2rem; position: relative; }
.site-hero--banner.has-image .site-hero__text { color: #fff; background: linear-gradient(90deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)); }
.site-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-section { margin: 2rem 0; }
.testimonial blockquote { margin: 0 0 .8rem; font-style: italic; }
.testimonial figcaption { display: flex; gap: .6rem; align-items: center; }
.testimonial img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.faq details { margin-bottom: .6rem; }
.faq summary { cursor: pointer; }

/* ---------- Platform website (16b) ---------- */
.site-section { margin: 3rem 0; }
.site-hero--image { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.site-hero__img, .site-section__img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); }
.site-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.site-cta { text-align: center; padding: 2.5rem 1rem; border-radius: var(--radius-lg); background: var(--brand-soft); }
.site-menu a { text-decoration: none; }
.site-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.5rem; padding: 1.5rem 0; }
.site-foot__copy { grid-column: 1 / -1; }
.stat { text-align: center; }
.stat__n { display: block; font-size: 2rem; color: var(--brand-text); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.site-offline { text-align: center; padding: 4rem 1rem; }
@media (max-width: 760px) { .site-hero--image, .site-about { grid-template-columns: 1fr; } }

/* Dropdown menus (one level; <details> works without JavaScript and with the keyboard) */
.site-dd { position: relative; }
.site-dd > details > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .3rem; }
.site-dd > details > summary::-webkit-details-marker { display: none; }
.site-dd > details > summary::after { content: "▾"; font-size: .75em; }
.site-dd__menu { position: absolute; z-index: 40; top: 100%; left: 0; min-width: 210px; display: grid !important; gap: 0; margin: .25rem 0 0; padding: .4rem; list-style: none;
  background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb); border-radius: 10px; box-shadow: 0 16px 40px -18px rgb(0 0 0 / .35); }
.site-dd__menu a { display: block; padding: .5rem .7rem; border-radius: 6px; white-space: nowrap; }
.site-dd__menu a:hover, .site-dd__menu a:focus-visible { background: var(--surface-2, #f3f4f6); }
@media (max-width: 760px) { .site-dd__menu { position: static; box-shadow: none; border: 0; padding-left: 1rem; } }

/* ---------- Smart popup notices (follow the website theme when one is active) ---------- */
.sp { --sp-accent: var(--t-primary, var(--brand, #2563eb)); --sp-on: var(--t-on-primary, #fff); --sp-bg: var(--t-bg, #fff); --sp-text: var(--t-text, #111827); --sp-muted: var(--t-muted, #6b7280);
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; pointer-events: none; }
.sp[hidden] { display: none; }
html.sp-lock { overflow: hidden; }
.sp__backdrop { position: absolute; inset: 0; background: rgb(15 23 42 / .55); opacity: 0; transition: opacity .25s; pointer-events: auto; }
.sp.is-open .sp__backdrop { opacity: 1; }
.sp__box { position: relative; pointer-events: auto; width: min(520px, 100%); max-height: calc(100vh - 2rem); overflow: auto; background: var(--sp-bg); color: var(--sp-text);
  border-radius: var(--t-radius, 16px); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .45); opacity: 0; transition: opacity .25s ease, transform .3s ease; }
.sp__box:focus { outline: none; }
.sp.is-open .sp__box { opacity: 1; transform: none; }
.sp--center_large .sp__box { width: min(760px, 100%); }
.sp--poster .sp__box { width: min(560px, 100%); background: transparent; box-shadow: none; }
.sp--poster .sp__body { display: none; }
.sp--top, .sp--bottom { place-items: start center; padding: 0; }
.sp--bottom { place-items: end center; }
.sp--top .sp__box, .sp--bottom .sp__box { width: 100%; max-width: none; border-radius: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .75rem 3rem .75rem 1rem;
  box-shadow: 0 6px 24px -8px rgb(0 0 0 / .35); background: var(--sp-accent); color: var(--sp-on); }
.sp--top .sp__img, .sp--bottom .sp__img, .sp--top .sp__text, .sp--bottom .sp__text, .sp--top .sp__tag, .sp--bottom .sp__tag { display: none; }
.sp--top .sp__body, .sp--bottom .sp__body { padding: 0; }
.sp--top .sp__title, .sp--bottom .sp__title { font-size: 1rem; margin: 0; }
.sp--top .sp__lead, .sp--bottom .sp__lead { margin: 0; color: inherit; opacity: .9; }
.sp--top .sp__actions, .sp--bottom .sp__actions { padding: 0; }
.sp--top .sp__btn, .sp--bottom .sp__btn { background: var(--sp-on); color: var(--sp-accent); }
.sp--top .sp__never, .sp--bottom .sp__never { color: inherit; padding: 0; }
.sp--side { place-items: end end; }
.sp--side .sp__box { width: min(380px, 100%); }
.sp__img { display: block; }
.sp__img img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; background: var(--t-surface, #f3f4f6); }
.sp--poster .sp__img img { max-height: calc(100vh - 6rem); border-radius: var(--t-radius, 16px); }
.sp__body { padding: 1.25rem 1.5rem .5rem; }
.sp__tag { margin: 0 0 .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-accent); }
.sp--important .sp__tag { color: #b91c1c; }
.sp__title { margin: 0 0 .5rem; font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.25; font-family: var(--t-heading-font, inherit); }
.sp__lead { margin: 0 0 .5rem; color: var(--sp-muted); }
.sp__text { font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }
.sp__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding: .5rem 1.5rem 1.25rem; }
.sp__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.2rem; border-radius: var(--t-btn-radius, 999px);
  background: var(--sp-accent); color: var(--sp-on); font-weight: 600; text-decoration: none; }
.sp__btn--ghost { background: transparent; color: var(--sp-accent); border: 2px solid var(--sp-accent); }
.sp__btn:focus-visible, .sp__close:focus-visible, .sp__never:focus-visible { outline: 3px solid var(--sp-accent); outline-offset: 2px; }
.sp__close { position: absolute; top: .5rem; right: .5rem; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(0 0 0 / .55); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sp__never { display: block; margin: 0 auto 1rem; border: 0; background: none; color: var(--sp-muted); font-size: .85rem; text-decoration: underline; cursor: pointer; }
/* entrance animations */
.sp--anim-fade .sp__box { transform: none; }
.sp--anim-slide .sp__box, .sp--anim-slide_bottom .sp__box { transform: translateY(24px); }
.sp--anim-slide_top .sp__box { transform: translateY(-24px); }
.sp--anim-slide_side .sp__box { transform: translateX(32px); }
.sp--anim-zoom .sp__box { transform: scale(.85); }
.sp--anim-scale .sp__box { transform: scale(1.06); }
.sp--anim-none .sp__box, .sp--anim-none .sp__backdrop { transition: none; }
@media (max-width: 640px) {
  .sp--fullscreen_mobile { padding: 0; }
  .sp--fullscreen_mobile .sp__box { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .sp--side { place-items: end center; }
  .sp__body { padding: 1rem 1.1rem .4rem; }
  .sp__actions { padding: .4rem 1.1rem 1rem; }
  .sp__actions .sp__btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .sp__box, .sp__backdrop { transition: none !important; transform: none !important; } }

/* ---------- Header + mobile side menu (drawer) ---------- */
.site-head { position: sticky; top: 0; z-index: 900; }
.site-head__row { flex-wrap: nowrap; }
.site-brand { min-width: 0; }
.site-brand__text { min-width: 0; }
.site-brand strong { display: block; line-height: 1.25; }
.site-burger, .site-drawer__head, .site-drawer__extra, .site-drawer__overlay { display: none; }
.site-nav { background: var(--t-primary, var(--brand)); }
.site-nav ul a[aria-current="page"] { background: rgba(255, 255, 255, .2); font-weight: 600; }
.site-menu { display: flex; align-items: center; gap: 1.25rem; }
.site-menu__links { display: flex; align-items: center; gap: 1.1rem; }
.site-menu__links a { color: inherit; text-decoration: none; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-menu__links a:hover, .site-menu__links a[aria-current="page"] { border-bottom-color: var(--t-primary, var(--brand)); }
.site-menu__actions { display: flex; align-items: center; gap: .6rem; }

@media (max-width: 900px) {
  .site-head__row { gap: .75rem; padding-block: .6rem; }
  .site-head__tools { display: none; }
  .site-brand { flex: 1 1 auto; gap: .6rem; }
  .site-brand__logo { width: 44px; height: 44px; flex: none; }
  .site-brand strong { font-size: 1rem; }
  .site-brand small { font-size: .8rem; line-height: 1.3; }
  .site-burger { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border);
    border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; }
  .site-burger__bars, .site-burger__bars::before, .site-burger__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; content: ""; }
  .site-burger__bars::before { position: absolute; top: -6px; } .site-burger__bars::after { position: absolute; top: 6px; }
  .site-burger:focus-visible, .site-drawer__close:focus-visible, .site-drawer a:focus-visible, .site-nav a:focus-visible, .site-menu a:focus-visible { outline: 3px solid var(--t-primary, var(--brand)); outline-offset: 2px; }

  /* The drawer: school .site-nav and platform .site-menu look the same. */
  .site-nav, .site-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001; width: min(320px, 86vw); display: flex; flex-direction: column;
    align-items: stretch; gap: 0; text-align: left; background: var(--surface); color: var(--text); box-shadow: -18px 0 40px -18px rgb(0 0 0 / .45);
    overflow-y: auto; overscroll-behavior: contain; transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
  .site-nav.is-open, .site-menu.is-open, .site-nav:target, .site-menu:target { transform: none; visibility: visible; }
  .site-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--border); }
  .site-drawer__brand { display: flex; align-items: center; gap: .6rem; min-width: 0; }
  .site-drawer__brand strong { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
  .site-drawer__logo, .site-drawer__brand img, .site-drawer__brand svg { width: 36px; height: 36px; flex: none; object-fit: contain; }
  .site-drawer__close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface-2); color: var(--text); font-size: 1.7rem; line-height: 1; text-decoration: none; }

  /* menu links */
  .site-nav .site-wrap { width: 100%; max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
  .site-nav ul { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; margin: 0; padding: .6rem; }
  .site-nav ul a, .site-nav summary, .site-menu__links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1rem;
    border: 0; border-radius: 12px; color: var(--text); font-size: 1.05rem; font-weight: 500; text-decoration: none; }
  .site-nav ul a::after, .site-menu__links a::after { content: "›"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
  .site-nav ul a:hover, .site-menu__links a:hover { background: var(--surface-2); }
  .site-nav ul a[aria-current="page"], .site-menu__links a[aria-current="page"] { background: color-mix(in srgb, var(--t-primary, var(--brand)) 12%, transparent);
    color: var(--t-primary, var(--brand)); font-weight: 700; }
  .site-nav ul a[aria-current="page"]::after, .site-menu__links a[aria-current="page"]::after { color: inherit; }
  .site-nav .site-dd__menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; }
  .site-menu__links { flex-direction: column; align-items: stretch; gap: 2px; padding: .6rem; }

  /* bottom: language + buttons */
  .site-drawer__extra, .site-menu__actions { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; margin-top: auto; padding: 1rem; border-top: 1px solid var(--border); }
  .site-drawer__lang { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--surface-2); }
  .site-drawer__lang a { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 9px; color: var(--text); text-decoration: none; font-weight: 600; }
  .site-drawer__lang a[aria-current] { background: var(--surface); color: var(--t-primary, var(--brand)); box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
  .site-drawer__btn, .site-menu__actions .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: .6rem 1rem;
    border-radius: 12px; font-size: 1rem; font-weight: 600; text-align: center; text-decoration: none; }
  .site-drawer__btn { border: 1px solid var(--border); color: var(--text); }
  .site-drawer__btn--primary { background: var(--t-primary, var(--brand)); border-color: var(--t-primary, var(--brand)); color: var(--t-on-primary, #fff); }

  .site-drawer__overlay { display: block; position: fixed; inset: 0; z-index: 1000; background: rgb(15 23 42 / .5); opacity: 0; pointer-events: none; transition: opacity .28s; }
  .site-drawer__overlay.is-open, .site-nav:target ~ .site-drawer__overlay, .site-menu:target ~ .site-drawer__overlay { opacity: 1; pointer-events: auto; }
  html.drawer-open { overflow: hidden; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .site-nav, .site-menu, .site-drawer__overlay { transition: none; } }
@media (max-width: 900px) {
  /* Platform drawer: "Log in" in the brand colour too (outlined), "Start free trial" stays the filled main button. */
  .site-menu__actions .btn:not(.btn--primary) { border: 2px solid var(--t-primary, var(--brand)); color: var(--t-primary, var(--brand));
    background: color-mix(in srgb, var(--t-primary, var(--brand)) 10%, var(--surface)); }
  .site-menu__actions .btn:not(.btn--primary):hover { background: color-mix(in srgb, var(--t-primary, var(--brand)) 18%, var(--surface)); }
}
/* Platform header dropdowns (desktop) and inside the mobile menu */
.site-menu__dd > summary { font-weight: 500; padding: .35rem 0; }
.site-menu__dd > summary.is-current { color: var(--t-primary, var(--brand)); }
@media (max-width: 900px) {
  .site-menu .site-dd { width: 100%; }
  .site-menu .site-dd > summary { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: 12px; font-size: 1.05rem; color: var(--text); }
  .site-menu .site-dd > summary::after { content: "▾"; font-size: .9rem; color: var(--muted); }
  .site-menu .site-dd[open] > summary { background: var(--surface-2); }
  .site-menu .site-dd__menu { position: static; display: grid !important; min-width: 0; margin: 2px 0 6px; padding: 0 0 0 .75rem; border: 0; box-shadow: none; background: transparent; }
  .site-menu .site-dd__menu a { font-size: 1rem; }
}
@media (max-width: 900px) {
  /* dropdown heading inside the school ☰ menu: same size as other items, arrow on the right */
  .site-nav .site-dd { width: 100%; }
  .site-nav .site-dd > details > summary { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .85rem 1rem; border-radius: 12px; font-size: 1.05rem; font-weight: 500; }
  .site-nav .site-dd > details[open] > summary { background: var(--surface-2); }
  .site-nav .site-dd__menu { padding-left: .75rem; }
  .site-nav .site-dd__menu a { font-size: 1rem; }
}

/* ---------- School website header, desktop (clean two-row header) ----------
   Row 1: logo + name, language switch, log-in button. Row 2: the menu on a light bar — dark text, soft pill on hover,
   the current page in the school colour, dropdowns as cards. (≤ 900px keeps the ☰ drawer.) */
@media (min-width: 901px) {
  .site-head { background: var(--surface); border-bottom: 0; box-shadow: 0 1px 0 var(--border), 0 6px 18px -14px rgb(15 23 42 / .35); }
  .site-head__row { padding-block: .7rem; }
  .site-brand strong { font-size: 1.12rem; letter-spacing: -.01em; }
  .site-brand__logo { width: 52px; height: 52px; border-radius: 10px; }
  .site-head__tools { gap: .65rem; }
  .site-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); font-size: .82rem; line-height: 1; }
  .site-lang a { padding: .38rem .7rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; }
  .site-lang a[aria-current] { background: var(--surface); color: var(--t-primary, var(--brand)); box-shadow: 0 1px 3px rgb(0 0 0 / .14); }
  .site-head .site-login { border-radius: 999px; padding-inline: 1.1rem; background: var(--t-primary, var(--brand)); border-color: var(--t-primary, var(--brand)); color: var(--t-on-primary, #fff); }
  .site-head .site-login:hover { filter: brightness(1.08); }

  .site-nav { background: var(--surface); border-top: 1px solid var(--border); }
  .site-nav > .site-wrap > ul { gap: .15rem; padding: .35rem 0; align-items: center; }
  .site-nav ul a, .site-nav .site-dd > details > summary {
    color: var(--text); font-weight: 500; font-size: .95rem; padding: .5rem .85rem; border-radius: 999px; line-height: 1.2;
    display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; transition: background .15s, color .15s; }
  .site-nav ul a:hover, .site-nav ul a:focus-visible, .site-nav .site-dd > details > summary:hover, .site-nav .site-dd > details > summary:focus-visible, .site-nav .site-dd > details[open] > summary {
    background: color-mix(in srgb, var(--t-primary, var(--brand)) 10%, transparent); color: var(--t-primary, var(--brand)); }
  .site-nav ul a[aria-current="page"] { background: var(--t-primary, var(--brand)); color: var(--t-on-primary, #fff); font-weight: 600; }
  .site-nav .site-dd > details > summary::after { content: ""; width: .42em; height: .42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px); margin-left: .2rem; opacity: .7; }
  .site-nav .site-dd > details[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
  .site-nav .site-dd__menu { top: calc(100% + 6px); min-width: 220px; padding: .4rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
    box-shadow: 0 18px 40px -18px rgb(15 23 42 / .45); }
  .site-nav .site-dd__menu a { display: block; width: 100%; color: var(--text); border-radius: 10px; padding: .55rem .8rem; font-size: .93rem; }
  .site-nav .site-dd__menu a:hover, .site-nav .site-dd__menu a:focus-visible { background: var(--surface-2); color: var(--t-primary, var(--brand)); }
  .site-nav .site-dd__menu a[aria-current="page"] { background: color-mix(in srgb, var(--t-primary, var(--brand)) 12%, transparent); color: var(--t-primary, var(--brand)); }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) { .site-nav ul a, .site-nav .site-dd > details > summary { transition: none; } }

/* ---------- Platform website header, desktop: same family as the school header ----------
   Links as soft pills (current page tinted in the brand colour), dropdown headings with a chevron instead of the
   browser's ▶ marker, dropdowns as cards, round Log in / Start free trial buttons. (≤ 900px keeps the ☰ drawer.) */
.site-menu__dd > summary { list-style: none; cursor: pointer; }
.site-menu__dd > summary::-webkit-details-marker { display: none; }
@media (min-width: 901px) {
  .site-head:has(.site-menu) { background: var(--surface); border-bottom: 0; box-shadow: 0 1px 0 var(--border), 0 6px 18px -14px rgb(15 23 42 / .35); }
  .site-head:has(.site-menu) .site-head__row { padding-block: .65rem; }
  .site-head:has(.site-menu) .site-brand strong { font-size: 1.15rem; letter-spacing: -.01em; }
  .site-menu { gap: 1rem; }
  .site-menu__links { gap: .15rem; }
  .site-menu__links > a, .site-menu__dd > summary {
    display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .85rem; border: 0; border-radius: 999px; color: var(--text);
    font-weight: 500; font-size: .95rem; line-height: 1.2; text-decoration: none; transition: background .15s, color .15s; }
  .site-menu__links > a:hover, .site-menu__links > a:focus-visible, .site-menu__dd > summary:hover, .site-menu__dd > summary:focus-visible, .site-menu__dd[open] > summary {
    background: color-mix(in srgb, var(--t-primary, var(--brand)) 10%, transparent); color: var(--t-primary, var(--brand)); border-bottom-color: transparent; }
  .site-menu__links > a[aria-current="page"], .site-menu__dd > summary.is-current {
    background: color-mix(in srgb, var(--t-primary, var(--brand)) 14%, transparent); color: var(--t-primary, var(--brand)); font-weight: 600; border-bottom-color: transparent; }
  .site-menu__dd > summary::after { content: ""; width: .42em; height: .42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px); margin-left: .2rem; opacity: .7; }
  .site-menu__dd[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
  .site-menu .site-dd__menu { top: calc(100% + 8px); min-width: 230px; padding: .4rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
    box-shadow: 0 18px 40px -18px rgb(15 23 42 / .45); }
  .site-menu .site-dd__menu a { display: block; color: var(--text); border-radius: 10px; padding: .55rem .8rem; font-size: .93rem; }
  .site-menu .site-dd__menu a:hover, .site-menu .site-dd__menu a:focus-visible { background: var(--surface-2); color: var(--t-primary, var(--brand)); }
  .site-menu .site-dd__menu a[aria-current="page"] { background: color-mix(in srgb, var(--t-primary, var(--brand)) 12%, transparent); color: var(--t-primary, var(--brand)); }
  .site-menu__actions { gap: .5rem; padding-left: .75rem; border-left: 1px solid var(--border); }
  .site-menu__actions .btn { border-radius: 999px; padding-inline: 1.1rem; }
  .site-menu__actions .btn:not(.btn--primary) { border-color: color-mix(in srgb, var(--t-primary, var(--brand)) 35%, var(--border)); color: var(--t-primary, var(--brand)); background: transparent; }
  .site-menu__actions .btn:not(.btn--primary):hover { background: color-mix(in srgb, var(--t-primary, var(--brand)) 10%, transparent); }
  .site-menu__actions .btn--primary { background: var(--t-primary, var(--brand)); border-color: var(--t-primary, var(--brand)); color: var(--t-on-primary, #fff); }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) { .site-menu__links > a, .site-menu__dd > summary { transition: none; } }

/* ---------- Offline payment ways with QR codes (fees page, online admission) ---------- */
.pay-ways { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.pay-way { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: .9rem 1rem; border: 1px solid rgba(100, 116, 139, .35); border-radius: 12px; background: rgba(148, 163, 184, .06); }
.pay-way h3 { margin: 0 0 .3rem; font-size: 1rem; }
.pay-way p { margin: 0 0 .4rem; overflow-wrap: anywhere; }
.pay-way__text { flex: 1; min-width: 0; }
.pay-way__qr { margin: 0; display: grid; gap: .4rem; justify-items: center; flex: 0 0 auto; }
.pay-way__qr img { width: 160px; height: 160px; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px; border: 1px solid rgba(100, 116, 139, .3); }
@media (max-width: 520px) { .pay-way--qr { flex-direction: column; align-items: stretch; } .pay-way__qr img { width: 200px; height: 200px; } }

/* ---------- Formatted text (RichText: rt-* classes, no inline styles) ---------- */
.rt > :first-child { margin-top: 0; }
.rt > :last-child { margin-bottom: 0; }
.rt p, .rt ul, .rt ol, .rt blockquote, .rt table { margin: 0 0 .6em; }
.rt h2 { font-size: 1.3em; margin: .4em 0 .4em; } .rt h3 { font-size: 1.15em; margin: .4em 0 .35em; } .rt h4 { font-size: 1em; margin: .4em 0 .3em; }
.rt ul, .rt ol { padding-left: 1.4em; }
.rt blockquote { border-left: 3px solid currentColor; padding: .2em .8em; opacity: .85; }
.rt hr { border: 0; border-top: 1px solid rgba(100, 116, 139, .4); margin: .8em 0; }
.rt a { text-decoration: underline; overflow-wrap: anywhere; }
.rt .rt-table, .rt table { border-collapse: collapse; width: 100%; max-width: 100%; display: block; overflow-x: auto; }
.rt th, .rt td { border: 1px solid rgba(100, 116, 139, .45); padding: .35em .55em; text-align: left; vertical-align: top; min-width: 3em; }
.rt th { background: rgba(148, 163, 184, .18); font-weight: 600; }
.rt .rt-left { text-align: left; } .rt .rt-center { text-align: center; } .rt .rt-right { text-align: right; } .rt .rt-justify { text-align: justify; }
.rt .rt-sm { font-size: .85em; } .rt .rt-lg { font-size: 1.25em; } .rt .rt-xl { font-size: 1.6em; line-height: 1.2; }
.rt-c-red { color: #c81e1e; } .rt-c-orange { color: #c2560c; } .rt-c-green { color: #15803d; } .rt-c-blue { color: #1d4ed8; } .rt-c-purple { color: #7e22ce; } .rt-c-gray { color: #64748b; }
.rt-hl-yellow { background: #fef08a; color: #1f2937; } .rt-hl-green { background: #bbf7d0; color: #1f2937; } .rt-hl-blue { background: #bfdbfe; color: #1f2937; } .rt-hl-pink { background: #fbcfe8; color: #1f2937; }
mark.rt-hl-yellow, mark.rt-hl-green, mark.rt-hl-blue, mark.rt-hl-pink { padding: 0 .15em; border-radius: 2px; }

/* One notice (from the notice bar) */
.site-notice-page__kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: .2rem; }
.site-notice-page__label { display: inline-block; background: #dc2626; color: #fff; font-weight: 700; font-size: .78rem; padding: .2rem .7rem; border-radius: 999px; }
.site-grid--doc { margin-bottom: .5rem; gap: 1rem; }
.site-grid { align-items: start; }
