:root {
  color-scheme: light;
}
.sidebar {
  /* Sticky sidebar forms its own stacking context. Keep it above the workspace
     so the education submenu cannot be painted behind page cards. */
  z-index: 15;
  overflow: visible;
}
.app-education-nav {
  position: relative;
  z-index: 16;
  margin-bottom: 3px;
}
.app-education-nav > summary {
  position: relative;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 11px;
  color: #9fa7ba;
  font-size: 13px;
  list-style: none;
  cursor: pointer;
}
.app-education-nav > summary::-webkit-details-marker { display: none; }
.app-education-nav > summary i { width: 19px; font-size: 18px; font-style: normal; text-align: center; }
.app-education-nav > summary small { margin-left: auto; font-size: 13px; transition: transform .18s ease; }
.app-education-nav[open] > summary small { transform: rotate(180deg); }
.app-education-nav > summary:hover,
.app-education-nav[open] > summary,
.app-education-nav.active > summary { background: #273048; color: #fff; }
.app-education-nav.active > summary::before { content: ""; position: absolute; left: -18px; width: 3px; height: 20px; border-radius: 0 4px 4px 0; background: var(--lime); }
.app-education-nav > div {
  position: static;
  z-index: 17;
  width: auto;
  display: grid;
  gap: 4px;
  margin: 4px 0 7px 28px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: #202940;
  box-shadow: none;
}
.nav .app-education-nav > div button,
.app-education-nav > div a {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c2c8d5;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}
.nav .app-education-nav > div button:hover,
.app-education-nav > div a:hover { background: #303a54; color: #fff; }
select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .payment-choice{grid-template-columns:1fr}.upgrade-offer>div{align-items:flex-start;flex-direction:column}
  .sidebar:not(.open) .nav > button[data-page="ideas"],
  .sidebar:not(.open) .nav > button[data-page="community"],
  .sidebar:not(.open) .nav > button[data-page="admin"] { display: none; }
  .app-education-nav { margin: 0; }
  .app-education-nav > summary { height: 54px; min-height: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 0; font-size: 8px; }
  .app-education-nav > summary i { font-size: 18px; }
  .app-education-nav > summary small { display: none; }
  .app-education-nav.active > summary::before { left: 50%; top: -7px; width: 24px; height: 3px; transform: translateX(-50%); }
  .app-education-nav > div { position: fixed; top: auto; right: 12px; bottom: 76px; left: 12px; width: auto; border-color: rgba(255,255,255,.1); }
  .sidebar.open .app-education-nav { margin-bottom: 3px; }
  .sidebar.open .app-education-nav > summary { height: 44px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 12px; font-size: 12px; }
  .sidebar.open .app-education-nav > summary small { display: block; }
  .sidebar.open .app-education-nav.active > summary::before { left: -16px; top: auto; width: 3px; height: 20px; transform: none; }
  .sidebar.open .app-education-nav > div { position: static; width: auto; margin: 4px 0 7px 28px; box-shadow: none; }
}
.toast.error {
  background: #a92f36;
}
.bell b[hidden] {
  display: none;
}
.empty {
  width: 100%;
  padding: 34px 20px;
  color: var(--muted);
  text-align: center;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eff0f4;
  color: #626a7a;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-new {
  background: #eeecff;
  color: var(--violet);
}
.status-saved,
.status-planned {
  background: #fff4d9;
  color: #9a6500;
}
.status-contacted,
.status-negotiation,
.status-in_progress {
  background: #e4f6ff;
  color: #19749e;
}
.status-won,
.status-done,
.status-active {
  background: #e4f8e8;
  color: #2c8051;
}
.status-archived,
.status-hidden,
.status-lost,
.status-declined,
.status-blocked {
  background: #f3e8e8;
  color: #a04545;
}
.security-alert {
  width: 100%;
  margin: 24px 0 -10px;
  padding: 13px 16px;
  border: 1px solid #f2d47e;
  border-radius: 12px;
  background: #fff8e4;
  color: #7a5712;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}
.success-btn {
  border: 0;
  border-radius: 9px;
  background: #daf4e1;
  color: #246e45;
  font-weight: 800;
}
.outline {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}
.logout {
  min-height: 38px;
  padding: 0 15px;
}
.modal-wide {
  width: min(94vw, 760px);
}
.modal select {
  width: 100%;
  background: #fafbfc;
  font-size: 9px;
}
.modal form {
  display: grid;
  gap: 13px;
}
.modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lead-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 15px 0;
}
.lead-actions button {
  min-height: 40px;
  padding: 7px;
  font-size: 8px;
}
.article-body {
  margin: 12px 0 22px;
  padding: 18px;
  border-radius: 12px;
  background: #f6f7f9;
  color: #454d5d;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-line;
}
.result-area {
  min-height: 210px !important;
  margin-top: 14px;
  background: #f4f5f8 !important;
  color: #263047 !important;
  line-height: 1.6;
}
.tool-report {
  margin-top: 15px;
  padding: 18px;
  border-radius: 12px;
  background: #f1f8e4;
  font-size: 11px;
  line-height: 1.55;
}
.tool-report b {
  font-size: 18px;
}
.tool-report li {
  margin: 7px 0;
}
.search-results {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}
.search-results button {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
}
.search-results small {
  color: var(--violet);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.search-results b {
  font-size: 10px;
}
.notice-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px;
  border: 0;
  border-left: 3px solid var(--violet);
  border-radius: 8px;
  background: #f4f2ff;
  color: var(--ink);
  text-align: left;
}
.notice-item.read {
  border-left-color: #c7cad2;
  background: #f7f7f8;
  opacity: 0.72;
}
.notice-item small {
  color: var(--muted);
}
.community-request {
  margin-top: 14px;
  padding: 24px;
}
.community-request h2 {
  margin-top: 0;
}
.community-request p {
  color: var(--muted);
  font-size: 10px;
}
.community-request form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.community-request label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
}
.community-request input {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.community-request button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  padding: 0 14px;
}
.profile-single {
  margin-top: 15px;
  padding: 26px;
}
.profile-single > h2 {
  margin-top: 0;
}
.profile-single > p {
  color: var(--muted);
  font-size: 10px;
}
.subscription-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
  padding: 20px;
  border-radius: 12px;
  background: #171e31;
  color: #fff;
}
.subscription-card span {
  font-size: 11px;
}
.subscription-card strong {
  font-size: 18px;
}
.subscription-card small {
  grid-column: 1 / -1;
  color: #969dae;
}
.settings-form {
  display: grid;
  gap: 13px;
  max-width: 680px;
}
.settings-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}
.settings-form input,
.settings-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbfc;
}
.settings-form button {
  width: max-content;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
}
.warning-text {
  padding: 12px;
  border-radius: 8px;
  background: #fff4d9;
  color: #7a5712 !important;
}
.filters select,
.feed > header select,
.ideas-tools select {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 8px;
}
.filters > button.active {
  border-color: var(--violet);
  background: #eeecff;
  color: var(--violet);
}
.crm-summary {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 9px;
  margin: 0 0 12px;
}
.crm-summary button {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}
.crm-summary button:hover { border-color: #c9c2ff; background: #faf9ff; }
.crm-summary small { color: var(--muted); font-size: 9px; }
.crm-summary b { font-size: 24px; letter-spacing: -.04em; }
.crm-summary em { color: #5b4bdd; font-size: 8px; font-style: normal; }
.saved-lead-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 9px;
}
.saved-lead-filters > button {
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid #ded9ff;
  border-radius: 15px;
  background: #f4f2ff;
  color: #5947d4;
  font-size: 8px;
  font-weight: 750;
}
.saved-lead-filters .delete-filter {
  width: 27px;
  padding: 0;
  margin-left: -9px;
  border-color: transparent;
  background: transparent;
  color: #989dab;
}
.lead-crm-form {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8f9fb;
}
.lead-crm-form select {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.feed #lead-feed > .lead-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr 170px;
  gap: 18px;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
}
.lead-card .lead-score {
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 78%, transparent 80%),
    conic-gradient(var(--violet) 84%, #e8e9ed 0);
  font-size: 18px;
}
.lead-score small {
  font-size: 6px;
}
.lead-card .lead-copy {
  min-width: 0;
}
.lead-card .lead-copy > small {
  margin-left: 7px;
  color: var(--muted);
  font-size: 8px;
}
.lead-card h3 {
  margin: 9px 0 7px;
  font-size: 16px;
}
.lead-card p {
  max-width: 700px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}
.lead-card > strong {
  text-align: right;
  font-size: 12px;
}
.lead-card > button {
  grid-column: 3;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}
.lead-card > .save {
  margin-top: -50px;
}
.lead-card > .dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.lead-row .lead-copy > small {
  display: inline;
  margin-left: 7px;
  color: var(--muted);
}

.admin-head {
  align-items: flex-end;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 28px 0 18px;
}
.admin-metrics article {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.admin-metrics small {
  color: var(--muted);
  font-size: 9px;
}
.admin-metrics b {
  font-size: 22px;
}
.admin-tabs {
  gap: 6px;
  margin-bottom: 16px;
}
.admin-tabs button {
  padding: 0 12px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.admin-grid > .panel {
  padding: 22px;
}
.admin-grid h2 {
  margin-top: 0;
  font-size: 16px;
}
.admin-grid p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.admin-wide {
  grid-column: 1 / -1;
}
.funnel p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.funnel b {
  font-size: 18px;
}
.health-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  font-size: 10px;
}
.health-list span {
  color: #48a86e;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 12px;
}
.admin-toolbar h2 {
  margin: 0;
  font-size: 19px;
}
.admin-toolbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
}
.admin-toolbar > button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
}
.admin-table th {
  padding: 12px;
  background: #f8f9fb;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
}
.admin-table td {
  padding: 12px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table td b,
.admin-table td small {
  display: block;
}
.admin-table td small {
  max-width: 300px;
  margin-top: 4px;
  color: var(--muted);
}
.admin-table td button {
  min-height: 29px;
  margin: 2px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 8px;
}
.admin-table td .table-save {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.admin-table td .danger-link {
  color: #b53942;
}
.admin-lead-actions {
  min-width: 190px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.blacklist-toolbar,
.hidden-leads-toolbar {
  margin-top: 30px;
}
.blacklist-toolbar > b,
.hidden-leads-toolbar > b {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff0f1;
  color: #b53942;
  font-size: 12px;
}
.blacklist-table td:first-child b {
  color: #b53942;
}
.admin-blacklist-form {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 22px;
  margin: 0 0 16px;
  border: 1px solid var(--line, #e3e6ee);
  border-radius: 18px;
  background: #fff;
}
.admin-blacklist-form label {
  display: grid;
  flex: 1;
  gap: 7px;
  margin: 0;
}
.admin-blacklist-form label span {
  color: var(--muted, #737b8e);
  font-size: 13px;
  font-weight: 700;
}
.admin-blacklist-form input {
  width: 100%;
  min-height: 46px;
}
.admin-blacklist-form button {
  min-height: 46px;
  white-space: nowrap;
}
.admin-table select {
  min-width: 110px;
  font-size: 8px;
}
.admin-table code {
  color: var(--violet);
  font-size: 8px;
}
.secret-box {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dbd8ff;
  border-radius: 12px;
  background: #f5f4ff;
}
.secret-box label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 8px;
}
.secret-box input {
  width: 100%;
  min-height: 37px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-family: monospace;
  font-size: 9px;
}
.admin-grid pre {
  overflow: auto;
  padding: 14px;
  border-radius: 9px;
  background: #171e31;
  color: #e7eaff;
  font-size: 9px;
  line-height: 1.55;
}

.learner-homework {
  margin: 18px 0 8px;
  padding: 22px;
}
.learner-homework .section-head {
  margin: 0 0 13px;
}
.learner-homework .section-head > span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff3ce;
  color: #846014;
  font-size: 9px;
  font-weight: 800;
}
.homework-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.homework-strip > button {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafafd;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.homework-strip span b,
.homework-strip span small {
  display: block;
}
.homework-strip span b {
  font-size: 10px;
}
.homework-strip span small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}
.homework-strip p {
  grid-column: 1/-1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}
.homework-state {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eff0f4;
  color: #626a7a;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
.homework-state.pending,
.homework-state.submitted {
  background: #fff3ce;
  color: #846014;
}
.homework-state.approved {
  background: #e3f6e9;
  color: #23734a;
}
.homework-state.revision {
  background: #ffe8e4;
  color: #9b4035;
}
.academy-toolbar {
  margin-top: 0;
}
.academy-admin-nav {
  display: flex;
  gap: 7px;
  margin: 0 0 15px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.academy-admin-nav button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.academy-admin-nav button.active {
  background: #171e31;
  color: #fff;
}
.academy-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 13px;
}
.academy-kpis article {
  display: grid;
  gap: 6px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.academy-kpis article.attention {
  border-color: #f1d28a;
  background: #fffaf0;
}
.academy-kpis small {
  color: var(--muted);
  font-size: 9px;
}
.academy-kpis b {
  font-size: 24px;
}
.academy-kpis em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}
.learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.learning-grid > .panel {
  padding: 20px;
}
.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.panel-title small {
  color: var(--violet);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.panel-title h2 {
  margin: 3px 0 0;
  font-size: 17px;
}
.panel-title em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}
.usage-bars {
  display: grid;
  gap: 11px;
}
.usage-bars > div {
  display: grid;
  grid-template-columns: 90px 1fr 32px 45px;
  gap: 8px;
  align-items: center;
  font-size: 9px;
}
.usage-bars i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceef3;
}
.usage-bars i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), #9a85ff);
}
.usage-bars strong {
  text-align: right;
}
.usage-bars small {
  color: var(--muted);
  text-align: right;
  font-size: 8px;
}
.lesson-demand {
  display: grid;
  align-content: start;
}
.lesson-demand > div:not(.panel-title) {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.lesson-demand > div > b {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #efedff;
  color: var(--violet);
  font-size: 8px;
}
.lesson-demand span {
  font-size: 9px;
  font-weight: 700;
}
.lesson-demand span small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 400;
}
.lesson-demand strong,
.lesson-demand em {
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}
.lesson-demand em {
  color: var(--muted);
}
.mini-progress {
  width: 90px;
  height: 5px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceef3;
}
.mini-progress i {
  display: block;
  height: 100%;
  background: var(--violet);
}
.queue-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
}
.answer-preview {
  display: block;
  max-width: 310px;
  overflow: hidden;
  color: #434b5b;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-empty {
  padding: 25px;
  color: var(--muted);
  text-align: center;
}
.review-student {
  display: grid;
  gap: 3px;
  margin: -8px 0 18px;
  padding: 12px;
  border-radius: 10px;
  background: #f5f6f8;
}
.review-student small {
  color: var(--muted);
  font-size: 9px;
}
.review-assignment{padding:16px 18px;margin:0 0 22px;border:1px solid #dfe4ef;border-radius:12px;background:#f7f8fc}
.review-assignment small{display:block;color:#5451c9;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.review-assignment h3{margin:8px 0 5px;font-size:17px}
.review-assignment p{margin:0;color:var(--muted);white-space:pre-wrap;line-height:1.55}
.review-answer-list{display:grid;gap:10px;max-height:min(46vh,520px);overflow:auto;margin:0 0 22px}
.review-answer-row{padding:14px 17px;border:1px solid var(--line);border-radius:12px;background:#fff}
.review-answer-row b{display:block;margin-bottom:7px;color:var(--ink);font-size:13px;line-height:1.45}
.review-answer-row p{margin:0;color:#48546b;white-space:pre-wrap;line-height:1.55}
.submission-answer {
  max-height: 300px;
  overflow: auto;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafafd;
}
.submission-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  white-space: pre-wrap;
}
.submission-download {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 15px;
  border-radius: 10px;
  background: #eeebff;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}
.review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.review-actions button {
  min-height: 43px;
  border: 0;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 800;
}
.revision-btn {
  background: #fff0ed;
  color: #9b4035;
}
.approve-btn {
  background: #daf4e1;
  color: #246e45;
}
.admin-chat {
  display: grid;
  gap: 9px;
  max-height: 340px;
  overflow: auto;
  margin: 14px 0;
  padding: 4px;
}
.admin-chat-message {
  max-width: 84%;
  padding: 12px;
  border-radius: 12px 12px 12px 3px;
  background: #f1f2f5;
}
.admin-chat-message.mentor {
  justify-self: end;
  border-radius: 12px 12px 3px 12px;
  background: #eeebff;
}
.admin-message-topic {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 3px 6px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(102, 87, 246, 0.1);
  color: var(--violet);
  font-size: 8px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-chat-message b,
.admin-chat-message small {
  display: block;
  font-size: 9px;
}
.admin-chat-message p {
  margin: 5px 0;
  color: var(--ink);
  font-size: 11px;
  white-space: pre-wrap;
}
.admin-chat-message small {
  color: var(--muted);
  font-size: 8px;
}
.student-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0 22px;
}
.student-summary article {
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.student-summary b {
  font-size: 19px;
}
.student-summary small {
  color: var(--muted);
  font-size: 8px;
}
.student-favorite {
  margin: -8px 0 18px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f5f3ff;
  color: var(--muted);
  font-size: 9px;
}
.student-task-list {
  display: grid;
  gap: 7px;
}
.student-task-list button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
}
.student-task-list span b,
.student-task-list span small {
  display: block;
}
.student-task-list span b {
  font-size: 10px;
}
.student-task-list span small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}
.completed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.completed-chips span {
  padding: 6px 8px;
  border-radius: 8px;
  background: #edf8f0;
  color: #287148;
  font-size: 8px;
}

body.guest {
  min-height: 100vh;
  background: #131a2c;
}
body.guest .app-shell {
  display: block;
}
body.guest .sidebar,
body.guest .topbar {
  display: none;
}
body.guest .workspace {
  min-height: 100vh;
}
body.guest .content {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(35px, 7vw, 110px);
  align-items: center;
  padding: clamp(34px, 7vw, 90px);
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(102, 87, 246, 0.34),
      transparent 34%
    ),
    linear-gradient(135deg, #141b2d, #202842);
  color: #fff;
}
.auth-brand {
  position: absolute;
  top: 35px;
  left: clamp(34px, 7vw, 90px);
  display: flex;
  align-items: center;
  gap: 11px;
}
.auth-brand > span {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--lime);
  color: #141b2d;
  font-weight: 900;
}
.auth-brand b {
  letter-spacing: 0.14em;
}
.auth-brand small {
  display: block;
  margin-top: 3px;
  color: #939bad;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.auth-copy {
  max-width: 690px;
}
.auth-copy .eyebrow {
  color: #a8afbe;
}
.auth-copy h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.96;
}
.auth-copy h1 em {
  color: var(--lime);
  font-style: normal;
}
.auth-copy > p {
  max-width: 630px;
  color: #a8afbe;
  font-size: 14px;
  line-height: 1.7;
}
.auth-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  color: #d8dce5;
  font-size: 11px;
  list-style: none;
}
.auth-copy li::first-letter {
  color: var(--lime);
}
.auth-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  border-radius: 10px;
  background: #f1f2f5;
}
.auth-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}
.auth-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(22, 29, 45, 0.08);
}
.auth-card form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.auth-card h2 {
  margin: 0;
  font-size: 24px;
}
.auth-card form > p {
  margin: -7px 0 6px;
  color: var(--muted);
  font-size: 10px;
}
.auth-card label {
  display: grid;
  gap: 7px;
  color: #656d7d;
  font-size: 9px;
  font-weight: 700;
}
.auth-card input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbfc;
}
.auth-card button[type="submit"] {
  min-height: 46px;
  border: 0;
  border-radius: 9px;
}
.form-error {
  min-height: 15px;
  color: #b53942;
  font-size: 9px;
}

@media (max-width: 1100px) {
  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .feed #lead-feed > .lead-card {
    grid-template-columns: 65px 1fr;
  }
  .lead-card > strong {
    grid-column: 2;
    text-align: left;
  }
  .lead-card > button {
    grid-column: 2;
  }
  .lead-card > .save {
    margin-top: 0;
  }
  .academy-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .learning-grid {
    grid-template-columns: 1fr;
  }
  .homework-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .auth-page {
    grid-template-columns: 1fr;
    padding: 100px 20px 35px;
  }
  .auth-brand {
    top: 26px;
    left: 20px;
  }
  .auth-copy h1 {
    font-size: 42px;
  }
  .auth-copy > p,
  .auth-copy ul {
    display: none;
  }
  .auth-card {
    max-width: none;
    justify-self: stretch;
    padding: 22px;
  }
  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-wide {
    grid-column: auto;
  }
  .feed #lead-feed > .lead-card {
    grid-template-columns: 1fr;
    padding: 17px;
  }
  .lead-card .lead-score {
    display: none;
  }
  .lead-card > strong,
  .lead-card > button {
    grid-column: 1;
  }
  .community-request form {
    align-items: stretch;
    flex-direction: column;
  }
  .community-request button {
    width: 100%;
  }
  .modal .form-row,
  .lead-actions {
    grid-template-columns: 1fr;
  }
  .search-results button {
    grid-template-columns: 70px 1fr auto;
  }
  .academy-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .homework-strip {
    grid-template-columns: 1fr;
  }
  .usage-bars > div {
    grid-template-columns: 74px 1fr 26px;
  }
  .usage-bars small {
    display: none;
  }
  .lesson-demand > div:not(.panel-title) {
    grid-template-columns: 24px 1fr auto;
  }
  .lesson-demand em {
    display: none;
  }
  .student-summary {
    grid-template-columns: 1fr 1fr;
  }
  .review-actions {
    grid-template-columns: 1fr;
  }
}
.course-modules {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.course-module {
  border: 1px solid #e7e7ee;
  border-radius: 16px;
  padding: 15px;
  background: #fff;
}
.course-module header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.course-module h3 {
  margin: 0;
  font-size: 16px;
}
.course-module p {
  margin: 4px 0 0;
  color: #71717a;
  font-size: 13px;
}
.module-number {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #26194f;
  color: #fff;
  font-weight: 800;
}
.course-lessons {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.course-lesson {
  border-top: 1px solid #eee;
  padding-top: 11px;
}
.course-lesson h4 {
  margin: 6px 0;
  font-size: 14px;
}
.course-lesson label {
  font-size: 12px;
  color: #5d5d68;
  display: flex;
  gap: 6px;
  align-items: center;
}
.course-lesson a {
  display: block;
  color: #4429aa;
  font-size: 13px;
  text-decoration: none;
  margin: 5px 0;
}
.course-lesson a:hover {
  text-decoration: underline;
}
.course-lesson.done h4 {
  text-decoration: line-through;
  color: #777;
}
.lesson-material {
  color: #14724a !important;
}
.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0 0 22px;
  padding: 15px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(110deg, #cbff52, #ddff8d);
  color: #171b2f;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(121, 153, 40, 0.13);
}
.trial-banner span,
.trial-banner small {
  display: block;
}
.trial-banner small {
  margin-top: 3px;
  color: #55603a;
}
.trial-banner strong {
  white-space: nowrap;
}
.paywall {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 130px);
  padding: clamp(12px, 5vw, 64px);
  border-radius: 28px;
  background: radial-gradient(circle at 15% 20%, rgba(118, 89, 255, 0.22), transparent 35%), #11162a;
  color: #fff;
}
.paywall-copy h1 {
  margin: 12px 0 22px;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.paywall-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: #c3c7d5;
  font-size: 17px;
}
.paywall-copy ul {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.paywall-copy li {
  color: #e9ebf2;
}
.paywall-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: #fff;
  color: #161a2d;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.paywall-card > span,
.billing-heading small {
  color: #7659ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.paywall-card h2 {
  margin: 5px 0 16px;
  font-size: 32px;
}
.paywall-price {
  display: flex;
  align-items: end;
  gap: 8px;
}
.paywall-price b {
  font-size: 42px;
  line-height: 1;
}
.paywall-price small {
  color: #777b89;
}
.payment-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.payment-form .legal-check,
.auth-card .legal-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: #555a69;
  font-size: 12px;
  font-weight: 500;
}
.legal-check input {
  width: 17px !important;
  height: 17px;
  min-height: 17px !important;
  padding: 0 !important;
  margin: 1px 0 0;
  place-self: start;
  accent-color: #6657f6;
}
.payment-form .legal-check span,
.auth-card .legal-check span { line-height: 1.45; }
.legal-check a,
.billing-legal-links a {
  color: #5d40d3;
}
.payment-form button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
}
.payment-form > small {
  color: #7c8090;
  line-height: 1.45;
  text-align: center;
}
.payment-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px;padding:0;border:0}.payment-choice legend{grid-column:1/-1;margin-bottom:5px;font-size:12px;font-weight:850}.payment-choice label{position:relative;display:block}.payment-choice input{position:absolute;opacity:0;pointer-events:none}.payment-choice label>span{height:100%;display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}.payment-choice input:checked+span{border-color:var(--violet);background:#f2f0ff;box-shadow:0 0 0 2px rgba(107,92,246,.1)}.payment-choice b{font-size:11px}.payment-choice strong{font-size:16px}.payment-choice small{color:var(--muted);font-size:8px;line-height:1.45}.upgrade-offer{text-align:center}.upgrade-offer>small{color:var(--violet);font-size:9px;font-weight:850;letter-spacing:.12em}.upgrade-offer h2{margin:12px 0 10px}.upgrade-offer>p{margin-bottom:20px}.upgrade-offer>div{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:16px;border-radius:13px;background:#f3f1ff;text-align:left}.upgrade-offer>div b{font-size:24px}.upgrade-offer>div em{font-size:10px;font-style:normal}.upgrade-offer>div span{max-width:230px;color:var(--muted);font-size:9px;line-height:1.45}.upgrade-offer .lime-btn{width:100%}.upgrade-offer .text-button{margin-top:10px}
.billing-unavailable {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #fff5d9;
  color: #66531b;
}
.billing-unavailable p {
  margin: 5px 0 0;
}
.text-button {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #5d40d3;
  cursor: pointer;
}
.billing-profile {
  max-width: 840px;
}
.billing-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.billing-heading h2 {
  margin: 3px 0 8px;
}
.billing-heading > strong {
  color: #191d31;
  font-size: 30px;
}
.billing-heading > strong small {
  display: block;
  color: #7b7f8d;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.billing-status {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ebf8dc;
  color: #39751f;
  font-size: 12px;
}
.billing-status.expired,
.billing-status.past_due {
  background: #fff0e8;
  color: #a4411e;
}
.billing-legal-links {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  font-size: 13px;
}
.billing-admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.billing-admin-summary article {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid #e5e6ed;
  border-radius: 16px;
  background: #fff;
}
.billing-admin-summary small,
.billing-admin-summary em {
  color: #777c8d;
  font-size: 11px;
  font-style: normal;
}
.billing-admin-summary b {
  font-size: 22px;
}
.billing-admin-summary .ok { color: #318344; }
.billing-admin-summary .warn { color: #bd641e; }
.billing-readiness { margin-bottom: 24px; padding: 20px; }
.billing-readiness > header small { color: var(--violet); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.billing-readiness > header h2 { margin: 4px 0 16px; font-size: 20px; }
.billing-readiness > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 10px; }
.billing-readiness article { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; }
.billing-readiness article > i { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; font-style: normal; font-weight: 900; }
.billing-readiness article.ready > i { background: #e6f7e9; color: #318344; }
.billing-readiness article.pending > i { background: #fff0e8; color: #a4411e; }
.billing-readiness article b,
.billing-readiness article small { display: block; }
.billing-readiness article b { font-size: 10px; }
.billing-readiness article small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.billing-readiness > p { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10px; }
.billing-readiness > p code { color: var(--violet); }
.billing-readiness > p small { display: block; margin-top: 5px; color: var(--muted); }
.billing-preview-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.billing-demo-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 11px 14px;
  border: 1px solid #d9d3ff;
  border-radius: 12px;
  background: #f8f7ff;
  color: #52566a;
  font-size: 12px;
}
.billing-demo-notice b { color: #4935bc; }
.billing-demo-notice a { margin-left: auto; color: #4935bc; font-weight: 800; }
.admin-subscription-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 18px;
  padding: 20px 22px;
  border: 1px solid #e2ddff;
  border-radius: 18px;
  background: linear-gradient(120deg, #fbfaff, #f3f0ff);
}
.admin-subscription-preview small { color: #7659ff; font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.admin-subscription-preview h2 { margin: 5px 0; font-size: 20px; }
.admin-subscription-preview p { margin: 0; color: #6d7180; font-size: 13px; }
.admin-subscription-preview a { text-decoration: none; white-space: nowrap; }
.payment-state {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef0f5;
  font-size: 10px;
  font-weight: 850;
}
.payment-state.succeeded { background:#e8f8e7;color:#277138; }
.payment-state.canceled,
.payment-state.error { background:#fff0ea;color:#a64725; }
.payment-state.pending,
.payment-state.creating { background:#fff6db;color:#846512; }
.billing-table code {
  font-size: 10px;
  word-break: break-all;
}
.admin-log-sections { display: grid; gap: 22px; }
.admin-log-sections > section > h3 { margin: 0 0 10px; font-size: 16px; }
.pro-card {
  width: 100%;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.pro-card:hover {
  border-color: rgba(223,255,118,.42);
  background: linear-gradient(135deg,rgba(102,87,246,.3),rgba(223,255,118,.12));
  transform: translateY(-1px);
}
.subscription-tab-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e9f8e9;
  color: #287141;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
.subscription-tab-badge.trial { background: #efecff; color: #5d40d3; }
.subscription-tab-badge.attention { background: #fff0e8; color: #a4411e; }
.billing-profile { max-width: none; }
.subscription-hub {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.subscription-overview {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(270px,.7fr);
  gap: 24px 40px;
  align-items: center;
  padding: clamp(26px,4vw,42px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  background: radial-gradient(circle at 82% 15%,rgba(102,87,246,.3),transparent 33%),linear-gradient(145deg,#151b2e,#111627);
  color: #fff;
  box-shadow: 0 20px 60px rgba(20,26,46,.14);
}
.subscription-overview.active { box-shadow: inset 0 3px 0 #9fe06c,0 20px 60px rgba(20,26,46,.14); }
.subscription-overview.trial { box-shadow: inset 0 3px 0 #8c77ff,0 20px 60px rgba(20,26,46,.14); }
.subscription-overview.paused,
.subscription-overview.attention { box-shadow: inset 0 3px 0 #ff9b78,0 20px 60px rgba(20,26,46,.14); }
.subscription-plan {
  display: flex;
  align-items: center;
  gap: 17px;
}
.subscription-plan > i {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 17px;
  background: linear-gradient(135deg,#715dff,#937dff);
  color: var(--lime);
  font-size: 25px;
  font-style: normal;
  box-shadow: 0 12px 35px rgba(85,67,205,.38);
}
.subscription-plan small,
.subscription-info header small,
.subscription-history header small,
.subscription-included > div small,
.subscription-checkout > div small {
  color: #8d79ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.subscription-plan h2 {
  margin: 4px 0 5px;
  font-size: clamp(25px,3vw,38px);
  letter-spacing: -.045em;
}
.subscription-plan p {
  margin: 0;
  color: #aab1c2;
  font-size: 12px;
}
.subscription-state-card {
  display: grid;
  gap: 5px;
  justify-self: stretch;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(255,255,255,.07);
}
.subscription-state-card span {
  color: #b9f18f;
  font-size: 11px;
  font-weight: 800;
}
.trial .subscription-state-card span { color: #c1b7ff; }
.paused .subscription-state-card span,
.attention .subscription-state-card span { color: #ffb39a; }
.subscription-state-card strong { font-size: 13px; line-height: 1.4; }
.subscription-state-card small { color: #9199ad; font-size: 10px; }
.subscription-price b {
  display: block;
  font-size: 31px;
  letter-spacing: -.04em;
}
.subscription-price small { color: #9098aa; font-size: 10px; }
.subscription-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 7px;
}
.subscription-actions button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}
.subscription-primary-action {
  border: 0;
  background: var(--lime);
  color: #171c2d;
}
.subscription-cancel-action {
  min-width: 210px;
  border: 1px solid #ff9b96;
  background: #fff;
  color: #c84242;
  box-shadow: 0 8px 25px rgba(10,16,34,.2);
}
.subscription-cancel-action:hover { background: #fff1f0; }
.subscription-cancel-hint {
  color: #aab1c1;
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}
.subscription-alert {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid #ffd4c4;
  border-radius: 14px;
  background: #fff4ef;
  color: #7c371f;
}
.subscription-alert > i,
.cancel-dialog-warning > i {
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffe0d6;
  color: #c84e28;
  font-style: normal;
  font-weight: 900;
}
.subscription-alert b,
.subscription-alert small { display: block; }
.subscription-alert small { margin-top: 3px; color: #9b614d; font-size: 10px; }
.subscription-alert--neutral { border-color: #d8d2ff; background: #f5f2ff; color: #352d78; }
.subscription-alert--neutral > i { background: #e5e0ff; color: #6654e8; }
.subscription-alert--neutral small { color: #6d6885; }
.subscription-checkout {
  display: grid;
  grid-template-columns: minmax(240px,.8fr) minmax(350px,1.2fr);
  gap: 28px;
  align-items: start;
  padding: 26px;
}
.subscription-checkout h2 { margin: 6px 0 9px; font-size: 24px; }
.subscription-checkout p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.subscription-checkout .payment-form { margin-top: 0; }
.subscription-columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
}
.subscription-info > header,
.subscription-history > header {
  min-height: 78px;
  align-items: center;
}
.subscription-info header h2,
.subscription-history header h2 {
  margin-top: 5px;
  font-size: 18px;
}
.subscription-history header em {
  display: grid;
  place-items: center;
  min-width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #f0edff;
  color: #654be0;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.subscription-info-list { display: grid; padding: 6px 22px 18px; }
.subscription-info-list > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 65px;
  border-bottom: 1px solid #eceef2;
}
.subscription-info-list > div:last-child { border-bottom: 0; }
.subscription-info-list i,
.payment-history-row > i {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #efedff;
  color: #6550d9;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}
.subscription-info-list span small,
.subscription-info-list span b { display: block; }
.subscription-info-list span small { margin-bottom: 4px; color: #8a90a0; font-size: 9px; }
.subscription-info-list span b { color: #252b3d; font-size: 11px; line-height: 1.4; }
.payment-method-optout {
  width: max-content;
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #bd4545;
  font-size: 9px;
  font-weight: 750;
  text-align: left;
}
.payment-method-disabled {
  display: block;
  margin-top: 5px;
  color: #7b718f !important;
  font-size: 9px !important;
}
.direction-onboarding-modal { width: min(760px, calc(100vw - 28px)); max-height: min(760px, calc(100vh - 28px)); overflow-y: auto; }
.direction-onboarding header { display: flex; align-items: center; gap: 12px; }
.direction-onboarding header span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eeebff; color: #6654e8; font-weight: 900; }
.direction-onboarding header small { color: #858ca0; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.direction-onboarding h2 { margin: 22px 0 8px; font-size: 30px; }
.direction-onboarding > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.direction-role-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 22px; }
.direction-role-grid label { position: relative; cursor: pointer; }
.direction-role-grid input { position: absolute; opacity: 0; pointer-events: none; }
.direction-role-grid span { display: flex; min-height: 72px; flex-direction: column; justify-content: center; padding: 14px 16px; border: 1px solid #e1e4ec; border-radius: 14px; background: #fff; transition: .18s ease; }
.direction-role-grid b { color: #232a3d; font-size: 13px; }.direction-role-grid small { margin-top: 4px; color: #858ca0; font-size: 10px; line-height: 1.4; }
.direction-role-grid input:checked + span { border-color: #7764f5; background: #f3f1ff; box-shadow: inset 0 0 0 1px #7764f5; }
.direction-role-grid input:focus-visible + span { outline: 3px solid rgba(119,100,245,.22); }
.direction-onboarding-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e7e9ef; }
.direction-onboarding-footer > small { max-width: 350px; color: #858ca0; font-size: 10px; line-height: 1.45; }.direction-onboarding-footer button { min-width: 210px; }
.payment-history-list { display: grid; padding: 7px 22px 18px; }
.payment-history-row {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #eceef2;
}
.payment-history-row:last-child { border-bottom: 0; }
.payment-history-row span b,
.payment-history-row span small { display: block; }
.payment-history-row span b { font-size: 11px; }
.payment-history-row span small { margin-top: 4px; color: #9298a7; font-size: 9px; }
.payment-history-row > strong { font-size: 11px; }
.payment-history-status {
  grid-column: 2 / -1;
  justify-self: start;
  margin-top: -12px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff5db;
  color: #82620b;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}
.payment-history-status.succeeded { background: #e8f8e7; color: #277138; }
.payment-history-status.canceled,
.payment-history-status.error { background: #fff0ea; color: #a64725; }
.payment-history-empty {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}
.payment-history-empty i {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 13px;
  background: #efedff;
  color: #654be0;
  font-style: normal;
  font-weight: 850;
}
.payment-history-empty b { font-size: 12px; }
.payment-history-empty small { max-width: 280px; margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.subscription-included {
  display: grid;
  grid-template-columns: minmax(220px,.55fr) minmax(0,1.45fr);
  gap: 30px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.subscription-included h2 { margin: 5px 0 0; font-size: 20px; }
.subscription-included ul {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.subscription-included li { display: flex; gap: 9px; }
.subscription-included li > i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e9f8e9;
  color: #287141;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.subscription-included li b,
.subscription-included li small { display: block; }
.subscription-included li b { font-size: 10px; }
.subscription-included li small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.subscription-hub .billing-legal-links {
  align-items: center;
  margin: 2px 2px 0;
}
.subscription-hub .billing-legal-links span { margin-left: auto; color: var(--muted); font-size: 11px; }
.billing-cancel-modal { padding: 32px; }
.cancel-dialog-icon {
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: #fff0f0;
  color: #ec4545;
  font-size: 24px;
  font-weight: 900;
}
.cancel-dialog-heading { text-align: center; }
.cancel-dialog-heading > small {
  color: #7056ea;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.cancel-dialog-heading h2 { margin: 6px 0 7px; font-size: 28px; }
.cancel-dialog-heading p { max-width: 390px; margin: 0 auto 20px; color: #7b8190; font-size: 11px; }
.cancel-payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e8eaf0;
  border-radius: 13px;
  background: #fafbfc;
}
.cancel-payment-method > i {
  display: grid;
  place-items: center;
  width: 35px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #efedff;
  color: #6b50e4;
  font-style: normal;
}
.cancel-payment-method small,
.cancel-payment-method b { display: block; }
.cancel-payment-method small { margin-bottom: 3px; color: #8c92a0; font-size: 9px; }
.cancel-payment-method b { font-size: 11px; }
.cancel-dialog-warning {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 14px 16px;
  border: 1px solid #ffd8d2;
  border-radius: 13px;
  background: #fff6f4;
  color: #8a493e;
  font-size: 10px;
  line-height: 1.5;
}
.cancel-reason {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 7px !important;
  margin-top: 18px;
  color: #444b5c !important;
  font-size: 10px !important;
}
.cancel-reason > small { color: #9ca1ae; font-weight: 500; }
.cancel-reason select { grid-column: 1 / -1; min-height: 44px; }
.cancel-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.cancel-dialog-actions button { min-height: 46px; border-radius: 11px; font-size: 10px; font-weight: 850; }
.danger-button { border: 0; background: #ef4747; color: #fff; }
.danger-button:hover { background: #d93737; }
.danger-button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 900px) {
  .paywall { grid-template-columns: 1fr; }
  .billing-admin-summary { grid-template-columns: 1fr 1fr; }
  .billing-readiness > div { grid-template-columns: 1fr 1fr; }
  .subscription-overview,
  .subscription-columns,
  .subscription-checkout,
  .subscription-included { grid-template-columns: 1fr; }
  .subscription-included ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .trial-banner,
  .billing-heading { align-items: flex-start; flex-direction: column; }
  .trial-banner strong { white-space: normal; }
  .paywall { padding: 24px 18px; }
  .billing-admin-summary { grid-template-columns: 1fr; }
  .billing-readiness > div { grid-template-columns: 1fr; }
  .billing-legal-links { flex-direction: column; gap: 8px; }
  .subscription-overview { gap: 20px; padding: 23px 18px; }
  .subscription-state-card { justify-self: stretch; }
  .subscription-actions { align-items: stretch; justify-content: stretch; }
  .subscription-actions button { width: 100%; }
  .subscription-cancel-hint { text-align: left; }
  .subscription-price b { font-size: 27px; }
  .subscription-checkout { padding: 20px 16px; }
  .subscription-included ul { grid-template-columns: 1fr; }
  .subscription-hub .billing-legal-links { align-items: flex-start; }
  .subscription-hub .billing-legal-links span { margin-left: 0; }
  .billing-cancel-modal { padding: 29px 18px 20px; }
  .cancel-dialog-actions { grid-template-columns: 1fr; }
  .cancel-dialog-actions .danger-button { order: 2; }
  .subscription-tab-badge { display: none; }
}

/* 4.4 — launch polish: readability, touch targets and resilient mobile UI */
html { color-scheme: light; }
body {
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button,
a,
input,
textarea,
select { -webkit-tap-highlight-color: transparent; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(102,87,246,.3);
  outline-offset: 2px;
}
.sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar,
.tabs::-webkit-scrollbar,
.admin-table-wrap::-webkit-scrollbar,
.academy-admin-nav::-webkit-scrollbar { display: none; }
.tabs,
.admin-table-wrap,
.academy-admin-nav {
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.panel,
.feed,
.course-grid > article,
.article-grid article,
.tool-grid article,
.community-cards article,
.profile > aside,
.profile form {
  box-shadow: 0 8px 28px rgba(25,32,52,.035);
}
.metrics small { font-size: 10px; }
.metrics em { font-size: 9px; }
.panel header small,
.section-head small,
.course-grid > article > div > small,
.article-grid > article > small { font-size: 9px; }
.panel h2,
.lead-table h2 { font-size: 18px; }
.dark,
.lime-btn { min-height: 40px; font-size: 10px; }
.focus li b { font-size: 11px; }
.focus li small,
.focus > p { font-size: 9px; }
.lead-row h3 { font-size: 13px; }
.lead-row p,
.feed article div > small { font-size: 9px; }
.lead-row > strong { font-size: 12px; }
.open,
.lead-table > header button { font-size: 9.5px; }
.feature-course p { font-size: 12px; line-height: 1.55; }
.feature-course > div > small { font-size: 9px; }
.course-grid p { font-size: 10px; }
.course-grid h3 { font-size: 15px; }
.course-grid button,
.section-head button { font-size: 10px; }
.chips button { min-height: 34px; font-size: 10px; }
.article-grid h3 { font-size: 14px; }
.article-grid p,
.article-grid button { font-size: 10px; }
.filters > button,
.filters select,
.feed > header,
.feed > header select { font-size: 10px; }
.feed h2 { font-size: 17px; }
.feed p { font-size: 10.5px; }
.feed aside strong { font-size: 13px; }
.feed aside button { min-height: 36px; font-size: 10px; }
.tool-grid h2 { font-size: 17px; }
.tool-grid p { font-size: 10.5px; }
.tool-grid button { min-height: 40px; font-size: 10px; }
.suggest b { font-size: 12px; }
.suggest p,
.suggest button { font-size: 9.5px; }
.ideas-hero p { font-size: 11px; }
.ideas-tools button,
.ideas-list p { font-size: 9.5px; }
.ideas-list h2 { font-size: 15px; }
.ideas-list footer { font-size: 8.5px; }
.community-hero > p:nth-of-type(2) { font-size: 12px; }
.community-hero > small { font-size: 9px; }
.community-cards b { font-size: 13px; }
.community-cards p { font-size: 10px; }
.tabs button { min-height: 46px; font-size: 10.5px; white-space: nowrap; }
.profile aside p,
.profile aside label { font-size: 10px; }
.profile label,
.modal label { font-size: 10.5px; }
.profile input,
.profile textarea,
.modal input,
.modal textarea,
.modal select { font-size: 12px; }
.modal p { font-size: 12px; }
.quick button,
.notices b { font-size: 10.5px; }
.notices small,
.modal ul { font-size: 10px; }
.modal {
  overscroll-behavior: contain;
  max-height: min(90vh, calc(100dvh - 24px));
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a,
  .panel,
  .feed > article { transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease; }
  .course-grid > article:hover,
  .article-grid article:hover,
  .tool-grid article:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(25,32,52,.08); }
}
@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }
  body.menu-open::after {
    content: "";
    position: fixed;
    z-index: 9;
    inset: 0;
    background: rgba(7,12,25,.52);
    backdrop-filter: blur(2px);
  }
  .sidebar:not(.open) {
    height: calc(68px + env(safe-area-inset-bottom));
    padding-bottom: calc(7px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .sidebar.open {
    z-index: 10;
    overflow-y: auto;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    background: #141b2d !important;
    color: #fff !important;
  }
  .sidebar.open .brand { color: #fff; }
  .sidebar.open .brand small,
  .sidebar.open .profile-side small,
  .sidebar.open .pro-card small { color: #929bb0; }
  .sidebar.open .nav > p { color: #717b92; }
  .sidebar.open .nav button { color: #aeb6c8; }
  .sidebar.open .nav button:hover,
  .sidebar.open .nav button.active { background: #273048; color: #fff; }
  .sidebar.open .profile-side { color: #fff; }
  .app-shell { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .tabs { gap: 18px; }
  .admin-tabs,
  .academy-admin-nav { padding-bottom: 2px; }
  .filters > button,
  .filters select,
  .ideas-tools button,
  .course-grid button,
  .article-grid button,
  .tool-grid button { min-height: 42px; }
  .crm-summary {
    grid-template-columns: repeat(2,minmax(0,1fr));
    overflow: visible;
  }
  .crm-summary button:last-child { grid-column: 1 / -1; }
  .lead-crm-form { padding: 14px; }
  .lead-crm-form .form-row { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .content { padding: 34px 30px 70px; }
  .tempo,
  .page-head > b { display: none; }
  .welcome,
  .page-head { align-items: flex-start; }
  .welcome > div,
  .page-head > div { max-width: 100%; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metrics article:nth-child(n+3) { display: grid; }
  .metrics article { min-width: 0; }
  .metrics small { line-height: 1.25; }
}
@media (max-width: 340px) {
  .metrics { grid-template-columns: 1fr; }
}

/* Leads workspace v5.3: favorite and CRM stage are independent. */
.leads-head { min-height: 138px; }
.leads-head .online { color: #23865a; font-size: 13px; letter-spacing: 0; }
.leads-head .online small { max-width: 190px; margin-top: 5px; color: var(--muted); line-height: 1.35; text-align: right; }
.crm-summary { grid-template-columns: repeat(6,minmax(0,1fr)); }
.crm-summary button { position: relative; min-width: 0; }
.crm-summary button.active { border-color: #8072ff; background: #f2f0ff; box-shadow: inset 0 0 0 1px #8072ff; }
.crm-summary button.active::after { content: ""; position: absolute; right: 12px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.lead-toolbar { position: sticky; z-index: 3; top: 84px; box-shadow: 0 9px 28px rgba(24,32,52,.06); }
.lead-toolbar > button { white-space: nowrap; font-weight: 750; }
.lead-toolbar > button b { display: inline-grid; margin-left: 4px; }
.lead-toolbar select,
.feed > header select,
.lead-stage-control select { min-height: 38px; padding: 0 34px 0 11px; border: 1px solid var(--line); border-radius: 9px; background-color: #fff; color: var(--ink); font-weight: 650; }
.feed > header { min-height: 56px; font-size: 10px; }
.feed #lead-feed > .lead-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) 254px;
  gap: 30px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background-color .22s ease, box-shadow .22s ease;
}
.feed #lead-feed > .lead-card.unread {
  background: linear-gradient(90deg,#f8f6ff 0,#fcfbff 34%,#fff 72%);
  box-shadow: inset 0 0 0 1px rgba(113,91,255,.09);
}
.feed #lead-feed > .lead-card.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg,var(--violet),#9b8fff);
}
.lead-unread {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #dcd6ff;
  border-radius: 999px;
  background: #eeeaff;
  color: #5c49df !important;
  font-size: 9px !important;
  font-weight: 850;
}
.lead-unread > i,
.lead-unread-legend > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(113,91,255,.12);
}
.lead-unread-legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #6d628f;
}
.lead-unread-legend b { font-size: 9px; }
.lead-row { position: relative; transition: background-color .22s ease, box-shadow .22s ease; }
.lead-row.unread {
  background: linear-gradient(90deg,#f8f6ff,#fff 72%);
  box-shadow: inset 3px 0 0 #7866ff;
}
.lead-row .lead-unread { margin-right: 7px; }
.feed #lead-feed > .lead-card:last-child { border-bottom: 0; }
.lead-card-main { min-width: 0; }
.lead-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.lead-card-top > span { width: auto; margin: 0; }
.lead-match,
.lead-source { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; background: #eef7f1; color: #25734d !important; font-size: 9px !important; font-weight: 800; }
.lead-source { background: #f1f2f6; color: #687083 !important; font-weight: 700; }
.lead-category { display: block; margin: 18px 0 7px !important; color: #725dff !important; font-size: 9px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lead-card h3 { margin: 0 0 10px; font-size: clamp(18px,1.6vw,22px); line-height: 1.25; letter-spacing: -.025em; }
.lead-card .lead-excerpt { display: -webkit-box; max-width: 850px; margin: 0; overflow: hidden; color: #626a7b; font-size: 12px; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.lead-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
.lead-facts span { display: grid; grid-template-columns: 18px auto; column-gap: 5px; color: #7d8494; font-size: 10px; line-height: 1.35; }
.lead-facts i { grid-row: 1 / 3; color: #8b7cff; font-style: normal; }
.lead-facts b { color: #3d4556; font-size: 9px; }
.lead-card-side { display: flex; flex-direction: column; align-self: stretch; gap: 13px; padding-left: 24px; border-left: 1px solid #eceef2; }
.lead-budget { display: flex; flex-direction: column; gap: 3px; }
.lead-budget small,
.lead-stage-control > span { color: #8b92a1; font-size: 9px; font-weight: 750; }
.lead-budget strong { color: var(--ink); font-size: 16px; line-height: 1.25; text-align: left; }
.lead-budget em { color: #9aa0ad; font-size: 9px; font-style: normal; }
.lead-stage-control { display: grid; gap: 7px; }
.lead-stage-control select { width: 100%; }
.lead-next-action { margin: 0 !important; padding: 9px 10px; border-radius: 8px; background: #fff8e6; color: #725b22 !important; font-size: 9px !important; }
.lead-next-action b { display: block; margin-top: 2px; }
.lead-card-actions { display: grid; gap: 7px; margin-top: auto; }
.lead-card-actions button { width: 100%; min-height: 39px; margin: 0; border-radius: 9px; font-size: 10px; font-weight: 800; }
.favorite-button { min-height: 39px; padding: 0 12px; border: 1px solid #dfe1e7; border-radius: 9px; background: #fff; color: #606879; font-size: 10px; font-weight: 800; }
.favorite-button:hover { border-color: #bdb4ff; color: #5c49df; }
.favorite-button.saved { border-color: #d6d0ff; background: #f0edff; color: #5c49df; }
.lead-empty { display: grid; justify-items: center; padding: 64px 24px; text-align: center; }
.lead-empty i { display: grid; place-items: center; width: 52px; aspect-ratio: 1; margin-bottom: 14px; border-radius: 15px; background: #efedff; color: var(--violet); font-size: 24px; font-style: normal; }
.lead-empty b { font-size: 16px; }
.lead-empty p { max-width: 480px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.lead-modal { width: min(94vw,820px); padding: 34px; }
.lead-modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-right: 42px; }
.lead-modal-heading h2 { max-width: 590px; margin: 7px 0 0; font-size: clamp(25px,3vw,34px); line-height: 1.1; }
.lead-modal-heading .favorite-button { flex: 0 0 auto; }
.lead-modal-facts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.lead-modal-facts span { min-width: 0; padding: 12px; background: #f8f9fb; }
.lead-modal-facts small,
.lead-modal-facts b { display: block; overflow: hidden; text-overflow: ellipsis; }
.lead-modal-facts small { margin-bottom: 4px; color: #8b92a1; font-size: 8px; }
.lead-modal-facts b { font-size: 10px; line-height: 1.35; }
.lead-description { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.lead-description h3 { margin: 0 0 9px; font-size: 13px; }
.lead-description p { margin: 0; color: #4f586a; font-size: 12px; white-space: pre-line; }
.source-link { margin-top: 10px; }
.source-link-wrap { display: grid; gap: 7px; margin-top: 14px; text-align: center; }
.source-link-wrap .source-link { margin-top: 0; }
.source-link-wrap small { color: #858c9b; font-size: 9px; line-height: 1.4; }
.source-missing { margin: 10px 0 0; color: #979daa !important; font-size: 9px !important; text-align: center; }
.lead-workspace { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.lead-workspace-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.lead-workspace-head small { color: var(--violet); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.lead-workspace-head h3 { margin: 4px 0 0; font-size: 18px; }
.lead-workspace-head > span { color: #969caa; font-size: 9px; }
.lead-modal .lead-actions { grid-template-columns: 1fr 1fr; }
.lead-modal .lead-actions button { width: 100%; }
.lead-modal .lead-crm-form { margin-top: 12px; background: #f8f9fb; }

@media (max-width: 1220px) {
  .crm-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .feed #lead-feed > .lead-card { grid-template-columns: minmax(0,1fr) 225px; gap: 22px; padding: 23px; }
}
@media (max-width: 900px) {
  .lead-toolbar { position: static; grid-template-columns: 1fr 1fr; }
  .lead-toolbar label { grid-column: 1 / -1; }
  .lead-toolbar select { min-width: 0; }
  .feed #lead-feed > .lead-card { grid-template-columns: 1fr; }
  .feed .lead-card-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; padding: 18px 0 0; border-left: 0; border-top: 1px solid #eceef2; }
  .lead-card-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .lead-next-action { grid-column: 1 / -1; }
  .lead-modal-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .crm-summary { display: flex; margin-right: -15px; padding-right: 15px; overflow-x: auto; scroll-snap-type: x proximity; }
  .crm-summary button { flex: 0 0 142px; min-height: 78px; scroll-snap-align: start; }
  .crm-summary button:last-child { grid-column: auto; }
  .lead-toolbar { display: grid; grid-template-columns: 1fr; }
  .lead-toolbar label { grid-column: auto; }
  .feed > header { align-items: stretch; flex-direction: column; gap: 9px; padding: 13px 16px; }
  .lead-unread-legend { margin-left: 0; }
  .feed > header select { width: 100%; }
  .feed #lead-feed > .lead-card { gap: 20px; padding: 20px 16px 20px 20px; }
  .lead-card h3 { font-size: 18px; }
  .lead-card .lead-excerpt { font-size: 11px; -webkit-line-clamp: 4; }
  .feed .lead-card-side { grid-template-columns: 1fr; }
  .lead-card-actions { grid-column: auto; grid-template-columns: 1fr; }
  .lead-next-action { grid-column: auto; }
  .lead-modal { padding: 27px 18px; }
  .lead-modal-heading { display: grid; padding-right: 32px; }
  .lead-modal-heading .favorite-button { width: 100%; }
  .lead-modal-facts { grid-template-columns: 1fr 1fr; }
  .lead-modal-facts span:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lead-modal .lead-actions { grid-template-columns: 1fr; }
  .lead-workspace-head { align-items: flex-start; flex-direction: column; }
}

/* Daily focus: calculated from real activity, never manually checked. */
.focus-progress { height: 5px; margin: 0 25px 4px; overflow: hidden; border-radius: 999px; background: #ebeaf2; }
.focus-progress > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--violet),#8e80ff); transition: width .24s ease; }
.focus li > i { flex: 0 0 34px; display: grid; place-items: center; min-height: 30px; padding: 0 5px; border-radius: 9px; background: #efedff; color: var(--violet); font-size: 9px; font-style: normal; font-weight: 850; }
.focus li.done > i { background: #eaf8ee; color: #23865a; }

/* Vector 6.1 — progressive disclosure and a calmer daily workspace. */
.app-more-nav { position: relative; margin-bottom: 3px; }
.app-more-nav > summary { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 11px; color: #9fa7ba; font-size: 13px; list-style: none; cursor: pointer; }
.app-more-nav > summary::-webkit-details-marker { display: none; }
.app-more-nav > summary i { width: 19px; font-style: normal; text-align: center; }
.app-more-nav > summary small { margin-left: auto; transition: transform .18s ease; }
.app-more-nav[open] > summary small { transform: rotate(180deg); }
.app-more-nav > summary:hover,.app-more-nav[open] > summary,.app-more-nav.active > summary { background: #273048; color: #fff; }
.app-more-nav.active > summary::before { content: ""; position: absolute; left: -18px; width: 3px; height: 20px; border-radius: 0 4px 4px 0; background: var(--lime); }
.app-more-nav > div { display: grid; gap: 3px; margin: 4px 0 7px 28px; padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #202940; }
.nav .app-more-nav > div button { min-height: 38px; margin: 0; padding: 0 10px; font-size: 11px; }
.simple-home { display: grid; gap: 16px; }
.home-public-links{display:flex;align-items:center;gap:12px;margin-top:12px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fff}.home-public-links>div{flex:1;display:flex;flex-direction:column;gap:4px}.home-public-links small{color:var(--violet);font-size:8px;font-weight:800;letter-spacing:.08em}.home-public-links b{font-size:12px}.home-public-links span{color:var(--muted);font-size:8px}.home-public-links>a{padding:10px 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:8px;font-weight:800;text-decoration:none}
.autorenew-state{display:inline-flex;width:max-content;padding:6px 9px;border-radius:999px;font-size:8px;font-weight:850;white-space:nowrap}.autorenew-state.enabled{background:#e9f8ee;color:#23764c}.autorenew-state.disabled{background:#f1f2f5;color:#747b8b}
.simple-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 8px 2px 2px; }
.simple-home-head h1 { margin: 8px 0 6px; font-size: clamp(35px,4.2vw,58px); letter-spacing: -.055em; }
.simple-home-head p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.next-step-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 210px; padding: clamp(28px,4vw,52px); overflow: hidden; border-radius: 22px; background: linear-gradient(125deg,#171e31 0,#242653 100%); color: #fff; box-shadow: 0 22px 55px rgba(22,29,52,.14); }
.next-step-card small { color: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.continue-cards small { color: var(--violet); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.next-step-card h2 { max-width: 720px; margin: 10px 0 8px; font-size: clamp(28px,3.5vw,47px); letter-spacing: -.045em; }
.next-step-card p { margin: 0; color: #b7bdd0; font-size: 12px; }
.next-step-card .lime-btn { flex: 0 0 auto; min-width: 180px; }
.home-summary { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.home-summary button { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 16px 22px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; }
.home-summary button:last-child { border-right: 0; }
.home-summary button:hover { background: #faf9ff; }
.home-summary b { font-size: 24px; }
.home-summary span { color: var(--muted); font-size: 10px; }
.continue-grid .section-head { margin: 12px 0 14px; }
.priority-heading { align-items: end; }
.priority-heading h2 { margin-bottom: 5px; }
.priority-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.priority-heading > span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 9px; font-weight: 800; }
.continue-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.continue-cards article { position: relative; display: flex; flex-direction: column; min-height: 158px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.priority-number { position: absolute; top: 17px; right: 18px; color: #c8ccd7; font-size: 11px; font-weight: 900; }
.continue-cards h3 { margin: 12px 0 7px; font-size: 16px; line-height: 1.3; }
.continue-cards p { display: grid; gap: 3px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.continue-cards p b { color: var(--ink); font-weight: 800; }
.continue-cards button { align-self: flex-start; margin-top: 16px; padding: 10px 13px; border: 1px solid #dfdcff; border-radius: 9px; background: #f5f3ff; color: var(--violet); font-size: 9px; font-weight: 850; text-align: left; }
.continue-cards button:hover { border-color: var(--violet); background: var(--violet); color: #fff; }
.work-shortcuts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 16px 0 26px; }
.work-shortcuts > button { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; text-align: left; }
.work-shortcuts > button:hover { border-color: #cfc9ff; box-shadow: 0 12px 30px rgba(45,37,108,.07); }
.work-shortcuts i { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 12px; background: #efedff; color: var(--violet); font-style: normal; font-size: 18px; }
.work-shortcuts span,.work-shortcuts b,.work-shortcuts small { display: block; }
.work-shortcuts b { font-size: 12px; }
.work-shortcuts small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.lead-category-inline { color: #725dff !important; font-size: 9px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.lead-match-plain { margin: 0 !important; padding: 9px 10px; border-radius: 8px; background: #eef7f1; color: #25734d !important; font-size: 9px !important; font-weight: 800; }
.lead-card-actions { grid-template-columns: 42px minmax(0,1fr); align-items: end; }
.lead-card-actions .favorite-button { padding: 0; font-size: 15px; }
.lead-admin-menu { position: relative; }
.lead-admin-menu > summary { display: grid; place-items: center; width: 42px; min-height: 39px; border: 1px solid var(--line); border-radius: 9px; color: #7e8595; list-style: none; cursor: pointer; }
.lead-admin-menu > summary::-webkit-details-marker { display: none; }
.lead-admin-menu > div { position: absolute; z-index: 5; right: 0; top: calc(100% + 6px); width: 215px; display: grid; gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 18px 42px rgba(18,25,45,.16); }
.lead-admin-menu button { min-height: 36px; border: 0; border-radius: 7px; background: #f5f6f8; font-size: 9px; text-align: left; }

@media (max-width: 760px) {
  .home-public-links{align-items:stretch;flex-direction:column}.home-public-links>a{text-align:center}
  .sidebar:not(.open) .nav { grid-template-columns: repeat(5,1fr); }
  .sidebar:not(.open) .app-more-nav { margin: 0; }
  .sidebar:not(.open) .app-more-nav > summary { height: 54px; min-height: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 0; font-size: 8px; }
  .sidebar:not(.open) .app-more-nav > summary small { display: none; }
  .sidebar:not(.open) .app-more-nav.active > summary::before { left: 50%; top: -7px; width: 24px; height: 3px; transform: translateX(-50%); }
  .sidebar:not(.open) .app-more-nav > div { position: fixed; right: 12px; bottom: 76px; left: 12px; margin: 0; }
  .sidebar.open .app-more-nav > summary { min-height: 44px; }
  .simple-home-head { align-items: flex-start; flex-direction: column; }
  .next-step-card { align-items: flex-start; flex-direction: column; min-height: 260px; }
  .next-step-card .lime-btn { width: 100%; }
  .home-summary { grid-template-columns: 1fr; }
  .home-summary button { min-height: 64px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-summary button:last-child { border-bottom: 0; }
  .continue-cards,.work-shortcuts { grid-template-columns: 1fr; }
  .continue-cards article { min-height: 145px; }
  .lead-card-actions { grid-template-columns: 42px minmax(0,1fr) 42px; }
  .lead-admin-menu > div { right: -2px; }
}
.focus li > span { min-width: 0; flex: 1; }
.focus li > button { width: auto; min-width: 94px; min-height: 34px; padding: 0 10px; border: 1px solid #dedbea; border-radius: 9px; background: #fff; color: #5f53dc; font-size: 8px; font-weight: 800; white-space: nowrap; }
.focus li.done > button { border-color: #dfe7e2; background: #f4f8f5; color: #6d7a71; cursor: default; }
.focus li.done b { color: var(--ink); text-decoration: none; }

/* In-feed moderation is intentionally visible only to administrators. */
.lead-admin-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 2px; padding: 9px; border: 1px dashed #d8dbe4; border-radius: 10px; background: #f8f9fb; }
.lead-admin-quick > span { grid-column: 1 / -1; color: #858c9b; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.lead-admin-quick button { min-height: 32px; padding: 0 8px; border: 1px solid #dfe2e8; border-radius: 8px; background: #fff; color: #596174; font-size: 8px; font-weight: 800; }
.lead-admin-quick .danger-link { border-color: #f1caca; color: #bd3f3f; }

/* Ideas are discussions, not static counters. */
.ideas-list footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ideas-list footer button { min-height: 30px; padding: 0 10px; border: 1px solid #dedbea; border-radius: 8px; background: #f6f5ff; color: #5b4bdd; font-size: 8.5px; font-weight: 800; }
.idea-modal { width: min(94vw,760px); }
.idea-dialog-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.idea-dialog-meta span { padding: 7px 10px; border-radius: 999px; background: #f1efff; color: #5c4ede; font-size: 9px; font-weight: 800; }
.idea-comments { padding-top: 22px; border-top: 1px solid var(--line); }
.idea-comments-head { display: flex; align-items: center; justify-content: space-between; }
.idea-comments-head h3 { margin: 0; font-size: 16px; }
.idea-comments-head span { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 8px; background: #efedff; color: var(--violet); font-size: 9px; font-weight: 850; }
.idea-comments-list { display: grid; gap: 9px; margin: 14px 0 18px; }
.idea-comment { padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; }
.idea-comment header { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.idea-comment header b { font-size: 10px; }
.idea-comment header em { padding: 4px 6px; border-radius: 6px; background: #e9f8ee; color: #23744c; font-size: 7px; font-style: normal; font-weight: 850; }
.idea-comment header small { margin-left: auto; color: #949baa; font-size: 8px; }
.idea-comment p { margin: 8px 0 0; white-space: pre-wrap; }
.idea-comments-empty { padding: 22px; border: 1px dashed #dfe1e8; border-radius: 12px; text-align: center; }
.idea-comments-empty b { font-size: 11px; }
.idea-comments-empty p { margin: 6px 0 0; }
.idea-comments form { display: grid; gap: 10px; }
.idea-comments form button { justify-self: end; min-height: 40px; padding: 0 18px; border: 0; border-radius: 10px; }

@media (max-width: 900px) {
  .lead-admin-quick { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .focus li { align-items: flex-start; flex-wrap: wrap; }
  .focus li > button { width: 100%; margin-left: 45px; }
  .focus-progress { margin-inline: 17px; }
  .lead-admin-quick { grid-template-columns: 1fr; }
  .lead-admin-quick > span { grid-column: auto; }
  .ideas-list footer { align-items: flex-start; flex-direction: column; }
  .ideas-list footer button { width: 100%; }
  .idea-comment header small { width: 100%; margin-left: 0; }
  .idea-comments form button { width: 100%; }
}

.privacy-hint { margin: -2px 0 3px !important; color: #7c8393 !important; font-size: 9px !important; line-height: 1.45 !important; }
.privacy-hint a { color: #5d4ade; }

/* Personal lead directions and compact feed pagination. */
.lead-direction-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}
.lead-direction-head span { display: grid; gap: 4px; }
.lead-direction-head b { font-size: 12px; }
.lead-direction-head small { color: var(--muted); font-size: 9px; }
.lead-direction-head em {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eeebff;
  color: #5949d9;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
.multi-chips button { transition: border-color .18s ease, background .18s ease, color .18s ease; }
.multi-chips button.active::before { content: "✓"; margin-right: 5px; color: var(--lime); }
.lead-feed-more {
  display: grid;
  place-items: center;
  padding: 22px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}
.lead-feed-more button {
  min-width: 230px;
  min-height: 46px;
  padding: 8px 18px;
  border: 1px solid #dcd8ff;
  border-radius: 11px;
  background: #f1efff;
  color: #5849d8;
  font-size: 10px;
  font-weight: 850;
}
.lead-feed-more small { display: block; margin-top: 3px; color: #858b9a; font-size: 8px; font-weight: 500; }
.leads-head .online strong { color: var(--ink); font-size: 31px; line-height: 1; }

/* Current learners: only real accounts with active access are shown here. */
.student-toolbar { align-items: flex-end; }
.student-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 285px);
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #8e95a4;
  font-size: 15px;
}
.student-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
}
.student-access {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eeebff;
  color: #5849d6;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}
.student-access.paid { background: #e9f8ee; color: #21734b; }
.student-access.leads_only { background: #eaf4ff; color: #276da6; }
.student-table tr[hidden] { display: none; }
.profile-tour-link {
  width: 100%;
  min-height: 39px;
  margin-top: 15px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.profile-tour-link:hover { background: rgba(255,255,255,.15); }

/* Guided product tour for new users. */
.onboarding-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.onboarding-spotlight {
  position: fixed;
  z-index: 1001;
  border: 2px solid #d8ff63;
  border-radius: 18px;
  box-shadow: 0 0 0 9999px rgba(12,18,36,.72), 0 0 0 6px rgba(216,255,99,.18), 0 18px 60px rgba(10,15,29,.26);
  transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease;
}
.onboarding-card {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1002;
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: linear-gradient(145deg,#161e34,#11182b);
  box-shadow: 0 24px 80px rgba(3,8,20,.4);
  color: #fff;
  pointer-events: auto;
}
.onboarding-card header { display: flex; align-items: center; gap: 11px; }
.onboarding-card header span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #d8ff63;
  color: #152031;
  font-size: 11px;
  font-weight: 900;
}
.onboarding-card header small { color: #adb6ca; font-size: 9px; font-weight: 750; letter-spacing: .04em; }
.onboarding-card h2 { margin: 21px 0 8px; color: #fff; font-size: 25px; line-height: 1.12; }
.onboarding-card > p { margin: 0; color: #c5ccda; font-size: 11px; line-height: 1.65; }
.onboarding-progress { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; margin: 22px 0; }
.onboarding-progress i { height: 4px; border-radius: 99px; background: rgba(255,255,255,.13); }
.onboarding-progress i.active { background: #d8ff63; }
.onboarding-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.onboarding-card footer > div { display: flex; gap: 7px; }
.onboarding-card footer button { min-height: 39px; padding: 0 14px; border-radius: 10px; font-size: 9px; font-weight: 850; }
.onboarding-skip { padding-left: 0 !important; border: 0; background: transparent; color: #aab3c6; }
.onboarding-back { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; }
.onboarding-next { border: 1px solid #d8ff63; background: #d8ff63; color: #152031; }

@media (max-width: 700px) {
  .admin-blacklist-form { align-items: stretch; flex-direction: column; padding: 16px; }
  .admin-blacklist-form button { width: 100%; white-space: normal; }
  .priority-heading { align-items: flex-start; }
  .priority-heading > span { align-self: flex-start; }
  .direction-onboarding-modal { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 21px 16px; }
  .direction-onboarding h2 { font-size: 25px; }
  .direction-role-grid { grid-template-columns: 1fr; }
  .direction-role-grid span { min-height: 64px; }
  .direction-onboarding-footer { align-items: stretch; flex-direction: column; }
  .direction-onboarding-footer button { width: 100%; min-width: 0; }
  .lead-direction-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .lead-feed-more button { width: 100%; min-width: 0; }
  .student-toolbar { align-items: stretch; flex-direction: column; }
  .student-search { width: 100%; }
  .onboarding-card { right: 14px; bottom: 82px; width: calc(100vw - 28px); padding: 19px; border-radius: 17px; }
  .onboarding-card h2 { font-size: 21px; }
  .onboarding-card footer { align-items: stretch; flex-direction: column-reverse; }
  .onboarding-card footer > div { display: grid; grid-template-columns: 1fr 1.4fr; }
  .onboarding-card footer > div > button:only-child { grid-column: 1 / -1; }
  .onboarding-skip { align-self: flex-start; min-height: 28px !important; }
}
