:root {
  --white: #ffffff;
  --ink: #1f2937;
  --muted: #617084;
  --blue: #214f7b;
  --blue-deep: #062b5f;
  --blue-darker: #031d42;
  --blue-light: #e7f1fa;
  --gold: #d5a529;
  --gold-dark: #b98713;
  --surface: #f6f8fb;
  --line: #dce6f1;
  --shadow: 0 22px 60px rgba(6,43,95,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.shell { width: min(1500px, calc(100% - 96px)); margin: 0 auto; }
.topbar {
  color: white;
  background: linear-gradient(90deg, var(--blue-darker), var(--blue-deep));
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.social-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--blue-deep);
  background: white;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.header {
  position: relative;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 92px;
  padding: 12px max(48px, calc((100vw - 1500px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand img { width: 132px; }
.brand-horizontal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.header .brand-horizontal img {
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}
.brand-horizontal span,
.brand-horizontal strong,
.brand-horizontal small {
  display: block;
}
.brand-horizontal strong {
  color: var(--blue-deep);
  font-size: 31px;
  line-height: .95;
}
.brand-horizontal small {
  margin-top: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 800;
}
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-contact { color: var(--blue-deep); line-height: 1.2; }
.header-contact span { display: block; color: var(--muted); font-size: 13px; }
.header-contact strong { font-size: 18px; }

.btn, button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  color: white;
  background: var(--blue);
  font-weight: 900;
  text-transform: none;
  cursor: pointer;
}
.gold-btn {
  color: white;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  box-shadow: 0 10px 24px rgba(213,165,41,.22);
}
.btn.secondary {
  color: var(--blue-deep);
  background: white;
  border: 1px solid var(--gold);
}

.hero-wide {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background:
    radial-gradient(circle at 66% 32%, rgba(213,165,41,.12), transparent 28%),
    linear-gradient(100deg, #ffffff 0%, #f8fbff 48%, #eef5fb 100%);
}
.hero-wide::after {
  content: none;
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(560px, .86fr) minmax(720px, 1.14fr);
  gap: 18px;
  align-items: center;
  min-height: 520px;
  padding: 42px 0 48px;
}
.hero-copy { max-width: 640px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gold { color: var(--gold-dark); }
h1 {
  margin-bottom: 20px;
  color: var(--blue-deep);
  font-size: clamp(54px, 5.2vw, 76px);
  line-height: .98;
  text-transform: uppercase;
}
h2 {
  margin-bottom: 22px;
  color: var(--blue-deep);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.05;
}
h3 { color: var(--blue-deep); font-size: 23px; line-height: 1.15; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 30px;
}
.trust-row div {
  min-height: 66px;
  padding: 8px 20px;
  border-right: 1px solid var(--line);
}
.trust-row div:first-child { padding-left: 0; }
.trust-row strong,
.trust-row span { display: block; }
.trust-row strong { color: var(--blue-deep); font-size: 13px; text-transform: uppercase; }
.trust-row span { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.35; }

.hero-people {
  position: relative;
  align-self: stretch;
  min-height: 470px;
}
.hero-people img {
  position: absolute;
  right: -54px;
  top: auto;
  bottom: -10px;
  z-index: 1;
  width: min(1040px, 121%);
  height: 500px;
  object-fit: contain;
  object-position: top right;
  border-radius: 0;
  box-shadow: none;
}
.service-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -28px;
  padding: 18px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.service-strip div {
  position: relative;
  min-height: 96px;
  padding: 14px 24px 14px 80px;
  border-right: 1px solid var(--line);
}
.service-strip div:last-child { border-right: 0; }
.service-strip strong,
.service-strip span { display: block; }
.service-strip strong { color: var(--blue-deep); font-size: 16px; text-transform: uppercase; }
.service-strip span { margin-top: 8px; color: var(--muted); line-height: 1.45; }
.service-strip .service-icon {
  position: absolute;
  left: 24px;
  top: 21px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  color: var(--blue-deep);
  border: 3px solid var(--blue-deep);
  border-radius: 50%;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

.section { padding: 88px 0; }
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.academy-section {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 72%);
}
.academy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 46px;
}
.academy-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(6,43,95,.10);
}
.academy-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.academy-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 34px 34px 30px;
}
.academy-card h3 {
  margin-bottom: 24px;
  font-size: 28px;
  line-height: 1.12;
}
.academy-card p {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}
.pathway-section {
  padding-top: 42px;
}
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.pathway-card {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(6,43,95,.08);
}
.pathway-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.pathway-card div {
  padding: 22px;
}
.pathway-grid strong,
.pathway-grid span {
  display: block;
}
.pathway-grid strong {
  color: var(--blue-deep);
  font-size: 22px;
  line-height: 1.1;
}
.pathway-grid span {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.45;
}
.pathway-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue-deep);
  font-weight: 900;
  text-decoration: none;
}
.pathway-card a::after {
  content: " ->";
  margin-left: 5px;
}

.measure-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 36px;
}
.measure-hero img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6,43,95,.12);
}
.measure-kicker {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.measure-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}
.measure-block {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(6,43,95,.08);
}
.measure-block + .measure-block {
  margin-top: 18px;
}
.measure-block h2,
.measure-block h3 {
  color: var(--blue-deep);
}
.measure-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.measure-list li {
  padding-left: 22px;
  position: relative;
  color: var(--ink);
  line-height: 1.55;
}
.measure-list li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.measure-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.measure-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}
.measure-nav a.is-active {
  color: #fff;
  background: var(--blue-deep);
}
.source-list a {
  color: var(--blue-deep);
  font-weight: 800;
}
.card {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6,43,95,.08);
}
.feature-card {
  overflow: hidden;
  min-height: 0;
  padding: 0;
}
.feature-card img {
  width: 100%;
  height: 218px;
  object-fit: cover;
}
.feature-body {
  padding: 26px;
  min-height: 230px;
}
.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--blue-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.card p { color: var(--muted); line-height: 1.6; }

.blue-band {
  padding: 86px 0;
  color: white;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-deep));
}
.blue-band h2 { color: white; }
.blue-band .lead { color: rgba(255,255,255,.78); }
.blue-band-inner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 54px;
  align-items: center;
}
.band-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.band-list span {
  padding: 16px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  font-weight: 800;
}
.steps { display: grid; gap: 14px; }
.steps div {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.steps strong,
.steps span { display: block; }
.steps strong { color: var(--blue-deep); margin-bottom: 6px; }
.steps span { color: var(--muted); line-height: 1.5; }

.seo-section {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 48px;
  align-items: center;
  background: white;
}
.seo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.seo-list span {
  padding: 16px 18px;
  color: var(--blue-deep);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  font-weight: 900;
}
.faq-section {
  padding-top: 48px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.faq-grid article {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6,43,95,.08);
}
.faq-grid p { color: var(--muted); line-height: 1.6; }

.form-section {
  display: grid;
  grid-template-columns: minmax(420px,.78fr) minmax(520px,1fr);
  gap: 42px;
  align-items: start;
}
.contact-panel {
  position: sticky;
  top: 18px;
}
.contact-highlight {
  margin-top: 24px;
  padding: 22px;
  color: white;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-deep));
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6,43,95,.12);
}
.contact-highlight strong,
.contact-highlight span {
  display: block;
}
.contact-highlight strong {
  font-size: 22px;
  line-height: 1.15;
}
.contact-highlight span {
  margin-top: 10px;
  color: rgba(255,255,255,.86);
  line-height: 1.5;
}
.entity-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.entity-info div {
  min-height: 84px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.entity-info strong,
.entity-info span { display: block; }
.entity-info strong { margin-bottom: 6px; color: var(--blue-deep); }
.entity-info span { color: var(--muted); line-height: 1.45; }
.whatsapp-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 18px;
  color: white;
  background: #128c7e;
  border: 1px solid #0f756a;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18,140,126,.2);
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.whatsapp-contact:hover {
  color: white;
  background: #0f756a;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(18,140,126,.26);
}
.whatsapp-contact:focus-visible {
  outline: 3px solid rgba(18,140,126,.28);
  outline-offset: 3px;
}
.whatsapp-contact svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}
.whatsapp-contact span,
.whatsapp-contact strong,
.whatsapp-contact small { display: block; }
.whatsapp-contact strong { font-size: 16px; }
.whatsapp-contact small { margin-top: 2px; color: rgba(255,255,255,.86); }
.entity-info .whatsapp-contact {
  min-height: 84px;
  margin-top: 0;
}
.entity-info .whatsapp-contact span,
.entity-info .whatsapp-contact strong { color: white; }
.entity-info .whatsapp-contact strong { margin-bottom: 0; }
.small-note { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.orientation-box {
  margin-top: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(6,43,95,.07);
}
.orientation-box h3 {
  margin-bottom: 14px;
  color: var(--blue-deep);
}
.orientation-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.orientation-box li {
  position: relative;
  padding-left: 21px;
  color: var(--muted);
  line-height: 1.45;
}
.orientation-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .64em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.contact-tags span {
  padding: 9px 12px;
  color: var(--blue-deep);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.lead-form {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.lead-form p { color: var(--muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 7px; margin-top: 14px; color: var(--blue-deep); font-size: 14px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
textarea { min-height: 116px; resize: vertical; }
.checkbox { grid-template-columns: 18px 1fr; align-items: start; color: var(--muted); font-weight: 600; }
.checkbox input { width: 18px; height: 18px; }

.course-hero {
  padding: 72px 0 58px;
  background: linear-gradient(105deg, #ffffff 0%, #f6fbff 56%, #eaf2f9 100%);
}
.course-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, .9fr);
  gap: 54px;
  align-items: center;
}
.course-hero-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.course-hero-card img { width: 100%; height: 360px; object-fit: cover; }
.course-hero-card div { padding: 24px; border-left: 5px solid var(--gold); }
.course-hero-card strong,
.course-hero-card span { display: block; }
.course-hero-card strong { color: var(--blue-deep); font-size: 20px; }
.course-hero-card span { margin-top: 7px; color: var(--muted); line-height: 1.5; }
.course-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
}
.course-toolbar span {
  padding: 10px 14px;
  color: var(--blue-deep);
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 999px;
  font-weight: 900;
}
.course-rich-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.course-rich-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 430px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6,43,95,.08);
}
.course-rich-card p { color: var(--muted); line-height: 1.6; }
.course-meta {
  display: grid;
  gap: 9px;
  margin: auto 0 6px;
}
.course-meta div {
  padding: 12px 14px;
  background: var(--surface);
  border-radius: 6px;
}
.course-meta strong,
.course-meta span { display: block; }
.course-meta strong { color: var(--blue-deep); font-size: 12px; text-transform: uppercase; }
.course-meta span { margin-top: 4px; color: var(--muted); line-height: 1.4; }

.footer { padding: 34px 0; background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.footer-inner a { color: var(--blue-deep); font-weight: 900; }

.admin { background: var(--surface); min-height: 100vh; }
.admin-os {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  color: var(--ink);
  background: #f3f7fb;
}
.os-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 30px 26px;
  color: white;
  background: linear-gradient(180deg, #10233f 0%, #17386d 100%);
  box-shadow: 18px 0 42px rgba(6,43,95,.15);
}
.os-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.os-brand img {
  width: 76px;
  height: 76px;
  padding: 10px;
  background: white;
  border-radius: 8px;
  object-fit: contain;
}
.os-brand strong,
.os-brand small {
  display: block;
}
.os-brand strong {
  font-size: 28px;
  line-height: 1;
}
.os-brand small {
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.os-nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.os-nav span {
  margin: 26px 0 6px;
  color: #e4c36a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.os-nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  color: white;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
}
.os-nav a.active,
.os-nav a:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(213,165,41,.52);
  box-shadow: inset 4px 0 0 var(--gold);
}
.os-nav-group {
  display: grid;
  gap: 6px;
}
.os-subnav {
  display: grid;
  gap: 4px;
  margin: -2px 0 8px 22px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.os-subnav a {
  min-height: 34px;
  padding: 8px 12px;
  color: rgba(255,255,255,.78);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.os-subnav a.active-sub,
.os-subnav a:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: transparent;
  box-shadow: none;
}
.os-main {
  min-width: 0;
  padding: 34px 44px 70px;
}
.os-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 34px;
}
.os-top h1 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.05;
  text-transform: none;
}
.os-top p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}
.os-top-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.admin-alert {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 8px;
  font-weight: 800;
}
.admin-alert.success {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
}
.admin-alert.error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
}
.admin-alert.warning {
  color: var(--blue-deep);
  background: #fff9ed;
  border: 1px solid #ead08a;
}
.admin-alert.warning a {
  display: inline-block;
  margin-left: 8px;
  color: var(--blue-deep);
  font-weight: 900;
}
.crm-hero {
  margin-bottom: 28px;
  padding: 50px 56px;
  color: white;
  background: linear-gradient(120deg, #132645, #28477c);
  border-radius: 26px;
  box-shadow: 0 24px 56px rgba(6,43,95,.18);
}
.crm-hero .eyebrow {
  color: #f3d67b;
}
.crm-hero h2 {
  max-width: 1040px;
  margin-bottom: 16px;
  color: white;
  font-size: clamp(34px, 4vw, 58px);
  text-transform: none;
}
.crm-hero p {
  max-width: 980px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 22px;
  line-height: 1.45;
}
.crm-hero.compact-hero {
  padding: 44px;
}
.crm-hero.compact-hero h2 {
  font-size: clamp(32px, 3vw, 46px);
}
.mission-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: center;
}
.mission-focus {
  padding: 26px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
}
.mission-focus span,
.mission-focus strong {
  display: block;
}
.mission-focus span {
  color: #f3d67b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mission-focus strong {
  margin: 10px 0 18px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
}
.today-ops-panel {
  margin: 22px 0 26px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(6,43,95,.08);
}
.today-ops-date {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--blue-deep);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.today-ops-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.today-ops-card {
  min-height: 190px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid #8aa4bd;
  border-radius: 10px;
}
.today-ops-card.warning {
  background: #fff9ed;
  border-top-color: #d18b1d;
}
.today-ops-card.danger {
  background: #fff4f2;
  border-top-color: #b54437;
}
.today-ops-card.ok {
  border-top-color: #39845d;
}
.today-ops-card-head {
  display: flex;
  justify-content: flex-start;
}
.today-ops-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.today-ops-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 20px;
  line-height: 1.2;
}
.today-ops-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.today-ops-card .pill-btn {
  justify-content: center;
  width: 100%;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 28px;
}
.mission-card {
  min-height: 250px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(6,43,95,.08);
}
.mission-card h3 {
  margin-bottom: 18px;
}
.mission-card p {
  color: var(--muted);
  line-height: 1.55;
}
.mission-money {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.mission-money span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.mission-money strong {
  color: var(--blue-deep);
  font-size: 21px;
}
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hot-contact-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
}
.hot-contact-list a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: var(--blue-deep);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.hot-contact-list strong,
.hot-contact-list span,
.hot-contact-list small {
  display: block;
}
.hot-contact-list span {
  color: var(--ink);
  line-height: 1.35;
}
.hot-contact-list small {
  color: var(--muted);
  line-height: 1.35;
}
.mission-kpis .kpi.warning {
  background: #fff9ed;
  border-left-color: #d18b1d;
}
.course-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(6,43,95,.06);
}
.course-flow a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--blue-deep);
  background: #f3f7fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.management-grid,
.register-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.management-grid div,
.register-summary div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
}
.management-grid span,
.management-grid strong,
.register-summary span,
.register-summary strong {
  display: block;
}
.management-grid span,
.register-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.management-grid strong,
.register-summary strong {
  margin-top: 8px;
  color: var(--blue-deep);
  font-size: 23px;
}
.economic-total-heading {
  margin-top: 30px;
}
.economic-total-heading h2 {
  margin: 4px 0 0;
  color: var(--blue-deep);
  font-size: 32px;
}
.economic-report-filter {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto auto;
  align-items: end;
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.economic-report-filter label {
  display: grid;
  gap: 8px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
}
.economic-report-filter select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.economic-report-filter .gold-btn,
.economic-report-filter .btn {
  min-height: 48px;
  justify-content: center;
  white-space: nowrap;
}
.economic-period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 24px;
  color: #fff;
  background: var(--blue-deep);
  border-radius: 10px;
}
.economic-period-head div,
.economic-period-head span,
.economic-period-head strong {
  display: block;
}
.economic-period-head span {
  margin-bottom: 5px;
  color: #dbe7f4;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.economic-period-head > div > strong {
  font-size: 24px;
}
.economic-period-head .economic-result {
  padding: 10px 14px;
  color: var(--blue-deep);
  background: #fff;
  border-radius: 8px;
}
.economic-period-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.economic-period-summary div {
  padding: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.economic-period-summary span,
.economic-period-summary strong {
  display: block;
}
.economic-period-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.economic-period-summary strong {
  margin-top: 7px;
  color: var(--blue-deep);
  font-size: 18px;
}
.economic-report-subtitle {
  margin: 34px 0 14px;
  color: var(--blue-deep);
  font-size: 23px;
}
.economic-report-table {
  overflow-x: auto;
}
.economic-report-table table {
  min-width: 1260px;
}
.economic-report-table td,
.economic-report-table th {
  white-space: nowrap;
}
.economic-result.positive {
  color: #16794c;
}
.economic-result.negative {
  color: #aa2e25;
}
.os-panel {
  margin-top: 28px;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(6,43,95,.08);
}
.section-head.compact {
  align-items: center;
  margin-bottom: 24px;
}
.section-head.compact h2 {
  margin-bottom: 0;
  font-size: 36px;
  text-transform: none;
}
.crm-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.crm-action-card {
  min-height: 250px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(6,43,95,.07);
}
.crm-card-icon {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--blue-deep);
  background: var(--blue-light);
  border-radius: 8px;
  font-weight: 900;
}
.crm-action-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
}
.crm-action-card p {
  min-height: 74px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  color: var(--blue-deep);
  background: #eef5fb;
  border: 1px solid #cfe0ef;
  border-radius: 999px;
  font-weight: 900;
}
.pill-btn.muted {
  color: var(--muted);
  cursor: default;
}
.code-block {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  padding: 16px;
  color: #dbeafe;
  background: #162636;
  border-radius: 8px;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.os-kpis {
  grid-template-columns: repeat(5, 1fr);
  margin: 28px 0 0;
}
.management-payment-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.payment-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.payment-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--blue-deep);
  background: #eef5fb;
  border: 1px solid #cfe0ef;
  border-radius: 6px;
  font-weight: 900;
}
.payment-detail-title {
  margin: 28px 0 12px;
  font-size: 22px;
}
.compact-form {
  margin-top: 18px;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.import-form input[type="file"] {
  padding: 18px;
  background: #f7fbff;
  border: 1px dashed #b8cce0;
}
.crm-table table {
  min-width: 1080px;
}
.row-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}
.row-actions .pill-btn {
  width: 100%;
  justify-content: center;
  border: 1px solid #cfe0ef;
}
.inline-restore-form {
  display: grid;
  gap: 8px;
}
.inline-restore-form input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
button.pill-btn {
  min-height: 38px;
  padding: 0 14px;
  color: var(--blue-deep);
  background: #eef5fb;
  box-shadow: none;
  text-transform: none;
}
.pill-btn.danger,
button.pill-btn.danger {
  color: #8a1f1f;
  background: #fff2f2;
  border-color: #f1c5c5;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.status-pill.success {
  color: #17613b;
  background: #e9f8ef;
  border: 1px solid #bfe8cf;
}
.status-pill.warning {
  color: #8b5d00;
  background: #fff6d8;
  border: 1px solid #edd48a;
}
.status-pill.info {
  color: #24567d;
  background: #edf5fb;
  border: 1px solid #b7d0e4;
}
.status-pill.danger {
  color: #8a1f1f;
  background: #fff2f2;
  border: 1px solid #f1c5c5;
}
.status-pill.muted {
  color: var(--muted);
  background: #f3f6f9;
  border: 1px solid var(--line);
}
.safety-company-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.safety-company-strip span {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}
.safety-company-strip strong {
  color: var(--blue-deep);
  font-size: 12px;
  text-transform: uppercase;
}
.detail-form textarea {
  min-height: 140px;
}
.search-form {
  margin-top: 12px;
}
.search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title-row h2 {
  margin: 0;
}
.history-table {
  margin-top: 26px;
}
.section-note {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.45;
}
.teacher-profile-card,
.tutor-profile-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}
.teacher-profile-card > div,
.tutor-profile-card > div {
  min-height: 112px;
  padding: 18px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
}
.teacher-profile-card span,
.teacher-profile-card small,
.tutor-profile-card span,
.tutor-profile-card small {
  display: block;
  color: var(--muted);
}
.teacher-profile-card span,
.tutor-profile-card span {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.teacher-profile-card strong,
.tutor-profile-card strong {
  display: block;
  color: var(--blue-deep);
  font-size: 18px;
  line-height: 1.25;
}
.teacher-profile-card small,
.tutor-profile-card small {
  margin-top: 6px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.catalog-admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
  gap: 18px;
  margin: 18px 0 26px;
}
.catalog-admin-grid.single {
  grid-template-columns: minmax(320px, 760px);
}
.catalog-admin-grid h3 {
  margin: 0 0 14px;
  color: var(--blue-deep);
}
.catalog-edit-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.catalog-edit-list h3 {
  margin: 0;
  color: var(--blue-deep);
}
.catalog-course-line {
  display: grid;
  gap: 3px;
  padding: 6px 0;
}
.catalog-course-line + .catalog-course-line {
  border-top: 1px solid var(--line);
}
.catalog-course-line strong {
  color: var(--blue-deep);
}
.catalog-course-line span {
  color: var(--muted);
  font-size: 14px;
}
.catalog-course-form {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}
.teacher-month-wrap {
  margin-top: 20px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.teacher-month-grid {
  min-width: 1500px;
  table-layout: fixed;
}
.teacher-month-grid th,
.teacher-month-grid td {
  width: 112px;
  min-width: 112px;
  padding: 10px;
  border-right: 1px solid var(--line);
  vertical-align: top;
}
.teacher-month-grid th {
  background: #f7fbff;
}
.teacher-month-grid th span,
.teacher-month-grid th small,
.teacher-sticky-col strong,
.teacher-sticky-col small {
  display: block;
}
.teacher-month-grid th small,
.teacher-sticky-col small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.teacher-month-grid .teacher-sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 230px;
  min-width: 230px;
  background: #fff;
  box-shadow: 8px 0 18px rgba(6,43,95,.06);
}
.teacher-month-grid th.teacher-sticky-col {
  z-index: 3;
  background: #f7fbff;
}
.teacher-month-grid .free-day {
  background: #fbfdff;
}
.teacher-month-grid .busy-day {
  background: #fff9ed;
}
.teacher-slot {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(213,165,41,.45);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
}
.teacher-slot strong {
  color: var(--blue-deep);
  font-size: 12px;
}
.teacher-slot span,
.teacher-slot small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.teacher-slot .mini-link {
  width: fit-content;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(6,43,95,.28);
}
.teacher-calendar-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 12px;
}
.student-calendar-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 12px;
}
.teacher-calendar-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.student-calendar-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.teacher-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.teacher-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.teacher-calendar-legend i {
  width: 12px;
  height: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.teacher-calendar-legend .legend-free { background: #fbfdff; }
.teacher-calendar-legend .legend-busy { background: #fff2cc; border-color: rgba(213,165,41,.55); }
.teacher-calendar-legend .legend-assignment-generated { background: #ffe7a8; border-color: #c48a1d; }
.teacher-calendar-legend .legend-assignment-handled { background: #dcebf8; border-color: #497ba8; }
.teacher-calendar-legend .legend-assignment-signed { background: #d9f3e3; border-color: #2f7a56; }
.teacher-calendar-legend .legend-conflict { background: #fde2df; border-color: #d76b5e; }
.teacher-slot.assignment-generated {
  background: #fff8e6;
  border-color: #e1bd64;
  border-left-color: #c48a1d;
}
.teacher-slot.assignment-handled {
  background: #edf5fb;
  border-color: #a9c7df;
  border-left-color: #497ba8;
}
.teacher-slot.assignment-signed {
  background: #edf9f1;
  border-color: #9dd2b2;
  border-left-color: #2f7a56;
}
.teacher-slot .assignment-calendar-state {
  color: var(--blue-deep);
  font-weight: 900;
}
.teacher-calendar-page .teacher-month-grid,
.student-calendar-page .teacher-month-grid {
  width: max-content;
  table-layout: fixed;
}
.teacher-calendar-page .teacher-month-grid th,
.teacher-calendar-page .teacher-month-grid td,
.student-calendar-page .teacher-month-grid th,
.student-calendar-page .teacher-month-grid td {
  width: 132px;
  min-width: 132px;
}
.teacher-calendar-page .teacher-month-grid td,
.student-calendar-page .teacher-month-grid td {
  height: 92px;
}
.teacher-calendar-page .teacher-month-grid .teacher-sticky-col,
.student-calendar-page .teacher-month-grid .teacher-sticky-col {
  width: 230px;
  min-width: 230px;
}
.student-month-grid .conflict-day {
  background: #fff1ef;
}
.student-slot-conflict {
  border-color: #d76b5e;
  border-left-color: #b73d31;
  background: #fff8f7;
}
.teacher-slot-link {
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.teacher-slot-link:hover,
.teacher-slot-link:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 8px 18px rgba(6,43,95,.12);
  transform: translateY(-1px);
}
.teacher-name-link {
  color: var(--blue-deep);
  text-decoration: none;
}
.teacher-name-link:hover { text-decoration: underline; }
.calendar-free-marker {
  display: block;
  color: #b1bccb;
  text-align: center;
}
.teacher-month-grid .today-column {
  box-shadow: inset 0 3px 0 var(--blue-deep);
}
.teacher-day-detail {
  scroll-margin-top: 20px;
}
.daily-date-search {
  display: grid;
  grid-template-columns: minmax(240px, 420px) auto;
  align-items: end;
  gap: 12px;
}
.daily-date-search .gold-btn {
  min-height: 52px;
}
.daily-date-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.daily-lessons-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.daily-lessons-table table {
  min-width: 1240px;
}
.daily-course-cell {
  min-width: 250px;
}
.daily-remaining-lessons {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 8px;
  padding: 5px 8px;
  color: var(--blue-deep);
  background: #f2f6fb;
  border: 1px solid #cfdaea;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}
.daily-remaining-lessons.is-last {
  color: #245d42;
  background: #edf8f1;
  border-color: #a8d2b7;
}
.daily-people-list {
  display: grid;
  gap: 5px;
  margin-top: 5px;
}
.daily-people-list a {
  display: grid;
  width: fit-content;
  color: var(--blue-deep);
  text-decoration: none;
  line-height: 1.25;
}
.daily-people-list a:hover {
  text-decoration: underline;
}
.daily-people-list small {
  color: var(--muted);
  font-size: 11px;
}
.daily-empty-value {
  color: #8a2f2a;
  font-weight: 800;
}
.daily-more-people {
  margin-top: 8px;
}
.daily-more-people summary {
  width: fit-content;
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}
.inline-edit-form {
  display: grid;
  gap: 8px;
  min-width: 220px;
}
.inline-edit-form input,
.inline-edit-form textarea,
.inline-edit-form select {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.inline-edit-form textarea {
  min-height: 64px;
  resize: vertical;
}
.inline-edit-form .checkbox {
  margin: 0;
  font-size: 13px;
}
.table-input {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.newsletter-hint {
  margin: 16px 0;
  padding: 14px 16px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  line-height: 1.45;
}
.table-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.kpi {
  display: block;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(213,165,41,.65);
  box-shadow: 0 16px 34px rgba(6,43,95,.12);
}
.kpi.warning { background: #fff9ed; border-left: 4px solid #d18b1d; }
.kpi span { color: var(--muted); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.kpi strong { display: block; margin-top: 8px; color: var(--blue-deep); font-size: 34px; }
.table-card { overflow: auto; background: white; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--blue-deep); font-size: 12px; text-transform: uppercase; }
td { color: var(--muted); }

/* Landing page campagne */
.landing-page { background: #fff; }
.landing-topbar .topbar-inner { justify-content: flex-start; }
.landing-header { min-height: 104px; }
.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.landing-phone {
  color: var(--blue-deep);
  line-height: 1.2;
  text-align: right;
}
.landing-phone span,
.landing-phone strong { display: block; }
.landing-phone span { color: var(--muted); font-size: 13px; }
.landing-phone strong { margin-top: 3px; font-size: 18px; }
.landing-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background-color: #eef3f8;
  background-image: url("hero-pasternak-clean.webp?v=24.4");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(67%, 1120px);
  background: rgba(247,250,253,.94);
}
.landing-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: 64px 0;
}
.landing-hero-copy { width: min(760px, 58%); }
.landing-hero h1 {
  max-width: 750px;
  margin: 14px 0 20px;
  color: var(--blue-deep);
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: 0;
}
.landing-hero .lead { max-width: 700px; }
.landing-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.landing-proof div {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}
.landing-proof div:first-child { padding-left: 0; }
.landing-proof div:last-child { border-right: 0; }
.landing-proof strong,
.landing-proof span { display: block; }
.landing-proof strong { color: var(--blue-deep); font-size: 14px; }
.landing-proof span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.section-intro {
  max-width: 820px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.landing-fit-section { background: #fff; }
.landing-fit-section h2,
.landing-path-section h2,
.landing-steps-section h2,
.landing-form-band h2,
.landing-faq h2 { max-width: 980px; }
.landing-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.landing-fit-grid article {
  min-height: 250px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.landing-fit-grid article:last-child { border-right: 0; }
.landing-fit-grid article > span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}
.landing-fit-grid h3 { margin: 28px 0 12px; color: var(--blue-deep); font-size: 23px; }
.landing-fit-grid p { color: var(--muted); line-height: 1.55; }
.landing-path-section { background: var(--surface); }
.landing-path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.landing-path-grid article {
  min-height: 190px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(6,43,95,.06);
}
.landing-path-grid strong,
.landing-path-grid span { display: block; }
.landing-path-grid strong { color: var(--blue-deep); font-size: 21px; }
.landing-path-grid span { margin-top: 16px; color: var(--muted); line-height: 1.5; }
.landing-steps-layout {
  display: grid;
  grid-template-columns: minmax(320px,.72fr) minmax(520px,1fr);
  gap: 80px;
  align-items: start;
}
.landing-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: landing-step;
}
.landing-steps li {
  position: relative;
  min-height: 112px;
  padding: 8px 0 26px 82px;
  border-bottom: 1px solid var(--line);
  counter-increment: landing-step;
}
.landing-steps li + li { padding-top: 26px; }
.landing-steps li::before {
  content: counter(landing-step);
  position: absolute;
  top: 8px;
  left: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--blue-deep);
  background: #fff8e8;
  border: 1px solid rgba(213,165,41,.45);
  border-radius: 50%;
  font-weight: 900;
}
.landing-steps li + li::before { top: 26px; }
.landing-steps strong,
.landing-steps span { display: block; }
.landing-steps strong { color: var(--blue-deep); font-size: 22px; }
.landing-steps span { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.landing-form-band {
  background: #eef3f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.landing-contact-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.landing-contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.landing-contact-list span { color: var(--muted); font-size: 13px; }
.landing-contact-list strong { text-align: right; }
.landing-faq { background: #fff; }

.alert-config-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.alert-config-strip > div {
  padding: 18px 20px;
  background: #fff;
}
.alert-config-strip strong,
.alert-config-strip span { display: block; }
.alert-config-strip strong { color: var(--blue-deep); }
.alert-config-strip span { margin-top: 6px; color: var(--muted); line-height: 1.45; }
.alert-config-strip.is-active > div:first-child { border-left: 4px solid #38845a; }
.alert-config-strip.needs-config > div:first-child { border-left: 4px solid var(--gold); }
.alert-row-due td { background: #fffaf0; }
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 4px 0;
  padding: 4px 9px;
  color: var(--blue-deep);
  background: #edf3fa;
  border: 1px solid #d8e2ef;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.status-chip.sent,
.status-chip.opened { color: #215f3d; background: #edf8f1; border-color: #c9e7d4; }
.status-chip.failed,
.status-chip.due { color: #8a2f2a; background: #fff0ee; border-color: #efcbc7; }
.status-chip.skipped,
.status-chip.no_opt_in,
.status-chip.cancelled { color: #5d6677; background: #f3f5f7; }
.whatsapp-action-form { margin-top: 8px; }
.whatsapp-btn {
  cursor: pointer;
  color: #fff;
  background: #1f7a4d;
  border-color: #1f7a4d;
}
.text-button {
  padding: 4px 0;
  color: var(--blue-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}
.field-error { display: block; max-width: 280px; margin-top: 6px; color: #8a2f2a; }
.result-count { color: var(--muted); font-weight: 800; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .hero-inner, .course-hero-inner { grid-template-columns: 1fr; }
  .hero-people { min-height: 460px; }
  .hero-people img { right: 0; width: 100%; }
  .service-strip, .trust-row, .course-rich-grid { grid-template-columns: repeat(2, 1fr); }
  .academy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blue-band-inner, .split, .seo-section, .form-section { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
  .measure-hero,
  .measure-layout { grid-template-columns: 1fr; }
  .admin-os { grid-template-columns: 1fr; }
  .os-sidebar { position: relative; min-height: auto; }
  .crm-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-hero, .mission-grid { grid-template-columns: 1fr; }
  .today-ops-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .management-grid, .register-summary { grid-template-columns: 1fr 1fr; }
  .os-kpis { grid-template-columns: repeat(2, 1fr); }
  .teacher-calendar-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-calendar-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily-lessons-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .management-payment-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .economic-report-filter { grid-template-columns: 1fr 1fr; }
  .economic-period-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-profile-card,
  .tutor-profile-card,
  .catalog-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-hero::before { width: 100%; background: rgba(247,250,253,.86); }
  .landing-hero-copy { width: min(760px, 78%); }
  .landing-fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-fit-grid article:nth-child(2) { border-right: 0; }
  .landing-fit-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .landing-path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .landing-steps-layout { grid-template-columns: 1fr; gap: 34px; }
  .alert-config-strip { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1500px); }
  .topbar-inner { flex-wrap: wrap; justify-content: center; padding: 9px 0; }
  .header { min-height: auto; padding: 14px; }
  .brand img { width: 126px; }
  .header-contact { display: none; }
  .hero-inner { min-height: auto; padding: 42px 0 90px; }
  .hero-people { min-height: 330px; }
  .hero-people img { right: 0; top: 0; width: 100%; height: 330px; }
  .service-strip, .trust-row, .grid3, .academy-grid, .pathway-grid, .course-rich-grid, .band-list, .seo-list, .faq-grid, .form-grid, .entity-info, .kpis, .management-grid, .register-summary { grid-template-columns: 1fr; }
  .measure-hero img { min-height: 260px; }
  .teacher-profile-card,
  .tutor-profile-card,
  .catalog-admin-grid { grid-template-columns: 1fr; }
  .os-main { padding: 24px 14px 50px; }
  .os-top { flex-direction: column; }
  .os-top-actions { width: 100%; }
  .os-top-actions .btn { flex: 1; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .today-ops-panel { padding: 20px; }
  .today-ops-cards { grid-template-columns: 1fr; }
  .today-ops-card { min-height: 0; }
  .crm-hero, .os-panel { padding: 24px; border-radius: 16px; }
  .crm-action-grid { grid-template-columns: 1fr; }
  .crm-action-card p { min-height: 0; }
  .economic-report-filter, .economic-period-summary { grid-template-columns: 1fr; }
  .teacher-calendar-filters, .teacher-calendar-kpis,
  .student-calendar-filters, .student-calendar-kpis { grid-template-columns: 1fr; }
  .daily-date-search, .daily-lessons-kpis { grid-template-columns: 1fr; }
  .daily-date-actions .btn { flex: 1; }
  .management-payment-kpis { grid-template-columns: 1fr; }
  .payment-section-nav a { flex: 1; justify-content: center; }
  .economic-period-head { align-items: flex-start; flex-direction: column; }
  .economic-period-head .economic-result { width: 100%; }
  .academy-card { min-height: 0; border-radius: 18px; }
  .academy-card img { aspect-ratio: 16 / 10; height: auto; }
  .academy-body { padding: 26px; }
  .academy-card h3 { font-size: 25px; }
  .academy-card p { font-size: 18px; }
  .service-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-strip div:last-child { border-bottom: 0; }
  .section-head { align-items: start; flex-direction: column; }
  .actions .btn, .header-actions .btn { width: 100%; }
  .header-actions { width: auto; }
  h1 { font-size: 44px; }
  .header { gap: 14px; }
  .header .brand-horizontal { gap: 6px; }
  .header .brand-horizontal img {
    width: 46px;
    height: 46px;
    max-width: 46px;
    max-height: 46px;
  }
  .header .brand-horizontal strong { font-size: 24px; }
  .header .brand-horizontal small { margin-top: 4px; font-size: 9px; }
  .header-actions .btn,
  .landing-header-actions .btn {
    width: 124px;
    min-height: 50px;
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  .landing-header-actions { margin-left: auto; }
  .landing-phone { display: none; }
  .landing-hero,
  .landing-hero-content { min-height: 620px; }
  .landing-hero { background-position: 64% center; }
  .landing-hero::before { background: rgba(247,250,253,.9); }
  .landing-hero-content { align-items: flex-end; padding: 54px 0; }
  .landing-hero-copy { width: 100%; }
  .landing-hero h1 { font-size: 40px; }
  .landing-proof { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .landing-proof div:nth-child(2) { border-right: 0; }
  .landing-proof div:nth-child(3) { padding-left: 0; }
  .landing-fit-grid,
  .landing-path-grid { grid-template-columns: 1fr; }
  .landing-fit-grid article,
  .landing-fit-grid article:nth-child(2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .landing-fit-grid article:last-child { border-bottom: 0; }
  .landing-contact-list a { align-items: flex-start; flex-direction: column; }
  .landing-contact-list strong { text-align: left; }
}
.assignment-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.assignment-card {
  border: 1px solid #d8e0ea;
  border-left: 4px solid #2f7a56;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.assignment-card.has-warning {
  border-left-color: #c48a1d;
  background: #fffaf0;
}

.assignment-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.assignment-card-head span {
  color: #627187;
  font-size: 0.75rem;
  font-weight: 800;
}

.assignment-card-head h3 {
  margin: 5px 0 0;
  font-size: 1.15rem;
}

.assignment-card-head > strong {
  color: #173764;
  white-space: nowrap;
}

.assignment-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 18px 0;
}

.assignment-card dl div {
  min-width: 0;
}

.assignment-card dt {
  color: #66758a;
  font-size: 0.78rem;
  font-weight: 700;
}

.assignment-card dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.assignment-missing {
  color: #7a5012;
  line-height: 1.45;
}

.assignment-progress {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #e1bd64;
  border-radius: 8px;
  background: #fff8e6;
}

.assignment-progress.is-handled {
  border-color: #9dd2b2;
  background: #edf9f1;
}

.assignment-progress small {
  color: #526174;
  line-height: 1.4;
}

.assignment-handled-form {
  margin: 0;
}

.assignment-handled-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #c9d5e3;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.assignment-handled-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.assignment-handled-toggle span {
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

@media (max-width: 620px) {
  .assignment-card dl {
    grid-template-columns: 1fr;
  }
}
