:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --surface-dark: #132033;
  --surface-dark-2: #1d2f49;
  --text: #132033;
  --muted: #708198;
  --line: #dbe4ef;
  --line-strong: #c7d4e2;
  --super-accent: #0f766e;
  --school-accent: #1d4ed8;
  --gold: #c68b2c;
  --danger: #cc5c4b;
  --success-bg: #e7f6ef;
  --success-text: #13603e;
  --shadow-soft: 0 18px 46px rgba(15, 30, 52, 0.08);
  --shadow-card: 0 8px 26px rgba(15, 30, 52, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.08), transparent 22%),
    linear-gradient(180deg, #f6f9fc 0%, #edf2f7 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 292px 1fr;
  min-height: 100vh;
}

.sidebar-shell {
  padding: 26px 20px;
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: #f5f9ff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.brand-glyph {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f4ca71, #fff1c9);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  margin-top: 2px;
  color: rgba(245, 249, 255, 0.68);
}

.nav-section + .nav-section {
  margin-top: 18px;
}

.nav-label {
  margin: 0 0 10px;
  color: rgba(245, 249, 255, 0.5);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.nav-stack {
  display: grid;
  gap: 8px;
}

.nav-stack a {
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(245, 249, 255, 0.78);
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-stack a:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-note {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-note-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.sidebar-note strong {
  display: block;
  line-height: 1.6;
}

.sidebar-note p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.main-shell {
  padding: 28px;
}

.topbar-shell {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.topbar-shell h1,
.hero-surface h2,
.surface-card h2,
.surface-card h3,
.lane-item h4,
.checkpoint-item h4 {
  margin: 0;
}

.eyebrow-text {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
}

.page-stack {
  display: grid;
  gap: 24px;
}

.chip-link,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  color: var(--text);
  font-weight: 600;
}

.hero-surface,
.surface-card,
.stat-tile,
.toast-success,
.mini-panel {
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-surface {
  border-radius: 30px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent 48%);
}

.hero-super {
  background: linear-gradient(135deg, #effaf7 0%, #ffffff 52%, #f6fafc 100%);
}

.hero-school {
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 52%, #f8fbff 100%);
}

.hero-copy-block {
  position: relative;
  z-index: 1;
}

.hero-summary,
.lane-item p,
.checkpoint-item p,
.compact-copy,
.mini-panel small {
  color: var(--muted);
  line-height: 1.75;
}

.hero-summary {
  margin: 14px 0 0;
  max-width: 760px;
}

.compact-copy {
  max-width: 620px;
}

.action-row,
.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.theme-super .btn-primary {
  background: linear-gradient(135deg, #0f766e, #169186);
}

.theme-school .btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #356ff0);
}

.hero-panel-grid {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.mini-panel {
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.mini-panel span,
.stat-tile span,
.premium-table thead th,
.checkpoint-item small {
  color: var(--muted);
}

.mini-panel strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.1rem;
}

.refined-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.stat-tile {
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.stat-tile strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 2rem;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.92fr;
  gap: 24px;
}

.surface-card {
  border-radius: 30px;
  padding: 28px;
}

.major-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.side-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.section-head {
  margin-bottom: 22px;
}

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

.lane-list,
.checkpoint-list {
  display: grid;
  gap: 16px;
}

.lane-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.lane-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
}

.lane-dot.teal { background: #0f766e; }
.lane-dot.amber { background: #d08a2f; }
.lane-dot.rose { background: #cb6f64; }
.lane-dot.slate { background: #5d84df; }

.checkpoint-item {
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
}

.checkpoint-item h4 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.table-card,
.form-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

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

.premium-table-wrap {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.premium-table th,
.premium-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid #e9eff5;
  vertical-align: middle;
}

.premium-table tbody tr:hover {
  background: #f8fbff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ebf8f4;
  color: #0f766e;
  font-size: 0.84rem;
  font-weight: 700;
}

.premium-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-shell {
  display: grid;
  gap: 8px;
}

.field-shell label {
  font-weight: 700;
}

.field-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.field-control:focus {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.10);
  border-color: #8ca8da;
}

textarea.field-control {
  min-height: 120px;
  resize: vertical;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.field-error,
.validation-summary-errors {
  color: var(--danger);
  font-size: 0.9rem;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.toast-success {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--success-bg);
  color: var(--success-text);
}

@media (max-width: 1120px) {
  .workspace-grid,
  .dashboard-layout,
  .hero-surface,
  .premium-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-shell {
    padding: 14px;
  }

  .topbar-shell,
  .split-head {
    flex-direction: column;
  }

  .surface-card,
  .hero-surface,
  .stat-tile {
    padding: 22px;
  }
}

.checkbox-shell {
  padding-top: 6px;
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.check-inline input {
  width: 18px;
  height: 18px;
}

.super-admin-shell {
  background: linear-gradient(180deg, #08111f 0%, #10203a 100%);
  color: #f3f7fd;
}

.super-admin-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}

.super-sidebar {
  padding: 28px 22px;
  background: linear-gradient(180deg, #0b1525 0%, #162742 100%);
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.super-main {
  padding: 28px;
}

.super-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.super-note {
  background: rgba(255,255,255,0.08);
}

.sidebar-logout {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
}

.school-admin-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #f3f7fc 0%, #edf3f9 100%);
}

.school-top-ribbon {
  height: 10px;
  background: linear-gradient(90deg, #1d4ed8, #38bdf8, #0f766e);
}

.school-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.school-header,
.school-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.school-header {
  margin-bottom: 18px;
}

.school-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.school-brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  box-shadow: 0 0 0 8px rgba(29, 78, 216, 0.08);
}

.school-brand span {
  display: grid;
}

.school-brand small,
.school-page-meta span {
  color: var(--muted);
}

.school-header-actions,
.school-page-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-weight: 600;
}

.school-nav-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.school-nav-bar a {
  padding: 11px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-weight: 600;
}

.school-page-head {
  margin-bottom: 18px;
}

.school-page-stack {
  gap: 22px;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-super {
  background: radial-gradient(circle at top left, rgba(198,139,44,0.18), transparent 24%), linear-gradient(135deg, #07111f 0%, #10213a 100%);
}

.login-school {
  background: radial-gradient(circle at top left, rgba(29,78,216,0.12), transparent 24%), linear-gradient(180deg, #f4f8fd 0%, #edf4fb 100%);
}

.login-shell {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.18);
}

.login-showcase,
.login-form-card {
  padding: 42px;
}

.super-showcase {
  color: #f3f7fd;
  background: linear-gradient(180deg, rgba(8,17,31,0.95), rgba(16,33,58,0.92));
}

.school-showcase {
  color: var(--text);
  background: linear-gradient(180deg, #eaf2ff 0%, #f7fbff 100%);
}

.login-showcase h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  margin: 10px 0 16px;
}

.login-showcase p {
  line-height: 1.8;
  max-width: 520px;
}

.login-demo-box {
  margin-top: 28px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.school-showcase .login-demo-box {
  background: rgba(255,255,255,0.72);
  border-color: rgba(19,32,51,0.08);
}

.login-demo-box span,
.login-demo-box small {
  display: block;
}

.login-demo-box strong {
  display: block;
  margin: 8px 0 6px;
}

.login-form-card {
  background: #ffffff;
}

.login-head h2 {
  margin: 0 0 8px;
}

.login-head p {
  margin: 0 0 18px;
  color: var(--muted);
}

.login-form-grid {
  display: grid;
  gap: 16px;
}

.login-error {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff1ef;
  color: #b94f43;
  border: 1px solid #f1c8c2;
}

@media (max-width: 1120px) {
  .super-admin-grid,
  .login-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .super-main,
  .login-showcase,
  .login-form-card {
    padding: 22px;
  }

  .school-header,
  .school-page-head,
  .super-topbar {
    flex-direction: column;
  }
}

.super-sidebar {
  padding: 24px 18px;
  background:
    radial-gradient(circle at top, rgba(198, 139, 44, 0.12), transparent 18%),
    linear-gradient(180deg, #091321 0%, #111f35 100%);
}

.super-sidebar-top {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.super-brand-block {
  margin-bottom: 0;
}

.super-status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(198, 139, 44, 0.14);
  border: 1px solid rgba(198, 139, 44, 0.2);
  color: #efd7a9;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.super-nav-card {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.super-nav-label {
  margin-bottom: 12px;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
}

.super-nav-stack {
  gap: 10px;
}

.super-nav-stack a {
  padding: 12px 12px;
  border-radius: 16px;
  display: grid;
  gap: 4px;
  background: transparent;
}

.super-nav-stack a:hover {
  transform: translateX(0);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.06);
}

.super-nav-stack .nav-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  color: #f4f7fc;
}

.super-nav-stack a small {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(245, 249, 255, 0.56);
}

.refined-note {
  padding: 16px;
  border-radius: 20px;
}

.refined-note strong {
  font-size: 0.95rem;
}

.refined-note p {
  font-size: 0.8rem;
  line-height: 1.65;
}

.sidebar-logout {
  margin-top: 14px;
  font-size: 0.84rem;
}

.super-topbar h1 {
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  line-height: 1.08;
}

.super-main .eyebrow-text {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.super-main .chip-link {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .super-nav-card {
    padding: 12px;
  }

  .super-nav-stack a {
    padding: 11px;
  }
}

.super-admin-shell {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.08), transparent 12%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.08), transparent 18%),
    radial-gradient(circle at 85% 85%, rgba(255,255,255,0.05), transparent 14%),
    linear-gradient(180deg, #436493 0%, #395885 100%);
}

.super-admin-stage {
  width: min(1260px, calc(100% - 28px));
  margin: 28px auto;
}

.super-admin-canvas {
  background: #f4f6fa;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(14, 28, 53, 0.26);
}

.super-headerbar {
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  border-bottom: 1px solid #d9e1eb;
}

.super-header-left,
.super-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.super-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.super-logo-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, #3c6db0, #6e98d0);
  box-shadow: 0 0 0 7px rgba(60, 109, 176, 0.10);
}

.super-logo span {
  display: grid;
}

.super-logo strong {
  font-size: 0.95rem;
  color: #14325b;
}

.super-logo small {
  font-size: 0.68rem;
  color: #708198;
}

.super-top-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.super-top-tabs a {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px 8px 0 0;
  color: #38506e;
  font-size: 0.8rem;
  font-weight: 600;
}

.super-top-tabs a:hover {
  background: #eaf0f7;
  color: #173b69;
}

.super-user-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef3f9;
  color: #22446d;
  font-size: 0.78rem;
  font-weight: 700;
}

.super-mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d8e1ec;
  background: #fff;
  color: #48617f;
  font-size: 0.77rem;
  font-weight: 600;
}

.danger-link {
  color: #a24a4a;
}

.refined-super-grid {
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 170px);
  background: #edf2f7;
}

.super-sidepanel {
  padding: 16px;
  background: #dfe8f2;
  border-right: 1px solid #d1dbe6;
}

.super-panel-block {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fafc 0%, #f1f5f9 100%);
  border: 1px solid #d6e0ea;
}

.super-panel-block + .super-panel-block {
  margin-top: 14px;
}

.super-panel-label {
  margin: 0 0 10px;
  color: #6b7d95;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.super-compact-nav {
  display: grid;
  gap: 8px;
}

.super-compact-nav a {
  display: grid;
  gap: 2px;
  padding: 10px 10px;
  border-radius: 10px;
  color: #35506f;
  background: rgba(255,255,255,0.55);
  border: 1px solid transparent;
}

.super-compact-nav a:hover {
  background: #ffffff;
  border-color: #ccd7e3;
}

.super-compact-nav .nav-title {
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.25;
}

.super-compact-nav a small,
.muted-block p {
  font-size: 0.69rem;
  line-height: 1.45;
  color: #708198;
}

.muted-block strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: #18385e;
}

.super-workspace {
  padding: 14px;
}

.super-pagebar {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #d9e2ec;
}

.super-pagebar h1 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  color: #173558;
}

.super-workspace .eyebrow-text {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: #53739b;
}

.super-workspace .surface-card,
.super-workspace .hero-surface,
.super-workspace .stat-tile,
.super-workspace .mini-panel {
  border-color: #d8e1eb;
  box-shadow: 0 8px 24px rgba(28, 48, 78, 0.06);
}

.super-workspace .surface-card,
.super-workspace .hero-surface,
.super-workspace .stat-tile {
  border-radius: 18px;
}

.super-workspace .hero-surface {
  padding: 22px;
}

.super-workspace .stat-tile {
  padding: 16px 18px;
}

.super-workspace .stat-tile strong {
  font-size: 1.55rem;
}

.super-workspace .hero-summary,
.super-workspace .compact-copy,
.super-workspace .lane-item p,
.super-workspace .checkpoint-item p {
  font-size: 0.84rem;
}

.super-workspace .btn-primary,
.super-workspace .btn-secondary {
  min-height: 40px;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .super-headerbar,
  .super-header-left,
  .super-header-right {
    align-items: flex-start;
  }

  .refined-super-grid {
    grid-template-columns: 1fr;
  }
}

.super-workspace,
.super-workspace h1,
.super-workspace h2,
.super-workspace h3,
.super-workspace h4,
.super-workspace strong,
.super-workspace td,
.super-workspace th,
.super-workspace label,
.super-workspace .surface-card,
.super-workspace .hero-surface,
.super-workspace .stat-tile,
.super-workspace .mini-panel {
  color: #183252;
}

.super-workspace .hero-surface h2,
.super-workspace .surface-card h2,
.super-workspace .surface-card h3,
.super-workspace .surface-card h4,
.super-pagebar h1 {
  color: #173558;
}

.super-workspace .hero-summary,
.super-workspace .compact-copy,
.super-workspace .lane-item p,
.super-workspace .checkpoint-item p,
.super-workspace .mini-panel small,
.super-workspace .mini-panel span,
.super-workspace .stat-tile span,
.super-workspace .stat-tile small,
.super-workspace .premium-table thead th,
.super-workspace .premium-table td small {
  color: #6b7f96;
}

.super-workspace .btn-primary {
  background: linear-gradient(135deg, #2e5f9d, #3c73b6);
  color: #ffffff;
}

.super-workspace .btn-secondary {
  background: #ffffff;
  color: #24476f;
  border-color: #cdd8e5;
}

.super-workspace .premium-table {
  background: #ffffff;
  color: #183252;
}

.super-workspace .premium-table tbody tr {
  background: #ffffff;
}

.super-workspace .premium-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

.super-workspace .premium-table tbody tr:hover {
  background: #eef5fc;
}

.super-workspace .premium-table strong {
  color: #123964;
}

.super-workspace .status-pill {
  background: #e8f0fb;
  color: #2b5d96;
}

.super-admin-stage {
  width: min(1450px, calc(100% - 22px));
  margin: 18px auto;
}

.super-admin-canvas {
  border-radius: 24px;
}

.refined-super-grid {
  grid-template-columns: 220px minmax(0, 1fr);
}

.super-workspace {
  padding: 16px;
  min-width: 0;
}

.wide-table-card {
  width: 100%;
}

.responsive-head {
  align-items: center;
}

.action-row-tight {
  justify-content: flex-end;
}

.compact-btn {
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.78rem !important;
  white-space: nowrap;
}

.super-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.compact-table {
  min-width: 980px;
  font-size: 0.78rem;
}

.compact-table th,
.compact-table td {
  padding: 12px 14px;
}

.compact-table th {
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.compact-table td small {
  font-size: 0.7rem;
}

.compact-table .status-pill {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.74rem;
}

@media (max-width: 1180px) {
  .super-admin-stage {
    width: min(100% - 14px, 1450px);
  }

  .responsive-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .action-row-tight {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .refined-super-grid {
    grid-template-columns: 1fr;
  }

  .compact-table {
    min-width: 860px;
  }
}


.super-top-tabs a.is-active {
  background: #dfeaf6;
  color: #173b69;
  box-shadow: inset 0 -2px 0 #173b69;
}

.super-compact-nav a.is-active {
  background: #ffffff;
  border-color: #9eb7d3;
  box-shadow: 0 10px 24px rgba(23, 59, 105, 0.08);
}

.super-compact-nav a.is-active .nav-title,
.super-compact-nav a.is-active small {
  color: #173b69;
}

.super-dashboard-shell {
  display: grid;
  gap: 22px;
}

.super-dashboard-hero {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.78fr);
  align-items: stretch;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(46, 95, 157, 0.14), transparent 28%),
    linear-gradient(135deg, #f4f8fc 0%, #ffffff 54%, #f7fbff 100%);
}

.dashboard-hero-copy h2 {
  max-width: 10ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.super-dashboard-hero .hero-summary {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.78;
  color: #5f748d;
}

.super-dashboard-actions {
  margin-top: 22px;
}

.dashboard-hero-focus {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #173558 0%, #224a74 100%);
  color: #f4f8fd;
  box-shadow: 0 18px 34px rgba(23, 53, 88, 0.16);
}

.dashboard-hero-focus .focus-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 248, 253, 0.72);
}

.dashboard-hero-focus strong {
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.dashboard-hero-focus p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(244, 248, 253, 0.82);
}

.super-dashboard-stats {
  gap: 16px;
}

.super-stat-tile {
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.super-stat-tile span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.super-stat-tile strong {
  margin: 10px 0 6px;
  font-size: clamp(1.9rem, 2.5vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.super-stat-tile small {
  font-size: 0.88rem;
  line-height: 1.6;
}

.super-dashboard-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: 20px;
}

.super-dashboard-card {
  padding: 24px;
  border-radius: 22px;
}

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

.compact-section-head h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.super-lane-list,
.super-checkpoint-list {
  gap: 14px;
}

.super-lane-item {
  grid-template-columns: 14px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fdfefe 0%, #f6f9fc 100%);
}

.super-lane-item h4,
.super-checkpoint-item h4 {
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.super-lane-item p,
.super-checkpoint-item p {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.72;
}

.super-updates-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.super-checkpoint-item {
  padding: 0 0 16px;
  border-bottom: 1px solid #dde6ef;
}

.super-checkpoint-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.super-checkpoint-item small {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7f98;
}

.super-dashboard-shell .btn-primary,
.super-dashboard-shell .btn-secondary {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  .super-dashboard-hero,
  .super-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-copy h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .super-dashboard-hero,
  .super-dashboard-card {
    padding: 20px;
  }

  .super-stat-tile {
    padding: 14px;
  }

  .compact-section-head h3 {
    font-size: 1.28rem;
  }
}

.dashboard-hero-copy h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.12;
}

.dashboard-hero-focus strong {
  font-size: 1.18rem;
  line-height: 1.28;
}

.compact-section-head h3 {
  font-size: 1.22rem;
  line-height: 1.22;
}

.super-lane-item h4,
.super-checkpoint-item h4 {
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .dashboard-hero-copy h2 {
    font-size: 1.45rem;
  }

  .compact-section-head h3 {
    font-size: 1.1rem;
  }
}

.super-dashboard-stats {
  margin-top: 0;
}

.super-stat-tile span {
  font-size: 0.7rem;
}

.super-stat-tile strong {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.super-stat-tile small {
  font-size: 0.8rem;
  line-height: 1.5;
}

.super-workspace .eyebrow-text,
.super-dashboard-shell .eyebrow-text,
.super-checkpoint-item small {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.compact-section-head h3 {
  font-size: 1.05rem;
  line-height: 1.28;
}

.super-lane-item h4,
.super-checkpoint-item h4 {
  font-size: 0.88rem;
  line-height: 1.38;
}

.super-lane-item p,
.super-checkpoint-item p {
  font-size: 0.84rem;
  line-height: 1.62;
}

@media (max-width: 640px) {
  .compact-section-head h3 {
    font-size: 0.98rem;
  }

  .super-stat-tile strong {
    font-size: 1.35rem;
  }
}

.home-portal-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 56px 20px 72px;
  display: grid;
  gap: 28px;
}

.home-portal-intro {
  max-width: 680px;
}

.home-portal-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #173558;
}

.home-portal-intro p:last-child {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.8;
  color: #60758e;
}

.home-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-portal-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 58%, #f3f8fd 100%);
  border: 1px solid #d9e4ef;
  box-shadow: 0 18px 40px rgba(20, 43, 73, 0.07);
  color: #173558;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-portal-card:hover {
  transform: translateY(-2px);
  border-color: #b7cbdf;
  box-shadow: 0 24px 44px rgba(20, 43, 73, 0.1);
}

.home-portal-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.home-portal-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: #647b95;
}

.home-portal-card strong {
  font-size: 0.92rem;
  color: #224a74;
}

.home-portal-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: #e8f0fb;
  color: #2a5b92;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-portal-card.school-card {
  background: linear-gradient(135deg, #f6fbf8 0%, #ffffff 58%, #f3faf6 100%);
}

.home-portal-card.school-card .home-portal-tag {
  background: #e7f4ed;
  color: #25614d;
}

@media (max-width: 760px) {
  .home-portal-grid {
    grid-template-columns: 1fr;
  }

  .home-portal-shell {
    padding-top: 34px;
  }

  .home-portal-card {
    padding: 22px;
  }
}

.super-table-wrap .compact-table tbody tr {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(5px);
  animation: superTableRowReveal 1.02s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.super-table-wrap .compact-table tbody tr:nth-child(1) { animation-delay: 0.08s; }
.super-table-wrap .compact-table tbody tr:nth-child(2) { animation-delay: 0.18s; }
.super-table-wrap .compact-table tbody tr:nth-child(3) { animation-delay: 0.28s; }
.super-table-wrap .compact-table tbody tr:nth-child(4) { animation-delay: 0.38s; }
.super-table-wrap .compact-table tbody tr:nth-child(5) { animation-delay: 0.48s; }
.super-table-wrap .compact-table tbody tr:nth-child(6) { animation-delay: 0.58s; }
.super-table-wrap .compact-table tbody tr:nth-child(7) { animation-delay: 0.68s; }
.super-table-wrap .compact-table tbody tr:nth-child(8) { animation-delay: 0.78s; }
.super-table-wrap .compact-table tbody tr:nth-child(9) { animation-delay: 0.88s; }
.super-table-wrap .compact-table tbody tr:nth-child(10) { animation-delay: 0.98s; }
.super-table-wrap .compact-table tbody tr:nth-child(n+11) { animation-delay: 1.08s; }

.super-workspace .super-table-wrap .compact-table tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: inset 4px 0 0 #2f6aa7;
  background: linear-gradient(90deg, #edf5fd 0%, #f9fcff 100%);
}

.super-workspace .super-table-wrap .compact-table tbody td {
  transition: background-color 0.2s ease, color 0.2s ease;
}

@keyframes superTableRowReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .super-table-wrap .compact-table tbody tr {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}


.school-create-shell {
  overflow: hidden;
}

.school-create-enter {
  animation: schoolCreateShellEnter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.school-create-head {
  margin-bottom: 24px;
}

.school-create-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.school-create-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 253, 0.96) 100%);
  border: 1px solid #d9e3ed;
  box-shadow: 0 14px 34px rgba(20, 43, 73, 0.06);
}

.school-create-branding {
  background:
    radial-gradient(circle at top right, rgba(47, 106, 167, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 253, 0.98) 100%);
}

.school-create-account {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 247, 0.98) 100%);
}

.school-panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.school-panel-kicker {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6380a2;
}

.school-panel-title-row h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #173558;
}

.logo-preview-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #dce6f0;
}

.logo-preview-media {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf4fb 0%, #dfeaf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(34, 74, 116, 0.08);
}

.logo-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.logo-preview-media span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #224a74;
}

.logo-preview-copy {
  display: grid;
  gap: 6px;
}

.logo-preview-copy strong {
  font-size: 0.96rem;
  line-height: 1.3;
}

.logo-preview-copy small {
  color: #6b7f96;
  line-height: 1.55;
}

.field-control-premium {
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 18px;
  border-color: #d4dfeb;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.field-control-premium::placeholder {
  color: #97a9bd;
}

.field-control-premium:focus {
  transform: translateY(-2px);
  border-color: #89abd1;
  box-shadow: 0 0 0 4px rgba(47, 106, 167, 0.12), 0 14px 28px rgba(47, 106, 167, 0.08);
}

.password-generator-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.generate-password-btn {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  white-space: nowrap;
}

.password-hint-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf8f4 0%, #f9fcfb 100%);
  border: 1px solid #cfe7dd;
}

.password-hint-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #3f7d67;
}

.password-hint-card strong {
  font-size: 0.95rem;
  line-height: 1.32;
  color: #194f41;
}

.password-hint-card small {
  color: #5f7e74;
  line-height: 1.6;
}

.password-hint-card.is-generated {
  animation: passwordHintPulse 0.7s ease;
}

.premium-check {
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d7e2eb;
}

.school-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.animated-panel {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  animation: schoolCreatePanelRise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.31s; }

.field-animate {
  animation: schoolCreateFieldFloat 0.9s ease both;
}

.school-create-panel .field-animate:nth-of-type(1) { animation-delay: 0.16s; }
.school-create-panel .field-animate:nth-of-type(2) { animation-delay: 0.24s; }
.school-create-panel .field-animate:nth-of-type(3) { animation-delay: 0.32s; }
.school-create-panel .field-animate:nth-of-type(4) { animation-delay: 0.4s; }
.school-create-panel .field-animate:nth-of-type(5) { animation-delay: 0.48s; }
.school-create-panel .field-animate:nth-of-type(6) { animation-delay: 0.56s; }

@keyframes schoolCreateShellEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes schoolCreatePanelRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes schoolCreateFieldFloat {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes passwordHintPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(15, 118, 110, 0);
  }

  50% {
    transform: scale(1.015);
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.16);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(15, 118, 110, 0);
  }
}

@media (max-width: 1280px) {
  .school-create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-create-account {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .school-create-grid,
  .password-generator-row {
    grid-template-columns: 1fr;
  }

  .school-create-panel {
    padding: 14px;
  }

  .logo-preview-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .school-create-enter,
  .animated-panel,
  .field-animate,
  .password-hint-card.is-generated {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

.school-create-simple-shell {
  padding: 24px;
}

.school-create-simple-head {
  margin-bottom: 20px;
}

.school-create-simple-form {
  display: grid;
  gap: 18px;
}

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

.school-create-input {
  min-height: 48px;
  border-radius: 14px;
  border-color: #d6e0ea;
  background: #fff;
  box-shadow: none;
}

.school-create-input:focus {
  transform: none;
  border-color: #95afd0;
  box-shadow: 0 0 0 3px rgba(46, 95, 157, 0.1);
}

.school-create-password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.school-create-generate-btn {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  white-space: nowrap;
}

.field-span-3 {
  grid-column: 1 / -1;
}

.school-create-toggle-row {
  padding-top: 2px;
}

.school-create-simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1100px) {
  .school-create-simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-span-3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .school-create-simple-shell {
    padding: 14px;
  }

  .school-create-simple-grid,
  .school-create-password-row {
    grid-template-columns: 1fr;
  }
}

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

.school-create-simple-grid .field-shell label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #50657f;
}

.school-create-input {
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 12px;
}

textarea.school-create-input {
  min-height: 104px;
  border-radius: 10px;
}

.school-create-password-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.school-create-generate-btn {
  min-height: 44px;
  border-radius: 10px;
}

.school-logo-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 12px;
  align-items: center;
}

.school-logo-picker {
  min-height: 72px;
  padding: 14px 16px;
  border: 1px dashed #c9d7e5;
  border-radius: 10px;
  background: #fafcff;
  display: grid;
  align-content: center;
  cursor: pointer;
}

.school-logo-picker-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #24476f;
}

.school-logo-picker small {
  font-size: 0.74rem;
  color: #7a8da4;
}

.school-logo-input {
  display: none;
}

.school-logo-preview {
  width: 94px;
  height: 94px;
  border-radius: 10px;
  border: 1px solid #d8e1eb;
  background: linear-gradient(135deg, #f2f7fc 0%, #e8f0f8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.school-logo-preview span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #5c7593;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.field-span-3 {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .school-create-simple-grid,
  .school-create-password-row,
  .school-logo-upload-row {
    grid-template-columns: 1fr;
  }

  .school-logo-preview {
    width: 100px;
    height: 100px;
  }
}

.school-logo-upload-stack {
  grid-template-columns: 112px 1fr;
  align-items: center;
}

.school-create-input,
.school-create-input-animated {
  border-radius: 8px;
}

.school-create-simple-grid .field-shell label {
  font-size: 0.72rem;
}

.school-create-input::placeholder,
.school-create-input-animated::placeholder {
  font-size: 0.78rem;
  color: #95a6b8;
}

.school-create-input-animated {
  border-width: 1px 1px 2px;
  border-color: #d6e0ea;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-size 0.24s ease;
  background-image: linear-gradient(#2e5f9d, #2e5f9d);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
}

.school-create-input-animated:focus {
  outline: none;
  transform: none;
  border-color: #b8c8d9 #b8c8d9 #2e5f9d;
  box-shadow: none;
  background-size: 100% 2px;
}

.school-logo-picker {
  min-height: 64px;
  border-radius: 8px;
}

.school-logo-preview {
  width: 112px;
  height: 112px;
  border-radius: 10px;
}

.school-create-generate-btn {
  border-radius: 8px;
}

@media (max-width: 760px) {
  .school-logo-upload-stack {
    grid-template-columns: 1fr;
  }
}

.school-logo-smartbox {
  position: relative;
  min-height: 120px;
  border: 1px dashed #c9d7e5;
  border-radius: 10px;
  background: linear-gradient(135deg, #f9fcff 0%, #f2f7fc 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}

.school-logo-smartbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.school-logo-smartbox-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.school-logo-smartbox-copy strong {
  font-size: 0.9rem;
  color: #24476f;
}

.school-logo-smartbox-copy small {
  font-size: 0.75rem;
  color: #768aa1;
}

.school-logo-smartbox.has-image {
  border-style: solid;
  border-color: #b9cade;
}

.school-logo-smartbox.has-image .school-logo-smartbox-copy {
  justify-content: end;
  align-content: end;
  place-content: end;
  text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 29, 49, 0.68) 100%);
}

.school-logo-smartbox.has-image .school-logo-smartbox-copy strong,
.school-logo-smartbox.has-image .school-logo-smartbox-copy small {
  color: #ffffff;
}



.school-logo-smartbox {
  width: min(300px, 100%);
  margin-right: auto;
}

.school-create-input,
.school-create-input-animated,
.school-create-generate-btn {
  border-radius: 6px;
}

.school-create-simple-grid .field-shell label {
  font-size: 0.69rem;
  letter-spacing: 0.01em;
}

.school-create-input::placeholder,
.school-create-input-animated::placeholder {
  font-size: 0.74rem;
}

.school-logo-smartbox {
  min-height: 170px;
  width: min(280px, 100%);
  border: 2px dashed #d7a8ff;
  border-radius: 14px;
  background: #fbfbfd;
}

.school-logo-smartbox-copy {
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.school-logo-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f5;
  color: #8f93a1;
  font-size: 1.2rem;
  font-weight: 700;
}

.school-logo-smartbox-copy strong {
  font-size: 0.82rem;
  color: #6d7482;
}

.school-logo-smartbox-copy small {
  font-size: 0.68rem;
  line-height: 1.45;
  color: #9aa1ad;
}

.school-logo-upload-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  margin: 4px auto 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #2e5f9d 0%, #3c73b6 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

.school-logo-smartbox.has-image {
  border-color: #b9cade;
}

.school-logo-smartbox.has-image .school-logo-icon,
.school-logo-smartbox.has-image .school-logo-upload-chip {
  display: none;
}

.school-logo-smartbox.has-image .school-logo-smartbox-copy {
  gap: 4px;
}

.school-logo-smartbox.has-image .school-logo-smartbox-copy strong {
  font-size: 0.78rem;
}

.super-pagebar-copy {
  margin: 6px 0 0;
  max-width: 640px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #69809a;
}


.btn-danger,
.school-action-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #efc1c1;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff4f4 0%, #ffe8e8 100%);
  color: #9f2f2f;
  font-weight: 700;
}

.school-directory-shell {
  display: grid;
  gap: 22px;
}

.school-directory-head {
  margin-bottom: 0;
}

.school-directory-searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.school-directory-search-input {
  min-height: 44px;
}

.school-password-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #d8e4f0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f8fd 0%, #ffffff 60%, #eef4fb 100%);
}

.school-password-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.school-password-output {
  min-width: 220px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.school-directory-section {
  display: grid;
  gap: 12px;
}

.school-directory-section-muted {
  padding-top: 10px;
  border-top: 1px solid rgba(19, 32, 51, 0.08);
}

.school-directory-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.school-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-row-actions form {
  margin: 0;
}

.school-directory-empty {
  padding: 26px 18px;
  text-align: center;
  color: #6f8196;
}

@media (max-width: 900px) {
  .school-directory-searchbar,
  .school-password-card {
    grid-template-columns: 1fr;
  }

  .school-password-actions,
  .school-directory-section-head {
    align-items: stretch;
  }
}

.school-modal-open {
  overflow: hidden;
}

.btn-danger,
.school-action-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #efc1c1;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff4f4 0%, #ffe8e8 100%);
  color: #9f2f2f;
  font-weight: 700;
}

.school-directory-shell {
  display: grid;
  gap: 22px;
}

.school-directory-head {
  margin-bottom: 0;
}

.school-directory-searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.school-directory-search-input {
  min-height: 44px;
}

.school-password-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #d8e4f0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f8fd 0%, #ffffff 60%, #eef4fb 100%);
}

.school-password-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.school-password-output {
  min-width: 220px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.school-directory-section {
  display: grid;
  gap: 12px;
}

.school-directory-section-muted {
  padding-top: 10px;
  border-top: 1px solid rgba(19, 32, 51, 0.08);
}

.school-directory-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.school-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-row-actions form {
  margin: 0;
}

.school-directory-empty {
  padding: 26px 18px;
  text-align: center;
  color: #6f8196;
}

.school-actions-menu {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.school-actions-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid #d8e4f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.school-actions-toggle span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #355b86;
}

.school-actions-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  padding: 8px;
  border: 1px solid #d8e4f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 38, 68, 0.16);
  display: grid;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.school-actions-menu.is-open .school-actions-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.school-actions-panel form {
  margin: 0;
}

.school-actions-link {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #25476c;
  text-align: left;
  font-weight: 600;
}

.school-actions-link:hover {
  background: #f2f7fc;
}

.school-actions-link-danger {
  color: #a13636;
}

.school-actions-link-danger:hover {
  background: #fff2f2;
}

.school-password-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.school-password-modal.is-open {
  display: flex;
}

.school-password-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 22, 39, 0.46);
  animation: schoolModalFade 0.22s ease;
}

.school-password-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 26px 70px rgba(12, 28, 49, 0.22);
  display: grid;
  gap: 18px;
  animation: schoolModalPop 0.24s ease;
}

.school-password-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.school-password-modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid #d8e4f0;
  border-radius: 999px;
  background: #ffffff;
  color: #3a5b80;
  font-size: 1rem;
  font-weight: 700;
}

.school-password-modal-form {
  display: grid;
  gap: 12px;
}

.school-password-modal-form label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a617b;
}

.school-password-modal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.school-password-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.school-danger-modal-dialog {
  width: min(620px, 100%);
}

.school-danger-eyebrow {
  color: #b06a14;
}

.school-danger-warning {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #f0cf9a;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf2 0%, #fff4e2 100%);
  color: #704912;
}

.school-danger-code-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.school-danger-code-box {
  display: grid;
  gap: 4px;
  min-width: 170px;
  padding: 14px 16px;
  border: 1px dashed #d9ab5d;
  border-radius: 16px;
  background: #fff8ee;
}

.school-danger-code-box span,
.school-danger-code-help small {
  font-size: 0.74rem;
  font-weight: 700;
  color: #896130;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.school-danger-code-box strong {
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  color: #5f3e10;
}

.school-danger-code-help {
  display: grid;
  gap: 4px;
  color: #4b5f76;
}

.school-danger-code-help span {
  font-weight: 700;
  color: #223a59;
}

@keyframes schoolModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes schoolModalPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .school-directory-searchbar,
  .school-password-card,
  .school-password-modal-row,
  .school-danger-code-row {
    grid-template-columns: 1fr;
  }

  .school-password-actions,
  .school-directory-section-head {
    align-items: stretch;
  }
}

.school-directory-searchbar {
  grid-template-columns: minmax(0, 1fr);
}

.school-directory-table-wrap,
.school-directory-table-wrap.table-wrap,
.school-directory-table-wrap.premium-table-wrap,
.school-directory-table-wrap.super-table-wrap {
  overflow: visible;
}

.school-directory-table-wrap .compact-table,
.school-directory-table-wrap .premium-table {
  overflow: visible;
}

.school-directory-table-wrap .compact-table tbody tr,
.school-directory-table-wrap .compact-table tbody td {
  position: relative;
}

.school-actions-menu {
  z-index: 40;
}

.school-actions-menu.is-open {
  z-index: 80;
}

.school-actions-panel {
  z-index: 120;
}

@media (max-width: 900px) {
  .school-directory-table-wrap,
  .school-directory-table-wrap.table-wrap,
  .school-directory-table-wrap.premium-table-wrap,
  .school-directory-table-wrap.super-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
  }
}

.school-actions-panel {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 190px;
  padding: 8px;
  border: 1px solid #d8e4f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 38, 68, 0.16);
  display: grid;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 999;
}

.school-inline-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.school-inline-actions form {
  margin: 0;
  width: 100%;
}

.school-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 0 7px;
  border: 1px solid #d7e1ec;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  color: #26486d;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.school-mini-btn-danger {
  border-color: #efc1c1;
  background: linear-gradient(180deg, #fff4f4 0%, #ffe8e8 100%);
  color: #9f2f2f;
}

.school-mini-btn-danger-soft {
  border-color: #f0d49d;
  background: linear-gradient(180deg, #fff9ef 0%, #fff2da 100%);
  color: #8d5d12;
}

.school-actions-column {
  width: 400px;
  min-width: 400px;
}

.school-actions-column-cell {
  width: 400px;
  min-width: 400px;
}



.school-directory-shell .status-pill,
.school-mini-btn,
.school-mini-btn-danger,
.school-mini-btn-danger-soft {
  border-radius: 8px;
}

.school-directory-table-wrap,
.school-directory-table-wrap.table-wrap,
.school-directory-table-wrap.premium-table-wrap,
.school-directory-table-wrap.super-table-wrap {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding-bottom: 10px;
}

.school-directory-table-wrap .compact-table,
.school-directory-table-wrap .premium-table {
  min-width: 1380px;
}

.school-directory-table-wrap .compact-table th,
.school-directory-table-wrap .compact-table td {
  padding: 14px 18px;
}

.school-directory-table-wrap::-webkit-scrollbar {
  height: 12px;
}

.school-directory-table-wrap::-webkit-scrollbar-track {
  background: #edf3f9;
  border-radius: 999px;
}

.school-directory-table-wrap::-webkit-scrollbar-thumb {
  background: #b8c8d9;
  border-radius: 999px;
}


.school-inline-actions .btn-secondary.school-mini-btn,
.school-inline-actions .school-mini-btn,
.school-inline-actions .school-mini-btn-danger,
.school-inline-actions .school-mini-btn-danger-soft {
  min-height: 26px !important;
  height: 26px;
  padding: 0 6px !important;
  font-size: 0.64rem !important;
  line-height: 1 !important;
  box-shadow: none;
}

.school-inline-actions .btn-secondary.school-mini-btn {
  border-radius: 8px !important;
}

.login-shell-super-refined {
  grid-template-columns: 1.08fr 0.92fr;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.super-login-showcase-refined {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(244, 202, 113, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(60, 115, 182, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.98), rgba(16, 33, 58, 0.94));
}

.super-login-showcase-refined::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 202, 113, 0.2), transparent 68%);
}

.super-login-brandbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.super-login-brandmark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4ca71, #fff1c9);
  color: #10213a;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.super-login-brandbar strong,
.super-login-brandbar small {
  display: block;
}

.super-login-brandbar strong {
  color: #ffffff;
  font-size: 1rem;
}

.super-login-brandbar small {
  color: rgba(243, 247, 253, 0.72);
}

.super-login-feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.super-login-feature-card {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.super-login-feature-card span,
.super-login-feature-card strong {
  display: block;
}

.super-login-feature-card span {
  margin-bottom: 6px;
  color: #f4ca71;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.super-login-feature-card strong {
  color: #f3f7fd;
  font-size: 0.92rem;
  line-height: 1.55;
}

.super-login-demo-refined {
  margin-top: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.super-login-form-refined {
  display: grid;
  align-content: center;
  gap: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.super-login-head-refined .eyebrow-text {
  margin-bottom: 10px;
}

.super-login-head-refined h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #132033;
}

.super-login-form-grid-refined {
  gap: 18px;
}

.super-login-input {
  min-height: 54px;
  border-radius: 16px;
  border-color: #d7e1ec;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.super-login-input:focus {
  border-color: #3c73b6;
  box-shadow: 0 0 0 4px rgba(60, 115, 182, 0.08);
}

.super-login-checkrow {
  padding-top: 4px;
}

.super-login-actions-refined {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.super-login-submit,
.super-login-back {
  min-height: 50px;
  border-radius: 16px;
}

.super-login-footnote {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 6px;
}

.super-login-footnote-item {
  padding: 14px 16px;
  border: 1px solid #e1eaf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.super-login-footnote-item strong,
.super-login-footnote-item small {
  display: block;
}

.super-login-footnote-item strong {
  margin-bottom: 6px;
  color: #183553;
}

.super-login-footnote-item small {
  color: #708399;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .login-shell-super-refined {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .super-login-actions-refined,
  .super-login-footnote {
    grid-template-columns: 1fr;
  }
}

.super-login-panel-page {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.super-login-panel-page .super-admin-stage {
  width: min(100% - 20px, 1480px);
  margin: 10px auto;
}

.super-login-stage {
  display: flex;
}

.super-login-canvas {
  width: 100%;
  min-height: calc(100vh - 20px);
  display: grid;
  place-items: center;
  background: #f4f6fa;
}

.super-login-shell-minimal {
  width: min(980px, 100%);
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15, 29, 49, 0.14);
  background: transparent;
}

.super-login-showcase-minimal {
  padding: 36px;
  color: #132033;
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
  border-right: 1px solid rgba(19, 32, 51, 0.08);
}

.super-login-logo-minimal {
  margin-bottom: 28px;
}

.super-login-showcase-minimal h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  color: #132033;
}

.super-login-showcase-minimal p {
  color: #637487;
  max-width: 420px;
}

.super-login-demo-minimal {
  margin-top: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2eaf2;
  box-shadow: none;
}

.super-login-form-minimal {
  padding: 36px;
  display: grid;
  align-content: center;
  gap: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
}

.super-login-head-minimal h2 {
  margin: 0 0 8px;
  color: #132033;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.super-login-head-minimal p {
  margin: 0;
  color: #718397;
}

.super-login-form-grid-minimal {
  gap: 16px;
}

.super-login-actions-minimal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.super-login-input {
  min-height: 52px;
  border-radius: 14px;
  border-color: #d7e1ec;
  background: #ffffff;
}

.super-login-input:focus {
  border-color: #3c73b6;
  box-shadow: 0 0 0 4px rgba(60, 115, 182, 0.08);
}

.super-login-submit,
.super-login-back {
  min-height: 48px;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .super-login-shell-minimal {
    grid-template-columns: 1fr;
  }

  .super-login-showcase-minimal {
    border-right: 0;
    border-bottom: 1px solid rgba(19, 32, 51, 0.08);
  }
}

@media (max-width: 760px) {
  .super-login-panel-page .super-admin-stage {
    width: min(100% - 12px, 1480px);
    margin: 6px auto;
  }

  .super-login-canvas {
    min-height: calc(100vh - 12px);
  }

  .super-login-showcase-minimal,
  .super-login-form-minimal {
    padding: 22px;
  }

  .super-login-actions-minimal {
    grid-template-columns: 1fr;
  }

  .finance-inline-form-simple-head {
    grid-template-columns: 1fr;
  }

  .finance-inline-actions {
    grid-template-columns: 1fr;
  }

  .finance-inline-submit-btn {
    width: 100%;
    justify-self: stretch;
  }
}

.super-login-submit {
  background: linear-gradient(135deg, #2e5f9d 0%, #3c73b6 100%);
  color: #ffffff !important;
  border: 1px solid #2b598f;
  box-shadow: 0 14px 28px rgba(46, 95, 157, 0.22);
}

.super-login-submit:hover {
  background: linear-gradient(135deg, #28558d 0%, #3468a8 100%);
}

.super-login-back {
  color: #24476f;
  border-color: #cfd9e4;
  background: #ffffff;
}

.school-login-shell-smart {
  width: min(1180px, 100%);
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid rgba(20, 56, 92, 0.1);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
  box-shadow: 0 36px 90px rgba(17, 43, 71, 0.16);
}

.school-login-showcase-smart {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.2), transparent 32%),
    radial-gradient(circle at bottom left, rgba(8, 145, 178, 0.18), transparent 30%),
    linear-gradient(180deg, #eff6ff 0%, #f8fbff 52%, #edf7f6 100%);
}

.school-login-showcase-smart::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.18), transparent 68%);
}

.school-login-brandbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.school-login-brandmark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 32px rgba(29, 78, 216, 0.22);
}

.school-login-brandbar strong,
.school-login-brandbar small {
  display: block;
}

.school-login-brandbar strong {
  color: #10243a;
  font-size: 1rem;
}

.school-login-brandbar small {
  color: #66809c;
}

.school-login-feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.school-login-feature-card {
  position: relative;
  padding: 16px 18px;
  border: 1px solid rgba(18, 52, 86, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(21, 48, 77, 0.08);
}

.school-login-feature-card span,
.school-login-feature-card strong {
  display: block;
}

.school-login-feature-card span {
  margin-bottom: 6px;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-login-feature-card strong {
  color: #15324f;
  font-size: 0.94rem;
  line-height: 1.6;
}

.school-login-demo-smart {
  margin-top: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 249, 255, 0.94));
  border: 1px solid rgba(18, 52, 86, 0.08);
  box-shadow: 0 14px 32px rgba(22, 46, 74, 0.08);
}

.school-login-form-smart {
  display: grid;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.school-login-head-smart .eyebrow-text {
  margin-bottom: 10px;
}

.school-login-head-smart h2 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #13263d;
}

.school-login-head-smart p {
  margin: 0;
  color: #6b7f96;
}

.school-login-form-grid-smart {
  gap: 18px;
}

.school-login-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5d748d;
}

.school-login-input-smart {
  min-height: 56px;
  border-radius: 18px;
  border-color: #d5e0ec;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.school-login-input-smart:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.school-login-checkrow {
  padding-top: 4px;
}

.school-login-actions-smart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.school-login-submit-smart,
.school-login-back-smart {
  min-height: 52px;
  border-radius: 18px;
}

.school-login-submit-smart {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f7bb7 100%);
  color: #ffffff !important;
  border: 1px solid #1846c4;
  box-shadow: 0 18px 30px rgba(29, 78, 216, 0.2);
}

.school-login-submit-smart:hover {
  background: linear-gradient(135deg, #1946c2 0%, #0d6ea4 100%);
}

.school-login-back-smart {
  color: #284a6f;
  border-color: #d0dbe7;
  background: #ffffff;
}

.school-login-footnote {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 4px;
}

.school-login-footnote-item {
  padding: 16px;
  border: 1px solid #e2eaf3;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.school-login-footnote-item strong,
.school-login-footnote-item small {
  display: block;
}

.school-login-footnote-item strong {
  margin-bottom: 6px;
  color: #183553;
}

.school-login-footnote-item small {
  color: #71859a;
  line-height: 1.55;
}

.smart-staff-summary-strip {
  gap: 16px;
}

.smart-staff-summary-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(20, 52, 83, 0.08);
  box-shadow: 0 18px 36px rgba(18, 42, 68, 0.08);
}

.smart-staff-shell {
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.smart-staff-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.smart-staff-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.smart-staff-badge {
  min-width: 0;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(26, 57, 91, 0.08);
  background: linear-gradient(180deg, #f9fbff 0%, #f2f7fd 100%);
  text-align: left;
}

.smart-staff-head h2 {
  margin-bottom: 10px;
}

.smart-staff-head .hero-summary {
  max-width: 720px;
  margin-bottom: 0;
}

.smart-staff-badge span,
.smart-staff-badge strong {
  display: block;
}

.smart-staff-badge span {
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7290ab;
}

.smart-staff-badge strong {
  color: #183553;
  font-size: 0.98rem;
}

.smart-staff-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) auto;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(20, 52, 83, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
}

.smart-staff-searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid #dbe6f0;
  background: #ffffff;
}

.smart-staff-search-icon {
  flex: 0 0 auto;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.smart-staff-search-input {
  border: 0;
  min-height: 54px;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  box-shadow: none;
}

.smart-staff-search-input:focus {
  box-shadow: none;
}

.smart-staff-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.smart-staff-filter {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d4dfea;
  background: #ffffff;
  color: #325476;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.smart-staff-filter:hover,
.smart-staff-filter.is-active {
  border-color: #1d4ed8;
  background: linear-gradient(135deg, #1d4ed8 0%, #0f7bb7 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.16);
}

.smart-staff-toolbar-meta {
  display: grid;
  align-content: center;
  justify-items: end;
  text-align: right;
}

.smart-staff-toolbar-meta span,
.smart-staff-toolbar-meta small {
  color: #708399;
}

.smart-staff-toolbar-meta strong {
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #133250;
}

.smart-staff-governance-note {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 52, 83, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
  color: #5f768e;
  line-height: 1.6;
}

.smart-staff-table-wrap {
  border-radius: 24px;
  border: 1px solid rgba(21, 52, 83, 0.08);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.smart-staff-table {
  min-width: 1080px;
}

.smart-staff-table thead th {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
  color: #6b8197;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.smart-staff-table tbody tr {
  background: #ffffff;
  transition: background 0.18s ease, transform 0.18s ease;
}

.smart-staff-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.smart-staff-table tbody tr:hover {
  background: #f4f9ff;
}

.smart-staff-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.smart-staff-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #164e63;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.smart-staff-profile-copy,
.smart-staff-stack {
  display: grid;
  gap: 4px;
}

.smart-staff-profile-copy strong,
.smart-staff-stack strong {
  color: #163452;
}

.smart-staff-profile-copy span,
.smart-staff-stack span {
  color: #5b728b;
}

.smart-staff-profile-copy small,
.smart-staff-stack small {
  color: #8aa0b4;
  line-height: 1.5;
}

.smart-staff-chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.smart-staff-action-stack {
  display: grid;
  gap: 8px;
}

.smart-staff-action-stack form {
  margin: 0;
}

.smart-staff-protected-btn {
  background: linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
  color: #51677f;
  border-color: #d7e0ea;
}

.smart-staff-protected-note {
  display: block;
  text-align: center;
  color: #8295a8;
  line-height: 1.4;
}

.smart-staff-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.smart-staff-status-chip.is-smart-active {
  background: #e8f7ef;
  color: #1d7f49;
}

.smart-staff-status-chip.is-smart-idle {
  background: #eef2f7;
  color: #5e7389;
}

.staff-user-form-card {
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.06), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.staff-user-card-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.staff-user-card-point {
  padding: 16px 18px;
  border: 1px solid rgba(21, 52, 83, 0.09);
  border-radius: 14px;
  background: linear-gradient(180deg, #fdfefe 0%, #f5f9fe 100%);
  box-shadow: 0 10px 24px rgba(20, 45, 74, 0.05);
}

.staff-user-card-point strong,
.staff-user-card-point small {
  display: block;
}

.staff-user-card-point strong {
  margin-bottom: 6px;
  color: #153450;
  font-size: 0.9rem;
}

.staff-user-card-point small {
  color: #6f849a;
  line-height: 1.6;
}

.staff-user-form-grid {
  gap: 18px;
}

.staff-user-form-card .field-shell label {
  margin-bottom: 7px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #59718a;
}

.staff-user-form-card .field-control {
  min-height: 48px;
  padding: 11px 13px;
  border-radius: 10px;
  border-color: #d6e0ea;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.staff-user-form-card .field-control:focus {
  border-color: #7ea0d8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
  transform: none;
}

.staff-user-form-card textarea.field-control {
  min-height: 112px;
  border-radius: 10px;
}

.staff-user-form-card .school-create-password-row {
  gap: 10px;
}

.staff-user-form-card .school-create-generate-btn {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border-color: #cfd9e4;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  color: #24476f;
  font-size: 0.78rem;
  font-weight: 700;
}

.staff-user-form-card .field-help {
  font-size: 0.78rem;
  color: #74879a;
}

.finance-workspace {
  display: grid;
  gap: 22px;
}

.finance-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.finance-local-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #d5e0ea;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  color: #28506f;
  font-size: 0.82rem;
  font-weight: 700;
}

.finance-local-nav a.is-active {
  border-color: #1b8b7d;
  background: linear-gradient(135deg, #0f766e 0%, #159588 100%);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(15, 118, 110, 0.16);
}

.finance-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 18px;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
}

.finance-hero-actions {
  display: grid;
  gap: 12px;
}

.finance-hero-actions-compact {
  justify-items: stretch;
}

.finance-hero-cta,
.finance-register-cta,
.finance-hero-cta-soft {
  justify-content: center;
  text-align: center;
}

.finance-hero-pill {
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 72, 64, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfefe 0%, #f3fbf8 100%);
}

.finance-hero-pill span,
.finance-hero-pill strong {
  display: block;
}

.finance-hero-pill span {
  margin-bottom: 5px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d8d88;
}

.finance-hero-pill strong {
  color: #173e45;
}

.finance-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.finance-balance-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfb 100%);
}

.finance-balance-card span,
.finance-balance-card strong,
.finance-balance-card small {
  display: block;
}

.finance-balance-card span {
  color: #6f8396;
  font-weight: 700;
}

.finance-balance-card strong {
  margin: 10px 0 8px;
  color: #16384f;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.finance-balance-card small {
  color: #7e92a5;
  line-height: 1.55;
}

.finance-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
}

.finance-form-card,
.finance-summary-card,
.finance-register-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.finance-form-grid {
  gap: 18px;
}

.finance-summary-card .school-section-head,
.finance-form-card .school-section-head,
.finance-register-card .school-section-head {
  margin-bottom: 18px;
}

.finance-register-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.finance-register-copy {
  min-width: 0;
}

.finance-create-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.finance-register-card-main {
  display: grid;
  gap: 18px;
}

.finance-inline-toggle {
  min-width: 150px;
}

.finance-inline-form-shell {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.finance-inline-form-shell.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.finance-inline-form-card {
  padding: 0;
  border: 1px solid rgba(19, 50, 80, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: none;
  overflow: hidden;
}

.finance-inline-form-grid {
  gap: 10px;
  padding: 10px 14px 14px;
}

.finance-inline-form-card .field-control {
  border-radius: 0;
  box-shadow: none;
  min-height: 46px;
  border-color: #d7e1ec;
  background: #ffffff;
}

.finance-inline-form-card .field-control:focus {
  transform: none;
  box-shadow: inset 0 0 0 1px #3569aa;
  border-color: #8ca8da;
}

.finance-inline-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-top: 0;
  border-top: 1px solid rgba(19, 50, 80, 0.08);
  margin-top: 0;
}

.finance-inline-form-simple-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px 14px 8px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(19, 50, 80, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafe 100%);
}

.finance-inline-head-copy h3 {
  margin-bottom: 0;
}

.finance-inline-form-subcopy {
  margin: 0;
  color: #74879a;
  line-height: 1.35;
}

.finance-inline-hide-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  align-self: start;
  box-shadow: none;
  background: #f8fbff;
  color: #24476f;
  border-color: #d6e0ea;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.finance-inline-field {
  padding: 8px 8px 6px;
  border: 1px solid rgba(19, 50, 80, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.finance-inline-field label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f687d;
}

.finance-inline-actions-copy span,
.finance-inline-actions-copy small {
  display: block;
}

.finance-inline-actions-copy span {
  margin-bottom: 2px;
  color: #17344f;
  font-size: 0.8rem;
  font-weight: 800;
}

.finance-inline-actions-copy small {
  color: #7d90a3;
  line-height: 1.3;
  font-size: 0.8rem;
}

.finance-inline-submit-btn {
  min-width: 170px;
  min-height: 40px;
  border-radius: 12px;
  justify-self: end;
  box-shadow: 0 14px 24px rgba(30, 64, 175, 0.16);
}

.finance-register-main-table {
  min-width: 0;
}

.finance-register-main-table .school-table-wrap {
  border: 1px solid rgba(19, 50, 80, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.finance-register-main-table .finance-register-table {
  min-width: 100%;
}

.finance-register-main-table .finance-register-table thead th {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(19, 50, 80, 0.08);
  background: linear-gradient(180deg, #f7fafe 0%, #eff4f9 100%);
  color: #456178;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.finance-register-main-table .finance-register-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(19, 50, 80, 0.06);
  vertical-align: middle;
}

.finance-register-main-table .finance-register-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.finance-register-main-table .finance-register-table tbody tr:hover {
  background: #f4f8fc;
}

.finance-register-main-table .finance-register-table thead th:nth-last-child(2),
.finance-register-main-table .finance-register-table tbody td:nth-last-child(2) {
  text-align: right;
  white-space: nowrap;
}

.finance-register-main-table .finance-register-table thead th:last-child,
.finance-register-main-table .finance-register-table tbody td:last-child {
  text-align: left;
}

.finance-row-actions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  white-space: nowrap;
}

.finance-row-delete-btn {
  color: #9f1f2e;
}

.finance-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 4000;
  min-width: 280px;
  max-width: 380px;
  padding: 15px 18px;
  border: 1px solid #b9d7f2;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef7ff 0%, #dceeff 100%);
  color: #123a63;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 16px 34px rgba(34, 87, 142, 0.16);
  pointer-events: none;
  overflow: hidden;
}

.finance-toast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #4c97d9;
}

.finance-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.finance-toast.is-success {
  background: linear-gradient(180deg, #eef7ff 0%, #dceeff 100%);
  border-color: #b9d7f2;
  color: #123a63;
}

.finance-toast.is-error {
  background: linear-gradient(180deg, #fff4f2 0%, #ffe7e2 100%);
  border-color: #efc1b7;
  color: #8a2317;
}

.finance-toast.is-info {
  background: linear-gradient(180deg, #eef7ff 0%, #dceeff 100%);
  border-color: #b9d7f2;
  color: #123a63;
}

.finance-toast.is-error::before {
  background: #d55a45;
}

.finance-toast-title {
  margin-bottom: 4px;
  padding-left: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finance-toast-message {
  padding-left: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 1;
}

.finance-create-aside {
  align-self: start;
}

.finance-create-note-list {
  display: grid;
  gap: 14px;
}

.finance-create-note {
  padding: 16px 17px;
  border: 1px solid rgba(19, 50, 80, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fdfefe 0%, #f5f9fd 100%);
}

.finance-create-note strong {
  display: block;
  margin-bottom: 7px;
  color: #163a52;
}

.finance-create-note p {
  margin: 0;
  color: #6d8396;
  line-height: 1.6;
}

.finance-expense-heads {
  display: grid;
  gap: 12px;
}

.finance-expense-head-card {
  padding: 15px 16px;
  border: 1px solid rgba(19, 50, 80, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #fdfefe 0%, #f4f8fd 100%);
}

.finance-expense-head-card strong,
.finance-expense-head-card span,
.finance-expense-head-card div,
.finance-expense-head-card small {
  display: block;
}

.finance-expense-head-card strong {
  color: #163a52;
}

.finance-expense-head-card span,
.finance-expense-head-card small {
  color: #7a8da0;
}

.finance-expense-head-card div {
  margin: 8px 0 6px;
  color: #133250;
  font-size: 1.15rem;
  font-weight: 800;
}

.finance-register-table {
  min-width: 980px;
}

.finance-register-subcopy {
  display: block;
  margin-top: 4px;
  color: #8094a7;
  line-height: 1.45;
}

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

.finance-setup-table-wrap {
  margin-top: 16px;
}

.finance-setup-shell {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.05), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

#financeHeadsWorkspace {
  position: relative;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#financeHeadsWorkspace.is-loading {
  opacity: 0.68;
  pointer-events: none;
  transform: translateY(2px);
}

.finance-setup-status {
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(240, 253, 250, 0.98) 100%);
  color: #0f5f55;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.08);
}

.finance-setup-status.is-error {
  border-color: rgba(185, 28, 28, 0.14);
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.98) 0%, rgba(255, 247, 237, 0.98) 100%);
  color: #a11d2d;
  box-shadow: 0 12px 24px rgba(185, 28, 28, 0.08);
}

.finance-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.finance-hero-stat {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(21, 52, 83, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #456178;
  font-size: 0.84rem;
  font-weight: 700;
}

.finance-setup-tabbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.finance-setup-tab {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(21, 52, 83, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  text-align: left;
  color: #274d6c;
  box-shadow: 0 12px 22px rgba(18, 49, 76, 0.04);
  transition: all 0.18s ease;
}

.finance-setup-tab span,
.finance-setup-tab strong,
.finance-setup-tab small {
  display: block;
}

.finance-setup-tab span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d8498;
}

.finance-setup-tab strong {
  font-size: 1.2rem;
  color: #163751;
}

.finance-setup-tab small {
  color: #7a8ea2;
  line-height: 1.5;
}

.finance-setup-tab.is-active {
  border-color: rgba(15, 118, 110, 0.24);
  background: linear-gradient(135deg, #f2fbf9 0%, #eaf8f5 100%);
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.08);
}

.finance-setup-tab:hover {
  border-color: rgba(21, 52, 83, 0.14);
  transform: translateY(-1px);
}

.finance-tab-panel {
  display: none;
}

.finance-tab-panel.is-active {
  display: block;
}

.finance-setup-panel-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.finance-setup-pane {
  padding: 22px;
  border: 1px solid rgba(21, 52, 83, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 18px 30px rgba(18, 49, 76, 0.05);
}

.finance-setup-form-pane {
  position: sticky;
  top: 18px;
  align-self: start;
}

.finance-setup-list {
  display: grid;
  gap: 14px;
}

.finance-setup-item-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(21, 52, 83, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}

.finance-setup-empty-card {
  padding: 24px;
  border: 1px dashed rgba(21, 52, 83, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 251, 254, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.finance-setup-empty-card strong {
  display: block;
  margin-bottom: 8px;
  color: #183d57;
}

.finance-setup-empty-card p {
  margin: 0;
  color: #73879a;
  line-height: 1.65;
}

.finance-setup-item-copy {
  display: grid;
  gap: 6px;
}

.finance-setup-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.finance-setup-item-copy strong {
  color: #173a53;
}

.finance-setup-item-copy small {
  color: #7b8fa3;
  line-height: 1.5;
}

.finance-setup-actions {
  min-width: 104px;
}

.js-finance-submit-btn {
  position: relative;
}

.js-finance-submit-btn.is-loading {
  padding-right: 42px;
}

.js-finance-submit-btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: finance-button-spin 0.75s linear infinite;
}

@keyframes finance-button-spin {
  to {
    transform: rotate(360deg);
  }
}

.super-finance-shell,
.super-finance-layout .surface-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.super-finance-school-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}

.super-finance-school-filter .field-shell {
  min-width: min(100%, 360px);
}

.super-finance-balance-grid {
  margin-top: 18px;
  margin-bottom: 18px;
}

.super-finance-layout {
  align-items: start;
}

@media (max-width: 1120px) {
  .school-login-shell-smart {
    grid-template-columns: 1fr;
  }

  .smart-staff-toolbar {
    grid-template-columns: 1fr;
  }

  .smart-staff-toolbar-meta {
    justify-items: start;
    text-align: left;
  }

  .staff-user-card-points {
    grid-template-columns: 1fr;
  }

  .finance-balance-grid,
  .finance-main-grid,
  .finance-create-grid,
  .finance-hero-card,
  .finance-setup-grid,
  .finance-setup-panel-grid {
    grid-template-columns: 1fr;
  }

  .finance-register-toolbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .finance-setup-form-pane {
    position: static;
  }
}

@media (max-width: 760px) {
  .school-login-showcase-smart,
  .school-login-form-smart {
    padding: 24px;
  }

  .school-login-actions-smart,
  .school-login-footnote {
    grid-template-columns: 1fr;
  }

  .smart-staff-head {
    grid-template-columns: 1fr;
  }

  .smart-staff-head-actions {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
  }

  .smart-staff-badge {
    min-width: 0;
  }

  .smart-staff-searchbox {
    padding: 0 14px;
  }

  .finance-hero-pill {
    min-width: 0;
  }

  .finance-hero-cta,
  .finance-register-cta,
  .finance-hero-cta-soft {
    width: 100%;
  }

  .finance-hero-meta {
    gap: 8px;
  }

  .finance-setup-tabbar,
  .finance-setup-item-card {
    grid-template-columns: 1fr;
  }
}

.public-site-shell {
  display: flex;
  flex-direction: column;
}

.public-site-header {
  padding: 20px 20px 0;
}

.public-site-bar {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 34px rgba(15, 30, 52, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.public-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.public-site-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  box-shadow: 0 0 0 8px rgba(29, 78, 216, 0.08);
}

.public-site-brand span {
  display: grid;
}

.public-site-brand strong {
  font-size: 1rem;
  color: #132033;
}

.public-site-brand small {
  color: var(--muted);
}

.public-site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.public-site-nav a {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: #24415f;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.public-site-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 30, 52, 0.08);
  border-color: rgba(29, 78, 216, 0.22);
}

.public-site-main {
  flex: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.public-site-footer {
  padding: 0 20px 24px;
}

.public-site-footer-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(19, 32, 51, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.public-home-body {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.1), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(29, 78, 216, 0.12), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #eef4f9 100%);
}

.nn-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: stretch;
}

.nn-home-hero-copy,
.nn-home-panel-card,
.nn-home-feature-card {
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 46px rgba(15, 30, 52, 0.08);
}

.nn-home-hero-copy {
  padding: 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.94) 100%);
}

.nn-home-kicker {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nn-home-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 760px;
}

.nn-home-summary {
  margin: 18px 0 0;
  max-width: 760px;
  color: #5f7388;
  font-size: 1.02rem;
  line-height: 1.85;
}

.nn-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nn-home-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nn-home-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
  box-shadow: 0 18px 30px rgba(29, 78, 216, 0.22);
}

.nn-home-btn-secondary {
  color: #17344f;
  border: 1px solid rgba(19, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.nn-home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.nn-home-metric {
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(245, 249, 255, 0.88);
  border: 1px solid rgba(19, 32, 51, 0.06);
}

.nn-home-metric span,
.nn-home-metric strong {
  display: block;
}

.nn-home-metric span {
  color: #6d8197;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nn-home-metric strong {
  margin-top: 10px;
  color: #17324b;
  line-height: 1.45;
}

.nn-home-hero-panel {
  display: grid;
  gap: 18px;
}

.nn-home-panel-card {
  padding: 28px;
  border-radius: 28px;
}

.nn-home-panel-school {
  background: linear-gradient(180deg, #eff5ff 0%, #ffffff 100%);
}

.nn-home-panel-admin {
  background: linear-gradient(180deg, #eefaf7 0%, #ffffff 100%);
}

.nn-home-panel-tag {
  display: inline-flex;
  min-height: 28px;
  padding: 0 11px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #44627f;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 32, 51, 0.08);
}

.nn-home-panel-card h2 {
  margin: 16px 0 10px;
  font-size: 1.55rem;
}

.nn-home-panel-card p {
  margin: 0;
  color: #66798e;
  line-height: 1.75;
}

.nn-home-panel-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.nn-home-panel-list li {
  padding-left: 20px;
  position: relative;
  color: #20374f;
  line-height: 1.6;
}

.nn-home-panel-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
}

.nn-home-inline-link {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 800;
  color: #173f6f;
}

.nn-home-feature-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nn-home-feature-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 254, 0.96) 100%);
}

.nn-home-feature-card span,
.nn-home-feature-card strong {
  display: block;
}

.nn-home-feature-card span {
  color: #6d8197;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nn-home-feature-card strong {
  margin: 14px 0 10px;
  font-size: 1.15rem;
  color: #17324b;
}

.nn-home-feature-card p {
  margin: 0;
  color: #66798e;
  line-height: 1.75;
}

@media (max-width: 1120px) {
  .nn-home-hero,
  .nn-home-feature-strip,
  .nn-home-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .public-site-header,
  .public-site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .public-site-main {
    width: min(100%, calc(100% - 28px));
    padding-top: 20px;
  }

  .public-site-bar,
  .public-site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-site-nav {
    width: 100%;
  }

  .public-site-nav a,
  .nn-home-btn {
    width: 100%;
  }

  .nn-home-hero-copy,
  .nn-home-panel-card,
  .nn-home-feature-card {
    padding: 24px;
  }
}
:root {
  --nn-ink: #102132;
  --nn-muted: #6c7f94;
  --nn-line: rgba(16, 33, 50, 0.09);
  --nn-surface: rgba(255, 255, 255, 0.88);
  --nn-surface-strong: #ffffff;
  --nn-blue: #1d4ed8;
  --nn-blue-soft: #e9f0ff;
  --nn-teal: #0f766e;
  --nn-teal-soft: #eaf8f5;
  --nn-amber: #c68b2c;
  --nn-slate: #31557a;
  --nn-shadow: 0 22px 46px rgba(15, 30, 52, 0.08);
  --nn-shadow-lg: 0 28px 70px rgba(15, 30, 52, 0.12);
}

.public-site-shell {
  display: flex;
  flex-direction: column;
}

.public-home-body {
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.1), transparent 22%),
    radial-gradient(circle at 100% 10%, rgba(29, 78, 216, 0.13), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%);
  color: var(--nn-ink);
}

.public-site-header {
  padding: 20px 20px 0;
}

.public-site-bar {
  width: min(1260px, 100%);
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 24px;
  border: 1px solid var(--nn-line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--nn-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.public-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.public-site-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--nn-teal), var(--nn-blue));
  box-shadow: 0 0 0 9px rgba(29, 78, 216, 0.08);
}

.public-site-brand span {
  display: grid;
}

.public-site-brand strong {
  color: var(--nn-ink);
  font-size: 1rem;
}

.public-site-brand small {
  color: var(--nn-muted);
}

.public-site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.public-site-nav a {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #25415e;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.public-site-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.public-site-nav-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--nn-blue), #356ef0);
  box-shadow: 0 14px 26px rgba(29, 78, 216, 0.18);
}

.public-site-nav-soft {
  border-color: rgba(16, 33, 50, 0.08) !important;
  background: rgba(255, 255, 255, 0.76);
}

.public-site-main {
  flex: 1;
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.public-site-footer {
  padding: 0 20px 24px;
}

.public-site-footer-inner {
  width: min(1260px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--nn-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.public-site-footer-inner strong,
.public-site-footer-inner small,
.public-site-footer-links a {
  display: block;
}

.public-site-footer-inner small {
  color: var(--nn-muted);
}

.public-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.public-site-footer-links a {
  color: var(--nn-muted);
  font-weight: 600;
}

.nn-home-kicker {
  margin: 0;
  color: var(--nn-teal);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nn-home-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.nn-home-live-pill,
.nn-home-domain-pill,
.nn-home-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--nn-line);
  background: rgba(255, 255, 255, 0.84);
  color: #4c627a;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nn-home-hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.nn-home-hero-copy-v2 {
  padding: 38px;
  border-radius: 34px;
  border: 1px solid var(--nn-line);
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,251,255,0.95) 100%);
  box-shadow: var(--nn-shadow-lg);
}

.nn-home-hero-copy-v2 h1 {
  margin: 14px 0 0;
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
  max-width: 760px;
}

.nn-home-summary {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--nn-muted);
  font-size: 1.03rem;
  line-height: 1.86;
}

.nn-home-actions-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nn-home-actions-v2.compact {
  margin-top: 0;
}

.nn-home-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.nn-home-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--nn-blue), #356ef0);
  box-shadow: 0 18px 30px rgba(29, 78, 216, 0.22);
}

.nn-home-btn-secondary {
  color: var(--nn-ink);
  border: 1px solid var(--nn-line);
  background: rgba(255, 255, 255, 0.92);
}

.nn-home-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.nn-home-trust-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(16, 33, 50, 0.06);
  background: rgba(245, 249, 255, 0.86);
}

.nn-home-trust-card span,
.nn-home-trust-card strong {
  display: block;
}

.nn-home-trust-card span {
  color: #6e8399;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nn-home-trust-card strong {
  margin-top: 10px;
  color: #17324b;
  line-height: 1.45;
}

.nn-home-hero-visual {
  display: grid;
  gap: 18px;
}

.nn-home-dashboard-card {
  border-radius: 28px;
  border: 1px solid var(--nn-line);
  box-shadow: var(--nn-shadow);
}

.nn-home-dashboard-main {
  padding: 28px;
  background:
    linear-gradient(135deg, #123455 0%, #1f4c7d 58%, #2f6b98 100%);
  color: #f4f8fd;
}

.nn-home-dashboard-main h2 {
  margin: 16px 0 0;
  font-size: 1.65rem;
  line-height: 1.18;
}

.nn-home-mini-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nn-home-mini-stats article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nn-home-mini-stats span,
.nn-home-mini-stats strong {
  display: block;
}

.nn-home-mini-stats span {
  color: rgba(244, 248, 253, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.nn-home-mini-stats strong {
  margin-top: 8px;
  font-size: 1.08rem;
}

.nn-home-floating-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nn-home-dashboard-compact {
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.nn-home-dashboard-compact span,
.nn-home-dashboard-compact strong {
  display: block;
}

.nn-home-dashboard-compact span {
  color: #6c7f94;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nn-home-dashboard-compact strong {
  margin-top: 12px;
  color: #18334c;
  line-height: 1.5;
}

.nn-home-dashboard-compact.is-blue {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.nn-home-dashboard-compact.is-teal {
  background: linear-gradient(180deg, #ecfbf7 0%, #ffffff 100%);
}

.nn-home-dashboard-compact.is-amber {
  background: linear-gradient(180deg, #fff8eb 0%, #ffffff 100%);
}

.nn-home-dashboard-compact.is-slate {
  background: linear-gradient(180deg, #f1f6fb 0%, #ffffff 100%);
}

.nn-home-stats-band {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nn-home-stat-pill {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--nn-line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--nn-shadow);
}

.nn-home-stat-pill strong,
.nn-home-stat-pill span {
  display: block;
}

.nn-home-stat-pill strong {
  color: var(--nn-blue);
  font-size: 1.1rem;
}

.nn-home-stat-pill span {
  margin-top: 8px;
  color: #52677f;
  line-height: 1.6;
}

.nn-home-section {
  margin-top: 30px;
}

.nn-home-section-head {
  max-width: 780px;
  margin-bottom: 18px;
}

.nn-home-section-head.narrow {
  max-width: 720px;
}

.nn-home-section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.nn-home-section-head p:last-child {
  margin-top: 14px;
  color: var(--nn-muted);
  line-height: 1.8;
}

.nn-home-feature-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nn-home-feature-card-v2,
.nn-home-journey-card,
.nn-home-why-grid article,
.nn-home-cta-ribbon {
  border: 1px solid var(--nn-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--nn-shadow);
}

.nn-home-feature-card-v2 {
  padding: 24px;
  border-radius: 24px;
}

.nn-home-feature-card-v2 span,
.nn-home-feature-card-v2 strong {
  display: block;
}

.nn-home-feature-card-v2 span {
  color: var(--nn-blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nn-home-feature-card-v2 strong {
  margin: 14px 0 10px;
  color: #17324b;
  font-size: 1.14rem;
}

.nn-home-feature-card-v2 p {
  margin: 0;
  color: var(--nn-muted);
  line-height: 1.75;
}

.nn-home-journey-section {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.nn-home-journey-card {
  padding: 28px;
  border-radius: 28px;
}

.nn-home-journey-card.is-school {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.nn-home-journey-card.is-admin {
  background: linear-gradient(180deg, #eefaf7 0%, #ffffff 100%);
}

.nn-home-journey-card h3 {
  margin: 12px 0 0;
  font-size: 1.5rem;
}

.nn-home-journey-card p {
  margin: 12px 0 0;
  color: var(--nn-muted);
  line-height: 1.8;
}

.nn-home-journey-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.nn-home-journey-card li {
  position: relative;
  padding-left: 20px;
  color: #1f3650;
  line-height: 1.6;
}

.nn-home-journey-card li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nn-blue), var(--nn-teal));
}

.nn-home-inline-link {
  display: inline-flex;
  margin-top: 20px;
  color: #173f6f;
  font-weight: 800;
}

.nn-home-why-section {
  padding-bottom: 4px;
}

.nn-home-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nn-home-why-grid article {
  padding: 24px;
  border-radius: 24px;
}

.nn-home-why-grid strong {
  display: block;
  color: #17324b;
  font-size: 1.08rem;
}

.nn-home-why-grid p {
  margin: 12px 0 0;
  color: var(--nn-muted);
  line-height: 1.75;
}

.nn-home-cta-ribbon {
  margin-top: 30px;
  padding: 28px 30px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.nn-home-cta-ribbon h2 {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.1;
}

@media (max-width: 1120px) {
  .nn-home-hero-v2,
  .nn-home-stats-band,
  .nn-home-feature-grid-v2,
  .nn-home-journey-section,
  .nn-home-why-grid,
  .nn-home-trust-row {
    grid-template-columns: 1fr;
  }

  .nn-home-floating-grid,
  .nn-home-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nn-home-cta-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .public-site-header,
  .public-site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .public-site-main {
    width: min(100%, calc(100% - 28px));
    padding-top: 20px;
  }

  .public-site-bar,
  .public-site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-site-nav {
    width: 100%;
  }

  .public-site-nav a,
  .nn-home-btn {
    width: 100%;
  }

  .nn-home-hero-copy-v2,
  .nn-home-dashboard-main,
  .nn-home-dashboard-compact,
  .nn-home-feature-card-v2,
  .nn-home-journey-card,
  .nn-home-why-grid article,
  .nn-home-cta-ribbon {
    padding: 22px;
  }

  .nn-home-floating-grid,
  .nn-home-mini-stats {
    grid-template-columns: 1fr;
  }
}
.school-login-shell-journey {
  grid-template-columns: minmax(320px, 1.08fr) minmax(360px, 0.92fr);
  background:
    radial-gradient(circle at top left, rgba(14, 116, 144, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(29, 78, 216, 0.12), transparent 26%),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
}

.school-login-showcase-journey {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(160deg, #f7fbff 0%, #e7f1ff 100%);
}

.school-login-showcase-journey::after {
  background:
    radial-gradient(circle at center, rgba(29, 78, 216, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
}

.school-login-brandbar-journey {
  margin-bottom: 32px;
}

.school-login-journey-points {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.school-login-journey-card {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(17, 54, 92, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(15, 42, 74, 0.08);
}

.school-login-journey-card span,
.school-login-journey-card strong,
.school-login-journey-card small {
  display: block;
}

.school-login-journey-card span {
  margin-bottom: 6px;
  color: #0f6b84;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-login-journey-card strong {
  color: #102c48;
  font-size: 1rem;
}

.school-login-journey-card small {
  margin-top: 8px;
  color: #647b93;
  line-height: 1.6;
}

.school-login-support-panel {
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(16, 46, 76, 0.96), rgba(18, 90, 132, 0.94));
  color: #f5fbff;
  box-shadow: 0 22px 44px rgba(15, 38, 61, 0.18);
}

.school-login-support-panel strong,
.school-login-support-panel p,
.school-login-support-link {
  display: block;
}

.school-login-support-panel p {
  margin: 10px 0 0;
  color: rgba(245, 251, 255, 0.8);
  line-height: 1.65;
}

.school-login-support-link {
  margin-top: 18px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.school-login-form-journey {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  gap: 22px;
}

.school-login-head-journey p {
  max-width: 38ch;
}

.school-login-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.school-login-progress-step {
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid #d9e6f2;
  background: #f6f9fd;
  color: #70849a;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.school-login-progress-step.is-active {
  border-color: rgba(29, 78, 216, 0.24);
  background: rgba(29, 78, 216, 0.1);
  color: #1848c2;
}

.school-login-progress-step.is-complete {
  border-color: rgba(15, 118, 110, 0.2);
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.school-login-form-grid-journey {
  gap: 18px;
}

.school-login-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.school-login-email-input.is-locked {
  background: linear-gradient(180deg, #f4f8fd 0%, #eef4fb 100%);
  color: #16304c;
  font-weight: 700;
}

.school-login-change {
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  font-weight: 700;
}

.school-login-field-hint {
  display: block;
  margin-top: 8px;
  color: #7b8da0;
  font-size: 0.86rem;
}

.school-login-step-actions {
  display: flex;
  justify-content: flex-start;
}

.school-login-continue {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid #d3deeb;
  background: #ffffff;
  color: #163658;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(17, 43, 69, 0.07);
}

.school-login-continue:hover {
  border-color: #b8cae0;
  background: #f7fbff;
}

.school-login-continue:disabled {
  opacity: 0.72;
  cursor: wait;
}

.school-login-step-password {
  display: grid;
  gap: 18px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid #e7eef6;
}

.school-login-step-password.is-hidden,
.school-login-inline-error.is-hidden,
.school-login-change.is-hidden,
.school-login-continue.is-hidden,
.school-login-identity-logo.is-hidden,
.school-login-identity-initials.is-hidden {
  display: none !important;
}

.school-login-identity-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.12), transparent 26%),
    linear-gradient(145deg, #f8fbff 0%, #edf4ff 100%);
  border: 1px solid rgba(28, 66, 110, 0.08);
}

.school-login-identity-avatar {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1d4ed8 0%, #0f7bb7 100%);
  box-shadow: 0 20px 36px rgba(29, 78, 216, 0.22);
}

.school-login-identity-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.school-login-identity-initials {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.school-login-identity-copy span,
.school-login-identity-copy strong,
.school-login-identity-copy small {
  display: block;
}

.school-login-identity-copy span {
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-login-identity-copy strong {
  margin-top: 4px;
  color: #10243d;
  font-size: 1.1rem;
}

.school-login-identity-copy small {
  margin-top: 8px;
  color: #6b8097;
  line-height: 1.5;
}

.school-login-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 8px;
  border-radius: 50%;
  background: #8ea5bc;
  vertical-align: middle;
}

.school-login-inline-error {
  margin-top: -4px;
}

.school-login-actions-journey {
  margin-top: 4px;
}

.school-login-footnote-journey {
  padding-top: 0;
}

@media (max-width: 991px) {
  .school-login-shell-journey {
    grid-template-columns: 1fr;
  }

  .school-login-progress {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .school-login-email-row,
  .school-login-actions-journey,
  .school-login-footnote-journey {
    grid-template-columns: 1fr;
  }

  .school-login-step-actions {
    display: grid;
  }

  .school-login-continue,
  .school-login-change {
    width: 100%;
  }

  .school-login-identity-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .school-login-dot {
    display: none;
  }

  .school-login-identity-copy small span {
    display: block;
    margin: 2px 0;
  }
}
.simple-school-login-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 26%),
    linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
}

.simple-school-login-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.simple-school-login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.72;
}

.simple-school-login-orb.orb-one {
  top: 8%;
  left: -6%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.34) 0%, rgba(14, 165, 233, 0) 72%);
  animation: simpleSchoolLoginFloat 12s ease-in-out infinite;
}

.simple-school-login-orb.orb-two {
  right: -4%;
  bottom: 10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0) 72%);
  animation: simpleSchoolLoginFloat 15s ease-in-out infinite reverse;
}

.simple-school-login-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 86%);
}

.simple-school-login-happy-avatar {
  position: absolute;
  top: 15%;
  right: 11%;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  opacity: 0.92;
  animation: simpleSchoolLoginHappyIn 0.45s ease, simpleSchoolLoginHappyFloat 7s ease-in-out infinite;
}

.simple-school-login-happy-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.simple-school-login-happy-ring.ring-one {
  inset: 8px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0.04) 50%, rgba(96, 165, 250, 0) 72%);
}

.simple-school-login-happy-ring.ring-two {
  inset: 28px;
  border-style: dashed;
  border-color: rgba(14, 165, 233, 0.18);
  animation: simpleSchoolLoginHappySpin 16s linear infinite;
}

.simple-school-login-happy-face {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(219, 234, 254, 0.92));
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.14);
}

.simple-school-login-happy-eyes::before,
.simple-school-login-happy-eyes::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.simple-school-login-happy-eyes::before {
  left: 24px;
}

.simple-school-login-happy-eyes::after {
  right: 24px;
}

.simple-school-login-happy-smile {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 36px;
  height: 18px;
  border: 4px solid #0ea5e9;
  border-top: 0;
  border-radius: 0 0 22px 22px;
  transform: translateX(-50%);
}

.simple-school-login-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.simple-school-login-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(20px);
  animation: simpleSchoolLoginCardIn 0.8s ease;
}

.simple-school-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.58), transparent 46%, rgba(59, 130, 246, 0.06) 100%);
}

.simple-school-login-card.is-verified {
  box-shadow: 0 34px 90px rgba(37, 99, 235, 0.16);
}

.simple-school-login-verified-bar,
.simple-school-login-site-brand,
.simple-school-login-badge-row,
.simple-school-login-card h1,
.simple-school-login-copy,
.simple-school-login-form {
  position: relative;
  z-index: 1;
}

.simple-school-login-site-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.simple-school-login-site-logo {
  display: block;
  width: auto;
  max-width: min(190px, 60%);
  max-height: 64px;
  object-fit: contain;
}

.simple-school-login-verified-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.86));
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.1);
  animation: simpleSchoolLoginBrandIn 0.45s ease;
}

.simple-school-login-verified-avatar {
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.96));
  border: 1px solid rgba(96, 165, 250, 0.22);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.16);
}

.simple-school-login-verified-copy span,
.simple-school-login-verified-copy strong,
.simple-school-login-verified-copy small {
  display: block;
}

.simple-school-login-verified-copy span {
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simple-school-login-verified-copy strong {
  margin-top: 4px;
  color: #10243d;
  font-size: 1.08rem;
  line-height: 1.35;
}

.simple-school-login-verified-copy small {
  margin-top: 4px;
  color: #6b8097;
  line-height: 1.5;
}

.simple-school-login-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.simple-school-login-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simple-school-login-trust {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: #5f7690;
  font-size: 0.74rem;
  font-weight: 700;
}

.simple-school-login-welcome {
  margin-top: 18px;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.simple-school-login-card h1,
.simple-school-login-card h3[data-form-title] {
  margin: 8px 0 10px;
  color: #10243d;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: font-size 0.24s ease, letter-spacing 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}

.simple-school-login-card.is-verified h1,
.simple-school-login-card.is-verified h3[data-form-title] {
  font-size: clamp(0.96rem, 1.7vw, 1.18rem);
  line-height: 1.28;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: normal;
  animation: simpleSchoolLoginVerifiedTitleIn 0.45s ease;
}

.simple-school-login-card.is-verified .simple-school-login-site-brand,
.simple-school-login-card.is-verified .simple-school-login-badge-row,
.simple-school-login-card.is-verified .simple-school-login-welcome {
  display: none;
}

.simple-school-login-copy {
  margin: 0 0 24px;
  color: #637a92;
  line-height: 1.75;
  max-width: 44ch;
}

.simple-school-login-form {
  gap: 18px;
}

.simple-school-login-field label {
  display: inline-block;
  margin-bottom: 8px;
  color: #18324d;
  font-weight: 700;
}

.simple-school-login-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.simple-school-login-input {
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid #d6e2ef;
  background: rgba(248, 251, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.simple-school-login-input:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}

.simple-school-login-input.is-locked {
  background: linear-gradient(180deg, #f4f8fd 0%, #edf4fb 100%);
  color: #18324d;
  font-weight: 700;
}

.simple-school-login-error {
  margin: 0;
}

.simple-school-login-password {
  display: grid;
  gap: 18px;
  animation: simpleSchoolLoginReveal 0.35s ease;
}

.simple-school-login-account {
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.84));
  border: 1px solid rgba(96, 165, 250, 0.26);
  box-shadow: 0 24px 44px rgba(37, 99, 235, 0.12);
  animation: simpleSchoolLoginReveal 0.4s ease, simpleSchoolLoginAccountFloat 6.4s ease-in-out infinite;
}

.simple-school-login-account::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 72%);
  animation: simpleSchoolLoginHaloDrift 10s ease-in-out infinite;
}

.simple-school-login-account::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.simple-school-login-account-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.simple-school-login-avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 20px 36px rgba(37, 99, 235, 0.22);
}

.simple-school-login-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.simple-school-login-initials {
  color: #1d4ed8;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.simple-school-login-account-copy small,
.simple-school-login-account-copy strong,
.simple-school-login-account-copy span {
  display: block;
}

.simple-school-login-account-label {
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simple-school-login-account-copy strong {
  margin-top: 4px;
  color: #10243d;
  font-size: 1.12rem;
}

.simple-school-login-account-copy span {
  margin-top: 6px;
  color: #2556d9;
  font-size: 0.95rem;
  font-weight: 700;
}

.simple-school-login-account-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.simple-school-login-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1848c2;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.simple-school-login-meta-pill.is-soft {
  background: rgba(255, 255, 255, 0.72);
  color: #5d738d;
}

.simple-school-login-checkrow {
  margin-top: -4px;
}

.simple-school-login-actions {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.simple-school-login-continue,
.simple-school-login-submit,
.simple-school-login-back,
.simple-school-login-change {
  position: relative;
  min-height: 56px;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.simple-school-login-continue,
.simple-school-login-submit,
.simple-school-login-back {
  width: 100%;
  justify-content: center;
}

.simple-school-login-continue,
.simple-school-login-submit {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 48%, #0ea5e9 100%);
  background-size: 200% 200%;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
  animation: simpleSchoolLoginButtonPulse 3.2s ease-in-out infinite;
}

.simple-school-login-continue::before,
.simple-school-login-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.3) 48%, transparent 76%);
  transform: translateX(-140%);
}

.simple-school-login-continue:hover,
.simple-school-login-submit:hover,
.simple-school-login-continue:focus-visible,
.simple-school-login-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.3);
  background-position: 100% 50%;
}

.simple-school-login-continue:hover::before,
.simple-school-login-submit:hover::before,
.simple-school-login-continue:focus-visible::before,
.simple-school-login-submit:focus-visible::before,
.simple-school-login-continue.is-loading::before,
.simple-school-login-submit.is-loading::before {
  animation: simpleSchoolLoginButtonShine 1.15s ease;
}

.simple-school-login-continue:active,
.simple-school-login-submit:active,
.simple-school-login-back:active,
.simple-school-login-change:active {
  transform: translateY(0);
}

.simple-school-login-continue:disabled,
.simple-school-login-submit:disabled,
.simple-school-login-continue.is-loading,
.simple-school-login-submit.is-loading {
  opacity: 1;
  cursor: wait;
  transform: none;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

.simple-school-login-continue.is-loading,
.simple-school-login-submit.is-loading {
  background-position: 100% 50%;
}

.simple-school-login-back {
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #18324d;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}

.simple-school-login-back:hover,
.simple-school-login-back:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.38);
  background: #f8fbff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.simple-school-login-change {
  min-width: 108px;
  padding: 0 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #1d4ed8;
}

.simple-school-login-change:hover,
.simple-school-login-change:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.34);
  background: #f8fbff;
}

.simple-school-login-password.is-hidden,
.simple-school-login-error.is-hidden,
.simple-school-login-continue.is-hidden,
.simple-school-login-submit.is-hidden,
.simple-school-login-change.is-hidden,
.simple-school-login-logo.is-hidden,
.simple-school-login-initials.is-hidden,
.simple-school-login-verified-bar.is-hidden {
  display: none !important;
}

@keyframes simpleSchoolLoginFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -20px, 0) scale(1.06);
  }
}

@keyframes simpleSchoolLoginHappyIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }

  to {
    opacity: 0.92;
    transform: translateY(0) scale(1);
  }
}

@keyframes simpleSchoolLoginHappyFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-10px, -12px, 0);
  }
}

@keyframes simpleSchoolLoginHappySpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes simpleSchoolLoginCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes simpleSchoolLoginBrandIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes simpleSchoolLoginVerifiedTitleIn {
  from {
    opacity: 0;
    transform: translateY(8px);
    letter-spacing: 0.06em;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.12em;
  }
}

@keyframes simpleSchoolLoginReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes simpleSchoolLoginAccountFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes simpleSchoolLoginHaloDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-12px, 14px, 0) scale(1.08);
  }
}

@keyframes simpleSchoolLoginButtonPulse {
  0%,
  100% {
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
  }

  50% {
    box-shadow: 0 22px 42px rgba(14, 165, 233, 0.28);
  }
}

@keyframes simpleSchoolLoginButtonShine {
  from {
    transform: translateX(-140%);
  }

  to {
    transform: translateX(140%);
  }
}

@media (max-width: 640px) {
  .simple-school-login-card {
    width: min(100%, 100%);
    padding: 24px;
    border-radius: 24px;
  }

  .simple-school-login-badge-row,
  .simple-school-login-email-row,
  .simple-school-login-account-main {
    grid-template-columns: 1fr;
    display: grid;
  }

  .simple-school-login-badge-row {
    gap: 10px;
    justify-items: start;
  }

  .simple-school-login-card h1,
.simple-school-login-card h3[data-form-title] {
    white-space: normal;
  }

  .simple-school-login-happy-avatar {
    top: auto;
    right: 8%;
    bottom: 8%;
    width: 116px;
    height: 116px;
    opacity: 0.48;
  }

  .simple-school-login-happy-face {
    width: 74px;
    height: 74px;
  }

  .simple-school-login-happy-eyes::before,
  .simple-school-login-happy-eyes::after {
    top: 25px;
    width: 8px;
    height: 8px;
  }

  .simple-school-login-happy-smile {
    bottom: 18px;
    width: 28px;
    height: 14px;
  }

  .simple-school-login-change {
    width: 100%;
  }

  .simple-school-login-verified-bar,
  .simple-school-login-account {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .simple-school-login-account-main {
    justify-items: center;
    text-align: center;
  }

  .simple-school-login-account-meta {
    justify-content: center;
  }
}

