:root {
  color-scheme: dark;
  --bg: #1c2023;
  --sidebar: #1b1f22;
  --panel: #23282d;
  --panel-raised: #2a3035;
  --line: #ffffff12;
  --line-strong: #ffffff21;
  --text: #f3f3f1;
  --muted: #a1a8b0;
  --quiet: #89939c;
  --accent: #edc16d;
  --accent-soft: #edc16d14;
  --radius: 10px;
  --nav-width: 240px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-synthesis: none;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-wrap: anywhere;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
strong {
  font-weight: 600;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.24;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.45px;
  line-height: 1.3;
}
h3 {
  font-size: 16px;
  line-height: 1.45;
}
p {
  line-height: 1.7;
}
small {
  line-height: 1.5;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[role="tabpanel"]:focus-visible,
.file-label:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #bfa36b;
  outline-offset: 1px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.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;
}
.skip-link {
  position: fixed;
  top: -90px;
  left: 20px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 6px;
  z-index: 120;
}
.skip-link:focus {
  top: 12px;
}
.initial-loader {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-direction: column;
  color: var(--muted);
}
/* Navegação e estrutura */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--nav-width);
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
  padding: 28px 0 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}
.brand img {
  width: 26px;
  height: 32px;
  object-fit: contain;
}
.brand > span {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1;
}
.sidebar .brand {
  margin: 0 30px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 52px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 28px;
  color: #c6cbd0;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  min-height: 50px;
}
.nav-link .icon {
  width: 19px;
  height: 19px;
}
.nav-link:hover {
  background: #ffffff04;
  color: #fff;
}
.nav-link.active {
  background: #ffffff06;
  color: #fff;
  font-weight: 500;
}
.nav-link.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 28px 26px 0;
}
.mode-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  margin-bottom: 7px;
  color: #9aa3ad;
  font-size: 11px;
}
.mode-switch .icon {
  width: 16px;
  height: 16px;
}
.mode-switch:hover,
.support-link:hover {
  color: #eee;
}
.support-link {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  color: var(--quiet);
  font-size: 11px;
}
.support-link .icon {
  width: 16px;
  height: 16px;
}
.account {
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  padding: 24px 0 14px;
  margin-top: 17px;
  min-width: 0;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #3d3d34;
  color: #f2dfb5;
  font-size: 11px;
  font-weight: 500;
}
.account > span:last-child {
  min-width: 0;
}
.account strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.account small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 140px;
}
.logout-button {
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  border: 0;
  padding: 13px 0;
  color: #b6bec5;
  font-size: 12px;
  width: 100%;
}
.logout-button .icon {
  width: 20px;
  height: 20px;
}
.workspace {
  margin-left: var(--nav-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: var(--quiet);
  white-space: nowrap;
}
.breadcrumb > span {
  opacity: 0.45;
}
.breadcrumb strong {
  color: #d2d6da;
  font-weight: 400;
}
.course-back {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  min-width: 0;
}
.course-back .icon {
  width: 20px;
  height: 20px;
}
.course-back > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .text-action {
  font-size: 12px;
  padding: 10px 0;
}
.mobile-menu {
  display: none !important;
}
.main {
  padding: 38px 46px 48px;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  flex: 1;
  min-width: 0;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 46px;
  padding: 22px 0;
  font-size: 10px;
  color: var(--quiet);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #9ba4aa;
  margin-bottom: 12px;
  line-height: 1.5;
}
.eyebrow .icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  color: var(--accent);
}
.subheading {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  width: fit-content;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn.primary,
.btn.lime {
  color: #202326;
  background: #f1f0ed;
}
.btn.primary:hover,
.btn.lime:hover {
  background: #fff;
}
.btn.secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: #d5d9dc;
}
.btn.secondary:hover {
  background: #ffffff06;
}
.btn.compact {
  font-size: 11px;
  min-height: 33px;
  padding: 8px 11px;
}
.btn.danger {
  color: #dca897;
  background: #bc725c12;
  border-color: #bc725c26;
}
.btn.completed,
.btn.is-completed {
  color: var(--accent);
}
.btn.wide {
  width: 100%;
}
.btn.text-action {
  background: none;
  border: 0;
  border-radius: 5px;
  padding: 10px 5px;
  color: #d2d7da;
  font-weight: 400;
}
.text-action:hover {
  color: #fff;
  background: #ffffff04;
}
.text-action.is-completed {
  color: var(--accent);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #adb6bd;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #ffffff07;
  color: #fff;
}
.icon-button .icon {
  width: 18px;
  height: 18px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: #bac2c8;
  font-size: 12px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbd9d2;
  font-size: 12px;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.back-link .icon {
  width: 16px;
  height: 16px;
}
.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.count {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  padding: 2px 6px;
  font-size: 11px;
  vertical-align: 2px;
  margin-left: 5px;
  font-weight: 400;
}
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px 8px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.badge.neutral {
  color: #aab5bd;
  background: #ffffff05;
  border-color: var(--line);
}
.badge.published {
  color: #b2c9ad;
  background: #73916a15;
  border-color: #73916a28;
}
.badge.draft,
.badge.waiting {
  color: #d3ba8d;
  background: #d5b57510;
  border-color: #d5b57525;
}
.badge.archived {
  color: #b9a6a0;
  background: #aa776610;
  border-color: #aa776628;
}
.warning-text {
  color: #c5ad7e;
}
/* Aula: referência aprovada, com vídeo e navegação */
.lesson-page {
  max-width: 1440px;
  padding-top: 36px;
}
.lesson-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 0;
}
.lesson-context {
  font-size: 12px;
  color: #adb3b9;
  margin-bottom: 9px;
}
.lesson-heading h1 {
  font-size: 30px;
  letter-spacing: -0.8px;
  font-weight: 500;
  line-height: 1.3;
}
.lesson-watch {
  width: 100%;
}
.video-stage {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: #111416;
  border: 1px solid #ffffff0e;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dce0e3;
}
.video-stage video {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #101315;
  accent-color: var(--accent);
}
.video-stage video:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
.audio-stage {
  aspect-ratio: 16/6;
  background: #242a2e;
}
.audio-stage audio {
  width: 85%;
  accent-color: var(--accent);
}
.lesson-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lesson-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 26px;
}
.lesson-actions .btn.text-action {
  font-size: 13px;
  padding-left: 0;
  padding: 10px 11px;
  min-height: 42px;
}
.lesson-actions .next-lesson {
  margin-left: auto;
  min-width: 148px;
  padding: 12px 16px;
}
.lesson-actions .next-lesson .icon {
  margin-left: 9px;
}
.last-lesson {
  margin-left: auto;
  color: var(--quiet);
  font-size: 11px;
}
.related-lessons {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 20px;
  font-weight: 600;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.related-lessons .section-heading {
  margin-bottom: 18px;
}
.related-lessons .section-heading h2 {
  font-size: 18px;
  font-weight: 500;
}
.related-lessons .text-action {
  font-size: 11px;
  padding: 5px 0;
  min-height: 25px;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.lesson-card {
  display: block;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
}
.lesson-thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 7px;
  background: #272e33;
  position: relative;
}
.lesson-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.18s,
    transform 0.25s;
}
.lesson-card:hover .lesson-thumbnail img {
  opacity: 0.9;
  transform: scale(1.025);
}
.lesson-card h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.lesson-card-meta {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.lesson-card.current {
  border-bottom-color: var(--accent);
}
.lesson-card.unavailable {
  opacity: 0.55;
}
.lesson-thumbnail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  gap: 10px;
  color: #8d979f;
}
.lesson-thumbnail-placeholder > .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.25;
}
.lesson-thumbnail-placeholder small {
  font-size: 10px;
}
.lesson-done {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 23px;
  height: 23px;
  background: #171e19d9;
  color: #c1d2ba;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.lesson-done .icon {
  width: 13px;
  height: 13px;
}
.lesson-information {
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.lesson-information > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  color: var(--muted);
  font-size: 12px;
}
.lesson-information > summary::-webkit-details-marker {
  display: none;
}
.lesson-information > summary .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.15s;
}
.lesson-information[open] > summary .icon {
  transform: rotate(90deg);
}
.lesson-details {
  background: #20262a;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.tabs {
  display: flex;
  gap: 25px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}
.tabs > button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 12px;
  color: var(--muted);
  padding: 18px 0 16px;
}
.tabs > button.active {
  border-bottom-color: var(--accent);
  color: #ecebe5;
}
#lesson-panel {
  padding: 25px;
  min-height: 130px;
  font-size: 13px;
  line-height: 1.9;
}
#lesson-panel:focus-visible {
  outline-offset: -2px;
}
.description-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #c4cbd0;
  line-height: 1.85;
}
.description-text a {
  color: #e9d7af;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.attachments {
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.attachments h3 {
  font-size: 13px;
  margin-bottom: 15px;
}
.attachment {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 8px;
}
.attachment > span {
  min-width: 0;
  flex: 1;
}
.attachment strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
.attachment small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.attachment .icon {
  width: 18px;
  height: 18px;
  color: #aab4bc;
}
.note-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
}
.note-footer > span {
  font-size: 11px;
  color: var(--quiet);
  display: flex;
  align-items: center;
  gap: 5px;
}
.note-footer > span .icon {
  width: 12px;
  height: 12px;
}
.admin-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--quiet);
  margin-top: 25px;
}
.admin-edit-link .icon {
  width: 13px;
  height: 13px;
}
.material-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 30px;
  background: #23292d;
}
.material-stage > span {
  padding: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}
.material-stage .eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
}
.material-stage h2 {
  font-size: 27px;
  font-weight: 500;
  max-width: 640px;
  line-height: 1.3;
}
.material-stage > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 0;
  max-width: 400px;
}
.material-stage .btn {
  margin-top: 24px;
}
.media-unavailable {
  text-align: center;
  padding: 35px;
  max-width: 600px;
}
.media-unavailable > .icon {
  width: 30px;
  height: 30px;
  color: #a7afa9;
  margin-bottom: 19px;
}
.media-unavailable h3 {
  font-size: 18px;
  font-weight: 500;
}
.media-unavailable p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.outline-body {
  padding: 0 26px 24px;
}
.outline-progress {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px;
  padding: 25px 0;
  color: var(--muted);
  font-size: 12px;
}
.outline-progress strong {
  color: var(--text);
  font-size: 12px;
}
.progress-track {
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff0d;
  width: 100%;
}
.progress-track span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #c7ad79;
  transition: width 0.2s;
}
.module {
  border-top: 1px solid var(--line);
}
.module summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 0;
  list-style: none;
  cursor: pointer;
}
.module summary::-webkit-details-marker {
  display: none;
}
.module summary > span:nth-child(2) {
  flex: 1;
}
.module summary strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
.module summary small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 3px;
}
.module summary > .icon {
  width: 14px;
  height: 14px;
  color: var(--quiet);
}
.module[open] summary > .icon {
  transform: rotate(90deg);
}
.module-number {
  display: grid;
  place-items: center;
  background: #ffffff05;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-size: 11px;
  color: #a6b0b6;
  flex-shrink: 0;
}
.module-lessons {
  padding-bottom: 12px;
}
.lesson-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 6px;
  margin: 3px 0;
}
.lesson-link:hover {
  background: #ffffff04;
}
.lesson-link.active {
  background: #ffffff06;
}
.lesson-status {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: #a5afb7;
  flex-shrink: 0;
}
.lesson-status .icon {
  width: 13px;
  height: 13px;
}
.lesson-status.done {
  color: #c6d2bd;
  border-color: #8b9c7e4d;
}
.lesson-link strong {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.lesson-link small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 3px;
}
.lesson-link.unavailable {
  opacity: 0.55;
}
.resource-list {
  width: 100%;
  min-width: 0;
}
.resource-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.resource-row:last-child {
  border: 0;
}
.resource-icon {
  width: 37px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #ffffff05;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #a5afb5;
  flex-shrink: 0;
}
.resource-icon .icon {
  width: 19px;
  height: 19px;
}
.resource-row > div {
  flex: 1;
  min-width: 0;
}
.resource-row strong {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.resource-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
/* Biblioteca e conta */
.feature-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 300px;
  background: #252b2e;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.hero-copy {
  padding: 38px;
  align-self: center;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #b4b8af;
  margin-bottom: 20px;
}
.hero-kicker > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-copy h2 {
  font-size: 37px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.hero-copy > p {
  font-size: 12px;
  color: var(--muted);
  max-width: 420px;
}
.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: #b3babd;
  font-size: 11px;
}
.hero-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-meta .icon {
  width: 14px;
  height: 14px;
}
.hero-copy > .btn {
  margin-top: 26px;
}
.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.hero-art > .cover,
.hero-art > .generated-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to right, transparent, #000 12%);
}
.hero-art-label {
  position: absolute;
  bottom: 17px;
  right: 21px;
  color: #58604d;
  letter-spacing: 1.5px;
  font-size: 7px;
}
.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.generated-cover {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--cover-color, #37433f);
  color: #f5f2e7;
  padding: 30px;
  height: 100%;
}
.generated-cover > span {
  margin-bottom: 13px;
}
.generated-cover > .icon,
.generated-cover > span > .icon {
  width: 32px;
  height: 32px;
}
.generated-cover > small {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
}
.generated-cover > strong {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 500;
  max-width: 95%;
  margin-top: 10px;
}
.generated-cover > i {
  font-size: 10px;
  margin-top: auto;
  font-style: normal;
  opacity: 0.5;
}
.learning-strip {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  gap: 0;
  color: var(--muted);
  font-size: 11px;
}
.learning-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  padding: 0 24px;
}
.learning-strip > div:first-child {
  padding-left: 0;
}
.learning-strip > div:last-child {
  border: 0;
}
.learning-strip .icon {
  width: 17px;
  height: 17px;
  color: #a1a99c;
}
.learning-strip strong {
  font-weight: 500;
  color: #cdd3d7;
}
.library-section {
  padding-top: 31px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 235px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #202528;
  padding: 10px 12px;
}
.search-field .icon {
  width: 15px;
  height: 15px;
  color: var(--quiet);
}
.search-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 12px;
  outline: 0;
}
.search-field:focus-within {
  outline: 1px solid #b8a273;
}
.search-field input::placeholder {
  color: #7f8991;
}
.filters {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-bottom: 23px;
  padding: 1px;
}
.filter {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: #a5aeb6;
  font-size: 11px;
  white-space: nowrap;
  padding: 9px 13px;
}
.filter.active {
  background: #ffffff06;
  border-color: #d8bc8336;
  color: #e7dcc6;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #23282c;
}
.card-cover {
  display: block;
  aspect-ratio: 1.7;
  position: relative;
  overflow: hidden;
}
.card-cover > .cover {
  transition: opacity 0.2s;
}
.card-cover:hover > .cover {
  opacity: 0.9;
}
.cover-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 13px;
  left: 13px;
  background: #222821cc;
  backdrop-filter: blur(5px);
  color: #e9eddf;
  font-size: 9px;
  border-radius: 4px;
  padding: 6px 8px;
}
.cover-pill > .icon {
  width: 12px;
  height: 12px;
}
.cover-play {
  display: grid;
  place-items: center;
  position: absolute;
  right: 13px;
  bottom: 13px;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  background: #282d26b3;
  color: #eee;
}
.cover-play .icon {
  width: 13px;
  height: 13px;
}
.card-body {
  padding: 22px 20px 0;
}
.product-category {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9ea793;
  margin-bottom: 10px;
}
.card-body h3 {
  font-size: 18px;
  font-weight: 500;
}
.card-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.card-meta > span {
  margin: 0 5px;
}
.card-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--quiet);
  margin: 23px 0 10px;
}
.card-progress-label strong {
  color: #b4c0c4;
  font-weight: 400;
}
.card-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  margin-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #d1d6d8;
}
.card-cta .icon {
  width: 16px;
  height: 16px;
}
.small-banner {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #22282b;
  padding: 24px;
  margin-top: 35px;
}
.banner-icon {
  display: grid;
  place-items: center;
  padding: 10px;
  background: #ffffff04;
  border-radius: 8px;
  color: #b0ab99;
}
.small-banner h3 {
  font-size: 16px;
  font-weight: 500;
}
.small-banner p {
  font-size: 11px;
  color: var(--quiet);
  margin-top: 6px;
}
.banner-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 20px;
}
.banner-word {
  font-size: 13px;
  color: #8f9b9c;
  white-space: nowrap;
}
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed var(--line-strong);
  padding: 50px 25px;
  text-align: center;
  border-radius: 9px;
}
.empty-state > .icon {
  width: 30px;
  height: 30px;
  color: #87928c;
  margin-bottom: 17px;
}
.empty-state h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 22px;
}
.empty-state .btn {
  margin: auto;
}
.panel {
  background: #22272b;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  min-width: 0;
}
.panel > h2 {
  font-size: 19px;
  margin-bottom: 12px;
}
.panel > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.panel > .badge {
  margin-bottom: 15px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.setting-row > span {
  color: var(--muted);
}
.setting-row > strong {
  font-weight: 500;
}
.section-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #ffffff05;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #b8b39e;
  margin-bottom: 20px;
}
.section-icon .icon {
  width: 20px;
  height: 20px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.field > span {
  font-size: 12px;
  color: #c2c9ce;
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  font-size: 13px;
  line-height: 1.5;
  color: #e7e9e9;
  background: #1d2226;
  border: 1px solid #ffffff23;
  border-radius: 6px;
  padding: 12px 13px;
  min-height: 43px;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #8c959d;
}
.field input:disabled {
  color: #7b8791;
  background: #242a2e;
}
.field input[type="color"] {
  padding: 6px;
  cursor: pointer;
}
.field select {
  cursor: pointer;
}
.field option {
  color: #ececea;
  background: #252b30;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field input[type="checkbox"],
.product-checkboxes input {
  accent-color: #e7bd70;
}
.field-help {
  font-size: 11px;
  line-height: 1.8;
  color: var(--quiet);
  margin-top: -7px;
}
.form-error {
  font-size: 12px;
  color: #e3aa95;
  line-height: 1.6;
}
.form-error:empty {
  display: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 6px 0;
}
/* Administração */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
  margin-bottom: 27px;
}
.stat-card {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #23282c;
}
.stat-icon {
  position: absolute;
  right: 19px;
  top: 20px;
  padding: 7px;
  border-radius: 7px;
  background: #ffffff04;
  color: #939e9d;
}
.stat-icon .icon {
  width: 18px;
  height: 18px;
}
.stat-card p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
}
.stat-card > strong {
  display: block;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
}
.stat-card small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 8px;
}
.admin-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}
.product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.product-row:last-child {
  border: 0;
  padding-bottom: 0;
}
.product-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.product-row strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.product-row small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.product-row > .icon {
  width: 15px;
  height: 15px;
  color: var(--quiet);
}
.mini-cover {
  display: block;
  width: 53px;
  height: 59px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #2f3639;
}
.mini-cover .generated-cover {
  padding: 7px;
}
.mini-cover .generated-cover > span {
  margin: 0;
}
.mini-cover .generated-cover .icon {
  width: 14px;
  height: 14px;
}
.mini-cover .generated-cover > strong {
  font-size: 10px;
  line-height: 1.25;
  margin-top: 5px;
}
.mini-cover .generated-cover > small,
.mini-cover .generated-cover > i {
  display: none;
}
.onboarding-panel {
  background: #252b2c;
}
.onboarding-panel .eyebrow {
  font-size: 9px;
}
.onboarding-panel > h2 {
  font-size: 23px;
  max-width: 260px;
  font-weight: 500;
}
.onboarding-panel > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.85;
  margin-top: 17px;
  margin-bottom: 18px;
}
.onboarding-panel > a {
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 11px;
  color: #bfc5c4;
}
.onboarding-panel > a > .icon {
  width: 15px;
  height: 15px;
}
.onboarding-panel > a > .icon:last-child {
  margin-left: auto;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #929c8b;
  margin: 0 5px;
}
.activity-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.activity-row strong {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.activity-row small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.activity-row time {
  font-size: 10px;
  color: var(--quiet);
  white-space: nowrap;
}
.table-panel {
  padding: 0;
  overflow: hidden;
}
.table-toolbar {
  padding: 23px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.table-toolbar h2 {
  font-size: 18px;
}
.table-wrap {
  width: 100%;
  overflow: auto;
  min-width: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  position: relative;
  padding: 15px 20px;
  font-size: 10px;
  color: var(--quiet);
  font-weight: 500;
  background: #ffffff02;
}
td {
  padding: 19px 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #b6c0c5;
}
th:first-child,
td:first-child {
  padding-left: 25px;
}
th:last-child,
td:last-child {
  padding-right: 25px;
}
td strong {
  font-weight: 500;
  color: #dbe0e3;
}
.table-product {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: normal;
  min-width: 220px;
}
.table-product > span:last-child {
  max-width: 260px;
}
.table-product strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}
.table-product small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 5px;
  line-height: 1.6;
}
.cell-small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 6px;
}
.product-summary {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
  padding: 0 0 25px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.product-summary > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-summary .icon {
  width: 15px;
  height: 15px;
}
.curriculum-admin-heading {
  margin-top: 30px;
}
.admin-modules {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.admin-module {
  padding: 0;
  overflow: hidden;
}
.admin-module-title {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 21px 24px;
  background: #ffffff02;
}
.admin-module-title > div {
  flex: 1;
  min-width: 0;
}
.admin-module-title h3 {
  font-size: 14px;
  font-weight: 500;
}
.admin-module-title small {
  display: block;
  font-size: 11px;
  color: var(--quiet);
  margin-top: 5px;
}
.admin-lesson {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 24px;
  border-top: 1px solid var(--line);
}
.admin-lesson > div {
  flex: 1;
  min-width: 0;
}
.admin-lesson strong {
  font-size: 12px;
  font-weight: 400;
  display: block;
  line-height: 1.6;
}
.admin-lesson small {
  display: block;
  color: var(--quiet);
  font-size: 10px;
  margin-top: 5px;
}
.content-type-icon {
  width: 32px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #ffffff04;
  border-radius: 6px;
  color: #98a4a9;
}
.content-type-icon .icon {
  width: 17px;
  height: 17px;
}
.module-empty {
  padding: 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--quiet);
}
.notice-box {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #2a2c29;
  border: 1px solid #b2ab7f20;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
  color: #acae9f;
  font-size: 12px;
  line-height: 1.8;
}
.notice-box > .icon {
  width: 20px;
  height: 20px;
}
.notice-box strong {
  font-weight: 500;
  color: #d7d3bc;
}
.table-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-person strong {
  display: block;
  font-size: 13px;
}
.table-person small {
  display: block;
  color: var(--quiet);
  font-size: 11px;
  margin-top: 5px;
}
.product-tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 10px;
  color: #b5bec2;
  margin: 3px 3px 3px 0;
}
.storage-banner {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 28px 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 26px;
  background: #252b2d;
}
.storage-banner > span:first-child {
  display: grid;
  place-items: center;
  padding: 15px;
  border-radius: 12px;
  background: #ffffff04;
  color: #9da7a5;
}
.storage-banner > span:first-child .icon {
  width: 27px;
  height: 27px;
}
.storage-banner > div {
  flex: 1;
}
.storage-banner h2 {
  font-size: 20px;
  font-weight: 500;
}
.storage-banner p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 700px;
  line-height: 1.8;
}
.media-name {
  display: flex;
  align-items: center;
  gap: 13px;
}
.media-name strong {
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
  max-width: 420px;
  overflow-wrap: anywhere;
}
.archived-contents {
  margin-top: 25px;
}
.archived-contents > summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
}
.archived-contents .admin-lesson {
  padding: 19px 0 0;
  margin-top: 19px;
}
/* Formulários e modais */
.dialog {
  background: #242a2f;
  color: var(--text);
  border: 1px solid #ffffff1c;
  border-radius: 12px;
  padding: 0;
  width: 520px;
  max-width: calc(100% - 32px);
  max-height: 90dvh;
  box-shadow: 0 30px 100px #0006;
}
.dialog.wide-dialog {
  width: 690px;
}
.dialog::backdrop {
  background: #0a0d10bc;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 19px;
  padding: 27px 28px 23px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}
.dialog-header p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.8;
}
.dialog-header .icon-button {
  margin-top: -4px;
  margin-right: -7px;
}
.dialog-body {
  padding: 25px 28px;
}
.dialog-body > .btn {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.dialog-body > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 5px;
}
.dialog-footer .btn.danger {
  margin-right: auto;
}
.editor-assets {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #20262a;
}
.editor-assets h3 {
  font-size: 13px;
  font-weight: 500;
}
.editor-assets .section-heading {
  margin-bottom: 15px;
}
.file-label {
  cursor: pointer;
}
.selected-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
  font-size: 12px;
}
.selected-asset > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.selected-asset small {
  display: block;
  color: var(--quiet);
  font-size: 10px;
  margin-top: 4px;
}
.selected-asset > .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.product-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 16px;
  max-height: 240px;
  overflow: auto;
}
.product-checkboxes legend {
  font-size: 12px;
  color: var(--muted);
  padding: 0 6px;
}
.product-checkboxes label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  padding: 5px;
}
.product-checkboxes input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.product-checkboxes small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 3px;
}
.enrollment-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.enrollment-row > span {
  flex: 1;
  min-width: 0;
}
.enrollment-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.enrollment-row small {
  font-size: 10px;
  color: var(--quiet);
  display: block;
  margin-top: 6px;
}
.upload-drop {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  padding: 32px 20px;
  border: 1px dashed #ffffff30;
  border-radius: 8px;
  background: #21272a;
}
.upload-drop > .icon {
  width: 27px;
  height: 27px;
  color: #a0a89e;
}
.upload-drop strong {
  font-size: 16px;
  font-weight: 500;
}
.upload-drop span {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.upload-drop input {
  font-size: 11px;
  max-width: 100%;
  margin-top: 10px;
}
.upload-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px 0;
  font-size: 12px;
  color: #bec5b5;
}
.success-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #82927519;
  color: #c4d0b5;
  margin: 0 auto 10px;
}
.nav-overlay {
  display: none;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 14px 22px;
  background: #333b40;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  box-shadow: 0 7px 45px #0003;
  color: #f2f2ef;
  max-width: calc(100% - 32px);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #49352e;
  border-color: #9e6d584d;
  color: #f4ddd1;
}
/* Acesso e cadastro inicial */
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  padding: 40px 60px 28px;
  background: #22282b;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.auth-story-content {
  max-width: 460px;
  margin: 66px auto 0;
}
.auth-story h1 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -1.5px;
}
.auth-story-content > .eyebrow {
  color: #b8b5a0;
}
.auth-story-content > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 23px;
  max-width: 370px;
}
.auth-art {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 30px 0;
  max-width: 360px;
  border: 1px solid var(--line);
}
.auth-art img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.art-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px;
  background: #ffffff05;
  color: #afb8b6;
  font-size: 10px;
  line-height: 1.6;
}
.art-caption .icon {
  width: 14px;
  height: 14px;
}
.auth-story > small {
  font-size: 10px;
  color: var(--quiet);
  padding-top: 25px;
  margin-top: auto;
}
.auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 40px 28px;
  min-width: 0;
}
.auth-box {
  width: 100%;
  max-width: 350px;
  margin: auto 0;
}
.auth-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #ffffff04;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #c0bba9;
  margin-bottom: 25px;
}
.auth-symbol .icon {
  width: 19px;
  height: 19px;
}
.auth-box .eyebrow {
  font-size: 9px;
}
.auth-box h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
.auth-intro {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 17px;
  margin-bottom: 29px;
}
.auth-help {
  width: 100%;
  text-align: center;
  margin-top: 23px;
  font-size: 11px;
}
.auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 29px;
  font-size: 10px;
  color: var(--quiet);
}
.auth-security .icon {
  width: 13px;
  height: 13px;
}
.auth-copyright {
  font-size: 10px;
  color: var(--quiet);
  text-align: center;
  margin-top: 45px;
}
.auth-mobile-brand {
  display: none;
}
.setup-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 25px;
  background: #ffffff03;
}
.setup-note strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #bfc8bf;
  margin-bottom: 5px;
}
.setup-note span {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: var(--quiet);
}
/* Responsividade */
@media (min-width: 1700px) {
  .main {
    padding-left: 60px;
    padding-right: 60px;
  }
  .topbar {
    padding-left: 60px;
    padding-right: 60px;
  }
  .lesson-heading h1 {
    font-size: 33px;
  }
  .lesson-card h3 {
    font-size: 14px;
  }
  .footer {
    margin-left: 60px;
    margin-right: 60px;
  }
}
@media (max-width: 1250px) {
  :root {
    --nav-width: 218px;
  }
  .sidebar .brand {
    margin-left: 26px;
  }
  .nav-link {
    font-size: 12px;
    padding-left: 25px;
    padding-right: 20px;
    gap: 11px;
  }
  .sidebar-bottom {
    padding-left: 25px;
    padding-right: 20px;
  }
  .main {
    padding: 31px 32px 40px;
  }
  .topbar {
    padding: 0 32px;
  }
  .footer {
    margin: 0 32px;
  }
  .lesson-heading h1 {
    font-size: 28px;
  }
  .lesson-actions {
    gap: 18px;
  }
  .lesson-actions .btn {
    font-size: 11px;
  }
  .lesson-actions .next-lesson {
    min-width: 130px;
  }
  .lesson-grid {
    gap: 20px;
  }
  .feature-hero {
    min-height: 280px;
  }
  .hero-copy {
    padding: 29px;
  }
  .hero-copy h2 {
    font-size: 31px;
  }
  .hero-art {
    min-height: 280px;
  }
  .hero-copy > p {
    font-size: 11px;
  }
  .hero-meta {
    font-size: 10px;
    gap: 13px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-columns {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
    gap: 20px;
  }
  .stats-grid {
    gap: 14px;
  }
  .stat-card {
    padding: 23px 16px;
  }
  .stat-card p {
    font-size: 10px;
  }
  .stat-card small {
    font-size: 9px;
  }
  .stat-icon {
    right: 13px;
    top: 18px;
  }
  .auth-story {
    padding: 36px 38px 28px;
  }
  .auth-story h1 {
    font-size: 40px;
  }
  .auth-main {
    padding: 42px 32px 25px;
  }
  .auth-art {
    max-width: 315px;
  }
  .auth-art img {
    height: 235px;
  }
  .auth-story-content {
    margin-top: 65px;
  }
  .settings-grid {
    gap: 20px;
  }
}
@media (max-width: 1050px) {
  h1 {
    font-size: 29px;
  }
  .page-heading {
    align-items: start;
  }
  .admin-columns {
    grid-template-columns: 1fr;
  }
  .onboarding-panel > h2 {
    max-width: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card p {
    font-size: 12px;
  }
  .stat-card small {
    font-size: 10px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .feature-hero {
    grid-template-columns: 1.15fr 1fr;
  }
  .hero-copy {
    padding: 28px 24px;
  }
  .hero-copy h2 {
    font-size: 29px;
  }
  .hero-kicker {
    font-size: 8px;
  }
  .hero-meta {
    font-size: 9px;
    gap: 10px;
  }
  .hero-copy .btn {
    font-size: 11px;
    padding: 11px 13px;
  }
  .learning-strip {
    font-size: 10px;
  }
  .learning-strip > div {
    padding: 0 15px;
  }
  .banner-line,
  .banner-word {
    display: none;
  }
  .auth-story {
    padding: 34px 30px 25px;
  }
  .auth-story h1 {
    font-size: 35px;
  }
  .auth-story-content > p:not(.eyebrow) {
    font-size: 12px;
  }
  .auth-art img {
    height: 220px;
  }
  .auth-box h2 {
    font-size: 27px;
  }
  .auth-main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .course-back {
    font-size: 12px;
  }
  .lesson-heading h1 {
    font-size: 27px;
  }
  .lesson-actions .btn.text-action {
    font-size: 11px;
  }
  .lesson-actions {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.2s,
      visibility 0.2s;
    width: 254px;
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex !important;
    margin-left: -5px;
  }
  .topbar {
    height: 66px;
    padding: 0 28px;
  }
  .main {
    padding: 29px 28px 38px;
  }
  .lesson-page {
    padding-top: 26px;
  }
  .footer {
    margin: 0 28px;
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: #0b0f13c7;
    border: 0;
    z-index: 29;
  }
  .sidebar .brand {
    margin-left: 28px;
  }
  .sidebar nav {
    margin-top: 44px;
  }
  .nav-link {
    padding-left: 27px;
    font-size: 13px;
  }
  .sidebar-bottom {
    padding-left: 27px;
    padding-right: 25px;
  }
  .topbar-left {
    gap: 10px;
  }
  .course-back {
    font-size: 12px;
    gap: 12px;
  }
  .topbar .text-action {
    font-size: 11px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .lesson-heading h1 {
    font-size: 28px;
  }
  .feature-hero {
    min-height: 285px;
  }
  .hero-copy h2 {
    font-size: 32px;
  }
  .hero-copy {
    padding: 30px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-art {
    min-height: 285px;
  }
  .hero-meta {
    font-size: 10px;
    gap: 16px;
  }
  .hero-kicker {
    font-size: 8px;
  }
  .auth-story {
    padding: 34px 26px;
  }
  .auth-story h1 {
    font-size: 34px;
  }
  .auth-main {
    padding: 38px 28px 25px;
  }
  .auth-art img {
    height: 205px;
  }
  .auth-story-content > p:not(.eyebrow) {
    font-size: 11px;
  }
  .auth-box h2 {
    font-size: 27px;
  }
  .auth-intro {
    font-size: 11px;
  }
  .lesson-actions {
    gap: 22px;
  }
  .lesson-actions .btn.text-action {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .main {
    padding: 27px 22px 35px;
  }
  .topbar {
    padding: 0 22px;
    height: 64px;
  }
  .footer {
    margin: 0 22px;
    font-size: 9px;
  }
  .footer > span:last-child {
    max-width: 175px;
    text-align: right;
    line-height: 1.7;
  }
  .page-heading {
    gap: 19px;
    flex-wrap: wrap;
    margin-bottom: 27px;
  }
  .subheading {
    font-size: 12px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 9px;
  }
  .breadcrumb {
    gap: 10px;
  }
  .lesson-page {
    padding-top: 25px;
  }
  .lesson-context {
    font-size: 11px;
    margin-bottom: 9px;
  }
  .lesson-heading {
    margin-bottom: 19px;
  }
  .lesson-heading h1 {
    font-size: 25px;
    line-height: 1.3;
  }
  .lesson-actions {
    gap: 17px;
    padding: 16px 0 24px;
    flex-wrap: wrap;
  }
  .lesson-actions .btn.text-action {
    font-size: 11px;
  }
  .lesson-actions .next-lesson {
    min-width: 128px;
    font-size: 11px;
    gap: 8px;
  }
  .lesson-actions .next-lesson .icon {
    margin-left: 0;
    width: 15px;
    height: 15px;
  }
  .related-lessons {
    padding-top: 23px;
  }
  .related-lessons .section-heading h2 {
    font-size: 17px;
  }
  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .lesson-card h3 {
    font-size: 12px;
  }
  .lesson-card-meta {
    font-size: 10px;
  }
  .section-heading {
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .search-field {
    width: 190px;
  }
  .library-section .section-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .library-section .search-field {
    width: 100%;
  }
  .hero-copy h2 {
    font-size: 30px;
  }
  .hero-copy {
    padding: 27px;
  }
  .feature-hero {
    grid-template-columns: 1.3fr 1fr;
    min-height: 270px;
  }
  .hero-art {
    min-height: 270px;
    margin-left: -20px;
  }
  .hero-meta {
    font-size: 9px;
    gap: 13px;
  }
  .hero-copy > p {
    font-size: 11px;
  }
  .hero-kicker {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .hero-copy .btn {
    font-size: 10px;
  }
  .learning-strip > div {
    font-size: 10px;
    gap: 7px;
    padding: 0 15px;
  }
  .learning-strip > div:last-child {
    display: none;
  }
  .learning-strip > div:nth-child(2) {
    border: 0;
  }
  .learning-strip .icon {
    width: 15px;
    height: 15px;
  }
  .product-grid {
    gap: 20px;
  }
  .card-body {
    padding: 19px 16px 0;
  }
  .card-body h3 {
    font-size: 16px;
  }
  .card-meta {
    font-size: 10px;
  }
  .product-category {
    font-size: 8px;
  }
  .small-banner {
    padding: 20px;
    gap: 13px;
  }
  .small-banner h3 {
    font-size: 15px;
  }
  .small-banner p {
    font-size: 10px;
  }
  .small-banner .icon {
    width: 18px;
    height: 18px;
  }
  .panel {
    padding: 23px 21px;
  }
  .table-panel,
  .admin-module {
    padding: 0;
  }
  .table-toolbar {
    padding: 20px;
  }
  .table-toolbar h2 {
    font-size: 17px;
  }
  .table-wrap th:first-child,
  .table-wrap td:first-child {
    padding-left: 20px;
  }
  .table-product {
    min-width: 230px;
  }
  .admin-module-title {
    padding: 18px;
  }
  .admin-module-title h3 {
    font-size: 13px;
  }
  .admin-lesson {
    padding: 16px 18px;
    gap: 11px;
  }
  .admin-lesson strong {
    font-size: 12px;
  }
  .stats-grid {
    gap: 15px;
  }
  .stat-card {
    padding: 23px 18px;
  }
  .stat-icon {
    right: 16px;
  }
  .storage-banner {
    padding: 23px 20px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .storage-banner > div {
    min-width: 200px;
  }
  .storage-banner h2 {
    font-size: 18px;
  }
  .storage-banner p {
    font-size: 11px;
  }
  .notice-box {
    font-size: 11px;
    padding: 17px;
    align-items: start;
    gap: 10px;
  }
  .notice-box > .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }
  .curriculum-admin-heading {
    align-items: start;
  }
  .curriculum-admin-heading .btn {
    font-size: 10px;
    padding: 9px 11px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-main {
    min-height: 100vh;
    padding: 34px 28px 25px;
  }
  .auth-box {
    max-width: 370px;
  }
  .auth-mobile-brand {
    display: block;
    margin-bottom: 45px;
  }
  .auth-symbol {
    display: none;
  }
  .auth-box h2 {
    font-size: 30px;
    line-height: 1.2;
  }
  .auth-intro {
    font-size: 12px;
    line-height: 1.9;
  }
  .auth-box .field input {
    min-height: 46px;
  }
  .auth-copyright {
    font-size: 9px;
  }
  .resource-row {
    gap: 11px;
  }
  .resource-icon {
    width: 32px;
    height: 38px;
  }
  .resource-row strong {
    font-size: 12px;
  }
  .resource-row small {
    font-size: 10px;
  }
  .resource-row > .icon-button {
    width: 30px;
    padding: 5px;
  }
  .materials-panel > .section-heading {
    flex-wrap: wrap;
  }
  .materials-panel .search-field {
    width: 100%;
  }
}
@media (max-width: 440px) {
  .main {
    padding: 25px 18px 32px;
  }
  .topbar {
    padding: 0 18px;
  }
  .topbar-left {
    gap: 7px;
  }
  .course-back {
    gap: 10px;
    font-size: 11px;
  }
  .course-back .icon {
    width: 17px;
    height: 17px;
  }
  .topbar .text-action {
    font-size: 10px;
    white-space: nowrap;
  }
  .breadcrumb > span,
  .breadcrumb > strong {
    display: none;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .footer {
    margin: 0 18px;
    font-size: 8px;
    gap: 15px;
  }
  .footer > span:last-child {
    max-width: 150px;
    font-size: 8px;
  }
  .lesson-heading h1 {
    font-size: 24px;
  }
  .lesson-context {
    font-size: 10px;
  }
  .lesson-actions {
    column-gap: 20px;
    row-gap: 10px;
  }
  .lesson-actions .btn.text-action {
    font-size: 11px;
    min-height: 35px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .lesson-actions .btn.text-action .icon {
    width: 17px;
    height: 17px;
  }
  .lesson-actions .next-lesson {
    min-width: 145px;
    margin-left: auto;
    min-height: 39px;
    padding: 10px 14px;
  }
  .lesson-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lesson-card h3 {
    font-size: 13px;
    margin-top: 10px;
  }
  .lesson-card-meta {
    font-size: 10px;
  }
  .related-lessons .section-heading h2 {
    font-size: 17px;
  }
  .related-lessons .text-action {
    font-size: 10px;
    gap: 7px;
  }
  .related-lessons .text-action .icon {
    width: 13px;
    height: 13px;
  }
  .lesson-details .tabs {
    padding: 0 17px;
    gap: 20px;
  }
  .tabs > button {
    font-size: 11px;
    padding: 16px 0;
  }
  .lesson-information > summary {
    font-size: 11px;
  }
  #lesson-panel {
    padding: 22px 18px;
    font-size: 12px;
  }
  .description-text {
    line-height: 1.9;
  }
  .note-footer {
    align-items: start;
    flex-wrap: wrap;
    gap: 13px;
  }
  .note-footer > span {
    font-size: 10px;
  }
  .video-stage:not(:has(video)):not(:has(audio)):not(:has(.lesson-image)) {
    aspect-ratio: auto;
    min-height: 235px;
  }
  .material-stage {
    padding: 25px 20px;
  }
  .material-stage h2 {
    font-size: 22px;
  }
  .material-stage > p:not(.eyebrow) {
    font-size: 11px;
  }
  .material-stage .eyebrow {
    font-size: 9px;
  }
  .material-stage > span {
    padding: 11px;
    margin-bottom: 16px;
  }
  .material-stage > span > .icon {
    width: 21px;
    height: 21px;
  }
  .material-stage .btn {
    font-size: 11px;
    min-height: 37px;
    margin-top: 19px;
  }
  .media-unavailable {
    padding: 25px 20px;
  }
  .media-unavailable h3 {
    font-size: 16px;
  }
  .media-unavailable p {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 27px;
    line-height: 1.25;
  }
  .subheading {
    font-size: 12px;
  }
  .feature-hero {
    display: block;
    position: relative;
    min-height: 0;
  }
  .hero-copy {
    padding: 29px 25px;
    background: #252b2ee0;
  }
  .hero-art {
    position: absolute;
    inset: 0 0 0 20%;
    margin: 0;
    opacity: 0.13;
    min-height: 0;
  }
  .hero-copy h2 {
    font-size: 33px;
  }
  .hero-copy > p {
    font-size: 11px;
    max-width: 270px;
  }
  .hero-kicker {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .hero-meta {
    font-size: 9px;
    gap: 16px;
    margin-top: 21px;
  }
  .hero-meta .icon {
    width: 12px;
    height: 12px;
  }
  .hero-copy > .btn {
    font-size: 11px;
    margin-top: 26px;
    padding: 11px 14px;
  }
  .hero-art-label {
    display: none;
  }
  .learning-strip {
    padding: 21px 0;
    font-size: 9px;
  }
  .learning-strip > div {
    font-size: 9px;
    gap: 7px;
    padding: 0 13px;
    line-height: 1.7;
  }
  .learning-strip > div:nth-child(2) {
    padding-right: 0;
  }
  .learning-strip strong {
    color: #b8c2c5;
  }
  .library-section {
    padding-top: 26px;
  }
  .library-section .section-heading {
    margin-bottom: 18px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .card-cover {
    aspect-ratio: 1.85;
  }
  .card-body {
    padding: 23px 21px 0;
  }
  .card-body h3 {
    font-size: 19px;
  }
  .card-meta {
    font-size: 11px;
  }
  .product-category {
    font-size: 9px;
  }
  .card-progress-label {
    font-size: 10px;
  }
  .card-cta {
    font-size: 12px;
    padding: 19px 0;
  }
  .small-banner {
    padding: 19px 16px;
    gap: 12px;
  }
  .small-banner h3 {
    font-size: 14px;
  }
  .small-banner p {
    font-size: 10px;
    line-height: 1.8;
  }
  .banner-icon {
    padding: 8px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 23px 15px;
  }
  .stat-card p {
    font-size: 10px;
    padding-right: 20px;
    line-height: 1.5;
    margin-bottom: 22px;
  }
  .stat-card > strong {
    font-size: 32px;
  }
  .stat-card small {
    font-size: 9px;
    line-height: 1.8;
  }
  .stat-icon {
    padding: 5px;
    right: 12px;
    top: 18px;
  }
  .stat-icon .icon {
    width: 14px;
    height: 14px;
  }
  .panel {
    padding: 23px 18px;
  }
  .table-panel,
  .admin-module {
    padding: 0;
  }
  .product-row {
    gap: 10px;
  }
  .product-row strong {
    font-size: 12px;
  }
  .product-row small {
    font-size: 10px;
  }
  .product-row > .badge {
    font-size: 8px;
    padding: 5px;
  }
  .product-row > .icon {
    display: none;
  }
  .mini-cover {
    width: 43px;
    height: 49px;
  }
  .admin-columns .section-heading {
    gap: 9px;
  }
  .admin-columns .section-heading h2 {
    font-size: 17px;
  }
  .admin-columns .section-heading p {
    font-size: 10px;
  }
  .admin-columns .section-heading > .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .onboarding-panel h2 {
    font-size: 22px;
  }
  .onboarding-panel > p:not(.eyebrow) {
    font-size: 11px;
  }
  .onboarding-panel > a {
    font-size: 11px;
  }
  .activity-panel .section-heading .badge {
    font-size: 8px;
    padding: 5px;
  }
  .activity-panel .section-heading h2 {
    font-size: 17px;
  }
  .activity-panel .section-heading p {
    font-size: 10px;
  }
  .activity-row strong {
    font-size: 11px;
  }
  .activity-row small {
    font-size: 9px;
  }
  .activity-row time {
    font-size: 9px;
  }
  .table-toolbar {
    padding: 19px 18px;
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .table-toolbar .search-field {
    width: 100%;
  }
  .product-summary {
    font-size: 11px;
    gap: 15px;
  }
  .product-summary .icon {
    width: 13px;
    height: 13px;
  }
  .curriculum-admin-heading .section-heading h2 {
    font-size: 17px;
  }
  .curriculum-admin-heading p {
    font-size: 10px;
  }
  .curriculum-admin-heading .btn {
    font-size: 9px;
    gap: 5px;
    padding: 9px;
  }
  .curriculum-admin-heading .btn .icon {
    width: 12px;
    height: 12px;
  }
  .admin-module-title {
    padding: 17px 13px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .admin-module-title > div {
    min-width: 160px;
  }
  .admin-module-title > .btn {
    margin-left: 40px;
  }
  .admin-lesson {
    padding: 16px 13px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .admin-lesson > div {
    min-width: 175px;
  }
  .admin-lesson > .badge {
    margin-left: 42px;
    font-size: 9px;
  }
  .admin-lesson > .icon-button {
    margin-left: auto;
  }
  .admin-lesson strong {
    font-size: 11px;
  }
  .admin-lesson small {
    font-size: 10px;
  }
  .notice-box {
    font-size: 10px;
    line-height: 1.9;
    padding: 16px;
  }
  .storage-banner {
    padding: 20px 18px;
    gap: 15px;
  }
  .storage-banner > span:first-child {
    padding: 11px;
  }
  .storage-banner h2 {
    font-size: 18px;
  }
  .storage-banner p {
    font-size: 11px;
  }
  .storage-banner > div {
    min-width: 190px;
  }
  .dialog {
    max-width: calc(100% - 22px);
    max-height: 92dvh;
    border-radius: 10px;
  }
  .dialog-header {
    padding: 24px 20px 21px;
  }
  .dialog-header h2 {
    font-size: 23px;
  }
  .dialog-header p {
    font-size: 11px;
  }
  .dialog-body {
    padding: 23px 20px;
  }
  .dialog-header > .icon-button {
    width: 30px;
    height: 30px;
    padding: 6px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .field > span {
    font-size: 12px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 45px;
    padding: 11px 12px;
  }
  .field-help {
    font-size: 11px;
  }
  .dialog-footer .btn {
    font-size: 11px;
    padding: 11px 13px;
  }
  .editor-assets {
    padding: 14px;
  }
  .editor-assets h3 {
    font-size: 12px;
  }
  .editor-assets .btn {
    font-size: 10px;
    padding: 8px;
    gap: 6px;
  }
  .editor-assets .btn .icon {
    width: 13px;
    height: 13px;
  }
  .selected-asset {
    font-size: 11px;
  }
  .product-checkboxes label {
    font-size: 12px;
  }
  .enrollment-row strong {
    font-size: 11px;
  }
  .enrollment-row small {
    font-size: 10px;
  }
  .outline-body {
    padding: 0 19px 21px;
  }
  .outline-progress {
    font-size: 11px;
  }
  .module summary {
    gap: 10px;
    padding: 17px 0;
  }
  .module summary strong {
    font-size: 12px;
  }
  .module summary small {
    font-size: 10px;
  }
  .lesson-link {
    padding: 12px 7px;
    gap: 10px;
  }
  .lesson-link strong {
    font-size: 11px;
  }
  .resource-row {
    gap: 9px;
  }
  .resource-row strong {
    font-size: 11px;
  }
  .resource-row small {
    font-size: 9px;
  }
  .resource-row > .icon-button {
    width: 27px;
    padding: 5px;
  }
  .resource-row > .icon-button .icon {
    width: 15px;
    height: 15px;
  }
  .resource-icon {
    width: 29px;
    height: 34px;
  }
  .resource-icon .icon {
    width: 16px;
    height: 16px;
  }
  .auth-main {
    padding: 32px 23px 24px;
  }
  .auth-mobile-brand {
    margin-bottom: 43px;
  }
  .auth-box h2 {
    font-size: 29px;
    max-width: 310px;
  }
  .auth-intro {
    font-size: 12px;
  }
  .auth-copyright {
    font-size: 9px;
    max-width: 290px;
    line-height: 1.8;
  }
  .auth-box .btn {
    font-size: 12px;
    min-height: 45px;
  }
  .setup-note span {
    font-size: 10px;
  }
  .setup-note strong {
    font-size: 11px;
  }
}

/* Ajustes de acabamento e orientação entre aluno/administração. */
.view-label {
  font-size: 11px;
  color: var(--muted);
  padding-right: 15px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.course-outline-trigger {
  gap: 8px !important;
}
.course-outline-trigger .icon {
  width: 15px;
  height: 15px;
}
.sidebar-close {
  display: none;
  position: absolute;
  right: 16px;
  top: 27px;
}
.lesson-open {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #14191dbf;
  color: #f5f5f2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.lesson-open .icon {
  width: 15px;
  height: 15px;
}
.lesson-card:hover .lesson-open,
.lesson-card:focus-visible .lesson-open {
  opacity: 1;
}
.lesson-card.current .lesson-card-meta {
  color: #d4c29e;
}
@media (max-width: 900px) {
  .sidebar-close {
    display: inline-flex;
  }
  .lesson-page {
    padding-top: 28px;
  }
}
@media (max-width: 650px) {
  .view-label {
    display: none;
  }
  .lesson-actions .btn.text-action {
    padding: 10px 5px;
    font-size: 12px;
  }
  .lesson-heading {
    margin-bottom: 21px;
  }
  .lesson-page {
    padding-top: 24px;
  }
}
@media (max-width: 440px) {
  .lesson-actions {
    gap: 10px;
  }
  .lesson-actions .btn.text-action {
    font-size: 11px;
    padding: 10px 4px;
    min-height: 42px;
  }
  .lesson-card h3 {
    font-size: 13px;
  }
  .lesson-card-meta {
    font-size: 11px;
  }
}

/* Os anexos ficam sempre visíveis na página da aula. */
.lesson-resources {
  border-top: 1px solid var(--line);
  padding: 24px 0 28px;
}
.lesson-resources .section-heading {
  margin-bottom: 17px;
  align-items: start;
}
.lesson-resources h2 {
  font-size: 18px;
  font-weight: 500;
}
.lesson-resources .section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.resource-count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 5px;
}
.lesson-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lesson-resource {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
  background: #ffffff02;
}
.lesson-resource-info h3 {
  font-size: 12px;
  line-height: 1.65;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.lesson-resource-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.lesson-resource-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 6px;
}
.lesson-resource-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #cbd1d5;
  min-height: 28px;
}
.lesson-resource-actions a:hover {
  color: #fff;
}
.lesson-resource-actions .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
@media (max-width: 650px) {
  .lesson-resource-grid {
    grid-template-columns: 1fr;
  }
  .lesson-resources {
    padding-top: 22px;
  }
  .resource-count {
    font-size: 10px;
  }
  .lesson-resource-info h3 {
    font-size: 12px;
  }
  .lesson-resource {
    padding: 16px;
  }
  .lesson-resources .section-heading p {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
    animation: none !important;
  }
}
