/* M2 shared navigation treatment: visual-only alignment with Master Admin. */
:root {
  --m2-shared-ink: #0b0b0f;
  --m2-shared-sidebar: #0e0e13;
  --m2-shared-muted: #a7a7b0;
  --m2-shared-accent: #d9ff43;
  --m2-shared-radius: 13px;
}

.topbar .m2-matrix-bell {
  width: 36px;
  height: 36px;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #15151b;
  color: #9d9da8;
  font-size: 0;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.topbar .m2-matrix-bell svg { width: 17px; height: 17px; }
.topbar .m2-matrix-bell:hover,
.topbar .m2-matrix-bell:focus-visible { border-color: rgba(217, 255, 67, .5); background: #1d1d24; color: var(--m2-shared-accent); outline: 0; }
.topbar .m2-matrix-bell:not(.has-alert) b { display: none; }
.topbar .m2-matrix-bell.has-alert b { top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border: 2px solid #0b0b0f; border-radius: 999px; background: var(--m2-shared-accent); color: #111; font: 900 8px/1 Roboto Variable, Roboto, Arial, sans-serif; }

.topbar .m2-matrix-notification-panel {
  top: 46px;
  right: 0;
  width: min(420px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid #303038;
  background: #111116;
  color: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
}

.topbar .m2-matrix-notification-heading {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid #303038;
  background: #15151b;
  color: #fff;
  font: 800 9px Roboto Variable, Roboto, Arial, sans-serif;
  letter-spacing: .8px;
}

.topbar .m2-matrix-notification-heading strong::before { content: "M2 "; color: var(--m2-shared-accent); }
.topbar .m2-matrix-notification-heading button { color: #a8a8b1; }
.topbar .m2-matrix-notification-list { padding: 0 14px; border: 0; background: #111116; }
.topbar .m2-matrix-notification-panel .matrix-message { padding: 13px 0; border-bottom-color: #303038; }
.topbar .m2-matrix-notification-panel .matrix-message-copy strong { color: #fff; font: 750 11px/1.4 Roboto Variable, Roboto, Arial, sans-serif; }
.topbar .m2-matrix-notification-panel .matrix-message-copy small,
.topbar .m2-matrix-notification-panel .matrix-message summary > b,
.topbar .m2-matrix-notification-panel .matrix-message-body { color: #a8a8b1; }
.topbar .m2-matrix-notification-panel .schedule-empty { min-height: 116px; padding: 20px 2px; color: #a8a8b1; }
.topbar .m2-matrix-notification-panel .schedule-empty strong { color: #fff; font: 800 10px Roboto Variable, Roboto, Arial, sans-serif; letter-spacing: .4px; text-transform: uppercase; }
.topbar .m2-matrix-notification-panel .schedule-empty span { color: #a8a8b1; font-size: 10px; line-height: 1.55; }

/* Painel de comunicados: mesma faixa contínua do aviso de fechamento. */
.topbar .m2-matrix-notification-panel {
  display: block !important;
  right: 0 !important;
  width: min(520px, calc(100vw - 28px)) !important;
  padding: 0 !important;
  border: 1px solid #303038 !important;
  border-left: 4px solid var(--m2-shared-accent) !important;
  background: #151515 !important;
  color: #fff !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28) !important;
}

.topbar .m2-matrix-notification-heading {
  display: flex !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  border: 0 !important;
  background: #151515 !important;
  color: #fff !important;
}

.topbar .m2-matrix-notification-heading strong { color: #fff !important; }
.topbar .m2-matrix-notification-heading strong::before { color: var(--m2-shared-accent) !important; }
.topbar .m2-matrix-notification-list { display: block !important; padding: 0 16px 15px !important; border: 0 !important; background: #151515 !important; }
.topbar .m2-matrix-notification-panel .schedule-empty { display: grid !important; align-content: center; gap: 6px; min-height: 78px !important; padding: 0 !important; border-top: 1px solid #303038; background: #151515 !important; color: #fff !important; text-align: left !important; }
.topbar .m2-matrix-notification-panel .schedule-empty strong { color: #fff !important; }
.topbar .m2-matrix-notification-panel .schedule-empty span { color: #b8b8c0 !important; }
.topbar .m2-matrix-notification-panel .matrix-message { background: #151515 !important; }

#app-sidebar.sidebar {
  width: 258px;
  padding: 22px 14px 16px;
  background:
    radial-gradient(circle at 10% 0, rgba(217, 255, 67, .075), transparent 16rem),
    linear-gradient(180deg, var(--m2-shared-sidebar), #07070a 72%, #050507);
  border-right: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 18px 0 55px rgba(0, 0, 0, .12);
}

#app-sidebar .sidebar-head {
  padding: 2px 2px 20px;
  border-bottom-color: rgba(255, 255, 255, .1);
}

#app-sidebar .sidebar-brand-row {
  margin: 0 8px 18px;
}

#app-sidebar .sidebar-head p {
  color: #868690;
}

#app-sidebar.sidebar nav {
  padding: 14px 0;
  gap: 3px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-color: var(--m2-shared-accent) rgba(255, 255, 255, .08);
}

#app-sidebar.sidebar nav::-webkit-scrollbar {
  background: rgba(255, 255, 255, .08);
}

#app-sidebar.sidebar nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .08);
}

#app-sidebar.sidebar nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--m2-shared-accent);
}

#app-sidebar.sidebar nav::-webkit-scrollbar-thumb:hover {
  background: #e4ff70;
}

#app-sidebar .nav-section,
#app-sidebar .nav-section-items,
#app-sidebar .nav-subgroup,
#app-sidebar .nav-item,
#app-sidebar .nav-section-toggle,
#app-sidebar .nav-toggle-all {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

#app-sidebar .nav-item {
  min-height: 44px;
  margin-bottom: 3px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-left-width: 1px;
  border-radius: var(--m2-shared-radius);
  color: var(--m2-shared-muted);
  font-family: Roboto Variable, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

#app-sidebar .nav-item .nav-label {
  color: inherit;
  font: 400 12px/1.2 Roboto Variable, Roboto, Arial, sans-serif;
}

#app-sidebar .nav-toggle-all,
#app-sidebar .nav-section-toggle {
  color: #666670 !important;
  font-family: Roboto Variable, Roboto, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.35px !important;
}

#app-sidebar .nav-section-toggle {
  margin: 20px 0 8px !important;
  padding: 0 12px !important;
}

#app-sidebar .nav-toggle-all {
  margin: 12px 0 2px !important;
  padding: 0 12px !important;
}

#app-sidebar .nav-subgroup-label {
  color: #777781;
  font: 700 9px/1.2 Roboto Variable, Roboto, Arial, sans-serif;
  letter-spacing: .8px;
}

#app-sidebar .nav-item .nav-icon,
#app-sidebar .nav-item .nav-icon svg {
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  place-items: center;
}

#app-sidebar .nav-item .nav-icon {
  color: #8d8d97;
  transition: color .2s ease;
}

#app-sidebar .nav-item .nav-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#app-sidebar .nav-item:hover {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .07);
  color: #fff;
  transform: translateX(2px);
}

#app-sidebar .nav-item.active {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .09);
  border-left-color: rgba(255, 255, 255, .09);
  box-shadow: inset 3px 0 0 var(--m2-shared-accent);
  color: #fff;
}

#app-sidebar .nav-item:hover .nav-icon,
#app-sidebar .nav-item.active .nav-icon {
  color: var(--m2-shared-accent);
}

#app-sidebar .sidebar-foot {
  padding: 15px 8px 0;
  border-top-color: rgba(255, 255, 255, .1);
}

#app-sidebar .sidebar-foot button {
  color: #a7a7b0;
}

#app-sidebar.collapsed {
  width: 78px;
}

#app-sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 0;
}

#app-sidebar.collapsed .nav-section {
  margin: 0 0 3px !important;
}

#app-sidebar.collapsed .nav-section-toggle {
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
}

#app-sidebar.collapsed .nav-section-icon,
#app-sidebar.collapsed .nav-section-icon svg {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

#app-sidebar.collapsed .nav-item .nav-label,
#app-sidebar.collapsed .sidebar-head p,
#app-sidebar.collapsed .sidebar-foot > *:not(#sidebar-user-belt) {
  display: none;
}

@media (max-width: 760px) {
  #app-sidebar.sidebar {
    padding: 18px 12px 14px;
  }
}

/* Central de Ajuda e Suporte */
.support-page {
  gap: 26px;
}

.support-hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  min-height: 254px;
  padding: 38px 40px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 75% 4%, rgba(217, 255, 67, .2), transparent 16rem),
    linear-gradient(135deg, #131319, #07070a 72%);
  box-shadow: 0 22px 46px rgba(11, 11, 15, .16);
}

.support-hero::after {
  right: 38px;
  bottom: -76px;
  color: rgba(217, 255, 67, .06);
}

.support-hero h1 {
  max-width: 620px;
  color: #fff;
}

.support-hero p {
  color: #b9bbc0;
}

.support-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.support-hero-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #d3d4d7;
  font: 700 9px Roboto Variable, Roboto, Arial, sans-serif;
  letter-spacing: .2px;
}

.support-hero-stats b {
  margin-right: 5px;
  color: var(--m2-shared-accent);
  font-size: 11px;
}

.support-search {
  min-height: 68px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  background: #fff;
  box-shadow: 10px 12px 0 rgba(217, 255, 67, .12);
}

.support-search > span {
  color: #111;
}

.support-search input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
}

.support-search:focus-within {
  border-color: var(--m2-shared-accent);
  box-shadow: 0 0 0 4px rgba(217, 255, 67, .18), 10px 12px 0 rgba(217, 255, 67, .12);
}

.support-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-action-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 122px;
  padding: 18px;
  border: 1px solid rgba(11, 11, 15, .1);
  border-radius: 17px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 9px 22px rgba(11, 11, 15, .045);
  color: var(--m2-shared-ink);
  text-align: left;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

button.support-action-card {
  font: inherit;
}

.support-action-card:hover,
.support-action-card:focus-visible {
  border-color: rgba(11, 11, 15, .24);
  box-shadow: 0 14px 28px rgba(11, 11, 15, .09);
  outline: 0;
  transform: translateY(-2px);
}

.support-action-card > span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.support-action-card small,
.support-action-card p {
  color: #777781;
}

.support-action-card small {
  font: 700 8px Roboto Variable, Roboto, Arial, sans-serif;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.support-action-card strong {
  color: var(--m2-shared-ink);
  font-size: 12px;
  text-transform: none;
}

.support-action-card p {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}

.support-action-card > b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f1ed;
  color: var(--m2-shared-ink);
  font-size: 15px;
}

.support-action-icon,
.support-category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11, 11, 15, .1);
  border-radius: 12px;
  background: #f5f5f0;
  color: var(--m2-shared-ink);
}

.support-action-icon svg,
.support-category-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-action-card-whatsapp {
  border-color: #1d1d22;
  background: #111116;
  color: #fff;
}

.support-action-card-whatsapp .support-action-icon {
  border-color: rgba(217, 255, 67, .38);
  background: rgba(217, 255, 67, .11);
  color: var(--m2-shared-accent);
}

.support-action-card-whatsapp small,
.support-action-card-whatsapp p {
  color: #aeb0b6;
}

.support-action-card-whatsapp strong {
  color: #fff;
}

.support-action-card-whatsapp > b {
  background: var(--m2-shared-accent);
  color: var(--m2-shared-ink);
}

.support-section {
  gap: 17px;
}

.support-section-heading {
  align-items: flex-end;
  padding: 0 2px 13px;
  border-bottom: 1px solid rgba(11, 11, 15, .12);
}

.support-section-heading h2 {
  color: var(--m2-shared-ink);
  font-size: 21px;
  letter-spacing: -.45px;
}

.support-section-heading > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9e9e3;
  color: #56565e;
}

.support-section-heading > button {
  border-radius: 9px;
}

.support-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.support-category-card {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 150px;
  padding: 17px;
  border: 1px solid rgba(11, 11, 15, .1);
  border-top: 1px solid rgba(11, 11, 15, .1);
  border-radius: 17px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(11, 11, 15, .035);
}

.support-category-card:hover,
.support-category-card:focus-visible {
  border-color: rgba(11, 11, 15, .24);
  box-shadow: 0 14px 28px rgba(11, 11, 15, .08);
  outline: 0;
  transform: translateY(-2px);
}

.support-category-card.active {
  border-color: var(--m2-shared-accent);
  background: #121217;
  color: #fff;
}

.support-category-card.active .support-category-icon {
  border-color: rgba(217, 255, 67, .45);
  background: rgba(217, 255, 67, .12);
  color: var(--m2-shared-accent);
}

.support-category-card > div {
  gap: 5px;
}

.support-category-card small {
  color: #777781;
  font: 700 8px Roboto Variable, Roboto, Arial, sans-serif;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.support-category-card strong {
  color: inherit;
  font-size: 12px;
  text-transform: none;
}

.support-category-card p {
  color: #777781;
  font-size: 10px;
  line-height: 1.4;
}

.support-category-card.active small,
.support-category-card.active p {
  color: #adb0b5;
}

.support-category-card > b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #f1f1ed;
  color: var(--m2-shared-ink);
  font-size: 14px;
}

.support-category-card.active > b {
  background: var(--m2-shared-accent);
}

.support-popular-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.support-popular-list button,
.support-popular-list button:nth-child(2n) {
  min-height: 108px;
  padding: 17px;
  border: 1px solid rgba(11, 11, 15, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 7px 18px rgba(11, 11, 15, .035);
}

.support-popular-list button:hover,
.support-popular-list button:focus-visible {
  border-color: var(--m2-shared-accent);
  background: #fbfce9;
  outline: 0;
}

.support-popular-list strong {
  color: var(--m2-shared-ink);
  font-size: 12px;
}

.support-popular-list b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111116;
  color: #fff;
  font-size: 14px;
}

.support-results {
  gap: 10px;
}

.support-article {
  overflow: hidden;
  border-color: rgba(11, 11, 15, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 7px 18px rgba(11, 11, 15, .035);
}

.support-article:hover,
.support-article[open] {
  border-color: rgba(11, 11, 15, .22);
  box-shadow: 0 12px 26px rgba(11, 11, 15, .07);
}

.support-article summary {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 102px;
  padding: 18px 20px;
}

.support-article summary span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f1ed;
  color: #5c5c63;
  font-size: 8px;
}

.support-article summary strong {
  color: var(--m2-shared-ink);
  font-size: 14px;
}

.support-article summary p {
  color: #777781;
  font-size: 10px;
}

.support-article-meta {
  display: flex;
  align-items: center;
  gap: 11px;
}

.support-article-meta small {
  color: #777781;
  font-size: 9px;
  white-space: nowrap;
}

.support-article summary b {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #111116;
  color: #fff;
}

.support-article[open] summary b {
  background: var(--m2-shared-accent);
  color: var(--m2-shared-ink);
}

.support-article-body {
  padding: 0 20px 22px;
  border-top-color: rgba(11, 11, 15, .09);
}

.support-article-body > p {
  color: #3f3f47;
  font-size: 12px;
}

.support-article-body ol {
  counter-reset: support-step;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.support-article-body li {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #4a4a52;
  font-size: 11px;
}

.support-article-body li::before {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #eef0d8;
  color: #4d5e0d;
  content: counter(support-step);
  counter-increment: support-step;
  font: 800 9px Roboto Variable, Roboto, Arial, sans-serif;
}

.support-article-body button {
  border: 0;
  border-radius: 10px;
  background: var(--m2-shared-ink);
}

.support-article-body button:hover,
.support-article-body button:focus-visible {
  background: var(--m2-shared-accent);
  color: var(--m2-shared-ink);
  outline: 0;
}

.support-empty {
  border-color: rgba(11, 11, 15, .18);
  border-radius: 15px;
  background: rgba(255, 255, 255, .76);
}

@media (max-width: 1260px) {
  .support-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .support-search {
    width: 100%;
  }

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

@media (max-width: 900px) {
  .support-actions,
  .support-popular-list {
    grid-template-columns: 1fr;
  }

  .support-action-card,
  .support-popular-list button {
    min-height: 96px;
  }
}

@media (max-width: 760px) {
  .support-page {
    gap: 20px;
  }

  .support-hero {
    min-height: 0;
    padding: 27px 20px;
    border-radius: 17px;
  }

  .support-hero h1 {
    font-size: 33px;
  }

  .support-search {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 56px;
    box-shadow: none;
  }

  .support-search input {
    height: 54px;
    font-size: 16px;
  }

  .support-category-grid {
    grid-template-columns: 1fr;
  }

  .support-category-card {
    min-height: 114px;
  }

  .support-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .support-article summary {
    min-height: 0;
    padding: 16px;
  }

  .support-article-meta small {
    display: none;
  }

  .support-article-body {
    padding: 0 16px 18px;
  }
}

/* Shared application surfaces, controls and content states. */
body {
  background:
    radial-gradient(circle at 88% 1%, rgba(217, 255, 67, .14), transparent 24rem),
    radial-gradient(circle at 4% 76%, rgba(11, 11, 15, .045), transparent 30rem),
    linear-gradient(145deg, #f8f8f5 0%, #f1f0e8 100%);
  color: var(--m2-shared-ink);
}

.workspace,
.content {
  background: transparent;
}

.content {
  padding: 32px;
  scrollbar-color: var(--m2-shared-accent) rgba(11, 11, 15, .08);
}

.content::-webkit-scrollbar {
  background: rgba(11, 11, 15, .08);
}

.content::-webkit-scrollbar-track {
  background: rgba(11, 11, 15, .08);
}

.content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--m2-shared-accent);
}

.content::-webkit-scrollbar-thumb:hover {
  background: #e4ff70;
}

.topbar {
  min-height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, .88);
  border-bottom-color: rgba(11, 11, 15, .1);
  box-shadow: 0 8px 24px rgba(11, 11, 15, .035);
  backdrop-filter: blur(18px);
}

.topbar strong,
.topbar span {
  color: var(--m2-shared-ink);
}

.topbar span {
  color: #777781;
}

.page-header {
  margin-bottom: 26px;
}

.page-header h1,
.students-page-header h1 {
  color: var(--m2-shared-ink);
  letter-spacing: -1px;
}

.page-header h1::after,
.students-page-header h1::after {
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 12px;
  background: var(--m2-shared-accent);
  content: '';
}

.page-header p,
.muted {
  color: #777781;
}

.metric-card,
.panel,
.settings-card,
.settings-panel,
.operational-form-panel,
.operational-list-panel,
.student-profile-panel,
.student-message-panel,
.leads-crm-panel,
.leads-attention-panel,
.reports-toolbar-panel,
.reports-delivery-panel,
.calendar-panel,
.goals-panel,
.followup-panel,
.journey-list-panel,
.modal-card {
  border-color: rgba(11, 11, 15, .1);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(11, 11, 15, .025), 0 14px 36px rgba(11, 11, 15, .055);
}

.metric-card,
.panel,
.settings-card,
.settings-panel,
.operational-form-panel,
.operational-list-panel,
.student-profile-panel,
.student-message-panel,
.leads-crm-panel,
.leads-attention-panel,
.reports-toolbar-panel,
.reports-delivery-panel,
.calendar-panel,
.goals-panel,
.followup-panel,
.journey-list-panel {
  background: rgba(255, 255, 255, .94);
}

.metric-card {
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 4px;
  background: var(--m2-shared-accent);
  content: '';
}

.metric-card span,
.panel-title p,
.metric-card small {
  color: #777781;
}

.metric-card strong {
  color: var(--m2-shared-ink);
}

.panel-title,
.settings-card > header,
.operational-form-panel > header,
.operational-list-panel > header {
  border-bottom-color: rgba(11, 11, 15, .1);
}

.panel h2,
.panel-title h2,
.settings-card h2,
.settings-panel h2 {
  color: var(--m2-shared-ink);
}

.button,
.table-action,
.settings-savebar button,
.form-actions button,
.page-actions button {
  border-radius: 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.button.primary,
.primary,
.page-actions .primary,
.form-actions .primary {
  border-color: var(--m2-shared-ink);
  background: var(--m2-shared-ink);
  color: #fff;
}

.button.primary:hover,
.primary:hover,
.page-actions .primary:hover,
.form-actions .primary:hover {
  background: var(--m2-shared-accent);
  border-color: var(--m2-shared-accent);
  box-shadow: 0 10px 20px rgba(179, 214, 34, .28);
  color: var(--m2-shared-ink);
  transform: translateY(-1px);
}

.button.secondary,
.secondary,
.table-action {
  border-color: rgba(11, 11, 15, .14);
  background: #fff;
  color: var(--m2-shared-ink);
}

.button.secondary:hover,
.secondary:hover,
.table-action:hover {
  border-color: var(--m2-shared-ink);
  box-shadow: 0 8px 18px rgba(11, 11, 15, .08);
  transform: translateY(-1px);
}

input,
select,
textarea,
.table-select {
  border-color: rgba(11, 11, 15, .13) !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--m2-shared-ink);
}

input:focus,
select:focus,
textarea:focus,
.table-select:focus {
  border-color: var(--m2-shared-accent) !important;
  box-shadow: 0 0 0 3px rgba(217, 255, 67, .24);
  outline: 0;
}

.status-line {
  border-radius: 12px;
  border-color: rgba(11, 11, 15, .1);
  box-shadow: 0 5px 14px rgba(11, 11, 15, .035);
}

.status-line.success {
  border-color: rgba(184, 220, 44, .55);
  background: #f7ffe0;
  color: #3d4d09;
}

.badge,
.placeholder > span {
  border-radius: 999px;
  background: var(--m2-shared-ink);
  color: #fff;
}

.m2-closing-reminder-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 145;
  display: grid;
  grid-template-columns: 44px minmax(230px, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(560px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid #303030;
  border-left: 4px solid var(--m2-accent, #c7fb29);
  background: #111;
  color: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .28);
}

.m2-closing-reminder-banner .m2-closing-reminder-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-color: var(--m2-accent, #c7fb29);
  background: #1a1a1a;
  color: var(--m2-accent, #c7fb29);
}

.m2-closing-reminder-banner .m2-closing-reminder-icon span {
  margin-top: 5px;
  color: #fff;
  font-size: 8px;
}

.m2-closing-reminder-banner .m2-closing-reminder-icon strong {
  margin-top: -3px;
  font-size: 21px;
}

.m2-closing-reminder-copy { display: grid; gap: 3px; min-width: 0; }
.m2-closing-reminder-copy .eyebrow { margin: 0; color: var(--m2-accent, #c7fb29); }
.m2-closing-reminder-copy > strong { font: 850 12px var(--font-ui); text-transform: uppercase; }
.m2-closing-reminder-copy > span { color: #b8b8b8; font-size: 10px; line-height: 1.45; }
.m2-closing-reminder-banner .button { min-height: 38px; white-space: nowrap; }

@media (max-width: 620px) {
  .m2-closing-reminder-banner { right: 12px; bottom: 12px; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; width: calc(100vw - 24px); padding: 12px; }
  .m2-closing-reminder-banner .m2-closing-reminder-icon { width: 40px; height: 40px; }
  .m2-closing-reminder-banner .button { grid-column: 1 / -1; width: 100%; }
}

.m2-closing-reminder-card {
  border-color: rgba(11, 11, 15, .1);
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(11, 11, 15, .045);
}

.agenda-day > header,
.schedule-card > header {
  background: var(--m2-shared-ink);
}

.agenda-day > header span,
.schedule-card > header span {
  background: var(--m2-shared-accent);
  color: var(--m2-shared-ink);
}

.settings-nav-item.active,
.settings-nav-item:hover {
  border-color: rgba(11, 11, 15, .1);
  background: #f7ffe0;
}

.settings-nav-item.active > span,
.settings-nav-item:hover > span {
  background: var(--m2-shared-accent);
  color: var(--m2-shared-ink);
}

.operational-table th,
.operational-table td,
table th,
table td {
  border-color: rgba(11, 11, 15, .09);
}

.operational-table th,
table th {
  background: #f3f3ee;
  color: #595963;
}

.operational-table tbody tr:hover,
table tbody tr:hover {
  background: #fbfce9;
}

.sidebar .nav-section-toggle:hover,
.sidebar .nav-section[data-open="true"] .nav-section-toggle {
  color: var(--m2-shared-accent) !important;
}

.sidebar .nav-subgroup {
  border-left-color: rgba(255, 255, 255, .14);
}

.auth-brand {
  background:
    radial-gradient(circle at 18% 12%, rgba(217, 255, 67, .16), transparent 22rem),
    linear-gradient(145deg, #111118, #07070a 72%);
}

.auth-card {
  border-radius: 20px;
  box-shadow: 0 24px 58px rgba(11, 11, 15, .11);
}

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

  .topbar {
    min-height: 64px;
    padding: 0 16px;
  }

  .metric-card,
  .panel,
  .settings-card,
  .settings-panel,
  .operational-form-panel,
  .operational-list-panel,
  .student-profile-panel,
  .student-message-panel,
  .leads-crm-panel,
  .leads-attention-panel,
  .reports-toolbar-panel,
  .reports-delivery-panel,
  .calendar-panel,
  .goals-panel,
  .followup-panel,
  .journey-list-panel {
    border-radius: 15px;
  }
}
