/* NB School — Mando Avance (Muriel tokens) */
#view-nbschool {
  --school-amber: #8A5300;
  --school-red: #B42318;
  --school-tfoot-bg: #FBFAF8;
  --school-row-selected: #F6F5F1;
  max-width: 1048px;
  margin: 0 auto;
  padding: 0 16px 32px;
}
html[data-theme="dark"] #view-nbschool {
  --school-amber: #F2B544;
  --school-red: #F97066;
  --school-tfoot-bg: #1A1A1C;
  --school-row-selected: #1C1C1E;
}
.nbschool-dialog-backdrop,
.nbschool-popover,
.nbschool-toast-host {
  --school-amber: #8A5300;
  --school-red: #B42318;
  --school-tfoot-bg: #FBFAF8;
  --school-row-selected: #F6F5F1;
}
html[data-theme="dark"] .nbschool-dialog-backdrop,
html[data-theme="dark"] .nbschool-popover,
html[data-theme="dark"] .nbschool-toast-host {
  --school-amber: #F2B544;
  --school-red: #F97066;
  --school-tfoot-bg: #1A1A1C;
  --school-row-selected: #1C1C1E;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nbschool-head h1 {
  font-size: 20px;
  font-weight: 650;
  margin: 16px 0 4px;
  color: var(--ink);
}
.nbschool-head .sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.nbschool-subtabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 16px;
}
.nbschool-subtab {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}
.nbschool-subtab.active { color: var(--ink); }
.nbschool-subtab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  transition: transform 200ms ease;
}
.nbschool-subtab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.nbschool-scope-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  margin-bottom: 8px;
}
.nbschool-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.nbschool-toolbar .btn-secondary,
.nbschool-contenido-btn-sm,
.nbschool-bulk-bar .btn-primary,
.nbschool-dialog-footer .btn-primary,
.nbschool-dialog-footer .btn-secondary,
.nbschool-popover .actions .btn-primary,
.nbschool-popover .actions .btn-secondary,
.nbschool-sheet-footer .btn-primary,
.nbschool-sheet-footer .btn-secondary,
.nbschool-persona-header .btn-primary,
.nbschool-persona-header .btn-secondary,
#nbschool-back-matrix {
  flex: 0 0 auto;
  width: auto;
  padding: 8px 14px;
  font-size: 13px;
}
/* Ink primary (dialog mounts on body; bulk/persona stay in #view-nbschool) */
.nbschool-dialog-backdrop .btn-primary,
.nbschool-dialog .btn-primary,
#view-nbschool .btn-primary,
#view-nbschool .nbschool-sheet-footer .btn-primary,
#view-nbschool .nbschool-bulk-bar .btn-primary,
#view-nbschool .nbschool-persona-header .btn-primary,
.nbschool-popover .actions .btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.nbschool-dialog-backdrop .btn-primary:hover,
.nbschool-dialog .btn-primary:hover,
#view-nbschool .btn-primary:hover,
#view-nbschool .nbschool-sheet-footer .btn-primary:hover,
#view-nbschool .nbschool-bulk-bar .btn-primary:hover,
#view-nbschool .nbschool-persona-header .btn-primary:hover,
.nbschool-popover .actions .btn-primary:hover,
.nbschool-dialog-backdrop .btn-primary:focus-visible,
.nbschool-dialog .btn-primary:focus-visible,
#view-nbschool .btn-primary:focus-visible,
#view-nbschool .nbschool-sheet-footer .btn-primary:focus-visible,
#view-nbschool .nbschool-bulk-bar .btn-primary:focus-visible,
#view-nbschool .nbschool-persona-header .btn-primary:focus-visible,
.nbschool-popover .actions .btn-primary:focus-visible {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  filter: brightness(1.06);
}
.nbschool-dialog-backdrop .btn-primary:disabled,
.nbschool-dialog .btn-primary:disabled,
#view-nbschool .btn-primary:disabled,
#view-nbschool .nbschool-sheet-footer .btn-primary:disabled,
#view-nbschool .nbschool-bulk-bar .btn-primary:disabled,
#view-nbschool .nbschool-persona-header .btn-primary:disabled,
.nbschool-popover .actions .btn-primary:disabled {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
}
.nbschool-toolbar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nbschool-filter-chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--muted);
}
.nbschool-search {
  width: 200px;
  position: relative;
}
.nbschool-search input {
  width: 100%;
  height: 32px;
  font-size: 13px;
  padding: 0 10px 0 30px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
}
.nbschool-search svg {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.nbschool-bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.nbschool-summary {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.nbschool-summary strong { color: var(--ink); font-weight: 650; }
.nbschool-summary .vencido { color: var(--school-red); }
.nbschool-summary .repaso { color: var(--school-amber); }
.nbschool-matrix-wrap {
  overflow: auto;
  max-height: calc(100vh - 280px);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.nbschool-matrix {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  min-width: 920px;
  width: 100%;
}
.nbschool-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 48px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  vertical-align: bottom;
  padding: 6px 8px;
}
.nbschool-matrix tfoot th,
.nbschool-matrix tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: var(--school-tfoot-bg);
  border-top: 1px solid var(--hairline);
  font-size: 11px;
  padding: 8px;
  font-variant-numeric: tabular-nums;
}
.nbschool-matrix .col-check {
  position: sticky;
  left: 0;
  z-index: 4;
  width: 40px;
  background: var(--surface);
}
.nbschool-matrix .col-person {
  position: sticky;
  left: 40px;
  z-index: 4;
  width: 184px;
  background: var(--surface);
  border-right: 1px solid var(--hairline);
}
.nbschool-matrix thead .col-check,
.nbschool-matrix thead .col-person {
  z-index: 5;
  background: var(--surface);
}
.nbschool-matrix tfoot .col-check,
.nbschool-matrix tfoot .col-person {
  z-index: 5;
  background: var(--school-tfoot-bg);
}
.nbschool-matrix td {
  height: 44px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
  font-size: 13px;
}
.nbschool-matrix tr.selected td {
  background: var(--school-row-selected);
}
.nbschool-matrix tr.selected .col-check,
.nbschool-matrix tr.selected .col-person {
  background: var(--school-row-selected);
}
.nbschool-person-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nbschool-person-meta {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nbschool-person-chip-row {
  margin-top: 2px;
}
.nbschool-area-tag,
.nbschool-convenio-chip {
  display: inline-block;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  margin-top: 2px;
  margin-right: 4px;
}
.nbschool-convenio-chip {
  color: var(--muted);
  background: transparent;
}
.nbschool-mod-head { text-align: center; }
.nbschool-mod-num {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-bottom: 2px;
}
.nbschool-cell-blocked {
  display: block;
  padding: 4px 0;
  color: var(--muted);
}
.nbschool-cell-btn {
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.nbschool-cell-btn:hover { background: rgba(20, 20, 19, 0.04); }
html[data-theme="dark"] .nbschool-cell-btn:hover { background: rgba(255, 255, 255, 0.06); }
.nbschool-cell-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.nbschool-cell-val {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.nbschool-cell-meta {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.nbschool-cell.repaso .nbschool-cell-val { color: var(--school-amber); }
.nbschool-cell.vencido .nbschool-cell-val { color: var(--school-red); }
.nbschool-old-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
  margin-left: 4px;
  vertical-align: middle;
}
.nbschool-col-pct {
  border-left: 1px solid var(--hairline);
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.nbschool-foot-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}
.nbschool-foot-stack .muted { font-size: 11px; font-weight: 400; }
.nbschool-legend {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.nbschool-lider-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.nbschool-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}
.nbschool-sheet.open { pointer-events: auto; }
.nbschool-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 200ms ease;
}
.nbschool-sheet.open .nbschool-sheet-backdrop { opacity: 1; }
.nbschool-sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 100%;
  height: 100%;
  background: var(--elevated);
  border-left: 1px solid var(--hairline);
  transform: translateX(100%);
  transition: transform 280ms ease-out;
  display: flex;
  flex-direction: column;
}
.nbschool-sheet.open .nbschool-sheet-panel { transform: translateX(0); }
.nbschool-sheet-hd {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 650;
  border-bottom: 1px solid var(--hairline);
}
.nbschool-sheet-close {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
}
.nbschool-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 12px 16px;
}
.nbschool-sheet-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--hairline);
  background: var(--elevated);
}
.nbschool-filter-legend {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 12px 0 6px;
}
.nbschool-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  font-size: 13px;
}
.nbschool-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.nbschool-dialog {
  position: relative;
  width: 520px;
  max-width: 100%;
  background: var(--elevated);
  border-radius: 10px;
  border: 1px solid var(--hairline);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 24px;
}
.nbschool-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
}
.nbschool-dialog h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 4px;
  padding-right: 24px;
}
.nbschool-dialog .sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.nbschool-dialog .form-label {
  text-transform: none;
  letter-spacing: 0;
}
.nbschool-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.nbschool-preview-box {
  border: 1px dashed var(--hairline);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
  margin: 12px 0;
}
.nbschool-person-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nbschool-person-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.nbschool-popover {
  position: fixed;
  z-index: 1250;
  width: 300px;
  padding: 12px 16px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  font-size: 13px;
}
.nbschool-popover-title {
  font-weight: 650;
  font-size: 13px;
  margin-bottom: 4px;
}
.nbschool-popover .actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.nbschool-empty {
  text-align: center;
  padding: 64px 16px;
}
.nbschool-empty h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
}
.nbschool-persona-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}
@media (max-width: 900px) {
  .nbschool-persona-grid { grid-template-columns: 1fr; }
}
.nbschool-panel {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
  padding: 12px 16px;
}
.nbschool-big-num {
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.nbschool-segbar {
  display: flex;
  gap: 4px;
  margin: 12px 0;
}
.nbschool-segbar span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  border: 1px solid var(--hairline);
  background: transparent;
}
.nbschool-segbar span.aprobado { background: var(--ink); border-color: var(--ink); }
.nbschool-segbar span.repaso { background: var(--school-amber); border-color: var(--school-amber); }
.nbschool-segbar span.vencido { background: var(--school-red); border-color: var(--school-red); }
.nbschool-perfil-card {
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
}
.nbschool-perfil-card a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}
.nbschool-char-count {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.nbschool-breadcrumb {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 8px;
}
.nbschool-module-block {
  margin-bottom: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}
.nbschool-attempt-line {
  font-size: 11px;
  margin-top: 4px;
}
.nbschool-toast-host {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.nbschool-toast {
  background: var(--elevated);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 10px 16px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.nbschool-toast.show {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .nbschool-subtab.active::after,
  .nbschool-sheet-backdrop,
  .nbschool-sheet-panel,
  .nbschool-toast {
    transition: none;
  }
}
/* NB School Contenido (Delivery 2) — appended via school-admin.css import block at EOF */
.nbschool-contenido-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 12px;
  min-height: 40px;
}
.nbschool-contenido-lead {
  font-size: 13px;
  color: var(--muted);
  flex: 1 1 auto;
}
.nbschool-contenido-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--surface);
}
.nbschool-contenido-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
}
.nbschool-contenido-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 13px;
}
.nbschool-contenido-table th,
.nbschool-contenido-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}
.nbschool-contenido-table td.col-order,
.nbschool-contenido-table th:nth-child(1) {
  white-space: nowrap;
}
.nbschool-contenido-table thead th {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  height: 40px;
  background: var(--surface);
  text-align: left;
}
.nbschool-contenido-table thead th.col-repaso {
  text-align: center;
}
.nbschool-contenido-table thead th.col-actions {
  text-align: right;
}
.nbschool-contenido-table col.col-repaso {
  width: 132px;
}
.nbschool-contenido-table col.col-actions {
  width: 1%;
}
.nbschool-contenido-table .col-repaso {
  width: 132px;
  min-width: 132px;
  max-width: 132px;
  text-align: center;
  white-space: normal;
  vertical-align: middle;
  box-sizing: border-box;
}
.nbschool-contenido-table .col-repaso .nbschool-ink-switch {
  margin: 0 auto;
  display: block;
}
.nbschool-contenido-table .col-order {
  text-align: right;
  width: 56px;
  font-variant-numeric: tabular-nums;
}
.nbschool-contenido-table .col-actions {
  text-align: right;
  width: 1%;
  white-space: nowrap;
}
.nbschool-contenido-table tr.is-retired td {
  color: var(--muted);
}
.nbschool-contenido-table tr.is-retired .col-order {
  color: var(--muted);
}
.nbschool-mod-meta {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.nbschool-linkish {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.nbschool-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
}
.nbschool-chip-publicado::before,
.nbschool-chip-borrador::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
}
.nbschool-chip-publicado::before { background: var(--ink); }
.nbschool-chip-borrador::before {
  border: 1.5px solid var(--muted);
  background: transparent;
}
.nbschool-chip-actual {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.nbschool-contenido-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
}
.nbschool-contenido-btn-sm {
  padding: 0 10px;
  font-size: 12px;
  margin-left: 0;
  height: 32px;
  min-height: 32px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nbschool-contenido-more-btn {
  width: 32px;
  min-width: 32px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}
.nbschool-contenido-legend {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.nbschool-contenido-version-list {
  margin-top: 24px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
}
.nbschool-contenido-version-row {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}
.nbschool-contenido-version-row.is-current {
  background: var(--school-row-selected);
}
.nbschool-contenido-version-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.nbschool-contenido-version-num {
  font-size: 15px;
  font-weight: 650;
  width: 28px;
}
.nbschool-contenido-version-note {
  font-size: 13px;
  margin-left: 36px;
  margin-top: 4px;
}
.nbschool-contenido-version-aud {
  font-size: 11px;
  color: var(--muted);
  margin-left: 36px;
  margin-top: 4px;
}
.nbschool-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 72px;
}
.nbschool-editor-card {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 16px 24px 8px;
  background: var(--surface);
}
.nbschool-editor-card h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 12px;
}
.nbschool-savebar {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  z-index: var(--z-sticky, 100);
}
.nbschool-savebar-pending {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--school-red);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-right: auto;
}
.nbschool-publicar-consequence {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(242, 181, 68, 0.15);
  font-size: 13px;
  color: var(--ink);
}
.nbschool-dialog-publicar {
  max-width: 520px;
}
.nbschool-dialog-retirar {
  max-width: 440px;
}
.nbschool-ink-switch {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--muted);
  background: transparent;
  position: relative;
  cursor: pointer;
}
.nbschool-ink-switch:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.nbschool-ink-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--muted);
  transition: transform 150ms;
}
.nbschool-ink-switch:checked::after {
  transform: translateX(16px);
  background: var(--bg);
}
.nbschool-ink-switch:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.nbschool-dialog .btn-secondary.nbschool-btn-danger,
html.mando-authed .nbschool-dialog .btn-secondary.nbschool-btn-danger {
  color: var(--school-red);
  border: 1px solid currentColor;
  background: transparent;
}
.nbschool-dialog-error {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(242, 181, 68, 0.15);
  font-size: 13px;
  color: var(--ink);
}
.nbschool-audience-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nbschool-audience-card {
  display: block;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.nbschool-audience-card:has(input:checked) {
  border-color: var(--ink);
}
.nbschool-audience-card-title {
  font-weight: 600;
  font-size: 13px;
}
.nbschool-audience-card-hint {
  font-size: 12px;
  margin-top: 4px;
}
.nbschool-audience-card input[type=radio] {
  accent-color: var(--ink);
}
.nbschool-audience-cards input[type=radio]:checked {
  accent-color: var(--ink);
}
.nbschool-editor-title {
  font-size: 20px;
  font-weight: 650;
}
.nbschool-editor-sub {
  font-size: 13px;
}
.nbschool-editor-passhint {
  font-size: 13px;
  color: var(--muted);
}
.nbschool-editor-video {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
}
.nbschool-editor-q-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  font-size: 13px;
  padding: 8px 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink);
}
.nbschool-editor-q-id {
  font-variant-numeric: tabular-nums;
}
.nbschool-editor-q-body {
  padding: 8px 0 16px;
}
#view-nbschool input[type=radio],
#view-nbschool input[type=checkbox],
.nbschool-dialog-backdrop input[type=radio],
.nbschool-dialog-backdrop input[type=checkbox],
.nbschool-dialog input[type=radio],
.nbschool-dialog input[type=checkbox] {
  accent-color: var(--ink);
}
html[data-theme="dark"] .nbschool-contenido-version-row.is-current {
  background: var(--school-row-selected);
}
