.aluno-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #f3f7fa 0%, #e8eef3 45%, #f7fafc 100%);
  color: #0b3a52;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.aluno-skip {
  position: absolute;
  left: -999px;
}
.aluno-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: #0b3a52;
  color: #fff;
}
.aluno-top__brand a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  margin-right: 0.75rem;
}
.aluno-top__pi {
  opacity: 0.85;
  font-size: 0.9rem;
}
.aluno-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 58px);
  transition: grid-template-columns 0.25s ease;
}
.aluno-shell--nav-collapsed {
  grid-template-columns: 72px 1fr;
}
.aluno-shell:not(:has(.aluno-nav)),
.aluno-share-page .aluno-shell {
  grid-template-columns: 1fr;
}
.aluno-nav {
  background: #ffffff;
  border-right: 1px solid rgba(11, 58, 82, 0.12);
  padding: 1.25rem 1rem;
  position: relative;
  transition: padding 0.25s ease;
}
.aluno-shell--nav-collapsed .aluno-nav {
  padding: 1rem 0.45rem;
}
.aluno-shell--nav-collapsed .aluno-nav__user,
.aluno-shell--nav-collapsed .aluno-nav__credits,
.aluno-shell--nav-collapsed .aluno-nav__warn,
.aluno-shell--nav-collapsed .aluno-nav__badge {
  display: none;
}
.aluno-shell--nav-collapsed .aluno-nav__label {
  display: none;
}
.aluno-shell--nav-collapsed .aluno-nav__link {
  justify-content: center;
  padding: 0.55rem 0.25rem;
}
.aluno-shell--nav-collapsed .aluno-nav__icon {
  font-size: 1.15rem;
}
.aluno-shell--nav-collapsed .aluno-nav__avatar {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}
.aluno-shell--nav-collapsed .aluno-nav__collapse {
  font-size: 0;
  padding: 0.45rem 0.25rem;
}
.aluno-shell--nav-collapsed .aluno-nav__collapse::before {
  content: "?";
  font-size: 1rem;
  font-weight: 700;
}
.aluno-nav__collapse {
  display: none;
  width: 100%;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(11, 58, 82, 0.15);
  background: #fff;
  border-radius: 8px;
  padding: 0.4rem;
  cursor: pointer;
  color: #0b3a52;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
}
.aluno-top__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.aluno-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.aluno-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.aluno-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 58, 82, 0.35);
  z-index: 40;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.aluno-nav-backdrop.is-open { display: block; }
.aluno-nav__user { font-weight: 700; margin: 0 0 0.25rem; }
.aluno-nav__credits { margin: 0 0 0.75rem; opacity: 0.8; font-size: 0.9rem; }
.aluno-nav__warn a { color: #b45309; font-weight: 600; font-size: 0.85rem; }
.aluno-nav__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.25rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}
.aluno-nav__icon {
  flex: 0 0 1.35rem;
  width: 1.35rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1;
}
.aluno-nav__label {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.aluno-nav__link:hover,
.aluno-nav__link.is-active {
  background: rgba(14, 165, 160, 0.12);
}
.aluno-content { padding: 1.5rem; }
.aluno-page h1 { margin-top: 0; }
.aluno-lead { opacity: 0.85; max-width: 42rem; }
.aluno-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.aluno-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(11, 58, 82, 0.1);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.aluno-card__stat {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.35rem 0;
}
.aluno-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.aluno-form {
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
  margin: 1rem 0 1.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
}
.aluno-form label { display: grid; gap: 0.3rem; font-size: 0.9rem; }
.aluno-form input {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 58, 82, 0.2);
  border-radius: 8px;
}
.aluno-form__msg { color: #b91c1c; font-size: 0.9rem; }
.aluno-form__msg.is-ok { color: #047857; }
.aluno-form__hint { margin: 0 0 0.75rem; font-size: 0.88rem; color: rgba(11, 58, 82, 0.72); }

/* Login auth card */
.aluno-body--auth .aluno-shell {
  display: block;
  max-width: none;
}
.aluno-body--auth .aluno-content {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 2.5rem;
}
.aluno-login {
  width: min(440px, 100%);
  margin: 0 auto;
}
.aluno-login__card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 58, 82, 0.1);
  border-radius: 1.35rem;
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: 0 18px 48px rgba(11, 58, 82, 0.1);
  backdrop-filter: blur(8px);
}
.aluno-login__hero { text-align: center; margin-bottom: 1.15rem; }
.aluno-login__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0ea5a0;
}
.aluno-login h1 {
  margin: 0 0 0.4rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  color: #0b3a52;
}
.aluno-login .aluno-lead {
  margin: 0;
  font-size: 0.95rem;
}
.aluno-login__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  padding: 0.3rem;
  background: rgba(11, 58, 82, 0.06);
  border-radius: 999px;
}
.aluno-login__tab {
  border: 0;
  background: transparent;
  color: #0b3a52;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.aluno-login__tab.is-active {
  background: #fff;
  color: #0ea5a0;
  box-shadow: 0 4px 12px rgba(11, 58, 82, 0.08);
}
.aluno-login__mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0 0 0.15rem;
  padding: 0.28rem;
  background: rgba(11, 58, 82, 0.06);
  border-radius: 999px;
}
.aluno-login__mode-btn {
  border: 0;
  background: transparent;
  color: #0b3a52;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.aluno-login__mode-btn.is-active {
  background: #fff;
  color: #0ea5a0;
  box-shadow: 0 4px 12px rgba(11, 58, 82, 0.08);
}
.aluno-login__enter .aluno-form:not([hidden]) {
  display: grid;
  gap: 0.75rem;
}
.aluno-login__panel-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #0b3a52;
}
.aluno-login__panel {
  display: none;
  gap: 0.75rem;
}
.aluno-login__panel.is-active {
  display: grid;
  animation: aluno-login-in 0.28s ease;
}
@keyframes aluno-login-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.aluno-login__back {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}
.aluno-login__back a { color: #0b3a52; }
.aluno-login .aluno-form {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.aluno-login__panel[hidden] { display: none !important; }
.aluno-login__enter .aluno-form[hidden] { display: none !important; }

.aluno-list { display: grid; gap: 0.65rem; }
.aluno-list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  border: 1px solid rgba(11, 58, 82, 0.08);
}
.aluno-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.aluno-plan {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(11, 58, 82, 0.1);
}
.aluno-plan__price { font-size: 1.35rem; font-weight: 700; }
.aluno-plan__product {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: #3d5a6c;
}
.aluno-plan__credits {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.92rem;
  color: #0b3a52;
  font-weight: 600;
}
.aluno-checkout {
  margin-top: 1.25rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.4rem 1.75rem;
  border: 1px solid rgba(11, 58, 82, 0.1);
  box-shadow: 0 12px 36px rgba(11, 58, 82, 0.08);
}
.aluno-checkout__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.aluno-checkout__head h2 {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b2c44;
}
.aluno-checkout > .aluno-lead {
  color: #3d5a6c;
}
.aluno-payment-brick {
  min-height: 120px;
  margin-top: 0.5rem;
  color-scheme: light;
}
.aluno-payment-brick iframe {
  visibility: visible;
}
.aluno-payment-brick h1,
.aluno-payment-brick h2,
.aluno-payment-brick h3,
.aluno-payment-brick h4,
.aluno-payment-brick h5,
.aluno-payment-brick h6,
.aluno-payment-brick a {
  color: revert;
}
.aluno-transparent-form { margin-top: 0.75rem; }
.aluno-asaas-checkout {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #0b2c44;
}
.aluno-asaas-checkout[hidden] {
  display: none !important;
}
.aluno-asaas-checkout__heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0b2c44;
}
.aluno-asaas-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aluno-asaas-method {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid #c5d4de;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.aluno-asaas-method:hover {
  border-color: #7a9cb0;
}
.aluno-asaas-method.is-active {
  border-color: #009ee3;
  box-shadow: 0 0 0 1px #009ee3;
}
.aluno-asaas-method input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: #009ee3;
}
.aluno-asaas-method__row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.aluno-asaas-method__label {
  font-weight: 600;
  color: #0b2c44;
}
.aluno-asaas-method__hint {
  font-size: 0.88rem;
  color: #3d5a6c;
}
.aluno-asaas-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aluno-asaas-panel[hidden] {
  display: none !important;
}
.aluno-asaas-card label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
  color: #3d5a6c;
}
.aluno-asaas-card input {
  border: 1px solid #c5d4de;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: #fff;
  color: #0b2c44;
}
.aluno-asaas-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.aluno-asaas-pix {
  margin-top: 0.25rem;
}
.aluno-asaas-pix-status {
  border: 1px solid #c5d4de;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.aluno-asaas-pix-status__banner {
  background: linear-gradient(90deg, #00a650, #00c853);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  text-align: center;
}
.aluno-asaas-pix-status__amount {
  margin: 0;
  padding: 1rem 1rem 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0b2c44;
  text-align: center;
}
.aluno-asaas-pix-status__order {
  margin: 0;
  padding: 0 1rem 0.5rem;
  font-size: 0.88rem;
  color: #3d5a6c;
  text-align: center;
}
.aluno-asaas-pix-status__hint {
  margin: 0;
  padding: 0 1rem;
  text-align: center;
}
.aluno-asaas-pix-qr {
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem;
}
.aluno-asaas-pix-qr img {
  display: block;
  max-width: min(220px, 100%);
  width: 220px;
  height: auto;
  border-radius: 8px;
  background: #fff;
}
.aluno-asaas-pix-copy {
  width: calc(100% - 2rem);
  margin: 0 1rem;
  border: 1px solid #c5d4de;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.82rem;
  resize: vertical;
  background: #f7fafc;
  color: #0b2c44;
}
.aluno-asaas-pix-copy-btn {
  display: block;
  width: calc(100% - 2rem);
  margin: 0.75rem 1rem 1rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 8px;
  background: #009ee3;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.aluno-asaas-pix-copy-btn:hover {
  background: #0086c3;
}
.aluno-asaas-pix-generate {
  align-self: flex-start;
}
.aluno-dialog {
  border: 0;
  border-radius: 14px;
  padding: 0;
  max-width: min(920px, 96vw);
  width: 100%;
}
.aluno-dialog__card { padding: 1rem 1.25rem 1.5rem; }
.aluno-dialog__close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}
.aluno-dialog__toolbar { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.aluno-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1rem 0; }
.aluno-empty { opacity: 0.75; }

/* Share p?blico */
.aluno-share-page .aluno-content {
  padding: clamp(0.85rem, 3vw, 1.5rem);
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}
.aluno-page--share {
  min-width: 0;
}
.aluno-share__title {
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  margin-bottom: 0.75rem;
}
.aluno-share__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}
.aluno-share__toolbar .awm-btn {
  text-decoration: none;
}
.aluno-share {
  min-width: 0;
  overflow-x: clip;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.aluno-share .awm-pi-tutor {
  margin-top: 0;
}
.aluno-share__footer-link {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .aluno-top {
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
  }
  .aluno-top__cta {
    width: 100%;
    text-align: center;
  }
  .aluno-share__toolbar {
    flex-direction: column;
  }
  .aluno-share__toolbar .awm-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .aluno-list-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .aluno-dialog__toolbar {
    flex-direction: column;
  }
  .aluno-dialog__toolbar .awm-btn {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .aluno-shell,
  .aluno-shell--nav-collapsed {
    grid-template-columns: 1fr;
  }
  .aluno-nav-toggle { display: inline-flex; }
  .aluno-nav__collapse { display: none !important; }
  .aluno-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 86vw);
    z-index: 50;
    background: #ffffff;
    border-right: 1px solid rgba(11, 58, 82, 0.12);
    border-bottom: 0;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    box-shadow: 8px 0 28px rgba(11, 58, 82, 0.18);
  }
  .aluno-nav.is-drawer-open {
    transform: translateX(0);
  }
  .aluno-shell--nav-collapsed .aluno-nav__user,
  .aluno-shell--nav-collapsed .aluno-nav__credits,
  .aluno-shell--nav-collapsed .aluno-nav__warn,
  .aluno-shell--nav-collapsed .aluno-nav__badge {
    display: block;
  }
  .aluno-shell--nav-collapsed .aluno-nav__label {
    display: inline;
  }
  .aluno-shell--nav-collapsed .aluno-nav__link {
    justify-content: flex-start;
    padding: 0.55rem 0.65rem;
  }
  .aluno-shell--nav-collapsed .aluno-nav {
    padding: 1.25rem 1rem;
  }
}

@media (min-width: 821px) {
  .aluno-nav__collapse { display: block; }
  .aluno-nav-toggle { display: none !important; }
  .aluno-nav-backdrop { display: none !important; }
}

@media print {
  .aluno-top,
  .aluno-nav,
  .aluno-dialog__toolbar,
  .aluno-dialog__close,
  .aluno-share__title,
  .aluno-share__toolbar,
  .aluno-share__footer-link,
  .aluno-page--share > .aluno-share__footer-link {
    display: none !important;
  }
  .aluno-content {
    padding: 0 !important;
  }
  .aluno-share .awm-pi-tutor {
    box-shadow: none !important;
    border: 0 !important;
  }
}

/* ?? Learning platform shell ?? */
.aluno-top__right { display: flex; align-items: center; gap: 0.75rem; }
.aluno-nav__hero { text-align: center; margin-bottom: 1rem; }
.aluno-nav__avatar {
  width: 56px; height: 56px; margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #0ea5a0, #0b3a52);
  color: #fff; font-weight: 700; font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(14, 165, 160, 0.35);
  background-size: cover;
  background-position: center;
}
.aluno-nav__avatar.has-photo,
.aluno-avatar-preview.has-photo {
  color: transparent;
  background-size: cover;
  background-position: center;
}
.aluno-avatar-form { margin-bottom: 1.25rem; }
.aluno-avatar-preview-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.aluno-avatar-preview {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0ea5a0, #0b3a52);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  background-size: cover;
  background-position: center;
}
.aluno-dash__hero {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}
.aluno-dash__eyebrow {
  margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #0ea5a0;
}
.aluno-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.aluno-stat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aluno-stat {
  background: #fff;
  border: 1px solid rgba(11, 58, 82, 0.08);
  border-radius: 1.15rem;
  padding: 1rem 0.85rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.aluno-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 58, 82, 0.1);
}
.aluno-stat__icon { display: block; font-size: 1.35rem; margin-bottom: 0.25rem; }
.aluno-stat__value {
  display: block; font-family: Outfit, system-ui, sans-serif;
  font-size: 1.55rem; font-weight: 700; color: #0b3a52;
}
.aluno-stat__label { font-size: 0.78rem; color: #64748b; }
.aluno-dash__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.aluno-panel {
  background: #fff;
  border: 1px solid rgba(11, 58, 82, 0.08);
  border-radius: 1.25rem;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 4px 16px rgba(11, 58, 82, 0.04);
}
.aluno-panel h2 { margin: 0 0 0.65rem; font-size: 1.05rem; }
.aluno-panel__hint { margin: -0.35rem 0 0.75rem; color: #64748b; font-size: 0.88rem; }
.aluno-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.65rem;
}
.aluno-panel__head h2 { margin: 0; }
.aluno-panel__head a { font-size: 0.85rem; color: #0ea5a0; text-decoration: none; font-weight: 600; }
.aluno-xp { margin-bottom: 1rem; }
.aluno-xp__meta { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.35rem; font-weight: 600; }
.aluno-xp__bar {
  height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden;
}
.aluno-xp__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #0ea5a0, #38bdf8);
  border-radius: inherit;
  transition: width 0.6s ease;
}
.aluno-missions { display: grid; gap: 0.55rem; }
.aluno-mission-item {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid rgba(11, 58, 82, 0.06);
}
.aluno-mission-item.is-done { border-color: rgba(14, 165, 160, 0.4); background: #f0fdfa; }
.aluno-mission-item__check {
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  border: 2px solid #cbd5e1; flex-shrink: 0;
  display: grid; place-items: center; font-size: 0.75rem;
}
.aluno-mission-item.is-done .aluno-mission-item__check {
  background: #0ea5a0; border-color: #0ea5a0; color: #fff;
}
.aluno-cards-list { display: grid; gap: 0.75rem; }
.aluno-sim-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(11, 58, 82, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
  width: 100%;
  font: inherit; color: inherit;
}
.aluno-sim-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 58, 82, 0.1);
}
.aluno-sim-card.is-highlight {
  border-color: rgba(14, 165, 160, 0.55);
  box-shadow: 0 0 0 2px rgba(14, 165, 160, 0.2);
}
.aluno-sim-card__main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.aluno-sim-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.aluno-sim-card__hint {
  font-size: 0.82rem;
  color: #64748b;
}
.aluno-sim-card__score {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.45rem; font-weight: 700; color: #0ea5a0;
}
.aluno-confirm-card { max-width: 420px; }
.aluno-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.aluno-empty-state {
  text-align: center; padding: 2rem 1rem; color: #64748b;
}
.aluno-empty-state__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.aluno-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.aluno-chip {
  border: 1px solid rgba(11, 58, 82, 0.15);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.aluno-chip:hover, .aluno-chip.is-active {
  background: #ecfeff; border-color: #0ea5a0; color: #0b3a52;
}
.aluno-stars { display: flex; gap: 0.25rem; margin: 0.35rem 0; }
.aluno-star {
  border: 0; background: transparent; font-size: 1.6rem;
  color: #cbd5e1; cursor: pointer; line-height: 1;
}
.aluno-star.is-on { color: #f59e0b; }
.aluno-banner--pulse { animation: alunoPulse 2.4s ease-in-out infinite; }
@keyframes alunoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 160, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(14, 165, 160, 0); }
}
.aluno-contrib-about { margin-bottom: 1.5rem; }
.aluno-contrib-list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.55;
}
.aluno-contrib-list li { margin-bottom: 0.35rem; }
.aluno-form__hint { font-size: 0.88rem; color: #64748b; margin-top: -0.35rem; }
.aluno-more-wrap { text-align: center; margin-top: 1rem; }
[data-skeleton] .aluno-stat__value { opacity: 0.35; }
.aluno-status {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.aluno-status--aberto { background: #fee2e2; color: #b91c1c; }
.aluno-status--em_andamento { background: #ffedd5; color: #c2410c; }
.aluno-status--respondido { background: #dbeafe; color: #1d4ed8; }
.aluno-status--finalizado { background: #d1fae5; color: #047857; }

/* ?? Apoio volunt?rio + conquistas ?? */
.aluno-nav__badge {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #be123c;
  background: rgba(255, 241, 242, 0.95);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  display: inline-block;
}
.aluno-supporter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  vertical-align: middle;
  margin-left: 0.35rem;
}
.aluno-support-card {
  position: relative;
  margin: 1.5rem 0;
  border-radius: 1.35rem;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 42%, #f0f9ff 100%);
  border: 1px solid rgba(251, 113, 133, 0.22);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.aluno-support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}
.aluno-support-card__glow {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.18), transparent 70%);
  pointer-events: none;
  animation: alunoSupportGlow 6s ease-in-out infinite;
}
@keyframes alunoSupportGlow {
  0%, 100% { opacity: 0.55; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(8%, 4%); }
}
.aluno-support-card__body {
  position: relative;
  padding: 1.5rem 1.6rem 1.65rem;
  max-width: 42rem;
}
.aluno-support-card__eyebrow {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #be123c;
  letter-spacing: 0.01em;
}
.aluno-support-card h2 {
  margin: 0 0 0.75rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.45rem;
  color: #0b3a52;
}
.aluno-support-card p {
  margin: 0 0 0.55rem;
  line-height: 1.55;
  color: #334155;
}
.aluno-support-card__thanks {
  font-weight: 600;
  color: #0b3a52 !important;
  margin-top: 0.85rem !important;
}
.aluno-support-card .awm-btn {
  margin-top: 0.85rem;
}
.aluno-stat--supporter {
  background: linear-gradient(160deg, #fff1f2, #ffe4e6);
  border-color: #fecdd3;
}
.aluno-donation-modal { max-width: 28rem; width: min(92vw, 28rem); }
.aluno-donation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.aluno-donation-chip {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  color: #0b3a52;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.aluno-donation-chip:hover { transform: translateY(-1px); border-color: #0ea5a0; }
.aluno-donation-chip.is-active {
  background: #ecfeff;
  border-color: #0ea5a0;
  color: #0f766e;
}
.aluno-donation-custom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.aluno-donation-custom input {
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
}
.aluno-donation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.aluno-donation-checkout { margin-top: 1rem; }
.aluno-thanks {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}
.aluno-thanks__card {
  max-width: 34rem;
  text-align: center;
  padding: 2.25rem 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, #fff7ed, #fff1f2 50%, #f0f9ff);
  border: 1px solid rgba(251, 113, 133, 0.25);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  animation: alunoThanksIn 0.55s ease;
}
@keyframes alunoThanksIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.aluno-thanks__heart {
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  animation: alunoHeartBeat 1.6s ease-in-out infinite;
}
@keyframes alunoHeartBeat {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.08); }
  60% { transform: scale(1.02); }
}
.aluno-thanks__card h1 {
  font-family: Outfit, "Segoe UI", sans-serif;
  margin: 0 0 0.75rem;
}
.aluno-thanks__card .awm-btn { margin-top: 1.25rem; }
.aluno-achievements-row,
.aluno-achievements-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.aluno-achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.aluno-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0b3a52;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.aluno-badge-chip--sm { font-size: 0.72rem; padding: 0.15rem 0.45rem; }
.aluno-achievement-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.85rem;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.aluno-achievement-card.is-earned {
  opacity: 1;
  border-color: #99f6e4;
  box-shadow: 0 6px 18px rgba(14, 165, 160, 0.12);
}
.aluno-achievement-card:hover { transform: translateY(-1px); }
.aluno-achievement-card__icon { font-size: 1.5rem; display: block; margin-bottom: 0.25rem; }
.aluno-achievement-card p { margin: 0.25rem 0; font-size: 0.85rem; color: #64748b; }
.aluno-achievement-card small { color: #94a3b8; font-size: 0.75rem; }
.aluno-achievement-modal {
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 22rem;
}
.aluno-achievement-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #0f766e;
}
.aluno-achievement-modal.is-celebrate,
.aluno-dialog.is-celebrate .aluno-achievement-modal {
  animation: alunoAchievePop 0.45s ease;
}
@keyframes alunoAchievePop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.aluno-achievement-modal__burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.aluno-confetti {
  position: absolute;
  top: -8px;
  left: var(--x, 50%);
  width: 7px;
  height: 10px;
  border-radius: 2px;
  background: hsl(var(--h, 160deg) 70% 55%);
  animation: alunoConfettiFall var(--d, 0.8s) ease-out forwards;
}
@keyframes alunoConfettiFall {
  to { transform: translateY(220px) rotate(240deg); opacity: 0; }
}
.aluno-ranking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.aluno-ranking-tab {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0b3a52;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.aluno-ranking-tab.is-active {
  background: #0b3a52;
  border-color: #0b3a52;
  color: #fff;
}
.aluno-ranking-row__trend { font-size: 1rem; margin-left: 0.35rem; }
.aluno-ranking { display: flex; flex-direction: column; gap: 0.55rem; }
.aluno-ranking-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}
.aluno-ranking-row.is-me {
  border-color: #0ea5a0;
  background: linear-gradient(90deg, #ecfeff, #fff);
}
.aluno-ranking-row__pos {
  font-weight: 800;
  font-size: 1.1rem;
  color: #0b3a52;
  text-align: center;
}
.aluno-ranking-row__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}
.aluno-ranking-row__score {
  text-align: right;
  font-size: 0.9rem;
}
.aluno-ranking-row__score small {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
}
.aluno-muted { color: #64748b; font-size: 0.8rem; }

@media (max-width: 900px) {
  .aluno-stat-grid,
  .aluno-stat-grid--3,
  .aluno-dash__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .aluno-stat-grid,
  .aluno-stat-grid--3,
  .aluno-dash__grid { grid-template-columns: 1fr; }
  .aluno-ranking-row { grid-template-columns: 2rem 1fr; }
  .aluno-ranking-row__score { grid-column: 2; text-align: left; }
}

/* Checkout legal + pedidos / reembolso */
.aluno-checkout-legal {
  margin: 1rem 0 1.25rem;
  padding: 1.1rem 1.2rem;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(11,58,82,0.12);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(11, 58, 82, 0.05);
}
.aluno-legal-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
}
.aluno-legal-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.aluno-legal-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #3d5a6c;
  line-height: 1.45;
}
.aluno-checkout-cpf {
  margin: 0 0 1rem;
}
.aluno-checkout-cpf label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.aluno-checkout-cpf input {
  width: 100%;
  max-width: 18rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 58, 82, 0.2);
  border-radius: 8px;
  background: #fff;
}
.aluno-order-credits {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  opacity: 0.85;
}
.aluno-order-subtitle {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: #3d5a6c;
}
.aluno-refund-status {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #3d5a6c;
}
.aluno-refund-btn {
  margin-top: 0.55rem;
}
.aluno-order-item {
  align-items: flex-start;
}

/* ?? Meu Professor Hub (Sprint 3) ?? */
.aluno-hub__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.aluno-hub__hero h1 {
  margin: 0.15rem 0 0.5rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: #0b3a52;
  letter-spacing: -0.02em;
}
.aluno-hub__balance {
  min-width: 140px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #0b3a52 0%, #0e4d6b 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(11, 58, 82, 0.18);
}
.aluno-hub__balance-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.aluno-hub__balance-value {
  font-size: 1.15rem;
  font-weight: 700;
}
.aluno-hub__tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.aluno-hub__tool {
  position: relative;
  padding: 1.1rem 1rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d5dde6;
  box-shadow: 0 8px 24px rgba(11, 58, 82, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: default;
}
.aluno-hub__tool.is-ready {
  cursor: pointer;
}
.aluno-hub__tool.is-ready:hover {
  transform: translateY(-2px);
  border-color: #0ea5a0;
  box-shadow: 0 14px 32px rgba(14, 165, 160, 0.12);
}
.aluno-hub__tool.is-locked {
  opacity: 0.92;
  background: #f7fafc;
}
.aluno-hub__tool-icon {
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}
.aluno-hub__tool h3 {
  margin: 0 0 0.35rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  color: #0b3a52;
}
.aluno-hub__tool-blurb {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #3d5a6c;
  line-height: 1.4;
  min-height: 2.4em;
}
.aluno-hub__tool-cost {
  margin: 0;
  font-weight: 700;
  color: #0ea5a0;
  font-size: 0.92rem;
}
.aluno-hub__tool-warn {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #b45309;
}
.aluno-hub__tool-cta {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0b3a52;
}
.aluno-hub__tool-cta--buy {
  color: #0b3a52;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.aluno-hub__context {
  margin-bottom: 1.25rem;
}
.aluno-hub__context-head h2,
.aluno-hub__history-head h2 {
  margin: 0 0 0.35rem;
  font-family: Outfit, "Segoe UI", sans-serif;
}
.aluno-hub__hint {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #3d5a6c;
}
.aluno-hub__selected-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(14, 165, 160, 0.08), rgba(11, 58, 82, 0.04));
  border: 1px solid #cfe8e6;
}
.aluno-hub__badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0b3a52;
  background: #d9f3f1;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.aluno-hub__selected-empty {
  color: #3d5a6c;
  font-size: 0.92rem;
}
.aluno-hub__history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.aluno-hub__mini-stats {
  max-width: 280px;
  margin: 0;
}
.aluno-hub__report {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.aluno-hub__report.is-selected {
  border-color: #0ea5a0;
  background: rgba(14, 165, 160, 0.06);
}
.aluno-hub__report-main {
  flex: 1;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.aluno-hub__report-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.aluno-hub__more {
  margin-top: 0.85rem;
}
.aluno-hub__cta-row {
  margin-top: 1.25rem;
}
.aluno-hub__error {
  color: #b91c1c;
}
@media (max-width: 960px) {
  .aluno-hub__tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .aluno-hub__tools {
    grid-template-columns: 1fr;
  }
  .aluno-hub__report {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ?? Chat Livre (Sprint 4) ?? */
.aluno-chat-dialog {
  border: 0;
  padding: 0;
  max-width: min(720px, 96vw);
  width: 100%;
  background: transparent;
}
.aluno-chat-dialog::backdrop {
  background: rgba(8, 28, 40, 0.55);
  backdrop-filter: blur(2px);
}
.aluno-chat {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 820px);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(14, 165, 160, 0.12), transparent 55%),
    linear-gradient(180deg, #f7fbfc 0%, #eef5f8 100%);
  border: 1px solid #c9d8e2;
  box-shadow: 0 24px 64px rgba(8, 28, 40, 0.28);
}
.aluno-chat__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid #d5e2ea;
  background: rgba(255, 255, 255, 0.72);
}
.aluno-chat__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0ea5a0;
}
.aluno-chat__head h2 {
  margin: 0.15rem 0 0.25rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  color: #0b3a52;
}
.aluno-chat__context {
  margin: 0;
  font-size: 0.85rem;
  color: #3d5a6c;
}
.aluno-chat__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.aluno-chat__counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b3a52;
  background: #d9f3f1;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.aluno-chat__tabs-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}
.aluno-chat__tabs {
  display: flex;
  gap: 0.35rem;
  flex: 1;
  overflow-x: auto;
  min-width: 0;
}
.aluno-chat__tab {
  border: 1px solid #d5dde6;
  background: #f8fafc;
  color: #0b3a52;
  border-radius: 8px 8px 0 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.aluno-chat__tab.is-active {
  background: #0b3a52;
  color: #fff;
  border-color: #0b3a52;
}
.aluno-chat__new {
  flex-shrink: 0;
  font-size: 0.85rem;
}
.aluno-chat__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.aluno-chat__empty {
  padding: 1.25rem 1rem;
  color: #475569;
  font-size: 0.95rem;
}
.aluno-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
}
.aluno-chat__bubble {
  max-width: min(92%, 540px);
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  animation: aluno-chat-in 0.28s ease;
}
.aluno-chat__bubble--user {
  align-self: flex-end;
  background: #0b3a52;
  color: #fff;
}
.aluno-chat__bubble--assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #d5e2ea;
  color: #1a3344;
}
.aluno-chat__bubble-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.3rem;
}
.aluno-chat__bubble-text {
  font-size: 0.95rem;
  line-height: 1.45;
}
.aluno-chat__ctx-badge {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b3a52;
  background: #d9f3f1;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.aluno-chat__confirm {
  margin: 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #0ea5a0;
}
.aluno-chat__confirm p {
  margin: 0 0 0.75rem;
  color: #0b3a52;
  font-weight: 600;
}
.aluno-chat__confirm-actions {
  display: flex;
  gap: 0.5rem;
}
.aluno-chat__status {
  margin: 0.55rem 1.15rem 0;
  font-size: 0.9rem;
  color: #0b3a52;
  font-weight: 600;
  animation: aluno-chat-pulse 1.2s ease-in-out infinite;
}
.aluno-chat__composer {
  display: flex;
  gap: 0.65rem;
  padding: 0.9rem 1.15rem 1.1rem;
  border-top: 1px solid #d5e2ea;
  background: rgba(255, 255, 255, 0.8);
}
.aluno-chat__composer textarea {
  flex: 1;
  resize: none;
  border: 1px solid #c9d8e2;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  background: #fff;
  color: #0b3a52;
}
.aluno-chat__composer textarea:focus {
  outline: 2px solid rgba(14, 165, 160, 0.35);
  border-color: #0ea5a0;
}
.aluno-chat__exhausted {
  padding: 1rem 1.15rem 1.25rem;
  text-align: center;
  border-top: 1px solid #d5e2ea;
  background: rgba(255, 255, 255, 0.9);
}
.aluno-chat__exhausted p {
  margin: 0 0 0.75rem;
  color: #0b3a52;
  font-weight: 600;
}
@keyframes aluno-chat-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes aluno-chat-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
.aluno-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ?? Explicar Quest?o (Sprint 5) ?? */
.aluno-explain-dialog {
  border: 0;
  padding: 0;
  max-width: min(680px, 96vw);
  width: 100%;
  background: transparent;
}
.aluno-explain-dialog::backdrop {
  background: rgba(8, 28, 40, 0.55);
}
.aluno-explain {
  max-height: min(88vh, 820px);
  overflow-y: auto;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(14, 165, 160, 0.1), transparent 50%),
    linear-gradient(180deg, #f7fbfc 0%, #eef5f8 100%);
  border: 1px solid #c9d8e2;
  box-shadow: 0 24px 64px rgba(8, 28, 40, 0.28);
  padding: 1.15rem 1.25rem 1.35rem;
}
.aluno-explain__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.aluno-explain__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0ea5a0;
}
.aluno-explain__head h2 {
  margin: 0.15rem 0 0.2rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: #0b3a52;
  font-size: 1.35rem;
}
.aluno-explain__hint {
  margin: 0;
  font-size: 0.85rem;
  color: #3d5a6c;
}
.aluno-explain__lead {
  font-weight: 600;
  color: #0b3a52;
  margin: 0 0 0.85rem;
}
.aluno-explain__mode-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.aluno-explain__label {
  display: block;
  margin: 0.65rem 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b3a52;
}
.aluno-explain__select,
.aluno-explain textarea,
.aluno-explain input[type="text"] {
  width: 100%;
  border: 1px solid #c9d8e2;
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  background: #fff;
  color: #0b3a52;
  box-sizing: border-box;
}
.aluno-explain__preview {
  margin: 0.75rem 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d5e2ea;
  font-size: 0.9rem;
  color: #1a3344;
}
.aluno-explain__preview strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0b3a52;
}
.aluno-explain__status {
  margin-top: 0.75rem;
  font-weight: 600;
  color: #0b3a52;
  animation: aluno-chat-pulse 1.2s ease-in-out infinite;
}
.aluno-explain__result {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #d5e2ea;
}
.aluno-explain__result h3 {
  margin: 0 0 0.5rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: #0b3a52;
}
.aluno-explain__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b3a52;
  background: #d9f3f1;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.aluno-explain__block {
  margin-bottom: 0.75rem;
}
.aluno-explain__block strong {
  display: block;
  font-size: 0.8rem;
  color: #0ea5a0;
  margin-bottom: 0.2rem;
}
.aluno-explain__block p {
  margin: 0;
  color: #1a3344;
  line-height: 1.45;
}
.aluno-explain__step .awm-btn {
  margin-top: 0.55rem;
  margin-right: 0.4rem;
}

/* Sprint 6 ? Gerar Quest?es */
.aluno-gen__progress { font-weight: 700; margin: 0 0 0.75rem; color: #1a3344; }
.aluno-gen__question { margin-bottom: 0.75rem; line-height: 1.45; }
.aluno-gen__options { display: flex; flex-direction: column; gap: 0.45rem; }
.aluno-gen__opt { text-align: left; white-space: normal; }
.aluno-gen__opt--correct {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #fff !important;
}
.aluno-gen__opt--wrong {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #fff !important;
}
.aluno-gen__feedback {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #d5dde6;
  background: #f8fafc;
}
.aluno-gen__feedback--ok { border-color: #86efac; background: #f0fdf4; }
.aluno-gen__feedback--bad { border-color: #fca5a5; background: #fef2f2; }
.aluno-gen__feedback-title { margin: 0 0 0.35rem; font-weight: 700; color: #0b3a52; }
.aluno-gen__feedback-hint { margin: 0 0 0.35rem; color: #0b3a52; }
.aluno-gen__feedback-exp { margin: 0; color: #334155; line-height: 1.45; }

.aluno-study__form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.aluno-study-dialog {
  max-width: 34rem;
  width: calc(100% - 1.5rem);
  padding: 0;
}
.aluno-study {
  padding: 1.15rem 1.25rem 1.35rem;
}
.aluno-study__hero {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.aluno-study__hero-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: rgba(14, 165, 160, 0.12);
  border: 1px solid rgba(14, 165, 160, 0.28);
  flex-shrink: 0;
}
.aluno-study__hero-copy { flex: 1; min-width: 0; }
.aluno-study__hero-copy h2 {
  margin: 0.15rem 0 0.2rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: #0b3a52;
  font-size: 1.35rem;
}
.aluno-study__benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.aluno-study__benefits li {
  margin: 0;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: rgba(11, 58, 82, 0.05);
  border: 1px solid #c9d8e2;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0b3a52;
  line-height: 1.35;
}
.aluno-study__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.85rem;
}
.aluno-study__field--full { grid-column: 1 / -1; }
.aluno-study .aluno-explain__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}
.aluno-study input[type="text"],
.aluno-study input[type="number"] {
  width: 100%;
  border: 1px solid #c9d8e2;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: #0b3a52;
  background: #fff;
}
.aluno-study__obj { margin: 0.35rem 0 0.75rem; }
.aluno-study__topics { margin: 0.25rem 0 1rem; padding-left: 1.2rem; }
.aluno-study__days { display: flex; flex-direction: column; gap: 0.55rem; }
.aluno-study__day {
  border: 1px solid #d5dde6;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
}
.aluno-study__day summary {
  cursor: pointer;
  font-weight: 700;
  color: #0b3a52;
}
.aluno-study__day ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.aluno-study__cta { margin-left: 0.35rem; font-size: 0.85rem; }
.aluno-gen__feedback { margin-top: 0.85rem; padding: 0.75rem; background: rgba(26,51,68,.06); border-radius: 8px; }
.aluno-gen__feedback p { margin: 0; line-height: 1.45; }

/* Dark Mode â€” exclusivo da Ã¡rea do aluno (html[data-theme="dark"]) */
html[data-theme="dark"] .aluno-body {
  background: linear-gradient(160deg, #1b232d 0%, #222c38 45%, #1e2834 100%);
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-body h1,
html[data-theme="dark"] .aluno-body h2,
html[data-theme="dark"] .aluno-body h3,
html[data-theme="dark"] .aluno-body h4,
html[data-theme="dark"] .aluno-body h5,
html[data-theme="dark"] .aluno-body h6 {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-top {
  background: #15202b;
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-nav,
html[data-theme="dark"] .aluno-nav__collapse,
html[data-theme="dark"] .aluno-card,
html[data-theme="dark"] .aluno-banner,
html[data-theme="dark"] .aluno-form,
html[data-theme="dark"] .aluno-login__card,
html[data-theme="dark"] .aluno-list-item,
html[data-theme="dark"] .aluno-plan,
html[data-theme="dark"] .aluno-stat,
html[data-theme="dark"] .aluno-panel,
html[data-theme="dark"] .aluno-sim-card,
html[data-theme="dark"] .aluno-chip,
html[data-theme="dark"] .aluno-checkout-legal,
html[data-theme="dark"] .aluno-hub__tool,
html[data-theme="dark"] .aluno-badge-chip,
html[data-theme="dark"] .aluno-achievement-card,
html[data-theme="dark"] .aluno-ranking-tab,
html[data-theme="dark"] .aluno-ranking-row,
html[data-theme="dark"] .aluno-donation-chip {
  background: #2a3544;
  border-color: rgba(230, 237, 242, 0.12);
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-nav {
  border-right-color: rgba(230, 237, 242, 0.12);
}
@media (max-width: 820px) {
  html[data-theme="dark"] .aluno-nav {
    background: #2a3544;
    box-shadow: 8px 0 28px rgba(0, 0, 0, 0.4);
  }
}
html[data-theme="dark"] .aluno-login h1,
html[data-theme="dark"] .aluno-login__panel-title,
html[data-theme="dark"] .aluno-login__tab,
html[data-theme="dark"] .aluno-login__mode-btn,
html[data-theme="dark"] .aluno-login__back a,
html[data-theme="dark"] .aluno-stat__value,
html[data-theme="dark"] .aluno-plan__credits,
html[data-theme="dark"] .aluno-hub__hero h1,
html[data-theme="dark"] .aluno-hub__tool h3,
html[data-theme="dark"] .aluno-hub__tool-cta,
html[data-theme="dark"] .aluno-support-card h2,
html[data-theme="dark"] .aluno-chat__head h2,
html[data-theme="dark"] .aluno-explain__head h2,
html[data-theme="dark"] .aluno-study__hero-copy h2,
html[data-theme="dark"] .aluno-study .aluno-explain__lead {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-study__benefits li {
  background: #243040;
  border-color: rgba(230, 237, 242, 0.12);
  color: #d5dee6;
}
html[data-theme="dark"] .aluno-study input[type="text"],
html[data-theme="dark"] .aluno-study input[type="number"] {
  background: #243040;
  border-color: rgba(230, 237, 242, 0.14);
  color: #e6edf2;
}
@media (max-width: 640px) {
  .aluno-study__benefits { grid-template-columns: 1fr; }
  .aluno-study__grid { grid-template-columns: 1fr; }
}
html[data-theme="dark"] .aluno-explain__lead,
html[data-theme="dark"] .aluno-explain__label,
html[data-theme="dark"] .aluno-explain__result h3,
html[data-theme="dark"] .aluno-study__day summary,
html[data-theme="dark"] .aluno-gen__feedback-title,
html[data-theme="dark"] .aluno-gen__feedback-hint,
html[data-theme="dark"] .aluno-ranking-row__pos {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-stat__label,
html[data-theme="dark"] .aluno-panel__hint,
html[data-theme="dark"] .aluno-sim-card__hint,
html[data-theme="dark"] .aluno-empty-state,
html[data-theme="dark"] .aluno-muted,
html[data-theme="dark"] .aluno-plan__product,
html[data-theme="dark"] .aluno-legal-hint,
html[data-theme="dark"] .aluno-order-subtitle,
html[data-theme="dark"] .aluno-refund-status,
html[data-theme="dark"] .aluno-hub__tool-blurb,
html[data-theme="dark"] .aluno-hub__hint,
html[data-theme="dark"] .aluno-hub__selected-empty,
html[data-theme="dark"] .aluno-form__hint,
html[data-theme="dark"] .aluno-ranking-row__score small,
html[data-theme="dark"] .aluno-achievement-card p,
html[data-theme="dark"] .aluno-support-card p {
  color: #9aa8b4;
}
html[data-theme="dark"] .aluno-form input,
html[data-theme="dark"] .aluno-form textarea,
html[data-theme="dark"] .aluno-form select,
html[data-theme="dark"] .aluno-donation-custom input,
html[data-theme="dark"] .aluno-explain__select,
html[data-theme="dark"] .aluno-explain textarea,
html[data-theme="dark"] .aluno-explain input[type="text"],
html[data-theme="dark"] .aluno-chat__composer textarea {
  background: #1e2834;
  color: #e6edf2;
  border-color: rgba(230, 237, 242, 0.18);
}
html[data-theme="dark"] .aluno-login__tabs,
html[data-theme="dark"] .aluno-login__mode {
  background: rgba(230, 237, 242, 0.08);
}
html[data-theme="dark"] .aluno-login__tab.is-active,
html[data-theme="dark"] .aluno-login__mode-btn.is-active {
  background: #323e4e;
  color: #5ec4c0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .aluno-login__mode-btn {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-chip:hover,
html[data-theme="dark"] .aluno-chip.is-active,
html[data-theme="dark"] .aluno-donation-chip.is-active {
  background: rgba(14, 165, 160, 0.18);
  border-color: #0ea5a0;
  color: #7ee0d8;
}
html[data-theme="dark"] .aluno-mission-item {
  background: #243040;
  border-color: rgba(230, 237, 242, 0.1);
}
html[data-theme="dark"] .aluno-mission-item.is-done {
  background: rgba(14, 165, 160, 0.14);
  border-color: rgba(14, 165, 160, 0.4);
}
html[data-theme="dark"] .aluno-xp__bar {
  background: #3d4a58;
}
html[data-theme="dark"] .aluno-dialog,
html[data-theme="dark"] .aluno-dialog__card {
  background: #2a3544;
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-dialog::backdrop {
  background: rgba(8, 14, 20, 0.68);
}
html[data-theme="dark"] .aluno-dialog__close {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-status--aberto { background: rgba(185, 28, 28, 0.28); color: #f0a0a0; }
html[data-theme="dark"] .aluno-status--em_andamento { background: rgba(194, 65, 12, 0.28); color: #f3c090; }
html[data-theme="dark"] .aluno-status--respondido { background: rgba(29, 78, 216, 0.28); color: #93c5fd; }
html[data-theme="dark"] .aluno-status--finalizado { background: rgba(4, 120, 87, 0.28); color: #6ee7b7; }
html[data-theme="dark"] .aluno-hub__tool.is-locked {
  background: #243040;
}
html[data-theme="dark"] .aluno-hub__selected-card {
  background: linear-gradient(120deg, rgba(14, 165, 160, 0.16), rgba(42, 53, 68, 0.6));
  border-color: rgba(14, 165, 160, 0.35);
}
html[data-theme="dark"] .aluno-hub__badge,
html[data-theme="dark"] .aluno-chat__counter,
html[data-theme="dark"] .aluno-chat__ctx-badge,
html[data-theme="dark"] .aluno-explain__badge {
  background: rgba(14, 165, 160, 0.22);
  color: #c5f3ef;
}
html[data-theme="dark"] .aluno-hub__report.is-selected {
  background: rgba(14, 165, 160, 0.12);
}
html[data-theme="dark"] .aluno-ranking-tab.is-active {
  background: #15202b;
  border-color: #15202b;
  color: #fff;
}
html[data-theme="dark"] .aluno-ranking-row.is-me {
  background: linear-gradient(90deg, rgba(14, 165, 160, 0.16), #2a3544);
}
html[data-theme="dark"] .aluno-support-card,
html[data-theme="dark"] .aluno-thanks__card {
  background: linear-gradient(135deg, #3a2a30 0%, #2a3544 55%, #243040 100%);
  border-color: rgba(251, 113, 133, 0.28);
}
html[data-theme="dark"] .aluno-support-card__thanks {
  color: #e6edf2 !important;
}
html[data-theme="dark"] .aluno-stat--supporter {
  background: linear-gradient(160deg, #3a2a30, #2a3544);
  border-color: rgba(254, 205, 211, 0.28);
}
html[data-theme="dark"] .aluno-chat,
html[data-theme="dark"] .aluno-explain {
  background: linear-gradient(180deg, #243040 0%, #1e2834 100%);
  border-color: rgba(230, 237, 242, 0.14);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .aluno-chat__head,
html[data-theme="dark"] .aluno-chat__composer,
html[data-theme="dark"] .aluno-chat__exhausted,
html[data-theme="dark"] .aluno-chat__confirm {
  background: #2a3544;
  border-color: rgba(230, 237, 242, 0.12);
}
html[data-theme="dark"] .aluno-chat__tabs-row,
html[data-theme="dark"] .aluno-chat__toolbar,
html[data-theme="dark"] .aluno-explain__result {
  border-color: rgba(230, 237, 242, 0.12);
}
html[data-theme="dark"] .aluno-chat__tab {
  background: #243040;
  color: #e6edf2;
  border-color: rgba(230, 237, 242, 0.14);
}
html[data-theme="dark"] .aluno-chat__tab.is-active {
  background: #15202b;
  color: #fff;
  border-color: #15202b;
}
html[data-theme="dark"] .aluno-chat__bubble--assistant,
html[data-theme="dark"] .aluno-explain__preview,
html[data-theme="dark"] .aluno-gen__feedback,
html[data-theme="dark"] .aluno-study__day {
  background: #2a3544;
  border-color: rgba(230, 237, 242, 0.12);
  color: #d5dee6;
}
html[data-theme="dark"] .aluno-chat__empty,
html[data-theme="dark"] .aluno-chat__context,
html[data-theme="dark"] .aluno-explain__hint,
html[data-theme="dark"] .aluno-explain__block p,
html[data-theme="dark"] .aluno-gen__progress {
  color: #9aa8b4;
}
html[data-theme="dark"] .aluno-chat__confirm p,
html[data-theme="dark"] .aluno-chat__status,
html[data-theme="dark"] .aluno-chat__exhausted p,
html[data-theme="dark"] .aluno-explain__status,
html[data-theme="dark"] .aluno-explain__preview strong {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-gen__feedback--ok {
  background: rgba(22, 101, 52, 0.28);
  border-color: rgba(134, 239, 172, 0.4);
}
html[data-theme="dark"] .aluno-gen__feedback--bad {
  background: rgba(127, 29, 29, 0.28);
  border-color: rgba(252, 165, 165, 0.4);
}
html[data-theme="dark"] .aluno-form__msg { color: #f0a0a0; }
html[data-theme="dark"] .aluno-form__msg.is-ok { color: #6ee7b7; }
html[data-theme="dark"] .aluno-hub__error { color: #f0a0a0; }
html[data-theme="dark"] .aluno-nav__warn a { color: #f3c090; }
html[data-theme="dark"] a { color: #7ee0d8; }
html[data-theme="dark"] .aluno-top a,
html[data-theme="dark"] .aluno-nav__link,
html[data-theme="dark"] .aluno-chat__bubble--user {
  color: inherit;
}
html[data-theme="dark"] .awm-btn--primary,
html[data-theme="dark"] .aluno-top .awm-btn--primary {
  color: #fff;
}

html[data-theme="dark"] .aluno-checkout {
  background: #243040;
  border-color: rgba(46, 196, 214, 0.18);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
}
html[data-theme="dark"] .aluno-checkout__head h2 {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-checkout > .aluno-lead,
html[data-theme="dark"] #aluno-checkout-hint {
  color: #9aa8b4;
}
html[data-theme="dark"] .aluno-checkout-legal {
  background: #243040;
  border-color: rgba(46, 196, 214, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-checkout-legal a,
html[data-theme="dark"] .aluno-legal-check a {
  color: #7ee0d8;
}
html[data-theme="dark"] .aluno-checkout-cpf input {
  background: #1e2834;
  color: #e6edf2;
  border-color: rgba(230, 237, 242, 0.18);
}
html[data-theme="dark"] .aluno-payment-brick {
  color-scheme: dark;
}
html[data-theme="dark"] .aluno-payment-brick h1,
html[data-theme="dark"] .aluno-payment-brick h2,
html[data-theme="dark"] .aluno-payment-brick h3,
html[data-theme="dark"] .aluno-payment-brick h4,
html[data-theme="dark"] .aluno-payment-brick h5,
html[data-theme="dark"] .aluno-payment-brick h6,
html[data-theme="dark"] .aluno-payment-brick a {
  color: revert;
}
html[data-theme="dark"] .aluno-asaas-checkout {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-asaas-checkout__heading,
html[data-theme="dark"] .aluno-asaas-method__label {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-asaas-method {
  background: #1e2834;
  border-color: rgba(230, 237, 242, 0.18);
}
html[data-theme="dark"] .aluno-asaas-method.is-active {
  border-color: #009ee3;
  box-shadow: 0 0 0 1px #009ee3;
}
html[data-theme="dark"] .aluno-asaas-method__hint {
  color: #9fb0bd;
}
html[data-theme="dark"] .aluno-asaas-card input,
html[data-theme="dark"] .aluno-asaas-pix-copy {
  background: #1e2834;
  color: #e6edf2;
  border-color: rgba(230, 237, 242, 0.18);
}
html[data-theme="dark"] .aluno-asaas-pix-status {
  background: #1e2834;
  border-color: rgba(230, 237, 242, 0.18);
}
html[data-theme="dark"] .aluno-asaas-pix-status__amount {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-asaas-pix-qr img {
  background: #fff;
}

/* Notificações / promo painel */
.aluno-top__bell {
  position: relative;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
}
.aluno-top__bell-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.aluno-notif-modal { max-width: 420px; width: min(92vw, 420px); }
.aluno-notif-modal__head, .aluno-notif-modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.aluno-notif-list { max-height: 280px; overflow: auto; margin: 0.75rem 0; }
.aluno-notif-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 0.65rem 0; border-bottom: 1px solid rgba(11,58,82,.08); cursor: pointer;
}
.aluno-notif-item.is-unread strong { color: #0b3a52; }
.aluno-notif-item span, .aluno-notif-item small { display: block; color: #5a6b7a; font-size: 0.85rem; }
.aluno-promo-card {
  margin-top: 0.75rem; padding: 0.85rem; border-radius: 10px;
  background: linear-gradient(135deg, rgba(14,165,160,.12), rgba(11,58,82,.06));
}

/* Notificações ? dark mode (contraste legível) */
html[data-theme="dark"] .aluno-notif-modal__head h2 {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-notif-item {
  border-bottom-color: rgba(230, 237, 242, 0.1);
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-notif-item strong,
html[data-theme="dark"] .aluno-notif-item.is-unread strong {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-notif-item span,
html[data-theme="dark"] .aluno-notif-item small {
  color: #9aa8b4;
}
html[data-theme="dark"] .aluno-promo-card {
  background: linear-gradient(135deg, rgba(14, 165, 160, 0.18), rgba(230, 237, 242, 0.04));
}
html[data-theme="dark"] .aluno-promo-card h3 {
  color: #e6edf2;
}
html[data-theme="dark"] .aluno-promo-card p {
  color: #9aa8b4;
}
html[data-theme="dark"] .aluno-notif-list .aluno-lead {
  color: #9aa8b4;
}
