*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #f7f9fd;
  color: #0f172a;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.muted {
  color: #64748b;
}

.eyebrow {
  display: inline-flex;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.btn {
  border: 1px solid #c6d2e6;
  border-radius: 7px;
  padding: 9px 13px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  cursor: pointer;
}

.btn.primary {
  border-color: #2563eb;
  background: linear-gradient(90deg, #1570ef 0%, #2563eb 100%);
  color: #ffffff;
}

.btn.danger {
  border-color: #dc2626;
  background: #dc2626;
  color: #ffffff;
}

.btn.ghost {
  background: rgba(255, 255, 255, .16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .38);
}

.btn.tiny {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
}

.alert {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 12px;
  margin: 14px 16px;
  font-size: 13px;
}

.alert.success {
  background: #ecfdf3;
  border-color: #86efac;
  color: #14532d;
}

.alert.error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.grid-form {
  display: grid;
  gap: 14px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #1e293b;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  padding: 10px 11px;
}

input[type="file"] {
  border-style: dashed;
  background: #fbfdff;
  padding: 8px;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
  margin-right: 12px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

input[type="file"]::file-selector-button:hover {
  border-color: #93c5fd;
  background: #dbeafe;
}

textarea {
  resize: vertical;
  min-height: 92px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.password-toggle {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 11px;
  cursor: pointer;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-check input {
  width: auto;
}

.actions,
.hero-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-head h1,
.section-head p {
  margin: 0 0 6px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.row-actions form {
  margin: 0;
}

.decision-form {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  gap: 6px;
  margin-bottom: 6px;
}

.decision-form input {
  min-height: 30px;
  padding: 5px 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.status-live {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.status-blocked {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.setup-body,
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
}

.setup-wrap {
  width: min(1120px, 100%);
}

.setup-card,
.auth-card,
.panel {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 10px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, .08);
  padding: 24px;
}

.setup-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.setup-head h1,
.auth-card h1,
.dashboard-hero h1 {
  margin: 6px 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.02;
}

.step-badge {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 12px;
  font-weight: 800;
  white-space: nowrap;
}

.stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 20px 0;
}

.stepper li {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  padding: 9px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  background: #f8fbff;
}

.stepper li.active {
  background: #0b2e63;
  color: #ffffff;
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.requirement-grid div {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
  display: flex;
  gap: 8px;
}

.requirement-grid .ok strong {
  color: #15803d;
}

.requirement-grid .bad strong {
  color: #b91c1c;
}

.success-panel {
  border: 1px solid #86efac;
  border-radius: 10px;
  background: #ecfdf3;
  padding: 18px;
}

.auth-wrap {
  width: min(460px, 100%);
}

.back-link {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e3e9f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px clamp(16px, 5vw, 56px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark,
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0b2e63;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.site-logo-img,
.sidebar-logo-img,
.login-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #dbe5f1;
  background: #ffffff;
  flex: 0 0 auto;
}

.sidebar-logo-img {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, .25);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 10px;
}

.login-brand-stacked {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin: 18px 0;
}

.login-brand h1 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.1;
}

.login-logo,
.login-logo-fallback {
  width: 112px;
  height: 112px;
  border-radius: 16px;
}

.login-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b2e63;
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
}

.site-brand small,
.brand-block small {
  display: block;
  color: #64748b;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-login {
  border: 1px solid #0b3aa9;
  border-radius: 5px;
  background: #063bb8;
  color: #ffffff;
  padding: 8px 14px;
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 7vw, 96px);
  color: #ffffff;
  background: linear-gradient(rgba(7, 26, 56, .72), rgba(7, 26, 56, .68)), url("../img/school-campus.svg") center/cover no-repeat;
}

.premium-hero,
.premium-page {
  margin: 0;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 6vw, 72px);
  background: #ffffff;
}

.premium-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 16, 44, .8) 0%, rgba(5, 16, 44, .46) 42%, rgba(5, 16, 44, .06) 100%),
    url("../img/school-campus.svg") center/cover no-repeat;
  color: #ffffff;
}

.premium-copy {
  max-width: 560px;
}

.premium-copy h1,
.premium-page h1 {
  margin: 8px 0 12px;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: .98;
}

.premium-copy p,
.premium-page p {
  max-width: 620px;
  line-height: 1.7;
}

.public-feature-row,
.public-stats-row,
.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 6vw, 72px) 42px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.public-feature-row article,
.public-stats-row article,
.process-row article {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
  padding: 24px 18px;
  text-align: center;
}

.public-feature-row span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #123bb3;
  font-weight: 900;
}

.split-public-page {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.public-photo-card {
  min-height: 320px;
  border-radius: 14px;
  border: 1px solid #dbe5f1;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .12);
  background: url("../img/school-campus.svg") center/cover no-repeat;
}

.check-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #1d4ed8;
  border-radius: 50%;
}

.public-stats-row {
  margin-top: 0;
}

.public-stats-row strong {
  display: block;
  font-size: 26px;
}

.public-stats-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admission-hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .86) 54%, rgba(255, 255, 255, .1) 100%),
    url("../img/school-campus.svg") center/cover no-repeat;
}

.process-row {
  margin-top: -38px;
}

.process-row strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef4ff;
  color: #123bb3;
}

.contact-page {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(24px, 6vw, 86px);
  align-items: start;
}

.contact-list li {
  display: grid;
  gap: 4px;
  color: #475569;
}

.contact-list strong {
  color: #0f172a;
}

.premium-contact-form {
  max-width: none;
  border: 1px solid #dbe5f1;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
  padding: 22px;
}

.public-admission-form {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.public-admission-form h2 {
  margin: 6px 0;
}

.public-events-band {
  padding: 44px clamp(16px, 5vw, 56px);
  background: #ffffff;
}

.public-events-band.no-overlap {
  padding-top: 24px;
}

.public-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-event-card {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.public-event-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.public-event-card div {
  padding: 18px;
}

.public-event-card strong {
  display: inline-flex;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  padding: 5px 10px;
  font-size: 12px;
}

.public-event-card h3 {
  margin: 12px 0 8px;
}

.public-event-card small {
  color: #64748b;
  font-weight: 800;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: .95;
}

.hero p {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  max-width: 680px;
}

.hero-kicker {
  font-weight: 800;
  color: #bfdbfe;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #dbe5f1;
}

.stats div {
  background: #ffffff;
  padding: 28px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 36px;
}

.feature-grid,
.module-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 24px clamp(16px, 5vw, 56px);
}

.feature-grid article,
.module-card,
.card {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.split-band,
.page-band,
.contact-band {
  padding: 44px clamp(16px, 5vw, 56px);
  background: #ffffff;
}

.split-band {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 18px;
  align-items: center;
}

.notice-card {
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #0b2e63;
  padding: 18px;
  font-weight: 800;
}

.contact-form {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.site-footer {
  background: #071a38;
  color: #dbeafe;
  padding: 28px clamp(16px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.site-footer a {
  margin-left: 14px;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  background: linear-gradient(180deg, #073b78 0%, #062a55 100%);
  color: #dbeafe;
  padding: 14px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  padding: 8px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.side-nav {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.side-nav a {
  color: #d7e7ff;
  text-decoration: none;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 700;
}

.side-nav a:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.side-nav a.active {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(29, 78, 216, .35);
}

.nav-section-title {
  margin: 12px 8px 4px;
  color: #9db5d8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-group {
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 6px 0;
}

.nav-group summary {
  list-style: none;
  border-radius: 7px;
  padding: 10px;
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group summary::after {
  content: "+";
  float: right;
}

.nav-group[open] summary::after {
  content: "-";
}

.nav-group a {
  margin-left: 10px;
}

.admin-main {
  min-width: 0;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f7f9fd;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e3e9f3;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.sidebar-toggle-btn {
  display: none;
  width: 38px;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.sidebar-toggle-btn span {
  display: block;
  width: 17px;
  height: 2px;
  background: #1e293b;
  margin: 3px auto;
}

.global-search {
  flex: 1;
  max-width: 620px;
}

.topbar-spacer {
  flex: 1 1 auto;
}

.global-search input {
  border-radius: 999px;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-hero,
.panel-grid-two,
.dashboard-welcome,
.dashboard-panels {
  margin: 16px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 14px;
}

.dashboard-hero {
  border: 1px solid #dbe5f1;
  border-radius: 10px;
  background: #ffffff;
  padding: 22px;
  align-items: center;
}

.dashboard-welcome {
  align-items: center;
  margin-bottom: 10px;
}

.dashboard-welcome h1 {
  margin: 6px 0;
  font-size: 24px;
}

.dashboard-welcome p {
  margin: 0;
  color: #64748b;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px;
}

.metric-card {
  border: 1px solid #dbe5f1;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .05);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.metric-card strong {
  display: block;
  font-size: 22px;
}

.metric-card small {
  color: #64748b;
  font-weight: 800;
}

.metric-blue .metric-icon { background: #eef4ff; color: #1d4ed8; }
.metric-green .metric-icon { background: #ecfdf3; color: #15803d; }
.metric-amber .metric-icon { background: #fff7ed; color: #c2410c; }
.metric-mint .metric-icon { background: #ecfeff; color: #0e7490; }

.dashboard-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.dashboard-panel {
  margin: 0;
  min-height: 260px;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-head.compact h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.donut-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 170px;
}

.donut-chart {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0 76%, #22c55e 76% 88%, #f97316 88% 100%);
  display: grid;
  place-items: center;
  position: relative;
}

.donut-chart::after {
  content: "";
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
}

.donut-chart span {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 900;
}

.legend-list,
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.dot {
  display: inline-flex;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
}

.dot.green { background: #22c55e; }
.dot.amber { background: #f59e0b; }
.dot.red { background: #ef4444; }

.bar-chart {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 18px 12px 8px;
}

.bar-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #4f7cff 0%, #1d4ed8 100%);
}

.chart-label-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  gap: 8px;
  padding: 0 8px;
  color: #64748b;
  font-size: 11px;
  text-align: center;
}

.quick-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-tile-grid a {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #f8fbff;
  color: #0f172a;
  padding: 16px;
  text-decoration: none;
  font-weight: 900;
}

.event-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
}

.event-list strong {
  border-radius: 8px;
  background: #eef4ff;
  color: #1d4ed8;
  padding: 10px;
  text-align: center;
}

.event-list small {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 3px;
}

.finance-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.finance-head h1 {
  margin: 6px 0;
}

.finance-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.finance-filter select {
  width: auto;
  min-width: 170px;
}

.finance-bars {
  min-height: 190px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 16px 8px 0;
}

.finance-bar-group {
  flex: 1;
  min-width: 34px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.finance-bar-pair {
  height: 150px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
}

.finance-bar-pair span {
  width: 13px;
  min-height: 6px;
  border-radius: 7px 7px 0 0;
}

.income-bar {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
}

.expense-bar {
  background: linear-gradient(180deg, #f59e0b 0%, #c2410c 100%);
}

.finance-pies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  min-height: 190px;
}

.finance-pies div {
  display: grid;
  place-items: center;
  gap: 10px;
}

.finance-pie {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px #ffffff, 0 12px 24px rgba(15, 23, 42, .08);
  border: 1px solid #e2e8f0;
}

.card p {
  margin: 8px 0 4px;
  font-size: 36px;
  font-weight: 900;
}

.panel {
  margin: 16px;
}

.line-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.line-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
}

.toolbar-row,
.module-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.inline-search {
  display: flex;
  gap: 8px;
  align-items: center;
}

.inline-search input {
  min-width: min(320px, 52vw);
}

.feature-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-stack span {
  border: 1px solid #dbe5f1;
  border-radius: 999px;
  background: #f8fbff;
  padding: 7px 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.import-help {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.import-help p {
  margin: 0;
}

.settings-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-setting {
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.media-setting h3 {
  margin: 0;
}

.settings-preview-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.settings-preview-favicon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.module-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.admin-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 0 16px 24px;
  align-items: stretch;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 16px;
  align-items: stretch;
}

.admin-hub-grid {
  padding-top: 0;
}

.admin-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
  padding: 14px;
  min-height: 150px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease, background-color .15s ease;
}

.admin-card:hover {
  border-color: #93c5fd;
  background: #f8fbff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.admin-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.admin-card-meta {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-card-meta h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.admin-card-meta p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

.admin-card-arrow {
  color: #64748b;
  font-size: 16px;
  line-height: 1;
}

.admin-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-card-tag {
  border: 1px solid #dbe5f1;
  border-radius: 999px;
  background: #f8fbff;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
}

.admin-card-open {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.ai-box {
  border: 1px dashed #93c5fd;
  border-radius: 8px;
  background: #eff6ff;
  padding: 14px;
  color: #1d4ed8;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  border: 1px solid #e2e8f0;
  padding: 8px;
  text-align: left;
}

.table th {
  background: #f5f8fd;
}

.editor-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: 14px;
  padding: 16px;
}

.block-palette,
.settings-panel,
.editor-canvas {
  border: 1px solid #dbe5f1;
  border-radius: 10px;
  background: #ffffff;
  padding: 14px;
}

.block-chip {
  width: 100%;
  border: 1px solid #c6d2e6;
  border-radius: 7px;
  background: #f8fbff;
  padding: 9px;
  text-align: left;
  font-weight: 800;
  margin-bottom: 8px;
  cursor: grab;
}

.canvas-section,
.canvas-grid {
  border: 1px dashed #93c5fd;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 12px;
  background: #f8fbff;
}

.canvas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.switch {
  display: inline-flex;
}

.switch input {
  display: none;
}

.switch span {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #22c55e;
  position: relative;
}

.switch span::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  right: 3px;
  top: 3px;
}

@media (max-width: 1100px) {
  .feature-grid,
  .module-grid,
  .cards,
  .metric-grid,
  .public-feature-row,
  .public-stats-row,
  .process-row,
  .public-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-shell,
  .dashboard-hero,
  .dashboard-welcome,
  .panel-grid-two,
  .dashboard-panels,
  .split-band,
  .split-public-page,
  .contact-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .grid.two,
  .grid.three,
  .settings-media-grid,
  .stepper,
  .stats,
  .feature-grid,
  .module-grid,
  .cards,
  .metric-grid,
  .public-feature-row,
  .public-stats-row,
  .process-row,
  .public-event-grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    align-items: flex-start;
  }
  .nav-toggle {
    display: inline-flex;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    padding: 8px 10px;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #ffffff;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open {
    display: flex;
  }
  .premium-hero {
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(5, 16, 44, .78) 0%, rgba(5, 16, 44, .54) 100%),
      url("../img/school-campus.svg") center/cover no-repeat;
  }
  .premium-copy h1,
  .premium-page h1 {
    font-size: 42px;
  }
  .finance-head,
  .finance-filter {
    display: grid;
    justify-content: stretch;
  }
  .finance-filter select {
    width: 100%;
  }
  .finance-pies {
    grid-template-columns: 1fr;
  }
  .public-feature-row,
  .process-row {
    margin-top: -24px;
  }
  .public-stats-row {
    padding-top: 24px;
  }
  .site-footer {
    flex-direction: column;
  }
  .site-footer a {
    display: inline-flex;
    margin: 0 12px 8px 0;
  }
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    z-index: 100;
    width: 260px;
    max-width: 86vw;
    transform: translateX(-104%);
    transition: transform .2s ease;
  }
  body.sidebar-open .sidebar {
    transform: translateX(0);
  }
  .sidebar-toggle-btn {
    display: inline-block;
  }
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .donut-row {
    flex-direction: column;
  }
  .global-search {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 560px) {
  .setup-body,
  .auth-body {
    padding: 12px;
  }
  .setup-card,
  .auth-card,
  .panel {
    padding: 16px;
  }
  .setup-head {
    flex-direction: column;
  }
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: 42px;
  }
}

.pwa-install-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #073b78;
  color: #ffffff;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 14px 36px rgba(7, 59, 120, .28);
}

.pwa-install-button:hover,
.pwa-install-button:focus {
  background: #0b4d9a;
}

.pwa-status-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1201;
  max-width: min(420px, calc(100vw - 32px));
  transform: translate(-50%, 20px);
  opacity: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #102033;
  box-shadow: 0 14px 36px rgba(16, 32, 51, .14);
  padding: 12px 16px;
  font-weight: 700;
  transition: opacity .18s ease, transform .18s ease;
}

.pwa-status-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =====================================================
   NEW MODULE STYLES — Expenses, Fees, Equipment, etc.
   ===================================================== */

/* Sidebar icon + active state */
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-nav a i {
  font-size: 16px;
  width: 18px;
  flex-shrink: 0;
  opacity: .85;
}
.side-nav a.active,
.side-nav a:hover {
  background: rgba(37, 99, 235, .10);
  color: #1d4ed8;
  border-radius: 7px;
}
.side-nav a.active {
  background: rgba(37, 99, 235, .16);
  font-weight: 700;
}

/* Summary stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.stat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 2px 12px rgba(15,23,42,.07);
  position: relative;
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.stat-card:hover {
  box-shadow: 0 6px 24px rgba(15,23,42,.12);
  transform: translateY(-2px);
}
.stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  border-radius: 14px 0 0 14px;
}
.stat-blue::before  { background: linear-gradient(180deg,#2563eb,#1d4ed8); }
.stat-green::before { background: linear-gradient(180deg,#16a34a,#15803d); }
.stat-red::before   { background: linear-gradient(180deg,#dc2626,#b91c1c); }
.stat-amber::before { background: linear-gradient(180deg,#d97706,#b45309); }
.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.stat-blue .stat-icon  { background: linear-gradient(135deg,#dbeafe,#eff6ff); color: #1d4ed8; }
.stat-green .stat-icon { background: linear-gradient(135deg,#dcfce7,#f0fdf4); color: #15803d; }
.stat-red .stat-icon   { background: linear-gradient(135deg,#fee2e2,#fff1f2); color: #b91c1c; }
.stat-amber .stat-icon { background: linear-gradient(135deg,#fef3c7,#fffbeb); color: #b45309; }
.stat-card .stat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #64748b;
  margin-bottom: 4px;
}
.stat-card .stat-value {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.01em;
  line-height: 1.1;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: capitalize;
  background: #f1f5f9;
  color: #475569;
}
.status-badge.status-active { background: #dcfce7; color: #166534; }
.status-badge.status-suspended { background: #fef9c3; color: #854d0e; }
.status-badge.status-inactive { background: #f1f5f9; color: #475569; }
.status-badge.status-fully-paid,
.status-badge.status-fully_paid { background: #dcfce7; color: #166534; }
.status-badge.status-outstanding { background: #fff7ed; color: #9a3412; }
.status-badge.status-not-paid,
.status-badge.status-not_paid { background: #fee2e2; color: #991b1b; }
.status-badge.status-student { background: #dbeafe; color: #1e40af; }
.status-badge.status-staff { background: #f3e8ff; color: #6d28d9; }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-bar select,
.filter-bar input[type="text"] {
  border: 1px solid #c6d2e6;
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 13px;
  background: #fff;
  color: #0f172a;
  height: 38px;
}
.export-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e9eef5;
}

/* Chart container */
.chart-container {
  margin-top: 8px;
  max-height: 280px;
}

/* Import help */
.import-help {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

/* Line list (key-value) */
.line-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.line-list li,
.line-list > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f4fa;
  font-size: 14px;
}
.line-list li:last-child { border-bottom: none; }
.line-list li i { color: #2563eb; font-size: 18px; margin-right: 8px; }

/* Profile search results */
.profile-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.profile-result-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  background: #fff;
  transition: box-shadow .15s, border-color .15s;
  cursor: pointer;
}
.profile-result-card:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,.09);
  border-color: #93c5fd;
}
.profile-result-card > i.bi-chevron-right {
  margin-left: auto;
  color: #94a3b8;
  font-size: 14px;
}
.profile-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-result-info strong { font-size: 14px; color: #0f172a; }
.profile-result-info .muted { font-size: 12px; }

/* Profile avatars */
.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid #bfdbfe;
}
.profile-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

/* Profile detail card */
.profile-detail-card .profile-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.profile-header-info {
  flex: 1;
}
.profile-header-info h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.profile-header-info p { margin: 3px 0; }

/* Profile notes */
.profile-note-card {
  border: 1px solid #e9eef5;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fafbfd;
}
.profile-note-card:hover { border-color: #bfdbfe; }
.profile-note-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.profile-note-header .muted { font-size: 12px; }

/* Breakdown table */
.breakdown-preview {
  margin-top: 16px;
}
.breakdown-header {
  text-align: center;
  padding: 18px 0 12px;
  border-bottom: 2px solid #073b78;
  margin-bottom: 16px;
}
.breakdown-header h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #073b78;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.breakdown-header p { margin: 0; color: #475569; font-size: 13px; }
.breakdown-table .breakdown-section-header td {
  background: #f0f5ff;
  font-weight: 700;
  color: #1e40af;
  padding: 8px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.breakdown-table tfoot tr.breakdown-subtotal td {
  background: #f8fafc;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
}
.breakdown-table tfoot tr.breakdown-total td {
  background: #073b78;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 12px;
}
.breakdown-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 13px;
  color: #92400e;
}

/* =====================================================
   RESPONSIVE IMPROVEMENTS
   ===================================================== */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .profile-results-grid { grid-template-columns: 1fr; }
  .profile-detail-card .profile-header { flex-direction: column; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select,
  .filter-bar input[type="text"] { width: 100%; }
}

@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-card { padding: 14px 16px; }
  .breakdown-table { font-size: 12px; }
  .export-status-row { flex-direction: column; }
}

/* =====================================================
   FINANCE DASHBOARD
   ===================================================== */
.stats-section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  margin: 20px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stats-section-label i { font-size: 14px; }

.stat-card .stat-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
  font-weight: 600;
}

.fee-progress-wrap { padding: 8px 0 16px; }
.fee-progress-bar-track {
  height: 32px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.fee-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  transition: width .6s ease;
  min-width: 2%;
}
.fee-progress-bar-fill span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.fee-progress-legend {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot.green { background: #16a34a; }
.legend-dot.red   { background: #dc2626; }
.legend-dot.blue  { background: #2563eb; }

.mini-progress {
  width: 80px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.mini-progress-fill {
  height: 100%;
  background: linear-gradient(90deg,#16a34a,#22c55e);
  border-radius: 999px;
}
.mini-progress span {
  position: absolute;
  right: -46px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.finance-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 14px;
  margin-top: 12px;
}
.finance-module-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: #1e293b;
  transition: box-shadow .16s, transform .16s, background .16s;
}
.finance-module-card:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(37,99,235,.1);
  transform: translateY(-2px);
  color: #1d4ed8;
}
.finance-module-card i {
  font-size: 28px;
  color: #3b82f6;
}
.finance-module-card:hover i { color: #1d4ed8; }
.finance-module-card strong { font-size: 14px; font-weight: 800; }
.finance-module-card span { font-size: 12px; color: #64748b; line-height: 1.4; }

/* Text color utilities */
.text-green { color: #16a34a; font-weight: 700; }
.text-red   { color: #dc2626; font-weight: 700; }
.text-amber { color: #d97706; font-weight: 700; }
.text-blue  { color: #2563eb; font-weight: 700; }

/* =====================================================
   ADMISSIONS REDESIGN
   ===================================================== */
.admission-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 16px;
  margin-top: 12px;
}
.admission-form-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .16s, border-color .16s;
}
.admission-form-card:hover {
  box-shadow: 0 6px 24px rgba(37,99,235,.1);
  border-color: #bfdbfe;
}
.admission-form-card.is-active-form {
  border-color: #2563eb;
  background: #f0f7ff;
}
.admission-form-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.admission-form-card-header i {
  font-size: 28px;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
}
.admission-form-card-header strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.admission-form-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* Field editor standard fields */
.field-editor-standard {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}
