/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .isolate {
    isolation: isolate;
  }
  .z-10 {
    z-index: 10;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .w-full {
    width: 100%;
  }
  .grow {
    flex-grow: 1;
  }
  .resize {
    resize: both;
  }
  .flex-col {
    flex-direction: column;
  }
  .items-center {
    align-items: center;
  }
  .text-center {
    text-align: center;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
:root {
  color-scheme: light;
  --school-navy: #102c47;
  --school-gold: #efcb7d;
  --school-white: #ffffff;
  --brand-ink: #192e42;
  --brand-green: #285645;
  --brand-red: #a22e31;
  --brand-muted: #626e75;
  --brand-cream: #f7f5ee;
  --brand-line: #e3e7df;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.school-location-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #80948680;
  text-underline-offset: 3px;
}
.school-location-link:hover {
  text-decoration-color: currentColor;
}
.school-location-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
button {
  font: inherit;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}
.welcome-screen {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1.25rem 1.5rem;
  overflow: hidden;
  color: var(--school-white);
  background: radial-gradient(ellipse at 75% 15%, #375c74, var(--school-navy) 65%);
  font-family: Arial, "Nirmala UI", "Kohinoor Devanagari", sans-serif;
}
.welcome-background,
.welcome-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.welcome-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-overlay {
  background: linear-gradient(180deg, rgb(7 24 41 / 38%), rgb(7 24 41 / 65%) 55%, rgb(7 24 41 / 83%));
}
.welcome-content {
  max-width: 44rem;
  margin: auto 0;
}
.school-logo-frame {
  display: grid;
  width: clamp(9rem, 18vw, 11.5rem);
  aspect-ratio: 1080 / 1069;
  place-items: center;
  margin-bottom: 1.75rem;
  padding: 0.5rem;
  border: 1px solid rgb(239 203 125 / 70%);
  border-radius: 0.75rem;
  background: var(--school-white);
  box-shadow: 0 0 0 0.5rem rgb(255 255 255 / 5%);
}
.school-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.school-logo-text {
  color: var(--school-navy);
  font-family: Georgia, serif;
  font-size: 3rem;
}
.school-classes {
  margin: 0 0 0.5rem;
  color: #f3dfb4;
  font-size: 1rem;
  line-height: 1.8;
}
.school-name {
  margin: 0;
  max-width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgb(0 0 0 / 25%);
  overflow-wrap: anywhere;
}
.welcome-divider {
  width: 3.5rem;
  height: 2px;
  margin: 1.75rem auto;
  background: var(--school-gold);
}
.language-prompt {
  font-size: 1rem;
  line-height: 1.8;
}
.language-prompt p {
  margin: 0;
}
.language-prompt p[lang="hi"] {
  color: #e4eaf0;
}
.language-options {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.language-button {
  min-width: min(9rem, 100%);
  min-height: 3.5rem;
  padding: 0.8rem 1.75rem;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 0.375rem;
  color: var(--school-white);
  background: rgb(11 32 51 / 45%);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.language-button:hover,
.language-button[aria-pressed="true"] {
  border-color: var(--school-gold);
  color: var(--school-navy);
  background: var(--school-gold);
}
.language-button:focus-visible {
  outline: 3px solid var(--school-white);
  outline-offset: 5px;
}
.language-button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.language-status {
  min-height: 1.8rem;
  margin: 1.25rem 0 0;
  color: #f3dfb4;
  font-size: 0.875rem;
  line-height: 1.8;
}
.welcome-address {
  z-index: 1;
  max-width: 36rem;
  margin: 0;
  color: #e4eaf0;
  font-size: 0.875rem;
  line-height: 1.8;
  text-align: center;
}
@media (max-width: 380px) {
  .welcome-screen {
    padding-inline: 1rem;
  }
  .language-options {
    width: 100%;
    gap: 0.75rem;
  }
  .language-button {
    min-width: 0;
    flex: 1 1 7rem;
    padding-inline: 1rem;
  }
  .school-name {
    letter-spacing: 0.04em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .language-button {
    transition: none;
  }
}
.school-site {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  background: #fff;
  color: var(--brand-ink);
  font-family: Arial, "Nirmala UI", "Kohinoor Devanagari", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
.school-site > main {
  flex: 1;
}
.school-site a {
  color: inherit;
  text-decoration: none;
}
.school-site a:focus-visible,
.school-site button:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 5px;
}
.school-site svg {
  flex-shrink: 0;
}
.page-width {
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  background: #fff;
  box-shadow: 0 2px 16px #192e4230;
}
.skip-link:focus {
  transform: translateY(0);
}
.school-topbar {
  background: var(--brand-ink);
  color: #f5f7f3;
  font-size: 0.75rem;
}
.topbar-inner {
  display: flex;
  min-height: 2.375rem;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-block: 0.3rem;
}
.topbar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar-inner svg {
  width: 14px;
  height: 14px;
  color: #c8d6c1;
}
.brand-row {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}
.site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}
.site-brand-logo {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}
.site-brand-fallback {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border: 1px solid var(--brand-line);
  font: 2.5rem Georgia, serif;
}
.site-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.brand-name {
  font: 700 2.1rem/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: 0.055em;
}
.brand-motto {
  color: var(--brand-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.085em;
}
.school-site[lang="hi"] .brand-motto {
  letter-spacing: 0;
  font-size: 0.8rem;
}
.header-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
  align-items: center;
}
.language-reset {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.language-reset:hover {
  background: var(--brand-cream);
}
.language-reset span[aria-hidden="true"] {
  color: #a4aba5;
  font-weight: 400;
}
.mobile-menu-button {
  display: none;
}
.site-nav {
  border-top: 1px solid #f0f1ec;
  border-bottom: 1px solid var(--brand-line);
}
.nav-inner {
  display: flex;
  align-items: stretch;
  column-gap: 1.875rem;
  flex-wrap: wrap;
}
.nav-inner > a {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  padding-block: 0.75rem;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
}
.nav-inner > a:hover {
  color: var(--brand-green);
}
.nav-inner > a[aria-current="page"] {
  border-bottom-color: var(--brand-red);
  color: var(--brand-red);
}
.nav-note {
  align-self: center;
  margin-left: auto;
  color: var(--brand-muted);
  font: italic 0.875rem Georgia, serif;
}
.home-hero {
  position: relative;
  overflow: hidden;
  padding-block: 4.25rem 3.75rem;
  background: var(--brand-cream);
}
.home-hero::before {
  position: absolute;
  width: 40rem;
  height: 40rem;
  right: -18rem;
  top: -24rem;
  border: 1px solid #e3e7da;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.hero-copy {
  min-width: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--brand-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.7;
}
.eyebrow-line {
  width: 1.75rem;
  height: 1px;
  flex-shrink: 0;
  background: var(--brand-green);
}
.hero-copy h1 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1.5rem 0 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 4.7vw, 4.375rem);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.hero-copy h1 strong {
  color: var(--brand-red);
  font-size: 1.18em;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.school-site[lang="hi"] .hero-copy h1 {
  font-family: "Kohinoor Devanagari", "Nirmala UI", sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.5;
  letter-spacing: 0;
}
.school-site[lang="hi"] .hero-copy h1 strong {
  font-size: 1.05em;
  letter-spacing: 0;
}
.school-site[lang="hi"] .eyebrow {
  letter-spacing: 0.025em;
  font-size: 0.875rem;
}
.hero-description {
  max-width: 31rem;
  margin: 0;
  color: var(--brand-muted);
  font-size: 1rem;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.6rem;
  align-items: center;
  margin-top: 2rem;
}
.school-site .site-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.school-site .site-button-primary {
  color: #fff;
  background: var(--brand-green);
}
.school-site .site-button-primary:hover {
  background: #1c4233;
}
.site-button svg, .text-link svg {
  width: 18px;
  height: 18px;
}
.school-site .text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-green);
  font-size: 0.875rem;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.campus-figure {
  position: relative;
  min-width: 0;
  margin: 0;
  padding-bottom: 1.75rem;
}
.campus-picture {
  position: relative;
  isolation: isolate;
  aspect-ratio: 6 / 5;
  border: 1px solid #dbe5d6;
  border-radius: 50% 50% 0.6rem 0.6rem;
  overflow: hidden;
  background: #e4eee6;
}
.campus-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.campus-image.is-illustration {
  object-fit: contain;
}
.campus-terminal {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--brand-green);
  font: 2rem Georgia, serif;
}
.campus-terminal svg {
  width: 4rem;
  height: 4rem;
}
.campus-year {
  position: absolute;
  left: -1.6rem;
  bottom: 4.75rem;
  display: flex;
  width: 6.4rem;
  height: 6.4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--brand-cream);
  border-radius: 50%;
  color: var(--brand-ink);
  background: #ecd8aa;
  transform: rotate(-7deg);
}
.campus-year > span:first-child {
  font-size: 0.65rem;
  letter-spacing: 0.07em;
}
.campus-year strong {
  font: 1.65rem/1.1 Georgia, serif;
}
.year-decoration {
  font-size: 0.8rem;
  line-height: 1.5;
}
.campus-figure figcaption {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--brand-muted);
  font-size: 0.7rem;
}
.caption-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-green);
}
.school-facts {
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  background: #fff;
}
.facts-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  padding-block: 1.6rem;
}
.school-fact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
  padding-inline: 2rem;
  border-left: 1px solid var(--brand-line);
}
.school-fact:first-child {
  border-left: 0;
  padding-left: 0;
}
.fact-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-green);
  background: #eff4ed;
}
.fact-icon svg {
  width: 21px;
  height: 21px;
}
.school-fact p {
  margin: 0 0 0.25rem;
  color: var(--brand-muted);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}
.school-fact strong {
  font-size: 0.875rem;
  font-weight: 600;
}
.school-introduction {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  padding-block: 5rem;
}
.introduction-copy h2 {
  margin: 1rem 0 1.25rem;
  font: 400 clamp(2rem, 3vw, 2.6rem)/1.25 Georgia, serif;
  white-space: pre-line;
  letter-spacing: -0.02em;
}
.introduction-copy > p:not(.eyebrow) {
  max-width: 32rem;
  margin: 0 0 1.25rem;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.95;
}
.school-site[lang="hi"] .introduction-copy h2 {
  font-family: "Kohinoor Devanagari", "Nirmala UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}
.school-quick-links {
  align-self: center;
  padding: 1.5rem 1.75rem 0.5rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  background: #fafbf8;
}
.school-quick-links h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
}
.school-quick-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--brand-line);
}
.quick-link-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 0.25rem;
  color: var(--brand-green);
  background: #eaf0e6;
}
.quick-link-icon svg {
  width: 20px;
  height: 20px;
}
.school-quick-link > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.school-quick-link strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}
.school-quick-link small {
  display: block;
  margin-top: 0.2rem;
  color: var(--brand-muted);
  font-size: 0.75rem;
}
.quick-link-arrow {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}
.school-quick-link:hover strong {
  color: var(--brand-green);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
.site-footer {
  border-top: 1px solid var(--brand-line);
  background: var(--brand-cream);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding-block: 2rem;
}
.footer-brand {
  font: 700 1.25rem Georgia, serif;
  letter-spacing: 0.05em;
}
.footer-inner p {
  margin: 0.4rem 0 0;
  color: var(--brand-muted);
  font-size: 0.75rem;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
  font-size: 0.75rem;
  color: var(--brand-muted);
}
.footer-right a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
.section-page-heading {
  padding-block: 2rem 3.5rem;
  background: var(--brand-cream);
  border-bottom: 1px solid var(--brand-line);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
  color: var(--brand-muted);
  font-size: 0.75rem;
}
.breadcrumbs a:hover {
  color: var(--brand-green);
  text-decoration: underline;
}
.section-page-heading h1 {
  margin: 0.8rem 0 1rem;
  font: 400 clamp(2.25rem, 4vw, 3.5rem)/1.2 Georgia, serif;
  letter-spacing: -0.025em;
}
.section-description {
  max-width: 40rem;
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.95rem;
}
.section-page-content {
  padding-block: 3.5rem;
}
.section-placeholder {
  max-width: 52rem;
  margin-inline: auto;
  padding: 3rem 2rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  text-align: center;
}
.placeholder-icon {
  display: inline-grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border-radius: 50%;
  background: #edf2e9;
  color: var(--brand-green);
}
.placeholder-icon svg {
  width: 28px;
  height: 28px;
}
.section-placeholder h2 {
  margin: 1.5rem 0 0.75rem;
  font: 400 1.8rem/1.4 Georgia, serif;
}
.section-placeholder p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.9;
}
.section-placeholder address {
  margin: 0 0 1.5rem;
  color: var(--brand-muted);
  font-size: 1rem;
  font-style: normal;
}
.contact-phone-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--brand-line);
}
.contact-phone-section h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.contact-phone-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.35rem;
  color: var(--brand-green);
  font-weight: 600;
}
.contact-phone:hover {
  background: #edf2e9;
}
.contact-phone svg {
  width: 20px;
  height: 20px;
}
.section-placeholder p.contact-help {
  margin-block: 1rem 0;
  font-size: 0.8rem;
}
.school-site[lang="hi"] .section-page-heading h1,
.school-site[lang="hi"] .section-placeholder h2 {
  font-family: "Kohinoor Devanagari", "Nirmala UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}
.school-about {
  display: grid;
  gap: 4.5rem;
  padding-block: 0.5rem 1rem;
}
.school-about h2 {
  margin: 0.8rem 0 1.25rem;
  font: 400 clamp(1.8rem, 3vw, 2.5rem)/1.3 Georgia, serif;
  letter-spacing: -0.02em;
}
.school-about p:not(.eyebrow):not(.leader-role):not(.about-location) {
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.95;
}
.about-story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
}
.about-story h2, .about-teachers h2 {
  white-space: pre-line;
}
.about-story-copy p {
  margin: 0 0 1.2rem;
}
.about-student-count {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.about-student-count strong {
  color: var(--brand-red);
  font: 400 3.5rem/1 Georgia, serif;
}
.about-student-count span {
  max-width: 15rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-muted);
}
.school-about .about-location {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 1.5rem 0 0;
  color: var(--brand-green);
  font-size: 0.8rem;
}
.about-location svg {
  width: 18px;
  height: 18px;
}
.about-section-intro {
  max-width: 43rem;
  margin-bottom: 2rem;
}
.about-section-intro > p:last-child:not(.eyebrow) {
  margin: 0;
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
.leader-card {
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  background: #fdfdfb;
}
.leader-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.leader-profile > div:last-child {
  min-width: 0;
}
.leader-portrait {
  width: 8.75rem;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #edf2e9;
}
.leader-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.leader-portrait-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--brand-green);
  font: 3rem Georgia, serif;
}
.school-about .leader-role {
  margin: 0 0 0.4rem;
  color: var(--brand-green);
  font-size: 0.75rem;
  font-weight: 700;
}
.leader-card h3 {
  margin: 0 0 0.65rem;
  font: 400 1.75rem/1.3 Georgia, serif;
}
.leader-school {
  color: var(--brand-muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}
.leader-vision {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--brand-line);
}
.leader-vision h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.leader-vision p {
  margin: 0 0 1rem;
}
.leader-vision p:last-child {
  margin-bottom: 0;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}
.about-value {
  padding-top: 1.25rem;
  border-top: 2px solid var(--brand-line);
}
.value-number {
  color: var(--brand-green);
  font: 1.25rem Georgia, serif;
}
.about-value h3 {
  margin: 0.85rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}
.about-value p {
  margin: 0;
}
.about-teachers {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  padding: 2.5rem;
  border: 1px solid #dce5d8;
  border-radius: 0.5rem;
  background: #f0f4ec;
}
.about-teachers h2 {
  margin-bottom: 0;
}
.about-teachers > div:last-child > p {
  margin: 0 0 1.5rem;
}
.school-site[lang="hi"] .school-about h2,
.school-site[lang="hi"] .leader-card h3 {
  font-family: "Kohinoor Devanagari", "Nirmala UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}
.school-site[lang="hi"] .about-student-count span {
  font-size: 0.85rem;
  letter-spacing: 0;
}
@media (max-width: 1000px) {
  .about-story {
    gap: 2.5rem;
  }
  .leader-card {
    padding: 1.5rem;
  }
  .leader-profile {
    gap: 1rem;
  }
  .leader-portrait {
    width: 6.5rem;
  }
  .leader-card h3 {
    font-size: 1.4rem;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .about-teachers {
    gap: 2.5rem;
    padding: 2rem;
  }
}
@media (max-width: 1100px) {
  .nav-note {
    display: none;
  }
  .hero-grid {
    gap: 2.75rem;
  }
  .school-introduction {
    gap: 3rem;
  }
  .school-fact {
    padding-inline: 1.25rem;
  }
}
@media (max-width: 767px) {
  .page-width {
    width: min(100% - 2.5rem, 36rem);
  }
  .school-topbar {
    font-size: 0.65rem;
  }
  .topbar-inner {
    flex-wrap: wrap;
    gap: 0.2rem 1rem;
    padding-block: 0.4rem;
  }
  .brand-row {
    min-height: 6rem;
    gap: 0.75rem;
  }
  .site-brand {
    gap: 0.65rem;
  }
  .site-brand-logo, .site-brand-fallback {
    width: 3.6rem;
    height: 3.6rem;
  }
  .brand-name {
    font-size: 1.6rem;
  }
  .brand-motto {
    font-size: 0.55rem;
    letter-spacing: 0.035em;
  }
  .school-site[lang="hi"] .brand-motto {
    font-size: 0.6rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .language-reset {
    min-height: 2.75rem;
    gap: 0.3rem;
    padding: 0.5rem;
    font-size: 0.7rem;
  }
  .mobile-menu-button {
    display: inline-flex;
    width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 1px solid var(--brand-line);
    border-radius: 0.3rem;
    background: #fff;
    color: var(--brand-ink);
    font-size: 0;
    cursor: pointer;
  }
  .mobile-menu-button svg {
    width: 20px;
    height: 20px;
  }
  .site-nav {
    display: none;
  }
  .site-nav.is-open {
    display: block;
  }
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-block: 0.5rem;
  }
  .nav-inner > a {
    min-height: 3rem;
    padding-inline: 0.75rem;
    border: 0;
    border-radius: 0.2rem;
  }
  .nav-inner > a[aria-current="page"] {
    background: #f8eeea;
  }
  .home-hero {
    padding-block: 2.75rem 2.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-copy h1 {
    margin-block: 1.1rem 1rem;
    font-size: clamp(2.7rem, 8.5vw, 4rem);
  }
  .school-site[lang="hi"] .hero-copy h1 {
    font-size: clamp(2.25rem, 7.5vw, 3.5rem);
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .hero-actions {
    gap: 1rem 1.25rem;
    margin-top: 1.5rem;
  }
  .campus-figure {
    width: min(100% - 0.75rem, 29rem);
    margin-inline: auto;
  }
  .campus-year {
    left: -0.8rem;
    width: 5.4rem;
    height: 5.4rem;
    bottom: 4.1rem;
  }
  .campus-year strong {
    font-size: 1.4rem;
  }
  .facts-inner {
    grid-template-columns: 1fr;
    padding-block: 0.3rem;
  }
  .school-fact, .school-fact:first-child {
    padding: 1.1rem 0;
    border: 0;
  }
  .school-fact + .school-fact {
    border-top: 1px solid var(--brand-line);
  }
  .school-fact strong {
    font-size: 0.9rem;
  }
  .school-introduction {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3rem;
  }
  .school-quick-links {
    padding-inline: 1.25rem;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
    padding-block: 1.75rem;
  }
  .footer-right {
    align-items: flex-start;
  }
  .section-page-heading {
    padding-block: 1.5rem 2.5rem;
  }
  .breadcrumbs {
    margin-bottom: 1.75rem;
  }
  .section-page-content {
    padding-block: 2rem;
  }
  .section-placeholder {
    padding: 2.25rem 1.25rem;
  }
  .section-placeholder h2 {
    font-size: 1.5rem;
  }
  .school-about {
    gap: 3rem;
    padding: 0;
  }
  .about-story, .leadership-grid, .about-teachers {
    grid-template-columns: 1fr;
  }
  .about-story {
    gap: 1.75rem;
  }
  .about-student-count {
    margin-top: 1.25rem;
  }
  .about-section-intro {
    margin-bottom: 1.5rem;
  }
  .leader-portrait {
    width: 7rem;
  }
  .leader-card {
    padding: 1.25rem;
  }
  .leader-vision {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-teachers {
    gap: 1.25rem;
    padding: 1.5rem;
  }
}
@media (max-width: 380px) {
  .page-width {
    width: calc(100% - 2rem);
  }
  .site-brand-logo, .site-brand-fallback {
    width: 2.75rem;
    height: 2.75rem;
  }
  .site-brand {
    gap: 0.4rem;
  }
  .brand-name {
    font-size: 1.3rem;
  }
  .brand-motto {
    max-width: 9.5rem;
    font-size: 0.5rem;
  }
  .school-site[lang="hi"] .brand-motto {
    font-size: 0.55rem;
  }
  .header-actions {
    gap: 0.3rem;
  }
  .language-reset {
    gap: 0.2rem;
    padding-inline: 0.4rem;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.09em;
  }
}
.embedded-school-map {
  position: relative;
  width: 100%;
  height: clamp(18rem, 42vw, 27rem);
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  background: var(--brand-cream);
}
.embedded-school-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.gallery-filters button {
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--brand-line);
  border-radius: 2rem;
  color: var(--brand-green);
  background: #fff;
  cursor: pointer;
}
.gallery-filters button[aria-pressed="true"] {
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #fff;
}
.gallery-filters button:focus-visible, .album-photo:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 4px;
}
.gallery-empty {
  padding: 3rem 1.5rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  text-align: center;
}
.gallery-empty h2 {
  font: 400 1.8rem/1.5 Georgia, serif;
  margin: 1rem 0;
}
.gallery-empty p, .gallery-status {
  color: var(--brand-muted);
  font-size: 0.95rem;
}
.gallery-empty p {
  max-width: 35rem;
  margin: 0 auto 1rem;
}
.gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.gallery-album-card {
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
}
.gallery-album-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #edf2e9;
}
.gallery-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-album-copy {
  padding: 1.25rem;
}
.gallery-album-copy h2 {
  font: 400 1.4rem/1.5 Georgia, serif;
  margin: 0.5rem 0 0.75rem;
  overflow-wrap: anywhere;
}
.gallery-album-copy > p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.8rem;
}
.gallery-album-copy svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
}
.gallery-album-card:hover h2 {
  color: var(--brand-green);
}
.album-count {
  margin: 1rem 0 0;
  color: var(--brand-green);
  font-size: 0.85rem;
}
.gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.gallery-pagination:last-child {
  margin: 1.5rem 0 0;
}
.gallery-pagination p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.85rem;
  text-align: center;
}
.gallery-pagination button {
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.3rem;
  color: var(--brand-green);
  background: #fff;
  cursor: pointer;
}
.gallery-pagination button:disabled {
  opacity: 0.45;
  cursor: default;
}
.gallery-pagination button:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 3px;
}
.album-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.album-photo {
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 3;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #edf2e9;
  cursor: zoom-in;
}
.album-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #edf2e9;
}
.photo-dialog {
  width: min(90vw, 70rem);
  max-width: none;
  max-height: 95svh;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: #142331;
  color: white;
}
.photo-dialog::backdrop {
  background: #0b1724e8;
}
.photo-dialog-inner {
  position: relative;
  padding: 3.5rem 1.25rem 0.75rem;
}
.photo-dialog-inner > .gallery-image {
  height: min(70svh, 45rem);
}
.photo-dialog-inner > .gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photo-dialog-close {
  position: absolute;
  top: 0.4rem;
  right: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
.photo-dialog-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.photo-dialog-controls button {
  min-height: 2.75rem;
  min-width: 2.75rem;
  border: 1px solid #5a6771;
  border-radius: 0.25rem;
  background: transparent;
  color: white;
  cursor: pointer;
}
.photo-dialog-controls p {
  font-size: 0.85rem;
}
.school-site[lang="hi"] .gallery-album-copy h2, .school-site[lang="hi"] .gallery-empty h2 {
  font-family: "Kohinoor Devanagari", "Nirmala UI", sans-serif;
}
.admin-page, .admin-login-page {
  color: var(--brand-ink);
  background: #f5f6f2;
  font: 0.9rem/1.6 Arial, "Kohinoor Devanagari", sans-serif;
}
.admin-page {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 15rem minmax(0, 1fr);
}
.admin-page a, .admin-login-page a {
  color: var(--brand-green);
  text-decoration: none;
}
.admin-page button, .admin-login-page button {
  cursor: pointer;
}
.admin-page button:disabled, .admin-login-page button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.admin-page :is(button,a,input,select,textarea):focus-visible, .admin-login-page :is(button,a,input):focus-visible {
  outline: 3px solid #7eaa88;
  outline-offset: 3px;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: 100svh;
  padding: 2rem 1.15rem;
  border-right: 1px solid var(--brand-line);
  background: #fff;
}
.admin-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-inline: 0.5rem;
  color: var(--brand-ink) !important;
  font: 700 1.7rem/1.3 Georgia, serif;
  letter-spacing: 0.045em;
}
.admin-brand span {
  font: 0.7rem/1.6 Arial, sans-serif;
  letter-spacing: 0;
  color: var(--brand-muted);
}
.admin-sidebar nav {
  display: grid;
  gap: 0.5rem;
  margin-top: 3rem;
}
.admin-sidebar nav button {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem;
  border: 0;
  border-radius: 0.4rem;
  color: var(--brand-muted);
  background: transparent;
  text-align: left;
  font-size: 0.85rem;
}
.admin-sidebar nav button[aria-current="page"] {
  color: var(--brand-green);
  background: #edf2e9;
  font-weight: 600;
}
.admin-sidebar nav span {
  font-size: 1.2rem;
}
.admin-preview-link {
  margin-top: auto;
  padding: 1rem 0.5rem 0;
  font-size: 0.8rem;
}
.admin-sidebar-note {
  margin: 0.5rem 0.5rem 0;
  font-size: 0.7rem;
  color: var(--brand-muted);
}
.admin-main {
  min-width: 0;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.5rem;
  gap: 1rem;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid var(--brand-line);
  background: #fff;
}
.admin-preview-badge {
  color: var(--brand-green);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.admin-topbar > div {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--brand-muted);
  font-size: 0.8rem;
}
.admin-topbar button {
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.3rem;
  color: var(--brand-ink);
  background: white;
}
.admin-section {
  max-width: 85rem;
  margin-inline: auto;
  padding: 2.5rem;
}
.admin-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.admin-section-heading h1 {
  margin: 0.5rem 0;
  font: 400 clamp(1.75rem, 2.6vw, 2.35rem)/1.3 Georgia, serif;
}
.admin-section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--brand-muted);
}
.admin-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--brand-green);
  border-radius: 0.35rem;
  color: #fff;
  background: var(--brand-green);
  font-size: 0.8rem;
  font-weight: 600;
}
.admin-button:hover {
  background: #1c4233;
}
.admin-button-secondary {
  color: var(--brand-green);
  background: white;
  border-color: #cbd7c9;
}
.admin-button-secondary:hover {
  background: #edf2e9;
}
.admin-page label, .admin-login-page label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 600;
}
.admin-page :is(input,textarea,select), .admin-login-page input {
  width: 100%;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #cfd6cc;
  border-radius: 0.3rem;
  background: #fff;
  color: var(--brand-ink);
  font: 0.85rem/1.5 Arial, "Kohinoor Devanagari", sans-serif;
}
.admin-page input.sr-only {
  width: 1px;
  padding: 0;
  border: 0;
}
.admin-page textarea {
  resize: vertical;
}
.admin-toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.admin-toolbar label {
  min-width: 10rem;
}
.admin-toolbar select {
  min-height: 2.75rem;
  padding-block: 0.6rem;
}
.analytics-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.analytics-kpis article {
  padding: 1.5rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  background: white;
}
.analytics-kpis p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-muted);
}
.analytics-kpis strong {
  display: block;
  margin-block: 0.5rem;
  font: 400 3rem/1.2 Georgia, serif;
  color: var(--brand-green);
}
.analytics-kpis span {
  display: block;
  color: var(--brand-muted);
  font-size: 0.7rem;
}
.admin-panel {
  min-width: 0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  background: white;
}
.admin-panel h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.admin-panel h3 {
  font-size: 0.95rem;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.panel-heading h2, .panel-heading h3 {
  margin: 0;
}
.panel-heading > span {
  color: var(--brand-muted);
  font-size: 0.75rem;
}
.analytics-chart svg {
  display: block;
  width: 100%;
  min-height: 10rem;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--brand-muted);
  font-size: 0.75rem;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-legend i {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}
.legend-visits {
  background: #d0dfce;
}
.legend-unique {
  background: var(--brand-green);
}
.admin-note {
  color: var(--brand-muted);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.7;
}
.analytics-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.admin-table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.admin-page table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.8rem;
}
.admin-page :is(th,td) {
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid #eef0eb;
  vertical-align: top;
}
.admin-page th {
  color: var(--brand-muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.admin-page td small {
  display: block;
  color: var(--brand-muted);
  font-size: 0.65rem;
  margin-top: 0.2rem;
}
.admin-page tbody tr:last-child td {
  border-bottom: 0;
}
.activity-table {
  min-width: 42rem;
}
.activity-table td {
  max-width: 15rem;
  overflow-wrap: anywhere;
}
.flow-arrow {
  display: block;
  color: var(--brand-green);
  line-height: 1.5;
}
.visitor-id {
  font-weight: 600;
}
.analytics-retention a {
  text-decoration: underline;
}
.analytics-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  font-size: 0.75rem;
  border-bottom: 1px solid #eef0eb;
  overflow-wrap: anywhere;
}
.analytics-summary-row strong {
  flex-shrink: 0;
  font-weight: 600;
}
.admin-empty {
  color: var(--brand-muted);
  padding-block: 1rem;
  font-size: 0.85rem;
}
.admin-message {
  padding: 0.9rem 1rem;
  margin-block: 1rem;
  border-radius: 0.3rem;
  color: var(--brand-muted);
  background: #edf2e9;
  font-size: 0.8rem;
}
.admin-message.is-error {
  color: #8a292c;
  background: #f9edeb;
}
.admin-message.is-success {
  color: var(--brand-green);
  background: #edf2e9;
}
.admin-category-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.admin-category-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 5rem;
  padding: 1rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.4rem;
  background: white;
  color: var(--brand-ink);
}
.admin-category-grid button[aria-pressed="true"] {
  border-color: var(--brand-green);
  background: #edf2e9;
}
.admin-category-grid strong {
  font-size: 0.85rem;
}
.admin-category-grid span {
  color: var(--brand-muted);
  font-size: 0.7rem;
}
.album-manager-grid {
  display: grid;
  grid-template-columns: 15rem minmax(0,1fr);
  align-items: start;
  gap: 1.25rem;
}
.album-list h2 {
  font-size: 0.85rem;
}
.album-list {
  padding: 1.15rem;
}
.album-list button {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  background: transparent;
  color: var(--brand-ink);
  text-align: left;
}
.album-list button.is-selected {
  background: #edf2e9;
  border-color: #dbe5d7;
}
.album-list button strong {
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.album-list button span {
  color: var(--brand-muted);
  font-size: 0.7rem;
}
.album-status {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  background: #f4f0e5;
  color: #7b6033;
  font-size: 0.65rem;
}
.album-status.is-published {
  background: #edf2e9;
  color: var(--brand-green);
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.album-details-form {
  padding-block: 1rem 1.5rem;
  border-bottom: 1px solid var(--brand-line);
}
.upload-zone {
  text-align: center;
  padding: 2rem 1rem;
  margin-block: 1.75rem;
  border: 1px dashed #a6bda8;
  border-radius: 0.5rem;
  background: #fafcf7;
}
.upload-zone.is-dragging {
  background: #e4eddf;
  border-color: var(--brand-green);
}
.upload-zone h3 {
  margin: 0.5rem 0;
}
.upload-zone p {
  margin: 0.5rem 0;
  font-size: 0.8rem;
  color: var(--brand-muted);
}
.upload-zone .upload-symbol {
  color: var(--brand-green);
  font-size: 2rem;
  margin: 0;
  line-height: 1;
}
.upload-zone .admin-button {
  margin-top: 0.75rem;
}
.upload-progress {
  overflow-wrap: anywhere;
}
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0.75rem;
}
.admin-photo-grid .gallery-image {
  height: auto;
  aspect-ratio: 4/3;
}
.admin-photo-grid .gallery-image img {
  height: 100%;
}
.admin-photo-grid figure {
  margin: 0;
}
.admin-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.3rem;
}
.admin-photo-grid figcaption {
  margin-top: 0.4rem;
  color: var(--brand-muted);
  font-size: 0.65rem;
}
.admin-gallery-start {
  text-align: center;
  padding: 4rem 2rem;
}
.admin-gallery-start > span {
  color: var(--brand-green);
  font-size: 3rem;
}
.admin-gallery-start p {
  max-width: 27rem;
  margin: 1rem auto 1.5rem;
  color: var(--brand-muted);
}
.admin-text-link {
  color: var(--brand-green);
  font-size: 0.8rem;
}
.admin-dialog {
  width: min(32rem,100% - 2rem);
  padding: 2rem;
  border: 0;
  border-radius: 0.5rem;
  background: white;
  color: var(--brand-ink);
  font-family: Arial, sans-serif;
}
.admin-dialog::backdrop {
  background: #122a3dc0;
}
.admin-dialog h2 {
  margin: 0;
  font: 1.7rem Georgia, serif;
}
.admin-dialog p {
  color: var(--brand-muted);
  font-size: 0.85rem;
}
.admin-dialog label {
  margin-top: 1rem;
}
.admin-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.admin-login-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem 1.25rem;
}
.admin-login-card {
  width: min(100%,28rem);
  padding: 2.5rem;
  border: 1px solid var(--brand-line);
  border-radius: 0.75rem;
  background: white;
  box-shadow: 0 8px 36px #192e4208;
}
.admin-login-card .admin-brand {
  padding: 0;
}
.admin-login-card h1 {
  margin: 2rem 0 0.5rem;
  font: 400 2rem Georgia, serif;
}
.admin-login-card > p {
  margin: 0 0 1.75rem;
  color: var(--brand-muted);
  font-size: 0.85rem;
}
.admin-login-card label {
  margin-bottom: 1.25rem;
}
.admin-login-card form > button {
  width: 100%;
  margin-bottom: 1.5rem;
}
@media (max-width:1100px) {
  .admin-page {
    grid-template-columns: 12rem minmax(0,1fr);
  }
  .admin-section {
    padding: 2rem;
  }
  .admin-topbar {
    padding-inline: 2rem;
  }
  .album-manager-grid {
    grid-template-columns: 12rem minmax(0,1fr);
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-grid > div:empty {
    display: none;
  }
  .admin-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width:767px) {
  .gallery-album-grid {
    grid-template-columns: 1fr;
  }
  .album-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-empty h2 {
    font-size: 1.5rem;
  }
  .photo-dialog {
    width: calc(100% - 1rem);
  }
  .photo-dialog-inner {
    padding-inline: 0.5rem;
  }
  .admin-page {
    display: block;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--brand-line);
  }
  .admin-brand {
    font-size: 1.45rem;
  }
  .admin-sidebar nav {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1.25rem;
  }
  .admin-sidebar nav button {
    padding-inline: 0.5rem;
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  .admin-preview-link {
    margin-top: 0;
    padding-top: 0.6rem;
  }
  .admin-sidebar-note {
    display: none;
  }
  .admin-topbar {
    min-height: 3.75rem;
    padding: 0.75rem 1.25rem;
  }
  .admin-preview-badge {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
  }
  .admin-topbar > div {
    font-size: 0.7rem;
    gap: 0.5rem;
  }
  .admin-section {
    padding: 1.75rem 1.25rem;
  }
  .admin-toolbar {
    gap: 0.75rem;
  }
  .admin-toolbar label {
    min-width: 0;
    flex: 1 1 7rem;
  }
  .admin-toolbar button {
    flex: 1 1 100%;
  }
  .analytics-kpis {
    gap: 0.75rem;
  }
  .analytics-kpis article {
    padding: 1rem;
  }
  .analytics-kpis strong {
    font-size: 2.5rem;
  }
  .analytics-kpis span {
    font-size: 0.65rem;
  }
  .analytics-two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .admin-panel {
    padding: 1.15rem;
  }
  .analytics-chart {
    overflow-x: auto;
  }
  .analytics-chart svg {
    min-width: 28rem;
  }
  .admin-category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .album-manager-grid {
    grid-template-columns: 1fr;
  }
  .admin-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-dialog {
    padding: 1.5rem;
  }
  .admin-login-card {
    padding: 1.75rem;
  }
}
.admin-delete-photo {
  float: right;
  border: 0;
  background: none;
  color: #8a292c;
  font-size: 0.7rem;
  text-decoration: underline;
  min-height: 2rem;
  padding: 0.2rem 0.4rem;
}
.admin-button-danger {
  background: #8a292c;
  border-color: #8a292c;
}
.admin-button-danger:hover {
  background: #6d1c20;
}
.notice-list {
  display: grid;
  gap: 1.5rem;
  max-width: 58rem;
  margin-inline: auto;
}
.notice-list-caption {
  color: var(--brand-muted);
  font-size: 0.8rem;
  max-width: 58rem;
  margin: 0 auto 1.5rem;
}
.notice-card {
  padding: clamp(1.25rem,3vw,2.25rem);
  border: 1px solid var(--brand-line);
  border-radius: 0.5rem;
  background: white;
  overflow-wrap: anywhere;
}
.notice-card-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.notice-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  color: var(--brand-green);
  background: #edf2e9;
  border-radius: 50%;
}
.notice-icon svg {
  width: 20px;
  height: 20px;
}
.notice-card h2 {
  margin: 0.4rem 0 0;
  font: 400 clamp(1.4rem,2.4vw,1.9rem)/1.4 Georgia,"Kohinoor Devanagari",serif;
}
.notice-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--brand-line);
  color: var(--brand-muted);
  font-size: 0.75rem;
}
.notice-description {
  white-space: pre-wrap;
  color: var(--brand-ink);
  line-height: 1.9;
  font-size: 0.95rem;
}
.notice-attachment {
  margin-top: 1.5rem;
}
.notice-attachment img {
  display: block;
  max-width: 100%;
  max-height: 30rem;
  object-fit: contain;
  border-radius: 0.3rem;
  margin-bottom: 1rem;
}
.notice-download {
  border: 1px solid var(--brand-line);
  color: var(--brand-green);
}
.notice-editor fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.admin-page .notice-never {
  flex-direction: row;
  align-items: center;
  margin: 1rem 0;
}
.admin-page .notice-never input {
  width: 1rem;
  height: 1rem;
  padding: 0;
}
.notice-expiry-input {
  max-width: 24rem;
  margin-bottom: 1.5rem;
}
.notice-editor-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.admin-notice-list {
  display: grid;
  gap: 1rem;
}
.admin-notice-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--brand-line);
}
.admin-notice-card:last-child {
  border-bottom: 0;
}
.admin-notice-card h3 {
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}
.admin-notice-card > div:first-child {
  min-width: 0;
  flex: 1 1 15rem;
}
.notice-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  color: var(--brand-green);
  background: #edf2e9;
  font-size: 0.7rem;
}
.notice-status.is-expired {
  color: #805928;
  background: #fbf1dd;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

.privacy-copy { max-width: 48rem; margin-inline: auto; }
.privacy-copy h2 { font-size: 1.3rem; margin: 1.75rem 0 0.75rem; }
.privacy-copy p { color: var(--brand-muted); font-size: 0.9rem; line-height: 1.9; }
.privacy-preference { padding: 1.5rem; margin-block: 2rem; border: 1px solid var(--brand-line); border-radius: 0.5rem; background: var(--brand-cream); }
.privacy-preference h2 { margin-top: 0; }
.privacy-attribution a { color: var(--brand-green); text-decoration: underline; }

/* These theme rules apply only inside the public website. */
.school-site.has-festival-theme { background: #fffdf9; }
.school-site.has-festival-theme .school-topbar { background: var(--theme-deep); color: #fff8ec; }
.school-site .school-topbar a, .school-site.has-festival-theme .site-footer a { color: inherit; }
.school-site.has-festival-theme .site-header { background: linear-gradient(105deg,#fffdf9 55%,var(--theme-tint)); }
.school-site.has-festival-theme .brand-row { background-image: linear-gradient(105deg,#fffdf9e8,var(--theme-tint)),var(--theme-background); background-size: cover; background-position: center; }
.school-site.has-festival-theme .site-nav { background: #fffdf9; }
.school-site.has-festival-theme .site-footer { background-color: var(--theme-deep); background-image: linear-gradient(color-mix(in srgb,var(--theme-deep) 94%,transparent),color-mix(in srgb,var(--theme-deep) 94%,transparent)),var(--theme-background); background-size: cover; background-position: center; color: #fff8ec; border-top: 3px solid var(--theme-gold); }
.school-site.has-festival-theme .site-footer p, .school-site.has-festival-theme .footer-right { color: #fff8ec; }
.school-site.has-festival-theme .site-button-primary { background: var(--theme-deep); }
.school-site.has-festival-theme .site-button-primary:hover { filter: brightness(1.1); }
.school-site.has-festival-theme .campus-year { background: var(--theme-gold); }
.welcome-screen.has-festival-theme .welcome-overlay { background: linear-gradient(180deg,color-mix(in srgb,var(--theme-deep) 38%,transparent),color-mix(in srgb,var(--theme-deep) 70%,transparent) 55%,color-mix(in srgb,var(--theme-deep) 92%,transparent)); }
.welcome-screen.has-festival-theme .language-button { background: color-mix(in srgb,var(--theme-deep) 65%,transparent); }
.welcome-screen.has-festival-theme .language-button:hover { background: var(--theme-gold); }
.homepage-banner { display: grid; grid-template-columns: minmax(0,12rem) minmax(0,1fr) minmax(0,12rem); align-items: stretch; gap: 1.5rem; margin-block: 1.6rem; min-height: 12rem; border-radius: 0.75rem; overflow: hidden; color: #fff8ec; background: var(--theme-deep,#192e42); }
.homepage-banner-copy { align-self: center; min-width: 0; padding: 1.6rem 0; text-align: center; overflow-wrap: anywhere; }
.homepage-banner-label { margin: 0 0 0.7rem; color: var(--theme-gold,#efcb7d); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; }
.homepage-banner h2 { margin: 0 0 0.7rem; font: 400 clamp(1.75rem,3.1vw,2.5rem)/1.3 Georgia,"Kohinoor Devanagari","Nirmala UI",serif; }
.school-site[lang="hi"] .homepage-banner h2 { font-family: "Kohinoor Devanagari","Nirmala UI",sans-serif; line-height: 1.5; }
.homepage-banner-message { margin: 0; font-size: 0.95rem; line-height: 1.8; white-space: pre-line; }
.school-site .homepage-banner-link { display: inline-flex; gap: 0.65rem; align-items: center; padding: 0.5rem 1rem; margin-top: 0.7rem; border: 1px solid var(--theme-gold,#efcb7d); border-radius: 0.3rem; color: #fff8ec; font-size: 0.85rem; }
.homepage-banner-link:hover { background: #ffffff18; }
.festival-art { display: flex; align-items: flex-end; justify-content: center; min-width: 0; padding-top: 0.6rem; }
.festival-portrait { display: block; width: 100%; height: auto; max-height: 15rem; object-fit: contain; object-position: bottom; }
.festival-star { align-self: center; color: var(--theme-gold,#efcb7d); font-size: 2rem; }
.banner-important { border-left: 5px solid var(--theme-gold,#efcb7d); }
.appearance-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.appearance-panel-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.appearance-panel-heading h2, .appearance-panel-heading h3 { margin: 0; }
.appearance-schedule { padding-block: 1.25rem 0.5rem; border-top: 1px solid var(--brand-line); }
.appearance-help { color: var(--brand-muted); font-size: 0.72rem; font-weight: 400; }
.admin-page label.appearance-check { flex-direction: row; align-items: center; gap: 0.65rem; font-weight: 400; }
.admin-page .appearance-check input { width: 1.1rem; height: 1.1rem; padding: 0; }
.appearance-published { font-size: 0.85rem; margin-block: 0 1.25rem; }
.appearance-editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.appearance-editor button.admin-text-link { border: 0; background: transparent; padding: 0.6rem; text-decoration: underline; text-underline-offset: 3px; }
.appearance-preview-dialog { width: min(85rem,calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 1px solid var(--brand-line); border-radius: 0.65rem; background: white; color: var(--brand-ink); }
.appearance-preview-dialog::backdrop { background: #102c4780; }
.appearance-preview-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--brand-line); background: white; }
.appearance-preview-toolbar h2 { margin: 0; align-self: center; font: 400 1.3rem Georgia,serif; margin-right: auto; }
.appearance-preview-toolbar label { flex: 0 1 14rem; }
.appearance-preview-site .school-site { min-height: 0; }
.appearance-colours { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-block: 1rem; }
.appearance-colours input[type="color"] { min-height: 2.75rem; padding: 0.25rem; cursor: pointer; }
.appearance-colours span { font-size: 0.75rem; font-weight: 400; color: var(--brand-muted); }
.translation-help { font-size: 0.72rem; font-weight: 400; line-height: 1.6; color: var(--brand-muted); }
.translation-retry { align-self: flex-start; padding: 0; border: 0; background: transparent; font-size: 0.75rem; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; color: var(--brand-green); cursor: pointer; }
.translation-retry:disabled { opacity: 0.5; cursor: default; }
@media (max-width:900px) {
  .homepage-banner { grid-template-columns: minmax(0,8rem) minmax(0,1fr) minmax(0,8rem); gap: 0.7rem; }
  .homepage-banner-copy { padding-block: 1.4rem; }
}
@media (max-width:600px) {
  .appearance-colours { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-site .brand-row { flex-wrap: wrap; }
  .school-site .site-brand { flex-shrink: 0; }
  .school-site .header-actions { margin-left: auto; }
  .homepage-banner { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "left right"; gap: 0; }
  .homepage-banner-copy { grid-area: copy; padding: 1.3rem 1.1rem 0.5rem; }
  .festival-art-left { grid-area: left; }
  .festival-art-right { grid-area: right; }
  .festival-art { padding-top: 0; }
  .festival-portrait { width: 8rem; height: 7.3rem; }
  .homepage-banner:has(.festival-star) .festival-art { display: none; }
  .homepage-banner:has(.festival-star) .homepage-banner-copy { padding-bottom: 1.3rem; }
  .appearance-preview-toolbar { align-items: stretch; }
  .appearance-preview-toolbar label { flex: 1 1 100%; }
}


    .academic { --bh-bg: light-dark(#f4f7fa,#13202e); --bh-panel: light-dark(#ffffff,#1b2b3d); --bh-ink: light-dark(#17304d,#e7eef6); --bh-muted: light-dark(#5e7187,#aabbd0); --bh-line: light-dark(#e0e7ef,#35465a); --bh-brand: light-dark(#173d67,#b2d1f5); --bh-on-brand: light-dark(#ffffff,#132b46); --bh-soft: light-dark(#edf3fa,#223b54); --bh-p: light-dark(#14694b,#9be7c8); --bh-p-bg: light-dark(#e5f4ed,#183c32); --bh-a: light-dark(#a73535,#ffb4b4); --bh-a-bg: light-dark(#fcecec,#46292d); --bh-v: light-dark(#7250a3,#cfb8fb); --bh-v-bg: light-dark(#f0eafb,#382c4c); --bh-t: light-dark(#875914,#f5d08a); --bh-t-bg: light-dark(#fff3dd,#413520); font-family: system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--bh-ink); font-size:14px; }
    .academic * { box-sizing:border-box; }
    .academic button, .academic input, .academic select, .academic textarea { font:inherit; }
    .academic [hidden] { display:none!important; }
    .academic .bh-app { background:var(--bh-bg); border:1px solid var(--bh-line); border-radius:14px; overflow:hidden; }
    .academic .bh-header { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:18px 24px; background:var(--bh-panel); border-bottom:1px solid var(--bh-line); }
    .academic .bh-brand { display:flex; align-items:center; gap:12px; }
    .academic .bh-brand img { width:48px; height:48px; object-fit:contain; background:#fff; border-radius:5px; }
    .academic .bh-brand strong { display:block; font-weight:500; letter-spacing:1px; font-size:19px; }
    .academic .bh-sub { font-size:12px; color:var(--bh-muted); }
    .academic .bh-pill { display:inline-flex; align-items:center; gap:7px; border-radius:20px; padding:6px 11px; font-size:12px; background:var(--bh-soft); color:var(--bh-brand); }
    .academic .bh-layout { display:grid; grid-template-columns:174px minmax(0,1fr); }
    .academic .bh-sidebar { padding:24px 14px; border-right:1px solid var(--bh-line); background:var(--bh-panel); }
    .academic .bh-side-title { color:var(--bh-muted); font-size:11px; letter-spacing:1px; margin:0 8px 12px; text-transform:uppercase; }
    .academic .bh-nav { display:grid; gap:6px; }
    .academic .bh-nav button { text-align:left; border:0; border-radius:7px; background:transparent; color:var(--bh-muted); padding:11px 10px; }
    .academic .bh-nav button[aria-current="page"] { color:var(--bh-brand); background:var(--bh-soft); font-weight:500; }
    .academic .bh-person { margin:28px 8px 0; border-top:1px solid var(--bh-line); padding-top:16px; }
    .academic .bh-person strong { display:block; font-weight:500; margin-bottom:4px; }
    .academic .bh-main { padding:26px; min-width:0; }
    .academic h1 { font-size:23px; margin:0 0 6px; font-weight:500; }
    .academic h2 { font-size:16px; font-weight:500; margin:0; }
    .academic p { margin:0; }
    .academic .bh-title { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
    .academic .bh-panel { background:var(--bh-panel); border:1px solid var(--bh-line); border-radius:11px; padding:20px; }
    .academic .bh-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
    .academic .bh-stat { background:var(--bh-panel); border:1px solid var(--bh-line); border-radius:10px; padding:16px; }
    .academic .bh-stat span { display:flex; align-items:center; gap:7px; color:var(--bh-muted); font-size:12px; }
    .academic .bh-stat strong { display:block; font-size:29px; font-weight:500; margin-top:8px; font-variant-numeric:tabular-nums; }
    .academic .bh-dot { width:8px; height:8px; border-radius:50%; display:inline-block; background:var(--bh-muted); }
    .academic .bh-dot[data-s="P"] { background:var(--bh-p); } .academic .bh-dot[data-s="A"] { background:var(--bh-a); } .academic .bh-dot[data-s="V"] { background:var(--bh-v); } .academic .bh-dot[data-s="T"] { background:var(--bh-t); }
    .academic .bh-row { display:flex; align-items:center; gap:12px; justify-content:space-between; flex-wrap:wrap; }
    .academic .bh-rate { font-size:27px; font-weight:500; font-variant-numeric:tabular-nums; }
    .academic .bh-progress { height:7px; background:var(--bh-line); border-radius:6px; overflow:hidden; margin:14px 0 10px; }
    .academic .bh-progress div { background:var(--bh-brand); height:100%; }
    .academic .bh-calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:7px; margin-top:18px; }
    .academic .bh-weekday { text-align:center; color:var(--bh-muted); font-size:12px; padding:5px 0; }
    .academic .bh-day { min-height:59px; padding:9px; border:1px solid var(--bh-line); border-radius:7px; background:var(--bh-bg); color:var(--bh-muted); }
    .academic .bh-day b { font-weight:500; display:block; font-variant-numeric:tabular-nums; }
    .academic .bh-day small { display:block; margin-top:4px; font-size:11px; }
    .academic .bh-day[data-s="P"] { background:var(--bh-p-bg); color:var(--bh-p); border-color:transparent; } .academic .bh-day[data-s="A"] { background:var(--bh-a-bg); color:var(--bh-a); border-color:transparent; } .academic .bh-day[data-s="V"] { background:var(--bh-v-bg); color:var(--bh-v); border-color:transparent; } .academic .bh-day[data-s="T"] { background:var(--bh-t-bg); color:var(--bh-t); border-color:transparent; }
    .academic .bh-legend { display:flex; gap:15px; flex-wrap:wrap; color:var(--bh-muted); font-size:12px; margin-top:18px; } .academic .bh-legend span { display:flex; align-items:center; gap:6px; }
    .academic .bh-message { padding:12px 15px; border-radius:8px; background:var(--bh-soft); color:var(--bh-brand); margin-bottom:18px; font-size:13px; }
    .academic .bh-message[data-kind="error"] { background:var(--bh-a-bg); color:var(--bh-a); }
    .academic .bh-message[data-kind="success"] { background:var(--bh-p-bg); color:var(--bh-p); }
    .academic .bh-button { border:1px solid var(--bh-line); background:var(--bh-panel); color:var(--bh-ink); border-radius:7px; padding:10px 14px; }
    .academic .bh-button.bh-primary { background:var(--bh-brand); border-color:var(--bh-brand); color:var(--bh-on-brand); }
    .academic button:disabled { opacity:.55; cursor:default; }
    .academic label { display:grid; gap:7px; font-size:13px; min-width:0; }
    .academic input, .academic select, .academic textarea { width:100%; min-width:0; background:var(--bh-panel); color:var(--bh-ink); border:1px solid var(--bh-line); border-radius:6px; padding:10px 11px; }
    .academic .bh-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; margin-top:20px; }
    .academic .bh-form .bh-full { grid-column:1/-1; }
    .academic .bh-field-note { font-size:11px; color:var(--bh-muted); }
    .academic .bh-roster { margin-top:18px; }
    .academic .bh-roster-row { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:14px 0; border-bottom:1px solid var(--bh-line); }
    .academic .bh-student-name strong { font-weight:500; display:block; } .academic .bh-student-name small { display:block; color:var(--bh-muted); font-size:12px; margin-top:4px; }
    .academic .bh-statuses { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
    .academic .bh-statuses button { padding:9px 11px; border:1px solid var(--bh-line); border-radius:6px; color:var(--bh-muted); background:var(--bh-panel); font-size:12px; }
    .academic .bh-statuses button[aria-pressed="true"][data-s="P"] { background:var(--bh-p-bg); color:var(--bh-p); border-color:var(--bh-p); } .academic .bh-statuses button[aria-pressed="true"][data-s="A"] { background:var(--bh-a-bg); color:var(--bh-a); border-color:var(--bh-a); } .academic .bh-statuses button[aria-pressed="true"][data-s="V"] { background:var(--bh-v-bg); color:var(--bh-v); border-color:var(--bh-v); } .academic .bh-statuses button[aria-pressed="true"][data-s="T"] { background:var(--bh-t-bg); color:var(--bh-t); border-color:var(--bh-t); }
    .academic .bh-footer { padding:14px 24px; border-top:1px solid var(--bh-line); color:var(--bh-muted); font-size:12px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
    .academic a { color:var(--bh-brand); }
    .academic .bh-save-state { display:block; margin-top:8px; color:var(--bh-muted); font-size:12px; }
    .academic .bh-save-state[data-kind="saved"] { color:var(--bh-p); }
    .academic .bh-save-state[data-kind="failed"] { color:var(--bh-a); }
    .academic .bh-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
    .academic .bh-form-heading { grid-column:1/-1; margin-top:4px; padding-top:14px; border-top:1px solid var(--bh-line); }
    .academic .bh-choice { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:20px; }
    .academic .bh-choice button[aria-pressed="true"] { background:var(--bh-brand); color:var(--bh-on-brand); }
    .academic .bh-main.bh-login-main { padding:28px 18px; }
    .academic .bh-address { overflow-wrap:anywhere; }
    .academic .bh-progress-detail { margin:12px 0; }
    .academic .bh-password { font-family:ui-monospace,monospace; overflow-wrap:anywhere; display:block; margin:12px 0; font-size:17px; }
    .academic .bh-signin { max-width:430px; margin:8px auto 26px; }
    .academic .bh-signin .bh-form { grid-template-columns:1fr; }
    .academic .bh-history { display:grid; gap:10px; margin-top:16px; }
    .academic .bh-history-item { border-left:3px solid var(--bh-line); padding-left:12px; }
    .academic .bh-history-item small { display:block; color:var(--bh-muted); margin-top:4px; }
    @media(max-width:800px) { .academic .bh-layout { grid-template-columns:1fr; } .academic .bh-sidebar { padding:12px 16px; border-right:0; border-bottom:1px solid var(--bh-line); } .academic .bh-nav { display:flex; gap:5px; flex-wrap:wrap; } .academic .bh-person,.academic .bh-side-title { display:none; } .academic .bh-main { padding:20px; } }
    @media(pointer:coarse) { .academic button { min-height:44px; } }
.academic-portal { max-width:1280px; margin:0 auto; padding:28px 20px; }
.academic-admin { padding-bottom:24px; }
.academic .bh-choice { margin-top:20px; }
.academic .bh-login-main { padding:28px 18px; }
.academic-logo-fallback { display:grid; place-items:center; width:48px; height:48px; border-radius:6px; color:var(--bh-brand); background:var(--bh-soft); font-weight:600; }
.academic-language { display:flex; gap:2px; align-items:center; }
.academic-language button { padding:7px 9px; border:0; border-radius:5px; background:transparent; color:var(--bh-muted); }
.academic-language button[aria-pressed="true"] { background:var(--bh-soft); color:var(--bh-brand); }
.academic .bh-title .bh-pill { font-variant-numeric:tabular-nums; }
.academic .bh-roster-row > div:last-child { min-width:0; }
.academic .bh-save-state .bh-button { margin-left:8px; padding:4px 9px; }
.academic .bh-field-note { overflow-wrap:anywhere; }
.academic .academic-block { display:block; margin-top:4px; }
.academic .academic-account-list { margin-top:22px; }
.academic .academic-table { margin-top:16px; overflow:auto; }
.academic table { width:100%; border-collapse:collapse; font-size:13px; }
.academic th,.academic td { padding:12px 8px; text-align:left; border-bottom:1px solid var(--bh-line); overflow-wrap:anywhere; }
.academic th { font-weight:500; color:var(--bh-muted); }
.academic .bh-progress-detail { margin-top:16px; }
.academic-idle::backdrop,.academic-credential-dialog::backdrop { background:#102c4780; }
.academic-credential-dialog { max-width:600px; }
.academic-credential-dialog .bh-password { display:block; font-family:ui-monospace,monospace; padding:8px 0; overflow-wrap:anywhere; }
@media(max-width:500px) {
  .academic-portal { padding:14px 8px; }
  .academic .bh-header { padding:14px; align-items:flex-start; flex-wrap:wrap; }
  .academic .bh-header .bh-actions { width:100%; }
  .academic .bh-main { padding:15px; }
  .academic .bh-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .academic .bh-panel { padding:14px; }
  .academic .bh-calendar { gap:4px; }
  .academic .bh-day { min-height:46px; padding:6px 4px; }
  .academic .bh-roster-row { display:grid; gap:10px; }
  .academic .bh-statuses button { padding:11px 4px; }
  .academic .bh-form { grid-template-columns:1fr; }
  .academic input,.academic select,.academic textarea { font-size:16px; }
  .academic .bh-title { gap:10px; }
  .academic .bh-footer { padding:14px; }
  .academic .bh-rate { font-size:23px; }
}
@media print {
  body:has(.academic-credential-dialog[open]) * { visibility:hidden; }
  body:has(.academic-credential-dialog[open]) .academic-print-credentials,
  body:has(.academic-credential-dialog[open]) .academic-print-credentials * { visibility:visible; }
  body:has(.academic-credential-dialog[open]) .academic-print-credentials { position:absolute; left:0; top:0; padding:20px; }
  body:has(.academic-credential-dialog[open]) .academic-no-print { display:none; }
  body:has(.academic-credential-dialog[open]) .academic-credential-dialog { position:absolute; inset:0; border:0; margin:0; padding:0; }
}
  

.idle-dialog::backdrop{background:#102c4780}.idle-counter{font-size:2rem;color:#a22e31}